[2026-08-25 00:00:16] local.INFO: TCP Data received {"connection_id":161363,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:00:16] local.INFO: Processing buffer {"connection_id":161363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:00:16] local.INFO: IMEI packet received {"connection_id":161363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":161363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:00:18] local.INFO: TCP Data received {"connection_id":161363,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:00:18] local.INFO: Processing buffer {"connection_id":161363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:00:18] local.INFO: IMEI packet received {"connection_id":161363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":161363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:00:21] local.INFO: TCP Data received {"connection_id":161363,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:00:21] local.INFO: Processing buffer {"connection_id":161363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:00:21] local.INFO: IMEI packet received {"connection_id":161363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":161363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:00:24] local.INFO: TCP Data received {"connection_id":162604,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035088550012d327a0006b4fdc0001800722e..."} 
[2026-08-25 00:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035088550012d327a0006b4fdc0001800722e..."} 
[2026-08-25 00:00:24] local.INFO: Processing buffer {"connection_id":162604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035088550012d327a0006b4fdc0001800722e..."} 
[2026-08-25 00:00:24] local.INFO: Packet analysis {"connection_id":162604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03508"} 
[2026-08-25 00:00:24] local.INFO: Extracted packet for processing {"connection_id":162604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03508"} 
[2026-08-25 00:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758282752,"raw_latitude":112524736,"longitude_deg":75.8282752,"latitude_deg":11.2524736,"altitude":24,"angle":114,"satellites":46,"speed":48,"hex_longitude":"2d327a00","hex_latitude":"06b4fdc0","is_valid_coordinates":true} 
[2026-08-25 00:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624611328001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391020630151004160,"note":"Value kept but may cause issues"} 
[2026-08-25 00:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3627156947445147648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:00:24] 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-25 00:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787596146000,"timestamp_ms":1787596146000,"timestamp_seconds":1787596146,"priority":1,"record_length":96,"hex_timestamp":"000001a035088550"} 
[2026-08-25 00:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:00: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-25 00:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-25 00:00:24] 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-25 00:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624611328001,"66":27321,"170":206,"81":23552,"24":48,"16":391020630151004160,"45":3627156947445147648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-08-25 00:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624611328001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:00:24] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-25 00:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391020630151004160,"km_value":391020630151004.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3627156947445147648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624611328001,"power":27321,"unknown_170":206,"unknown_81":23552,"ignition":48,"odometer":null,"unknown_45":3627156947445147648}} 
[2026-08-25 00:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":162604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:00:24] local.INFO: GPS data processed {"connection_id":162604,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:00:24] local.INFO: Acknowledgment sent {"connection_id":162604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:00:26] local.INFO: TCP Data received {"connection_id":161363,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:00:26] local.INFO: Processing buffer {"connection_id":161363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:00:26] local.INFO: IMEI packet received {"connection_id":161363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":161363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:00:27] local.INFO: TCP Data received {"connection_id":161363,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03508f698012d7c1d4005db2590000001521e..."} 
[2026-08-25 00:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03508f698012d7c1d4005db2590000001521e..."} 
[2026-08-25 00:00:27] local.INFO: Processing buffer {"connection_id":161363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03508f698012d7c1d4005db2590000001521e..."} 
[2026-08-25 00:00:27] local.INFO: Packet analysis {"connection_id":161363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03508"} 
[2026-08-25 00:00:27] local.INFO: Extracted packet for processing {"connection_id":161363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03508"} 
[2026-08-25 00:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763108672,"raw_latitude":98248080,"longitude_deg":76.3108672,"latitude_deg":9.824808,"altitude":0,"angle":338,"satellites":30,"speed":0,"hex_longitude":"2d7c1d40","hex_latitude":"05db2590","is_valid_coordinates":true} 
[2026-08-25 00:00:27] 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-25 00:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624620800001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123200947907198976,"note":"Value kept but may cause issues"} 
[2026-08-25 00:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943374828923359232,"note":"Value kept but may cause issues"} 
[2026-08-25 00:00:27] 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-25 00:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787596175000,"timestamp_ms":1787596175000,"timestamp_seconds":1787596175,"priority":1,"record_length":96,"hex_timestamp":"000001a03508f698"} 
[2026-08-25 00: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-25 00:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00: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":7,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-25 00:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624620800001,"66":1981,"24":0,"16":123200947907198976,"45":8943374828923359232},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-25 00:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624620800001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123200947907198976,"km_value":123200947907198.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943374828923359232,"description":"Unknown IO ID 45"} 
[2026-08-25 00:00:27] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457624620800001,"power":1981,"ignition":0,"odometer":null,"unknown_45":8943374828923359232}} 
[2026-08-25 00:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":161363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:00:27] local.INFO: GPS data processed {"connection_id":161363,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:00:27] local.INFO: Acknowledgment sent {"connection_id":161363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:00:41] local.INFO: TCP Data received {"connection_id":161621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:00:41] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:00:41] local.INFO: IMEI packet received {"connection_id":161621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":161621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:00:43] local.INFO: TCP Data received {"connection_id":161621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:00:43] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:00:43] local.INFO: IMEI packet received {"connection_id":161621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":161621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:00:46] local.INFO: TCP Data received {"connection_id":161621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:00:46] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:00:46] local.INFO: IMEI packet received {"connection_id":161621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":161621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:00:47] local.INFO: TCP Data received {"connection_id":161621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03508a490012d329cc006b4eda8001a00732d..."} 
[2026-08-25 00:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03508a490012d329cc006b4eda8001a00732d..."} 
[2026-08-25 00:00:47] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03508a490012d329cc006b4eda8001a00732d..."} 
[2026-08-25 00:00:47] local.INFO: Packet analysis {"connection_id":161621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03508"} 
[2026-08-25 00:00:47] local.INFO: Extracted packet for processing {"connection_id":161621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03508"} 
[2026-08-25 00:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758291648,"raw_latitude":112520616,"longitude_deg":75.8291648,"latitude_deg":11.2520616,"altitude":26,"angle":115,"satellites":45,"speed":48,"hex_longitude":"2d329cc0","hex_latitude":"06b4eda8","is_valid_coordinates":true} 
[2026-08-25 00:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624613376001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391021098302439424,"note":"Value kept but may cause issues"} 
[2026-08-25 00:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3637219677861429248,"note":"Value kept but may cause issues"} 
[2026-08-25 00:00:47] 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-25 00:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787596154000,"timestamp_ms":1787596154000,"timestamp_seconds":1787596154,"priority":1,"record_length":96,"hex_timestamp":"000001a03508a490"} 
[2026-08-25 00:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:00: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-25 00:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 00:00: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-25 00:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624613376001,"66":27169,"170":206,"81":23552,"24":48,"16":391021098302439424,"45":3637219677861429248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-08-25 00:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624613376001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:00:47] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-25 00:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391021098302439424,"km_value":391021098302439.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3637219677861429248,"description":"Unknown IO ID 45"} 
[2026-08-25 00:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624613376001,"power":27169,"unknown_170":206,"unknown_81":23552,"ignition":48,"odometer":null,"unknown_45":3637219677861429248}} 
[2026-08-25 00:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":161621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:00:47] local.INFO: GPS data processed {"connection_id":161621,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:00:47] local.INFO: Acknowledgment sent {"connection_id":161621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:01:01] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:01:01] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:01:01] local.INFO: IMEI packet received {"connection_id":161364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":161364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:01:03] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:01:03] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:01:03] local.INFO: IMEI packet received {"connection_id":161364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":161364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:01:06] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:01:06] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:01:06] local.INFO: IMEI packet received {"connection_id":161364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":161364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:01:07] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03509f098012d7c474005da9348000000a11b..."} 
[2026-08-25 00:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03509f098012d7c474005da9348000000a11b..."} 
[2026-08-25 00:01:07] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03509f098012d7c474005da9348000000a11b..."} 
[2026-08-25 00:01:07] local.INFO: Packet analysis {"connection_id":161364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03509"} 
[2026-08-25 00:01:07] local.INFO: Extracted packet for processing {"connection_id":161364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03509"} 
[2026-08-25 00:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763119424,"raw_latitude":98210632,"longitude_deg":76.3119424,"latitude_deg":9.8210632,"altitude":0,"angle":161,"satellites":27,"speed":54,"hex_longitude":"2d7c4740","hex_latitude":"05da9348","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624635392001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123202803333070848,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951959815705757696,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01: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-25 00:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787596239000,"timestamp_ms":1787596239000,"timestamp_seconds":1787596239,"priority":1,"record_length":96,"hex_timestamp":"000001a03509f098"} 
[2026-08-25 00: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-25 00:01:07] 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-25 00:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 00:01:07] 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-25 00: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-25 00: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-25 00:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624635392001,"66":12428,"187":206,"85":15104,"24":54,"16":123202803333070848,"45":8951959815705757696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 00:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624635392001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:01:07] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 00:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123202803333070848,"km_value":123202803333070.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951959815705757696,"description":"Unknown IO ID 45"} 
[2026-08-25 00:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624635392001,"power":12428,"unknown_187":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8951959815705757696}} 
[2026-08-25 00:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":161364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:01:07] local.INFO: GPS data processed {"connection_id":161364,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:01:07] local.INFO: Acknowledgment sent {"connection_id":161364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:01:25] local.INFO: TCP Data received {"connection_id":161621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03509b9e8012d33b58006b42260001900a32b..."} 
[2026-08-25 00:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03509b9e8012d33b58006b42260001900a32b..."} 
[2026-08-25 00:01:25] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03509b9e8012d33b58006b42260001900a32b..."} 
[2026-08-25 00:01:25] local.INFO: Packet analysis {"connection_id":161621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03509"} 
[2026-08-25 00:01:25] local.INFO: Extracted packet for processing {"connection_id":161621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03509"} 
[2026-08-25 00:01:25] local.INFO: GPS Element Parsed {"raw_longitude":758363520,"raw_latitude":112468576,"longitude_deg":75.836352,"latitude_deg":11.2468576,"altitude":25,"angle":163,"satellites":43,"speed":52,"hex_longitude":"2d33b580","hex_latitude":"06b42260","is_valid_coordinates":true} 
[2026-08-25 00:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624632320001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391025496348950528,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723069545745369088,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:25] 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-25 00:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787596225000,"timestamp_ms":1787596225000,"timestamp_seconds":1787596225,"priority":1,"record_length":96,"hex_timestamp":"000001a03509b9e8"} 
[2026-08-25 00:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:01: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-25 00:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-25 00:01: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-25 00:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624632320001,"66":27234,"82":206,"81":23552,"24":52,"16":391025496348950528,"45":3723069545745369088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-25 00:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624632320001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:01:25] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-25 00:01:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391025496348950528,"km_value":391025496348950.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723069545745369088,"description":"Unknown IO ID 45"} 
[2026-08-25 00:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624632320001,"power":27234,"unknown_82":206,"unknown_81":23552,"ignition":52,"odometer":null,"unknown_45":3723069545745369088}} 
[2026-08-25 00:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":161621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:01:25] local.INFO: GPS data processed {"connection_id":161621,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:01:25] local.INFO: Acknowledgment sent {"connection_id":161621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:01:42] local.INFO: TCP Data received {"connection_id":163995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:01:42] local.INFO: Processing buffer {"connection_id":163995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:01:42] local.INFO: IMEI packet received {"connection_id":163995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":163995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:01:43] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350a0bf0012d7c524005da7098000000a216..."} 
[2026-08-25 00:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350a0bf0012d7c524005da7098000000a216..."} 
[2026-08-25 00:01:43] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350a0bf0012d7c524005da7098000000a216..."} 
[2026-08-25 00:01:43] local.INFO: Packet analysis {"connection_id":161364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350a"} 
[2026-08-25 00:01:43] local.INFO: Extracted packet for processing {"connection_id":161364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350a"} 
[2026-08-25 00:01:43] local.INFO: GPS Element Parsed {"raw_longitude":763122240,"raw_latitude":98201752,"longitude_deg":76.312224,"latitude_deg":9.8201752,"altitude":0,"angle":162,"satellites":22,"speed":52,"hex_longitude":"2d7c5240","hex_latitude":"05da7098","is_valid_coordinates":true} 
[2026-08-25 00:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624637184001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123203254304636928,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955196777935620096,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:43] 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-25 00:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787596246000,"timestamp_ms":1787596246000,"timestamp_seconds":1787596246,"priority":1,"record_length":96,"hex_timestamp":"000001a0350a0bf0"} 
[2026-08-25 00:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:01:43] 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-25 00:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 00:01:43] 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-25 00:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624637184001,"66":12341,"187":206,"85":15104,"24":52,"16":123203254304636928,"45":8955196777935620096},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 00:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624637184001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:01:43] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 00:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123203254304636928,"km_value":123203254304636.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955196777935620096,"description":"Unknown IO ID 45"} 
[2026-08-25 00:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624637184001,"power":12341,"unknown_187":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8955196777935620096}} 
[2026-08-25 00:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":161364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:01:43] local.INFO: GPS data processed {"connection_id":161364,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:01:43] local.INFO: Acknowledgment sent {"connection_id":161364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:01:47] local.INFO: TCP Data received {"connection_id":163995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:01:47] local.INFO: Processing buffer {"connection_id":163995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:01:47] local.INFO: IMEI packet received {"connection_id":163995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":163995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:01:50] local.INFO: TCP Data received {"connection_id":163995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:01:50] local.INFO: Processing buffer {"connection_id":163995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:01:50] local.INFO: IMEI packet received {"connection_id":163995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":163995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:01:51] local.INFO: TCP Data received {"connection_id":163995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03509cd70012d33bb0006b40950001900af2c..."} 
[2026-08-25 00:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03509cd70012d33bb0006b40950001900af2c..."} 
[2026-08-25 00:01:51] local.INFO: Processing buffer {"connection_id":163995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03509cd70012d33bb0006b40950001900af2c..."} 
[2026-08-25 00:01:51] local.INFO: Packet analysis {"connection_id":163995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03509"} 
[2026-08-25 00:01:51] local.INFO: Extracted packet for processing {"connection_id":163995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03509"} 
[2026-08-25 00:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758364928,"raw_latitude":112462160,"longitude_deg":75.8364928,"latitude_deg":11.246216,"altitude":25,"angle":175,"satellites":44,"speed":51,"hex_longitude":"2d33bb00","hex_latitude":"06b40950","is_valid_coordinates":true} 
[2026-08-25 00:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624633600001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391025814176530432,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726025032999264256,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787596230000,"timestamp_ms":1787596230000,"timestamp_seconds":1787596230,"priority":1,"record_length":96,"hex_timestamp":"000001a03509cd70"} 
[2026-08-25 00:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-25 00:01:51] 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-25 00:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624633600001,"66":27245,"82":206,"81":23552,"24":51,"16":391025814176530432,"45":3726025032999264256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-25 00:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624633600001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:01:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-25 00:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391025814176530432,"km_value":391025814176530.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726025032999264256,"description":"Unknown IO ID 45"} 
[2026-08-25 00:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624633600001,"power":27245,"unknown_82":206,"unknown_81":23552,"ignition":51,"odometer":null,"unknown_45":3726025032999264256}} 
[2026-08-25 00:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":163995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:01:51] local.INFO: GPS data processed {"connection_id":163995,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:01:51] local.INFO: Acknowledgment sent {"connection_id":163995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:01:52] local.INFO: TCP Data received {"connection_id":163995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03509e8c8012d33ba4006b3e638001900b72a..."} 
[2026-08-25 00:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03509e8c8012d33ba4006b3e638001900b72a..."} 
[2026-08-25 00:01:52] local.INFO: Processing buffer {"connection_id":163995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03509e8c8012d33ba4006b3e638001900b72a..."} 
[2026-08-25 00:01:52] local.INFO: Packet analysis {"connection_id":163995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03509"} 
[2026-08-25 00:01:52] local.INFO: Extracted packet for processing {"connection_id":163995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03509"} 
[2026-08-25 00:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758364736,"raw_latitude":112453176,"longitude_deg":75.8364736,"latitude_deg":11.2453176,"altitude":25,"angle":183,"satellites":42,"speed":51,"hex_longitude":"2d33ba40","hex_latitude":"06b3e638","is_valid_coordinates":true} 
[2026-08-25 00:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624634880001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391026252263194624,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3727573145369530368,"note":"Value kept but may cause issues"} 
[2026-08-25 00:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787596237000,"timestamp_ms":1787596237000,"timestamp_seconds":1787596237,"priority":1,"record_length":96,"hex_timestamp":"000001a03509e8c8"} 
[2026-08-25 00:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00: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-25 00:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:01:52] 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-25 00:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624634880001,"66":27332,"82":206,"81":23552,"24":51,"16":391026252263194624,"45":3727573145369530368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-25 00:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624634880001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:01:52] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-25 00:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391026252263194624,"km_value":391026252263194.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3727573145369530368,"description":"Unknown IO ID 45"} 
[2026-08-25 00:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624634880001,"power":27332,"unknown_82":206,"unknown_81":23552,"ignition":51,"odometer":null,"unknown_45":3727573145369530368}} 
[2026-08-25 00:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":163995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:01:52] local.INFO: GPS data processed {"connection_id":163995,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:01:52] local.INFO: Acknowledgment sent {"connection_id":163995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:02:01] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:02:01] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:02:01] local.INFO: IMEI packet received {"connection_id":161622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":161622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:02:06] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:02:06] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:02:06] local.INFO: IMEI packet received {"connection_id":161622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":161622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:02:06] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350a2748012d7c5dc005da4f60000000a31a..."} 
[2026-08-25 00:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350a2748012d7c5dc005da4f60000000a31a..."} 
[2026-08-25 00:02:06] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350a2748012d7c5dc005da4f60000000a31a..."} 
[2026-08-25 00:02:06] local.INFO: Packet analysis {"connection_id":161622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350a"} 
[2026-08-25 00:02:06] local.INFO: Extracted packet for processing {"connection_id":161622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350a"} 
[2026-08-25 00:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763125184,"raw_latitude":98193248,"longitude_deg":76.3125184,"latitude_deg":9.8193248,"altitude":0,"angle":163,"satellites":26,"speed":48,"hex_longitude":"2d7c5dc0","hex_latitude":"05da4f60","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624638976001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123203688096333824,"note":"Value kept but may cause issues"} 
[2026-08-25 00:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958293002677164032,"note":"Value kept but may cause issues"} 
[2026-08-25 00:02:06] 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-25 00:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787596253000,"timestamp_ms":1787596253000,"timestamp_seconds":1787596253,"priority":1,"record_length":96,"hex_timestamp":"000001a0350a2748"} 
[2026-08-25 00: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-25 00:02:06] 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-25 00: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 00:02: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-25 00: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-25 00: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-25 00:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624638976001,"66":12461,"187":206,"85":15104,"24":48,"16":123203688096333824,"45":8958293002677164032},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 00:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624638976001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:02:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 00:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123203688096333824,"km_value":123203688096333.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958293002677164032,"description":"Unknown IO ID 45"} 
[2026-08-25 00:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624638976001,"power":12461,"unknown_187":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8958293002677164032}} 
[2026-08-25 00:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":161622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:02:06] local.INFO: GPS data processed {"connection_id":161622,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:02:06] local.INFO: Acknowledgment sent {"connection_id":161622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:02:29] local.INFO: TCP Data received {"connection_id":163995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350a0420012d33b74006b3c220001800b82a..."} 
[2026-08-25 00:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350a0420012d33b74006b3c220001800b82a..."} 
[2026-08-25 00:02:29] local.INFO: Processing buffer {"connection_id":163995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350a0420012d33b74006b3c220001800b82a..."} 
[2026-08-25 00:02:29] local.INFO: Packet analysis {"connection_id":163995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350a"} 
[2026-08-25 00:02:29] local.INFO: Extracted packet for processing {"connection_id":163995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350a"} 
[2026-08-25 00:02:29] local.INFO: GPS Element Parsed {"raw_longitude":758363968,"raw_latitude":112443936,"longitude_deg":75.8363968,"latitude_deg":11.2443936,"altitude":24,"angle":184,"satellites":42,"speed":53,"hex_longitude":"2d33b740","hex_latitude":"06b3c220","is_valid_coordinates":true} 
[2026-08-25 00:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624636672001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391026703234760704,"note":"Value kept but may cause issues"} 
[2026-08-25 00:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3727362039134697472,"note":"Value kept but may cause issues"} 
[2026-08-25 00:02:29] 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-25 00:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787596244000,"timestamp_ms":1787596244000,"timestamp_seconds":1787596244,"priority":1,"record_length":96,"hex_timestamp":"000001a0350a0420"} 
[2026-08-25 00:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-25 00:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624636672001,"66":27321,"82":206,"81":23552,"24":53,"16":391026703234760704,"45":3727362039134697472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-25 00:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624636672001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:02:29] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-25 00:02:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391026703234760704,"km_value":391026703234760.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3727362039134697472,"description":"Unknown IO ID 45"} 
[2026-08-25 00:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624636672001,"power":27321,"unknown_82":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3727362039134697472}} 
[2026-08-25 00:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":163995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:02:29] local.INFO: GPS data processed {"connection_id":163995,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:02:29] local.INFO: Acknowledgment sent {"connection_id":163995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:02:39] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350b7f08012d7c79c005d996d0000000fd11..."} 
[2026-08-25 00:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350b7f08012d7c79c005d996d0000000fd11..."} 
[2026-08-25 00:02:39] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350b7f08012d7c79c005d996d0000000fd11..."} 
[2026-08-25 00:02:39] local.INFO: Packet analysis {"connection_id":161622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350b"} 
[2026-08-25 00:02:39] local.INFO: Extracted packet for processing {"connection_id":161622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350b"} 
[2026-08-25 00:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763132352,"raw_latitude":98146000,"longitude_deg":76.3132352,"latitude_deg":9.8146,"altitude":0,"angle":253,"satellites":17,"speed":7,"hex_longitude":"2d7c79c0","hex_latitude":"05d996d0","is_valid_coordinates":true} 
[2026-08-25 00:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624660224001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123206883552002048,"note":"Value kept but may cause issues"} 
[2026-08-25 00:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970959376614238208,"note":"Value kept but may cause issues"} 
[2026-08-25 00:02: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-25 00:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787596341000,"timestamp_ms":1787596341000,"timestamp_seconds":1787596341,"priority":1,"record_length":96,"hex_timestamp":"000001a0350b7f08"} 
[2026-08-25 00:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:02:39] 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-25 00:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 00:02:39] 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-25 00:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624660224001,"66":12526,"187":206,"85":15104,"24":7,"16":123206883552002048,"45":8970959376614238208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 00:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624660224001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:02:39] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 00:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123206883552002048,"km_value":123206883552002.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970959376614238208,"description":"Unknown IO ID 45"} 
[2026-08-25 00:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624660224001,"power":12526,"unknown_187":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8970959376614238208}} 
[2026-08-25 00:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":161622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:02:39] local.INFO: GPS data processed {"connection_id":161622,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:02:39] local.INFO: Acknowledgment sent {"connection_id":161622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:02:42] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:02:42] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:02:42] local.INFO: IMEI packet received {"connection_id":161623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":161623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:02:47] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:02:47] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:02:47] local.INFO: IMEI packet received {"connection_id":161623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":161623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:02:47] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350a1f78012d33b64006b39d50001700af2b..."} 
[2026-08-25 00:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350a1f78012d33b64006b39d50001700af2b..."} 
[2026-08-25 00:02:47] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350a1f78012d33b64006b39d50001700af2b..."} 
[2026-08-25 00:02:47] local.INFO: Packet analysis {"connection_id":161623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350a"} 
[2026-08-25 00:02:47] local.INFO: Extracted packet for processing {"connection_id":161623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350a"} 
[2026-08-25 00:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758363712,"raw_latitude":112434512,"longitude_deg":75.8363712,"latitude_deg":11.2434512,"altitude":23,"angle":175,"satellites":43,"speed":53,"hex_longitude":"2d33b640","hex_latitude":"06b39d50","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624638464001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391027158501294080,"note":"Value kept but may cause issues"} 
[2026-08-25 00:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726517614202200064,"note":"Value kept but may cause issues"} 
[2026-08-25 00:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787596251000,"timestamp_ms":1787596251000,"timestamp_seconds":1787596251,"priority":1,"record_length":96,"hex_timestamp":"000001a0350a1f78"} 
[2026-08-25 00: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-25 00:02: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-25 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 00:02: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-25 00: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-25 00: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-25 00:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624638464001,"66":26984,"82":206,"81":23552,"24":53,"16":391027158501294080,"45":3726517614202200064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-25 00:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624638464001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:02:47] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-25 00:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391027158501294080,"km_value":391027158501294.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726517614202200064,"description":"Unknown IO ID 45"} 
[2026-08-25 00:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624638464001,"power":26984,"unknown_82":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3726517614202200064}} 
[2026-08-25 00:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":161623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:02:47] local.INFO: GPS data processed {"connection_id":161623,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:02:47] local.INFO: Acknowledgment sent {"connection_id":161623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:03:01] local.INFO: TCP Data received {"connection_id":161624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:03:01] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:03:01] local.INFO: IMEI packet received {"connection_id":161624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":161624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:03:06] local.INFO: TCP Data received {"connection_id":161624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:03:06] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:03:06] local.INFO: IMEI packet received {"connection_id":161624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":161624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:03:07] local.INFO: TCP Data received {"connection_id":161624,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350b82f0012d7c784005d996c80000010a12..."} 
[2026-08-25 00:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350b82f0012d7c784005d996c80000010a12..."} 
[2026-08-25 00:03:07] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350b82f0012d7c784005d996c80000010a12..."} 
[2026-08-25 00:03:07] local.INFO: Packet analysis {"connection_id":161624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350b"} 
[2026-08-25 00:03:07] local.INFO: Extracted packet for processing {"connection_id":161624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350b"} 
[2026-08-25 00:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763131968,"raw_latitude":98145992,"longitude_deg":76.3131968,"latitude_deg":9.8145992,"altitude":0,"angle":266,"satellites":18,"speed":10,"hex_longitude":"2d7c7840","hex_latitude":"05d996c8","is_valid_coordinates":true} 
[2026-08-25 00:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624663296001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123206905026838528,"note":"Value kept but may cause issues"} 
[2026-08-25 00:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969411264242962432,"note":"Value kept but may cause issues"} 
[2026-08-25 00:03: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-25 00:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787596342000,"timestamp_ms":1787596342000,"timestamp_seconds":1787596342,"priority":1,"record_length":96,"hex_timestamp":"000001a0350b82f0"} 
[2026-08-25 00:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:03: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-25 00:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 00:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624663296001,"66":12526,"187":206,"85":15104,"24":10,"16":123206905026838528,"45":8969411264242962432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 00:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624663296001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:03:07] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 00:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123206905026838528,"km_value":123206905026838.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969411264242962432,"description":"Unknown IO ID 45"} 
[2026-08-25 00:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624663296001,"power":12526,"unknown_187":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8969411264242962432}} 
[2026-08-25 00:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":161624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:03:07] local.INFO: GPS data processed {"connection_id":161624,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:03:07] local.INFO: Acknowledgment sent {"connection_id":161624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:03:18] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350a3ad0012d33bcc006b37940001700a42c..."} 
[2026-08-25 00:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350a3ad0012d33bcc006b37940001700a42c..."} 
[2026-08-25 00:03:18] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350a3ad0012d33bcc006b37940001700a42c..."} 
[2026-08-25 00:03:18] local.INFO: Packet analysis {"connection_id":161623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350a"} 
[2026-08-25 00:03:18] local.INFO: Extracted packet for processing {"connection_id":161623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350a"} 
[2026-08-25 00:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758365376,"raw_latitude":112425280,"longitude_deg":75.8365376,"latitude_deg":11.242528,"altitude":23,"angle":164,"satellites":44,"speed":53,"hex_longitude":"2d33bcc0","hex_latitude":"06b37940","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624640256001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391027613767827456,"note":"Value kept but may cause issues"} 
[2026-08-25 00:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726236139223076864,"note":"Value kept but may cause issues"} 
[2026-08-25 00:03:18] 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-25 00:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787596258000,"timestamp_ms":1787596258000,"timestamp_seconds":1787596258,"priority":1,"record_length":96,"hex_timestamp":"000001a0350a3ad0"} 
[2026-08-25 00: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-25 00:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-25 00:03:18] 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-25 00: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-25 00: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-25 00:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624640256001,"66":27463,"82":206,"81":23552,"24":53,"16":391027613767827456,"45":3726236139223076864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-25 00:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624640256001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:03:19] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-25 00:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391027613767827456,"km_value":391027613767827.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726236139223076864,"description":"Unknown IO ID 45"} 
[2026-08-25 00:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624640256001,"power":27463,"unknown_82":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3726236139223076864}} 
[2026-08-25 00:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":161623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:03:19] local.INFO: GPS data processed {"connection_id":161623,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:03:19] local.INFO: Acknowledgment sent {"connection_id":161623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:03:38] local.INFO: TCP Data received {"connection_id":161624,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350bade8012d7c640005d99548000000ff1e..."} 
[2026-08-25 00:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350bade8012d7c640005d99548000000ff1e..."} 
[2026-08-25 00:03:38] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350bade8012d7c640005d99548000000ff1e..."} 
[2026-08-25 00:03:38] local.INFO: Packet analysis {"connection_id":161624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350b"} 
[2026-08-25 00:03:38] local.INFO: Extracted packet for processing {"connection_id":161624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350b"} 
[2026-08-25 00:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763126784,"raw_latitude":98145608,"longitude_deg":76.3126784,"latitude_deg":9.8145608,"altitude":0,"angle":255,"satellites":30,"speed":18,"hex_longitude":"2d7c6400","hex_latitude":"05d99548","is_valid_coordinates":true} 
[2026-08-25 00:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624663552001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123207154134941696,"note":"Value kept but may cause issues"} 
[2026-08-25 00:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968989051777894400,"note":"Value kept but may cause issues"} 
[2026-08-25 00:03:38] 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-25 00:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787596353000,"timestamp_ms":1787596353000,"timestamp_seconds":1787596353,"priority":1,"record_length":96,"hex_timestamp":"000001a0350bade8"} 
[2026-08-25 00:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:03: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-25 00:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 00:03:38] 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-25 00:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624663552001,"66":12504,"245":206,"85":15104,"24":18,"16":123207154134941696,"45":8968989051777894400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 00:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624663552001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123207154134941696,"km_value":123207154134941.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968989051777894400,"description":"Unknown IO ID 45"} 
[2026-08-25 00:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624663552001,"power":12504,"geofence_id":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8968989051777894400}} 
[2026-08-25 00:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":161624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:03:38] local.INFO: GPS data processed {"connection_id":161624,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:03:38] local.INFO: Acknowledgment sent {"connection_id":161624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:03:42] local.INFO: TCP Data received {"connection_id":162605,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:03:42] local.INFO: Processing buffer {"connection_id":162605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:03:42] local.INFO: IMEI packet received {"connection_id":162605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":162605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:03:47] local.INFO: TCP Data received {"connection_id":162605,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:03:47] local.INFO: Processing buffer {"connection_id":162605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:03:47] local.INFO: IMEI packet received {"connection_id":162605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":162605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:03:47] local.INFO: TCP Data received {"connection_id":162605,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350a3ad0012d33bcc006b37940001700a42c..."} 
[2026-08-25 00:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350a3ad0012d33bcc006b37940001700a42c..."} 
[2026-08-25 00:03:47] local.INFO: Processing buffer {"connection_id":162605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350a3ad0012d33bcc006b37940001700a42c..."} 
[2026-08-25 00:03:47] local.INFO: Packet analysis {"connection_id":162605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350a"} 
[2026-08-25 00:03:47] local.INFO: Extracted packet for processing {"connection_id":162605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350a"} 
[2026-08-25 00:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758365376,"raw_latitude":112425280,"longitude_deg":75.8365376,"latitude_deg":11.242528,"altitude":23,"angle":164,"satellites":44,"speed":53,"hex_longitude":"2d33bcc0","hex_latitude":"06b37940","is_valid_coordinates":true} 
[2026-08-25 00:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624642048001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391027613767827456,"note":"Value kept but may cause issues"} 
[2026-08-25 00:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3728065726569332736,"note":"Value kept but may cause issues"} 
[2026-08-25 00:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787596258000,"timestamp_ms":1787596258000,"timestamp_seconds":1787596258,"priority":1,"record_length":96,"hex_timestamp":"000001a0350a3ad0"} 
[2026-08-25 00:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:03: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-25 00:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-25 00:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624642048001,"66":27463,"82":206,"81":23552,"24":53,"16":391027613767827456,"45":3728065726569332736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-25 00:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624642048001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:03:47] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-25 00:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391027613767827456,"km_value":391027613767827.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3728065726569332736,"description":"Unknown IO ID 45"} 
[2026-08-25 00:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624642048001,"power":27463,"unknown_82":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3728065726569332736}} 
[2026-08-25 00:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":162605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:03:47] local.INFO: GPS data processed {"connection_id":162605,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:03:47] local.INFO: Acknowledgment sent {"connection_id":162605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:04:06] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:04:06] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:04:06] local.INFO: IMEI packet received {"connection_id":161625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":161625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:04:11] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:04:11] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:04:11] local.INFO: IMEI packet received {"connection_id":161625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":161625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:04:12] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350bec68012d7c424005d98ab8000000f81d..."} 
[2026-08-25 00:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350bec68012d7c424005d98ab8000000f81d..."} 
[2026-08-25 00:04:12] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350bec68012d7c424005d98ab8000000f81d..."} 
[2026-08-25 00:04:12] local.INFO: Packet analysis {"connection_id":161625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350b"} 
[2026-08-25 00:04:12] local.INFO: Extracted packet for processing {"connection_id":161625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350b"} 
[2026-08-25 00:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763118144,"raw_latitude":98142904,"longitude_deg":76.3118144,"latitude_deg":9.8142904,"altitude":0,"angle":248,"satellites":29,"speed":19,"hex_longitude":"2d7c4240","hex_latitude":"05d98ab8","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624666368001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123207587926638592,"note":"Value kept but may cause issues"} 
[2026-08-25 00:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963289183499405312,"note":"Value kept but may cause issues"} 
[2026-08-25 00:04:12] 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-25 00:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787596369000,"timestamp_ms":1787596369000,"timestamp_seconds":1787596369,"priority":1,"record_length":96,"hex_timestamp":"000001a0350bec68"} 
[2026-08-25 00: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-25 00:04:12] 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-25 00: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 00:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624666368001,"66":12472,"245":206,"85":15104,"24":19,"16":123207587926638592,"45":8963289183499405312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 00:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624666368001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123207587926638592,"km_value":123207587926638.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963289183499405312,"description":"Unknown IO ID 45"} 
[2026-08-25 00:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624666368001,"power":12472,"geofence_id":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8963289183499405312}} 
[2026-08-25 00:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":161625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:04:12] local.INFO: GPS data processed {"connection_id":161625,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:04:12] local.INFO: Acknowledgment sent {"connection_id":161625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:04:16] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350c03d8012d7c37c005d987e00000010b1f..."} 
[2026-08-25 00:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350c03d8012d7c37c005d987e00000010b1f..."} 
[2026-08-25 00:04:16] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350c03d8012d7c37c005d987e00000010b1f..."} 
[2026-08-25 00:04:16] local.INFO: Packet analysis {"connection_id":161625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350c"} 
[2026-08-25 00:04:16] local.INFO: Extracted packet for processing {"connection_id":161625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350c"} 
[2026-08-25 00:04:16] local.INFO: GPS Element Parsed {"raw_longitude":763115456,"raw_latitude":98142176,"longitude_deg":76.3115456,"latitude_deg":9.8142176,"altitude":0,"angle":267,"satellites":31,"speed":10,"hex_longitude":"2d7c37c0","hex_latitude":"05d987e0","is_valid_coordinates":true} 
[2026-08-25 00:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624670464001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123207716775657472,"note":"Value kept but may cause issues"} 
[2026-08-25 00:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953789403034728448,"note":"Value kept but may cause issues"} 
[2026-08-25 00:04:16] 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-25 00:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787596375000,"timestamp_ms":1787596375000,"timestamp_seconds":1787596375,"priority":1,"record_length":96,"hex_timestamp":"000001a0350c03d8"} 
[2026-08-25 00:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:04:16] 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-25 00:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-25 00:04:16] 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-25 00:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624670464001,"66":12504,"245":206,"85":15104,"24":10,"16":123207716775657472,"45":8953789403034728448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 00:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624670464001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:04:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123207716775657472,"km_value":123207716775657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953789403034728448,"description":"Unknown IO ID 45"} 
[2026-08-25 00:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624670464001,"power":12504,"geofence_id":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8953789403034728448}} 
[2026-08-25 00:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":161625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:04:16] local.INFO: GPS data processed {"connection_id":161625,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:04:16] local.INFO: Acknowledgment sent {"connection_id":161625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:04:19] local.INFO: TCP Data received {"connection_id":162605,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350c59c8012d34a18006b2b2e80012007e2e..."} 
[2026-08-25 00:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350c59c8012d34a18006b2b2e80012007e2e..."} 
[2026-08-25 00:04:19] local.INFO: Processing buffer {"connection_id":162605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350c59c8012d34a18006b2b2e80012007e2e..."} 
[2026-08-25 00:04:19] local.INFO: Packet analysis {"connection_id":162605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350c"} 
[2026-08-25 00:04:19] local.INFO: Extracted packet for processing {"connection_id":162605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350c"} 
[2026-08-25 00:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758423936,"raw_latitude":112374504,"longitude_deg":75.8423936,"latitude_deg":11.2374504,"altitude":18,"angle":126,"satellites":46,"speed":35,"hex_longitude":"2d34a180","hex_latitude":"06b2b2e8","is_valid_coordinates":true} 
[2026-08-25 00:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624675328001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391031419108851712,"note":"Value kept but may cause issues"} 
[2026-08-25 00:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3784079246923114496,"note":"Value kept but may cause issues"} 
[2026-08-25 00:04:19] 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-25 00:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787596397000,"timestamp_ms":1787596397000,"timestamp_seconds":1787596397,"priority":1,"record_length":96,"hex_timestamp":"000001a0350c59c8"} 
[2026-08-25 00:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:04: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-25 00:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-25 00:04:19] 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-25 00:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624675328001,"66":27234,"224":206,"81":23552,"24":35,"16":391031419108851712,"45":3784079246923114496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-08-25 00:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624675328001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:04:19] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-25 00:04:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391031419108851712,"km_value":391031419108851.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3784079246923114496,"description":"Unknown IO ID 45"} 
[2026-08-25 00:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624675328001,"power":27234,"unknown_224":206,"unknown_81":23552,"ignition":35,"odometer":null,"unknown_45":3784079246923114496}} 
[2026-08-25 00:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":162605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:04:19] local.INFO: GPS data processed {"connection_id":162605,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:04:19] local.INFO: Acknowledgment sent {"connection_id":162605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:04:39] local.INFO: TCP Data received {"connection_id":162606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:04:39] local.INFO: Processing buffer {"connection_id":162606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:04:39] local.INFO: IMEI packet received {"connection_id":162606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":162606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:04:42] local.INFO: TCP Data received {"connection_id":162606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:04:42] local.INFO: Processing buffer {"connection_id":162606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:04:42] local.INFO: IMEI packet received {"connection_id":162606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":162606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:04:45] local.INFO: TCP Data received {"connection_id":162606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:04:45] local.INFO: Processing buffer {"connection_id":162606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:04:45] local.INFO: IMEI packet received {"connection_id":162606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":162606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:04:45] local.INFO: TCP Data received {"connection_id":162606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350c84c0012d34bdc006b29c70001200852f..."} 
[2026-08-25 00:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350c84c0012d34bdc006b29c70001200852f..."} 
[2026-08-25 00:04:45] local.INFO: Processing buffer {"connection_id":162606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350c84c0012d34bdc006b29c70001200852f..."} 
[2026-08-25 00:04:45] local.INFO: Packet analysis {"connection_id":162606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350c"} 
[2026-08-25 00:04:45] local.INFO: Extracted packet for processing {"connection_id":162606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350c"} 
[2026-08-25 00:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":112368752,"longitude_deg":75.8431168,"latitude_deg":11.2368752,"altitude":18,"angle":133,"satellites":47,"speed":21,"hex_longitude":"2d34bdc0","hex_latitude":"06b29c70","is_valid_coordinates":true} 
[2026-08-25 00:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624677632001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391031861490483200,"note":"Value kept but may cause issues"} 
[2026-08-25 00:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3792453127478896640,"note":"Value kept but may cause issues"} 
[2026-08-25 00:04:45] 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-25 00:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787596408000,"timestamp_ms":1787596408000,"timestamp_seconds":1787596408,"priority":1,"record_length":96,"hex_timestamp":"000001a0350c84c0"} 
[2026-08-25 00:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-25 00:04:45] 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-25 00:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624677632001,"66":27321,"224":206,"81":23552,"24":21,"16":391031861490483200,"45":3792453127478896640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-08-25 00:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624677632001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:04:45] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-25 00:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391031861490483200,"km_value":391031861490483.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3792453127478896640,"description":"Unknown IO ID 45"} 
[2026-08-25 00:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624677632001,"power":27321,"unknown_224":206,"unknown_81":23552,"ignition":21,"odometer":null,"unknown_45":3792453127478896640}} 
[2026-08-25 00:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":162606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:04:45] local.INFO: GPS data processed {"connection_id":162606,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:04:45] local.INFO: Acknowledgment sent {"connection_id":162606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:05:01] local.INFO: TCP Data received {"connection_id":161626,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:05:01] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:05:01] local.INFO: IMEI packet received {"connection_id":161626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":161626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:05:06] local.INFO: TCP Data received {"connection_id":161626,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:05:06] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:05:06] local.INFO: IMEI packet received {"connection_id":161626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":161626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:05:07] local.INFO: TCP Data received {"connection_id":161626,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350da5d0012d7c348005d988e00000004023..."} 
[2026-08-25 00:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350da5d0012d7c348005d988e00000004023..."} 
[2026-08-25 00:05:07] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350da5d0012d7c348005d988e00000004023..."} 
[2026-08-25 00:05:07] local.INFO: Packet analysis {"connection_id":161626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350d"} 
[2026-08-25 00:05:07] local.INFO: Extracted packet for processing {"connection_id":161626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350d"} 
[2026-08-25 00:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763114624,"raw_latitude":98142432,"longitude_deg":76.3114624,"latitude_deg":9.8142432,"altitude":0,"angle":64,"satellites":35,"speed":2,"hex_longitude":"2d7c3480","hex_latitude":"05d988e0","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624699136001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123207884279382016,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949919122104834048,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:07] 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-25 00:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787596482000,"timestamp_ms":1787596482000,"timestamp_seconds":1787596482,"priority":1,"record_length":96,"hex_timestamp":"000001a0350da5d0"} 
[2026-08-25 00: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-25 00:05:07] 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-25 00: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 00:05:07] 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-25 00: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-25 00: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-25 00:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624699136001,"66":12363,"245":206,"85":15104,"24":2,"16":123207884279382016,"45":8949919122104834048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 00:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624699136001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123207884279382016,"km_value":123207884279382.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949919122104834048,"description":"Unknown IO ID 45"} 
[2026-08-25 00:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624699136001,"power":12363,"geofence_id":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8949919122104834048}} 
[2026-08-25 00:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":161626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:05:07] local.INFO: GPS data processed {"connection_id":161626,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:05:07] local.INFO: Acknowledgment sent {"connection_id":161626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:05:11] local.INFO: TCP Data received {"connection_id":161626,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350db570012d7c350005d988f80000003524..."} 
[2026-08-25 00:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350db570012d7c350005d988f80000003524..."} 
[2026-08-25 00:05:11] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350db570012d7c350005d988f80000003524..."} 
[2026-08-25 00:05:11] local.INFO: Packet analysis {"connection_id":161626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350d"} 
[2026-08-25 00:05:11] local.INFO: Extracted packet for processing {"connection_id":161626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350d"} 
[2026-08-25 00:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763114752,"raw_latitude":98142456,"longitude_deg":76.3114752,"latitude_deg":9.8142456,"altitude":0,"angle":53,"satellites":36,"speed":0,"hex_longitude":"2d7c3500","hex_latitude":"05d988f8","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624699392001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123207888574349312,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949919122104836096,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05: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-25 00:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787596486000,"timestamp_ms":1787596486000,"timestamp_seconds":1787596486,"priority":1,"record_length":96,"hex_timestamp":"000001a0350db570"} 
[2026-08-25 00: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-25 00:05:11] 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-25 00:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 00:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624699392001,"66":11917,"245":206,"85":15104,"24":0,"16":123207888574349312,"45":8949919122104836096},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 00:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624699392001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123207888574349312,"km_value":123207888574349.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949919122104836096,"description":"Unknown IO ID 45"} 
[2026-08-25 00:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624699392001,"power":11917,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949919122104836096}} 
[2026-08-25 00:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":161626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:05:11] local.INFO: GPS data processed {"connection_id":161626,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:05:11] local.INFO: Acknowledgment sent {"connection_id":161626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:05:16] local.INFO: TCP Data received {"connection_id":162606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350cabd0012d34cb4006b29160001300792e..."} 
[2026-08-25 00:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350cabd0012d34cb4006b29160001300792e..."} 
[2026-08-25 00:05:16] local.INFO: Processing buffer {"connection_id":162606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350cabd0012d34cb4006b29160001300792e..."} 
[2026-08-25 00:05:16] local.INFO: Packet analysis {"connection_id":162606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350c"} 
[2026-08-25 00:05:16] local.INFO: Extracted packet for processing {"connection_id":162606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350c"} 
[2026-08-25 00:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758434624,"raw_latitude":112365920,"longitude_deg":75.8434624,"latitude_deg":11.236592,"altitude":19,"angle":121,"satellites":46,"speed":18,"hex_longitude":"2d34cb40","hex_latitude":"06b29160","is_valid_coordinates":true} 
[2026-08-25 00:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624680448001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391032076238848000,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795569500160,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:16] 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-25 00:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787596418000,"timestamp_ms":1787596418000,"timestamp_seconds":1787596418,"priority":1,"record_length":96,"hex_timestamp":"000001a0350cabd0"} 
[2026-08-25 00:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:05: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-25 00:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 00:05: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-25 00:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624680448001,"66":26941,"224":206,"81":23552,"24":18,"16":391032076238848000,"45":3800404795569500160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-08-25 00:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624680448001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:05:16] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-25 00:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391032076238848000,"km_value":391032076238848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795569500160,"description":"Unknown IO ID 45"} 
[2026-08-25 00:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624680448001,"power":26941,"unknown_224":206,"unknown_81":23552,"ignition":18,"odometer":null,"unknown_45":3800404795569500160}} 
[2026-08-25 00:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":162606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:05:16] local.INFO: GPS data processed {"connection_id":162606,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:05:16] local.INFO: Acknowledgment sent {"connection_id":162606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:05:41] local.INFO: TCP Data received {"connection_id":161627,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:05:41] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:05:41] local.INFO: IMEI packet received {"connection_id":161627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":161627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:05:41] local.INFO: TCP Data received {"connection_id":161627,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:05:41] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:05:41] local.INFO: IMEI packet received {"connection_id":161627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":161627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:05:43] local.INFO: TCP Data received {"connection_id":161626,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350dc128012d7c35c005d989300000004125..."} 
[2026-08-25 00:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350dc128012d7c35c005d989300000004125..."} 
[2026-08-25 00:05:43] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350dc128012d7c35c005d989300000004125..."} 
[2026-08-25 00:05:43] local.INFO: Packet analysis {"connection_id":161626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350d"} 
[2026-08-25 00:05:43] local.INFO: Extracted packet for processing {"connection_id":161626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350d"} 
[2026-08-25 00:05:43] local.INFO: GPS Element Parsed {"raw_longitude":763114944,"raw_latitude":98142512,"longitude_deg":76.3114944,"latitude_deg":9.8142512,"altitude":0,"angle":65,"satellites":37,"speed":1,"hex_longitude":"2d7c35c0","hex_latitude":"05d98930","is_valid_coordinates":true} 
[2026-08-25 00:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624700416001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123207897164283904,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950059859593197568,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:43] 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-25 00:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787596489000,"timestamp_ms":1787596489000,"timestamp_seconds":1787596489,"priority":1,"record_length":96,"hex_timestamp":"000001a0350dc128"} 
[2026-08-25 00:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-25 00:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624700416001,"66":11917,"245":206,"85":15104,"24":1,"16":123207897164283904,"45":8950059859593197568},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 00:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624700416001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:05:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123207897164283904,"km_value":123207897164283.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950059859593197568,"description":"Unknown IO ID 45"} 
[2026-08-25 00:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624700416001,"power":11917,"geofence_id":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8950059859593197568}} 
[2026-08-25 00:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":161626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:05:43] local.INFO: GPS data processed {"connection_id":161626,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:05:43] local.INFO: Acknowledgment sent {"connection_id":161626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:05:47] local.INFO: TCP Data received {"connection_id":161627,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:05:47] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:05:47] local.INFO: IMEI packet received {"connection_id":161627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":161627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:05:49] local.INFO: TCP Data received {"connection_id":161627,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350ce280012d34e98006b27dd80013007a2f..."} 
[2026-08-25 00:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350ce280012d34e98006b27dd80013007a2f..."} 
[2026-08-25 00:05:49] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350ce280012d34e98006b27dd80013007a2f..."} 
[2026-08-25 00:05:49] local.INFO: Packet analysis {"connection_id":161627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350c"} 
[2026-08-25 00:05:49] local.INFO: Extracted packet for processing {"connection_id":161627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350c"} 
[2026-08-25 00:05:49] local.INFO: GPS Element Parsed {"raw_longitude":758442368,"raw_latitude":112360920,"longitude_deg":75.8442368,"latitude_deg":11.236092,"altitude":19,"angle":122,"satellites":47,"speed":27,"hex_longitude":"2d34e980","hex_latitude":"06b27dd8","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624683008001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391032518620479488,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804204707754369024,"note":"Value kept but may cause issues"} 
[2026-08-25 00:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787596432000,"timestamp_ms":1787596432000,"timestamp_seconds":1787596432,"priority":1,"record_length":96,"hex_timestamp":"000001a0350ce280"} 
[2026-08-25 00: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-25 00:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00: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":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-08-25 00:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624683008001,"66":27300,"224":206,"81":23552,"24":27,"16":391032518620479488,"45":3804204707754369024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-08-25 00:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624683008001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:05:49] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-25 00:05:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391032518620479488,"km_value":391032518620479.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804204707754369024,"description":"Unknown IO ID 45"} 
[2026-08-25 00:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624683008001,"power":27300,"unknown_224":206,"unknown_81":23552,"ignition":27,"odometer":null,"unknown_45":3804204707754369024}} 
[2026-08-25 00:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":161627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:05:49] local.INFO: GPS data processed {"connection_id":161627,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:05:49] local.INFO: Acknowledgment sent {"connection_id":161627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:06:01] local.INFO: TCP Data received {"connection_id":162607,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:06:01] local.INFO: Processing buffer {"connection_id":162607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:06:01] local.INFO: IMEI packet received {"connection_id":162607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":162607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:06:02] local.INFO: TCP Data received {"connection_id":162607,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:06:02] local.INFO: Processing buffer {"connection_id":162607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:06:02] local.INFO: IMEI packet received {"connection_id":162607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":162607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:06:06] local.INFO: TCP Data received {"connection_id":162607,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:06:06] local.INFO: Processing buffer {"connection_id":162607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:06:06] local.INFO: IMEI packet received {"connection_id":162607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":162607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:06:07] local.INFO: TCP Data received {"connection_id":162607,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350dcce0012d7c360005d989400000004d26..."} 
[2026-08-25 00:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350dcce0012d7c360005d989400000004d26..."} 
[2026-08-25 00:06:07] local.INFO: Processing buffer {"connection_id":162607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350dcce0012d7c360005d989400000004d26..."} 
[2026-08-25 00:06:07] local.INFO: Packet analysis {"connection_id":162607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350d"} 
[2026-08-25 00:06:07] local.INFO: Extracted packet for processing {"connection_id":162607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350d"} 
[2026-08-25 00:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763115008,"raw_latitude":98142528,"longitude_deg":76.3115008,"latitude_deg":9.8142528,"altitude":0,"angle":77,"satellites":38,"speed":1,"hex_longitude":"2d7c3600","hex_latitude":"05d98940","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624701184001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123207905754218496,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950270965825744896,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:07] 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-25 00:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787596492000,"timestamp_ms":1787596492000,"timestamp_seconds":1787596492,"priority":1,"record_length":96,"hex_timestamp":"000001a0350dcce0"} 
[2026-08-25 00: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-25 00:06: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-25 00: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-25 00:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624701184001,"66":11645,"245":206,"85":15104,"24":1,"16":123207905754218496,"45":8950270965825744896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 00:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624701184001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123207905754218496,"km_value":123207905754218.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950270965825744896,"description":"Unknown IO ID 45"} 
[2026-08-25 00:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624701184001,"power":11645,"geofence_id":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8950270965825744896}} 
[2026-08-25 00:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":162607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:06:07] local.INFO: GPS data processed {"connection_id":162607,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:06:07] local.INFO: Acknowledgment sent {"connection_id":162607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:06:09] local.INFO: TCP Data received {"connection_id":162607,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350e1b00012d7c364005d989400000005223..."} 
[2026-08-25 00:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350e1b00012d7c364005d989400000005223..."} 
[2026-08-25 00:06:09] local.INFO: Processing buffer {"connection_id":162607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350e1b00012d7c364005d989400000005223..."} 
[2026-08-25 00:06:09] local.INFO: Packet analysis {"connection_id":162607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350e"} 
[2026-08-25 00:06:09] local.INFO: Extracted packet for processing {"connection_id":162607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350e"} 
[2026-08-25 00:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763115072,"raw_latitude":98142528,"longitude_deg":76.3115072,"latitude_deg":9.8142528,"altitude":0,"angle":82,"satellites":35,"speed":0,"hex_longitude":"2d7c3640","hex_latitude":"05d98940","is_valid_coordinates":true} 
[2026-08-25 00:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624701952001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123207905754218496,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950341334569926656,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:09] 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-25 00:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787596512000,"timestamp_ms":1787596512000,"timestamp_seconds":1787596512,"priority":1,"record_length":96,"hex_timestamp":"000001a0350e1b00"} 
[2026-08-25 00:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:06:09] 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-25 00:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-25 00:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1548,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624701952001,"66":12015,"245":206,"85":15104,"24":0,"16":123207905754218496,"45":8950341334569926656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 00:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624701952001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123207905754218496,"km_value":123207905754218.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950341334569926656,"description":"Unknown IO ID 45"} 
[2026-08-25 00:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624701952001,"power":12015,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8950341334569926656}} 
[2026-08-25 00:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":162607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:06:09] local.INFO: GPS data processed {"connection_id":162607,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:06:09] local.INFO: Acknowledgment sent {"connection_id":162607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:06:20] local.INFO: TCP Data received {"connection_id":161627,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350e5d68012d362a4006b16ae00018009f2f..."} 
[2026-08-25 00:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350e5d68012d362a4006b16ae00018009f2f..."} 
[2026-08-25 00:06:20] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350e5d68012d362a4006b16ae00018009f2f..."} 
[2026-08-25 00:06:20] local.INFO: Packet analysis {"connection_id":161627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350e"} 
[2026-08-25 00:06:20] local.INFO: Extracted packet for processing {"connection_id":161627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350e"} 
[2026-08-25 00:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758524480,"raw_latitude":112290528,"longitude_deg":75.852448,"latitude_deg":11.2290528,"altitude":24,"angle":159,"satellites":47,"speed":55,"hex_longitude":"2d362a40","hex_latitude":"06b16ae0","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624709632001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391037861559795712,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3899272881121384448,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787596529000,"timestamp_ms":1787596529000,"timestamp_seconds":1787596529,"priority":1,"record_length":96,"hex_timestamp":"000001a0350e5d68"} 
[2026-08-25 00: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-25 00:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-25 00:06: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-25 00: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-25 00: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-25 00:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624709632001,"66":27332,"119":206,"81":23552,"24":55,"16":391037861559795712,"45":3899272881121384448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,81,24,16,45]} 
[2026-08-25 00:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624709632001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:06:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-25 00:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391037861559795712,"km_value":391037861559795.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3899272881121384448,"description":"Unknown IO ID 45"} 
[2026-08-25 00:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624709632001,"power":27332,"unknown_119":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3899272881121384448}} 
[2026-08-25 00:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":161627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:06:20] local.INFO: GPS data processed {"connection_id":161627,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:06:20] local.INFO: Acknowledgment sent {"connection_id":161627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:06:40] local.INFO: TCP Data received {"connection_id":162607,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350e26b8012d7c374005d989e00000003325..."} 
[2026-08-25 00:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350e26b8012d7c374005d989e00000003325..."} 
[2026-08-25 00:06:40] local.INFO: Processing buffer {"connection_id":162607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350e26b8012d7c374005d989e00000003325..."} 
[2026-08-25 00:06:40] local.INFO: Packet analysis {"connection_id":162607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350e"} 
[2026-08-25 00:06:40] local.INFO: Extracted packet for processing {"connection_id":162607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350e"} 
[2026-08-25 00:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763115328,"raw_latitude":98142688,"longitude_deg":76.3115328,"latitude_deg":9.8142688,"altitude":0,"angle":51,"satellites":37,"speed":2,"hex_longitude":"2d7c3740","hex_latitude":"05d989e0","is_valid_coordinates":true} 
[2026-08-25 00:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624707072001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123207922934087680,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950411703314104320,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:40] 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-25 00:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787596515000,"timestamp_ms":1787596515000,"timestamp_seconds":1787596515,"priority":1,"record_length":96,"hex_timestamp":"000001a0350e26b8"} 
[2026-08-25 00:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-25 00:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":162607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":162607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":162607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624707072001,"66":12298,"245":206,"85":15104,"24":2,"16":123207922934087680,"45":8950411703314104320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 00:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624707072001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123207922934087680,"km_value":123207922934087.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950411703314104320,"description":"Unknown IO ID 45"} 
[2026-08-25 00:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624707072001,"power":12298,"geofence_id":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8950411703314104320}} 
[2026-08-25 00:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":162607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:06:40] local.INFO: GPS data processed {"connection_id":162607,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:06:40] local.INFO: Acknowledgment sent {"connection_id":162607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:06:52] local.INFO: TCP Data received {"connection_id":161365,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:06:52] local.INFO: Processing buffer {"connection_id":161365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:06:52] local.INFO: IMEI packet received {"connection_id":161365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":161365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:06:56] local.INFO: TCP Data received {"connection_id":161365,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:06:56] local.INFO: Processing buffer {"connection_id":161365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:06:56] local.INFO: IMEI packet received {"connection_id":161365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":161365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:06:57] local.INFO: TCP Data received {"connection_id":161365,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350e78c0012d3638c006b145800015009f2e..."} 
[2026-08-25 00:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350e78c0012d3638c006b145800015009f2e..."} 
[2026-08-25 00:06:57] local.INFO: Processing buffer {"connection_id":161365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350e78c0012d3638c006b145800015009f2e..."} 
[2026-08-25 00:06:57] local.INFO: Packet analysis {"connection_id":161365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350e"} 
[2026-08-25 00:06:57] local.INFO: Extracted packet for processing {"connection_id":161365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350e"} 
[2026-08-25 00:06:57] local.INFO: GPS Element Parsed {"raw_longitude":758528192,"raw_latitude":112280960,"longitude_deg":75.8528192,"latitude_deg":11.228096,"altitude":21,"angle":159,"satellites":46,"speed":60,"hex_longitude":"2d3638c0","hex_latitude":"06b14580","is_valid_coordinates":true} 
[2026-08-25 00:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624711424001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391038359776002048,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3903002424560508928,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787596536000,"timestamp_ms":1787596536000,"timestamp_seconds":1787596536,"priority":1,"record_length":96,"hex_timestamp":"000001a0350e78c0"} 
[2026-08-25 00:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:06: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-25 00:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-25 00:06: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-25 00:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624711424001,"66":27267,"119":206,"81":23552,"24":60,"16":391038359776002048,"45":3903002424560508928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,81,24,16,45]} 
[2026-08-25 00:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624711424001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:06:57] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-25 00:06:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391038359776002048,"km_value":391038359776002.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3903002424560508928,"description":"Unknown IO ID 45"} 
[2026-08-25 00:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624711424001,"power":27267,"unknown_119":206,"unknown_81":23552,"ignition":60,"odometer":null,"unknown_45":3903002424560508928}} 
[2026-08-25 00:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":161365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:06:57] local.INFO: GPS data processed {"connection_id":161365,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:06:57] local.INFO: Acknowledgment sent {"connection_id":161365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:06:58] local.INFO: TCP Data received {"connection_id":161365,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350e9030012d36460006b124200013009e2e..."} 
[2026-08-25 00:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350e9030012d36460006b124200013009e2e..."} 
[2026-08-25 00:06:58] local.INFO: Processing buffer {"connection_id":161365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350e9030012d36460006b124200013009e2e..."} 
[2026-08-25 00:06:58] local.INFO: Packet analysis {"connection_id":161365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350e"} 
[2026-08-25 00:06:58] local.INFO: Extracted packet for processing {"connection_id":161365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350e"} 
[2026-08-25 00:06:58] local.INFO: GPS Element Parsed {"raw_longitude":758531584,"raw_latitude":112272416,"longitude_deg":75.8531584,"latitude_deg":11.2272416,"altitude":19,"angle":158,"satellites":46,"speed":59,"hex_longitude":"2d364600","hex_latitude":"06b12420","is_valid_coordinates":true} 
[2026-08-25 00:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624713216001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391038802157633536,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3907083811720364032,"note":"Value kept but may cause issues"} 
[2026-08-25 00:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787596542000,"timestamp_ms":1787596542000,"timestamp_seconds":1787596542,"priority":1,"record_length":96,"hex_timestamp":"000001a0350e9030"} 
[2026-08-25 00:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 00:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624713216001,"66":27234,"119":206,"81":23552,"24":59,"16":391038802157633536,"45":3907083811720364032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,81,24,16,45]} 
[2026-08-25 00:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624713216001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:06:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-25 00:06:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391038802157633536,"km_value":391038802157633.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3907083811720364032,"description":"Unknown IO ID 45"} 
[2026-08-25 00:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624713216001,"power":27234,"unknown_119":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3907083811720364032}} 
[2026-08-25 00:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":161365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:06:58] local.INFO: GPS data processed {"connection_id":161365,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:06:58] local.INFO: Acknowledgment sent {"connection_id":161365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:07:01] local.INFO: TCP Data received {"connection_id":163996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:07:01] local.INFO: Processing buffer {"connection_id":163996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:07:01] local.INFO: IMEI packet received {"connection_id":163996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":163996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:07:05] local.INFO: TCP Data received {"connection_id":163996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:07:05] local.INFO: Processing buffer {"connection_id":163996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:07:05] local.INFO: IMEI packet received {"connection_id":163996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":163996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:07:06] local.INFO: TCP Data received {"connection_id":163996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350f95e8012d7c748005d9df480008015f17..."} 
[2026-08-25 00:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350f95e8012d7c748005d9df480008015f17..."} 
[2026-08-25 00:07:06] local.INFO: Processing buffer {"connection_id":163996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350f95e8012d7c748005d9df480008015f17..."} 
[2026-08-25 00:07:06] local.INFO: Packet analysis {"connection_id":163996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:07:06] local.INFO: Extracted packet for processing {"connection_id":163996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763131008,"raw_latitude":98164552,"longitude_deg":76.3131008,"latitude_deg":9.8164552,"altitude":8,"angle":351,"satellites":23,"speed":48,"hex_longitude":"2d7c7480","hex_latitude":"05d9df48","is_valid_coordinates":true} 
[2026-08-25 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-25 00:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624730112001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123209653805907968,"note":"Value kept but may cause issues"} 
[2026-08-25 00:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969411264245385216,"note":"Value kept but may cause issues"} 
[2026-08-25 00:07:06] 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-25 00:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787596609000,"timestamp_ms":1787596609000,"timestamp_seconds":1787596609,"priority":1,"record_length":96,"hex_timestamp":"000001a0350f95e8"} 
[2026-08-25 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-25 00:07: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-25 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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-25 00:07: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-25 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-25 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-25 00:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624730112001,"66":11711,"245":206,"85":15104,"24":48,"16":123209653805907968,"45":8969411264245385216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 00:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624730112001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123209653805907968,"km_value":123209653805907.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969411264245385216,"description":"Unknown IO ID 45"} 
[2026-08-25 00:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624730112001,"power":11711,"geofence_id":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8969411264245385216}} 
[2026-08-25 00:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":163996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:07:06] local.INFO: GPS data processed {"connection_id":163996,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:07:06] local.INFO: Acknowledgment sent {"connection_id":163996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:07:37] local.INFO: TCP Data received {"connection_id":163996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350fb140012d7c6dc005da04280007015c19..."} 
[2026-08-25 00:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350fb140012d7c6dc005da04280007015c19..."} 
[2026-08-25 00:07:37] local.INFO: Processing buffer {"connection_id":163996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350fb140012d7c6dc005da04280007015c19..."} 
[2026-08-25 00:07:37] local.INFO: Packet analysis {"connection_id":163996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:07:37] local.INFO: Extracted packet for processing {"connection_id":163996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763129280,"raw_latitude":98173992,"longitude_deg":76.312928,"latitude_deg":9.8173992,"altitude":7,"angle":348,"satellites":25,"speed":50,"hex_longitude":"2d7c6dc0","hex_latitude":"05da0428","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624731904001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123210117662375936,"note":"Value kept but may cause issues"} 
[2026-08-25 00:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967933520619980800,"note":"Value kept but may cause issues"} 
[2026-08-25 00:07:37] 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-25 00:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787596616000,"timestamp_ms":1787596616000,"timestamp_seconds":1787596616,"priority":1,"record_length":96,"hex_timestamp":"000001a0350fb140"} 
[2026-08-25 00: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-25 00:07: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-25 00: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-25 00:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624731904001,"66":12428,"245":206,"85":15104,"24":50,"16":123210117662375936,"45":8967933520619980800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 00:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624731904001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123210117662375936,"km_value":123210117662375.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967933520619980800,"description":"Unknown IO ID 45"} 
[2026-08-25 00:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624731904001,"power":12428,"geofence_id":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8967933520619980800}} 
[2026-08-25 00:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":163996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:07:37] local.INFO: GPS data processed {"connection_id":163996,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:07:37] local.INFO: Acknowledgment sent {"connection_id":163996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:07:41] local.INFO: TCP Data received {"connection_id":163997,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:07:41] local.INFO: Processing buffer {"connection_id":163997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:07:41] local.INFO: IMEI packet received {"connection_id":163997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":163997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:07:46] local.INFO: TCP Data received {"connection_id":163997,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:07:46] local.INFO: Processing buffer {"connection_id":163997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:07:46] local.INFO: IMEI packet received {"connection_id":163997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":163997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:07:47] local.INFO: TCP Data received {"connection_id":163997,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350fa970012d36ee4006afab980018009d2c..."} 
[2026-08-25 00:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350fa970012d36ee4006afab980018009d2c..."} 
[2026-08-25 00:07:47] local.INFO: Processing buffer {"connection_id":163997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350fa970012d36ee4006afab980018009d2c..."} 
[2026-08-25 00:07:47] local.INFO: Packet analysis {"connection_id":163997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:07:47] local.INFO: Extracted packet for processing {"connection_id":163997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758574656,"raw_latitude":112176024,"longitude_deg":75.8574656,"latitude_deg":11.2176024,"altitude":24,"angle":157,"satellites":44,"speed":59,"hex_longitude":"2d36ee40","hex_latitude":"06afab98","is_valid_coordinates":true} 
[2026-08-25 00:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624731648001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391043908873748480,"note":"Value kept but may cause issues"} 
[2026-08-25 00:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3954230870294665216,"note":"Value kept but may cause issues"} 
[2026-08-25 00:07:47] 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-25 00:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787596614000,"timestamp_ms":1787596614000,"timestamp_seconds":1787596614,"priority":1,"record_length":96,"hex_timestamp":"000001a0350fa970"} 
[2026-08-25 00:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:07: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-25 00:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 00:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624731648001,"66":27234,"85":206,"81":23552,"24":59,"16":391043908873748480,"45":3954230870294665216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-25 00:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624731648001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:07:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-25 00:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391043908873748480,"km_value":391043908873748.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3954230870294665216,"description":"Unknown IO ID 45"} 
[2026-08-25 00:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624731648001,"power":27234,"unknown_85":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3954230870294665216}} 
[2026-08-25 00:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":163997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:07:47] local.INFO: GPS data processed {"connection_id":163997,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:07:47] local.INFO: Acknowledgment sent {"connection_id":163997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:08:01] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:08:01] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:08:01] local.INFO: IMEI packet received {"connection_id":162608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":162608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:08:01] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:08:01] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:08:01] local.INFO: IMEI packet received {"connection_id":162608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":162608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:08:06] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:08:06] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:08:06] local.INFO: IMEI packet received {"connection_id":162608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":162608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:08:08] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350fcc98012d7c640005da29900006015718..."} 
[2026-08-25 00:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350fcc98012d7c640005da29900006015718..."} 
[2026-08-25 00:08:08] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350fcc98012d7c640005da29900006015718..."} 
[2026-08-25 00:08:08] local.INFO: Packet analysis {"connection_id":162608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:08:08] local.INFO: Extracted packet for processing {"connection_id":162608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763126784,"raw_latitude":98183568,"longitude_deg":76.3126784,"latitude_deg":9.8183568,"altitude":6,"angle":343,"satellites":24,"speed":51,"hex_longitude":"2d7c6400","hex_latitude":"05da2990","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624733696001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123210598698713088,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966033564529600512,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:08] 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-25 00:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787596623000,"timestamp_ms":1787596623000,"timestamp_seconds":1787596623,"priority":1,"record_length":96,"hex_timestamp":"000001a0350fcc98"} 
[2026-08-25 00: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-25 00:08: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-25 00: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 00:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624733696001,"66":12069,"245":206,"85":15104,"24":51,"16":123210598698713088,"45":8966033564529600512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 00:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624733696001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123210598698713088,"km_value":123210598698713.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966033564529600512,"description":"Unknown IO ID 45"} 
[2026-08-25 00:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624733696001,"power":12069,"geofence_id":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8966033564529600512}} 
[2026-08-25 00:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":162608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:08:08] local.INFO: GPS data processed {"connection_id":162608,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:08:08] local.INFO: Acknowledgment sent {"connection_id":162608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:08:18] local.INFO: TCP Data received {"connection_id":163997,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350fc4c8012d36fdc006af85f00019009e2d..."} 
[2026-08-25 00:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350fc4c8012d36fdc006af85f00019009e2d..."} 
[2026-08-25 00:08:18] local.INFO: Processing buffer {"connection_id":163997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350fc4c8012d36fdc006af85f00019009e2d..."} 
[2026-08-25 00:08:18] local.INFO: Packet analysis {"connection_id":163997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:08:18] local.INFO: Extracted packet for processing {"connection_id":163997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758578624,"raw_latitude":112166384,"longitude_deg":75.8578624,"latitude_deg":11.2166384,"altitude":25,"angle":158,"satellites":45,"speed":59,"hex_longitude":"2d36fdc0","hex_latitude":"06af85f0","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624733184001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391044411384922112,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3958171519966484480,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:18] 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-25 00:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787596621000,"timestamp_ms":1787596621000,"timestamp_seconds":1787596621,"priority":1,"record_length":96,"hex_timestamp":"000001a0350fc4c8"} 
[2026-08-25 00: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-25 00:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-25 00:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624733184001,"66":27180,"85":206,"81":23552,"24":59,"16":391044411384922112,"45":3958171519966484480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-25 00:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624733184001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-25 00:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-25 00:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391044411384922112,"km_value":391044411384922.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3958171519966484480,"description":"Unknown IO ID 45"} 
[2026-08-25 00:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624733184001,"power":27180,"unknown_85":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3958171519966484480}} 
[2026-08-25 00:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":163997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:08:18] local.INFO: GPS data processed {"connection_id":163997,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:08:18] local.INFO: Acknowledgment sent {"connection_id":163997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:08:39] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0350febd8012d7c584005da4e80000601561b..."} 
[2026-08-25 00:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350febd8012d7c584005da4e80000601561b..."} 
[2026-08-25 00:08:39] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350febd8012d7c584005da4e80000601561b..."} 
[2026-08-25 00:08:39] local.INFO: Packet analysis {"connection_id":162608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:08:39] local.INFO: Extracted packet for processing {"connection_id":162608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763123776,"raw_latitude":98193024,"longitude_deg":76.3123776,"latitude_deg":9.8193024,"altitude":6,"angle":342,"satellites":27,"speed":45,"hex_longitude":"2d7c5840","hex_latitude":"05da4e80","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624735488001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123211079735050240,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963289183509123072,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:39] 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-25 00:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787596631000,"timestamp_ms":1787596631000,"timestamp_seconds":1787596631,"priority":1,"record_length":96,"hex_timestamp":"000001a0350febd8"} 
[2026-08-25 00: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-25 00:08: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-25 00: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 00:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624735488001,"66":12156,"245":206,"85":15104,"24":45,"16":123211079735050240,"45":8963289183509123072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 00:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624735488001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123211079735050240,"km_value":123211079735050.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963289183509123072,"description":"Unknown IO ID 45"} 
[2026-08-25 00:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624735488001,"power":12156,"geofence_id":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8963289183509123072}} 
[2026-08-25 00:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":162608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:08:39] local.INFO: GPS data processed {"connection_id":162608,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:08:39] local.INFO: Acknowledgment sent {"connection_id":162608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:08:41] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:08:41] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:08:41] local.INFO: IMEI packet received {"connection_id":162609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":162609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:08:48] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:08:48] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:08:48] local.INFO: IMEI packet received {"connection_id":162609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":162609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:08:49] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:08:49] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:08:49] local.INFO: IMEI packet received {"connection_id":162609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":162609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:08:50] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350fdc38012d370b8006af65e0001b009c2b..."} 
[2026-08-25 00:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350fdc38012d370b8006af65e0001b009c2b..."} 
[2026-08-25 00:08:50] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350fdc38012d370b8006af65e0001b009c2b..."} 
[2026-08-25 00:08:50] local.INFO: Packet analysis {"connection_id":162609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:08:50] local.INFO: Extracted packet for processing {"connection_id":162609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:08:50] local.INFO: GPS Element Parsed {"raw_longitude":758582144,"raw_latitude":112158176,"longitude_deg":75.8582144,"latitude_deg":11.2158176,"altitude":27,"angle":156,"satellites":43,"speed":59,"hex_longitude":"2d370b80","hex_latitude":"06af65e0","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624734976001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391044840881651712,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3962534382103031808,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:50] 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-25 00:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787596627000,"timestamp_ms":1787596627000,"timestamp_seconds":1787596627,"priority":1,"record_length":96,"hex_timestamp":"000001a0350fdc38"} 
[2026-08-25 00: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-25 00:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00: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":44,"data_length":795,"current_offset":136} 
[2026-08-25 00:08: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-25 00: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-25 00: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-25 00:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624734976001,"66":27300,"6":206,"81":49664,"24":59,"16":391044840881651712,"45":3962534382103031808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-08-25 00:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624734976001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:08:50] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-25 00:08:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-25 00:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391044840881651712,"km_value":391044840881651.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3962534382103031808,"description":"Unknown IO ID 45"} 
[2026-08-25 00:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624734976001,"power":27300,"unknown_6":206,"unknown_81":49664,"ignition":59,"odometer":null,"unknown_45":3962534382103031808}} 
[2026-08-25 00:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":162609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:08:50] local.INFO: GPS data processed {"connection_id":162609,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:08:50] local.INFO: Acknowledgment sent {"connection_id":162609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:08:52] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0350ff3a8012d371a8006af4640001c00992e..."} 
[2026-08-25 00:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0350ff3a8012d371a8006af4640001c00992e..."} 
[2026-08-25 00:08:52] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0350ff3a8012d371a8006af4640001c00992e..."} 
[2026-08-25 00:08:52] local.INFO: Packet analysis {"connection_id":162609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:08:52] local.INFO: Extracted packet for processing {"connection_id":162609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0350f"} 
[2026-08-25 00:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758585984,"raw_latitude":112150080,"longitude_deg":75.8585984,"latitude_deg":11.215008,"altitude":28,"angle":153,"satellites":46,"speed":59,"hex_longitude":"2d371a80","hex_latitude":"06af4640","is_valid_coordinates":true} 
[2026-08-25 00:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624736512001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391045274673348608,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3966404663030702080,"note":"Value kept but may cause issues"} 
[2026-08-25 00:08:52] 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-25 00:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787596633000,"timestamp_ms":1787596633000,"timestamp_seconds":1787596633,"priority":1,"record_length":96,"hex_timestamp":"000001a0350ff3a8"} 
[2026-08-25 00:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:08: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-25 00:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-25 00:08:52] 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-25 00:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624736512001,"66":27267,"6":206,"81":49664,"24":59,"16":391045274673348608,"45":3966404663030702080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-08-25 00:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624736512001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:08:52] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-25 00:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-25 00:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391045274673348608,"km_value":391045274673348.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3966404663030702080,"description":"Unknown IO ID 45"} 
[2026-08-25 00:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624736512001,"power":27267,"unknown_6":206,"unknown_81":49664,"ignition":59,"odometer":null,"unknown_45":3966404663030702080}} 
[2026-08-25 00:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":162609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:08:52] local.INFO: GPS data processed {"connection_id":162609,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:08:52] local.INFO: Acknowledgment sent {"connection_id":162609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:09:01] local.INFO: TCP Data received {"connection_id":162610,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:09:01] local.INFO: Processing buffer {"connection_id":162610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:09:01] local.INFO: IMEI packet received {"connection_id":162610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":162610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:09:01] local.INFO: TCP Data received {"connection_id":162610,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:09:01] local.INFO: Processing buffer {"connection_id":162610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:09:01] local.INFO: IMEI packet received {"connection_id":162610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":162610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:09:06] local.INFO: TCP Data received {"connection_id":162610,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:09:06] local.INFO: Processing buffer {"connection_id":162610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:09:06] local.INFO: IMEI packet received {"connection_id":162610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":162610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:09:07] local.INFO: TCP Data received {"connection_id":162610,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0351137e0012d7bee8005dbd9700005015e1a..."} 
[2026-08-25 00:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351137e0012d7bee8005dbd9700005015e1a..."} 
[2026-08-25 00:09:07] local.INFO: Processing buffer {"connection_id":162610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351137e0012d7bee8005dbd9700005015e1a..."} 
[2026-08-25 00:09:07] local.INFO: Packet analysis {"connection_id":162610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:09:07] local.INFO: Extracted packet for processing {"connection_id":162610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763096704,"raw_latitude":98294128,"longitude_deg":76.3096704,"latitude_deg":9.8294128,"altitude":5,"angle":350,"satellites":26,"speed":48,"hex_longitude":"2d7bee80","hex_latitude":"05dbd970","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624757248001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123216156386394112,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932186198608463872,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787596716000,"timestamp_ms":1787596716000,"timestamp_seconds":1787596716,"priority":1,"record_length":96,"hex_timestamp":"000001a0351137e0"} 
[2026-08-25 00: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-25 00:09:07] 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-25 00: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437355676160,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186037,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":421848148760461653,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3823637000841165876,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832572,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146853216462,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":190,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221609215,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3186294784,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3671754752,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":6,"raw_value":96857079641276416,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":189,"raw_value":9007199254740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.WARNING: Large IO value detected {"io_id":25,"raw_value":13510798882766852,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:07] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,186,85,24,241,157,16,192,160,253,45,64,145,7,31,10,66,191,225,128,111,8,27,194,1,240,97,227,190,53,219,4,113,205,52,136,32,30,239,48,187,2,181,5,6,189,25],"length":534,"final_offset":664,"validated_count":47,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-08-25 00:09:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504784817652695040,"timestamp_seconds":504784817652695.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 00: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-25 00:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624757248001,"66":12298,"185":206,"85":15104,"24":48,"16":123216156386394112,"45":8932186198608463872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 00:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624757248001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:09:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 00:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123216156386394112,"km_value":123216156386394.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932186198608463872,"description":"Unknown IO ID 45"} 
[2026-08-25 00:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624757248001,"power":12298,"unknown_185":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8932186198608463872}} 
[2026-08-25 00:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":162610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:09:07] local.INFO: GPS data processed {"connection_id":162610,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:09:07] local.INFO: Acknowledgment sent {"connection_id":162610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:09:24] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035110900012d37d78006ae1168001500a12e..."} 
[2026-08-25 00:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035110900012d37d78006ae1168001500a12e..."} 
[2026-08-25 00:09:24] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035110900012d37d78006ae1168001500a12e..."} 
[2026-08-25 00:09:24] local.INFO: Packet analysis {"connection_id":162609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:09:24] local.INFO: Extracted packet for processing {"connection_id":162609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758634368,"raw_latitude":112071016,"longitude_deg":75.8634368,"latitude_deg":11.2071016,"altitude":21,"angle":161,"satellites":46,"speed":23,"hex_longitude":"2d37d780","hex_latitude":"06ae1168","is_valid_coordinates":true} 
[2026-08-25 00:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624756224001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391049750029271040,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4023825558257362944,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787596704000,"timestamp_ms":1787596704000,"timestamp_seconds":1787596704,"priority":1,"record_length":96,"hex_timestamp":"000001a035110900"} 
[2026-08-25 00:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:09: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-25 00:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-25 00:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624756224001,"66":27343,"6":206,"81":49664,"24":23,"16":391049750029271040,"45":4023825558257362944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-08-25 00:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624756224001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:09:24] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-25 00:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-25 00:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391049750029271040,"km_value":391049750029271.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4023825558257362944,"description":"Unknown IO ID 45"} 
[2026-08-25 00:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624756224001,"power":27343,"unknown_6":206,"unknown_81":49664,"ignition":23,"odometer":null,"unknown_45":4023825558257362944}} 
[2026-08-25 00:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":162609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:09:24] local.INFO: GPS data processed {"connection_id":162609,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:09:24] local.INFO: Acknowledgment sent {"connection_id":162609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:09:38] local.INFO: TCP Data received {"connection_id":162610,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035115720012d7be90005dbfe78000101621c..."} 
[2026-08-25 00:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035115720012d7be90005dbfe78000101621c..."} 
[2026-08-25 00:09:38] local.INFO: Processing buffer {"connection_id":162610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035115720012d7be90005dbfe78000101621c..."} 
[2026-08-25 00:09:38] local.INFO: Packet analysis {"connection_id":162610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:09:38] local.INFO: Extracted packet for processing {"connection_id":162610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763095296,"raw_latitude":98303608,"longitude_deg":76.3095296,"latitude_deg":9.8303608,"altitude":1,"angle":354,"satellites":28,"speed":46,"hex_longitude":"2d7be900","hex_latitude":"05dbfe78","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624759296001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123216620242862080,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930215873773924352,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787596724000,"timestamp_ms":1787596724000,"timestamp_seconds":1787596724,"priority":1,"record_length":96,"hex_timestamp":"000001a035115720"} 
[2026-08-25 00: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-25 00:09: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-25 00: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437322121728,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186037,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":192,"raw_value":421889792763363672,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3823671360579533865,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832573,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146853216462,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3193765888,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3674193920,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":6,"raw_value":97704803072737280,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-1513209474796486655,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.WARNING: Large IO value detected {"io_id":27,"raw_value":14073748836188164,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:38] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,185,85,24,241,157,16,192,160,45,128,180,7,30,10,66,186,253,64,145,31,191,225,1,240,86,227,53,219,4,113,205,50,167,23,40,28,239,48,187,2,181,5,6,189,27],"length":534,"final_offset":664,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-08-25 00:09:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360672910931656704,"timestamp_seconds":360672910931656.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 00: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-25 00:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624759296001,"66":12232,"185":206,"85":15104,"24":46,"16":123216620242862080,"45":8930215873773924352},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 00:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624759296001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:09:38] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 00:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123216620242862080,"km_value":123216620242862.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930215873773924352,"description":"Unknown IO ID 45"} 
[2026-08-25 00:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624759296001,"power":12232,"unknown_185":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8930215873773924352}} 
[2026-08-25 00:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":162610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:09:38] local.INFO: GPS data processed {"connection_id":162610,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:09:38] local.INFO: Acknowledgment sent {"connection_id":162610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:09:45] local.INFO: TCP Data received {"connection_id":161366,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:09:45] local.INFO: Processing buffer {"connection_id":161366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:09:45] local.INFO: IMEI packet received {"connection_id":161366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":161366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:09:46] local.INFO: TCP Data received {"connection_id":161366,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:09:46] local.INFO: Processing buffer {"connection_id":161366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:09:46] local.INFO: IMEI packet received {"connection_id":161366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":161366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:09:52] local.INFO: TCP Data received {"connection_id":161366,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:09:52] local.INFO: Processing buffer {"connection_id":161366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:09:52] local.INFO: IMEI packet received {"connection_id":161366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":161366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:09:59] local.INFO: TCP Data received {"connection_id":161366,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0351118a0012d37dbc006ae07c8001500942d..."} 
[2026-08-25 00:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351118a0012d37dbc006ae07c8001500942d..."} 
[2026-08-25 00:09:59] local.INFO: Processing buffer {"connection_id":161366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351118a0012d37dbc006ae07c8001500942d..."} 
[2026-08-25 00:09:59] local.INFO: Packet analysis {"connection_id":161366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:09:59] local.INFO: Extracted packet for processing {"connection_id":161366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758635456,"raw_latitude":112068552,"longitude_deg":75.8635456,"latitude_deg":11.2068552,"altitude":21,"angle":148,"satellites":45,"speed":30,"hex_longitude":"2d37dbc0","hex_latitude":"06ae07c8","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624756224001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391049878878289920,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4023825558257362944,"note":"Value kept but may cause issues"} 
[2026-08-25 00:09:59] 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-25 00:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787596708000,"timestamp_ms":1787596708000,"timestamp_seconds":1787596708,"priority":1,"record_length":96,"hex_timestamp":"000001a0351118a0"} 
[2026-08-25 00: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-25 00:09: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-25 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-25 00:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624756224001,"66":27213,"6":206,"81":49664,"24":30,"16":391049878878289920,"45":4023825558257362944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-08-25 00:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624756224001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:09:59] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-25 00:09:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-25 00:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391049878878289920,"km_value":391049878878289.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4023825558257362944,"description":"Unknown IO ID 45"} 
[2026-08-25 00:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624756224001,"power":27213,"unknown_6":206,"unknown_81":49664,"ignition":30,"odometer":null,"unknown_45":4023825558257362944}} 
[2026-08-25 00:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":161366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:09:59] local.INFO: GPS data processed {"connection_id":161366,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:09:59] local.INFO: Acknowledgment sent {"connection_id":161366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:10:00] local.INFO: TCP Data received {"connection_id":161366,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035113fb0012d37efc006ade850001500942c..."} 
[2026-08-25 00:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035113fb0012d37efc006ade850001500942c..."} 
[2026-08-25 00:10:00] local.INFO: Processing buffer {"connection_id":161366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035113fb0012d37efc006ade850001500942c..."} 
[2026-08-25 00:10:00] local.INFO: Packet analysis {"connection_id":161366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:10:00] local.INFO: Extracted packet for processing {"connection_id":161366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758640576,"raw_latitude":112060496,"longitude_deg":75.8640576,"latitude_deg":11.2060496,"altitude":21,"angle":148,"satellites":44,"speed":43,"hex_longitude":"2d37efc0","hex_latitude":"06ade850","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624757248001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391050338439790592,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4025021826907752448,"note":"Value kept but may cause issues"} 
[2026-08-25 00: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-25 00:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787596718000,"timestamp_ms":1787596718000,"timestamp_seconds":1787596718,"priority":1,"record_length":96,"hex_timestamp":"000001a035113fb0"} 
[2026-08-25 00: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-25 00:10: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-25 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-25 00:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624757248001,"66":27310,"6":206,"81":49664,"24":43,"16":391050338439790592,"45":4025021826907752448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-08-25 00:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624757248001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:10:00] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-25 00:10:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-25 00:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391050338439790592,"km_value":391050338439790.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4025021826907752448,"description":"Unknown IO ID 45"} 
[2026-08-25 00:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624757248001,"power":27310,"unknown_6":206,"unknown_81":49664,"ignition":43,"odometer":null,"unknown_45":4025021826907752448}} 
[2026-08-25 00:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":161366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:10:00] local.INFO: GPS data processed {"connection_id":161366,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:10:00] local.INFO: Acknowledgment sent {"connection_id":161366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:10:01] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:10:01] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:10:01] local.INFO: IMEI packet received {"connection_id":161628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":161628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:10:05] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:10:05] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:10:05] local.INFO: IMEI packet received {"connection_id":161628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":161628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:10:06] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035117660012d7be60005dc2548000001651d..."} 
[2026-08-25 00:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035117660012d7be60005dc2548000001651d..."} 
[2026-08-25 00:10:06] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035117660012d7be60005dc2548000001651d..."} 
[2026-08-25 00:10:06] local.INFO: Packet analysis {"connection_id":161628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:10:06] local.INFO: Extracted packet for processing {"connection_id":161628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763094528,"raw_latitude":98313544,"longitude_deg":76.3094528,"latitude_deg":9.8313544,"altitude":0,"angle":357,"satellites":29,"speed":49,"hex_longitude":"2d7be600","hex_latitude":"05dc2548","is_valid_coordinates":true} 
[2026-08-25 00:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624761344001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123217101279199232,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928667761404442624,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787596732000,"timestamp_ms":1787596732000,"timestamp_seconds":1787596732,"priority":1,"record_length":96,"hex_timestamp":"000001a035117660"} 
[2026-08-25 00:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:10: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-25 00:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 00:10: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-25 00:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624761344001,"66":12069,"185":206,"85":15104,"24":49,"16":123217101279199232,"45":8928667761404442624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 00:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624761344001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:10:06] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 00:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123217101279199232,"km_value":123217101279199.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928667761404442624,"description":"Unknown IO ID 45"} 
[2026-08-25 00:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624761344001,"power":12069,"unknown_185":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8928667761404442624}} 
[2026-08-25 00:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":161628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:10:06] local.INFO: GPS data processed {"connection_id":161628,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:10:06] local.INFO: Acknowledgment sent {"connection_id":161628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:10:38] local.INFO: TCP Data received {"connection_id":163998,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:10:38] local.INFO: Processing buffer {"connection_id":163998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:10:38] local.INFO: IMEI packet received {"connection_id":163998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":163998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:10:38] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03512c268012d7bbd8005dddfb80000015c1d..."} 
[2026-08-25 00:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03512c268012d7bbd8005dddfb80000015c1d..."} 
[2026-08-25 00:10:38] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03512c268012d7bbd8005dddfb80000015c1d..."} 
[2026-08-25 00:10:38] local.INFO: Packet analysis {"connection_id":161628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03512"} 
[2026-08-25 00:10:38] local.INFO: Extracted packet for processing {"connection_id":161628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03512"} 
[2026-08-25 00:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98426808,"longitude_deg":76.308416,"latitude_deg":9.8426808,"altitude":0,"angle":348,"satellites":29,"speed":57,"hex_longitude":"2d7bbd80","hex_latitude":"05dddfb8","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624783360001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123222628902109184,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918534662271838208,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787596817000,"timestamp_ms":1787596817000,"timestamp_seconds":1787596817,"priority":1,"record_length":96,"hex_timestamp":"000001a03512c268"} 
[2026-08-25 00: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-25 00:10:38] 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-25 00: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-25 00:10:38] 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-25 00: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-25 00: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-25 00:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624783360001,"66":12048,"169":206,"85":15104,"24":57,"16":123222628902109184,"45":8918534662271838208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 00:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624783360001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:10:38] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 00:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123222628902109184,"km_value":123222628902109.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918534662271838208,"description":"Unknown IO ID 45"} 
[2026-08-25 00:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624783360001,"power":12048,"unknown_169":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8918534662271838208}} 
[2026-08-25 00:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":161628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:10:38] local.INFO: GPS data processed {"connection_id":161628,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:10:38] local.INFO: Acknowledgment sent {"connection_id":161628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:10:41] local.INFO: TCP Data received {"connection_id":163998,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:10:41] local.INFO: Processing buffer {"connection_id":163998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:10:41] local.INFO: IMEI packet received {"connection_id":163998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":163998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:10:44] local.INFO: TCP Data received {"connection_id":163998,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:10:44] local.INFO: Processing buffer {"connection_id":163998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:10:44] local.INFO: IMEI packet received {"connection_id":163998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":163998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:10:44] local.INFO: TCP Data received {"connection_id":163998,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0351162d8012d38048006adc788001400942e..."} 
[2026-08-25 00:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351162d8012d38048006adc788001400942e..."} 
[2026-08-25 00:10:44] local.INFO: Processing buffer {"connection_id":163998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351162d8012d38048006adc788001400942e..."} 
[2026-08-25 00:10:44] local.INFO: Packet analysis {"connection_id":163998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:10:44] local.INFO: Extracted packet for processing {"connection_id":163998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758645888,"raw_latitude":112052104,"longitude_deg":75.8645888,"latitude_deg":11.2052104,"altitude":20,"angle":148,"satellites":46,"speed":44,"hex_longitude":"2d380480","hex_latitude":"06adc788","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624759808001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391050819476127744,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4030651326439903232,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:44] 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-25 00:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787596727000,"timestamp_ms":1787596727000,"timestamp_seconds":1787596727,"priority":1,"record_length":96,"hex_timestamp":"000001a0351162d8"} 
[2026-08-25 00: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-25 00:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-25 00:10:44] 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-25 00: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-25 00: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-25 00:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624759808001,"66":27213,"185":206,"81":49664,"24":44,"16":391050819476127744,"45":4030651326439903232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-08-25 00:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624759808001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:10:44] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 00:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-25 00:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391050819476127744,"km_value":391050819476127.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4030651326439903232,"description":"Unknown IO ID 45"} 
[2026-08-25 00:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624759808001,"power":27213,"unknown_185":206,"unknown_81":49664,"ignition":44,"odometer":null,"unknown_45":4030651326439903232}} 
[2026-08-25 00:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":163998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:10:44] local.INFO: GPS data processed {"connection_id":163998,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:10:44] local.INFO: Acknowledgment sent {"connection_id":163998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:10:47] local.INFO: TCP Data received {"connection_id":163998,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035118600012d3818c006ada7c8001400942e..."} 
[2026-08-25 00:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035118600012d3818c006ada7c8001400942e..."} 
[2026-08-25 00:10:47] local.INFO: Processing buffer {"connection_id":163998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035118600012d3818c006ada7c8001400942e..."} 
[2026-08-25 00:10:47] local.INFO: Packet analysis {"connection_id":163998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:10:47] local.INFO: Extracted packet for processing {"connection_id":163998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03511"} 
[2026-08-25 00:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758651072,"raw_latitude":112043976,"longitude_deg":75.8651072,"latitude_deg":11.2043976,"altitude":20,"angle":148,"satellites":46,"speed":35,"hex_longitude":"2d3818c0","hex_latitude":"06ada7c8","is_valid_coordinates":true} 
[2026-08-25 00:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624762112001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391051283332595712,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4036491932204500992,"note":"Value kept but may cause issues"} 
[2026-08-25 00:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787596736000,"timestamp_ms":1787596736000,"timestamp_seconds":1787596736,"priority":1,"record_length":96,"hex_timestamp":"000001a035118600"} 
[2026-08-25 00:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:10: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-25 00:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-25 00:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624762112001,"66":27310,"185":206,"81":49664,"24":35,"16":391051283332595712,"45":4036491932204500992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-08-25 00:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624762112001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:10:47] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 00:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-25 00:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391051283332595712,"km_value":391051283332595.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4036491932204500992,"description":"Unknown IO ID 45"} 
[2026-08-25 00:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624762112001,"power":27310,"unknown_185":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4036491932204500992}} 
[2026-08-25 00:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":163998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:10:47] local.INFO: GPS data processed {"connection_id":163998,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:10:47] local.INFO: Acknowledgment sent {"connection_id":163998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:11:01] local.INFO: TCP Data received {"connection_id":161629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:11:01] local.INFO: Processing buffer {"connection_id":161629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:11:01] local.INFO: IMEI packet received {"connection_id":161629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":161629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:11:04] local.INFO: TCP Data received {"connection_id":161629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:11:04] local.INFO: Processing buffer {"connection_id":161629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:11:04] local.INFO: IMEI packet received {"connection_id":161629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":161629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:11:06] local.INFO: TCP Data received {"connection_id":161629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:11:06] local.INFO: Processing buffer {"connection_id":161629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:11:06] local.INFO: IMEI packet received {"connection_id":161629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":161629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:11:07] local.INFO: TCP Data received {"connection_id":161629,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03512ddc0012d7bb5c005de05b00000015c1d..."} 
[2026-08-25 00:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03512ddc0012d7bb5c005de05b00000015c1d..."} 
[2026-08-25 00:11:07] local.INFO: Processing buffer {"connection_id":161629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03512ddc0012d7bb5c005de05b00000015c1d..."} 
[2026-08-25 00:11:07] local.INFO: Packet analysis {"connection_id":161629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03512"} 
[2026-08-25 00:11:07] local.INFO: Extracted packet for processing {"connection_id":161629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03512"} 
[2026-08-25 00:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763082176,"raw_latitude":98436528,"longitude_deg":76.3082176,"latitude_deg":9.8436528,"altitude":0,"angle":348,"satellites":29,"speed":55,"hex_longitude":"2d7bb5c0","hex_latitude":"05de05b0","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624785152001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123223109938446336,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916423599949068288,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787596824000,"timestamp_ms":1787596824000,"timestamp_seconds":1787596824,"priority":1,"record_length":96,"hex_timestamp":"000001a03512ddc0"} 
[2026-08-25 00: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-25 00:11:07] 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-25 00: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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287285504,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5349329677804634112,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505479812546560,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630167984189096,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4684007499555471616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-5861434028829507560,"corrected_to":0} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867938,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182118040469760,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3291086848,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2522059771792497384,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194866688,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.WARNING: Large IO value detected {"io_id":176,"raw_value":1538051290368,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:07] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,169,85,24,241,157,16,198,160,167,45,184,25,10,66,197,139,128,146,22,112,64,1,240,37,227,53,221,4,113,205,52,57,220,168,23,239,47,2,181,5,69,176],"length":583,"final_offset":713,"validated_count":43,"validation_warnings":[{"io_id":205,"original":-5861434028829507560,"validated":0}]} 
[2026-08-25 00:11:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":382754604253184,"timestamp_seconds":382754604253.184,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 00: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-25 00:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624785152001,"66":12287,"169":206,"85":15104,"24":55,"16":123223109938446336,"45":8916423599949068288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 00:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624785152001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:11:07] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 00:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123223109938446336,"km_value":123223109938446.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916423599949068288,"description":"Unknown IO ID 45"} 
[2026-08-25 00:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624785152001,"power":12287,"unknown_169":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8916423599949068288}} 
[2026-08-25 00:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":161629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:11:07] local.INFO: GPS data processed {"connection_id":161629,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:11:07] local.INFO: Acknowledgment sent {"connection_id":161629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:11:18] local.INFO: TCP Data received {"connection_id":163998,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03512d208012d389d0006ac29a0001100a42e..."} 
[2026-08-25 00:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03512d208012d389d0006ac29a0001100a42e..."} 
[2026-08-25 00:11:18] local.INFO: Processing buffer {"connection_id":163998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03512d208012d389d0006ac29a0001100a42e..."} 
[2026-08-25 00:11:18] local.INFO: Packet analysis {"connection_id":163998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03512"} 
[2026-08-25 00:11:18] local.INFO: Extracted packet for processing {"connection_id":163998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03512"} 
[2026-08-25 00:11:18] local.INFO: GPS Element Parsed {"raw_longitude":758684928,"raw_latitude":111946144,"longitude_deg":75.8684928,"latitude_deg":11.1946144,"altitude":17,"angle":164,"satellites":46,"speed":47,"hex_longitude":"2d389d00","hex_latitude":"06ac29a0","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624784128001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391056334214135808,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4076531747616942080,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787596821000,"timestamp_ms":1787596821000,"timestamp_seconds":1787596821,"priority":1,"record_length":96,"hex_timestamp":"000001a03512d208"} 
[2026-08-25 00: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-25 00:11: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-25 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 00:11:18] 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-25 00: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-25 00: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-25 00:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624784128001,"66":27245,"164":206,"81":23296,"24":47,"16":391056334214135808,"45":4076531747616942080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-08-25 00:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624784128001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:11:18] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-25 00:11:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391056334214135808,"km_value":391056334214135.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4076531747616942080,"description":"Unknown IO ID 45"} 
[2026-08-25 00:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624784128001,"power":27245,"unknown_164":206,"unknown_81":23296,"ignition":47,"odometer":null,"unknown_45":4076531747616942080}} 
[2026-08-25 00:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":163998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:11:18] local.INFO: GPS data processed {"connection_id":163998,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:11:18] local.INFO: Acknowledgment sent {"connection_id":163998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:11:38] local.INFO: TCP Data received {"connection_id":161629,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03512fd00012d7baec005de28b00000015b1c..."} 
[2026-08-25 00:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03512fd00012d7baec005de28b00000015b1c..."} 
[2026-08-25 00:11:38] local.INFO: Processing buffer {"connection_id":161629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03512fd00012d7baec005de28b00000015b1c..."} 
[2026-08-25 00:11:38] local.INFO: Packet analysis {"connection_id":161629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03512"} 
[2026-08-25 00:11:38] local.INFO: Extracted packet for processing {"connection_id":161629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03512"} 
[2026-08-25 00:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763080384,"raw_latitude":98445488,"longitude_deg":76.3080384,"latitude_deg":9.8445488,"altitude":0,"angle":347,"satellites":28,"speed":33,"hex_longitude":"2d7baec0","hex_latitude":"05de28b0","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624786944001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123223552320077824,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914242168882049024,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787596832000,"timestamp_ms":1787596832000,"timestamp_seconds":1787596832,"priority":1,"record_length":96,"hex_timestamp":"000001a03512fd00"} 
[2026-08-25 00: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-25 00:11:38] 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-25 00: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 00:11: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-25 00: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-25 00: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-25 00:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624786944001,"66":11526,"169":206,"85":15104,"24":33,"16":123223552320077824,"45":8914242168882049024},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 00:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624786944001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:11:38] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 00:11:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123223552320077824,"km_value":123223552320077.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914242168882049024,"description":"Unknown IO ID 45"} 
[2026-08-25 00:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624786944001,"power":11526,"unknown_169":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8914242168882049024}} 
[2026-08-25 00:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":161629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:11:38] local.INFO: GPS data processed {"connection_id":161629,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:11:38] local.INFO: Acknowledgment sent {"connection_id":161629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:11:38] local.INFO: TCP Data received {"connection_id":163999,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:11:38] local.INFO: Processing buffer {"connection_id":163999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:11:38] local.INFO: IMEI packet received {"connection_id":163999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":163999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:11:42] local.INFO: TCP Data received {"connection_id":163999,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:11:42] local.INFO: Processing buffer {"connection_id":163999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:11:42] local.INFO: IMEI packet received {"connection_id":163999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":163999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:11:47] local.INFO: TCP Data received {"connection_id":163999,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:11:47] local.INFO: Processing buffer {"connection_id":163999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:11:47] local.INFO: IMEI packet received {"connection_id":163999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":163999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:11:48] local.INFO: TCP Data received {"connection_id":163999,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03512f148012d38a70006ac0450001100a42d..."} 
[2026-08-25 00:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03512f148012d38a70006ac0450001100a42d..."} 
[2026-08-25 00:11:48] local.INFO: Processing buffer {"connection_id":163999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03512f148012d38a70006ac0450001100a42d..."} 
[2026-08-25 00:11:48] local.INFO: Packet analysis {"connection_id":163999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03512"} 
[2026-08-25 00:11:48] local.INFO: Extracted packet for processing {"connection_id":163999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03512"} 
[2026-08-25 00:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758687488,"raw_latitude":111936592,"longitude_deg":75.8687488,"latitude_deg":11.1936592,"altitude":17,"angle":164,"satellites":45,"speed":50,"hex_longitude":"2d38a700","hex_latitude":"06ac0450","is_valid_coordinates":true} 
[2026-08-25 00:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624786176001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391056815250472960,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4079416866125750272,"note":"Value kept but may cause issues"} 
[2026-08-25 00:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787596829000,"timestamp_ms":1787596829000,"timestamp_seconds":1787596829,"priority":1,"record_length":96,"hex_timestamp":"000001a03512f148"} 
[2026-08-25 00:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:11: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-25 00:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:11:48] 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-25 00:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624786176001,"66":27332,"164":206,"81":23296,"24":50,"16":391056815250472960,"45":4079416866125750272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-08-25 00:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624786176001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:11:48] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-25 00:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391056815250472960,"km_value":391056815250472.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4079416866125750272,"description":"Unknown IO ID 45"} 
[2026-08-25 00:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624786176001,"power":27332,"unknown_164":206,"unknown_81":23296,"ignition":50,"odometer":null,"unknown_45":4079416866125750272}} 
[2026-08-25 00:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":163999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:11:48] local.INFO: GPS data processed {"connection_id":163999,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:11:48] local.INFO: Acknowledgment sent {"connection_id":163999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:12:01] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:12:01] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:12:01] local.INFO: IMEI packet received {"connection_id":161630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":161630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:12:06] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:12:06] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:12:06] local.INFO: IMEI packet received {"connection_id":161630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":161630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:12:07] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035132028012d7ba78005de4bb00000015b1c..."} 
[2026-08-25 00:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035132028012d7ba78005de4bb00000015b1c..."} 
[2026-08-25 00:12:07] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035132028012d7ba78005de4bb00000015b1c..."} 
[2026-08-25 00:12:07] local.INFO: Packet analysis {"connection_id":161630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03513"} 
[2026-08-25 00:12:07] local.INFO: Extracted packet for processing {"connection_id":161630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03513"} 
[2026-08-25 00:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763078528,"raw_latitude":98454448,"longitude_deg":76.3078528,"latitude_deg":9.8454448,"altitude":0,"angle":347,"satellites":28,"speed":47,"hex_longitude":"2d7ba780","hex_latitude":"05de4bb0","is_valid_coordinates":true} 
[2026-08-25 00:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624788992001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123223994701709312,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912271844047368192,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787596841000,"timestamp_ms":1787596841000,"timestamp_seconds":1787596841,"priority":1,"record_length":96,"hex_timestamp":"000001a035132028"} 
[2026-08-25 00:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:12:07] 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-25 00:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-08-25 00:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3625774829059884288,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3824212526458829784,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:07] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2451046400,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:07] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3774873600,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-08-25 00:12:07] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3305177088,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":14636698789609476,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,169,85,24,241,157,16,199,160,221,45,192,5,29,10,66,198,194,128,223,167,1,240,98,227,197,53,4,113,205,56,112,210,72,20,239,47,2,181,22],"length":483,"final_offset":613,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-08-25 00:12:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":381650796085248,"timestamp_seconds":381650796085.248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 00:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624788992001,"66":11189,"169":206,"85":15104,"24":47,"16":123223994701709312,"45":8912271844047368192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 00:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624788992001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:12:07] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 00:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123223994701709312,"km_value":123223994701709.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912271844047368192,"description":"Unknown IO ID 45"} 
[2026-08-25 00:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624788992001,"power":11189,"unknown_169":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8912271844047368192}} 
[2026-08-25 00:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":161630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:12:07] local.INFO: GPS data processed {"connection_id":161630,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:12:07] local.INFO: Acknowledgment sent {"connection_id":161630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:12:24] local.INFO: TCP Data received {"connection_id":163999,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035131088012d38b14006abde98001200a52b..."} 
[2026-08-25 00:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035131088012d38b14006abde98001200a52b..."} 
[2026-08-25 00:12:24] local.INFO: Processing buffer {"connection_id":163999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035131088012d38b14006abde98001200a52b..."} 
[2026-08-25 00:12:24] local.INFO: Packet analysis {"connection_id":163999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03513"} 
[2026-08-25 00:12:24] local.INFO: Extracted packet for processing {"connection_id":163999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03513"} 
[2026-08-25 00:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758690112,"raw_latitude":111926936,"longitude_deg":75.8690112,"latitude_deg":11.1926936,"altitude":18,"angle":165,"satellites":43,"speed":47,"hex_longitude":"2d38b140","hex_latitude":"06abde98","is_valid_coordinates":true} 
[2026-08-25 00:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624788224001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391057296286810112,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4082231615890411520,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787596837000,"timestamp_ms":1787596837000,"timestamp_seconds":1787596837,"priority":1,"record_length":96,"hex_timestamp":"000001a035131088"} 
[2026-08-25 00:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-25 00:12: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-25 00:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624788224001,"66":27245,"164":206,"81":23296,"24":47,"16":391057296286810112,"45":4082231615890411520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-08-25 00:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624788224001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:12:24] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-25 00:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391057296286810112,"km_value":391057296286810.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4082231615890411520,"description":"Unknown IO ID 45"} 
[2026-08-25 00:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624788224001,"power":27245,"unknown_164":206,"unknown_81":23296,"ignition":47,"odometer":null,"unknown_45":4082231615890411520}} 
[2026-08-25 00:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":163999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:12:24] local.INFO: GPS data processed {"connection_id":163999,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:12:24] local.INFO: Acknowledgment sent {"connection_id":163999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:12:38] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035149ef8012d7b6e4005e051b0000001611f..."} 
[2026-08-25 00:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035149ef8012d7b6e4005e051b0000001611f..."} 
[2026-08-25 00:12:38] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035149ef8012d7b6e4005e051b0000001611f..."} 
[2026-08-25 00:12:38] local.INFO: Packet analysis {"connection_id":161630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:12:38] local.INFO: Extracted packet for processing {"connection_id":161630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763063872,"raw_latitude":98587056,"longitude_deg":76.3063872,"latitude_deg":9.8587056,"altitude":0,"angle":353,"satellites":31,"speed":55,"hex_longitude":"2d7b6e40","hex_latitude":"05e051b0","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624814592001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123230467217424384,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895312976734332928,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:38] 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-25 00:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787596939000,"timestamp_ms":1787596939000,"timestamp_seconds":1787596939,"priority":1,"record_length":96,"hex_timestamp":"000001a035149ef8"} 
[2026-08-25 00: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-25 00:12: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-25 00: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 00:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624814592001,"66":12135,"103":206,"85":15104,"24":55,"16":123230467217424384,"45":8895312976734332928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-25 00:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624814592001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:12:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 00:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123230467217424384,"km_value":123230467217424.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895312976734332928,"description":"Unknown IO ID 45"} 
[2026-08-25 00:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624814592001,"power":12135,"unknown_103":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8895312976734332928}} 
[2026-08-25 00:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":161630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:12:38] local.INFO: GPS data processed {"connection_id":161630,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:12:38] local.INFO: Acknowledgment sent {"connection_id":161630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:12:47] local.INFO: TCP Data received {"connection_id":164000,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:12:47] local.INFO: Processing buffer {"connection_id":164000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:12:47] local.INFO: IMEI packet received {"connection_id":164000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":164000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:12:48] local.INFO: TCP Data received {"connection_id":164000,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:12:48] local.INFO: Processing buffer {"connection_id":164000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:12:48] local.INFO: IMEI packet received {"connection_id":164000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":164000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:12:52] local.INFO: TCP Data received {"connection_id":164000,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:12:52] local.INFO: Processing buffer {"connection_id":164000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:12:52] local.INFO: IMEI packet received {"connection_id":164000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":164000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:12:53] local.INFO: TCP Data received {"connection_id":164000,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035143d50012d391c8006aa4cb0001000a52e..."} 
[2026-08-25 00:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035143d50012d391c8006aa4cb0001000a52e..."} 
[2026-08-25 00:12:53] local.INFO: Processing buffer {"connection_id":164000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035143d50012d391c8006aa4cb0001000a52e..."} 
[2026-08-25 00:12:53] local.INFO: Packet analysis {"connection_id":164000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:12:53] local.INFO: Extracted packet for processing {"connection_id":164000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758717568,"raw_latitude":111824048,"longitude_deg":75.8717568,"latitude_deg":11.1824048,"altitude":16,"angle":165,"satellites":46,"speed":57,"hex_longitude":"2d391c80","hex_latitude":"06aa4cb0","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624808192001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391062454542532608,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4112490175860525056,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787596914000,"timestamp_ms":1787596914000,"timestamp_seconds":1787596914,"priority":1,"record_length":96,"hex_timestamp":"000001a035143d50"} 
[2026-08-25 00: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-25 00: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-25 00: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":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-25 00:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624808192001,"66":27245,"237":206,"81":49664,"24":57,"16":391062454542532608,"45":4112490175860525056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-08-25 00:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624808192001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:12:53] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-25 00:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-25 00:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391062454542532608,"km_value":391062454542532.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4112490175860525056,"description":"Unknown IO ID 45"} 
[2026-08-25 00:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624808192001,"power":27245,"unknown_237":206,"unknown_81":49664,"ignition":57,"odometer":null,"unknown_45":4112490175860525056}} 
[2026-08-25 00:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":164000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:12:53] local.INFO: GPS data processed {"connection_id":164000,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:12:53] local.INFO: Acknowledgment sent {"connection_id":164000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:12:58] local.INFO: TCP Data received {"connection_id":164000,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0351458a8012d39264006aa2828001000a42d..."} 
[2026-08-25 00:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351458a8012d39264006aa2828001000a42d..."} 
[2026-08-25 00:12:58] local.INFO: Processing buffer {"connection_id":164000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351458a8012d39264006aa2828001000a42d..."} 
[2026-08-25 00:12:58] local.INFO: Packet analysis {"connection_id":164000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:12:58] local.INFO: Extracted packet for processing {"connection_id":164000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:12:58] local.INFO: GPS Element Parsed {"raw_longitude":758720064,"raw_latitude":111814696,"longitude_deg":75.8720064,"latitude_deg":11.1814696,"altitude":16,"angle":164,"satellites":45,"speed":53,"hex_longitude":"2d392640","hex_latitude":"06aa2828","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624809984001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391062922693967872,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4115304925625102336,"note":"Value kept but may cause issues"} 
[2026-08-25 00:12:58] 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-25 00:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787596921000,"timestamp_ms":1787596921000,"timestamp_seconds":1787596921,"priority":1,"record_length":96,"hex_timestamp":"000001a0351458a8"} 
[2026-08-25 00: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-25 00:12: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-25 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:12: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-25 00: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-25 00: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-25 00:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624809984001,"66":27332,"44":206,"81":23296,"24":53,"16":391062922693967872,"45":4115304925625102336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-25 00:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624809984001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:12:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-25 00:12:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391062922693967872,"km_value":391062922693967.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4115304925625102336,"description":"Unknown IO ID 45"} 
[2026-08-25 00:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624809984001,"power":27332,"unknown_44":206,"unknown_81":23296,"ignition":53,"odometer":null,"unknown_45":4115304925625102336}} 
[2026-08-25 00:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":164000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:12:58] local.INFO: GPS data processed {"connection_id":164000,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:12:58] local.INFO: Acknowledgment sent {"connection_id":164000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:13:01] local.INFO: TCP Data received {"connection_id":161367,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:13:01] local.INFO: Processing buffer {"connection_id":161367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:13:01] local.INFO: IMEI packet received {"connection_id":161367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":161367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:13:01] local.INFO: TCP Data received {"connection_id":164000,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035147400012d39304006aa0688001100a32e..."} 
[2026-08-25 00:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035147400012d39304006aa0688001100a32e..."} 
[2026-08-25 00:13:01] local.INFO: Processing buffer {"connection_id":164000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035147400012d39304006aa0688001100a32e..."} 
[2026-08-25 00:13:01] local.INFO: Packet analysis {"connection_id":164000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:13:01] local.INFO: Extracted packet for processing {"connection_id":164000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:13:01] local.INFO: GPS Element Parsed {"raw_longitude":758722624,"raw_latitude":111806088,"longitude_deg":75.8722624,"latitude_deg":11.1806088,"altitude":17,"angle":163,"satellites":46,"speed":44,"hex_longitude":"2d393040","hex_latitude":"06aa0688","is_valid_coordinates":true} 
[2026-08-25 00:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624811776001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391063356485664768,"note":"Value kept but may cause issues"} 
[2026-08-25 00:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4118049306645637120,"note":"Value kept but may cause issues"} 
[2026-08-25 00:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787596928000,"timestamp_ms":1787596928000,"timestamp_seconds":1787596928,"priority":1,"record_length":96,"hex_timestamp":"000001a035147400"} 
[2026-08-25 00:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:13: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-25 00:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-25 00:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":164000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":164000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":164000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624811776001,"66":27310,"44":206,"81":23296,"24":44,"16":391063356485664768,"45":4118049306645637120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-25 00:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624811776001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:13:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-25 00:13:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391063356485664768,"km_value":391063356485664.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4118049306645637120,"description":"Unknown IO ID 45"} 
[2026-08-25 00:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624811776001,"power":27310,"unknown_44":206,"unknown_81":23296,"ignition":44,"odometer":null,"unknown_45":4118049306645637120}} 
[2026-08-25 00:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":164000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:13:01] local.INFO: GPS data processed {"connection_id":164000,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:13:01] local.INFO: Acknowledgment sent {"connection_id":164000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:13:06] local.INFO: TCP Data received {"connection_id":161367,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:13:06] local.INFO: Processing buffer {"connection_id":161367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:13:06] local.INFO: IMEI packet received {"connection_id":161367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":161367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:13:07] local.INFO: TCP Data received {"connection_id":161367,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03514ba50012d7b694005e07598000001601f..."} 
[2026-08-25 00:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03514ba50012d7b694005e07598000001601f..."} 
[2026-08-25 00:13:07] local.INFO: Processing buffer {"connection_id":161367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03514ba50012d7b694005e07598000001601f..."} 
[2026-08-25 00:13:07] local.INFO: Packet analysis {"connection_id":161367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:13:07] local.INFO: Extracted packet for processing {"connection_id":161367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763062592,"raw_latitude":98596248,"longitude_deg":76.3062592,"latitude_deg":9.8596248,"altitude":0,"angle":352,"satellites":31,"speed":50,"hex_longitude":"2d7b6940","hex_latitude":"05e07598","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624816384001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123230918188990464,"note":"Value kept but may cause issues"} 
[2026-08-25 00:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894116708085772288,"note":"Value kept but may cause issues"} 
[2026-08-25 00:13:07] 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-25 00:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787596946000,"timestamp_ms":1787596946000,"timestamp_seconds":1787596946,"priority":1,"record_length":96,"hex_timestamp":"000001a03514ba50"} 
[2026-08-25 00: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-25 00:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00: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":103,"data_length":795,"current_offset":136} 
[2026-08-25 00:13:07] 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-25 00: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-25 00: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-25 00:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624816384001,"66":12069,"103":206,"85":15104,"24":50,"16":123230918188990464,"45":8894116708085772288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-25 00:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624816384001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:13:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 00:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123230918188990464,"km_value":123230918188990.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894116708085772288,"description":"Unknown IO ID 45"} 
[2026-08-25 00:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624816384001,"power":12069,"unknown_103":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8894116708085772288}} 
[2026-08-25 00:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":161367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:13:07] local.INFO: GPS data processed {"connection_id":161367,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:13:07] local.INFO: Acknowledgment sent {"connection_id":161367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:13:38] local.INFO: TCP Data received {"connection_id":161367,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03514d990012d7b640005e098200000015e1c..."} 
[2026-08-25 00:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03514d990012d7b640005e098200000015e1c..."} 
[2026-08-25 00:13:38] local.INFO: Processing buffer {"connection_id":161367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03514d990012d7b640005e098200000015e1c..."} 
[2026-08-25 00:13:38] local.INFO: Packet analysis {"connection_id":161367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:13:38] local.INFO: Extracted packet for processing {"connection_id":161367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763061248,"raw_latitude":98605088,"longitude_deg":76.3061248,"latitude_deg":9.8605088,"altitude":0,"angle":350,"satellites":28,"speed":41,"hex_longitude":"2d7b6400","hex_latitude":"05e09820","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624818176001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123231351980687360,"note":"Value kept but may cause issues"} 
[2026-08-25 00:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892709333204572160,"note":"Value kept but may cause issues"} 
[2026-08-25 00:13:38] 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-25 00:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787596954000,"timestamp_ms":1787596954000,"timestamp_seconds":1787596954,"priority":1,"record_length":96,"hex_timestamp":"000001a03514d990"} 
[2026-08-25 00: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-25 00:13: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-25 00: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":37,"data_length":795,"current_offset":136} 
[2026-08-25 00:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624818176001,"66":12232,"103":206,"85":15104,"24":41,"16":123231351980687360,"45":8892709333204572160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-25 00:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624818176001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:13:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 00:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123231351980687360,"km_value":123231351980687.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892709333204572160,"description":"Unknown IO ID 45"} 
[2026-08-25 00:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624818176001,"power":12232,"unknown_103":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8892709333204572160}} 
[2026-08-25 00:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":161367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:13:38] local.INFO: GPS data processed {"connection_id":161367,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:13:38] local.INFO: Acknowledgment sent {"connection_id":161367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:13:42] local.INFO: TCP Data received {"connection_id":161631,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:13:42] local.INFO: Processing buffer {"connection_id":161631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:13:42] local.INFO: IMEI packet received {"connection_id":161631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":161631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:13:44] local.INFO: TCP Data received {"connection_id":161631,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:13:44] local.INFO: Processing buffer {"connection_id":161631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:13:44] local.INFO: IMEI packet received {"connection_id":161631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":161631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:13:47] local.INFO: TCP Data received {"connection_id":161631,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03514aab0012d393c0006a9e530001100a62c..."} 
[2026-08-25 00:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03514aab0012d393c0006a9e530001100a62c..."} 
[2026-08-25 00:13:47] local.INFO: Processing buffer {"connection_id":161631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03514aab0012d393c0006a9e530001100a62c..."} 
[2026-08-25 00:13:47] local.INFO: Packet analysis {"connection_id":161631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:13:47] local.INFO: Extracted packet for processing {"connection_id":161631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758725632,"raw_latitude":111797552,"longitude_deg":75.8725632,"latitude_deg":11.1797552,"altitude":17,"angle":166,"satellites":44,"speed":30,"hex_longitude":"2d393c00","hex_latitude":"06a9e530","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624813568001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391063798867296256,"note":"Value kept but may cause issues"} 
[2026-08-25 00:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4120864056410540032,"note":"Value kept but may cause issues"} 
[2026-08-25 00:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787596942000,"timestamp_ms":1787596942000,"timestamp_seconds":1787596942,"priority":1,"record_length":96,"hex_timestamp":"000001a03514aab0"} 
[2026-08-25 00: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-25 00: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-25 00: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-25 00:13:47] 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-25 00: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-25 00: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-25 00:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624813568001,"66":27234,"91":206,"81":23296,"24":30,"16":391063798867296256,"45":4120864056410540032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-08-25 00:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624813568001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:13:47] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-25 00:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391063798867296256,"km_value":391063798867296.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4120864056410540032,"description":"Unknown IO ID 45"} 
[2026-08-25 00:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624813568001,"power":27234,"unknown_91":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":4120864056410540032}} 
[2026-08-25 00:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":161631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:13:47] local.INFO: GPS data processed {"connection_id":161631,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:13:47] local.INFO: Acknowledgment sent {"connection_id":161631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:14:06] local.INFO: TCP Data received {"connection_id":162611,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:14:06] local.INFO: Processing buffer {"connection_id":162611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:14:06] local.INFO: IMEI packet received {"connection_id":162611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":162611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:14:11] local.INFO: TCP Data received {"connection_id":162611,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:14:11] local.INFO: Processing buffer {"connection_id":162611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:14:11] local.INFO: IMEI packet received {"connection_id":162611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":162611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:14:12] local.INFO: TCP Data received {"connection_id":162611,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a035150488012d7b5e0005e0bcb80002015e1c..."} 
[2026-08-25 00:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035150488012d7b5e0005e0bcb80002015e1c..."} 
[2026-08-25 00:14:12] local.INFO: Processing buffer {"connection_id":162611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035150488012d7b5e0005e0bcb80002015e1c..."} 
[2026-08-25 00:14:12] local.INFO: Packet analysis {"connection_id":162611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03515"} 
[2026-08-25 00:14:12] local.INFO: Extracted packet for processing {"connection_id":162611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03515"} 
[2026-08-25 00:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763059712,"raw_latitude":98614456,"longitude_deg":76.3059712,"latitude_deg":9.8614456,"altitude":2,"angle":350,"satellites":28,"speed":33,"hex_longitude":"2d7b5e00","hex_latitude":"05e0bcb8","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624820224001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123231811542188032,"note":"Value kept but may cause issues"} 
[2026-08-25 00:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891231589579104256,"note":"Value kept but may cause issues"} 
[2026-08-25 00:14:12] 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-25 00:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787596965000,"timestamp_ms":1787596965000,"timestamp_seconds":1787596965,"priority":1,"record_length":96,"hex_timestamp":"000001a035150488"} 
[2026-08-25 00: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-25 00:14: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-25 00:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 00:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624820224001,"66":12287,"103":206,"85":15104,"24":33,"16":123231811542188032,"45":8891231589579104256},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-25 00:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624820224001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:14:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 00:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123231811542188032,"km_value":123231811542188.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891231589579104256,"description":"Unknown IO ID 45"} 
[2026-08-25 00:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624820224001,"power":12287,"unknown_103":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8891231589579104256}} 
[2026-08-25 00:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":162611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:14:12] local.INFO: GPS data processed {"connection_id":162611,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:14:12] local.INFO: Acknowledgment sent {"connection_id":162611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:14:18] local.INFO: TCP Data received {"connection_id":161631,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03514d5a8012d39464006a9c080001200a42a..."} 
[2026-08-25 00:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03514d5a8012d39464006a9c080001200a42a..."} 
[2026-08-25 00:14:18] local.INFO: Processing buffer {"connection_id":161631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03514d5a8012d39464006a9c080001200a42a..."} 
[2026-08-25 00:14:18] local.INFO: Packet analysis {"connection_id":161631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:14:18] local.INFO: Extracted packet for processing {"connection_id":161631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03514"} 
[2026-08-25 00:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758728256,"raw_latitude":111788160,"longitude_deg":75.8728256,"latitude_deg":11.178816,"altitude":18,"angle":164,"satellites":42,"speed":36,"hex_longitude":"2d394640","hex_latitude":"06a9c080","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624817152001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391064271313698816,"note":"Value kept but may cause issues"} 
[2026-08-25 00:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4124171387384705024,"note":"Value kept but may cause issues"} 
[2026-08-25 00:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787596953000,"timestamp_ms":1787596953000,"timestamp_seconds":1787596953,"priority":1,"record_length":96,"hex_timestamp":"000001a03514d5a8"} 
[2026-08-25 00: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-25 00:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-25 00:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624817152001,"66":27267,"91":206,"81":23296,"24":36,"16":391064271313698816,"45":4124171387384705024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-08-25 00:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624817152001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:14:18] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-25 00:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391064271313698816,"km_value":391064271313698.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4124171387384705024,"description":"Unknown IO ID 45"} 
[2026-08-25 00:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624817152001,"power":27267,"unknown_91":206,"unknown_81":23296,"ignition":36,"odometer":null,"unknown_45":4124171387384705024}} 
[2026-08-25 00:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":161631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:14:18] local.INFO: GPS data processed {"connection_id":161631,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:14:18] local.INFO: Acknowledgment sent {"connection_id":161631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:14:40] local.INFO: TCP Data received {"connection_id":164001,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:14:40] local.INFO: Processing buffer {"connection_id":164001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:14:40] local.INFO: IMEI packet received {"connection_id":164001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":164001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:14:41] local.INFO: TCP Data received {"connection_id":164001,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:14:41] local.INFO: Processing buffer {"connection_id":164001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:14:41] local.INFO: IMEI packet received {"connection_id":164001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":164001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:14:43] local.INFO: TCP Data received {"connection_id":162611,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a035152f80012d7b57c005e0e0d00002015e1c..."} 
[2026-08-25 00:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035152f80012d7b57c005e0e0d00002015e1c..."} 
[2026-08-25 00:14:43] local.INFO: Processing buffer {"connection_id":162611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035152f80012d7b57c005e0e0d00002015e1c..."} 
[2026-08-25 00:14:43] local.INFO: Packet analysis {"connection_id":162611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03515"} 
[2026-08-25 00:14:43] local.INFO: Extracted packet for processing {"connection_id":162611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03515"} 
[2026-08-25 00:14:43] local.INFO: GPS Element Parsed {"raw_longitude":763058112,"raw_latitude":98623696,"longitude_deg":76.3058112,"latitude_deg":9.8623696,"altitude":2,"angle":350,"satellites":28,"speed":34,"hex_longitude":"2d7b57c0","hex_latitude":"05e0e0d0","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624823040001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123232266808721408,"note":"Value kept but may cause issues"} 
[2026-08-25 00:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889542739721238528,"note":"Value kept but may cause issues"} 
[2026-08-25 00:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787596976000,"timestamp_ms":1787596976000,"timestamp_seconds":1787596976,"priority":1,"record_length":96,"hex_timestamp":"000001a035152f80"} 
[2026-08-25 00: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-25 00:14: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-25 00:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 00:14: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-25 00: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-25 00: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-25 00:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624823040001,"66":12232,"217":206,"85":15104,"24":34,"16":123232266808721408,"45":8889542739721238528},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 00:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624823040001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:14:43] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 00:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123232266808721408,"km_value":123232266808721.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889542739721238528,"description":"Unknown IO ID 45"} 
[2026-08-25 00:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624823040001,"power":12232,"unknown_217":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8889542739721238528}} 
[2026-08-25 00:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":162611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:14:43] local.INFO: GPS data processed {"connection_id":162611,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:14:43] local.INFO: Acknowledgment sent {"connection_id":162611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:14:47] local.INFO: TCP Data received {"connection_id":164001,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:14:47] local.INFO: Processing buffer {"connection_id":164001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:14:47] local.INFO: IMEI packet received {"connection_id":164001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":164001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:14:47] local.INFO: TCP Data received {"connection_id":164001,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0351500a0012d39508006a99c40001100a42b..."} 
[2026-08-25 00:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351500a0012d39508006a99c40001100a42b..."} 
[2026-08-25 00:14:47] local.INFO: Processing buffer {"connection_id":164001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351500a0012d39508006a99c40001100a42b..."} 
[2026-08-25 00:14:47] local.INFO: Packet analysis {"connection_id":164001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03515"} 
[2026-08-25 00:14:47] local.INFO: Extracted packet for processing {"connection_id":164001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03515"} 
[2026-08-25 00:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758730880,"raw_latitude":111778880,"longitude_deg":75.873088,"latitude_deg":11.177888,"altitude":17,"angle":164,"satellites":43,"speed":35,"hex_longitude":"2d395080","hex_latitude":"06a99c40","is_valid_coordinates":true} 
[2026-08-25 00:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624819968001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391064739465134080,"note":"Value kept but may cause issues"} 
[2026-08-25 00:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4127056505893584896,"note":"Value kept but may cause issues"} 
[2026-08-25 00:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787596964000,"timestamp_ms":1787596964000,"timestamp_seconds":1787596964,"priority":1,"record_length":96,"hex_timestamp":"000001a0351500a0"} 
[2026-08-25 00:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:14: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-25 00:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 00:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624819968001,"66":27245,"91":206,"81":23296,"24":35,"16":391064739465134080,"45":4127056505893584896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-08-25 00:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624819968001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:14:47] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-25 00:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391064739465134080,"km_value":391064739465134.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4127056505893584896,"description":"Unknown IO ID 45"} 
[2026-08-25 00:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624819968001,"power":27245,"unknown_91":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":4127056505893584896}} 
[2026-08-25 00:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":164001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:14:47] local.INFO: GPS data processed {"connection_id":164001,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:14:47] local.INFO: Acknowledgment sent {"connection_id":164001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:15:01] local.INFO: TCP Data received {"connection_id":162612,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:15:01] local.INFO: Processing buffer {"connection_id":162612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:15:01] local.INFO: IMEI packet received {"connection_id":162612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":162612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:15:06] local.INFO: TCP Data received {"connection_id":162612,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:15:06] local.INFO: Processing buffer {"connection_id":162612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:15:06] local.INFO: IMEI packet received {"connection_id":162612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":162612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:15:07] local.INFO: TCP Data received {"connection_id":162612,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035155a78012d7b518005e104300002015d1c..."} 
[2026-08-25 00:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035155a78012d7b518005e104300002015d1c..."} 
[2026-08-25 00:15:07] local.INFO: Processing buffer {"connection_id":162612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035155a78012d7b518005e104300002015d1c..."} 
[2026-08-25 00:15:07] local.INFO: Packet analysis {"connection_id":162612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03515"} 
[2026-08-25 00:15:07] local.INFO: Extracted packet for processing {"connection_id":162612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03515"} 
[2026-08-25 00:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98632752,"longitude_deg":76.3056512,"latitude_deg":9.8632752,"altitude":2,"angle":349,"satellites":28,"speed":33,"hex_longitude":"2d7b5180","hex_latitude":"05e10430","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624825856001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123232713485320192,"note":"Value kept but may cause issues"} 
[2026-08-25 00:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887783521119162368,"note":"Value kept but may cause issues"} 
[2026-08-25 00:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787596987000,"timestamp_ms":1787596987000,"timestamp_seconds":1787596987,"priority":1,"record_length":96,"hex_timestamp":"000001a035155a78"} 
[2026-08-25 00: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-25 00:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 00:15:07] 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-25 00: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-25 00: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-25 00:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624825856001,"66":12069,"217":206,"85":15104,"24":33,"16":123232713485320192,"45":8887783521119162368},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 00:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624825856001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:15:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 00:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123232713485320192,"km_value":123232713485320.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887783521119162368,"description":"Unknown IO ID 45"} 
[2026-08-25 00:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624825856001,"power":12069,"unknown_217":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8887783521119162368}} 
[2026-08-25 00:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":162612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:15:07] local.INFO: GPS data processed {"connection_id":162612,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:15:07] local.INFO: Acknowledgment sent {"connection_id":162612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:15:19] local.INFO: TCP Data received {"connection_id":164001,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035166be8012d38d0c006a975980014011828..."} 
[2026-08-25 00:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035166be8012d38d0c006a975980014011828..."} 
[2026-08-25 00:15:19] local.INFO: Processing buffer {"connection_id":164001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035166be8012d38d0c006a975980014011828..."} 
[2026-08-25 00:15:19] local.INFO: Packet analysis {"connection_id":164001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03516"} 
[2026-08-25 00:15:19] local.INFO: Extracted packet for processing {"connection_id":164001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03516"} 
[2026-08-25 00:15:19] local.INFO: GPS Element Parsed {"raw_longitude":758698176,"raw_latitude":111768984,"longitude_deg":75.8698176,"latitude_deg":11.1768984,"altitude":20,"angle":280,"satellites":40,"speed":31,"hex_longitude":"2d38d0c0","hex_latitude":"06a97598","is_valid_coordinates":true} 
[2026-08-25 00:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624845312001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391067565553614848,"note":"Value kept but may cause issues"} 
[2026-08-25 00:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4097853477054687232,"note":"Value kept but may cause issues"} 
[2026-08-25 00:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787597057000,"timestamp_ms":1787597057000,"timestamp_seconds":1787597057,"priority":1,"record_length":96,"hex_timestamp":"000001a035166be8"} 
[2026-08-25 00:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:15:19] 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-25 00:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624845312001,"66":27234,"46":206,"81":23296,"24":31,"16":391067565553614848,"45":4097853477054687232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-25 00:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624845312001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:15:19] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-25 00:15:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391067565553614848,"km_value":391067565553614.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4097853477054687232,"description":"Unknown IO ID 45"} 
[2026-08-25 00:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624845312001,"power":27234,"unknown_46":206,"unknown_81":23296,"ignition":31,"odometer":null,"unknown_45":4097853477054687232}} 
[2026-08-25 00:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":164001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:15:19] local.INFO: GPS data processed {"connection_id":164001,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:15:19] local.INFO: Acknowledgment sent {"connection_id":164001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:15:40] local.INFO: TCP Data received {"connection_id":162612,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035158958012d7b4bc005e126d80000015d1c..."} 
[2026-08-25 00:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035158958012d7b4bc005e126d80000015d1c..."} 
[2026-08-25 00:15:40] local.INFO: Processing buffer {"connection_id":162612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035158958012d7b4bc005e126d80000015d1c..."} 
[2026-08-25 00:15:40] local.INFO: Packet analysis {"connection_id":162612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03515"} 
[2026-08-25 00:15:40] local.INFO: Extracted packet for processing {"connection_id":162612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03515"} 
[2026-08-25 00:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763055040,"raw_latitude":98641624,"longitude_deg":76.305504,"latitude_deg":9.8641624,"altitude":0,"angle":349,"satellites":28,"speed":25,"hex_longitude":"2d7b4bc0","hex_latitude":"05e126d8","is_valid_coordinates":true} 
[2026-08-25 00:15: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-25 00:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624828672001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123233147277017088,"note":"Value kept but may cause issues"} 
[2026-08-25 00:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302517039104,"note":"Value kept but may cause issues"} 
[2026-08-25 00:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787596999000,"timestamp_ms":1787596999000,"timestamp_seconds":1787596999,"priority":1,"record_length":96,"hex_timestamp":"000001a035158958"} 
[2026-08-25 00:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:15:40] 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-25 00:15: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":37,"data_length":795,"current_offset":136} 
[2026-08-25 00:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:15: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-25 00:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":162612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":162612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":162612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624828672001,"66":11461,"217":206,"85":15104,"24":25,"16":123233147277017088,"45":8886024302517039104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 00:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624828672001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:15:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 00:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123233147277017088,"km_value":123233147277017.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302517039104,"description":"Unknown IO ID 45"} 
[2026-08-25 00:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624828672001,"power":11461,"unknown_217":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8886024302517039104}} 
[2026-08-25 00:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":162612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:15:40] local.INFO: GPS data processed {"connection_id":162612,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:15:40] local.INFO: Acknowledgment sent {"connection_id":162612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:15:41] local.INFO: TCP Data received {"connection_id":161368,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:15:41] local.INFO: Processing buffer {"connection_id":161368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:15:41] local.INFO: IMEI packet received {"connection_id":161368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":161368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:15:42] local.INFO: TCP Data received {"connection_id":161368,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:15:42] local.INFO: Processing buffer {"connection_id":161368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:15:42] local.INFO: IMEI packet received {"connection_id":161368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":161368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:15:47] local.INFO: TCP Data received {"connection_id":161368,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:15:47] local.INFO: Processing buffer {"connection_id":161368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:15:47] local.INFO: IMEI packet received {"connection_id":161368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":161368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:15:48] local.INFO: TCP Data received {"connection_id":161368,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0351692f8012d38ae4006a97e680013011d2a..."} 
[2026-08-25 00:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351692f8012d38ae4006a97e680013011d2a..."} 
[2026-08-25 00:15:48] local.INFO: Processing buffer {"connection_id":161368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351692f8012d38ae4006a97e680013011d2a..."} 
[2026-08-25 00:15:48] local.INFO: Packet analysis {"connection_id":161368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03516"} 
[2026-08-25 00:15:48] local.INFO: Extracted packet for processing {"connection_id":161368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03516"} 
[2026-08-25 00:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758689344,"raw_latitude":111771240,"longitude_deg":75.8689344,"latitude_deg":11.177124,"altitude":19,"angle":285,"satellites":42,"speed":36,"hex_longitude":"2d38ae40","hex_latitude":"06a97e68","is_valid_coordinates":true} 
[2026-08-25 00:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624846592001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391068003640279040,"note":"Value kept but may cause issues"} 
[2026-08-25 00:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4093983196125173760,"note":"Value kept but may cause issues"} 
[2026-08-25 00:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787597067000,"timestamp_ms":1787597067000,"timestamp_seconds":1787597067,"priority":1,"record_length":96,"hex_timestamp":"000001a0351692f8"} 
[2026-08-25 00:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:15: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-25 00:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-25 00:15:48] 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-25 00:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624846592001,"66":27213,"49":206,"81":23296,"24":36,"16":391068003640279040,"45":4093983196125173760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-08-25 00:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624846592001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:15:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-25 00:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391068003640279040,"km_value":391068003640279.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4093983196125173760,"description":"Unknown IO ID 45"} 
[2026-08-25 00:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624846592001,"power":27213,"unknown_49":206,"unknown_81":23296,"ignition":36,"odometer":null,"unknown_45":4093983196125173760}} 
[2026-08-25 00:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":161368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:15:48] local.INFO: GPS data processed {"connection_id":161368,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:15:48] local.INFO: Acknowledgment sent {"connection_id":161368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:16:01] local.INFO: TCP Data received {"connection_id":161632,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:16:01] local.INFO: Processing buffer {"connection_id":161632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:16:01] local.INFO: IMEI packet received {"connection_id":161632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 00:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":161632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:16:06] local.INFO: TCP Data received {"connection_id":161632,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:16:06] local.INFO: Processing buffer {"connection_id":161632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 00:16:06] local.INFO: IMEI packet received {"connection_id":161632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 00:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":161632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:16:07] local.INFO: TCP Data received {"connection_id":161632,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035159ce0012d7b494005e12f580000014e1c..."} 
[2026-08-25 00:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035159ce0012d7b494005e12f580000014e1c..."} 
[2026-08-25 00:16:07] local.INFO: Processing buffer {"connection_id":161632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035159ce0012d7b494005e12f580000014e1c..."} 
[2026-08-25 00:16:07] local.INFO: Packet analysis {"connection_id":161632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03515"} 
[2026-08-25 00:16:07] local.INFO: Extracted packet for processing {"connection_id":161632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03515"} 
[2026-08-25 00:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":98643800,"longitude_deg":76.30544,"latitude_deg":9.86438,"altitude":0,"angle":334,"satellites":28,"speed":11,"hex_longitude":"2d7b4940","hex_latitude":"05e12f58","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624831744001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123233258946166784,"note":"Value kept but may cause issues"} 
[2026-08-25 00:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821403224064,"note":"Value kept but may cause issues"} 
[2026-08-25 00:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787597004000,"timestamp_ms":1787597004000,"timestamp_seconds":1787597004,"priority":1,"record_length":96,"hex_timestamp":"000001a035159ce0"} 
[2026-08-25 00: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-25 00:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00: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":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-25 00:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 00:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 00:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 00:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624831744001,"66":11798,"217":206,"85":15104,"24":11,"16":123233258946166784,"45":8884405821403224064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 00:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 00:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 00:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624831744001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:16:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 00:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 00:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123233258946166784,"km_value":123233258946166.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821403224064,"description":"Unknown IO ID 45"} 
[2026-08-25 00:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624831744001,"power":11798,"unknown_217":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8884405821403224064}} 
[2026-08-25 00:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":161632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:16:07] local.INFO: GPS data processed {"connection_id":161632,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:16:07] local.INFO: Acknowledgment sent {"connection_id":161632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:16:20] local.INFO: TCP Data received {"connection_id":161368,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03516bdf0012d388b0006a986e80014011d2b..."} 
[2026-08-25 00:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03516bdf0012d388b0006a986e80014011d2b..."} 
[2026-08-25 00:16:20] local.INFO: Processing buffer {"connection_id":161368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03516bdf0012d388b0006a986e80014011d2b..."} 
[2026-08-25 00:16:20] local.INFO: Packet analysis {"connection_id":161368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03516"} 
[2026-08-25 00:16:20] local.INFO: Extracted packet for processing {"connection_id":161368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03516"} 
[2026-08-25 00:16:20] local.INFO: GPS Element Parsed {"raw_longitude":758680320,"raw_latitude":111773416,"longitude_deg":75.868032,"latitude_deg":11.1773416,"altitude":20,"angle":285,"satellites":43,"speed":29,"hex_longitude":"2d388b00","hex_latitude":"06a986e8","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624849152001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391068441726943232,"note":"Value kept but may cause issues"} 
[2026-08-25 00:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4084272309429233664,"note":"Value kept but may cause issues"} 
[2026-08-25 00:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787597078000,"timestamp_ms":1787597078000,"timestamp_seconds":1787597078,"priority":1,"record_length":96,"hex_timestamp":"000001a03516bdf0"} 
[2026-08-25 00: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-25 00:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-25 00:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624849152001,"66":27267,"49":206,"81":23296,"24":29,"16":391068441726943232,"45":4084272309429233664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-08-25 00:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624849152001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:16:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-25 00:16:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391068441726943232,"km_value":391068441726943.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4084272309429233664,"description":"Unknown IO ID 45"} 
[2026-08-25 00:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624849152001,"power":27267,"unknown_49":206,"unknown_81":23296,"ignition":29,"odometer":null,"unknown_45":4084272309429233664}} 
[2026-08-25 00:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":161368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:16:20] local.INFO: GPS data processed {"connection_id":161368,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:16:20] local.INFO: Acknowledgment sent {"connection_id":161368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:16:41] local.INFO: TCP Data received {"connection_id":161369,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:16:41] local.INFO: Processing buffer {"connection_id":161369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:16:41] local.INFO: IMEI packet received {"connection_id":161369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":161369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:16:46] local.INFO: TCP Data received {"connection_id":161369,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:16:46] local.INFO: Processing buffer {"connection_id":161369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:16:46] local.INFO: IMEI packet received {"connection_id":161369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":161369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:16:47] local.INFO: TCP Data received {"connection_id":161369,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03516f0b8012d38680006a990400015011828..."} 
[2026-08-25 00:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03516f0b8012d38680006a990400015011828..."} 
[2026-08-25 00:16:47] local.INFO: Processing buffer {"connection_id":161369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03516f0b8012d38680006a990400015011828..."} 
[2026-08-25 00:16:47] local.INFO: Packet analysis {"connection_id":161369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03516"} 
[2026-08-25 00:16:47] local.INFO: Extracted packet for processing {"connection_id":161369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03516"} 
[2026-08-25 00:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758671360,"raw_latitude":111775808,"longitude_deg":75.867136,"latitude_deg":11.1775808,"altitude":21,"angle":280,"satellites":40,"speed":30,"hex_longitude":"2d386800","hex_latitude":"06a99040","is_valid_coordinates":true} 
[2026-08-25 00:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624851968001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391068888403542016,"note":"Value kept but may cause issues"} 
[2026-08-25 00:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4074350316500740096,"note":"Value kept but may cause issues"} 
[2026-08-25 00:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787597091000,"timestamp_ms":1787597091000,"timestamp_seconds":1787597091,"priority":1,"record_length":96,"hex_timestamp":"000001a03516f0b8"} 
[2026-08-25 00:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:16: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-25 00:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 00:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624851968001,"66":27300,"49":206,"81":23296,"24":30,"16":391068888403542016,"45":4074350316500740096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-08-25 00:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624851968001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:16:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-25 00:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391068888403542016,"km_value":391068888403542.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4074350316500740096,"description":"Unknown IO ID 45"} 
[2026-08-25 00:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624851968001,"power":27300,"unknown_49":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":4074350316500740096}} 
[2026-08-25 00:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":161369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:16:47] local.INFO: GPS data processed {"connection_id":161369,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:16:47] local.INFO: Acknowledgment sent {"connection_id":161369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:17:18] local.INFO: TCP Data received {"connection_id":161369,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035172380012d38434006a99548001201182b..."} 
[2026-08-25 00:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035172380012d38434006a99548001201182b..."} 
[2026-08-25 00:17:18] local.INFO: Processing buffer {"connection_id":161369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035172380012d38434006a99548001201182b..."} 
[2026-08-25 00:17:18] local.INFO: Packet analysis {"connection_id":161369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03517"} 
[2026-08-25 00:17:18] local.INFO: Extracted packet for processing {"connection_id":161369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03517"} 
[2026-08-25 00:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758661952,"raw_latitude":111777096,"longitude_deg":75.8661952,"latitude_deg":11.1777096,"altitude":18,"angle":280,"satellites":43,"speed":30,"hex_longitude":"2d384340","hex_latitude":"06a99548","is_valid_coordinates":true} 
[2026-08-25 00:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624855296001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391069339375108096,"note":"Value kept but may cause issues"} 
[2026-08-25 00:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4064498692316479488,"note":"Value kept but may cause issues"} 
[2026-08-25 00:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787597104000,"timestamp_ms":1787597104000,"timestamp_seconds":1787597104,"priority":1,"record_length":96,"hex_timestamp":"000001a035172380"} 
[2026-08-25 00:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:17: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-25 00:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-25 00:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624855296001,"66":27137,"49":206,"81":23296,"24":30,"16":391069339375108096,"45":4064498692316479488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-08-25 00:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624855296001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:17:18] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-25 00:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391069339375108096,"km_value":391069339375108.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4064498692316479488,"description":"Unknown IO ID 45"} 
[2026-08-25 00:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624855296001,"power":27137,"unknown_49":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":4064498692316479488}} 
[2026-08-25 00:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":161369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:17:18] local.INFO: GPS data processed {"connection_id":161369,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:17:18] local.INFO: Acknowledgment sent {"connection_id":161369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:17:41] local.INFO: TCP Data received {"connection_id":164002,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:17:41] local.INFO: Processing buffer {"connection_id":164002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:17:41] local.INFO: IMEI packet received {"connection_id":164002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":164002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:17:45] local.INFO: TCP Data received {"connection_id":164002,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:17:45] local.INFO: Processing buffer {"connection_id":164002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:17:45] local.INFO: IMEI packet received {"connection_id":164002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":164002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:17:46] local.INFO: TCP Data received {"connection_id":164002,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:17:46] local.INFO: Processing buffer {"connection_id":164002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:17:46] local.INFO: IMEI packet received {"connection_id":164002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":164002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:17:47] local.INFO: TCP Data received {"connection_id":164002,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03518c960012d36bd8006a9b2d80014013029..."} 
[2026-08-25 00:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03518c960012d36bd8006a9b2d80014013029..."} 
[2026-08-25 00:17:47] local.INFO: Processing buffer {"connection_id":164002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03518c960012d36bd8006a9b2d80014013029..."} 
[2026-08-25 00:17:47] local.INFO: Packet analysis {"connection_id":164002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03518"} 
[2026-08-25 00:17:47] local.INFO: Extracted packet for processing {"connection_id":164002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03518"} 
[2026-08-25 00:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758562176,"raw_latitude":111784664,"longitude_deg":75.8562176,"latitude_deg":11.1784664,"altitude":20,"angle":304,"satellites":41,"speed":29,"hex_longitude":"2d36bd80","hex_latitude":"06a9b2d8","is_valid_coordinates":true} 
[2026-08-25 00:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624884224001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391074175508283392,"note":"Value kept but may cause issues"} 
[2026-08-25 00:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3951486489168547840,"note":"Value kept but may cause issues"} 
[2026-08-25 00:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787597212000,"timestamp_ms":1787597212000,"timestamp_seconds":1787597212,"priority":1,"record_length":96,"hex_timestamp":"000001a03518c960"} 
[2026-08-25 00:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-25 00:17:47] 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-25 00:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624884224001,"66":27234,"141":206,"81":23296,"24":29,"16":391074175508283392,"45":3951486489168547840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-08-25 00:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624884224001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:17:47] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-25 00:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391074175508283392,"km_value":391074175508283.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3951486489168547840,"description":"Unknown IO ID 45"} 
[2026-08-25 00:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624884224001,"power":27234,"unknown_141":206,"unknown_81":23296,"ignition":29,"odometer":null,"unknown_45":3951486489168547840}} 
[2026-08-25 00:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":164002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:17:47] local.INFO: GPS data processed {"connection_id":164002,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:17:47] local.INFO: Acknowledgment sent {"connection_id":164002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:17:51] local.INFO: TCP Data received {"connection_id":164002,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03518e4b8012d36b18006a9bbe80014013f2b..."} 
[2026-08-25 00:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03518e4b8012d36b18006a9bbe80014013f2b..."} 
[2026-08-25 00:17:51] local.INFO: Processing buffer {"connection_id":164002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03518e4b8012d36b18006a9bbe80014013f2b..."} 
[2026-08-25 00:17:51] local.INFO: Packet analysis {"connection_id":164002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03518"} 
[2026-08-25 00:17:51] local.INFO: Extracted packet for processing {"connection_id":164002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03518"} 
[2026-08-25 00:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758559104,"raw_latitude":111786984,"longitude_deg":75.8559104,"latitude_deg":11.1786984,"altitude":20,"angle":319,"satellites":43,"speed":23,"hex_longitude":"2d36b180","hex_latitude":"06a9bbe8","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624886272001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391074360191877120,"note":"Value kept but may cause issues"} 
[2026-08-25 00:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3944449614751651840,"note":"Value kept but may cause issues"} 
[2026-08-25 00:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787597219000,"timestamp_ms":1787597219000,"timestamp_seconds":1787597219,"priority":1,"record_length":96,"hex_timestamp":"000001a03518e4b8"} 
[2026-08-25 00: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-25 00:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-25 00:17:51] 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-25 00: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-25 00: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-25 00:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624886272001,"66":27213,"141":206,"81":23296,"24":23,"16":391074360191877120,"45":3944449614751651840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-08-25 00:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624886272001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:17:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-25 00:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391074360191877120,"km_value":391074360191877.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3944449614751651840,"description":"Unknown IO ID 45"} 
[2026-08-25 00:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624886272001,"power":27213,"unknown_141":206,"unknown_81":23296,"ignition":23,"odometer":null,"unknown_45":3944449614751651840}} 
[2026-08-25 00:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":164002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:17:51] local.INFO: GPS data processed {"connection_id":164002,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:17:51] local.INFO: Acknowledgment sent {"connection_id":164002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:18:22] local.INFO: TCP Data received {"connection_id":164002,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035190010012d36a30006a9c9b00011013428..."} 
[2026-08-25 00:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035190010012d36a30006a9c9b00011013428..."} 
[2026-08-25 00:18:22] local.INFO: Processing buffer {"connection_id":164002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035190010012d36a30006a9c9b00011013428..."} 
[2026-08-25 00:18:22] local.INFO: Packet analysis {"connection_id":164002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:18:22] local.INFO: Extracted packet for processing {"connection_id":164002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:18:22] local.INFO: GPS Element Parsed {"raw_longitude":758555392,"raw_latitude":111790512,"longitude_deg":75.8555392,"latitude_deg":11.1790512,"altitude":17,"angle":308,"satellites":40,"speed":34,"hex_longitude":"2d36a300","hex_latitude":"06a9c9b0","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624888064001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391074605005012992,"note":"Value kept but may cause issues"} 
[2026-08-25 00:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3941071915031717888,"note":"Value kept but may cause issues"} 
[2026-08-25 00:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787597226000,"timestamp_ms":1787597226000,"timestamp_seconds":1787597226,"priority":1,"record_length":96,"hex_timestamp":"000001a035190010"} 
[2026-08-25 00: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-25 00:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-25 00:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624888064001,"66":27245,"141":206,"81":23296,"24":34,"16":391074605005012992,"45":3941071915031717888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-08-25 00:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624888064001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:18:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-25 00:18:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391074605005012992,"km_value":391074605005013.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3941071915031717888,"description":"Unknown IO ID 45"} 
[2026-08-25 00:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624888064001,"power":27245,"unknown_141":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":3941071915031717888}} 
[2026-08-25 00:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":164002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:18:22] local.INFO: GPS data processed {"connection_id":164002,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:18:22] local.INFO: Acknowledgment sent {"connection_id":164002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:18:47] local.INFO: TCP Data received {"connection_id":161370,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:18:47] local.INFO: Processing buffer {"connection_id":161370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:18:47] local.INFO: IMEI packet received {"connection_id":161370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":161370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:18:47] local.INFO: TCP Data received {"connection_id":161370,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:18:47] local.INFO: Processing buffer {"connection_id":161370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:18:47] local.INFO: IMEI packet received {"connection_id":161370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":161370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:18:48] local.INFO: TCP Data received {"connection_id":161370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035190fb0012d3696c006a9d1580011012526..."} 
[2026-08-25 00:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035190fb0012d3696c006a9d1580011012526..."} 
[2026-08-25 00:18:48] local.INFO: Processing buffer {"connection_id":161370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035190fb0012d3696c006a9d1580011012526..."} 
[2026-08-25 00:18:48] local.INFO: Packet analysis {"connection_id":161370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:18:48] local.INFO: Extracted packet for processing {"connection_id":161370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758552256,"raw_latitude":111792472,"longitude_deg":75.8552256,"latitude_deg":11.1792472,"altitude":17,"angle":293,"satellites":38,"speed":38,"hex_longitude":"2d3696c0","hex_latitude":"06a9d158","is_valid_coordinates":true} 
[2026-08-25 00:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624889856001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391074781098672128,"note":"Value kept but may cause issues"} 
[2026-08-25 00:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3936990527870316544,"note":"Value kept but may cause issues"} 
[2026-08-25 00:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787597230000,"timestamp_ms":1787597230000,"timestamp_seconds":1787597230,"priority":1,"record_length":96,"hex_timestamp":"000001a035190fb0"} 
[2026-08-25 00:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:18: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-25 00:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:18:48] 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-25 00:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624889856001,"66":27267,"141":206,"81":23296,"24":38,"16":391074781098672128,"45":3936990527870316544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-08-25 00:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624889856001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:18:48] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-25 00:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391074781098672128,"km_value":391074781098672.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3936990527870316544,"description":"Unknown IO ID 45"} 
[2026-08-25 00:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624889856001,"power":27267,"unknown_141":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3936990527870316544}} 
[2026-08-25 00:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":161370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:18:48] local.INFO: GPS data processed {"connection_id":161370,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:18:48] local.INFO: Acknowledgment sent {"connection_id":161370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:18:52] local.INFO: TCP Data received {"connection_id":161370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0351936c0012d36720006a9dbe80011011d29..."} 
[2026-08-25 00:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351936c0012d36720006a9dbe80011011d29..."} 
[2026-08-25 00:18:52] local.INFO: Processing buffer {"connection_id":161370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351936c0012d36720006a9dbe80011011d29..."} 
[2026-08-25 00:18:52] local.INFO: Packet analysis {"connection_id":161370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:18:52] local.INFO: Extracted packet for processing {"connection_id":161370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758542848,"raw_latitude":111795176,"longitude_deg":75.8542848,"latitude_deg":11.1795176,"altitude":17,"angle":285,"satellites":41,"speed":33,"hex_longitude":"2d367200","hex_latitude":"06a9dbe8","is_valid_coordinates":true} 
[2026-08-25 00:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624890880001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391075249250107392,"note":"Value kept but may cause issues"} 
[2026-08-25 00:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3933542459406112768,"note":"Value kept but may cause issues"} 
[2026-08-25 00:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787597240000,"timestamp_ms":1787597240000,"timestamp_seconds":1787597240,"priority":1,"record_length":96,"hex_timestamp":"000001a0351936c0"} 
[2026-08-25 00:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:18: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-25 00:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 00:18:52] 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-25 00:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624890880001,"66":27300,"96":206,"81":23296,"24":33,"16":391075249250107392,"45":3933542459406112768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-08-25 00:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624890880001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:18:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 00:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391075249250107392,"km_value":391075249250107.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3933542459406112768,"description":"Unknown IO ID 45"} 
[2026-08-25 00:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624890880001,"power":27300,"unknown_96":206,"unknown_81":23296,"ignition":33,"odometer":null,"unknown_45":3933542459406112768}} 
[2026-08-25 00:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":161370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:18:52] local.INFO: GPS data processed {"connection_id":161370,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:18:52] local.INFO: Acknowledgment sent {"connection_id":161370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:19:23] local.INFO: TCP Data received {"connection_id":161370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035196988012d364e4006a9e6380010011d28..."} 
[2026-08-25 00:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035196988012d364e4006a9e6380010011d28..."} 
[2026-08-25 00:19:23] local.INFO: Processing buffer {"connection_id":161370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035196988012d364e4006a9e6380010011d28..."} 
[2026-08-25 00:19:23] local.INFO: Packet analysis {"connection_id":161370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:19:23] local.INFO: Extracted packet for processing {"connection_id":161370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:19:23] local.INFO: GPS Element Parsed {"raw_longitude":758533696,"raw_latitude":111797816,"longitude_deg":75.8533696,"latitude_deg":11.1797816,"altitude":16,"angle":285,"satellites":40,"speed":34,"hex_longitude":"2d364e40","hex_latitude":"06a9e638","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624893440001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391075704516640768,"note":"Value kept but may cause issues"} 
[2026-08-25 00:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3923198254012688384,"note":"Value kept but may cause issues"} 
[2026-08-25 00:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787597253000,"timestamp_ms":1787597253000,"timestamp_seconds":1787597253,"priority":1,"record_length":96,"hex_timestamp":"000001a035196988"} 
[2026-08-25 00: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-25 00:19: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-25 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-25 00:19:23] 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-25 00: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-25 00: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-25 00:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624893440001,"66":27115,"96":206,"81":23296,"24":34,"16":391075704516640768,"45":3923198254012688384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-08-25 00:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624893440001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:19:23] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 00:19:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391075704516640768,"km_value":391075704516640.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3923198254012688384,"description":"Unknown IO ID 45"} 
[2026-08-25 00:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624893440001,"power":27115,"unknown_96":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":3923198254012688384}} 
[2026-08-25 00:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":161370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:19:23] local.INFO: GPS data processed {"connection_id":161370,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:19:23] local.INFO: Acknowledgment sent {"connection_id":161370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:19:40] local.INFO: TCP Data received {"connection_id":164003,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:19:40] local.INFO: Processing buffer {"connection_id":164003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:19:40] local.INFO: IMEI packet received {"connection_id":164003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":164003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:19:41] local.INFO: TCP Data received {"connection_id":164003,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:19:41] local.INFO: Processing buffer {"connection_id":164003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:19:41] local.INFO: IMEI packet received {"connection_id":164003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":164003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:19:42] local.INFO: TCP Data received {"connection_id":164003,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:19:42] local.INFO: Processing buffer {"connection_id":164003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:19:42] local.INFO: IMEI packet received {"connection_id":164003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":164003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:19:47] local.INFO: TCP Data received {"connection_id":164003,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:19:47] local.INFO: Processing buffer {"connection_id":164003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:19:47] local.INFO: IMEI packet received {"connection_id":164003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":164003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:19:47] local.INFO: TCP Data received {"connection_id":164003,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035199098012d362a0006a9f1280011012129..."} 
[2026-08-25 00:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035199098012d362a0006a9f1280011012129..."} 
[2026-08-25 00:19:47] local.INFO: Processing buffer {"connection_id":164003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035199098012d362a0006a9f1280011012129..."} 
[2026-08-25 00:19:47] local.INFO: Packet analysis {"connection_id":164003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:19:47] local.INFO: Extracted packet for processing {"connection_id":164003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758524416,"raw_latitude":111800616,"longitude_deg":75.8524416,"latitude_deg":11.1800616,"altitude":17,"angle":289,"satellites":41,"speed":39,"hex_longitude":"2d362a00","hex_latitude":"06a9f128","is_valid_coordinates":true} 
[2026-08-25 00:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624896768001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391076168373108736,"note":"Value kept but may cause issues"} 
[2026-08-25 00:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3913135523595958272,"note":"Value kept but may cause issues"} 
[2026-08-25 00:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787597263000,"timestamp_ms":1787597263000,"timestamp_seconds":1787597263,"priority":1,"record_length":96,"hex_timestamp":"000001a035199098"} 
[2026-08-25 00:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:19: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-25 00:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-25 00:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624896768001,"66":27267,"96":206,"81":23296,"24":39,"16":391076168373108736,"45":3913135523595958272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-08-25 00:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624896768001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:19:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 00:19:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391076168373108736,"km_value":391076168373108.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3913135523595958272,"description":"Unknown IO ID 45"} 
[2026-08-25 00:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624896768001,"power":27267,"unknown_96":206,"unknown_81":23296,"ignition":39,"odometer":null,"unknown_45":3913135523595958272}} 
[2026-08-25 00:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":164003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:19:47] local.INFO: GPS data processed {"connection_id":164003,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:19:47] local.INFO: Acknowledgment sent {"connection_id":164003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:19:52] local.INFO: TCP Data received {"connection_id":164003,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03519b3c0012d36084006a9ff380011012528..."} 
[2026-08-25 00:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03519b3c0012d36084006a9ff380011012528..."} 
[2026-08-25 00:19:52] local.INFO: Processing buffer {"connection_id":164003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03519b3c0012d36084006a9ff380011012528..."} 
[2026-08-25 00:19:52] local.INFO: Packet analysis {"connection_id":164003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:19:52] local.INFO: Extracted packet for processing {"connection_id":164003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758515776,"raw_latitude":111804216,"longitude_deg":75.8515776,"latitude_deg":11.1804216,"altitude":17,"angle":293,"satellites":40,"speed":40,"hex_longitude":"2d360840","hex_latitude":"06a9ff38","is_valid_coordinates":true} 
[2026-08-25 00:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624899328001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391076610754740224,"note":"Value kept but may cause issues"} 
[2026-08-25 00:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3902932055690913792,"note":"Value kept but may cause issues"} 
[2026-08-25 00:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787597272000,"timestamp_ms":1787597272000,"timestamp_seconds":1787597272,"priority":1,"record_length":96,"hex_timestamp":"000001a03519b3c0"} 
[2026-08-25 00:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:19: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-25 00:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 00:19:52] 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-25 00:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624899328001,"66":27332,"96":206,"81":23296,"24":40,"16":391076610754740224,"45":3902932055690913792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-08-25 00:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624899328001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:19:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 00:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391076610754740224,"km_value":391076610754740.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3902932055690913792,"description":"Unknown IO ID 45"} 
[2026-08-25 00:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624899328001,"power":27332,"unknown_96":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":3902932055690913792}} 
[2026-08-25 00:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":164003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:19:52] local.INFO: GPS data processed {"connection_id":164003,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:19:52] local.INFO: Acknowledgment sent {"connection_id":164003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:20:23] local.INFO: TCP Data received {"connection_id":164003,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03519d6e8012d35e48006aa0e580010012329..."} 
[2026-08-25 00:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03519d6e8012d35e48006aa0e580010012329..."} 
[2026-08-25 00:20:23] local.INFO: Processing buffer {"connection_id":164003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03519d6e8012d35e48006aa0e580010012329..."} 
[2026-08-25 00:20:23] local.INFO: Packet analysis {"connection_id":164003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:20:23] local.INFO: Extracted packet for processing {"connection_id":164003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03519"} 
[2026-08-25 00:20:23] local.INFO: GPS Element Parsed {"raw_longitude":758506624,"raw_latitude":111808088,"longitude_deg":75.8506624,"latitude_deg":11.1808088,"altitude":16,"angle":291,"satellites":41,"speed":44,"hex_longitude":"2d35e480","hex_latitude":"06aa0e58","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624901632001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391077087496110080,"note":"Value kept but may cause issues"} 
[2026-08-25 00:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3893432275227850752,"note":"Value kept but may cause issues"} 
[2026-08-25 00:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787597281000,"timestamp_ms":1787597281000,"timestamp_seconds":1787597281,"priority":1,"record_length":96,"hex_timestamp":"000001a03519d6e8"} 
[2026-08-25 00: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-25 00:20: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-25 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-25 00:20:23] 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-25 00: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-25 00: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-25 00:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624901632001,"66":27300,"96":206,"81":23296,"24":44,"16":391077087496110080,"45":3893432275227850752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-08-25 00:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624901632001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:20:23] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 00:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391077087496110080,"km_value":391077087496110.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3893432275227850752,"description":"Unknown IO ID 45"} 
[2026-08-25 00:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624901632001,"power":27300,"unknown_96":206,"unknown_81":23296,"ignition":44,"odometer":null,"unknown_45":3893432275227850752}} 
[2026-08-25 00:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":164003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:20:23] local.INFO: GPS data processed {"connection_id":164003,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:20:23] local.INFO: Acknowledgment sent {"connection_id":164003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:20:42] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:20:42] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:20:42] local.INFO: IMEI packet received {"connection_id":161633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":161633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:20:47] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:20:47] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:20:47] local.INFO: IMEI packet received {"connection_id":161633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":161633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:20:48] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0351b9050012d34c74006aa55e8001000ee27..."} 
[2026-08-25 00:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351b9050012d34c74006aa55e8001000ee27..."} 
[2026-08-25 00:20:48] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351b9050012d34c74006aa55e8001000ee27..."} 
[2026-08-25 00:20:48] local.INFO: Packet analysis {"connection_id":161633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351b"} 
[2026-08-25 00:20:48] local.INFO: Extracted packet for processing {"connection_id":161633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351b"} 
[2026-08-25 00:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111826408,"longitude_deg":75.84336,"latitude_deg":11.1826408,"altitude":16,"angle":238,"satellites":39,"speed":19,"hex_longitude":"2d34c740","hex_latitude":"06aa55e8","is_valid_coordinates":true} 
[2026-08-25 00:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624930048001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391080815527723008,"note":"Value kept but may cause issues"} 
[2026-08-25 00:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3811804531987865600,"note":"Value kept but may cause issues"} 
[2026-08-25 00:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787597394000,"timestamp_ms":1787597394000,"timestamp_seconds":1787597394,"priority":1,"record_length":96,"hex_timestamp":"000001a0351b9050"} 
[2026-08-25 00:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:20: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-25 00:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:20:48] 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-25 00:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624930048001,"66":27104,"97":206,"81":23296,"24":19,"16":391080815527723008,"45":3811804531987865600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624930048001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391080815527723008,"km_value":391080815527723.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3811804531987865600,"description":"Unknown IO ID 45"} 
[2026-08-25 00:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624930048001,"power":27104,"unknown_97":206,"unknown_81":23296,"ignition":19,"odometer":null,"unknown_45":3811804531987865600}} 
[2026-08-25 00:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":161633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:20:48] local.INFO: GPS data processed {"connection_id":161633,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:20:48] local.INFO: Acknowledgment sent {"connection_id":161633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:20:52] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0351b9438012d34c60006aa54b8001000cf29..."} 
[2026-08-25 00:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351b9438012d34c60006aa54b8001000cf29..."} 
[2026-08-25 00:20:52] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351b9438012d34c60006aa54b8001000cf29..."} 
[2026-08-25 00:20:52] local.INFO: Packet analysis {"connection_id":161633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351b"} 
[2026-08-25 00:20:52] local.INFO: Extracted packet for processing {"connection_id":161633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351b"} 
[2026-08-25 00:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111826104,"longitude_deg":75.843328,"latitude_deg":11.1826104,"altitude":16,"angle":207,"satellites":41,"speed":16,"hex_longitude":"2d34c600","hex_latitude":"06aa54b8","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624932864001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391080832707592192,"note":"Value kept but may cause issues"} 
[2026-08-25 00:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807709411328,"note":"Value kept but may cause issues"} 
[2026-08-25 00:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787597395000,"timestamp_ms":1787597395000,"timestamp_seconds":1787597395,"priority":1,"record_length":96,"hex_timestamp":"000001a0351b9438"} 
[2026-08-25 00: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-25 00:20: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-25 00: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-25 00:20:52] 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-25 00: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-25 00: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-25 00:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624932864001,"66":27213,"97":206,"81":23296,"24":16,"16":391080832707592192,"45":3803078807709411328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624932864001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:20:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391080832707592192,"km_value":391080832707592.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807709411328,"description":"Unknown IO ID 45"} 
[2026-08-25 00:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624932864001,"power":27213,"unknown_97":206,"unknown_81":23296,"ignition":16,"odometer":null,"unknown_45":3803078807709411328}} 
[2026-08-25 00:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":161633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:20:52] local.INFO: GPS data processed {"connection_id":161633,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:20:52] local.INFO: Acknowledgment sent {"connection_id":161633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:21:23] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0351b9820012d34c5c006aa5348001000b629..."} 
[2026-08-25 00:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351b9820012d34c5c006aa5348001000b629..."} 
[2026-08-25 00:21:23] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351b9820012d34c5c006aa5348001000b629..."} 
[2026-08-25 00:21:23] local.INFO: Packet analysis {"connection_id":161633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351b"} 
[2026-08-25 00:21:23] local.INFO: Extracted packet for processing {"connection_id":161633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351b"} 
[2026-08-25 00:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111825736,"longitude_deg":75.8433216,"latitude_deg":11.1825736,"altitude":16,"angle":182,"satellites":41,"speed":15,"hex_longitude":"2d34c5c0","hex_latitude":"06aa5348","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624933120001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391080854182428672,"note":"Value kept but may cause issues"} 
[2026-08-25 00:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963988445184,"note":"Value kept but may cause issues"} 
[2026-08-25 00:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787597396000,"timestamp_ms":1787597396000,"timestamp_seconds":1787597396,"priority":1,"record_length":96,"hex_timestamp":"000001a0351b9820"} 
[2026-08-25 00: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-25 00:21: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-25 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-25 00:21:23] 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-25 00: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-25 00: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-25 00:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624933120001,"66":27213,"97":206,"81":23296,"24":15,"16":391080854182428672,"45":3802726963988445184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624933120001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:21:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391080854182428672,"km_value":391080854182428.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963988445184,"description":"Unknown IO ID 45"} 
[2026-08-25 00:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624933120001,"power":27213,"unknown_97":206,"unknown_81":23296,"ignition":15,"odometer":null,"unknown_45":3802726963988445184}} 
[2026-08-25 00:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":161633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:21:23] local.INFO: GPS data processed {"connection_id":161633,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:21:23] local.INFO: Acknowledgment sent {"connection_id":161633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:21:47] local.INFO: TCP Data received {"connection_id":162613,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:21:47] local.INFO: Processing buffer {"connection_id":162613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:21:47] local.INFO: IMEI packet received {"connection_id":162613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":162613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:21:47] local.INFO: TCP Data received {"connection_id":162613,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:21:47] local.INFO: Processing buffer {"connection_id":162613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:21:47] local.INFO: IMEI packet received {"connection_id":162613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":162613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:21:48] local.INFO: TCP Data received {"connection_id":162613,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0351c7ab0012d34c48006aa45b0001301002c..."} 
[2026-08-25 00:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351c7ab0012d34c48006aa45b0001301002c..."} 
[2026-08-25 00:21:48] local.INFO: Processing buffer {"connection_id":162613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351c7ab0012d34c48006aa45b0001301002c..."} 
[2026-08-25 00:21:48] local.INFO: Packet analysis {"connection_id":162613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:21:48] local.INFO: Extracted packet for processing {"connection_id":162613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:21:48] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111822256,"longitude_deg":75.8432896,"latitude_deg":11.1822256,"altitude":19,"angle":256,"satellites":44,"speed":8,"hex_longitude":"2d34c480","hex_latitude":"06aa45b0","is_valid_coordinates":true} 
[2026-08-25 00:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624947968001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081047455956992,"note":"Value kept but may cause issues"} 
[2026-08-25 00:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754945536,"note":"Value kept but may cause issues"} 
[2026-08-25 00:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787597454000,"timestamp_ms":1787597454000,"timestamp_seconds":1787597454,"priority":1,"record_length":96,"hex_timestamp":"000001a0351c7ab0"} 
[2026-08-25 00:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:21: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-25 00:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 00:21:48] 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-25 00:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624947968001,"66":27647,"97":206,"81":23296,"24":8,"16":391081047455956992,"45":3802515857754945536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624947968001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:21:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:21:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081047455956992,"km_value":391081047455957.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754945536,"description":"Unknown IO ID 45"} 
[2026-08-25 00:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624947968001,"power":27647,"unknown_97":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3802515857754945536}} 
[2026-08-25 00:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":162613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:21:48] local.INFO: GPS data processed {"connection_id":162613,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:21:48] local.INFO: Acknowledgment sent {"connection_id":162613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:21:52] local.INFO: TCP Data received {"connection_id":162613,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0351c7e98012d34c3c006aa45b8001401112c..."} 
[2026-08-25 00:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351c7e98012d34c3c006aa45b8001401112c..."} 
[2026-08-25 00:21:52] local.INFO: Processing buffer {"connection_id":162613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351c7e98012d34c3c006aa45b8001401112c..."} 
[2026-08-25 00:21:52] local.INFO: Packet analysis {"connection_id":162613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:21:52] local.INFO: Extracted packet for processing {"connection_id":162613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822264,"longitude_deg":75.8432704,"latitude_deg":11.1822264,"altitude":20,"angle":273,"satellites":44,"speed":8,"hex_longitude":"2d34c3c0","hex_latitude":"06aa45b8","is_valid_coordinates":true} 
[2026-08-25 00:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624948224001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081060340858880,"note":"Value kept but may cause issues"} 
[2026-08-25 00:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522394112,"note":"Value kept but may cause issues"} 
[2026-08-25 00:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787597455000,"timestamp_ms":1787597455000,"timestamp_seconds":1787597455,"priority":1,"record_length":96,"hex_timestamp":"000001a0351c7e98"} 
[2026-08-25 00:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:21: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-25 00:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 00:21:52] 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-25 00:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624948224001,"66":27647,"97":206,"81":23296,"24":8,"16":391081060340858880,"45":3802304751522394112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624948224001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081060340858880,"km_value":391081060340858.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522394112,"description":"Unknown IO ID 45"} 
[2026-08-25 00:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624948224001,"power":27647,"unknown_97":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3802304751522394112}} 
[2026-08-25 00:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":162613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:21:52] local.INFO: GPS data processed {"connection_id":162613,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:21:52] local.INFO: Acknowledgment sent {"connection_id":162613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:22:24] local.INFO: TCP Data received {"connection_id":162613,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0351c8668012d34c28006aa4650001401212c..."} 
[2026-08-25 00:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351c8668012d34c28006aa4650001401212c..."} 
[2026-08-25 00:22:24] local.INFO: Processing buffer {"connection_id":162613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351c8668012d34c28006aa4650001401212c..."} 
[2026-08-25 00:22:24] local.INFO: Packet analysis {"connection_id":162613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:22:24] local.INFO: Extracted packet for processing {"connection_id":162613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:22:24] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111822416,"longitude_deg":75.8432384,"latitude_deg":11.1822416,"altitude":20,"angle":289,"satellites":44,"speed":4,"hex_longitude":"2d34c280","hex_latitude":"06aa4650","is_valid_coordinates":true} 
[2026-08-25 00:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624948480001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081077520728064,"note":"Value kept but may cause issues"} 
[2026-08-25 00:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289863168,"note":"Value kept but may cause issues"} 
[2026-08-25 00:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787597457000,"timestamp_ms":1787597457000,"timestamp_seconds":1787597457,"priority":1,"record_length":96,"hex_timestamp":"000001a0351c8668"} 
[2026-08-25 00:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:22: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-25 00:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 00:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624948480001,"66":27745,"97":206,"81":23296,"24":4,"16":391081077520728064,"45":3802093645289863168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624948480001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:22:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081077520728064,"km_value":391081077520728.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289863168,"description":"Unknown IO ID 45"} 
[2026-08-25 00:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624948480001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802093645289863168}} 
[2026-08-25 00:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":162613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:22:24] local.INFO: GPS data processed {"connection_id":162613,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:22:24] local.INFO: Acknowledgment sent {"connection_id":162613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:22:42] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:22:42] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:22:42] local.INFO: IMEI packet received {"connection_id":161634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":161634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:22:47] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:22:47] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:22:47] local.INFO: IMEI packet received {"connection_id":161634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":161634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:22:48] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0351cc4e8012d34c5c006aa4760001201212d..."} 
[2026-08-25 00:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351cc4e8012d34c5c006aa4760001201212d..."} 
[2026-08-25 00:22:48] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351cc4e8012d34c5c006aa4760001201212d..."} 
[2026-08-25 00:22:48] local.INFO: Packet analysis {"connection_id":161634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:22:48] local.INFO: Extracted packet for processing {"connection_id":161634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111822688,"longitude_deg":75.8433216,"latitude_deg":11.1822688,"altitude":18,"angle":289,"satellites":45,"speed":3,"hex_longitude":"2d34c5c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 00:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624948992001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801569013760,"note":"Value kept but may cause issues"} 
[2026-08-25 00:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787597473000,"timestamp_ms":1787597473000,"timestamp_seconds":1787597473,"priority":1,"record_length":96,"hex_timestamp":"000001a0351cc4e8"} 
[2026-08-25 00: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-25 00:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 00: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":97,"data_length":795,"current_offset":136} 
[2026-08-25 00:22: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-25 00: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-25 00: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-25 00:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624948992001,"66":27865,"97":206,"81":23296,"24":3,"16":391081129060335616,"45":3801741801569013760},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624948992001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801569013760,"description":"Unknown IO ID 45"} 
[2026-08-25 00:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624948992001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3801741801569013760}} 
[2026-08-25 00:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":161634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:22:48] local.INFO: GPS data processed {"connection_id":161634,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:22:48] local.INFO: Acknowledgment sent {"connection_id":161634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:23:19] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:23:19] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:23:19] local.INFO: Packet analysis {"connection_id":161634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:23:19] local.INFO: Extracted packet for processing {"connection_id":161634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822728,"longitude_deg":75.84336,"latitude_deg":11.1822728,"altitude":18,"angle":289,"satellites":43,"speed":1,"hex_longitude":"2d34c740","hex_latitude":"06aa4788","is_valid_coordinates":true} 
[2026-08-25 00:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624953088001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243393024,"note":"Value kept but may cause issues"} 
[2026-08-25 00:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787597477000,"timestamp_ms":1787597477000,"timestamp_seconds":1787597477,"priority":1,"record_length":96,"hex_timestamp":"000001a0351cd488"} 
[2026-08-25 00:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-25 00:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624953088001,"66":27245,"97":206,"81":23296,"24":1,"16":391081129060335616,"45":3802656595243393024},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624953088001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:23:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243393024,"description":"Unknown IO ID 45"} 
[2026-08-25 00:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624953088001,"power":27245,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802656595243393024}} 
[2026-08-25 00:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":161634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:23:19] local.INFO: GPS data processed {"connection_id":161634,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:23:19] local.INFO: Acknowledgment sent {"connection_id":161634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:23:41] local.INFO: TCP Data received {"connection_id":162614,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:23:41] local.INFO: Processing buffer {"connection_id":162614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:23:41] local.INFO: IMEI packet received {"connection_id":162614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":162614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:23:46] local.INFO: TCP Data received {"connection_id":162614,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:23:46] local.INFO: Processing buffer {"connection_id":162614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:23:46] local.INFO: IMEI packet received {"connection_id":162614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":162614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:23:47] local.INFO: TCP Data received {"connection_id":162614,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:23:47] local.INFO: Processing buffer {"connection_id":162614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:23:47] local.INFO: Packet analysis {"connection_id":162614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:23:47] local.INFO: Extracted packet for processing {"connection_id":162614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822728,"longitude_deg":75.84336,"latitude_deg":11.1822728,"altitude":18,"angle":289,"satellites":43,"speed":1,"hex_longitude":"2d34c740","hex_latitude":"06aa4788","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624953088001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243393024,"note":"Value kept but may cause issues"} 
[2026-08-25 00:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787597477000,"timestamp_ms":1787597477000,"timestamp_seconds":1787597477,"priority":1,"record_length":96,"hex_timestamp":"000001a0351cd488"} 
[2026-08-25 00: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-25 00:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-25 00:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624953088001,"66":27245,"97":206,"81":23296,"24":1,"16":391081129060335616,"45":3802656595243393024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624953088001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:23:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243393024,"description":"Unknown IO ID 45"} 
[2026-08-25 00:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624953088001,"power":27245,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802656595243393024}} 
[2026-08-25 00:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":162614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:23:47] local.INFO: GPS data processed {"connection_id":162614,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:23:47] local.INFO: Acknowledgment sent {"connection_id":162614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:24:19] local.INFO: TCP Data received {"connection_id":162614,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:24:19] local.INFO: Processing buffer {"connection_id":162614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:24:19] local.INFO: Packet analysis {"connection_id":162614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:24:19] local.INFO: Extracted packet for processing {"connection_id":162614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822728,"longitude_deg":75.84336,"latitude_deg":11.1822728,"altitude":18,"angle":289,"satellites":43,"speed":1,"hex_longitude":"2d34c740","hex_latitude":"06aa4788","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624953088001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243393024,"note":"Value kept but may cause issues"} 
[2026-08-25 00:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787597477000,"timestamp_ms":1787597477000,"timestamp_seconds":1787597477,"priority":1,"record_length":96,"hex_timestamp":"000001a0351cd488"} 
[2026-08-25 00: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-25 00:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00: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":217,"data_length":795,"current_offset":136} 
[2026-08-25 00:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624953088001,"66":27245,"97":206,"81":23296,"24":1,"16":391081129060335616,"45":3802656595243393024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624953088001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:24:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243393024,"description":"Unknown IO ID 45"} 
[2026-08-25 00:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624953088001,"power":27245,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802656595243393024}} 
[2026-08-25 00:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":162614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:24:19] local.INFO: GPS data processed {"connection_id":162614,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:24:19] local.INFO: Acknowledgment sent {"connection_id":162614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:24:47] local.INFO: TCP Data received {"connection_id":164004,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:24:47] local.INFO: Processing buffer {"connection_id":164004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:24:47] local.INFO: IMEI packet received {"connection_id":164004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":164004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:24:52] local.INFO: TCP Data received {"connection_id":164004,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:24:52] local.INFO: Processing buffer {"connection_id":164004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:24:52] local.INFO: IMEI packet received {"connection_id":164004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":164004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:24:52] local.INFO: TCP Data received {"connection_id":164004,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:24:52] local.INFO: Processing buffer {"connection_id":164004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:24:52] local.INFO: Packet analysis {"connection_id":164004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:24:52] local.INFO: Extracted packet for processing {"connection_id":164004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822728,"longitude_deg":75.84336,"latitude_deg":11.1822728,"altitude":18,"angle":289,"satellites":43,"speed":1,"hex_longitude":"2d34c740","hex_latitude":"06aa4788","is_valid_coordinates":true} 
[2026-08-25 00:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624953088001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243393024,"note":"Value kept but may cause issues"} 
[2026-08-25 00:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787597477000,"timestamp_ms":1787597477000,"timestamp_seconds":1787597477,"priority":1,"record_length":96,"hex_timestamp":"000001a0351cd488"} 
[2026-08-25 00:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:24: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-25 00:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-25 00:24: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-25 00:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624953088001,"66":27245,"97":206,"81":23296,"24":1,"16":391081129060335616,"45":3802656595243393024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624953088001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243393024,"description":"Unknown IO ID 45"} 
[2026-08-25 00:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624953088001,"power":27245,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802656595243393024}} 
[2026-08-25 00:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":164004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:24:52] local.INFO: GPS data processed {"connection_id":164004,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:24:52] local.INFO: Acknowledgment sent {"connection_id":164004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:25:00] local.INFO: TCP Data received {"connection_id":164004,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:25:00] local.INFO: Processing buffer {"connection_id":164004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:25:00] local.INFO: Packet analysis {"connection_id":164004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:25:00] local.INFO: Extracted packet for processing {"connection_id":164004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822728,"longitude_deg":75.84336,"latitude_deg":11.1822728,"altitude":18,"angle":289,"satellites":43,"speed":1,"hex_longitude":"2d34c740","hex_latitude":"06aa4788","is_valid_coordinates":true} 
[2026-08-25 00:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624953088001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243393024,"note":"Value kept but may cause issues"} 
[2026-08-25 00:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787597477000,"timestamp_ms":1787597477000,"timestamp_seconds":1787597477,"priority":1,"record_length":96,"hex_timestamp":"000001a0351cd488"} 
[2026-08-25 00:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:25: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-25 00:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-25 00:25: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-25 00:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624953088001,"66":27245,"97":206,"81":23296,"24":1,"16":391081129060335616,"45":3802656595243393024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624953088001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:25:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:25:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243393024,"description":"Unknown IO ID 45"} 
[2026-08-25 00:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624953088001,"power":27245,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802656595243393024}} 
[2026-08-25 00:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":164004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:25:00] local.INFO: GPS data processed {"connection_id":164004,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:25:00] local.INFO: Acknowledgment sent {"connection_id":164004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:25:42] local.INFO: TCP Data received {"connection_id":164005,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:25:42] local.INFO: Processing buffer {"connection_id":164005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:25:42] local.INFO: IMEI packet received {"connection_id":164005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":164005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:25:47] local.INFO: TCP Data received {"connection_id":164005,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:25:47] local.INFO: Processing buffer {"connection_id":164005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:25:47] local.INFO: IMEI packet received {"connection_id":164005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":164005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:25:47] local.INFO: TCP Data received {"connection_id":164005,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:25:47] local.INFO: Processing buffer {"connection_id":164005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:25:47] local.INFO: Packet analysis {"connection_id":164005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:25:47] local.INFO: Extracted packet for processing {"connection_id":164005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822728,"longitude_deg":75.84336,"latitude_deg":11.1822728,"altitude":18,"angle":289,"satellites":43,"speed":1,"hex_longitude":"2d34c740","hex_latitude":"06aa4788","is_valid_coordinates":true} 
[2026-08-25 00:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624953088001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243393024,"note":"Value kept but may cause issues"} 
[2026-08-25 00:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787597477000,"timestamp_ms":1787597477000,"timestamp_seconds":1787597477,"priority":1,"record_length":96,"hex_timestamp":"000001a0351cd488"} 
[2026-08-25 00:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-25 00:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624953088001,"66":27245,"97":206,"81":23296,"24":1,"16":391081129060335616,"45":3802656595243393024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624953088001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:25:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243393024,"description":"Unknown IO ID 45"} 
[2026-08-25 00:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624953088001,"power":27245,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802656595243393024}} 
[2026-08-25 00:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":164005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:25:47] local.INFO: GPS data processed {"connection_id":164005,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:25:47] local.INFO: Acknowledgment sent {"connection_id":164005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:25:52] local.INFO: TCP Data received {"connection_id":164005,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:25:52] local.INFO: Processing buffer {"connection_id":164005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:25:52] local.INFO: Packet analysis {"connection_id":164005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:25:52] local.INFO: Extracted packet for processing {"connection_id":164005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822728,"longitude_deg":75.84336,"latitude_deg":11.1822728,"altitude":18,"angle":289,"satellites":43,"speed":1,"hex_longitude":"2d34c740","hex_latitude":"06aa4788","is_valid_coordinates":true} 
[2026-08-25 00:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624953088001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243393024,"note":"Value kept but may cause issues"} 
[2026-08-25 00:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787597477000,"timestamp_ms":1787597477000,"timestamp_seconds":1787597477,"priority":1,"record_length":96,"hex_timestamp":"000001a0351cd488"} 
[2026-08-25 00:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:25: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-25 00:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-25 00:25: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-25 00:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624953088001,"66":27245,"97":206,"81":23296,"24":1,"16":391081129060335616,"45":3802656595243393024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624953088001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243393024,"description":"Unknown IO ID 45"} 
[2026-08-25 00:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624953088001,"power":27245,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802656595243393024}} 
[2026-08-25 00:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":164005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:25:52] local.INFO: GPS data processed {"connection_id":164005,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:25:52] local.INFO: Acknowledgment sent {"connection_id":164005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:26:23] local.INFO: TCP Data received {"connection_id":164005,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:26:23] local.INFO: Processing buffer {"connection_id":164005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:26:23] local.INFO: Packet analysis {"connection_id":164005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:26:23] local.INFO: Extracted packet for processing {"connection_id":164005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:26:23] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822728,"longitude_deg":75.84336,"latitude_deg":11.1822728,"altitude":18,"angle":289,"satellites":43,"speed":1,"hex_longitude":"2d34c740","hex_latitude":"06aa4788","is_valid_coordinates":true} 
[2026-08-25 00:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624953088001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243393024,"note":"Value kept but may cause issues"} 
[2026-08-25 00:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787597477000,"timestamp_ms":1787597477000,"timestamp_seconds":1787597477,"priority":1,"record_length":96,"hex_timestamp":"000001a0351cd488"} 
[2026-08-25 00:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-25 00:26: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-25 00:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624953088001,"66":27245,"97":206,"81":23296,"24":1,"16":391081129060335616,"45":3802656595243393024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624953088001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:26:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:26:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243393024,"description":"Unknown IO ID 45"} 
[2026-08-25 00:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624953088001,"power":27245,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802656595243393024}} 
[2026-08-25 00:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":164005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:26:23] local.INFO: GPS data processed {"connection_id":164005,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:26:23] local.INFO: Acknowledgment sent {"connection_id":164005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:26:42] local.INFO: TCP Data received {"connection_id":161635,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:26:42] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:26:42] local.INFO: IMEI packet received {"connection_id":161635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":161635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:26:47] local.INFO: TCP Data received {"connection_id":161635,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:26:47] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:26:47] local.INFO: IMEI packet received {"connection_id":161635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":161635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:26:47] local.INFO: TCP Data received {"connection_id":161635,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:26:47] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0351cd488012d34c74006aa4788001201212b..."} 
[2026-08-25 00:26:47] local.INFO: Packet analysis {"connection_id":161635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:26:47] local.INFO: Extracted packet for processing {"connection_id":161635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0351c"} 
[2026-08-25 00:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822728,"longitude_deg":75.84336,"latitude_deg":11.1822728,"altitude":18,"angle":289,"satellites":43,"speed":1,"hex_longitude":"2d34c740","hex_latitude":"06aa4788","is_valid_coordinates":true} 
[2026-08-25 00:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624953088001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595243393024,"note":"Value kept but may cause issues"} 
[2026-08-25 00:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787597477000,"timestamp_ms":1787597477000,"timestamp_seconds":1787597477,"priority":1,"record_length":96,"hex_timestamp":"000001a0351cd488"} 
[2026-08-25 00:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-25 00:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624953088001,"66":27245,"97":206,"81":23296,"24":1,"16":391081129060335616,"45":3802656595243393024},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624953088001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:26:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595243393024,"description":"Unknown IO ID 45"} 
[2026-08-25 00:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624953088001,"power":27245,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802656595243393024}} 
[2026-08-25 00:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":161635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:26:47] local.INFO: GPS data processed {"connection_id":161635,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:26:47] local.INFO: Acknowledgment sent {"connection_id":161635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:27:18] local.INFO: TCP Data received {"connection_id":161635,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:27:18] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:27:18] local.INFO: Packet analysis {"connection_id":161635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:27:18] local.INFO: Extracted packet for processing {"connection_id":161635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624954112001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:27:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708469248,"note":"Value kept but may cause issues"} 
[2026-08-25 00:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787597779000,"timestamp_ms":1787597779000,"timestamp_seconds":1787597779,"priority":1,"record_length":96,"hex_timestamp":"000001a035217038"} 
[2026-08-25 00:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:27:18] 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-25 00:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624954112001,"66":26376,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803078807708469248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624954112001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708469248,"description":"Unknown IO ID 45"} 
[2026-08-25 00:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624954112001,"power":26376,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708469248}} 
[2026-08-25 00:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":161635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:27:18] local.INFO: GPS data processed {"connection_id":161635,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:27:18] local.INFO: Acknowledgment sent {"connection_id":161635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:27:41] local.INFO: TCP Data received {"connection_id":164006,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:27:41] local.INFO: Processing buffer {"connection_id":164006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:27:41] local.INFO: IMEI packet received {"connection_id":164006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":164006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:27:47] local.INFO: TCP Data received {"connection_id":164006,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:27:47] local.INFO: Processing buffer {"connection_id":164006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:27:47] local.INFO: IMEI packet received {"connection_id":164006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":164006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:27:48] local.INFO: TCP Data received {"connection_id":164006,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:27:48] local.INFO: Processing buffer {"connection_id":164006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:27:48] local.INFO: Packet analysis {"connection_id":164006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:27:48] local.INFO: Extracted packet for processing {"connection_id":164006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624954112001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:27:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708469248,"note":"Value kept but may cause issues"} 
[2026-08-25 00:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787597779000,"timestamp_ms":1787597779000,"timestamp_seconds":1787597779,"priority":1,"record_length":96,"hex_timestamp":"000001a035217038"} 
[2026-08-25 00: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-25 00:27: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-25 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:27:48] 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-25 00: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-25 00: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-25 00:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624954112001,"66":26376,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803078807708469248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624954112001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708469248,"description":"Unknown IO ID 45"} 
[2026-08-25 00:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624954112001,"power":26376,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708469248}} 
[2026-08-25 00:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":164006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:27:48] local.INFO: GPS data processed {"connection_id":164006,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:27:48] local.INFO: Acknowledgment sent {"connection_id":164006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:28:19] local.INFO: TCP Data received {"connection_id":164006,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:28:19] local.INFO: Processing buffer {"connection_id":164006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:28:19] local.INFO: Packet analysis {"connection_id":164006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:28:19] local.INFO: Extracted packet for processing {"connection_id":164006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624954112001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:28:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708469248,"note":"Value kept but may cause issues"} 
[2026-08-25 00:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787597779000,"timestamp_ms":1787597779000,"timestamp_seconds":1787597779,"priority":1,"record_length":96,"hex_timestamp":"000001a035217038"} 
[2026-08-25 00: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-25 00:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00: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":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:28:19] 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-25 00: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-25 00: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-25 00:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624954112001,"66":26376,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803078807708469248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624954112001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:28:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708469248,"description":"Unknown IO ID 45"} 
[2026-08-25 00:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624954112001,"power":26376,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708469248}} 
[2026-08-25 00:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":164006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:28:19] local.INFO: GPS data processed {"connection_id":164006,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:28:19] local.INFO: Acknowledgment sent {"connection_id":164006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:28:41] local.INFO: TCP Data received {"connection_id":162615,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:28:41] local.INFO: Processing buffer {"connection_id":162615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:28:41] local.INFO: IMEI packet received {"connection_id":162615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":162615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:28:47] local.INFO: TCP Data received {"connection_id":162615,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:28:47] local.INFO: Processing buffer {"connection_id":162615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:28:47] local.INFO: IMEI packet received {"connection_id":162615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":162615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:28:47] local.INFO: TCP Data received {"connection_id":162615,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:28:47] local.INFO: Processing buffer {"connection_id":162615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:28:47] local.INFO: Packet analysis {"connection_id":162615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:28:47] local.INFO: Extracted packet for processing {"connection_id":162615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624954112001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:28:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708469248,"note":"Value kept but may cause issues"} 
[2026-08-25 00:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787597779000,"timestamp_ms":1787597779000,"timestamp_seconds":1787597779,"priority":1,"record_length":96,"hex_timestamp":"000001a035217038"} 
[2026-08-25 00:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:28:47] 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-25 00:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624954112001,"66":26376,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803078807708469248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624954112001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708469248,"description":"Unknown IO ID 45"} 
[2026-08-25 00:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624954112001,"power":26376,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708469248}} 
[2026-08-25 00:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":162615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:28:47] local.INFO: GPS data processed {"connection_id":162615,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:28:47] local.INFO: Acknowledgment sent {"connection_id":162615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:29:19] local.INFO: TCP Data received {"connection_id":162615,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:29:19] local.INFO: Processing buffer {"connection_id":162615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:29:19] local.INFO: Packet analysis {"connection_id":162615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:29:19] local.INFO: Extracted packet for processing {"connection_id":162615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624954112001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:29:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708469248,"note":"Value kept but may cause issues"} 
[2026-08-25 00:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787597779000,"timestamp_ms":1787597779000,"timestamp_seconds":1787597779,"priority":1,"record_length":96,"hex_timestamp":"000001a035217038"} 
[2026-08-25 00:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:29:19] 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-25 00:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624954112001,"66":26376,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803078807708469248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624954112001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708469248,"description":"Unknown IO ID 45"} 
[2026-08-25 00:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624954112001,"power":26376,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708469248}} 
[2026-08-25 00:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":162615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:29:19] local.INFO: GPS data processed {"connection_id":162615,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:29:19] local.INFO: Acknowledgment sent {"connection_id":162615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:29:47] local.INFO: TCP Data received {"connection_id":161371,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:29:47] local.INFO: Processing buffer {"connection_id":161371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:29:47] local.INFO: IMEI packet received {"connection_id":161371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":161371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:29:52] local.INFO: TCP Data received {"connection_id":161371,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:29:52] local.INFO: Processing buffer {"connection_id":161371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:29:52] local.INFO: IMEI packet received {"connection_id":161371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":161371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:29:53] local.INFO: TCP Data received {"connection_id":161371,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:29:53] local.INFO: Processing buffer {"connection_id":161371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:29:53] local.INFO: Packet analysis {"connection_id":161371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:29:53] local.INFO: Extracted packet for processing {"connection_id":161371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624954112001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:29:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708469248,"note":"Value kept but may cause issues"} 
[2026-08-25 00:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787597779000,"timestamp_ms":1787597779000,"timestamp_seconds":1787597779,"priority":1,"record_length":96,"hex_timestamp":"000001a035217038"} 
[2026-08-25 00: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-25 00:29: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-25 00: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":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:29: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-25 00: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-25 00: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-25 00:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624954112001,"66":26376,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803078807708469248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624954112001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708469248,"description":"Unknown IO ID 45"} 
[2026-08-25 00:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624954112001,"power":26376,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708469248}} 
[2026-08-25 00:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":161371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:29:53] local.INFO: GPS data processed {"connection_id":161371,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:29:53] local.INFO: Acknowledgment sent {"connection_id":161371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:29:57] local.INFO: TCP Data received {"connection_id":161371,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:29:57] local.INFO: Processing buffer {"connection_id":161371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:29:57] local.INFO: Packet analysis {"connection_id":161371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:29:57] local.INFO: Extracted packet for processing {"connection_id":161371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:29:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624954112001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:29:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708469248,"note":"Value kept but may cause issues"} 
[2026-08-25 00:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787597779000,"timestamp_ms":1787597779000,"timestamp_seconds":1787597779,"priority":1,"record_length":96,"hex_timestamp":"000001a035217038"} 
[2026-08-25 00: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-25 00:29: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-25 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:29:57] 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-25 00: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-25 00: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-25 00:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624954112001,"66":26376,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803078807708469248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624954112001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:29:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708469248,"description":"Unknown IO ID 45"} 
[2026-08-25 00:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624954112001,"power":26376,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708469248}} 
[2026-08-25 00:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":161371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:29:57] local.INFO: GPS data processed {"connection_id":161371,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:29:57] local.INFO: Acknowledgment sent {"connection_id":161371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:30:42] local.INFO: TCP Data received {"connection_id":162616,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:30:42] local.INFO: Processing buffer {"connection_id":162616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:30:42] local.INFO: IMEI packet received {"connection_id":162616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":162616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:30:47] local.INFO: TCP Data received {"connection_id":162616,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:30:47] local.INFO: Processing buffer {"connection_id":162616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:30:47] local.INFO: IMEI packet received {"connection_id":162616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":162616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:30:48] local.INFO: TCP Data received {"connection_id":162616,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:30:48] local.INFO: Processing buffer {"connection_id":162616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:30:48] local.INFO: Packet analysis {"connection_id":162616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:30:48] local.INFO: Extracted packet for processing {"connection_id":162616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624954112001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:30:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708469248,"note":"Value kept but may cause issues"} 
[2026-08-25 00:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787597779000,"timestamp_ms":1787597779000,"timestamp_seconds":1787597779,"priority":1,"record_length":96,"hex_timestamp":"000001a035217038"} 
[2026-08-25 00:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:30: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-25 00:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:30:48] 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-25 00:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624954112001,"66":26376,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803078807708469248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624954112001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708469248,"description":"Unknown IO ID 45"} 
[2026-08-25 00:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624954112001,"power":26376,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708469248}} 
[2026-08-25 00:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":162616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:30:48] local.INFO: GPS data processed {"connection_id":162616,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:30:48] local.INFO: Acknowledgment sent {"connection_id":162616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:31:20] local.INFO: TCP Data received {"connection_id":162616,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:31:20] local.INFO: Processing buffer {"connection_id":162616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:31:20] local.INFO: Packet analysis {"connection_id":162616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:31:20] local.INFO: Extracted packet for processing {"connection_id":162616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624954112001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:31:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708469248,"note":"Value kept but may cause issues"} 
[2026-08-25 00:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787597779000,"timestamp_ms":1787597779000,"timestamp_seconds":1787597779,"priority":1,"record_length":96,"hex_timestamp":"000001a035217038"} 
[2026-08-25 00: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-25 00:31: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-25 00:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624954112001,"66":26376,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803078807708469248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624954112001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708469248,"description":"Unknown IO ID 45"} 
[2026-08-25 00:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624954112001,"power":26376,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708469248}} 
[2026-08-25 00:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":162616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:31:20] local.INFO: GPS data processed {"connection_id":162616,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:31:20] local.INFO: Acknowledgment sent {"connection_id":162616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:31:43] local.INFO: TCP Data received {"connection_id":161372,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:31:43] local.INFO: Processing buffer {"connection_id":161372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:31:43] local.INFO: IMEI packet received {"connection_id":161372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":161372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:31:47] local.INFO: TCP Data received {"connection_id":161372,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:31:47] local.INFO: Processing buffer {"connection_id":161372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:31:47] local.INFO: IMEI packet received {"connection_id":161372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":161372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:31:48] local.INFO: TCP Data received {"connection_id":161372,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:31:48] local.INFO: Processing buffer {"connection_id":161372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:31:48] local.INFO: Packet analysis {"connection_id":161372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:31:48] local.INFO: Extracted packet for processing {"connection_id":161372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624954112001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:31:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708469248,"note":"Value kept but may cause issues"} 
[2026-08-25 00:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787597779000,"timestamp_ms":1787597779000,"timestamp_seconds":1787597779,"priority":1,"record_length":96,"hex_timestamp":"000001a035217038"} 
[2026-08-25 00:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:31: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-25 00:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:31:48] 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-25 00:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624954112001,"66":26376,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803078807708469248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624954112001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708469248,"description":"Unknown IO ID 45"} 
[2026-08-25 00:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624954112001,"power":26376,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708469248}} 
[2026-08-25 00:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":161372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:31:48] local.INFO: GPS data processed {"connection_id":161372,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:31:48] local.INFO: Acknowledgment sent {"connection_id":161372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:31:52] local.INFO: TCP Data received {"connection_id":161372,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:31:52] local.INFO: Processing buffer {"connection_id":161372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035217038012d34c9c006aa47600018012122..."} 
[2026-08-25 00:31:52] local.INFO: Packet analysis {"connection_id":161372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:31:52] local.INFO: Extracted packet for processing {"connection_id":161372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03521"} 
[2026-08-25 00:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457624954112001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:31:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708469248,"note":"Value kept but may cause issues"} 
[2026-08-25 00:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787597779000,"timestamp_ms":1787597779000,"timestamp_seconds":1787597779,"priority":1,"record_length":96,"hex_timestamp":"000001a035217038"} 
[2026-08-25 00: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-25 00:31: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-25 00: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":109,"data_length":795,"current_offset":136} 
[2026-08-25 00:31:52] 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-25 00: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-25 00: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-25 00:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457624954112001,"66":26376,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803078807708469248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457624954112001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708469248,"description":"Unknown IO ID 45"} 
[2026-08-25 00:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457624954112001,"power":26376,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708469248}} 
[2026-08-25 00:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":161372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:31:52] local.INFO: GPS data processed {"connection_id":161372,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:31:52] local.INFO: Acknowledgment sent {"connection_id":161372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:32:23] local.INFO: TCP Data received {"connection_id":161372,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:32:23] local.INFO: Processing buffer {"connection_id":161372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:32:23] local.INFO: Packet analysis {"connection_id":161372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:32:23] local.INFO: Extracted packet for processing {"connection_id":161372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:32:23] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625031424001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:32:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787598080000,"timestamp_ms":1787598080000,"timestamp_seconds":1787598080,"priority":1,"record_length":96,"hex_timestamp":"000001a035260800"} 
[2026-08-25 00: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-25 00:32: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-25 00: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-25 00:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625031424001,"66":26158,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625031424001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:32:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625031424001,"power":26158,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":161372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:32:23] local.INFO: GPS data processed {"connection_id":161372,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:32:23] local.INFO: Acknowledgment sent {"connection_id":161372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:32:41] local.INFO: TCP Data received {"connection_id":164007,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:32:41] local.INFO: Processing buffer {"connection_id":164007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:32:41] local.INFO: IMEI packet received {"connection_id":164007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":164007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:32:47] local.INFO: TCP Data received {"connection_id":164007,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:32:47] local.INFO: Processing buffer {"connection_id":164007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:32:47] local.INFO: IMEI packet received {"connection_id":164007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":164007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:32:48] local.INFO: TCP Data received {"connection_id":164007,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:32:48] local.INFO: Processing buffer {"connection_id":164007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:32:48] local.INFO: Packet analysis {"connection_id":164007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:32:48] local.INFO: Extracted packet for processing {"connection_id":164007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625031424001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:32:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787598080000,"timestamp_ms":1787598080000,"timestamp_seconds":1787598080,"priority":1,"record_length":96,"hex_timestamp":"000001a035260800"} 
[2026-08-25 00:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:32: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-25 00:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-25 00:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625031424001,"66":26158,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625031424001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625031424001,"power":26158,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":164007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:32:48] local.INFO: GPS data processed {"connection_id":164007,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:32:48] local.INFO: Acknowledgment sent {"connection_id":164007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:33:20] local.INFO: TCP Data received {"connection_id":164007,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:33:20] local.INFO: Processing buffer {"connection_id":164007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:33:20] local.INFO: Packet analysis {"connection_id":164007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:33:20] local.INFO: Extracted packet for processing {"connection_id":164007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625031424001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:33:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787598080000,"timestamp_ms":1787598080000,"timestamp_seconds":1787598080,"priority":1,"record_length":96,"hex_timestamp":"000001a035260800"} 
[2026-08-25 00: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-25 00:33: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-25 00: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-25 00:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625031424001,"66":26158,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625031424001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625031424001,"power":26158,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":164007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:33:20] local.INFO: GPS data processed {"connection_id":164007,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:33:20] local.INFO: Acknowledgment sent {"connection_id":164007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:33:47] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:33:47] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:33:47] local.INFO: IMEI packet received {"connection_id":161373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":161373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:33:52] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:33:52] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:33:52] local.INFO: IMEI packet received {"connection_id":161373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":161373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:33:52] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:33:52] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:33:52] local.INFO: Packet analysis {"connection_id":161373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:33:52] local.INFO: Extracted packet for processing {"connection_id":161373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625031424001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:33:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787598080000,"timestamp_ms":1787598080000,"timestamp_seconds":1787598080,"priority":1,"record_length":96,"hex_timestamp":"000001a035260800"} 
[2026-08-25 00:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:33: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-25 00:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-25 00:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625031424001,"66":26158,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625031424001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625031424001,"power":26158,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":161373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:33:52] local.INFO: GPS data processed {"connection_id":161373,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:33:52] local.INFO: Acknowledgment sent {"connection_id":161373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:33:57] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:33:57] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:33:57] local.INFO: Packet analysis {"connection_id":161373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:33:57] local.INFO: Extracted packet for processing {"connection_id":161373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:33:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625031424001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:33:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787598080000,"timestamp_ms":1787598080000,"timestamp_seconds":1787598080,"priority":1,"record_length":96,"hex_timestamp":"000001a035260800"} 
[2026-08-25 00:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:33: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-25 00:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-25 00:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625031424001,"66":26158,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625031424001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:33:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625031424001,"power":26158,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":161373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:33:57] local.INFO: GPS data processed {"connection_id":161373,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:33:57] local.INFO: Acknowledgment sent {"connection_id":161373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:34:42] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:34:42] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:34:42] local.INFO: IMEI packet received {"connection_id":162617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":162617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:34:47] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:34:47] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:34:47] local.INFO: IMEI packet received {"connection_id":162617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":162617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:34:48] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:34:48] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:34:48] local.INFO: Packet analysis {"connection_id":162617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:34:48] local.INFO: Extracted packet for processing {"connection_id":162617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625031424001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:34:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787598080000,"timestamp_ms":1787598080000,"timestamp_seconds":1787598080,"priority":1,"record_length":96,"hex_timestamp":"000001a035260800"} 
[2026-08-25 00:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:34: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-25 00:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-25 00:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625031424001,"66":26158,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625031424001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625031424001,"power":26158,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":162617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:34:48] local.INFO: GPS data processed {"connection_id":162617,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:34:48] local.INFO: Acknowledgment sent {"connection_id":162617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:35:19] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:35:19] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:35:19] local.INFO: Packet analysis {"connection_id":162617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:35:19] local.INFO: Extracted packet for processing {"connection_id":162617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625031424001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:35:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787598080000,"timestamp_ms":1787598080000,"timestamp_seconds":1787598080,"priority":1,"record_length":96,"hex_timestamp":"000001a035260800"} 
[2026-08-25 00:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-25 00:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625031424001,"66":26158,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625031424001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625031424001,"power":26158,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":162617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:35:19] local.INFO: GPS data processed {"connection_id":162617,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:35:19] local.INFO: Acknowledgment sent {"connection_id":162617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:35:42] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:35:42] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:35:42] local.INFO: IMEI packet received {"connection_id":162618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":162618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:35:47] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:35:47] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:35:47] local.INFO: IMEI packet received {"connection_id":162618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":162618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:35:48] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:35:48] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:35:48] local.INFO: Packet analysis {"connection_id":162618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:35:48] local.INFO: Extracted packet for processing {"connection_id":162618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625031424001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:35:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787598080000,"timestamp_ms":1787598080000,"timestamp_seconds":1787598080,"priority":1,"record_length":96,"hex_timestamp":"000001a035260800"} 
[2026-08-25 00:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:35: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-25 00:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-25 00:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625031424001,"66":26158,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625031424001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625031424001,"power":26158,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":162618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:35:48] local.INFO: GPS data processed {"connection_id":162618,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:35:48] local.INFO: Acknowledgment sent {"connection_id":162618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:36:19] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:36:19] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:36:19] local.INFO: Packet analysis {"connection_id":162618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:36:19] local.INFO: Extracted packet for processing {"connection_id":162618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:36:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625031424001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:36:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787598080000,"timestamp_ms":1787598080000,"timestamp_seconds":1787598080,"priority":1,"record_length":96,"hex_timestamp":"000001a035260800"} 
[2026-08-25 00: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-25 00:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-25 00:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625031424001,"66":26158,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625031424001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:36:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625031424001,"power":26158,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":162618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:36:19] local.INFO: GPS data processed {"connection_id":162618,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:36:19] local.INFO: Acknowledgment sent {"connection_id":162618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:36:41] local.INFO: TCP Data received {"connection_id":162619,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:36:41] local.INFO: Processing buffer {"connection_id":162619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:36:41] local.INFO: IMEI packet received {"connection_id":162619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":162619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:36:47] local.INFO: TCP Data received {"connection_id":162619,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:36:47] local.INFO: Processing buffer {"connection_id":162619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:36:47] local.INFO: IMEI packet received {"connection_id":162619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":162619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:36:47] local.INFO: TCP Data received {"connection_id":162619,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:36:47] local.INFO: Processing buffer {"connection_id":162619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035260800012d34c9c006aa47600018012125..."} 
[2026-08-25 00:36:47] local.INFO: Packet analysis {"connection_id":162619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:36:47] local.INFO: Extracted packet for processing {"connection_id":162619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03526"} 
[2026-08-25 00:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625031424001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:36:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787598080000,"timestamp_ms":1787598080000,"timestamp_seconds":1787598080,"priority":1,"record_length":96,"hex_timestamp":"000001a035260800"} 
[2026-08-25 00:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-25 00:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625031424001,"66":26158,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625031424001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625031424001,"power":26158,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":162619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:36:48] local.INFO: GPS data processed {"connection_id":162619,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:36:48] local.INFO: Acknowledgment sent {"connection_id":162619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:37:18] local.INFO: TCP Data received {"connection_id":162619,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:37:18] local.INFO: Processing buffer {"connection_id":162619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:37:18] local.INFO: Packet analysis {"connection_id":162619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:37:18] local.INFO: Extracted packet for processing {"connection_id":162619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:37:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625108480001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:37:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787598381000,"timestamp_ms":1787598381000,"timestamp_seconds":1787598381,"priority":1,"record_length":96,"hex_timestamp":"000001a0352a9fc8"} 
[2026-08-25 00: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-25 00:37: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-25 00: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 00:37:18] 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-25 00: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-25 00: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-25 00:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625108480001,"66":26060,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625108480001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:37:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625108480001,"power":26060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":162619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:37:18] local.INFO: GPS data processed {"connection_id":162619,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:37:18] local.INFO: Acknowledgment sent {"connection_id":162619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:37:41] local.INFO: TCP Data received {"connection_id":164008,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:37:41] local.INFO: Processing buffer {"connection_id":164008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:37:41] local.INFO: IMEI packet received {"connection_id":164008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":164008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:37:47] local.INFO: TCP Data received {"connection_id":164008,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:37:47] local.INFO: Processing buffer {"connection_id":164008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:37:47] local.INFO: IMEI packet received {"connection_id":164008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":164008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:37:48] local.INFO: TCP Data received {"connection_id":164008,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:37:48] local.INFO: Processing buffer {"connection_id":164008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:37:48] local.INFO: Packet analysis {"connection_id":164008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:37:48] local.INFO: Extracted packet for processing {"connection_id":164008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625108480001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:37:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787598381000,"timestamp_ms":1787598381000,"timestamp_seconds":1787598381,"priority":1,"record_length":96,"hex_timestamp":"000001a0352a9fc8"} 
[2026-08-25 00:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 00:37:48] 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-25 00:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625108480001,"66":26060,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625108480001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625108480001,"power":26060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":164008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:37:48] local.INFO: GPS data processed {"connection_id":164008,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:37:48] local.INFO: Acknowledgment sent {"connection_id":164008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:38:19] local.INFO: TCP Data received {"connection_id":164008,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:38:19] local.INFO: Processing buffer {"connection_id":164008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:38:19] local.INFO: Packet analysis {"connection_id":164008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:38:19] local.INFO: Extracted packet for processing {"connection_id":164008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625108480001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:38:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787598381000,"timestamp_ms":1787598381000,"timestamp_seconds":1787598381,"priority":1,"record_length":96,"hex_timestamp":"000001a0352a9fc8"} 
[2026-08-25 00: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-25 00:38: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-25 00: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 00:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625108480001,"66":26060,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625108480001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625108480001,"power":26060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":164008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:38:19] local.INFO: GPS data processed {"connection_id":164008,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:38:19] local.INFO: Acknowledgment sent {"connection_id":164008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:38:47] local.INFO: TCP Data received {"connection_id":161374,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:38:47] local.INFO: Processing buffer {"connection_id":161374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:38:47] local.INFO: IMEI packet received {"connection_id":161374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":161374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:38:52] local.INFO: TCP Data received {"connection_id":161374,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:38:52] local.INFO: Processing buffer {"connection_id":161374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:38:52] local.INFO: IMEI packet received {"connection_id":161374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":161374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:38:52] local.INFO: TCP Data received {"connection_id":161374,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:38:52] local.INFO: Processing buffer {"connection_id":161374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:38:52] local.INFO: Packet analysis {"connection_id":161374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:38:52] local.INFO: Extracted packet for processing {"connection_id":161374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625108480001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:38:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787598381000,"timestamp_ms":1787598381000,"timestamp_seconds":1787598381,"priority":1,"record_length":96,"hex_timestamp":"000001a0352a9fc8"} 
[2026-08-25 00:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 00:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625108480001,"66":26060,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625108480001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625108480001,"power":26060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":161374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:38:53] local.INFO: GPS data processed {"connection_id":161374,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:38:53] local.INFO: Acknowledgment sent {"connection_id":161374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:38:57] local.INFO: TCP Data received {"connection_id":161374,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:38:57] local.INFO: Processing buffer {"connection_id":161374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:38:57] local.INFO: Packet analysis {"connection_id":161374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:38:57] local.INFO: Extracted packet for processing {"connection_id":161374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:38:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625108480001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:38:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787598381000,"timestamp_ms":1787598381000,"timestamp_seconds":1787598381,"priority":1,"record_length":96,"hex_timestamp":"000001a0352a9fc8"} 
[2026-08-25 00:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 00:38:57] 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-25 00:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625108480001,"66":26060,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625108480001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:38:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625108480001,"power":26060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":161374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:38:57] local.INFO: GPS data processed {"connection_id":161374,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:38:57] local.INFO: Acknowledgment sent {"connection_id":161374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:39:42] local.INFO: TCP Data received {"connection_id":161636,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:39:42] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:39:42] local.INFO: IMEI packet received {"connection_id":161636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":161636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:39:47] local.INFO: TCP Data received {"connection_id":161636,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:39:47] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:39:47] local.INFO: IMEI packet received {"connection_id":161636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":161636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:39:47] local.INFO: TCP Data received {"connection_id":161636,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:39:47] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:39:47] local.INFO: Packet analysis {"connection_id":161636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:39:47] local.INFO: Extracted packet for processing {"connection_id":161636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625108480001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:39:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787598381000,"timestamp_ms":1787598381000,"timestamp_seconds":1787598381,"priority":1,"record_length":96,"hex_timestamp":"000001a0352a9fc8"} 
[2026-08-25 00:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:39: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-25 00:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 00:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625108480001,"66":26060,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625108480001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625108480001,"power":26060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":161636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:39:47] local.INFO: GPS data processed {"connection_id":161636,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:39:47] local.INFO: Acknowledgment sent {"connection_id":161636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:40:19] local.INFO: TCP Data received {"connection_id":161636,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:40:19] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:40:19] local.INFO: Packet analysis {"connection_id":161636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:40:19] local.INFO: Extracted packet for processing {"connection_id":161636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625108480001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:40:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787598381000,"timestamp_ms":1787598381000,"timestamp_seconds":1787598381,"priority":1,"record_length":96,"hex_timestamp":"000001a0352a9fc8"} 
[2026-08-25 00:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:40: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-25 00:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 00:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625108480001,"66":26060,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625108480001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625108480001,"power":26060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":161636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:40:19] local.INFO: GPS data processed {"connection_id":161636,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:40:19] local.INFO: Acknowledgment sent {"connection_id":161636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:40:43] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:40:43] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:40:43] local.INFO: IMEI packet received {"connection_id":161375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":161375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:40:47] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:40:47] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:40:47] local.INFO: IMEI packet received {"connection_id":161375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":161375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:40:48] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:40:48] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:40:48] local.INFO: Packet analysis {"connection_id":161375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:40:48] local.INFO: Extracted packet for processing {"connection_id":161375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625108480001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:40:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787598381000,"timestamp_ms":1787598381000,"timestamp_seconds":1787598381,"priority":1,"record_length":96,"hex_timestamp":"000001a0352a9fc8"} 
[2026-08-25 00:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 00:40:48] 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-25 00:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625108480001,"66":26060,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625108480001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625108480001,"power":26060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":161375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:40:48] local.INFO: GPS data processed {"connection_id":161375,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:40:48] local.INFO: Acknowledgment sent {"connection_id":161375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:40:52] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:40:52] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:40:52] local.INFO: Packet analysis {"connection_id":161375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:40:52] local.INFO: Extracted packet for processing {"connection_id":161375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625108480001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:40:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787598381000,"timestamp_ms":1787598381000,"timestamp_seconds":1787598381,"priority":1,"record_length":96,"hex_timestamp":"000001a0352a9fc8"} 
[2026-08-25 00: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-25 00:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 00:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625108480001,"66":26060,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625108480001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625108480001,"power":26060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":161375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:40:52] local.INFO: GPS data processed {"connection_id":161375,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:40:52] local.INFO: Acknowledgment sent {"connection_id":161375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:41:23] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:41:23] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:41:23] local.INFO: Packet analysis {"connection_id":161375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:41:23] local.INFO: Extracted packet for processing {"connection_id":161375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:41:23] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625108480001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:41:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787598381000,"timestamp_ms":1787598381000,"timestamp_seconds":1787598381,"priority":1,"record_length":96,"hex_timestamp":"000001a0352a9fc8"} 
[2026-08-25 00: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-25 00:41: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-25 00: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 00:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625108480001,"66":26060,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625108480001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:41:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625108480001,"power":26060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":161375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:41:23] local.INFO: GPS data processed {"connection_id":161375,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:41:23] local.INFO: Acknowledgment sent {"connection_id":161375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:41:41] local.INFO: TCP Data received {"connection_id":162620,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:41:41] local.INFO: Processing buffer {"connection_id":162620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:41:41] local.INFO: IMEI packet received {"connection_id":162620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":162620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:41:47] local.INFO: TCP Data received {"connection_id":162620,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:41:47] local.INFO: Processing buffer {"connection_id":162620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:41:47] local.INFO: IMEI packet received {"connection_id":162620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":162620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:41:47] local.INFO: TCP Data received {"connection_id":162620,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:41:47] local.INFO: Processing buffer {"connection_id":162620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352a9fc8012d34c9c006aa47600018012124..."} 
[2026-08-25 00:41:47] local.INFO: Packet analysis {"connection_id":162620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:41:47] local.INFO: Extracted packet for processing {"connection_id":162620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352a"} 
[2026-08-25 00:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625108480001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787598381000,"timestamp_ms":1787598381000,"timestamp_seconds":1787598381,"priority":1,"record_length":96,"hex_timestamp":"000001a0352a9fc8"} 
[2026-08-25 00:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:41: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-25 00:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 00:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625108480001,"66":26060,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625108480001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625108480001,"power":26060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":162620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:41:47] local.INFO: GPS data processed {"connection_id":162620,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:41:47] local.INFO: Acknowledgment sent {"connection_id":162620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:42:18] local.INFO: TCP Data received {"connection_id":162620,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:42:18] local.INFO: Processing buffer {"connection_id":162620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:42:18] local.INFO: Packet analysis {"connection_id":162620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:42:18] local.INFO: Extracted packet for processing {"connection_id":162620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625185536001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:42:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787598682000,"timestamp_ms":1787598682000,"timestamp_seconds":1787598682,"priority":1,"record_length":96,"hex_timestamp":"000001a0352f3790"} 
[2026-08-25 00: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-25 00:42: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-25 00: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 00:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625185536001,"66":25995,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625185536001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625185536001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":162620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:42:18] local.INFO: GPS data processed {"connection_id":162620,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:42:18] local.INFO: Acknowledgment sent {"connection_id":162620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:42:41] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:42:41] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:42:41] local.INFO: IMEI packet received {"connection_id":161376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":161376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:42:47] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:42:47] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:42:47] local.INFO: IMEI packet received {"connection_id":161376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":161376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:42:47] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:42:47] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:42:47] local.INFO: Packet analysis {"connection_id":161376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:42:47] local.INFO: Extracted packet for processing {"connection_id":161376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625185536001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:42:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787598682000,"timestamp_ms":1787598682000,"timestamp_seconds":1787598682,"priority":1,"record_length":96,"hex_timestamp":"000001a0352f3790"} 
[2026-08-25 00:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:42: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-25 00:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 00:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625185536001,"66":25995,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625185536001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625185536001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":161376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:42:47] local.INFO: GPS data processed {"connection_id":161376,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:42:47] local.INFO: Acknowledgment sent {"connection_id":161376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:43:19] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:43:19] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:43:19] local.INFO: Packet analysis {"connection_id":161376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:43:19] local.INFO: Extracted packet for processing {"connection_id":161376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625185536001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:43:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787598682000,"timestamp_ms":1787598682000,"timestamp_seconds":1787598682,"priority":1,"record_length":96,"hex_timestamp":"000001a0352f3790"} 
[2026-08-25 00:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:43: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-25 00:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 00:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625185536001,"66":25995,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625185536001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625185536001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":161376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:43:19] local.INFO: GPS data processed {"connection_id":161376,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:43:19] local.INFO: Acknowledgment sent {"connection_id":161376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:43:47] local.INFO: TCP Data received {"connection_id":162621,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:43:47] local.INFO: Processing buffer {"connection_id":162621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:43:47] local.INFO: IMEI packet received {"connection_id":162621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":162621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:43:51] local.INFO: TCP Data received {"connection_id":162621,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:43:52] local.INFO: Processing buffer {"connection_id":162621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:43:52] local.INFO: IMEI packet received {"connection_id":162621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":162621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:43:52] local.INFO: TCP Data received {"connection_id":162621,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:43:52] local.INFO: Processing buffer {"connection_id":162621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:43:52] local.INFO: Packet analysis {"connection_id":162621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:43:52] local.INFO: Extracted packet for processing {"connection_id":162621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625185536001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:43:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787598682000,"timestamp_ms":1787598682000,"timestamp_seconds":1787598682,"priority":1,"record_length":96,"hex_timestamp":"000001a0352f3790"} 
[2026-08-25 00: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-25 00:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 00:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625185536001,"66":25995,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625185536001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:43:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625185536001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":162621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:43:52] local.INFO: GPS data processed {"connection_id":162621,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:43:52] local.INFO: Acknowledgment sent {"connection_id":162621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:43:57] local.INFO: TCP Data received {"connection_id":162621,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:43:57] local.INFO: Processing buffer {"connection_id":162621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:43:57] local.INFO: Packet analysis {"connection_id":162621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:43:57] local.INFO: Extracted packet for processing {"connection_id":162621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:43:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625185536001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:43:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787598682000,"timestamp_ms":1787598682000,"timestamp_seconds":1787598682,"priority":1,"record_length":96,"hex_timestamp":"000001a0352f3790"} 
[2026-08-25 00:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 00:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625185536001,"66":25995,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625185536001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:43:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625185536001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":162621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:43:57] local.INFO: GPS data processed {"connection_id":162621,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:43:57] local.INFO: Acknowledgment sent {"connection_id":162621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:44:42] local.INFO: TCP Data received {"connection_id":164009,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:44:42] local.INFO: Processing buffer {"connection_id":164009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:44:42] local.INFO: IMEI packet received {"connection_id":164009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":164009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:44:47] local.INFO: TCP Data received {"connection_id":164009,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:44:47] local.INFO: Processing buffer {"connection_id":164009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:44:47] local.INFO: IMEI packet received {"connection_id":164009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":164009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:44:48] local.INFO: TCP Data received {"connection_id":164009,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:44:48] local.INFO: Processing buffer {"connection_id":164009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:44:48] local.INFO: Packet analysis {"connection_id":164009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:44:48] local.INFO: Extracted packet for processing {"connection_id":164009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625185536001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:44:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787598682000,"timestamp_ms":1787598682000,"timestamp_seconds":1787598682,"priority":1,"record_length":96,"hex_timestamp":"000001a0352f3790"} 
[2026-08-25 00:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 00:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625185536001,"66":25995,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625185536001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625185536001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":164009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:44:48] local.INFO: GPS data processed {"connection_id":164009,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:44:48] local.INFO: Acknowledgment sent {"connection_id":164009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:45:19] local.INFO: TCP Data received {"connection_id":164009,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:45:19] local.INFO: Processing buffer {"connection_id":164009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:45:19] local.INFO: Packet analysis {"connection_id":164009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:45:19] local.INFO: Extracted packet for processing {"connection_id":164009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625185536001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:45:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787598682000,"timestamp_ms":1787598682000,"timestamp_seconds":1787598682,"priority":1,"record_length":96,"hex_timestamp":"000001a0352f3790"} 
[2026-08-25 00:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:45: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-25 00:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 00:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625185536001,"66":25995,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625185536001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625185536001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":164009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:45:19] local.INFO: GPS data processed {"connection_id":164009,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:45:19] local.INFO: Acknowledgment sent {"connection_id":164009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:45:42] local.INFO: TCP Data received {"connection_id":164010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:45:42] local.INFO: Processing buffer {"connection_id":164010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:45:42] local.INFO: IMEI packet received {"connection_id":164010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":164010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:45:47] local.INFO: TCP Data received {"connection_id":164010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:45:47] local.INFO: Processing buffer {"connection_id":164010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:45:47] local.INFO: IMEI packet received {"connection_id":164010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":164010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:45:48] local.INFO: TCP Data received {"connection_id":164010,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:45:48] local.INFO: Processing buffer {"connection_id":164010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:45:48] local.INFO: Packet analysis {"connection_id":164010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:45:48] local.INFO: Extracted packet for processing {"connection_id":164010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625185536001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:45:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787598682000,"timestamp_ms":1787598682000,"timestamp_seconds":1787598682,"priority":1,"record_length":96,"hex_timestamp":"000001a0352f3790"} 
[2026-08-25 00:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 00:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625185536001,"66":25995,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625185536001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625185536001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":164010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:45:48] local.INFO: GPS data processed {"connection_id":164010,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:45:48] local.INFO: Acknowledgment sent {"connection_id":164010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:46:19] local.INFO: TCP Data received {"connection_id":164010,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:46:19] local.INFO: Processing buffer {"connection_id":164010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:46:19] local.INFO: Packet analysis {"connection_id":164010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:46:19] local.INFO: Extracted packet for processing {"connection_id":164010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625185536001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:46:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787598682000,"timestamp_ms":1787598682000,"timestamp_seconds":1787598682,"priority":1,"record_length":96,"hex_timestamp":"000001a0352f3790"} 
[2026-08-25 00:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:46: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-25 00:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 00:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625185536001,"66":25995,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625185536001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625185536001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":164010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:46:19] local.INFO: GPS data processed {"connection_id":164010,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:46:19] local.INFO: Acknowledgment sent {"connection_id":164010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:46:41] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:46:41] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:46:41] local.INFO: IMEI packet received {"connection_id":161377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":161377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:46:47] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:46:47] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:46:47] local.INFO: IMEI packet received {"connection_id":161377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":161377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:46:48] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:46:48] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0352f3790012d34c9c006aa47600018012127..."} 
[2026-08-25 00:46:48] local.INFO: Packet analysis {"connection_id":161377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:46:48] local.INFO: Extracted packet for processing {"connection_id":161377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0352f"} 
[2026-08-25 00:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625185536001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:46:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 00:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 00:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787598682000,"timestamp_ms":1787598682000,"timestamp_seconds":1787598682,"priority":1,"record_length":96,"hex_timestamp":"000001a0352f3790"} 
[2026-08-25 00: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-25 00:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 00:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00: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-25 00: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-25 00:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625185536001,"66":25995,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 00:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625185536001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625185536001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":161377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:46:48] local.INFO: GPS data processed {"connection_id":161377,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:46:48] local.INFO: Acknowledgment sent {"connection_id":161377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:47:20] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:47:20] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:47:20] local.INFO: Packet analysis {"connection_id":161377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:47:20] local.INFO: Extracted packet for processing {"connection_id":161377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625262592001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787598983000,"timestamp_ms":1787598983000,"timestamp_seconds":1787598983,"priority":1,"record_length":96,"hex_timestamp":"000001a03533cf58"} 
[2026-08-25 00: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-25 00:47: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-25 00: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 00:47: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-25 00: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-25 00: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-25 00:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625262592001,"66":25973,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625262592001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:47:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625262592001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":161377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:47:20] local.INFO: GPS data processed {"connection_id":161377,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:47:20] local.INFO: Acknowledgment sent {"connection_id":161377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:47:42] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:47:42] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:47:42] local.INFO: IMEI packet received {"connection_id":161637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":161637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:47:47] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:47:47] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:47:47] local.INFO: IMEI packet received {"connection_id":161637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":161637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:47:48] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:47:48] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:47:48] local.INFO: Packet analysis {"connection_id":161637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:47:48] local.INFO: Extracted packet for processing {"connection_id":161637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625262592001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787598983000,"timestamp_ms":1787598983000,"timestamp_seconds":1787598983,"priority":1,"record_length":96,"hex_timestamp":"000001a03533cf58"} 
[2026-08-25 00:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 00:47:48] 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-25 00:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625262592001,"66":25973,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625262592001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:47:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625262592001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":161637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:47:48] local.INFO: GPS data processed {"connection_id":161637,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:47:48] local.INFO: Acknowledgment sent {"connection_id":161637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:48:19] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:48:19] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:48:19] local.INFO: Packet analysis {"connection_id":161637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:48:19] local.INFO: Extracted packet for processing {"connection_id":161637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625262592001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787598983000,"timestamp_ms":1787598983000,"timestamp_seconds":1787598983,"priority":1,"record_length":96,"hex_timestamp":"000001a03533cf58"} 
[2026-08-25 00: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-25 00:48: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-25 00: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 00:48: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-25 00: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-25 00: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-25 00:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625262592001,"66":25973,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625262592001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:48:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625262592001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":161637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:48:19] local.INFO: GPS data processed {"connection_id":161637,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:48:19] local.INFO: Acknowledgment sent {"connection_id":161637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:48:41] local.INFO: TCP Data received {"connection_id":162622,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:48:41] local.INFO: Processing buffer {"connection_id":162622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:48:41] local.INFO: IMEI packet received {"connection_id":162622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":162622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:48:47] local.INFO: TCP Data received {"connection_id":162622,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:48:47] local.INFO: Processing buffer {"connection_id":162622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:48:47] local.INFO: IMEI packet received {"connection_id":162622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":162622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:48:47] local.INFO: TCP Data received {"connection_id":162622,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:48:47] local.INFO: Processing buffer {"connection_id":162622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:48:47] local.INFO: Packet analysis {"connection_id":162622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:48:47] local.INFO: Extracted packet for processing {"connection_id":162622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625262592001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787598983000,"timestamp_ms":1787598983000,"timestamp_seconds":1787598983,"priority":1,"record_length":96,"hex_timestamp":"000001a03533cf58"} 
[2026-08-25 00:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:48: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-25 00:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 00:48:47] 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-25 00:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625262592001,"66":25973,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625262592001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:48:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625262592001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":162622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:48:48] local.INFO: GPS data processed {"connection_id":162622,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:48:48] local.INFO: Acknowledgment sent {"connection_id":162622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:49:19] local.INFO: TCP Data received {"connection_id":162622,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:49:19] local.INFO: Processing buffer {"connection_id":162622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:49:19] local.INFO: Packet analysis {"connection_id":162622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:49:19] local.INFO: Extracted packet for processing {"connection_id":162622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625262592001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787598983000,"timestamp_ms":1787598983000,"timestamp_seconds":1787598983,"priority":1,"record_length":96,"hex_timestamp":"000001a03533cf58"} 
[2026-08-25 00:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:49: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-25 00:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 00:49: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-25 00:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625262592001,"66":25973,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625262592001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625262592001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":162622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:49:19] local.INFO: GPS data processed {"connection_id":162622,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:49:19] local.INFO: Acknowledgment sent {"connection_id":162622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:49:41] local.INFO: TCP Data received {"connection_id":161378,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:49:41] local.INFO: Processing buffer {"connection_id":161378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:49:41] local.INFO: IMEI packet received {"connection_id":161378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":161378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:49:47] local.INFO: TCP Data received {"connection_id":161378,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:49:47] local.INFO: Processing buffer {"connection_id":161378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:49:47] local.INFO: IMEI packet received {"connection_id":161378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":161378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:49:47] local.INFO: TCP Data received {"connection_id":161378,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:49:47] local.INFO: Processing buffer {"connection_id":161378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:49:47] local.INFO: Packet analysis {"connection_id":161378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:49:47] local.INFO: Extracted packet for processing {"connection_id":161378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625262592001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787598983000,"timestamp_ms":1787598983000,"timestamp_seconds":1787598983,"priority":1,"record_length":96,"hex_timestamp":"000001a03533cf58"} 
[2026-08-25 00:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:49: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-25 00:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 00:49:47] 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-25 00:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625262592001,"66":25973,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625262592001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:49:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625262592001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":161378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:49:47] local.INFO: GPS data processed {"connection_id":161378,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:49:47] local.INFO: Acknowledgment sent {"connection_id":161378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:50:19] local.INFO: TCP Data received {"connection_id":161378,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:50:19] local.INFO: Processing buffer {"connection_id":161378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:50:19] local.INFO: Packet analysis {"connection_id":161378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:50:19] local.INFO: Extracted packet for processing {"connection_id":161378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:50:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625262592001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787598983000,"timestamp_ms":1787598983000,"timestamp_seconds":1787598983,"priority":1,"record_length":96,"hex_timestamp":"000001a03533cf58"} 
[2026-08-25 00:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:50: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-25 00:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 00:50: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-25 00:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625262592001,"66":25973,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625262592001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:50:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:50:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625262592001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":161378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:50:19] local.INFO: GPS data processed {"connection_id":161378,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:50:19] local.INFO: Acknowledgment sent {"connection_id":161378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:50:47] local.INFO: TCP Data received {"connection_id":161638,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:50:47] local.INFO: Processing buffer {"connection_id":161638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:50:47] local.INFO: IMEI packet received {"connection_id":161638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":161638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:50:52] local.INFO: TCP Data received {"connection_id":161638,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:50:52] local.INFO: Processing buffer {"connection_id":161638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:50:52] local.INFO: IMEI packet received {"connection_id":161638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":161638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:50:53] local.INFO: TCP Data received {"connection_id":161638,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:50:53] local.INFO: Processing buffer {"connection_id":161638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:50:53] local.INFO: Packet analysis {"connection_id":161638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:50:53] local.INFO: Extracted packet for processing {"connection_id":161638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625262592001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787598983000,"timestamp_ms":1787598983000,"timestamp_seconds":1787598983,"priority":1,"record_length":96,"hex_timestamp":"000001a03533cf58"} 
[2026-08-25 00:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:50: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-25 00:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 00:50:53] 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-25 00:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625262592001,"66":25973,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625262592001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:50:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625262592001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":161638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:50:53] local.INFO: GPS data processed {"connection_id":161638,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:50:53] local.INFO: Acknowledgment sent {"connection_id":161638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:51:24] local.INFO: TCP Data received {"connection_id":161638,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:51:24] local.INFO: Processing buffer {"connection_id":161638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:51:24] local.INFO: Packet analysis {"connection_id":161638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:51:24] local.INFO: Extracted packet for processing {"connection_id":161638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625262592001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787598983000,"timestamp_ms":1787598983000,"timestamp_seconds":1787598983,"priority":1,"record_length":96,"hex_timestamp":"000001a03533cf58"} 
[2026-08-25 00:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 00:51:24] 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-25 00:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625262592001,"66":25973,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625262592001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:51:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625262592001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":161638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:51:24] local.INFO: GPS data processed {"connection_id":161638,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:51:24] local.INFO: Acknowledgment sent {"connection_id":161638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:51:42] local.INFO: TCP Data received {"connection_id":161379,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:51:42] local.INFO: Processing buffer {"connection_id":161379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:51:42] local.INFO: IMEI packet received {"connection_id":161379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":161379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:51:47] local.INFO: TCP Data received {"connection_id":161379,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:51:47] local.INFO: Processing buffer {"connection_id":161379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:51:47] local.INFO: IMEI packet received {"connection_id":161379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":161379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:51:47] local.INFO: TCP Data received {"connection_id":161379,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:51:47] local.INFO: Processing buffer {"connection_id":161379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03533cf58012d34c9c006aa47600018012128..."} 
[2026-08-25 00:51:47] local.INFO: Packet analysis {"connection_id":161379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:51:47] local.INFO: Extracted packet for processing {"connection_id":161379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03533"} 
[2026-08-25 00:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625262592001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787598983000,"timestamp_ms":1787598983000,"timestamp_seconds":1787598983,"priority":1,"record_length":96,"hex_timestamp":"000001a03533cf58"} 
[2026-08-25 00:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:51: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-25 00:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 00:51:47] 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-25 00:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625262592001,"66":25973,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625262592001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:51:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625262592001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":161379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:51:47] local.INFO: GPS data processed {"connection_id":161379,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:51:47] local.INFO: Acknowledgment sent {"connection_id":161379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:52:18] local.INFO: TCP Data received {"connection_id":161379,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:52:18] local.INFO: Processing buffer {"connection_id":161379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:52:18] local.INFO: Packet analysis {"connection_id":161379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:52:18] local.INFO: Extracted packet for processing {"connection_id":161379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625339648001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787599284000,"timestamp_ms":1787599284000,"timestamp_seconds":1787599284,"priority":1,"record_length":96,"hex_timestamp":"000001a035386720"} 
[2026-08-25 00:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:52: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-25 00:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 00:52:18] 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-25 00:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625339648001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625339648001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:52:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625339648001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":161379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:52:19] local.INFO: GPS data processed {"connection_id":161379,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:52:19] local.INFO: Acknowledgment sent {"connection_id":161379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:52:41] local.INFO: TCP Data received {"connection_id":162623,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:52:41] local.INFO: Processing buffer {"connection_id":162623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:52:41] local.INFO: IMEI packet received {"connection_id":162623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":162623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:52:47] local.INFO: TCP Data received {"connection_id":162623,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:52:47] local.INFO: Processing buffer {"connection_id":162623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:52:47] local.INFO: IMEI packet received {"connection_id":162623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":162623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:52:48] local.INFO: TCP Data received {"connection_id":162623,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:52:48] local.INFO: Processing buffer {"connection_id":162623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:52:48] local.INFO: Packet analysis {"connection_id":162623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:52:48] local.INFO: Extracted packet for processing {"connection_id":162623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625339648001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787599284000,"timestamp_ms":1787599284000,"timestamp_seconds":1787599284,"priority":1,"record_length":96,"hex_timestamp":"000001a035386720"} 
[2026-08-25 00:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 00:52:48] 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-25 00:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625339648001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625339648001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625339648001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":162623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:52:48] local.INFO: GPS data processed {"connection_id":162623,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:52:48] local.INFO: Acknowledgment sent {"connection_id":162623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:53:19] local.INFO: TCP Data received {"connection_id":162623,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:53:19] local.INFO: Processing buffer {"connection_id":162623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:53:19] local.INFO: Packet analysis {"connection_id":162623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:53:19] local.INFO: Extracted packet for processing {"connection_id":162623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625339648001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787599284000,"timestamp_ms":1787599284000,"timestamp_seconds":1787599284,"priority":1,"record_length":96,"hex_timestamp":"000001a035386720"} 
[2026-08-25 00: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-25 00:53: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-25 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 00:53:19] 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-25 00: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-25 00: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-25 00:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625339648001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625339648001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:53:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625339648001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":162623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:53:19] local.INFO: GPS data processed {"connection_id":162623,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:53:19] local.INFO: Acknowledgment sent {"connection_id":162623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:53:41] local.INFO: TCP Data received {"connection_id":161380,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:53:41] local.INFO: Processing buffer {"connection_id":161380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:53:41] local.INFO: IMEI packet received {"connection_id":161380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":161380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:53:47] local.INFO: TCP Data received {"connection_id":161380,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:53:47] local.INFO: Processing buffer {"connection_id":161380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:53:47] local.INFO: IMEI packet received {"connection_id":161380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":161380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:53:48] local.INFO: TCP Data received {"connection_id":161380,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:53:48] local.INFO: Processing buffer {"connection_id":161380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:53:48] local.INFO: Packet analysis {"connection_id":161380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:53:48] local.INFO: Extracted packet for processing {"connection_id":161380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625339648001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787599284000,"timestamp_ms":1787599284000,"timestamp_seconds":1787599284,"priority":1,"record_length":96,"hex_timestamp":"000001a035386720"} 
[2026-08-25 00:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 00:53:48] 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-25 00:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625339648001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625339648001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:53:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625339648001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":161380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:53:48] local.INFO: GPS data processed {"connection_id":161380,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:53:48] local.INFO: Acknowledgment sent {"connection_id":161380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:54:19] local.INFO: TCP Data received {"connection_id":161380,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:54:19] local.INFO: Processing buffer {"connection_id":161380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:54:19] local.INFO: Packet analysis {"connection_id":161380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:54:19] local.INFO: Extracted packet for processing {"connection_id":161380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:54:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625339648001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787599284000,"timestamp_ms":1787599284000,"timestamp_seconds":1787599284,"priority":1,"record_length":96,"hex_timestamp":"000001a035386720"} 
[2026-08-25 00:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:54: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-25 00:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 00:54:19] 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-25 00:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625339648001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625339648001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:54:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:54:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625339648001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":161380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:54:19] local.INFO: GPS data processed {"connection_id":161380,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:54:19] local.INFO: Acknowledgment sent {"connection_id":161380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:54:47] local.INFO: TCP Data received {"connection_id":164011,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:54:47] local.INFO: Processing buffer {"connection_id":164011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:54:47] local.INFO: IMEI packet received {"connection_id":164011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":164011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:54:52] local.INFO: TCP Data received {"connection_id":164011,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:54:52] local.INFO: Processing buffer {"connection_id":164011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:54:52] local.INFO: IMEI packet received {"connection_id":164011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":164011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:54:52] local.INFO: TCP Data received {"connection_id":164011,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:54:52] local.INFO: Processing buffer {"connection_id":164011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:54:52] local.INFO: Packet analysis {"connection_id":164011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:54:52] local.INFO: Extracted packet for processing {"connection_id":164011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625339648001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787599284000,"timestamp_ms":1787599284000,"timestamp_seconds":1787599284,"priority":1,"record_length":96,"hex_timestamp":"000001a035386720"} 
[2026-08-25 00: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-25 00:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 00:54:52] 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-25 00: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-25 00: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-25 00:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625339648001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625339648001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:54:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625339648001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":164011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:54:52] local.INFO: GPS data processed {"connection_id":164011,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:54:52] local.INFO: Acknowledgment sent {"connection_id":164011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:54:58] local.INFO: TCP Data received {"connection_id":164011,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:54:58] local.INFO: Processing buffer {"connection_id":164011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:54:58] local.INFO: Packet analysis {"connection_id":164011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:54:58] local.INFO: Extracted packet for processing {"connection_id":164011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:54:58] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00: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-25 00:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625339648001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787599284000,"timestamp_ms":1787599284000,"timestamp_seconds":1787599284,"priority":1,"record_length":96,"hex_timestamp":"000001a035386720"} 
[2026-08-25 00: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-25 00:54: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-25 00: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 00:54:58] 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-25 00: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-25 00: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-25 00:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625339648001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625339648001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:54:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:54:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625339648001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":164011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:54:58] local.INFO: GPS data processed {"connection_id":164011,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:54:58] local.INFO: Acknowledgment sent {"connection_id":164011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:55:42] local.INFO: TCP Data received {"connection_id":162624,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:55:42] local.INFO: Processing buffer {"connection_id":162624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:55:42] local.INFO: IMEI packet received {"connection_id":162624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":162624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:55:47] local.INFO: TCP Data received {"connection_id":162624,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:55:47] local.INFO: Processing buffer {"connection_id":162624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:55:47] local.INFO: IMEI packet received {"connection_id":162624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":162624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:55:48] local.INFO: TCP Data received {"connection_id":162624,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:55:48] local.INFO: Processing buffer {"connection_id":162624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:55:48] local.INFO: Packet analysis {"connection_id":162624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:55:48] local.INFO: Extracted packet for processing {"connection_id":162624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625339648001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787599284000,"timestamp_ms":1787599284000,"timestamp_seconds":1787599284,"priority":1,"record_length":96,"hex_timestamp":"000001a035386720"} 
[2026-08-25 00:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 00:55:48] 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-25 00:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625339648001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625339648001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:55:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625339648001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":162624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:55:48] local.INFO: GPS data processed {"connection_id":162624,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:55:48] local.INFO: Acknowledgment sent {"connection_id":162624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:56:19] local.INFO: TCP Data received {"connection_id":162624,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:56:19] local.INFO: Processing buffer {"connection_id":162624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:56:19] local.INFO: Packet analysis {"connection_id":162624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:56:19] local.INFO: Extracted packet for processing {"connection_id":162624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625339648001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787599284000,"timestamp_ms":1787599284000,"timestamp_seconds":1787599284,"priority":1,"record_length":96,"hex_timestamp":"000001a035386720"} 
[2026-08-25 00:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:56: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-25 00:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 00:56:19] 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-25 00:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625339648001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625339648001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:56:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625339648001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":162624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:56:19] local.INFO: GPS data processed {"connection_id":162624,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:56:19] local.INFO: Acknowledgment sent {"connection_id":162624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:56:42] local.INFO: TCP Data received {"connection_id":162625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:56:42] local.INFO: Processing buffer {"connection_id":162625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:56:42] local.INFO: IMEI packet received {"connection_id":162625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":162625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:56:47] local.INFO: TCP Data received {"connection_id":162625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:56:47] local.INFO: Processing buffer {"connection_id":162625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:56:47] local.INFO: IMEI packet received {"connection_id":162625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":162625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:56:47] local.INFO: TCP Data received {"connection_id":162625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:56:47] local.INFO: Processing buffer {"connection_id":162625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035386720012d34c9c006aa47600018012128..."} 
[2026-08-25 00:56:47] local.INFO: Packet analysis {"connection_id":162625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:56:47] local.INFO: Extracted packet for processing {"connection_id":162625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03538"} 
[2026-08-25 00:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625339648001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787599284000,"timestamp_ms":1787599284000,"timestamp_seconds":1787599284,"priority":1,"record_length":96,"hex_timestamp":"000001a035386720"} 
[2026-08-25 00:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:56: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-25 00:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 00:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625339648001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625339648001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:56:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625339648001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":162625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:56:47] local.INFO: GPS data processed {"connection_id":162625,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:56:47] local.INFO: Acknowledgment sent {"connection_id":162625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:57:19] local.INFO: TCP Data received {"connection_id":162625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:57:19] local.INFO: Processing buffer {"connection_id":162625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:57:19] local.INFO: Packet analysis {"connection_id":162625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 00:57:19] local.INFO: Extracted packet for processing {"connection_id":162625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 00:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625416704001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787599585000,"timestamp_ms":1787599585000,"timestamp_seconds":1787599585,"priority":1,"record_length":96,"hex_timestamp":"000001a0353cfee8"} 
[2026-08-25 00:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:57: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-25 00:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 00:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625416704001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625416704001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:57:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625416704001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":162625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:57:19] local.INFO: GPS data processed {"connection_id":162625,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:57:19] local.INFO: Acknowledgment sent {"connection_id":162625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:57:41] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:57:41] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:57:41] local.INFO: IMEI packet received {"connection_id":161639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":161639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:57:47] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:57:47] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:57:47] local.INFO: IMEI packet received {"connection_id":161639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":161639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:57:48] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:57:48] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:57:48] local.INFO: Packet analysis {"connection_id":161639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 00:57:48] local.INFO: Extracted packet for processing {"connection_id":161639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 00:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625416704001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787599585000,"timestamp_ms":1787599585000,"timestamp_seconds":1787599585,"priority":1,"record_length":96,"hex_timestamp":"000001a0353cfee8"} 
[2026-08-25 00:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 00:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625416704001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625416704001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:57:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625416704001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":161639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:57:48] local.INFO: GPS data processed {"connection_id":161639,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:57:48] local.INFO: Acknowledgment sent {"connection_id":161639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:58:18] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:58:18] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:58:18] local.INFO: Packet analysis {"connection_id":161639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 00:58:18] local.INFO: Extracted packet for processing {"connection_id":161639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 00:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625416704001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787599585000,"timestamp_ms":1787599585000,"timestamp_seconds":1787599585,"priority":1,"record_length":96,"hex_timestamp":"000001a0353cfee8"} 
[2026-08-25 00:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:58: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-25 00:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 00:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625416704001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625416704001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:58:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625416704001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":161639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:58:18] local.INFO: GPS data processed {"connection_id":161639,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:58:18] local.INFO: Acknowledgment sent {"connection_id":161639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:58:47] local.INFO: TCP Data received {"connection_id":161381,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:58:47] local.INFO: Processing buffer {"connection_id":161381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:58:47] local.INFO: IMEI packet received {"connection_id":161381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":161381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:58:52] local.INFO: TCP Data received {"connection_id":161381,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:58:52] local.INFO: Processing buffer {"connection_id":161381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:58:52] local.INFO: IMEI packet received {"connection_id":161381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":161381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:58:52] local.INFO: TCP Data received {"connection_id":161381,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:58:52] local.INFO: Processing buffer {"connection_id":161381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:58:52] local.INFO: Packet analysis {"connection_id":161381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 00:58:52] local.INFO: Extracted packet for processing {"connection_id":161381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 00:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625416704001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787599585000,"timestamp_ms":1787599585000,"timestamp_seconds":1787599585,"priority":1,"record_length":96,"hex_timestamp":"000001a0353cfee8"} 
[2026-08-25 00:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 00:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625416704001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625416704001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:58:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625416704001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":161381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:58:52] local.INFO: GPS data processed {"connection_id":161381,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:58:52] local.INFO: Acknowledgment sent {"connection_id":161381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:58:57] local.INFO: TCP Data received {"connection_id":161381,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:58:57] local.INFO: Processing buffer {"connection_id":161381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:58:57] local.INFO: Packet analysis {"connection_id":161381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 00:58:57] local.INFO: Extracted packet for processing {"connection_id":161381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 00:58:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625416704001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787599585000,"timestamp_ms":1787599585000,"timestamp_seconds":1787599585,"priority":1,"record_length":96,"hex_timestamp":"000001a0353cfee8"} 
[2026-08-25 00:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 00:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 00:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625416704001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625416704001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:58:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:58:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625416704001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":161381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:58:57] local.INFO: GPS data processed {"connection_id":161381,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:58:57] local.INFO: Acknowledgment sent {"connection_id":161381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 00:59:42] local.INFO: TCP Data received {"connection_id":161640,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:59:42] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:59:42] local.INFO: IMEI packet received {"connection_id":161640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 00:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":161640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 00:59:47] local.INFO: TCP Data received {"connection_id":161640,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:59:47] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 00:59:47] local.INFO: IMEI packet received {"connection_id":161640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 00:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":161640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 00:59:47] local.INFO: TCP Data received {"connection_id":161640,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:59:47] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 00:59:47] local.INFO: Packet analysis {"connection_id":161640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 00:59:47] local.INFO: Extracted packet for processing {"connection_id":161640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 00:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 00:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 00:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625416704001,"note":"Value kept but may cause issues"} 
[2026-08-25 00:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 00:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 00:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 00:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787599585000,"timestamp_ms":1787599585000,"timestamp_seconds":1787599585,"priority":1,"record_length":96,"hex_timestamp":"000001a0353cfee8"} 
[2026-08-25 00:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 00:59: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-25 00:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 00:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 00:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 00:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 00:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 00:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 00:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 00:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 00:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 00:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 00:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625416704001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 00:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 00:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 00:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625416704001,"description":"Unknown IO ID 0"} 
[2026-08-25 00:59:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 00:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 00:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 00:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 00:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625416704001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 00:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":161640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 00:59:47] local.INFO: GPS data processed {"connection_id":161640,"processed":1,"errors":0,"total":1} 
[2026-08-25 00:59:47] local.INFO: Acknowledgment sent {"connection_id":161640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:00:20] local.INFO: TCP Data received {"connection_id":161640,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 01:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 01:00:20] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 01:00:20] local.INFO: Packet analysis {"connection_id":161640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 01:00:20] local.INFO: Extracted packet for processing {"connection_id":161640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 01:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625416704001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787599585000,"timestamp_ms":1787599585000,"timestamp_seconds":1787599585,"priority":1,"record_length":96,"hex_timestamp":"000001a0353cfee8"} 
[2026-08-25 01: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-25 01:00: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-25 01: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625416704001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625416704001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:00:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625416704001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":161640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:00:20] local.INFO: GPS data processed {"connection_id":161640,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:00:20] local.INFO: Acknowledgment sent {"connection_id":161640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:00:42] local.INFO: TCP Data received {"connection_id":161382,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:00:42] local.INFO: Processing buffer {"connection_id":161382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:00:42] local.INFO: IMEI packet received {"connection_id":161382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":161382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:00:46] local.INFO: TCP Data received {"connection_id":161382,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:00:46] local.INFO: Processing buffer {"connection_id":161382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:00:46] local.INFO: IMEI packet received {"connection_id":161382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":161382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:00:47] local.INFO: TCP Data received {"connection_id":161382,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 01:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 01:00:47] local.INFO: Processing buffer {"connection_id":161382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 01:00:47] local.INFO: Packet analysis {"connection_id":161382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 01:00:47] local.INFO: Extracted packet for processing {"connection_id":161382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 01:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625416704001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787599585000,"timestamp_ms":1787599585000,"timestamp_seconds":1787599585,"priority":1,"record_length":96,"hex_timestamp":"000001a0353cfee8"} 
[2026-08-25 01:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:00: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-25 01:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625416704001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625416704001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:00:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625416704001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":161382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:00:47] local.INFO: GPS data processed {"connection_id":161382,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:00:47] local.INFO: Acknowledgment sent {"connection_id":161382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:01:19] local.INFO: TCP Data received {"connection_id":161382,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 01:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 01:01:19] local.INFO: Processing buffer {"connection_id":161382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 01:01:19] local.INFO: Packet analysis {"connection_id":161382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 01:01:19] local.INFO: Extracted packet for processing {"connection_id":161382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 01:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625416704001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787599585000,"timestamp_ms":1787599585000,"timestamp_seconds":1787599585,"priority":1,"record_length":96,"hex_timestamp":"000001a0353cfee8"} 
[2026-08-25 01:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:01: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-25 01:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625416704001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625416704001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625416704001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":161382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:01:19] local.INFO: GPS data processed {"connection_id":161382,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:01:19] local.INFO: Acknowledgment sent {"connection_id":161382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:01:41] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:01:41] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:01:41] local.INFO: IMEI packet received {"connection_id":161641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":161641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:01:47] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:01:47] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:01:47] local.INFO: IMEI packet received {"connection_id":161641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":161641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:01:47] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 01:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 01:01:47] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0353cfee8012d34c9c006aa47600018012125..."} 
[2026-08-25 01:01:47] local.INFO: Packet analysis {"connection_id":161641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 01:01:47] local.INFO: Extracted packet for processing {"connection_id":161641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0353c"} 
[2026-08-25 01:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625416704001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787599585000,"timestamp_ms":1787599585000,"timestamp_seconds":1787599585,"priority":1,"record_length":96,"hex_timestamp":"000001a0353cfee8"} 
[2026-08-25 01: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-25 01:01: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-25 01: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625416704001,"66":25908,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625416704001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:01:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625416704001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":161641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:01:47] local.INFO: GPS data processed {"connection_id":161641,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:01:47] local.INFO: Acknowledgment sent {"connection_id":161641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:02:19] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:02:19] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:02:19] local.INFO: Packet analysis {"connection_id":161641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:02:19] local.INFO: Extracted packet for processing {"connection_id":161641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:02:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625493760001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787599886000,"timestamp_ms":1787599886000,"timestamp_seconds":1787599886,"priority":1,"record_length":96,"hex_timestamp":"000001a0354196b0"} 
[2026-08-25 01: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-25 01:02: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-25 01: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625493760001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625493760001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:02:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:02:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625493760001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":161641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:02:19] local.INFO: GPS data processed {"connection_id":161641,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:02:19] local.INFO: Acknowledgment sent {"connection_id":161641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:02:41] local.INFO: TCP Data received {"connection_id":164012,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:02:41] local.INFO: Processing buffer {"connection_id":164012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:02:41] local.INFO: IMEI packet received {"connection_id":164012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":164012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:02:46] local.INFO: TCP Data received {"connection_id":164012,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:02:46] local.INFO: Processing buffer {"connection_id":164012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:02:46] local.INFO: IMEI packet received {"connection_id":164012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":164012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:02:47] local.INFO: TCP Data received {"connection_id":164012,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:02:47] local.INFO: Processing buffer {"connection_id":164012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:02:47] local.INFO: Packet analysis {"connection_id":164012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:02:47] local.INFO: Extracted packet for processing {"connection_id":164012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625493760001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787599886000,"timestamp_ms":1787599886000,"timestamp_seconds":1787599886,"priority":1,"record_length":96,"hex_timestamp":"000001a0354196b0"} 
[2026-08-25 01: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-25 01:02: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-25 01: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625493760001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625493760001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:02:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625493760001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":164012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:02:47] local.INFO: GPS data processed {"connection_id":164012,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:02:47] local.INFO: Acknowledgment sent {"connection_id":164012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:03:19] local.INFO: TCP Data received {"connection_id":164012,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:03:19] local.INFO: Processing buffer {"connection_id":164012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:03:19] local.INFO: Packet analysis {"connection_id":164012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:03:19] local.INFO: Extracted packet for processing {"connection_id":164012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625493760001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787599886000,"timestamp_ms":1787599886000,"timestamp_seconds":1787599886,"priority":1,"record_length":96,"hex_timestamp":"000001a0354196b0"} 
[2026-08-25 01: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-25 01:03: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-25 01: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625493760001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625493760001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:03:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625493760001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":164012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:03:19] local.INFO: GPS data processed {"connection_id":164012,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:03:19] local.INFO: Acknowledgment sent {"connection_id":164012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:03:46] local.INFO: TCP Data received {"connection_id":161383,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:03:46] local.INFO: Processing buffer {"connection_id":161383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:03:46] local.INFO: IMEI packet received {"connection_id":161383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":161383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:03:51] local.INFO: TCP Data received {"connection_id":161383,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:03:51] local.INFO: Processing buffer {"connection_id":161383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:03:51] local.INFO: IMEI packet received {"connection_id":161383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":161383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:03:52] local.INFO: TCP Data received {"connection_id":161383,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:03:52] local.INFO: Processing buffer {"connection_id":161383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:03:52] local.INFO: Packet analysis {"connection_id":161383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:03:52] local.INFO: Extracted packet for processing {"connection_id":161383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625493760001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787599886000,"timestamp_ms":1787599886000,"timestamp_seconds":1787599886,"priority":1,"record_length":96,"hex_timestamp":"000001a0354196b0"} 
[2026-08-25 01:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625493760001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625493760001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:03:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625493760001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":161383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:03:53] local.INFO: GPS data processed {"connection_id":161383,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:03:53] local.INFO: Acknowledgment sent {"connection_id":161383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:03:57] local.INFO: TCP Data received {"connection_id":161383,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:03:57] local.INFO: Processing buffer {"connection_id":161383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:03:57] local.INFO: Packet analysis {"connection_id":161383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:03:57] local.INFO: Extracted packet for processing {"connection_id":161383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:03:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625493760001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787599886000,"timestamp_ms":1787599886000,"timestamp_seconds":1787599886,"priority":1,"record_length":96,"hex_timestamp":"000001a0354196b0"} 
[2026-08-25 01:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625493760001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625493760001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:03:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:03:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625493760001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":161383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:03:57] local.INFO: GPS data processed {"connection_id":161383,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:03:57] local.INFO: Acknowledgment sent {"connection_id":161383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:04:41] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:04:41] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:04:41] local.INFO: IMEI packet received {"connection_id":161642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":161642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:04:47] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:04:47] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:04:47] local.INFO: IMEI packet received {"connection_id":161642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":161642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:04:47] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:04:47] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:04:47] local.INFO: Packet analysis {"connection_id":161642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:04:47] local.INFO: Extracted packet for processing {"connection_id":161642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625493760001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787599886000,"timestamp_ms":1787599886000,"timestamp_seconds":1787599886,"priority":1,"record_length":96,"hex_timestamp":"000001a0354196b0"} 
[2026-08-25 01:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:04: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-25 01:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625493760001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625493760001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:04:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625493760001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":161642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:04:47] local.INFO: GPS data processed {"connection_id":161642,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:04:47] local.INFO: Acknowledgment sent {"connection_id":161642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:05:19] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:05:19] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:05:19] local.INFO: Packet analysis {"connection_id":161642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:05:19] local.INFO: Extracted packet for processing {"connection_id":161642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625493760001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787599886000,"timestamp_ms":1787599886000,"timestamp_seconds":1787599886,"priority":1,"record_length":96,"hex_timestamp":"000001a0354196b0"} 
[2026-08-25 01:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:05: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-25 01:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625493760001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625493760001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:05:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625493760001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":161642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:05:19] local.INFO: GPS data processed {"connection_id":161642,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:05:19] local.INFO: Acknowledgment sent {"connection_id":161642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:05:42] local.INFO: TCP Data received {"connection_id":161643,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:05:42] local.INFO: Processing buffer {"connection_id":161643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:05:42] local.INFO: IMEI packet received {"connection_id":161643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":161643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:05:46] local.INFO: TCP Data received {"connection_id":161643,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:05:46] local.INFO: Processing buffer {"connection_id":161643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:05:46] local.INFO: IMEI packet received {"connection_id":161643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":161643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:05:47] local.INFO: TCP Data received {"connection_id":161643,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:05:47] local.INFO: Processing buffer {"connection_id":161643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:05:47] local.INFO: Packet analysis {"connection_id":161643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:05:47] local.INFO: Extracted packet for processing {"connection_id":161643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625493760001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787599886000,"timestamp_ms":1787599886000,"timestamp_seconds":1787599886,"priority":1,"record_length":96,"hex_timestamp":"000001a0354196b0"} 
[2026-08-25 01:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:05: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-25 01:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625493760001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625493760001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:05:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625493760001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":161643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:05:47] local.INFO: GPS data processed {"connection_id":161643,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:05:47] local.INFO: Acknowledgment sent {"connection_id":161643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:06:19] local.INFO: TCP Data received {"connection_id":161643,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:06:19] local.INFO: Processing buffer {"connection_id":161643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:06:19] local.INFO: Packet analysis {"connection_id":161643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:06:19] local.INFO: Extracted packet for processing {"connection_id":161643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:06:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625493760001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787599886000,"timestamp_ms":1787599886000,"timestamp_seconds":1787599886,"priority":1,"record_length":96,"hex_timestamp":"000001a0354196b0"} 
[2026-08-25 01: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-25 01:06: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-25 01: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625493760001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625493760001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:06:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:06:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625493760001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":161643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:06:19] local.INFO: GPS data processed {"connection_id":161643,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:06:19] local.INFO: Acknowledgment sent {"connection_id":161643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:06:41] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:06:41] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:06:41] local.INFO: IMEI packet received {"connection_id":161644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":161644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:06:46] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:06:46] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:06:46] local.INFO: IMEI packet received {"connection_id":161644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":161644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:06:48] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:06:48] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354196b0012d34c9c006aa47600018012123..."} 
[2026-08-25 01:06:48] local.INFO: Packet analysis {"connection_id":161644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:06:48] local.INFO: Extracted packet for processing {"connection_id":161644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03541"} 
[2026-08-25 01:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625493760001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787599886000,"timestamp_ms":1787599886000,"timestamp_seconds":1787599886,"priority":1,"record_length":96,"hex_timestamp":"000001a0354196b0"} 
[2026-08-25 01:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 01:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625493760001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625493760001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:06:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625493760001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":161644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:06:48] local.INFO: GPS data processed {"connection_id":161644,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:06:48] local.INFO: Acknowledgment sent {"connection_id":161644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:07:19] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:07:19] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:07:19] local.INFO: Packet analysis {"connection_id":161644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:07:19] local.INFO: Extracted packet for processing {"connection_id":161644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625570816001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787600187000,"timestamp_ms":1787600187000,"timestamp_seconds":1787600187,"priority":1,"record_length":96,"hex_timestamp":"000001a035462e78"} 
[2026-08-25 01:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:07: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-25 01:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:07: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-25 01:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625570816001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625570816001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:07:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625570816001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":161644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:07:19] local.INFO: GPS data processed {"connection_id":161644,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:07:19] local.INFO: Acknowledgment sent {"connection_id":161644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:07:46] local.INFO: TCP Data received {"connection_id":164013,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:07:46] local.INFO: Processing buffer {"connection_id":164013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:07:46] local.INFO: IMEI packet received {"connection_id":164013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":164013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:07:51] local.INFO: TCP Data received {"connection_id":164013,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:07:51] local.INFO: Processing buffer {"connection_id":164013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:07:51] local.INFO: IMEI packet received {"connection_id":164013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":164013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:07:53] local.INFO: TCP Data received {"connection_id":164013,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:07:53] local.INFO: Processing buffer {"connection_id":164013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:07:53] local.INFO: Packet analysis {"connection_id":164013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:07:53] local.INFO: Extracted packet for processing {"connection_id":164013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625570816001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787600187000,"timestamp_ms":1787600187000,"timestamp_seconds":1787600187,"priority":1,"record_length":96,"hex_timestamp":"000001a035462e78"} 
[2026-08-25 01:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:07: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-25 01:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:07:53] 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-25 01:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625570816001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625570816001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625570816001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":164013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:07:53] local.INFO: GPS data processed {"connection_id":164013,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:07:53] local.INFO: Acknowledgment sent {"connection_id":164013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:07:57] local.INFO: TCP Data received {"connection_id":164013,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:07:57] local.INFO: Processing buffer {"connection_id":164013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:07:57] local.INFO: Packet analysis {"connection_id":164013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:07:57] local.INFO: Extracted packet for processing {"connection_id":164013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:07:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625570816001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:07: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-25 01:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787600187000,"timestamp_ms":1787600187000,"timestamp_seconds":1787600187,"priority":1,"record_length":96,"hex_timestamp":"000001a035462e78"} 
[2026-08-25 01:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:07:57] 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-25 01:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625570816001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625570816001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:07:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:07:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625570816001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":164013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:07:57] local.INFO: GPS data processed {"connection_id":164013,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:07:57] local.INFO: Acknowledgment sent {"connection_id":164013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:08:41] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:08:41] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:08:41] local.INFO: IMEI packet received {"connection_id":161645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":161645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:08:47] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:08:47] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:08:47] local.INFO: IMEI packet received {"connection_id":161645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":161645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:08:49] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:08:49] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:08:49] local.INFO: Packet analysis {"connection_id":161645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:08:49] local.INFO: Extracted packet for processing {"connection_id":161645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625570816001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787600187000,"timestamp_ms":1787600187000,"timestamp_seconds":1787600187,"priority":1,"record_length":96,"hex_timestamp":"000001a035462e78"} 
[2026-08-25 01: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-25 01: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-25 01: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:08: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-25 01: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-25 01: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-25 01:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625570816001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625570816001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625570816001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":161645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:08:49] local.INFO: GPS data processed {"connection_id":161645,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:08:49] local.INFO: Acknowledgment sent {"connection_id":161645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:09:20] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:09:20] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:09:20] local.INFO: Packet analysis {"connection_id":161645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:09:20] local.INFO: Extracted packet for processing {"connection_id":161645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625570816001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787600187000,"timestamp_ms":1787600187000,"timestamp_seconds":1787600187,"priority":1,"record_length":96,"hex_timestamp":"000001a035462e78"} 
[2026-08-25 01: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-25 01: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-25 01: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:09:20] 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-25 01: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-25 01: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-25 01:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625570816001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625570816001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625570816001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":161645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:09:20] local.INFO: GPS data processed {"connection_id":161645,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:09:20] local.INFO: Acknowledgment sent {"connection_id":161645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:09:41] local.INFO: TCP Data received {"connection_id":164014,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:09:41] local.INFO: Processing buffer {"connection_id":164014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:09:41] local.INFO: IMEI packet received {"connection_id":164014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":164014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:09:47] local.INFO: TCP Data received {"connection_id":164014,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:09:47] local.INFO: Processing buffer {"connection_id":164014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:09:47] local.INFO: IMEI packet received {"connection_id":164014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":164014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:09:48] local.INFO: TCP Data received {"connection_id":164014,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:09:48] local.INFO: Processing buffer {"connection_id":164014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:09:48] local.INFO: Packet analysis {"connection_id":164014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:09:48] local.INFO: Extracted packet for processing {"connection_id":164014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625570816001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787600187000,"timestamp_ms":1787600187000,"timestamp_seconds":1787600187,"priority":1,"record_length":96,"hex_timestamp":"000001a035462e78"} 
[2026-08-25 01:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:09:48] 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-25 01:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625570816001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625570816001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:09:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625570816001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":164014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:09:48] local.INFO: GPS data processed {"connection_id":164014,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:09:48] local.INFO: Acknowledgment sent {"connection_id":164014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:09:56] local.INFO: TCP Data received {"connection_id":164014,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:09:56] local.INFO: Processing buffer {"connection_id":164014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:09:56] local.INFO: Packet analysis {"connection_id":164014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:09:56] local.INFO: Extracted packet for processing {"connection_id":164014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:09:56] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625570816001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:09: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-25 01:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787600187000,"timestamp_ms":1787600187000,"timestamp_seconds":1787600187,"priority":1,"record_length":96,"hex_timestamp":"000001a035462e78"} 
[2026-08-25 01:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:09: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-25 01:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:09:56] 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-25 01:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625570816001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625570816001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:09:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:09:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625570816001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":164014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:09:56] local.INFO: GPS data processed {"connection_id":164014,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:09:56] local.INFO: Acknowledgment sent {"connection_id":164014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:10:41] local.INFO: TCP Data received {"connection_id":161384,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:10:41] local.INFO: Processing buffer {"connection_id":161384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:10:41] local.INFO: IMEI packet received {"connection_id":161384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":161384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:10:46] local.INFO: TCP Data received {"connection_id":161384,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:10:46] local.INFO: Processing buffer {"connection_id":161384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:10:46] local.INFO: IMEI packet received {"connection_id":161384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":161384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:10:48] local.INFO: TCP Data received {"connection_id":161384,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:10:48] local.INFO: Processing buffer {"connection_id":161384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:10:48] local.INFO: Packet analysis {"connection_id":161384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:10:48] local.INFO: Extracted packet for processing {"connection_id":161384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625570816001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787600187000,"timestamp_ms":1787600187000,"timestamp_seconds":1787600187,"priority":1,"record_length":96,"hex_timestamp":"000001a035462e78"} 
[2026-08-25 01:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:10:48] 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-25 01:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625570816001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625570816001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:10:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625570816001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":161384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:10:48] local.INFO: GPS data processed {"connection_id":161384,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:10:48] local.INFO: Acknowledgment sent {"connection_id":161384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:11:19] local.INFO: TCP Data received {"connection_id":161384,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:11:19] local.INFO: Processing buffer {"connection_id":161384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:11:19] local.INFO: Packet analysis {"connection_id":161384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:11:19] local.INFO: Extracted packet for processing {"connection_id":161384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625570816001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787600187000,"timestamp_ms":1787600187000,"timestamp_seconds":1787600187,"priority":1,"record_length":96,"hex_timestamp":"000001a035462e78"} 
[2026-08-25 01:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:11: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-25 01:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:11: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-25 01:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625570816001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625570816001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625570816001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":161384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:11:19] local.INFO: GPS data processed {"connection_id":161384,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:11:19] local.INFO: Acknowledgment sent {"connection_id":161384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:11:41] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:11:41] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:11:41] local.INFO: IMEI packet received {"connection_id":162626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":162626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:11:47] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:11:47] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:11:47] local.INFO: IMEI packet received {"connection_id":162626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":162626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:11:48] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:11:48] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035462e78012d34c9c006aa47600018012125..."} 
[2026-08-25 01:11:48] local.INFO: Packet analysis {"connection_id":162626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:11:48] local.INFO: Extracted packet for processing {"connection_id":162626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03546"} 
[2026-08-25 01:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625570816001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787600187000,"timestamp_ms":1787600187000,"timestamp_seconds":1787600187,"priority":1,"record_length":96,"hex_timestamp":"000001a035462e78"} 
[2026-08-25 01:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:11:48] 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-25 01:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625570816001,"66":25875,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625570816001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:11:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625570816001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":162626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:11:48] local.INFO: GPS data processed {"connection_id":162626,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:11:48] local.INFO: Acknowledgment sent {"connection_id":162626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:12:20] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:12:20] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:12:20] local.INFO: Packet analysis {"connection_id":162626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:12:20] local.INFO: Extracted packet for processing {"connection_id":162626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625647872001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787600488000,"timestamp_ms":1787600488000,"timestamp_seconds":1787600488,"priority":1,"record_length":96,"hex_timestamp":"000001a0354ac640"} 
[2026-08-25 01: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-25 01:12: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-25 01: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:12:20] 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-25 01: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-25 01: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-25 01:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625647872001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625647872001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:12:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625647872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":162626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:12:20] local.INFO: GPS data processed {"connection_id":162626,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:12:20] local.INFO: Acknowledgment sent {"connection_id":162626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:12:46] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:12:46] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:12:46] local.INFO: IMEI packet received {"connection_id":161385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":161385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:12:51] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:12:51] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:12:51] local.INFO: IMEI packet received {"connection_id":161385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":161385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:12:53] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:12:53] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:12:53] local.INFO: Packet analysis {"connection_id":161385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:12:53] local.INFO: Extracted packet for processing {"connection_id":161385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625647872001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787600488000,"timestamp_ms":1787600488000,"timestamp_seconds":1787600488,"priority":1,"record_length":96,"hex_timestamp":"000001a0354ac640"} 
[2026-08-25 01: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-25 01:12: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-25 01: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:12:53] 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-25 01: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-25 01: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-25 01:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625647872001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625647872001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:12:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625647872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":161385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:12:53] local.INFO: GPS data processed {"connection_id":161385,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:12:53] local.INFO: Acknowledgment sent {"connection_id":161385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:13:24] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:13:24] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:13:24] local.INFO: Packet analysis {"connection_id":161385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:13:24] local.INFO: Extracted packet for processing {"connection_id":161385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625647872001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787600488000,"timestamp_ms":1787600488000,"timestamp_seconds":1787600488,"priority":1,"record_length":96,"hex_timestamp":"000001a0354ac640"} 
[2026-08-25 01: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-25 01:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:13:24] 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-25 01: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-25 01: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-25 01:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625647872001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625647872001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:13:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:13:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625647872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":161385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:13:24] local.INFO: GPS data processed {"connection_id":161385,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:13:24] local.INFO: Acknowledgment sent {"connection_id":161385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:13:41] local.INFO: TCP Data received {"connection_id":164015,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:13:41] local.INFO: Processing buffer {"connection_id":164015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:13:41] local.INFO: IMEI packet received {"connection_id":164015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":164015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:13:46] local.INFO: TCP Data received {"connection_id":164015,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:13:46] local.INFO: Processing buffer {"connection_id":164015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:13:46] local.INFO: IMEI packet received {"connection_id":164015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":164015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:13:48] local.INFO: TCP Data received {"connection_id":164015,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:13:48] local.INFO: Processing buffer {"connection_id":164015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:13:48] local.INFO: Packet analysis {"connection_id":164015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:13:48] local.INFO: Extracted packet for processing {"connection_id":164015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625647872001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787600488000,"timestamp_ms":1787600488000,"timestamp_seconds":1787600488,"priority":1,"record_length":96,"hex_timestamp":"000001a0354ac640"} 
[2026-08-25 01:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:13:48] 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-25 01:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625647872001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625647872001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:13:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625647872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":164015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:13:48] local.INFO: GPS data processed {"connection_id":164015,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:13:48] local.INFO: Acknowledgment sent {"connection_id":164015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:14:19] local.INFO: TCP Data received {"connection_id":164015,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:14:19] local.INFO: Processing buffer {"connection_id":164015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:14:19] local.INFO: Packet analysis {"connection_id":164015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:14:19] local.INFO: Extracted packet for processing {"connection_id":164015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625647872001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787600488000,"timestamp_ms":1787600488000,"timestamp_seconds":1787600488,"priority":1,"record_length":96,"hex_timestamp":"000001a0354ac640"} 
[2026-08-25 01:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:14: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-25 01:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:14: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-25 01:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625647872001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625647872001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:14:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625647872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":164015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:14:19] local.INFO: GPS data processed {"connection_id":164015,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:14:19] local.INFO: Acknowledgment sent {"connection_id":164015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:14:47] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:14:47] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:14:47] local.INFO: IMEI packet received {"connection_id":161646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":161646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:14:52] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:14:52] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:14:52] local.INFO: IMEI packet received {"connection_id":161646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":161646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:14:54] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:14:54] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:14:54] local.INFO: Packet analysis {"connection_id":161646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:14:54] local.INFO: Extracted packet for processing {"connection_id":161646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625647872001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787600488000,"timestamp_ms":1787600488000,"timestamp_seconds":1787600488,"priority":1,"record_length":96,"hex_timestamp":"000001a0354ac640"} 
[2026-08-25 01:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:14: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-25 01:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:14: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-25 01:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625647872001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625647872001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:14:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:14:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625647872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":161646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:14:54] local.INFO: GPS data processed {"connection_id":161646,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:14:54] local.INFO: Acknowledgment sent {"connection_id":161646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:14:57] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:14:57] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:14:57] local.INFO: Packet analysis {"connection_id":161646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:14:57] local.INFO: Extracted packet for processing {"connection_id":161646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:14:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625647872001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:14: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-25 01:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787600488000,"timestamp_ms":1787600488000,"timestamp_seconds":1787600488,"priority":1,"record_length":96,"hex_timestamp":"000001a0354ac640"} 
[2026-08-25 01: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-25 01:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:14:57] 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-25 01: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-25 01: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-25 01:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625647872001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625647872001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:14:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:14:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625647872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":161646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:14:57] local.INFO: GPS data processed {"connection_id":161646,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:14:57] local.INFO: Acknowledgment sent {"connection_id":161646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:15:41] local.INFO: TCP Data received {"connection_id":162627,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:15:41] local.INFO: Processing buffer {"connection_id":162627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:15:41] local.INFO: IMEI packet received {"connection_id":162627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":162627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:15:46] local.INFO: TCP Data received {"connection_id":162627,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:15:46] local.INFO: Processing buffer {"connection_id":162627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:15:46] local.INFO: IMEI packet received {"connection_id":162627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":162627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:15:48] local.INFO: TCP Data received {"connection_id":162627,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:15:48] local.INFO: Processing buffer {"connection_id":162627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:15:48] local.INFO: Packet analysis {"connection_id":162627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:15:48] local.INFO: Extracted packet for processing {"connection_id":162627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625647872001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787600488000,"timestamp_ms":1787600488000,"timestamp_seconds":1787600488,"priority":1,"record_length":96,"hex_timestamp":"000001a0354ac640"} 
[2026-08-25 01:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:15:48] 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-25 01:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625647872001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625647872001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:15:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625647872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":162627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:15:48] local.INFO: GPS data processed {"connection_id":162627,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:15:48] local.INFO: Acknowledgment sent {"connection_id":162627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:16:19] local.INFO: TCP Data received {"connection_id":162627,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:16:19] local.INFO: Processing buffer {"connection_id":162627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:16:19] local.INFO: Packet analysis {"connection_id":162627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:16:19] local.INFO: Extracted packet for processing {"connection_id":162627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625647872001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787600488000,"timestamp_ms":1787600488000,"timestamp_seconds":1787600488,"priority":1,"record_length":96,"hex_timestamp":"000001a0354ac640"} 
[2026-08-25 01:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:16: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-25 01:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:16: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-25 01:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625647872001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625647872001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625647872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":162627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:16:19] local.INFO: GPS data processed {"connection_id":162627,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:16:19] local.INFO: Acknowledgment sent {"connection_id":162627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:16:42] local.INFO: TCP Data received {"connection_id":161386,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:16:42] local.INFO: Processing buffer {"connection_id":161386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:16:42] local.INFO: IMEI packet received {"connection_id":161386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":161386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:16:47] local.INFO: TCP Data received {"connection_id":161386,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:16:47] local.INFO: Processing buffer {"connection_id":161386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:16:47] local.INFO: IMEI packet received {"connection_id":161386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":161386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:16:48] local.INFO: TCP Data received {"connection_id":161386,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:16:48] local.INFO: Processing buffer {"connection_id":161386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354ac640012d34c9c006aa47600018012126..."} 
[2026-08-25 01:16:48] local.INFO: Packet analysis {"connection_id":161386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:16:48] local.INFO: Extracted packet for processing {"connection_id":161386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354a"} 
[2026-08-25 01:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625647872001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787600488000,"timestamp_ms":1787600488000,"timestamp_seconds":1787600488,"priority":1,"record_length":96,"hex_timestamp":"000001a0354ac640"} 
[2026-08-25 01:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 01:16:48] 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-25 01:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625647872001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625647872001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:16:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625647872001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":161386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:16:48] local.INFO: GPS data processed {"connection_id":161386,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:16:48] local.INFO: Acknowledgment sent {"connection_id":161386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:17:19] local.INFO: TCP Data received {"connection_id":161386,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:17:19] local.INFO: Processing buffer {"connection_id":161386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:17:19] local.INFO: Packet analysis {"connection_id":161386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:17:19] local.INFO: Extracted packet for processing {"connection_id":161386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625724928001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787600789000,"timestamp_ms":1787600789000,"timestamp_seconds":1787600789,"priority":1,"record_length":96,"hex_timestamp":"000001a0354f5e08"} 
[2026-08-25 01:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:17: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-25 01:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:17:19] 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-25 01:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625724928001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625724928001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:17:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:17:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625724928001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":161386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:17:19] local.INFO: GPS data processed {"connection_id":161386,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:17:19] local.INFO: Acknowledgment sent {"connection_id":161386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:17:41] local.INFO: TCP Data received {"connection_id":164016,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:17:41] local.INFO: Processing buffer {"connection_id":164016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:17:41] local.INFO: IMEI packet received {"connection_id":164016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":164016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:17:47] local.INFO: TCP Data received {"connection_id":164016,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:17:47] local.INFO: Processing buffer {"connection_id":164016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:17:47] local.INFO: IMEI packet received {"connection_id":164016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":164016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:17:47] local.INFO: TCP Data received {"connection_id":164016,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:17:47] local.INFO: Processing buffer {"connection_id":164016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:17:47] local.INFO: Packet analysis {"connection_id":164016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:17:47] local.INFO: Extracted packet for processing {"connection_id":164016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625724928001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787600789000,"timestamp_ms":1787600789000,"timestamp_seconds":1787600789,"priority":1,"record_length":96,"hex_timestamp":"000001a0354f5e08"} 
[2026-08-25 01:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:17: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-25 01:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625724928001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625724928001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625724928001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":164016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:17:48] local.INFO: GPS data processed {"connection_id":164016,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:17:48] local.INFO: Acknowledgment sent {"connection_id":164016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:18:19] local.INFO: TCP Data received {"connection_id":164016,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:18:19] local.INFO: Processing buffer {"connection_id":164016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:18:19] local.INFO: Packet analysis {"connection_id":164016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:18:19] local.INFO: Extracted packet for processing {"connection_id":164016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625724928001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787600789000,"timestamp_ms":1787600789000,"timestamp_seconds":1787600789,"priority":1,"record_length":96,"hex_timestamp":"000001a0354f5e08"} 
[2026-08-25 01:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:18: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-25 01:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:18:19] 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-25 01:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625724928001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625724928001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625724928001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":164016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:18:19] local.INFO: GPS data processed {"connection_id":164016,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:18:19] local.INFO: Acknowledgment sent {"connection_id":164016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:18:41] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:18:41] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:18:41] local.INFO: IMEI packet received {"connection_id":162628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":162628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:18:46] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:18:46] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:18:46] local.INFO: IMEI packet received {"connection_id":162628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":162628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:18:47] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:18:47] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:18:47] local.INFO: Packet analysis {"connection_id":162628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:18:47] local.INFO: Extracted packet for processing {"connection_id":162628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625724928001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787600789000,"timestamp_ms":1787600789000,"timestamp_seconds":1787600789,"priority":1,"record_length":96,"hex_timestamp":"000001a0354f5e08"} 
[2026-08-25 01:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:18: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-25 01:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625724928001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625724928001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625724928001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":162628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:18:47] local.INFO: GPS data processed {"connection_id":162628,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:18:47] local.INFO: Acknowledgment sent {"connection_id":162628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:19:19] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:19:19] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:19:19] local.INFO: Packet analysis {"connection_id":162628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:19:19] local.INFO: Extracted packet for processing {"connection_id":162628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625724928001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787600789000,"timestamp_ms":1787600789000,"timestamp_seconds":1787600789,"priority":1,"record_length":96,"hex_timestamp":"000001a0354f5e08"} 
[2026-08-25 01: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-25 01:19: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-25 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:19:19] 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-25 01: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-25 01: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-25 01:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625724928001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625724928001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:19:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625724928001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":162628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:19:19] local.INFO: GPS data processed {"connection_id":162628,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:19:19] local.INFO: Acknowledgment sent {"connection_id":162628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:19:41] local.INFO: TCP Data received {"connection_id":164017,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:19:41] local.INFO: Processing buffer {"connection_id":164017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:19:41] local.INFO: IMEI packet received {"connection_id":164017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":164017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:19:46] local.INFO: TCP Data received {"connection_id":164017,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:19:46] local.INFO: Processing buffer {"connection_id":164017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:19:46] local.INFO: IMEI packet received {"connection_id":164017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":164017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:19:47] local.INFO: TCP Data received {"connection_id":164017,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:19:47] local.INFO: Processing buffer {"connection_id":164017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:19:47] local.INFO: Packet analysis {"connection_id":164017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:19:47] local.INFO: Extracted packet for processing {"connection_id":164017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625724928001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787600789000,"timestamp_ms":1787600789000,"timestamp_seconds":1787600789,"priority":1,"record_length":96,"hex_timestamp":"000001a0354f5e08"} 
[2026-08-25 01:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:19: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-25 01:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625724928001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625724928001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:19:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:19:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625724928001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":164017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:19:47] local.INFO: GPS data processed {"connection_id":164017,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:19:47] local.INFO: Acknowledgment sent {"connection_id":164017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:20:18] local.INFO: TCP Data received {"connection_id":164017,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:20:18] local.INFO: Processing buffer {"connection_id":164017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:20:18] local.INFO: Packet analysis {"connection_id":164017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:20:18] local.INFO: Extracted packet for processing {"connection_id":164017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:20:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625724928001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787600789000,"timestamp_ms":1787600789000,"timestamp_seconds":1787600789,"priority":1,"record_length":96,"hex_timestamp":"000001a0354f5e08"} 
[2026-08-25 01: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-25 01:20: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-25 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:20:18] 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-25 01: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-25 01: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-25 01:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625724928001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625724928001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:20:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:20:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625724928001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":164017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:20:18] local.INFO: GPS data processed {"connection_id":164017,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:20:18] local.INFO: Acknowledgment sent {"connection_id":164017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:20:41] local.INFO: TCP Data received {"connection_id":164018,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:20:41] local.INFO: Processing buffer {"connection_id":164018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:20:41] local.INFO: IMEI packet received {"connection_id":164018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":164018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:20:47] local.INFO: TCP Data received {"connection_id":164018,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:20:47] local.INFO: Processing buffer {"connection_id":164018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:20:47] local.INFO: IMEI packet received {"connection_id":164018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":164018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:20:48] local.INFO: TCP Data received {"connection_id":164018,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:20:48] local.INFO: Processing buffer {"connection_id":164018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:20:48] local.INFO: Packet analysis {"connection_id":164018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:20:48] local.INFO: Extracted packet for processing {"connection_id":164018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625724928001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787600789000,"timestamp_ms":1787600789000,"timestamp_seconds":1787600789,"priority":1,"record_length":96,"hex_timestamp":"000001a0354f5e08"} 
[2026-08-25 01:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:20: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-25 01:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625724928001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625724928001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:20:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625724928001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":164018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:20:49] local.INFO: GPS data processed {"connection_id":164018,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:20:49] local.INFO: Acknowledgment sent {"connection_id":164018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:21:20] local.INFO: TCP Data received {"connection_id":164018,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:21:20] local.INFO: Processing buffer {"connection_id":164018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:21:20] local.INFO: Packet analysis {"connection_id":164018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:21:20] local.INFO: Extracted packet for processing {"connection_id":164018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625724928001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787600789000,"timestamp_ms":1787600789000,"timestamp_seconds":1787600789,"priority":1,"record_length":96,"hex_timestamp":"000001a0354f5e08"} 
[2026-08-25 01: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-25 01: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-25 01:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:21: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-25 01: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-25 01: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-25 01:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625724928001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625724928001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:21:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625724928001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":164018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:21:20] local.INFO: GPS data processed {"connection_id":164018,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:21:20] local.INFO: Acknowledgment sent {"connection_id":164018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:21:42] local.INFO: TCP Data received {"connection_id":161387,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:21:42] local.INFO: Processing buffer {"connection_id":161387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:21:42] local.INFO: IMEI packet received {"connection_id":161387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":161387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:21:46] local.INFO: TCP Data received {"connection_id":161387,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:21:46] local.INFO: Processing buffer {"connection_id":161387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:21:46] local.INFO: IMEI packet received {"connection_id":161387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":161387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:21:47] local.INFO: TCP Data received {"connection_id":161387,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:21:47] local.INFO: Processing buffer {"connection_id":161387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0354f5e08012d34c9c006aa4760001801212a..."} 
[2026-08-25 01:21:47] local.INFO: Packet analysis {"connection_id":161387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:21:47] local.INFO: Extracted packet for processing {"connection_id":161387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0354f"} 
[2026-08-25 01:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625724928001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787600789000,"timestamp_ms":1787600789000,"timestamp_seconds":1787600789,"priority":1,"record_length":96,"hex_timestamp":"000001a0354f5e08"} 
[2026-08-25 01:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:21: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-25 01:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625724928001,"66":25778,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625724928001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625724928001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":161387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:21:47] local.INFO: GPS data processed {"connection_id":161387,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:21:47] local.INFO: Acknowledgment sent {"connection_id":161387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:22:18] local.INFO: TCP Data received {"connection_id":161387,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:22:18] local.INFO: Processing buffer {"connection_id":161387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:22:18] local.INFO: Packet analysis {"connection_id":161387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:22:18] local.INFO: Extracted packet for processing {"connection_id":161387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:22:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625801984001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787601090000,"timestamp_ms":1787601090000,"timestamp_seconds":1787601090,"priority":1,"record_length":96,"hex_timestamp":"000001a03553f5d0"} 
[2026-08-25 01: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-25 01:22: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-25 01:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:22:18] 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-25 01: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-25 01: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-25 01:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625801984001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625801984001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:22:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:22:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625801984001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":161387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:22:18] local.INFO: GPS data processed {"connection_id":161387,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:22:18] local.INFO: Acknowledgment sent {"connection_id":161387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:22:41] local.INFO: TCP Data received {"connection_id":164019,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:22:41] local.INFO: Processing buffer {"connection_id":164019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:22:41] local.INFO: IMEI packet received {"connection_id":164019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":164019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:22:47] local.INFO: TCP Data received {"connection_id":164019,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:22:47] local.INFO: Processing buffer {"connection_id":164019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:22:47] local.INFO: IMEI packet received {"connection_id":164019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":164019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:22:47] local.INFO: TCP Data received {"connection_id":164019,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:22:47] local.INFO: Processing buffer {"connection_id":164019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:22:47] local.INFO: Packet analysis {"connection_id":164019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:22:47] local.INFO: Extracted packet for processing {"connection_id":164019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625801984001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601090000,"timestamp_ms":1787601090000,"timestamp_seconds":1787601090,"priority":1,"record_length":96,"hex_timestamp":"000001a03553f5d0"} 
[2026-08-25 01:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:22: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-25 01:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625801984001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625801984001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625801984001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":164019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:22:47] local.INFO: GPS data processed {"connection_id":164019,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:22:47] local.INFO: Acknowledgment sent {"connection_id":164019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:23:19] local.INFO: TCP Data received {"connection_id":164019,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:23:19] local.INFO: Processing buffer {"connection_id":164019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:23:19] local.INFO: Packet analysis {"connection_id":164019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:23:19] local.INFO: Extracted packet for processing {"connection_id":164019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625801984001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787601090000,"timestamp_ms":1787601090000,"timestamp_seconds":1787601090,"priority":1,"record_length":96,"hex_timestamp":"000001a03553f5d0"} 
[2026-08-25 01:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:23: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-25 01:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:23:19] 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-25 01:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625801984001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625801984001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:23:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625801984001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":164019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:23:19] local.INFO: GPS data processed {"connection_id":164019,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:23:19] local.INFO: Acknowledgment sent {"connection_id":164019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:23:41] local.INFO: TCP Data received {"connection_id":164020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:23:41] local.INFO: Processing buffer {"connection_id":164020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:23:41] local.INFO: IMEI packet received {"connection_id":164020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":164020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:23:46] local.INFO: TCP Data received {"connection_id":164020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:23:46] local.INFO: Processing buffer {"connection_id":164020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:23:46] local.INFO: IMEI packet received {"connection_id":164020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":164020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:23:47] local.INFO: TCP Data received {"connection_id":164020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:23:47] local.INFO: Processing buffer {"connection_id":164020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:23:47] local.INFO: Packet analysis {"connection_id":164020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:23:47] local.INFO: Extracted packet for processing {"connection_id":164020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625801984001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601090000,"timestamp_ms":1787601090000,"timestamp_seconds":1787601090,"priority":1,"record_length":96,"hex_timestamp":"000001a03553f5d0"} 
[2026-08-25 01: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-25 01:23: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-25 01:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625801984001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625801984001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:23:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625801984001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":164020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:23:47] local.INFO: GPS data processed {"connection_id":164020,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:23:47] local.INFO: Acknowledgment sent {"connection_id":164020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:24:18] local.INFO: TCP Data received {"connection_id":164020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:24:18] local.INFO: Processing buffer {"connection_id":164020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:24:18] local.INFO: Packet analysis {"connection_id":164020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:24:18] local.INFO: Extracted packet for processing {"connection_id":164020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625801984001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787601090000,"timestamp_ms":1787601090000,"timestamp_seconds":1787601090,"priority":1,"record_length":96,"hex_timestamp":"000001a03553f5d0"} 
[2026-08-25 01:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:24: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-25 01:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:24:18] 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-25 01:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625801984001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625801984001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:24:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625801984001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":164020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:24:18] local.INFO: GPS data processed {"connection_id":164020,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:24:18] local.INFO: Acknowledgment sent {"connection_id":164020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:24:42] local.INFO: TCP Data received {"connection_id":162629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:24:42] local.INFO: Processing buffer {"connection_id":162629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:24:42] local.INFO: IMEI packet received {"connection_id":162629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":162629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:24:46] local.INFO: TCP Data received {"connection_id":162629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:24:46] local.INFO: Processing buffer {"connection_id":162629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:24:46] local.INFO: IMEI packet received {"connection_id":162629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":162629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:24:47] local.INFO: TCP Data received {"connection_id":162629,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:24:47] local.INFO: Processing buffer {"connection_id":162629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:24:47] local.INFO: Packet analysis {"connection_id":162629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:24:47] local.INFO: Extracted packet for processing {"connection_id":162629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625801984001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601090000,"timestamp_ms":1787601090000,"timestamp_seconds":1787601090,"priority":1,"record_length":96,"hex_timestamp":"000001a03553f5d0"} 
[2026-08-25 01:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:24: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-25 01:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625801984001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625801984001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:24:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625801984001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":162629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:24:47] local.INFO: GPS data processed {"connection_id":162629,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:24:47] local.INFO: Acknowledgment sent {"connection_id":162629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:25:19] local.INFO: TCP Data received {"connection_id":162629,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:25:19] local.INFO: Processing buffer {"connection_id":162629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:25:19] local.INFO: Packet analysis {"connection_id":162629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:25:19] local.INFO: Extracted packet for processing {"connection_id":162629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:25:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625801984001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787601090000,"timestamp_ms":1787601090000,"timestamp_seconds":1787601090,"priority":1,"record_length":96,"hex_timestamp":"000001a03553f5d0"} 
[2026-08-25 01:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:25: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-25 01:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:25:19] 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-25 01:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625801984001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625801984001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:25:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:25:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625801984001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":162629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:25:19] local.INFO: GPS data processed {"connection_id":162629,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:25:19] local.INFO: Acknowledgment sent {"connection_id":162629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:25:41] local.INFO: TCP Data received {"connection_id":161647,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:25:41] local.INFO: Processing buffer {"connection_id":161647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:25:41] local.INFO: IMEI packet received {"connection_id":161647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":161647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:25:46] local.INFO: TCP Data received {"connection_id":161647,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:25:46] local.INFO: Processing buffer {"connection_id":161647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:25:46] local.INFO: IMEI packet received {"connection_id":161647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":161647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:25:47] local.INFO: TCP Data received {"connection_id":161647,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:25:47] local.INFO: Processing buffer {"connection_id":161647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:25:47] local.INFO: Packet analysis {"connection_id":161647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:25:47] local.INFO: Extracted packet for processing {"connection_id":161647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625801984001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601090000,"timestamp_ms":1787601090000,"timestamp_seconds":1787601090,"priority":1,"record_length":96,"hex_timestamp":"000001a03553f5d0"} 
[2026-08-25 01:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:25: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-25 01:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625801984001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625801984001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:25:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625801984001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":161647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:25:47] local.INFO: GPS data processed {"connection_id":161647,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:25:47] local.INFO: Acknowledgment sent {"connection_id":161647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:26:19] local.INFO: TCP Data received {"connection_id":161647,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:26:19] local.INFO: Processing buffer {"connection_id":161647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:26:19] local.INFO: Packet analysis {"connection_id":161647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:26:19] local.INFO: Extracted packet for processing {"connection_id":161647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625801984001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787601090000,"timestamp_ms":1787601090000,"timestamp_seconds":1787601090,"priority":1,"record_length":96,"hex_timestamp":"000001a03553f5d0"} 
[2026-08-25 01: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-25 01:26: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-25 01: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:26:19] 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-25 01: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-25 01: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-25 01:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625801984001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625801984001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:26:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625801984001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":161647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:26:19] local.INFO: GPS data processed {"connection_id":161647,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:26:19] local.INFO: Acknowledgment sent {"connection_id":161647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:26:41] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:26:41] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:26:41] local.INFO: IMEI packet received {"connection_id":161648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":161648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:26:46] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:26:46] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:26:46] local.INFO: IMEI packet received {"connection_id":161648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":161648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:26:47] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:26:47] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03553f5d0012d34c9c006aa47600018012128..."} 
[2026-08-25 01:26:47] local.INFO: Packet analysis {"connection_id":161648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:26:47] local.INFO: Extracted packet for processing {"connection_id":161648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03553"} 
[2026-08-25 01:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":24,"angle":289,"satellites":40,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625801984001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601090000,"timestamp_ms":1787601090000,"timestamp_seconds":1787601090,"priority":1,"record_length":96,"hex_timestamp":"000001a03553f5d0"} 
[2026-08-25 01:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:26: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-25 01:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 01:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625801984001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625801984001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:26:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625801984001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":161648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:26:47] local.INFO: GPS data processed {"connection_id":161648,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:26:47] local.INFO: Acknowledgment sent {"connection_id":161648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:27:19] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:27:19] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:27:19] local.INFO: Packet analysis {"connection_id":161648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:27:19] local.INFO: Extracted packet for processing {"connection_id":161648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:27:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625879040001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787601391000,"timestamp_ms":1787601391000,"timestamp_seconds":1787601391,"priority":1,"record_length":96,"hex_timestamp":"000001a035588d98"} 
[2026-08-25 01:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:27: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-25 01:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625879040001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625879040001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:27:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:27:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625879040001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":161648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:27:19] local.INFO: GPS data processed {"connection_id":161648,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:27:19] local.INFO: Acknowledgment sent {"connection_id":161648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:27:41] local.INFO: TCP Data received {"connection_id":161649,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:27:41] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:27:41] local.INFO: IMEI packet received {"connection_id":161649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":161649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:27:46] local.INFO: TCP Data received {"connection_id":161649,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:27:46] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:27:46] local.INFO: IMEI packet received {"connection_id":161649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":161649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:27:48] local.INFO: TCP Data received {"connection_id":161649,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:27:48] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:27:48] local.INFO: Packet analysis {"connection_id":161649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:27:48] local.INFO: Extracted packet for processing {"connection_id":161649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625879040001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787601391000,"timestamp_ms":1787601391000,"timestamp_seconds":1787601391,"priority":1,"record_length":96,"hex_timestamp":"000001a035588d98"} 
[2026-08-25 01:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625879040001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625879040001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:27:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625879040001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":161649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:27:48] local.INFO: GPS data processed {"connection_id":161649,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:27:48] local.INFO: Acknowledgment sent {"connection_id":161649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:27:53] local.INFO: TCP Data received {"connection_id":161649,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:27:53] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:27:53] local.INFO: Packet analysis {"connection_id":161649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:27:53] local.INFO: Extracted packet for processing {"connection_id":161649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625879040001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787601391000,"timestamp_ms":1787601391000,"timestamp_seconds":1787601391,"priority":1,"record_length":96,"hex_timestamp":"000001a035588d98"} 
[2026-08-25 01:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:27: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-25 01:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625879040001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625879040001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:27:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625879040001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":161649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:27:53] local.INFO: GPS data processed {"connection_id":161649,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:27:53] local.INFO: Acknowledgment sent {"connection_id":161649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:28:25] local.INFO: TCP Data received {"connection_id":161649,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:28:25] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:28:25] local.INFO: Packet analysis {"connection_id":161649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:28:25] local.INFO: Extracted packet for processing {"connection_id":161649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:28:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625879040001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787601391000,"timestamp_ms":1787601391000,"timestamp_seconds":1787601391,"priority":1,"record_length":96,"hex_timestamp":"000001a035588d98"} 
[2026-08-25 01:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:28: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-25 01:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625879040001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625879040001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:28:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625879040001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":161649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:28:25] local.INFO: GPS data processed {"connection_id":161649,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:28:25] local.INFO: Acknowledgment sent {"connection_id":161649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:28:42] local.INFO: TCP Data received {"connection_id":164021,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:28:42] local.INFO: Processing buffer {"connection_id":164021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:28:42] local.INFO: IMEI packet received {"connection_id":164021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":164021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:28:46] local.INFO: TCP Data received {"connection_id":164021,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:28:46] local.INFO: Processing buffer {"connection_id":164021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:28:46] local.INFO: IMEI packet received {"connection_id":164021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":164021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:28:49] local.INFO: TCP Data received {"connection_id":164021,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:28:49] local.INFO: Processing buffer {"connection_id":164021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:28:49] local.INFO: Packet analysis {"connection_id":164021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:28:49] local.INFO: Extracted packet for processing {"connection_id":164021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625879040001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787601391000,"timestamp_ms":1787601391000,"timestamp_seconds":1787601391,"priority":1,"record_length":96,"hex_timestamp":"000001a035588d98"} 
[2026-08-25 01: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-25 01:28: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-25 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625879040001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625879040001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:28:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625879040001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":164021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:28:49] local.INFO: GPS data processed {"connection_id":164021,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:28:49] local.INFO: Acknowledgment sent {"connection_id":164021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:28:53] local.INFO: TCP Data received {"connection_id":164021,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:28:53] local.INFO: Processing buffer {"connection_id":164021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:28:53] local.INFO: Packet analysis {"connection_id":164021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:28:53] local.INFO: Extracted packet for processing {"connection_id":164021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625879040001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787601391000,"timestamp_ms":1787601391000,"timestamp_seconds":1787601391,"priority":1,"record_length":96,"hex_timestamp":"000001a035588d98"} 
[2026-08-25 01: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-25 01:28: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-25 01:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625879040001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625879040001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:28:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625879040001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":164021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:28:53] local.INFO: GPS data processed {"connection_id":164021,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:28:53] local.INFO: Acknowledgment sent {"connection_id":164021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:29:25] local.INFO: TCP Data received {"connection_id":164021,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:29:25] local.INFO: Processing buffer {"connection_id":164021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:29:25] local.INFO: Packet analysis {"connection_id":164021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:29:25] local.INFO: Extracted packet for processing {"connection_id":164021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625879040001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787601391000,"timestamp_ms":1787601391000,"timestamp_seconds":1787601391,"priority":1,"record_length":96,"hex_timestamp":"000001a035588d98"} 
[2026-08-25 01: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-25 01:29: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-25 01:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625879040001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625879040001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:29:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625879040001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":164021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:29:25] local.INFO: GPS data processed {"connection_id":164021,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:29:25] local.INFO: Acknowledgment sent {"connection_id":164021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:29:41] local.INFO: TCP Data received {"connection_id":161388,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:29:41] local.INFO: Processing buffer {"connection_id":161388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:29:41] local.INFO: IMEI packet received {"connection_id":161388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":161388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:29:46] local.INFO: TCP Data received {"connection_id":161388,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:29:46] local.INFO: Processing buffer {"connection_id":161388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:29:46] local.INFO: IMEI packet received {"connection_id":161388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":161388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:29:48] local.INFO: TCP Data received {"connection_id":161388,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:29:48] local.INFO: Processing buffer {"connection_id":161388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:29:48] local.INFO: Packet analysis {"connection_id":161388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:29:48] local.INFO: Extracted packet for processing {"connection_id":161388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625879040001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787601391000,"timestamp_ms":1787601391000,"timestamp_seconds":1787601391,"priority":1,"record_length":96,"hex_timestamp":"000001a035588d98"} 
[2026-08-25 01:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625879040001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625879040001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:29:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625879040001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":161388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:29:48] local.INFO: GPS data processed {"connection_id":161388,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:29:48] local.INFO: Acknowledgment sent {"connection_id":161388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:30:19] local.INFO: TCP Data received {"connection_id":161388,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:30:19] local.INFO: Processing buffer {"connection_id":161388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:30:19] local.INFO: Packet analysis {"connection_id":161388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:30:19] local.INFO: Extracted packet for processing {"connection_id":161388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:30:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625879040001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787601391000,"timestamp_ms":1787601391000,"timestamp_seconds":1787601391,"priority":1,"record_length":96,"hex_timestamp":"000001a035588d98"} 
[2026-08-25 01:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:30: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-25 01:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625879040001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625879040001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:30:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:30:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625879040001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":161388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:30:19] local.INFO: GPS data processed {"connection_id":161388,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:30:19] local.INFO: Acknowledgment sent {"connection_id":161388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:30:41] local.INFO: TCP Data received {"connection_id":161389,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:30:41] local.INFO: Processing buffer {"connection_id":161389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:30:41] local.INFO: IMEI packet received {"connection_id":161389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":161389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:30:46] local.INFO: TCP Data received {"connection_id":161389,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:30:46] local.INFO: Processing buffer {"connection_id":161389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:30:46] local.INFO: IMEI packet received {"connection_id":161389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":161389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:30:47] local.INFO: TCP Data received {"connection_id":161389,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:30:47] local.INFO: Processing buffer {"connection_id":161389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:30:47] local.INFO: Packet analysis {"connection_id":161389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:30:47] local.INFO: Extracted packet for processing {"connection_id":161389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625879040001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601391000,"timestamp_ms":1787601391000,"timestamp_seconds":1787601391,"priority":1,"record_length":96,"hex_timestamp":"000001a035588d98"} 
[2026-08-25 01:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:30: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-25 01:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625879040001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625879040001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:30:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625879040001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":161389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:30:47] local.INFO: GPS data processed {"connection_id":161389,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:30:47] local.INFO: Acknowledgment sent {"connection_id":161389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:31:19] local.INFO: TCP Data received {"connection_id":161389,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:31:19] local.INFO: Processing buffer {"connection_id":161389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:31:19] local.INFO: Packet analysis {"connection_id":161389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:31:19] local.INFO: Extracted packet for processing {"connection_id":161389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625879040001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787601391000,"timestamp_ms":1787601391000,"timestamp_seconds":1787601391,"priority":1,"record_length":96,"hex_timestamp":"000001a035588d98"} 
[2026-08-25 01: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-25 01:31: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-25 01:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01: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-25 01: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-25 01:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625879040001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625879040001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:31:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625879040001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":161389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:31:19] local.INFO: GPS data processed {"connection_id":161389,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:31:19] local.INFO: Acknowledgment sent {"connection_id":161389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:31:46] local.INFO: TCP Data received {"connection_id":162630,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:31:46] local.INFO: Processing buffer {"connection_id":162630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:31:46] local.INFO: IMEI packet received {"connection_id":162630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":162630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:31:51] local.INFO: TCP Data received {"connection_id":162630,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:31:51] local.INFO: Processing buffer {"connection_id":162630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:31:51] local.INFO: IMEI packet received {"connection_id":162630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":162630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:31:53] local.INFO: TCP Data received {"connection_id":162630,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:31:53] local.INFO: Processing buffer {"connection_id":162630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:31:53] local.INFO: Packet analysis {"connection_id":162630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:31:53] local.INFO: Extracted packet for processing {"connection_id":162630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625879040001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787601391000,"timestamp_ms":1787601391000,"timestamp_seconds":1787601391,"priority":1,"record_length":96,"hex_timestamp":"000001a035588d98"} 
[2026-08-25 01:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:31: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-25 01:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625879040001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625879040001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:31:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625879040001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":162630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:31:53] local.INFO: GPS data processed {"connection_id":162630,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:31:53] local.INFO: Acknowledgment sent {"connection_id":162630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:31:58] local.INFO: TCP Data received {"connection_id":162630,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:31:58] local.INFO: Processing buffer {"connection_id":162630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035588d98012d34c9c006aa4760000c012126..."} 
[2026-08-25 01:31:58] local.INFO: Packet analysis {"connection_id":162630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:31:58] local.INFO: Extracted packet for processing {"connection_id":162630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03558"} 
[2026-08-25 01:31:58] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:31: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-25 01:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625879040001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787601391000,"timestamp_ms":1787601391000,"timestamp_seconds":1787601391,"priority":1,"record_length":96,"hex_timestamp":"000001a035588d98"} 
[2026-08-25 01:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:31: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-25 01:31: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":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01:31: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-25 01:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625879040001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625879040001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:31:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:31:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625879040001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":162630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:31:58] local.INFO: GPS data processed {"connection_id":162630,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:31:58] local.INFO: Acknowledgment sent {"connection_id":162630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:32:41] local.INFO: TCP Data received {"connection_id":164022,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:32:41] local.INFO: Processing buffer {"connection_id":164022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:32:41] local.INFO: IMEI packet received {"connection_id":164022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":164022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:32:46] local.INFO: TCP Data received {"connection_id":164022,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:32:46] local.INFO: Processing buffer {"connection_id":164022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:32:46] local.INFO: IMEI packet received {"connection_id":164022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":164022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:32:47] local.INFO: TCP Data received {"connection_id":164022,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:32:47] local.INFO: Processing buffer {"connection_id":164022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:32:47] local.INFO: Packet analysis {"connection_id":164022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:32:47] local.INFO: Extracted packet for processing {"connection_id":164022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625956096001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:32:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601692000,"timestamp_ms":1787601692000,"timestamp_seconds":1787601692,"priority":1,"record_length":96,"hex_timestamp":"000001a0355d2560"} 
[2026-08-25 01:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:32: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-25 01:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625956096001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625956096001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625956096001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":164022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:32:47] local.INFO: GPS data processed {"connection_id":164022,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:32:47] local.INFO: Acknowledgment sent {"connection_id":164022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:33:19] local.INFO: TCP Data received {"connection_id":164022,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:33:19] local.INFO: Processing buffer {"connection_id":164022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:33:19] local.INFO: Packet analysis {"connection_id":164022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:33:19] local.INFO: Extracted packet for processing {"connection_id":164022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625956096001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:33:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787601692000,"timestamp_ms":1787601692000,"timestamp_seconds":1787601692,"priority":1,"record_length":96,"hex_timestamp":"000001a0355d2560"} 
[2026-08-25 01:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:33: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-25 01:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625956096001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625956096001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625956096001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":164022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:33:19] local.INFO: GPS data processed {"connection_id":164022,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:33:19] local.INFO: Acknowledgment sent {"connection_id":164022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:33:41] local.INFO: TCP Data received {"connection_id":162631,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:33:41] local.INFO: Processing buffer {"connection_id":162631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:33:41] local.INFO: IMEI packet received {"connection_id":162631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":162631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:33:46] local.INFO: TCP Data received {"connection_id":162631,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:33:46] local.INFO: Processing buffer {"connection_id":162631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:33:46] local.INFO: IMEI packet received {"connection_id":162631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":162631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:33:47] local.INFO: TCP Data received {"connection_id":162631,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:33:47] local.INFO: Processing buffer {"connection_id":162631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:33:47] local.INFO: Packet analysis {"connection_id":162631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:33:47] local.INFO: Extracted packet for processing {"connection_id":162631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625956096001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:33:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601692000,"timestamp_ms":1787601692000,"timestamp_seconds":1787601692,"priority":1,"record_length":96,"hex_timestamp":"000001a0355d2560"} 
[2026-08-25 01:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:33: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-25 01:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625956096001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625956096001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625956096001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":162631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:33:47] local.INFO: GPS data processed {"connection_id":162631,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:33:47] local.INFO: Acknowledgment sent {"connection_id":162631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:34:18] local.INFO: TCP Data received {"connection_id":162631,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:34:18] local.INFO: Processing buffer {"connection_id":162631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:34:18] local.INFO: Packet analysis {"connection_id":162631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:34:18] local.INFO: Extracted packet for processing {"connection_id":162631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625956096001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:34:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787601692000,"timestamp_ms":1787601692000,"timestamp_seconds":1787601692,"priority":1,"record_length":96,"hex_timestamp":"000001a0355d2560"} 
[2026-08-25 01:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:34: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-25 01:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625956096001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625956096001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625956096001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":162631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:34:18] local.INFO: GPS data processed {"connection_id":162631,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:34:18] local.INFO: Acknowledgment sent {"connection_id":162631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:34:41] local.INFO: TCP Data received {"connection_id":164023,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:34:41] local.INFO: Processing buffer {"connection_id":164023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:34:41] local.INFO: IMEI packet received {"connection_id":164023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":164023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:34:46] local.INFO: TCP Data received {"connection_id":164023,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:34:46] local.INFO: Processing buffer {"connection_id":164023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:34:46] local.INFO: IMEI packet received {"connection_id":164023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":164023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:34:47] local.INFO: TCP Data received {"connection_id":164023,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:34:47] local.INFO: Processing buffer {"connection_id":164023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:34:47] local.INFO: Packet analysis {"connection_id":164023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:34:47] local.INFO: Extracted packet for processing {"connection_id":164023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625956096001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:34:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601692000,"timestamp_ms":1787601692000,"timestamp_seconds":1787601692,"priority":1,"record_length":96,"hex_timestamp":"000001a0355d2560"} 
[2026-08-25 01:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:34: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-25 01:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625956096001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625956096001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625956096001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":164023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:34:47] local.INFO: GPS data processed {"connection_id":164023,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:34:47] local.INFO: Acknowledgment sent {"connection_id":164023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:35:19] local.INFO: TCP Data received {"connection_id":164023,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:35:19] local.INFO: Processing buffer {"connection_id":164023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:35:19] local.INFO: Packet analysis {"connection_id":164023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:35:19] local.INFO: Extracted packet for processing {"connection_id":164023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625956096001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:35:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787601692000,"timestamp_ms":1787601692000,"timestamp_seconds":1787601692,"priority":1,"record_length":96,"hex_timestamp":"000001a0355d2560"} 
[2026-08-25 01:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:35: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-25 01:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625956096001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625956096001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625956096001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":164023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:35:19] local.INFO: GPS data processed {"connection_id":164023,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:35:19] local.INFO: Acknowledgment sent {"connection_id":164023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:35:41] local.INFO: TCP Data received {"connection_id":161390,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:35:41] local.INFO: Processing buffer {"connection_id":161390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:35:41] local.INFO: IMEI packet received {"connection_id":161390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":161390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:35:46] local.INFO: TCP Data received {"connection_id":161390,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:35:46] local.INFO: Processing buffer {"connection_id":161390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:35:46] local.INFO: IMEI packet received {"connection_id":161390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":161390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:35:47] local.INFO: TCP Data received {"connection_id":161390,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:35:47] local.INFO: Processing buffer {"connection_id":161390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:35:47] local.INFO: Packet analysis {"connection_id":161390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:35:47] local.INFO: Extracted packet for processing {"connection_id":161390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625956096001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:35:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601692000,"timestamp_ms":1787601692000,"timestamp_seconds":1787601692,"priority":1,"record_length":96,"hex_timestamp":"000001a0355d2560"} 
[2026-08-25 01:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:35: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-25 01:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625956096001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625956096001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625956096001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":161390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:35:47] local.INFO: GPS data processed {"connection_id":161390,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:35:47] local.INFO: Acknowledgment sent {"connection_id":161390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:36:18] local.INFO: TCP Data received {"connection_id":161390,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:36:18] local.INFO: Processing buffer {"connection_id":161390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:36:18] local.INFO: Packet analysis {"connection_id":161390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:36:18] local.INFO: Extracted packet for processing {"connection_id":161390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625956096001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:36:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787601692000,"timestamp_ms":1787601692000,"timestamp_seconds":1787601692,"priority":1,"record_length":96,"hex_timestamp":"000001a0355d2560"} 
[2026-08-25 01:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:36: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-25 01:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625956096001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625956096001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625956096001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":161390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:36:18] local.INFO: GPS data processed {"connection_id":161390,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:36:18] local.INFO: Acknowledgment sent {"connection_id":161390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:36:46] local.INFO: TCP Data received {"connection_id":164024,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:36:46] local.INFO: Processing buffer {"connection_id":164024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:36:46] local.INFO: IMEI packet received {"connection_id":164024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":164024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:36:51] local.INFO: TCP Data received {"connection_id":164024,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:36:51] local.INFO: Processing buffer {"connection_id":164024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:36:51] local.INFO: IMEI packet received {"connection_id":164024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":164024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:36:52] local.INFO: TCP Data received {"connection_id":164024,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:36:52] local.INFO: Processing buffer {"connection_id":164024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:36:52] local.INFO: Packet analysis {"connection_id":164024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:36:52] local.INFO: Extracted packet for processing {"connection_id":164024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625956096001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:36:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787601692000,"timestamp_ms":1787601692000,"timestamp_seconds":1787601692,"priority":1,"record_length":96,"hex_timestamp":"000001a0355d2560"} 
[2026-08-25 01:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625956096001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625956096001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625956096001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":164024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:36:52] local.INFO: GPS data processed {"connection_id":164024,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:36:52] local.INFO: Acknowledgment sent {"connection_id":164024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:36:57] local.INFO: TCP Data received {"connection_id":164024,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:36:57] local.INFO: Processing buffer {"connection_id":164024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0355d2560012d34c9c006aa4760000b012124..."} 
[2026-08-25 01:36:57] local.INFO: Packet analysis {"connection_id":164024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:36:57] local.INFO: Extracted packet for processing {"connection_id":164024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0355d"} 
[2026-08-25 01:36:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457625956096001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:36:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787601692000,"timestamp_ms":1787601692000,"timestamp_seconds":1787601692,"priority":1,"record_length":96,"hex_timestamp":"000001a0355d2560"} 
[2026-08-25 01: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-25 01:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01: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-25 01: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-25 01:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457625956096001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457625956096001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:36:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457625956096001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":164024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:36:57] local.INFO: GPS data processed {"connection_id":164024,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:36:57] local.INFO: Acknowledgment sent {"connection_id":164024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:37:41] local.INFO: TCP Data received {"connection_id":162632,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:37:41] local.INFO: Processing buffer {"connection_id":162632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:37:41] local.INFO: IMEI packet received {"connection_id":162632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":162632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:37:46] local.INFO: TCP Data received {"connection_id":162632,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:37:46] local.INFO: Processing buffer {"connection_id":162632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:37:46] local.INFO: IMEI packet received {"connection_id":162632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":162632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:37:47] local.INFO: TCP Data received {"connection_id":162632,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:37:47] local.INFO: Processing buffer {"connection_id":162632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:37:47] local.INFO: Packet analysis {"connection_id":162632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:37:47] local.INFO: Extracted packet for processing {"connection_id":162632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626033152001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:37:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601993000,"timestamp_ms":1787601993000,"timestamp_seconds":1787601993,"priority":1,"record_length":96,"hex_timestamp":"000001a03561bd28"} 
[2026-08-25 01:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626033152001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626033152001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626033152001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":162632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:37:47] local.INFO: GPS data processed {"connection_id":162632,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:37:47] local.INFO: Acknowledgment sent {"connection_id":162632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:38:18] local.INFO: TCP Data received {"connection_id":162632,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:38:18] local.INFO: Processing buffer {"connection_id":162632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:38:18] local.INFO: Packet analysis {"connection_id":162632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:38:18] local.INFO: Extracted packet for processing {"connection_id":162632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626033152001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:38:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787601993000,"timestamp_ms":1787601993000,"timestamp_seconds":1787601993,"priority":1,"record_length":96,"hex_timestamp":"000001a03561bd28"} 
[2026-08-25 01:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 01:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626033152001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626033152001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626033152001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":162632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:38:18] local.INFO: GPS data processed {"connection_id":162632,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:38:18] local.INFO: Acknowledgment sent {"connection_id":162632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:38:41] local.INFO: TCP Data received {"connection_id":162633,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:38:41] local.INFO: Processing buffer {"connection_id":162633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:38:41] local.INFO: IMEI packet received {"connection_id":162633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":162633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:38:46] local.INFO: TCP Data received {"connection_id":162633,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:38:46] local.INFO: Processing buffer {"connection_id":162633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:38:46] local.INFO: IMEI packet received {"connection_id":162633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":162633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:38:48] local.INFO: TCP Data received {"connection_id":162633,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:38:48] local.INFO: Processing buffer {"connection_id":162633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:38:48] local.INFO: Packet analysis {"connection_id":162633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:38:48] local.INFO: Extracted packet for processing {"connection_id":162633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626033152001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:38:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787601993000,"timestamp_ms":1787601993000,"timestamp_seconds":1787601993,"priority":1,"record_length":96,"hex_timestamp":"000001a03561bd28"} 
[2026-08-25 01:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626033152001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626033152001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626033152001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":162633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:38:48] local.INFO: GPS data processed {"connection_id":162633,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:38:48] local.INFO: Acknowledgment sent {"connection_id":162633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:39:19] local.INFO: TCP Data received {"connection_id":162633,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:39:19] local.INFO: Processing buffer {"connection_id":162633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:39:19] local.INFO: Packet analysis {"connection_id":162633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:39:19] local.INFO: Extracted packet for processing {"connection_id":162633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626033152001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:39:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787601993000,"timestamp_ms":1787601993000,"timestamp_seconds":1787601993,"priority":1,"record_length":96,"hex_timestamp":"000001a03561bd28"} 
[2026-08-25 01:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:39: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-25 01:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626033152001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626033152001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626033152001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":162633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:39:19] local.INFO: GPS data processed {"connection_id":162633,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:39:19] local.INFO: Acknowledgment sent {"connection_id":162633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:39:41] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:39:41] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:39:41] local.INFO: IMEI packet received {"connection_id":161650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":161650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:39:46] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:39:46] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:39:46] local.INFO: IMEI packet received {"connection_id":161650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":161650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:39:47] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:39:47] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:39:47] local.INFO: Packet analysis {"connection_id":161650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:39:47] local.INFO: Extracted packet for processing {"connection_id":161650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626033152001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:39:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601993000,"timestamp_ms":1787601993000,"timestamp_seconds":1787601993,"priority":1,"record_length":96,"hex_timestamp":"000001a03561bd28"} 
[2026-08-25 01:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626033152001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626033152001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626033152001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":161650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:39:47] local.INFO: GPS data processed {"connection_id":161650,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:39:47] local.INFO: Acknowledgment sent {"connection_id":161650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:40:19] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:40:19] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:40:19] local.INFO: Packet analysis {"connection_id":161650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:40:19] local.INFO: Extracted packet for processing {"connection_id":161650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626033152001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:40:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787601993000,"timestamp_ms":1787601993000,"timestamp_seconds":1787601993,"priority":1,"record_length":96,"hex_timestamp":"000001a03561bd28"} 
[2026-08-25 01:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:40: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-25 01:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626033152001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626033152001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626033152001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":161650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:40:19] local.INFO: GPS data processed {"connection_id":161650,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:40:19] local.INFO: Acknowledgment sent {"connection_id":161650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:40:41] local.INFO: TCP Data received {"connection_id":164025,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:40:41] local.INFO: Processing buffer {"connection_id":164025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:40:41] local.INFO: IMEI packet received {"connection_id":164025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":164025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:40:46] local.INFO: TCP Data received {"connection_id":164025,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:40:46] local.INFO: Processing buffer {"connection_id":164025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:40:46] local.INFO: IMEI packet received {"connection_id":164025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":164025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:40:47] local.INFO: TCP Data received {"connection_id":164025,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:40:47] local.INFO: Processing buffer {"connection_id":164025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:40:47] local.INFO: Packet analysis {"connection_id":164025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:40:47] local.INFO: Extracted packet for processing {"connection_id":164025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626033152001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:40:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601993000,"timestamp_ms":1787601993000,"timestamp_seconds":1787601993,"priority":1,"record_length":96,"hex_timestamp":"000001a03561bd28"} 
[2026-08-25 01: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-25 01:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626033152001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626033152001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626033152001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":164025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:40:47] local.INFO: GPS data processed {"connection_id":164025,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:40:47] local.INFO: Acknowledgment sent {"connection_id":164025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:41:19] local.INFO: TCP Data received {"connection_id":164025,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:41:19] local.INFO: Processing buffer {"connection_id":164025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:41:19] local.INFO: Packet analysis {"connection_id":164025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:41:19] local.INFO: Extracted packet for processing {"connection_id":164025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626033152001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:41:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787601993000,"timestamp_ms":1787601993000,"timestamp_seconds":1787601993,"priority":1,"record_length":96,"hex_timestamp":"000001a03561bd28"} 
[2026-08-25 01: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-25 01:41: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-25 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01: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-25 01: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-25 01:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626033152001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626033152001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626033152001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":164025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:41:19] local.INFO: GPS data processed {"connection_id":164025,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:41:19] local.INFO: Acknowledgment sent {"connection_id":164025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:41:41] local.INFO: TCP Data received {"connection_id":161391,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:41:41] local.INFO: Processing buffer {"connection_id":161391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:41:41] local.INFO: IMEI packet received {"connection_id":161391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":161391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:41:46] local.INFO: TCP Data received {"connection_id":161391,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:41:46] local.INFO: Processing buffer {"connection_id":161391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:41:46] local.INFO: IMEI packet received {"connection_id":161391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":161391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:41:47] local.INFO: TCP Data received {"connection_id":161391,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:41:47] local.INFO: Processing buffer {"connection_id":161391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03561bd28012d34c9c006aa4760000b012121..."} 
[2026-08-25 01:41:47] local.INFO: Packet analysis {"connection_id":161391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:41:47] local.INFO: Extracted packet for processing {"connection_id":161391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03561"} 
[2026-08-25 01:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":11,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626033152001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787601993000,"timestamp_ms":1787601993000,"timestamp_seconds":1787601993,"priority":1,"record_length":96,"hex_timestamp":"000001a03561bd28"} 
[2026-08-25 01:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626033152001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626033152001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626033152001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":161391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:41:47] local.INFO: GPS data processed {"connection_id":161391,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:41:47] local.INFO: Acknowledgment sent {"connection_id":161391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:42:18] local.INFO: TCP Data received {"connection_id":161391,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:42:18] local.INFO: Processing buffer {"connection_id":161391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:42:18] local.INFO: Packet analysis {"connection_id":161391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:42:18] local.INFO: Extracted packet for processing {"connection_id":161391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626110208001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:42:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787602294000,"timestamp_ms":1787602294000,"timestamp_seconds":1787602294,"priority":1,"record_length":96,"hex_timestamp":"000001a0356654f0"} 
[2026-08-25 01: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-25 01:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 01: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626110208001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626110208001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626110208001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":161391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:42:18] local.INFO: GPS data processed {"connection_id":161391,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:42:18] local.INFO: Acknowledgment sent {"connection_id":161391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:42:47] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:42:47] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:42:47] local.INFO: IMEI packet received {"connection_id":161651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":161651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:42:51] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:42:51] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:42:51] local.INFO: IMEI packet received {"connection_id":161651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":161651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:42:52] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:42:52] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:42:52] local.INFO: Packet analysis {"connection_id":161651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:42:52] local.INFO: Extracted packet for processing {"connection_id":161651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626110208001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:42:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787602294000,"timestamp_ms":1787602294000,"timestamp_seconds":1787602294,"priority":1,"record_length":96,"hex_timestamp":"000001a0356654f0"} 
[2026-08-25 01:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626110208001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626110208001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626110208001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":161651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:42:52] local.INFO: GPS data processed {"connection_id":161651,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:42:52] local.INFO: Acknowledgment sent {"connection_id":161651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:43:24] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:43:24] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:43:24] local.INFO: Packet analysis {"connection_id":161651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:43:24] local.INFO: Extracted packet for processing {"connection_id":161651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626110208001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:43:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787602294000,"timestamp_ms":1787602294000,"timestamp_seconds":1787602294,"priority":1,"record_length":96,"hex_timestamp":"000001a0356654f0"} 
[2026-08-25 01: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-25 01:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626110208001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626110208001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626110208001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":161651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:43:24] local.INFO: GPS data processed {"connection_id":161651,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:43:24] local.INFO: Acknowledgment sent {"connection_id":161651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:43:41] local.INFO: TCP Data received {"connection_id":162634,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:43:41] local.INFO: Processing buffer {"connection_id":162634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:43:41] local.INFO: IMEI packet received {"connection_id":162634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":162634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:43:46] local.INFO: TCP Data received {"connection_id":162634,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:43:46] local.INFO: Processing buffer {"connection_id":162634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:43:46] local.INFO: IMEI packet received {"connection_id":162634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":162634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:43:47] local.INFO: TCP Data received {"connection_id":162634,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:43:47] local.INFO: Processing buffer {"connection_id":162634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:43:47] local.INFO: Packet analysis {"connection_id":162634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:43:47] local.INFO: Extracted packet for processing {"connection_id":162634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626110208001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:43:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787602294000,"timestamp_ms":1787602294000,"timestamp_seconds":1787602294,"priority":1,"record_length":96,"hex_timestamp":"000001a0356654f0"} 
[2026-08-25 01:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626110208001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626110208001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626110208001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":162634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:43:47] local.INFO: GPS data processed {"connection_id":162634,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:43:47] local.INFO: Acknowledgment sent {"connection_id":162634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:44:18] local.INFO: TCP Data received {"connection_id":162634,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:44:18] local.INFO: Processing buffer {"connection_id":162634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:44:18] local.INFO: Packet analysis {"connection_id":162634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:44:18] local.INFO: Extracted packet for processing {"connection_id":162634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:44:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626110208001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:44:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787602294000,"timestamp_ms":1787602294000,"timestamp_seconds":1787602294,"priority":1,"record_length":96,"hex_timestamp":"000001a0356654f0"} 
[2026-08-25 01:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 01:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626110208001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626110208001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:44:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626110208001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":162634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:44:18] local.INFO: GPS data processed {"connection_id":162634,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:44:18] local.INFO: Acknowledgment sent {"connection_id":162634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:44:41] local.INFO: TCP Data received {"connection_id":164026,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:44:41] local.INFO: Processing buffer {"connection_id":164026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:44:41] local.INFO: IMEI packet received {"connection_id":164026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":164026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:44:46] local.INFO: TCP Data received {"connection_id":164026,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:44:46] local.INFO: Processing buffer {"connection_id":164026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:44:46] local.INFO: IMEI packet received {"connection_id":164026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":164026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:44:47] local.INFO: TCP Data received {"connection_id":164026,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:44:47] local.INFO: Processing buffer {"connection_id":164026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:44:47] local.INFO: Packet analysis {"connection_id":164026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:44:47] local.INFO: Extracted packet for processing {"connection_id":164026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626110208001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:44:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787602294000,"timestamp_ms":1787602294000,"timestamp_seconds":1787602294,"priority":1,"record_length":96,"hex_timestamp":"000001a0356654f0"} 
[2026-08-25 01:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626110208001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626110208001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626110208001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":164026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:44:47] local.INFO: GPS data processed {"connection_id":164026,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:44:47] local.INFO: Acknowledgment sent {"connection_id":164026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:45:19] local.INFO: TCP Data received {"connection_id":164026,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:45:19] local.INFO: Processing buffer {"connection_id":164026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:45:19] local.INFO: Packet analysis {"connection_id":164026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:45:19] local.INFO: Extracted packet for processing {"connection_id":164026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626110208001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:45:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787602294000,"timestamp_ms":1787602294000,"timestamp_seconds":1787602294,"priority":1,"record_length":96,"hex_timestamp":"000001a0356654f0"} 
[2026-08-25 01:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:45: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-25 01:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626110208001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626110208001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626110208001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":164026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:45:19] local.INFO: GPS data processed {"connection_id":164026,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:45:19] local.INFO: Acknowledgment sent {"connection_id":164026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:45:41] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:45:41] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:45:41] local.INFO: IMEI packet received {"connection_id":161652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":161652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:45:46] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:45:46] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:45:46] local.INFO: IMEI packet received {"connection_id":161652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":161652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:45:47] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:45:47] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:45:47] local.INFO: Packet analysis {"connection_id":161652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:45:47] local.INFO: Extracted packet for processing {"connection_id":161652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626110208001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:45:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787602294000,"timestamp_ms":1787602294000,"timestamp_seconds":1787602294,"priority":1,"record_length":96,"hex_timestamp":"000001a0356654f0"} 
[2026-08-25 01:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626110208001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626110208001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626110208001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":161652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:45:48] local.INFO: GPS data processed {"connection_id":161652,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:45:48] local.INFO: Acknowledgment sent {"connection_id":161652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:46:19] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:46:19] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:46:19] local.INFO: Packet analysis {"connection_id":161652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:46:19] local.INFO: Extracted packet for processing {"connection_id":161652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626110208001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:46:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787602294000,"timestamp_ms":1787602294000,"timestamp_seconds":1787602294,"priority":1,"record_length":96,"hex_timestamp":"000001a0356654f0"} 
[2026-08-25 01:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:46: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-25 01:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626110208001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626110208001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626110208001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":161652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:46:19] local.INFO: GPS data processed {"connection_id":161652,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:46:19] local.INFO: Acknowledgment sent {"connection_id":161652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:46:41] local.INFO: TCP Data received {"connection_id":161392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:46:41] local.INFO: Processing buffer {"connection_id":161392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:46:41] local.INFO: IMEI packet received {"connection_id":161392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":161392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:46:46] local.INFO: TCP Data received {"connection_id":161392,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:46:46] local.INFO: Processing buffer {"connection_id":161392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:46:46] local.INFO: IMEI packet received {"connection_id":161392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":161392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:46:47] local.INFO: TCP Data received {"connection_id":161392,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:46:47] local.INFO: Processing buffer {"connection_id":161392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356654f0012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:46:47] local.INFO: Packet analysis {"connection_id":161392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:46:47] local.INFO: Extracted packet for processing {"connection_id":161392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03566"} 
[2026-08-25 01:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626110208001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:46:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787602294000,"timestamp_ms":1787602294000,"timestamp_seconds":1787602294,"priority":1,"record_length":96,"hex_timestamp":"000001a0356654f0"} 
[2026-08-25 01:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626110208001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626110208001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626110208001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":161392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:46:47] local.INFO: GPS data processed {"connection_id":161392,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:46:47] local.INFO: Acknowledgment sent {"connection_id":161392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:47:19] local.INFO: TCP Data received {"connection_id":161392,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:47:19] local.INFO: Processing buffer {"connection_id":161392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:47:19] local.INFO: Packet analysis {"connection_id":161392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:47:19] local.INFO: Extracted packet for processing {"connection_id":161392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:47:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626187264001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:47:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787602595000,"timestamp_ms":1787602595000,"timestamp_seconds":1787602595,"priority":1,"record_length":96,"hex_timestamp":"000001a0356aecb8"} 
[2026-08-25 01:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:47: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-25 01:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626187264001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626187264001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:47:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626187264001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":161392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:47:19] local.INFO: GPS data processed {"connection_id":161392,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:47:19] local.INFO: Acknowledgment sent {"connection_id":161392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:47:46] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:47:46] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:47:46] local.INFO: IMEI packet received {"connection_id":161653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":161653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:47:51] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:47:51] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:47:51] local.INFO: IMEI packet received {"connection_id":161653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":161653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:47:53] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:47:53] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:47:53] local.INFO: Packet analysis {"connection_id":161653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:47:53] local.INFO: Extracted packet for processing {"connection_id":161653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626187264001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:47:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787602595000,"timestamp_ms":1787602595000,"timestamp_seconds":1787602595,"priority":1,"record_length":96,"hex_timestamp":"000001a0356aecb8"} 
[2026-08-25 01:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 01:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626187264001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626187264001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626187264001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":161653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:47:53] local.INFO: GPS data processed {"connection_id":161653,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:47:53] local.INFO: Acknowledgment sent {"connection_id":161653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:48:24] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:48:24] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:48:24] local.INFO: Packet analysis {"connection_id":161653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:48:24] local.INFO: Extracted packet for processing {"connection_id":161653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626187264001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:48:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787602595000,"timestamp_ms":1787602595000,"timestamp_seconds":1787602595,"priority":1,"record_length":96,"hex_timestamp":"000001a0356aecb8"} 
[2026-08-25 01: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-25 01:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626187264001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626187264001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626187264001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":161653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:48:24] local.INFO: GPS data processed {"connection_id":161653,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:48:24] local.INFO: Acknowledgment sent {"connection_id":161653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:48:45] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:48:45] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:48:45] local.INFO: IMEI packet received {"connection_id":161654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":161654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:48:46] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:48:46] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:48:46] local.INFO: IMEI packet received {"connection_id":161654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":161654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:48:47] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:48:47] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:48:47] local.INFO: Packet analysis {"connection_id":161654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:48:47] local.INFO: Extracted packet for processing {"connection_id":161654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626187264001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:48:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787602595000,"timestamp_ms":1787602595000,"timestamp_seconds":1787602595,"priority":1,"record_length":96,"hex_timestamp":"000001a0356aecb8"} 
[2026-08-25 01:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626187264001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626187264001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626187264001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":161654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:48:47] local.INFO: GPS data processed {"connection_id":161654,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:48:47] local.INFO: Acknowledgment sent {"connection_id":161654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:48:52] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:48:52] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:48:52] local.INFO: Packet analysis {"connection_id":161654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:48:52] local.INFO: Extracted packet for processing {"connection_id":161654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626187264001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:48:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787602595000,"timestamp_ms":1787602595000,"timestamp_seconds":1787602595,"priority":1,"record_length":96,"hex_timestamp":"000001a0356aecb8"} 
[2026-08-25 01: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-25 01:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626187264001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626187264001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626187264001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":161654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:48:52] local.INFO: GPS data processed {"connection_id":161654,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:48:52] local.INFO: Acknowledgment sent {"connection_id":161654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:49:24] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:49:24] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:49:24] local.INFO: Packet analysis {"connection_id":161654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:49:24] local.INFO: Extracted packet for processing {"connection_id":161654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626187264001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:49:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787602595000,"timestamp_ms":1787602595000,"timestamp_seconds":1787602595,"priority":1,"record_length":96,"hex_timestamp":"000001a0356aecb8"} 
[2026-08-25 01:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626187264001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626187264001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626187264001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":161654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:49:24] local.INFO: GPS data processed {"connection_id":161654,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:49:24] local.INFO: Acknowledgment sent {"connection_id":161654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:49:41] local.INFO: TCP Data received {"connection_id":161393,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:49:41] local.INFO: Processing buffer {"connection_id":161393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:49:41] local.INFO: IMEI packet received {"connection_id":161393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":161393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:49:46] local.INFO: TCP Data received {"connection_id":161393,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:49:46] local.INFO: Processing buffer {"connection_id":161393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:49:46] local.INFO: IMEI packet received {"connection_id":161393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":161393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:49:47] local.INFO: TCP Data received {"connection_id":161393,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:49:47] local.INFO: Processing buffer {"connection_id":161393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:49:47] local.INFO: Packet analysis {"connection_id":161393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:49:47] local.INFO: Extracted packet for processing {"connection_id":161393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626187264001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:49:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787602595000,"timestamp_ms":1787602595000,"timestamp_seconds":1787602595,"priority":1,"record_length":96,"hex_timestamp":"000001a0356aecb8"} 
[2026-08-25 01:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626187264001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626187264001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626187264001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":161393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:49:47] local.INFO: GPS data processed {"connection_id":161393,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:49:47] local.INFO: Acknowledgment sent {"connection_id":161393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:50:18] local.INFO: TCP Data received {"connection_id":161393,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:50:18] local.INFO: Processing buffer {"connection_id":161393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:50:18] local.INFO: Packet analysis {"connection_id":161393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:50:18] local.INFO: Extracted packet for processing {"connection_id":161393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:50:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626187264001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:50:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787602595000,"timestamp_ms":1787602595000,"timestamp_seconds":1787602595,"priority":1,"record_length":96,"hex_timestamp":"000001a0356aecb8"} 
[2026-08-25 01:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 01:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626187264001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626187264001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:50:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626187264001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":161393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:50:18] local.INFO: GPS data processed {"connection_id":161393,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:50:18] local.INFO: Acknowledgment sent {"connection_id":161393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:50:41] local.INFO: TCP Data received {"connection_id":161655,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:50:41] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:50:41] local.INFO: IMEI packet received {"connection_id":161655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":161655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:50:46] local.INFO: TCP Data received {"connection_id":161655,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:50:46] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:50:46] local.INFO: IMEI packet received {"connection_id":161655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":161655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:50:47] local.INFO: TCP Data received {"connection_id":161655,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:50:47] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:50:47] local.INFO: Packet analysis {"connection_id":161655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:50:47] local.INFO: Extracted packet for processing {"connection_id":161655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626187264001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:50:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787602595000,"timestamp_ms":1787602595000,"timestamp_seconds":1787602595,"priority":1,"record_length":96,"hex_timestamp":"000001a0356aecb8"} 
[2026-08-25 01:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626187264001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626187264001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626187264001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":161655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:50:47] local.INFO: GPS data processed {"connection_id":161655,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:50:47] local.INFO: Acknowledgment sent {"connection_id":161655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:51:18] local.INFO: TCP Data received {"connection_id":161655,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:51:18] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:51:18] local.INFO: Packet analysis {"connection_id":161655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:51:18] local.INFO: Extracted packet for processing {"connection_id":161655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626187264001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:51:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787602595000,"timestamp_ms":1787602595000,"timestamp_seconds":1787602595,"priority":1,"record_length":96,"hex_timestamp":"000001a0356aecb8"} 
[2026-08-25 01:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 01:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626187264001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626187264001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626187264001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":161655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:51:19] local.INFO: GPS data processed {"connection_id":161655,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:51:19] local.INFO: Acknowledgment sent {"connection_id":161655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:51:46] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:51:46] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:51:46] local.INFO: IMEI packet received {"connection_id":161656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":161656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:51:51] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:51:51] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:51:51] local.INFO: IMEI packet received {"connection_id":161656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":161656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:51:52] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:51:52] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:51:52] local.INFO: Packet analysis {"connection_id":161656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:51:52] local.INFO: Extracted packet for processing {"connection_id":161656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626187264001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:51:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787602595000,"timestamp_ms":1787602595000,"timestamp_seconds":1787602595,"priority":1,"record_length":96,"hex_timestamp":"000001a0356aecb8"} 
[2026-08-25 01:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626187264001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626187264001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626187264001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":161656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:51:52] local.INFO: GPS data processed {"connection_id":161656,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:51:52] local.INFO: Acknowledgment sent {"connection_id":161656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:51:57] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:51:57] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356aecb8012d34c9c006aa4760000c012122..."} 
[2026-08-25 01:51:57] local.INFO: Packet analysis {"connection_id":161656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:51:57] local.INFO: Extracted packet for processing {"connection_id":161656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356a"} 
[2026-08-25 01:51:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:51: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-25 01:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626187264001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:51:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787602595000,"timestamp_ms":1787602595000,"timestamp_seconds":1787602595,"priority":1,"record_length":96,"hex_timestamp":"000001a0356aecb8"} 
[2026-08-25 01:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 01:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01:51: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-25 01:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626187264001,"66":25756,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626187264001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:51:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626187264001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":161656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:51:57] local.INFO: GPS data processed {"connection_id":161656,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:51:57] local.INFO: Acknowledgment sent {"connection_id":161656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:52:41] local.INFO: TCP Data received {"connection_id":161394,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:52:41] local.INFO: Processing buffer {"connection_id":161394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:52:41] local.INFO: IMEI packet received {"connection_id":161394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":161394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:52:46] local.INFO: TCP Data received {"connection_id":161394,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:52:46] local.INFO: Processing buffer {"connection_id":161394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:52:46] local.INFO: IMEI packet received {"connection_id":161394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":161394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:52:47] local.INFO: TCP Data received {"connection_id":161394,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:52:47] local.INFO: Processing buffer {"connection_id":161394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:52:47] local.INFO: Packet analysis {"connection_id":161394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:52:47] local.INFO: Extracted packet for processing {"connection_id":161394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626264320001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:52:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787602896000,"timestamp_ms":1787602896000,"timestamp_seconds":1787602896,"priority":1,"record_length":96,"hex_timestamp":"000001a0356f8480"} 
[2026-08-25 01:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626264320001,"66":25745,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626264320001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626264320001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":161394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:52:47] local.INFO: GPS data processed {"connection_id":161394,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:52:47] local.INFO: Acknowledgment sent {"connection_id":161394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:53:18] local.INFO: TCP Data received {"connection_id":161394,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:53:18] local.INFO: Processing buffer {"connection_id":161394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:53:18] local.INFO: Packet analysis {"connection_id":161394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:53:18] local.INFO: Extracted packet for processing {"connection_id":161394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:53:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626264320001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:53:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787602896000,"timestamp_ms":1787602896000,"timestamp_seconds":1787602896,"priority":1,"record_length":96,"hex_timestamp":"000001a0356f8480"} 
[2026-08-25 01:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 01:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626264320001,"66":25745,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626264320001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626264320001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":161394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:53:19] local.INFO: GPS data processed {"connection_id":161394,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:53:19] local.INFO: Acknowledgment sent {"connection_id":161394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:53:41] local.INFO: TCP Data received {"connection_id":162635,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:53:41] local.INFO: Processing buffer {"connection_id":162635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:53:41] local.INFO: IMEI packet received {"connection_id":162635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":162635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:53:46] local.INFO: TCP Data received {"connection_id":162635,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:53:46] local.INFO: Processing buffer {"connection_id":162635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:53:46] local.INFO: IMEI packet received {"connection_id":162635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":162635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:53:47] local.INFO: TCP Data received {"connection_id":162635,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:53:47] local.INFO: Processing buffer {"connection_id":162635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:53:47] local.INFO: Packet analysis {"connection_id":162635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:53:47] local.INFO: Extracted packet for processing {"connection_id":162635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626264320001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:53:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787602896000,"timestamp_ms":1787602896000,"timestamp_seconds":1787602896,"priority":1,"record_length":96,"hex_timestamp":"000001a0356f8480"} 
[2026-08-25 01:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626264320001,"66":25745,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626264320001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626264320001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":162635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:53:47] local.INFO: GPS data processed {"connection_id":162635,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:53:47] local.INFO: Acknowledgment sent {"connection_id":162635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:54:18] local.INFO: TCP Data received {"connection_id":162635,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:54:18] local.INFO: Processing buffer {"connection_id":162635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:54:18] local.INFO: Packet analysis {"connection_id":162635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:54:18] local.INFO: Extracted packet for processing {"connection_id":162635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626264320001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:54:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787602896000,"timestamp_ms":1787602896000,"timestamp_seconds":1787602896,"priority":1,"record_length":96,"hex_timestamp":"000001a0356f8480"} 
[2026-08-25 01:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 01:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626264320001,"66":25745,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626264320001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626264320001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":162635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:54:18] local.INFO: GPS data processed {"connection_id":162635,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:54:18] local.INFO: Acknowledgment sent {"connection_id":162635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:54:41] local.INFO: TCP Data received {"connection_id":164027,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:54:41] local.INFO: Processing buffer {"connection_id":164027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:54:41] local.INFO: IMEI packet received {"connection_id":164027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":164027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:54:46] local.INFO: TCP Data received {"connection_id":164027,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:54:46] local.INFO: Processing buffer {"connection_id":164027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:54:46] local.INFO: IMEI packet received {"connection_id":164027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":164027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:54:48] local.INFO: TCP Data received {"connection_id":164027,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:54:48] local.INFO: Processing buffer {"connection_id":164027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:54:48] local.INFO: Packet analysis {"connection_id":164027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:54:48] local.INFO: Extracted packet for processing {"connection_id":164027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626264320001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:54:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787602896000,"timestamp_ms":1787602896000,"timestamp_seconds":1787602896,"priority":1,"record_length":96,"hex_timestamp":"000001a0356f8480"} 
[2026-08-25 01:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626264320001,"66":25745,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626264320001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626264320001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":164027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:54:48] local.INFO: GPS data processed {"connection_id":164027,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:54:48] local.INFO: Acknowledgment sent {"connection_id":164027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:55:20] local.INFO: TCP Data received {"connection_id":164027,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:55:20] local.INFO: Processing buffer {"connection_id":164027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:55:20] local.INFO: Packet analysis {"connection_id":164027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:55:20] local.INFO: Extracted packet for processing {"connection_id":164027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626264320001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:55:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787602896000,"timestamp_ms":1787602896000,"timestamp_seconds":1787602896,"priority":1,"record_length":96,"hex_timestamp":"000001a0356f8480"} 
[2026-08-25 01: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-25 01:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626264320001,"66":25745,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626264320001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626264320001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":164027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:55:20] local.INFO: GPS data processed {"connection_id":164027,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:55:20] local.INFO: Acknowledgment sent {"connection_id":164027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:55:41] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:55:41] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:55:41] local.INFO: IMEI packet received {"connection_id":161395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":161395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:55:46] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:55:46] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:55:46] local.INFO: IMEI packet received {"connection_id":161395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":161395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:55:47] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:55:47] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:55:47] local.INFO: Packet analysis {"connection_id":161395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:55:47] local.INFO: Extracted packet for processing {"connection_id":161395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626264320001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:55:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787602896000,"timestamp_ms":1787602896000,"timestamp_seconds":1787602896,"priority":1,"record_length":96,"hex_timestamp":"000001a0356f8480"} 
[2026-08-25 01:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626264320001,"66":25745,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626264320001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626264320001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":161395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:55:47] local.INFO: GPS data processed {"connection_id":161395,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:55:47] local.INFO: Acknowledgment sent {"connection_id":161395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:56:19] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:56:19] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:56:19] local.INFO: Packet analysis {"connection_id":161395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:56:19] local.INFO: Extracted packet for processing {"connection_id":161395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626264320001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:56:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787602896000,"timestamp_ms":1787602896000,"timestamp_seconds":1787602896,"priority":1,"record_length":96,"hex_timestamp":"000001a0356f8480"} 
[2026-08-25 01:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:56: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-25 01:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 01:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626264320001,"66":25745,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626264320001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626264320001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":161395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:56:19] local.INFO: GPS data processed {"connection_id":161395,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:56:19] local.INFO: Acknowledgment sent {"connection_id":161395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:56:41] local.INFO: TCP Data received {"connection_id":164028,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:56:41] local.INFO: Processing buffer {"connection_id":164028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:56:41] local.INFO: IMEI packet received {"connection_id":164028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":164028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:56:46] local.INFO: TCP Data received {"connection_id":164028,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:56:46] local.INFO: Processing buffer {"connection_id":164028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:56:46] local.INFO: IMEI packet received {"connection_id":164028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":164028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:56:47] local.INFO: TCP Data received {"connection_id":164028,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:56:47] local.INFO: Processing buffer {"connection_id":164028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0356f8480012d34c9c006aa4760000c012123..."} 
[2026-08-25 01:56:47] local.INFO: Packet analysis {"connection_id":164028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:56:47] local.INFO: Extracted packet for processing {"connection_id":164028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0356f"} 
[2026-08-25 01:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626264320001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:56:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 01:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 01:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787602896000,"timestamp_ms":1787602896000,"timestamp_seconds":1787602896,"priority":1,"record_length":96,"hex_timestamp":"000001a0356f8480"} 
[2026-08-25 01:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 01:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626264320001,"66":25745,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 01:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626264320001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626264320001,"power":25745,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":164028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:56:47] local.INFO: GPS data processed {"connection_id":164028,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:56:47] local.INFO: Acknowledgment sent {"connection_id":164028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:57:19] local.INFO: TCP Data received {"connection_id":164028,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:57:19] local.INFO: Processing buffer {"connection_id":164028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:57:19] local.INFO: Packet analysis {"connection_id":164028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 01:57:19] local.INFO: Extracted packet for processing {"connection_id":164028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 01:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626341376001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787603197000,"timestamp_ms":1787603197000,"timestamp_seconds":1787603197,"priority":1,"record_length":96,"hex_timestamp":"000001a035741c48"} 
[2026-08-25 01:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:57: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-25 01:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 01:57:19] 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-25 01:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626341376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626341376001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:57:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626341376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":164028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:57:19] local.INFO: GPS data processed {"connection_id":164028,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:57:19] local.INFO: Acknowledgment sent {"connection_id":164028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:57:46] local.INFO: TCP Data received {"connection_id":162636,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:57:46] local.INFO: Processing buffer {"connection_id":162636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:57:46] local.INFO: IMEI packet received {"connection_id":162636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":162636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:57:51] local.INFO: TCP Data received {"connection_id":162636,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:57:51] local.INFO: Processing buffer {"connection_id":162636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:57:51] local.INFO: IMEI packet received {"connection_id":162636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":162636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:57:52] local.INFO: TCP Data received {"connection_id":162636,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:57:52] local.INFO: Processing buffer {"connection_id":162636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:57:52] local.INFO: Packet analysis {"connection_id":162636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 01:57:52] local.INFO: Extracted packet for processing {"connection_id":162636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 01:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626341376001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787603197000,"timestamp_ms":1787603197000,"timestamp_seconds":1787603197,"priority":1,"record_length":96,"hex_timestamp":"000001a035741c48"} 
[2026-08-25 01:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 01:57:52] 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-25 01:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626341376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626341376001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626341376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":162636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:57:52] local.INFO: GPS data processed {"connection_id":162636,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:57:52] local.INFO: Acknowledgment sent {"connection_id":162636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:58:23] local.INFO: TCP Data received {"connection_id":162636,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:58:23] local.INFO: Processing buffer {"connection_id":162636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:58:23] local.INFO: Packet analysis {"connection_id":162636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 01:58:23] local.INFO: Extracted packet for processing {"connection_id":162636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 01:58:23] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626341376001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787603197000,"timestamp_ms":1787603197000,"timestamp_seconds":1787603197,"priority":1,"record_length":96,"hex_timestamp":"000001a035741c48"} 
[2026-08-25 01:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 01:58:23] 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-25 01:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626341376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626341376001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:58:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:58:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626341376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":162636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:58:23] local.INFO: GPS data processed {"connection_id":162636,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:58:23] local.INFO: Acknowledgment sent {"connection_id":162636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:58:42] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:58:42] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:58:42] local.INFO: IMEI packet received {"connection_id":161396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":161396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:58:46] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:58:46] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:58:46] local.INFO: IMEI packet received {"connection_id":161396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":161396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:58:48] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:58:48] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:58:48] local.INFO: Packet analysis {"connection_id":161396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 01:58:48] local.INFO: Extracted packet for processing {"connection_id":161396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 01:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626341376001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787603197000,"timestamp_ms":1787603197000,"timestamp_seconds":1787603197,"priority":1,"record_length":96,"hex_timestamp":"000001a035741c48"} 
[2026-08-25 01:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 01:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626341376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626341376001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:58:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626341376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":161396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:58:48] local.INFO: GPS data processed {"connection_id":161396,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:58:48] local.INFO: Acknowledgment sent {"connection_id":161396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:59:20] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:59:20] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:59:20] local.INFO: Packet analysis {"connection_id":161396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 01:59:20] local.INFO: Extracted packet for processing {"connection_id":161396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 01:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01: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-25 01:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626341376001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787603197000,"timestamp_ms":1787603197000,"timestamp_seconds":1787603197,"priority":1,"record_length":96,"hex_timestamp":"000001a035741c48"} 
[2026-08-25 01: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-25 01:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 01:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01: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-25 01: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-25 01:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626341376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626341376001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:59:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626341376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":161396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:59:20] local.INFO: GPS data processed {"connection_id":161396,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:59:20] local.INFO: Acknowledgment sent {"connection_id":161396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 01:59:41] local.INFO: TCP Data received {"connection_id":162637,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:59:41] local.INFO: Processing buffer {"connection_id":162637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:59:41] local.INFO: IMEI packet received {"connection_id":162637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 01:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":162637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 01:59:46] local.INFO: TCP Data received {"connection_id":162637,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:59:46] local.INFO: Processing buffer {"connection_id":162637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 01:59:46] local.INFO: IMEI packet received {"connection_id":162637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 01:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":162637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 01:59:47] local.INFO: TCP Data received {"connection_id":162637,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:59:47] local.INFO: Processing buffer {"connection_id":162637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 01:59:47] local.INFO: Packet analysis {"connection_id":162637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 01:59:47] local.INFO: Extracted packet for processing {"connection_id":162637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 01:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 01:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 01:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626341376001,"note":"Value kept but may cause issues"} 
[2026-08-25 01:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 01:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 01:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 01:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787603197000,"timestamp_ms":1787603197000,"timestamp_seconds":1787603197,"priority":1,"record_length":96,"hex_timestamp":"000001a035741c48"} 
[2026-08-25 01:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 01:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 01:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 01:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 01:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 01:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 01:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 01:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 01:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 01:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 01:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 01:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 01:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626341376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 01:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 01:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 01:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626341376001,"description":"Unknown IO ID 0"} 
[2026-08-25 01:59:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 01:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 01:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 01:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 01:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626341376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 01:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":162637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 01:59:47] local.INFO: GPS data processed {"connection_id":162637,"processed":1,"errors":0,"total":1} 
[2026-08-25 01:59:47] local.INFO: Acknowledgment sent {"connection_id":162637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:00:18] local.INFO: TCP Data received {"connection_id":162637,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 02:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 02:00:18] local.INFO: Processing buffer {"connection_id":162637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 02:00:18] local.INFO: Packet analysis {"connection_id":162637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 02:00:18] local.INFO: Extracted packet for processing {"connection_id":162637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 02:00:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626341376001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787603197000,"timestamp_ms":1787603197000,"timestamp_seconds":1787603197,"priority":1,"record_length":96,"hex_timestamp":"000001a035741c48"} 
[2026-08-25 02:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 02:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626341376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626341376001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:00:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:00:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626341376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":162637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:00:18] local.INFO: GPS data processed {"connection_id":162637,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:00:18] local.INFO: Acknowledgment sent {"connection_id":162637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:00:41] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:00:41] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:00:41] local.INFO: IMEI packet received {"connection_id":161397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":161397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:00:46] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:00:46] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:00:46] local.INFO: IMEI packet received {"connection_id":161397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":161397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:00:48] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 02:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 02:00:48] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 02:00:48] local.INFO: Packet analysis {"connection_id":161397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 02:00:48] local.INFO: Extracted packet for processing {"connection_id":161397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 02:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626341376001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787603197000,"timestamp_ms":1787603197000,"timestamp_seconds":1787603197,"priority":1,"record_length":96,"hex_timestamp":"000001a035741c48"} 
[2026-08-25 02:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 02:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626341376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626341376001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:00:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626341376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":161397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:00:48] local.INFO: GPS data processed {"connection_id":161397,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:00:48] local.INFO: Acknowledgment sent {"connection_id":161397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:01:19] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 02:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 02:01:19] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 02:01:19] local.INFO: Packet analysis {"connection_id":161397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 02:01:19] local.INFO: Extracted packet for processing {"connection_id":161397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 02:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626341376001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787603197000,"timestamp_ms":1787603197000,"timestamp_seconds":1787603197,"priority":1,"record_length":96,"hex_timestamp":"000001a035741c48"} 
[2026-08-25 02:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:01: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-25 02:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 02:01:19] 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-25 02:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626341376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626341376001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626341376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":161397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:01:19] local.INFO: GPS data processed {"connection_id":161397,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:01:19] local.INFO: Acknowledgment sent {"connection_id":161397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:01:41] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:01:41] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:01:41] local.INFO: IMEI packet received {"connection_id":161657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":161657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:01:46] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:01:46] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:01:46] local.INFO: IMEI packet received {"connection_id":161657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":161657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:01:47] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 02:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 02:01:47] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035741c48012d34c9c006aa4760000c012121..."} 
[2026-08-25 02:01:47] local.INFO: Packet analysis {"connection_id":161657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 02:01:47] local.INFO: Extracted packet for processing {"connection_id":161657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03574"} 
[2026-08-25 02:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":33,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626341376001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787603197000,"timestamp_ms":1787603197000,"timestamp_seconds":1787603197,"priority":1,"record_length":96,"hex_timestamp":"000001a035741c48"} 
[2026-08-25 02: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-25 02:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 02:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626341376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626341376001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:01:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626341376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":161657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:01:47] local.INFO: GPS data processed {"connection_id":161657,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:01:47] local.INFO: Acknowledgment sent {"connection_id":161657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:02:19] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:02:19] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:02:19] local.INFO: Packet analysis {"connection_id":161657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:02:19] local.INFO: Extracted packet for processing {"connection_id":161657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:02:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626418432001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787603498000,"timestamp_ms":1787603498000,"timestamp_seconds":1787603498,"priority":1,"record_length":96,"hex_timestamp":"000001a03578b410"} 
[2026-08-25 02: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-25 02:02: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-25 02:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02: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-25 02: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-25 02:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626418432001,"66":25680,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626418432001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:02:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:02:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626418432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":161657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:02:19] local.INFO: GPS data processed {"connection_id":161657,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:02:19] local.INFO: Acknowledgment sent {"connection_id":161657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:02:46] local.INFO: TCP Data received {"connection_id":162638,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:02:46] local.INFO: Processing buffer {"connection_id":162638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:02:46] local.INFO: IMEI packet received {"connection_id":162638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":162638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:02:51] local.INFO: TCP Data received {"connection_id":162638,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:02:51] local.INFO: Processing buffer {"connection_id":162638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:02:51] local.INFO: IMEI packet received {"connection_id":162638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":162638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:02:53] local.INFO: TCP Data received {"connection_id":162638,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:02:53] local.INFO: Processing buffer {"connection_id":162638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:02:53] local.INFO: Packet analysis {"connection_id":162638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:02:53] local.INFO: Extracted packet for processing {"connection_id":162638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626418432001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787603498000,"timestamp_ms":1787603498000,"timestamp_seconds":1787603498,"priority":1,"record_length":96,"hex_timestamp":"000001a03578b410"} 
[2026-08-25 02:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626418432001,"66":25680,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626418432001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626418432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":162638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:02:53] local.INFO: GPS data processed {"connection_id":162638,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:02:53] local.INFO: Acknowledgment sent {"connection_id":162638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:03:25] local.INFO: TCP Data received {"connection_id":162638,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:03:25] local.INFO: Processing buffer {"connection_id":162638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:03:25] local.INFO: Packet analysis {"connection_id":162638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:03:25] local.INFO: Extracted packet for processing {"connection_id":162638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626418432001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787603498000,"timestamp_ms":1787603498000,"timestamp_seconds":1787603498,"priority":1,"record_length":96,"hex_timestamp":"000001a03578b410"} 
[2026-08-25 02: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-25 02:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626418432001,"66":25680,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626418432001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626418432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":162638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:03:25] local.INFO: GPS data processed {"connection_id":162638,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:03:25] local.INFO: Acknowledgment sent {"connection_id":162638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:03:41] local.INFO: TCP Data received {"connection_id":164029,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:03:41] local.INFO: Processing buffer {"connection_id":164029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:03:41] local.INFO: IMEI packet received {"connection_id":164029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":164029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:03:47] local.INFO: TCP Data received {"connection_id":164029,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:03:47] local.INFO: Processing buffer {"connection_id":164029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:03:47] local.INFO: IMEI packet received {"connection_id":164029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":164029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:03:48] local.INFO: TCP Data received {"connection_id":164029,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:03:48] local.INFO: Processing buffer {"connection_id":164029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:03:48] local.INFO: Packet analysis {"connection_id":164029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:03:48] local.INFO: Extracted packet for processing {"connection_id":164029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626418432001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787603498000,"timestamp_ms":1787603498000,"timestamp_seconds":1787603498,"priority":1,"record_length":96,"hex_timestamp":"000001a03578b410"} 
[2026-08-25 02:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626418432001,"66":25680,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626418432001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:03:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626418432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":164029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:03:48] local.INFO: GPS data processed {"connection_id":164029,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:03:48] local.INFO: Acknowledgment sent {"connection_id":164029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:04:20] local.INFO: TCP Data received {"connection_id":164029,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:04:20] local.INFO: Processing buffer {"connection_id":164029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:04:20] local.INFO: Packet analysis {"connection_id":164029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:04:20] local.INFO: Extracted packet for processing {"connection_id":164029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626418432001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787603498000,"timestamp_ms":1787603498000,"timestamp_seconds":1787603498,"priority":1,"record_length":96,"hex_timestamp":"000001a03578b410"} 
[2026-08-25 02: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-25 02:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626418432001,"66":25680,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626418432001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:04:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626418432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":164029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:04:20] local.INFO: GPS data processed {"connection_id":164029,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:04:20] local.INFO: Acknowledgment sent {"connection_id":164029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:04:41] local.INFO: TCP Data received {"connection_id":161398,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:04:41] local.INFO: Processing buffer {"connection_id":161398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:04:41] local.INFO: IMEI packet received {"connection_id":161398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":161398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:04:48] local.INFO: TCP Data received {"connection_id":161398,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:04:48] local.INFO: Processing buffer {"connection_id":161398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:04:48] local.INFO: IMEI packet received {"connection_id":161398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":161398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:04:50] local.INFO: TCP Data received {"connection_id":161398,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:04:50] local.INFO: Processing buffer {"connection_id":161398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:04:50] local.INFO: Packet analysis {"connection_id":161398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:04:50] local.INFO: Extracted packet for processing {"connection_id":161398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:04:50] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626418432001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787603498000,"timestamp_ms":1787603498000,"timestamp_seconds":1787603498,"priority":1,"record_length":96,"hex_timestamp":"000001a03578b410"} 
[2026-08-25 02: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-25 02:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626418432001,"66":25680,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626418432001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:04:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:04:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626418432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":161398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:04:50] local.INFO: GPS data processed {"connection_id":161398,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:04:50] local.INFO: Acknowledgment sent {"connection_id":161398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:05:21] local.INFO: TCP Data received {"connection_id":161398,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:05:21] local.INFO: Processing buffer {"connection_id":161398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:05:21] local.INFO: Packet analysis {"connection_id":161398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:05:21] local.INFO: Extracted packet for processing {"connection_id":161398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626418432001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787603498000,"timestamp_ms":1787603498000,"timestamp_seconds":1787603498,"priority":1,"record_length":96,"hex_timestamp":"000001a03578b410"} 
[2026-08-25 02: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-25 02:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02: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":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626418432001,"66":25680,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626418432001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:05:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626418432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":161398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:05:21] local.INFO: GPS data processed {"connection_id":161398,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:05:21] local.INFO: Acknowledgment sent {"connection_id":161398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:05:46] local.INFO: TCP Data received {"connection_id":164030,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:05:46] local.INFO: Processing buffer {"connection_id":164030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:05:46] local.INFO: IMEI packet received {"connection_id":164030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":164030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:05:51] local.INFO: TCP Data received {"connection_id":164030,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:05:51] local.INFO: Processing buffer {"connection_id":164030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:05:51] local.INFO: IMEI packet received {"connection_id":164030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":164030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:05:52] local.INFO: TCP Data received {"connection_id":164030,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:05:52] local.INFO: Processing buffer {"connection_id":164030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:05:52] local.INFO: Packet analysis {"connection_id":164030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:05:52] local.INFO: Extracted packet for processing {"connection_id":164030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626418432001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787603498000,"timestamp_ms":1787603498000,"timestamp_seconds":1787603498,"priority":1,"record_length":96,"hex_timestamp":"000001a03578b410"} 
[2026-08-25 02:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626418432001,"66":25680,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626418432001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:05:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626418432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":164030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:05:52] local.INFO: GPS data processed {"connection_id":164030,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:05:52] local.INFO: Acknowledgment sent {"connection_id":164030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:05:57] local.INFO: TCP Data received {"connection_id":164030,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:05:57] local.INFO: Processing buffer {"connection_id":164030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:05:57] local.INFO: Packet analysis {"connection_id":164030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:05:57] local.INFO: Extracted packet for processing {"connection_id":164030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:05:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626418432001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:05: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-25 02:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787603498000,"timestamp_ms":1787603498000,"timestamp_seconds":1787603498,"priority":1,"record_length":96,"hex_timestamp":"000001a03578b410"} 
[2026-08-25 02: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-25 02:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02: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-25 02: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-25 02:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626418432001,"66":25680,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626418432001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:05:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:05:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626418432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":164030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:05:57] local.INFO: GPS data processed {"connection_id":164030,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:05:57] local.INFO: Acknowledgment sent {"connection_id":164030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:06:41] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:06:41] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:06:41] local.INFO: IMEI packet received {"connection_id":161658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":161658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:06:46] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:06:46] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:06:46] local.INFO: IMEI packet received {"connection_id":161658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":161658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:06:48] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:06:48] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03578b410012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:06:48] local.INFO: Packet analysis {"connection_id":161658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:06:48] local.INFO: Extracted packet for processing {"connection_id":161658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03578"} 
[2026-08-25 02:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626418432001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787603498000,"timestamp_ms":1787603498000,"timestamp_seconds":1787603498,"priority":1,"record_length":96,"hex_timestamp":"000001a03578b410"} 
[2026-08-25 02:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626418432001,"66":25680,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626418432001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:06:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626418432001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":161658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:06:48] local.INFO: GPS data processed {"connection_id":161658,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:06:48] local.INFO: Acknowledgment sent {"connection_id":161658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:07:19] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:07:19] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:07:19] local.INFO: Packet analysis {"connection_id":161658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:07:19] local.INFO: Extracted packet for processing {"connection_id":161658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626495488001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787603799000,"timestamp_ms":1787603799000,"timestamp_seconds":1787603799,"priority":1,"record_length":96,"hex_timestamp":"000001a0357d4bd8"} 
[2026-08-25 02:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:07: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-25 02:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 02:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626495488001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626495488001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:07:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626495488001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":161658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:07:19] local.INFO: GPS data processed {"connection_id":161658,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:07:19] local.INFO: Acknowledgment sent {"connection_id":161658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:07:41] local.INFO: TCP Data received {"connection_id":162639,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:07:41] local.INFO: Processing buffer {"connection_id":162639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:07:41] local.INFO: IMEI packet received {"connection_id":162639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":162639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:07:46] local.INFO: TCP Data received {"connection_id":162639,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:07:46] local.INFO: Processing buffer {"connection_id":162639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:07:46] local.INFO: IMEI packet received {"connection_id":162639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":162639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:07:48] local.INFO: TCP Data received {"connection_id":162639,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:07:48] local.INFO: Processing buffer {"connection_id":162639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:07:48] local.INFO: Packet analysis {"connection_id":162639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:07:48] local.INFO: Extracted packet for processing {"connection_id":162639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626495488001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787603799000,"timestamp_ms":1787603799000,"timestamp_seconds":1787603799,"priority":1,"record_length":96,"hex_timestamp":"000001a0357d4bd8"} 
[2026-08-25 02:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 02:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626495488001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626495488001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:07:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626495488001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":162639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:07:48] local.INFO: GPS data processed {"connection_id":162639,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:07:48] local.INFO: Acknowledgment sent {"connection_id":162639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:08:20] local.INFO: TCP Data received {"connection_id":162639,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:08:20] local.INFO: Processing buffer {"connection_id":162639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:08:20] local.INFO: Packet analysis {"connection_id":162639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:08:20] local.INFO: Extracted packet for processing {"connection_id":162639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626495488001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787603799000,"timestamp_ms":1787603799000,"timestamp_seconds":1787603799,"priority":1,"record_length":96,"hex_timestamp":"000001a0357d4bd8"} 
[2026-08-25 02: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-25 02:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02: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":80,"data_length":795,"current_offset":136} 
[2026-08-25 02:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626495488001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626495488001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:08:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626495488001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":162639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:08:20] local.INFO: GPS data processed {"connection_id":162639,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:08:20] local.INFO: Acknowledgment sent {"connection_id":162639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:08:46] local.INFO: TCP Data received {"connection_id":162640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:08:46] local.INFO: Processing buffer {"connection_id":162640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:08:46] local.INFO: IMEI packet received {"connection_id":162640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":162640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:08:52] local.INFO: TCP Data received {"connection_id":162640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:08:52] local.INFO: Processing buffer {"connection_id":162640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:08:52] local.INFO: IMEI packet received {"connection_id":162640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":162640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:08:53] local.INFO: TCP Data received {"connection_id":162640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:08:53] local.INFO: Processing buffer {"connection_id":162640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:08:53] local.INFO: Packet analysis {"connection_id":162640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:08:53] local.INFO: Extracted packet for processing {"connection_id":162640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626495488001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787603799000,"timestamp_ms":1787603799000,"timestamp_seconds":1787603799,"priority":1,"record_length":96,"hex_timestamp":"000001a0357d4bd8"} 
[2026-08-25 02: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-25 02:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 02:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626495488001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626495488001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626495488001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":162640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:08:53] local.INFO: GPS data processed {"connection_id":162640,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:08:53] local.INFO: Acknowledgment sent {"connection_id":162640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:08:57] local.INFO: TCP Data received {"connection_id":162640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:08:57] local.INFO: Processing buffer {"connection_id":162640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:08:57] local.INFO: Packet analysis {"connection_id":162640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:08:57] local.INFO: Extracted packet for processing {"connection_id":162640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:08:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626495488001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787603799000,"timestamp_ms":1787603799000,"timestamp_seconds":1787603799,"priority":1,"record_length":96,"hex_timestamp":"000001a0357d4bd8"} 
[2026-08-25 02:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 02:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626495488001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626495488001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:08:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:08:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626495488001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":162640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:08:57] local.INFO: GPS data processed {"connection_id":162640,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:08:57] local.INFO: Acknowledgment sent {"connection_id":162640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:09:42] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:09:42] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:09:42] local.INFO: IMEI packet received {"connection_id":161659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":161659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:09:46] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:09:46] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:09:46] local.INFO: IMEI packet received {"connection_id":161659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":161659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:09:47] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:09:47] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:09:47] local.INFO: Packet analysis {"connection_id":161659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:09:47] local.INFO: Extracted packet for processing {"connection_id":161659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626495488001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787603799000,"timestamp_ms":1787603799000,"timestamp_seconds":1787603799,"priority":1,"record_length":96,"hex_timestamp":"000001a0357d4bd8"} 
[2026-08-25 02:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 02:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626495488001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626495488001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:09:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626495488001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":161659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:09:47] local.INFO: GPS data processed {"connection_id":161659,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:09:47] local.INFO: Acknowledgment sent {"connection_id":161659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:10:18] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:10:18] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:10:18] local.INFO: Packet analysis {"connection_id":161659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:10:18] local.INFO: Extracted packet for processing {"connection_id":161659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:10:18] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626495488001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787603799000,"timestamp_ms":1787603799000,"timestamp_seconds":1787603799,"priority":1,"record_length":96,"hex_timestamp":"000001a0357d4bd8"} 
[2026-08-25 02:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 02:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626495488001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626495488001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:10:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:10:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626495488001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":161659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:10:18] local.INFO: GPS data processed {"connection_id":161659,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:10:18] local.INFO: Acknowledgment sent {"connection_id":161659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:10:41] local.INFO: TCP Data received {"connection_id":164031,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:10:41] local.INFO: Processing buffer {"connection_id":164031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:10:41] local.INFO: IMEI packet received {"connection_id":164031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":164031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:10:46] local.INFO: TCP Data received {"connection_id":164031,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:10:46] local.INFO: Processing buffer {"connection_id":164031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:10:46] local.INFO: IMEI packet received {"connection_id":164031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":164031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:10:47] local.INFO: TCP Data received {"connection_id":164031,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:10:47] local.INFO: Processing buffer {"connection_id":164031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:10:47] local.INFO: Packet analysis {"connection_id":164031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:10:47] local.INFO: Extracted packet for processing {"connection_id":164031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626495488001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787603799000,"timestamp_ms":1787603799000,"timestamp_seconds":1787603799,"priority":1,"record_length":96,"hex_timestamp":"000001a0357d4bd8"} 
[2026-08-25 02:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 02:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626495488001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626495488001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626495488001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":164031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:10:47] local.INFO: GPS data processed {"connection_id":164031,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:10:47] local.INFO: Acknowledgment sent {"connection_id":164031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:11:19] local.INFO: TCP Data received {"connection_id":164031,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:11:19] local.INFO: Processing buffer {"connection_id":164031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:11:19] local.INFO: Packet analysis {"connection_id":164031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:11:19] local.INFO: Extracted packet for processing {"connection_id":164031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626495488001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787603799000,"timestamp_ms":1787603799000,"timestamp_seconds":1787603799,"priority":1,"record_length":96,"hex_timestamp":"000001a0357d4bd8"} 
[2026-08-25 02:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:11: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-25 02:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 02:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626495488001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626495488001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626495488001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":164031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:11:19] local.INFO: GPS data processed {"connection_id":164031,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:11:19] local.INFO: Acknowledgment sent {"connection_id":164031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:11:41] local.INFO: TCP Data received {"connection_id":162641,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:11:41] local.INFO: Processing buffer {"connection_id":162641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:11:41] local.INFO: IMEI packet received {"connection_id":162641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":162641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:11:46] local.INFO: TCP Data received {"connection_id":162641,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:11:46] local.INFO: Processing buffer {"connection_id":162641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:11:46] local.INFO: IMEI packet received {"connection_id":162641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":162641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:11:48] local.INFO: TCP Data received {"connection_id":162641,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:11:48] local.INFO: Processing buffer {"connection_id":162641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0357d4bd8012d34c9c006aa4760000c012124..."} 
[2026-08-25 02:11:48] local.INFO: Packet analysis {"connection_id":162641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:11:48] local.INFO: Extracted packet for processing {"connection_id":162641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0357d"} 
[2026-08-25 02:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626495488001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787603799000,"timestamp_ms":1787603799000,"timestamp_seconds":1787603799,"priority":1,"record_length":96,"hex_timestamp":"000001a0357d4bd8"} 
[2026-08-25 02:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 02:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626495488001,"66":25756,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626495488001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:11:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626495488001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":162641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:11:48] local.INFO: GPS data processed {"connection_id":162641,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:11:48] local.INFO: Acknowledgment sent {"connection_id":162641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:12:19] local.INFO: TCP Data received {"connection_id":162641,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:12:19] local.INFO: Processing buffer {"connection_id":162641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:12:19] local.INFO: Packet analysis {"connection_id":162641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:12:19] local.INFO: Extracted packet for processing {"connection_id":162641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:12:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626572544001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787604100000,"timestamp_ms":1787604100000,"timestamp_seconds":1787604100,"priority":1,"record_length":96,"hex_timestamp":"000001a03581e3a0"} 
[2026-08-25 02:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:12: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-25 02:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626572544001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626572544001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:12:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:12:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626572544001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":162641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:12:19] local.INFO: GPS data processed {"connection_id":162641,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:12:19] local.INFO: Acknowledgment sent {"connection_id":162641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:12:46] local.INFO: TCP Data received {"connection_id":161399,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:12:46] local.INFO: Processing buffer {"connection_id":161399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:12:46] local.INFO: IMEI packet received {"connection_id":161399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":161399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:12:51] local.INFO: TCP Data received {"connection_id":161399,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:12:51] local.INFO: Processing buffer {"connection_id":161399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:12:51] local.INFO: IMEI packet received {"connection_id":161399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":161399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:12:53] local.INFO: TCP Data received {"connection_id":161399,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:12:53] local.INFO: Processing buffer {"connection_id":161399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:12:53] local.INFO: Packet analysis {"connection_id":161399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:12:53] local.INFO: Extracted packet for processing {"connection_id":161399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626572544001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787604100000,"timestamp_ms":1787604100000,"timestamp_seconds":1787604100,"priority":1,"record_length":96,"hex_timestamp":"000001a03581e3a0"} 
[2026-08-25 02: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-25 02:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626572544001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626572544001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:12:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626572544001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":161399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:12:53] local.INFO: GPS data processed {"connection_id":161399,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:12:53] local.INFO: Acknowledgment sent {"connection_id":161399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:13:24] local.INFO: TCP Data received {"connection_id":161399,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:13:24] local.INFO: Processing buffer {"connection_id":161399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:13:24] local.INFO: Packet analysis {"connection_id":161399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:13:24] local.INFO: Extracted packet for processing {"connection_id":161399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626572544001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787604100000,"timestamp_ms":1787604100000,"timestamp_seconds":1787604100,"priority":1,"record_length":96,"hex_timestamp":"000001a03581e3a0"} 
[2026-08-25 02: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-25 02:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626572544001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626572544001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:13:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:13:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626572544001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":161399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:13:24] local.INFO: GPS data processed {"connection_id":161399,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:13:24] local.INFO: Acknowledgment sent {"connection_id":161399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:13:41] local.INFO: TCP Data received {"connection_id":164032,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:13:41] local.INFO: Processing buffer {"connection_id":164032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:13:41] local.INFO: IMEI packet received {"connection_id":164032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":164032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:13:46] local.INFO: TCP Data received {"connection_id":164032,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:13:46] local.INFO: Processing buffer {"connection_id":164032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:13:46] local.INFO: IMEI packet received {"connection_id":164032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":164032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:13:47] local.INFO: TCP Data received {"connection_id":164032,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:13:47] local.INFO: Processing buffer {"connection_id":164032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:13:47] local.INFO: Packet analysis {"connection_id":164032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:13:47] local.INFO: Extracted packet for processing {"connection_id":164032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626572544001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787604100000,"timestamp_ms":1787604100000,"timestamp_seconds":1787604100,"priority":1,"record_length":96,"hex_timestamp":"000001a03581e3a0"} 
[2026-08-25 02: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-25 02:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626572544001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626572544001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:13:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626572544001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":164032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:13:48] local.INFO: GPS data processed {"connection_id":164032,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:13:48] local.INFO: Acknowledgment sent {"connection_id":164032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:14:19] local.INFO: TCP Data received {"connection_id":164032,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:14:19] local.INFO: Processing buffer {"connection_id":164032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:14:19] local.INFO: Packet analysis {"connection_id":164032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:14:19] local.INFO: Extracted packet for processing {"connection_id":164032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626572544001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787604100000,"timestamp_ms":1787604100000,"timestamp_seconds":1787604100,"priority":1,"record_length":96,"hex_timestamp":"000001a03581e3a0"} 
[2026-08-25 02:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:14: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-25 02:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626572544001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626572544001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:14:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626572544001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":164032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:14:19] local.INFO: GPS data processed {"connection_id":164032,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:14:19] local.INFO: Acknowledgment sent {"connection_id":164032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:14:46] local.INFO: TCP Data received {"connection_id":161660,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:14:46] local.INFO: Processing buffer {"connection_id":161660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:14:46] local.INFO: IMEI packet received {"connection_id":161660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":161660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:14:53] local.INFO: TCP Data received {"connection_id":161660,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:14:53] local.INFO: Processing buffer {"connection_id":161660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:14:53] local.INFO: IMEI packet received {"connection_id":161660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":161660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:14:55] local.INFO: TCP Data received {"connection_id":161660,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:14:55] local.INFO: Processing buffer {"connection_id":161660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:14:55] local.INFO: Packet analysis {"connection_id":161660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:14:55] local.INFO: Extracted packet for processing {"connection_id":161660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626572544001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787604100000,"timestamp_ms":1787604100000,"timestamp_seconds":1787604100,"priority":1,"record_length":96,"hex_timestamp":"000001a03581e3a0"} 
[2026-08-25 02: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-25 02:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02: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-25 02: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-25 02:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626572544001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626572544001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:14:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:14:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626572544001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":161660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:14:55] local.INFO: GPS data processed {"connection_id":161660,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:14:55] local.INFO: Acknowledgment sent {"connection_id":161660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:15:27] local.INFO: TCP Data received {"connection_id":161660,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:15:27] local.INFO: Processing buffer {"connection_id":161660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:15:27] local.INFO: Packet analysis {"connection_id":161660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:15:27] local.INFO: Extracted packet for processing {"connection_id":161660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:15:27] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626572544001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787604100000,"timestamp_ms":1787604100000,"timestamp_seconds":1787604100,"priority":1,"record_length":96,"hex_timestamp":"000001a03581e3a0"} 
[2026-08-25 02:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626572544001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626572544001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:15:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:15:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626572544001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":161660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:15:27] local.INFO: GPS data processed {"connection_id":161660,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:15:27] local.INFO: Acknowledgment sent {"connection_id":161660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:15:41] local.INFO: TCP Data received {"connection_id":164033,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:15:41] local.INFO: Processing buffer {"connection_id":164033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:15:41] local.INFO: IMEI packet received {"connection_id":164033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":164033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:15:46] local.INFO: TCP Data received {"connection_id":164033,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:15:46] local.INFO: Processing buffer {"connection_id":164033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:15:46] local.INFO: IMEI packet received {"connection_id":164033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":164033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:15:48] local.INFO: TCP Data received {"connection_id":164033,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:15:48] local.INFO: Processing buffer {"connection_id":164033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:15:48] local.INFO: Packet analysis {"connection_id":164033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:15:48] local.INFO: Extracted packet for processing {"connection_id":164033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626572544001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787604100000,"timestamp_ms":1787604100000,"timestamp_seconds":1787604100,"priority":1,"record_length":96,"hex_timestamp":"000001a03581e3a0"} 
[2026-08-25 02:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626572544001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626572544001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:15:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626572544001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":164033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:15:48] local.INFO: GPS data processed {"connection_id":164033,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:15:48] local.INFO: Acknowledgment sent {"connection_id":164033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:16:19] local.INFO: TCP Data received {"connection_id":164033,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:16:19] local.INFO: Processing buffer {"connection_id":164033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:16:19] local.INFO: Packet analysis {"connection_id":164033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:16:19] local.INFO: Extracted packet for processing {"connection_id":164033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626572544001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787604100000,"timestamp_ms":1787604100000,"timestamp_seconds":1787604100,"priority":1,"record_length":96,"hex_timestamp":"000001a03581e3a0"} 
[2026-08-25 02:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:16: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-25 02:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626572544001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626572544001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626572544001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":164033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:16:19] local.INFO: GPS data processed {"connection_id":164033,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:16:19] local.INFO: Acknowledgment sent {"connection_id":164033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:16:41] local.INFO: TCP Data received {"connection_id":164034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:16:41] local.INFO: Processing buffer {"connection_id":164034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:16:41] local.INFO: IMEI packet received {"connection_id":164034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":164034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:16:46] local.INFO: TCP Data received {"connection_id":164034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:16:46] local.INFO: Processing buffer {"connection_id":164034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:16:46] local.INFO: IMEI packet received {"connection_id":164034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":164034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:16:47] local.INFO: TCP Data received {"connection_id":164034,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:16:47] local.INFO: Processing buffer {"connection_id":164034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:16:47] local.INFO: Packet analysis {"connection_id":164034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:16:47] local.INFO: Extracted packet for processing {"connection_id":164034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626572544001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787604100000,"timestamp_ms":1787604100000,"timestamp_seconds":1787604100,"priority":1,"record_length":96,"hex_timestamp":"000001a03581e3a0"} 
[2026-08-25 02:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626572544001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626572544001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626572544001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":164034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:16:47] local.INFO: GPS data processed {"connection_id":164034,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:16:47] local.INFO: Acknowledgment sent {"connection_id":164034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:17:19] local.INFO: TCP Data received {"connection_id":164034,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:17:19] local.INFO: Processing buffer {"connection_id":164034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03581e3a0012d34c9c006aa4760000c012122..."} 
[2026-08-25 02:17:19] local.INFO: Packet analysis {"connection_id":164034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:17:19] local.INFO: Extracted packet for processing {"connection_id":164034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03581"} 
[2026-08-25 02:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":34,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626572544001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787604100000,"timestamp_ms":1787604100000,"timestamp_seconds":1787604100,"priority":1,"record_length":96,"hex_timestamp":"000001a03581e3a0"} 
[2026-08-25 02:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:17: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-25 02:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 02:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626572544001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626572544001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:17:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:17:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626572544001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":164034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:17:19] local.INFO: GPS data processed {"connection_id":164034,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:17:19] local.INFO: Acknowledgment sent {"connection_id":164034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:17:41] local.INFO: TCP Data received {"connection_id":164035,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:17:41] local.INFO: Processing buffer {"connection_id":164035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:17:41] local.INFO: IMEI packet received {"connection_id":164035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":164035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:17:46] local.INFO: TCP Data received {"connection_id":164035,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:17:46] local.INFO: Processing buffer {"connection_id":164035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:17:46] local.INFO: IMEI packet received {"connection_id":164035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":164035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:17:47] local.INFO: TCP Data received {"connection_id":164035,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a035867b68012d34c9c006aa4760000c012120..."} 
[2026-08-25 02:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035867b68012d34c9c006aa4760000c012120..."} 
[2026-08-25 02:17:47] local.INFO: Processing buffer {"connection_id":164035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035867b68012d34c9c006aa4760000c012120..."} 
[2026-08-25 02:17:47] local.INFO: Packet analysis {"connection_id":164035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03586"} 
[2026-08-25 02:17:47] local.INFO: Extracted packet for processing {"connection_id":164035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03586"} 
[2026-08-25 02:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111822688,"longitude_deg":75.843424,"latitude_deg":11.1822688,"altitude":12,"angle":289,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-25 02:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626649600001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787604401000,"timestamp_ms":1787604401000,"timestamp_seconds":1787604401,"priority":1,"record_length":96,"hex_timestamp":"000001a035867b68"} 
[2026-08-25 02:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626649600001,"66":25712,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626649600001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626649600001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":164035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:17:47] local.INFO: GPS data processed {"connection_id":164035,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:17:47] local.INFO: Acknowledgment sent {"connection_id":164035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:18:18] local.INFO: TCP Data received {"connection_id":164035,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:18:18] local.INFO: Processing buffer {"connection_id":164035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:18:18] local.INFO: Packet analysis {"connection_id":164035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:18:18] local.INFO: Extracted packet for processing {"connection_id":164035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822392,"longitude_deg":75.8432768,"latitude_deg":11.1822392,"altitude":24,"angle":109,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4638","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626726656001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787604457000,"timestamp_ms":1787604457000,"timestamp_seconds":1787604457,"priority":1,"record_length":96,"hex_timestamp":"000001a035875628"} 
[2026-08-25 02: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-25 02:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-25 02:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626726656001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626726656001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:18:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626726656001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":164035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:18:18] local.INFO: GPS data processed {"connection_id":164035,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:18:18] local.INFO: Acknowledgment sent {"connection_id":164035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:18:42] local.INFO: TCP Data received {"connection_id":164036,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:18:42] local.INFO: Processing buffer {"connection_id":164036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:18:42] local.INFO: IMEI packet received {"connection_id":164036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":164036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:18:47] local.INFO: TCP Data received {"connection_id":164036,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:18:47] local.INFO: Processing buffer {"connection_id":164036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:18:47] local.INFO: IMEI packet received {"connection_id":164036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":164036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:18:48] local.INFO: TCP Data received {"connection_id":164036,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:18:48] local.INFO: Processing buffer {"connection_id":164036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:18:48] local.INFO: Packet analysis {"connection_id":164036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:18:48] local.INFO: Extracted packet for processing {"connection_id":164036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822392,"longitude_deg":75.8432768,"latitude_deg":11.1822392,"altitude":24,"angle":109,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4638","is_valid_coordinates":true} 
[2026-08-25 02:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626726656001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787604457000,"timestamp_ms":1787604457000,"timestamp_seconds":1787604457,"priority":1,"record_length":96,"hex_timestamp":"000001a035875628"} 
[2026-08-25 02:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-25 02:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626726656001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626726656001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626726656001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":164036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:18:48] local.INFO: GPS data processed {"connection_id":164036,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:18:48] local.INFO: Acknowledgment sent {"connection_id":164036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:18:52] local.INFO: TCP Data received {"connection_id":164036,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:18:52] local.INFO: Processing buffer {"connection_id":164036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:18:52] local.INFO: Packet analysis {"connection_id":164036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:18:52] local.INFO: Extracted packet for processing {"connection_id":164036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822392,"longitude_deg":75.8432768,"latitude_deg":11.1822392,"altitude":24,"angle":109,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4638","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626726656001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787604457000,"timestamp_ms":1787604457000,"timestamp_seconds":1787604457,"priority":1,"record_length":96,"hex_timestamp":"000001a035875628"} 
[2026-08-25 02: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-25 02:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-25 02:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626726656001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626726656001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626726656001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":164036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:18:52] local.INFO: GPS data processed {"connection_id":164036,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:18:52] local.INFO: Acknowledgment sent {"connection_id":164036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:19:23] local.INFO: TCP Data received {"connection_id":164036,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:19:23] local.INFO: Processing buffer {"connection_id":164036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:19:23] local.INFO: Packet analysis {"connection_id":164036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:19:23] local.INFO: Extracted packet for processing {"connection_id":164036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:19:23] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822392,"longitude_deg":75.8432768,"latitude_deg":11.1822392,"altitude":24,"angle":109,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4638","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626726656001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787604457000,"timestamp_ms":1787604457000,"timestamp_seconds":1787604457,"priority":1,"record_length":96,"hex_timestamp":"000001a035875628"} 
[2026-08-25 02: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-25 02:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-25 02:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626726656001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626726656001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:19:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:19:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626726656001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":164036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:19:23] local.INFO: GPS data processed {"connection_id":164036,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:19:23] local.INFO: Acknowledgment sent {"connection_id":164036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:19:41] local.INFO: TCP Data received {"connection_id":161400,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:19:41] local.INFO: Processing buffer {"connection_id":161400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:19:41] local.INFO: IMEI packet received {"connection_id":161400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":161400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:19:46] local.INFO: TCP Data received {"connection_id":161400,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:19:46] local.INFO: Processing buffer {"connection_id":161400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:19:46] local.INFO: IMEI packet received {"connection_id":161400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":161400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:19:47] local.INFO: TCP Data received {"connection_id":161400,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:19:47] local.INFO: Processing buffer {"connection_id":161400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:19:47] local.INFO: Packet analysis {"connection_id":161400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:19:47] local.INFO: Extracted packet for processing {"connection_id":161400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822392,"longitude_deg":75.8432768,"latitude_deg":11.1822392,"altitude":24,"angle":109,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4638","is_valid_coordinates":true} 
[2026-08-25 02:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626726656001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787604457000,"timestamp_ms":1787604457000,"timestamp_seconds":1787604457,"priority":1,"record_length":96,"hex_timestamp":"000001a035875628"} 
[2026-08-25 02:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-25 02:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626726656001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626726656001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:19:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:19:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626726656001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":161400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:19:47] local.INFO: GPS data processed {"connection_id":161400,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:19:47] local.INFO: Acknowledgment sent {"connection_id":161400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:20:19] local.INFO: TCP Data received {"connection_id":161400,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:20:19] local.INFO: Processing buffer {"connection_id":161400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:20:19] local.INFO: Packet analysis {"connection_id":161400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:20:19] local.INFO: Extracted packet for processing {"connection_id":161400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:20:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822392,"longitude_deg":75.8432768,"latitude_deg":11.1822392,"altitude":24,"angle":109,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4638","is_valid_coordinates":true} 
[2026-08-25 02:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626726656001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787604457000,"timestamp_ms":1787604457000,"timestamp_seconds":1787604457,"priority":1,"record_length":96,"hex_timestamp":"000001a035875628"} 
[2026-08-25 02:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:20: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-25 02:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-25 02:20:19] 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-25 02:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626726656001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626726656001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:20:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:20:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626726656001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":161400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:20:19] local.INFO: GPS data processed {"connection_id":161400,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:20:19] local.INFO: Acknowledgment sent {"connection_id":161400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:20:42] local.INFO: TCP Data received {"connection_id":162642,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:20:42] local.INFO: Processing buffer {"connection_id":162642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:20:42] local.INFO: IMEI packet received {"connection_id":162642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":162642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:20:46] local.INFO: TCP Data received {"connection_id":162642,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:20:46] local.INFO: Processing buffer {"connection_id":162642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:20:46] local.INFO: IMEI packet received {"connection_id":162642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":162642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:20:48] local.INFO: TCP Data received {"connection_id":162642,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:20:48] local.INFO: Processing buffer {"connection_id":162642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:20:48] local.INFO: Packet analysis {"connection_id":162642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:20:48] local.INFO: Extracted packet for processing {"connection_id":162642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822392,"longitude_deg":75.8432768,"latitude_deg":11.1822392,"altitude":24,"angle":109,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4638","is_valid_coordinates":true} 
[2026-08-25 02:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626726656001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787604457000,"timestamp_ms":1787604457000,"timestamp_seconds":1787604457,"priority":1,"record_length":96,"hex_timestamp":"000001a035875628"} 
[2026-08-25 02:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-25 02:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626726656001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626726656001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626726656001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":162642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:20:48] local.INFO: GPS data processed {"connection_id":162642,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:20:48] local.INFO: Acknowledgment sent {"connection_id":162642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:21:19] local.INFO: TCP Data received {"connection_id":162642,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:21:19] local.INFO: Processing buffer {"connection_id":162642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:21:19] local.INFO: Packet analysis {"connection_id":162642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:21:19] local.INFO: Extracted packet for processing {"connection_id":162642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822392,"longitude_deg":75.8432768,"latitude_deg":11.1822392,"altitude":24,"angle":109,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4638","is_valid_coordinates":true} 
[2026-08-25 02:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626726656001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787604457000,"timestamp_ms":1787604457000,"timestamp_seconds":1787604457,"priority":1,"record_length":96,"hex_timestamp":"000001a035875628"} 
[2026-08-25 02:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:21: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-25 02:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-25 02:21:19] 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-25 02:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626726656001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626726656001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:21:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626726656001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":162642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:21:19] local.INFO: GPS data processed {"connection_id":162642,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:21:19] local.INFO: Acknowledgment sent {"connection_id":162642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:21:41] local.INFO: TCP Data received {"connection_id":162643,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:21:41] local.INFO: Processing buffer {"connection_id":162643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:21:41] local.INFO: IMEI packet received {"connection_id":162643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":162643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:21:46] local.INFO: TCP Data received {"connection_id":162643,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:21:46] local.INFO: Processing buffer {"connection_id":162643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:21:46] local.INFO: IMEI packet received {"connection_id":162643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":162643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:21:48] local.INFO: TCP Data received {"connection_id":162643,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:21:48] local.INFO: Processing buffer {"connection_id":162643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:21:48] local.INFO: Packet analysis {"connection_id":162643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:21:48] local.INFO: Extracted packet for processing {"connection_id":162643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:21:48] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822392,"longitude_deg":75.8432768,"latitude_deg":11.1822392,"altitude":24,"angle":109,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4638","is_valid_coordinates":true} 
[2026-08-25 02:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626726656001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787604457000,"timestamp_ms":1787604457000,"timestamp_seconds":1787604457,"priority":1,"record_length":96,"hex_timestamp":"000001a035875628"} 
[2026-08-25 02:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-25 02:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626726656001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626726656001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:21:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:21:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626726656001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":162643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:21:48] local.INFO: GPS data processed {"connection_id":162643,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:21:48] local.INFO: Acknowledgment sent {"connection_id":162643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:22:19] local.INFO: TCP Data received {"connection_id":162643,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:22:19] local.INFO: Processing buffer {"connection_id":162643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035875628012d34c40006aa46380018006d20..."} 
[2026-08-25 02:22:19] local.INFO: Packet analysis {"connection_id":162643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:22:19] local.INFO: Extracted packet for processing {"connection_id":162643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03587"} 
[2026-08-25 02:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822392,"longitude_deg":75.8432768,"latitude_deg":11.1822392,"altitude":24,"angle":109,"satellites":32,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4638","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626726656001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150235648,"note":"Value kept but may cause issues"} 
[2026-08-25 02:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787604457000,"timestamp_ms":1787604457000,"timestamp_seconds":1787604457,"priority":1,"record_length":96,"hex_timestamp":"000001a035875628"} 
[2026-08-25 02: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-25 02:22: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-25 02: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-25 02:22:19] 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-25 02: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-25 02: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-25 02:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626726656001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3803782495150235648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626726656001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:22:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:22:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150235648,"description":"Unknown IO ID 45"} 
[2026-08-25 02:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626726656001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150235648}} 
[2026-08-25 02:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":162643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:22:19] local.INFO: GPS data processed {"connection_id":162643,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:22:19] local.INFO: Acknowledgment sent {"connection_id":162643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:22:41] local.INFO: TCP Data received {"connection_id":162644,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:22:41] local.INFO: Processing buffer {"connection_id":162644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:22:41] local.INFO: IMEI packet received {"connection_id":162644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":162644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:22:46] local.INFO: TCP Data received {"connection_id":162644,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:22:46] local.INFO: Processing buffer {"connection_id":162644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:22:46] local.INFO: IMEI packet received {"connection_id":162644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":162644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:22:47] local.INFO: TCP Data received {"connection_id":162644,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:22:47] local.INFO: Processing buffer {"connection_id":162644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:22:47] local.INFO: Packet analysis {"connection_id":162644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:22:47] local.INFO: Extracted packet for processing {"connection_id":162644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":162644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:22:47] local.INFO: GPS data processed {"connection_id":162644,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:22:47] local.INFO: Acknowledgment sent {"connection_id":162644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:23:19] local.INFO: TCP Data received {"connection_id":162644,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:23:19] local.INFO: Processing buffer {"connection_id":162644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:23:19] local.INFO: Packet analysis {"connection_id":162644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:23:19] local.INFO: Extracted packet for processing {"connection_id":162644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:23: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-25 02:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:23:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":162644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:23:19] local.INFO: GPS data processed {"connection_id":162644,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:23:19] local.INFO: Acknowledgment sent {"connection_id":162644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:23:41] local.INFO: TCP Data received {"connection_id":164037,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:23:41] local.INFO: Processing buffer {"connection_id":164037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:23:41] local.INFO: IMEI packet received {"connection_id":164037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":164037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:23:46] local.INFO: TCP Data received {"connection_id":164037,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:23:46] local.INFO: Processing buffer {"connection_id":164037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:23:46] local.INFO: IMEI packet received {"connection_id":164037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":164037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:23:47] local.INFO: TCP Data received {"connection_id":164037,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:23:47] local.INFO: Processing buffer {"connection_id":164037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:23:47] local.INFO: Packet analysis {"connection_id":164037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:23:47] local.INFO: Extracted packet for processing {"connection_id":164037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02: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-25 02:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:23:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":164037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:23:47] local.INFO: GPS data processed {"connection_id":164037,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:23:47] local.INFO: Acknowledgment sent {"connection_id":164037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:24:19] local.INFO: TCP Data received {"connection_id":164037,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:24:19] local.INFO: Processing buffer {"connection_id":164037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:24:19] local.INFO: Packet analysis {"connection_id":164037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:24:19] local.INFO: Extracted packet for processing {"connection_id":164037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02: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-25 02:24: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-25 02:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:24:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":164037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:24:19] local.INFO: GPS data processed {"connection_id":164037,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:24:19] local.INFO: Acknowledgment sent {"connection_id":164037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:24:41] local.INFO: TCP Data received {"connection_id":161401,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:24:41] local.INFO: Processing buffer {"connection_id":161401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:24:41] local.INFO: IMEI packet received {"connection_id":161401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":161401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:24:46] local.INFO: TCP Data received {"connection_id":161401,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:24:46] local.INFO: Processing buffer {"connection_id":161401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:24:46] local.INFO: IMEI packet received {"connection_id":161401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":161401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:24:48] local.INFO: TCP Data received {"connection_id":161401,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:24:48] local.INFO: Processing buffer {"connection_id":161401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:24:48] local.INFO: Packet analysis {"connection_id":161401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:24:48] local.INFO: Extracted packet for processing {"connection_id":161401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":161401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:24:48] local.INFO: GPS data processed {"connection_id":161401,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:24:48] local.INFO: Acknowledgment sent {"connection_id":161401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:26:11] local.INFO: TCP Data received {"connection_id":161661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:26:11] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:26:11] local.INFO: IMEI packet received {"connection_id":161661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":161661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:26:16] local.INFO: TCP Data received {"connection_id":161661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:26:16] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:26:16] local.INFO: IMEI packet received {"connection_id":161661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":161661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:26:17] local.INFO: TCP Data received {"connection_id":161661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:26:17] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:26:17] local.INFO: Packet analysis {"connection_id":161661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:26:17] local.INFO: Extracted packet for processing {"connection_id":161661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":161661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:26:17] local.INFO: GPS data processed {"connection_id":161661,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:26:17] local.INFO: Acknowledgment sent {"connection_id":161661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:26:41] local.INFO: TCP Data received {"connection_id":164038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:26:41] local.INFO: Processing buffer {"connection_id":164038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:26:41] local.INFO: IMEI packet received {"connection_id":164038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":164038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:26:46] local.INFO: TCP Data received {"connection_id":164038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:26:46] local.INFO: Processing buffer {"connection_id":164038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:26:46] local.INFO: IMEI packet received {"connection_id":164038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":164038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:26:47] local.INFO: TCP Data received {"connection_id":164038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:26:47] local.INFO: Processing buffer {"connection_id":164038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:26:47] local.INFO: Packet analysis {"connection_id":164038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:26:47] local.INFO: Extracted packet for processing {"connection_id":164038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:26:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":164038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:26:47] local.INFO: GPS data processed {"connection_id":164038,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:26:47] local.INFO: Acknowledgment sent {"connection_id":164038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:27:18] local.INFO: TCP Data received {"connection_id":164038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:27:18] local.INFO: Processing buffer {"connection_id":164038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:27:18] local.INFO: Packet analysis {"connection_id":164038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:27:18] local.INFO: Extracted packet for processing {"connection_id":164038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:27:18] local.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-25 02:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:27:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":164038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:27:18] local.INFO: GPS data processed {"connection_id":164038,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:27:18] local.INFO: Acknowledgment sent {"connection_id":164038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:27:41] local.INFO: TCP Data received {"connection_id":161662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:27:41] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:27:41] local.INFO: IMEI packet received {"connection_id":161662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":161662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:27:46] local.INFO: TCP Data received {"connection_id":161662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:27:46] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:27:46] local.INFO: IMEI packet received {"connection_id":161662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":161662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:27:47] local.INFO: TCP Data received {"connection_id":161662,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:27:47] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:27:47] local.INFO: Packet analysis {"connection_id":161662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:27:47] local.INFO: Extracted packet for processing {"connection_id":161662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":161662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:27:47] local.INFO: GPS data processed {"connection_id":161662,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:27:47] local.INFO: Acknowledgment sent {"connection_id":161662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:28:19] local.INFO: TCP Data received {"connection_id":161662,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:28:19] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:28:19] local.INFO: Packet analysis {"connection_id":161662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:28:19] local.INFO: Extracted packet for processing {"connection_id":161662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02: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-25 02:28: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-25 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02: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-25 02:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:28:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:28:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":161662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:28:19] local.INFO: GPS data processed {"connection_id":161662,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:28:19] local.INFO: Acknowledgment sent {"connection_id":161662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:28:41] local.INFO: TCP Data received {"connection_id":161402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:28:41] local.INFO: Processing buffer {"connection_id":161402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:28:41] local.INFO: IMEI packet received {"connection_id":161402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":161402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:28:46] local.INFO: TCP Data received {"connection_id":161402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:28:46] local.INFO: Processing buffer {"connection_id":161402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:28:46] local.INFO: IMEI packet received {"connection_id":161402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":161402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:28:47] local.INFO: TCP Data received {"connection_id":161402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:28:47] local.INFO: Processing buffer {"connection_id":161402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:28:47] local.INFO: Packet analysis {"connection_id":161402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:28:47] local.INFO: Extracted packet for processing {"connection_id":161402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:28:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":161402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:28:47] local.INFO: GPS data processed {"connection_id":161402,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:28:47] local.INFO: Acknowledgment sent {"connection_id":161402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:29:18] local.INFO: TCP Data received {"connection_id":161402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:29:18] local.INFO: Processing buffer {"connection_id":161402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:29:18] local.INFO: Packet analysis {"connection_id":161402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:29:18] local.INFO: Extracted packet for processing {"connection_id":161402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02: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-25 02:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:29:18] local.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-25 02:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:29:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":161402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:29:18] local.INFO: GPS data processed {"connection_id":161402,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:29:18] local.INFO: Acknowledgment sent {"connection_id":161402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:29:46] local.INFO: TCP Data received {"connection_id":161403,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:29:46] local.INFO: Processing buffer {"connection_id":161403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:29:46] local.INFO: IMEI packet received {"connection_id":161403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":161403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:29:52] local.INFO: TCP Data received {"connection_id":161403,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:29:52] local.INFO: Processing buffer {"connection_id":161403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:29:52] local.INFO: IMEI packet received {"connection_id":161403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":161403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:29:53] local.INFO: TCP Data received {"connection_id":161403,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:29:53] local.INFO: Processing buffer {"connection_id":161403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:29:53] local.INFO: Packet analysis {"connection_id":161403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:29:53] local.INFO: Extracted packet for processing {"connection_id":161403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02: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-25 02:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:29: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-25 02:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"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-25 02:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":161403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:29:53] local.INFO: GPS data processed {"connection_id":161403,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:29:53] local.INFO: Acknowledgment sent {"connection_id":161403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:29:59] local.INFO: TCP Data received {"connection_id":161403,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:29:59] local.INFO: Processing buffer {"connection_id":161403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:29:59] local.INFO: Packet analysis {"connection_id":161403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:29:59] local.INFO: Extracted packet for processing {"connection_id":161403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:29:59] local.INFO: IO Element Parsed {"io_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-25 02:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02: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-25 02:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:29: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-25 02: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-25 02: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-25 02:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:29: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-25 02:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"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-25 02:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:29:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:29:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":161403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:29:59] local.INFO: GPS data processed {"connection_id":161403,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:29:59] local.INFO: Acknowledgment sent {"connection_id":161403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:30:41] local.INFO: TCP Data received {"connection_id":164039,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:30:41] local.INFO: Processing buffer {"connection_id":164039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:30:41] local.INFO: IMEI packet received {"connection_id":164039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":164039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:30:46] local.INFO: TCP Data received {"connection_id":164039,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:30:46] local.INFO: Processing buffer {"connection_id":164039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:30:46] local.INFO: IMEI packet received {"connection_id":164039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":164039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:30:47] local.INFO: TCP Data received {"connection_id":164039,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:30:47] local.INFO: Processing buffer {"connection_id":164039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0358b9800012d34c3c006aa46b00014006d24..."} 
[2026-08-25 02:30:47] local.INFO: Packet analysis {"connection_id":164039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:30:47] local.INFO: Extracted packet for processing {"connection_id":164039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0358b"} 
[2026-08-25 02:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626740992001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034073600,"note":"Value kept but may cause issues"} 
[2026-08-25 02:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787604736000,"timestamp_ms":1787604736000,"timestamp_seconds":1787604736,"priority":1,"record_length":96,"hex_timestamp":"000001a0358b9800"} 
[2026-08-25 02:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626740992001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802164014034073600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626740992001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:30:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034073600,"description":"Unknown IO ID 45"} 
[2026-08-25 02:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626740992001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034073600}} 
[2026-08-25 02:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":164039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:30:47] local.INFO: GPS data processed {"connection_id":164039,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:30:47] local.INFO: Acknowledgment sent {"connection_id":164039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:31:19] local.INFO: TCP Data received {"connection_id":164039,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:31:19] local.INFO: Processing buffer {"connection_id":164039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:31:19] local.INFO: Packet analysis {"connection_id":164039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:31:19] local.INFO: Extracted packet for processing {"connection_id":164039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":34,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626812416001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:31:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787605219000,"timestamp_ms":1787605219000,"timestamp_seconds":1787605219,"priority":1,"record_length":96,"hex_timestamp":"000001a03592f6b8"} 
[2026-08-25 02: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-25 02:31: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-25 02:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:31: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-25 02:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626812416001,"66":25734,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626812416001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626812416001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":164039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:31:19] local.INFO: GPS data processed {"connection_id":164039,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:31:19] local.INFO: Acknowledgment sent {"connection_id":164039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:31:41] local.INFO: TCP Data received {"connection_id":162645,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:31:41] local.INFO: Processing buffer {"connection_id":162645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:31:41] local.INFO: IMEI packet received {"connection_id":162645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":162645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:31:46] local.INFO: TCP Data received {"connection_id":162645,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:31:46] local.INFO: Processing buffer {"connection_id":162645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:31:46] local.INFO: IMEI packet received {"connection_id":162645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":162645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:31:47] local.INFO: TCP Data received {"connection_id":162645,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:31:47] local.INFO: Processing buffer {"connection_id":162645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:31:47] local.INFO: Packet analysis {"connection_id":162645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:31:47] local.INFO: Extracted packet for processing {"connection_id":162645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":34,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626812416001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:31:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787605219000,"timestamp_ms":1787605219000,"timestamp_seconds":1787605219,"priority":1,"record_length":96,"hex_timestamp":"000001a03592f6b8"} 
[2026-08-25 02:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:31:47] 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-25 02:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626812416001,"66":25734,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626812416001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626812416001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":162645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:31:47] local.INFO: GPS data processed {"connection_id":162645,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:31:47] local.INFO: Acknowledgment sent {"connection_id":162645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:32:18] local.INFO: TCP Data received {"connection_id":162645,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:32:18] local.INFO: Processing buffer {"connection_id":162645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:32:18] local.INFO: Packet analysis {"connection_id":162645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:32:18] local.INFO: Extracted packet for processing {"connection_id":162645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":34,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626812416001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:32:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787605219000,"timestamp_ms":1787605219000,"timestamp_seconds":1787605219,"priority":1,"record_length":96,"hex_timestamp":"000001a03592f6b8"} 
[2026-08-25 02: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-25 02:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:32:18] 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-25 02:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626812416001,"66":25734,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626812416001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626812416001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":162645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:32:18] local.INFO: GPS data processed {"connection_id":162645,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:32:18] local.INFO: Acknowledgment sent {"connection_id":162645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:32:41] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:32:41] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:32:41] local.INFO: IMEI packet received {"connection_id":161663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":161663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:32:46] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:32:46] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:32:46] local.INFO: IMEI packet received {"connection_id":161663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":161663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:32:48] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:32:48] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:32:48] local.INFO: Packet analysis {"connection_id":161663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:32:48] local.INFO: Extracted packet for processing {"connection_id":161663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":34,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626812416001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:32:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787605219000,"timestamp_ms":1787605219000,"timestamp_seconds":1787605219,"priority":1,"record_length":96,"hex_timestamp":"000001a03592f6b8"} 
[2026-08-25 02: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-25 02:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:32: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-25 02:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626812416001,"66":25734,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626812416001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626812416001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":161663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:32:48] local.INFO: GPS data processed {"connection_id":161663,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:32:48] local.INFO: Acknowledgment sent {"connection_id":161663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:33:19] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:33:19] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:33:19] local.INFO: Packet analysis {"connection_id":161663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:33:19] local.INFO: Extracted packet for processing {"connection_id":161663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":34,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626812416001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:33:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787605219000,"timestamp_ms":1787605219000,"timestamp_seconds":1787605219,"priority":1,"record_length":96,"hex_timestamp":"000001a03592f6b8"} 
[2026-08-25 02:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:33: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-25 02:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:33:19] 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-25 02:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626812416001,"66":25734,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626812416001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626812416001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":161663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:33:19] local.INFO: GPS data processed {"connection_id":161663,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:33:19] local.INFO: Acknowledgment sent {"connection_id":161663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:33:41] local.INFO: TCP Data received {"connection_id":164040,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:33:41] local.INFO: Processing buffer {"connection_id":164040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:33:41] local.INFO: IMEI packet received {"connection_id":164040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":164040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:33:46] local.INFO: TCP Data received {"connection_id":164040,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:33:46] local.INFO: Processing buffer {"connection_id":164040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:33:46] local.INFO: IMEI packet received {"connection_id":164040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":164040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:33:47] local.INFO: TCP Data received {"connection_id":164040,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:33:47] local.INFO: Processing buffer {"connection_id":164040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:33:47] local.INFO: Packet analysis {"connection_id":164040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:33:47] local.INFO: Extracted packet for processing {"connection_id":164040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":34,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626812416001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:33:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787605219000,"timestamp_ms":1787605219000,"timestamp_seconds":1787605219,"priority":1,"record_length":96,"hex_timestamp":"000001a03592f6b8"} 
[2026-08-25 02:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626812416001,"66":25734,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626812416001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626812416001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":164040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:33:47] local.INFO: GPS data processed {"connection_id":164040,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:33:47] local.INFO: Acknowledgment sent {"connection_id":164040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:34:18] local.INFO: TCP Data received {"connection_id":164040,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:34:18] local.INFO: Processing buffer {"connection_id":164040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:34:18] local.INFO: Packet analysis {"connection_id":164040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:34:18] local.INFO: Extracted packet for processing {"connection_id":164040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":34,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626812416001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:34:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787605219000,"timestamp_ms":1787605219000,"timestamp_seconds":1787605219,"priority":1,"record_length":96,"hex_timestamp":"000001a03592f6b8"} 
[2026-08-25 02:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:34:18] 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-25 02:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626812416001,"66":25734,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626812416001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626812416001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":164040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:34:18] local.INFO: GPS data processed {"connection_id":164040,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:34:18] local.INFO: Acknowledgment sent {"connection_id":164040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:34:46] local.INFO: TCP Data received {"connection_id":164041,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:34:46] local.INFO: Processing buffer {"connection_id":164041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:34:46] local.INFO: IMEI packet received {"connection_id":164041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":164041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:34:51] local.INFO: TCP Data received {"connection_id":164041,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:34:51] local.INFO: Processing buffer {"connection_id":164041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:34:51] local.INFO: IMEI packet received {"connection_id":164041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":164041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:34:52] local.INFO: TCP Data received {"connection_id":164041,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:34:52] local.INFO: Processing buffer {"connection_id":164041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:34:52] local.INFO: Packet analysis {"connection_id":164041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:34:52] local.INFO: Extracted packet for processing {"connection_id":164041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":34,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626812416001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:34:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787605219000,"timestamp_ms":1787605219000,"timestamp_seconds":1787605219,"priority":1,"record_length":96,"hex_timestamp":"000001a03592f6b8"} 
[2026-08-25 02:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:34:52] 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-25 02:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626812416001,"66":25734,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626812416001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626812416001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":164041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:34:52] local.INFO: GPS data processed {"connection_id":164041,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:34:52] local.INFO: Acknowledgment sent {"connection_id":164041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:34:58] local.INFO: TCP Data received {"connection_id":164041,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:34:58] local.INFO: Processing buffer {"connection_id":164041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:34:58] local.INFO: Packet analysis {"connection_id":164041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:34:58] local.INFO: Extracted packet for processing {"connection_id":164041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:34:58] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":34,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626812416001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:34:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787605219000,"timestamp_ms":1787605219000,"timestamp_seconds":1787605219,"priority":1,"record_length":96,"hex_timestamp":"000001a03592f6b8"} 
[2026-08-25 02:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:34: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-25 02:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:34:58] 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-25 02:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626812416001,"66":25734,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626812416001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:34:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626812416001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":164041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:34:58] local.INFO: GPS data processed {"connection_id":164041,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:34:58] local.INFO: Acknowledgment sent {"connection_id":164041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:35:41] local.INFO: TCP Data received {"connection_id":162646,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:35:41] local.INFO: Processing buffer {"connection_id":162646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:35:41] local.INFO: IMEI packet received {"connection_id":162646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":162646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:35:46] local.INFO: TCP Data received {"connection_id":162646,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:35:46] local.INFO: Processing buffer {"connection_id":162646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:35:46] local.INFO: IMEI packet received {"connection_id":162646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":162646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:35:47] local.INFO: TCP Data received {"connection_id":162646,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:35:47] local.INFO: Processing buffer {"connection_id":162646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03592f6b8012d34c3c006aa46b00017006d22..."} 
[2026-08-25 02:35:47] local.INFO: Packet analysis {"connection_id":162646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:35:47] local.INFO: Extracted packet for processing {"connection_id":162646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03592"} 
[2026-08-25 02:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":34,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626812416001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:35:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787605219000,"timestamp_ms":1787605219000,"timestamp_seconds":1787605219,"priority":1,"record_length":96,"hex_timestamp":"000001a03592f6b8"} 
[2026-08-25 02:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626812416001,"66":25734,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626812416001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626812416001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":162646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:35:47] local.INFO: GPS data processed {"connection_id":162646,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:35:47] local.INFO: Acknowledgment sent {"connection_id":162646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:36:18] local.INFO: TCP Data received {"connection_id":162646,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:36:18] local.INFO: Processing buffer {"connection_id":162646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:36:18] local.INFO: Packet analysis {"connection_id":162646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:36:18] local.INFO: Extracted packet for processing {"connection_id":162646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626936064001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:36:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787605520000,"timestamp_ms":1787605520000,"timestamp_seconds":1787605520,"priority":1,"record_length":96,"hex_timestamp":"000001a035978e80"} 
[2026-08-25 02:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-25 02:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:36:18] 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-25 02:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626936064001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626936064001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626936064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":162646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:36:18] local.INFO: GPS data processed {"connection_id":162646,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:36:18] local.INFO: Acknowledgment sent {"connection_id":162646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:36:41] local.INFO: TCP Data received {"connection_id":164042,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:36:41] local.INFO: Processing buffer {"connection_id":164042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:36:41] local.INFO: IMEI packet received {"connection_id":164042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":164042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:36:46] local.INFO: TCP Data received {"connection_id":164042,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:36:46] local.INFO: Processing buffer {"connection_id":164042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:36:46] local.INFO: IMEI packet received {"connection_id":164042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":164042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:36:47] local.INFO: TCP Data received {"connection_id":164042,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:36:47] local.INFO: Processing buffer {"connection_id":164042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:36:47] local.INFO: Packet analysis {"connection_id":164042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:36:47] local.INFO: Extracted packet for processing {"connection_id":164042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626936064001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:36:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787605520000,"timestamp_ms":1787605520000,"timestamp_seconds":1787605520,"priority":1,"record_length":96,"hex_timestamp":"000001a035978e80"} 
[2026-08-25 02:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-25 02:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626936064001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626936064001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626936064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":164042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:36:47] local.INFO: GPS data processed {"connection_id":164042,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:36:47] local.INFO: Acknowledgment sent {"connection_id":164042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:37:19] local.INFO: TCP Data received {"connection_id":164042,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:37:19] local.INFO: Processing buffer {"connection_id":164042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:37:19] local.INFO: Packet analysis {"connection_id":164042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:37:19] local.INFO: Extracted packet for processing {"connection_id":164042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626936064001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:37:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787605520000,"timestamp_ms":1787605520000,"timestamp_seconds":1787605520,"priority":1,"record_length":96,"hex_timestamp":"000001a035978e80"} 
[2026-08-25 02:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:37: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-25 02:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-25 02:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:37:19] 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-25 02:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626936064001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626936064001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:37:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626936064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":164042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:37:19] local.INFO: GPS data processed {"connection_id":164042,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:37:19] local.INFO: Acknowledgment sent {"connection_id":164042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:37:41] local.INFO: TCP Data received {"connection_id":162647,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:37:41] local.INFO: Processing buffer {"connection_id":162647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:37:41] local.INFO: IMEI packet received {"connection_id":162647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":162647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:37:46] local.INFO: TCP Data received {"connection_id":162647,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:37:46] local.INFO: Processing buffer {"connection_id":162647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:37:46] local.INFO: IMEI packet received {"connection_id":162647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":162647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:37:47] local.INFO: TCP Data received {"connection_id":162647,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:37:47] local.INFO: Processing buffer {"connection_id":162647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:37:47] local.INFO: Packet analysis {"connection_id":162647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:37:47] local.INFO: Extracted packet for processing {"connection_id":162647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626936064001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:37:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787605520000,"timestamp_ms":1787605520000,"timestamp_seconds":1787605520,"priority":1,"record_length":96,"hex_timestamp":"000001a035978e80"} 
[2026-08-25 02:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-25 02:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626936064001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626936064001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626936064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":162647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:37:47] local.INFO: GPS data processed {"connection_id":162647,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:37:47] local.INFO: Acknowledgment sent {"connection_id":162647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:38:18] local.INFO: TCP Data received {"connection_id":162647,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:38:18] local.INFO: Processing buffer {"connection_id":162647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:38:18] local.INFO: Packet analysis {"connection_id":162647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:38:18] local.INFO: Extracted packet for processing {"connection_id":162647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626936064001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:38:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787605520000,"timestamp_ms":1787605520000,"timestamp_seconds":1787605520,"priority":1,"record_length":96,"hex_timestamp":"000001a035978e80"} 
[2026-08-25 02:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-25 02:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:38:18] 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-25 02:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626936064001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626936064001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626936064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":162647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:38:18] local.INFO: GPS data processed {"connection_id":162647,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:38:18] local.INFO: Acknowledgment sent {"connection_id":162647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:38:41] local.INFO: TCP Data received {"connection_id":164043,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:38:41] local.INFO: Processing buffer {"connection_id":164043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:38:41] local.INFO: IMEI packet received {"connection_id":164043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":164043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:38:46] local.INFO: TCP Data received {"connection_id":164043,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:38:46] local.INFO: Processing buffer {"connection_id":164043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:38:46] local.INFO: IMEI packet received {"connection_id":164043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":164043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:38:47] local.INFO: TCP Data received {"connection_id":164043,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:38:47] local.INFO: Processing buffer {"connection_id":164043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:38:47] local.INFO: Packet analysis {"connection_id":164043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:38:47] local.INFO: Extracted packet for processing {"connection_id":164043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626936064001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:38:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787605520000,"timestamp_ms":1787605520000,"timestamp_seconds":1787605520,"priority":1,"record_length":96,"hex_timestamp":"000001a035978e80"} 
[2026-08-25 02: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-25 02:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-25 02:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626936064001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626936064001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626936064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":164043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:38:47] local.INFO: GPS data processed {"connection_id":164043,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:38:47] local.INFO: Acknowledgment sent {"connection_id":164043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:39:18] local.INFO: TCP Data received {"connection_id":164043,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:39:19] local.INFO: Processing buffer {"connection_id":164043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:39:19] local.INFO: Packet analysis {"connection_id":164043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:39:19] local.INFO: Extracted packet for processing {"connection_id":164043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626936064001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:39:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787605520000,"timestamp_ms":1787605520000,"timestamp_seconds":1787605520,"priority":1,"record_length":96,"hex_timestamp":"000001a035978e80"} 
[2026-08-25 02:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:39: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-25 02:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-25 02:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626936064001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626936064001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626936064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":164043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:39:19] local.INFO: GPS data processed {"connection_id":164043,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:39:19] local.INFO: Acknowledgment sent {"connection_id":164043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:39:41] local.INFO: TCP Data received {"connection_id":162648,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:39:41] local.INFO: Processing buffer {"connection_id":162648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:39:41] local.INFO: IMEI packet received {"connection_id":162648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":162648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:39:46] local.INFO: TCP Data received {"connection_id":162648,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:39:46] local.INFO: Processing buffer {"connection_id":162648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:39:46] local.INFO: IMEI packet received {"connection_id":162648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":162648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:39:47] local.INFO: TCP Data received {"connection_id":162648,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:39:47] local.INFO: Processing buffer {"connection_id":162648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:39:47] local.INFO: Packet analysis {"connection_id":162648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:39:47] local.INFO: Extracted packet for processing {"connection_id":162648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626936064001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:39:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787605520000,"timestamp_ms":1787605520000,"timestamp_seconds":1787605520,"priority":1,"record_length":96,"hex_timestamp":"000001a035978e80"} 
[2026-08-25 02:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-25 02:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626936064001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626936064001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626936064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":162648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:39:47] local.INFO: GPS data processed {"connection_id":162648,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:39:47] local.INFO: Acknowledgment sent {"connection_id":162648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:40:19] local.INFO: TCP Data received {"connection_id":162648,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:40:19] local.INFO: Processing buffer {"connection_id":162648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:40:19] local.INFO: Packet analysis {"connection_id":162648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:40:19] local.INFO: Extracted packet for processing {"connection_id":162648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626936064001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:40:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787605520000,"timestamp_ms":1787605520000,"timestamp_seconds":1787605520,"priority":1,"record_length":96,"hex_timestamp":"000001a035978e80"} 
[2026-08-25 02:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:40: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-25 02:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-25 02:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:40: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-25 02:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626936064001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626936064001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626936064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":162648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:40:19] local.INFO: GPS data processed {"connection_id":162648,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:40:19] local.INFO: Acknowledgment sent {"connection_id":162648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:40:46] local.INFO: TCP Data received {"connection_id":164044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:40:46] local.INFO: Processing buffer {"connection_id":164044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:40:46] local.INFO: IMEI packet received {"connection_id":164044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":164044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:40:51] local.INFO: TCP Data received {"connection_id":164044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:40:51] local.INFO: Processing buffer {"connection_id":164044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:40:51] local.INFO: IMEI packet received {"connection_id":164044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":164044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:40:52] local.INFO: TCP Data received {"connection_id":164044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:40:52] local.INFO: Processing buffer {"connection_id":164044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:40:52] local.INFO: Packet analysis {"connection_id":164044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:40:52] local.INFO: Extracted packet for processing {"connection_id":164044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626936064001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:40:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787605520000,"timestamp_ms":1787605520000,"timestamp_seconds":1787605520,"priority":1,"record_length":96,"hex_timestamp":"000001a035978e80"} 
[2026-08-25 02: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-25 02:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02: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":134,"data_length":795,"current_offset":136} 
[2026-08-25 02:40: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-25 02: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-25 02: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-25 02:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:40:52] local.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-25 02:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626936064001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626936064001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626936064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":164044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:40:52] local.INFO: GPS data processed {"connection_id":164044,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:40:52] local.INFO: Acknowledgment sent {"connection_id":164044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:40:57] local.INFO: TCP Data received {"connection_id":164044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:40:57] local.INFO: Processing buffer {"connection_id":164044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035978e80012d34c3c006aa46b00019006d24..."} 
[2026-08-25 02:40:57] local.INFO: Packet analysis {"connection_id":164044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:40:57] local.INFO: Extracted packet for processing {"connection_id":164044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03597"} 
[2026-08-25 02:40:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:40: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-25 02:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457626936064001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:40:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787605520000,"timestamp_ms":1787605520000,"timestamp_seconds":1787605520,"priority":1,"record_length":96,"hex_timestamp":"000001a035978e80"} 
[2026-08-25 02:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-25 02:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02:40: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-25 02:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:40: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-25 02:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457626936064001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457626936064001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:40:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457626936064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":164044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:40:57] local.INFO: GPS data processed {"connection_id":164044,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:40:57] local.INFO: Acknowledgment sent {"connection_id":164044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:41:41] local.INFO: TCP Data received {"connection_id":162649,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:41:41] local.INFO: Processing buffer {"connection_id":162649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:41:41] local.INFO: IMEI packet received {"connection_id":162649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":162649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:41:46] local.INFO: TCP Data received {"connection_id":162649,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:41:46] local.INFO: Processing buffer {"connection_id":162649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:41:46] local.INFO: IMEI packet received {"connection_id":162649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":162649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:41:48] local.INFO: TCP Data received {"connection_id":162649,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:41:48] local.INFO: Processing buffer {"connection_id":162649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:41:48] local.INFO: Packet analysis {"connection_id":162649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:41:48] local.INFO: Extracted packet for processing {"connection_id":162649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627013120001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:41:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787605821000,"timestamp_ms":1787605821000,"timestamp_seconds":1787605821,"priority":1,"record_length":96,"hex_timestamp":"000001a0359c2648"} 
[2026-08-25 02:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627013120001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627013120001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627013120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":162649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:41:48] local.INFO: GPS data processed {"connection_id":162649,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:41:48] local.INFO: Acknowledgment sent {"connection_id":162649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:42:20] local.INFO: TCP Data received {"connection_id":162649,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:42:20] local.INFO: Processing buffer {"connection_id":162649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:42:20] local.INFO: Packet analysis {"connection_id":162649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:42:20] local.INFO: Extracted packet for processing {"connection_id":162649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627013120001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:42:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787605821000,"timestamp_ms":1787605821000,"timestamp_seconds":1787605821,"priority":1,"record_length":96,"hex_timestamp":"000001a0359c2648"} 
[2026-08-25 02:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:42: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-25 02:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627013120001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627013120001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627013120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":162649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:42:20] local.INFO: GPS data processed {"connection_id":162649,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:42:20] local.INFO: Acknowledgment sent {"connection_id":162649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:42:41] local.INFO: TCP Data received {"connection_id":164045,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:42:41] local.INFO: Processing buffer {"connection_id":164045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:42:41] local.INFO: IMEI packet received {"connection_id":164045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":164045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:42:46] local.INFO: TCP Data received {"connection_id":164045,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:42:46] local.INFO: Processing buffer {"connection_id":164045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:42:46] local.INFO: IMEI packet received {"connection_id":164045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":164045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:42:47] local.INFO: TCP Data received {"connection_id":164045,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:42:47] local.INFO: Processing buffer {"connection_id":164045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:42:47] local.INFO: Packet analysis {"connection_id":164045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:42:47] local.INFO: Extracted packet for processing {"connection_id":164045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627013120001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:42:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787605821000,"timestamp_ms":1787605821000,"timestamp_seconds":1787605821,"priority":1,"record_length":96,"hex_timestamp":"000001a0359c2648"} 
[2026-08-25 02:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627013120001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627013120001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627013120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":164045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:42:47] local.INFO: GPS data processed {"connection_id":164045,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:42:47] local.INFO: Acknowledgment sent {"connection_id":164045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:43:18] local.INFO: TCP Data received {"connection_id":164045,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:43:18] local.INFO: Processing buffer {"connection_id":164045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:43:18] local.INFO: Packet analysis {"connection_id":164045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:43:18] local.INFO: Extracted packet for processing {"connection_id":164045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:43:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627013120001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:43:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787605821000,"timestamp_ms":1787605821000,"timestamp_seconds":1787605821,"priority":1,"record_length":96,"hex_timestamp":"000001a0359c2648"} 
[2026-08-25 02:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:43:18] 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-25 02:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627013120001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627013120001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627013120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":164045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:43:18] local.INFO: GPS data processed {"connection_id":164045,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:43:18] local.INFO: Acknowledgment sent {"connection_id":164045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:43:41] local.INFO: TCP Data received {"connection_id":162650,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:43:41] local.INFO: Processing buffer {"connection_id":162650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:43:41] local.INFO: IMEI packet received {"connection_id":162650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":162650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:43:47] local.INFO: TCP Data received {"connection_id":162650,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:43:47] local.INFO: Processing buffer {"connection_id":162650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:43:47] local.INFO: IMEI packet received {"connection_id":162650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":162650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:43:48] local.INFO: TCP Data received {"connection_id":162650,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:43:48] local.INFO: Processing buffer {"connection_id":162650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:43:48] local.INFO: Packet analysis {"connection_id":162650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:43:48] local.INFO: Extracted packet for processing {"connection_id":162650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627013120001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:43:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787605821000,"timestamp_ms":1787605821000,"timestamp_seconds":1787605821,"priority":1,"record_length":96,"hex_timestamp":"000001a0359c2648"} 
[2026-08-25 02:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627013120001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627013120001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627013120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":162650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:43:48] local.INFO: GPS data processed {"connection_id":162650,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:43:48] local.INFO: Acknowledgment sent {"connection_id":162650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:44:21] local.INFO: TCP Data received {"connection_id":162650,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:44:21] local.INFO: Processing buffer {"connection_id":162650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:44:21] local.INFO: Packet analysis {"connection_id":162650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:44:21] local.INFO: Extracted packet for processing {"connection_id":162650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:44:21] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627013120001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:44:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787605821000,"timestamp_ms":1787605821000,"timestamp_seconds":1787605821,"priority":1,"record_length":96,"hex_timestamp":"000001a0359c2648"} 
[2026-08-25 02:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:44: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-25 02:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627013120001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627013120001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:44:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627013120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":162650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:44:21] local.INFO: GPS data processed {"connection_id":162650,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:44:21] local.INFO: Acknowledgment sent {"connection_id":162650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:44:41] local.INFO: TCP Data received {"connection_id":161404,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:44:41] local.INFO: Processing buffer {"connection_id":161404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:44:41] local.INFO: IMEI packet received {"connection_id":161404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":161404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:44:46] local.INFO: TCP Data received {"connection_id":161404,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:44:46] local.INFO: Processing buffer {"connection_id":161404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:44:46] local.INFO: IMEI packet received {"connection_id":161404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":161404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:44:47] local.INFO: TCP Data received {"connection_id":161404,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:44:47] local.INFO: Processing buffer {"connection_id":161404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:44:47] local.INFO: Packet analysis {"connection_id":161404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:44:47] local.INFO: Extracted packet for processing {"connection_id":161404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627013120001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:44:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787605821000,"timestamp_ms":1787605821000,"timestamp_seconds":1787605821,"priority":1,"record_length":96,"hex_timestamp":"000001a0359c2648"} 
[2026-08-25 02:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627013120001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627013120001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627013120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":161404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:44:47] local.INFO: GPS data processed {"connection_id":161404,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:44:47] local.INFO: Acknowledgment sent {"connection_id":161404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:45:19] local.INFO: TCP Data received {"connection_id":161404,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:45:19] local.INFO: Processing buffer {"connection_id":161404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:45:19] local.INFO: Packet analysis {"connection_id":161404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:45:19] local.INFO: Extracted packet for processing {"connection_id":161404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627013120001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:45:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787605821000,"timestamp_ms":1787605821000,"timestamp_seconds":1787605821,"priority":1,"record_length":96,"hex_timestamp":"000001a0359c2648"} 
[2026-08-25 02:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:45: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-25 02:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:45:19] 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-25 02:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627013120001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627013120001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627013120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":161404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:45:19] local.INFO: GPS data processed {"connection_id":161404,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:45:19] local.INFO: Acknowledgment sent {"connection_id":161404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:45:46] local.INFO: TCP Data received {"connection_id":162651,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:45:46] local.INFO: Processing buffer {"connection_id":162651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:45:46] local.INFO: IMEI packet received {"connection_id":162651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":162651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:45:51] local.INFO: TCP Data received {"connection_id":162651,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:45:51] local.INFO: Processing buffer {"connection_id":162651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:45:51] local.INFO: IMEI packet received {"connection_id":162651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":162651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:45:52] local.INFO: TCP Data received {"connection_id":162651,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:45:52] local.INFO: Processing buffer {"connection_id":162651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:45:52] local.INFO: Packet analysis {"connection_id":162651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:45:52] local.INFO: Extracted packet for processing {"connection_id":162651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627013120001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:45:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787605821000,"timestamp_ms":1787605821000,"timestamp_seconds":1787605821,"priority":1,"record_length":96,"hex_timestamp":"000001a0359c2648"} 
[2026-08-25 02: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-25 02:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627013120001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627013120001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627013120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":162651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:45:52] local.INFO: GPS data processed {"connection_id":162651,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:45:52] local.INFO: Acknowledgment sent {"connection_id":162651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:45:58] local.INFO: TCP Data received {"connection_id":162651,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:45:58] local.INFO: Processing buffer {"connection_id":162651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0359c2648012d34c3c006aa46b0000e006d24..."} 
[2026-08-25 02:45:58] local.INFO: Packet analysis {"connection_id":162651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:45:58] local.INFO: Extracted packet for processing {"connection_id":162651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0359c"} 
[2026-08-25 02:45:58] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627013120001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:45:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787605821000,"timestamp_ms":1787605821000,"timestamp_seconds":1787605821,"priority":1,"record_length":96,"hex_timestamp":"000001a0359c2648"} 
[2026-08-25 02:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:45: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-25 02:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:45:58] 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-25 02:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627013120001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627013120001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:45:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627013120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":162651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:45:58] local.INFO: GPS data processed {"connection_id":162651,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:45:58] local.INFO: Acknowledgment sent {"connection_id":162651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:46:41] local.INFO: TCP Data received {"connection_id":164046,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:46:41] local.INFO: Processing buffer {"connection_id":164046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:46:41] local.INFO: IMEI packet received {"connection_id":164046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":164046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:46:46] local.INFO: TCP Data received {"connection_id":164046,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:46:46] local.INFO: Processing buffer {"connection_id":164046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:46:46] local.INFO: IMEI packet received {"connection_id":164046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":164046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:46:47] local.INFO: TCP Data received {"connection_id":164046,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:46:47] local.INFO: Processing buffer {"connection_id":164046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:46:47] local.INFO: Packet analysis {"connection_id":164046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:46:47] local.INFO: Extracted packet for processing {"connection_id":164046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":26,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627090176001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787606122000,"timestamp_ms":1787606122000,"timestamp_seconds":1787606122,"priority":1,"record_length":96,"hex_timestamp":"000001a035a0be10"} 
[2026-08-25 02:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627090176001,"66":25625,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627090176001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627090176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":164046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:46:47] local.INFO: GPS data processed {"connection_id":164046,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:46:47] local.INFO: Acknowledgment sent {"connection_id":164046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:47:18] local.INFO: TCP Data received {"connection_id":164046,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:47:18] local.INFO: Processing buffer {"connection_id":164046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:47:18] local.INFO: Packet analysis {"connection_id":164046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:47:18] local.INFO: Extracted packet for processing {"connection_id":164046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":26,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627090176001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787606122000,"timestamp_ms":1787606122000,"timestamp_seconds":1787606122,"priority":1,"record_length":96,"hex_timestamp":"000001a035a0be10"} 
[2026-08-25 02:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:47:18] 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-25 02:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627090176001,"66":25625,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627090176001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:47:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627090176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":164046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:47:18] local.INFO: GPS data processed {"connection_id":164046,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:47:18] local.INFO: Acknowledgment sent {"connection_id":164046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:47:41] local.INFO: TCP Data received {"connection_id":164047,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:47:41] local.INFO: Processing buffer {"connection_id":164047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:47:41] local.INFO: IMEI packet received {"connection_id":164047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":164047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:47:46] local.INFO: TCP Data received {"connection_id":164047,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:47:46] local.INFO: Processing buffer {"connection_id":164047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:47:46] local.INFO: IMEI packet received {"connection_id":164047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":164047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:47:47] local.INFO: TCP Data received {"connection_id":164047,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:47:47] local.INFO: Processing buffer {"connection_id":164047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:47:47] local.INFO: Packet analysis {"connection_id":164047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:47:47] local.INFO: Extracted packet for processing {"connection_id":164047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":26,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627090176001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787606122000,"timestamp_ms":1787606122000,"timestamp_seconds":1787606122,"priority":1,"record_length":96,"hex_timestamp":"000001a035a0be10"} 
[2026-08-25 02:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627090176001,"66":25625,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627090176001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627090176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":164047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:47:47] local.INFO: GPS data processed {"connection_id":164047,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:47:47] local.INFO: Acknowledgment sent {"connection_id":164047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:48:19] local.INFO: TCP Data received {"connection_id":164047,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:48:19] local.INFO: Processing buffer {"connection_id":164047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:48:19] local.INFO: Packet analysis {"connection_id":164047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:48:19] local.INFO: Extracted packet for processing {"connection_id":164047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":26,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627090176001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787606122000,"timestamp_ms":1787606122000,"timestamp_seconds":1787606122,"priority":1,"record_length":96,"hex_timestamp":"000001a035a0be10"} 
[2026-08-25 02: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-25 02: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-25 02:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:48:19] 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-25 02:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627090176001,"66":25625,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627090176001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:48:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627090176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":164047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:48:19] local.INFO: GPS data processed {"connection_id":164047,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:48:19] local.INFO: Acknowledgment sent {"connection_id":164047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:48:41] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:48:41] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:48:41] local.INFO: IMEI packet received {"connection_id":161405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":161405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:48:47] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:48:47] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:48:47] local.INFO: IMEI packet received {"connection_id":161405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":161405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:48:48] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:48:48] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:48:48] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:48:48] local.INFO: Extracted packet for processing {"connection_id":161405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":26,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627090176001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787606122000,"timestamp_ms":1787606122000,"timestamp_seconds":1787606122,"priority":1,"record_length":96,"hex_timestamp":"000001a035a0be10"} 
[2026-08-25 02:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627090176001,"66":25625,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627090176001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:48:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627090176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":161405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:48:48] local.INFO: GPS data processed {"connection_id":161405,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:48:48] local.INFO: Acknowledgment sent {"connection_id":161405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:49:19] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:49:19] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:49:19] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:49:19] local.INFO: Extracted packet for processing {"connection_id":161405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":26,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627090176001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787606122000,"timestamp_ms":1787606122000,"timestamp_seconds":1787606122,"priority":1,"record_length":96,"hex_timestamp":"000001a035a0be10"} 
[2026-08-25 02:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:49: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-25 02:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627090176001,"66":25625,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627090176001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627090176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":161405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:49:19] local.INFO: GPS data processed {"connection_id":161405,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:49:19] local.INFO: Acknowledgment sent {"connection_id":161405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:49:46] local.INFO: TCP Data received {"connection_id":161406,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:49:46] local.INFO: Processing buffer {"connection_id":161406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:49:46] local.INFO: IMEI packet received {"connection_id":161406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":161406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:49:51] local.INFO: TCP Data received {"connection_id":161406,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:49:51] local.INFO: Processing buffer {"connection_id":161406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:49:51] local.INFO: IMEI packet received {"connection_id":161406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":161406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:49:52] local.INFO: TCP Data received {"connection_id":161406,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:49:52] local.INFO: Processing buffer {"connection_id":161406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:49:52] local.INFO: Packet analysis {"connection_id":161406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:49:52] local.INFO: Extracted packet for processing {"connection_id":161406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":26,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627090176001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787606122000,"timestamp_ms":1787606122000,"timestamp_seconds":1787606122,"priority":1,"record_length":96,"hex_timestamp":"000001a035a0be10"} 
[2026-08-25 02: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-25 02:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:49:52] 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-25 02:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627090176001,"66":25625,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627090176001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:49:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627090176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":161406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:49:52] local.INFO: GPS data processed {"connection_id":161406,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:49:52] local.INFO: Acknowledgment sent {"connection_id":161406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:49:57] local.INFO: TCP Data received {"connection_id":161406,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:49:57] local.INFO: Processing buffer {"connection_id":161406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:49:57] local.INFO: Packet analysis {"connection_id":161406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:49:57] local.INFO: Extracted packet for processing {"connection_id":161406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:49:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":26,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627090176001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:49: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-25 02:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787606122000,"timestamp_ms":1787606122000,"timestamp_seconds":1787606122,"priority":1,"record_length":96,"hex_timestamp":"000001a035a0be10"} 
[2026-08-25 02:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:49: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-25 02:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627090176001,"66":25625,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627090176001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:49:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:49:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627090176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":161406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:49:57] local.INFO: GPS data processed {"connection_id":161406,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:49:57] local.INFO: Acknowledgment sent {"connection_id":161406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:50:41] local.INFO: TCP Data received {"connection_id":164048,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:50:41] local.INFO: Processing buffer {"connection_id":164048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:50:41] local.INFO: IMEI packet received {"connection_id":164048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":164048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:50:46] local.INFO: TCP Data received {"connection_id":164048,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:50:46] local.INFO: Processing buffer {"connection_id":164048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:50:46] local.INFO: IMEI packet received {"connection_id":164048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":164048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:50:48] local.INFO: TCP Data received {"connection_id":164048,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:50:48] local.INFO: Processing buffer {"connection_id":164048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a0be10012d34c3c006aa46b0001a006d26..."} 
[2026-08-25 02:50:48] local.INFO: Packet analysis {"connection_id":164048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:50:48] local.INFO: Extracted packet for processing {"connection_id":164048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a0"} 
[2026-08-25 02:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":26,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627090176001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787606122000,"timestamp_ms":1787606122000,"timestamp_seconds":1787606122,"priority":1,"record_length":96,"hex_timestamp":"000001a035a0be10"} 
[2026-08-25 02:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627090176001,"66":25625,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627090176001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:50:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627090176001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":164048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:50:48] local.INFO: GPS data processed {"connection_id":164048,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:50:48] local.INFO: Acknowledgment sent {"connection_id":164048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:51:19] local.INFO: TCP Data received {"connection_id":164048,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:51:19] local.INFO: Processing buffer {"connection_id":164048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:51:19] local.INFO: Packet analysis {"connection_id":164048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:51:19] local.INFO: Extracted packet for processing {"connection_id":164048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627167232001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787606423000,"timestamp_ms":1787606423000,"timestamp_seconds":1787606423,"priority":1,"record_length":96,"hex_timestamp":"000001a035a555d8"} 
[2026-08-25 02: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-25 02:51: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-25 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 02:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627167232001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627167232001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:51:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627167232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":164048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:51:19] local.INFO: GPS data processed {"connection_id":164048,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:51:19] local.INFO: Acknowledgment sent {"connection_id":164048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:51:41] local.INFO: TCP Data received {"connection_id":162652,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:51:41] local.INFO: Processing buffer {"connection_id":162652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:51:41] local.INFO: IMEI packet received {"connection_id":162652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":162652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:51:47] local.INFO: TCP Data received {"connection_id":162652,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:51:47] local.INFO: Processing buffer {"connection_id":162652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:51:47] local.INFO: IMEI packet received {"connection_id":162652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":162652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:51:48] local.INFO: TCP Data received {"connection_id":162652,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:51:48] local.INFO: Processing buffer {"connection_id":162652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:51:48] local.INFO: Packet analysis {"connection_id":162652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:51:48] local.INFO: Extracted packet for processing {"connection_id":162652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627167232001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787606423000,"timestamp_ms":1787606423000,"timestamp_seconds":1787606423,"priority":1,"record_length":96,"hex_timestamp":"000001a035a555d8"} 
[2026-08-25 02:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 02:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:51: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-25 02:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627167232001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627167232001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:51:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627167232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":162652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:51:48] local.INFO: GPS data processed {"connection_id":162652,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:51:48] local.INFO: Acknowledgment sent {"connection_id":162652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:52:20] local.INFO: TCP Data received {"connection_id":162652,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:52:20] local.INFO: Processing buffer {"connection_id":162652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:52:20] local.INFO: Packet analysis {"connection_id":162652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:52:20] local.INFO: Extracted packet for processing {"connection_id":162652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627167232001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787606423000,"timestamp_ms":1787606423000,"timestamp_seconds":1787606423,"priority":1,"record_length":96,"hex_timestamp":"000001a035a555d8"} 
[2026-08-25 02: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-25 02:52: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-25 02:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 02:52: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-25 02: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-25 02: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-25 02:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:52: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-25 02:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627167232001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627167232001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:52:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627167232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":162652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:52:20] local.INFO: GPS data processed {"connection_id":162652,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:52:20] local.INFO: Acknowledgment sent {"connection_id":162652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:52:41] local.INFO: TCP Data received {"connection_id":164049,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:52:41] local.INFO: Processing buffer {"connection_id":164049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:52:41] local.INFO: IMEI packet received {"connection_id":164049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":164049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:52:46] local.INFO: TCP Data received {"connection_id":164049,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:52:46] local.INFO: Processing buffer {"connection_id":164049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:52:46] local.INFO: IMEI packet received {"connection_id":164049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":164049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:52:47] local.INFO: TCP Data received {"connection_id":164049,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:52:47] local.INFO: Processing buffer {"connection_id":164049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:52:47] local.INFO: Packet analysis {"connection_id":164049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:52:47] local.INFO: Extracted packet for processing {"connection_id":164049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627167232001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787606423000,"timestamp_ms":1787606423000,"timestamp_seconds":1787606423,"priority":1,"record_length":96,"hex_timestamp":"000001a035a555d8"} 
[2026-08-25 02:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 02:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627167232001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627167232001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:52:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627167232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":164049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:52:47] local.INFO: GPS data processed {"connection_id":164049,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:52:47] local.INFO: Acknowledgment sent {"connection_id":164049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:53:18] local.INFO: TCP Data received {"connection_id":164049,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:53:18] local.INFO: Processing buffer {"connection_id":164049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:53:18] local.INFO: Packet analysis {"connection_id":164049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:53:18] local.INFO: Extracted packet for processing {"connection_id":164049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:53:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627167232001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787606423000,"timestamp_ms":1787606423000,"timestamp_seconds":1787606423,"priority":1,"record_length":96,"hex_timestamp":"000001a035a555d8"} 
[2026-08-25 02:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 02:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:53:18] 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-25 02:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627167232001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627167232001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:53:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:53:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627167232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":164049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:53:18] local.INFO: GPS data processed {"connection_id":164049,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:53:18] local.INFO: Acknowledgment sent {"connection_id":164049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:53:41] local.INFO: TCP Data received {"connection_id":161407,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:53:41] local.INFO: Processing buffer {"connection_id":161407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:53:41] local.INFO: IMEI packet received {"connection_id":161407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":161407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:53:46] local.INFO: TCP Data received {"connection_id":161407,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:53:46] local.INFO: Processing buffer {"connection_id":161407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:53:46] local.INFO: IMEI packet received {"connection_id":161407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":161407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:53:47] local.INFO: TCP Data received {"connection_id":161407,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:53:47] local.INFO: Processing buffer {"connection_id":161407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:53:47] local.INFO: Packet analysis {"connection_id":161407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:53:47] local.INFO: Extracted packet for processing {"connection_id":161407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627167232001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787606423000,"timestamp_ms":1787606423000,"timestamp_seconds":1787606423,"priority":1,"record_length":96,"hex_timestamp":"000001a035a555d8"} 
[2026-08-25 02:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 02:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627167232001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627167232001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627167232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":161407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:53:47] local.INFO: GPS data processed {"connection_id":161407,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:53:47] local.INFO: Acknowledgment sent {"connection_id":161407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:54:18] local.INFO: TCP Data received {"connection_id":161407,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:54:18] local.INFO: Processing buffer {"connection_id":161407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:54:18] local.INFO: Packet analysis {"connection_id":161407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:54:18] local.INFO: Extracted packet for processing {"connection_id":161407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627167232001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787606423000,"timestamp_ms":1787606423000,"timestamp_seconds":1787606423,"priority":1,"record_length":96,"hex_timestamp":"000001a035a555d8"} 
[2026-08-25 02:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 02:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627167232001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627167232001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:54:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627167232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":161407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:54:18] local.INFO: GPS data processed {"connection_id":161407,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:54:18] local.INFO: Acknowledgment sent {"connection_id":161407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:54:46] local.INFO: TCP Data received {"connection_id":162653,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:54:46] local.INFO: Processing buffer {"connection_id":162653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:54:46] local.INFO: IMEI packet received {"connection_id":162653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":162653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:54:51] local.INFO: TCP Data received {"connection_id":162653,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:54:51] local.INFO: Processing buffer {"connection_id":162653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:54:51] local.INFO: IMEI packet received {"connection_id":162653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":162653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:54:53] local.INFO: TCP Data received {"connection_id":162653,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:54:53] local.INFO: Processing buffer {"connection_id":162653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:54:53] local.INFO: Packet analysis {"connection_id":162653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:54:53] local.INFO: Extracted packet for processing {"connection_id":162653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627167232001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787606423000,"timestamp_ms":1787606423000,"timestamp_seconds":1787606423,"priority":1,"record_length":96,"hex_timestamp":"000001a035a555d8"} 
[2026-08-25 02: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-25 02:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 02:54: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-25 02: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-25 02: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-25 02:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:54:53] 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-25 02:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627167232001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627167232001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627167232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":162653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:54:53] local.INFO: GPS data processed {"connection_id":162653,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:54:53] local.INFO: Acknowledgment sent {"connection_id":162653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:54:59] local.INFO: TCP Data received {"connection_id":162653,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:54:59] local.INFO: Processing buffer {"connection_id":162653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:54:59] local.INFO: Packet analysis {"connection_id":162653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:54:59] local.INFO: Extracted packet for processing {"connection_id":162653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627167232001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:54:59] local.INFO: IO Element Parsed {"io_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-25 02:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787606423000,"timestamp_ms":1787606423000,"timestamp_seconds":1787606423,"priority":1,"record_length":96,"hex_timestamp":"000001a035a555d8"} 
[2026-08-25 02:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 02:54: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-25 02:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627167232001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627167232001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:54:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:54:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627167232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":162653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:54:59] local.INFO: GPS data processed {"connection_id":162653,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:54:59] local.INFO: Acknowledgment sent {"connection_id":162653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:55:41] local.INFO: TCP Data received {"connection_id":162654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:55:41] local.INFO: Processing buffer {"connection_id":162654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:55:41] local.INFO: IMEI packet received {"connection_id":162654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":162654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:55:46] local.INFO: TCP Data received {"connection_id":162654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:55:46] local.INFO: Processing buffer {"connection_id":162654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:55:46] local.INFO: IMEI packet received {"connection_id":162654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":162654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:55:47] local.INFO: TCP Data received {"connection_id":162654,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:55:47] local.INFO: Processing buffer {"connection_id":162654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a555d8012d34c3c006aa46b00018006d28..."} 
[2026-08-25 02:55:47] local.INFO: Packet analysis {"connection_id":162654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:55:47] local.INFO: Extracted packet for processing {"connection_id":162654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a5"} 
[2026-08-25 02:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627167232001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 02:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787606423000,"timestamp_ms":1787606423000,"timestamp_seconds":1787606423,"priority":1,"record_length":96,"hex_timestamp":"000001a035a555d8"} 
[2026-08-25 02:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 02:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627167232001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 02:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627167232001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:55:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 02:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627167232001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":162654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:55:47] local.INFO: GPS data processed {"connection_id":162654,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:55:47] local.INFO: Acknowledgment sent {"connection_id":162654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:56:19] local.INFO: TCP Data received {"connection_id":162654,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:56:19] local.INFO: Processing buffer {"connection_id":162654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:56:19] local.INFO: Packet analysis {"connection_id":162654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:56:19] local.INFO: Extracted packet for processing {"connection_id":162654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627244288001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:56:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787606724000,"timestamp_ms":1787606724000,"timestamp_seconds":1787606724,"priority":1,"record_length":96,"hex_timestamp":"000001a035a9eda0"} 
[2026-08-25 02:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:56: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-25 02:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:56:19] 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-25 02:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627244288001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627244288001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627244288001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":162654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:56:19] local.INFO: GPS data processed {"connection_id":162654,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:56:19] local.INFO: Acknowledgment sent {"connection_id":162654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:56:41] local.INFO: TCP Data received {"connection_id":162655,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:56:41] local.INFO: Processing buffer {"connection_id":162655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:56:41] local.INFO: IMEI packet received {"connection_id":162655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":162655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:56:46] local.INFO: TCP Data received {"connection_id":162655,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:56:46] local.INFO: Processing buffer {"connection_id":162655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:56:46] local.INFO: IMEI packet received {"connection_id":162655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":162655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:56:47] local.INFO: TCP Data received {"connection_id":162655,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:56:47] local.INFO: Processing buffer {"connection_id":162655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:56:47] local.INFO: Packet analysis {"connection_id":162655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:56:47] local.INFO: Extracted packet for processing {"connection_id":162655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627244288001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:56:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787606724000,"timestamp_ms":1787606724000,"timestamp_seconds":1787606724,"priority":1,"record_length":96,"hex_timestamp":"000001a035a9eda0"} 
[2026-08-25 02:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627244288001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627244288001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627244288001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":162655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:56:47] local.INFO: GPS data processed {"connection_id":162655,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:56:47] local.INFO: Acknowledgment sent {"connection_id":162655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:57:19] local.INFO: TCP Data received {"connection_id":162655,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:57:19] local.INFO: Processing buffer {"connection_id":162655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:57:19] local.INFO: Packet analysis {"connection_id":162655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:57:19] local.INFO: Extracted packet for processing {"connection_id":162655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627244288001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:57:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787606724000,"timestamp_ms":1787606724000,"timestamp_seconds":1787606724,"priority":1,"record_length":96,"hex_timestamp":"000001a035a9eda0"} 
[2026-08-25 02:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:57: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-25 02:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627244288001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627244288001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627244288001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":162655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:57:19] local.INFO: GPS data processed {"connection_id":162655,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:57:19] local.INFO: Acknowledgment sent {"connection_id":162655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:57:46] local.INFO: TCP Data received {"connection_id":162656,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:57:46] local.INFO: Processing buffer {"connection_id":162656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:57:46] local.INFO: IMEI packet received {"connection_id":162656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":162656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:57:51] local.INFO: TCP Data received {"connection_id":162656,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:57:51] local.INFO: Processing buffer {"connection_id":162656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:57:51] local.INFO: IMEI packet received {"connection_id":162656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":162656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:57:52] local.INFO: TCP Data received {"connection_id":162656,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:57:52] local.INFO: Processing buffer {"connection_id":162656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:57:52] local.INFO: Packet analysis {"connection_id":162656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:57:52] local.INFO: Extracted packet for processing {"connection_id":162656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627244288001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:57:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787606724000,"timestamp_ms":1787606724000,"timestamp_seconds":1787606724,"priority":1,"record_length":96,"hex_timestamp":"000001a035a9eda0"} 
[2026-08-25 02:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 02:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:57:52] local.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-25 02:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627244288001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627244288001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627244288001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":162656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:57:52] local.INFO: GPS data processed {"connection_id":162656,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:57:52] local.INFO: Acknowledgment sent {"connection_id":162656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:57:57] local.INFO: TCP Data received {"connection_id":162656,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:57:57] local.INFO: Processing buffer {"connection_id":162656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:57:57] local.INFO: Packet analysis {"connection_id":162656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:57:57] local.INFO: Extracted packet for processing {"connection_id":162656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:57:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627244288001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:57:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787606724000,"timestamp_ms":1787606724000,"timestamp_seconds":1787606724,"priority":1,"record_length":96,"hex_timestamp":"000001a035a9eda0"} 
[2026-08-25 02:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627244288001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627244288001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:57:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627244288001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":162656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:57:57] local.INFO: GPS data processed {"connection_id":162656,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:57:57] local.INFO: Acknowledgment sent {"connection_id":162656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:58:02] local.INFO: TCP Data received {"connection_id":162656,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:58:02] local.INFO: Processing buffer {"connection_id":162656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:58:02] local.INFO: Packet analysis {"connection_id":162656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:58:02] local.INFO: Extracted packet for processing {"connection_id":162656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:58:02] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 02:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627244288001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:58:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787606724000,"timestamp_ms":1787606724000,"timestamp_seconds":1787606724,"priority":1,"record_length":96,"hex_timestamp":"000001a035a9eda0"} 
[2026-08-25 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-25 02:58: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-25 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 02:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627244288001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627244288001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:58:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627244288001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":162656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:58:02] local.INFO: GPS data processed {"connection_id":162656,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:58:02] local.INFO: Acknowledgment sent {"connection_id":162656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:58:41] local.INFO: TCP Data received {"connection_id":164050,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:58:41] local.INFO: Processing buffer {"connection_id":164050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:58:41] local.INFO: IMEI packet received {"connection_id":164050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":164050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:58:46] local.INFO: TCP Data received {"connection_id":164050,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:58:46] local.INFO: Processing buffer {"connection_id":164050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:58:46] local.INFO: IMEI packet received {"connection_id":164050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":164050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:58:48] local.INFO: TCP Data received {"connection_id":164050,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:58:48] local.INFO: Processing buffer {"connection_id":164050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:58:48] local.INFO: Packet analysis {"connection_id":164050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:58:48] local.INFO: Extracted packet for processing {"connection_id":164050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627244288001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:58:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787606724000,"timestamp_ms":1787606724000,"timestamp_seconds":1787606724,"priority":1,"record_length":96,"hex_timestamp":"000001a035a9eda0"} 
[2026-08-25 02:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627244288001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627244288001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627244288001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":164050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:58:48] local.INFO: GPS data processed {"connection_id":164050,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:58:48] local.INFO: Acknowledgment sent {"connection_id":164050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:59:19] local.INFO: TCP Data received {"connection_id":164050,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:59:19] local.INFO: Processing buffer {"connection_id":164050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:59:19] local.INFO: Packet analysis {"connection_id":164050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:59:19] local.INFO: Extracted packet for processing {"connection_id":164050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:59:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02: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-25 02:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627244288001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:59:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787606724000,"timestamp_ms":1787606724000,"timestamp_seconds":1787606724,"priority":1,"record_length":96,"hex_timestamp":"000001a035a9eda0"} 
[2026-08-25 02: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-25 02: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-25 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02: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-25 02: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-25 02:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627244288001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627244288001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:59:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627244288001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":164050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:59:19] local.INFO: GPS data processed {"connection_id":164050,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:59:19] local.INFO: Acknowledgment sent {"connection_id":164050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 02:59:41] local.INFO: TCP Data received {"connection_id":161664,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:59:41] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:59:41] local.INFO: IMEI packet received {"connection_id":161664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 02:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":161664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 02:59:46] local.INFO: TCP Data received {"connection_id":161664,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:59:46] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 02:59:46] local.INFO: IMEI packet received {"connection_id":161664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 02:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":161664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 02:59:48] local.INFO: TCP Data received {"connection_id":161664,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:59:48] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 02:59:48] local.INFO: Packet analysis {"connection_id":161664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:59:48] local.INFO: Extracted packet for processing {"connection_id":161664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 02:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 02:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 02:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627244288001,"note":"Value kept but may cause issues"} 
[2026-08-25 02:59:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 02:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 02:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 02:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 02:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787606724000,"timestamp_ms":1787606724000,"timestamp_seconds":1787606724,"priority":1,"record_length":96,"hex_timestamp":"000001a035a9eda0"} 
[2026-08-25 02:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 02:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 02:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 02:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 02:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 02:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 02:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 02:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 02:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 02:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 02:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 02:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 02:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627244288001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 02:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 02:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 02:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627244288001,"description":"Unknown IO ID 0"} 
[2026-08-25 02:59:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 02:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 02:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 02:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627244288001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 02:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":161664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 02:59:48] local.INFO: GPS data processed {"connection_id":161664,"processed":1,"errors":0,"total":1} 
[2026-08-25 02:59:48] local.INFO: Acknowledgment sent {"connection_id":161664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:00:20] local.INFO: TCP Data received {"connection_id":161664,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 03:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 03:00:20] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 03:00:20] local.INFO: Packet analysis {"connection_id":161664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 03:00:20] local.INFO: Extracted packet for processing {"connection_id":161664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 03:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627244288001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:00:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787606724000,"timestamp_ms":1787606724000,"timestamp_seconds":1787606724,"priority":1,"record_length":96,"hex_timestamp":"000001a035a9eda0"} 
[2026-08-25 03: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-25 03:00: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-25 03:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:00:20] 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-25 03:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627244288001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627244288001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627244288001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":161664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:00:20] local.INFO: GPS data processed {"connection_id":161664,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:00:20] local.INFO: Acknowledgment sent {"connection_id":161664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:00:41] local.INFO: TCP Data received {"connection_id":161408,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:00:41] local.INFO: Processing buffer {"connection_id":161408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:00:41] local.INFO: IMEI packet received {"connection_id":161408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":161408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:00:46] local.INFO: TCP Data received {"connection_id":161408,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:00:46] local.INFO: Processing buffer {"connection_id":161408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:00:46] local.INFO: IMEI packet received {"connection_id":161408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":161408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:00:48] local.INFO: TCP Data received {"connection_id":161408,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 03:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 03:00:48] local.INFO: Processing buffer {"connection_id":161408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035a9eda0012d34c3c006aa46b00019006d25..."} 
[2026-08-25 03:00:48] local.INFO: Packet analysis {"connection_id":161408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 03:00:48] local.INFO: Extracted packet for processing {"connection_id":161408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035a9"} 
[2026-08-25 03:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627244288001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:00:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787606724000,"timestamp_ms":1787606724000,"timestamp_seconds":1787606724,"priority":1,"record_length":96,"hex_timestamp":"000001a035a9eda0"} 
[2026-08-25 03:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627244288001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627244288001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627244288001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":161408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:00:48] local.INFO: GPS data processed {"connection_id":161408,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:00:48] local.INFO: Acknowledgment sent {"connection_id":161408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:01:19] local.INFO: TCP Data received {"connection_id":161408,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:01:19] local.INFO: Processing buffer {"connection_id":161408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:01:19] local.INFO: Packet analysis {"connection_id":161408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:01:19] local.INFO: Extracted packet for processing {"connection_id":161408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627321344001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:01:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787607025000,"timestamp_ms":1787607025000,"timestamp_seconds":1787607025,"priority":1,"record_length":96,"hex_timestamp":"000001a035ae8568"} 
[2026-08-25 03:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:01: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-25 03:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:01:19] 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-25 03:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627321344001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627321344001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627321344001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":161408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:01:19] local.INFO: GPS data processed {"connection_id":161408,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:01:19] local.INFO: Acknowledgment sent {"connection_id":161408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:01:41] local.INFO: TCP Data received {"connection_id":164051,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:01:41] local.INFO: Processing buffer {"connection_id":164051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:01:41] local.INFO: IMEI packet received {"connection_id":164051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":164051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:01:46] local.INFO: TCP Data received {"connection_id":164051,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:01:46] local.INFO: Processing buffer {"connection_id":164051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:01:46] local.INFO: IMEI packet received {"connection_id":164051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":164051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:01:47] local.INFO: TCP Data received {"connection_id":164051,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:01:47] local.INFO: Processing buffer {"connection_id":164051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:01:47] local.INFO: Packet analysis {"connection_id":164051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:01:47] local.INFO: Extracted packet for processing {"connection_id":164051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627321344001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:01:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607025000,"timestamp_ms":1787607025000,"timestamp_seconds":1787607025,"priority":1,"record_length":96,"hex_timestamp":"000001a035ae8568"} 
[2026-08-25 03: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-25 03:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627321344001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627321344001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627321344001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":164051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:01:47] local.INFO: GPS data processed {"connection_id":164051,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:01:47] local.INFO: Acknowledgment sent {"connection_id":164051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:02:19] local.INFO: TCP Data received {"connection_id":164051,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:02:19] local.INFO: Processing buffer {"connection_id":164051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:02:19] local.INFO: Packet analysis {"connection_id":164051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:02:19] local.INFO: Extracted packet for processing {"connection_id":164051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:02:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627321344001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:02:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787607025000,"timestamp_ms":1787607025000,"timestamp_seconds":1787607025,"priority":1,"record_length":96,"hex_timestamp":"000001a035ae8568"} 
[2026-08-25 03: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-25 03:02: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-25 03:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:02:19] 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-25 03:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627321344001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627321344001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:02:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627321344001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":164051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:02:19] local.INFO: GPS data processed {"connection_id":164051,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:02:19] local.INFO: Acknowledgment sent {"connection_id":164051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:02:41] local.INFO: TCP Data received {"connection_id":161409,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:02:41] local.INFO: Processing buffer {"connection_id":161409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:02:41] local.INFO: IMEI packet received {"connection_id":161409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":161409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:02:46] local.INFO: TCP Data received {"connection_id":161409,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:02:46] local.INFO: Processing buffer {"connection_id":161409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:02:46] local.INFO: IMEI packet received {"connection_id":161409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":161409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:02:49] local.INFO: TCP Data received {"connection_id":161409,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:02:49] local.INFO: Processing buffer {"connection_id":161409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:02:49] local.INFO: Packet analysis {"connection_id":161409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:02:49] local.INFO: Extracted packet for processing {"connection_id":161409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627321344001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:02:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787607025000,"timestamp_ms":1787607025000,"timestamp_seconds":1787607025,"priority":1,"record_length":96,"hex_timestamp":"000001a035ae8568"} 
[2026-08-25 03: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-25 03:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03: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-25 03: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-25 03: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-25 03:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:02: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-25 03:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627321344001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627321344001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627321344001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":161409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:02:49] local.INFO: GPS data processed {"connection_id":161409,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:02:49] local.INFO: Acknowledgment sent {"connection_id":161409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:03:20] local.INFO: TCP Data received {"connection_id":161409,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:03:20] local.INFO: Processing buffer {"connection_id":161409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:03:20] local.INFO: Packet analysis {"connection_id":161409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:03:20] local.INFO: Extracted packet for processing {"connection_id":161409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:03:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627321344001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:03:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787607025000,"timestamp_ms":1787607025000,"timestamp_seconds":1787607025,"priority":1,"record_length":96,"hex_timestamp":"000001a035ae8568"} 
[2026-08-25 03: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-25 03:03: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:03: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-25 03:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627321344001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627321344001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:03:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627321344001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":161409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:03:20] local.INFO: GPS data processed {"connection_id":161409,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:03:20] local.INFO: Acknowledgment sent {"connection_id":161409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:03:41] local.INFO: TCP Data received {"connection_id":161410,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:03:41] local.INFO: Processing buffer {"connection_id":161410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:03:41] local.INFO: IMEI packet received {"connection_id":161410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":161410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:03:46] local.INFO: TCP Data received {"connection_id":161410,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:03:46] local.INFO: Processing buffer {"connection_id":161410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:03:46] local.INFO: IMEI packet received {"connection_id":161410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":161410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:03:47] local.INFO: TCP Data received {"connection_id":161410,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:03:47] local.INFO: Processing buffer {"connection_id":161410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:03:47] local.INFO: Packet analysis {"connection_id":161410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:03:47] local.INFO: Extracted packet for processing {"connection_id":161410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627321344001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607025000,"timestamp_ms":1787607025000,"timestamp_seconds":1787607025,"priority":1,"record_length":96,"hex_timestamp":"000001a035ae8568"} 
[2026-08-25 03:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627321344001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627321344001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627321344001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":161410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:03:47] local.INFO: GPS data processed {"connection_id":161410,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:03:47] local.INFO: Acknowledgment sent {"connection_id":161410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:04:18] local.INFO: TCP Data received {"connection_id":161410,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:04:18] local.INFO: Processing buffer {"connection_id":161410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:04:18] local.INFO: Packet analysis {"connection_id":161410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:04:18] local.INFO: Extracted packet for processing {"connection_id":161410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627321344001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:04:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787607025000,"timestamp_ms":1787607025000,"timestamp_seconds":1787607025,"priority":1,"record_length":96,"hex_timestamp":"000001a035ae8568"} 
[2026-08-25 03:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:04:18] 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-25 03:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627321344001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627321344001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627321344001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":161410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:04:18] local.INFO: GPS data processed {"connection_id":161410,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:04:18] local.INFO: Acknowledgment sent {"connection_id":161410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:04:46] local.INFO: TCP Data received {"connection_id":164052,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:04:46] local.INFO: Processing buffer {"connection_id":164052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:04:46] local.INFO: IMEI packet received {"connection_id":164052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":164052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:04:51] local.INFO: TCP Data received {"connection_id":164052,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:04:51] local.INFO: Processing buffer {"connection_id":164052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:04:51] local.INFO: IMEI packet received {"connection_id":164052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":164052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:04:53] local.INFO: TCP Data received {"connection_id":164052,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:04:53] local.INFO: Processing buffer {"connection_id":164052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:04:53] local.INFO: Packet analysis {"connection_id":164052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:04:53] local.INFO: Extracted packet for processing {"connection_id":164052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627321344001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:04:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787607025000,"timestamp_ms":1787607025000,"timestamp_seconds":1787607025,"priority":1,"record_length":96,"hex_timestamp":"000001a035ae8568"} 
[2026-08-25 03:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:04:53] local.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-25 03:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627321344001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627321344001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627321344001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":164052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:04:53] local.INFO: GPS data processed {"connection_id":164052,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:04:53] local.INFO: Acknowledgment sent {"connection_id":164052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:05:25] local.INFO: TCP Data received {"connection_id":164052,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:05:25] local.INFO: Processing buffer {"connection_id":164052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:05:25] local.INFO: Packet analysis {"connection_id":164052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:05:25] local.INFO: Extracted packet for processing {"connection_id":164052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627321344001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:05:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787607025000,"timestamp_ms":1787607025000,"timestamp_seconds":1787607025,"priority":1,"record_length":96,"hex_timestamp":"000001a035ae8568"} 
[2026-08-25 03: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-25 03:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:05: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-25 03: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-25 03: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-25 03:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627321344001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627321344001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627321344001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":164052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:05:25] local.INFO: GPS data processed {"connection_id":164052,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:05:25] local.INFO: Acknowledgment sent {"connection_id":164052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:05:41] local.INFO: TCP Data received {"connection_id":162657,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:05:41] local.INFO: Processing buffer {"connection_id":162657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:05:41] local.INFO: IMEI packet received {"connection_id":162657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":162657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:05:46] local.INFO: TCP Data received {"connection_id":162657,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:05:46] local.INFO: Processing buffer {"connection_id":162657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:05:46] local.INFO: IMEI packet received {"connection_id":162657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":162657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:05:47] local.INFO: TCP Data received {"connection_id":162657,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:05:47] local.INFO: Processing buffer {"connection_id":162657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ae8568012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:05:47] local.INFO: Packet analysis {"connection_id":162657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:05:47] local.INFO: Extracted packet for processing {"connection_id":162657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ae"} 
[2026-08-25 03:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627321344001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:05:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607025000,"timestamp_ms":1787607025000,"timestamp_seconds":1787607025,"priority":1,"record_length":96,"hex_timestamp":"000001a035ae8568"} 
[2026-08-25 03:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:05:47] local.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-25 03:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627321344001,"66":25702,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627321344001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627321344001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":162657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:05:47] local.INFO: GPS data processed {"connection_id":162657,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:05:47] local.INFO: Acknowledgment sent {"connection_id":162657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:06:19] local.INFO: TCP Data received {"connection_id":162657,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:06:19] local.INFO: Processing buffer {"connection_id":162657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:06:19] local.INFO: Packet analysis {"connection_id":162657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:06:19] local.INFO: Extracted packet for processing {"connection_id":162657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:06:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627398400001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787607326000,"timestamp_ms":1787607326000,"timestamp_seconds":1787607326,"priority":1,"record_length":96,"hex_timestamp":"000001a035b31d30"} 
[2026-08-25 03: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-25 03:06: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-25 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627398400001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627398400001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:06:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:06:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627398400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":162657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:06:19] local.INFO: GPS data processed {"connection_id":162657,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:06:19] local.INFO: Acknowledgment sent {"connection_id":162657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:06:42] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:06:42] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:06:42] local.INFO: IMEI packet received {"connection_id":161665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":161665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:06:46] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:06:46] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:06:46] local.INFO: IMEI packet received {"connection_id":161665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":161665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:06:47] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:06:47] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:06:47] local.INFO: Packet analysis {"connection_id":161665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:06:47] local.INFO: Extracted packet for processing {"connection_id":161665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627398400001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607326000,"timestamp_ms":1787607326000,"timestamp_seconds":1787607326,"priority":1,"record_length":96,"hex_timestamp":"000001a035b31d30"} 
[2026-08-25 03:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627398400001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627398400001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:06:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627398400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":161665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:06:47] local.INFO: GPS data processed {"connection_id":161665,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:06:47] local.INFO: Acknowledgment sent {"connection_id":161665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:06:52] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:06:52] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:06:52] local.INFO: Packet analysis {"connection_id":161665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:06:52] local.INFO: Extracted packet for processing {"connection_id":161665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627398400001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787607326000,"timestamp_ms":1787607326000,"timestamp_seconds":1787607326,"priority":1,"record_length":96,"hex_timestamp":"000001a035b31d30"} 
[2026-08-25 03:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627398400001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627398400001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627398400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":161665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:06:52] local.INFO: GPS data processed {"connection_id":161665,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:06:52] local.INFO: Acknowledgment sent {"connection_id":161665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:07:24] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:07:24] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:07:24] local.INFO: Packet analysis {"connection_id":161665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:07:24] local.INFO: Extracted packet for processing {"connection_id":161665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:07:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627398400001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787607326000,"timestamp_ms":1787607326000,"timestamp_seconds":1787607326,"priority":1,"record_length":96,"hex_timestamp":"000001a035b31d30"} 
[2026-08-25 03:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627398400001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627398400001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:07:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:07:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627398400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":161665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:07:24] local.INFO: GPS data processed {"connection_id":161665,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:07:24] local.INFO: Acknowledgment sent {"connection_id":161665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:07:41] local.INFO: TCP Data received {"connection_id":161411,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:07:41] local.INFO: Processing buffer {"connection_id":161411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:07:41] local.INFO: IMEI packet received {"connection_id":161411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":161411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:07:46] local.INFO: TCP Data received {"connection_id":161411,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:07:46] local.INFO: Processing buffer {"connection_id":161411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:07:46] local.INFO: IMEI packet received {"connection_id":161411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":161411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:07:47] local.INFO: TCP Data received {"connection_id":161411,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:07:47] local.INFO: Processing buffer {"connection_id":161411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:07:47] local.INFO: Packet analysis {"connection_id":161411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:07:47] local.INFO: Extracted packet for processing {"connection_id":161411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627398400001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607326000,"timestamp_ms":1787607326000,"timestamp_seconds":1787607326,"priority":1,"record_length":96,"hex_timestamp":"000001a035b31d30"} 
[2026-08-25 03:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627398400001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627398400001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:07:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627398400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":161411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:07:47] local.INFO: GPS data processed {"connection_id":161411,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:07:47] local.INFO: Acknowledgment sent {"connection_id":161411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:08:19] local.INFO: TCP Data received {"connection_id":161411,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:08:19] local.INFO: Processing buffer {"connection_id":161411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:08:19] local.INFO: Packet analysis {"connection_id":161411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:08:19] local.INFO: Extracted packet for processing {"connection_id":161411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:08:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627398400001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787607326000,"timestamp_ms":1787607326000,"timestamp_seconds":1787607326,"priority":1,"record_length":96,"hex_timestamp":"000001a035b31d30"} 
[2026-08-25 03: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-25 03:08: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-25 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627398400001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627398400001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:08:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:08:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627398400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":161411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:08:19] local.INFO: GPS data processed {"connection_id":161411,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:08:19] local.INFO: Acknowledgment sent {"connection_id":161411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:08:41] local.INFO: TCP Data received {"connection_id":162658,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:08:41] local.INFO: Processing buffer {"connection_id":162658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:08:41] local.INFO: IMEI packet received {"connection_id":162658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":162658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:08:46] local.INFO: TCP Data received {"connection_id":162658,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:08:46] local.INFO: Processing buffer {"connection_id":162658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:08:46] local.INFO: IMEI packet received {"connection_id":162658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":162658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:08:48] local.INFO: TCP Data received {"connection_id":162658,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:08:48] local.INFO: Processing buffer {"connection_id":162658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:08:48] local.INFO: Packet analysis {"connection_id":162658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:08:48] local.INFO: Extracted packet for processing {"connection_id":162658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627398400001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787607326000,"timestamp_ms":1787607326000,"timestamp_seconds":1787607326,"priority":1,"record_length":96,"hex_timestamp":"000001a035b31d30"} 
[2026-08-25 03:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:08: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-25 03:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627398400001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627398400001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:08:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627398400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":162658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:08:48] local.INFO: GPS data processed {"connection_id":162658,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:08:48] local.INFO: Acknowledgment sent {"connection_id":162658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:09:19] local.INFO: TCP Data received {"connection_id":162658,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:09:19] local.INFO: Processing buffer {"connection_id":162658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:09:19] local.INFO: Packet analysis {"connection_id":162658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:09:19] local.INFO: Extracted packet for processing {"connection_id":162658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:09:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627398400001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787607326000,"timestamp_ms":1787607326000,"timestamp_seconds":1787607326,"priority":1,"record_length":96,"hex_timestamp":"000001a035b31d30"} 
[2026-08-25 03:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:09: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-25 03:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:09: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-25 03:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627398400001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627398400001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:09:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:09:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627398400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":162658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:09:19] local.INFO: GPS data processed {"connection_id":162658,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:09:19] local.INFO: Acknowledgment sent {"connection_id":162658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:09:41] local.INFO: TCP Data received {"connection_id":161412,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:09:41] local.INFO: Processing buffer {"connection_id":161412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:09:41] local.INFO: IMEI packet received {"connection_id":161412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":161412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:09:46] local.INFO: TCP Data received {"connection_id":161412,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:09:46] local.INFO: Processing buffer {"connection_id":161412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:09:46] local.INFO: IMEI packet received {"connection_id":161412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":161412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:09:47] local.INFO: TCP Data received {"connection_id":161412,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:09:47] local.INFO: Processing buffer {"connection_id":161412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:09:47] local.INFO: Packet analysis {"connection_id":161412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:09:47] local.INFO: Extracted packet for processing {"connection_id":161412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627398400001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607326000,"timestamp_ms":1787607326000,"timestamp_seconds":1787607326,"priority":1,"record_length":96,"hex_timestamp":"000001a035b31d30"} 
[2026-08-25 03:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627398400001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627398400001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:09:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627398400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":161412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:09:47] local.INFO: GPS data processed {"connection_id":161412,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:09:47] local.INFO: Acknowledgment sent {"connection_id":161412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:10:19] local.INFO: TCP Data received {"connection_id":161412,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:10:19] local.INFO: Processing buffer {"connection_id":161412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:10:19] local.INFO: Packet analysis {"connection_id":161412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:10:19] local.INFO: Extracted packet for processing {"connection_id":161412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627398400001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787607326000,"timestamp_ms":1787607326000,"timestamp_seconds":1787607326,"priority":1,"record_length":96,"hex_timestamp":"000001a035b31d30"} 
[2026-08-25 03:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:10: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-25 03:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:10:19] local.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-25 03:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627398400001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627398400001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:10:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627398400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":161412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:10:19] local.INFO: GPS data processed {"connection_id":161412,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:10:19] local.INFO: Acknowledgment sent {"connection_id":161412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:10:41] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:10:41] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:10:41] local.INFO: IMEI packet received {"connection_id":161666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":161666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:10:47] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:10:47] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:10:47] local.INFO: IMEI packet received {"connection_id":161666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":161666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:10:48] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:10:48] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b31d30012d34c3c006aa46b00018006d28..."} 
[2026-08-25 03:10:48] local.INFO: Packet analysis {"connection_id":161666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:10:48] local.INFO: Extracted packet for processing {"connection_id":161666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b3"} 
[2026-08-25 03:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627398400001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787607326000,"timestamp_ms":1787607326000,"timestamp_seconds":1787607326,"priority":1,"record_length":96,"hex_timestamp":"000001a035b31d30"} 
[2026-08-25 03:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627398400001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627398400001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:10:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627398400001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":161666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:10:48] local.INFO: GPS data processed {"connection_id":161666,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:10:48] local.INFO: Acknowledgment sent {"connection_id":161666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:11:19] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:11:19] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:11:19] local.INFO: Packet analysis {"connection_id":161666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:11:19] local.INFO: Extracted packet for processing {"connection_id":161666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627475456001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787607627000,"timestamp_ms":1787607627000,"timestamp_seconds":1787607627,"priority":1,"record_length":96,"hex_timestamp":"000001a035b7b4f8"} 
[2026-08-25 03:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:11: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-25 03:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:11:19] local.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-25 03:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627475456001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627475456001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627475456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":161666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:11:19] local.INFO: GPS data processed {"connection_id":161666,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:11:19] local.INFO: Acknowledgment sent {"connection_id":161666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:11:41] local.INFO: TCP Data received {"connection_id":162659,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:11:41] local.INFO: Processing buffer {"connection_id":162659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:11:41] local.INFO: IMEI packet received {"connection_id":162659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":162659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:11:46] local.INFO: TCP Data received {"connection_id":162659,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:11:46] local.INFO: Processing buffer {"connection_id":162659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:11:46] local.INFO: IMEI packet received {"connection_id":162659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":162659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:11:47] local.INFO: TCP Data received {"connection_id":162659,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:11:47] local.INFO: Processing buffer {"connection_id":162659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:11:47] local.INFO: Packet analysis {"connection_id":162659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:11:47] local.INFO: Extracted packet for processing {"connection_id":162659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627475456001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607627000,"timestamp_ms":1787607627000,"timestamp_seconds":1787607627,"priority":1,"record_length":96,"hex_timestamp":"000001a035b7b4f8"} 
[2026-08-25 03:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:11:47] local.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-25 03:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627475456001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627475456001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627475456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":162659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:11:47] local.INFO: GPS data processed {"connection_id":162659,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:11:47] local.INFO: Acknowledgment sent {"connection_id":162659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:12:18] local.INFO: TCP Data received {"connection_id":162659,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:12:18] local.INFO: Processing buffer {"connection_id":162659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:12:18] local.INFO: Packet analysis {"connection_id":162659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:12:18] local.INFO: Extracted packet for processing {"connection_id":162659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:12:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627475456001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787607627000,"timestamp_ms":1787607627000,"timestamp_seconds":1787607627,"priority":1,"record_length":96,"hex_timestamp":"000001a035b7b4f8"} 
[2026-08-25 03:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627475456001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627475456001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:12:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:12:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627475456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":162659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:12:19] local.INFO: GPS data processed {"connection_id":162659,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:12:19] local.INFO: Acknowledgment sent {"connection_id":162659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:12:41] local.INFO: TCP Data received {"connection_id":164053,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:12:41] local.INFO: Processing buffer {"connection_id":164053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:12:41] local.INFO: IMEI packet received {"connection_id":164053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":164053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:12:46] local.INFO: TCP Data received {"connection_id":164053,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:12:46] local.INFO: Processing buffer {"connection_id":164053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:12:46] local.INFO: IMEI packet received {"connection_id":164053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":164053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:12:47] local.INFO: TCP Data received {"connection_id":164053,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:12:47] local.INFO: Processing buffer {"connection_id":164053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:12:47] local.INFO: Packet analysis {"connection_id":164053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:12:47] local.INFO: Extracted packet for processing {"connection_id":164053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627475456001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607627000,"timestamp_ms":1787607627000,"timestamp_seconds":1787607627,"priority":1,"record_length":96,"hex_timestamp":"000001a035b7b4f8"} 
[2026-08-25 03:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627475456001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627475456001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627475456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":164053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:12:47] local.INFO: GPS data processed {"connection_id":164053,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:12:47] local.INFO: Acknowledgment sent {"connection_id":164053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:13:18] local.INFO: TCP Data received {"connection_id":164053,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:13:18] local.INFO: Processing buffer {"connection_id":164053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:13:18] local.INFO: Packet analysis {"connection_id":164053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:13:18] local.INFO: Extracted packet for processing {"connection_id":164053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627475456001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787607627000,"timestamp_ms":1787607627000,"timestamp_seconds":1787607627,"priority":1,"record_length":96,"hex_timestamp":"000001a035b7b4f8"} 
[2026-08-25 03:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:13:18] 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-25 03:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627475456001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627475456001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:13:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627475456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":164053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:13:18] local.INFO: GPS data processed {"connection_id":164053,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:13:18] local.INFO: Acknowledgment sent {"connection_id":164053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:13:42] local.INFO: TCP Data received {"connection_id":164054,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:13:42] local.INFO: Processing buffer {"connection_id":164054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:13:42] local.INFO: IMEI packet received {"connection_id":164054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":164054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:13:46] local.INFO: TCP Data received {"connection_id":164054,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:13:46] local.INFO: Processing buffer {"connection_id":164054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:13:46] local.INFO: IMEI packet received {"connection_id":164054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":164054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:13:47] local.INFO: TCP Data received {"connection_id":164054,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:13:47] local.INFO: Processing buffer {"connection_id":164054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:13:47] local.INFO: Packet analysis {"connection_id":164054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:13:47] local.INFO: Extracted packet for processing {"connection_id":164054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627475456001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607627000,"timestamp_ms":1787607627000,"timestamp_seconds":1787607627,"priority":1,"record_length":96,"hex_timestamp":"000001a035b7b4f8"} 
[2026-08-25 03: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-25 03:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627475456001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627475456001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:13:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627475456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":164054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:13:47] local.INFO: GPS data processed {"connection_id":164054,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:13:47] local.INFO: Acknowledgment sent {"connection_id":164054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:14:18] local.INFO: TCP Data received {"connection_id":164054,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:14:18] local.INFO: Processing buffer {"connection_id":164054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:14:18] local.INFO: Packet analysis {"connection_id":164054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:14:18] local.INFO: Extracted packet for processing {"connection_id":164054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627475456001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787607627000,"timestamp_ms":1787607627000,"timestamp_seconds":1787607627,"priority":1,"record_length":96,"hex_timestamp":"000001a035b7b4f8"} 
[2026-08-25 03: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-25 03:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:14:18] 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-25 03:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627475456001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627475456001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:14:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627475456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":164054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:14:18] local.INFO: GPS data processed {"connection_id":164054,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:14:18] local.INFO: Acknowledgment sent {"connection_id":164054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:14:46] local.INFO: TCP Data received {"connection_id":164055,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:14:46] local.INFO: Processing buffer {"connection_id":164055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:14:46] local.INFO: IMEI packet received {"connection_id":164055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":164055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:14:51] local.INFO: TCP Data received {"connection_id":164055,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:14:51] local.INFO: Processing buffer {"connection_id":164055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:14:51] local.INFO: IMEI packet received {"connection_id":164055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":164055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:14:52] local.INFO: TCP Data received {"connection_id":164055,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:14:52] local.INFO: Processing buffer {"connection_id":164055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:14:52] local.INFO: Packet analysis {"connection_id":164055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:14:52] local.INFO: Extracted packet for processing {"connection_id":164055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627475456001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787607627000,"timestamp_ms":1787607627000,"timestamp_seconds":1787607627,"priority":1,"record_length":96,"hex_timestamp":"000001a035b7b4f8"} 
[2026-08-25 03:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627475456001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627475456001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627475456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":164055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:14:52] local.INFO: GPS data processed {"connection_id":164055,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:14:52] local.INFO: Acknowledgment sent {"connection_id":164055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:14:57] local.INFO: TCP Data received {"connection_id":164055,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:14:57] local.INFO: Processing buffer {"connection_id":164055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:14:57] local.INFO: Packet analysis {"connection_id":164055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:14:57] local.INFO: Extracted packet for processing {"connection_id":164055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:14:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627475456001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:14: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-25 03:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787607627000,"timestamp_ms":1787607627000,"timestamp_seconds":1787607627,"priority":1,"record_length":96,"hex_timestamp":"000001a035b7b4f8"} 
[2026-08-25 03: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-25 03:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627475456001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627475456001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:14:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:14:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627475456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":164055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:14:57] local.INFO: GPS data processed {"connection_id":164055,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:14:57] local.INFO: Acknowledgment sent {"connection_id":164055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:15:41] local.INFO: TCP Data received {"connection_id":161413,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:15:41] local.INFO: Processing buffer {"connection_id":161413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:15:41] local.INFO: IMEI packet received {"connection_id":161413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":161413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:15:46] local.INFO: TCP Data received {"connection_id":161413,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:15:46] local.INFO: Processing buffer {"connection_id":161413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:15:46] local.INFO: IMEI packet received {"connection_id":161413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":161413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:15:47] local.INFO: TCP Data received {"connection_id":161413,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:15:47] local.INFO: Processing buffer {"connection_id":161413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035b7b4f8012d34c3c006aa46b00014006d29..."} 
[2026-08-25 03:15:47] local.INFO: Packet analysis {"connection_id":161413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:15:47] local.INFO: Extracted packet for processing {"connection_id":161413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035b7"} 
[2026-08-25 03:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627475456001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607627000,"timestamp_ms":1787607627000,"timestamp_seconds":1787607627,"priority":1,"record_length":96,"hex_timestamp":"000001a035b7b4f8"} 
[2026-08-25 03:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627475456001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627475456001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627475456001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":161413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:15:47] local.INFO: GPS data processed {"connection_id":161413,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:15:47] local.INFO: Acknowledgment sent {"connection_id":161413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:16:19] local.INFO: TCP Data received {"connection_id":161413,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:16:19] local.INFO: Processing buffer {"connection_id":161413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:16:19] local.INFO: Packet analysis {"connection_id":161413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:16:19] local.INFO: Extracted packet for processing {"connection_id":161413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627552512001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787607928000,"timestamp_ms":1787607928000,"timestamp_seconds":1787607928,"priority":1,"record_length":96,"hex_timestamp":"000001a035bc4cc0"} 
[2026-08-25 03:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:16: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-25 03:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627552512001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627552512001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627552512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":161413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:16:19] local.INFO: GPS data processed {"connection_id":161413,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:16:19] local.INFO: Acknowledgment sent {"connection_id":161413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:16:41] local.INFO: TCP Data received {"connection_id":164056,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:16:41] local.INFO: Processing buffer {"connection_id":164056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:16:41] local.INFO: IMEI packet received {"connection_id":164056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":164056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:16:46] local.INFO: TCP Data received {"connection_id":164056,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:16:46] local.INFO: Processing buffer {"connection_id":164056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:16:46] local.INFO: IMEI packet received {"connection_id":164056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":164056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:16:47] local.INFO: TCP Data received {"connection_id":164056,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:16:47] local.INFO: Processing buffer {"connection_id":164056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:16:47] local.INFO: Packet analysis {"connection_id":164056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:16:47] local.INFO: Extracted packet for processing {"connection_id":164056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627552512001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607928000,"timestamp_ms":1787607928000,"timestamp_seconds":1787607928,"priority":1,"record_length":96,"hex_timestamp":"000001a035bc4cc0"} 
[2026-08-25 03:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627552512001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627552512001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627552512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":164056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:16:47] local.INFO: GPS data processed {"connection_id":164056,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:16:47] local.INFO: Acknowledgment sent {"connection_id":164056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:17:18] local.INFO: TCP Data received {"connection_id":164056,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:17:18] local.INFO: Processing buffer {"connection_id":164056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:17:18] local.INFO: Packet analysis {"connection_id":164056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:17:18] local.INFO: Extracted packet for processing {"connection_id":164056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627552512001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787607928000,"timestamp_ms":1787607928000,"timestamp_seconds":1787607928,"priority":1,"record_length":96,"hex_timestamp":"000001a035bc4cc0"} 
[2026-08-25 03:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:17:18] 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-25 03:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627552512001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627552512001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:17:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627552512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":164056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:17:18] local.INFO: GPS data processed {"connection_id":164056,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:17:18] local.INFO: Acknowledgment sent {"connection_id":164056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:17:41] local.INFO: TCP Data received {"connection_id":161414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:17:41] local.INFO: Processing buffer {"connection_id":161414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:17:41] local.INFO: IMEI packet received {"connection_id":161414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":161414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:17:46] local.INFO: TCP Data received {"connection_id":161414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:17:46] local.INFO: Processing buffer {"connection_id":161414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:17:46] local.INFO: IMEI packet received {"connection_id":161414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":161414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:17:47] local.INFO: TCP Data received {"connection_id":161414,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:17:47] local.INFO: Processing buffer {"connection_id":161414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:17:47] local.INFO: Packet analysis {"connection_id":161414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:17:47] local.INFO: Extracted packet for processing {"connection_id":161414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627552512001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607928000,"timestamp_ms":1787607928000,"timestamp_seconds":1787607928,"priority":1,"record_length":96,"hex_timestamp":"000001a035bc4cc0"} 
[2026-08-25 03:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627552512001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627552512001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627552512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":161414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:17:47] local.INFO: GPS data processed {"connection_id":161414,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:17:47] local.INFO: Acknowledgment sent {"connection_id":161414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:18:19] local.INFO: TCP Data received {"connection_id":161414,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:18:19] local.INFO: Processing buffer {"connection_id":161414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:18:19] local.INFO: Packet analysis {"connection_id":161414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:18:19] local.INFO: Extracted packet for processing {"connection_id":161414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627552512001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787607928000,"timestamp_ms":1787607928000,"timestamp_seconds":1787607928,"priority":1,"record_length":96,"hex_timestamp":"000001a035bc4cc0"} 
[2026-08-25 03:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:18: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-25 03:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:18: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-25 03:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627552512001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627552512001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627552512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":161414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:18:19] local.INFO: GPS data processed {"connection_id":161414,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:18:19] local.INFO: Acknowledgment sent {"connection_id":161414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:18:41] local.INFO: TCP Data received {"connection_id":161415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:18:41] local.INFO: Processing buffer {"connection_id":161415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:18:41] local.INFO: IMEI packet received {"connection_id":161415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":161415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:18:46] local.INFO: TCP Data received {"connection_id":161415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:18:46] local.INFO: Processing buffer {"connection_id":161415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:18:46] local.INFO: IMEI packet received {"connection_id":161415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":161415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:18:47] local.INFO: TCP Data received {"connection_id":161415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:18:47] local.INFO: Processing buffer {"connection_id":161415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:18:47] local.INFO: Packet analysis {"connection_id":161415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:18:47] local.INFO: Extracted packet for processing {"connection_id":161415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627552512001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607928000,"timestamp_ms":1787607928000,"timestamp_seconds":1787607928,"priority":1,"record_length":96,"hex_timestamp":"000001a035bc4cc0"} 
[2026-08-25 03:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627552512001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627552512001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627552512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":161415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:18:47] local.INFO: GPS data processed {"connection_id":161415,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:18:47] local.INFO: Acknowledgment sent {"connection_id":161415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:19:21] local.INFO: TCP Data received {"connection_id":161415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:19:21] local.INFO: Processing buffer {"connection_id":161415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:19:21] local.INFO: Packet analysis {"connection_id":161415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:19:21] local.INFO: Extracted packet for processing {"connection_id":161415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:19:21] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627552512001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787607928000,"timestamp_ms":1787607928000,"timestamp_seconds":1787607928,"priority":1,"record_length":96,"hex_timestamp":"000001a035bc4cc0"} 
[2026-08-25 03: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-25 03:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:19: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-25 03:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627552512001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627552512001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:19:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:19:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627552512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":161415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:19:21] local.INFO: GPS data processed {"connection_id":161415,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:19:21] local.INFO: Acknowledgment sent {"connection_id":161415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:19:47] local.INFO: TCP Data received {"connection_id":162660,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:19:47] local.INFO: Processing buffer {"connection_id":162660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:19:47] local.INFO: IMEI packet received {"connection_id":162660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":162660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:19:51] local.INFO: TCP Data received {"connection_id":162660,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:19:51] local.INFO: Processing buffer {"connection_id":162660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:19:51] local.INFO: IMEI packet received {"connection_id":162660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":162660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:19:52] local.INFO: TCP Data received {"connection_id":162660,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:19:52] local.INFO: Processing buffer {"connection_id":162660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:19:52] local.INFO: Packet analysis {"connection_id":162660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:19:52] local.INFO: Extracted packet for processing {"connection_id":162660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627552512001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787607928000,"timestamp_ms":1787607928000,"timestamp_seconds":1787607928,"priority":1,"record_length":96,"hex_timestamp":"000001a035bc4cc0"} 
[2026-08-25 03:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627552512001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627552512001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627552512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":162660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:19:52] local.INFO: GPS data processed {"connection_id":162660,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:19:52] local.INFO: Acknowledgment sent {"connection_id":162660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:19:57] local.INFO: TCP Data received {"connection_id":162660,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:19:57] local.INFO: Processing buffer {"connection_id":162660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:19:57] local.INFO: Packet analysis {"connection_id":162660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:19:57] local.INFO: Extracted packet for processing {"connection_id":162660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:19:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627552512001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:19: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-25 03:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787607928000,"timestamp_ms":1787607928000,"timestamp_seconds":1787607928,"priority":1,"record_length":96,"hex_timestamp":"000001a035bc4cc0"} 
[2026-08-25 03: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-25 03:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:19:57] 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-25 03:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627552512001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627552512001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:19:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:19:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627552512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":162660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:19:57] local.INFO: GPS data processed {"connection_id":162660,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:19:57] local.INFO: Acknowledgment sent {"connection_id":162660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:20:41] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:20:41] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:20:41] local.INFO: IMEI packet received {"connection_id":161416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":161416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:20:46] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:20:46] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:20:46] local.INFO: IMEI packet received {"connection_id":161416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":161416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:20:47] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:20:47] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035bc4cc0012d34c3c006aa46b00014006d27..."} 
[2026-08-25 03:20:47] local.INFO: Packet analysis {"connection_id":161416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:20:47] local.INFO: Extracted packet for processing {"connection_id":161416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035bc"} 
[2026-08-25 03:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627552512001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787607928000,"timestamp_ms":1787607928000,"timestamp_seconds":1787607928,"priority":1,"record_length":96,"hex_timestamp":"000001a035bc4cc0"} 
[2026-08-25 03:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:20:47] 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-25 03:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627552512001,"66":25702,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627552512001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:20:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627552512001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":161416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:20:47] local.INFO: GPS data processed {"connection_id":161416,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:20:47] local.INFO: Acknowledgment sent {"connection_id":161416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:21:19] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:21:19] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:21:19] local.INFO: Packet analysis {"connection_id":161416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:21:19] local.INFO: Extracted packet for processing {"connection_id":161416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627629568001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787608229000,"timestamp_ms":1787608229000,"timestamp_seconds":1787608229,"priority":1,"record_length":96,"hex_timestamp":"000001a035c0e488"} 
[2026-08-25 03:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:21:19] 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-25 03:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627629568001,"66":25691,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627629568001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:21:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627629568001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":161416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:21:19] local.INFO: GPS data processed {"connection_id":161416,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:21:19] local.INFO: Acknowledgment sent {"connection_id":161416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:21:41] local.INFO: TCP Data received {"connection_id":162661,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:21:41] local.INFO: Processing buffer {"connection_id":162661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:21:41] local.INFO: IMEI packet received {"connection_id":162661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":162661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:21:46] local.INFO: TCP Data received {"connection_id":162661,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:21:46] local.INFO: Processing buffer {"connection_id":162661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:21:46] local.INFO: IMEI packet received {"connection_id":162661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":162661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:21:47] local.INFO: TCP Data received {"connection_id":162661,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:21:47] local.INFO: Processing buffer {"connection_id":162661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:21:47] local.INFO: Packet analysis {"connection_id":162661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:21:47] local.INFO: Extracted packet for processing {"connection_id":162661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627629568001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787608229000,"timestamp_ms":1787608229000,"timestamp_seconds":1787608229,"priority":1,"record_length":96,"hex_timestamp":"000001a035c0e488"} 
[2026-08-25 03:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:21: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-25 03:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627629568001,"66":25691,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"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-25 03:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627629568001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627629568001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":162661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:21:47] local.INFO: GPS data processed {"connection_id":162661,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:21:47] local.INFO: Acknowledgment sent {"connection_id":162661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:22:18] local.INFO: TCP Data received {"connection_id":162661,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:22:18] local.INFO: Processing buffer {"connection_id":162661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:22:18] local.INFO: Packet analysis {"connection_id":162661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:22:18] local.INFO: Extracted packet for processing {"connection_id":162661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:22:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627629568001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787608229000,"timestamp_ms":1787608229000,"timestamp_seconds":1787608229,"priority":1,"record_length":96,"hex_timestamp":"000001a035c0e488"} 
[2026-08-25 03:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:22: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-25 03:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627629568001,"66":25691,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"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-25 03:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627629568001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:22:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:22:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627629568001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":162661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:22:18] local.INFO: GPS data processed {"connection_id":162661,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:22:18] local.INFO: Acknowledgment sent {"connection_id":162661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:22:41] local.INFO: TCP Data received {"connection_id":164057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:22:41] local.INFO: Processing buffer {"connection_id":164057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:22:41] local.INFO: IMEI packet received {"connection_id":164057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":164057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:22:46] local.INFO: TCP Data received {"connection_id":164057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:22:46] local.INFO: Processing buffer {"connection_id":164057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:22:46] local.INFO: IMEI packet received {"connection_id":164057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":164057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:22:48] local.INFO: TCP Data received {"connection_id":164057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:22:48] local.INFO: Processing buffer {"connection_id":164057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:22:48] local.INFO: Packet analysis {"connection_id":164057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:22:48] local.INFO: Extracted packet for processing {"connection_id":164057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627629568001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787608229000,"timestamp_ms":1787608229000,"timestamp_seconds":1787608229,"priority":1,"record_length":96,"hex_timestamp":"000001a035c0e488"} 
[2026-08-25 03:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627629568001,"66":25691,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627629568001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627629568001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":164057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:22:48] local.INFO: GPS data processed {"connection_id":164057,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:22:48] local.INFO: Acknowledgment sent {"connection_id":164057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:23:19] local.INFO: TCP Data received {"connection_id":164057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:23:19] local.INFO: Processing buffer {"connection_id":164057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:23:19] local.INFO: Packet analysis {"connection_id":164057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:23:19] local.INFO: Extracted packet for processing {"connection_id":164057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627629568001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787608229000,"timestamp_ms":1787608229000,"timestamp_seconds":1787608229,"priority":1,"record_length":96,"hex_timestamp":"000001a035c0e488"} 
[2026-08-25 03:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:23: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-25 03:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627629568001,"66":25691,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627629568001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:23:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627629568001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":164057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:23:19] local.INFO: GPS data processed {"connection_id":164057,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:23:19] local.INFO: Acknowledgment sent {"connection_id":164057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:23:41] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:23:41] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:23:41] local.INFO: IMEI packet received {"connection_id":161417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":161417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:23:46] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:23:46] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:23:46] local.INFO: IMEI packet received {"connection_id":161417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":161417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:23:47] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:23:47] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:23:47] local.INFO: Packet analysis {"connection_id":161417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:23:47] local.INFO: Extracted packet for processing {"connection_id":161417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627629568001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787608229000,"timestamp_ms":1787608229000,"timestamp_seconds":1787608229,"priority":1,"record_length":96,"hex_timestamp":"000001a035c0e488"} 
[2026-08-25 03: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-25 03:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627629568001,"66":25691,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627629568001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:23:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627629568001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":161417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:23:47] local.INFO: GPS data processed {"connection_id":161417,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:23:47] local.INFO: Acknowledgment sent {"connection_id":161417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:24:19] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:24:19] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:24:19] local.INFO: Packet analysis {"connection_id":161417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:24:19] local.INFO: Extracted packet for processing {"connection_id":161417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627629568001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787608229000,"timestamp_ms":1787608229000,"timestamp_seconds":1787608229,"priority":1,"record_length":96,"hex_timestamp":"000001a035c0e488"} 
[2026-08-25 03: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-25 03:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627629568001,"66":25691,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627629568001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:24:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627629568001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":161417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:24:19] local.INFO: GPS data processed {"connection_id":161417,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:24:19] local.INFO: Acknowledgment sent {"connection_id":161417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:24:46] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:24:46] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:24:46] local.INFO: IMEI packet received {"connection_id":161418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":161418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:24:51] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:24:51] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:24:51] local.INFO: IMEI packet received {"connection_id":161418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":161418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:24:52] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:24:52] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:24:52] local.INFO: Packet analysis {"connection_id":161418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:24:52] local.INFO: Extracted packet for processing {"connection_id":161418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627629568001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787608229000,"timestamp_ms":1787608229000,"timestamp_seconds":1787608229,"priority":1,"record_length":96,"hex_timestamp":"000001a035c0e488"} 
[2026-08-25 03:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627629568001,"66":25691,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627629568001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627629568001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":161418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:24:52] local.INFO: GPS data processed {"connection_id":161418,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:24:52] local.INFO: Acknowledgment sent {"connection_id":161418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:24:57] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:24:57] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:24:57] local.INFO: Packet analysis {"connection_id":161418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:24:57] local.INFO: Extracted packet for processing {"connection_id":161418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:24:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627629568001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:24: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-25 03:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787608229000,"timestamp_ms":1787608229000,"timestamp_seconds":1787608229,"priority":1,"record_length":96,"hex_timestamp":"000001a035c0e488"} 
[2026-08-25 03:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627629568001,"66":25691,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627629568001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:24:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:24:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627629568001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":161418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:24:57] local.INFO: GPS data processed {"connection_id":161418,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:24:57] local.INFO: Acknowledgment sent {"connection_id":161418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:25:41] local.INFO: TCP Data received {"connection_id":161667,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:25:41] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:25:41] local.INFO: IMEI packet received {"connection_id":161667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":161667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:25:46] local.INFO: TCP Data received {"connection_id":161667,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:25:46] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:25:46] local.INFO: IMEI packet received {"connection_id":161667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":161667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:25:47] local.INFO: TCP Data received {"connection_id":161667,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:25:47] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c0e488012d34c3c006aa46b00019006d27..."} 
[2026-08-25 03:25:47] local.INFO: Packet analysis {"connection_id":161667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:25:47] local.INFO: Extracted packet for processing {"connection_id":161667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c0"} 
[2026-08-25 03:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627629568001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787608229000,"timestamp_ms":1787608229000,"timestamp_seconds":1787608229,"priority":1,"record_length":96,"hex_timestamp":"000001a035c0e488"} 
[2026-08-25 03:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 03:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:25:47] 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-25 03:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627629568001,"66":25691,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627629568001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:25:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627629568001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":161667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:25:47] local.INFO: GPS data processed {"connection_id":161667,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:25:47] local.INFO: Acknowledgment sent {"connection_id":161667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:26:20] local.INFO: TCP Data received {"connection_id":161667,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:26:20] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:26:20] local.INFO: Packet analysis {"connection_id":161667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:26:20] local.INFO: Extracted packet for processing {"connection_id":161667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:26:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627706624001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:26:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787608530000,"timestamp_ms":1787608530000,"timestamp_seconds":1787608530,"priority":1,"record_length":96,"hex_timestamp":"000001a035c57c50"} 
[2026-08-25 03: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-25 03:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:26: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-25 03: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-25 03: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-25 03:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:26: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-25 03:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627706624001,"66":25691,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627706624001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:26:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627706624001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":161667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:26:20] local.INFO: GPS data processed {"connection_id":161667,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:26:20] local.INFO: Acknowledgment sent {"connection_id":161667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:26:41] local.INFO: TCP Data received {"connection_id":161419,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:26:41] local.INFO: Processing buffer {"connection_id":161419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:26:41] local.INFO: IMEI packet received {"connection_id":161419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":161419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:26:46] local.INFO: TCP Data received {"connection_id":161419,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:26:46] local.INFO: Processing buffer {"connection_id":161419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:26:46] local.INFO: IMEI packet received {"connection_id":161419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":161419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:26:47] local.INFO: TCP Data received {"connection_id":161419,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:26:47] local.INFO: Processing buffer {"connection_id":161419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:26:47] local.INFO: Packet analysis {"connection_id":161419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:26:47] local.INFO: Extracted packet for processing {"connection_id":161419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627706624001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:26:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787608530000,"timestamp_ms":1787608530000,"timestamp_seconds":1787608530,"priority":1,"record_length":96,"hex_timestamp":"000001a035c57c50"} 
[2026-08-25 03:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627706624001,"66":25691,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627706624001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627706624001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":161419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:26:47] local.INFO: GPS data processed {"connection_id":161419,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:26:47] local.INFO: Acknowledgment sent {"connection_id":161419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:27:18] local.INFO: TCP Data received {"connection_id":161419,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:27:18] local.INFO: Processing buffer {"connection_id":161419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:27:18] local.INFO: Packet analysis {"connection_id":161419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:27:18] local.INFO: Extracted packet for processing {"connection_id":161419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627706624001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:27:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787608530000,"timestamp_ms":1787608530000,"timestamp_seconds":1787608530,"priority":1,"record_length":96,"hex_timestamp":"000001a035c57c50"} 
[2026-08-25 03:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 03:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:27:18] 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-25 03:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627706624001,"66":25691,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627706624001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627706624001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":161419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:27:18] local.INFO: GPS data processed {"connection_id":161419,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:27:18] local.INFO: Acknowledgment sent {"connection_id":161419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:27:41] local.INFO: TCP Data received {"connection_id":162662,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:27:41] local.INFO: Processing buffer {"connection_id":162662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:27:41] local.INFO: IMEI packet received {"connection_id":162662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":162662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:27:46] local.INFO: TCP Data received {"connection_id":162662,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:27:46] local.INFO: Processing buffer {"connection_id":162662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:27:46] local.INFO: IMEI packet received {"connection_id":162662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":162662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:27:47] local.INFO: TCP Data received {"connection_id":162662,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:27:47] local.INFO: Processing buffer {"connection_id":162662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:27:47] local.INFO: Packet analysis {"connection_id":162662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:27:47] local.INFO: Extracted packet for processing {"connection_id":162662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627706624001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:27:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787608530000,"timestamp_ms":1787608530000,"timestamp_seconds":1787608530,"priority":1,"record_length":96,"hex_timestamp":"000001a035c57c50"} 
[2026-08-25 03:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:27:47] local.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-25 03:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627706624001,"66":25691,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627706624001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627706624001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":162662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:27:47] local.INFO: GPS data processed {"connection_id":162662,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:27:47] local.INFO: Acknowledgment sent {"connection_id":162662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:28:18] local.INFO: TCP Data received {"connection_id":162662,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:28:18] local.INFO: Processing buffer {"connection_id":162662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:28:18] local.INFO: Packet analysis {"connection_id":162662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:28:18] local.INFO: Extracted packet for processing {"connection_id":162662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:28:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627706624001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:28:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787608530000,"timestamp_ms":1787608530000,"timestamp_seconds":1787608530,"priority":1,"record_length":96,"hex_timestamp":"000001a035c57c50"} 
[2026-08-25 03:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 03:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627706624001,"66":25691,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627706624001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:28:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627706624001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":162662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:28:18] local.INFO: GPS data processed {"connection_id":162662,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:28:18] local.INFO: Acknowledgment sent {"connection_id":162662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:28:46] local.INFO: TCP Data received {"connection_id":164058,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:28:46] local.INFO: Processing buffer {"connection_id":164058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:28:46] local.INFO: IMEI packet received {"connection_id":164058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":164058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:28:51] local.INFO: TCP Data received {"connection_id":164058,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:28:51] local.INFO: Processing buffer {"connection_id":164058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:28:51] local.INFO: IMEI packet received {"connection_id":164058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":164058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:28:52] local.INFO: TCP Data received {"connection_id":164058,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:28:52] local.INFO: Processing buffer {"connection_id":164058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:28:52] local.INFO: Packet analysis {"connection_id":164058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:28:52] local.INFO: Extracted packet for processing {"connection_id":164058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627706624001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:28:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787608530000,"timestamp_ms":1787608530000,"timestamp_seconds":1787608530,"priority":1,"record_length":96,"hex_timestamp":"000001a035c57c50"} 
[2026-08-25 03:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:28: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-25 03:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627706624001,"66":25691,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627706624001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627706624001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":164058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:28:52] local.INFO: GPS data processed {"connection_id":164058,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:28:52] local.INFO: Acknowledgment sent {"connection_id":164058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:28:57] local.INFO: TCP Data received {"connection_id":164058,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:28:57] local.INFO: Processing buffer {"connection_id":164058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:28:57] local.INFO: Packet analysis {"connection_id":164058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:28:57] local.INFO: Extracted packet for processing {"connection_id":164058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:28:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627706624001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:28:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787608530000,"timestamp_ms":1787608530000,"timestamp_seconds":1787608530,"priority":1,"record_length":96,"hex_timestamp":"000001a035c57c50"} 
[2026-08-25 03:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627706624001,"66":25691,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627706624001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:28:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627706624001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":164058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:28:57] local.INFO: GPS data processed {"connection_id":164058,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:28:57] local.INFO: Acknowledgment sent {"connection_id":164058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:29:41] local.INFO: TCP Data received {"connection_id":161420,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:29:41] local.INFO: Processing buffer {"connection_id":161420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:29:41] local.INFO: IMEI packet received {"connection_id":161420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":161420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:29:46] local.INFO: TCP Data received {"connection_id":161420,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:29:46] local.INFO: Processing buffer {"connection_id":161420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:29:46] local.INFO: IMEI packet received {"connection_id":161420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":161420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:29:47] local.INFO: TCP Data received {"connection_id":161420,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:29:47] local.INFO: Processing buffer {"connection_id":161420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:29:47] local.INFO: Packet analysis {"connection_id":161420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:29:47] local.INFO: Extracted packet for processing {"connection_id":161420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627706624001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:29:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787608530000,"timestamp_ms":1787608530000,"timestamp_seconds":1787608530,"priority":1,"record_length":96,"hex_timestamp":"000001a035c57c50"} 
[2026-08-25 03:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627706624001,"66":25691,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627706624001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627706624001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":161420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:29:47] local.INFO: GPS data processed {"connection_id":161420,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:29:47] local.INFO: Acknowledgment sent {"connection_id":161420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:30:18] local.INFO: TCP Data received {"connection_id":161420,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:30:18] local.INFO: Processing buffer {"connection_id":161420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:30:18] local.INFO: Packet analysis {"connection_id":161420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:30:18] local.INFO: Extracted packet for processing {"connection_id":161420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627706624001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:30:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787608530000,"timestamp_ms":1787608530000,"timestamp_seconds":1787608530,"priority":1,"record_length":96,"hex_timestamp":"000001a035c57c50"} 
[2026-08-25 03:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 03:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:30:18] 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-25 03:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627706624001,"66":25691,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627706624001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627706624001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":161420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:30:18] local.INFO: GPS data processed {"connection_id":161420,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:30:18] local.INFO: Acknowledgment sent {"connection_id":161420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:30:41] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:30:41] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:30:41] local.INFO: IMEI packet received {"connection_id":162663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":162663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:30:46] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:30:46] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:30:46] local.INFO: IMEI packet received {"connection_id":162663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":162663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:30:47] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:30:47] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035c57c50012d34c3c006aa46b00013006d27..."} 
[2026-08-25 03:30:47] local.INFO: Packet analysis {"connection_id":162663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:30:47] local.INFO: Extracted packet for processing {"connection_id":162663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035c5"} 
[2026-08-25 03:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627706624001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:30:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787608530000,"timestamp_ms":1787608530000,"timestamp_seconds":1787608530,"priority":1,"record_length":96,"hex_timestamp":"000001a035c57c50"} 
[2026-08-25 03:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627706624001,"66":25691,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627706624001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627706624001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":162663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:30:47] local.INFO: GPS data processed {"connection_id":162663,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:30:47] local.INFO: Acknowledgment sent {"connection_id":162663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:31:18] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:31:18] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:31:18] local.INFO: Packet analysis {"connection_id":162663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:31:18] local.INFO: Extracted packet for processing {"connection_id":162663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:31:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627783680001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:31:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787608831000,"timestamp_ms":1787608831000,"timestamp_seconds":1787608831,"priority":1,"record_length":96,"hex_timestamp":"000001a035ca1418"} 
[2026-08-25 03:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 03:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627783680001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627783680001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:31:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627783680001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":162663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:31:18] local.INFO: GPS data processed {"connection_id":162663,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:31:18] local.INFO: Acknowledgment sent {"connection_id":162663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:31:41] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:31:41] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:31:41] local.INFO: IMEI packet received {"connection_id":161668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":161668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:31:46] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:31:46] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:31:46] local.INFO: IMEI packet received {"connection_id":161668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":161668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:31:47] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:31:47] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:31:47] local.INFO: Packet analysis {"connection_id":161668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:31:47] local.INFO: Extracted packet for processing {"connection_id":161668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627783680001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:31:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787608831000,"timestamp_ms":1787608831000,"timestamp_seconds":1787608831,"priority":1,"record_length":96,"hex_timestamp":"000001a035ca1418"} 
[2026-08-25 03:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:31:47] 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-25 03:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627783680001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627783680001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627783680001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":161668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:31:47] local.INFO: GPS data processed {"connection_id":161668,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:31:47] local.INFO: Acknowledgment sent {"connection_id":161668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:32:19] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:32:19] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:32:19] local.INFO: Packet analysis {"connection_id":161668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:32:19] local.INFO: Extracted packet for processing {"connection_id":161668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:32:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627783680001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:32:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787608831000,"timestamp_ms":1787608831000,"timestamp_seconds":1787608831,"priority":1,"record_length":96,"hex_timestamp":"000001a035ca1418"} 
[2026-08-25 03:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:32:19] 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-25 03:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627783680001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627783680001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:32:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627783680001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":161668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:32:19] local.INFO: GPS data processed {"connection_id":161668,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:32:19] local.INFO: Acknowledgment sent {"connection_id":161668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:32:41] local.INFO: TCP Data received {"connection_id":161421,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:32:41] local.INFO: Processing buffer {"connection_id":161421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:32:41] local.INFO: IMEI packet received {"connection_id":161421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":161421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:32:46] local.INFO: TCP Data received {"connection_id":161421,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:32:46] local.INFO: Processing buffer {"connection_id":161421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:32:46] local.INFO: IMEI packet received {"connection_id":161421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":161421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:32:47] local.INFO: TCP Data received {"connection_id":161421,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:32:47] local.INFO: Processing buffer {"connection_id":161421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:32:47] local.INFO: Packet analysis {"connection_id":161421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:32:47] local.INFO: Extracted packet for processing {"connection_id":161421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627783680001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:32:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787608831000,"timestamp_ms":1787608831000,"timestamp_seconds":1787608831,"priority":1,"record_length":96,"hex_timestamp":"000001a035ca1418"} 
[2026-08-25 03:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627783680001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627783680001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627783680001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":161421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:32:47] local.INFO: GPS data processed {"connection_id":161421,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:32:47] local.INFO: Acknowledgment sent {"connection_id":161421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:33:19] local.INFO: TCP Data received {"connection_id":161421,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:33:19] local.INFO: Processing buffer {"connection_id":161421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:33:19] local.INFO: Packet analysis {"connection_id":161421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:33:19] local.INFO: Extracted packet for processing {"connection_id":161421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627783680001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:33:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787608831000,"timestamp_ms":1787608831000,"timestamp_seconds":1787608831,"priority":1,"record_length":96,"hex_timestamp":"000001a035ca1418"} 
[2026-08-25 03:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:33:19] 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-25 03:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627783680001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627783680001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627783680001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":161421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:33:19] local.INFO: GPS data processed {"connection_id":161421,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:33:19] local.INFO: Acknowledgment sent {"connection_id":161421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:33:41] local.INFO: TCP Data received {"connection_id":164059,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:33:41] local.INFO: Processing buffer {"connection_id":164059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:33:41] local.INFO: IMEI packet received {"connection_id":164059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":164059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:33:46] local.INFO: TCP Data received {"connection_id":164059,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:33:46] local.INFO: Processing buffer {"connection_id":164059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:33:46] local.INFO: IMEI packet received {"connection_id":164059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":164059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:33:47] local.INFO: TCP Data received {"connection_id":164059,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:33:47] local.INFO: Processing buffer {"connection_id":164059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:33:47] local.INFO: Packet analysis {"connection_id":164059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:33:47] local.INFO: Extracted packet for processing {"connection_id":164059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627783680001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:33:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787608831000,"timestamp_ms":1787608831000,"timestamp_seconds":1787608831,"priority":1,"record_length":96,"hex_timestamp":"000001a035ca1418"} 
[2026-08-25 03:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:33:47] 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-25 03:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627783680001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627783680001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627783680001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":164059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:33:47] local.INFO: GPS data processed {"connection_id":164059,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:33:47] local.INFO: Acknowledgment sent {"connection_id":164059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:34:19] local.INFO: TCP Data received {"connection_id":164059,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:34:19] local.INFO: Processing buffer {"connection_id":164059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:34:19] local.INFO: Packet analysis {"connection_id":164059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:34:19] local.INFO: Extracted packet for processing {"connection_id":164059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:34:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627783680001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:34:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787608831000,"timestamp_ms":1787608831000,"timestamp_seconds":1787608831,"priority":1,"record_length":96,"hex_timestamp":"000001a035ca1418"} 
[2026-08-25 03:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:34:19] 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-25 03:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627783680001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627783680001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:34:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627783680001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":164059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:34:19] local.INFO: GPS data processed {"connection_id":164059,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:34:19] local.INFO: Acknowledgment sent {"connection_id":164059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:34:46] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:34:46] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:34:46] local.INFO: IMEI packet received {"connection_id":161422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":161422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:34:51] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:34:51] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:34:51] local.INFO: IMEI packet received {"connection_id":161422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":161422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:34:52] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:34:52] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:34:52] local.INFO: Packet analysis {"connection_id":161422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:34:52] local.INFO: Extracted packet for processing {"connection_id":161422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627783680001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:34:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787608831000,"timestamp_ms":1787608831000,"timestamp_seconds":1787608831,"priority":1,"record_length":96,"hex_timestamp":"000001a035ca1418"} 
[2026-08-25 03: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-25 03:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627783680001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627783680001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627783680001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":161422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:34:52] local.INFO: GPS data processed {"connection_id":161422,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:34:52] local.INFO: Acknowledgment sent {"connection_id":161422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:34:58] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:34:58] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:34:58] local.INFO: Packet analysis {"connection_id":161422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:34:58] local.INFO: Extracted packet for processing {"connection_id":161422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:34:58] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627783680001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:34:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787608831000,"timestamp_ms":1787608831000,"timestamp_seconds":1787608831,"priority":1,"record_length":96,"hex_timestamp":"000001a035ca1418"} 
[2026-08-25 03:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:34: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-25 03:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627783680001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627783680001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:34:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627783680001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":161422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:34:58] local.INFO: GPS data processed {"connection_id":161422,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:34:58] local.INFO: Acknowledgment sent {"connection_id":161422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:35:41] local.INFO: TCP Data received {"connection_id":164060,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:35:41] local.INFO: Processing buffer {"connection_id":164060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:35:41] local.INFO: IMEI packet received {"connection_id":164060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":164060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:35:46] local.INFO: TCP Data received {"connection_id":164060,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:35:46] local.INFO: Processing buffer {"connection_id":164060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:35:46] local.INFO: IMEI packet received {"connection_id":164060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":164060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:35:47] local.INFO: TCP Data received {"connection_id":164060,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:35:47] local.INFO: Processing buffer {"connection_id":164060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ca1418012d34c3c006aa46b00010006d26..."} 
[2026-08-25 03:35:47] local.INFO: Packet analysis {"connection_id":164060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:35:47] local.INFO: Extracted packet for processing {"connection_id":164060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ca"} 
[2026-08-25 03:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627783680001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:35:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787608831000,"timestamp_ms":1787608831000,"timestamp_seconds":1787608831,"priority":1,"record_length":96,"hex_timestamp":"000001a035ca1418"} 
[2026-08-25 03:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 03:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:35:47] local.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-25 03:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627783680001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627783680001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627783680001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":164060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:35:47] local.INFO: GPS data processed {"connection_id":164060,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:35:47] local.INFO: Acknowledgment sent {"connection_id":164060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:36:18] local.INFO: TCP Data received {"connection_id":164060,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:36:18] local.INFO: Processing buffer {"connection_id":164060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:36:18] local.INFO: Packet analysis {"connection_id":164060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:36:18] local.INFO: Extracted packet for processing {"connection_id":164060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627860736001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:36:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787609132000,"timestamp_ms":1787609132000,"timestamp_seconds":1787609132,"priority":1,"record_length":96,"hex_timestamp":"000001a035ceabe0"} 
[2026-08-25 03:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 03:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627860736001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627860736001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627860736001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":164060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:36:18] local.INFO: GPS data processed {"connection_id":164060,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:36:18] local.INFO: Acknowledgment sent {"connection_id":164060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:36:41] local.INFO: TCP Data received {"connection_id":161423,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:36:41] local.INFO: Processing buffer {"connection_id":161423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:36:41] local.INFO: IMEI packet received {"connection_id":161423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":161423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:36:49] local.INFO: TCP Data received {"connection_id":161423,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:36:49] local.INFO: Processing buffer {"connection_id":161423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:36:49] local.INFO: IMEI packet received {"connection_id":161423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":161423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:36:50] local.INFO: TCP Data received {"connection_id":161423,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:36:50] local.INFO: Processing buffer {"connection_id":161423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:36:50] local.INFO: Packet analysis {"connection_id":161423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:36:50] local.INFO: Extracted packet for processing {"connection_id":161423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:36:50] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627860736001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:36:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787609132000,"timestamp_ms":1787609132000,"timestamp_seconds":1787609132,"priority":1,"record_length":96,"hex_timestamp":"000001a035ceabe0"} 
[2026-08-25 03: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-25 03:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03: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":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:36: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-25 03: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-25 03: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-25 03:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627860736001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627860736001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:36:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627860736001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":161423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:36:50] local.INFO: GPS data processed {"connection_id":161423,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:36:50] local.INFO: Acknowledgment sent {"connection_id":161423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:37:21] local.INFO: TCP Data received {"connection_id":161423,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:37:21] local.INFO: Processing buffer {"connection_id":161423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:37:21] local.INFO: Packet analysis {"connection_id":161423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:37:21] local.INFO: Extracted packet for processing {"connection_id":161423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:37:21] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627860736001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:37:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787609132000,"timestamp_ms":1787609132000,"timestamp_seconds":1787609132,"priority":1,"record_length":96,"hex_timestamp":"000001a035ceabe0"} 
[2026-08-25 03: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-25 03:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03: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":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:37: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-25 03: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-25 03: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-25 03:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:37: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-25 03:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627860736001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627860736001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:37:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627860736001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":161423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:37:21] local.INFO: GPS data processed {"connection_id":161423,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:37:21] local.INFO: Acknowledgment sent {"connection_id":161423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:37:41] local.INFO: TCP Data received {"connection_id":161424,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:37:41] local.INFO: Processing buffer {"connection_id":161424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:37:41] local.INFO: IMEI packet received {"connection_id":161424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":161424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:37:46] local.INFO: TCP Data received {"connection_id":161424,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:37:46] local.INFO: Processing buffer {"connection_id":161424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:37:46] local.INFO: IMEI packet received {"connection_id":161424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":161424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:37:47] local.INFO: TCP Data received {"connection_id":161424,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:37:47] local.INFO: Processing buffer {"connection_id":161424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:37:47] local.INFO: Packet analysis {"connection_id":161424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:37:47] local.INFO: Extracted packet for processing {"connection_id":161424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627860736001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:37:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787609132000,"timestamp_ms":1787609132000,"timestamp_seconds":1787609132,"priority":1,"record_length":96,"hex_timestamp":"000001a035ceabe0"} 
[2026-08-25 03:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:37:47] local.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-25 03:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627860736001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627860736001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627860736001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":161424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:37:47] local.INFO: GPS data processed {"connection_id":161424,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:37:47] local.INFO: Acknowledgment sent {"connection_id":161424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:38:18] local.INFO: TCP Data received {"connection_id":161424,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:38:18] local.INFO: Processing buffer {"connection_id":161424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:38:18] local.INFO: Packet analysis {"connection_id":161424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:38:18] local.INFO: Extracted packet for processing {"connection_id":161424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627860736001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:38:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787609132000,"timestamp_ms":1787609132000,"timestamp_seconds":1787609132,"priority":1,"record_length":96,"hex_timestamp":"000001a035ceabe0"} 
[2026-08-25 03:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 03:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627860736001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627860736001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627860736001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":161424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:38:18] local.INFO: GPS data processed {"connection_id":161424,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:38:18] local.INFO: Acknowledgment sent {"connection_id":161424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:38:41] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:38:41] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:38:41] local.INFO: IMEI packet received {"connection_id":161669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":161669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:38:46] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:38:46] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:38:46] local.INFO: IMEI packet received {"connection_id":161669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":161669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:38:47] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:38:47] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:38:47] local.INFO: Packet analysis {"connection_id":161669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:38:47] local.INFO: Extracted packet for processing {"connection_id":161669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627860736001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:38:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787609132000,"timestamp_ms":1787609132000,"timestamp_seconds":1787609132,"priority":1,"record_length":96,"hex_timestamp":"000001a035ceabe0"} 
[2026-08-25 03: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-25 03:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627860736001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627860736001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627860736001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":161669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:38:47] local.INFO: GPS data processed {"connection_id":161669,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:38:47] local.INFO: Acknowledgment sent {"connection_id":161669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:39:18] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:39:18] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:39:18] local.INFO: Packet analysis {"connection_id":161669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:39:18] local.INFO: Extracted packet for processing {"connection_id":161669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627860736001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:39:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787609132000,"timestamp_ms":1787609132000,"timestamp_seconds":1787609132,"priority":1,"record_length":96,"hex_timestamp":"000001a035ceabe0"} 
[2026-08-25 03:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 03:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:39:18] 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-25 03:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627860736001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627860736001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627860736001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":161669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:39:18] local.INFO: GPS data processed {"connection_id":161669,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:39:18] local.INFO: Acknowledgment sent {"connection_id":161669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:39:41] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:39:41] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:39:41] local.INFO: IMEI packet received {"connection_id":161425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":161425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:39:46] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:39:46] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:39:46] local.INFO: IMEI packet received {"connection_id":161425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":161425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:39:48] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:39:48] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:39:48] local.INFO: Packet analysis {"connection_id":161425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:39:48] local.INFO: Extracted packet for processing {"connection_id":161425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627860736001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:39:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787609132000,"timestamp_ms":1787609132000,"timestamp_seconds":1787609132,"priority":1,"record_length":96,"hex_timestamp":"000001a035ceabe0"} 
[2026-08-25 03:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627860736001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627860736001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627860736001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":161425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:39:48] local.INFO: GPS data processed {"connection_id":161425,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:39:48] local.INFO: Acknowledgment sent {"connection_id":161425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:40:19] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:40:19] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:40:19] local.INFO: Packet analysis {"connection_id":161425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:40:19] local.INFO: Extracted packet for processing {"connection_id":161425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627860736001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:40:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787609132000,"timestamp_ms":1787609132000,"timestamp_seconds":1787609132,"priority":1,"record_length":96,"hex_timestamp":"000001a035ceabe0"} 
[2026-08-25 03:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:40: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-25 03:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627860736001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627860736001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627860736001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":161425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:40:19] local.INFO: GPS data processed {"connection_id":161425,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:40:19] local.INFO: Acknowledgment sent {"connection_id":161425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:40:46] local.INFO: TCP Data received {"connection_id":162664,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:40:46] local.INFO: Processing buffer {"connection_id":162664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:40:46] local.INFO: IMEI packet received {"connection_id":162664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":162664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:40:51] local.INFO: TCP Data received {"connection_id":162664,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:40:51] local.INFO: Processing buffer {"connection_id":162664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:40:51] local.INFO: IMEI packet received {"connection_id":162664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":162664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:40:52] local.INFO: TCP Data received {"connection_id":162664,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:40:52] local.INFO: Processing buffer {"connection_id":162664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:40:52] local.INFO: Packet analysis {"connection_id":162664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:40:52] local.INFO: Extracted packet for processing {"connection_id":162664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627860736001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:40:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787609132000,"timestamp_ms":1787609132000,"timestamp_seconds":1787609132,"priority":1,"record_length":96,"hex_timestamp":"000001a035ceabe0"} 
[2026-08-25 03:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627860736001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627860736001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627860736001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":162664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:40:52] local.INFO: GPS data processed {"connection_id":162664,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:40:52] local.INFO: Acknowledgment sent {"connection_id":162664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:40:58] local.INFO: TCP Data received {"connection_id":162664,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:40:58] local.INFO: Processing buffer {"connection_id":162664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ceabe0012d34c3c006aa46b00011006d29..."} 
[2026-08-25 03:40:58] local.INFO: Packet analysis {"connection_id":162664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:40:58] local.INFO: Extracted packet for processing {"connection_id":162664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ce"} 
[2026-08-25 03:40:58] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627860736001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:40:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787609132000,"timestamp_ms":1787609132000,"timestamp_seconds":1787609132,"priority":1,"record_length":96,"hex_timestamp":"000001a035ceabe0"} 
[2026-08-25 03:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:40:58] 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-25 03:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627860736001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627860736001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:40:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627860736001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":162664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:40:58] local.INFO: GPS data processed {"connection_id":162664,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:40:58] local.INFO: Acknowledgment sent {"connection_id":162664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:41:41] local.INFO: TCP Data received {"connection_id":161670,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:41:41] local.INFO: Processing buffer {"connection_id":161670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:41:41] local.INFO: IMEI packet received {"connection_id":161670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":161670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:41:46] local.INFO: TCP Data received {"connection_id":161670,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:41:46] local.INFO: Processing buffer {"connection_id":161670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:41:46] local.INFO: IMEI packet received {"connection_id":161670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":161670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:41:47] local.INFO: TCP Data received {"connection_id":161670,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:41:47] local.INFO: Processing buffer {"connection_id":161670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:41:47] local.INFO: Packet analysis {"connection_id":161670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:41:47] local.INFO: Extracted packet for processing {"connection_id":161670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627937792001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787609433000,"timestamp_ms":1787609433000,"timestamp_seconds":1787609433,"priority":1,"record_length":96,"hex_timestamp":"000001a035d343a8"} 
[2026-08-25 03:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627937792001,"66":25647,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627937792001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:41:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627937792001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":161670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:41:47] local.INFO: GPS data processed {"connection_id":161670,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:41:47] local.INFO: Acknowledgment sent {"connection_id":161670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:42:21] local.INFO: TCP Data received {"connection_id":161670,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:42:21] local.INFO: Processing buffer {"connection_id":161670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:42:21] local.INFO: Packet analysis {"connection_id":161670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:42:21] local.INFO: Extracted packet for processing {"connection_id":161670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:42:21] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627937792001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787609433000,"timestamp_ms":1787609433000,"timestamp_seconds":1787609433,"priority":1,"record_length":96,"hex_timestamp":"000001a035d343a8"} 
[2026-08-25 03: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-25 03:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03: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":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:42: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-25 03: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-25 03: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-25 03:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:42: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-25 03:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627937792001,"66":25647,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627937792001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:42:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:42:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627937792001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":161670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:42:21] local.INFO: GPS data processed {"connection_id":161670,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:42:21] local.INFO: Acknowledgment sent {"connection_id":161670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:42:41] local.INFO: TCP Data received {"connection_id":162665,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:42:41] local.INFO: Processing buffer {"connection_id":162665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:42:41] local.INFO: IMEI packet received {"connection_id":162665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":162665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:42:46] local.INFO: TCP Data received {"connection_id":162665,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:42:46] local.INFO: Processing buffer {"connection_id":162665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:42:46] local.INFO: IMEI packet received {"connection_id":162665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":162665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:42:48] local.INFO: TCP Data received {"connection_id":162665,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:42:48] local.INFO: Processing buffer {"connection_id":162665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:42:48] local.INFO: Packet analysis {"connection_id":162665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:42:48] local.INFO: Extracted packet for processing {"connection_id":162665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627937792001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787609433000,"timestamp_ms":1787609433000,"timestamp_seconds":1787609433,"priority":1,"record_length":96,"hex_timestamp":"000001a035d343a8"} 
[2026-08-25 03: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-25 03:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627937792001,"66":25647,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627937792001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627937792001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":162665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:42:48] local.INFO: GPS data processed {"connection_id":162665,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:42:48] local.INFO: Acknowledgment sent {"connection_id":162665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:43:20] local.INFO: TCP Data received {"connection_id":162665,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:43:20] local.INFO: Processing buffer {"connection_id":162665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:43:20] local.INFO: Packet analysis {"connection_id":162665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:43:20] local.INFO: Extracted packet for processing {"connection_id":162665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627937792001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787609433000,"timestamp_ms":1787609433000,"timestamp_seconds":1787609433,"priority":1,"record_length":96,"hex_timestamp":"000001a035d343a8"} 
[2026-08-25 03: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-25 03:43: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-25 03:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:43:20] 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-25 03:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627937792001,"66":25647,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627937792001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:43:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:43:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627937792001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":162665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:43:20] local.INFO: GPS data processed {"connection_id":162665,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:43:20] local.INFO: Acknowledgment sent {"connection_id":162665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:43:41] local.INFO: TCP Data received {"connection_id":161426,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:43:41] local.INFO: Processing buffer {"connection_id":161426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:43:41] local.INFO: IMEI packet received {"connection_id":161426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":161426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:43:46] local.INFO: TCP Data received {"connection_id":161426,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:43:46] local.INFO: Processing buffer {"connection_id":161426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:43:46] local.INFO: IMEI packet received {"connection_id":161426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":161426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:43:47] local.INFO: TCP Data received {"connection_id":161426,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:43:47] local.INFO: Processing buffer {"connection_id":161426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:43:47] local.INFO: Packet analysis {"connection_id":161426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:43:47] local.INFO: Extracted packet for processing {"connection_id":161426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627937792001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787609433000,"timestamp_ms":1787609433000,"timestamp_seconds":1787609433,"priority":1,"record_length":96,"hex_timestamp":"000001a035d343a8"} 
[2026-08-25 03:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:43:47] local.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-25 03:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627937792001,"66":25647,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627937792001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:43:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627937792001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":161426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:43:47] local.INFO: GPS data processed {"connection_id":161426,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:43:47] local.INFO: Acknowledgment sent {"connection_id":161426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:44:19] local.INFO: TCP Data received {"connection_id":161426,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:44:19] local.INFO: Processing buffer {"connection_id":161426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:44:19] local.INFO: Packet analysis {"connection_id":161426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:44:19] local.INFO: Extracted packet for processing {"connection_id":161426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627937792001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787609433000,"timestamp_ms":1787609433000,"timestamp_seconds":1787609433,"priority":1,"record_length":96,"hex_timestamp":"000001a035d343a8"} 
[2026-08-25 03:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:44: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-25 03:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627937792001,"66":25647,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627937792001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:44:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:44:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627937792001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":161426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:44:19] local.INFO: GPS data processed {"connection_id":161426,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:44:19] local.INFO: Acknowledgment sent {"connection_id":161426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:44:41] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:44:41] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:44:41] local.INFO: IMEI packet received {"connection_id":161671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":161671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:44:46] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:44:46] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:44:46] local.INFO: IMEI packet received {"connection_id":161671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":161671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:44:48] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:44:48] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:44:48] local.INFO: Packet analysis {"connection_id":161671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:44:48] local.INFO: Extracted packet for processing {"connection_id":161671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627937792001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787609433000,"timestamp_ms":1787609433000,"timestamp_seconds":1787609433,"priority":1,"record_length":96,"hex_timestamp":"000001a035d343a8"} 
[2026-08-25 03:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:44: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-25 03:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627937792001,"66":25647,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627937792001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:44:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627937792001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":161671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:44:48] local.INFO: GPS data processed {"connection_id":161671,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:44:48] local.INFO: Acknowledgment sent {"connection_id":161671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:45:21] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:45:21] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:45:21] local.INFO: Packet analysis {"connection_id":161671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:45:21] local.INFO: Extracted packet for processing {"connection_id":161671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627937792001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787609433000,"timestamp_ms":1787609433000,"timestamp_seconds":1787609433,"priority":1,"record_length":96,"hex_timestamp":"000001a035d343a8"} 
[2026-08-25 03:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:45: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-25 03:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627937792001,"66":25647,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627937792001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:45:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627937792001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":161671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:45:21] local.INFO: GPS data processed {"connection_id":161671,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:45:21] local.INFO: Acknowledgment sent {"connection_id":161671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:45:41] local.INFO: TCP Data received {"connection_id":162666,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:45:41] local.INFO: Processing buffer {"connection_id":162666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:45:41] local.INFO: IMEI packet received {"connection_id":162666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":162666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:45:46] local.INFO: TCP Data received {"connection_id":162666,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:45:46] local.INFO: Processing buffer {"connection_id":162666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:45:46] local.INFO: IMEI packet received {"connection_id":162666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":162666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:45:47] local.INFO: TCP Data received {"connection_id":162666,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:45:47] local.INFO: Processing buffer {"connection_id":162666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d343a8012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 03:45:47] local.INFO: Packet analysis {"connection_id":162666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:45:47] local.INFO: Extracted packet for processing {"connection_id":162666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d3"} 
[2026-08-25 03:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457627937792001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 03:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787609433000,"timestamp_ms":1787609433000,"timestamp_seconds":1787609433,"priority":1,"record_length":96,"hex_timestamp":"000001a035d343a8"} 
[2026-08-25 03:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 03:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:45:47] local.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-25 03:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457627937792001,"66":25647,"97":206,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 03:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457627937792001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:45:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 03:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457627937792001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":162666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:45:47] local.INFO: GPS data processed {"connection_id":162666,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:45:47] local.INFO: Acknowledgment sent {"connection_id":162666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:46:18] local.INFO: TCP Data received {"connection_id":162666,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:46:18] local.INFO: Processing buffer {"connection_id":162666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:46:18] local.INFO: Packet analysis {"connection_id":162666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:46:18] local.INFO: Extracted packet for processing {"connection_id":162666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:46:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":22,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628014848001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:46:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787609734000,"timestamp_ms":1787609734000,"timestamp_seconds":1787609734,"priority":1,"record_length":96,"hex_timestamp":"000001a035d7db70"} 
[2026-08-25 03:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628014848001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628014848001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:46:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628014848001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":162666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:46:18] local.INFO: GPS data processed {"connection_id":162666,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:46:18] local.INFO: Acknowledgment sent {"connection_id":162666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:46:46] local.INFO: TCP Data received {"connection_id":161672,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:46:46] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:46:46] local.INFO: IMEI packet received {"connection_id":161672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":161672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:46:51] local.INFO: TCP Data received {"connection_id":161672,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:46:51] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:46:51] local.INFO: IMEI packet received {"connection_id":161672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":161672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:46:52] local.INFO: TCP Data received {"connection_id":161672,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:46:52] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:46:52] local.INFO: Packet analysis {"connection_id":161672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:46:52] local.INFO: Extracted packet for processing {"connection_id":161672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":22,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628014848001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:46:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787609734000,"timestamp_ms":1787609734000,"timestamp_seconds":1787609734,"priority":1,"record_length":96,"hex_timestamp":"000001a035d7db70"} 
[2026-08-25 03:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:46:52] 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-25 03:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628014848001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628014848001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628014848001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":161672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:46:52] local.INFO: GPS data processed {"connection_id":161672,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:46:52] local.INFO: Acknowledgment sent {"connection_id":161672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:47:24] local.INFO: TCP Data received {"connection_id":161672,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:47:24] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:47:24] local.INFO: Packet analysis {"connection_id":161672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:47:24] local.INFO: Extracted packet for processing {"connection_id":161672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":22,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628014848001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:47:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787609734000,"timestamp_ms":1787609734000,"timestamp_seconds":1787609734,"priority":1,"record_length":96,"hex_timestamp":"000001a035d7db70"} 
[2026-08-25 03:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:47:24] 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-25 03:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628014848001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628014848001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628014848001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":161672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:47:24] local.INFO: GPS data processed {"connection_id":161672,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:47:24] local.INFO: Acknowledgment sent {"connection_id":161672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:47:41] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:47:41] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:47:41] local.INFO: IMEI packet received {"connection_id":161427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":161427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:47:46] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:47:46] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:47:46] local.INFO: IMEI packet received {"connection_id":161427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":161427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:47:47] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:47:47] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:47:47] local.INFO: Packet analysis {"connection_id":161427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:47:47] local.INFO: Extracted packet for processing {"connection_id":161427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":22,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628014848001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:47:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787609734000,"timestamp_ms":1787609734000,"timestamp_seconds":1787609734,"priority":1,"record_length":96,"hex_timestamp":"000001a035d7db70"} 
[2026-08-25 03:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:47:47] local.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-25 03:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628014848001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628014848001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628014848001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":161427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:47:47] local.INFO: GPS data processed {"connection_id":161427,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:47:47] local.INFO: Acknowledgment sent {"connection_id":161427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:48:19] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:48:19] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:48:19] local.INFO: Packet analysis {"connection_id":161427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:48:19] local.INFO: Extracted packet for processing {"connection_id":161427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":22,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 03:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628014848001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:48:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787609734000,"timestamp_ms":1787609734000,"timestamp_seconds":1787609734,"priority":1,"record_length":96,"hex_timestamp":"000001a035d7db70"} 
[2026-08-25 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-25 03:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 03:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628014848001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628014848001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628014848001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":161427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:48:19] local.INFO: GPS data processed {"connection_id":161427,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:48:19] local.INFO: Acknowledgment sent {"connection_id":161427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:48:41] local.INFO: TCP Data received {"connection_id":161673,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:48:41] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:48:41] local.INFO: IMEI packet received {"connection_id":161673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":161673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:48:46] local.INFO: TCP Data received {"connection_id":161673,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:48:46] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:48:46] local.INFO: IMEI packet received {"connection_id":161673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":161673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:48:47] local.INFO: TCP Data received {"connection_id":161673,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:48:47] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:48:47] local.INFO: Packet analysis {"connection_id":161673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:48:47] local.INFO: Extracted packet for processing {"connection_id":161673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":22,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628014848001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:48:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787609734000,"timestamp_ms":1787609734000,"timestamp_seconds":1787609734,"priority":1,"record_length":96,"hex_timestamp":"000001a035d7db70"} 
[2026-08-25 03:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628014848001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628014848001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628014848001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":161673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:48:47] local.INFO: GPS data processed {"connection_id":161673,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:48:47] local.INFO: Acknowledgment sent {"connection_id":161673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:49:18] local.INFO: TCP Data received {"connection_id":161673,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:49:18] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:49:18] local.INFO: Packet analysis {"connection_id":161673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:49:18] local.INFO: Extracted packet for processing {"connection_id":161673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":22,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628014848001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:49:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787609734000,"timestamp_ms":1787609734000,"timestamp_seconds":1787609734,"priority":1,"record_length":96,"hex_timestamp":"000001a035d7db70"} 
[2026-08-25 03:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:49:18] 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-25 03:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628014848001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628014848001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628014848001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":161673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:49:18] local.INFO: GPS data processed {"connection_id":161673,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:49:18] local.INFO: Acknowledgment sent {"connection_id":161673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:49:41] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:49:41] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:49:41] local.INFO: IMEI packet received {"connection_id":161428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":161428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:49:46] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:49:46] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:49:46] local.INFO: IMEI packet received {"connection_id":161428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":161428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:49:47] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:49:47] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:49:47] local.INFO: Packet analysis {"connection_id":161428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:49:47] local.INFO: Extracted packet for processing {"connection_id":161428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":22,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628014848001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:49:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787609734000,"timestamp_ms":1787609734000,"timestamp_seconds":1787609734,"priority":1,"record_length":96,"hex_timestamp":"000001a035d7db70"} 
[2026-08-25 03:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:49:47] 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-25 03:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628014848001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628014848001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628014848001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":161428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:49:47] local.INFO: GPS data processed {"connection_id":161428,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:49:47] local.INFO: Acknowledgment sent {"connection_id":161428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:50:19] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:50:19] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:50:19] local.INFO: Packet analysis {"connection_id":161428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:50:19] local.INFO: Extracted packet for processing {"connection_id":161428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:50:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":22,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628014848001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:50:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787609734000,"timestamp_ms":1787609734000,"timestamp_seconds":1787609734,"priority":1,"record_length":96,"hex_timestamp":"000001a035d7db70"} 
[2026-08-25 03:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:50:19] 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-25 03:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628014848001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628014848001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:50:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628014848001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":161428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:50:19] local.INFO: GPS data processed {"connection_id":161428,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:50:19] local.INFO: Acknowledgment sent {"connection_id":161428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:50:46] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:50:46] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:50:46] local.INFO: IMEI packet received {"connection_id":161674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":161674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:50:51] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:50:51] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:50:51] local.INFO: IMEI packet received {"connection_id":161674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":161674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:50:53] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:50:53] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:50:53] local.INFO: Packet analysis {"connection_id":161674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:50:53] local.INFO: Extracted packet for processing {"connection_id":161674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":22,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628014848001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:50:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787609734000,"timestamp_ms":1787609734000,"timestamp_seconds":1787609734,"priority":1,"record_length":96,"hex_timestamp":"000001a035d7db70"} 
[2026-08-25 03:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628014848001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628014848001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628014848001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":161674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:50:53] local.INFO: GPS data processed {"connection_id":161674,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:50:53] local.INFO: Acknowledgment sent {"connection_id":161674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:50:56] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:50:56] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035d7db70012d34c3c006aa46b00016006d28..."} 
[2026-08-25 03:50:56] local.INFO: Packet analysis {"connection_id":161674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:50:56] local.INFO: Extracted packet for processing {"connection_id":161674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035d7"} 
[2026-08-25 03:50:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":22,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628014848001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:50:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787609734000,"timestamp_ms":1787609734000,"timestamp_seconds":1787609734,"priority":1,"record_length":96,"hex_timestamp":"000001a035d7db70"} 
[2026-08-25 03: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-25 03:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628014848001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628014848001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:50:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628014848001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":161674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:50:56] local.INFO: GPS data processed {"connection_id":161674,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:50:56] local.INFO: Acknowledgment sent {"connection_id":161674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:51:41] local.INFO: TCP Data received {"connection_id":162667,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:51:41] local.INFO: Processing buffer {"connection_id":162667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:51:41] local.INFO: IMEI packet received {"connection_id":162667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":162667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:51:46] local.INFO: TCP Data received {"connection_id":162667,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:51:46] local.INFO: Processing buffer {"connection_id":162667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:51:46] local.INFO: IMEI packet received {"connection_id":162667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":162667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:51:47] local.INFO: TCP Data received {"connection_id":162667,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:51:47] local.INFO: Processing buffer {"connection_id":162667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:51:47] local.INFO: Packet analysis {"connection_id":162667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:51:47] local.INFO: Extracted packet for processing {"connection_id":162667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628091904001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:51:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610035000,"timestamp_ms":1787610035000,"timestamp_seconds":1787610035,"priority":1,"record_length":96,"hex_timestamp":"000001a035dc7338"} 
[2026-08-25 03:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628091904001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628091904001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628091904001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":162667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:51:47] local.INFO: GPS data processed {"connection_id":162667,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:51:47] local.INFO: Acknowledgment sent {"connection_id":162667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:52:19] local.INFO: TCP Data received {"connection_id":162667,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:52:19] local.INFO: Processing buffer {"connection_id":162667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:52:19] local.INFO: Packet analysis {"connection_id":162667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:52:19] local.INFO: Extracted packet for processing {"connection_id":162667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628091904001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:52:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787610035000,"timestamp_ms":1787610035000,"timestamp_seconds":1787610035,"priority":1,"record_length":96,"hex_timestamp":"000001a035dc7338"} 
[2026-08-25 03:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628091904001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628091904001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628091904001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":162667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:52:19] local.INFO: GPS data processed {"connection_id":162667,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:52:19] local.INFO: Acknowledgment sent {"connection_id":162667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:52:41] local.INFO: TCP Data received {"connection_id":164061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:52:41] local.INFO: Processing buffer {"connection_id":164061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:52:41] local.INFO: IMEI packet received {"connection_id":164061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":164061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:52:46] local.INFO: TCP Data received {"connection_id":164061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:52:46] local.INFO: Processing buffer {"connection_id":164061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:52:46] local.INFO: IMEI packet received {"connection_id":164061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":164061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:52:47] local.INFO: TCP Data received {"connection_id":164061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:52:47] local.INFO: Processing buffer {"connection_id":164061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:52:47] local.INFO: Packet analysis {"connection_id":164061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:52:47] local.INFO: Extracted packet for processing {"connection_id":164061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628091904001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:52:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610035000,"timestamp_ms":1787610035000,"timestamp_seconds":1787610035,"priority":1,"record_length":96,"hex_timestamp":"000001a035dc7338"} 
[2026-08-25 03:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628091904001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628091904001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628091904001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":164061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:52:47] local.INFO: GPS data processed {"connection_id":164061,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:52:47] local.INFO: Acknowledgment sent {"connection_id":164061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:53:18] local.INFO: TCP Data received {"connection_id":164061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:53:18] local.INFO: Processing buffer {"connection_id":164061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:53:18] local.INFO: Packet analysis {"connection_id":164061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:53:18] local.INFO: Extracted packet for processing {"connection_id":164061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:53:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628091904001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:53:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787610035000,"timestamp_ms":1787610035000,"timestamp_seconds":1787610035,"priority":1,"record_length":96,"hex_timestamp":"000001a035dc7338"} 
[2026-08-25 03:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:53:18] local.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-25 03:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628091904001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628091904001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:53:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628091904001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":164061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:53:18] local.INFO: GPS data processed {"connection_id":164061,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:53:18] local.INFO: Acknowledgment sent {"connection_id":164061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:53:41] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:53:41] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:53:41] local.INFO: IMEI packet received {"connection_id":161675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":161675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:53:46] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:53:46] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:53:46] local.INFO: IMEI packet received {"connection_id":161675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":161675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:53:47] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:53:47] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:53:47] local.INFO: Packet analysis {"connection_id":161675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:53:47] local.INFO: Extracted packet for processing {"connection_id":161675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628091904001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:53:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610035000,"timestamp_ms":1787610035000,"timestamp_seconds":1787610035,"priority":1,"record_length":96,"hex_timestamp":"000001a035dc7338"} 
[2026-08-25 03:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628091904001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628091904001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628091904001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":161675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:53:47] local.INFO: GPS data processed {"connection_id":161675,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:53:47] local.INFO: Acknowledgment sent {"connection_id":161675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:54:18] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:54:18] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:54:18] local.INFO: Packet analysis {"connection_id":161675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:54:18] local.INFO: Extracted packet for processing {"connection_id":161675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628091904001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:54:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787610035000,"timestamp_ms":1787610035000,"timestamp_seconds":1787610035,"priority":1,"record_length":96,"hex_timestamp":"000001a035dc7338"} 
[2026-08-25 03:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:54:18] 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-25 03:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628091904001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628091904001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628091904001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":161675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:54:18] local.INFO: GPS data processed {"connection_id":161675,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:54:18] local.INFO: Acknowledgment sent {"connection_id":161675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:54:41] local.INFO: TCP Data received {"connection_id":161429,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:54:41] local.INFO: Processing buffer {"connection_id":161429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:54:41] local.INFO: IMEI packet received {"connection_id":161429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":161429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:54:46] local.INFO: TCP Data received {"connection_id":161429,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:54:46] local.INFO: Processing buffer {"connection_id":161429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:54:46] local.INFO: IMEI packet received {"connection_id":161429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":161429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:54:47] local.INFO: TCP Data received {"connection_id":161429,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:54:47] local.INFO: Processing buffer {"connection_id":161429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:54:47] local.INFO: Packet analysis {"connection_id":161429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:54:47] local.INFO: Extracted packet for processing {"connection_id":161429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628091904001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:54:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610035000,"timestamp_ms":1787610035000,"timestamp_seconds":1787610035,"priority":1,"record_length":96,"hex_timestamp":"000001a035dc7338"} 
[2026-08-25 03:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:54: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-25 03:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628091904001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628091904001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628091904001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":161429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:54:47] local.INFO: GPS data processed {"connection_id":161429,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:54:47] local.INFO: Acknowledgment sent {"connection_id":161429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:55:18] local.INFO: TCP Data received {"connection_id":161429,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:55:18] local.INFO: Processing buffer {"connection_id":161429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:55:18] local.INFO: Packet analysis {"connection_id":161429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:55:18] local.INFO: Extracted packet for processing {"connection_id":161429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628091904001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:55:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787610035000,"timestamp_ms":1787610035000,"timestamp_seconds":1787610035,"priority":1,"record_length":96,"hex_timestamp":"000001a035dc7338"} 
[2026-08-25 03:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:55: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-25 03:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628091904001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628091904001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628091904001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":161429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:55:18] local.INFO: GPS data processed {"connection_id":161429,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:55:18] local.INFO: Acknowledgment sent {"connection_id":161429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:55:41] local.INFO: TCP Data received {"connection_id":161430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:55:41] local.INFO: Processing buffer {"connection_id":161430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:55:41] local.INFO: IMEI packet received {"connection_id":161430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":161430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:55:46] local.INFO: TCP Data received {"connection_id":161430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:55:46] local.INFO: Processing buffer {"connection_id":161430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:55:46] local.INFO: IMEI packet received {"connection_id":161430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":161430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:55:47] local.INFO: TCP Data received {"connection_id":161430,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:55:47] local.INFO: Processing buffer {"connection_id":161430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035dc7338012d34c3c006aa46b00013006d29..."} 
[2026-08-25 03:55:47] local.INFO: Packet analysis {"connection_id":161430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:55:47] local.INFO: Extracted packet for processing {"connection_id":161430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035dc"} 
[2026-08-25 03:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628091904001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:55:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610035000,"timestamp_ms":1787610035000,"timestamp_seconds":1787610035,"priority":1,"record_length":96,"hex_timestamp":"000001a035dc7338"} 
[2026-08-25 03:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628091904001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628091904001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628091904001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":161430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:55:47] local.INFO: GPS data processed {"connection_id":161430,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:55:47] local.INFO: Acknowledgment sent {"connection_id":161430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:56:18] local.INFO: TCP Data received {"connection_id":161430,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:56:18] local.INFO: Processing buffer {"connection_id":161430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:56:18] local.INFO: Packet analysis {"connection_id":161430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:56:18] local.INFO: Extracted packet for processing {"connection_id":161430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628168960001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:56:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787610336000,"timestamp_ms":1787610336000,"timestamp_seconds":1787610336,"priority":1,"record_length":96,"hex_timestamp":"000001a035e10b00"} 
[2026-08-25 03: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-25 03:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:56:18] local.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-25 03:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628168960001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628168960001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628168960001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":161430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:56:18] local.INFO: GPS data processed {"connection_id":161430,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:56:18] local.INFO: Acknowledgment sent {"connection_id":161430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:56:46] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:56:46] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:56:46] local.INFO: IMEI packet received {"connection_id":161431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":161431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:56:51] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:56:51] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:56:51] local.INFO: IMEI packet received {"connection_id":161431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":161431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:56:52] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:56:52] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:56:52] local.INFO: Packet analysis {"connection_id":161431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:56:52] local.INFO: Extracted packet for processing {"connection_id":161431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628168960001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:56:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787610336000,"timestamp_ms":1787610336000,"timestamp_seconds":1787610336,"priority":1,"record_length":96,"hex_timestamp":"000001a035e10b00"} 
[2026-08-25 03:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:56:52] local.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-25 03:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628168960001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628168960001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628168960001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":161431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:56:52] local.INFO: GPS data processed {"connection_id":161431,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:56:52] local.INFO: Acknowledgment sent {"connection_id":161431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:57:23] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:57:23] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:57:23] local.INFO: Packet analysis {"connection_id":161431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:57:23] local.INFO: Extracted packet for processing {"connection_id":161431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:57:23] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628168960001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:57:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787610336000,"timestamp_ms":1787610336000,"timestamp_seconds":1787610336,"priority":1,"record_length":96,"hex_timestamp":"000001a035e10b00"} 
[2026-08-25 03:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628168960001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628168960001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:57:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628168960001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":161431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:57:23] local.INFO: GPS data processed {"connection_id":161431,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:57:23] local.INFO: Acknowledgment sent {"connection_id":161431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:57:41] local.INFO: TCP Data received {"connection_id":162668,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:57:41] local.INFO: Processing buffer {"connection_id":162668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:57:41] local.INFO: IMEI packet received {"connection_id":162668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":162668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:57:46] local.INFO: TCP Data received {"connection_id":162668,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:57:46] local.INFO: Processing buffer {"connection_id":162668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:57:46] local.INFO: IMEI packet received {"connection_id":162668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":162668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:57:47] local.INFO: TCP Data received {"connection_id":162668,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:57:47] local.INFO: Processing buffer {"connection_id":162668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:57:47] local.INFO: Packet analysis {"connection_id":162668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:57:47] local.INFO: Extracted packet for processing {"connection_id":162668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628168960001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:57:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610336000,"timestamp_ms":1787610336000,"timestamp_seconds":1787610336,"priority":1,"record_length":96,"hex_timestamp":"000001a035e10b00"} 
[2026-08-25 03: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-25 03:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628168960001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628168960001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628168960001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":162668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:57:47] local.INFO: GPS data processed {"connection_id":162668,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:57:47] local.INFO: Acknowledgment sent {"connection_id":162668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:58:18] local.INFO: TCP Data received {"connection_id":162668,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:58:18] local.INFO: Processing buffer {"connection_id":162668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:58:18] local.INFO: Packet analysis {"connection_id":162668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:58:18] local.INFO: Extracted packet for processing {"connection_id":162668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628168960001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:58:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787610336000,"timestamp_ms":1787610336000,"timestamp_seconds":1787610336,"priority":1,"record_length":96,"hex_timestamp":"000001a035e10b00"} 
[2026-08-25 03:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:58:18] 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-25 03:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628168960001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628168960001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628168960001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":162668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:58:18] local.INFO: GPS data processed {"connection_id":162668,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:58:18] local.INFO: Acknowledgment sent {"connection_id":162668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:58:44] local.INFO: TCP Data received {"connection_id":161432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:58:44] local.INFO: Processing buffer {"connection_id":161432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:58:44] local.INFO: IMEI packet received {"connection_id":161432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":161432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:58:46] local.INFO: TCP Data received {"connection_id":161432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:58:46] local.INFO: Processing buffer {"connection_id":161432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:58:46] local.INFO: IMEI packet received {"connection_id":161432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":161432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:58:47] local.INFO: TCP Data received {"connection_id":161432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:58:47] local.INFO: Processing buffer {"connection_id":161432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:58:47] local.INFO: Packet analysis {"connection_id":161432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:58:47] local.INFO: Extracted packet for processing {"connection_id":161432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628168960001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:58:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610336000,"timestamp_ms":1787610336000,"timestamp_seconds":1787610336,"priority":1,"record_length":96,"hex_timestamp":"000001a035e10b00"} 
[2026-08-25 03:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628168960001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628168960001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628168960001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":161432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:58:47] local.INFO: GPS data processed {"connection_id":161432,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:58:47] local.INFO: Acknowledgment sent {"connection_id":161432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:58:51] local.INFO: TCP Data received {"connection_id":161432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:58:51] local.INFO: Processing buffer {"connection_id":161432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:58:51] local.INFO: Packet analysis {"connection_id":161432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:58:51] local.INFO: Extracted packet for processing {"connection_id":161432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628168960001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:58:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787610336000,"timestamp_ms":1787610336000,"timestamp_seconds":1787610336,"priority":1,"record_length":96,"hex_timestamp":"000001a035e10b00"} 
[2026-08-25 03: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-25 03:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628168960001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628168960001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628168960001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":161432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:58:52] local.INFO: GPS data processed {"connection_id":161432,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:58:52] local.INFO: Acknowledgment sent {"connection_id":161432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:59:24] local.INFO: TCP Data received {"connection_id":161432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:59:24] local.INFO: Processing buffer {"connection_id":161432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:59:24] local.INFO: Packet analysis {"connection_id":161432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:59:24] local.INFO: Extracted packet for processing {"connection_id":161432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03: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-25 03:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628168960001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:59:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787610336000,"timestamp_ms":1787610336000,"timestamp_seconds":1787610336,"priority":1,"record_length":96,"hex_timestamp":"000001a035e10b00"} 
[2026-08-25 03: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-25 03:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 03:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03: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-25 03: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-25 03:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:59: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-25 03:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628168960001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628168960001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628168960001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":161432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:59:24] local.INFO: GPS data processed {"connection_id":161432,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:59:24] local.INFO: Acknowledgment sent {"connection_id":161432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 03:59:41] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:59:41] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:59:41] local.INFO: IMEI packet received {"connection_id":162669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 03:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":162669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 03:59:46] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:59:46] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 03:59:46] local.INFO: IMEI packet received {"connection_id":162669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 03:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":162669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 03:59:47] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:59:47] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 03:59:47] local.INFO: Packet analysis {"connection_id":162669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:59:47] local.INFO: Extracted packet for processing {"connection_id":162669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 03:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 03:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 03:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628168960001,"note":"Value kept but may cause issues"} 
[2026-08-25 03:59:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 03:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 03:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 03:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 03:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610336000,"timestamp_ms":1787610336000,"timestamp_seconds":1787610336,"priority":1,"record_length":96,"hex_timestamp":"000001a035e10b00"} 
[2026-08-25 03:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 03:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 03:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 03:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 03:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 03:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 03:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 03:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 03:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 03:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 03:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 03:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 03:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628168960001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 03:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 03:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 03:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628168960001,"description":"Unknown IO ID 0"} 
[2026-08-25 03:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 03:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 03:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 03:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628168960001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 03:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":162669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 03:59:47] local.INFO: GPS data processed {"connection_id":162669,"processed":1,"errors":0,"total":1} 
[2026-08-25 03:59:47] local.INFO: Acknowledgment sent {"connection_id":162669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:00:19] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 04:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 04:00:19] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 04:00:19] local.INFO: Packet analysis {"connection_id":162669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 04:00:19] local.INFO: Extracted packet for processing {"connection_id":162669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 04:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628168960001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:00:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787610336000,"timestamp_ms":1787610336000,"timestamp_seconds":1787610336,"priority":1,"record_length":96,"hex_timestamp":"000001a035e10b00"} 
[2026-08-25 04:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:00:19] 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-25 04:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628168960001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628168960001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628168960001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":162669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:00:19] local.INFO: GPS data processed {"connection_id":162669,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:00:19] local.INFO: Acknowledgment sent {"connection_id":162669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:00:41] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:00:41] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:00:41] local.INFO: IMEI packet received {"connection_id":161676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":161676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:00:46] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:00:46] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:00:46] local.INFO: IMEI packet received {"connection_id":161676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":161676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:00:48] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 04:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 04:00:48] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e10b00012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 04:00:48] local.INFO: Packet analysis {"connection_id":161676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 04:00:48] local.INFO: Extracted packet for processing {"connection_id":161676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e1"} 
[2026-08-25 04:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628168960001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:00:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787610336000,"timestamp_ms":1787610336000,"timestamp_seconds":1787610336,"priority":1,"record_length":96,"hex_timestamp":"000001a035e10b00"} 
[2026-08-25 04:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628168960001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628168960001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628168960001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":161676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:00:48] local.INFO: GPS data processed {"connection_id":161676,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:00:48] local.INFO: Acknowledgment sent {"connection_id":161676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:01:19] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:01:19] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:01:19] local.INFO: Packet analysis {"connection_id":161676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:01:19] local.INFO: Extracted packet for processing {"connection_id":161676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628246016001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:01:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787610637000,"timestamp_ms":1787610637000,"timestamp_seconds":1787610637,"priority":1,"record_length":96,"hex_timestamp":"000001a035e5a2c8"} 
[2026-08-25 04:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628246016001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628246016001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628246016001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":161676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:01:19] local.INFO: GPS data processed {"connection_id":161676,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:01:19] local.INFO: Acknowledgment sent {"connection_id":161676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:01:46] local.INFO: TCP Data received {"connection_id":161433,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:01:46] local.INFO: Processing buffer {"connection_id":161433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:01:46] local.INFO: IMEI packet received {"connection_id":161433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":161433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:01:51] local.INFO: TCP Data received {"connection_id":161433,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:01:51] local.INFO: Processing buffer {"connection_id":161433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:01:51] local.INFO: IMEI packet received {"connection_id":161433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":161433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:01:52] local.INFO: TCP Data received {"connection_id":161433,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:01:52] local.INFO: Processing buffer {"connection_id":161433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:01:52] local.INFO: Packet analysis {"connection_id":161433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:01:52] local.INFO: Extracted packet for processing {"connection_id":161433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628246016001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:01:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787610637000,"timestamp_ms":1787610637000,"timestamp_seconds":1787610637,"priority":1,"record_length":96,"hex_timestamp":"000001a035e5a2c8"} 
[2026-08-25 04:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:01:52] 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-25 04:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628246016001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628246016001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628246016001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":161433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:01:52] local.INFO: GPS data processed {"connection_id":161433,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:01:52] local.INFO: Acknowledgment sent {"connection_id":161433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:01:57] local.INFO: TCP Data received {"connection_id":161433,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:01:57] local.INFO: Processing buffer {"connection_id":161433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:01:57] local.INFO: Packet analysis {"connection_id":161433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:01:57] local.INFO: Extracted packet for processing {"connection_id":161433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:01:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:01: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-25 04:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628246016001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:01:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787610637000,"timestamp_ms":1787610637000,"timestamp_seconds":1787610637,"priority":1,"record_length":96,"hex_timestamp":"000001a035e5a2c8"} 
[2026-08-25 04:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:01: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-25 04:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:01:57] 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-25 04:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628246016001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628246016001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:01:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628246016001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":161433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:01:57] local.INFO: GPS data processed {"connection_id":161433,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:01:57] local.INFO: Acknowledgment sent {"connection_id":161433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:02:41] local.INFO: TCP Data received {"connection_id":162670,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:02:41] local.INFO: Processing buffer {"connection_id":162670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:02:41] local.INFO: IMEI packet received {"connection_id":162670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":162670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:02:46] local.INFO: TCP Data received {"connection_id":162670,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:02:46] local.INFO: Processing buffer {"connection_id":162670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:02:46] local.INFO: IMEI packet received {"connection_id":162670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":162670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:02:47] local.INFO: TCP Data received {"connection_id":162670,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:02:47] local.INFO: Processing buffer {"connection_id":162670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:02:47] local.INFO: Packet analysis {"connection_id":162670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:02:47] local.INFO: Extracted packet for processing {"connection_id":162670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628246016001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:02:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610637000,"timestamp_ms":1787610637000,"timestamp_seconds":1787610637,"priority":1,"record_length":96,"hex_timestamp":"000001a035e5a2c8"} 
[2026-08-25 04: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-25 04:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:02:47] local.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-25 04:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628246016001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628246016001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628246016001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":162670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:02:47] local.INFO: GPS data processed {"connection_id":162670,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:02:47] local.INFO: Acknowledgment sent {"connection_id":162670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:03:19] local.INFO: TCP Data received {"connection_id":162670,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:03:19] local.INFO: Processing buffer {"connection_id":162670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:03:19] local.INFO: Packet analysis {"connection_id":162670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:03:19] local.INFO: Extracted packet for processing {"connection_id":162670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628246016001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:03:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787610637000,"timestamp_ms":1787610637000,"timestamp_seconds":1787610637,"priority":1,"record_length":96,"hex_timestamp":"000001a035e5a2c8"} 
[2026-08-25 04: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-25 04:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628246016001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628246016001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628246016001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":162670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:03:19] local.INFO: GPS data processed {"connection_id":162670,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:03:19] local.INFO: Acknowledgment sent {"connection_id":162670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:03:41] local.INFO: TCP Data received {"connection_id":161434,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:03:41] local.INFO: Processing buffer {"connection_id":161434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:03:41] local.INFO: IMEI packet received {"connection_id":161434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":161434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:03:46] local.INFO: TCP Data received {"connection_id":161434,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:03:46] local.INFO: Processing buffer {"connection_id":161434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:03:46] local.INFO: IMEI packet received {"connection_id":161434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":161434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:03:47] local.INFO: TCP Data received {"connection_id":161434,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:03:47] local.INFO: Processing buffer {"connection_id":161434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:03:47] local.INFO: Packet analysis {"connection_id":161434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:03:47] local.INFO: Extracted packet for processing {"connection_id":161434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628246016001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610637000,"timestamp_ms":1787610637000,"timestamp_seconds":1787610637,"priority":1,"record_length":96,"hex_timestamp":"000001a035e5a2c8"} 
[2026-08-25 04:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628246016001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628246016001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628246016001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":161434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:03:47] local.INFO: GPS data processed {"connection_id":161434,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:03:47] local.INFO: Acknowledgment sent {"connection_id":161434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:04:18] local.INFO: TCP Data received {"connection_id":161434,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:04:18] local.INFO: Processing buffer {"connection_id":161434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:04:18] local.INFO: Packet analysis {"connection_id":161434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:04:18] local.INFO: Extracted packet for processing {"connection_id":161434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628246016001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:04:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787610637000,"timestamp_ms":1787610637000,"timestamp_seconds":1787610637,"priority":1,"record_length":96,"hex_timestamp":"000001a035e5a2c8"} 
[2026-08-25 04:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:04:18] 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-25 04:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628246016001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628246016001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628246016001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":161434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:04:18] local.INFO: GPS data processed {"connection_id":161434,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:04:18] local.INFO: Acknowledgment sent {"connection_id":161434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:04:41] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:04:41] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:04:41] local.INFO: IMEI packet received {"connection_id":161677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":161677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:04:46] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:04:46] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:04:46] local.INFO: IMEI packet received {"connection_id":161677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":161677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:04:47] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:04:47] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:04:47] local.INFO: Packet analysis {"connection_id":161677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:04:47] local.INFO: Extracted packet for processing {"connection_id":161677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628246016001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:04:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610637000,"timestamp_ms":1787610637000,"timestamp_seconds":1787610637,"priority":1,"record_length":96,"hex_timestamp":"000001a035e5a2c8"} 
[2026-08-25 04:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:04: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-25 04:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628246016001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628246016001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628246016001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":161677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:04:47] local.INFO: GPS data processed {"connection_id":161677,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:04:47] local.INFO: Acknowledgment sent {"connection_id":161677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:05:19] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:05:19] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:05:19] local.INFO: Packet analysis {"connection_id":161677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:05:19] local.INFO: Extracted packet for processing {"connection_id":161677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628246016001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:05:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787610637000,"timestamp_ms":1787610637000,"timestamp_seconds":1787610637,"priority":1,"record_length":96,"hex_timestamp":"000001a035e5a2c8"} 
[2026-08-25 04:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:05: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-25 04:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628246016001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628246016001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628246016001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":161677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:05:19] local.INFO: GPS data processed {"connection_id":161677,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:05:19] local.INFO: Acknowledgment sent {"connection_id":161677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:05:41] local.INFO: TCP Data received {"connection_id":161435,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:05:41] local.INFO: Processing buffer {"connection_id":161435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:05:41] local.INFO: IMEI packet received {"connection_id":161435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":161435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:05:46] local.INFO: TCP Data received {"connection_id":161435,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:05:46] local.INFO: Processing buffer {"connection_id":161435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:05:46] local.INFO: IMEI packet received {"connection_id":161435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":161435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:05:47] local.INFO: TCP Data received {"connection_id":161435,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:05:47] local.INFO: Processing buffer {"connection_id":161435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035e5a2c8012d34c3c006aa46b00012006d2b..."} 
[2026-08-25 04:05:47] local.INFO: Packet analysis {"connection_id":161435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:05:47] local.INFO: Extracted packet for processing {"connection_id":161435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035e5"} 
[2026-08-25 04:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628246016001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:05:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610637000,"timestamp_ms":1787610637000,"timestamp_seconds":1787610637,"priority":1,"record_length":96,"hex_timestamp":"000001a035e5a2c8"} 
[2026-08-25 04:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628246016001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628246016001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628246016001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":161435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:05:47] local.INFO: GPS data processed {"connection_id":161435,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:05:47] local.INFO: Acknowledgment sent {"connection_id":161435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:06:18] local.INFO: TCP Data received {"connection_id":161435,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:06:18] local.INFO: Processing buffer {"connection_id":161435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:06:18] local.INFO: Packet analysis {"connection_id":161435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:06:18] local.INFO: Extracted packet for processing {"connection_id":161435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628323072001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:06:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787610938000,"timestamp_ms":1787610938000,"timestamp_seconds":1787610938,"priority":1,"record_length":96,"hex_timestamp":"000001a035ea3a90"} 
[2026-08-25 04: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-25 04:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628323072001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628323072001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628323072001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":161435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:06:18] local.INFO: GPS data processed {"connection_id":161435,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:06:18] local.INFO: Acknowledgment sent {"connection_id":161435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:06:46] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:06:46] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:06:46] local.INFO: IMEI packet received {"connection_id":161678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":161678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:06:51] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:06:51] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:06:51] local.INFO: IMEI packet received {"connection_id":161678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":161678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:06:52] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:06:52] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:06:52] local.INFO: Packet analysis {"connection_id":161678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:06:52] local.INFO: Extracted packet for processing {"connection_id":161678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628323072001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:06:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787610938000,"timestamp_ms":1787610938000,"timestamp_seconds":1787610938,"priority":1,"record_length":96,"hex_timestamp":"000001a035ea3a90"} 
[2026-08-25 04:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628323072001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628323072001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628323072001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":161678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:06:52] local.INFO: GPS data processed {"connection_id":161678,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:06:52] local.INFO: Acknowledgment sent {"connection_id":161678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:06:57] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:06:57] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:06:57] local.INFO: Packet analysis {"connection_id":161678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:06:57] local.INFO: Extracted packet for processing {"connection_id":161678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:06:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628323072001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:06:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787610938000,"timestamp_ms":1787610938000,"timestamp_seconds":1787610938,"priority":1,"record_length":96,"hex_timestamp":"000001a035ea3a90"} 
[2026-08-25 04:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628323072001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628323072001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:06:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628323072001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":161678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:06:57] local.INFO: GPS data processed {"connection_id":161678,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:06:57] local.INFO: Acknowledgment sent {"connection_id":161678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:07:41] local.INFO: TCP Data received {"connection_id":161679,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:07:41] local.INFO: Processing buffer {"connection_id":161679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:07:41] local.INFO: IMEI packet received {"connection_id":161679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":161679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:07:46] local.INFO: TCP Data received {"connection_id":161679,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:07:46] local.INFO: Processing buffer {"connection_id":161679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:07:46] local.INFO: IMEI packet received {"connection_id":161679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":161679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:07:47] local.INFO: TCP Data received {"connection_id":161679,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:07:47] local.INFO: Processing buffer {"connection_id":161679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:07:47] local.INFO: Packet analysis {"connection_id":161679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:07:47] local.INFO: Extracted packet for processing {"connection_id":161679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628323072001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:07:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610938000,"timestamp_ms":1787610938000,"timestamp_seconds":1787610938,"priority":1,"record_length":96,"hex_timestamp":"000001a035ea3a90"} 
[2026-08-25 04:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:07:47] local.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-25 04:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628323072001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628323072001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628323072001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":161679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:07:47] local.INFO: GPS data processed {"connection_id":161679,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:07:47] local.INFO: Acknowledgment sent {"connection_id":161679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:08:18] local.INFO: TCP Data received {"connection_id":161679,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:08:18] local.INFO: Processing buffer {"connection_id":161679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:08:18] local.INFO: Packet analysis {"connection_id":161679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:08:18] local.INFO: Extracted packet for processing {"connection_id":161679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628323072001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:08:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787610938000,"timestamp_ms":1787610938000,"timestamp_seconds":1787610938,"priority":1,"record_length":96,"hex_timestamp":"000001a035ea3a90"} 
[2026-08-25 04: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-25 04:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628323072001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628323072001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628323072001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":161679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:08:18] local.INFO: GPS data processed {"connection_id":161679,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:08:18] local.INFO: Acknowledgment sent {"connection_id":161679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:08:41] local.INFO: TCP Data received {"connection_id":161436,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:08:41] local.INFO: Processing buffer {"connection_id":161436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:08:41] local.INFO: IMEI packet received {"connection_id":161436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":161436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:08:46] local.INFO: TCP Data received {"connection_id":161436,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:08:46] local.INFO: Processing buffer {"connection_id":161436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:08:46] local.INFO: IMEI packet received {"connection_id":161436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":161436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:08:47] local.INFO: TCP Data received {"connection_id":161436,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:08:47] local.INFO: Processing buffer {"connection_id":161436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:08:47] local.INFO: Packet analysis {"connection_id":161436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:08:47] local.INFO: Extracted packet for processing {"connection_id":161436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628323072001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:08:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610938000,"timestamp_ms":1787610938000,"timestamp_seconds":1787610938,"priority":1,"record_length":96,"hex_timestamp":"000001a035ea3a90"} 
[2026-08-25 04:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628323072001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628323072001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628323072001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":161436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:08:47] local.INFO: GPS data processed {"connection_id":161436,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:08:47] local.INFO: Acknowledgment sent {"connection_id":161436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:09:19] local.INFO: TCP Data received {"connection_id":161436,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:09:19] local.INFO: Processing buffer {"connection_id":161436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:09:19] local.INFO: Packet analysis {"connection_id":161436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:09:19] local.INFO: Extracted packet for processing {"connection_id":161436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:09:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628323072001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:09:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787610938000,"timestamp_ms":1787610938000,"timestamp_seconds":1787610938,"priority":1,"record_length":96,"hex_timestamp":"000001a035ea3a90"} 
[2026-08-25 04:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628323072001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628323072001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:09:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628323072001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":161436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:09:19] local.INFO: GPS data processed {"connection_id":161436,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:09:19] local.INFO: Acknowledgment sent {"connection_id":161436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:09:41] local.INFO: TCP Data received {"connection_id":164062,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:09:41] local.INFO: Processing buffer {"connection_id":164062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:09:41] local.INFO: IMEI packet received {"connection_id":164062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":164062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:09:46] local.INFO: TCP Data received {"connection_id":164062,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:09:46] local.INFO: Processing buffer {"connection_id":164062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:09:46] local.INFO: IMEI packet received {"connection_id":164062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":164062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:09:47] local.INFO: TCP Data received {"connection_id":164062,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:09:47] local.INFO: Processing buffer {"connection_id":164062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:09:47] local.INFO: Packet analysis {"connection_id":164062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:09:47] local.INFO: Extracted packet for processing {"connection_id":164062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628323072001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:09:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610938000,"timestamp_ms":1787610938000,"timestamp_seconds":1787610938,"priority":1,"record_length":96,"hex_timestamp":"000001a035ea3a90"} 
[2026-08-25 04:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:09:47] 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-25 04:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628323072001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628323072001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628323072001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":164062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:09:47] local.INFO: GPS data processed {"connection_id":164062,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:09:47] local.INFO: Acknowledgment sent {"connection_id":164062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:10:19] local.INFO: TCP Data received {"connection_id":164062,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:10:19] local.INFO: Processing buffer {"connection_id":164062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:10:19] local.INFO: Packet analysis {"connection_id":164062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:10:19] local.INFO: Extracted packet for processing {"connection_id":164062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628323072001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:10:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787610938000,"timestamp_ms":1787610938000,"timestamp_seconds":1787610938,"priority":1,"record_length":96,"hex_timestamp":"000001a035ea3a90"} 
[2026-08-25 04:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628323072001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628323072001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628323072001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":164062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:10:19] local.INFO: GPS data processed {"connection_id":164062,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:10:19] local.INFO: Acknowledgment sent {"connection_id":164062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:10:41] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:10:41] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:10:41] local.INFO: IMEI packet received {"connection_id":161680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":161680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:10:46] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:10:46] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:10:46] local.INFO: IMEI packet received {"connection_id":161680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":161680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:10:47] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:10:47] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035ea3a90012d34c3c006aa46b00011006d29..."} 
[2026-08-25 04:10:47] local.INFO: Packet analysis {"connection_id":161680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:10:47] local.INFO: Extracted packet for processing {"connection_id":161680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ea"} 
[2026-08-25 04:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628323072001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:10:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787610938000,"timestamp_ms":1787610938000,"timestamp_seconds":1787610938,"priority":1,"record_length":96,"hex_timestamp":"000001a035ea3a90"} 
[2026-08-25 04:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628323072001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628323072001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628323072001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":161680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:10:47] local.INFO: GPS data processed {"connection_id":161680,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:10:47] local.INFO: Acknowledgment sent {"connection_id":161680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:11:19] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:11:19] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:11:19] local.INFO: Packet analysis {"connection_id":161680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:11:19] local.INFO: Extracted packet for processing {"connection_id":161680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":12,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628400128001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:11:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787611239000,"timestamp_ms":1787611239000,"timestamp_seconds":1787611239,"priority":1,"record_length":96,"hex_timestamp":"000001a035eed258"} 
[2026-08-25 04:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:11: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-25 04:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628400128001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628400128001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628400128001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":161680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:11:19] local.INFO: GPS data processed {"connection_id":161680,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:11:19] local.INFO: Acknowledgment sent {"connection_id":161680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:11:41] local.INFO: TCP Data received {"connection_id":161437,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:11:41] local.INFO: Processing buffer {"connection_id":161437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:11:41] local.INFO: IMEI packet received {"connection_id":161437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":161437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:11:46] local.INFO: TCP Data received {"connection_id":161437,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:11:46] local.INFO: Processing buffer {"connection_id":161437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:11:46] local.INFO: IMEI packet received {"connection_id":161437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":161437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:11:47] local.INFO: TCP Data received {"connection_id":161437,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:11:47] local.INFO: Processing buffer {"connection_id":161437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:11:47] local.INFO: Packet analysis {"connection_id":161437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:11:47] local.INFO: Extracted packet for processing {"connection_id":161437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":12,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628400128001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:11:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787611239000,"timestamp_ms":1787611239000,"timestamp_seconds":1787611239,"priority":1,"record_length":96,"hex_timestamp":"000001a035eed258"} 
[2026-08-25 04:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:11:47] 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-25 04:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628400128001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628400128001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628400128001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":161437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:11:47] local.INFO: GPS data processed {"connection_id":161437,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:11:47] local.INFO: Acknowledgment sent {"connection_id":161437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:12:19] local.INFO: TCP Data received {"connection_id":161437,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:12:19] local.INFO: Processing buffer {"connection_id":161437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:12:19] local.INFO: Packet analysis {"connection_id":161437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:12:19] local.INFO: Extracted packet for processing {"connection_id":161437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:12:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":12,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628400128001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:12:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787611239000,"timestamp_ms":1787611239000,"timestamp_seconds":1787611239,"priority":1,"record_length":96,"hex_timestamp":"000001a035eed258"} 
[2026-08-25 04:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:12:19] 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-25 04:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628400128001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628400128001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:12:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628400128001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":161437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:12:19] local.INFO: GPS data processed {"connection_id":161437,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:12:19] local.INFO: Acknowledgment sent {"connection_id":161437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:12:46] local.INFO: TCP Data received {"connection_id":164063,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:12:46] local.INFO: Processing buffer {"connection_id":164063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:12:46] local.INFO: IMEI packet received {"connection_id":164063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":164063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:12:51] local.INFO: TCP Data received {"connection_id":164063,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:12:51] local.INFO: Processing buffer {"connection_id":164063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:12:51] local.INFO: IMEI packet received {"connection_id":164063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":164063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:12:52] local.INFO: TCP Data received {"connection_id":164063,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:12:52] local.INFO: Processing buffer {"connection_id":164063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:12:52] local.INFO: Packet analysis {"connection_id":164063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:12:52] local.INFO: Extracted packet for processing {"connection_id":164063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":12,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628400128001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:12:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787611239000,"timestamp_ms":1787611239000,"timestamp_seconds":1787611239,"priority":1,"record_length":96,"hex_timestamp":"000001a035eed258"} 
[2026-08-25 04:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:12: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-25 04:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628400128001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628400128001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628400128001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":164063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:12:52] local.INFO: GPS data processed {"connection_id":164063,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:12:52] local.INFO: Acknowledgment sent {"connection_id":164063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:12:57] local.INFO: TCP Data received {"connection_id":164063,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:12:57] local.INFO: Processing buffer {"connection_id":164063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:12:57] local.INFO: Packet analysis {"connection_id":164063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:12:57] local.INFO: Extracted packet for processing {"connection_id":164063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:12:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":12,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628400128001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:12:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787611239000,"timestamp_ms":1787611239000,"timestamp_seconds":1787611239,"priority":1,"record_length":96,"hex_timestamp":"000001a035eed258"} 
[2026-08-25 04:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:12:57] 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-25 04:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628400128001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628400128001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:12:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628400128001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":164063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:12:57] local.INFO: GPS data processed {"connection_id":164063,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:12:57] local.INFO: Acknowledgment sent {"connection_id":164063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:13:41] local.INFO: TCP Data received {"connection_id":161438,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:13:41] local.INFO: Processing buffer {"connection_id":161438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:13:41] local.INFO: IMEI packet received {"connection_id":161438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":161438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:13:46] local.INFO: TCP Data received {"connection_id":161438,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:13:46] local.INFO: Processing buffer {"connection_id":161438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:13:46] local.INFO: IMEI packet received {"connection_id":161438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":161438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:13:47] local.INFO: TCP Data received {"connection_id":161438,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:13:47] local.INFO: Processing buffer {"connection_id":161438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:13:47] local.INFO: Packet analysis {"connection_id":161438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:13:47] local.INFO: Extracted packet for processing {"connection_id":161438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":12,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628400128001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:13:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787611239000,"timestamp_ms":1787611239000,"timestamp_seconds":1787611239,"priority":1,"record_length":96,"hex_timestamp":"000001a035eed258"} 
[2026-08-25 04: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-25 04:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:13: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-25 04:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628400128001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628400128001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628400128001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":161438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:13:47] local.INFO: GPS data processed {"connection_id":161438,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:13:47] local.INFO: Acknowledgment sent {"connection_id":161438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:14:18] local.INFO: TCP Data received {"connection_id":161438,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:14:18] local.INFO: Processing buffer {"connection_id":161438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:14:18] local.INFO: Packet analysis {"connection_id":161438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:14:18] local.INFO: Extracted packet for processing {"connection_id":161438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":12,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628400128001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:14:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787611239000,"timestamp_ms":1787611239000,"timestamp_seconds":1787611239,"priority":1,"record_length":96,"hex_timestamp":"000001a035eed258"} 
[2026-08-25 04: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-25 04:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04: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-25 04: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-25 04:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:14:18] 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-25 04:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628400128001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628400128001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628400128001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":161438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:14:18] local.INFO: GPS data processed {"connection_id":161438,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:14:18] local.INFO: Acknowledgment sent {"connection_id":161438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:14:44] local.INFO: TCP Data received {"connection_id":162671,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:14:44] local.INFO: Processing buffer {"connection_id":162671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:14:44] local.INFO: IMEI packet received {"connection_id":162671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":162671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:14:46] local.INFO: TCP Data received {"connection_id":162671,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:14:46] local.INFO: Processing buffer {"connection_id":162671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:14:46] local.INFO: IMEI packet received {"connection_id":162671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":162671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:14:47] local.INFO: TCP Data received {"connection_id":162671,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:14:47] local.INFO: Processing buffer {"connection_id":162671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:14:47] local.INFO: Packet analysis {"connection_id":162671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:14:47] local.INFO: Extracted packet for processing {"connection_id":162671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":12,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628400128001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:14:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787611239000,"timestamp_ms":1787611239000,"timestamp_seconds":1787611239,"priority":1,"record_length":96,"hex_timestamp":"000001a035eed258"} 
[2026-08-25 04:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628400128001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628400128001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628400128001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":162671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:14:47] local.INFO: GPS data processed {"connection_id":162671,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:14:47] local.INFO: Acknowledgment sent {"connection_id":162671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:14:52] local.INFO: TCP Data received {"connection_id":162671,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:14:52] local.INFO: Processing buffer {"connection_id":162671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:14:52] local.INFO: Packet analysis {"connection_id":162671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:14:52] local.INFO: Extracted packet for processing {"connection_id":162671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":12,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628400128001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:14:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787611239000,"timestamp_ms":1787611239000,"timestamp_seconds":1787611239,"priority":1,"record_length":96,"hex_timestamp":"000001a035eed258"} 
[2026-08-25 04:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628400128001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628400128001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628400128001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":162671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:14:52] local.INFO: GPS data processed {"connection_id":162671,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:14:52] local.INFO: Acknowledgment sent {"connection_id":162671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:15:24] local.INFO: TCP Data received {"connection_id":162671,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:15:24] local.INFO: Processing buffer {"connection_id":162671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:15:24] local.INFO: Packet analysis {"connection_id":162671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:15:24] local.INFO: Extracted packet for processing {"connection_id":162671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":12,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628400128001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:15:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787611239000,"timestamp_ms":1787611239000,"timestamp_seconds":1787611239,"priority":1,"record_length":96,"hex_timestamp":"000001a035eed258"} 
[2026-08-25 04: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-25 04:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:15: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-25 04:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628400128001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628400128001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628400128001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":162671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:15:24] local.INFO: GPS data processed {"connection_id":162671,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:15:24] local.INFO: Acknowledgment sent {"connection_id":162671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:15:41] local.INFO: TCP Data received {"connection_id":161439,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:15:41] local.INFO: Processing buffer {"connection_id":161439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:15:41] local.INFO: IMEI packet received {"connection_id":161439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":161439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:15:49] local.INFO: TCP Data received {"connection_id":161439,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:15:49] local.INFO: Processing buffer {"connection_id":161439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:15:49] local.INFO: IMEI packet received {"connection_id":161439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":161439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:15:50] local.INFO: TCP Data received {"connection_id":161439,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:15:50] local.INFO: Processing buffer {"connection_id":161439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035eed258012d34c3c006aa46b0000c006d2a..."} 
[2026-08-25 04:15:50] local.INFO: Packet analysis {"connection_id":161439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:15:50] local.INFO: Extracted packet for processing {"connection_id":161439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035ee"} 
[2026-08-25 04:15:50] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":12,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628400128001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:15:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787611239000,"timestamp_ms":1787611239000,"timestamp_seconds":1787611239,"priority":1,"record_length":96,"hex_timestamp":"000001a035eed258"} 
[2026-08-25 04: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-25 04:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:15: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-25 04: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-25 04: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-25 04:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:15: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-25 04:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628400128001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628400128001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:15:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628400128001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":161439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:15:50] local.INFO: GPS data processed {"connection_id":161439,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:15:50] local.INFO: Acknowledgment sent {"connection_id":161439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:16:22] local.INFO: TCP Data received {"connection_id":161439,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:16:22] local.INFO: Processing buffer {"connection_id":161439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:16:22] local.INFO: Packet analysis {"connection_id":161439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:16:22] local.INFO: Extracted packet for processing {"connection_id":161439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:16:22] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628477184001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:16:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787611540000,"timestamp_ms":1787611540000,"timestamp_seconds":1787611540,"priority":1,"record_length":96,"hex_timestamp":"000001a035f36a20"} 
[2026-08-25 04: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-25 04:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628477184001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628477184001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:16:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628477184001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":161439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:16:22] local.INFO: GPS data processed {"connection_id":161439,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:16:22] local.INFO: Acknowledgment sent {"connection_id":161439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:16:46] local.INFO: TCP Data received {"connection_id":164064,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:16:46] local.INFO: Processing buffer {"connection_id":164064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:16:46] local.INFO: IMEI packet received {"connection_id":164064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":164064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:16:51] local.INFO: TCP Data received {"connection_id":164064,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:16:51] local.INFO: Processing buffer {"connection_id":164064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:16:51] local.INFO: IMEI packet received {"connection_id":164064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":164064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:16:52] local.INFO: TCP Data received {"connection_id":164064,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:16:52] local.INFO: Processing buffer {"connection_id":164064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:16:52] local.INFO: Packet analysis {"connection_id":164064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:16:52] local.INFO: Extracted packet for processing {"connection_id":164064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628477184001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:16:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787611540000,"timestamp_ms":1787611540000,"timestamp_seconds":1787611540,"priority":1,"record_length":96,"hex_timestamp":"000001a035f36a20"} 
[2026-08-25 04:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628477184001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628477184001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628477184001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":164064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:16:52] local.INFO: GPS data processed {"connection_id":164064,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:16:52] local.INFO: Acknowledgment sent {"connection_id":164064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:16:57] local.INFO: TCP Data received {"connection_id":164064,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:16:57] local.INFO: Processing buffer {"connection_id":164064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:16:57] local.INFO: Packet analysis {"connection_id":164064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:16:57] local.INFO: Extracted packet for processing {"connection_id":164064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:16:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628477184001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:16:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787611540000,"timestamp_ms":1787611540000,"timestamp_seconds":1787611540,"priority":1,"record_length":96,"hex_timestamp":"000001a035f36a20"} 
[2026-08-25 04: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-25 04:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628477184001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628477184001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:16:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628477184001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":164064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:16:57] local.INFO: GPS data processed {"connection_id":164064,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:16:57] local.INFO: Acknowledgment sent {"connection_id":164064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:17:41] local.INFO: TCP Data received {"connection_id":161440,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:17:41] local.INFO: Processing buffer {"connection_id":161440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:17:41] local.INFO: IMEI packet received {"connection_id":161440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":161440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:17:46] local.INFO: TCP Data received {"connection_id":161440,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:17:46] local.INFO: Processing buffer {"connection_id":161440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:17:46] local.INFO: IMEI packet received {"connection_id":161440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":161440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:17:47] local.INFO: TCP Data received {"connection_id":161440,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:17:47] local.INFO: Processing buffer {"connection_id":161440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:17:47] local.INFO: Packet analysis {"connection_id":161440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:17:47] local.INFO: Extracted packet for processing {"connection_id":161440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628477184001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:17:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787611540000,"timestamp_ms":1787611540000,"timestamp_seconds":1787611540,"priority":1,"record_length":96,"hex_timestamp":"000001a035f36a20"} 
[2026-08-25 04:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628477184001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628477184001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628477184001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":161440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:17:47] local.INFO: GPS data processed {"connection_id":161440,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:17:47] local.INFO: Acknowledgment sent {"connection_id":161440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:18:18] local.INFO: TCP Data received {"connection_id":161440,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:18:18] local.INFO: Processing buffer {"connection_id":161440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:18:18] local.INFO: Packet analysis {"connection_id":161440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:18:18] local.INFO: Extracted packet for processing {"connection_id":161440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628477184001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:18:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787611540000,"timestamp_ms":1787611540000,"timestamp_seconds":1787611540,"priority":1,"record_length":96,"hex_timestamp":"000001a035f36a20"} 
[2026-08-25 04: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-25 04:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628477184001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628477184001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628477184001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":161440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:18:18] local.INFO: GPS data processed {"connection_id":161440,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:18:18] local.INFO: Acknowledgment sent {"connection_id":161440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:18:41] local.INFO: TCP Data received {"connection_id":164065,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:18:41] local.INFO: Processing buffer {"connection_id":164065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:18:41] local.INFO: IMEI packet received {"connection_id":164065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":164065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:18:46] local.INFO: TCP Data received {"connection_id":164065,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:18:46] local.INFO: Processing buffer {"connection_id":164065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:18:46] local.INFO: IMEI packet received {"connection_id":164065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":164065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:18:47] local.INFO: TCP Data received {"connection_id":164065,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:18:47] local.INFO: Processing buffer {"connection_id":164065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:18:47] local.INFO: Packet analysis {"connection_id":164065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:18:47] local.INFO: Extracted packet for processing {"connection_id":164065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628477184001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:18:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787611540000,"timestamp_ms":1787611540000,"timestamp_seconds":1787611540,"priority":1,"record_length":96,"hex_timestamp":"000001a035f36a20"} 
[2026-08-25 04:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628477184001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628477184001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628477184001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":164065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:18:47] local.INFO: GPS data processed {"connection_id":164065,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:18:47] local.INFO: Acknowledgment sent {"connection_id":164065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:19:18] local.INFO: TCP Data received {"connection_id":164065,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:19:18] local.INFO: Processing buffer {"connection_id":164065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:19:18] local.INFO: Packet analysis {"connection_id":164065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:19:18] local.INFO: Extracted packet for processing {"connection_id":164065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628477184001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:19:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787611540000,"timestamp_ms":1787611540000,"timestamp_seconds":1787611540,"priority":1,"record_length":96,"hex_timestamp":"000001a035f36a20"} 
[2026-08-25 04:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:19:18] 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-25 04:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628477184001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628477184001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628477184001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":164065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:19:18] local.INFO: GPS data processed {"connection_id":164065,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:19:18] local.INFO: Acknowledgment sent {"connection_id":164065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:19:41] local.INFO: TCP Data received {"connection_id":164066,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:19:41] local.INFO: Processing buffer {"connection_id":164066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:19:41] local.INFO: IMEI packet received {"connection_id":164066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":164066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:19:46] local.INFO: TCP Data received {"connection_id":164066,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:19:46] local.INFO: Processing buffer {"connection_id":164066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:19:46] local.INFO: IMEI packet received {"connection_id":164066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":164066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:19:47] local.INFO: TCP Data received {"connection_id":164066,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:19:47] local.INFO: Processing buffer {"connection_id":164066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:19:47] local.INFO: Packet analysis {"connection_id":164066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:19:47] local.INFO: Extracted packet for processing {"connection_id":164066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628477184001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:19:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787611540000,"timestamp_ms":1787611540000,"timestamp_seconds":1787611540,"priority":1,"record_length":96,"hex_timestamp":"000001a035f36a20"} 
[2026-08-25 04:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628477184001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628477184001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:19:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628477184001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":164066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:19:47] local.INFO: GPS data processed {"connection_id":164066,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:19:47] local.INFO: Acknowledgment sent {"connection_id":164066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:20:18] local.INFO: TCP Data received {"connection_id":164066,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:20:18] local.INFO: Processing buffer {"connection_id":164066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:20:18] local.INFO: Packet analysis {"connection_id":164066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:20:18] local.INFO: Extracted packet for processing {"connection_id":164066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:20:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628477184001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:20:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787611540000,"timestamp_ms":1787611540000,"timestamp_seconds":1787611540,"priority":1,"record_length":96,"hex_timestamp":"000001a035f36a20"} 
[2026-08-25 04: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-25 04:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:20:18] 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-25 04:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628477184001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628477184001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:20:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628477184001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":164066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:20:18] local.INFO: GPS data processed {"connection_id":164066,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:20:18] local.INFO: Acknowledgment sent {"connection_id":164066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:20:41] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:20:41] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:20:41] local.INFO: IMEI packet received {"connection_id":161441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":161441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:20:46] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:20:46] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:20:46] local.INFO: IMEI packet received {"connection_id":161441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":161441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:20:47] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:20:47] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:20:47] local.INFO: Packet analysis {"connection_id":161441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:20:47] local.INFO: Extracted packet for processing {"connection_id":161441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628477184001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:20:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787611540000,"timestamp_ms":1787611540000,"timestamp_seconds":1787611540,"priority":1,"record_length":96,"hex_timestamp":"000001a035f36a20"} 
[2026-08-25 04:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:20:47] local.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-25 04:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628477184001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628477184001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628477184001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":161441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:20:47] local.INFO: GPS data processed {"connection_id":161441,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:20:47] local.INFO: Acknowledgment sent {"connection_id":161441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:21:19] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:21:19] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f36a20012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:21:19] local.INFO: Packet analysis {"connection_id":161441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:21:19] local.INFO: Extracted packet for processing {"connection_id":161441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f3"} 
[2026-08-25 04:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628477184001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:21:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787611540000,"timestamp_ms":1787611540000,"timestamp_seconds":1787611540,"priority":1,"record_length":96,"hex_timestamp":"000001a035f36a20"} 
[2026-08-25 04:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628477184001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628477184001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628477184001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":161441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:21:19] local.INFO: GPS data processed {"connection_id":161441,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:21:19] local.INFO: Acknowledgment sent {"connection_id":161441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:21:46] local.INFO: TCP Data received {"connection_id":164067,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:21:46] local.INFO: Processing buffer {"connection_id":164067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:21:46] local.INFO: IMEI packet received {"connection_id":164067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":164067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:21:51] local.INFO: TCP Data received {"connection_id":164067,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:21:51] local.INFO: Processing buffer {"connection_id":164067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:21:51] local.INFO: IMEI packet received {"connection_id":164067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":164067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:21:52] local.INFO: TCP Data received {"connection_id":164067,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:21:52] local.INFO: Processing buffer {"connection_id":164067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:21:52] local.INFO: Packet analysis {"connection_id":164067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:21:52] local.INFO: Extracted packet for processing {"connection_id":164067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628554240001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:21:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787611841000,"timestamp_ms":1787611841000,"timestamp_seconds":1787611841,"priority":1,"record_length":96,"hex_timestamp":"000001a035f801e8"} 
[2026-08-25 04:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628554240001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628554240001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628554240001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":164067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:21:52] local.INFO: GPS data processed {"connection_id":164067,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:21:52] local.INFO: Acknowledgment sent {"connection_id":164067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:22:25] local.INFO: TCP Data received {"connection_id":164067,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:22:25] local.INFO: Processing buffer {"connection_id":164067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:22:25] local.INFO: Packet analysis {"connection_id":164067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:22:25] local.INFO: Extracted packet for processing {"connection_id":164067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:22:25] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628554240001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:22:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787611841000,"timestamp_ms":1787611841000,"timestamp_seconds":1787611841,"priority":1,"record_length":96,"hex_timestamp":"000001a035f801e8"} 
[2026-08-25 04:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 04:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628554240001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628554240001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:22:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628554240001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":164067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:22:25] local.INFO: GPS data processed {"connection_id":164067,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:22:25] local.INFO: Acknowledgment sent {"connection_id":164067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:22:41] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:22:41] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:22:41] local.INFO: IMEI packet received {"connection_id":161681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":161681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:22:46] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:22:46] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:22:46] local.INFO: IMEI packet received {"connection_id":161681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":161681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:22:47] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:22:47] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:22:47] local.INFO: Packet analysis {"connection_id":161681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:22:47] local.INFO: Extracted packet for processing {"connection_id":161681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628554240001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:22:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787611841000,"timestamp_ms":1787611841000,"timestamp_seconds":1787611841,"priority":1,"record_length":96,"hex_timestamp":"000001a035f801e8"} 
[2026-08-25 04:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628554240001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628554240001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628554240001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":161681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:22:47] local.INFO: GPS data processed {"connection_id":161681,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:22:47] local.INFO: Acknowledgment sent {"connection_id":161681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:23:19] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:23:19] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:23:19] local.INFO: Packet analysis {"connection_id":161681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:23:19] local.INFO: Extracted packet for processing {"connection_id":161681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628554240001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:23:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787611841000,"timestamp_ms":1787611841000,"timestamp_seconds":1787611841,"priority":1,"record_length":96,"hex_timestamp":"000001a035f801e8"} 
[2026-08-25 04:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:23:19] 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-25 04:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628554240001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628554240001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628554240001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":161681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:23:19] local.INFO: GPS data processed {"connection_id":161681,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:23:19] local.INFO: Acknowledgment sent {"connection_id":161681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:23:41] local.INFO: TCP Data received {"connection_id":162672,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:23:41] local.INFO: Processing buffer {"connection_id":162672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:23:41] local.INFO: IMEI packet received {"connection_id":162672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":162672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:23:46] local.INFO: TCP Data received {"connection_id":162672,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:23:46] local.INFO: Processing buffer {"connection_id":162672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:23:46] local.INFO: IMEI packet received {"connection_id":162672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":162672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:23:47] local.INFO: TCP Data received {"connection_id":162672,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:23:47] local.INFO: Processing buffer {"connection_id":162672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:23:47] local.INFO: Packet analysis {"connection_id":162672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:23:47] local.INFO: Extracted packet for processing {"connection_id":162672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628554240001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:23:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787611841000,"timestamp_ms":1787611841000,"timestamp_seconds":1787611841,"priority":1,"record_length":96,"hex_timestamp":"000001a035f801e8"} 
[2026-08-25 04: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-25 04:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628554240001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628554240001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628554240001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":162672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:23:47] local.INFO: GPS data processed {"connection_id":162672,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:23:47] local.INFO: Acknowledgment sent {"connection_id":162672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:24:19] local.INFO: TCP Data received {"connection_id":162672,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:24:19] local.INFO: Processing buffer {"connection_id":162672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:24:19] local.INFO: Packet analysis {"connection_id":162672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:24:19] local.INFO: Extracted packet for processing {"connection_id":162672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628554240001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:24:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787611841000,"timestamp_ms":1787611841000,"timestamp_seconds":1787611841,"priority":1,"record_length":96,"hex_timestamp":"000001a035f801e8"} 
[2026-08-25 04: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-25 04:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628554240001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628554240001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628554240001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":162672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:24:19] local.INFO: GPS data processed {"connection_id":162672,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:24:19] local.INFO: Acknowledgment sent {"connection_id":162672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:24:41] local.INFO: TCP Data received {"connection_id":161682,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:24:41] local.INFO: Processing buffer {"connection_id":161682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:24:41] local.INFO: IMEI packet received {"connection_id":161682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":161682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:24:46] local.INFO: TCP Data received {"connection_id":161682,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:24:46] local.INFO: Processing buffer {"connection_id":161682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:24:46] local.INFO: IMEI packet received {"connection_id":161682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":161682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:24:47] local.INFO: TCP Data received {"connection_id":161682,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:24:47] local.INFO: Processing buffer {"connection_id":161682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:24:47] local.INFO: Packet analysis {"connection_id":161682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:24:47] local.INFO: Extracted packet for processing {"connection_id":161682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628554240001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:24:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787611841000,"timestamp_ms":1787611841000,"timestamp_seconds":1787611841,"priority":1,"record_length":96,"hex_timestamp":"000001a035f801e8"} 
[2026-08-25 04:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:24:47] 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-25 04:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628554240001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628554240001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628554240001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":161682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:24:47] local.INFO: GPS data processed {"connection_id":161682,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:24:47] local.INFO: Acknowledgment sent {"connection_id":161682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:25:18] local.INFO: TCP Data received {"connection_id":161682,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:25:18] local.INFO: Processing buffer {"connection_id":161682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:25:18] local.INFO: Packet analysis {"connection_id":161682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:25:18] local.INFO: Extracted packet for processing {"connection_id":161682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628554240001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:25:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787611841000,"timestamp_ms":1787611841000,"timestamp_seconds":1787611841,"priority":1,"record_length":96,"hex_timestamp":"000001a035f801e8"} 
[2026-08-25 04:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:25:18] 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-25 04:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628554240001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628554240001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628554240001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":161682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:25:18] local.INFO: GPS data processed {"connection_id":161682,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:25:18] local.INFO: Acknowledgment sent {"connection_id":161682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:25:41] local.INFO: TCP Data received {"connection_id":164068,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:25:41] local.INFO: Processing buffer {"connection_id":164068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:25:41] local.INFO: IMEI packet received {"connection_id":164068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":164068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:25:51] local.INFO: TCP Data received {"connection_id":164068,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:25:51] local.INFO: Processing buffer {"connection_id":164068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:25:51] local.INFO: IMEI packet received {"connection_id":164068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":164068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:25:52] local.INFO: TCP Data received {"connection_id":164068,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:25:52] local.INFO: Processing buffer {"connection_id":164068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035f801e8012d34c3c006aa46b00018006d2a..."} 
[2026-08-25 04:25:52] local.INFO: Packet analysis {"connection_id":164068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:25:52] local.INFO: Extracted packet for processing {"connection_id":164068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035f8"} 
[2026-08-25 04:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628554240001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:25:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787611841000,"timestamp_ms":1787611841000,"timestamp_seconds":1787611841,"priority":1,"record_length":96,"hex_timestamp":"000001a035f801e8"} 
[2026-08-25 04:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628554240001,"66":25680,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628554240001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628554240001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":164068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:25:52] local.INFO: GPS data processed {"connection_id":164068,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:25:52] local.INFO: Acknowledgment sent {"connection_id":164068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:26:24] local.INFO: TCP Data received {"connection_id":164068,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:26:24] local.INFO: Processing buffer {"connection_id":164068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:26:24] local.INFO: Packet analysis {"connection_id":164068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:26:24] local.INFO: Extracted packet for processing {"connection_id":164068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628631296001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:26:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787612142000,"timestamp_ms":1787612142000,"timestamp_seconds":1787612142,"priority":1,"record_length":96,"hex_timestamp":"000001a035fc99b0"} 
[2026-08-25 04:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 04:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628631296001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628631296001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628631296001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":164068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:26:24] local.INFO: GPS data processed {"connection_id":164068,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:26:24] local.INFO: Acknowledgment sent {"connection_id":164068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:26:46] local.INFO: TCP Data received {"connection_id":162673,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:26:46] local.INFO: Processing buffer {"connection_id":162673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:26:46] local.INFO: IMEI packet received {"connection_id":162673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":162673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:26:51] local.INFO: TCP Data received {"connection_id":162673,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:26:51] local.INFO: Processing buffer {"connection_id":162673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:26:51] local.INFO: IMEI packet received {"connection_id":162673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":162673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:26:52] local.INFO: TCP Data received {"connection_id":162673,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:26:52] local.INFO: Processing buffer {"connection_id":162673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:26:52] local.INFO: Packet analysis {"connection_id":162673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:26:52] local.INFO: Extracted packet for processing {"connection_id":162673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:26:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628631296001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:26:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787612142000,"timestamp_ms":1787612142000,"timestamp_seconds":1787612142,"priority":1,"record_length":96,"hex_timestamp":"000001a035fc99b0"} 
[2026-08-25 04:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 04:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628631296001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628631296001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:26:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628631296001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":162673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:26:52] local.INFO: GPS data processed {"connection_id":162673,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:26:52] local.INFO: Acknowledgment sent {"connection_id":162673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:27:24] local.INFO: TCP Data received {"connection_id":162673,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:27:24] local.INFO: Processing buffer {"connection_id":162673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:27:24] local.INFO: Packet analysis {"connection_id":162673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:27:24] local.INFO: Extracted packet for processing {"connection_id":162673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628631296001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:27:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787612142000,"timestamp_ms":1787612142000,"timestamp_seconds":1787612142,"priority":1,"record_length":96,"hex_timestamp":"000001a035fc99b0"} 
[2026-08-25 04: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-25 04:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 04:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628631296001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628631296001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628631296001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":162673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:27:24] local.INFO: GPS data processed {"connection_id":162673,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:27:24] local.INFO: Acknowledgment sent {"connection_id":162673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:27:41] local.INFO: TCP Data received {"connection_id":164069,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:27:41] local.INFO: Processing buffer {"connection_id":164069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:27:41] local.INFO: IMEI packet received {"connection_id":164069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":164069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:27:46] local.INFO: TCP Data received {"connection_id":164069,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:27:46] local.INFO: Processing buffer {"connection_id":164069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:27:46] local.INFO: IMEI packet received {"connection_id":164069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":164069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:27:47] local.INFO: TCP Data received {"connection_id":164069,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:27:47] local.INFO: Processing buffer {"connection_id":164069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:27:47] local.INFO: Packet analysis {"connection_id":164069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:27:47] local.INFO: Extracted packet for processing {"connection_id":164069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628631296001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:27:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787612142000,"timestamp_ms":1787612142000,"timestamp_seconds":1787612142,"priority":1,"record_length":96,"hex_timestamp":"000001a035fc99b0"} 
[2026-08-25 04:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 04:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:27:47] 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-25 04:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628631296001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628631296001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628631296001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":164069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:27:47] local.INFO: GPS data processed {"connection_id":164069,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:27:47] local.INFO: Acknowledgment sent {"connection_id":164069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:28:18] local.INFO: TCP Data received {"connection_id":164069,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:28:18] local.INFO: Processing buffer {"connection_id":164069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:28:18] local.INFO: Packet analysis {"connection_id":164069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:28:18] local.INFO: Extracted packet for processing {"connection_id":164069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:28:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628631296001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:28:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787612142000,"timestamp_ms":1787612142000,"timestamp_seconds":1787612142,"priority":1,"record_length":96,"hex_timestamp":"000001a035fc99b0"} 
[2026-08-25 04:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 04:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:28:18] 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-25 04:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628631296001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628631296001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:28:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628631296001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":164069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:28:18] local.INFO: GPS data processed {"connection_id":164069,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:28:18] local.INFO: Acknowledgment sent {"connection_id":164069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:28:45] local.INFO: TCP Data received {"connection_id":161683,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:28:45] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:28:45] local.INFO: IMEI packet received {"connection_id":161683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":161683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:28:46] local.INFO: TCP Data received {"connection_id":161683,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:28:46] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:28:46] local.INFO: IMEI packet received {"connection_id":161683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":161683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:28:47] local.INFO: TCP Data received {"connection_id":161683,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:28:47] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:28:47] local.INFO: Packet analysis {"connection_id":161683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:28:47] local.INFO: Extracted packet for processing {"connection_id":161683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628631296001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:28:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787612142000,"timestamp_ms":1787612142000,"timestamp_seconds":1787612142,"priority":1,"record_length":96,"hex_timestamp":"000001a035fc99b0"} 
[2026-08-25 04:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 04:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628631296001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628631296001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628631296001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":161683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:28:47] local.INFO: GPS data processed {"connection_id":161683,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:28:47] local.INFO: Acknowledgment sent {"connection_id":161683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:28:53] local.INFO: TCP Data received {"connection_id":161683,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:28:53] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:28:53] local.INFO: Packet analysis {"connection_id":161683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:28:53] local.INFO: Extracted packet for processing {"connection_id":161683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628631296001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:28:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787612142000,"timestamp_ms":1787612142000,"timestamp_seconds":1787612142,"priority":1,"record_length":96,"hex_timestamp":"000001a035fc99b0"} 
[2026-08-25 04: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-25 04:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 04:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:28:53] 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-25 04:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628631296001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628631296001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628631296001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":161683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:28:53] local.INFO: GPS data processed {"connection_id":161683,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:28:53] local.INFO: Acknowledgment sent {"connection_id":161683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:29:24] local.INFO: TCP Data received {"connection_id":161683,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:29:24] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:29:24] local.INFO: Packet analysis {"connection_id":161683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:29:24] local.INFO: Extracted packet for processing {"connection_id":161683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628631296001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:29:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787612142000,"timestamp_ms":1787612142000,"timestamp_seconds":1787612142,"priority":1,"record_length":96,"hex_timestamp":"000001a035fc99b0"} 
[2026-08-25 04:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 04:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:29: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-25 04:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628631296001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628631296001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628631296001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":161683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:29:24] local.INFO: GPS data processed {"connection_id":161683,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:29:24] local.INFO: Acknowledgment sent {"connection_id":161683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:29:41] local.INFO: TCP Data received {"connection_id":161684,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:29:41] local.INFO: Processing buffer {"connection_id":161684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:29:41] local.INFO: IMEI packet received {"connection_id":161684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":161684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:29:46] local.INFO: TCP Data received {"connection_id":161684,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:29:46] local.INFO: Processing buffer {"connection_id":161684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:29:46] local.INFO: IMEI packet received {"connection_id":161684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":161684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:29:47] local.INFO: TCP Data received {"connection_id":161684,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:29:47] local.INFO: Processing buffer {"connection_id":161684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:29:47] local.INFO: Packet analysis {"connection_id":161684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:29:47] local.INFO: Extracted packet for processing {"connection_id":161684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628631296001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:29:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787612142000,"timestamp_ms":1787612142000,"timestamp_seconds":1787612142,"priority":1,"record_length":96,"hex_timestamp":"000001a035fc99b0"} 
[2026-08-25 04:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 04:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:29:47] local.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-25 04:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628631296001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628631296001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628631296001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":161684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":693999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:29:47] local.INFO: GPS data processed {"connection_id":161684,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:29:47] local.INFO: Acknowledgment sent {"connection_id":161684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:30:18] local.INFO: TCP Data received {"connection_id":161684,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:30:18] local.INFO: Processing buffer {"connection_id":161684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:30:18] local.INFO: Packet analysis {"connection_id":161684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:30:18] local.INFO: Extracted packet for processing {"connection_id":161684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628631296001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:30:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787612142000,"timestamp_ms":1787612142000,"timestamp_seconds":1787612142,"priority":1,"record_length":96,"hex_timestamp":"000001a035fc99b0"} 
[2026-08-25 04:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 04:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628631296001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628631296001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628631296001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":161684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:30:18] local.INFO: GPS data processed {"connection_id":161684,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:30:18] local.INFO: Acknowledgment sent {"connection_id":161684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:30:41] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:30:41] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:30:41] local.INFO: IMEI packet received {"connection_id":161685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":161685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:30:46] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:30:46] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:30:46] local.INFO: IMEI packet received {"connection_id":161685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":161685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:30:47] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:30:47] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:30:47] local.INFO: Packet analysis {"connection_id":161685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:30:47] local.INFO: Extracted packet for processing {"connection_id":161685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628631296001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:30:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787612142000,"timestamp_ms":1787612142000,"timestamp_seconds":1787612142,"priority":1,"record_length":96,"hex_timestamp":"000001a035fc99b0"} 
[2026-08-25 04:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 04:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628631296001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628631296001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628631296001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":161685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:30:47] local.INFO: GPS data processed {"connection_id":161685,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:30:47] local.INFO: Acknowledgment sent {"connection_id":161685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:31:18] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:31:18] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a035fc99b0012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 04:31:18] local.INFO: Packet analysis {"connection_id":161685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:31:18] local.INFO: Extracted packet for processing {"connection_id":161685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a035fc"} 
[2026-08-25 04:31:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628631296001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:31:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787612142000,"timestamp_ms":1787612142000,"timestamp_seconds":1787612142,"priority":1,"record_length":96,"hex_timestamp":"000001a035fc99b0"} 
[2026-08-25 04:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 04:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:31:18] 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-25 04:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628631296001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628631296001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:31:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628631296001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":161685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:31:18] local.INFO: GPS data processed {"connection_id":161685,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:31:18] local.INFO: Acknowledgment sent {"connection_id":161685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:31:46] local.INFO: TCP Data received {"connection_id":162674,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:31:46] local.INFO: Processing buffer {"connection_id":162674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:31:46] local.INFO: IMEI packet received {"connection_id":162674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":162674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:31:51] local.INFO: TCP Data received {"connection_id":162674,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:31:51] local.INFO: Processing buffer {"connection_id":162674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:31:51] local.INFO: IMEI packet received {"connection_id":162674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":162674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:31:52] local.INFO: TCP Data received {"connection_id":162674,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:31:52] local.INFO: Processing buffer {"connection_id":162674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:31:52] local.INFO: Packet analysis {"connection_id":162674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:31:52] local.INFO: Extracted packet for processing {"connection_id":162674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628708352001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:31:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787612443000,"timestamp_ms":1787612443000,"timestamp_seconds":1787612443,"priority":1,"record_length":96,"hex_timestamp":"000001a036013178"} 
[2026-08-25 04:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628708352001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628708352001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628708352001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":162674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:31:52] local.INFO: GPS data processed {"connection_id":162674,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:31:52] local.INFO: Acknowledgment sent {"connection_id":162674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:31:56] local.INFO: TCP Data received {"connection_id":162674,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:31:56] local.INFO: Processing buffer {"connection_id":162674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:31:56] local.INFO: Packet analysis {"connection_id":162674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:31:56] local.INFO: Extracted packet for processing {"connection_id":162674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:31:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628708352001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:31:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787612443000,"timestamp_ms":1787612443000,"timestamp_seconds":1787612443,"priority":1,"record_length":96,"hex_timestamp":"000001a036013178"} 
[2026-08-25 04:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:31: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-25 04:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628708352001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628708352001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:31:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628708352001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":162674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:31:56] local.INFO: GPS data processed {"connection_id":162674,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:31:56] local.INFO: Acknowledgment sent {"connection_id":162674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:32:41] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:32:41] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:32:41] local.INFO: IMEI packet received {"connection_id":162675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":162675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:32:46] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:32:46] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:32:46] local.INFO: IMEI packet received {"connection_id":162675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":162675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:32:47] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:32:47] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:32:47] local.INFO: Packet analysis {"connection_id":162675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:32:47] local.INFO: Extracted packet for processing {"connection_id":162675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628708352001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:32:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787612443000,"timestamp_ms":1787612443000,"timestamp_seconds":1787612443,"priority":1,"record_length":96,"hex_timestamp":"000001a036013178"} 
[2026-08-25 04:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628708352001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628708352001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628708352001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":162675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:32:47] local.INFO: GPS data processed {"connection_id":162675,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:32:47] local.INFO: Acknowledgment sent {"connection_id":162675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:33:18] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:33:19] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:33:19] local.INFO: Packet analysis {"connection_id":162675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:33:19] local.INFO: Extracted packet for processing {"connection_id":162675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628708352001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:33:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787612443000,"timestamp_ms":1787612443000,"timestamp_seconds":1787612443,"priority":1,"record_length":96,"hex_timestamp":"000001a036013178"} 
[2026-08-25 04:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628708352001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628708352001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628708352001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":162675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:33:19] local.INFO: GPS data processed {"connection_id":162675,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:33:19] local.INFO: Acknowledgment sent {"connection_id":162675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:33:41] local.INFO: TCP Data received {"connection_id":164070,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:33:41] local.INFO: Processing buffer {"connection_id":164070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:33:41] local.INFO: IMEI packet received {"connection_id":164070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":164070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:33:46] local.INFO: TCP Data received {"connection_id":164070,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:33:46] local.INFO: Processing buffer {"connection_id":164070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:33:46] local.INFO: IMEI packet received {"connection_id":164070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":164070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:33:47] local.INFO: TCP Data received {"connection_id":164070,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:33:47] local.INFO: Processing buffer {"connection_id":164070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:33:47] local.INFO: Packet analysis {"connection_id":164070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:33:47] local.INFO: Extracted packet for processing {"connection_id":164070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628708352001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:33:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787612443000,"timestamp_ms":1787612443000,"timestamp_seconds":1787612443,"priority":1,"record_length":96,"hex_timestamp":"000001a036013178"} 
[2026-08-25 04:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628708352001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628708352001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628708352001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":164070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:33:47] local.INFO: GPS data processed {"connection_id":164070,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:33:47] local.INFO: Acknowledgment sent {"connection_id":164070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:34:18] local.INFO: TCP Data received {"connection_id":164070,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:34:18] local.INFO: Processing buffer {"connection_id":164070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:34:18] local.INFO: Packet analysis {"connection_id":164070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:34:18] local.INFO: Extracted packet for processing {"connection_id":164070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628708352001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:34:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787612443000,"timestamp_ms":1787612443000,"timestamp_seconds":1787612443,"priority":1,"record_length":96,"hex_timestamp":"000001a036013178"} 
[2026-08-25 04:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628708352001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628708352001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628708352001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":164070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:34:18] local.INFO: GPS data processed {"connection_id":164070,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:34:18] local.INFO: Acknowledgment sent {"connection_id":164070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:34:41] local.INFO: TCP Data received {"connection_id":164071,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:34:41] local.INFO: Processing buffer {"connection_id":164071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:34:41] local.INFO: IMEI packet received {"connection_id":164071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":164071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:34:46] local.INFO: TCP Data received {"connection_id":164071,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:34:46] local.INFO: Processing buffer {"connection_id":164071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:34:46] local.INFO: IMEI packet received {"connection_id":164071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":164071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:34:47] local.INFO: TCP Data received {"connection_id":164071,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:34:47] local.INFO: Processing buffer {"connection_id":164071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:34:47] local.INFO: Packet analysis {"connection_id":164071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:34:47] local.INFO: Extracted packet for processing {"connection_id":164071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628708352001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:34:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787612443000,"timestamp_ms":1787612443000,"timestamp_seconds":1787612443,"priority":1,"record_length":96,"hex_timestamp":"000001a036013178"} 
[2026-08-25 04:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628708352001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628708352001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628708352001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":164071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:34:47] local.INFO: GPS data processed {"connection_id":164071,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:34:47] local.INFO: Acknowledgment sent {"connection_id":164071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:35:18] local.INFO: TCP Data received {"connection_id":164071,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:35:18] local.INFO: Processing buffer {"connection_id":164071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:35:18] local.INFO: Packet analysis {"connection_id":164071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:35:18] local.INFO: Extracted packet for processing {"connection_id":164071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628708352001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:35:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787612443000,"timestamp_ms":1787612443000,"timestamp_seconds":1787612443,"priority":1,"record_length":96,"hex_timestamp":"000001a036013178"} 
[2026-08-25 04:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628708352001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628708352001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628708352001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":164071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:35:18] local.INFO: GPS data processed {"connection_id":164071,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:35:18] local.INFO: Acknowledgment sent {"connection_id":164071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:35:41] local.INFO: TCP Data received {"connection_id":161686,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:35:41] local.INFO: Processing buffer {"connection_id":161686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:35:41] local.INFO: IMEI packet received {"connection_id":161686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":161686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:35:46] local.INFO: TCP Data received {"connection_id":161686,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:35:46] local.INFO: Processing buffer {"connection_id":161686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:35:46] local.INFO: IMEI packet received {"connection_id":161686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":161686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:35:47] local.INFO: TCP Data received {"connection_id":161686,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:35:47] local.INFO: Processing buffer {"connection_id":161686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:35:47] local.INFO: Packet analysis {"connection_id":161686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:35:47] local.INFO: Extracted packet for processing {"connection_id":161686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628708352001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:35:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787612443000,"timestamp_ms":1787612443000,"timestamp_seconds":1787612443,"priority":1,"record_length":96,"hex_timestamp":"000001a036013178"} 
[2026-08-25 04:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628708352001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628708352001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628708352001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":161686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:35:47] local.INFO: GPS data processed {"connection_id":161686,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:35:47] local.INFO: Acknowledgment sent {"connection_id":161686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:36:18] local.INFO: TCP Data received {"connection_id":161686,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:36:18] local.INFO: Processing buffer {"connection_id":161686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036013178012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:36:18] local.INFO: Packet analysis {"connection_id":161686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:36:18] local.INFO: Extracted packet for processing {"connection_id":161686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03601"} 
[2026-08-25 04:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628708352001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:36:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787612443000,"timestamp_ms":1787612443000,"timestamp_seconds":1787612443,"priority":1,"record_length":96,"hex_timestamp":"000001a036013178"} 
[2026-08-25 04:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628708352001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628708352001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628708352001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":161686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:36:18] local.INFO: GPS data processed {"connection_id":161686,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:36:18] local.INFO: Acknowledgment sent {"connection_id":161686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:36:46] local.INFO: TCP Data received {"connection_id":161442,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:36:46] local.INFO: Processing buffer {"connection_id":161442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:36:46] local.INFO: IMEI packet received {"connection_id":161442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":161442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:36:51] local.INFO: TCP Data received {"connection_id":161442,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:36:51] local.INFO: Processing buffer {"connection_id":161442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:36:51] local.INFO: IMEI packet received {"connection_id":161442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":161442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:36:52] local.INFO: TCP Data received {"connection_id":161442,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:36:52] local.INFO: Processing buffer {"connection_id":161442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:36:52] local.INFO: Packet analysis {"connection_id":161442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:36:52] local.INFO: Extracted packet for processing {"connection_id":161442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628785408001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:36:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787612744000,"timestamp_ms":1787612744000,"timestamp_seconds":1787612744,"priority":1,"record_length":96,"hex_timestamp":"000001a03605c940"} 
[2026-08-25 04:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628785408001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628785408001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628785408001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":161442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:36:52] local.INFO: GPS data processed {"connection_id":161442,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:36:52] local.INFO: Acknowledgment sent {"connection_id":161442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:36:57] local.INFO: TCP Data received {"connection_id":161442,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:36:57] local.INFO: Processing buffer {"connection_id":161442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:36:57] local.INFO: Packet analysis {"connection_id":161442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:36:57] local.INFO: Extracted packet for processing {"connection_id":161442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:36:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628785408001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:36:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787612744000,"timestamp_ms":1787612744000,"timestamp_seconds":1787612744,"priority":1,"record_length":96,"hex_timestamp":"000001a03605c940"} 
[2026-08-25 04: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-25 04:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628785408001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628785408001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:36:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628785408001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":161442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:36:57] local.INFO: GPS data processed {"connection_id":161442,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:36:57] local.INFO: Acknowledgment sent {"connection_id":161442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:37:41] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:37:41] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:37:41] local.INFO: IMEI packet received {"connection_id":161443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":161443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:37:46] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:37:46] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:37:46] local.INFO: IMEI packet received {"connection_id":161443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":161443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:37:47] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:37:47] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:37:47] local.INFO: Packet analysis {"connection_id":161443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:37:47] local.INFO: Extracted packet for processing {"connection_id":161443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628785408001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:37:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787612744000,"timestamp_ms":1787612744000,"timestamp_seconds":1787612744,"priority":1,"record_length":96,"hex_timestamp":"000001a03605c940"} 
[2026-08-25 04:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628785408001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628785408001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628785408001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":161443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:37:47] local.INFO: GPS data processed {"connection_id":161443,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:37:47] local.INFO: Acknowledgment sent {"connection_id":161443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:38:18] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:38:18] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:38:18] local.INFO: Packet analysis {"connection_id":161443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:38:18] local.INFO: Extracted packet for processing {"connection_id":161443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628785408001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:38:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787612744000,"timestamp_ms":1787612744000,"timestamp_seconds":1787612744,"priority":1,"record_length":96,"hex_timestamp":"000001a03605c940"} 
[2026-08-25 04:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628785408001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628785408001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628785408001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":161443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:38:18] local.INFO: GPS data processed {"connection_id":161443,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:38:18] local.INFO: Acknowledgment sent {"connection_id":161443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:38:41] local.INFO: TCP Data received {"connection_id":162676,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:38:41] local.INFO: Processing buffer {"connection_id":162676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:38:41] local.INFO: IMEI packet received {"connection_id":162676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":162676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:38:46] local.INFO: TCP Data received {"connection_id":162676,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:38:46] local.INFO: Processing buffer {"connection_id":162676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:38:46] local.INFO: IMEI packet received {"connection_id":162676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":162676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:38:47] local.INFO: TCP Data received {"connection_id":162676,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:38:47] local.INFO: Processing buffer {"connection_id":162676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:38:47] local.INFO: Packet analysis {"connection_id":162676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:38:47] local.INFO: Extracted packet for processing {"connection_id":162676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628785408001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:38:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787612744000,"timestamp_ms":1787612744000,"timestamp_seconds":1787612744,"priority":1,"record_length":96,"hex_timestamp":"000001a03605c940"} 
[2026-08-25 04: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-25 04:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628785408001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628785408001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628785408001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":162676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:38:47] local.INFO: GPS data processed {"connection_id":162676,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:38:47] local.INFO: Acknowledgment sent {"connection_id":162676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:39:19] local.INFO: TCP Data received {"connection_id":162676,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:39:19] local.INFO: Processing buffer {"connection_id":162676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:39:19] local.INFO: Packet analysis {"connection_id":162676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:39:19] local.INFO: Extracted packet for processing {"connection_id":162676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628785408001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:39:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787612744000,"timestamp_ms":1787612744000,"timestamp_seconds":1787612744,"priority":1,"record_length":96,"hex_timestamp":"000001a03605c940"} 
[2026-08-25 04:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:39: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-25 04:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628785408001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628785408001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628785408001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":162676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:39:19] local.INFO: GPS data processed {"connection_id":162676,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:39:19] local.INFO: Acknowledgment sent {"connection_id":162676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:39:41] local.INFO: TCP Data received {"connection_id":164072,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:39:41] local.INFO: Processing buffer {"connection_id":164072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:39:41] local.INFO: IMEI packet received {"connection_id":164072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":164072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:39:46] local.INFO: TCP Data received {"connection_id":164072,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:39:46] local.INFO: Processing buffer {"connection_id":164072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:39:46] local.INFO: IMEI packet received {"connection_id":164072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":164072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:39:47] local.INFO: TCP Data received {"connection_id":164072,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:39:47] local.INFO: Processing buffer {"connection_id":164072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:39:47] local.INFO: Packet analysis {"connection_id":164072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:39:47] local.INFO: Extracted packet for processing {"connection_id":164072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628785408001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:39:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787612744000,"timestamp_ms":1787612744000,"timestamp_seconds":1787612744,"priority":1,"record_length":96,"hex_timestamp":"000001a03605c940"} 
[2026-08-25 04:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628785408001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628785408001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628785408001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":164072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:39:47] local.INFO: GPS data processed {"connection_id":164072,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:39:47] local.INFO: Acknowledgment sent {"connection_id":164072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:40:18] local.INFO: TCP Data received {"connection_id":164072,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:40:18] local.INFO: Processing buffer {"connection_id":164072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:40:18] local.INFO: Packet analysis {"connection_id":164072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:40:18] local.INFO: Extracted packet for processing {"connection_id":164072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628785408001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:40:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787612744000,"timestamp_ms":1787612744000,"timestamp_seconds":1787612744,"priority":1,"record_length":96,"hex_timestamp":"000001a03605c940"} 
[2026-08-25 04:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:40:18] 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-25 04:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628785408001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628785408001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628785408001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":164072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:40:18] local.INFO: GPS data processed {"connection_id":164072,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:40:18] local.INFO: Acknowledgment sent {"connection_id":164072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:40:46] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:40:46] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:40:46] local.INFO: IMEI packet received {"connection_id":161687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":161687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:40:51] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:40:51] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:40:51] local.INFO: IMEI packet received {"connection_id":161687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":161687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:40:52] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:40:52] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:40:52] local.INFO: Packet analysis {"connection_id":161687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:40:52] local.INFO: Extracted packet for processing {"connection_id":161687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628785408001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:40:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787612744000,"timestamp_ms":1787612744000,"timestamp_seconds":1787612744,"priority":1,"record_length":96,"hex_timestamp":"000001a03605c940"} 
[2026-08-25 04: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-25 04:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04: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":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628785408001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628785408001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628785408001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":161687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:40:52] local.INFO: GPS data processed {"connection_id":161687,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:40:52] local.INFO: Acknowledgment sent {"connection_id":161687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:40:57] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:40:57] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03605c940012d34c3c006aa46b00010006d26..."} 
[2026-08-25 04:40:57] local.INFO: Packet analysis {"connection_id":161687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:40:57] local.INFO: Extracted packet for processing {"connection_id":161687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03605"} 
[2026-08-25 04:40:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:40: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-25 04:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628785408001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:40:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787612744000,"timestamp_ms":1787612744000,"timestamp_seconds":1787612744,"priority":1,"record_length":96,"hex_timestamp":"000001a03605c940"} 
[2026-08-25 04:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 04:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:40: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-25 04:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628785408001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628785408001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:40:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628785408001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":161687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:40:57] local.INFO: GPS data processed {"connection_id":161687,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:40:57] local.INFO: Acknowledgment sent {"connection_id":161687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:41:41] local.INFO: TCP Data received {"connection_id":162677,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:41:41] local.INFO: Processing buffer {"connection_id":162677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:41:41] local.INFO: IMEI packet received {"connection_id":162677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":162677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:41:46] local.INFO: TCP Data received {"connection_id":162677,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:41:46] local.INFO: Processing buffer {"connection_id":162677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:41:46] local.INFO: IMEI packet received {"connection_id":162677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":162677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:41:47] local.INFO: TCP Data received {"connection_id":162677,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:41:47] local.INFO: Processing buffer {"connection_id":162677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:41:47] local.INFO: Packet analysis {"connection_id":162677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:41:47] local.INFO: Extracted packet for processing {"connection_id":162677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628862464001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613045000,"timestamp_ms":1787613045000,"timestamp_seconds":1787613045,"priority":1,"record_length":96,"hex_timestamp":"000001a0360a6108"} 
[2026-08-25 04:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628862464001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628862464001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628862464001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":162677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:41:47] local.INFO: GPS data processed {"connection_id":162677,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:41:47] local.INFO: Acknowledgment sent {"connection_id":162677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:42:18] local.INFO: TCP Data received {"connection_id":162677,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:42:18] local.INFO: Processing buffer {"connection_id":162677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:42:18] local.INFO: Packet analysis {"connection_id":162677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:42:18] local.INFO: Extracted packet for processing {"connection_id":162677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628862464001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:42:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787613045000,"timestamp_ms":1787613045000,"timestamp_seconds":1787613045,"priority":1,"record_length":96,"hex_timestamp":"000001a0360a6108"} 
[2026-08-25 04: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-25 04:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:42:18] 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-25 04:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628862464001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628862464001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628862464001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":162677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:42:18] local.INFO: GPS data processed {"connection_id":162677,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:42:18] local.INFO: Acknowledgment sent {"connection_id":162677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:42:41] local.INFO: TCP Data received {"connection_id":161688,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:42:41] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:42:41] local.INFO: IMEI packet received {"connection_id":161688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":161688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:42:46] local.INFO: TCP Data received {"connection_id":161688,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:42:46] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:42:46] local.INFO: IMEI packet received {"connection_id":161688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":161688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:42:47] local.INFO: TCP Data received {"connection_id":161688,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:42:47] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:42:47] local.INFO: Packet analysis {"connection_id":161688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:42:47] local.INFO: Extracted packet for processing {"connection_id":161688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628862464001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:42:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613045000,"timestamp_ms":1787613045000,"timestamp_seconds":1787613045,"priority":1,"record_length":96,"hex_timestamp":"000001a0360a6108"} 
[2026-08-25 04:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628862464001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628862464001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628862464001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":161688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:42:47] local.INFO: GPS data processed {"connection_id":161688,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:42:47] local.INFO: Acknowledgment sent {"connection_id":161688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:43:18] local.INFO: TCP Data received {"connection_id":161688,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:43:18] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:43:18] local.INFO: Packet analysis {"connection_id":161688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:43:18] local.INFO: Extracted packet for processing {"connection_id":161688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:43:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628862464001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:43:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787613045000,"timestamp_ms":1787613045000,"timestamp_seconds":1787613045,"priority":1,"record_length":96,"hex_timestamp":"000001a0360a6108"} 
[2026-08-25 04:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:43:18] 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-25 04:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628862464001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628862464001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628862464001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":161688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:43:18] local.INFO: GPS data processed {"connection_id":161688,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:43:18] local.INFO: Acknowledgment sent {"connection_id":161688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:43:41] local.INFO: TCP Data received {"connection_id":164073,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:43:41] local.INFO: Processing buffer {"connection_id":164073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:43:41] local.INFO: IMEI packet received {"connection_id":164073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":164073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:43:46] local.INFO: TCP Data received {"connection_id":164073,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:43:46] local.INFO: Processing buffer {"connection_id":164073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:43:46] local.INFO: IMEI packet received {"connection_id":164073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":164073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:43:47] local.INFO: TCP Data received {"connection_id":164073,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:43:47] local.INFO: Processing buffer {"connection_id":164073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:43:47] local.INFO: Packet analysis {"connection_id":164073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:43:47] local.INFO: Extracted packet for processing {"connection_id":164073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628862464001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:43:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613045000,"timestamp_ms":1787613045000,"timestamp_seconds":1787613045,"priority":1,"record_length":96,"hex_timestamp":"000001a0360a6108"} 
[2026-08-25 04:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628862464001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628862464001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628862464001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":164073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:43:47] local.INFO: GPS data processed {"connection_id":164073,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:43:47] local.INFO: Acknowledgment sent {"connection_id":164073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:44:19] local.INFO: TCP Data received {"connection_id":164073,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:44:19] local.INFO: Processing buffer {"connection_id":164073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:44:19] local.INFO: Packet analysis {"connection_id":164073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:44:19] local.INFO: Extracted packet for processing {"connection_id":164073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628862464001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:44:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787613045000,"timestamp_ms":1787613045000,"timestamp_seconds":1787613045,"priority":1,"record_length":96,"hex_timestamp":"000001a0360a6108"} 
[2026-08-25 04:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:44:19] 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-25 04:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628862464001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628862464001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:44:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628862464001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":164073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:44:19] local.INFO: GPS data processed {"connection_id":164073,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:44:19] local.INFO: Acknowledgment sent {"connection_id":164073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:44:41] local.INFO: TCP Data received {"connection_id":162678,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:44:41] local.INFO: Processing buffer {"connection_id":162678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:44:41] local.INFO: IMEI packet received {"connection_id":162678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":162678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:44:46] local.INFO: TCP Data received {"connection_id":162678,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:44:46] local.INFO: Processing buffer {"connection_id":162678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:44:46] local.INFO: IMEI packet received {"connection_id":162678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":162678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:44:47] local.INFO: TCP Data received {"connection_id":162678,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:44:47] local.INFO: Processing buffer {"connection_id":162678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:44:47] local.INFO: Packet analysis {"connection_id":162678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:44:47] local.INFO: Extracted packet for processing {"connection_id":162678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628862464001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:44:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613045000,"timestamp_ms":1787613045000,"timestamp_seconds":1787613045,"priority":1,"record_length":96,"hex_timestamp":"000001a0360a6108"} 
[2026-08-25 04:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628862464001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628862464001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628862464001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":162678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:44:47] local.INFO: GPS data processed {"connection_id":162678,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:44:47] local.INFO: Acknowledgment sent {"connection_id":162678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:45:19] local.INFO: TCP Data received {"connection_id":162678,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:45:19] local.INFO: Processing buffer {"connection_id":162678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:45:19] local.INFO: Packet analysis {"connection_id":162678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:45:19] local.INFO: Extracted packet for processing {"connection_id":162678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628862464001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:45:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787613045000,"timestamp_ms":1787613045000,"timestamp_seconds":1787613045,"priority":1,"record_length":96,"hex_timestamp":"000001a0360a6108"} 
[2026-08-25 04:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:45:19] 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-25 04:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628862464001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628862464001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628862464001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":162678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:45:19] local.INFO: GPS data processed {"connection_id":162678,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:45:19] local.INFO: Acknowledgment sent {"connection_id":162678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:45:46] local.INFO: TCP Data received {"connection_id":161444,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:45:46] local.INFO: Processing buffer {"connection_id":161444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:45:46] local.INFO: IMEI packet received {"connection_id":161444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":161444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:45:51] local.INFO: TCP Data received {"connection_id":161444,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:45:51] local.INFO: Processing buffer {"connection_id":161444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:45:51] local.INFO: IMEI packet received {"connection_id":161444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":161444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:45:52] local.INFO: TCP Data received {"connection_id":161444,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:45:52] local.INFO: Processing buffer {"connection_id":161444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:45:52] local.INFO: Packet analysis {"connection_id":161444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:45:52] local.INFO: Extracted packet for processing {"connection_id":161444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628862464001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:45:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787613045000,"timestamp_ms":1787613045000,"timestamp_seconds":1787613045,"priority":1,"record_length":96,"hex_timestamp":"000001a0360a6108"} 
[2026-08-25 04:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:45:52] 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-25 04:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628862464001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628862464001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628862464001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":161444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:45:52] local.INFO: GPS data processed {"connection_id":161444,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:45:52] local.INFO: Acknowledgment sent {"connection_id":161444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:45:57] local.INFO: TCP Data received {"connection_id":161444,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:45:57] local.INFO: Processing buffer {"connection_id":161444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360a6108012d34c3c006aa46b00017006d27..."} 
[2026-08-25 04:45:57] local.INFO: Packet analysis {"connection_id":161444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:45:57] local.INFO: Extracted packet for processing {"connection_id":161444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360a"} 
[2026-08-25 04:45:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628862464001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:45:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787613045000,"timestamp_ms":1787613045000,"timestamp_seconds":1787613045,"priority":1,"record_length":96,"hex_timestamp":"000001a0360a6108"} 
[2026-08-25 04:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 04:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:45: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-25 04:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628862464001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628862464001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:45:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628862464001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":161444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:45:57] local.INFO: GPS data processed {"connection_id":161444,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:45:57] local.INFO: Acknowledgment sent {"connection_id":161444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:46:41] local.INFO: TCP Data received {"connection_id":164074,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:46:41] local.INFO: Processing buffer {"connection_id":164074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:46:41] local.INFO: IMEI packet received {"connection_id":164074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":164074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:46:46] local.INFO: TCP Data received {"connection_id":164074,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:46:46] local.INFO: Processing buffer {"connection_id":164074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:46:46] local.INFO: IMEI packet received {"connection_id":164074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":164074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:46:47] local.INFO: TCP Data received {"connection_id":164074,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:46:47] local.INFO: Processing buffer {"connection_id":164074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:46:47] local.INFO: Packet analysis {"connection_id":164074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:46:47] local.INFO: Extracted packet for processing {"connection_id":164074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628939520001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:46:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613346000,"timestamp_ms":1787613346000,"timestamp_seconds":1787613346,"priority":1,"record_length":96,"hex_timestamp":"000001a0360ef8d0"} 
[2026-08-25 04:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628939520001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628939520001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628939520001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":164074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:46:47] local.INFO: GPS data processed {"connection_id":164074,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:46:47] local.INFO: Acknowledgment sent {"connection_id":164074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:47:18] local.INFO: TCP Data received {"connection_id":164074,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:47:18] local.INFO: Processing buffer {"connection_id":164074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:47:18] local.INFO: Packet analysis {"connection_id":164074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:47:18] local.INFO: Extracted packet for processing {"connection_id":164074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628939520001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:47:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787613346000,"timestamp_ms":1787613346000,"timestamp_seconds":1787613346,"priority":1,"record_length":96,"hex_timestamp":"000001a0360ef8d0"} 
[2026-08-25 04:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628939520001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628939520001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628939520001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":164074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:47:18] local.INFO: GPS data processed {"connection_id":164074,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:47:18] local.INFO: Acknowledgment sent {"connection_id":164074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:47:41] local.INFO: TCP Data received {"connection_id":161445,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:47:41] local.INFO: Processing buffer {"connection_id":161445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:47:41] local.INFO: IMEI packet received {"connection_id":161445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":161445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:47:46] local.INFO: TCP Data received {"connection_id":161445,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:47:46] local.INFO: Processing buffer {"connection_id":161445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:47:46] local.INFO: IMEI packet received {"connection_id":161445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":161445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:47:47] local.INFO: TCP Data received {"connection_id":161445,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:47:47] local.INFO: Processing buffer {"connection_id":161445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:47:47] local.INFO: Packet analysis {"connection_id":161445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:47:47] local.INFO: Extracted packet for processing {"connection_id":161445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628939520001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:47:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613346000,"timestamp_ms":1787613346000,"timestamp_seconds":1787613346,"priority":1,"record_length":96,"hex_timestamp":"000001a0360ef8d0"} 
[2026-08-25 04:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628939520001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628939520001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628939520001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":161445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:47:47] local.INFO: GPS data processed {"connection_id":161445,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:47:47] local.INFO: Acknowledgment sent {"connection_id":161445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:48:18] local.INFO: TCP Data received {"connection_id":161445,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:48:18] local.INFO: Processing buffer {"connection_id":161445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:48:18] local.INFO: Packet analysis {"connection_id":161445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:48:18] local.INFO: Extracted packet for processing {"connection_id":161445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628939520001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:48:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787613346000,"timestamp_ms":1787613346000,"timestamp_seconds":1787613346,"priority":1,"record_length":96,"hex_timestamp":"000001a0360ef8d0"} 
[2026-08-25 04:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628939520001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628939520001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628939520001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":161445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:48:18] local.INFO: GPS data processed {"connection_id":161445,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:48:18] local.INFO: Acknowledgment sent {"connection_id":161445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:48:41] local.INFO: TCP Data received {"connection_id":164075,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:48:41] local.INFO: Processing buffer {"connection_id":164075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:48:41] local.INFO: IMEI packet received {"connection_id":164075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":164075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:48:46] local.INFO: TCP Data received {"connection_id":164075,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:48:46] local.INFO: Processing buffer {"connection_id":164075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:48:46] local.INFO: IMEI packet received {"connection_id":164075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":164075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:48:47] local.INFO: TCP Data received {"connection_id":164075,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:48:47] local.INFO: Processing buffer {"connection_id":164075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:48:47] local.INFO: Packet analysis {"connection_id":164075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:48:47] local.INFO: Extracted packet for processing {"connection_id":164075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628939520001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:48:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613346000,"timestamp_ms":1787613346000,"timestamp_seconds":1787613346,"priority":1,"record_length":96,"hex_timestamp":"000001a0360ef8d0"} 
[2026-08-25 04:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628939520001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628939520001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628939520001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":164075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:48:47] local.INFO: GPS data processed {"connection_id":164075,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:48:47] local.INFO: Acknowledgment sent {"connection_id":164075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:49:18] local.INFO: TCP Data received {"connection_id":164075,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:49:18] local.INFO: Processing buffer {"connection_id":164075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:49:18] local.INFO: Packet analysis {"connection_id":164075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:49:18] local.INFO: Extracted packet for processing {"connection_id":164075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628939520001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:49:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787613346000,"timestamp_ms":1787613346000,"timestamp_seconds":1787613346,"priority":1,"record_length":96,"hex_timestamp":"000001a0360ef8d0"} 
[2026-08-25 04:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628939520001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628939520001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628939520001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":164075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:49:18] local.INFO: GPS data processed {"connection_id":164075,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:49:18] local.INFO: Acknowledgment sent {"connection_id":164075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:49:41] local.INFO: TCP Data received {"connection_id":162679,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:49:41] local.INFO: Processing buffer {"connection_id":162679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:49:41] local.INFO: IMEI packet received {"connection_id":162679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":162679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:49:46] local.INFO: TCP Data received {"connection_id":162679,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:49:46] local.INFO: Processing buffer {"connection_id":162679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:49:46] local.INFO: IMEI packet received {"connection_id":162679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":162679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:49:49] local.INFO: TCP Data received {"connection_id":162679,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:49:49] local.INFO: Processing buffer {"connection_id":162679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:49:49] local.INFO: Packet analysis {"connection_id":162679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:49:49] local.INFO: Extracted packet for processing {"connection_id":162679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628939520001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:49:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787613346000,"timestamp_ms":1787613346000,"timestamp_seconds":1787613346,"priority":1,"record_length":96,"hex_timestamp":"000001a0360ef8d0"} 
[2026-08-25 04: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-25 04:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04: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":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:49: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-25 04: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-25 04: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-25 04:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:49: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-25 04:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628939520001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628939520001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628939520001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":162679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:49:49] local.INFO: GPS data processed {"connection_id":162679,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:49:49] local.INFO: Acknowledgment sent {"connection_id":162679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:50:20] local.INFO: TCP Data received {"connection_id":162679,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:50:20] local.INFO: Processing buffer {"connection_id":162679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:50:20] local.INFO: Packet analysis {"connection_id":162679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:50:20] local.INFO: Extracted packet for processing {"connection_id":162679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628939520001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:50:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787613346000,"timestamp_ms":1787613346000,"timestamp_seconds":1787613346,"priority":1,"record_length":96,"hex_timestamp":"000001a0360ef8d0"} 
[2026-08-25 04: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-25 04:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04: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":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:50: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-25 04: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-25 04: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-25 04:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:50: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-25 04:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628939520001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628939520001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628939520001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":162679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:50:20] local.INFO: GPS data processed {"connection_id":162679,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:50:20] local.INFO: Acknowledgment sent {"connection_id":162679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:50:41] local.INFO: TCP Data received {"connection_id":161689,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:50:41] local.INFO: Processing buffer {"connection_id":161689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:50:41] local.INFO: IMEI packet received {"connection_id":161689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":161689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:50:46] local.INFO: TCP Data received {"connection_id":161689,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:50:46] local.INFO: Processing buffer {"connection_id":161689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:50:46] local.INFO: IMEI packet received {"connection_id":161689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":161689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:50:47] local.INFO: TCP Data received {"connection_id":161689,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:50:47] local.INFO: Processing buffer {"connection_id":161689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:50:47] local.INFO: Packet analysis {"connection_id":161689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:50:47] local.INFO: Extracted packet for processing {"connection_id":161689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628939520001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:50:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613346000,"timestamp_ms":1787613346000,"timestamp_seconds":1787613346,"priority":1,"record_length":96,"hex_timestamp":"000001a0360ef8d0"} 
[2026-08-25 04:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628939520001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628939520001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628939520001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":161689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:50:47] local.INFO: GPS data processed {"connection_id":161689,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:50:47] local.INFO: Acknowledgment sent {"connection_id":161689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:51:18] local.INFO: TCP Data received {"connection_id":161689,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:51:18] local.INFO: Processing buffer {"connection_id":161689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0360ef8d0012d34c3c006aa46b00015006d2b..."} 
[2026-08-25 04:51:18] local.INFO: Packet analysis {"connection_id":161689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:51:18] local.INFO: Extracted packet for processing {"connection_id":161689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0360e"} 
[2026-08-25 04:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457628939520001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:51:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787613346000,"timestamp_ms":1787613346000,"timestamp_seconds":1787613346,"priority":1,"record_length":96,"hex_timestamp":"000001a0360ef8d0"} 
[2026-08-25 04:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457628939520001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457628939520001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457628939520001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":161689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:51:18] local.INFO: GPS data processed {"connection_id":161689,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:51:18] local.INFO: Acknowledgment sent {"connection_id":161689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:51:46] local.INFO: TCP Data received {"connection_id":162680,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:51:46] local.INFO: Processing buffer {"connection_id":162680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:51:46] local.INFO: IMEI packet received {"connection_id":162680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":162680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:51:51] local.INFO: TCP Data received {"connection_id":162680,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:51:51] local.INFO: Processing buffer {"connection_id":162680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:51:51] local.INFO: IMEI packet received {"connection_id":162680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":162680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:51:52] local.INFO: TCP Data received {"connection_id":162680,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:51:52] local.INFO: Processing buffer {"connection_id":162680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:51:52] local.INFO: Packet analysis {"connection_id":162680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:51:52] local.INFO: Extracted packet for processing {"connection_id":162680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629016576001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:51:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787613647000,"timestamp_ms":1787613647000,"timestamp_seconds":1787613647,"priority":1,"record_length":96,"hex_timestamp":"000001a036139098"} 
[2026-08-25 04:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 04:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:51:52] 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-25 04:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629016576001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629016576001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629016576001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":162680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:51:52] local.INFO: GPS data processed {"connection_id":162680,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:51:52] local.INFO: Acknowledgment sent {"connection_id":162680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:52:23] local.INFO: TCP Data received {"connection_id":162680,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:52:23] local.INFO: Processing buffer {"connection_id":162680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:52:23] local.INFO: Packet analysis {"connection_id":162680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:52:23] local.INFO: Extracted packet for processing {"connection_id":162680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629016576001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:52:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787613647000,"timestamp_ms":1787613647000,"timestamp_seconds":1787613647,"priority":1,"record_length":96,"hex_timestamp":"000001a036139098"} 
[2026-08-25 04:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 04:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:52:23] 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-25 04:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629016576001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629016576001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629016576001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":162680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:52:23] local.INFO: GPS data processed {"connection_id":162680,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:52:23] local.INFO: Acknowledgment sent {"connection_id":162680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:52:41] local.INFO: TCP Data received {"connection_id":162681,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:52:41] local.INFO: Processing buffer {"connection_id":162681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:52:41] local.INFO: IMEI packet received {"connection_id":162681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":162681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:52:46] local.INFO: TCP Data received {"connection_id":162681,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:52:46] local.INFO: Processing buffer {"connection_id":162681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:52:46] local.INFO: IMEI packet received {"connection_id":162681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":162681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:52:47] local.INFO: TCP Data received {"connection_id":162681,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:52:47] local.INFO: Processing buffer {"connection_id":162681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:52:47] local.INFO: Packet analysis {"connection_id":162681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:52:47] local.INFO: Extracted packet for processing {"connection_id":162681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629016576001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:52:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613647000,"timestamp_ms":1787613647000,"timestamp_seconds":1787613647,"priority":1,"record_length":96,"hex_timestamp":"000001a036139098"} 
[2026-08-25 04:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 04:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629016576001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629016576001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629016576001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":162681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:52:47] local.INFO: GPS data processed {"connection_id":162681,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:52:47] local.INFO: Acknowledgment sent {"connection_id":162681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:53:18] local.INFO: TCP Data received {"connection_id":162681,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:53:18] local.INFO: Processing buffer {"connection_id":162681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:53:18] local.INFO: Packet analysis {"connection_id":162681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:53:18] local.INFO: Extracted packet for processing {"connection_id":162681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:53:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629016576001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:53:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787613647000,"timestamp_ms":1787613647000,"timestamp_seconds":1787613647,"priority":1,"record_length":96,"hex_timestamp":"000001a036139098"} 
[2026-08-25 04:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 04:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629016576001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629016576001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:53:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629016576001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":162681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:53:19] local.INFO: GPS data processed {"connection_id":162681,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:53:19] local.INFO: Acknowledgment sent {"connection_id":162681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:53:41] local.INFO: TCP Data received {"connection_id":161446,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:53:41] local.INFO: Processing buffer {"connection_id":161446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:53:41] local.INFO: IMEI packet received {"connection_id":161446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":161446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:53:46] local.INFO: TCP Data received {"connection_id":161446,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:53:46] local.INFO: Processing buffer {"connection_id":161446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:53:46] local.INFO: IMEI packet received {"connection_id":161446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":161446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:53:47] local.INFO: TCP Data received {"connection_id":161446,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:53:47] local.INFO: Processing buffer {"connection_id":161446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:53:47] local.INFO: Packet analysis {"connection_id":161446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:53:47] local.INFO: Extracted packet for processing {"connection_id":161446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629016576001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:53:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613647000,"timestamp_ms":1787613647000,"timestamp_seconds":1787613647,"priority":1,"record_length":96,"hex_timestamp":"000001a036139098"} 
[2026-08-25 04:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 04:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629016576001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629016576001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629016576001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":161446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:53:47] local.INFO: GPS data processed {"connection_id":161446,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:53:47] local.INFO: Acknowledgment sent {"connection_id":161446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:54:18] local.INFO: TCP Data received {"connection_id":161446,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:54:18] local.INFO: Processing buffer {"connection_id":161446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:54:18] local.INFO: Packet analysis {"connection_id":161446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:54:18] local.INFO: Extracted packet for processing {"connection_id":161446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629016576001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:54:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787613647000,"timestamp_ms":1787613647000,"timestamp_seconds":1787613647,"priority":1,"record_length":96,"hex_timestamp":"000001a036139098"} 
[2026-08-25 04:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 04:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629016576001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629016576001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629016576001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":161446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:54:18] local.INFO: GPS data processed {"connection_id":161446,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:54:18] local.INFO: Acknowledgment sent {"connection_id":161446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:54:41] local.INFO: TCP Data received {"connection_id":161690,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:54:41] local.INFO: Processing buffer {"connection_id":161690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:54:41] local.INFO: IMEI packet received {"connection_id":161690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":161690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:54:46] local.INFO: TCP Data received {"connection_id":161690,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:54:46] local.INFO: Processing buffer {"connection_id":161690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:54:46] local.INFO: IMEI packet received {"connection_id":161690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":161690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:54:48] local.INFO: TCP Data received {"connection_id":161690,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:54:48] local.INFO: Processing buffer {"connection_id":161690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:54:48] local.INFO: Packet analysis {"connection_id":161690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:54:48] local.INFO: Extracted packet for processing {"connection_id":161690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629016576001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:54:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787613647000,"timestamp_ms":1787613647000,"timestamp_seconds":1787613647,"priority":1,"record_length":96,"hex_timestamp":"000001a036139098"} 
[2026-08-25 04:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 04:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629016576001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629016576001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629016576001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":161690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:54:48] local.INFO: GPS data processed {"connection_id":161690,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:54:48] local.INFO: Acknowledgment sent {"connection_id":161690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:55:19] local.INFO: TCP Data received {"connection_id":161690,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:55:19] local.INFO: Processing buffer {"connection_id":161690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:55:19] local.INFO: Packet analysis {"connection_id":161690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:55:19] local.INFO: Extracted packet for processing {"connection_id":161690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:55:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629016576001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:55:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787613647000,"timestamp_ms":1787613647000,"timestamp_seconds":1787613647,"priority":1,"record_length":96,"hex_timestamp":"000001a036139098"} 
[2026-08-25 04:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 04:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 04:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:55:19] 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-25 04:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629016576001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629016576001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:55:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629016576001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":161690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:55:19] local.INFO: GPS data processed {"connection_id":161690,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:55:19] local.INFO: Acknowledgment sent {"connection_id":161690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:55:41] local.INFO: TCP Data received {"connection_id":164076,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:55:41] local.INFO: Processing buffer {"connection_id":164076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:55:41] local.INFO: IMEI packet received {"connection_id":164076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":164076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:55:46] local.INFO: TCP Data received {"connection_id":164076,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:55:46] local.INFO: Processing buffer {"connection_id":164076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:55:46] local.INFO: IMEI packet received {"connection_id":164076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":164076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:55:47] local.INFO: TCP Data received {"connection_id":164076,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:55:47] local.INFO: Processing buffer {"connection_id":164076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:55:47] local.INFO: Packet analysis {"connection_id":164076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:55:47] local.INFO: Extracted packet for processing {"connection_id":164076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629016576001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:55:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613647000,"timestamp_ms":1787613647000,"timestamp_seconds":1787613647,"priority":1,"record_length":96,"hex_timestamp":"000001a036139098"} 
[2026-08-25 04:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 04:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629016576001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629016576001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629016576001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":164076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:55:47] local.INFO: GPS data processed {"connection_id":164076,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:55:47] local.INFO: Acknowledgment sent {"connection_id":164076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:56:18] local.INFO: TCP Data received {"connection_id":164076,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:56:18] local.INFO: Processing buffer {"connection_id":164076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036139098012d34c3c006aa46b00018006d2b..."} 
[2026-08-25 04:56:18] local.INFO: Packet analysis {"connection_id":164076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:56:18] local.INFO: Extracted packet for processing {"connection_id":164076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03613"} 
[2026-08-25 04:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629016576001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:56:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787613647000,"timestamp_ms":1787613647000,"timestamp_seconds":1787613647,"priority":1,"record_length":96,"hex_timestamp":"000001a036139098"} 
[2026-08-25 04: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-25 04:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 04:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629016576001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629016576001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629016576001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":164076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:56:18] local.INFO: GPS data processed {"connection_id":164076,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:56:18] local.INFO: Acknowledgment sent {"connection_id":164076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:56:46] local.INFO: TCP Data received {"connection_id":161691,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:56:46] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:56:46] local.INFO: IMEI packet received {"connection_id":161691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":161691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:56:51] local.INFO: TCP Data received {"connection_id":161691,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:56:51] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:56:51] local.INFO: IMEI packet received {"connection_id":161691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":161691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:56:52] local.INFO: TCP Data received {"connection_id":161691,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:56:52] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:56:52] local.INFO: Packet analysis {"connection_id":161691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:56:52] local.INFO: Extracted packet for processing {"connection_id":161691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":29,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629093632001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:56:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787613948000,"timestamp_ms":1787613948000,"timestamp_seconds":1787613948,"priority":1,"record_length":96,"hex_timestamp":"000001a036182860"} 
[2026-08-25 04:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629093632001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629093632001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629093632001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":161691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:56:52] local.INFO: GPS data processed {"connection_id":161691,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:56:52] local.INFO: Acknowledgment sent {"connection_id":161691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:57:23] local.INFO: TCP Data received {"connection_id":161691,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:57:23] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:57:23] local.INFO: Packet analysis {"connection_id":161691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:57:23] local.INFO: Extracted packet for processing {"connection_id":161691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:57:23] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":29,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629093632001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:57:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787613948000,"timestamp_ms":1787613948000,"timestamp_seconds":1787613948,"priority":1,"record_length":96,"hex_timestamp":"000001a036182860"} 
[2026-08-25 04:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629093632001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629093632001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:57:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629093632001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":161691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:57:23] local.INFO: GPS data processed {"connection_id":161691,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:57:23] local.INFO: Acknowledgment sent {"connection_id":161691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:57:41] local.INFO: TCP Data received {"connection_id":161447,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:57:41] local.INFO: Processing buffer {"connection_id":161447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:57:41] local.INFO: IMEI packet received {"connection_id":161447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":161447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:57:46] local.INFO: TCP Data received {"connection_id":161447,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:57:46] local.INFO: Processing buffer {"connection_id":161447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:57:46] local.INFO: IMEI packet received {"connection_id":161447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":161447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:57:47] local.INFO: TCP Data received {"connection_id":161447,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:57:47] local.INFO: Processing buffer {"connection_id":161447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:57:47] local.INFO: Packet analysis {"connection_id":161447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:57:47] local.INFO: Extracted packet for processing {"connection_id":161447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":29,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629093632001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:57:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613948000,"timestamp_ms":1787613948000,"timestamp_seconds":1787613948,"priority":1,"record_length":96,"hex_timestamp":"000001a036182860"} 
[2026-08-25 04: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-25 04:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04: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-25 04: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-25 04:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 04:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629093632001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629093632001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629093632001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":161447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:57:47] local.INFO: GPS data processed {"connection_id":161447,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:57:47] local.INFO: Acknowledgment sent {"connection_id":161447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:58:19] local.INFO: TCP Data received {"connection_id":161447,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:58:19] local.INFO: Processing buffer {"connection_id":161447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:58:19] local.INFO: Packet analysis {"connection_id":161447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:58:19] local.INFO: Extracted packet for processing {"connection_id":161447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":29,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629093632001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:58:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787613948000,"timestamp_ms":1787613948000,"timestamp_seconds":1787613948,"priority":1,"record_length":96,"hex_timestamp":"000001a036182860"} 
[2026-08-25 04:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:58:19] 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-25 04:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629093632001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629093632001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629093632001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":161447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:58:19] local.INFO: GPS data processed {"connection_id":161447,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:58:19] local.INFO: Acknowledgment sent {"connection_id":161447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:58:41] local.INFO: TCP Data received {"connection_id":162682,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:58:41] local.INFO: Processing buffer {"connection_id":162682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:58:41] local.INFO: IMEI packet received {"connection_id":162682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":162682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:58:46] local.INFO: TCP Data received {"connection_id":162682,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:58:46] local.INFO: Processing buffer {"connection_id":162682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:58:46] local.INFO: IMEI packet received {"connection_id":162682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":162682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:58:47] local.INFO: TCP Data received {"connection_id":162682,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:58:47] local.INFO: Processing buffer {"connection_id":162682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:58:47] local.INFO: Packet analysis {"connection_id":162682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:58:47] local.INFO: Extracted packet for processing {"connection_id":162682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":29,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629093632001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:58:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613948000,"timestamp_ms":1787613948000,"timestamp_seconds":1787613948,"priority":1,"record_length":96,"hex_timestamp":"000001a036182860"} 
[2026-08-25 04:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:58:47] 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-25 04:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629093632001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629093632001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629093632001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":162682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:58:47] local.INFO: GPS data processed {"connection_id":162682,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:58:47] local.INFO: Acknowledgment sent {"connection_id":162682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:59:18] local.INFO: TCP Data received {"connection_id":162682,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:59:18] local.INFO: Processing buffer {"connection_id":162682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:59:18] local.INFO: Packet analysis {"connection_id":162682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:59:18] local.INFO: Extracted packet for processing {"connection_id":162682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":29,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04: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-25 04:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629093632001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:59:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787613948000,"timestamp_ms":1787613948000,"timestamp_seconds":1787613948,"priority":1,"record_length":96,"hex_timestamp":"000001a036182860"} 
[2026-08-25 04: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-25 04:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04: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-25 04: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-25 04:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:59:18] 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-25 04:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629093632001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629093632001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629093632001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":162682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:59:18] local.INFO: GPS data processed {"connection_id":162682,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:59:18] local.INFO: Acknowledgment sent {"connection_id":162682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 04:59:41] local.INFO: TCP Data received {"connection_id":162683,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:59:41] local.INFO: Processing buffer {"connection_id":162683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:59:41] local.INFO: IMEI packet received {"connection_id":162683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 04:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":162683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 04:59:46] local.INFO: TCP Data received {"connection_id":162683,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:59:46] local.INFO: Processing buffer {"connection_id":162683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 04:59:46] local.INFO: IMEI packet received {"connection_id":162683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 04:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":162683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 04:59:47] local.INFO: TCP Data received {"connection_id":162683,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:59:47] local.INFO: Processing buffer {"connection_id":162683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 04:59:47] local.INFO: Packet analysis {"connection_id":162683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:59:47] local.INFO: Extracted packet for processing {"connection_id":162683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 04:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":29,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 04:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 04:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629093632001,"note":"Value kept but may cause issues"} 
[2026-08-25 04:59:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 04:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 04:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 04:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 04:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613948000,"timestamp_ms":1787613948000,"timestamp_seconds":1787613948,"priority":1,"record_length":96,"hex_timestamp":"000001a036182860"} 
[2026-08-25 04:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 04:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 04:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 04:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 04:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 04:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 04:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 04:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 04:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 04:59:47] 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-25 04:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 04:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 04:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629093632001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 04:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 04:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 04:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629093632001,"description":"Unknown IO ID 0"} 
[2026-08-25 04:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 04:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 04:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 04:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629093632001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 04:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":162683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 04:59:47] local.INFO: GPS data processed {"connection_id":162683,"processed":1,"errors":0,"total":1} 
[2026-08-25 04:59:47] local.INFO: Acknowledgment sent {"connection_id":162683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:00:18] local.INFO: TCP Data received {"connection_id":162683,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 05:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 05:00:18] local.INFO: Processing buffer {"connection_id":162683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 05:00:18] local.INFO: Packet analysis {"connection_id":162683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 05:00:18] local.INFO: Extracted packet for processing {"connection_id":162683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 05:00:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":29,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629093632001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:00:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787613948000,"timestamp_ms":1787613948000,"timestamp_seconds":1787613948,"priority":1,"record_length":96,"hex_timestamp":"000001a036182860"} 
[2026-08-25 05:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:00:18] 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-25 05:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629093632001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629093632001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:00:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629093632001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":162683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:00:18] local.INFO: GPS data processed {"connection_id":162683,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:00:18] local.INFO: Acknowledgment sent {"connection_id":162683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:00:41] local.INFO: TCP Data received {"connection_id":162684,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:00:41] local.INFO: Processing buffer {"connection_id":162684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:00:41] local.INFO: IMEI packet received {"connection_id":162684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":162684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:00:46] local.INFO: TCP Data received {"connection_id":162684,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:00:46] local.INFO: Processing buffer {"connection_id":162684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:00:46] local.INFO: IMEI packet received {"connection_id":162684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":162684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:00:47] local.INFO: TCP Data received {"connection_id":162684,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 05:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 05:00:47] local.INFO: Processing buffer {"connection_id":162684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 05:00:47] local.INFO: Packet analysis {"connection_id":162684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 05:00:47] local.INFO: Extracted packet for processing {"connection_id":162684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 05:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":29,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629093632001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:00:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787613948000,"timestamp_ms":1787613948000,"timestamp_seconds":1787613948,"priority":1,"record_length":96,"hex_timestamp":"000001a036182860"} 
[2026-08-25 05:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629093632001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629093632001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629093632001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":162684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:00:47] local.INFO: GPS data processed {"connection_id":162684,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:00:47] local.INFO: Acknowledgment sent {"connection_id":162684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:01:19] local.INFO: TCP Data received {"connection_id":162684,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 05:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 05:01:19] local.INFO: Processing buffer {"connection_id":162684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036182860012d34c3c006aa46b0001d006d2b..."} 
[2026-08-25 05:01:19] local.INFO: Packet analysis {"connection_id":162684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 05:01:19] local.INFO: Extracted packet for processing {"connection_id":162684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03618"} 
[2026-08-25 05:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":29,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629093632001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:01:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787613948000,"timestamp_ms":1787613948000,"timestamp_seconds":1787613948,"priority":1,"record_length":96,"hex_timestamp":"000001a036182860"} 
[2026-08-25 05:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:01: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-25 05:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629093632001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629093632001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629093632001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":162684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:01:19] local.INFO: GPS data processed {"connection_id":162684,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:01:19] local.INFO: Acknowledgment sent {"connection_id":162684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:01:41] local.INFO: TCP Data received {"connection_id":164077,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:01:41] local.INFO: Processing buffer {"connection_id":164077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:01:41] local.INFO: IMEI packet received {"connection_id":164077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":164077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:01:46] local.INFO: TCP Data received {"connection_id":164077,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:01:46] local.INFO: Processing buffer {"connection_id":164077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:01:46] local.INFO: IMEI packet received {"connection_id":164077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":164077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:01:47] local.INFO: TCP Data received {"connection_id":164077,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:01:47] local.INFO: Processing buffer {"connection_id":164077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:01:47] local.INFO: Packet analysis {"connection_id":164077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:01:47] local.INFO: Extracted packet for processing {"connection_id":164077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629170688001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:01:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787614249000,"timestamp_ms":1787614249000,"timestamp_seconds":1787614249,"priority":1,"record_length":96,"hex_timestamp":"000001a0361cc028"} 
[2026-08-25 05: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-25 05:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629170688001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629170688001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629170688001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":164077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:01:47] local.INFO: GPS data processed {"connection_id":164077,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:01:47] local.INFO: Acknowledgment sent {"connection_id":164077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:02:18] local.INFO: TCP Data received {"connection_id":164077,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:02:18] local.INFO: Processing buffer {"connection_id":164077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:02:18] local.INFO: Packet analysis {"connection_id":164077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:02:18] local.INFO: Extracted packet for processing {"connection_id":164077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629170688001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:02:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787614249000,"timestamp_ms":1787614249000,"timestamp_seconds":1787614249,"priority":1,"record_length":96,"hex_timestamp":"000001a0361cc028"} 
[2026-08-25 05: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-25 05:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:02:18] 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-25 05:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629170688001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629170688001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629170688001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":164077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:02:18] local.INFO: GPS data processed {"connection_id":164077,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:02:18] local.INFO: Acknowledgment sent {"connection_id":164077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:02:41] local.INFO: TCP Data received {"connection_id":162685,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:02:41] local.INFO: Processing buffer {"connection_id":162685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:02:41] local.INFO: IMEI packet received {"connection_id":162685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":162685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:02:46] local.INFO: TCP Data received {"connection_id":162685,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:02:46] local.INFO: Processing buffer {"connection_id":162685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:02:46] local.INFO: IMEI packet received {"connection_id":162685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":162685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:02:47] local.INFO: TCP Data received {"connection_id":162685,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:02:47] local.INFO: Processing buffer {"connection_id":162685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:02:47] local.INFO: Packet analysis {"connection_id":162685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:02:47] local.INFO: Extracted packet for processing {"connection_id":162685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629170688001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:02:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787614249000,"timestamp_ms":1787614249000,"timestamp_seconds":1787614249,"priority":1,"record_length":96,"hex_timestamp":"000001a0361cc028"} 
[2026-08-25 05: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-25 05:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:02:47] 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-25 05:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629170688001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629170688001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629170688001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":162685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:02:47] local.INFO: GPS data processed {"connection_id":162685,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:02:47] local.INFO: Acknowledgment sent {"connection_id":162685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:03:18] local.INFO: TCP Data received {"connection_id":162685,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:03:18] local.INFO: Processing buffer {"connection_id":162685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:03:18] local.INFO: Packet analysis {"connection_id":162685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:03:18] local.INFO: Extracted packet for processing {"connection_id":162685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629170688001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:03:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787614249000,"timestamp_ms":1787614249000,"timestamp_seconds":1787614249,"priority":1,"record_length":96,"hex_timestamp":"000001a0361cc028"} 
[2026-08-25 05: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-25 05:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:03:18] 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-25 05:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629170688001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629170688001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629170688001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":162685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:03:18] local.INFO: GPS data processed {"connection_id":162685,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:03:18] local.INFO: Acknowledgment sent {"connection_id":162685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:03:41] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:03:41] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:03:41] local.INFO: IMEI packet received {"connection_id":161692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":161692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:03:46] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:03:46] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:03:46] local.INFO: IMEI packet received {"connection_id":161692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":161692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:03:47] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:03:47] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:03:47] local.INFO: Packet analysis {"connection_id":161692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:03:47] local.INFO: Extracted packet for processing {"connection_id":161692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629170688001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787614249000,"timestamp_ms":1787614249000,"timestamp_seconds":1787614249,"priority":1,"record_length":96,"hex_timestamp":"000001a0361cc028"} 
[2026-08-25 05:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629170688001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629170688001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629170688001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":161692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:03:47] local.INFO: GPS data processed {"connection_id":161692,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:03:47] local.INFO: Acknowledgment sent {"connection_id":161692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:04:18] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:04:18] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:04:18] local.INFO: Packet analysis {"connection_id":161692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:04:18] local.INFO: Extracted packet for processing {"connection_id":161692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629170688001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:04:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787614249000,"timestamp_ms":1787614249000,"timestamp_seconds":1787614249,"priority":1,"record_length":96,"hex_timestamp":"000001a0361cc028"} 
[2026-08-25 05:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629170688001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629170688001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629170688001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":161692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:04:18] local.INFO: GPS data processed {"connection_id":161692,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:04:18] local.INFO: Acknowledgment sent {"connection_id":161692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:04:41] local.INFO: TCP Data received {"connection_id":161448,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:04:41] local.INFO: Processing buffer {"connection_id":161448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:04:41] local.INFO: IMEI packet received {"connection_id":161448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":161448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:04:46] local.INFO: TCP Data received {"connection_id":161448,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:04:46] local.INFO: Processing buffer {"connection_id":161448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:04:46] local.INFO: IMEI packet received {"connection_id":161448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":161448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:04:47] local.INFO: TCP Data received {"connection_id":161448,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:04:47] local.INFO: Processing buffer {"connection_id":161448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:04:47] local.INFO: Packet analysis {"connection_id":161448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:04:47] local.INFO: Extracted packet for processing {"connection_id":161448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629170688001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:04:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787614249000,"timestamp_ms":1787614249000,"timestamp_seconds":1787614249,"priority":1,"record_length":96,"hex_timestamp":"000001a0361cc028"} 
[2026-08-25 05:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629170688001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629170688001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629170688001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":161448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:04:47] local.INFO: GPS data processed {"connection_id":161448,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:04:47] local.INFO: Acknowledgment sent {"connection_id":161448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:05:18] local.INFO: TCP Data received {"connection_id":161448,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:05:18] local.INFO: Processing buffer {"connection_id":161448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:05:18] local.INFO: Packet analysis {"connection_id":161448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:05:18] local.INFO: Extracted packet for processing {"connection_id":161448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:05:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629170688001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:05:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787614249000,"timestamp_ms":1787614249000,"timestamp_seconds":1787614249,"priority":1,"record_length":96,"hex_timestamp":"000001a0361cc028"} 
[2026-08-25 05: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-25 05:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629170688001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629170688001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629170688001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":161448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:05:18] local.INFO: GPS data processed {"connection_id":161448,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:05:18] local.INFO: Acknowledgment sent {"connection_id":161448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:05:41] local.INFO: TCP Data received {"connection_id":164078,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:05:41] local.INFO: Processing buffer {"connection_id":164078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:05:41] local.INFO: IMEI packet received {"connection_id":164078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":164078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:05:46] local.INFO: TCP Data received {"connection_id":164078,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:05:46] local.INFO: Processing buffer {"connection_id":164078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:05:46] local.INFO: IMEI packet received {"connection_id":164078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":164078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:05:47] local.INFO: TCP Data received {"connection_id":164078,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:05:47] local.INFO: Processing buffer {"connection_id":164078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:05:47] local.INFO: Packet analysis {"connection_id":164078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:05:47] local.INFO: Extracted packet for processing {"connection_id":164078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629170688001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:05:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787614249000,"timestamp_ms":1787614249000,"timestamp_seconds":1787614249,"priority":1,"record_length":96,"hex_timestamp":"000001a0361cc028"} 
[2026-08-25 05:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629170688001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629170688001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629170688001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":164078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:05:47] local.INFO: GPS data processed {"connection_id":164078,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:05:47] local.INFO: Acknowledgment sent {"connection_id":164078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:06:18] local.INFO: TCP Data received {"connection_id":164078,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:06:18] local.INFO: Processing buffer {"connection_id":164078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0361cc028012d34c3c006aa46b00017006d2c..."} 
[2026-08-25 05:06:18] local.INFO: Packet analysis {"connection_id":164078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:06:18] local.INFO: Extracted packet for processing {"connection_id":164078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0361c"} 
[2026-08-25 05:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629170688001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:06:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787614249000,"timestamp_ms":1787614249000,"timestamp_seconds":1787614249,"priority":1,"record_length":96,"hex_timestamp":"000001a0361cc028"} 
[2026-08-25 05: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-25 05:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629170688001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629170688001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629170688001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":164078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:06:18] local.INFO: GPS data processed {"connection_id":164078,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:06:18] local.INFO: Acknowledgment sent {"connection_id":164078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:06:46] local.INFO: TCP Data received {"connection_id":161449,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:06:46] local.INFO: Processing buffer {"connection_id":161449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:06:46] local.INFO: IMEI packet received {"connection_id":161449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":161449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:06:51] local.INFO: TCP Data received {"connection_id":161449,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:06:51] local.INFO: Processing buffer {"connection_id":161449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:06:51] local.INFO: IMEI packet received {"connection_id":161449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":161449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:06:53] local.INFO: TCP Data received {"connection_id":161449,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:06:53] local.INFO: Processing buffer {"connection_id":161449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:06:53] local.INFO: Packet analysis {"connection_id":161449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:06:53] local.INFO: Extracted packet for processing {"connection_id":161449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629247744001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:06:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787614550000,"timestamp_ms":1787614550000,"timestamp_seconds":1787614550,"priority":1,"record_length":96,"hex_timestamp":"000001a0362157f0"} 
[2026-08-25 05:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629247744001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629247744001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629247744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":161449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:06:53] local.INFO: GPS data processed {"connection_id":161449,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:06:53] local.INFO: Acknowledgment sent {"connection_id":161449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:06:57] local.INFO: TCP Data received {"connection_id":161449,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:06:57] local.INFO: Processing buffer {"connection_id":161449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:06:57] local.INFO: Packet analysis {"connection_id":161449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:06:57] local.INFO: Extracted packet for processing {"connection_id":161449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:06:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629247744001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:06:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787614550000,"timestamp_ms":1787614550000,"timestamp_seconds":1787614550,"priority":1,"record_length":96,"hex_timestamp":"000001a0362157f0"} 
[2026-08-25 05:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:06: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-25 05:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629247744001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629247744001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:06:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629247744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":161449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:06:57] local.INFO: GPS data processed {"connection_id":161449,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:06:57] local.INFO: Acknowledgment sent {"connection_id":161449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:07:41] local.INFO: TCP Data received {"connection_id":161693,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:07:41] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:07:41] local.INFO: IMEI packet received {"connection_id":161693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":161693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:07:46] local.INFO: TCP Data received {"connection_id":161693,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:07:46] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:07:46] local.INFO: IMEI packet received {"connection_id":161693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":161693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:07:47] local.INFO: TCP Data received {"connection_id":161693,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:07:47] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:07:47] local.INFO: Packet analysis {"connection_id":161693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:07:47] local.INFO: Extracted packet for processing {"connection_id":161693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629247744001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:07:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787614550000,"timestamp_ms":1787614550000,"timestamp_seconds":1787614550,"priority":1,"record_length":96,"hex_timestamp":"000001a0362157f0"} 
[2026-08-25 05:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629247744001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629247744001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629247744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":161693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:07:47] local.INFO: GPS data processed {"connection_id":161693,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:07:47] local.INFO: Acknowledgment sent {"connection_id":161693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:08:18] local.INFO: TCP Data received {"connection_id":161693,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:08:18] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:08:18] local.INFO: Packet analysis {"connection_id":161693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:08:18] local.INFO: Extracted packet for processing {"connection_id":161693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629247744001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:08:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787614550000,"timestamp_ms":1787614550000,"timestamp_seconds":1787614550,"priority":1,"record_length":96,"hex_timestamp":"000001a0362157f0"} 
[2026-08-25 05: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-25 05:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:08:18] 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-25 05:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629247744001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629247744001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629247744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":161693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:08:18] local.INFO: GPS data processed {"connection_id":161693,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:08:18] local.INFO: Acknowledgment sent {"connection_id":161693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:08:41] local.INFO: TCP Data received {"connection_id":161694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:08:41] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:08:41] local.INFO: IMEI packet received {"connection_id":161694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":161694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:08:46] local.INFO: TCP Data received {"connection_id":161694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:08:46] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:08:46] local.INFO: IMEI packet received {"connection_id":161694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":161694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:08:47] local.INFO: TCP Data received {"connection_id":161694,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:08:47] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:08:47] local.INFO: Packet analysis {"connection_id":161694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:08:47] local.INFO: Extracted packet for processing {"connection_id":161694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629247744001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:08:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787614550000,"timestamp_ms":1787614550000,"timestamp_seconds":1787614550,"priority":1,"record_length":96,"hex_timestamp":"000001a0362157f0"} 
[2026-08-25 05:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629247744001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629247744001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629247744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":161694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:08:47] local.INFO: GPS data processed {"connection_id":161694,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:08:47] local.INFO: Acknowledgment sent {"connection_id":161694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:09:18] local.INFO: TCP Data received {"connection_id":161694,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:09:18] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:09:18] local.INFO: Packet analysis {"connection_id":161694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:09:18] local.INFO: Extracted packet for processing {"connection_id":161694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:09:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629247744001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:09:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787614550000,"timestamp_ms":1787614550000,"timestamp_seconds":1787614550,"priority":1,"record_length":96,"hex_timestamp":"000001a0362157f0"} 
[2026-08-25 05: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-25 05:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629247744001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629247744001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:09:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629247744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":161694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:09:18] local.INFO: GPS data processed {"connection_id":161694,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:09:18] local.INFO: Acknowledgment sent {"connection_id":161694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:09:41] local.INFO: TCP Data received {"connection_id":162686,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:09:41] local.INFO: Processing buffer {"connection_id":162686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:09:41] local.INFO: IMEI packet received {"connection_id":162686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":162686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:09:46] local.INFO: TCP Data received {"connection_id":162686,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:09:46] local.INFO: Processing buffer {"connection_id":162686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:09:46] local.INFO: IMEI packet received {"connection_id":162686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":162686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:09:47] local.INFO: TCP Data received {"connection_id":162686,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:09:47] local.INFO: Processing buffer {"connection_id":162686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:09:47] local.INFO: Packet analysis {"connection_id":162686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:09:47] local.INFO: Extracted packet for processing {"connection_id":162686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629247744001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:09:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787614550000,"timestamp_ms":1787614550000,"timestamp_seconds":1787614550,"priority":1,"record_length":96,"hex_timestamp":"000001a0362157f0"} 
[2026-08-25 05:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629247744001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629247744001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629247744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":162686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:09:47] local.INFO: GPS data processed {"connection_id":162686,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:09:47] local.INFO: Acknowledgment sent {"connection_id":162686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:10:18] local.INFO: TCP Data received {"connection_id":162686,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:10:18] local.INFO: Processing buffer {"connection_id":162686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:10:18] local.INFO: Packet analysis {"connection_id":162686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:10:18] local.INFO: Extracted packet for processing {"connection_id":162686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:10:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629247744001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:10:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787614550000,"timestamp_ms":1787614550000,"timestamp_seconds":1787614550,"priority":1,"record_length":96,"hex_timestamp":"000001a0362157f0"} 
[2026-08-25 05:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:10:18] 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-25 05:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629247744001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629247744001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:10:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629247744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":162686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:10:18] local.INFO: GPS data processed {"connection_id":162686,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:10:18] local.INFO: Acknowledgment sent {"connection_id":162686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:10:41] local.INFO: TCP Data received {"connection_id":161450,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:10:41] local.INFO: Processing buffer {"connection_id":161450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:10:41] local.INFO: IMEI packet received {"connection_id":161450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":161450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:10:46] local.INFO: TCP Data received {"connection_id":161450,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:10:46] local.INFO: Processing buffer {"connection_id":161450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:10:46] local.INFO: IMEI packet received {"connection_id":161450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":161450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:10:47] local.INFO: TCP Data received {"connection_id":161450,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:10:47] local.INFO: Processing buffer {"connection_id":161450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:10:47] local.INFO: Packet analysis {"connection_id":161450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:10:47] local.INFO: Extracted packet for processing {"connection_id":161450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629247744001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:10:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787614550000,"timestamp_ms":1787614550000,"timestamp_seconds":1787614550,"priority":1,"record_length":96,"hex_timestamp":"000001a0362157f0"} 
[2026-08-25 05:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:10:47] 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-25 05:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629247744001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629247744001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629247744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":161450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:10:47] local.INFO: GPS data processed {"connection_id":161450,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:10:47] local.INFO: Acknowledgment sent {"connection_id":161450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:11:18] local.INFO: TCP Data received {"connection_id":161450,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:11:18] local.INFO: Processing buffer {"connection_id":161450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362157f0012d34c3c006aa46b00013006d2b..."} 
[2026-08-25 05:11:18] local.INFO: Packet analysis {"connection_id":161450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:11:18] local.INFO: Extracted packet for processing {"connection_id":161450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03621"} 
[2026-08-25 05:11:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":19,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629247744001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:11:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787614550000,"timestamp_ms":1787614550000,"timestamp_seconds":1787614550,"priority":1,"record_length":96,"hex_timestamp":"000001a0362157f0"} 
[2026-08-25 05: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-25 05:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:11:18] 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-25 05:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629247744001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629247744001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:11:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629247744001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":161450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:11:18] local.INFO: GPS data processed {"connection_id":161450,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:11:18] local.INFO: Acknowledgment sent {"connection_id":161450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:11:46] local.INFO: TCP Data received {"connection_id":164079,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:11:46] local.INFO: Processing buffer {"connection_id":164079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:11:46] local.INFO: IMEI packet received {"connection_id":164079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":164079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:11:51] local.INFO: TCP Data received {"connection_id":164079,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:11:51] local.INFO: Processing buffer {"connection_id":164079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:11:51] local.INFO: IMEI packet received {"connection_id":164079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":164079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:11:52] local.INFO: TCP Data received {"connection_id":164079,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:11:52] local.INFO: Processing buffer {"connection_id":164079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:11:52] local.INFO: Packet analysis {"connection_id":164079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:11:52] local.INFO: Extracted packet for processing {"connection_id":164079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629324800001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:11:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787614851000,"timestamp_ms":1787614851000,"timestamp_seconds":1787614851,"priority":1,"record_length":96,"hex_timestamp":"000001a03625efb8"} 
[2026-08-25 05:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 05:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629324800001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629324800001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629324800001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":164079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:11:52] local.INFO: GPS data processed {"connection_id":164079,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:11:52] local.INFO: Acknowledgment sent {"connection_id":164079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:11:56] local.INFO: TCP Data received {"connection_id":164079,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:11:56] local.INFO: Processing buffer {"connection_id":164079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:11:56] local.INFO: Packet analysis {"connection_id":164079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:11:56] local.INFO: Extracted packet for processing {"connection_id":164079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:11:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629324800001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:11:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787614851000,"timestamp_ms":1787614851000,"timestamp_seconds":1787614851,"priority":1,"record_length":96,"hex_timestamp":"000001a03625efb8"} 
[2026-08-25 05:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 05:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:11:56] 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-25 05:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629324800001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629324800001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:11:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629324800001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":164079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:11:56] local.INFO: GPS data processed {"connection_id":164079,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:11:56] local.INFO: Acknowledgment sent {"connection_id":164079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:12:41] local.INFO: TCP Data received {"connection_id":162687,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:12:41] local.INFO: Processing buffer {"connection_id":162687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:12:41] local.INFO: IMEI packet received {"connection_id":162687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":162687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:12:46] local.INFO: TCP Data received {"connection_id":162687,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:12:46] local.INFO: Processing buffer {"connection_id":162687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:12:46] local.INFO: IMEI packet received {"connection_id":162687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":162687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:12:47] local.INFO: TCP Data received {"connection_id":162687,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:12:47] local.INFO: Processing buffer {"connection_id":162687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:12:47] local.INFO: Packet analysis {"connection_id":162687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:12:47] local.INFO: Extracted packet for processing {"connection_id":162687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629324800001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:12:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787614851000,"timestamp_ms":1787614851000,"timestamp_seconds":1787614851,"priority":1,"record_length":96,"hex_timestamp":"000001a03625efb8"} 
[2026-08-25 05:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 05:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:12:47] local.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-25 05:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629324800001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629324800001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629324800001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":162687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:12:47] local.INFO: GPS data processed {"connection_id":162687,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:12:47] local.INFO: Acknowledgment sent {"connection_id":162687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:13:18] local.INFO: TCP Data received {"connection_id":162687,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:13:18] local.INFO: Processing buffer {"connection_id":162687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:13:18] local.INFO: Packet analysis {"connection_id":162687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:13:18] local.INFO: Extracted packet for processing {"connection_id":162687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629324800001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:13:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787614851000,"timestamp_ms":1787614851000,"timestamp_seconds":1787614851,"priority":1,"record_length":96,"hex_timestamp":"000001a03625efb8"} 
[2026-08-25 05:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 05:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629324800001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629324800001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629324800001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":162687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:13:18] local.INFO: GPS data processed {"connection_id":162687,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:13:18] local.INFO: Acknowledgment sent {"connection_id":162687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:13:41] local.INFO: TCP Data received {"connection_id":161695,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:13:41] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:13:41] local.INFO: IMEI packet received {"connection_id":161695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":161695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:13:46] local.INFO: TCP Data received {"connection_id":161695,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:13:46] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:13:46] local.INFO: IMEI packet received {"connection_id":161695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":161695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:13:47] local.INFO: TCP Data received {"connection_id":161695,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:13:47] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:13:47] local.INFO: Packet analysis {"connection_id":161695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:13:47] local.INFO: Extracted packet for processing {"connection_id":161695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629324800001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:13:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787614851000,"timestamp_ms":1787614851000,"timestamp_seconds":1787614851,"priority":1,"record_length":96,"hex_timestamp":"000001a03625efb8"} 
[2026-08-25 05:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 05:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629324800001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629324800001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629324800001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":161695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:13:47] local.INFO: GPS data processed {"connection_id":161695,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:13:47] local.INFO: Acknowledgment sent {"connection_id":161695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:14:18] local.INFO: TCP Data received {"connection_id":161695,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:14:18] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:14:18] local.INFO: Packet analysis {"connection_id":161695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:14:18] local.INFO: Extracted packet for processing {"connection_id":161695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629324800001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:14:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787614851000,"timestamp_ms":1787614851000,"timestamp_seconds":1787614851,"priority":1,"record_length":96,"hex_timestamp":"000001a03625efb8"} 
[2026-08-25 05: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-25 05:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 05:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05: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-25 05: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-25 05:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629324800001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629324800001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629324800001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":161695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:14:18] local.INFO: GPS data processed {"connection_id":161695,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:14:18] local.INFO: Acknowledgment sent {"connection_id":161695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:14:41] local.INFO: TCP Data received {"connection_id":164080,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:14:41] local.INFO: Processing buffer {"connection_id":164080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:14:41] local.INFO: IMEI packet received {"connection_id":164080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":164080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:14:46] local.INFO: TCP Data received {"connection_id":164080,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:14:46] local.INFO: Processing buffer {"connection_id":164080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:14:46] local.INFO: IMEI packet received {"connection_id":164080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":164080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:14:47] local.INFO: TCP Data received {"connection_id":164080,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:14:47] local.INFO: Processing buffer {"connection_id":164080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:14:47] local.INFO: Packet analysis {"connection_id":164080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:14:47] local.INFO: Extracted packet for processing {"connection_id":164080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629324800001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:14:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787614851000,"timestamp_ms":1787614851000,"timestamp_seconds":1787614851,"priority":1,"record_length":96,"hex_timestamp":"000001a03625efb8"} 
[2026-08-25 05:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 05:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629324800001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629324800001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629324800001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":164080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:14:47] local.INFO: GPS data processed {"connection_id":164080,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:14:47] local.INFO: Acknowledgment sent {"connection_id":164080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:15:18] local.INFO: TCP Data received {"connection_id":164080,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:15:18] local.INFO: Processing buffer {"connection_id":164080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:15:18] local.INFO: Packet analysis {"connection_id":164080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:15:18] local.INFO: Extracted packet for processing {"connection_id":164080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629324800001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:15:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787614851000,"timestamp_ms":1787614851000,"timestamp_seconds":1787614851,"priority":1,"record_length":96,"hex_timestamp":"000001a03625efb8"} 
[2026-08-25 05:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 05:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629324800001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629324800001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629324800001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":164080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:15:18] local.INFO: GPS data processed {"connection_id":164080,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:15:18] local.INFO: Acknowledgment sent {"connection_id":164080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:15:41] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:15:41] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:15:41] local.INFO: IMEI packet received {"connection_id":161696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":161696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:15:46] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:15:46] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:15:46] local.INFO: IMEI packet received {"connection_id":161696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":161696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:15:47] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:15:47] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:15:47] local.INFO: Packet analysis {"connection_id":161696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:15:47] local.INFO: Extracted packet for processing {"connection_id":161696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629324800001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:15:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787614851000,"timestamp_ms":1787614851000,"timestamp_seconds":1787614851,"priority":1,"record_length":96,"hex_timestamp":"000001a03625efb8"} 
[2026-08-25 05:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 05:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:15: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-25 05:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629324800001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629324800001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629324800001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":161696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:15:47] local.INFO: GPS data processed {"connection_id":161696,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:15:47] local.INFO: Acknowledgment sent {"connection_id":161696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:16:18] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:16:18] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03625efb8012d34c3c006aa46b00012006d2c..."} 
[2026-08-25 05:16:18] local.INFO: Packet analysis {"connection_id":161696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:16:18] local.INFO: Extracted packet for processing {"connection_id":161696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03625"} 
[2026-08-25 05:16:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629324800001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:16:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787614851000,"timestamp_ms":1787614851000,"timestamp_seconds":1787614851,"priority":1,"record_length":96,"hex_timestamp":"000001a03625efb8"} 
[2026-08-25 05:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 05:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629324800001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629324800001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:16:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629324800001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":161696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:16:18] local.INFO: GPS data processed {"connection_id":161696,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:16:18] local.INFO: Acknowledgment sent {"connection_id":161696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:16:46] local.INFO: TCP Data received {"connection_id":164081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:16:46] local.INFO: Processing buffer {"connection_id":164081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:16:46] local.INFO: IMEI packet received {"connection_id":164081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":164081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:16:51] local.INFO: TCP Data received {"connection_id":164081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:16:51] local.INFO: Processing buffer {"connection_id":164081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:16:51] local.INFO: IMEI packet received {"connection_id":164081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":164081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:16:52] local.INFO: TCP Data received {"connection_id":164081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:16:52] local.INFO: Processing buffer {"connection_id":164081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:16:52] local.INFO: Packet analysis {"connection_id":164081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:16:52] local.INFO: Extracted packet for processing {"connection_id":164081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629401856001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:16:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787615152000,"timestamp_ms":1787615152000,"timestamp_seconds":1787615152,"priority":1,"record_length":96,"hex_timestamp":"000001a0362a8780"} 
[2026-08-25 05: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-25 05:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:16: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-25 05:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629401856001,"66":25593,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629401856001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629401856001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":164081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:16:52] local.INFO: GPS data processed {"connection_id":164081,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:16:52] local.INFO: Acknowledgment sent {"connection_id":164081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:16:56] local.INFO: TCP Data received {"connection_id":164081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:16:56] local.INFO: Processing buffer {"connection_id":164081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:16:56] local.INFO: Packet analysis {"connection_id":164081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:16:56] local.INFO: Extracted packet for processing {"connection_id":164081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:16:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629401856001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:16:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787615152000,"timestamp_ms":1787615152000,"timestamp_seconds":1787615152,"priority":1,"record_length":96,"hex_timestamp":"000001a0362a8780"} 
[2026-08-25 05:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:16:56] local.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-25 05:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629401856001,"66":25593,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629401856001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:16:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629401856001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":164081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:16:56] local.INFO: GPS data processed {"connection_id":164081,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:16:56] local.INFO: Acknowledgment sent {"connection_id":164081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:17:41] local.INFO: TCP Data received {"connection_id":162688,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:17:41] local.INFO: Processing buffer {"connection_id":162688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:17:41] local.INFO: IMEI packet received {"connection_id":162688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":162688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:17:46] local.INFO: TCP Data received {"connection_id":162688,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:17:46] local.INFO: Processing buffer {"connection_id":162688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:17:46] local.INFO: IMEI packet received {"connection_id":162688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":162688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:17:47] local.INFO: TCP Data received {"connection_id":162688,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:17:47] local.INFO: Processing buffer {"connection_id":162688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:17:47] local.INFO: Packet analysis {"connection_id":162688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:17:47] local.INFO: Extracted packet for processing {"connection_id":162688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629401856001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:17:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787615152000,"timestamp_ms":1787615152000,"timestamp_seconds":1787615152,"priority":1,"record_length":96,"hex_timestamp":"000001a0362a8780"} 
[2026-08-25 05:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629401856001,"66":25593,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629401856001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629401856001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":162688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:17:47] local.INFO: GPS data processed {"connection_id":162688,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:17:47] local.INFO: Acknowledgment sent {"connection_id":162688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:18:18] local.INFO: TCP Data received {"connection_id":162688,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:18:18] local.INFO: Processing buffer {"connection_id":162688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:18:18] local.INFO: Packet analysis {"connection_id":162688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:18:18] local.INFO: Extracted packet for processing {"connection_id":162688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629401856001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:18:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787615152000,"timestamp_ms":1787615152000,"timestamp_seconds":1787615152,"priority":1,"record_length":96,"hex_timestamp":"000001a0362a8780"} 
[2026-08-25 05: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-25 05:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:18:18] 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-25 05:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629401856001,"66":25593,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629401856001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629401856001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":162688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:18:18] local.INFO: GPS data processed {"connection_id":162688,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:18:18] local.INFO: Acknowledgment sent {"connection_id":162688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:18:41] local.INFO: TCP Data received {"connection_id":161451,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:18:41] local.INFO: Processing buffer {"connection_id":161451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:18:41] local.INFO: IMEI packet received {"connection_id":161451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":161451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:18:46] local.INFO: TCP Data received {"connection_id":161451,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:18:46] local.INFO: Processing buffer {"connection_id":161451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:18:46] local.INFO: IMEI packet received {"connection_id":161451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":161451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:18:47] local.INFO: TCP Data received {"connection_id":161451,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:18:47] local.INFO: Processing buffer {"connection_id":161451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:18:47] local.INFO: Packet analysis {"connection_id":161451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:18:47] local.INFO: Extracted packet for processing {"connection_id":161451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629401856001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:18:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787615152000,"timestamp_ms":1787615152000,"timestamp_seconds":1787615152,"priority":1,"record_length":96,"hex_timestamp":"000001a0362a8780"} 
[2026-08-25 05:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629401856001,"66":25593,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629401856001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629401856001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":161451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:18:47] local.INFO: GPS data processed {"connection_id":161451,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:18:47] local.INFO: Acknowledgment sent {"connection_id":161451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:19:18] local.INFO: TCP Data received {"connection_id":161451,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:19:18] local.INFO: Processing buffer {"connection_id":161451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:19:18] local.INFO: Packet analysis {"connection_id":161451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:19:18] local.INFO: Extracted packet for processing {"connection_id":161451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629401856001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:19:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787615152000,"timestamp_ms":1787615152000,"timestamp_seconds":1787615152,"priority":1,"record_length":96,"hex_timestamp":"000001a0362a8780"} 
[2026-08-25 05:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:19:18] 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-25 05:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629401856001,"66":25593,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629401856001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629401856001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":161451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:19:18] local.INFO: GPS data processed {"connection_id":161451,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:19:18] local.INFO: Acknowledgment sent {"connection_id":161451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:19:41] local.INFO: TCP Data received {"connection_id":162689,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:19:41] local.INFO: Processing buffer {"connection_id":162689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:19:41] local.INFO: IMEI packet received {"connection_id":162689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":162689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:19:46] local.INFO: TCP Data received {"connection_id":162689,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:19:46] local.INFO: Processing buffer {"connection_id":162689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:19:46] local.INFO: IMEI packet received {"connection_id":162689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":162689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:19:52] local.INFO: TCP Data received {"connection_id":162689,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:19:52] local.INFO: Processing buffer {"connection_id":162689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:19:52] local.INFO: Packet analysis {"connection_id":162689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:19:52] local.INFO: Extracted packet for processing {"connection_id":162689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629401856001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:19:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787615152000,"timestamp_ms":1787615152000,"timestamp_seconds":1787615152,"priority":1,"record_length":96,"hex_timestamp":"000001a0362a8780"} 
[2026-08-25 05:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629401856001,"66":25593,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629401856001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629401856001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":162689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:19:52] local.INFO: GPS data processed {"connection_id":162689,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:19:52] local.INFO: Acknowledgment sent {"connection_id":162689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:20:23] local.INFO: TCP Data received {"connection_id":162689,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:20:23] local.INFO: Processing buffer {"connection_id":162689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:20:23] local.INFO: Packet analysis {"connection_id":162689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:20:23] local.INFO: Extracted packet for processing {"connection_id":162689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:20:23] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629401856001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:20:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787615152000,"timestamp_ms":1787615152000,"timestamp_seconds":1787615152,"priority":1,"record_length":96,"hex_timestamp":"000001a0362a8780"} 
[2026-08-25 05:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629401856001,"66":25593,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629401856001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629401856001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":162689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:20:23] local.INFO: GPS data processed {"connection_id":162689,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:20:23] local.INFO: Acknowledgment sent {"connection_id":162689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:20:41] local.INFO: TCP Data received {"connection_id":161697,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:20:41] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:20:41] local.INFO: IMEI packet received {"connection_id":161697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":161697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:20:46] local.INFO: TCP Data received {"connection_id":161697,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:20:46] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:20:46] local.INFO: IMEI packet received {"connection_id":161697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":161697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:20:47] local.INFO: TCP Data received {"connection_id":161697,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:20:47] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:20:47] local.INFO: Packet analysis {"connection_id":161697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:20:47] local.INFO: Extracted packet for processing {"connection_id":161697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629401856001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:20:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787615152000,"timestamp_ms":1787615152000,"timestamp_seconds":1787615152,"priority":1,"record_length":96,"hex_timestamp":"000001a0362a8780"} 
[2026-08-25 05:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:20: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-25 05:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629401856001,"66":25593,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629401856001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629401856001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":161697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:20:47] local.INFO: GPS data processed {"connection_id":161697,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:20:47] local.INFO: Acknowledgment sent {"connection_id":161697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:21:19] local.INFO: TCP Data received {"connection_id":161697,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:21:19] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362a8780012d34c3c006aa46b00018006d2d..."} 
[2026-08-25 05:21:19] local.INFO: Packet analysis {"connection_id":161697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:21:19] local.INFO: Extracted packet for processing {"connection_id":161697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362a"} 
[2026-08-25 05:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629401856001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:21:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787615152000,"timestamp_ms":1787615152000,"timestamp_seconds":1787615152,"priority":1,"record_length":96,"hex_timestamp":"000001a0362a8780"} 
[2026-08-25 05:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:21: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-25 05:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629401856001,"66":25593,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629401856001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629401856001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":161697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:21:19] local.INFO: GPS data processed {"connection_id":161697,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:21:19] local.INFO: Acknowledgment sent {"connection_id":161697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:21:46] local.INFO: TCP Data received {"connection_id":161452,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:21:46] local.INFO: Processing buffer {"connection_id":161452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:21:46] local.INFO: IMEI packet received {"connection_id":161452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":161452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:21:51] local.INFO: TCP Data received {"connection_id":161452,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:21:51] local.INFO: Processing buffer {"connection_id":161452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:21:51] local.INFO: IMEI packet received {"connection_id":161452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":161452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:21:52] local.INFO: TCP Data received {"connection_id":161452,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:21:52] local.INFO: Processing buffer {"connection_id":161452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:21:52] local.INFO: Packet analysis {"connection_id":161452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:21:52] local.INFO: Extracted packet for processing {"connection_id":161452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629478912001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:21:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787615453000,"timestamp_ms":1787615453000,"timestamp_seconds":1787615453,"priority":1,"record_length":96,"hex_timestamp":"000001a0362f1f48"} 
[2026-08-25 05:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 05:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629478912001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629478912001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629478912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":161452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:21:52] local.INFO: GPS data processed {"connection_id":161452,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:21:52] local.INFO: Acknowledgment sent {"connection_id":161452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:21:57] local.INFO: TCP Data received {"connection_id":161452,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:21:57] local.INFO: Processing buffer {"connection_id":161452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:21:57] local.INFO: Packet analysis {"connection_id":161452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:21:57] local.INFO: Extracted packet for processing {"connection_id":161452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:21:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:21: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-25 05:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629478912001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:21:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787615453000,"timestamp_ms":1787615453000,"timestamp_seconds":1787615453,"priority":1,"record_length":96,"hex_timestamp":"000001a0362f1f48"} 
[2026-08-25 05:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 05:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:21: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-25 05:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629478912001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629478912001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:21:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629478912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":161452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:21:57] local.INFO: GPS data processed {"connection_id":161452,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:21:57] local.INFO: Acknowledgment sent {"connection_id":161452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:22:44] local.INFO: TCP Data received {"connection_id":161698,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:22:44] local.INFO: Processing buffer {"connection_id":161698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:22:44] local.INFO: IMEI packet received {"connection_id":161698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":161698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:22:46] local.INFO: TCP Data received {"connection_id":161698,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:22:46] local.INFO: Processing buffer {"connection_id":161698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:22:46] local.INFO: IMEI packet received {"connection_id":161698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":161698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:22:47] local.INFO: TCP Data received {"connection_id":161698,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:22:47] local.INFO: Processing buffer {"connection_id":161698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:22:47] local.INFO: Packet analysis {"connection_id":161698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:22:47] local.INFO: Extracted packet for processing {"connection_id":161698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629478912001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:22:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787615453000,"timestamp_ms":1787615453000,"timestamp_seconds":1787615453,"priority":1,"record_length":96,"hex_timestamp":"000001a0362f1f48"} 
[2026-08-25 05:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 05:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629478912001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629478912001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629478912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":161698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:22:47] local.INFO: GPS data processed {"connection_id":161698,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:22:47] local.INFO: Acknowledgment sent {"connection_id":161698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:22:51] local.INFO: TCP Data received {"connection_id":161698,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:22:51] local.INFO: Processing buffer {"connection_id":161698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:22:51] local.INFO: Packet analysis {"connection_id":161698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:22:51] local.INFO: Extracted packet for processing {"connection_id":161698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629478912001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:22:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787615453000,"timestamp_ms":1787615453000,"timestamp_seconds":1787615453,"priority":1,"record_length":96,"hex_timestamp":"000001a0362f1f48"} 
[2026-08-25 05: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-25 05:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 05:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:22:51] 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-25 05:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629478912001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629478912001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629478912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":161698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:22:52] local.INFO: GPS data processed {"connection_id":161698,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:22:52] local.INFO: Acknowledgment sent {"connection_id":161698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:23:23] local.INFO: TCP Data received {"connection_id":161698,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:23:23] local.INFO: Processing buffer {"connection_id":161698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:23:23] local.INFO: Packet analysis {"connection_id":161698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:23:23] local.INFO: Extracted packet for processing {"connection_id":161698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:23:23] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629478912001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:23:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787615453000,"timestamp_ms":1787615453000,"timestamp_seconds":1787615453,"priority":1,"record_length":96,"hex_timestamp":"000001a0362f1f48"} 
[2026-08-25 05: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-25 05:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 05:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629478912001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629478912001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629478912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":161698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:23:23] local.INFO: GPS data processed {"connection_id":161698,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:23:23] local.INFO: Acknowledgment sent {"connection_id":161698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:23:41] local.INFO: TCP Data received {"connection_id":164082,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:23:41] local.INFO: Processing buffer {"connection_id":164082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:23:41] local.INFO: IMEI packet received {"connection_id":164082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":164082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:23:46] local.INFO: TCP Data received {"connection_id":164082,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:23:46] local.INFO: Processing buffer {"connection_id":164082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:23:46] local.INFO: IMEI packet received {"connection_id":164082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":164082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:23:47] local.INFO: TCP Data received {"connection_id":164082,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:23:47] local.INFO: Processing buffer {"connection_id":164082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:23:47] local.INFO: Packet analysis {"connection_id":164082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:23:47] local.INFO: Extracted packet for processing {"connection_id":164082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629478912001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:23:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787615453000,"timestamp_ms":1787615453000,"timestamp_seconds":1787615453,"priority":1,"record_length":96,"hex_timestamp":"000001a0362f1f48"} 
[2026-08-25 05:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 05:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629478912001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629478912001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629478912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":164082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:23:47] local.INFO: GPS data processed {"connection_id":164082,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:23:47] local.INFO: Acknowledgment sent {"connection_id":164082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:24:18] local.INFO: TCP Data received {"connection_id":164082,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:24:18] local.INFO: Processing buffer {"connection_id":164082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:24:18] local.INFO: Packet analysis {"connection_id":164082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:24:18] local.INFO: Extracted packet for processing {"connection_id":164082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629478912001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:24:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787615453000,"timestamp_ms":1787615453000,"timestamp_seconds":1787615453,"priority":1,"record_length":96,"hex_timestamp":"000001a0362f1f48"} 
[2026-08-25 05:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 05:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:24:18] 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-25 05:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629478912001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629478912001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629478912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":164082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:24:18] local.INFO: GPS data processed {"connection_id":164082,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:24:18] local.INFO: Acknowledgment sent {"connection_id":164082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:24:41] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:24:41] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:24:41] local.INFO: IMEI packet received {"connection_id":161699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":161699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:24:46] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:24:46] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:24:46] local.INFO: IMEI packet received {"connection_id":161699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":161699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:24:47] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:24:47] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:24:47] local.INFO: Packet analysis {"connection_id":161699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:24:47] local.INFO: Extracted packet for processing {"connection_id":161699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629478912001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:24:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787615453000,"timestamp_ms":1787615453000,"timestamp_seconds":1787615453,"priority":1,"record_length":96,"hex_timestamp":"000001a0362f1f48"} 
[2026-08-25 05:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 05:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629478912001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629478912001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629478912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":161699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:24:47] local.INFO: GPS data processed {"connection_id":161699,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:24:47] local.INFO: Acknowledgment sent {"connection_id":161699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:25:18] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:25:18] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:25:18] local.INFO: Packet analysis {"connection_id":161699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:25:18] local.INFO: Extracted packet for processing {"connection_id":161699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629478912001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:25:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787615453000,"timestamp_ms":1787615453000,"timestamp_seconds":1787615453,"priority":1,"record_length":96,"hex_timestamp":"000001a0362f1f48"} 
[2026-08-25 05:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 05:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629478912001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629478912001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629478912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":161699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:25:18] local.INFO: GPS data processed {"connection_id":161699,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:25:18] local.INFO: Acknowledgment sent {"connection_id":161699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:25:41] local.INFO: TCP Data received {"connection_id":161453,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:25:41] local.INFO: Processing buffer {"connection_id":161453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:25:41] local.INFO: IMEI packet received {"connection_id":161453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":161453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:25:46] local.INFO: TCP Data received {"connection_id":161453,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:25:46] local.INFO: Processing buffer {"connection_id":161453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:25:46] local.INFO: IMEI packet received {"connection_id":161453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":161453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:25:47] local.INFO: TCP Data received {"connection_id":161453,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:25:47] local.INFO: Processing buffer {"connection_id":161453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:25:47] local.INFO: Packet analysis {"connection_id":161453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:25:47] local.INFO: Extracted packet for processing {"connection_id":161453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629478912001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:25:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787615453000,"timestamp_ms":1787615453000,"timestamp_seconds":1787615453,"priority":1,"record_length":96,"hex_timestamp":"000001a0362f1f48"} 
[2026-08-25 05:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 05:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:25:47] 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-25 05:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629478912001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629478912001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629478912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":161453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:25:47] local.INFO: GPS data processed {"connection_id":161453,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:25:47] local.INFO: Acknowledgment sent {"connection_id":161453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:26:18] local.INFO: TCP Data received {"connection_id":161453,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:26:18] local.INFO: Processing buffer {"connection_id":161453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0362f1f48012d34c3c006aa46b00014006d2c..."} 
[2026-08-25 05:26:18] local.INFO: Packet analysis {"connection_id":161453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:26:18] local.INFO: Extracted packet for processing {"connection_id":161453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0362f"} 
[2026-08-25 05:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629478912001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:26:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787615453000,"timestamp_ms":1787615453000,"timestamp_seconds":1787615453,"priority":1,"record_length":96,"hex_timestamp":"000001a0362f1f48"} 
[2026-08-25 05: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-25 05:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 05:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:26:18] 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-25 05:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629478912001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629478912001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629478912001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":161453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:26:18] local.INFO: GPS data processed {"connection_id":161453,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:26:18] local.INFO: Acknowledgment sent {"connection_id":161453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:26:46] local.INFO: TCP Data received {"connection_id":161454,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:26:46] local.INFO: Processing buffer {"connection_id":161454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:26:46] local.INFO: IMEI packet received {"connection_id":161454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":161454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:26:51] local.INFO: TCP Data received {"connection_id":161454,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:26:51] local.INFO: Processing buffer {"connection_id":161454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:26:51] local.INFO: IMEI packet received {"connection_id":161454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":161454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:26:52] local.INFO: TCP Data received {"connection_id":161454,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:26:52] local.INFO: Processing buffer {"connection_id":161454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:26:52] local.INFO: Packet analysis {"connection_id":161454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:26:52] local.INFO: Extracted packet for processing {"connection_id":161454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:26:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629555968001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:26:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787615754000,"timestamp_ms":1787615754000,"timestamp_seconds":1787615754,"priority":1,"record_length":96,"hex_timestamp":"000001a03633b710"} 
[2026-08-25 05:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629555968001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629555968001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:26:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629555968001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":161454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:26:52] local.INFO: GPS data processed {"connection_id":161454,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:26:52] local.INFO: Acknowledgment sent {"connection_id":161454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:26:56] local.INFO: TCP Data received {"connection_id":161454,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:26:56] local.INFO: Processing buffer {"connection_id":161454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:26:56] local.INFO: Packet analysis {"connection_id":161454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:26:56] local.INFO: Extracted packet for processing {"connection_id":161454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:26:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629555968001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:26:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787615754000,"timestamp_ms":1787615754000,"timestamp_seconds":1787615754,"priority":1,"record_length":96,"hex_timestamp":"000001a03633b710"} 
[2026-08-25 05:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629555968001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629555968001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:26:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629555968001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":161454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:26:56] local.INFO: GPS data processed {"connection_id":161454,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:26:56] local.INFO: Acknowledgment sent {"connection_id":161454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:27:41] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:27:41] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:27:41] local.INFO: IMEI packet received {"connection_id":161700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":161700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:27:46] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:27:46] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:27:46] local.INFO: IMEI packet received {"connection_id":161700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":161700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:27:47] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:27:47] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:27:47] local.INFO: Packet analysis {"connection_id":161700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:27:47] local.INFO: Extracted packet for processing {"connection_id":161700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629555968001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:27:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787615754000,"timestamp_ms":1787615754000,"timestamp_seconds":1787615754,"priority":1,"record_length":96,"hex_timestamp":"000001a03633b710"} 
[2026-08-25 05:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629555968001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629555968001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629555968001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":161700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:27:47] local.INFO: GPS data processed {"connection_id":161700,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:27:47] local.INFO: Acknowledgment sent {"connection_id":161700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:28:19] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:28:19] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:28:19] local.INFO: Packet analysis {"connection_id":161700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:28:19] local.INFO: Extracted packet for processing {"connection_id":161700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629555968001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:28:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787615754000,"timestamp_ms":1787615754000,"timestamp_seconds":1787615754,"priority":1,"record_length":96,"hex_timestamp":"000001a03633b710"} 
[2026-08-25 05: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-25 05:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:28:19] 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-25 05:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629555968001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629555968001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:28:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629555968001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":161700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:28:19] local.INFO: GPS data processed {"connection_id":161700,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:28:19] local.INFO: Acknowledgment sent {"connection_id":161700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:28:41] local.INFO: TCP Data received {"connection_id":162690,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:28:41] local.INFO: Processing buffer {"connection_id":162690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:28:41] local.INFO: IMEI packet received {"connection_id":162690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":162690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:28:46] local.INFO: TCP Data received {"connection_id":162690,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:28:46] local.INFO: Processing buffer {"connection_id":162690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:28:46] local.INFO: IMEI packet received {"connection_id":162690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":162690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:28:47] local.INFO: TCP Data received {"connection_id":162690,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:28:47] local.INFO: Processing buffer {"connection_id":162690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:28:47] local.INFO: Packet analysis {"connection_id":162690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:28:47] local.INFO: Extracted packet for processing {"connection_id":162690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629555968001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:28:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787615754000,"timestamp_ms":1787615754000,"timestamp_seconds":1787615754,"priority":1,"record_length":96,"hex_timestamp":"000001a03633b710"} 
[2026-08-25 05:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:28:47] 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-25 05:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629555968001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629555968001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629555968001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":162690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:28:47] local.INFO: GPS data processed {"connection_id":162690,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:28:47] local.INFO: Acknowledgment sent {"connection_id":162690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:29:19] local.INFO: TCP Data received {"connection_id":162690,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:29:19] local.INFO: Processing buffer {"connection_id":162690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:29:19] local.INFO: Packet analysis {"connection_id":162690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:29:19] local.INFO: Extracted packet for processing {"connection_id":162690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629555968001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:29:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787615754000,"timestamp_ms":1787615754000,"timestamp_seconds":1787615754,"priority":1,"record_length":96,"hex_timestamp":"000001a03633b710"} 
[2026-08-25 05:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629555968001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629555968001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629555968001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":162690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:29:19] local.INFO: GPS data processed {"connection_id":162690,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:29:19] local.INFO: Acknowledgment sent {"connection_id":162690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:29:41] local.INFO: TCP Data received {"connection_id":164083,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:29:41] local.INFO: Processing buffer {"connection_id":164083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:29:41] local.INFO: IMEI packet received {"connection_id":164083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":164083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:29:46] local.INFO: TCP Data received {"connection_id":164083,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:29:46] local.INFO: Processing buffer {"connection_id":164083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:29:46] local.INFO: IMEI packet received {"connection_id":164083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":164083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:29:47] local.INFO: TCP Data received {"connection_id":164083,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:29:47] local.INFO: Processing buffer {"connection_id":164083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:29:47] local.INFO: Packet analysis {"connection_id":164083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:29:47] local.INFO: Extracted packet for processing {"connection_id":164083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629555968001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:29:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787615754000,"timestamp_ms":1787615754000,"timestamp_seconds":1787615754,"priority":1,"record_length":96,"hex_timestamp":"000001a03633b710"} 
[2026-08-25 05:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629555968001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629555968001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629555968001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":164083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:29:47] local.INFO: GPS data processed {"connection_id":164083,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:29:47] local.INFO: Acknowledgment sent {"connection_id":164083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:30:18] local.INFO: TCP Data received {"connection_id":164083,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:30:18] local.INFO: Processing buffer {"connection_id":164083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:30:18] local.INFO: Packet analysis {"connection_id":164083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:30:18] local.INFO: Extracted packet for processing {"connection_id":164083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629555968001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:30:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787615754000,"timestamp_ms":1787615754000,"timestamp_seconds":1787615754,"priority":1,"record_length":96,"hex_timestamp":"000001a03633b710"} 
[2026-08-25 05:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629555968001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629555968001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629555968001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":164083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:30:18] local.INFO: GPS data processed {"connection_id":164083,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:30:18] local.INFO: Acknowledgment sent {"connection_id":164083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:30:41] local.INFO: TCP Data received {"connection_id":162691,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:30:41] local.INFO: Processing buffer {"connection_id":162691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:30:41] local.INFO: IMEI packet received {"connection_id":162691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":162691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:30:46] local.INFO: TCP Data received {"connection_id":162691,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:30:46] local.INFO: Processing buffer {"connection_id":162691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:30:46] local.INFO: IMEI packet received {"connection_id":162691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":162691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:30:47] local.INFO: TCP Data received {"connection_id":162691,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:30:47] local.INFO: Processing buffer {"connection_id":162691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:30:47] local.INFO: Packet analysis {"connection_id":162691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:30:47] local.INFO: Extracted packet for processing {"connection_id":162691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629555968001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:30:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787615754000,"timestamp_ms":1787615754000,"timestamp_seconds":1787615754,"priority":1,"record_length":96,"hex_timestamp":"000001a03633b710"} 
[2026-08-25 05:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629555968001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629555968001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629555968001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":162691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:30:47] local.INFO: GPS data processed {"connection_id":162691,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:30:47] local.INFO: Acknowledgment sent {"connection_id":162691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:31:19] local.INFO: TCP Data received {"connection_id":162691,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:31:19] local.INFO: Processing buffer {"connection_id":162691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03633b710012d34c3c006aa46b0000f006d2b..."} 
[2026-08-25 05:31:19] local.INFO: Packet analysis {"connection_id":162691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:31:19] local.INFO: Extracted packet for processing {"connection_id":162691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03633"} 
[2026-08-25 05:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629555968001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:31:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787615754000,"timestamp_ms":1787615754000,"timestamp_seconds":1787615754,"priority":1,"record_length":96,"hex_timestamp":"000001a03633b710"} 
[2026-08-25 05: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-25 05:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:31:19] 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-25 05:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629555968001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629555968001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629555968001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":162691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:31:19] local.INFO: GPS data processed {"connection_id":162691,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:31:19] local.INFO: Acknowledgment sent {"connection_id":162691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:31:46] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:31:46] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:31:46] local.INFO: IMEI packet received {"connection_id":162692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":162692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:31:51] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:31:51] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:31:51] local.INFO: IMEI packet received {"connection_id":162692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":162692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:31:52] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:31:52] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:31:52] local.INFO: Packet analysis {"connection_id":162692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:31:52] local.INFO: Extracted packet for processing {"connection_id":162692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 05:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629633024001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:31:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787616055000,"timestamp_ms":1787616055000,"timestamp_seconds":1787616055,"priority":1,"record_length":96,"hex_timestamp":"000001a036384ed8"} 
[2026-08-25 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-25 05:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 05:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629633024001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629633024001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629633024001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":162692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:31:53] local.INFO: GPS data processed {"connection_id":162692,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:31:53] local.INFO: Acknowledgment sent {"connection_id":162692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:31:56] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:31:56] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:31:56] local.INFO: Packet analysis {"connection_id":162692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:31:56] local.INFO: Extracted packet for processing {"connection_id":162692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:31:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629633024001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:31:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787616055000,"timestamp_ms":1787616055000,"timestamp_seconds":1787616055,"priority":1,"record_length":96,"hex_timestamp":"000001a036384ed8"} 
[2026-08-25 05:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629633024001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629633024001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:31:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629633024001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":162692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:31:56] local.INFO: GPS data processed {"connection_id":162692,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:31:56] local.INFO: Acknowledgment sent {"connection_id":162692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:32:41] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:32:41] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:32:41] local.INFO: IMEI packet received {"connection_id":161455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":161455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:32:47] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:32:47] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:32:47] local.INFO: IMEI packet received {"connection_id":161455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":161455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:32:47] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:32:47] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:32:47] local.INFO: Packet analysis {"connection_id":161455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:32:47] local.INFO: Extracted packet for processing {"connection_id":161455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629633024001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:32:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616055000,"timestamp_ms":1787616055000,"timestamp_seconds":1787616055,"priority":1,"record_length":96,"hex_timestamp":"000001a036384ed8"} 
[2026-08-25 05:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629633024001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629633024001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629633024001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":161455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:32:48] local.INFO: GPS data processed {"connection_id":161455,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:32:48] local.INFO: Acknowledgment sent {"connection_id":161455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:33:19] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:33:19] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:33:19] local.INFO: Packet analysis {"connection_id":161455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:33:19] local.INFO: Extracted packet for processing {"connection_id":161455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629633024001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:33:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787616055000,"timestamp_ms":1787616055000,"timestamp_seconds":1787616055,"priority":1,"record_length":96,"hex_timestamp":"000001a036384ed8"} 
[2026-08-25 05:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:33: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-25 05:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629633024001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629633024001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629633024001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":161455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:33:19] local.INFO: GPS data processed {"connection_id":161455,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:33:19] local.INFO: Acknowledgment sent {"connection_id":161455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:33:41] local.INFO: TCP Data received {"connection_id":161456,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:33:41] local.INFO: Processing buffer {"connection_id":161456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:33:41] local.INFO: IMEI packet received {"connection_id":161456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":161456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:33:46] local.INFO: TCP Data received {"connection_id":161456,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:33:46] local.INFO: Processing buffer {"connection_id":161456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:33:46] local.INFO: IMEI packet received {"connection_id":161456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":161456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:33:47] local.INFO: TCP Data received {"connection_id":161456,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:33:47] local.INFO: Processing buffer {"connection_id":161456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:33:47] local.INFO: Packet analysis {"connection_id":161456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:33:47] local.INFO: Extracted packet for processing {"connection_id":161456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629633024001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:33:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616055000,"timestamp_ms":1787616055000,"timestamp_seconds":1787616055,"priority":1,"record_length":96,"hex_timestamp":"000001a036384ed8"} 
[2026-08-25 05:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629633024001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629633024001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629633024001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":161456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:33:47] local.INFO: GPS data processed {"connection_id":161456,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:33:47] local.INFO: Acknowledgment sent {"connection_id":161456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:34:18] local.INFO: TCP Data received {"connection_id":161456,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:34:18] local.INFO: Processing buffer {"connection_id":161456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:34:18] local.INFO: Packet analysis {"connection_id":161456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:34:18] local.INFO: Extracted packet for processing {"connection_id":161456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629633024001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:34:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787616055000,"timestamp_ms":1787616055000,"timestamp_seconds":1787616055,"priority":1,"record_length":96,"hex_timestamp":"000001a036384ed8"} 
[2026-08-25 05:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:34:18] 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-25 05:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629633024001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629633024001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629633024001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":161456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:34:18] local.INFO: GPS data processed {"connection_id":161456,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:34:18] local.INFO: Acknowledgment sent {"connection_id":161456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:34:41] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:34:41] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:34:41] local.INFO: IMEI packet received {"connection_id":161701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":161701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:34:46] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:34:46] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:34:46] local.INFO: IMEI packet received {"connection_id":161701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":161701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:34:47] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:34:47] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:34:47] local.INFO: Packet analysis {"connection_id":161701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:34:47] local.INFO: Extracted packet for processing {"connection_id":161701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629633024001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:34:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616055000,"timestamp_ms":1787616055000,"timestamp_seconds":1787616055,"priority":1,"record_length":96,"hex_timestamp":"000001a036384ed8"} 
[2026-08-25 05:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629633024001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629633024001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629633024001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":161701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:34:47] local.INFO: GPS data processed {"connection_id":161701,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:34:47] local.INFO: Acknowledgment sent {"connection_id":161701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:35:19] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:35:19] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:35:19] local.INFO: Packet analysis {"connection_id":161701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:35:19] local.INFO: Extracted packet for processing {"connection_id":161701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629633024001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:35:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787616055000,"timestamp_ms":1787616055000,"timestamp_seconds":1787616055,"priority":1,"record_length":96,"hex_timestamp":"000001a036384ed8"} 
[2026-08-25 05:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:35:19] 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-25 05:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629633024001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629633024001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629633024001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":161701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:35:19] local.INFO: GPS data processed {"connection_id":161701,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:35:19] local.INFO: Acknowledgment sent {"connection_id":161701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:35:46] local.INFO: TCP Data received {"connection_id":161457,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:35:46] local.INFO: Processing buffer {"connection_id":161457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:35:46] local.INFO: IMEI packet received {"connection_id":161457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":161457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:35:51] local.INFO: TCP Data received {"connection_id":161457,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:35:51] local.INFO: Processing buffer {"connection_id":161457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:35:51] local.INFO: IMEI packet received {"connection_id":161457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":161457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:35:52] local.INFO: TCP Data received {"connection_id":161457,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:35:52] local.INFO: Processing buffer {"connection_id":161457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:35:52] local.INFO: Packet analysis {"connection_id":161457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:35:52] local.INFO: Extracted packet for processing {"connection_id":161457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629633024001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:35:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787616055000,"timestamp_ms":1787616055000,"timestamp_seconds":1787616055,"priority":1,"record_length":96,"hex_timestamp":"000001a036384ed8"} 
[2026-08-25 05:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629633024001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629633024001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629633024001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":161457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:35:52] local.INFO: GPS data processed {"connection_id":161457,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:35:52] local.INFO: Acknowledgment sent {"connection_id":161457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:35:57] local.INFO: TCP Data received {"connection_id":161457,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:35:57] local.INFO: Processing buffer {"connection_id":161457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:35:57] local.INFO: Packet analysis {"connection_id":161457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:35:57] local.INFO: Extracted packet for processing {"connection_id":161457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:35:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629633024001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:35:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787616055000,"timestamp_ms":1787616055000,"timestamp_seconds":1787616055,"priority":1,"record_length":96,"hex_timestamp":"000001a036384ed8"} 
[2026-08-25 05:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:35:57] 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-25 05:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629633024001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629633024001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:35:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629633024001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":161457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:35:57] local.INFO: GPS data processed {"connection_id":161457,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:35:57] local.INFO: Acknowledgment sent {"connection_id":161457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:36:01] local.INFO: TCP Data received {"connection_id":161457,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:36:01] local.INFO: Processing buffer {"connection_id":161457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036384ed8012d34c3c006aa46b00011006d2a..."} 
[2026-08-25 05:36:01] local.INFO: Packet analysis {"connection_id":161457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:36:01] local.INFO: Extracted packet for processing {"connection_id":161457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03638"} 
[2026-08-25 05:36:01] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629633024001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:36:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787616055000,"timestamp_ms":1787616055000,"timestamp_seconds":1787616055,"priority":1,"record_length":96,"hex_timestamp":"000001a036384ed8"} 
[2026-08-25 05:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 05:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629633024001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629633024001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:36:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629633024001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":161457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:36:01] local.INFO: GPS data processed {"connection_id":161457,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:36:01] local.INFO: Acknowledgment sent {"connection_id":161457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:36:41] local.INFO: TCP Data received {"connection_id":164084,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:36:41] local.INFO: Processing buffer {"connection_id":164084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:36:41] local.INFO: IMEI packet received {"connection_id":164084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":164084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:36:46] local.INFO: TCP Data received {"connection_id":164084,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:36:46] local.INFO: Processing buffer {"connection_id":164084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:36:46] local.INFO: IMEI packet received {"connection_id":164084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":164084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:36:47] local.INFO: TCP Data received {"connection_id":164084,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:36:47] local.INFO: Processing buffer {"connection_id":164084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:36:47] local.INFO: Packet analysis {"connection_id":164084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:36:47] local.INFO: Extracted packet for processing {"connection_id":164084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629710080001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:36:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616356000,"timestamp_ms":1787616356000,"timestamp_seconds":1787616356,"priority":1,"record_length":96,"hex_timestamp":"000001a0363ce6a0"} 
[2026-08-25 05:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:36:47] 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-25 05:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629710080001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629710080001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629710080001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":164084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:36:47] local.INFO: GPS data processed {"connection_id":164084,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:36:47] local.INFO: Acknowledgment sent {"connection_id":164084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:37:19] local.INFO: TCP Data received {"connection_id":164084,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:37:19] local.INFO: Processing buffer {"connection_id":164084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:37:19] local.INFO: Packet analysis {"connection_id":164084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:37:19] local.INFO: Extracted packet for processing {"connection_id":164084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629710080001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:37:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787616356000,"timestamp_ms":1787616356000,"timestamp_seconds":1787616356,"priority":1,"record_length":96,"hex_timestamp":"000001a0363ce6a0"} 
[2026-08-25 05:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:37:19] 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-25 05:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629710080001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629710080001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:37:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629710080001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":164084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:37:19] local.INFO: GPS data processed {"connection_id":164084,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:37:19] local.INFO: Acknowledgment sent {"connection_id":164084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:37:41] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:37:41] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:37:41] local.INFO: IMEI packet received {"connection_id":161702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":161702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:37:46] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:37:46] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:37:46] local.INFO: IMEI packet received {"connection_id":161702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":161702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:37:47] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:37:47] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:37:47] local.INFO: Packet analysis {"connection_id":161702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:37:47] local.INFO: Extracted packet for processing {"connection_id":161702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629710080001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:37:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616356000,"timestamp_ms":1787616356000,"timestamp_seconds":1787616356,"priority":1,"record_length":96,"hex_timestamp":"000001a0363ce6a0"} 
[2026-08-25 05:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:37:47] 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-25 05:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629710080001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629710080001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629710080001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":161702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:37:47] local.INFO: GPS data processed {"connection_id":161702,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:37:47] local.INFO: Acknowledgment sent {"connection_id":161702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:38:18] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:38:18] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:38:18] local.INFO: Packet analysis {"connection_id":161702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:38:18] local.INFO: Extracted packet for processing {"connection_id":161702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629710080001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:38:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787616356000,"timestamp_ms":1787616356000,"timestamp_seconds":1787616356,"priority":1,"record_length":96,"hex_timestamp":"000001a0363ce6a0"} 
[2026-08-25 05:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:38:18] 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-25 05:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629710080001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629710080001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629710080001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":161702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:38:18] local.INFO: GPS data processed {"connection_id":161702,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:38:18] local.INFO: Acknowledgment sent {"connection_id":161702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:38:41] local.INFO: TCP Data received {"connection_id":161458,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:38:41] local.INFO: Processing buffer {"connection_id":161458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:38:41] local.INFO: IMEI packet received {"connection_id":161458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":161458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:38:46] local.INFO: TCP Data received {"connection_id":161458,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:38:46] local.INFO: Processing buffer {"connection_id":161458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:38:46] local.INFO: IMEI packet received {"connection_id":161458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":161458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:38:47] local.INFO: TCP Data received {"connection_id":161458,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:38:47] local.INFO: Processing buffer {"connection_id":161458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:38:47] local.INFO: Packet analysis {"connection_id":161458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:38:47] local.INFO: Extracted packet for processing {"connection_id":161458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629710080001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:38:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616356000,"timestamp_ms":1787616356000,"timestamp_seconds":1787616356,"priority":1,"record_length":96,"hex_timestamp":"000001a0363ce6a0"} 
[2026-08-25 05: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-25 05:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:38:47] 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-25 05:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629710080001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629710080001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629710080001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":161458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:38:47] local.INFO: GPS data processed {"connection_id":161458,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:38:47] local.INFO: Acknowledgment sent {"connection_id":161458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:39:18] local.INFO: TCP Data received {"connection_id":161458,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:39:18] local.INFO: Processing buffer {"connection_id":161458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:39:18] local.INFO: Packet analysis {"connection_id":161458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:39:18] local.INFO: Extracted packet for processing {"connection_id":161458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629710080001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:39:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787616356000,"timestamp_ms":1787616356000,"timestamp_seconds":1787616356,"priority":1,"record_length":96,"hex_timestamp":"000001a0363ce6a0"} 
[2026-08-25 05:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:39:18] 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-25 05:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629710080001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629710080001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629710080001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":161458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:39:18] local.INFO: GPS data processed {"connection_id":161458,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:39:18] local.INFO: Acknowledgment sent {"connection_id":161458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:39:46] local.INFO: TCP Data received {"connection_id":164085,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:39:46] local.INFO: Processing buffer {"connection_id":164085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:39:46] local.INFO: IMEI packet received {"connection_id":164085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":164085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:39:51] local.INFO: TCP Data received {"connection_id":164085,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:39:51] local.INFO: Processing buffer {"connection_id":164085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:39:51] local.INFO: IMEI packet received {"connection_id":164085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":164085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:39:52] local.INFO: TCP Data received {"connection_id":164085,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:39:52] local.INFO: Processing buffer {"connection_id":164085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:39:52] local.INFO: Packet analysis {"connection_id":164085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:39:52] local.INFO: Extracted packet for processing {"connection_id":164085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629710080001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:39:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787616356000,"timestamp_ms":1787616356000,"timestamp_seconds":1787616356,"priority":1,"record_length":96,"hex_timestamp":"000001a0363ce6a0"} 
[2026-08-25 05:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629710080001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629710080001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629710080001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":164085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:39:52] local.INFO: GPS data processed {"connection_id":164085,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:39:52] local.INFO: Acknowledgment sent {"connection_id":164085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:39:57] local.INFO: TCP Data received {"connection_id":164085,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:39:57] local.INFO: Processing buffer {"connection_id":164085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:39:57] local.INFO: Packet analysis {"connection_id":164085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:39:57] local.INFO: Extracted packet for processing {"connection_id":164085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:39:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629710080001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:39:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787616356000,"timestamp_ms":1787616356000,"timestamp_seconds":1787616356,"priority":1,"record_length":96,"hex_timestamp":"000001a0363ce6a0"} 
[2026-08-25 05: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-25 05:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629710080001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629710080001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:39:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629710080001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":164085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:39:57] local.INFO: GPS data processed {"connection_id":164085,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:39:57] local.INFO: Acknowledgment sent {"connection_id":164085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:40:41] local.INFO: TCP Data received {"connection_id":161703,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:40:41] local.INFO: Processing buffer {"connection_id":161703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:40:41] local.INFO: IMEI packet received {"connection_id":161703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":161703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:40:46] local.INFO: TCP Data received {"connection_id":161703,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:40:46] local.INFO: Processing buffer {"connection_id":161703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:40:46] local.INFO: IMEI packet received {"connection_id":161703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":161703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:40:47] local.INFO: TCP Data received {"connection_id":161703,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:40:47] local.INFO: Processing buffer {"connection_id":161703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:40:47] local.INFO: Packet analysis {"connection_id":161703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:40:47] local.INFO: Extracted packet for processing {"connection_id":161703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629710080001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:40:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616356000,"timestamp_ms":1787616356000,"timestamp_seconds":1787616356,"priority":1,"record_length":96,"hex_timestamp":"000001a0363ce6a0"} 
[2026-08-25 05: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-25 05:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:40:47] local.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-25 05:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629710080001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629710080001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629710080001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":161703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:40:47] local.INFO: GPS data processed {"connection_id":161703,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:40:47] local.INFO: Acknowledgment sent {"connection_id":161703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:41:19] local.INFO: TCP Data received {"connection_id":161703,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:41:19] local.INFO: Processing buffer {"connection_id":161703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0363ce6a0012d34c3c006aa46b00017006d2a..."} 
[2026-08-25 05:41:19] local.INFO: Packet analysis {"connection_id":161703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:41:19] local.INFO: Extracted packet for processing {"connection_id":161703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0363c"} 
[2026-08-25 05:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629710080001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:41:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787616356000,"timestamp_ms":1787616356000,"timestamp_seconds":1787616356,"priority":1,"record_length":96,"hex_timestamp":"000001a0363ce6a0"} 
[2026-08-25 05: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-25 05:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629710080001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629710080001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629710080001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":161703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:41:19] local.INFO: GPS data processed {"connection_id":161703,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:41:19] local.INFO: Acknowledgment sent {"connection_id":161703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:41:41] local.INFO: TCP Data received {"connection_id":161459,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:41:41] local.INFO: Processing buffer {"connection_id":161459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:41:41] local.INFO: IMEI packet received {"connection_id":161459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":161459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:41:46] local.INFO: TCP Data received {"connection_id":161459,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:41:46] local.INFO: Processing buffer {"connection_id":161459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:41:46] local.INFO: IMEI packet received {"connection_id":161459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":161459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:41:47] local.INFO: TCP Data received {"connection_id":161459,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:41:47] local.INFO: Processing buffer {"connection_id":161459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:41:47] local.INFO: Packet analysis {"connection_id":161459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:41:47] local.INFO: Extracted packet for processing {"connection_id":161459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629787136001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616657000,"timestamp_ms":1787616657000,"timestamp_seconds":1787616657,"priority":1,"record_length":96,"hex_timestamp":"000001a036417e68"} 
[2026-08-25 05:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629787136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629787136001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629787136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":161459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:41:47] local.INFO: GPS data processed {"connection_id":161459,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:41:47] local.INFO: Acknowledgment sent {"connection_id":161459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:42:18] local.INFO: TCP Data received {"connection_id":161459,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:42:18] local.INFO: Processing buffer {"connection_id":161459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:42:18] local.INFO: Packet analysis {"connection_id":161459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:42:18] local.INFO: Extracted packet for processing {"connection_id":161459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629787136001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:42:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787616657000,"timestamp_ms":1787616657000,"timestamp_seconds":1787616657,"priority":1,"record_length":96,"hex_timestamp":"000001a036417e68"} 
[2026-08-25 05: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-25 05:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05: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-25 05: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-25 05:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:42:18] 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-25 05:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629787136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629787136001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629787136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":161459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:42:18] local.INFO: GPS data processed {"connection_id":161459,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:42:18] local.INFO: Acknowledgment sent {"connection_id":161459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:42:41] local.INFO: TCP Data received {"connection_id":162693,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:42:41] local.INFO: Processing buffer {"connection_id":162693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:42:41] local.INFO: IMEI packet received {"connection_id":162693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":162693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:42:46] local.INFO: TCP Data received {"connection_id":162693,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:42:46] local.INFO: Processing buffer {"connection_id":162693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:42:46] local.INFO: IMEI packet received {"connection_id":162693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":162693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:42:47] local.INFO: TCP Data received {"connection_id":162693,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:42:47] local.INFO: Processing buffer {"connection_id":162693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:42:47] local.INFO: Packet analysis {"connection_id":162693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:42:47] local.INFO: Extracted packet for processing {"connection_id":162693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629787136001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:42:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616657000,"timestamp_ms":1787616657000,"timestamp_seconds":1787616657,"priority":1,"record_length":96,"hex_timestamp":"000001a036417e68"} 
[2026-08-25 05:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629787136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629787136001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629787136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":162693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:42:47] local.INFO: GPS data processed {"connection_id":162693,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:42:47] local.INFO: Acknowledgment sent {"connection_id":162693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:43:18] local.INFO: TCP Data received {"connection_id":162693,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:43:18] local.INFO: Processing buffer {"connection_id":162693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:43:18] local.INFO: Packet analysis {"connection_id":162693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:43:18] local.INFO: Extracted packet for processing {"connection_id":162693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:43:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629787136001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:43:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787616657000,"timestamp_ms":1787616657000,"timestamp_seconds":1787616657,"priority":1,"record_length":96,"hex_timestamp":"000001a036417e68"} 
[2026-08-25 05:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:43:18] 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-25 05:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629787136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629787136001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629787136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":162693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:43:18] local.INFO: GPS data processed {"connection_id":162693,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:43:18] local.INFO: Acknowledgment sent {"connection_id":162693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:43:41] local.INFO: TCP Data received {"connection_id":161704,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:43:41] local.INFO: Processing buffer {"connection_id":161704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:43:41] local.INFO: IMEI packet received {"connection_id":161704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":161704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:43:46] local.INFO: TCP Data received {"connection_id":161704,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:43:46] local.INFO: Processing buffer {"connection_id":161704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:43:46] local.INFO: IMEI packet received {"connection_id":161704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":161704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:43:47] local.INFO: TCP Data received {"connection_id":161704,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:43:47] local.INFO: Processing buffer {"connection_id":161704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:43:47] local.INFO: Packet analysis {"connection_id":161704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:43:47] local.INFO: Extracted packet for processing {"connection_id":161704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629787136001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:43:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616657000,"timestamp_ms":1787616657000,"timestamp_seconds":1787616657,"priority":1,"record_length":96,"hex_timestamp":"000001a036417e68"} 
[2026-08-25 05:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629787136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629787136001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629787136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":161704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:43:47] local.INFO: GPS data processed {"connection_id":161704,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:43:47] local.INFO: Acknowledgment sent {"connection_id":161704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:44:18] local.INFO: TCP Data received {"connection_id":161704,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:44:18] local.INFO: Processing buffer {"connection_id":161704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:44:18] local.INFO: Packet analysis {"connection_id":161704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:44:18] local.INFO: Extracted packet for processing {"connection_id":161704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:44:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629787136001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:44:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787616657000,"timestamp_ms":1787616657000,"timestamp_seconds":1787616657,"priority":1,"record_length":96,"hex_timestamp":"000001a036417e68"} 
[2026-08-25 05:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:44:18] 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-25 05:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629787136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629787136001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:44:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629787136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":161704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:44:18] local.INFO: GPS data processed {"connection_id":161704,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:44:18] local.INFO: Acknowledgment sent {"connection_id":161704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:44:41] local.INFO: TCP Data received {"connection_id":162694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:44:41] local.INFO: Processing buffer {"connection_id":162694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:44:41] local.INFO: IMEI packet received {"connection_id":162694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":162694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:44:46] local.INFO: TCP Data received {"connection_id":162694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:44:46] local.INFO: Processing buffer {"connection_id":162694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:44:46] local.INFO: IMEI packet received {"connection_id":162694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":162694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:44:47] local.INFO: TCP Data received {"connection_id":162694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:44:47] local.INFO: Processing buffer {"connection_id":162694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:44:47] local.INFO: Packet analysis {"connection_id":162694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:44:47] local.INFO: Extracted packet for processing {"connection_id":162694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629787136001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:44:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616657000,"timestamp_ms":1787616657000,"timestamp_seconds":1787616657,"priority":1,"record_length":96,"hex_timestamp":"000001a036417e68"} 
[2026-08-25 05:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629787136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629787136001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629787136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":162694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:44:47] local.INFO: GPS data processed {"connection_id":162694,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:44:47] local.INFO: Acknowledgment sent {"connection_id":162694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:45:18] local.INFO: TCP Data received {"connection_id":162694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:45:18] local.INFO: Processing buffer {"connection_id":162694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:45:18] local.INFO: Packet analysis {"connection_id":162694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:45:18] local.INFO: Extracted packet for processing {"connection_id":162694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629787136001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:45:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787616657000,"timestamp_ms":1787616657000,"timestamp_seconds":1787616657,"priority":1,"record_length":96,"hex_timestamp":"000001a036417e68"} 
[2026-08-25 05: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-25 05:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05: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-25 05: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-25 05:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:45:18] local.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-25 05:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629787136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629787136001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629787136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":162694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:45:18] local.INFO: GPS data processed {"connection_id":162694,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:45:18] local.INFO: Acknowledgment sent {"connection_id":162694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:45:47] local.INFO: TCP Data received {"connection_id":161460,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:45:47] local.INFO: Processing buffer {"connection_id":161460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:45:47] local.INFO: IMEI packet received {"connection_id":161460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":161460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:45:51] local.INFO: TCP Data received {"connection_id":161460,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:45:51] local.INFO: Processing buffer {"connection_id":161460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:45:51] local.INFO: IMEI packet received {"connection_id":161460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":161460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:45:52] local.INFO: TCP Data received {"connection_id":161460,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:45:52] local.INFO: Processing buffer {"connection_id":161460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:45:52] local.INFO: Packet analysis {"connection_id":161460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:45:52] local.INFO: Extracted packet for processing {"connection_id":161460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629787136001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:45:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787616657000,"timestamp_ms":1787616657000,"timestamp_seconds":1787616657,"priority":1,"record_length":96,"hex_timestamp":"000001a036417e68"} 
[2026-08-25 05:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:45: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-25 05:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:45: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-25 05:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629787136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629787136001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629787136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":161460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:45:52] local.INFO: GPS data processed {"connection_id":161460,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:45:52] local.INFO: Acknowledgment sent {"connection_id":161460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:45:56] local.INFO: TCP Data received {"connection_id":161460,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:45:56] local.INFO: Processing buffer {"connection_id":161460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036417e68012d34c3c006aa46b00010006d2a..."} 
[2026-08-25 05:45:56] local.INFO: Packet analysis {"connection_id":161460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:45:56] local.INFO: Extracted packet for processing {"connection_id":161460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03641"} 
[2026-08-25 05:45:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629787136001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:45:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787616657000,"timestamp_ms":1787616657000,"timestamp_seconds":1787616657,"priority":1,"record_length":96,"hex_timestamp":"000001a036417e68"} 
[2026-08-25 05: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-25 05:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:45:56] 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-25 05:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629787136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629787136001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:45:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629787136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":161460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:45:56] local.INFO: GPS data processed {"connection_id":161460,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:45:56] local.INFO: Acknowledgment sent {"connection_id":161460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:46:41] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:46:41] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:46:41] local.INFO: IMEI packet received {"connection_id":162695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":162695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:46:46] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:46:46] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:46:46] local.INFO: IMEI packet received {"connection_id":162695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":162695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:46:47] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:46:47] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:46:47] local.INFO: Packet analysis {"connection_id":162695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:46:47] local.INFO: Extracted packet for processing {"connection_id":162695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":33,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629864192001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:46:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616958000,"timestamp_ms":1787616958000,"timestamp_seconds":1787616958,"priority":1,"record_length":96,"hex_timestamp":"000001a036461630"} 
[2026-08-25 05:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629864192001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629864192001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629864192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":162695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:46:47] local.INFO: GPS data processed {"connection_id":162695,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:46:47] local.INFO: Acknowledgment sent {"connection_id":162695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:47:18] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:47:18] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:47:18] local.INFO: Packet analysis {"connection_id":162695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:47:18] local.INFO: Extracted packet for processing {"connection_id":162695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":33,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629864192001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:47:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787616958000,"timestamp_ms":1787616958000,"timestamp_seconds":1787616958,"priority":1,"record_length":96,"hex_timestamp":"000001a036461630"} 
[2026-08-25 05:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629864192001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629864192001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629864192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":162695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:47:18] local.INFO: GPS data processed {"connection_id":162695,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:47:18] local.INFO: Acknowledgment sent {"connection_id":162695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:47:41] local.INFO: TCP Data received {"connection_id":161461,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:47:41] local.INFO: Processing buffer {"connection_id":161461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:47:41] local.INFO: IMEI packet received {"connection_id":161461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":161461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:47:46] local.INFO: TCP Data received {"connection_id":161461,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:47:46] local.INFO: Processing buffer {"connection_id":161461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:47:46] local.INFO: IMEI packet received {"connection_id":161461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":161461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:47:47] local.INFO: TCP Data received {"connection_id":161461,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:47:47] local.INFO: Processing buffer {"connection_id":161461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:47:47] local.INFO: Packet analysis {"connection_id":161461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:47:47] local.INFO: Extracted packet for processing {"connection_id":161461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":33,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629864192001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:47:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616958000,"timestamp_ms":1787616958000,"timestamp_seconds":1787616958,"priority":1,"record_length":96,"hex_timestamp":"000001a036461630"} 
[2026-08-25 05:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:47:47] 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-25 05:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629864192001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629864192001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629864192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":161461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:47:47] local.INFO: GPS data processed {"connection_id":161461,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:47:47] local.INFO: Acknowledgment sent {"connection_id":161461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:48:18] local.INFO: TCP Data received {"connection_id":161461,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:48:18] local.INFO: Processing buffer {"connection_id":161461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:48:18] local.INFO: Packet analysis {"connection_id":161461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:48:18] local.INFO: Extracted packet for processing {"connection_id":161461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":33,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629864192001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:48:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787616958000,"timestamp_ms":1787616958000,"timestamp_seconds":1787616958,"priority":1,"record_length":96,"hex_timestamp":"000001a036461630"} 
[2026-08-25 05:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:48:18] 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-25 05:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629864192001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629864192001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629864192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":161461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:48:18] local.INFO: GPS data processed {"connection_id":161461,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:48:18] local.INFO: Acknowledgment sent {"connection_id":161461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:48:41] local.INFO: TCP Data received {"connection_id":162696,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:48:41] local.INFO: Processing buffer {"connection_id":162696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:48:41] local.INFO: IMEI packet received {"connection_id":162696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":162696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:48:46] local.INFO: TCP Data received {"connection_id":162696,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:48:46] local.INFO: Processing buffer {"connection_id":162696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:48:46] local.INFO: IMEI packet received {"connection_id":162696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":162696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:48:47] local.INFO: TCP Data received {"connection_id":162696,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:48:47] local.INFO: Processing buffer {"connection_id":162696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:48:47] local.INFO: Packet analysis {"connection_id":162696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:48:47] local.INFO: Extracted packet for processing {"connection_id":162696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":33,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629864192001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:48:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616958000,"timestamp_ms":1787616958000,"timestamp_seconds":1787616958,"priority":1,"record_length":96,"hex_timestamp":"000001a036461630"} 
[2026-08-25 05:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629864192001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629864192001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629864192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":162696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:48:47] local.INFO: GPS data processed {"connection_id":162696,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:48:47] local.INFO: Acknowledgment sent {"connection_id":162696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:49:18] local.INFO: TCP Data received {"connection_id":162696,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:49:18] local.INFO: Processing buffer {"connection_id":162696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:49:18] local.INFO: Packet analysis {"connection_id":162696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:49:18] local.INFO: Extracted packet for processing {"connection_id":162696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":33,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629864192001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:49:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787616958000,"timestamp_ms":1787616958000,"timestamp_seconds":1787616958,"priority":1,"record_length":96,"hex_timestamp":"000001a036461630"} 
[2026-08-25 05:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:49:18] 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-25 05:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629864192001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629864192001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629864192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":162696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:49:18] local.INFO: GPS data processed {"connection_id":162696,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:49:18] local.INFO: Acknowledgment sent {"connection_id":162696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:49:41] local.INFO: TCP Data received {"connection_id":164086,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:49:41] local.INFO: Processing buffer {"connection_id":164086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:49:41] local.INFO: IMEI packet received {"connection_id":164086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":164086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:49:46] local.INFO: TCP Data received {"connection_id":164086,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:49:46] local.INFO: Processing buffer {"connection_id":164086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:49:46] local.INFO: IMEI packet received {"connection_id":164086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":164086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:49:47] local.INFO: TCP Data received {"connection_id":164086,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:49:47] local.INFO: Processing buffer {"connection_id":164086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:49:47] local.INFO: Packet analysis {"connection_id":164086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:49:47] local.INFO: Extracted packet for processing {"connection_id":164086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":33,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629864192001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:49:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616958000,"timestamp_ms":1787616958000,"timestamp_seconds":1787616958,"priority":1,"record_length":96,"hex_timestamp":"000001a036461630"} 
[2026-08-25 05:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:49:47] 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-25 05:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629864192001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629864192001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629864192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":164086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:49:47] local.INFO: GPS data processed {"connection_id":164086,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:49:47] local.INFO: Acknowledgment sent {"connection_id":164086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:50:19] local.INFO: TCP Data received {"connection_id":164086,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:50:19] local.INFO: Processing buffer {"connection_id":164086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:50:19] local.INFO: Packet analysis {"connection_id":164086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:50:19] local.INFO: Extracted packet for processing {"connection_id":164086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:50:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":33,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629864192001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:50:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787616958000,"timestamp_ms":1787616958000,"timestamp_seconds":1787616958,"priority":1,"record_length":96,"hex_timestamp":"000001a036461630"} 
[2026-08-25 05:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629864192001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629864192001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:50:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629864192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":164086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:50:19] local.INFO: GPS data processed {"connection_id":164086,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:50:19] local.INFO: Acknowledgment sent {"connection_id":164086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:50:40] local.INFO: TCP Data received {"connection_id":161462,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:50:40] local.INFO: Processing buffer {"connection_id":161462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:50:40] local.INFO: IMEI packet received {"connection_id":161462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":161462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:50:46] local.INFO: TCP Data received {"connection_id":161462,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:50:46] local.INFO: Processing buffer {"connection_id":161462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:50:46] local.INFO: IMEI packet received {"connection_id":161462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":161462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:50:47] local.INFO: TCP Data received {"connection_id":161462,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:50:47] local.INFO: Processing buffer {"connection_id":161462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:50:47] local.INFO: Packet analysis {"connection_id":161462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:50:47] local.INFO: Extracted packet for processing {"connection_id":161462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":33,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629864192001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:50:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787616958000,"timestamp_ms":1787616958000,"timestamp_seconds":1787616958,"priority":1,"record_length":96,"hex_timestamp":"000001a036461630"} 
[2026-08-25 05:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:50:47] local.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-25 05:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629864192001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629864192001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629864192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":161462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:50:47] local.INFO: GPS data processed {"connection_id":161462,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:50:47] local.INFO: Acknowledgment sent {"connection_id":161462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:51:19] local.INFO: TCP Data received {"connection_id":161462,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:51:19] local.INFO: Processing buffer {"connection_id":161462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036461630012d34c3c006aa46b00021006d2d..."} 
[2026-08-25 05:51:19] local.INFO: Packet analysis {"connection_id":161462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:51:19] local.INFO: Extracted packet for processing {"connection_id":161462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03646"} 
[2026-08-25 05:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":33,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629864192001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:51:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787616958000,"timestamp_ms":1787616958000,"timestamp_seconds":1787616958,"priority":1,"record_length":96,"hex_timestamp":"000001a036461630"} 
[2026-08-25 05: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-25 05:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 05:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629864192001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629864192001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629864192001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":161462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:51:19] local.INFO: GPS data processed {"connection_id":161462,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:51:19] local.INFO: Acknowledgment sent {"connection_id":161462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:51:46] local.INFO: TCP Data received {"connection_id":161705,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:51:46] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:51:46] local.INFO: IMEI packet received {"connection_id":161705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":161705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:51:51] local.INFO: TCP Data received {"connection_id":161705,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:51:51] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:51:51] local.INFO: IMEI packet received {"connection_id":161705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":161705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:51:52] local.INFO: TCP Data received {"connection_id":161705,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:51:52] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:51:52] local.INFO: Packet analysis {"connection_id":161705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:51:52] local.INFO: Extracted packet for processing {"connection_id":161705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629941248001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:51:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787617259000,"timestamp_ms":1787617259000,"timestamp_seconds":1787617259,"priority":1,"record_length":96,"hex_timestamp":"000001a0364aadf8"} 
[2026-08-25 05:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 05:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629941248001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629941248001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629941248001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":161705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:51:52] local.INFO: GPS data processed {"connection_id":161705,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:51:52] local.INFO: Acknowledgment sent {"connection_id":161705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:51:56] local.INFO: TCP Data received {"connection_id":161705,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:51:56] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:51:56] local.INFO: Packet analysis {"connection_id":161705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:51:56] local.INFO: Extracted packet for processing {"connection_id":161705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:51:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629941248001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:51:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787617259000,"timestamp_ms":1787617259000,"timestamp_seconds":1787617259,"priority":1,"record_length":96,"hex_timestamp":"000001a0364aadf8"} 
[2026-08-25 05:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 05:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629941248001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629941248001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:51:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629941248001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":161705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:51:56] local.INFO: GPS data processed {"connection_id":161705,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:51:56] local.INFO: Acknowledgment sent {"connection_id":161705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:52:41] local.INFO: TCP Data received {"connection_id":161463,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:52:41] local.INFO: Processing buffer {"connection_id":161463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:52:41] local.INFO: IMEI packet received {"connection_id":161463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":161463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:52:46] local.INFO: TCP Data received {"connection_id":161463,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:52:46] local.INFO: Processing buffer {"connection_id":161463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:52:46] local.INFO: IMEI packet received {"connection_id":161463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":161463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:52:47] local.INFO: TCP Data received {"connection_id":161463,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:52:47] local.INFO: Processing buffer {"connection_id":161463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:52:47] local.INFO: Packet analysis {"connection_id":161463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:52:47] local.INFO: Extracted packet for processing {"connection_id":161463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629941248001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:52:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787617259000,"timestamp_ms":1787617259000,"timestamp_seconds":1787617259,"priority":1,"record_length":96,"hex_timestamp":"000001a0364aadf8"} 
[2026-08-25 05:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 05:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629941248001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629941248001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629941248001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":161463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:52:47] local.INFO: GPS data processed {"connection_id":161463,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:52:47] local.INFO: Acknowledgment sent {"connection_id":161463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:53:19] local.INFO: TCP Data received {"connection_id":161463,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:53:19] local.INFO: Processing buffer {"connection_id":161463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:53:19] local.INFO: Packet analysis {"connection_id":161463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:53:19] local.INFO: Extracted packet for processing {"connection_id":161463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629941248001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:53:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787617259000,"timestamp_ms":1787617259000,"timestamp_seconds":1787617259,"priority":1,"record_length":96,"hex_timestamp":"000001a0364aadf8"} 
[2026-08-25 05: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-25 05:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 05:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05: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-25 05:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629941248001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629941248001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629941248001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":161463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:53:19] local.INFO: GPS data processed {"connection_id":161463,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:53:19] local.INFO: Acknowledgment sent {"connection_id":161463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:53:41] local.INFO: TCP Data received {"connection_id":162697,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:53:41] local.INFO: Processing buffer {"connection_id":162697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:53:41] local.INFO: IMEI packet received {"connection_id":162697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":162697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:53:45] local.INFO: TCP Data received {"connection_id":162697,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:53:45] local.INFO: Processing buffer {"connection_id":162697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:53:45] local.INFO: IMEI packet received {"connection_id":162697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":162697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:53:47] local.INFO: TCP Data received {"connection_id":162697,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:53:47] local.INFO: Processing buffer {"connection_id":162697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:53:47] local.INFO: Packet analysis {"connection_id":162697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:53:47] local.INFO: Extracted packet for processing {"connection_id":162697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629941248001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:53:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787617259000,"timestamp_ms":1787617259000,"timestamp_seconds":1787617259,"priority":1,"record_length":96,"hex_timestamp":"000001a0364aadf8"} 
[2026-08-25 05:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 05:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629941248001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629941248001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629941248001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":162697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:53:47] local.INFO: GPS data processed {"connection_id":162697,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:53:47] local.INFO: Acknowledgment sent {"connection_id":162697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:54:18] local.INFO: TCP Data received {"connection_id":162697,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:54:18] local.INFO: Processing buffer {"connection_id":162697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:54:18] local.INFO: Packet analysis {"connection_id":162697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:54:18] local.INFO: Extracted packet for processing {"connection_id":162697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629941248001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:54:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787617259000,"timestamp_ms":1787617259000,"timestamp_seconds":1787617259,"priority":1,"record_length":96,"hex_timestamp":"000001a0364aadf8"} 
[2026-08-25 05:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 05:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:54:18] 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-25 05:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629941248001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629941248001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629941248001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":162697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:54:18] local.INFO: GPS data processed {"connection_id":162697,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:54:18] local.INFO: Acknowledgment sent {"connection_id":162697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:54:41] local.INFO: TCP Data received {"connection_id":164087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:54:41] local.INFO: Processing buffer {"connection_id":164087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:54:41] local.INFO: IMEI packet received {"connection_id":164087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":164087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:54:46] local.INFO: TCP Data received {"connection_id":164087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:54:46] local.INFO: Processing buffer {"connection_id":164087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:54:46] local.INFO: IMEI packet received {"connection_id":164087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":164087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:54:47] local.INFO: TCP Data received {"connection_id":164087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:54:47] local.INFO: Processing buffer {"connection_id":164087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:54:47] local.INFO: Packet analysis {"connection_id":164087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:54:47] local.INFO: Extracted packet for processing {"connection_id":164087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629941248001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:54:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787617259000,"timestamp_ms":1787617259000,"timestamp_seconds":1787617259,"priority":1,"record_length":96,"hex_timestamp":"000001a0364aadf8"} 
[2026-08-25 05:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 05:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629941248001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629941248001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629941248001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":164087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:54:47] local.INFO: GPS data processed {"connection_id":164087,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:54:47] local.INFO: Acknowledgment sent {"connection_id":164087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:55:18] local.INFO: TCP Data received {"connection_id":164087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:55:18] local.INFO: Processing buffer {"connection_id":164087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:55:18] local.INFO: Packet analysis {"connection_id":164087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:55:18] local.INFO: Extracted packet for processing {"connection_id":164087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629941248001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:55:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787617259000,"timestamp_ms":1787617259000,"timestamp_seconds":1787617259,"priority":1,"record_length":96,"hex_timestamp":"000001a0364aadf8"} 
[2026-08-25 05:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 05:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:55:18] local.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-25 05:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629941248001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629941248001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629941248001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":164087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:55:18] local.INFO: GPS data processed {"connection_id":164087,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:55:18] local.INFO: Acknowledgment sent {"connection_id":164087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:55:46] local.INFO: TCP Data received {"connection_id":161706,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:55:46] local.INFO: Processing buffer {"connection_id":161706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:55:46] local.INFO: IMEI packet received {"connection_id":161706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":161706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:55:51] local.INFO: TCP Data received {"connection_id":161706,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:55:51] local.INFO: Processing buffer {"connection_id":161706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:55:51] local.INFO: IMEI packet received {"connection_id":161706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":161706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:55:52] local.INFO: TCP Data received {"connection_id":161706,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:55:52] local.INFO: Processing buffer {"connection_id":161706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:55:52] local.INFO: Packet analysis {"connection_id":161706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:55:52] local.INFO: Extracted packet for processing {"connection_id":161706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629941248001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:55:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787617259000,"timestamp_ms":1787617259000,"timestamp_seconds":1787617259,"priority":1,"record_length":96,"hex_timestamp":"000001a0364aadf8"} 
[2026-08-25 05: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-25 05:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 05:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629941248001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629941248001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629941248001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":161706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:55:52] local.INFO: GPS data processed {"connection_id":161706,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:55:52] local.INFO: Acknowledgment sent {"connection_id":161706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:55:57] local.INFO: TCP Data received {"connection_id":161706,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:55:57] local.INFO: Processing buffer {"connection_id":161706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364aadf8012d34c3c006aa46b00010006d29..."} 
[2026-08-25 05:55:57] local.INFO: Packet analysis {"connection_id":161706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:55:57] local.INFO: Extracted packet for processing {"connection_id":161706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364a"} 
[2026-08-25 05:55:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457629941248001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:55:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787617259000,"timestamp_ms":1787617259000,"timestamp_seconds":1787617259,"priority":1,"record_length":96,"hex_timestamp":"000001a0364aadf8"} 
[2026-08-25 05:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 05:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457629941248001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457629941248001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:55:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457629941248001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":161706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:55:57] local.INFO: GPS data processed {"connection_id":161706,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:55:57] local.INFO: Acknowledgment sent {"connection_id":161706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:56:38] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:56:38] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:56:38] local.INFO: IMEI packet received {"connection_id":161707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":161707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:56:41] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:56:41] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:56:41] local.INFO: IMEI packet received {"connection_id":161707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":161707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:56:46] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:56:46] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:56:46] local.INFO: IMEI packet received {"connection_id":161707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":161707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:56:47] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:56:47] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:56:47] local.INFO: Packet analysis {"connection_id":161707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:56:47] local.INFO: Extracted packet for processing {"connection_id":161707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630018304001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:56:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787617560000,"timestamp_ms":1787617560000,"timestamp_seconds":1787617560,"priority":1,"record_length":96,"hex_timestamp":"000001a0364f45c0"} 
[2026-08-25 05:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630018304001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630018304001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630018304001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":161707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:56:47] local.INFO: GPS data processed {"connection_id":161707,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:56:47] local.INFO: Acknowledgment sent {"connection_id":161707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:57:18] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:57:18] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:57:18] local.INFO: Packet analysis {"connection_id":161707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:57:18] local.INFO: Extracted packet for processing {"connection_id":161707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630018304001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:57:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787617560000,"timestamp_ms":1787617560000,"timestamp_seconds":1787617560,"priority":1,"record_length":96,"hex_timestamp":"000001a0364f45c0"} 
[2026-08-25 05: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-25 05:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05: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-25 05: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-25 05:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630018304001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630018304001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:57:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630018304001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":161707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:57:18] local.INFO: GPS data processed {"connection_id":161707,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:57:18] local.INFO: Acknowledgment sent {"connection_id":161707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:57:41] local.INFO: TCP Data received {"connection_id":164088,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:57:41] local.INFO: Processing buffer {"connection_id":164088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:57:41] local.INFO: IMEI packet received {"connection_id":164088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":164088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:57:46] local.INFO: TCP Data received {"connection_id":164088,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:57:46] local.INFO: Processing buffer {"connection_id":164088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:57:46] local.INFO: IMEI packet received {"connection_id":164088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":164088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:57:47] local.INFO: TCP Data received {"connection_id":164088,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:57:47] local.INFO: Processing buffer {"connection_id":164088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:57:47] local.INFO: Packet analysis {"connection_id":164088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:57:47] local.INFO: Extracted packet for processing {"connection_id":164088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630018304001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:57:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787617560000,"timestamp_ms":1787617560000,"timestamp_seconds":1787617560,"priority":1,"record_length":96,"hex_timestamp":"000001a0364f45c0"} 
[2026-08-25 05: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-25 05:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05: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-25 05: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-25 05:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:57: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-25 05:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630018304001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630018304001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630018304001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":164088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:57:47] local.INFO: GPS data processed {"connection_id":164088,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:57:47] local.INFO: Acknowledgment sent {"connection_id":164088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:58:18] local.INFO: TCP Data received {"connection_id":164088,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:58:18] local.INFO: Processing buffer {"connection_id":164088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:58:18] local.INFO: Packet analysis {"connection_id":164088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:58:18] local.INFO: Extracted packet for processing {"connection_id":164088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630018304001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:58:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787617560000,"timestamp_ms":1787617560000,"timestamp_seconds":1787617560,"priority":1,"record_length":96,"hex_timestamp":"000001a0364f45c0"} 
[2026-08-25 05:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630018304001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630018304001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630018304001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":164088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:58:18] local.INFO: GPS data processed {"connection_id":164088,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:58:18] local.INFO: Acknowledgment sent {"connection_id":164088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:58:41] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:58:41] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:58:41] local.INFO: IMEI packet received {"connection_id":161464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":161464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:58:46] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:58:46] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:58:46] local.INFO: IMEI packet received {"connection_id":161464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":161464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:58:47] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:58:47] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:58:47] local.INFO: Packet analysis {"connection_id":161464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:58:47] local.INFO: Extracted packet for processing {"connection_id":161464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630018304001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:58:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787617560000,"timestamp_ms":1787617560000,"timestamp_seconds":1787617560,"priority":1,"record_length":96,"hex_timestamp":"000001a0364f45c0"} 
[2026-08-25 05:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:58: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-25 05:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630018304001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630018304001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630018304001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":161464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:58:47] local.INFO: GPS data processed {"connection_id":161464,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:58:47] local.INFO: Acknowledgment sent {"connection_id":161464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:59:18] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:59:18] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:59:18] local.INFO: Packet analysis {"connection_id":161464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:59:18] local.INFO: Extracted packet for processing {"connection_id":161464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05: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-25 05:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630018304001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:59:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787617560000,"timestamp_ms":1787617560000,"timestamp_seconds":1787617560,"priority":1,"record_length":96,"hex_timestamp":"000001a0364f45c0"} 
[2026-08-25 05: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-25 05:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05: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-25 05: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-25 05:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:59:18] 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-25 05:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630018304001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630018304001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630018304001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":161464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:59:18] local.INFO: GPS data processed {"connection_id":161464,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:59:18] local.INFO: Acknowledgment sent {"connection_id":161464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 05:59:40] local.INFO: TCP Data received {"connection_id":164089,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:59:40] local.INFO: Processing buffer {"connection_id":164089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:59:40] local.INFO: IMEI packet received {"connection_id":164089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 05:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":164089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 05:59:46] local.INFO: TCP Data received {"connection_id":164089,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:59:46] local.INFO: Processing buffer {"connection_id":164089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 05:59:46] local.INFO: IMEI packet received {"connection_id":164089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 05:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":164089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 05:59:47] local.INFO: TCP Data received {"connection_id":164089,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:59:47] local.INFO: Processing buffer {"connection_id":164089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 05:59:47] local.INFO: Packet analysis {"connection_id":164089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:59:47] local.INFO: Extracted packet for processing {"connection_id":164089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 05:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 05:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 05:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630018304001,"note":"Value kept but may cause issues"} 
[2026-08-25 05:59:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 05:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 05:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 05:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 05:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787617560000,"timestamp_ms":1787617560000,"timestamp_seconds":1787617560,"priority":1,"record_length":96,"hex_timestamp":"000001a0364f45c0"} 
[2026-08-25 05:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 05:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 05:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 05:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 05:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 05:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 05:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 05:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 05:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 05:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 05:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 05:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 05:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630018304001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 05:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 05:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 05:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630018304001,"description":"Unknown IO ID 0"} 
[2026-08-25 05:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 05:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 05:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 05:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630018304001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 05:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":164089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 05:59:47] local.INFO: GPS data processed {"connection_id":164089,"processed":1,"errors":0,"total":1} 
[2026-08-25 05:59:47] local.INFO: Acknowledgment sent {"connection_id":164089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:00:18] local.INFO: TCP Data received {"connection_id":164089,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 06:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 06:00:18] local.INFO: Processing buffer {"connection_id":164089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 06:00:18] local.INFO: Packet analysis {"connection_id":164089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 06:00:18] local.INFO: Extracted packet for processing {"connection_id":164089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 06:00:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630018304001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:00:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787617560000,"timestamp_ms":1787617560000,"timestamp_seconds":1787617560,"priority":1,"record_length":96,"hex_timestamp":"000001a0364f45c0"} 
[2026-08-25 06:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:00:18] 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-25 06:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630018304001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630018304001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:00:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630018304001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":164089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:00:18] local.INFO: GPS data processed {"connection_id":164089,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:00:18] local.INFO: Acknowledgment sent {"connection_id":164089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:00:41] local.INFO: TCP Data received {"connection_id":162698,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:00:41] local.INFO: Processing buffer {"connection_id":162698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:00:41] local.INFO: IMEI packet received {"connection_id":162698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":162698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:00:46] local.INFO: TCP Data received {"connection_id":162698,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:00:46] local.INFO: Processing buffer {"connection_id":162698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:00:46] local.INFO: IMEI packet received {"connection_id":162698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":162698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:00:47] local.INFO: TCP Data received {"connection_id":162698,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 06:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 06:00:47] local.INFO: Processing buffer {"connection_id":162698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 06:00:47] local.INFO: Packet analysis {"connection_id":162698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 06:00:47] local.INFO: Extracted packet for processing {"connection_id":162698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 06:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630018304001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:00:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787617560000,"timestamp_ms":1787617560000,"timestamp_seconds":1787617560,"priority":1,"record_length":96,"hex_timestamp":"000001a0364f45c0"} 
[2026-08-25 06:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:00:47] 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-25 06:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630018304001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630018304001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630018304001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":162698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:00:47] local.INFO: GPS data processed {"connection_id":162698,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:00:47] local.INFO: Acknowledgment sent {"connection_id":162698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:01:18] local.INFO: TCP Data received {"connection_id":162698,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 06:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 06:01:18] local.INFO: Processing buffer {"connection_id":162698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0364f45c0012d34c3c006aa46b00014006d2d..."} 
[2026-08-25 06:01:18] local.INFO: Packet analysis {"connection_id":162698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 06:01:18] local.INFO: Extracted packet for processing {"connection_id":162698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0364f"} 
[2026-08-25 06:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":20,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 06:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630018304001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:01:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787617560000,"timestamp_ms":1787617560000,"timestamp_seconds":1787617560,"priority":1,"record_length":96,"hex_timestamp":"000001a0364f45c0"} 
[2026-08-25 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-25 06:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 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-25 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-25 06:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:01:18] 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-25 06:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630018304001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630018304001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630018304001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":162698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:01:18] local.INFO: GPS data processed {"connection_id":162698,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:01:18] local.INFO: Acknowledgment sent {"connection_id":162698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:01:20] local.INFO: TCP Data received {"connection_id":161708,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-25 06:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161708,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-25 06:01:20] local.INFO: Processing buffer {"connection_id":161708,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-25 06:01:20] local.INFO: Packet analysis {"connection_id":161708,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-25 06:01:20] local.INFO: Extracted packet for processing {"connection_id":161708,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-25 06:01:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 06:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-08-25 06:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-25 06:01:20] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-08-25 06:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-25 06:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-25 06:01:20] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161708,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 06:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161708,"device_imei":null,"avl_records_count":1} 
[2026-08-25 06:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161708,"device_imei":null,"avl_records_count":1} 
[2026-08-25 06:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":161708,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 06:01:20] local.INFO: GPS data processed {"connection_id":161708,"processed":0,"errors":0,"total":1} 
[2026-08-25 06:01:20] local.INFO: Acknowledgment sent {"connection_id":161708,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:01:20] local.INFO: TCP Data received {"connection_id":161465,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-25 06:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161465,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-25 06:01:20] local.INFO: Processing buffer {"connection_id":161465,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-25 06:01:20] local.INFO: Packet analysis {"connection_id":161465,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-25 06:01:20] local.INFO: Extracted packet for processing {"connection_id":161465,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-25 06:01:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 06:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-08-25 06:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-25 06:01:20] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-08-25 06:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-25 06:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-25 06:01:20] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161465,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 06:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161465,"device_imei":null,"avl_records_count":1} 
[2026-08-25 06:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161465,"device_imei":null,"avl_records_count":1} 
[2026-08-25 06:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":161465,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 06:01:20] local.INFO: GPS data processed {"connection_id":161465,"processed":0,"errors":0,"total":1} 
[2026-08-25 06:01:20] local.INFO: Acknowledgment sent {"connection_id":161465,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:01:46] local.INFO: TCP Data received {"connection_id":161466,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:01:46] local.INFO: Processing buffer {"connection_id":161466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:01:46] local.INFO: IMEI packet received {"connection_id":161466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":161466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:01:51] local.INFO: TCP Data received {"connection_id":161466,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:01:51] local.INFO: Processing buffer {"connection_id":161466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:01:51] local.INFO: IMEI packet received {"connection_id":161466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":161466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:01:52] local.INFO: TCP Data received {"connection_id":161466,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:01:52] local.INFO: Processing buffer {"connection_id":161466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:01:52] local.INFO: Packet analysis {"connection_id":161466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:01:52] local.INFO: Extracted packet for processing {"connection_id":161466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630095360001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:01:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787617861000,"timestamp_ms":1787617861000,"timestamp_seconds":1787617861,"priority":1,"record_length":96,"hex_timestamp":"000001a03653dd88"} 
[2026-08-25 06: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-25 06:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:01: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-25 06:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630095360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630095360001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630095360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":161466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:01:52] local.INFO: GPS data processed {"connection_id":161466,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:01:52] local.INFO: Acknowledgment sent {"connection_id":161466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:01:56] local.INFO: TCP Data received {"connection_id":161466,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:01:56] local.INFO: Processing buffer {"connection_id":161466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:01:56] local.INFO: Packet analysis {"connection_id":161466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:01:56] local.INFO: Extracted packet for processing {"connection_id":161466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:01:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630095360001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:01:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787617861000,"timestamp_ms":1787617861000,"timestamp_seconds":1787617861,"priority":1,"record_length":96,"hex_timestamp":"000001a03653dd88"} 
[2026-08-25 06: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-25 06:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:01:56] 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-25 06: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-25 06: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-25 06:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:01: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-25 06:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630095360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630095360001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:01:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630095360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":161466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:01:56] local.INFO: GPS data processed {"connection_id":161466,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:01:56] local.INFO: Acknowledgment sent {"connection_id":161466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:02:41] local.INFO: TCP Data received {"connection_id":164090,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:02:41] local.INFO: Processing buffer {"connection_id":164090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:02:41] local.INFO: IMEI packet received {"connection_id":164090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":164090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:02:46] local.INFO: TCP Data received {"connection_id":164090,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:02:46] local.INFO: Processing buffer {"connection_id":164090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:02:46] local.INFO: IMEI packet received {"connection_id":164090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":164090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:02:47] local.INFO: TCP Data received {"connection_id":164090,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:02:47] local.INFO: Processing buffer {"connection_id":164090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:02:47] local.INFO: Packet analysis {"connection_id":164090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:02:47] local.INFO: Extracted packet for processing {"connection_id":164090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630095360001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:02:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787617861000,"timestamp_ms":1787617861000,"timestamp_seconds":1787617861,"priority":1,"record_length":96,"hex_timestamp":"000001a03653dd88"} 
[2026-08-25 06: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-25 06:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630095360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630095360001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630095360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":164090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:02:47] local.INFO: GPS data processed {"connection_id":164090,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:02:47] local.INFO: Acknowledgment sent {"connection_id":164090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:03:18] local.INFO: TCP Data received {"connection_id":164090,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:03:18] local.INFO: Processing buffer {"connection_id":164090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:03:18] local.INFO: Packet analysis {"connection_id":164090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:03:18] local.INFO: Extracted packet for processing {"connection_id":164090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630095360001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:03:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787617861000,"timestamp_ms":1787617861000,"timestamp_seconds":1787617861,"priority":1,"record_length":96,"hex_timestamp":"000001a03653dd88"} 
[2026-08-25 06: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-25 06:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:03:18] 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-25 06: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-25 06: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-25 06:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630095360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630095360001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630095360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":164090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:03:18] local.INFO: GPS data processed {"connection_id":164090,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:03:18] local.INFO: Acknowledgment sent {"connection_id":164090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:03:41] local.INFO: TCP Data received {"connection_id":162699,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:03:41] local.INFO: Processing buffer {"connection_id":162699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:03:41] local.INFO: IMEI packet received {"connection_id":162699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":162699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:03:46] local.INFO: TCP Data received {"connection_id":162699,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:03:46] local.INFO: Processing buffer {"connection_id":162699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:03:46] local.INFO: IMEI packet received {"connection_id":162699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":162699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:03:48] local.INFO: TCP Data received {"connection_id":162699,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:03:48] local.INFO: Processing buffer {"connection_id":162699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:03:48] local.INFO: Packet analysis {"connection_id":162699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:03:48] local.INFO: Extracted packet for processing {"connection_id":162699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630095360001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:03:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787617861000,"timestamp_ms":1787617861000,"timestamp_seconds":1787617861,"priority":1,"record_length":96,"hex_timestamp":"000001a03653dd88"} 
[2026-08-25 06:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630095360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630095360001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630095360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":162699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:03:48] local.INFO: GPS data processed {"connection_id":162699,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:03:48] local.INFO: Acknowledgment sent {"connection_id":162699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:04:20] local.INFO: TCP Data received {"connection_id":162699,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:04:20] local.INFO: Processing buffer {"connection_id":162699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:04:20] local.INFO: Packet analysis {"connection_id":162699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:04:20] local.INFO: Extracted packet for processing {"connection_id":162699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630095360001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:04:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787617861000,"timestamp_ms":1787617861000,"timestamp_seconds":1787617861,"priority":1,"record_length":96,"hex_timestamp":"000001a03653dd88"} 
[2026-08-25 06: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-25 06:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:04:20] 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-25 06:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630095360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630095360001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630095360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":162699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:04:20] local.INFO: GPS data processed {"connection_id":162699,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:04:20] local.INFO: Acknowledgment sent {"connection_id":162699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:04:40] local.INFO: TCP Data received {"connection_id":162700,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:04:40] local.INFO: Processing buffer {"connection_id":162700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:04:40] local.INFO: IMEI packet received {"connection_id":162700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":162700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:04:46] local.INFO: TCP Data received {"connection_id":162700,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:04:46] local.INFO: Processing buffer {"connection_id":162700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:04:46] local.INFO: IMEI packet received {"connection_id":162700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":162700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:04:47] local.INFO: TCP Data received {"connection_id":162700,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:04:47] local.INFO: Processing buffer {"connection_id":162700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:04:47] local.INFO: Packet analysis {"connection_id":162700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:04:47] local.INFO: Extracted packet for processing {"connection_id":162700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630095360001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:04:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787617861000,"timestamp_ms":1787617861000,"timestamp_seconds":1787617861,"priority":1,"record_length":96,"hex_timestamp":"000001a03653dd88"} 
[2026-08-25 06:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630095360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630095360001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630095360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":162700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:04:47] local.INFO: GPS data processed {"connection_id":162700,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:04:47] local.INFO: Acknowledgment sent {"connection_id":162700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:05:19] local.INFO: TCP Data received {"connection_id":162700,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:05:19] local.INFO: Processing buffer {"connection_id":162700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:05:19] local.INFO: Packet analysis {"connection_id":162700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:05:19] local.INFO: Extracted packet for processing {"connection_id":162700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630095360001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:05:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787617861000,"timestamp_ms":1787617861000,"timestamp_seconds":1787617861,"priority":1,"record_length":96,"hex_timestamp":"000001a03653dd88"} 
[2026-08-25 06:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:05:19] 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-25 06:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630095360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630095360001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630095360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":162700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:05:19] local.INFO: GPS data processed {"connection_id":162700,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:05:19] local.INFO: Acknowledgment sent {"connection_id":162700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:05:40] local.INFO: TCP Data received {"connection_id":164091,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:05:40] local.INFO: Processing buffer {"connection_id":164091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:05:40] local.INFO: IMEI packet received {"connection_id":164091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":164091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:05:46] local.INFO: TCP Data received {"connection_id":164091,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:05:46] local.INFO: Processing buffer {"connection_id":164091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:05:46] local.INFO: IMEI packet received {"connection_id":164091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":164091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:05:47] local.INFO: TCP Data received {"connection_id":164091,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:05:47] local.INFO: Processing buffer {"connection_id":164091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:05:47] local.INFO: Packet analysis {"connection_id":164091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:05:47] local.INFO: Extracted packet for processing {"connection_id":164091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630095360001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:05:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787617861000,"timestamp_ms":1787617861000,"timestamp_seconds":1787617861,"priority":1,"record_length":96,"hex_timestamp":"000001a03653dd88"} 
[2026-08-25 06:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630095360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630095360001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630095360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":164091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:05:47] local.INFO: GPS data processed {"connection_id":164091,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:05:47] local.INFO: Acknowledgment sent {"connection_id":164091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:06:18] local.INFO: TCP Data received {"connection_id":164091,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:06:18] local.INFO: Processing buffer {"connection_id":164091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03653dd88012d34c3c006aa46b00017006d29..."} 
[2026-08-25 06:06:18] local.INFO: Packet analysis {"connection_id":164091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:06:18] local.INFO: Extracted packet for processing {"connection_id":164091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03653"} 
[2026-08-25 06:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":23,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630095360001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:06:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787617861000,"timestamp_ms":1787617861000,"timestamp_seconds":1787617861,"priority":1,"record_length":96,"hex_timestamp":"000001a03653dd88"} 
[2026-08-25 06: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-25 06:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:06:18] 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-25 06: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-25 06: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-25 06:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:06:18] 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-25 06:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630095360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630095360001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630095360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":164091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:06:18] local.INFO: GPS data processed {"connection_id":164091,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:06:18] local.INFO: Acknowledgment sent {"connection_id":164091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:06:46] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:06:46] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:06:46] local.INFO: IMEI packet received {"connection_id":161467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":161467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:06:51] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:06:51] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:06:51] local.INFO: IMEI packet received {"connection_id":161467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":161467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:06:52] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:06:52] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:06:52] local.INFO: Packet analysis {"connection_id":161467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:06:52] local.INFO: Extracted packet for processing {"connection_id":161467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630172416001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:06:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787618162000,"timestamp_ms":1787618162000,"timestamp_seconds":1787618162,"priority":1,"record_length":96,"hex_timestamp":"000001a036587550"} 
[2026-08-25 06:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:06: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-25 06:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630172416001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630172416001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630172416001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":161467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:06:52] local.INFO: GPS data processed {"connection_id":161467,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:06:52] local.INFO: Acknowledgment sent {"connection_id":161467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:06:57] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:06:57] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:06:57] local.INFO: Packet analysis {"connection_id":161467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:06:57] local.INFO: Extracted packet for processing {"connection_id":161467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:06:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630172416001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:06:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787618162000,"timestamp_ms":1787618162000,"timestamp_seconds":1787618162,"priority":1,"record_length":96,"hex_timestamp":"000001a036587550"} 
[2026-08-25 06:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:06: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-25 06:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630172416001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630172416001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:06:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630172416001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":161467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:06:57] local.INFO: GPS data processed {"connection_id":161467,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:06:57] local.INFO: Acknowledgment sent {"connection_id":161467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:07:40] local.INFO: TCP Data received {"connection_id":164092,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:07:40] local.INFO: Processing buffer {"connection_id":164092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:07:40] local.INFO: IMEI packet received {"connection_id":164092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":164092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:07:47] local.INFO: TCP Data received {"connection_id":164092,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:07:47] local.INFO: Processing buffer {"connection_id":164092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:07:47] local.INFO: IMEI packet received {"connection_id":164092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":164092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:07:48] local.INFO: TCP Data received {"connection_id":164092,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:07:48] local.INFO: Processing buffer {"connection_id":164092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:07:48] local.INFO: Packet analysis {"connection_id":164092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:07:48] local.INFO: Extracted packet for processing {"connection_id":164092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630172416001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:07:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787618162000,"timestamp_ms":1787618162000,"timestamp_seconds":1787618162,"priority":1,"record_length":96,"hex_timestamp":"000001a036587550"} 
[2026-08-25 06: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-25 06:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630172416001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630172416001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630172416001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":164092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:07:48] local.INFO: GPS data processed {"connection_id":164092,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:07:48] local.INFO: Acknowledgment sent {"connection_id":164092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:08:20] local.INFO: TCP Data received {"connection_id":164092,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:08:20] local.INFO: Processing buffer {"connection_id":164092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:08:20] local.INFO: Packet analysis {"connection_id":164092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:08:20] local.INFO: Extracted packet for processing {"connection_id":164092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630172416001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:08:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787618162000,"timestamp_ms":1787618162000,"timestamp_seconds":1787618162,"priority":1,"record_length":96,"hex_timestamp":"000001a036587550"} 
[2026-08-25 06: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-25 06:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:08: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-25 06: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-25 06: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-25 06:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06: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-25 06:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630172416001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630172416001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630172416001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":164092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:08:20] local.INFO: GPS data processed {"connection_id":164092,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:08:20] local.INFO: Acknowledgment sent {"connection_id":164092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:08:41] local.INFO: TCP Data received {"connection_id":161468,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:08:41] local.INFO: Processing buffer {"connection_id":161468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:08:41] local.INFO: IMEI packet received {"connection_id":161468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":161468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:08:46] local.INFO: TCP Data received {"connection_id":161468,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:08:46] local.INFO: Processing buffer {"connection_id":161468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:08:46] local.INFO: IMEI packet received {"connection_id":161468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":161468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:08:47] local.INFO: TCP Data received {"connection_id":161468,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:08:47] local.INFO: Processing buffer {"connection_id":161468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:08:47] local.INFO: Packet analysis {"connection_id":161468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:08:47] local.INFO: Extracted packet for processing {"connection_id":161468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630172416001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:08:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787618162000,"timestamp_ms":1787618162000,"timestamp_seconds":1787618162,"priority":1,"record_length":96,"hex_timestamp":"000001a036587550"} 
[2026-08-25 06:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630172416001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630172416001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630172416001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":161468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:08:47] local.INFO: GPS data processed {"connection_id":161468,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:08:47] local.INFO: Acknowledgment sent {"connection_id":161468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:09:18] local.INFO: TCP Data received {"connection_id":161468,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:09:18] local.INFO: Processing buffer {"connection_id":161468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:09:18] local.INFO: Packet analysis {"connection_id":161468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:09:18] local.INFO: Extracted packet for processing {"connection_id":161468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:09:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630172416001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:09:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787618162000,"timestamp_ms":1787618162000,"timestamp_seconds":1787618162,"priority":1,"record_length":96,"hex_timestamp":"000001a036587550"} 
[2026-08-25 06: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-25 06:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06: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-25 06: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-25 06:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:09:18] 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-25 06:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630172416001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630172416001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:09:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630172416001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":161468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:09:18] local.INFO: GPS data processed {"connection_id":161468,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:09:18] local.INFO: Acknowledgment sent {"connection_id":161468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:09:41] local.INFO: TCP Data received {"connection_id":162701,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:09:41] local.INFO: Processing buffer {"connection_id":162701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:09:41] local.INFO: IMEI packet received {"connection_id":162701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":162701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:09:46] local.INFO: TCP Data received {"connection_id":162701,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:09:46] local.INFO: Processing buffer {"connection_id":162701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:09:46] local.INFO: IMEI packet received {"connection_id":162701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":162701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:09:47] local.INFO: TCP Data received {"connection_id":162701,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:09:47] local.INFO: Processing buffer {"connection_id":162701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:09:47] local.INFO: Packet analysis {"connection_id":162701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:09:47] local.INFO: Extracted packet for processing {"connection_id":162701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630172416001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:09:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787618162000,"timestamp_ms":1787618162000,"timestamp_seconds":1787618162,"priority":1,"record_length":96,"hex_timestamp":"000001a036587550"} 
[2026-08-25 06:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630172416001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630172416001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630172416001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":162701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:09:47] local.INFO: GPS data processed {"connection_id":162701,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:09:47] local.INFO: Acknowledgment sent {"connection_id":162701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:10:18] local.INFO: TCP Data received {"connection_id":162701,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:10:18] local.INFO: Processing buffer {"connection_id":162701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:10:18] local.INFO: Packet analysis {"connection_id":162701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:10:18] local.INFO: Extracted packet for processing {"connection_id":162701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:10:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630172416001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:10:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787618162000,"timestamp_ms":1787618162000,"timestamp_seconds":1787618162,"priority":1,"record_length":96,"hex_timestamp":"000001a036587550"} 
[2026-08-25 06:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630172416001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630172416001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:10:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630172416001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":162701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:10:18] local.INFO: GPS data processed {"connection_id":162701,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:10:18] local.INFO: Acknowledgment sent {"connection_id":162701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:10:46] local.INFO: TCP Data received {"connection_id":161469,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:10:46] local.INFO: Processing buffer {"connection_id":161469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:10:46] local.INFO: IMEI packet received {"connection_id":161469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":161469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:10:51] local.INFO: TCP Data received {"connection_id":161469,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:10:51] local.INFO: Processing buffer {"connection_id":161469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:10:51] local.INFO: IMEI packet received {"connection_id":161469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":161469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:10:52] local.INFO: TCP Data received {"connection_id":161469,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:10:52] local.INFO: Processing buffer {"connection_id":161469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:10:52] local.INFO: Packet analysis {"connection_id":161469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:10:52] local.INFO: Extracted packet for processing {"connection_id":161469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630172416001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:10:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787618162000,"timestamp_ms":1787618162000,"timestamp_seconds":1787618162,"priority":1,"record_length":96,"hex_timestamp":"000001a036587550"} 
[2026-08-25 06: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-25 06:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:10:52] 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-25 06:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630172416001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630172416001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630172416001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":161469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:10:52] local.INFO: GPS data processed {"connection_id":161469,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:10:52] local.INFO: Acknowledgment sent {"connection_id":161469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:10:56] local.INFO: TCP Data received {"connection_id":161469,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:10:56] local.INFO: Processing buffer {"connection_id":161469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036587550012d34c3c006aa46b00015006d2c..."} 
[2026-08-25 06:10:56] local.INFO: Packet analysis {"connection_id":161469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:10:56] local.INFO: Extracted packet for processing {"connection_id":161469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03658"} 
[2026-08-25 06:10:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":21,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630172416001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:10:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787618162000,"timestamp_ms":1787618162000,"timestamp_seconds":1787618162,"priority":1,"record_length":96,"hex_timestamp":"000001a036587550"} 
[2026-08-25 06:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:10:56] 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-25 06:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630172416001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630172416001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:10:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630172416001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":161469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:10:56] local.INFO: GPS data processed {"connection_id":161469,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:10:56] local.INFO: Acknowledgment sent {"connection_id":161469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:11:41] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:11:41] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:11:41] local.INFO: IMEI packet received {"connection_id":161709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":161709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:11:41] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:11:41] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:11:41] local.INFO: IMEI packet received {"connection_id":161709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":161709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:11:46] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:11:46] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:11:46] local.INFO: IMEI packet received {"connection_id":161709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":161709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:11:47] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:11:47] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:11:47] local.INFO: Packet analysis {"connection_id":161709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:11:47] local.INFO: Extracted packet for processing {"connection_id":161709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630249472001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:11:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787618463000,"timestamp_ms":1787618463000,"timestamp_seconds":1787618463,"priority":1,"record_length":96,"hex_timestamp":"000001a0365d0d18"} 
[2026-08-25 06:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630249472001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630249472001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630249472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":161709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:11:47] local.INFO: GPS data processed {"connection_id":161709,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:11:47] local.INFO: Acknowledgment sent {"connection_id":161709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:12:19] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:12:19] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:12:19] local.INFO: Packet analysis {"connection_id":161709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:12:19] local.INFO: Extracted packet for processing {"connection_id":161709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:12:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630249472001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:12:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787618463000,"timestamp_ms":1787618463000,"timestamp_seconds":1787618463,"priority":1,"record_length":96,"hex_timestamp":"000001a0365d0d18"} 
[2026-08-25 06:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630249472001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630249472001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:12:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630249472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":161709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:12:19] local.INFO: GPS data processed {"connection_id":161709,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:12:19] local.INFO: Acknowledgment sent {"connection_id":161709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:12:41] local.INFO: TCP Data received {"connection_id":164093,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:12:41] local.INFO: Processing buffer {"connection_id":164093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:12:41] local.INFO: IMEI packet received {"connection_id":164093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":164093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:12:46] local.INFO: TCP Data received {"connection_id":164093,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:12:46] local.INFO: Processing buffer {"connection_id":164093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:12:46] local.INFO: IMEI packet received {"connection_id":164093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":164093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:12:47] local.INFO: TCP Data received {"connection_id":164093,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:12:47] local.INFO: Processing buffer {"connection_id":164093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:12:47] local.INFO: Packet analysis {"connection_id":164093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:12:47] local.INFO: Extracted packet for processing {"connection_id":164093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630249472001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:12:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787618463000,"timestamp_ms":1787618463000,"timestamp_seconds":1787618463,"priority":1,"record_length":96,"hex_timestamp":"000001a0365d0d18"} 
[2026-08-25 06:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630249472001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630249472001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630249472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":164093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:12:47] local.INFO: GPS data processed {"connection_id":164093,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:12:47] local.INFO: Acknowledgment sent {"connection_id":164093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:13:18] local.INFO: TCP Data received {"connection_id":164093,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:13:18] local.INFO: Processing buffer {"connection_id":164093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:13:18] local.INFO: Packet analysis {"connection_id":164093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:13:18] local.INFO: Extracted packet for processing {"connection_id":164093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630249472001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:13:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787618463000,"timestamp_ms":1787618463000,"timestamp_seconds":1787618463,"priority":1,"record_length":96,"hex_timestamp":"000001a0365d0d18"} 
[2026-08-25 06:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:13:18] 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-25 06:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630249472001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630249472001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630249472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":164093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:13:18] local.INFO: GPS data processed {"connection_id":164093,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:13:18] local.INFO: Acknowledgment sent {"connection_id":164093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:13:40] local.INFO: TCP Data received {"connection_id":161470,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:13:40] local.INFO: Processing buffer {"connection_id":161470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:13:40] local.INFO: IMEI packet received {"connection_id":161470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":161470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:13:46] local.INFO: TCP Data received {"connection_id":161470,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:13:46] local.INFO: Processing buffer {"connection_id":161470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:13:46] local.INFO: IMEI packet received {"connection_id":161470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":161470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:13:47] local.INFO: TCP Data received {"connection_id":161470,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:13:47] local.INFO: Processing buffer {"connection_id":161470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:13:47] local.INFO: Packet analysis {"connection_id":161470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:13:47] local.INFO: Extracted packet for processing {"connection_id":161470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630249472001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:13:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787618463000,"timestamp_ms":1787618463000,"timestamp_seconds":1787618463,"priority":1,"record_length":96,"hex_timestamp":"000001a0365d0d18"} 
[2026-08-25 06:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630249472001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630249472001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630249472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":161470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:13:47] local.INFO: GPS data processed {"connection_id":161470,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:13:47] local.INFO: Acknowledgment sent {"connection_id":161470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:14:18] local.INFO: TCP Data received {"connection_id":161470,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:14:18] local.INFO: Processing buffer {"connection_id":161470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:14:18] local.INFO: Packet analysis {"connection_id":161470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:14:18] local.INFO: Extracted packet for processing {"connection_id":161470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630249472001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:14:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787618463000,"timestamp_ms":1787618463000,"timestamp_seconds":1787618463,"priority":1,"record_length":96,"hex_timestamp":"000001a0365d0d18"} 
[2026-08-25 06: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-25 06:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630249472001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630249472001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630249472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":161470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:14:18] local.INFO: GPS data processed {"connection_id":161470,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:14:18] local.INFO: Acknowledgment sent {"connection_id":161470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:14:41] local.INFO: TCP Data received {"connection_id":161471,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:14:41] local.INFO: Processing buffer {"connection_id":161471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:14:41] local.INFO: IMEI packet received {"connection_id":161471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":161471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:14:46] local.INFO: TCP Data received {"connection_id":161471,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:14:46] local.INFO: Processing buffer {"connection_id":161471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:14:46] local.INFO: IMEI packet received {"connection_id":161471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":161471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:14:47] local.INFO: TCP Data received {"connection_id":161471,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:14:47] local.INFO: Processing buffer {"connection_id":161471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:14:47] local.INFO: Packet analysis {"connection_id":161471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:14:47] local.INFO: Extracted packet for processing {"connection_id":161471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630249472001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:14:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787618463000,"timestamp_ms":1787618463000,"timestamp_seconds":1787618463,"priority":1,"record_length":96,"hex_timestamp":"000001a0365d0d18"} 
[2026-08-25 06:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630249472001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630249472001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630249472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":161471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:14:47] local.INFO: GPS data processed {"connection_id":161471,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:14:47] local.INFO: Acknowledgment sent {"connection_id":161471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:15:19] local.INFO: TCP Data received {"connection_id":161471,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:15:19] local.INFO: Processing buffer {"connection_id":161471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:15:19] local.INFO: Packet analysis {"connection_id":161471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:15:19] local.INFO: Extracted packet for processing {"connection_id":161471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:15:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630249472001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:15:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787618463000,"timestamp_ms":1787618463000,"timestamp_seconds":1787618463,"priority":1,"record_length":96,"hex_timestamp":"000001a0365d0d18"} 
[2026-08-25 06:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630249472001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630249472001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:15:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630249472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":161471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:15:19] local.INFO: GPS data processed {"connection_id":161471,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:15:19] local.INFO: Acknowledgment sent {"connection_id":161471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:15:41] local.INFO: TCP Data received {"connection_id":162702,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:15:41] local.INFO: Processing buffer {"connection_id":162702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:15:41] local.INFO: IMEI packet received {"connection_id":162702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":162702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:15:46] local.INFO: TCP Data received {"connection_id":162702,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:15:46] local.INFO: Processing buffer {"connection_id":162702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:15:46] local.INFO: IMEI packet received {"connection_id":162702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":162702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:15:47] local.INFO: TCP Data received {"connection_id":162702,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:15:47] local.INFO: Processing buffer {"connection_id":162702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:15:47] local.INFO: Packet analysis {"connection_id":162702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:15:47] local.INFO: Extracted packet for processing {"connection_id":162702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630249472001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:15:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787618463000,"timestamp_ms":1787618463000,"timestamp_seconds":1787618463,"priority":1,"record_length":96,"hex_timestamp":"000001a0365d0d18"} 
[2026-08-25 06:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:15:47] 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-25 06:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630249472001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630249472001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630249472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":162702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:15:47] local.INFO: GPS data processed {"connection_id":162702,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:15:47] local.INFO: Acknowledgment sent {"connection_id":162702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:16:18] local.INFO: TCP Data received {"connection_id":162702,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:16:18] local.INFO: Processing buffer {"connection_id":162702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0365d0d18012d34c3c006aa46b00019006d29..."} 
[2026-08-25 06:16:18] local.INFO: Packet analysis {"connection_id":162702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:16:18] local.INFO: Extracted packet for processing {"connection_id":162702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0365d"} 
[2026-08-25 06:16:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":25,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630249472001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:16:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787618463000,"timestamp_ms":1787618463000,"timestamp_seconds":1787618463,"priority":1,"record_length":96,"hex_timestamp":"000001a0365d0d18"} 
[2026-08-25 06:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:16:18] 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-25 06:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630249472001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630249472001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:16:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630249472001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":162702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:16:18] local.INFO: GPS data processed {"connection_id":162702,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:16:18] local.INFO: Acknowledgment sent {"connection_id":162702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:16:41] local.INFO: TCP Data received {"connection_id":164094,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:16:41] local.INFO: Processing buffer {"connection_id":164094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:16:41] local.INFO: IMEI packet received {"connection_id":164094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":164094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:16:41] local.INFO: TCP Data received {"connection_id":164094,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:16:41] local.INFO: Processing buffer {"connection_id":164094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:16:41] local.INFO: IMEI packet received {"connection_id":164094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":164094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:16:46] local.INFO: TCP Data received {"connection_id":164094,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:16:46] local.INFO: Processing buffer {"connection_id":164094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:16:46] local.INFO: IMEI packet received {"connection_id":164094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":164094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:16:47] local.INFO: TCP Data received {"connection_id":164094,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:16:47] local.INFO: Processing buffer {"connection_id":164094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:16:47] local.INFO: Packet analysis {"connection_id":164094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:16:47] local.INFO: Extracted packet for processing {"connection_id":164094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":2,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630326528001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:16:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787618764000,"timestamp_ms":1787618764000,"timestamp_seconds":1787618764,"priority":1,"record_length":96,"hex_timestamp":"000001a03661a4e0"} 
[2026-08-25 06:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:16:47] 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-25 06:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630326528001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630326528001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630326528001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":164094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:16:47] local.INFO: GPS data processed {"connection_id":164094,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:16:47] local.INFO: Acknowledgment sent {"connection_id":164094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:17:18] local.INFO: TCP Data received {"connection_id":164094,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:17:18] local.INFO: Processing buffer {"connection_id":164094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:17:18] local.INFO: Packet analysis {"connection_id":164094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:17:18] local.INFO: Extracted packet for processing {"connection_id":164094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":2,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630326528001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:17:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787618764000,"timestamp_ms":1787618764000,"timestamp_seconds":1787618764,"priority":1,"record_length":96,"hex_timestamp":"000001a03661a4e0"} 
[2026-08-25 06:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:17:18] 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-25 06:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630326528001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630326528001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630326528001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":164094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:17:18] local.INFO: GPS data processed {"connection_id":164094,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:17:18] local.INFO: Acknowledgment sent {"connection_id":164094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:17:40] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:17:40] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:17:40] local.INFO: IMEI packet received {"connection_id":162703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":162703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:17:46] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:17:46] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:17:46] local.INFO: IMEI packet received {"connection_id":162703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":162703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:17:46] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:17:46] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:17:46] local.INFO: Packet analysis {"connection_id":162703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:17:46] local.INFO: Extracted packet for processing {"connection_id":162703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":2,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630326528001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:17:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787618764000,"timestamp_ms":1787618764000,"timestamp_seconds":1787618764,"priority":1,"record_length":96,"hex_timestamp":"000001a03661a4e0"} 
[2026-08-25 06:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630326528001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630326528001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630326528001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":162703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:17:47] local.INFO: GPS data processed {"connection_id":162703,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:17:47] local.INFO: Acknowledgment sent {"connection_id":162703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:18:18] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:18:18] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:18:18] local.INFO: Packet analysis {"connection_id":162703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:18:18] local.INFO: Extracted packet for processing {"connection_id":162703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":2,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630326528001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:18:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787618764000,"timestamp_ms":1787618764000,"timestamp_seconds":1787618764,"priority":1,"record_length":96,"hex_timestamp":"000001a03661a4e0"} 
[2026-08-25 06: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-25 06:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:18:18] local.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-25 06:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630326528001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630326528001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630326528001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":162703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:18:18] local.INFO: GPS data processed {"connection_id":162703,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:18:18] local.INFO: Acknowledgment sent {"connection_id":162703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:18:40] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:18:40] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:18:40] local.INFO: IMEI packet received {"connection_id":161710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":161710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:18:46] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:18:46] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:18:46] local.INFO: IMEI packet received {"connection_id":161710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":161710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:18:47] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:18:47] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:18:47] local.INFO: Packet analysis {"connection_id":161710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:18:47] local.INFO: Extracted packet for processing {"connection_id":161710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":2,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630326528001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:18:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787618764000,"timestamp_ms":1787618764000,"timestamp_seconds":1787618764,"priority":1,"record_length":96,"hex_timestamp":"000001a03661a4e0"} 
[2026-08-25 06:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630326528001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630326528001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630326528001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":161710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:18:47] local.INFO: GPS data processed {"connection_id":161710,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:18:47] local.INFO: Acknowledgment sent {"connection_id":161710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:19:18] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:19:18] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:19:18] local.INFO: Packet analysis {"connection_id":161710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:19:18] local.INFO: Extracted packet for processing {"connection_id":161710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":2,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630326528001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:19:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787618764000,"timestamp_ms":1787618764000,"timestamp_seconds":1787618764,"priority":1,"record_length":96,"hex_timestamp":"000001a03661a4e0"} 
[2026-08-25 06:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:19:18] local.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-25 06:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630326528001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630326528001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630326528001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":161710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:19:18] local.INFO: GPS data processed {"connection_id":161710,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:19:18] local.INFO: Acknowledgment sent {"connection_id":161710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:19:46] local.INFO: TCP Data received {"connection_id":161711,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:19:46] local.INFO: Processing buffer {"connection_id":161711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:19:46] local.INFO: IMEI packet received {"connection_id":161711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":161711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:19:51] local.INFO: TCP Data received {"connection_id":161711,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:19:51] local.INFO: Processing buffer {"connection_id":161711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:19:51] local.INFO: IMEI packet received {"connection_id":161711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":161711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:19:52] local.INFO: TCP Data received {"connection_id":161711,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:19:52] local.INFO: Processing buffer {"connection_id":161711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:19:52] local.INFO: Packet analysis {"connection_id":161711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:19:52] local.INFO: Extracted packet for processing {"connection_id":161711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":2,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630326528001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:19:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787618764000,"timestamp_ms":1787618764000,"timestamp_seconds":1787618764,"priority":1,"record_length":96,"hex_timestamp":"000001a03661a4e0"} 
[2026-08-25 06:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630326528001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630326528001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630326528001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":161711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:19:52] local.INFO: GPS data processed {"connection_id":161711,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:19:52] local.INFO: Acknowledgment sent {"connection_id":161711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:19:57] local.INFO: TCP Data received {"connection_id":161711,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:19:57] local.INFO: Processing buffer {"connection_id":161711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:19:57] local.INFO: Packet analysis {"connection_id":161711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:19:57] local.INFO: Extracted packet for processing {"connection_id":161711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:19:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":2,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630326528001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:19:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787618764000,"timestamp_ms":1787618764000,"timestamp_seconds":1787618764,"priority":1,"record_length":96,"hex_timestamp":"000001a03661a4e0"} 
[2026-08-25 06: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-25 06:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630326528001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630326528001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:19:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630326528001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":161711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:19:57] local.INFO: GPS data processed {"connection_id":161711,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:19:57] local.INFO: Acknowledgment sent {"connection_id":161711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:20:41] local.INFO: TCP Data received {"connection_id":164095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:20:41] local.INFO: Processing buffer {"connection_id":164095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:20:41] local.INFO: IMEI packet received {"connection_id":164095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":164095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:20:46] local.INFO: TCP Data received {"connection_id":164095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:20:46] local.INFO: Processing buffer {"connection_id":164095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:20:46] local.INFO: IMEI packet received {"connection_id":164095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":164095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:20:47] local.INFO: TCP Data received {"connection_id":164095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:20:47] local.INFO: Processing buffer {"connection_id":164095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:20:47] local.INFO: Packet analysis {"connection_id":164095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:20:47] local.INFO: Extracted packet for processing {"connection_id":164095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":2,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630326528001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:20:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787618764000,"timestamp_ms":1787618764000,"timestamp_seconds":1787618764,"priority":1,"record_length":96,"hex_timestamp":"000001a03661a4e0"} 
[2026-08-25 06:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630326528001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630326528001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630326528001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":164095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:20:47] local.INFO: GPS data processed {"connection_id":164095,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:20:47] local.INFO: Acknowledgment sent {"connection_id":164095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:20:51] local.INFO: TCP Data received {"connection_id":164095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:20:51] local.INFO: Processing buffer {"connection_id":164095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:20:51] local.INFO: Packet analysis {"connection_id":164095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:20:51] local.INFO: Extracted packet for processing {"connection_id":164095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":2,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630326528001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:20:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787618764000,"timestamp_ms":1787618764000,"timestamp_seconds":1787618764,"priority":1,"record_length":96,"hex_timestamp":"000001a03661a4e0"} 
[2026-08-25 06: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-25 06:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630326528001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630326528001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630326528001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":164095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:20:51] local.INFO: GPS data processed {"connection_id":164095,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:20:51] local.INFO: Acknowledgment sent {"connection_id":164095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:21:22] local.INFO: TCP Data received {"connection_id":164095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:21:22] local.INFO: Processing buffer {"connection_id":164095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03661a4e0012d34c3c006aa46b00002006d27..."} 
[2026-08-25 06:21:22] local.INFO: Packet analysis {"connection_id":164095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:21:22] local.INFO: Extracted packet for processing {"connection_id":164095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03661"} 
[2026-08-25 06:21:22] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":2,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630326528001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:21:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787618764000,"timestamp_ms":1787618764000,"timestamp_seconds":1787618764,"priority":1,"record_length":96,"hex_timestamp":"000001a03661a4e0"} 
[2026-08-25 06: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-25 06:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:21: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-25 06: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-25 06: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-25 06:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:21: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-25 06:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630326528001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630326528001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:21:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630326528001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":164095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:21:22] local.INFO: GPS data processed {"connection_id":164095,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:21:22] local.INFO: Acknowledgment sent {"connection_id":164095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:21:40] local.INFO: TCP Data received {"connection_id":161472,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:21:40] local.INFO: Processing buffer {"connection_id":161472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:21:40] local.INFO: IMEI packet received {"connection_id":161472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":161472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:21:43] local.INFO: TCP Data received {"connection_id":161472,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:21:43] local.INFO: Processing buffer {"connection_id":161472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:21:43] local.INFO: IMEI packet received {"connection_id":161472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":161472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:21:44] local.INFO: TCP Data received {"connection_id":161472,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:21:44] local.INFO: Processing buffer {"connection_id":161472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:21:44] local.INFO: Packet analysis {"connection_id":161472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:21:44] local.INFO: Extracted packet for processing {"connection_id":161472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630403584001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:21:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787619065000,"timestamp_ms":1787619065000,"timestamp_seconds":1787619065,"priority":1,"record_length":96,"hex_timestamp":"000001a036663ca8"} 
[2026-08-25 06: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-25 06:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 06:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630403584001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630403584001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630403584001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":161472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:21:44] local.INFO: GPS data processed {"connection_id":161472,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:21:44] local.INFO: Acknowledgment sent {"connection_id":161472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:22:15] local.INFO: TCP Data received {"connection_id":161472,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:22:15] local.INFO: Processing buffer {"connection_id":161472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:22:15] local.INFO: Packet analysis {"connection_id":161472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:22:15] local.INFO: Extracted packet for processing {"connection_id":161472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630403584001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:22:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787619065000,"timestamp_ms":1787619065000,"timestamp_seconds":1787619065,"priority":1,"record_length":96,"hex_timestamp":"000001a036663ca8"} 
[2026-08-25 06: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-25 06:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 06:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630403584001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630403584001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630403584001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":161472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:22:15] local.INFO: GPS data processed {"connection_id":161472,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:22:15] local.INFO: Acknowledgment sent {"connection_id":161472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:22:40] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:22:40] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:22:40] local.INFO: IMEI packet received {"connection_id":162704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":162704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:22:46] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:22:46] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:22:46] local.INFO: IMEI packet received {"connection_id":162704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":162704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:22:47] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:22:47] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:22:47] local.INFO: Packet analysis {"connection_id":162704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:22:47] local.INFO: Extracted packet for processing {"connection_id":162704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630403584001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:22:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787619065000,"timestamp_ms":1787619065000,"timestamp_seconds":1787619065,"priority":1,"record_length":96,"hex_timestamp":"000001a036663ca8"} 
[2026-08-25 06:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 06:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630403584001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630403584001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630403584001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":162704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:22:47] local.INFO: GPS data processed {"connection_id":162704,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:22:47] local.INFO: Acknowledgment sent {"connection_id":162704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:23:18] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:23:18] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:23:18] local.INFO: Packet analysis {"connection_id":162704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:23:18] local.INFO: Extracted packet for processing {"connection_id":162704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630403584001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:23:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787619065000,"timestamp_ms":1787619065000,"timestamp_seconds":1787619065,"priority":1,"record_length":96,"hex_timestamp":"000001a036663ca8"} 
[2026-08-25 06:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 06:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:23:18] 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-25 06:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630403584001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630403584001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630403584001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":162704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:23:18] local.INFO: GPS data processed {"connection_id":162704,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:23:18] local.INFO: Acknowledgment sent {"connection_id":162704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:23:40] local.INFO: TCP Data received {"connection_id":161712,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:23:40] local.INFO: Processing buffer {"connection_id":161712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:23:40] local.INFO: IMEI packet received {"connection_id":161712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":161712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:23:46] local.INFO: TCP Data received {"connection_id":161712,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:23:46] local.INFO: Processing buffer {"connection_id":161712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:23:46] local.INFO: IMEI packet received {"connection_id":161712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":161712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:23:47] local.INFO: TCP Data received {"connection_id":161712,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:23:47] local.INFO: Processing buffer {"connection_id":161712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:23:47] local.INFO: Packet analysis {"connection_id":161712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:23:47] local.INFO: Extracted packet for processing {"connection_id":161712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630403584001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:23:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787619065000,"timestamp_ms":1787619065000,"timestamp_seconds":1787619065,"priority":1,"record_length":96,"hex_timestamp":"000001a036663ca8"} 
[2026-08-25 06: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-25 06:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 06:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630403584001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630403584001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630403584001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":161712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:23:47] local.INFO: GPS data processed {"connection_id":161712,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:23:47] local.INFO: Acknowledgment sent {"connection_id":161712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:24:18] local.INFO: TCP Data received {"connection_id":161712,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:24:18] local.INFO: Processing buffer {"connection_id":161712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:24:18] local.INFO: Packet analysis {"connection_id":161712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:24:18] local.INFO: Extracted packet for processing {"connection_id":161712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630403584001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:24:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787619065000,"timestamp_ms":1787619065000,"timestamp_seconds":1787619065,"priority":1,"record_length":96,"hex_timestamp":"000001a036663ca8"} 
[2026-08-25 06:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 06:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:24:18] 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-25 06:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630403584001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630403584001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630403584001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":161712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:24:18] local.INFO: GPS data processed {"connection_id":161712,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:24:18] local.INFO: Acknowledgment sent {"connection_id":161712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:24:46] local.INFO: TCP Data received {"connection_id":161473,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:24:46] local.INFO: Processing buffer {"connection_id":161473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:24:46] local.INFO: IMEI packet received {"connection_id":161473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":161473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:24:51] local.INFO: TCP Data received {"connection_id":161473,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:24:51] local.INFO: Processing buffer {"connection_id":161473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:24:51] local.INFO: IMEI packet received {"connection_id":161473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":161473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:24:52] local.INFO: TCP Data received {"connection_id":161473,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:24:52] local.INFO: Processing buffer {"connection_id":161473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:24:52] local.INFO: Packet analysis {"connection_id":161473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:24:52] local.INFO: Extracted packet for processing {"connection_id":161473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630403584001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:24:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787619065000,"timestamp_ms":1787619065000,"timestamp_seconds":1787619065,"priority":1,"record_length":96,"hex_timestamp":"000001a036663ca8"} 
[2026-08-25 06:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 06:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:24: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-25 06:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630403584001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630403584001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630403584001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":161473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:24:52] local.INFO: GPS data processed {"connection_id":161473,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:24:52] local.INFO: Acknowledgment sent {"connection_id":161473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:24:57] local.INFO: TCP Data received {"connection_id":161473,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:24:57] local.INFO: Processing buffer {"connection_id":161473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:24:57] local.INFO: Packet analysis {"connection_id":161473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:24:57] local.INFO: Extracted packet for processing {"connection_id":161473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:24:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630403584001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:24:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787619065000,"timestamp_ms":1787619065000,"timestamp_seconds":1787619065,"priority":1,"record_length":96,"hex_timestamp":"000001a036663ca8"} 
[2026-08-25 06:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 06:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:24:57] 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-25 06:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630403584001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630403584001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:24:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630403584001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":161473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:24:57] local.INFO: GPS data processed {"connection_id":161473,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:24:57] local.INFO: Acknowledgment sent {"connection_id":161473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:25:40] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:25:40] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:25:40] local.INFO: IMEI packet received {"connection_id":162705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":162705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:25:46] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:25:46] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:25:46] local.INFO: IMEI packet received {"connection_id":162705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":162705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:25:47] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:25:47] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:25:47] local.INFO: Packet analysis {"connection_id":162705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:25:47] local.INFO: Extracted packet for processing {"connection_id":162705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630403584001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:25:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787619065000,"timestamp_ms":1787619065000,"timestamp_seconds":1787619065,"priority":1,"record_length":96,"hex_timestamp":"000001a036663ca8"} 
[2026-08-25 06:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 06:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630403584001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630403584001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630403584001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":162705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:25:47] local.INFO: GPS data processed {"connection_id":162705,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:25:47] local.INFO: Acknowledgment sent {"connection_id":162705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:26:36] local.INFO: TCP Data received {"connection_id":164096,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:26:36] local.INFO: Processing buffer {"connection_id":164096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:26:36] local.INFO: IMEI packet received {"connection_id":164096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":164096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:26:41] local.INFO: TCP Data received {"connection_id":164096,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:26:41] local.INFO: Processing buffer {"connection_id":164096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:26:41] local.INFO: IMEI packet received {"connection_id":164096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":164096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:26:42] local.INFO: TCP Data received {"connection_id":164096,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:26:42] local.INFO: Processing buffer {"connection_id":164096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036663ca8012d34c3c006aa46b00012006d28..."} 
[2026-08-25 06:26:42] local.INFO: Packet analysis {"connection_id":164096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:26:42] local.INFO: Extracted packet for processing {"connection_id":164096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03666"} 
[2026-08-25 06:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":18,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630403584001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:26:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787619065000,"timestamp_ms":1787619065000,"timestamp_seconds":1787619065,"priority":1,"record_length":96,"hex_timestamp":"000001a036663ca8"} 
[2026-08-25 06:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 06:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630403584001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630403584001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630403584001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":164096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:26:42] local.INFO: GPS data processed {"connection_id":164096,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:26:42] local.INFO: Acknowledgment sent {"connection_id":164096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:27:13] local.INFO: TCP Data received {"connection_id":164096,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:27:13] local.INFO: Processing buffer {"connection_id":164096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:27:13] local.INFO: Packet analysis {"connection_id":164096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:27:13] local.INFO: Extracted packet for processing {"connection_id":164096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630480640001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:27:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787619366000,"timestamp_ms":1787619366000,"timestamp_seconds":1787619366,"priority":1,"record_length":96,"hex_timestamp":"000001a0366ad470"} 
[2026-08-25 06: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-25 06:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:27: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-25 06: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-25 06: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-25 06:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630480640001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630480640001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630480640001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":164096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:27:13] local.INFO: GPS data processed {"connection_id":164096,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:27:13] local.INFO: Acknowledgment sent {"connection_id":164096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:27:40] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:27:40] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:27:40] local.INFO: IMEI packet received {"connection_id":161713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":161713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:27:46] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:27:46] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:27:46] local.INFO: IMEI packet received {"connection_id":161713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":161713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:27:53] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:27:53] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:27:53] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:27:53] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630480640001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:27:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787619366000,"timestamp_ms":1787619366000,"timestamp_seconds":1787619366,"priority":1,"record_length":96,"hex_timestamp":"000001a0366ad470"} 
[2026-08-25 06:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:27: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-25 06:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:27:53] local.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-25 06:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630480640001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630480640001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630480640001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:27:53] local.INFO: GPS data processed {"connection_id":161713,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:27:53] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:28:25] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:28:25] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:28:25] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:28:25] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:28:25] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630480640001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:28:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787619366000,"timestamp_ms":1787619366000,"timestamp_seconds":1787619366,"priority":1,"record_length":96,"hex_timestamp":"000001a0366ad470"} 
[2026-08-25 06:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:28: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-25 06:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630480640001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630480640001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630480640001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:28:25] local.INFO: GPS data processed {"connection_id":161713,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:28:25] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:28:40] local.INFO: TCP Data received {"connection_id":161474,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:28:40] local.INFO: Processing buffer {"connection_id":161474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:28:40] local.INFO: IMEI packet received {"connection_id":161474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":161474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:28:46] local.INFO: TCP Data received {"connection_id":161474,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:28:46] local.INFO: Processing buffer {"connection_id":161474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:28:46] local.INFO: IMEI packet received {"connection_id":161474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":161474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:28:47] local.INFO: TCP Data received {"connection_id":161474,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:28:47] local.INFO: Processing buffer {"connection_id":161474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:28:47] local.INFO: Packet analysis {"connection_id":161474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:28:47] local.INFO: Extracted packet for processing {"connection_id":161474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630480640001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:28:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787619366000,"timestamp_ms":1787619366000,"timestamp_seconds":1787619366,"priority":1,"record_length":96,"hex_timestamp":"000001a0366ad470"} 
[2026-08-25 06:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630480640001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630480640001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630480640001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":161474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:28:47] local.INFO: GPS data processed {"connection_id":161474,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:28:47] local.INFO: Acknowledgment sent {"connection_id":161474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:29:18] local.INFO: TCP Data received {"connection_id":161474,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:29:18] local.INFO: Processing buffer {"connection_id":161474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:29:18] local.INFO: Packet analysis {"connection_id":161474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:29:18] local.INFO: Extracted packet for processing {"connection_id":161474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 06:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630480640001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:29:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787619366000,"timestamp_ms":1787619366000,"timestamp_seconds":1787619366,"priority":1,"record_length":96,"hex_timestamp":"000001a0366ad470"} 
[2026-08-25 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-25 06:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 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-25 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-25 06:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:29:18] 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-25 06:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630480640001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630480640001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630480640001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":161474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:29:18] local.INFO: GPS data processed {"connection_id":161474,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:29:18] local.INFO: Acknowledgment sent {"connection_id":161474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:29:40] local.INFO: TCP Data received {"connection_id":162706,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:29:40] local.INFO: Processing buffer {"connection_id":162706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:29:40] local.INFO: IMEI packet received {"connection_id":162706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":162706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:29:46] local.INFO: TCP Data received {"connection_id":162706,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:29:46] local.INFO: Processing buffer {"connection_id":162706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:29:46] local.INFO: IMEI packet received {"connection_id":162706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":162706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:29:47] local.INFO: TCP Data received {"connection_id":162706,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:29:47] local.INFO: Processing buffer {"connection_id":162706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:29:47] local.INFO: Packet analysis {"connection_id":162706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:29:47] local.INFO: Extracted packet for processing {"connection_id":162706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630480640001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:29:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787619366000,"timestamp_ms":1787619366000,"timestamp_seconds":1787619366,"priority":1,"record_length":96,"hex_timestamp":"000001a0366ad470"} 
[2026-08-25 06:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630480640001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630480640001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630480640001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":162706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:29:47] local.INFO: GPS data processed {"connection_id":162706,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:29:47] local.INFO: Acknowledgment sent {"connection_id":162706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:30:18] local.INFO: TCP Data received {"connection_id":162706,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:30:18] local.INFO: Processing buffer {"connection_id":162706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:30:18] local.INFO: Packet analysis {"connection_id":162706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:30:18] local.INFO: Extracted packet for processing {"connection_id":162706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630480640001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:30:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787619366000,"timestamp_ms":1787619366000,"timestamp_seconds":1787619366,"priority":1,"record_length":96,"hex_timestamp":"000001a0366ad470"} 
[2026-08-25 06:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:30:18] 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-25 06:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630480640001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630480640001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630480640001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":162706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:30:18] local.INFO: GPS data processed {"connection_id":162706,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:30:18] local.INFO: Acknowledgment sent {"connection_id":162706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:30:46] local.INFO: TCP Data received {"connection_id":164097,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:30:46] local.INFO: Processing buffer {"connection_id":164097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:30:46] local.INFO: IMEI packet received {"connection_id":164097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":164097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:30:51] local.INFO: TCP Data received {"connection_id":164097,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:30:51] local.INFO: Processing buffer {"connection_id":164097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:30:51] local.INFO: IMEI packet received {"connection_id":164097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":164097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:30:52] local.INFO: TCP Data received {"connection_id":164097,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:30:52] local.INFO: Processing buffer {"connection_id":164097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:30:52] local.INFO: Packet analysis {"connection_id":164097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:30:52] local.INFO: Extracted packet for processing {"connection_id":164097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630480640001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:30:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787619366000,"timestamp_ms":1787619366000,"timestamp_seconds":1787619366,"priority":1,"record_length":96,"hex_timestamp":"000001a0366ad470"} 
[2026-08-25 06:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06: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-25 06:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630480640001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630480640001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630480640001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":164097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:30:52] local.INFO: GPS data processed {"connection_id":164097,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:30:52] local.INFO: Acknowledgment sent {"connection_id":164097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:30:56] local.INFO: TCP Data received {"connection_id":164097,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:30:56] local.INFO: Processing buffer {"connection_id":164097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366ad470012d34c3c006aa46b00008006d29..."} 
[2026-08-25 06:30:56] local.INFO: Packet analysis {"connection_id":164097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:30:56] local.INFO: Extracted packet for processing {"connection_id":164097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366a"} 
[2026-08-25 06:30:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630480640001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:30:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787619366000,"timestamp_ms":1787619366000,"timestamp_seconds":1787619366,"priority":1,"record_length":96,"hex_timestamp":"000001a0366ad470"} 
[2026-08-25 06: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-25 06:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:30: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-25 06:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630480640001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630480640001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:30:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630480640001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":164097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:30:56] local.INFO: GPS data processed {"connection_id":164097,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:30:56] local.INFO: Acknowledgment sent {"connection_id":164097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:31:40] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:31:40] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:31:40] local.INFO: IMEI packet received {"connection_id":161714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":161714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:31:48] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:31:48] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:31:48] local.INFO: IMEI packet received {"connection_id":161714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":161714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:31:49] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:31:49] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:31:49] local.INFO: Packet analysis {"connection_id":161714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:31:49] local.INFO: Extracted packet for processing {"connection_id":161714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:31:49] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630557696001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:31:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787619667000,"timestamp_ms":1787619667000,"timestamp_seconds":1787619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0366f6c38"} 
[2026-08-25 06:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 06:31: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-25 06:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:31: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-25 06:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630557696001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630557696001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:31:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630557696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":161714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:31:49] local.INFO: GPS data processed {"connection_id":161714,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:31:49] local.INFO: Acknowledgment sent {"connection_id":161714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:32:20] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:32:20] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:32:20] local.INFO: Packet analysis {"connection_id":161714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:32:20] local.INFO: Extracted packet for processing {"connection_id":161714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630557696001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:32:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787619667000,"timestamp_ms":1787619667000,"timestamp_seconds":1787619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0366f6c38"} 
[2026-08-25 06: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-25 06:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 06:32: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-25 06: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-25 06: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-25 06:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:32: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-25 06:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630557696001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630557696001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630557696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":161714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:32:20] local.INFO: GPS data processed {"connection_id":161714,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:32:20] local.INFO: Acknowledgment sent {"connection_id":161714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:32:40] local.INFO: TCP Data received {"connection_id":161475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:32:40] local.INFO: Processing buffer {"connection_id":161475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:32:40] local.INFO: IMEI packet received {"connection_id":161475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":161475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:32:45] local.INFO: TCP Data received {"connection_id":161475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:32:45] local.INFO: Processing buffer {"connection_id":161475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:32:45] local.INFO: IMEI packet received {"connection_id":161475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":161475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:32:46] local.INFO: TCP Data received {"connection_id":161475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:32:46] local.INFO: Processing buffer {"connection_id":161475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:32:46] local.INFO: Packet analysis {"connection_id":161475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:32:46] local.INFO: Extracted packet for processing {"connection_id":161475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630557696001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:32:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787619667000,"timestamp_ms":1787619667000,"timestamp_seconds":1787619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0366f6c38"} 
[2026-08-25 06: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-25 06:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 06:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630557696001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630557696001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630557696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":161475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:32:46] local.INFO: GPS data processed {"connection_id":161475,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:32:46] local.INFO: Acknowledgment sent {"connection_id":161475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:33:17] local.INFO: TCP Data received {"connection_id":161475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:33:17] local.INFO: Processing buffer {"connection_id":161475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:33:17] local.INFO: Packet analysis {"connection_id":161475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:33:17] local.INFO: Extracted packet for processing {"connection_id":161475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630557696001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:33:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787619667000,"timestamp_ms":1787619667000,"timestamp_seconds":1787619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0366f6c38"} 
[2026-08-25 06: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-25 06:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 06:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630557696001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630557696001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630557696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":161475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:33:18] local.INFO: GPS data processed {"connection_id":161475,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:33:18] local.INFO: Acknowledgment sent {"connection_id":161475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:33:40] local.INFO: TCP Data received {"connection_id":162707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:33:40] local.INFO: Processing buffer {"connection_id":162707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:33:40] local.INFO: IMEI packet received {"connection_id":162707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":162707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:33:46] local.INFO: TCP Data received {"connection_id":162707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:33:46] local.INFO: Processing buffer {"connection_id":162707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:33:46] local.INFO: IMEI packet received {"connection_id":162707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":162707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:33:47] local.INFO: TCP Data received {"connection_id":162707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:33:47] local.INFO: Processing buffer {"connection_id":162707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:33:47] local.INFO: Packet analysis {"connection_id":162707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:33:47] local.INFO: Extracted packet for processing {"connection_id":162707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630557696001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:33:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787619667000,"timestamp_ms":1787619667000,"timestamp_seconds":1787619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0366f6c38"} 
[2026-08-25 06:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 06:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630557696001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630557696001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630557696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":162707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:33:47] local.INFO: GPS data processed {"connection_id":162707,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:33:47] local.INFO: Acknowledgment sent {"connection_id":162707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:34:18] local.INFO: TCP Data received {"connection_id":162707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:34:18] local.INFO: Processing buffer {"connection_id":162707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:34:18] local.INFO: Packet analysis {"connection_id":162707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:34:18] local.INFO: Extracted packet for processing {"connection_id":162707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630557696001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:34:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787619667000,"timestamp_ms":1787619667000,"timestamp_seconds":1787619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0366f6c38"} 
[2026-08-25 06:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 06:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630557696001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630557696001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630557696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":162707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:34:18] local.INFO: GPS data processed {"connection_id":162707,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:34:18] local.INFO: Acknowledgment sent {"connection_id":162707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:34:47] local.INFO: TCP Data received {"connection_id":161476,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:34:47] local.INFO: Processing buffer {"connection_id":161476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:34:47] local.INFO: IMEI packet received {"connection_id":161476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":161476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:34:51] local.INFO: TCP Data received {"connection_id":161476,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:34:51] local.INFO: Processing buffer {"connection_id":161476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:34:51] local.INFO: IMEI packet received {"connection_id":161476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":161476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:34:52] local.INFO: TCP Data received {"connection_id":161476,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:34:52] local.INFO: Processing buffer {"connection_id":161476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:34:52] local.INFO: Packet analysis {"connection_id":161476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:34:52] local.INFO: Extracted packet for processing {"connection_id":161476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630557696001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:34:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787619667000,"timestamp_ms":1787619667000,"timestamp_seconds":1787619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0366f6c38"} 
[2026-08-25 06:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 06:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:34:52] 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-25 06:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630557696001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630557696001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630557696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":161476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:34:52] local.INFO: GPS data processed {"connection_id":161476,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:34:52] local.INFO: Acknowledgment sent {"connection_id":161476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:34:57] local.INFO: TCP Data received {"connection_id":161476,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:34:57] local.INFO: Processing buffer {"connection_id":161476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:34:57] local.INFO: Packet analysis {"connection_id":161476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:34:57] local.INFO: Extracted packet for processing {"connection_id":161476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:34:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630557696001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:34:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787619667000,"timestamp_ms":1787619667000,"timestamp_seconds":1787619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0366f6c38"} 
[2026-08-25 06:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 06:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:34:57] 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-25 06:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630557696001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630557696001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:34:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630557696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":161476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:34:57] local.INFO: GPS data processed {"connection_id":161476,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:34:57] local.INFO: Acknowledgment sent {"connection_id":161476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:35:40] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:35:40] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:35:40] local.INFO: IMEI packet received {"connection_id":161715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":161715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:35:46] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:35:46] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:35:46] local.INFO: IMEI packet received {"connection_id":161715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":161715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:35:47] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:35:47] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:35:47] local.INFO: Packet analysis {"connection_id":161715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:35:47] local.INFO: Extracted packet for processing {"connection_id":161715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630557696001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:35:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787619667000,"timestamp_ms":1787619667000,"timestamp_seconds":1787619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0366f6c38"} 
[2026-08-25 06:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 06:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630557696001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630557696001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630557696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":161715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:35:47] local.INFO: GPS data processed {"connection_id":161715,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:35:47] local.INFO: Acknowledgment sent {"connection_id":161715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:36:18] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:36:18] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0366f6c38012d34c3c006aa46b00018006d27..."} 
[2026-08-25 06:36:18] local.INFO: Packet analysis {"connection_id":161715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:36:18] local.INFO: Extracted packet for processing {"connection_id":161715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0366f"} 
[2026-08-25 06:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":24,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630557696001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:36:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787619667000,"timestamp_ms":1787619667000,"timestamp_seconds":1787619667,"priority":1,"record_length":96,"hex_timestamp":"000001a0366f6c38"} 
[2026-08-25 06:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 06:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630557696001,"66":25625,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630557696001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630557696001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":161715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:36:18] local.INFO: GPS data processed {"connection_id":161715,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:36:18] local.INFO: Acknowledgment sent {"connection_id":161715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:36:41] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:36:41] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:36:41] local.INFO: IMEI packet received {"connection_id":161716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":161716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:36:46] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:36:46] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:36:46] local.INFO: IMEI packet received {"connection_id":161716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":161716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:36:47] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:36:47] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:36:47] local.INFO: Packet analysis {"connection_id":161716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:36:47] local.INFO: Extracted packet for processing {"connection_id":161716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630634752001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:36:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787619968000,"timestamp_ms":1787619968000,"timestamp_seconds":1787619968,"priority":1,"record_length":96,"hex_timestamp":"000001a036740400"} 
[2026-08-25 06:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630634752001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630634752001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630634752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":161716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:36:47] local.INFO: GPS data processed {"connection_id":161716,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:36:47] local.INFO: Acknowledgment sent {"connection_id":161716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:37:18] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:37:18] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:37:18] local.INFO: Packet analysis {"connection_id":161716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:37:18] local.INFO: Extracted packet for processing {"connection_id":161716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:37:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 06:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630634752001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:37:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787619968000,"timestamp_ms":1787619968000,"timestamp_seconds":1787619968,"priority":1,"record_length":96,"hex_timestamp":"000001a036740400"} 
[2026-08-25 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-25 06:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 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-25 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-25 06:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630634752001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630634752001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:37:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630634752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":161716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:37:18] local.INFO: GPS data processed {"connection_id":161716,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:37:18] local.INFO: Acknowledgment sent {"connection_id":161716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:37:40] local.INFO: TCP Data received {"connection_id":161477,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:37:40] local.INFO: Processing buffer {"connection_id":161477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:37:40] local.INFO: IMEI packet received {"connection_id":161477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":161477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:37:46] local.INFO: TCP Data received {"connection_id":161477,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:37:46] local.INFO: Processing buffer {"connection_id":161477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:37:46] local.INFO: IMEI packet received {"connection_id":161477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":161477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:37:47] local.INFO: TCP Data received {"connection_id":161477,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:37:47] local.INFO: Processing buffer {"connection_id":161477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:37:47] local.INFO: Packet analysis {"connection_id":161477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:37:47] local.INFO: Extracted packet for processing {"connection_id":161477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630634752001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:37:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787619968000,"timestamp_ms":1787619968000,"timestamp_seconds":1787619968,"priority":1,"record_length":96,"hex_timestamp":"000001a036740400"} 
[2026-08-25 06:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630634752001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630634752001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630634752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":161477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:37:47] local.INFO: GPS data processed {"connection_id":161477,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:37:47] local.INFO: Acknowledgment sent {"connection_id":161477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:38:18] local.INFO: TCP Data received {"connection_id":161477,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:38:18] local.INFO: Processing buffer {"connection_id":161477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:38:18] local.INFO: Packet analysis {"connection_id":161477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:38:18] local.INFO: Extracted packet for processing {"connection_id":161477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630634752001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:38:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787619968000,"timestamp_ms":1787619968000,"timestamp_seconds":1787619968,"priority":1,"record_length":96,"hex_timestamp":"000001a036740400"} 
[2026-08-25 06:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630634752001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630634752001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630634752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":161477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:38:18] local.INFO: GPS data processed {"connection_id":161477,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:38:18] local.INFO: Acknowledgment sent {"connection_id":161477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:38:40] local.INFO: TCP Data received {"connection_id":164098,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:38:40] local.INFO: Processing buffer {"connection_id":164098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:38:40] local.INFO: IMEI packet received {"connection_id":164098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":164098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:38:46] local.INFO: TCP Data received {"connection_id":164098,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:38:46] local.INFO: Processing buffer {"connection_id":164098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:38:46] local.INFO: IMEI packet received {"connection_id":164098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":164098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:38:48] local.INFO: TCP Data received {"connection_id":164098,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:38:48] local.INFO: Processing buffer {"connection_id":164098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:38:48] local.INFO: Packet analysis {"connection_id":164098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:38:48] local.INFO: Extracted packet for processing {"connection_id":164098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630634752001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:38:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787619968000,"timestamp_ms":1787619968000,"timestamp_seconds":1787619968,"priority":1,"record_length":96,"hex_timestamp":"000001a036740400"} 
[2026-08-25 06:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630634752001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630634752001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630634752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":164098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:38:48] local.INFO: GPS data processed {"connection_id":164098,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:38:48] local.INFO: Acknowledgment sent {"connection_id":164098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:39:20] local.INFO: TCP Data received {"connection_id":164098,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:39:20] local.INFO: Processing buffer {"connection_id":164098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:39:20] local.INFO: Packet analysis {"connection_id":164098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:39:20] local.INFO: Extracted packet for processing {"connection_id":164098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630634752001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:39:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787619968000,"timestamp_ms":1787619968000,"timestamp_seconds":1787619968,"priority":1,"record_length":96,"hex_timestamp":"000001a036740400"} 
[2026-08-25 06: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-25 06:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:39: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-25 06: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-25 06: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-25 06:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630634752001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630634752001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:39:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630634752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":164098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:39:20] local.INFO: GPS data processed {"connection_id":164098,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:39:20] local.INFO: Acknowledgment sent {"connection_id":164098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:39:40] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:39:40] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:39:40] local.INFO: IMEI packet received {"connection_id":161717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":161717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:39:47] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:39:47] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:39:47] local.INFO: IMEI packet received {"connection_id":161717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":161717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:39:48] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:39:48] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:39:48] local.INFO: Packet analysis {"connection_id":161717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:39:48] local.INFO: Extracted packet for processing {"connection_id":161717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630634752001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:39:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787619968000,"timestamp_ms":1787619968000,"timestamp_seconds":1787619968,"priority":1,"record_length":96,"hex_timestamp":"000001a036740400"} 
[2026-08-25 06:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630634752001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630634752001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630634752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":161717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:39:48] local.INFO: GPS data processed {"connection_id":161717,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:39:48] local.INFO: Acknowledgment sent {"connection_id":161717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:40:19] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:40:19] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:40:19] local.INFO: Packet analysis {"connection_id":161717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:40:19] local.INFO: Extracted packet for processing {"connection_id":161717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630634752001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:40:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787619968000,"timestamp_ms":1787619968000,"timestamp_seconds":1787619968,"priority":1,"record_length":96,"hex_timestamp":"000001a036740400"} 
[2026-08-25 06:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630634752001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630634752001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630634752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":161717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:40:19] local.INFO: GPS data processed {"connection_id":161717,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:40:19] local.INFO: Acknowledgment sent {"connection_id":161717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:40:41] local.INFO: TCP Data received {"connection_id":164099,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:40:41] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:40:41] local.INFO: IMEI packet received {"connection_id":164099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":164099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:40:42] local.INFO: TCP Data received {"connection_id":164099,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:40:42] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:40:42] local.INFO: IMEI packet received {"connection_id":164099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":164099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:40:46] local.INFO: TCP Data received {"connection_id":164100,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:40:46] local.INFO: Processing buffer {"connection_id":164100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:40:46] local.INFO: IMEI packet received {"connection_id":164100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":164100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:40:46] local.INFO: TCP Data received {"connection_id":164099,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:40:46] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:40:46] local.INFO: IMEI packet received {"connection_id":164099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":164099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:40:47] local.INFO: TCP Data received {"connection_id":164099,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-25 06:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-25 06:40:47] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-25 06:40:47] local.INFO: Packet analysis {"connection_id":164099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-25 06:40:47] local.INFO: Extracted packet for processing {"connection_id":164099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-25 06:40:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 06:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 06:40:47] 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-25 06:40:47] 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-25 06:40:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 06:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164099,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 06:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 06:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 06:40:47] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 06:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":164099,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 06:40:47] local.ERROR: GPS data processing failed {"connection_id":164099,"error":"No valid data to process"} 
[2026-08-25 06:40:47] local.INFO: Acknowledgment sent {"connection_id":164099,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 06:40:51] local.INFO: TCP Data received {"connection_id":164100,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:40:51] local.INFO: Processing buffer {"connection_id":164100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:40:51] local.INFO: IMEI packet received {"connection_id":164100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":164100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:40:51] local.INFO: TCP Data received {"connection_id":164100,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:40:51] local.INFO: Processing buffer {"connection_id":164100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:40:51] local.INFO: Packet analysis {"connection_id":164100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:40:51] local.INFO: Extracted packet for processing {"connection_id":164100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630634752001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:40:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787619968000,"timestamp_ms":1787619968000,"timestamp_seconds":1787619968,"priority":1,"record_length":96,"hex_timestamp":"000001a036740400"} 
[2026-08-25 06: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-25 06:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06: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-25 06:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630634752001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630634752001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630634752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":164100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:40:51] local.INFO: GPS data processed {"connection_id":164100,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:40:51] local.INFO: Acknowledgment sent {"connection_id":164100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:40:56] local.INFO: TCP Data received {"connection_id":164100,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:40:56] local.INFO: Processing buffer {"connection_id":164100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:40:56] local.INFO: Packet analysis {"connection_id":164100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:40:56] local.INFO: Extracted packet for processing {"connection_id":164100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:40:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630634752001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:40:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787619968000,"timestamp_ms":1787619968000,"timestamp_seconds":1787619968,"priority":1,"record_length":96,"hex_timestamp":"000001a036740400"} 
[2026-08-25 06: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-25 06:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:40: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-25 06:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630634752001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630634752001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:40:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630634752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":164100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:40:56] local.INFO: GPS data processed {"connection_id":164100,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:40:56] local.INFO: Acknowledgment sent {"connection_id":164100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:41:18] local.INFO: TCP Data received {"connection_id":164099,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-25 06:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-25 06:41:18] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-25 06:41:18] local.INFO: Packet analysis {"connection_id":164099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-25 06:41:18] local.INFO: Extracted packet for processing {"connection_id":164099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-25 06:41:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 06:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 06:41:18] 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-25 06:41:18] 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-25 06:41:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 06:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164099,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 06:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 06:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 06:41:18] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 06:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":164099,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 06:41:18] local.ERROR: GPS data processing failed {"connection_id":164099,"error":"No valid data to process"} 
[2026-08-25 06:41:18] local.INFO: Acknowledgment sent {"connection_id":164099,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 06:41:40] local.INFO: TCP Data received {"connection_id":162708,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:41:40] local.INFO: Processing buffer {"connection_id":162708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:41:40] local.INFO: IMEI packet received {"connection_id":162708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":162708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:41:46] local.INFO: TCP Data received {"connection_id":162708,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:41:46] local.INFO: Processing buffer {"connection_id":162708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:41:46] local.INFO: IMEI packet received {"connection_id":162708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":162708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:41:47] local.INFO: TCP Data received {"connection_id":162708,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:41:47] local.INFO: Processing buffer {"connection_id":162708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036740400012d34c3c006aa46b0000f006d29..."} 
[2026-08-25 06:41:47] local.INFO: Packet analysis {"connection_id":162708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:41:47] local.INFO: Extracted packet for processing {"connection_id":162708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03674"} 
[2026-08-25 06:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630634752001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787619968000,"timestamp_ms":1787619968000,"timestamp_seconds":1787619968,"priority":1,"record_length":96,"hex_timestamp":"000001a036740400"} 
[2026-08-25 06:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 06:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630634752001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630634752001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630634752001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":162708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:41:47] local.INFO: GPS data processed {"connection_id":162708,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:41:47] local.INFO: Acknowledgment sent {"connection_id":162708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:41:49] local.INFO: TCP Data received {"connection_id":164099,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03678d2780100000000000000000000000000..."} 
[2026-08-25 06:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03678d2780100000000000000000000000000..."} 
[2026-08-25 06:41:49] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03678d2780100000000000000000000000000..."} 
[2026-08-25 06:41:49] local.INFO: Packet analysis {"connection_id":164099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:41:49] local.INFO: Extracted packet for processing {"connection_id":164099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:41:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 06:41:49] 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-25 06:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787620283000,"timestamp_ms":1787620283000,"timestamp_seconds":1787620283,"priority":1,"record_length":96,"hex_timestamp":"000001a03678d278"} 
[2026-08-25 06: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-25 06:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-25 06:41:49] 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-25 06: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-25 06: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-25 06:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":164099,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 06:41:49] local.INFO: GPS data processed {"connection_id":164099,"processed":0,"errors":0,"total":1} 
[2026-08-25 06:41:49] local.INFO: Acknowledgment sent {"connection_id":164099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:42:18] local.INFO: TCP Data received {"connection_id":162708,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:42:18] local.INFO: Processing buffer {"connection_id":162708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:42:18] local.INFO: Packet analysis {"connection_id":162708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:42:18] local.INFO: Extracted packet for processing {"connection_id":162708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":7,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630711808001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:42:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787620269000,"timestamp_ms":1787620269000,"timestamp_seconds":1787620269,"priority":1,"record_length":96,"hex_timestamp":"000001a036789bc8"} 
[2026-08-25 06: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-25 06:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:42:18] 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-25 06:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630711808001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630711808001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630711808001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":162708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:42:18] local.INFO: GPS data processed {"connection_id":162708,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:42:18] local.INFO: Acknowledgment sent {"connection_id":162708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:42:20] local.INFO: TCP Data received {"connection_id":164099,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367924800100000000000000000000000000..."} 
[2026-08-25 06:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367924800100000000000000000000000000..."} 
[2026-08-25 06:42:20] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367924800100000000000000000000000000..."} 
[2026-08-25 06:42:20] local.INFO: Packet analysis {"connection_id":164099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03679"} 
[2026-08-25 06:42:20] local.INFO: Extracted packet for processing {"connection_id":164099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03679"} 
[2026-08-25 06:42:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 06:42:20] 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-25 06:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787620304000,"timestamp_ms":1787620304000,"timestamp_seconds":1787620304,"priority":1,"record_length":96,"hex_timestamp":"000001a036792480"} 
[2026-08-25 06: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-25 06:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-25 06:42:20] 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-25 06: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-25 06: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-25 06:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":164099,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 06:42:20] local.INFO: GPS data processed {"connection_id":164099,"processed":0,"errors":0,"total":1} 
[2026-08-25 06:42:20] local.INFO: Acknowledgment sent {"connection_id":164099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:42:40] local.INFO: TCP Data received {"connection_id":161718,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:42:40] local.INFO: Processing buffer {"connection_id":161718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:42:40] local.INFO: IMEI packet received {"connection_id":161718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":161718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:42:46] local.INFO: TCP Data received {"connection_id":161718,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:42:46] local.INFO: Processing buffer {"connection_id":161718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:42:46] local.INFO: IMEI packet received {"connection_id":161718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":161718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:42:47] local.INFO: TCP Data received {"connection_id":161718,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:42:47] local.INFO: Processing buffer {"connection_id":161718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:42:47] local.INFO: Packet analysis {"connection_id":161718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:42:47] local.INFO: Extracted packet for processing {"connection_id":161718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":7,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630711808001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:42:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787620269000,"timestamp_ms":1787620269000,"timestamp_seconds":1787620269,"priority":1,"record_length":96,"hex_timestamp":"000001a036789bc8"} 
[2026-08-25 06:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:42: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-25 06:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630711808001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630711808001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630711808001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":161718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:42:47] local.INFO: GPS data processed {"connection_id":161718,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:42:47] local.INFO: Acknowledgment sent {"connection_id":161718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:42:52] local.INFO: TCP Data received {"connection_id":164099,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367976880100000000000000000000000000..."} 
[2026-08-25 06:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367976880100000000000000000000000000..."} 
[2026-08-25 06:42:52] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367976880100000000000000000000000000..."} 
[2026-08-25 06:42:52] local.INFO: Packet analysis {"connection_id":164099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03679"} 
[2026-08-25 06:42:52] local.INFO: Extracted packet for processing {"connection_id":164099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03679"} 
[2026-08-25 06:42:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 06:42:52] 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-25 06:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787620325000,"timestamp_ms":1787620325000,"timestamp_seconds":1787620325,"priority":1,"record_length":96,"hex_timestamp":"000001a036797688"} 
[2026-08-25 06: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-25 06:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-25 06:42:52] 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-25 06: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-25 06: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-25 06:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":164099,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 06:42:52] local.INFO: GPS data processed {"connection_id":164099,"processed":0,"errors":0,"total":1} 
[2026-08-25 06:42:52] local.INFO: Acknowledgment sent {"connection_id":164099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:43:18] local.INFO: TCP Data received {"connection_id":161718,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:43:18] local.INFO: Processing buffer {"connection_id":161718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:43:18] local.INFO: Packet analysis {"connection_id":161718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:43:18] local.INFO: Extracted packet for processing {"connection_id":161718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:43:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":7,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630711808001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:43:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787620269000,"timestamp_ms":1787620269000,"timestamp_seconds":1787620269,"priority":1,"record_length":96,"hex_timestamp":"000001a036789bc8"} 
[2026-08-25 06:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:43: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-25 06:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630711808001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630711808001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630711808001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":161718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:43:18] local.INFO: GPS data processed {"connection_id":161718,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:43:18] local.INFO: Acknowledgment sent {"connection_id":161718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:43:23] local.INFO: TCP Data received {"connection_id":164099,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03679c8900100000000000000000000000000..."} 
[2026-08-25 06:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03679c8900100000000000000000000000000..."} 
[2026-08-25 06:43:23] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03679c8900100000000000000000000000000..."} 
[2026-08-25 06:43:23] local.INFO: Packet analysis {"connection_id":164099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03679"} 
[2026-08-25 06:43:23] local.INFO: Extracted packet for processing {"connection_id":164099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03679"} 
[2026-08-25 06:43:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 06:43:23] 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-25 06:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787620346000,"timestamp_ms":1787620346000,"timestamp_seconds":1787620346,"priority":1,"record_length":96,"hex_timestamp":"000001a03679c890"} 
[2026-08-25 06: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-25 06:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-25 06:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":164099,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 06:43:23] local.INFO: GPS data processed {"connection_id":164099,"processed":0,"errors":0,"total":1} 
[2026-08-25 06:43:23] local.INFO: Acknowledgment sent {"connection_id":164099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:43:40] local.INFO: TCP Data received {"connection_id":162710,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:43:40] local.INFO: Processing buffer {"connection_id":162710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:43:40] local.INFO: IMEI packet received {"connection_id":162710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":162710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:43:46] local.INFO: TCP Data received {"connection_id":162710,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:43:46] local.INFO: Processing buffer {"connection_id":162710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:43:46] local.INFO: IMEI packet received {"connection_id":162710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":162710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:43:47] local.INFO: TCP Data received {"connection_id":162710,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:43:47] local.INFO: Processing buffer {"connection_id":162710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:43:47] local.INFO: Packet analysis {"connection_id":162710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:43:47] local.INFO: Extracted packet for processing {"connection_id":162710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":7,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630711808001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:43:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787620269000,"timestamp_ms":1787620269000,"timestamp_seconds":1787620269,"priority":1,"record_length":96,"hex_timestamp":"000001a036789bc8"} 
[2026-08-25 06:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630711808001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630711808001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630711808001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":162710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:43:47] local.INFO: GPS data processed {"connection_id":162710,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:43:47] local.INFO: Acknowledgment sent {"connection_id":162710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:43:54] local.INFO: TCP Data received {"connection_id":164099,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367a1a980100000000000000000000000000..."} 
[2026-08-25 06:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367a1a980100000000000000000000000000..."} 
[2026-08-25 06:43:54] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367a1a980100000000000000000000000000..."} 
[2026-08-25 06:43:54] local.INFO: Packet analysis {"connection_id":164099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367a"} 
[2026-08-25 06:43:54] local.INFO: Extracted packet for processing {"connection_id":164099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367a"} 
[2026-08-25 06:43:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 06:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 06:43:54] 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-25 06:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787620367000,"timestamp_ms":1787620367000,"timestamp_seconds":1787620367,"priority":1,"record_length":96,"hex_timestamp":"000001a0367a1a98"} 
[2026-08-25 06:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:43:54] 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-25 06:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 06:43:54] 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-25 06:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":164099,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 06:43:54] local.INFO: GPS data processed {"connection_id":164099,"processed":0,"errors":0,"total":1} 
[2026-08-25 06:43:54] local.INFO: Acknowledgment sent {"connection_id":164099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:44:18] local.INFO: TCP Data received {"connection_id":162710,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:44:18] local.INFO: Processing buffer {"connection_id":162710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:44:18] local.INFO: Packet analysis {"connection_id":162710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:44:18] local.INFO: Extracted packet for processing {"connection_id":162710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:44:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":7,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630711808001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:44:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787620269000,"timestamp_ms":1787620269000,"timestamp_seconds":1787620269,"priority":1,"record_length":96,"hex_timestamp":"000001a036789bc8"} 
[2026-08-25 06:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630711808001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630711808001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:44:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630711808001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":162710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:44:18] local.INFO: GPS data processed {"connection_id":162710,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:44:18] local.INFO: Acknowledgment sent {"connection_id":162710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:44:26] local.INFO: TCP Data received {"connection_id":164099,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367a6ca00100000000000000000000000000..."} 
[2026-08-25 06:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367a6ca00100000000000000000000000000..."} 
[2026-08-25 06:44:26] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367a6ca00100000000000000000000000000..."} 
[2026-08-25 06:44:26] local.INFO: Packet analysis {"connection_id":164099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367a"} 
[2026-08-25 06:44:26] local.INFO: Extracted packet for processing {"connection_id":164099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367a"} 
[2026-08-25 06:44: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-25 06:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 06:44:26] 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-25 06:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787620388000,"timestamp_ms":1787620388000,"timestamp_seconds":1787620388,"priority":1,"record_length":96,"hex_timestamp":"000001a0367a6ca0"} 
[2026-08-25 06:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-25 06:44:26] 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-25 06:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":164099,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 06:44:26] local.INFO: GPS data processed {"connection_id":164099,"processed":0,"errors":0,"total":1} 
[2026-08-25 06:44:26] local.INFO: Acknowledgment sent {"connection_id":164099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:44:46] local.INFO: TCP Data received {"connection_id":161719,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:44:46] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:44:46] local.INFO: IMEI packet received {"connection_id":161719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":161719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:44:51] local.INFO: TCP Data received {"connection_id":161719,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:44:51] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:44:51] local.INFO: IMEI packet received {"connection_id":161719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":161719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:44:52] local.INFO: TCP Data received {"connection_id":161719,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:44:52] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:44:52] local.INFO: Packet analysis {"connection_id":161719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:44:52] local.INFO: Extracted packet for processing {"connection_id":161719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":7,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630711808001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:44:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787620269000,"timestamp_ms":1787620269000,"timestamp_seconds":1787620269,"priority":1,"record_length":96,"hex_timestamp":"000001a036789bc8"} 
[2026-08-25 06:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630711808001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630711808001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630711808001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":161719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:44:52] local.INFO: GPS data processed {"connection_id":161719,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:44:52] local.INFO: Acknowledgment sent {"connection_id":161719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:44:56] local.INFO: TCP Data received {"connection_id":164099,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367abea80100000000000000000000000000..."} 
[2026-08-25 06:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367abea80100000000000000000000000000..."} 
[2026-08-25 06:44:56] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367abea80100000000000000000000000000..."} 
[2026-08-25 06:44:56] local.INFO: Packet analysis {"connection_id":164099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367a"} 
[2026-08-25 06:44:56] local.INFO: Extracted packet for processing {"connection_id":164099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367a"} 
[2026-08-25 06:44:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 06:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 06:44:56] 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-25 06:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787620409000,"timestamp_ms":1787620409000,"timestamp_seconds":1787620409,"priority":1,"record_length":96,"hex_timestamp":"000001a0367abea8"} 
[2026-08-25 06:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:44:56] 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-25 06:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-25 06:44:56] 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-25 06:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":164099,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 06:44:56] local.INFO: GPS data processed {"connection_id":164099,"processed":0,"errors":0,"total":1} 
[2026-08-25 06:44:56] local.INFO: Acknowledgment sent {"connection_id":164099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:44:57] local.INFO: TCP Data received {"connection_id":161719,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:44:57] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:44:57] local.INFO: Packet analysis {"connection_id":161719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:44:57] local.INFO: Extracted packet for processing {"connection_id":161719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:44:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":7,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630711808001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:44:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787620269000,"timestamp_ms":1787620269000,"timestamp_seconds":1787620269,"priority":1,"record_length":96,"hex_timestamp":"000001a036789bc8"} 
[2026-08-25 06: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-25 06:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630711808001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630711808001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:44:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630711808001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":161719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:44:57] local.INFO: GPS data processed {"connection_id":161719,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:44:57] local.INFO: Acknowledgment sent {"connection_id":161719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:45:21] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:45:21] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:45:21] local.INFO: IMEI packet received {"connection_id":161479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":161479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:45:26] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:45:26] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:45:26] local.INFO: IMEI packet received {"connection_id":161479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":161479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:45:27] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367c2220012d18d44007210460002b015608..."} 
[2026-08-25 06:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367c2220012d18d44007210460002b015608..."} 
[2026-08-25 06:45:27] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367c2220012d18d44007210460002b015608..."} 
[2026-08-25 06:45:27] local.INFO: Packet analysis {"connection_id":161479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367c"} 
[2026-08-25 06:45:27] local.INFO: Extracted packet for processing {"connection_id":161479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367c"} 
[2026-08-25 06:45:27] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119604320,"longitude_deg":75.660192,"latitude_deg":11.960432,"altitude":43,"angle":342,"satellites":8,"speed":33,"hex_longitude":"2d18d440","hex_latitude":"07210460","is_valid_coordinates":true} 
[2026-08-25 06:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630847488001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15804624950788096,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789758670032996352,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787620500000,"timestamp_ms":1787620500000,"timestamp_seconds":1787620500,"priority":1,"record_length":96,"hex_timestamp":"000001a0367c2220"} 
[2026-08-25 06:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-25 06:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6982892421,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:27] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:27] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503840761774080,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-25 06:45:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:27] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84751741396394159,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:27] local.WARNING: Large IO value detected {"io_id":40,"raw_value":12386153239944192,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:27] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,38,160,10,45,244,44,8,66,37,239,128,222,48,231,1,240,185,227,54,32,4,113,205,33,161,152,55,2,56,7,206,224,40],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-25 06:45:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098839416829771776,"timestamp_seconds":3098839416829772.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 06:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630847488001,"66":14298,"103":206,"83":41984,"24":33,"16":15804624950788096,"45":1789758670032996352},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 06:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630847488001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:45:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 06:45:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15804624950788096,"km_value":15804624950788.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789758670032996352,"description":"Unknown IO ID 45"} 
[2026-08-25 06:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630847488001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1789758670032996352}} 
[2026-08-25 06:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":161479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:45:27] local.INFO: GPS data processed {"connection_id":161479,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:45:27] local.INFO: Acknowledgment sent {"connection_id":161479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:45:40] local.INFO: TCP Data received {"connection_id":164101,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:45:40] local.INFO: Processing buffer {"connection_id":164101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:45:40] local.INFO: IMEI packet received {"connection_id":164101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":164101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:45:46] local.INFO: TCP Data received {"connection_id":164101,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:45:46] local.INFO: Processing buffer {"connection_id":164101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:45:46] local.INFO: IMEI packet received {"connection_id":164101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":164101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:45:47] local.INFO: TCP Data received {"connection_id":164101,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:45:47] local.INFO: Processing buffer {"connection_id":164101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:45:47] local.INFO: Packet analysis {"connection_id":164101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:45:47] local.INFO: Extracted packet for processing {"connection_id":164101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":7,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630711808001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787620269000,"timestamp_ms":1787620269000,"timestamp_seconds":1787620269,"priority":1,"record_length":96,"hex_timestamp":"000001a036789bc8"} 
[2026-08-25 06:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630711808001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630711808001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630711808001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":164101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:45:47] local.INFO: GPS data processed {"connection_id":164101,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:45:47] local.INFO: Acknowledgment sent {"connection_id":164101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:45:58] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367c31c0012d18d1c0072112e0002d016108..."} 
[2026-08-25 06:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367c31c0012d18d1c0072112e0002d016108..."} 
[2026-08-25 06:45:58] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367c31c0012d18d1c0072112e0002d016108..."} 
[2026-08-25 06:45:58] local.INFO: Packet analysis {"connection_id":161479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367c"} 
[2026-08-25 06:45:58] local.INFO: Extracted packet for processing {"connection_id":161479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367c"} 
[2026-08-25 06:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119608032,"longitude_deg":75.660128,"latitude_deg":11.9608032,"altitude":45,"angle":353,"satellites":8,"speed":36,"hex_longitude":"2d18d1c0","hex_latitude":"072112e0","is_valid_coordinates":true} 
[2026-08-25 06:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630848000001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15804805339414528,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351335813120,"note":"Value kept but may cause issues"} 
[2026-08-25 06:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787620504000,"timestamp_ms":1787620504000,"timestamp_seconds":1787620504,"priority":1,"record_length":96,"hex_timestamp":"000001a0367c31c0"} 
[2026-08-25 06:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-25 06:45:58] 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-25 06:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630848000001,"66":14265,"103":206,"83":41984,"24":36,"16":15804805339414528,"45":1789125351335813120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 06:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630848000001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:45:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 06:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15804805339414528,"km_value":15804805339414.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351335813120,"description":"Unknown IO ID 45"} 
[2026-08-25 06:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630848000001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1789125351335813120}} 
[2026-08-25 06:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":161479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:45:58] local.INFO: GPS data processed {"connection_id":161479,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:45:58] local.INFO: Acknowledgment sent {"connection_id":161479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:46:18] local.INFO: TCP Data received {"connection_id":164101,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:46:18] local.INFO: Processing buffer {"connection_id":164101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:46:18] local.INFO: Packet analysis {"connection_id":164101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:46:18] local.INFO: Extracted packet for processing {"connection_id":164101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:46:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":7,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630711808001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:46:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787620269000,"timestamp_ms":1787620269000,"timestamp_seconds":1787620269,"priority":1,"record_length":96,"hex_timestamp":"000001a036789bc8"} 
[2026-08-25 06:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630711808001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630711808001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:46:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630711808001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":164101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:46:18] local.INFO: GPS data processed {"connection_id":164101,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:46:18] local.INFO: Acknowledgment sent {"connection_id":164101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:46:29] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367c4d18012d18cf4007212af80031014f08..."} 
[2026-08-25 06:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367c4d18012d18cf4007212af80031014f08..."} 
[2026-08-25 06:46:29] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367c4d18012d18cf4007212af80031014f08..."} 
[2026-08-25 06:46:29] local.INFO: Packet analysis {"connection_id":161479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367c"} 
[2026-08-25 06:46:29] local.INFO: Extracted packet for processing {"connection_id":161479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367c"} 
[2026-08-25 06:46:29] local.INFO: GPS Element Parsed {"raw_longitude":756600640,"raw_latitude":119614200,"longitude_deg":75.660064,"latitude_deg":11.96142,"altitude":49,"angle":335,"satellites":8,"speed":32,"hex_longitude":"2d18cf40","hex_latitude":"07212af8","is_valid_coordinates":true} 
[2026-08-25 06:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630849024001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805110282092544,"note":"Value kept but may cause issues"} 
[2026-08-25 06:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894986752,"note":"Value kept but may cause issues"} 
[2026-08-25 06:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787620511000,"timestamp_ms":1787620511000,"timestamp_seconds":1787620511,"priority":1,"record_length":96,"hex_timestamp":"000001a0367c4d18"} 
[2026-08-25 06:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 06:46:29] 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-25 06:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630849024001,"66":13993,"103":206,"83":41984,"24":32,"16":15805110282092544,"45":1788421663894986752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 06:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630849024001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:46:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 06:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805110282092544,"km_value":15805110282092.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894986752,"description":"Unknown IO ID 45"} 
[2026-08-25 06:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630849024001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1788421663894986752}} 
[2026-08-25 06:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":161479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:46:29] local.INFO: GPS data processed {"connection_id":161479,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:46:29] local.INFO: Acknowledgment sent {"connection_id":161479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:46:41] local.INFO: TCP Data received {"connection_id":162711,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:46:41] local.INFO: Processing buffer {"connection_id":162711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:46:41] local.INFO: IMEI packet received {"connection_id":162711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":162711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:46:46] local.INFO: TCP Data received {"connection_id":162711,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:46:46] local.INFO: Processing buffer {"connection_id":162711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:46:46] local.INFO: IMEI packet received {"connection_id":162711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":162711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:46:47] local.INFO: TCP Data received {"connection_id":162711,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:46:47] local.INFO: Processing buffer {"connection_id":162711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036789bc8012d34c3c006aa46b00007006d28..."} 
[2026-08-25 06:46:47] local.INFO: Packet analysis {"connection_id":162711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:46:47] local.INFO: Extracted packet for processing {"connection_id":162711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03678"} 
[2026-08-25 06:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":7,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630711808001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:46:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787620269000,"timestamp_ms":1787620269000,"timestamp_seconds":1787620269,"priority":1,"record_length":96,"hex_timestamp":"000001a036789bc8"} 
[2026-08-25 06:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630711808001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630711808001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630711808001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":162711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:46:47] local.INFO: GPS data processed {"connection_id":162711,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:46:47] local.INFO: Acknowledgment sent {"connection_id":162711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:47:01] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367d56b8012d185c00072183c8004301230c..."} 
[2026-08-25 06:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367d56b8012d185c00072183c8004301230c..."} 
[2026-08-25 06:47:01] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367d56b8012d185c00072183c8004301230c..."} 
[2026-08-25 06:47:01] local.INFO: Packet analysis {"connection_id":161479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:47:01] local.INFO: Extracted packet for processing {"connection_id":161479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:47:01] local.INFO: GPS Element Parsed {"raw_longitude":756571136,"raw_latitude":119636936,"longitude_deg":75.6571136,"latitude_deg":11.9636936,"altitude":67,"angle":291,"satellites":12,"speed":31,"hex_longitude":"2d185c00","hex_latitude":"072183c8","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630867712001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15807116031819776,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756966835254845440,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47: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-25 06:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787620579000,"timestamp_ms":1787620579000,"timestamp_seconds":1787620579,"priority":1,"record_length":96,"hex_timestamp":"000001a0367d56b8"} 
[2026-08-25 06: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-25 06:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 06:47:01] 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-25 06: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-25 06: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-25 06:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630867712001,"66":14374,"106":206,"83":41984,"24":31,"16":15807116031819776,"45":1756966835254845440},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-25 06:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630867712001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:47:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-25 06:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15807116031819776,"km_value":15807116031819.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756966835254845440,"description":"Unknown IO ID 45"} 
[2026-08-25 06:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630867712001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1756966835254845440}} 
[2026-08-25 06:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":161479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:47:01] local.INFO: GPS data processed {"connection_id":161479,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:47:01] local.INFO: Acknowledgment sent {"connection_id":161479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:47:18] local.INFO: TCP Data received {"connection_id":162711,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:47:18] local.INFO: Processing buffer {"connection_id":162711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:47:18] local.INFO: Packet analysis {"connection_id":162711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:47:18] local.INFO: Extracted packet for processing {"connection_id":162711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630788864001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787620570000,"timestamp_ms":1787620570000,"timestamp_seconds":1787620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0367d3390"} 
[2026-08-25 06:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630788864001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630788864001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630788864001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":162711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:47:18] local.INFO: GPS data processed {"connection_id":162711,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:47:18] local.INFO: Acknowledgment sent {"connection_id":162711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:47:25] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:47:25] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:47:25] local.INFO: IMEI packet received {"connection_id":161480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":161480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:47:25] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:47:25] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:47:25] local.INFO: IMEI packet received {"connection_id":161480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":161480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:47:29] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:47:29] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:47:29] local.INFO: IMEI packet received {"connection_id":161480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":161480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:47:29] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367d8598012d183b40072193e80048012b0c..."} 
[2026-08-25 06:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367d8598012d183b40072193e80048012b0c..."} 
[2026-08-25 06:47:29] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367d8598012d183b40072193e80048012b0c..."} 
[2026-08-25 06:47:29] local.INFO: Packet analysis {"connection_id":161480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:47:29] local.INFO: Extracted packet for processing {"connection_id":161480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756562752,"raw_latitude":119641064,"longitude_deg":75.6562752,"latitude_deg":11.9641064,"altitude":72,"angle":299,"satellites":12,"speed":25,"hex_longitude":"2d183b40","hex_latitude":"072193e8","is_valid_coordinates":true} 
[2026-08-25 06:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630868224001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15807562708418560,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755277985394706432,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:29] 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-25 06:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787620591000,"timestamp_ms":1787620591000,"timestamp_seconds":1787620591,"priority":1,"record_length":96,"hex_timestamp":"000001a0367d8598"} 
[2026-08-25 06:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-25 06:47:29] 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-25 06:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630868224001,"66":14157,"106":206,"83":41984,"24":25,"16":15807562708418560,"45":1755277985394706432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-25 06:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630868224001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:47:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-25 06:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15807562708418560,"km_value":15807562708418.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755277985394706432,"description":"Unknown IO ID 45"} 
[2026-08-25 06:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630868224001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1755277985394706432}} 
[2026-08-25 06:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":161480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:47:29] local.INFO: GPS data processed {"connection_id":161480,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:47:29] local.INFO: Acknowledgment sent {"connection_id":161480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:47:30] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367daca8012d1824c00721a078004901370c..."} 
[2026-08-25 06:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367daca8012d1824c00721a078004901370c..."} 
[2026-08-25 06:47:30] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367daca8012d1824c00721a078004901370c..."} 
[2026-08-25 06:47:30] local.INFO: Packet analysis {"connection_id":161480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:47:30] local.INFO: Extracted packet for processing {"connection_id":161480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119644280,"longitude_deg":75.6556992,"latitude_deg":11.964428,"altitude":73,"angle":311,"satellites":12,"speed":24,"hex_longitude":"2d1824c0","hex_latitude":"0721a078","is_valid_coordinates":true} 
[2026-08-25 06:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630871296001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15807876241031168,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746059679908489216,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:30] 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-25 06:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787620601000,"timestamp_ms":1787620601000,"timestamp_seconds":1787620601,"priority":1,"record_length":96,"hex_timestamp":"000001a0367daca8"} 
[2026-08-25 06:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-25 06:47:30] 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-25 06:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630871296001,"66":14048,"106":206,"83":41984,"24":24,"16":15807876241031168,"45":1746059679908489216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-25 06:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630871296001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:47:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-25 06:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15807876241031168,"km_value":15807876241031.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746059679908489216,"description":"Unknown IO ID 45"} 
[2026-08-25 06:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630871296001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1746059679908489216}} 
[2026-08-25 06:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":161480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:47:30] local.INFO: GPS data processed {"connection_id":161480,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:47:30] local.INFO: Acknowledgment sent {"connection_id":161480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:47:40] local.INFO: TCP Data received {"connection_id":164102,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:47:40] local.INFO: Processing buffer {"connection_id":164102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:47:40] local.INFO: IMEI packet received {"connection_id":164102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":164102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:47:46] local.INFO: TCP Data received {"connection_id":164102,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:47:46] local.INFO: Processing buffer {"connection_id":164102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:47:46] local.INFO: IMEI packet received {"connection_id":164102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":164102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:47:47] local.INFO: TCP Data received {"connection_id":164102,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:47:47] local.INFO: Processing buffer {"connection_id":164102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:47:47] local.INFO: Packet analysis {"connection_id":164102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:47:47] local.INFO: Extracted packet for processing {"connection_id":164102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630788864001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787620570000,"timestamp_ms":1787620570000,"timestamp_seconds":1787620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0367d3390"} 
[2026-08-25 06:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630788864001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630788864001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630788864001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":164102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:47:47] local.INFO: GPS data processed {"connection_id":164102,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:47:47] local.INFO: Acknowledgment sent {"connection_id":164102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:48:01] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367dfeb0012d181d000721a6400049013c0e..."} 
[2026-08-25 06:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367dfeb0012d181d000721a6400049013c0e..."} 
[2026-08-25 06:48:01] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367dfeb0012d181d000721a6400049013c0e..."} 
[2026-08-25 06:48:01] local.INFO: Packet analysis {"connection_id":161480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:48:01] local.INFO: Extracted packet for processing {"connection_id":161480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:48:01] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119645760,"longitude_deg":75.6555008,"latitude_deg":11.964576,"altitude":73,"angle":316,"satellites":14,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721a640","is_valid_coordinates":true} 
[2026-08-25 06:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630873856001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15808000795082752,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933322752,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48: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-25 06:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787620622000,"timestamp_ms":1787620622000,"timestamp_seconds":1787620622,"priority":1,"record_length":96,"hex_timestamp":"000001a0367dfeb0"} 
[2026-08-25 06:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-25 06:48:01] 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-25 06:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630873856001,"66":14080,"105":206,"83":41984,"24":0,"16":15808000795082752,"45":1739726492933322752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-25 06:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630873856001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:48:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-25 06:48:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15808000795082752,"km_value":15808000795082.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933322752,"description":"Unknown IO ID 45"} 
[2026-08-25 06:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630873856001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492933322752}} 
[2026-08-25 06:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":161480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:48:01] local.INFO: GPS data processed {"connection_id":161480,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:48:01] local.INFO: Acknowledgment sent {"connection_id":161480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:48:18] local.INFO: TCP Data received {"connection_id":164102,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:48:18] local.INFO: Processing buffer {"connection_id":164102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:48:18] local.INFO: Packet analysis {"connection_id":164102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:48:18] local.INFO: Extracted packet for processing {"connection_id":164102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630788864001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787620570000,"timestamp_ms":1787620570000,"timestamp_seconds":1787620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0367d3390"} 
[2026-08-25 06:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:48:18] 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-25 06:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630788864001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630788864001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630788864001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":164102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:48:18] local.INFO: GPS data processed {"connection_id":164102,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:48:18] local.INFO: Acknowledgment sent {"connection_id":164102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:48:21] local.INFO: TCP Data received {"connection_id":164103,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:48:21] local.INFO: Processing buffer {"connection_id":164103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:48:21] local.INFO: IMEI packet received {"connection_id":164103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":164103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:48:23] local.INFO: TCP Data received {"connection_id":164103,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:48:23] local.INFO: Processing buffer {"connection_id":164103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:48:23] local.INFO: IMEI packet received {"connection_id":164103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":164103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:48:24] local.INFO: TCP Data received {"connection_id":164103,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367e50b8012d181d000721a6400049013c12..."} 
[2026-08-25 06:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367e50b8012d181d000721a6400049013c12..."} 
[2026-08-25 06:48:24] local.INFO: Processing buffer {"connection_id":164103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367e50b8012d181d000721a6400049013c12..."} 
[2026-08-25 06:48:24] local.INFO: Packet analysis {"connection_id":164103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367e"} 
[2026-08-25 06:48:24] local.INFO: Extracted packet for processing {"connection_id":164103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367e"} 
[2026-08-25 06:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119645760,"longitude_deg":75.6555008,"latitude_deg":11.964576,"altitude":73,"angle":316,"satellites":18,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721a640","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630879232001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15808000795082752,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864194048,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787620643000,"timestamp_ms":1787620643000,"timestamp_seconds":1787620643,"priority":1,"record_length":96,"hex_timestamp":"000001a0367e50b8"} 
[2026-08-25 06: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-25 06:48:24] 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-25 06:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-25 06:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2178940994,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-25 06:48:24] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485674,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:24] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,41,160,172,45,192,73,12,10,66,106,133,64,147,72,40,86,1,240,38,227,54,33,4,113,205,29,63,111,152,239,55,2,56,7,32],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-25 06:48:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260551870572658688,"timestamp_seconds":5260551870572659.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 06: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-25 06:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630879232001,"66":14494,"105":206,"83":41984,"24":0,"16":15808000795082752,"45":1737545061864194048},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-25 06:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630879232001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:48:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-25 06:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15808000795082752,"km_value":15808000795082.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864194048,"description":"Unknown IO ID 45"} 
[2026-08-25 06:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630879232001,"power":14494,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864194048}} 
[2026-08-25 06:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":164103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:48:24] local.INFO: GPS data processed {"connection_id":164103,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:48:24] local.INFO: Acknowledgment sent {"connection_id":164103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:48:26] local.INFO: TCP Data received {"connection_id":164103,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367e6058012d181dc00721a7f80049003312..."} 
[2026-08-25 06:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367e6058012d181dc00721a7f80049003312..."} 
[2026-08-25 06:48:26] local.INFO: Processing buffer {"connection_id":164103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367e6058012d181dc00721a7f80049003312..."} 
[2026-08-25 06:48:26] local.INFO: Packet analysis {"connection_id":164103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367e"} 
[2026-08-25 06:48:26] local.INFO: Extracted packet for processing {"connection_id":164103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367e"} 
[2026-08-25 06:48:26] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646200,"longitude_deg":75.65552,"latitude_deg":11.96462,"altitude":73,"angle":51,"satellites":18,"speed":7,"hex_longitude":"2d181dc0","hex_latitude":"0721a7f8","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630884608001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15808026564886528,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864194048,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787620647000,"timestamp_ms":1787620647000,"timestamp_seconds":1787620647,"priority":1,"record_length":96,"hex_timestamp":"000001a0367e6058"} 
[2026-08-25 06: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-25 06:48:26] 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-25 06: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-25 06:48:26] 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-25 06: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-25 06: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-25 06:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630884608001,"66":14450,"105":206,"83":41984,"24":7,"16":15808026564886528,"45":1737545061864194048},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-25 06:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630884608001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:48:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-25 06:48:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15808026564886528,"km_value":15808026564886.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864194048,"description":"Unknown IO ID 45"} 
[2026-08-25 06:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630884608001,"power":14450,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737545061864194048}} 
[2026-08-25 06:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":164103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:48:26] local.INFO: GPS data processed {"connection_id":164103,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:48:26] local.INFO: Acknowledgment sent {"connection_id":164103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:48:40] local.INFO: TCP Data received {"connection_id":161720,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:48:40] local.INFO: Processing buffer {"connection_id":161720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:48:40] local.INFO: IMEI packet received {"connection_id":161720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":161720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:48:46] local.INFO: TCP Data received {"connection_id":161720,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:48:46] local.INFO: Processing buffer {"connection_id":161720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:48:46] local.INFO: IMEI packet received {"connection_id":161720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":161720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:48:47] local.INFO: TCP Data received {"connection_id":161720,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:48:47] local.INFO: Processing buffer {"connection_id":161720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:48:47] local.INFO: Packet analysis {"connection_id":161720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:48:47] local.INFO: Extracted packet for processing {"connection_id":161720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630788864001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787620570000,"timestamp_ms":1787620570000,"timestamp_seconds":1787620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0367d3390"} 
[2026-08-25 06:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630788864001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630788864001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630788864001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":161720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:48:47] local.INFO: GPS data processed {"connection_id":161720,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:48:47] local.INFO: Acknowledgment sent {"connection_id":161720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:48:57] local.INFO: TCP Data received {"connection_id":164103,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367fa878012d187b8007218168004c008915..."} 
[2026-08-25 06:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367fa878012d187b8007218168004c008915..."} 
[2026-08-25 06:48:57] local.INFO: Processing buffer {"connection_id":164103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367fa878012d187b8007218168004c008915..."} 
[2026-08-25 06:48:57] local.INFO: Packet analysis {"connection_id":164103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367f"} 
[2026-08-25 06:48:57] local.INFO: Extracted packet for processing {"connection_id":164103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367f"} 
[2026-08-25 06:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756579200,"raw_latitude":119636328,"longitude_deg":75.65792,"latitude_deg":11.9636328,"altitude":76,"angle":137,"satellites":21,"speed":10,"hex_longitude":"2d187b80","hex_latitude":"07218168","is_valid_coordinates":true} 
[2026-08-25 06:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630906880001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809297875206144,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763933340928452608,"note":"Value kept but may cause issues"} 
[2026-08-25 06:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787620731000,"timestamp_ms":1787620731000,"timestamp_seconds":1787620731,"priority":1,"record_length":96,"hex_timestamp":"000001a0367fa878"} 
[2026-08-25 06:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:48:57] 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-25 06:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-25 06:48:57] 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-25 06:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630906880001,"66":13961,"105":206,"83":41984,"24":10,"16":15809297875206144,"45":1763933340928452608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-25 06:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630906880001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:48:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-25 06:48:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809297875206144,"km_value":15809297875206.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763933340928452608,"description":"Unknown IO ID 45"} 
[2026-08-25 06:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630906880001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1763933340928452608}} 
[2026-08-25 06:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":164103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:48:57] local.INFO: GPS data processed {"connection_id":164103,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:48:57] local.INFO: Acknowledgment sent {"connection_id":164103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:49:18] local.INFO: TCP Data received {"connection_id":161720,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:49:18] local.INFO: Processing buffer {"connection_id":161720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:49:18] local.INFO: Packet analysis {"connection_id":161720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:49:18] local.INFO: Extracted packet for processing {"connection_id":161720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630788864001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:49:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787620570000,"timestamp_ms":1787620570000,"timestamp_seconds":1787620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0367d3390"} 
[2026-08-25 06:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:49:18] 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-25 06:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630788864001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630788864001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630788864001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":161720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:49:18] local.INFO: GPS data processed {"connection_id":161720,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:49:18] local.INFO: Acknowledgment sent {"connection_id":161720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:49:21] local.INFO: TCP Data received {"connection_id":162712,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:49:21] local.INFO: Processing buffer {"connection_id":162712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:49:21] local.INFO: IMEI packet received {"connection_id":162712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":162712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:49:25] local.INFO: TCP Data received {"connection_id":162712,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:49:25] local.INFO: Processing buffer {"connection_id":162712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:49:25] local.INFO: IMEI packet received {"connection_id":162712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":162712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:49:26] local.INFO: TCP Data received {"connection_id":162712,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367fac60012d187c4007218070004d009515..."} 
[2026-08-25 06:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367fac60012d187c4007218070004d009515..."} 
[2026-08-25 06:49:26] local.INFO: Processing buffer {"connection_id":162712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367fac60012d187c4007218070004d009515..."} 
[2026-08-25 06:49:26] local.INFO: Packet analysis {"connection_id":162712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367f"} 
[2026-08-25 06:49:26] local.INFO: Extracted packet for processing {"connection_id":162712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367f"} 
[2026-08-25 06:49:26] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119636080,"longitude_deg":75.6579392,"latitude_deg":11.963608,"altitude":77,"angle":149,"satellites":21,"speed":10,"hex_longitude":"2d187c40","hex_latitude":"07218070","is_valid_coordinates":true} 
[2026-08-25 06:49: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-25 06:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630907136001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809310760108032,"note":"Value kept but may cause issues"} 
[2026-08-25 06:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764144447160936448,"note":"Value kept but may cause issues"} 
[2026-08-25 06:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787620732000,"timestamp_ms":1787620732000,"timestamp_seconds":1787620732,"priority":1,"record_length":96,"hex_timestamp":"000001a0367fac60"} 
[2026-08-25 06:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:49:26] 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-25 06:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-25 06:49:26] 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-25 06:49: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-25 06:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630907136001,"66":13906,"105":206,"83":41984,"24":10,"16":15809310760108032,"45":1764144447160936448},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-25 06:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630907136001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:49:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-25 06:49:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809310760108032,"km_value":15809310760108.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764144447160936448,"description":"Unknown IO ID 45"} 
[2026-08-25 06:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630907136001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1764144447160936448}} 
[2026-08-25 06:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":162712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:49:26] local.INFO: GPS data processed {"connection_id":162712,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:49:26] local.INFO: Acknowledgment sent {"connection_id":162712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:49:40] local.INFO: TCP Data received {"connection_id":164104,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:49:40] local.INFO: Processing buffer {"connection_id":164104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:49:40] local.INFO: IMEI packet received {"connection_id":164104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":164104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:49:46] local.INFO: TCP Data received {"connection_id":164104,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:49:46] local.INFO: Processing buffer {"connection_id":164104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:49:46] local.INFO: IMEI packet received {"connection_id":164104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":164104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:49:47] local.INFO: TCP Data received {"connection_id":164104,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:49:47] local.INFO: Processing buffer {"connection_id":164104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:49:47] local.INFO: Packet analysis {"connection_id":164104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:49:47] local.INFO: Extracted packet for processing {"connection_id":164104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630788864001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:49:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787620570000,"timestamp_ms":1787620570000,"timestamp_seconds":1787620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0367d3390"} 
[2026-08-25 06:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630788864001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630788864001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630788864001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":164104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:49:47] local.INFO: GPS data processed {"connection_id":164104,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:49:47] local.INFO: Acknowledgment sent {"connection_id":164104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:49:57] local.INFO: TCP Data received {"connection_id":162712,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367fb430012d187d0007217e78004e00a515..."} 
[2026-08-25 06:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367fb430012d187d0007217e78004e00a515..."} 
[2026-08-25 06:49:57] local.INFO: Processing buffer {"connection_id":162712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367fb430012d187d0007217e78004e00a515..."} 
[2026-08-25 06:49:57] local.INFO: Packet analysis {"connection_id":162712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367f"} 
[2026-08-25 06:49:57] local.INFO: Extracted packet for processing {"connection_id":162712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367f"} 
[2026-08-25 06:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756579584,"raw_latitude":119635576,"longitude_deg":75.6579584,"latitude_deg":11.9635576,"altitude":78,"angle":165,"satellites":21,"speed":9,"hex_longitude":"2d187d00","hex_latitude":"07217e78","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630907392001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809340824879104,"note":"Value kept but may cause issues"} 
[2026-08-25 06:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553393405952,"note":"Value kept but may cause issues"} 
[2026-08-25 06:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787620734000,"timestamp_ms":1787620734000,"timestamp_seconds":1787620734,"priority":1,"record_length":96,"hex_timestamp":"000001a0367fb430"} 
[2026-08-25 06: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-25 06:49:57] 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-25 06: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-25 06:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630907392001,"66":13961,"105":206,"83":41984,"24":9,"16":15809340824879104,"45":1764355553393405952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-25 06:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630907392001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:49:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-25 06:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809340824879104,"km_value":15809340824879.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553393405952,"description":"Unknown IO ID 45"} 
[2026-08-25 06:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630907392001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1764355553393405952}} 
[2026-08-25 06:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":162712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:49:57] local.INFO: GPS data processed {"connection_id":162712,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:49:57] local.INFO: Acknowledgment sent {"connection_id":162712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:50:18] local.INFO: TCP Data received {"connection_id":164104,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:50:18] local.INFO: Processing buffer {"connection_id":164104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:50:18] local.INFO: Packet analysis {"connection_id":164104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:50:18] local.INFO: Extracted packet for processing {"connection_id":164104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:50:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630788864001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787620570000,"timestamp_ms":1787620570000,"timestamp_seconds":1787620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0367d3390"} 
[2026-08-25 06:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:50:18] 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-25 06:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630788864001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630788864001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:50:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630788864001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":164104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:50:18] local.INFO: GPS data processed {"connection_id":164104,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:50:18] local.INFO: Acknowledgment sent {"connection_id":164104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:50:21] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:50:21] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:50:21] local.INFO: IMEI packet received {"connection_id":161721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":161721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:50:26] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:50:26] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:50:26] local.INFO: IMEI packet received {"connection_id":161721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":161721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:50:27] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367fbc00012d187d0007217cc0004e00b315..."} 
[2026-08-25 06:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367fbc00012d187d0007217cc0004e00b315..."} 
[2026-08-25 06:50:27] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367fbc00012d187d0007217cc0004e00b315..."} 
[2026-08-25 06:50:27] local.INFO: Packet analysis {"connection_id":161721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367f"} 
[2026-08-25 06:50:27] local.INFO: Extracted packet for processing {"connection_id":161721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367f"} 
[2026-08-25 06:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756579584,"raw_latitude":119635136,"longitude_deg":75.6579584,"latitude_deg":11.9635136,"altitude":78,"angle":179,"satellites":21,"speed":8,"hex_longitude":"2d187d00","hex_latitude":"07217cc0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630907904001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809358004748288,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764566659625809920,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787620736000,"timestamp_ms":1787620736000,"timestamp_seconds":1787620736,"priority":1,"record_length":96,"hex_timestamp":"000001a0367fbc00"} 
[2026-08-25 06: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-25 06:50:27] 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-25 06: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-25 06:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630907904001,"66":14254,"105":206,"83":41984,"24":8,"16":15809358004748288,"45":1764566659625809920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-25 06:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630907904001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:50:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-25 06:50:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809358004748288,"km_value":15809358004748.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764566659625809920,"description":"Unknown IO ID 45"} 
[2026-08-25 06:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630907904001,"power":14254,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1764566659625809920}} 
[2026-08-25 06:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":161721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:50:27] local.INFO: GPS data processed {"connection_id":161721,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:50:27] local.INFO: Acknowledgment sent {"connection_id":161721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:50:46] local.INFO: TCP Data received {"connection_id":162713,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:50:46] local.INFO: Processing buffer {"connection_id":162713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:50:46] local.INFO: IMEI packet received {"connection_id":162713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":162713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:50:51] local.INFO: TCP Data received {"connection_id":162713,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:50:51] local.INFO: Processing buffer {"connection_id":162713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:50:51] local.INFO: IMEI packet received {"connection_id":162713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":162713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:50:52] local.INFO: TCP Data received {"connection_id":162713,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:50:52] local.INFO: Processing buffer {"connection_id":162713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:50:52] local.INFO: Packet analysis {"connection_id":162713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:50:52] local.INFO: Extracted packet for processing {"connection_id":162713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630788864001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787620570000,"timestamp_ms":1787620570000,"timestamp_seconds":1787620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0367d3390"} 
[2026-08-25 06:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:50: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-25 06:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630788864001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630788864001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630788864001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":162713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:50:52] local.INFO: GPS data processed {"connection_id":162713,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:50:52] local.INFO: Acknowledgment sent {"connection_id":162713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:50:56] local.INFO: TCP Data received {"connection_id":162713,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:50:56] local.INFO: Processing buffer {"connection_id":162713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:50:56] local.INFO: Packet analysis {"connection_id":162713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:50:56] local.INFO: Extracted packet for processing {"connection_id":162713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:50:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630788864001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787620570000,"timestamp_ms":1787620570000,"timestamp_seconds":1787620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0367d3390"} 
[2026-08-25 06: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-25 06:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630788864001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630788864001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:50:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630788864001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":162713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:50:56] local.INFO: GPS data processed {"connection_id":162713,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:50:56] local.INFO: Acknowledgment sent {"connection_id":162713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:50:57] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0367fd370012d187d4007217760005000a815..."} 
[2026-08-25 06:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367fd370012d187d4007217760005000a815..."} 
[2026-08-25 06:50:57] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367fd370012d187d4007217760005000a815..."} 
[2026-08-25 06:50:57] local.INFO: Packet analysis {"connection_id":161721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367f"} 
[2026-08-25 06:50:57] local.INFO: Extracted packet for processing {"connection_id":161721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367f"} 
[2026-08-25 06:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756579648,"raw_latitude":119633760,"longitude_deg":75.6579648,"latitude_deg":11.963376,"altitude":80,"angle":168,"satellites":21,"speed":7,"hex_longitude":"2d187d40","hex_latitude":"07217760","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630908416001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809426724225024,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764566659625697280,"note":"Value kept but may cause issues"} 
[2026-08-25 06:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787620742000,"timestamp_ms":1787620742000,"timestamp_seconds":1787620742,"priority":1,"record_length":96,"hex_timestamp":"000001a0367fd370"} 
[2026-08-25 06: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-25 06:50:57] 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-25 06: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-25 06:50:57] 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-25 06: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-25 06: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-25 06:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630908416001,"66":13993,"106":206,"83":41984,"24":7,"16":15809426724225024,"45":1764566659625697280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-25 06:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630908416001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:50:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-25 06:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809426724225024,"km_value":15809426724225.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764566659625697280,"description":"Unknown IO ID 45"} 
[2026-08-25 06:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630908416001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1764566659625697280}} 
[2026-08-25 06:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":161721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:50:57] local.INFO: GPS data processed {"connection_id":161721,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:50:57] local.INFO: Acknowledgment sent {"connection_id":161721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:51:21] local.INFO: TCP Data received {"connection_id":162714,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:51:21] local.INFO: Processing buffer {"connection_id":162714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:51:21] local.INFO: IMEI packet received {"connection_id":162714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":162714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:51:26] local.INFO: TCP Data received {"connection_id":162714,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:51:26] local.INFO: Processing buffer {"connection_id":162714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:51:26] local.INFO: IMEI packet received {"connection_id":162714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":162714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:51:27] local.INFO: TCP Data received {"connection_id":162714,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a036802578012d187d4007217600005100ac15..."} 
[2026-08-25 06:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036802578012d187d4007217600005100ac15..."} 
[2026-08-25 06:51:27] local.INFO: Processing buffer {"connection_id":162714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036802578012d187d4007217600005100ac15..."} 
[2026-08-25 06:51:27] local.INFO: Packet analysis {"connection_id":162714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03680"} 
[2026-08-25 06:51:27] local.INFO: Extracted packet for processing {"connection_id":162714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03680"} 
[2026-08-25 06:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756579648,"raw_latitude":119633408,"longitude_deg":75.6579648,"latitude_deg":11.9633408,"altitude":81,"angle":172,"satellites":21,"speed":2,"hex_longitude":"2d187d40","hex_latitude":"07217600","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630909952001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809456788996096,"note":"Value kept but may cause issues"} 
[2026-08-25 06:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764637028369522688,"note":"Value kept but may cause issues"} 
[2026-08-25 06:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787620763000,"timestamp_ms":1787620763000,"timestamp_seconds":1787620763,"priority":1,"record_length":96,"hex_timestamp":"000001a036802578"} 
[2026-08-25 06: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-25 06:51:27] 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-25 06: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-25 06:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630909952001,"66":14048,"106":206,"83":41984,"24":2,"16":15809456788996096,"45":1764637028369522688},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-25 06:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630909952001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:51:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-25 06:51:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809456788996096,"km_value":15809456788996.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764637028369522688,"description":"Unknown IO ID 45"} 
[2026-08-25 06:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630909952001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1764637028369522688}} 
[2026-08-25 06:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":162714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:51:27] local.INFO: GPS data processed {"connection_id":162714,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:51:27] local.INFO: Acknowledgment sent {"connection_id":162714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:51:40] local.INFO: TCP Data received {"connection_id":162715,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:51:40] local.INFO: Processing buffer {"connection_id":162715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:51:40] local.INFO: IMEI packet received {"connection_id":162715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":162715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:51:46] local.INFO: TCP Data received {"connection_id":162715,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:51:46] local.INFO: Processing buffer {"connection_id":162715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:51:46] local.INFO: IMEI packet received {"connection_id":162715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":162715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:51:47] local.INFO: TCP Data received {"connection_id":162715,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:51:47] local.INFO: Processing buffer {"connection_id":162715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0367d3390012d34c3c006aa46b00005006d28..."} 
[2026-08-25 06:51:47] local.INFO: Packet analysis {"connection_id":162715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:51:47] local.INFO: Extracted packet for processing {"connection_id":162715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0367d"} 
[2026-08-25 06:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630788864001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:51:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787620570000,"timestamp_ms":1787620570000,"timestamp_seconds":1787620570,"priority":1,"record_length":96,"hex_timestamp":"000001a0367d3390"} 
[2026-08-25 06:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 06:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630788864001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630788864001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630788864001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":162715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:51:47] local.INFO: GPS data processed {"connection_id":162715,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:51:47] local.INFO: Acknowledgment sent {"connection_id":162715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:51:57] local.INFO: TCP Data received {"connection_id":162714,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a036803518012d187d40072175a0005100a015..."} 
[2026-08-25 06:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036803518012d187d40072175a0005100a015..."} 
[2026-08-25 06:51:57] local.INFO: Processing buffer {"connection_id":162714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036803518012d187d40072175a0005100a015..."} 
[2026-08-25 06:51:57] local.INFO: Packet analysis {"connection_id":162714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03680"} 
[2026-08-25 06:51:57] local.INFO: Extracted packet for processing {"connection_id":162714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03680"} 
[2026-08-25 06:51:57] local.INFO: GPS Element Parsed {"raw_longitude":756579648,"raw_latitude":119633312,"longitude_deg":75.6579648,"latitude_deg":11.9633312,"altitude":81,"angle":160,"satellites":21,"speed":0,"hex_longitude":"2d187d40","hex_latitude":"072175a0","is_valid_coordinates":true} 
[2026-08-25 06:51: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-25 06:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630915328001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809461083963392,"note":"Value kept but may cause issues"} 
[2026-08-25 06:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764637028369432576,"note":"Value kept but may cause issues"} 
[2026-08-25 06:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787620767000,"timestamp_ms":1787620767000,"timestamp_seconds":1787620767,"priority":1,"record_length":96,"hex_timestamp":"000001a036803518"} 
[2026-08-25 06:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:51:57] 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-25 06:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-25 06:51:57] 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-25 06:51: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-25 06:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630915328001,"66":13352,"106":206,"83":41984,"24":0,"16":15809461083963392,"45":1764637028369432576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-25 06:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630915328001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:51:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-25 06:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809461083963392,"km_value":15809461083963.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764637028369432576,"description":"Unknown IO ID 45"} 
[2026-08-25 06:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630915328001,"power":13352,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764637028369432576}} 
[2026-08-25 06:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":162714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:51:57] local.INFO: GPS data processed {"connection_id":162714,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:51:57] local.INFO: Acknowledgment sent {"connection_id":162714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:52:18] local.INFO: TCP Data received {"connection_id":162715,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:52:18] local.INFO: Processing buffer {"connection_id":162715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:52:18] local.INFO: Packet analysis {"connection_id":162715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:52:18] local.INFO: Extracted packet for processing {"connection_id":162715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":4,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630865920001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787620871000,"timestamp_ms":1787620871000,"timestamp_seconds":1787620871,"priority":1,"record_length":96,"hex_timestamp":"000001a03681cb58"} 
[2026-08-25 06:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:52:18] 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-25 06:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630865920001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630865920001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:52:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630865920001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":162715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:52:18] local.INFO: GPS data processed {"connection_id":162715,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:52:18] local.INFO: Acknowledgment sent {"connection_id":162715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:52:21] local.INFO: TCP Data received {"connection_id":162716,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:52:21] local.INFO: Processing buffer {"connection_id":162716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:52:21] local.INFO: IMEI packet received {"connection_id":162716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":162716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:52:26] local.INFO: TCP Data received {"connection_id":162716,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:52:26] local.INFO: Processing buffer {"connection_id":162716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:52:26] local.INFO: IMEI packet received {"connection_id":162716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":162716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:52:27] local.INFO: TCP Data received {"connection_id":162716,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a036808720012d187d4007217598005100a015..."} 
[2026-08-25 06:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036808720012d187d4007217598005100a015..."} 
[2026-08-25 06:52:27] local.INFO: Processing buffer {"connection_id":162716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036808720012d187d4007217598005100a015..."} 
[2026-08-25 06:52:27] local.INFO: Packet analysis {"connection_id":162716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03680"} 
[2026-08-25 06:52:27] local.INFO: Extracted packet for processing {"connection_id":162716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03680"} 
[2026-08-25 06:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756579648,"raw_latitude":119633304,"longitude_deg":75.6579648,"latitude_deg":11.9633304,"altitude":81,"angle":160,"satellites":21,"speed":0,"hex_longitude":"2d187d40","hex_latitude":"07217598","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630916352001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809461083963392,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764637028369408000,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787620788000,"timestamp_ms":1787620788000,"timestamp_seconds":1787620788,"priority":1,"record_length":96,"hex_timestamp":"000001a036808720"} 
[2026-08-25 06: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-25 06:52:27] 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-25 06:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-25 06:52:27] 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-25 06: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-25 06: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-25 06:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630916352001,"66":13319,"106":206,"83":41984,"24":0,"16":15809461083963392,"45":1764637028369408000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-25 06:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630916352001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:52:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-25 06:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809461083963392,"km_value":15809461083963.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764637028369408000,"description":"Unknown IO ID 45"} 
[2026-08-25 06:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630916352001,"power":13319,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764637028369408000}} 
[2026-08-25 06:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":162716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:52:27] local.INFO: GPS data processed {"connection_id":162716,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:52:27] local.INFO: Acknowledgment sent {"connection_id":162716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:52:40] local.INFO: TCP Data received {"connection_id":162717,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:52:40] local.INFO: Processing buffer {"connection_id":162717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:52:40] local.INFO: IMEI packet received {"connection_id":162717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":162717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:52:46] local.INFO: TCP Data received {"connection_id":162717,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:52:46] local.INFO: Processing buffer {"connection_id":162717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:52:46] local.INFO: IMEI packet received {"connection_id":162717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":162717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:52:47] local.INFO: TCP Data received {"connection_id":162717,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:52:47] local.INFO: Processing buffer {"connection_id":162717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:52:47] local.INFO: Packet analysis {"connection_id":162717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:52:47] local.INFO: Extracted packet for processing {"connection_id":162717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":4,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630865920001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787620871000,"timestamp_ms":1787620871000,"timestamp_seconds":1787620871,"priority":1,"record_length":96,"hex_timestamp":"000001a03681cb58"} 
[2026-08-25 06:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630865920001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630865920001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630865920001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":162717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:52:47] local.INFO: GPS data processed {"connection_id":162717,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:52:47] local.INFO: Acknowledgment sent {"connection_id":162717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:52:57] local.INFO: TCP Data received {"connection_id":162716,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03680d928012d187d4007217598005100a014..."} 
[2026-08-25 06:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03680d928012d187d4007217598005100a014..."} 
[2026-08-25 06:52:57] local.INFO: Processing buffer {"connection_id":162716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03680d928012d187d4007217598005100a014..."} 
[2026-08-25 06:52:57] local.INFO: Packet analysis {"connection_id":162716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03680"} 
[2026-08-25 06:52:57] local.INFO: Extracted packet for processing {"connection_id":162716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03680"} 
[2026-08-25 06:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756579648,"raw_latitude":119633304,"longitude_deg":75.6579648,"latitude_deg":11.9633304,"altitude":81,"angle":160,"satellites":20,"speed":0,"hex_longitude":"2d187d40","hex_latitude":"07217598","is_valid_coordinates":true} 
[2026-08-25 06:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630921728001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809461083963392,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764637028369405952,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787620809000,"timestamp_ms":1787620809000,"timestamp_seconds":1787620809,"priority":1,"record_length":96,"hex_timestamp":"000001a03680d928"} 
[2026-08-25 06:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:52:57] 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-25 06:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 06:52:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:57] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:57] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531178,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:57] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-9122040718812441344,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-25 06:52:57] local.WARNING: Large IO value detected {"io_id":82,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:57] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-6307289984936476665,"note":"Value kept but may cause issues"} 
[2026-08-25 06:52:57] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,42,160,53,45,64,117,81,21,10,66,37,118,211,1,240,169,227,54,33,4,113,205,8,180,125,120,239,105,2,56,7,77,82,127],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-25 06:52:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836841129126920192,"timestamp_seconds":5836841129126920.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 06:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630921728001,"66":13243,"106":206,"83":41984,"24":0,"16":15809461083963392,"45":1764637028369405952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-25 06:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630921728001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:52:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-25 06:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809461083963392,"km_value":15809461083963.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764637028369405952,"description":"Unknown IO ID 45"} 
[2026-08-25 06:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630921728001,"power":13243,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764637028369405952}} 
[2026-08-25 06:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":162716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:52:58] local.INFO: GPS data processed {"connection_id":162716,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:52:58] local.INFO: Acknowledgment sent {"connection_id":162716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:53:18] local.INFO: TCP Data received {"connection_id":162717,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:53:18] local.INFO: Processing buffer {"connection_id":162717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:53:18] local.INFO: Packet analysis {"connection_id":162717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:53:18] local.INFO: Extracted packet for processing {"connection_id":162717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:53:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":4,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630865920001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:53:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787620871000,"timestamp_ms":1787620871000,"timestamp_seconds":1787620871,"priority":1,"record_length":96,"hex_timestamp":"000001a03681cb58"} 
[2026-08-25 06:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:53:18] 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-25 06:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:53:18] 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-25 06:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630865920001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630865920001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:53:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630865920001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":162717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:53:18] local.INFO: GPS data processed {"connection_id":162717,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:53:18] local.INFO: Acknowledgment sent {"connection_id":162717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:53:20] local.INFO: TCP Data received {"connection_id":164105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:53:20] local.INFO: Processing buffer {"connection_id":164105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:53:20] local.INFO: IMEI packet received {"connection_id":164105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":164105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:53:26] local.INFO: TCP Data received {"connection_id":164105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:53:26] local.INFO: Processing buffer {"connection_id":164105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:53:26] local.INFO: IMEI packet received {"connection_id":164105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":164105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:53:27] local.INFO: TCP Data received {"connection_id":164105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a036812b30012d187d4007217598005100a015..."} 
[2026-08-25 06:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036812b30012d187d4007217598005100a015..."} 
[2026-08-25 06:53:27] local.INFO: Processing buffer {"connection_id":164105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036812b30012d187d4007217598005100a015..."} 
[2026-08-25 06:53:27] local.INFO: Packet analysis {"connection_id":164105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:53:27] local.INFO: Extracted packet for processing {"connection_id":164105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756579648,"raw_latitude":119633304,"longitude_deg":75.6579648,"latitude_deg":11.9633304,"altitude":81,"angle":160,"satellites":21,"speed":0,"hex_longitude":"2d187d40","hex_latitude":"07217598","is_valid_coordinates":true} 
[2026-08-25 06:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630927104001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809461083963392,"note":"Value kept but may cause issues"} 
[2026-08-25 06:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764637028369405952,"note":"Value kept but may cause issues"} 
[2026-08-25 06:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787620830000,"timestamp_ms":1787620830000,"timestamp_seconds":1787620830,"priority":1,"record_length":96,"hex_timestamp":"000001a036812b30"} 
[2026-08-25 06:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:53:27] 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-25 06:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 06:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630927104001,"66":13156,"106":206,"83":41984,"24":0,"16":15809461083963392,"45":1764637028369405952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-25 06:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630927104001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:53:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-25 06:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809461083963392,"km_value":15809461083963.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764637028369405952,"description":"Unknown IO ID 45"} 
[2026-08-25 06:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630927104001,"power":13156,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764637028369405952}} 
[2026-08-25 06:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":164105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:53:27] local.INFO: GPS data processed {"connection_id":164105,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:53:27] local.INFO: Acknowledgment sent {"connection_id":164105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:53:40] local.INFO: TCP Data received {"connection_id":161481,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:53:40] local.INFO: Processing buffer {"connection_id":161481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:53:40] local.INFO: IMEI packet received {"connection_id":161481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":161481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:53:46] local.INFO: TCP Data received {"connection_id":161481,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:53:46] local.INFO: Processing buffer {"connection_id":161481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:53:46] local.INFO: IMEI packet received {"connection_id":161481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":161481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:53:47] local.INFO: TCP Data received {"connection_id":161481,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:53:47] local.INFO: Processing buffer {"connection_id":161481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:53:47] local.INFO: Packet analysis {"connection_id":161481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:53:47] local.INFO: Extracted packet for processing {"connection_id":161481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":4,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630865920001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:53:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787620871000,"timestamp_ms":1787620871000,"timestamp_seconds":1787620871,"priority":1,"record_length":96,"hex_timestamp":"000001a03681cb58"} 
[2026-08-25 06:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:53:47] 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-25 06:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630865920001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630865920001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630865920001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":161481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:53:47] local.INFO: GPS data processed {"connection_id":161481,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:53:47] local.INFO: Acknowledgment sent {"connection_id":161481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:53:57] local.INFO: TCP Data received {"connection_id":164105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0368430a0012d187e00072182b00051005617..."} 
[2026-08-25 06:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368430a0012d187e00072182b00051005617..."} 
[2026-08-25 06:53:57] local.INFO: Processing buffer {"connection_id":164105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368430a0012d187e00072182b00051005617..."} 
[2026-08-25 06:53:57] local.INFO: Packet analysis {"connection_id":164105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03684"} 
[2026-08-25 06:53:57] local.INFO: Extracted packet for processing {"connection_id":164105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03684"} 
[2026-08-25 06:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756579840,"raw_latitude":119636656,"longitude_deg":75.657984,"latitude_deg":11.9636656,"altitude":81,"angle":86,"satellites":23,"speed":8,"hex_longitude":"2d187e00","hex_latitude":"072182b0","is_valid_coordinates":true} 
[2026-08-25 06:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630982656001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809662947426304,"note":"Value kept but may cause issues"} 
[2026-08-25 06:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553393537024,"note":"Value kept but may cause issues"} 
[2026-08-25 06:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787621028000,"timestamp_ms":1787621028000,"timestamp_seconds":1787621028,"priority":1,"record_length":96,"hex_timestamp":"000001a0368430a0"} 
[2026-08-25 06:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 06:53:57] 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-25 06:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630982656001,"66":14265,"106":206,"83":41984,"24":8,"16":15809662947426304,"45":1764355553393537024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-25 06:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630982656001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:53:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-25 06:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809662947426304,"km_value":15809662947426.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553393537024,"description":"Unknown IO ID 45"} 
[2026-08-25 06:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630982656001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1764355553393537024}} 
[2026-08-25 06:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":164105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:53:58] local.INFO: GPS data processed {"connection_id":164105,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:53:58] local.INFO: Acknowledgment sent {"connection_id":164105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:54:18] local.INFO: TCP Data received {"connection_id":161481,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:54:18] local.INFO: Processing buffer {"connection_id":161481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:54:18] local.INFO: Packet analysis {"connection_id":161481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:54:18] local.INFO: Extracted packet for processing {"connection_id":161481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":4,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630865920001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:54:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787620871000,"timestamp_ms":1787620871000,"timestamp_seconds":1787620871,"priority":1,"record_length":96,"hex_timestamp":"000001a03681cb58"} 
[2026-08-25 06:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:54:18] 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-25 06:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:54:18] 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-25 06:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630865920001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630865920001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630865920001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":161481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:54:18] local.INFO: GPS data processed {"connection_id":161481,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:54:18] local.INFO: Acknowledgment sent {"connection_id":161481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:54:20] local.INFO: TCP Data received {"connection_id":164106,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:54:20] local.INFO: Processing buffer {"connection_id":164106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:54:20] local.INFO: IMEI packet received {"connection_id":164106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":164106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:54:24] local.INFO: TCP Data received {"connection_id":164106,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:54:24] local.INFO: Processing buffer {"connection_id":164106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:54:24] local.INFO: IMEI packet received {"connection_id":164106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":164106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:54:26] local.INFO: TCP Data received {"connection_id":164106,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:54:26] local.INFO: Processing buffer {"connection_id":164106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:54:26] local.INFO: IMEI packet received {"connection_id":164106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":164106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:54:26] local.INFO: TCP Data received {"connection_id":164106,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a036843870012d188040072182700050006217..."} 
[2026-08-25 06:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036843870012d188040072182700050006217..."} 
[2026-08-25 06:54:26] local.INFO: Processing buffer {"connection_id":164106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036843870012d188040072182700050006217..."} 
[2026-08-25 06:54:26] local.INFO: Packet analysis {"connection_id":164106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03684"} 
[2026-08-25 06:54:26] local.INFO: Extracted packet for processing {"connection_id":164106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03684"} 
[2026-08-25 06:54:26] local.INFO: GPS Element Parsed {"raw_longitude":756580416,"raw_latitude":119636592,"longitude_deg":75.6580416,"latitude_deg":11.9636592,"altitude":80,"angle":98,"satellites":23,"speed":14,"hex_longitude":"2d188040","hex_latitude":"07218270","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630983168001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809693012197376,"note":"Value kept but may cause issues"} 
[2026-08-25 06:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764848134602797056,"note":"Value kept but may cause issues"} 
[2026-08-25 06:54:26] 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-25 06:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787621030000,"timestamp_ms":1787621030000,"timestamp_seconds":1787621030,"priority":1,"record_length":96,"hex_timestamp":"000001a036843870"} 
[2026-08-25 06: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-25 06:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 06: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 06:54:26] 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-25 06: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-25 06: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-25 06:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630983168001,"66":14265,"106":206,"83":41984,"24":14,"16":15809693012197376,"45":1764848134602797056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-25 06:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630983168001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:54:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-25 06:54:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809693012197376,"km_value":15809693012197.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764848134602797056,"description":"Unknown IO ID 45"} 
[2026-08-25 06:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630983168001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1764848134602797056}} 
[2026-08-25 06:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":164106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:54:26] local.INFO: GPS data processed {"connection_id":164106,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:54:26] local.INFO: Acknowledgment sent {"connection_id":164106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:54:40] local.INFO: TCP Data received {"connection_id":162718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:54:40] local.INFO: Processing buffer {"connection_id":162718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:54:40] local.INFO: IMEI packet received {"connection_id":162718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":162718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:54:46] local.INFO: TCP Data received {"connection_id":162718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:54:46] local.INFO: Processing buffer {"connection_id":162718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:54:46] local.INFO: IMEI packet received {"connection_id":162718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":162718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:54:47] local.INFO: TCP Data received {"connection_id":162718,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:54:47] local.INFO: Processing buffer {"connection_id":162718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:54:47] local.INFO: Packet analysis {"connection_id":162718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:54:47] local.INFO: Extracted packet for processing {"connection_id":162718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":4,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630865920001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:54:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787620871000,"timestamp_ms":1787620871000,"timestamp_seconds":1787620871,"priority":1,"record_length":96,"hex_timestamp":"000001a03681cb58"} 
[2026-08-25 06:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630865920001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630865920001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630865920001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":162718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:54:47] local.INFO: GPS data processed {"connection_id":162718,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:54:47] local.INFO: Acknowledgment sent {"connection_id":162718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:54:57] local.INFO: TCP Data received {"connection_id":164106,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a036851b00012d18d44007210938003e00a517..."} 
[2026-08-25 06:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036851b00012d18d44007210938003e00a517..."} 
[2026-08-25 06:54:57] local.INFO: Processing buffer {"connection_id":164106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036851b00012d18d44007210938003e00a517..."} 
[2026-08-25 06:54:57] local.INFO: Packet analysis {"connection_id":164106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03685"} 
[2026-08-25 06:54:57] local.INFO: Extracted packet for processing {"connection_id":164106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03685"} 
[2026-08-25 06:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119605560,"longitude_deg":75.660192,"latitude_deg":11.960556,"altitude":62,"angle":165,"satellites":23,"speed":32,"hex_longitude":"2d18d440","hex_latitude":"07210938","is_valid_coordinates":true} 
[2026-08-25 06:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630997504001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15811698761924608,"note":"Value kept but may cause issues"} 
[2026-08-25 06:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138871926784,"note":"Value kept but may cause issues"} 
[2026-08-25 06:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787621088000,"timestamp_ms":1787621088000,"timestamp_seconds":1787621088,"priority":1,"record_length":96,"hex_timestamp":"000001a036851b00"} 
[2026-08-25 06:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:54:57] 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-25 06:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-25 06:54:57] 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-25 06:54: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-25 06:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630997504001,"66":14211,"106":206,"83":41984,"24":32,"16":15811698761924608,"45":1788703138871926784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-25 06:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630997504001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:54:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-25 06:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15811698761924608,"km_value":15811698761924.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138871926784,"description":"Unknown IO ID 45"} 
[2026-08-25 06:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630997504001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1788703138871926784}} 
[2026-08-25 06:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":164106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:54:57] local.INFO: GPS data processed {"connection_id":164106,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:54:57] local.INFO: Acknowledgment sent {"connection_id":164106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:55:18] local.INFO: TCP Data received {"connection_id":162718,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:55:18] local.INFO: Processing buffer {"connection_id":162718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:55:18] local.INFO: Packet analysis {"connection_id":162718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:55:18] local.INFO: Extracted packet for processing {"connection_id":162718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":4,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630865920001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787620871000,"timestamp_ms":1787620871000,"timestamp_seconds":1787620871,"priority":1,"record_length":96,"hex_timestamp":"000001a03681cb58"} 
[2026-08-25 06:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:55:18] 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-25 06:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:55:18] local.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-25 06:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630865920001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630865920001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630865920001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":162718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:55:18] local.INFO: GPS data processed {"connection_id":162718,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:55:18] local.INFO: Acknowledgment sent {"connection_id":162718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:55:25] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:55:25] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:55:25] local.INFO: IMEI packet received {"connection_id":161722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":161722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:55:25] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:55:25] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:55:25] local.INFO: IMEI packet received {"connection_id":161722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":161722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:55:31] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:55:31] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:55:31] local.INFO: IMEI packet received {"connection_id":161722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":161722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:55:32] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0368526b8012d18d80007210018003d009517..."} 
[2026-08-25 06:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368526b8012d18d80007210018003d009517..."} 
[2026-08-25 06:55:32] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368526b8012d18d80007210018003d009517..."} 
[2026-08-25 06:55:32] local.INFO: Packet analysis {"connection_id":161722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03685"} 
[2026-08-25 06:55:32] local.INFO: Extracted packet for processing {"connection_id":161722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03685"} 
[2026-08-25 06:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756602880,"raw_latitude":119603224,"longitude_deg":75.660288,"latitude_deg":11.9603224,"altitude":61,"angle":149,"satellites":23,"speed":33,"hex_longitude":"2d18d800","hex_latitude":"07210018","is_valid_coordinates":true} 
[2026-08-25 06:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630998528001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15811823315976192,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351336130560,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:32] local.INFO: IO Element Parsed {"io_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-25 06:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787621091000,"timestamp_ms":1787621091000,"timestamp_seconds":1787621091,"priority":1,"record_length":96,"hex_timestamp":"000001a0368526b8"} 
[2026-08-25 06:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:55:32] 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-25 06:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 06:55:32] 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-25 06:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630998528001,"66":14211,"103":206,"83":41984,"24":33,"16":15811823315976192,"45":1789125351336130560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 06:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630998528001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:55:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 06:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15811823315976192,"km_value":15811823315976.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351336130560,"description":"Unknown IO ID 45"} 
[2026-08-25 06:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630998528001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1789125351336130560}} 
[2026-08-25 06:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":161722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:55:32] local.INFO: GPS data processed {"connection_id":161722,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:55:32] local.INFO: Acknowledgment sent {"connection_id":161722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:55:35] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a036852e88012d18dc000720fb18003d008616..."} 
[2026-08-25 06:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036852e88012d18dc000720fb18003d008616..."} 
[2026-08-25 06:55:35] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036852e88012d18dc000720fb18003d008616..."} 
[2026-08-25 06:55:35] local.INFO: Packet analysis {"connection_id":161722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03685"} 
[2026-08-25 06:55:35] local.INFO: Extracted packet for processing {"connection_id":161722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03685"} 
[2026-08-25 06:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756603904,"raw_latitude":119601944,"longitude_deg":75.6603904,"latitude_deg":11.9601944,"altitude":61,"angle":134,"satellites":22,"speed":31,"hex_longitude":"2d18dc00","hex_latitude":"0720fb18","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630999296001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15811900625387520,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790180882498197504,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787621093000,"timestamp_ms":1787621093000,"timestamp_seconds":1787621093,"priority":1,"record_length":96,"hex_timestamp":"000001a036852e88"} 
[2026-08-25 06: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-25 06:55:35] 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-25 06: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 06:55:35] 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-25 06: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-25 06: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-25 06:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630999296001,"66":14157,"103":206,"83":41984,"24":31,"16":15811900625387520,"45":1790180882498197504},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 06:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630999296001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:55:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 06:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15811900625387520,"km_value":15811900625387.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790180882498197504,"description":"Unknown IO ID 45"} 
[2026-08-25 06:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630999296001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1790180882498197504}} 
[2026-08-25 06:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":161722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:55:35] local.INFO: GPS data processed {"connection_id":161722,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:55:35] local.INFO: Acknowledgment sent {"connection_id":161722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:55:46] local.INFO: TCP Data received {"connection_id":161482,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:55:46] local.INFO: Processing buffer {"connection_id":161482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:55:46] local.INFO: IMEI packet received {"connection_id":161482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":161482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:55:51] local.INFO: TCP Data received {"connection_id":161482,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:55:51] local.INFO: Processing buffer {"connection_id":161482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:55:51] local.INFO: IMEI packet received {"connection_id":161482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":161482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:55:52] local.INFO: TCP Data received {"connection_id":161482,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:55:52] local.INFO: Processing buffer {"connection_id":161482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:55:52] local.INFO: Packet analysis {"connection_id":161482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:55:52] local.INFO: Extracted packet for processing {"connection_id":161482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":4,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630865920001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787620871000,"timestamp_ms":1787620871000,"timestamp_seconds":1787620871,"priority":1,"record_length":96,"hex_timestamp":"000001a03681cb58"} 
[2026-08-25 06: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-25 06:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:55:52] 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-25 06:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630865920001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630865920001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630865920001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":161482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:55:52] local.INFO: GPS data processed {"connection_id":161482,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:55:52] local.INFO: Acknowledgment sent {"connection_id":161482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:55:56] local.INFO: TCP Data received {"connection_id":161482,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:55:56] local.INFO: Processing buffer {"connection_id":161482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:55:56] local.INFO: Packet analysis {"connection_id":161482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:55:56] local.INFO: Extracted packet for processing {"connection_id":161482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:55:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":4,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630865920001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787620871000,"timestamp_ms":1787620871000,"timestamp_seconds":1787620871,"priority":1,"record_length":96,"hex_timestamp":"000001a03681cb58"} 
[2026-08-25 06: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-25 06:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 06: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:55:56] 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-25 06: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-25 06: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-25 06:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:55:56] 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-25 06:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630865920001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630865920001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:55:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630865920001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":161482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:55:56] local.INFO: GPS data processed {"connection_id":161482,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:55:56] local.INFO: Acknowledgment sent {"connection_id":161482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:56:06] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a036862c70012d19518007209ad8001d00b216..."} 
[2026-08-25 06:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036862c70012d19518007209ad8001d00b216..."} 
[2026-08-25 06:56:06] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036862c70012d19518007209ad8001d00b216..."} 
[2026-08-25 06:56:06] local.INFO: Packet analysis {"connection_id":161722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:56:06] local.INFO: Extracted packet for processing {"connection_id":161722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756633984,"raw_latitude":119577304,"longitude_deg":75.6633984,"latitude_deg":11.9577304,"altitude":29,"angle":178,"satellites":22,"speed":13,"hex_longitude":"2d195180","hex_latitude":"07209ad8","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631016192001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15814095353675776,"note":"Value kept but may cause issues"} 
[2026-08-25 06:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824380092161992704,"note":"Value kept but may cause issues"} 
[2026-08-25 06:56: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-25 06:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787621158000,"timestamp_ms":1787621158000,"timestamp_seconds":1787621158,"priority":1,"record_length":96,"hex_timestamp":"000001a036862c70"} 
[2026-08-25 06: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-25 06:56: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-25 06: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":71,"data_length":795,"current_offset":136} 
[2026-08-25 06:56: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-25 06: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-25 06: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-25 06:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631016192001,"66":13417,"103":206,"83":41984,"24":13,"16":15814095353675776,"45":1824380092161992704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 06:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631016192001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:56:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 06:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15814095353675776,"km_value":15814095353675.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824380092161992704,"description":"Unknown IO ID 45"} 
[2026-08-25 06:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631016192001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1824380092161992704}} 
[2026-08-25 06:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":161722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:56:06] local.INFO: GPS data processed {"connection_id":161722,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:56:06] local.INFO: Acknowledgment sent {"connection_id":161722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:56:21] local.INFO: TCP Data received {"connection_id":164107,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:56:21] local.INFO: Processing buffer {"connection_id":164107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:56:21] local.INFO: IMEI packet received {"connection_id":164107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":164107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:56:22] local.INFO: TCP Data received {"connection_id":164107,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:56:22] local.INFO: Processing buffer {"connection_id":164107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:56:22] local.INFO: IMEI packet received {"connection_id":164107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":164107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:56:26] local.INFO: TCP Data received {"connection_id":164107,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:56:26] local.INFO: Processing buffer {"connection_id":164107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:56:26] local.INFO: IMEI packet received {"connection_id":164107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":164107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:56:27] local.INFO: TCP Data received {"connection_id":164107,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a036863c10012d19518007209540001b00a516..."} 
[2026-08-25 06:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036863c10012d19518007209540001b00a516..."} 
[2026-08-25 06:56:27] local.INFO: Processing buffer {"connection_id":164107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036863c10012d19518007209540001b00a516..."} 
[2026-08-25 06:56:27] local.INFO: Packet analysis {"connection_id":164107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:56:27] local.INFO: Extracted packet for processing {"connection_id":164107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756633984,"raw_latitude":119575872,"longitude_deg":75.6633984,"latitude_deg":11.9575872,"altitude":27,"angle":165,"satellites":22,"speed":13,"hex_longitude":"2d195180","hex_latitude":"07209540","is_valid_coordinates":true} 
[2026-08-25 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":795,"current_offset":40} 
[2026-08-25 06:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631016448001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15814164073152512,"note":"Value kept but may cause issues"} 
[2026-08-25 06:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824380092161906688,"note":"Value kept but may cause issues"} 
[2026-08-25 06:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787621162000,"timestamp_ms":1787621162000,"timestamp_seconds":1787621162,"priority":1,"record_length":96,"hex_timestamp":"000001a036863c10"} 
[2026-08-25 06:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:56:27] 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-25 06:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 06:56:27] 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-25 06:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631016448001,"66":14515,"103":206,"83":41984,"24":13,"16":15814164073152512,"45":1824380092161906688},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 06:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631016448001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:56:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 06:56:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15814164073152512,"km_value":15814164073152.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824380092161906688,"description":"Unknown IO ID 45"} 
[2026-08-25 06:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631016448001,"power":14515,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1824380092161906688}} 
[2026-08-25 06:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":164107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:56:27] local.INFO: GPS data processed {"connection_id":164107,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:56:27] local.INFO: Acknowledgment sent {"connection_id":164107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:56:31] local.INFO: TCP Data received {"connection_id":164107,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a036863ff8012d195200072093c0001c009316..."} 
[2026-08-25 06:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036863ff8012d195200072093c0001c009316..."} 
[2026-08-25 06:56:31] local.INFO: Processing buffer {"connection_id":164107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036863ff8012d195200072093c0001c009316..."} 
[2026-08-25 06:56:31] local.INFO: Packet analysis {"connection_id":164107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:56:31] local.INFO: Extracted packet for processing {"connection_id":164107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756634112,"raw_latitude":119575488,"longitude_deg":75.6634112,"latitude_deg":11.9575488,"altitude":28,"angle":147,"satellites":22,"speed":14,"hex_longitude":"2d195200","hex_latitude":"072093c0","is_valid_coordinates":true} 
[2026-08-25 06:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631017472001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15814185547988992,"note":"Value kept but may cause issues"} 
[2026-08-25 06:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824380092161540096,"note":"Value kept but may cause issues"} 
[2026-08-25 06:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787621163000,"timestamp_ms":1787621163000,"timestamp_seconds":1787621163,"priority":1,"record_length":96,"hex_timestamp":"000001a036863ff8"} 
[2026-08-25 06:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:56:31] 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-25 06:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 06:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631017472001,"66":14515,"103":206,"83":41984,"24":14,"16":15814185547988992,"45":1824380092161540096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 06:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631017472001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:56:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 06:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15814185547988992,"km_value":15814185547988.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824380092161540096,"description":"Unknown IO ID 45"} 
[2026-08-25 06:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631017472001,"power":14515,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1824380092161540096}} 
[2026-08-25 06:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":164107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:56:31] local.INFO: GPS data processed {"connection_id":164107,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:56:31] local.INFO: Acknowledgment sent {"connection_id":164107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:56:41] local.INFO: TCP Data received {"connection_id":164108,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:56:41] local.INFO: Processing buffer {"connection_id":164108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:56:41] local.INFO: IMEI packet received {"connection_id":164108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":164108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:56:46] local.INFO: TCP Data received {"connection_id":164108,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:56:46] local.INFO: Processing buffer {"connection_id":164108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:56:46] local.INFO: IMEI packet received {"connection_id":164108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":164108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:56:47] local.INFO: TCP Data received {"connection_id":164108,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:56:47] local.INFO: Processing buffer {"connection_id":164108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03681cb58012d34c3c006aa46b00004006d28..."} 
[2026-08-25 06:56:47] local.INFO: Packet analysis {"connection_id":164108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:56:47] local.INFO: Extracted packet for processing {"connection_id":164108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03681"} 
[2026-08-25 06:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":4,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630865920001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:56:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787620871000,"timestamp_ms":1787620871000,"timestamp_seconds":1787620871,"priority":1,"record_length":96,"hex_timestamp":"000001a03681cb58"} 
[2026-08-25 06:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 06:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630865920001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630865920001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630865920001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":164108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:56:47] local.INFO: GPS data processed {"connection_id":164108,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:56:47] local.INFO: Acknowledgment sent {"connection_id":164108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:57:02] local.INFO: TCP Data received {"connection_id":164107,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0368647c8012d195440072091c8001c007916..."} 
[2026-08-25 06:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368647c8012d195440072091c8001c007916..."} 
[2026-08-25 06:57:02] local.INFO: Processing buffer {"connection_id":164107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368647c8012d195440072091c8001c007916..."} 
[2026-08-25 06:57:02] local.INFO: Packet analysis {"connection_id":164107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:57:02] local.INFO: Extracted packet for processing {"connection_id":164107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:57:02] local.INFO: GPS Element Parsed {"raw_longitude":756634688,"raw_latitude":119574984,"longitude_deg":75.6634688,"latitude_deg":11.9574984,"altitude":28,"angle":121,"satellites":22,"speed":15,"hex_longitude":"2d195440","hex_latitude":"072091c8","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631017728001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15814219907727360,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824520829649797120,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787621165000,"timestamp_ms":1787621165000,"timestamp_seconds":1787621165,"priority":1,"record_length":96,"hex_timestamp":"000001a0368647c8"} 
[2026-08-25 06: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-25 06:57:02] 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-25 06: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 06:57:02] 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-25 06: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-25 06: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-25 06:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631017728001,"66":13820,"103":206,"83":41984,"24":15,"16":15814219907727360,"45":1824520829649797120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 06:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631017728001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:57:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 06:57:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15814219907727360,"km_value":15814219907727.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824520829649797120,"description":"Unknown IO ID 45"} 
[2026-08-25 06:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631017728001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1824520829649797120}} 
[2026-08-25 06:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":164107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:57:03] local.INFO: GPS data processed {"connection_id":164107,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:57:03] local.INFO: Acknowledgment sent {"connection_id":164107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:57:18] local.INFO: TCP Data received {"connection_id":164108,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:57:18] local.INFO: Processing buffer {"connection_id":164108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:57:18] local.INFO: Packet analysis {"connection_id":164108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:57:18] local.INFO: Extracted packet for processing {"connection_id":164108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":35,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630942976001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787621172000,"timestamp_ms":1787621172000,"timestamp_seconds":1787621172,"priority":1,"record_length":96,"hex_timestamp":"000001a036866320"} 
[2026-08-25 06: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-25 06:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:57:18] 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-25 06:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630942976001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630942976001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:57:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630942976001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":164108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:57:18] local.INFO: GPS data processed {"connection_id":164108,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:57:18] local.INFO: Acknowledgment sent {"connection_id":164108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:57:21] local.INFO: TCP Data received {"connection_id":162719,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:57:21] local.INFO: Processing buffer {"connection_id":162719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:57:21] local.INFO: IMEI packet received {"connection_id":162719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":162719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:57:24] local.INFO: TCP Data received {"connection_id":162719,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:57:24] local.INFO: Processing buffer {"connection_id":162719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:57:24] local.INFO: IMEI packet received {"connection_id":162719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":162719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:57:25] local.INFO: TCP Data received {"connection_id":162719,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a036865380012d19578007208f48001a008517..."} 
[2026-08-25 06:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036865380012d19578007208f48001a008517..."} 
[2026-08-25 06:57:25] local.INFO: Processing buffer {"connection_id":162719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036865380012d19578007208f48001a008517..."} 
[2026-08-25 06:57:25] local.INFO: Packet analysis {"connection_id":162719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:57:25] local.INFO: Extracted packet for processing {"connection_id":162719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:57:25] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119574344,"longitude_deg":75.663552,"latitude_deg":11.9574344,"altitude":26,"angle":133,"satellites":23,"speed":14,"hex_longitude":"2d195780","hex_latitude":"07208f48","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631018240001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15814271447334912,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825154148347267072,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787621168000,"timestamp_ms":1787621168000,"timestamp_seconds":1787621168,"priority":1,"record_length":96,"hex_timestamp":"000001a036865380"} 
[2026-08-25 06: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-25 06:57:25] 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-25 06:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-25 06:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631018240001,"66":13396,"103":206,"83":41984,"24":14,"16":15814271447334912,"45":1825154148347267072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 06:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631018240001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:57:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 06:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15814271447334912,"km_value":15814271447334.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825154148347267072,"description":"Unknown IO ID 45"} 
[2026-08-25 06:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631018240001,"power":13396,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1825154148347267072}} 
[2026-08-25 06:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":162719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:57:25] local.INFO: GPS data processed {"connection_id":162719,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:57:25] local.INFO: Acknowledgment sent {"connection_id":162719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:57:40] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:57:40] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:57:40] local.INFO: IMEI packet received {"connection_id":161483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":161483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:57:46] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:57:46] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:57:46] local.INFO: IMEI packet received {"connection_id":161483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":161483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:57:47] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:57:47] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:57:47] local.INFO: Packet analysis {"connection_id":161483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:57:47] local.INFO: Extracted packet for processing {"connection_id":161483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":35,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630942976001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787621172000,"timestamp_ms":1787621172000,"timestamp_seconds":1787621172,"priority":1,"record_length":96,"hex_timestamp":"000001a036866320"} 
[2026-08-25 06:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630942976001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630942976001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630942976001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":161483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:57:47] local.INFO: GPS data processed {"connection_id":161483,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:57:47] local.INFO: Acknowledgment sent {"connection_id":161483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:57:56] local.INFO: TCP Data received {"connection_id":162719,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03687c2b0012d195d8007203078003300da17..."} 
[2026-08-25 06:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03687c2b0012d195d8007203078003300da17..."} 
[2026-08-25 06:57:56] local.INFO: Processing buffer {"connection_id":162719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03687c2b0012d195d8007203078003300da17..."} 
[2026-08-25 06:57:56] local.INFO: Packet analysis {"connection_id":162719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03687"} 
[2026-08-25 06:57:56] local.INFO: Extracted packet for processing {"connection_id":162719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03687"} 
[2026-08-25 06:57:56] local.INFO: GPS Element Parsed {"raw_longitude":756637056,"raw_latitude":119550072,"longitude_deg":75.6637056,"latitude_deg":11.9550072,"altitude":51,"angle":218,"satellites":23,"speed":5,"hex_longitude":"2d195d80","hex_latitude":"07203078","is_valid_coordinates":true} 
[2026-08-25 06:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631042816001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15815667311706112,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827828160619687936,"note":"Value kept but may cause issues"} 
[2026-08-25 06:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 06:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787621262000,"timestamp_ms":1787621262000,"timestamp_seconds":1787621262,"priority":1,"record_length":96,"hex_timestamp":"000001a03687c2b0"} 
[2026-08-25 06:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:57:56] 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-25 06:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-25 06:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 06:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 06:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 06:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631042816001,"66":14515,"103":206,"83":41984,"24":5,"16":15815667311706112,"45":1827828160619687936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 06:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 06:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 06:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631042816001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:57:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 06:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 06:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15815667311706112,"km_value":15815667311706.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827828160619687936,"description":"Unknown IO ID 45"} 
[2026-08-25 06:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631042816001,"power":14515,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1827828160619687936}} 
[2026-08-25 06:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":162719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:57:56] local.INFO: GPS data processed {"connection_id":162719,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:57:56] local.INFO: Acknowledgment sent {"connection_id":162719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:58:18] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:58:18] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:58:18] local.INFO: Packet analysis {"connection_id":161483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:58:18] local.INFO: Extracted packet for processing {"connection_id":161483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":35,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630942976001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:58:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787621172000,"timestamp_ms":1787621172000,"timestamp_seconds":1787621172,"priority":1,"record_length":96,"hex_timestamp":"000001a036866320"} 
[2026-08-25 06:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630942976001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630942976001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630942976001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":161483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:58:18] local.INFO: GPS data processed {"connection_id":161483,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:58:18] local.INFO: Acknowledgment sent {"connection_id":161483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:58:20] local.INFO: TCP Data received {"connection_id":162720,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:58:20] local.INFO: Processing buffer {"connection_id":162720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:58:20] local.INFO: IMEI packet received {"connection_id":162720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 06:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":162720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:58:21] local.INFO: TCP Data received {"connection_id":162720,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:58:21] local.INFO: Processing buffer {"connection_id":162720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:58:21] local.INFO: IMEI packet received {"connection_id":162720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":162720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:58:21] local.INFO: TCP Data received {"connection_id":162720,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:58:21] local.INFO: Processing buffer {"connection_id":162720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:58:21] local.INFO: IMEI packet received {"connection_id":162720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":162720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:58:23] local.INFO: TCP Data received {"connection_id":162720,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:58:23] local.INFO: Processing buffer {"connection_id":162720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 06:58:23] local.INFO: IMEI packet received {"connection_id":162720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 06:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":162720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:58:40] local.INFO: TCP Data received {"connection_id":162721,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:58:40] local.INFO: Processing buffer {"connection_id":162721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:58:40] local.INFO: IMEI packet received {"connection_id":162721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":162721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:58:46] local.INFO: TCP Data received {"connection_id":162721,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:58:46] local.INFO: Processing buffer {"connection_id":162721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:58:46] local.INFO: IMEI packet received {"connection_id":162721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":162721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:58:47] local.INFO: TCP Data received {"connection_id":162721,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:58:47] local.INFO: Processing buffer {"connection_id":162721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:58:47] local.INFO: Packet analysis {"connection_id":162721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:58:47] local.INFO: Extracted packet for processing {"connection_id":162721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":35,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630942976001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:58:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787621172000,"timestamp_ms":1787621172000,"timestamp_seconds":1787621172,"priority":1,"record_length":96,"hex_timestamp":"000001a036866320"} 
[2026-08-25 06:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630942976001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630942976001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630942976001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":162721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:58:47] local.INFO: GPS data processed {"connection_id":162721,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:58:47] local.INFO: Acknowledgment sent {"connection_id":162721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:59:19] local.INFO: TCP Data received {"connection_id":162721,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:59:19] local.INFO: Processing buffer {"connection_id":162721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:59:19] local.INFO: Packet analysis {"connection_id":162721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:59:19] local.INFO: Extracted packet for processing {"connection_id":162721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:59:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":35,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06: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-25 06:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630942976001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:59:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787621172000,"timestamp_ms":1787621172000,"timestamp_seconds":1787621172,"priority":1,"record_length":96,"hex_timestamp":"000001a036866320"} 
[2026-08-25 06: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-25 06:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06: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-25 06: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-25 06:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 06:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630942976001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630942976001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:59:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630942976001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":162721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:59:19] local.INFO: GPS data processed {"connection_id":162721,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:59:19] local.INFO: Acknowledgment sent {"connection_id":162721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 06:59:40] local.INFO: TCP Data received {"connection_id":164109,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:59:40] local.INFO: Processing buffer {"connection_id":164109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:59:40] local.INFO: IMEI packet received {"connection_id":164109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 06:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":164109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 06:59:46] local.INFO: TCP Data received {"connection_id":164109,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:59:46] local.INFO: Processing buffer {"connection_id":164109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 06:59:46] local.INFO: IMEI packet received {"connection_id":164109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 06:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":164109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 06:59:47] local.INFO: TCP Data received {"connection_id":164109,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:59:47] local.INFO: Processing buffer {"connection_id":164109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 06:59:47] local.INFO: Packet analysis {"connection_id":164109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:59:47] local.INFO: Extracted packet for processing {"connection_id":164109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 06:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":35,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 06:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 06:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630942976001,"note":"Value kept but may cause issues"} 
[2026-08-25 06:59:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 06:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 06:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 06:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 06:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787621172000,"timestamp_ms":1787621172000,"timestamp_seconds":1787621172,"priority":1,"record_length":96,"hex_timestamp":"000001a036866320"} 
[2026-08-25 06:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 06:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 06:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 06:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 06:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 06:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 06:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 06:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 06:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 06:59:47] 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-25 06:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 06:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 06:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630942976001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 06:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 06:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 06:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630942976001,"description":"Unknown IO ID 0"} 
[2026-08-25 06:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 06:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 06:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 06:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630942976001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 06:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":164109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 06:59:47] local.INFO: GPS data processed {"connection_id":164109,"processed":1,"errors":0,"total":1} 
[2026-08-25 06:59:47] local.INFO: Acknowledgment sent {"connection_id":164109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:00:18] local.INFO: TCP Data received {"connection_id":164109,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 07:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 07:00:18] local.INFO: Processing buffer {"connection_id":164109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 07:00:18] local.INFO: Packet analysis {"connection_id":164109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 07:00:18] local.INFO: Extracted packet for processing {"connection_id":164109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 07:00:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":35,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630942976001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:00:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787621172000,"timestamp_ms":1787621172000,"timestamp_seconds":1787621172,"priority":1,"record_length":96,"hex_timestamp":"000001a036866320"} 
[2026-08-25 07:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:00:18] 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-25 07:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630942976001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630942976001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:00:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630942976001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":164109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:00:18] local.INFO: GPS data processed {"connection_id":164109,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:00:18] local.INFO: Acknowledgment sent {"connection_id":164109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:00:40] local.INFO: TCP Data received {"connection_id":161484,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:00:40] local.INFO: Processing buffer {"connection_id":161484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:00:40] local.INFO: IMEI packet received {"connection_id":161484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":161484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:00:46] local.INFO: TCP Data received {"connection_id":161484,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:00:46] local.INFO: Processing buffer {"connection_id":161484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:00:46] local.INFO: IMEI packet received {"connection_id":161484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":161484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:00:47] local.INFO: TCP Data received {"connection_id":161484,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 07:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 07:00:47] local.INFO: Processing buffer {"connection_id":161484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 07:00:47] local.INFO: Packet analysis {"connection_id":161484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 07:00:47] local.INFO: Extracted packet for processing {"connection_id":161484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":35,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630942976001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:00:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787621172000,"timestamp_ms":1787621172000,"timestamp_seconds":1787621172,"priority":1,"record_length":96,"hex_timestamp":"000001a036866320"} 
[2026-08-25 07:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630942976001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630942976001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630942976001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":161484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:00:47] local.INFO: GPS data processed {"connection_id":161484,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:00:47] local.INFO: Acknowledgment sent {"connection_id":161484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:01:18] local.INFO: TCP Data received {"connection_id":161484,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 07:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 07:01:18] local.INFO: Processing buffer {"connection_id":161484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036866320012d34c3c006aa46b00008006d23..."} 
[2026-08-25 07:01:18] local.INFO: Packet analysis {"connection_id":161484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 07:01:18] local.INFO: Extracted packet for processing {"connection_id":161484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03686"} 
[2026-08-25 07:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":8,"angle":109,"satellites":35,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 07:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457630942976001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:01:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787621172000,"timestamp_ms":1787621172000,"timestamp_seconds":1787621172,"priority":1,"record_length":96,"hex_timestamp":"000001a036866320"} 
[2026-08-25 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-25 07:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 07:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457630942976001,"66":25549,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457630942976001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457630942976001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":161484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:01:18] local.INFO: GPS data processed {"connection_id":161484,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:01:18] local.INFO: Acknowledgment sent {"connection_id":161484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:01:46] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:01:46] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:01:46] local.INFO: IMEI packet received {"connection_id":161486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":161486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:01:51] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:01:51] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:01:51] local.INFO: IMEI packet received {"connection_id":161486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":161486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:01:51] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:01:52] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:01:52] local.INFO: Packet analysis {"connection_id":161486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:01:52] local.INFO: Extracted packet for processing {"connection_id":161486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 07:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631020032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:01:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787621473000,"timestamp_ms":1787621473000,"timestamp_seconds":1787621473,"priority":1,"record_length":96,"hex_timestamp":"000001a0368afae8"} 
[2026-08-25 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-25 07:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 07:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 07:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631020032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631020032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631020032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":161486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:01:52] local.INFO: GPS data processed {"connection_id":161486,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:01:52] local.INFO: Acknowledgment sent {"connection_id":161486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:01:53] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:01:53] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:01:53] local.INFO: Packet analysis {"connection_id":161486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:01:53] local.INFO: Extracted packet for processing {"connection_id":161486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631020032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:01:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787621473000,"timestamp_ms":1787621473000,"timestamp_seconds":1787621473,"priority":1,"record_length":96,"hex_timestamp":"000001a0368afae8"} 
[2026-08-25 07:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 07:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:01:53] 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-25 07:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631020032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631020032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631020032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":161486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:01:53] local.INFO: GPS data processed {"connection_id":161486,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:01:53] local.INFO: Acknowledgment sent {"connection_id":161486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:02:24] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:02:24] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:02:24] local.INFO: Packet analysis {"connection_id":161486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:02:24] local.INFO: Extracted packet for processing {"connection_id":161486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:02:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631020032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:02:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787621473000,"timestamp_ms":1787621473000,"timestamp_seconds":1787621473,"priority":1,"record_length":96,"hex_timestamp":"000001a0368afae8"} 
[2026-08-25 07: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-25 07:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 07:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:02:24] 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-25 07:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631020032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631020032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:02:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631020032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":161486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:02:24] local.INFO: GPS data processed {"connection_id":161486,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:02:24] local.INFO: Acknowledgment sent {"connection_id":161486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:02:43] local.INFO: TCP Data received {"connection_id":164111,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:02:43] local.INFO: Processing buffer {"connection_id":164111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:02:43] local.INFO: IMEI packet received {"connection_id":164111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":164111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:02:45] local.INFO: TCP Data received {"connection_id":164111,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:02:45] local.INFO: Processing buffer {"connection_id":164111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:02:45] local.INFO: IMEI packet received {"connection_id":164111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":164111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:02:46] local.INFO: TCP Data received {"connection_id":164111,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:02:46] local.INFO: Processing buffer {"connection_id":164111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:02:46] local.INFO: Packet analysis {"connection_id":164111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:02:46] local.INFO: Extracted packet for processing {"connection_id":164111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631020032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:02:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787621473000,"timestamp_ms":1787621473000,"timestamp_seconds":1787621473,"priority":1,"record_length":96,"hex_timestamp":"000001a0368afae8"} 
[2026-08-25 07:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 07:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631020032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631020032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631020032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":164111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:02:46] local.INFO: GPS data processed {"connection_id":164111,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:02:46] local.INFO: Acknowledgment sent {"connection_id":164111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:02:51] local.INFO: TCP Data received {"connection_id":164111,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:02:51] local.INFO: Processing buffer {"connection_id":164111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:02:51] local.INFO: Packet analysis {"connection_id":164111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:02:51] local.INFO: Extracted packet for processing {"connection_id":164111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631020032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:02:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787621473000,"timestamp_ms":1787621473000,"timestamp_seconds":1787621473,"priority":1,"record_length":96,"hex_timestamp":"000001a0368afae8"} 
[2026-08-25 07: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-25 07:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 07:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631020032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631020032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631020032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":164111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:02:51] local.INFO: GPS data processed {"connection_id":164111,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:02:51] local.INFO: Acknowledgment sent {"connection_id":164111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:03:23] local.INFO: TCP Data received {"connection_id":164111,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:03:23] local.INFO: Processing buffer {"connection_id":164111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:03:23] local.INFO: Packet analysis {"connection_id":164111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:03:23] local.INFO: Extracted packet for processing {"connection_id":164111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:03:23] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631020032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:03:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787621473000,"timestamp_ms":1787621473000,"timestamp_seconds":1787621473,"priority":1,"record_length":96,"hex_timestamp":"000001a0368afae8"} 
[2026-08-25 07: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-25 07:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 07:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631020032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631020032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:03:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631020032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":164111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:03:23] local.INFO: GPS data processed {"connection_id":164111,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:03:23] local.INFO: Acknowledgment sent {"connection_id":164111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:03:26] local.INFO: TCP Data received {"connection_id":161487,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:03:26] local.INFO: Processing buffer {"connection_id":161487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:03:26] local.INFO: IMEI packet received {"connection_id":161487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":161487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:03:26] local.INFO: TCP Data received {"connection_id":161487,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0368af700012d196740071fee40003900601e..."} 
[2026-08-25 07:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368af700012d196740071fee40003900601e..."} 
[2026-08-25 07:03:27] local.INFO: Processing buffer {"connection_id":161487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368af700012d196740071fee40003900601e..."} 
[2026-08-25 07:03:27] local.INFO: Packet analysis {"connection_id":161487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:03:27] local.INFO: Extracted packet for processing {"connection_id":161487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533120,"longitude_deg":75.6639552,"latitude_deg":11.953312,"altitude":57,"angle":96,"satellites":30,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee40","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631091456001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15817161960325120,"note":"Value kept but may cause issues"} 
[2026-08-25 07:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894052352,"note":"Value kept but may cause issues"} 
[2026-08-25 07:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787621472000,"timestamp_ms":1787621472000,"timestamp_seconds":1787621472,"priority":1,"record_length":96,"hex_timestamp":"000001a0368af700"} 
[2026-08-25 07: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-25 07:03:27] 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-25 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 07:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631091456001,"66":12885,"102":206,"83":41984,"24":0,"16":15817161960325120,"45":1830502172894052352},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-25 07:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631091456001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:03:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15817161960325120,"km_value":15817161960325.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894052352,"description":"Unknown IO ID 45"} 
[2026-08-25 07:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631091456001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894052352}} 
[2026-08-25 07:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":161487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:03:27] local.INFO: GPS data processed {"connection_id":161487,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:03:27] local.INFO: Acknowledgment sent {"connection_id":161487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:03:40] local.INFO: TCP Data received {"connection_id":162722,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:03:40] local.INFO: Processing buffer {"connection_id":162722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:03:40] local.INFO: IMEI packet received {"connection_id":162722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":162722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:03:46] local.INFO: TCP Data received {"connection_id":162722,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:03:46] local.INFO: Processing buffer {"connection_id":162722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:03:46] local.INFO: IMEI packet received {"connection_id":162722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":162722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:03:47] local.INFO: TCP Data received {"connection_id":162722,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:03:47] local.INFO: Processing buffer {"connection_id":162722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:03:47] local.INFO: Packet analysis {"connection_id":162722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:03:47] local.INFO: Extracted packet for processing {"connection_id":162722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631020032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787621473000,"timestamp_ms":1787621473000,"timestamp_seconds":1787621473,"priority":1,"record_length":96,"hex_timestamp":"000001a0368afae8"} 
[2026-08-25 07:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 07:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:03: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-25 07:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631020032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631020032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631020032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":162722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:03:47] local.INFO: GPS data processed {"connection_id":162722,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:03:47] local.INFO: Acknowledgment sent {"connection_id":162722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:03:57] local.INFO: TCP Data received {"connection_id":161487,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0368d6800012d19c940071ff2c0002c003f1e..."} 
[2026-08-25 07:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368d6800012d19c940071ff2c0002c003f1e..."} 
[2026-08-25 07:03:57] local.INFO: Processing buffer {"connection_id":161487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368d6800012d19c940071ff2c0002c003f1e..."} 
[2026-08-25 07:03:57] local.INFO: Packet analysis {"connection_id":161487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368d"} 
[2026-08-25 07:03:57] local.INFO: Extracted packet for processing {"connection_id":161487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368d"} 
[2026-08-25 07:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756664640,"raw_latitude":119534272,"longitude_deg":75.666464,"latitude_deg":11.9534272,"altitude":44,"angle":63,"satellites":30,"speed":16,"hex_longitude":"2d19c940","hex_latitude":"071ff2c0","is_valid_coordinates":true} 
[2026-08-25 07:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631135488001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15818386026004480,"note":"Value kept but may cause issues"} 
[2026-08-25 07:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851753533635819520,"note":"Value kept but may cause issues"} 
[2026-08-25 07:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787621632000,"timestamp_ms":1787621632000,"timestamp_seconds":1787621632,"priority":1,"record_length":96,"hex_timestamp":"000001a0368d6800"} 
[2026-08-25 07:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:03:57] 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-25 07:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 07:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631135488001,"66":14428,"101":206,"83":41984,"24":16,"16":15818386026004480,"45":1851753533635819520},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631135488001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:03:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15818386026004480,"km_value":15818386026004.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851753533635819520,"description":"Unknown IO ID 45"} 
[2026-08-25 07:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631135488001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1851753533635819520}} 
[2026-08-25 07:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":161487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:03:57] local.INFO: GPS data processed {"connection_id":161487,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:03:57] local.INFO: Acknowledgment sent {"connection_id":161487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:04:19] local.INFO: TCP Data received {"connection_id":162722,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:04:19] local.INFO: Processing buffer {"connection_id":162722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:04:19] local.INFO: Packet analysis {"connection_id":162722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:04:19] local.INFO: Extracted packet for processing {"connection_id":162722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631020032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:04:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787621473000,"timestamp_ms":1787621473000,"timestamp_seconds":1787621473,"priority":1,"record_length":96,"hex_timestamp":"000001a0368afae8"} 
[2026-08-25 07:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 07:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:04: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-25 07:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631020032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631020032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:04:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631020032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":162722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:04:19] local.INFO: GPS data processed {"connection_id":162722,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:04:19] local.INFO: Acknowledgment sent {"connection_id":162722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:04:21] local.INFO: TCP Data received {"connection_id":162723,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:04:21] local.INFO: Processing buffer {"connection_id":162723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:04:21] local.INFO: IMEI packet received {"connection_id":162723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":162723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:04:21] local.INFO: TCP Data received {"connection_id":162723,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:04:21] local.INFO: Processing buffer {"connection_id":162723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:04:21] local.INFO: IMEI packet received {"connection_id":162723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":162723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:04:24] local.INFO: TCP Data received {"connection_id":162723,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:04:24] local.INFO: Processing buffer {"connection_id":162723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:04:24] local.INFO: IMEI packet received {"connection_id":162723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":162723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:04:25] local.INFO: TCP Data received {"connection_id":162723,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0368d6be8012d19ca80071ff3e0002b002a1e..."} 
[2026-08-25 07:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368d6be8012d19ca80071ff3e0002b002a1e..."} 
[2026-08-25 07:04:25] local.INFO: Processing buffer {"connection_id":162723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368d6be8012d19ca80071ff3e0002b002a1e..."} 
[2026-08-25 07:04:25] local.INFO: Packet analysis {"connection_id":162723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368d"} 
[2026-08-25 07:04:25] local.INFO: Extracted packet for processing {"connection_id":162723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368d"} 
[2026-08-25 07:04:25] local.INFO: GPS Element Parsed {"raw_longitude":756664960,"raw_latitude":119534560,"longitude_deg":75.666496,"latitude_deg":11.953456,"altitude":43,"angle":42,"satellites":30,"speed":15,"hex_longitude":"2d19ca80","hex_latitude":"071ff3e0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631137792001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15818407500840960,"note":"Value kept but may cause issues"} 
[2026-08-25 07:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858086720611991552,"note":"Value kept but may cause issues"} 
[2026-08-25 07:04:25] local.INFO: IO Element Parsed {"io_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-25 07:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787621633000,"timestamp_ms":1787621633000,"timestamp_seconds":1787621633,"priority":1,"record_length":96,"hex_timestamp":"000001a0368d6be8"} 
[2026-08-25 07: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-25 07:04:25] 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-25 07: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 07:04:25] 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-25 07: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-25 07: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-25 07:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631137792001,"66":14428,"101":206,"83":41984,"24":15,"16":15818407500840960,"45":1858086720611991552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631137792001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:04:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:04:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15818407500840960,"km_value":15818407500840.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858086720611991552,"description":"Unknown IO ID 45"} 
[2026-08-25 07:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631137792001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858086720611991552}} 
[2026-08-25 07:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":162723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:04:25] local.INFO: GPS data processed {"connection_id":162723,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:04:25] local.INFO: Acknowledgment sent {"connection_id":162723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:04:40] local.INFO: TCP Data received {"connection_id":161488,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:04:40] local.INFO: Processing buffer {"connection_id":161488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:04:40] local.INFO: IMEI packet received {"connection_id":161488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":161488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:04:46] local.INFO: TCP Data received {"connection_id":161488,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:04:46] local.INFO: Processing buffer {"connection_id":161488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:04:46] local.INFO: IMEI packet received {"connection_id":161488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":161488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:04:47] local.INFO: TCP Data received {"connection_id":161488,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:04:47] local.INFO: Processing buffer {"connection_id":161488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:04:47] local.INFO: Packet analysis {"connection_id":161488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:04:47] local.INFO: Extracted packet for processing {"connection_id":161488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631020032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:04:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787621473000,"timestamp_ms":1787621473000,"timestamp_seconds":1787621473,"priority":1,"record_length":96,"hex_timestamp":"000001a0368afae8"} 
[2026-08-25 07:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 07:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631020032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631020032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631020032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":161488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:04:47] local.INFO: GPS data processed {"connection_id":161488,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:04:47] local.INFO: Acknowledgment sent {"connection_id":161488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:04:56] local.INFO: TCP Data received {"connection_id":162723,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0368e3708012d1a4840071fe7a0002d00691e..."} 
[2026-08-25 07:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368e3708012d1a4840071fe7a0002d00691e..."} 
[2026-08-25 07:04:56] local.INFO: Processing buffer {"connection_id":162723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368e3708012d1a4840071fe7a0002d00691e..."} 
[2026-08-25 07:04:56] local.INFO: Packet analysis {"connection_id":162723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368e"} 
[2026-08-25 07:04:56] local.INFO: Extracted packet for processing {"connection_id":162723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368e"} 
[2026-08-25 07:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756697152,"raw_latitude":119531424,"longitude_deg":75.6697152,"latitude_deg":11.9531424,"altitude":45,"angle":105,"satellites":30,"speed":42,"hex_longitude":"2d1a4840","hex_latitude":"071fe7a0","is_valid_coordinates":true} 
[2026-08-25 07:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631149056001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820181322334208,"note":"Value kept but may cause issues"} 
[2026-08-25 07:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883278731027484672,"note":"Value kept but may cause issues"} 
[2026-08-25 07:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787621685000,"timestamp_ms":1787621685000,"timestamp_seconds":1787621685,"priority":1,"record_length":96,"hex_timestamp":"000001a0368e3708"} 
[2026-08-25 07:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:04:56] 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-25 07:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-25 07:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631149056001,"66":14102,"101":206,"83":41984,"24":42,"16":15820181322334208,"45":1883278731027484672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631149056001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:04:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820181322334208,"km_value":15820181322334.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883278731027484672,"description":"Unknown IO ID 45"} 
[2026-08-25 07:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631149056001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1883278731027484672}} 
[2026-08-25 07:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":162723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:04:56] local.INFO: GPS data processed {"connection_id":162723,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:04:56] local.INFO: Acknowledgment sent {"connection_id":162723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:05:18] local.INFO: TCP Data received {"connection_id":161488,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:05:18] local.INFO: Processing buffer {"connection_id":161488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:05:18] local.INFO: Packet analysis {"connection_id":161488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:05:18] local.INFO: Extracted packet for processing {"connection_id":161488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:05:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 07:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631020032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:05:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787621473000,"timestamp_ms":1787621473000,"timestamp_seconds":1787621473,"priority":1,"record_length":96,"hex_timestamp":"000001a0368afae8"} 
[2026-08-25 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-25 07:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 07:05:18] 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-25 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-25 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-25 07:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:05:18] 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-25 07:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631020032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631020032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631020032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":161488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:05:18] local.INFO: GPS data processed {"connection_id":161488,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:05:18] local.INFO: Acknowledgment sent {"connection_id":161488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:05:20] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:05:20] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:05:20] local.INFO: IMEI packet received {"connection_id":161725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":161725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:05:22] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:05:22] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:05:22] local.INFO: IMEI packet received {"connection_id":161725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":161725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:05:24] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:05:24] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:05:24] local.INFO: IMEI packet received {"connection_id":161725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":161725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:05:25] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:05:25] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:05:25] local.INFO: IMEI packet received {"connection_id":161725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":161725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:05:26] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0368e3ed8012d1a4fc0071fe488002e00741e..."} 
[2026-08-25 07:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368e3ed8012d1a4fc0071fe488002e00741e..."} 
[2026-08-25 07:05:26] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368e3ed8012d1a4fc0071fe488002e00741e..."} 
[2026-08-25 07:05:26] local.INFO: Packet analysis {"connection_id":161725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368e"} 
[2026-08-25 07:05:26] local.INFO: Extracted packet for processing {"connection_id":161725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368e"} 
[2026-08-25 07:05:26] local.INFO: GPS Element Parsed {"raw_longitude":756699072,"raw_latitude":119530632,"longitude_deg":75.6699072,"latitude_deg":11.9530632,"altitude":46,"angle":116,"satellites":30,"speed":39,"hex_longitude":"2d1a4fc0","hex_latitude":"071fe488","is_valid_coordinates":true} 
[2026-08-25 07:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631151360001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820280106582016,"note":"Value kept but may cause issues"} 
[2026-08-25 07:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893834042653515776,"note":"Value kept but may cause issues"} 
[2026-08-25 07:05:26] local.INFO: IO Element Parsed {"io_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-25 07:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787621687000,"timestamp_ms":1787621687000,"timestamp_seconds":1787621687,"priority":1,"record_length":96,"hex_timestamp":"000001a0368e3ed8"} 
[2026-08-25 07:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:05:26] 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-25 07:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 07:05:26] 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-25 07:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631151360001,"66":13678,"101":206,"83":41984,"24":39,"16":15820280106582016,"45":1893834042653515776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631151360001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:05:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:05:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820280106582016,"km_value":15820280106582.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893834042653515776,"description":"Unknown IO ID 45"} 
[2026-08-25 07:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631151360001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1893834042653515776}} 
[2026-08-25 07:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":161725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:05:26] local.INFO: GPS data processed {"connection_id":161725,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:05:26] local.INFO: Acknowledgment sent {"connection_id":161725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:05:31] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0368e5260012d1a6000071fdc68003000671e..."} 
[2026-08-25 07:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368e5260012d1a6000071fdc68003000671e..."} 
[2026-08-25 07:05:31] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368e5260012d1a6000071fdc68003000671e..."} 
[2026-08-25 07:05:31] local.INFO: Packet analysis {"connection_id":161725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368e"} 
[2026-08-25 07:05:31] local.INFO: Extracted packet for processing {"connection_id":161725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368e"} 
[2026-08-25 07:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756703232,"raw_latitude":119528552,"longitude_deg":75.6703232,"latitude_deg":11.9528552,"altitude":48,"angle":103,"satellites":30,"speed":35,"hex_longitude":"2d1a6000","hex_latitude":"071fdc68","is_valid_coordinates":true} 
[2026-08-25 07:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631151872001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820507739848704,"note":"Value kept but may cause issues"} 
[2026-08-25 07:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895945104978642944,"note":"Value kept but may cause issues"} 
[2026-08-25 07:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787621692000,"timestamp_ms":1787621692000,"timestamp_seconds":1787621692,"priority":1,"record_length":96,"hex_timestamp":"000001a0368e5260"} 
[2026-08-25 07:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:05:31] 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-25 07:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 07:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631151872001,"66":14157,"101":206,"83":41984,"24":35,"16":15820507739848704,"45":1895945104978642944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631151872001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:05:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820507739848704,"km_value":15820507739848.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895945104978642944,"description":"Unknown IO ID 45"} 
[2026-08-25 07:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631151872001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1895945104978642944}} 
[2026-08-25 07:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":161725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:05:31] local.INFO: GPS data processed {"connection_id":161725,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:05:31] local.INFO: Acknowledgment sent {"connection_id":161725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:05:40] local.INFO: TCP Data received {"connection_id":161489,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:05:40] local.INFO: Processing buffer {"connection_id":161489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:05:40] local.INFO: IMEI packet received {"connection_id":161489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":161489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:05:46] local.INFO: TCP Data received {"connection_id":161489,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:05:46] local.INFO: Processing buffer {"connection_id":161489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:05:46] local.INFO: IMEI packet received {"connection_id":161489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":161489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:05:46] local.INFO: TCP Data received {"connection_id":161489,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:05:46] local.INFO: Processing buffer {"connection_id":161489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:05:46] local.INFO: Packet analysis {"connection_id":161489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:05:46] local.INFO: Extracted packet for processing {"connection_id":161489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631020032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:05:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787621473000,"timestamp_ms":1787621473000,"timestamp_seconds":1787621473,"priority":1,"record_length":96,"hex_timestamp":"000001a0368afae8"} 
[2026-08-25 07:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 07:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631020032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631020032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631020032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":161489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:05:47] local.INFO: GPS data processed {"connection_id":161489,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:05:47] local.INFO: Acknowledgment sent {"connection_id":161489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:06:02] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f0610012d1ac900071f84d80037005f1d..."} 
[2026-08-25 07:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f0610012d1ac900071f84d80037005f1d..."} 
[2026-08-25 07:06:02] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f0610012d1ac900071f84d80037005f1d..."} 
[2026-08-25 07:06:02] local.INFO: Packet analysis {"connection_id":161725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:06:02] local.INFO: Extracted packet for processing {"connection_id":161725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:06:02] local.INFO: GPS Element Parsed {"raw_longitude":756730112,"raw_latitude":119506136,"longitude_deg":75.6730112,"latitude_deg":11.9506136,"altitude":55,"angle":95,"satellites":29,"speed":10,"hex_longitude":"2d1ac900","hex_latitude":"071f84d8","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631164672001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15822294446243840,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929862839666022400,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787621738000,"timestamp_ms":1787621738000,"timestamp_seconds":1787621738,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f0610"} 
[2026-08-25 07: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-25 07:06:02] 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-25 07: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 07:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631164672001,"66":14211,"101":206,"83":41984,"24":10,"16":15822294446243840,"45":1929862839666022400},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631164672001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:06:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:06:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15822294446243840,"km_value":15822294446243.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929862839666022400,"description":"Unknown IO ID 45"} 
[2026-08-25 07:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631164672001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1929862839666022400}} 
[2026-08-25 07:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":161725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:06:03] local.INFO: GPS data processed {"connection_id":161725,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:06:03] local.INFO: Acknowledgment sent {"connection_id":161725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:06:18] local.INFO: TCP Data received {"connection_id":161489,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:06:18] local.INFO: Processing buffer {"connection_id":161489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:06:18] local.INFO: Packet analysis {"connection_id":161489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:06:18] local.INFO: Extracted packet for processing {"connection_id":161489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631020032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787621473000,"timestamp_ms":1787621473000,"timestamp_seconds":1787621473,"priority":1,"record_length":96,"hex_timestamp":"000001a0368afae8"} 
[2026-08-25 07: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-25 07:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 07:06:18] 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-25 07: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-25 07: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-25 07:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:06:18] 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-25 07:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631020032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631020032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631020032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":161489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:06:18] local.INFO: GPS data processed {"connection_id":161489,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:06:18] local.INFO: Acknowledgment sent {"connection_id":161489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:06:20] local.INFO: TCP Data received {"connection_id":164112,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:06:20] local.INFO: Processing buffer {"connection_id":164112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:06:20] local.INFO: IMEI packet received {"connection_id":164112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":164112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:06:25] local.INFO: TCP Data received {"connection_id":164112,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:06:25] local.INFO: Processing buffer {"connection_id":164112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:06:25] local.INFO: IMEI packet received {"connection_id":164112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":164112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:06:26] local.INFO: TCP Data received {"connection_id":164112,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f2168012d1ad380071f84d8003700501e..."} 
[2026-08-25 07:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f2168012d1ad380071f84d8003700501e..."} 
[2026-08-25 07:06:26] local.INFO: Processing buffer {"connection_id":164112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f2168012d1ad380071f84d8003700501e..."} 
[2026-08-25 07:06:26] local.INFO: Packet analysis {"connection_id":164112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:06:26] local.INFO: Extracted packet for processing {"connection_id":164112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:06:26] local.INFO: GPS Element Parsed {"raw_longitude":756732800,"raw_latitude":119506136,"longitude_deg":75.67328,"latitude_deg":11.9506136,"altitude":55,"angle":80,"satellites":30,"speed":14,"hex_longitude":"2d1ad380","hex_latitude":"071f84d8","is_valid_coordinates":true} 
[2026-08-25 07:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631164928001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15822419000295424,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930073945898539008,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:26] local.INFO: IO Element Parsed {"io_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-25 07:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787621745000,"timestamp_ms":1787621745000,"timestamp_seconds":1787621745,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f2168"} 
[2026-08-25 07:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:06:26] 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-25 07:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 07:06:26] 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-25 07:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631164928001,"66":14580,"101":206,"83":41984,"24":14,"16":15822419000295424,"45":1930073945898539008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631164928001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:06:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:06:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15822419000295424,"km_value":15822419000295.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930073945898539008,"description":"Unknown IO ID 45"} 
[2026-08-25 07:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631164928001,"power":14580,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1930073945898539008}} 
[2026-08-25 07:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":164112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:06:26] local.INFO: GPS data processed {"connection_id":164112,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:06:26] local.INFO: Acknowledgment sent {"connection_id":164112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:06:46] local.INFO: TCP Data received {"connection_id":164113,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:06:46] local.INFO: Processing buffer {"connection_id":164113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:06:46] local.INFO: IMEI packet received {"connection_id":164113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":164113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:06:51] local.INFO: TCP Data received {"connection_id":164113,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:06:51] local.INFO: Processing buffer {"connection_id":164113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:06:51] local.INFO: IMEI packet received {"connection_id":164113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":164113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:06:52] local.INFO: TCP Data received {"connection_id":164113,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:06:52] local.INFO: Processing buffer {"connection_id":164113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368afae8012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:06:52] local.INFO: Packet analysis {"connection_id":164113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:06:52] local.INFO: Extracted packet for processing {"connection_id":164113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368a"} 
[2026-08-25 07:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 07:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631020032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787621473000,"timestamp_ms":1787621473000,"timestamp_seconds":1787621473,"priority":1,"record_length":96,"hex_timestamp":"000001a0368afae8"} 
[2026-08-25 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-25 07:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 07:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 07:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631020032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631020032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631020032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":164113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:06:52] local.INFO: GPS data processed {"connection_id":164113,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:06:52] local.INFO: Acknowledgment sent {"connection_id":164113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:06:52] local.INFO: TCP Data received {"connection_id":164113,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:06:52] local.INFO: Processing buffer {"connection_id":164113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:06:52] local.INFO: Packet analysis {"connection_id":164113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:06:52] local.INFO: Extracted packet for processing {"connection_id":164113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 07:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631097088001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787621774000,"timestamp_ms":1787621774000,"timestamp_seconds":1787621774,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f92b0"} 
[2026-08-25 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-25 07:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 07:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631097088001,"66":25462,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631097088001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631097088001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":164113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:06:52] local.INFO: GPS data processed {"connection_id":164113,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:06:52] local.INFO: Acknowledgment sent {"connection_id":164113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:06:57] local.INFO: TCP Data received {"connection_id":164112,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f3cc0012d1ade40071f86300036005d1e..."} 
[2026-08-25 07:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f3cc0012d1ade40071f86300036005d1e..."} 
[2026-08-25 07:06:57] local.INFO: Processing buffer {"connection_id":164112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f3cc0012d1ade40071f86300036005d1e..."} 
[2026-08-25 07:06:57] local.INFO: Packet analysis {"connection_id":164112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:06:57] local.INFO: Extracted packet for processing {"connection_id":164112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756735552,"raw_latitude":119506480,"longitude_deg":75.6735552,"latitude_deg":11.950648,"altitude":54,"angle":93,"satellites":30,"speed":19,"hex_longitude":"2d1ade40","hex_latitude":"071f8630","is_valid_coordinates":true} 
[2026-08-25 07:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631166720001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15822552144281600,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933029433154000896,"note":"Value kept but may cause issues"} 
[2026-08-25 07:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787621752000,"timestamp_ms":1787621752000,"timestamp_seconds":1787621752,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f3cc0"} 
[2026-08-25 07:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:06:57] 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-25 07:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-25 07:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631166720001,"66":14515,"101":206,"83":41984,"24":19,"16":15822552144281600,"45":1933029433154000896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631166720001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:06:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:06:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15822552144281600,"km_value":15822552144281.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933029433154000896,"description":"Unknown IO ID 45"} 
[2026-08-25 07:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631166720001,"power":14515,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1933029433154000896}} 
[2026-08-25 07:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":164112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:06:57] local.INFO: GPS data processed {"connection_id":164112,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:06:57] local.INFO: Acknowledgment sent {"connection_id":164112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:07:20] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:07:20] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:07:20] local.INFO: IMEI packet received {"connection_id":161490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":161490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:07:23] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:07:23] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:07:23] local.INFO: IMEI packet received {"connection_id":161490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":161490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:07:25] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:07:25] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:07:25] local.INFO: IMEI packet received {"connection_id":161490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":161490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:07:25] local.INFO: TCP Data received {"connection_id":164113,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:07:25] local.INFO: Processing buffer {"connection_id":164113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:07:25] local.INFO: Packet analysis {"connection_id":164113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:07:25] local.INFO: Extracted packet for processing {"connection_id":164113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631097088001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:07:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787621774000,"timestamp_ms":1787621774000,"timestamp_seconds":1787621774,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f92b0"} 
[2026-08-25 07:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631097088001,"66":25462,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631097088001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:07:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631097088001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":164113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:07:25] local.INFO: GPS data processed {"connection_id":164113,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:07:25] local.INFO: Acknowledgment sent {"connection_id":164113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:07:25] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:07:25] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:07:25] local.INFO: IMEI packet received {"connection_id":161490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":161490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:07:26] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f5818012d1ae700071f85900036004f1e..."} 
[2026-08-25 07:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f5818012d1ae700071f85900036004f1e..."} 
[2026-08-25 07:07:26] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f5818012d1ae700071f85900036004f1e..."} 
[2026-08-25 07:07:26] local.INFO: Packet analysis {"connection_id":161490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:07:26] local.INFO: Extracted packet for processing {"connection_id":161490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:07:26] local.INFO: GPS Element Parsed {"raw_longitude":756737792,"raw_latitude":119506320,"longitude_deg":75.6737792,"latitude_deg":11.950632,"altitude":54,"angle":79,"satellites":30,"speed":11,"hex_longitude":"2d1ae700","hex_latitude":"071f8590","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631168512001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15822659518464000,"note":"Value kept but may cause issues"} 
[2026-08-25 07:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936055289153728512,"note":"Value kept but may cause issues"} 
[2026-08-25 07:07:26] local.INFO: IO Element Parsed {"io_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-25 07:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787621759000,"timestamp_ms":1787621759000,"timestamp_seconds":1787621759,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f5818"} 
[2026-08-25 07: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-25 07:07:26] 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-25 07: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 07:07:26] 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-25 07: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-25 07: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-25 07:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631168512001,"66":14494,"101":206,"83":41984,"24":11,"16":15822659518464000,"45":1936055289153728512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631168512001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:07:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:07:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15822659518464000,"km_value":15822659518464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936055289153728512,"description":"Unknown IO ID 45"} 
[2026-08-25 07:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631168512001,"power":14494,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1936055289153728512}} 
[2026-08-25 07:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":161490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:07:26] local.INFO: GPS data processed {"connection_id":161490,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:07:26] local.INFO: Acknowledgment sent {"connection_id":161490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:07:40] local.INFO: TCP Data received {"connection_id":162724,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:07:40] local.INFO: Processing buffer {"connection_id":162724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:07:40] local.INFO: IMEI packet received {"connection_id":162724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":162724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:07:46] local.INFO: TCP Data received {"connection_id":162724,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:07:46] local.INFO: Processing buffer {"connection_id":162724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:07:46] local.INFO: IMEI packet received {"connection_id":162724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":162724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:07:47] local.INFO: TCP Data received {"connection_id":162724,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:07:47] local.INFO: Processing buffer {"connection_id":162724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:07:47] local.INFO: Packet analysis {"connection_id":162724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:07:47] local.INFO: Extracted packet for processing {"connection_id":162724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631097088001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:07:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787621774000,"timestamp_ms":1787621774000,"timestamp_seconds":1787621774,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f92b0"} 
[2026-08-25 07:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:07:47] 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-25 07:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631097088001,"66":25462,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631097088001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631097088001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":162724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:07:47] local.INFO: GPS data processed {"connection_id":162724,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:07:47] local.INFO: Acknowledgment sent {"connection_id":162724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:07:58] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03690ea70012d1b5500071f6db8003e007d1d..."} 
[2026-08-25 07:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03690ea70012d1b5500071f6db8003e007d1d..."} 
[2026-08-25 07:07:58] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03690ea70012d1b5500071f6db8003e007d1d..."} 
[2026-08-25 07:07:58] local.INFO: Packet analysis {"connection_id":161490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03690"} 
[2026-08-25 07:07:58] local.INFO: Extracted packet for processing {"connection_id":161490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03690"} 
[2026-08-25 07:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756765952,"raw_latitude":119500216,"longitude_deg":75.6765952,"latitude_deg":11.9500216,"altitude":62,"angle":125,"satellites":29,"speed":10,"hex_longitude":"2d1b5500","hex_latitude":"071f6db8","is_valid_coordinates":true} 
[2026-08-25 07:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631194880001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15824231476494336,"note":"Value kept but may cause issues"} 
[2026-08-25 07:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968354542730213376,"note":"Value kept but may cause issues"} 
[2026-08-25 07:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787621862000,"timestamp_ms":1787621862000,"timestamp_seconds":1787621862,"priority":1,"record_length":96,"hex_timestamp":"000001a03690ea70"} 
[2026-08-25 07:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:07:58] 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-25 07:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 07:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631194880001,"66":14483,"101":206,"83":41984,"24":10,"16":15824231476494336,"45":1968354542730213376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631194880001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:07:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15824231476494336,"km_value":15824231476494.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968354542730213376,"description":"Unknown IO ID 45"} 
[2026-08-25 07:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631194880001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1968354542730213376}} 
[2026-08-25 07:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":161490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:07:58] local.INFO: GPS data processed {"connection_id":161490,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:07:58] local.INFO: Acknowledgment sent {"connection_id":161490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:08:18] local.INFO: TCP Data received {"connection_id":162724,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:08:18] local.INFO: Processing buffer {"connection_id":162724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:08:18] local.INFO: Packet analysis {"connection_id":162724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:08:18] local.INFO: Extracted packet for processing {"connection_id":162724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 07:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631097088001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:08:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787621774000,"timestamp_ms":1787621774000,"timestamp_seconds":1787621774,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f92b0"} 
[2026-08-25 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-25 07:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 07:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:08:18] 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-25 07:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631097088001,"66":25462,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631097088001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631097088001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":162724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:08:18] local.INFO: GPS data processed {"connection_id":162724,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:08:18] local.INFO: Acknowledgment sent {"connection_id":162724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:08:26] local.INFO: TCP Data received {"connection_id":162725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:08:26] local.INFO: Processing buffer {"connection_id":162725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:08:26] local.INFO: IMEI packet received {"connection_id":162725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":162725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:08:30] local.INFO: TCP Data received {"connection_id":162725,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:08:30] local.INFO: Processing buffer {"connection_id":162725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:08:30] local.INFO: IMEI packet received {"connection_id":162725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":162725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:08:30] local.INFO: TCP Data received {"connection_id":162725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03690f240012d1b5700071f6d28003e005d1c..."} 
[2026-08-25 07:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03690f240012d1b5700071f6d28003e005d1c..."} 
[2026-08-25 07:08:30] local.INFO: Processing buffer {"connection_id":162725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03690f240012d1b5700071f6d28003e005d1c..."} 
[2026-08-25 07:08:30] local.INFO: Packet analysis {"connection_id":162725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03690"} 
[2026-08-25 07:08:30] local.INFO: Extracted packet for processing {"connection_id":162725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03690"} 
[2026-08-25 07:08:30] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119500072,"longitude_deg":75.6766464,"latitude_deg":11.9500072,"altitude":62,"angle":93,"satellites":28,"speed":10,"hex_longitude":"2d1b5700","hex_latitude":"071f6d28","is_valid_coordinates":true} 
[2026-08-25 07:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631196672001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15824257246298112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969480442636515328,"note":"Value kept but may cause issues"} 
[2026-08-25 07:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787621864000,"timestamp_ms":1787621864000,"timestamp_seconds":1787621864,"priority":1,"record_length":96,"hex_timestamp":"000001a03690f240"} 
[2026-08-25 07:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 07:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-25 07:08:30] 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-25 07:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631196672001,"66":14396,"101":206,"83":41984,"24":10,"16":15824257246298112,"45":1969480442636515328},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631196672001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:08:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:08:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15824257246298112,"km_value":15824257246298.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969480442636515328,"description":"Unknown IO ID 45"} 
[2026-08-25 07:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631196672001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1969480442636515328}} 
[2026-08-25 07:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":162725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:08:31] local.INFO: GPS data processed {"connection_id":162725,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:08:31] local.INFO: Acknowledgment sent {"connection_id":162725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:08:31] local.INFO: TCP Data received {"connection_id":162725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03690f628012d1b5800071f6d50003e00511b..."} 
[2026-08-25 07:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03690f628012d1b5800071f6d50003e00511b..."} 
[2026-08-25 07:08:31] local.INFO: Processing buffer {"connection_id":162725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03690f628012d1b5800071f6d50003e00511b..."} 
[2026-08-25 07:08:31] local.INFO: Packet analysis {"connection_id":162725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03690"} 
[2026-08-25 07:08:31] local.INFO: Extracted packet for processing {"connection_id":162725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03690"} 
[2026-08-25 07:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":119500112,"longitude_deg":75.676672,"latitude_deg":11.9500112,"altitude":62,"angle":81,"satellites":27,"speed":12,"hex_longitude":"2d1b5800","hex_latitude":"071f6d50","is_valid_coordinates":true} 
[2026-08-25 07:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631197184001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15824270131200000,"note":"Value kept but may cause issues"} 
[2026-08-25 07:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970043392589899776,"note":"Value kept but may cause issues"} 
[2026-08-25 07:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787621865000,"timestamp_ms":1787621865000,"timestamp_seconds":1787621865,"priority":1,"record_length":96,"hex_timestamp":"000001a03690f628"} 
[2026-08-25 07:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 07:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-25 07:08:31] 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-25 07:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631197184001,"66":14396,"101":206,"83":41984,"24":12,"16":15824270131200000,"45":1970043392589899776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631197184001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:08:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:08:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15824270131200000,"km_value":15824270131200,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970043392589899776,"description":"Unknown IO ID 45"} 
[2026-08-25 07:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631197184001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1970043392589899776}} 
[2026-08-25 07:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":162725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:08:31] local.INFO: GPS data processed {"connection_id":162725,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:08:31] local.INFO: Acknowledgment sent {"connection_id":162725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:08:40] local.INFO: TCP Data received {"connection_id":164114,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:08:40] local.INFO: Processing buffer {"connection_id":164114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:08:40] local.INFO: IMEI packet received {"connection_id":164114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":164114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:08:46] local.INFO: TCP Data received {"connection_id":164114,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:08:46] local.INFO: Processing buffer {"connection_id":164114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:08:46] local.INFO: IMEI packet received {"connection_id":164114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":164114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:08:49] local.INFO: TCP Data received {"connection_id":164114,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:08:49] local.INFO: Processing buffer {"connection_id":164114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:08:49] local.INFO: Packet analysis {"connection_id":164114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:08:49] local.INFO: Extracted packet for processing {"connection_id":164114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631097088001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:08:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787621774000,"timestamp_ms":1787621774000,"timestamp_seconds":1787621774,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f92b0"} 
[2026-08-25 07: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-25 07:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:08: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-25 07:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631097088001,"66":25462,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631097088001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631097088001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":164114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:08:49] local.INFO: GPS data processed {"connection_id":164114,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:08:49] local.INFO: Acknowledgment sent {"connection_id":164114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:09:03] local.INFO: TCP Data received {"connection_id":162725,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0369130c0012d1b6700071f6ec8003d005c1c..."} 
[2026-08-25 07:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0369130c0012d1b6700071f6ec8003d005c1c..."} 
[2026-08-25 07:09:03] local.INFO: Processing buffer {"connection_id":162725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0369130c0012d1b6700071f6ec8003d005c1c..."} 
[2026-08-25 07:09:03] local.INFO: Packet analysis {"connection_id":162725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03691"} 
[2026-08-25 07:09:03] local.INFO: Extracted packet for processing {"connection_id":162725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03691"} 
[2026-08-25 07:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756770560,"raw_latitude":119500488,"longitude_deg":75.677056,"latitude_deg":11.9500488,"altitude":61,"angle":92,"satellites":28,"speed":5,"hex_longitude":"2d1b6700","hex_latitude":"071f6ec8","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631197440001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15824450519826432,"note":"Value kept but may cause issues"} 
[2026-08-25 07:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970324867566620672,"note":"Value kept but may cause issues"} 
[2026-08-25 07:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787621880000,"timestamp_ms":1787621880000,"timestamp_seconds":1787621880,"priority":1,"record_length":96,"hex_timestamp":"000001a0369130c0"} 
[2026-08-25 07: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-25 07:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 07:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-25 07:09:03] 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-25 07: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-25 07: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-25 07:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631197440001,"66":14559,"101":206,"83":41984,"24":5,"16":15824450519826432,"45":1970324867566620672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631197440001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:09:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15824450519826432,"km_value":15824450519826.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970324867566620672,"description":"Unknown IO ID 45"} 
[2026-08-25 07:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631197440001,"power":14559,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1970324867566620672}} 
[2026-08-25 07:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":162725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:09:03] local.INFO: GPS data processed {"connection_id":162725,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:09:03] local.INFO: Acknowledgment sent {"connection_id":162725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:09:21] local.INFO: TCP Data received {"connection_id":164114,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:09:21] local.INFO: Processing buffer {"connection_id":164114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:09:21] local.INFO: Packet analysis {"connection_id":164114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:09:21] local.INFO: Extracted packet for processing {"connection_id":164114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631097088001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:09:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787621774000,"timestamp_ms":1787621774000,"timestamp_seconds":1787621774,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f92b0"} 
[2026-08-25 07: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-25 07:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:09: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-25 07:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631097088001,"66":25462,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631097088001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:09:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631097088001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":164114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:09:21] local.INFO: GPS data processed {"connection_id":164114,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:09:21] local.INFO: Acknowledgment sent {"connection_id":164114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:09:21] local.INFO: TCP Data received {"connection_id":161491,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:09:21] local.INFO: Processing buffer {"connection_id":161491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:09:21] local.INFO: IMEI packet received {"connection_id":161491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":161491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:09:26] local.INFO: TCP Data received {"connection_id":161491,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:09:26] local.INFO: Processing buffer {"connection_id":161491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:09:26] local.INFO: IMEI packet received {"connection_id":161491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":161491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:09:27] local.INFO: TCP Data received {"connection_id":161491,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a036915bb8012d1b6c00071f6f08003e004e1c..."} 
[2026-08-25 07:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036915bb8012d1b6c00071f6f08003e004e1c..."} 
[2026-08-25 07:09:27] local.INFO: Processing buffer {"connection_id":161491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036915bb8012d1b6c00071f6f08003e004e1c..."} 
[2026-08-25 07:09:27] local.INFO: Packet analysis {"connection_id":161491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03691"} 
[2026-08-25 07:09:27] local.INFO: Extracted packet for processing {"connection_id":161491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03691"} 
[2026-08-25 07:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756771840,"raw_latitude":119500552,"longitude_deg":75.677184,"latitude_deg":11.9500552,"altitude":62,"angle":78,"satellites":28,"speed":6,"hex_longitude":"2d1b6c00","hex_latitude":"071f6f08","is_valid_coordinates":true} 
[2026-08-25 07:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631201280001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15824514944335872,"note":"Value kept but may cause issues"} 
[2026-08-25 07:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974546992217376768,"note":"Value kept but may cause issues"} 
[2026-08-25 07:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787621891000,"timestamp_ms":1787621891000,"timestamp_seconds":1787621891,"priority":1,"record_length":96,"hex_timestamp":"000001a036915bb8"} 
[2026-08-25 07:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 07:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-25 07:09:27] 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-25 07:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631201280001,"66":14461,"101":206,"83":41984,"24":6,"16":15824514944335872,"45":1974546992217376768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631201280001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:09:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15824514944335872,"km_value":15824514944335.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974546992217376768,"description":"Unknown IO ID 45"} 
[2026-08-25 07:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631201280001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1974546992217376768}} 
[2026-08-25 07:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":161491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:09:27] local.INFO: GPS data processed {"connection_id":161491,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:09:27] local.INFO: Acknowledgment sent {"connection_id":161491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:09:40] local.INFO: TCP Data received {"connection_id":164115,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:09:40] local.INFO: Processing buffer {"connection_id":164115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:09:40] local.INFO: IMEI packet received {"connection_id":164115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":164115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:09:46] local.INFO: TCP Data received {"connection_id":164115,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:09:46] local.INFO: Processing buffer {"connection_id":164115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:09:46] local.INFO: IMEI packet received {"connection_id":164115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":164115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:09:47] local.INFO: TCP Data received {"connection_id":164115,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:09:47] local.INFO: Processing buffer {"connection_id":164115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:09:47] local.INFO: Packet analysis {"connection_id":164115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:09:47] local.INFO: Extracted packet for processing {"connection_id":164115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631097088001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:09:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787621774000,"timestamp_ms":1787621774000,"timestamp_seconds":1787621774,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f92b0"} 
[2026-08-25 07:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631097088001,"66":25462,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631097088001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631097088001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":164115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:09:47] local.INFO: GPS data processed {"connection_id":164115,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:09:47] local.INFO: Acknowledgment sent {"connection_id":164115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:10:03] local.INFO: TCP Data received {"connection_id":161491,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03692d2b8012d1b8f40071f83480046015d1d..."} 
[2026-08-25 07:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03692d2b8012d1b8f40071f83480046015d1d..."} 
[2026-08-25 07:10:03] local.INFO: Processing buffer {"connection_id":161491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03692d2b8012d1b8f40071f83480046015d1d..."} 
[2026-08-25 07:10:03] local.INFO: Packet analysis {"connection_id":161491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03692"} 
[2026-08-25 07:10:03] local.INFO: Extracted packet for processing {"connection_id":161491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03692"} 
[2026-08-25 07:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756780864,"raw_latitude":119505736,"longitude_deg":75.6780864,"latitude_deg":11.9505736,"altitude":70,"angle":349,"satellites":29,"speed":4,"hex_longitude":"2d1b8f40","hex_latitude":"071f8348","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631228160001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15825202139103232,"note":"Value kept but may cause issues"} 
[2026-08-25 07:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985876360031277056,"note":"Value kept but may cause issues"} 
[2026-08-25 07:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787621987000,"timestamp_ms":1787621987000,"timestamp_seconds":1787621987,"priority":1,"record_length":96,"hex_timestamp":"000001a03692d2b8"} 
[2026-08-25 07: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-25 07:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 07: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-25 07:10: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-25 07: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-25 07: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-25 07:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631228160001,"66":14483,"101":206,"83":41984,"24":4,"16":15825202139103232,"45":1985876360031277056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631228160001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:10:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15825202139103232,"km_value":15825202139103.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985876360031277056,"description":"Unknown IO ID 45"} 
[2026-08-25 07:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631228160001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1985876360031277056}} 
[2026-08-25 07:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":161491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:10:03] local.INFO: GPS data processed {"connection_id":161491,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:10:03] local.INFO: Acknowledgment sent {"connection_id":161491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:10:19] local.INFO: TCP Data received {"connection_id":164115,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:10:19] local.INFO: Processing buffer {"connection_id":164115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:10:19] local.INFO: Packet analysis {"connection_id":164115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:10:19] local.INFO: Extracted packet for processing {"connection_id":164115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631097088001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:10:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787621774000,"timestamp_ms":1787621774000,"timestamp_seconds":1787621774,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f92b0"} 
[2026-08-25 07:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631097088001,"66":25462,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631097088001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631097088001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":164115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:10:19] local.INFO: GPS data processed {"connection_id":164115,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:10:19] local.INFO: Acknowledgment sent {"connection_id":164115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:10:40] local.INFO: TCP Data received {"connection_id":162726,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:10:40] local.INFO: Processing buffer {"connection_id":162726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:10:40] local.INFO: IMEI packet received {"connection_id":162726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":162726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:10:46] local.INFO: TCP Data received {"connection_id":162726,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:10:46] local.INFO: Processing buffer {"connection_id":162726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:10:46] local.INFO: IMEI packet received {"connection_id":162726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":162726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:10:47] local.INFO: TCP Data received {"connection_id":162726,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:10:47] local.INFO: Processing buffer {"connection_id":162726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:10:47] local.INFO: Packet analysis {"connection_id":162726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:10:47] local.INFO: Extracted packet for processing {"connection_id":162726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631097088001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:10:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787621774000,"timestamp_ms":1787621774000,"timestamp_seconds":1787621774,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f92b0"} 
[2026-08-25 07:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:10: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-25 07:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631097088001,"66":25462,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631097088001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631097088001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":162726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:10:47] local.INFO: GPS data processed {"connection_id":162726,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:10:47] local.INFO: Acknowledgment sent {"connection_id":162726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:11:18] local.INFO: TCP Data received {"connection_id":162726,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:11:18] local.INFO: Processing buffer {"connection_id":162726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:11:18] local.INFO: Packet analysis {"connection_id":162726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:11:18] local.INFO: Extracted packet for processing {"connection_id":162726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:11:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 07:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631097088001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:11:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787621774000,"timestamp_ms":1787621774000,"timestamp_seconds":1787621774,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f92b0"} 
[2026-08-25 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-25 07:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 07:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:11: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-25 07:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631097088001,"66":25462,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631097088001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:11:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631097088001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":162726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:11:18] local.INFO: GPS data processed {"connection_id":162726,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:11:18] local.INFO: Acknowledgment sent {"connection_id":162726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:11:46] local.INFO: TCP Data received {"connection_id":161492,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:11:46] local.INFO: Processing buffer {"connection_id":161492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:11:46] local.INFO: IMEI packet received {"connection_id":161492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":161492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:11:51] local.INFO: TCP Data received {"connection_id":161492,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:11:51] local.INFO: Processing buffer {"connection_id":161492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:11:51] local.INFO: IMEI packet received {"connection_id":161492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":161492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:11:52] local.INFO: TCP Data received {"connection_id":161492,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:11:52] local.INFO: Processing buffer {"connection_id":161492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0368f92b0012d34c3c006aa46b00006006d26..."} 
[2026-08-25 07:11:52] local.INFO: Packet analysis {"connection_id":161492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:11:52] local.INFO: Extracted packet for processing {"connection_id":161492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0368f"} 
[2026-08-25 07:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631097088001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:11:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787621774000,"timestamp_ms":1787621774000,"timestamp_seconds":1787621774,"priority":1,"record_length":96,"hex_timestamp":"000001a0368f92b0"} 
[2026-08-25 07: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-25 07:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631097088001,"66":25462,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631097088001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631097088001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":161492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:11:52] local.INFO: GPS data processed {"connection_id":161492,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:11:52] local.INFO: Acknowledgment sent {"connection_id":161492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:11:53] local.INFO: TCP Data received {"connection_id":161492,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:11:53] local.INFO: Processing buffer {"connection_id":161492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:11:53] local.INFO: Packet analysis {"connection_id":161492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:11:53] local.INFO: Extracted packet for processing {"connection_id":161492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631174144001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:11:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787622075000,"timestamp_ms":1787622075000,"timestamp_seconds":1787622075,"priority":1,"record_length":96,"hex_timestamp":"000001a036942a78"} 
[2026-08-25 07:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:11:53] 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-25 07:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:11: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-25 07:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631174144001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631174144001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631174144001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":161492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:11:53] local.INFO: GPS data processed {"connection_id":161492,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:11:53] local.INFO: Acknowledgment sent {"connection_id":161492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:12:24] local.INFO: TCP Data received {"connection_id":161492,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:12:24] local.INFO: Processing buffer {"connection_id":161492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:12:24] local.INFO: Packet analysis {"connection_id":161492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:12:24] local.INFO: Extracted packet for processing {"connection_id":161492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631174144001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:12:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787622075000,"timestamp_ms":1787622075000,"timestamp_seconds":1787622075,"priority":1,"record_length":96,"hex_timestamp":"000001a036942a78"} 
[2026-08-25 07:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:12:24] 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-25 07:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:12: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-25 07:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631174144001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631174144001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631174144001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":161492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:12:24] local.INFO: GPS data processed {"connection_id":161492,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:12:24] local.INFO: Acknowledgment sent {"connection_id":161492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:12:40] local.INFO: TCP Data received {"connection_id":161726,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:12:40] local.INFO: Processing buffer {"connection_id":161726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:12:40] local.INFO: IMEI packet received {"connection_id":161726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":161726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:12:46] local.INFO: TCP Data received {"connection_id":161726,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:12:46] local.INFO: Processing buffer {"connection_id":161726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:12:46] local.INFO: IMEI packet received {"connection_id":161726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":161726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:12:47] local.INFO: TCP Data received {"connection_id":161726,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:12:47] local.INFO: Processing buffer {"connection_id":161726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:12:47] local.INFO: Packet analysis {"connection_id":161726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:12:47] local.INFO: Extracted packet for processing {"connection_id":161726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631174144001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:12:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787622075000,"timestamp_ms":1787622075000,"timestamp_seconds":1787622075,"priority":1,"record_length":96,"hex_timestamp":"000001a036942a78"} 
[2026-08-25 07:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:12:47] 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-25 07:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631174144001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631174144001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631174144001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":161726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:12:47] local.INFO: GPS data processed {"connection_id":161726,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:12:47] local.INFO: Acknowledgment sent {"connection_id":161726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:13:18] local.INFO: TCP Data received {"connection_id":161726,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:13:18] local.INFO: Processing buffer {"connection_id":161726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:13:18] local.INFO: Packet analysis {"connection_id":161726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:13:18] local.INFO: Extracted packet for processing {"connection_id":161726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631174144001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:13:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787622075000,"timestamp_ms":1787622075000,"timestamp_seconds":1787622075,"priority":1,"record_length":96,"hex_timestamp":"000001a036942a78"} 
[2026-08-25 07:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:13:18] 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-25 07:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631174144001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631174144001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631174144001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":161726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:13:18] local.INFO: GPS data processed {"connection_id":161726,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:13:18] local.INFO: Acknowledgment sent {"connection_id":161726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:13:40] local.INFO: TCP Data received {"connection_id":164116,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:13:40] local.INFO: Processing buffer {"connection_id":164116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:13:40] local.INFO: IMEI packet received {"connection_id":164116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":164116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:13:46] local.INFO: TCP Data received {"connection_id":164116,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:13:46] local.INFO: Processing buffer {"connection_id":164116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:13:46] local.INFO: IMEI packet received {"connection_id":164116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":164116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:13:47] local.INFO: TCP Data received {"connection_id":164116,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:13:47] local.INFO: Processing buffer {"connection_id":164116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:13:47] local.INFO: Packet analysis {"connection_id":164116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:13:47] local.INFO: Extracted packet for processing {"connection_id":164116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631174144001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:13:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787622075000,"timestamp_ms":1787622075000,"timestamp_seconds":1787622075,"priority":1,"record_length":96,"hex_timestamp":"000001a036942a78"} 
[2026-08-25 07: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-25 07:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:13:47] 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-25 07: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-25 07: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-25 07:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631174144001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631174144001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631174144001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":164116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:13:47] local.INFO: GPS data processed {"connection_id":164116,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:13:47] local.INFO: Acknowledgment sent {"connection_id":164116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:14:18] local.INFO: TCP Data received {"connection_id":164116,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:14:18] local.INFO: Processing buffer {"connection_id":164116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:14:18] local.INFO: Packet analysis {"connection_id":164116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:14:18] local.INFO: Extracted packet for processing {"connection_id":164116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631174144001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:14:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787622075000,"timestamp_ms":1787622075000,"timestamp_seconds":1787622075,"priority":1,"record_length":96,"hex_timestamp":"000001a036942a78"} 
[2026-08-25 07: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-25 07:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:14:18] 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-25 07: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-25 07: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-25 07:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:14:18] 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-25 07:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631174144001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631174144001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631174144001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":164116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:14:18] local.INFO: GPS data processed {"connection_id":164116,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:14:18] local.INFO: Acknowledgment sent {"connection_id":164116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:14:41] local.INFO: TCP Data received {"connection_id":161493,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:14:41] local.INFO: Processing buffer {"connection_id":161493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:14:41] local.INFO: IMEI packet received {"connection_id":161493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":161493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:14:49] local.INFO: TCP Data received {"connection_id":161493,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:14:49] local.INFO: Processing buffer {"connection_id":161493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:14:49] local.INFO: IMEI packet received {"connection_id":161493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":161493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:14:50] local.INFO: TCP Data received {"connection_id":161493,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:14:50] local.INFO: Processing buffer {"connection_id":161493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:14:50] local.INFO: IMEI packet received {"connection_id":161493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":161493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:14:51] local.INFO: TCP Data received {"connection_id":161493,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:14:51] local.INFO: Processing buffer {"connection_id":161493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:14:51] local.INFO: Packet analysis {"connection_id":161493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:14:51] local.INFO: Extracted packet for processing {"connection_id":161493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 07:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631174144001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:14:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787622075000,"timestamp_ms":1787622075000,"timestamp_seconds":1787622075,"priority":1,"record_length":96,"hex_timestamp":"000001a036942a78"} 
[2026-08-25 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-25 07:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:14:51] 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-25 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-25 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-25 07:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:14: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-25 07:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631174144001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631174144001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631174144001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":161493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:14:51] local.INFO: GPS data processed {"connection_id":161493,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:14:51] local.INFO: Acknowledgment sent {"connection_id":161493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:14:56] local.INFO: TCP Data received {"connection_id":161493,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:14:56] local.INFO: Processing buffer {"connection_id":161493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:14:56] local.INFO: Packet analysis {"connection_id":161493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:14:56] local.INFO: Extracted packet for processing {"connection_id":161493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:14:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631174144001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:14:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787622075000,"timestamp_ms":1787622075000,"timestamp_seconds":1787622075,"priority":1,"record_length":96,"hex_timestamp":"000001a036942a78"} 
[2026-08-25 07: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-25 07:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:14:56] 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-25 07: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-25 07: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-25 07:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:14: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-25 07:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631174144001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631174144001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:14:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631174144001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":161493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:14:56] local.INFO: GPS data processed {"connection_id":161493,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:14:56] local.INFO: Acknowledgment sent {"connection_id":161493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:15:40] local.INFO: TCP Data received {"connection_id":161727,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:15:40] local.INFO: Processing buffer {"connection_id":161727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:15:40] local.INFO: IMEI packet received {"connection_id":161727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":161727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:15:46] local.INFO: TCP Data received {"connection_id":161727,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:15:46] local.INFO: Processing buffer {"connection_id":161727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:15:46] local.INFO: IMEI packet received {"connection_id":161727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":161727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:15:46] local.INFO: TCP Data received {"connection_id":161727,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:15:46] local.INFO: Processing buffer {"connection_id":161727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:15:46] local.INFO: Packet analysis {"connection_id":161727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:15:46] local.INFO: Extracted packet for processing {"connection_id":161727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631174144001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:15:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787622075000,"timestamp_ms":1787622075000,"timestamp_seconds":1787622075,"priority":1,"record_length":96,"hex_timestamp":"000001a036942a78"} 
[2026-08-25 07:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:15:46] 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-25 07:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631174144001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631174144001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631174144001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":161727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:15:46] local.INFO: GPS data processed {"connection_id":161727,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:15:46] local.INFO: Acknowledgment sent {"connection_id":161727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:16:18] local.INFO: TCP Data received {"connection_id":161727,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:16:18] local.INFO: Processing buffer {"connection_id":161727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:16:18] local.INFO: Packet analysis {"connection_id":161727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:16:18] local.INFO: Extracted packet for processing {"connection_id":161727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:16:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631174144001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:16:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787622075000,"timestamp_ms":1787622075000,"timestamp_seconds":1787622075,"priority":1,"record_length":96,"hex_timestamp":"000001a036942a78"} 
[2026-08-25 07:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:16:18] 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-25 07:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:16:18] 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-25 07:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631174144001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631174144001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:16:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631174144001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":161727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:16:18] local.INFO: GPS data processed {"connection_id":161727,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:16:18] local.INFO: Acknowledgment sent {"connection_id":161727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:16:46] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:16:46] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:16:46] local.INFO: IMEI packet received {"connection_id":161494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":161494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:16:51] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:16:51] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:16:51] local.INFO: IMEI packet received {"connection_id":161494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":161494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:16:52] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:16:52] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036942a78012d34c3c006aa46b00005006d29..."} 
[2026-08-25 07:16:52] local.INFO: Packet analysis {"connection_id":161494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:16:52] local.INFO: Extracted packet for processing {"connection_id":161494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03694"} 
[2026-08-25 07:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":5,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631174144001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:16:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787622075000,"timestamp_ms":1787622075000,"timestamp_seconds":1787622075,"priority":1,"record_length":96,"hex_timestamp":"000001a036942a78"} 
[2026-08-25 07:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:16:52] 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-25 07:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:16: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-25 07:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631174144001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631174144001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631174144001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":161494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:16:52] local.INFO: GPS data processed {"connection_id":161494,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:16:52] local.INFO: Acknowledgment sent {"connection_id":161494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:16:54] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:16:54] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:16:54] local.INFO: Packet analysis {"connection_id":161494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:16:54] local.INFO: Extracted packet for processing {"connection_id":161494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:16:54] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631251200001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:16:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787622376000,"timestamp_ms":1787622376000,"timestamp_seconds":1787622376,"priority":1,"record_length":96,"hex_timestamp":"000001a03698c240"} 
[2026-08-25 07: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-25 07:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07: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-25 07: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-25 07:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:16: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-25 07:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631251200001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631251200001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:16:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631251200001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":161494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:16:54] local.INFO: GPS data processed {"connection_id":161494,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:16:54] local.INFO: Acknowledgment sent {"connection_id":161494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:17:25] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:17:25] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:17:25] local.INFO: Packet analysis {"connection_id":161494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:17:25] local.INFO: Extracted packet for processing {"connection_id":161494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:17:25] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631251200001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:17:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787622376000,"timestamp_ms":1787622376000,"timestamp_seconds":1787622376,"priority":1,"record_length":96,"hex_timestamp":"000001a03698c240"} 
[2026-08-25 07:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:17: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-25 07:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631251200001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631251200001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:17:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631251200001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":161494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:17:25] local.INFO: GPS data processed {"connection_id":161494,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:17:25] local.INFO: Acknowledgment sent {"connection_id":161494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:17:40] local.INFO: TCP Data received {"connection_id":164117,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:17:40] local.INFO: Processing buffer {"connection_id":164117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:17:40] local.INFO: IMEI packet received {"connection_id":164117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":164117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:17:46] local.INFO: TCP Data received {"connection_id":164117,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:17:46] local.INFO: Processing buffer {"connection_id":164117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:17:46] local.INFO: IMEI packet received {"connection_id":164117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":164117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:17:47] local.INFO: TCP Data received {"connection_id":164117,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:17:47] local.INFO: Processing buffer {"connection_id":164117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:17:47] local.INFO: Packet analysis {"connection_id":164117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:17:47] local.INFO: Extracted packet for processing {"connection_id":164117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631251200001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:17:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787622376000,"timestamp_ms":1787622376000,"timestamp_seconds":1787622376,"priority":1,"record_length":96,"hex_timestamp":"000001a03698c240"} 
[2026-08-25 07:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631251200001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631251200001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631251200001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":164117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:17:47] local.INFO: GPS data processed {"connection_id":164117,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:17:47] local.INFO: Acknowledgment sent {"connection_id":164117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:18:19] local.INFO: TCP Data received {"connection_id":164117,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:18:19] local.INFO: Processing buffer {"connection_id":164117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:18:19] local.INFO: Packet analysis {"connection_id":164117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:18:19] local.INFO: Extracted packet for processing {"connection_id":164117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631251200001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:18:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787622376000,"timestamp_ms":1787622376000,"timestamp_seconds":1787622376,"priority":1,"record_length":96,"hex_timestamp":"000001a03698c240"} 
[2026-08-25 07:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631251200001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631251200001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631251200001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":164117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:18:19] local.INFO: GPS data processed {"connection_id":164117,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:18:19] local.INFO: Acknowledgment sent {"connection_id":164117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:18:40] local.INFO: TCP Data received {"connection_id":161495,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:18:40] local.INFO: Processing buffer {"connection_id":161495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:18:40] local.INFO: IMEI packet received {"connection_id":161495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":161495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:18:46] local.INFO: TCP Data received {"connection_id":161495,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:18:46] local.INFO: Processing buffer {"connection_id":161495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:18:46] local.INFO: IMEI packet received {"connection_id":161495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":161495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:18:47] local.INFO: TCP Data received {"connection_id":161495,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:18:47] local.INFO: Processing buffer {"connection_id":161495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:18:47] local.INFO: Packet analysis {"connection_id":161495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:18:47] local.INFO: Extracted packet for processing {"connection_id":161495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631251200001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:18:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787622376000,"timestamp_ms":1787622376000,"timestamp_seconds":1787622376,"priority":1,"record_length":96,"hex_timestamp":"000001a03698c240"} 
[2026-08-25 07:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631251200001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631251200001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631251200001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":161495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:18:47] local.INFO: GPS data processed {"connection_id":161495,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:18:47] local.INFO: Acknowledgment sent {"connection_id":161495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:19:19] local.INFO: TCP Data received {"connection_id":161495,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:19:19] local.INFO: Processing buffer {"connection_id":161495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:19:19] local.INFO: Packet analysis {"connection_id":161495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:19:19] local.INFO: Extracted packet for processing {"connection_id":161495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631251200001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:19:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787622376000,"timestamp_ms":1787622376000,"timestamp_seconds":1787622376,"priority":1,"record_length":96,"hex_timestamp":"000001a03698c240"} 
[2026-08-25 07: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-25 07:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:19:19] 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-25 07:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631251200001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631251200001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631251200001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":161495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:19:19] local.INFO: GPS data processed {"connection_id":161495,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:19:19] local.INFO: Acknowledgment sent {"connection_id":161495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:19:40] local.INFO: TCP Data received {"connection_id":164118,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:19:40] local.INFO: Processing buffer {"connection_id":164118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:19:40] local.INFO: IMEI packet received {"connection_id":164118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":164118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:19:46] local.INFO: TCP Data received {"connection_id":164118,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:19:46] local.INFO: Processing buffer {"connection_id":164118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:19:46] local.INFO: IMEI packet received {"connection_id":164118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":164118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:19:46] local.INFO: TCP Data received {"connection_id":164118,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:19:46] local.INFO: Processing buffer {"connection_id":164118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:19:46] local.INFO: Packet analysis {"connection_id":164118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:19:46] local.INFO: Extracted packet for processing {"connection_id":164118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631251200001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:19:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787622376000,"timestamp_ms":1787622376000,"timestamp_seconds":1787622376,"priority":1,"record_length":96,"hex_timestamp":"000001a03698c240"} 
[2026-08-25 07: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-25 07:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07: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-25 07:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:19:46] 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-25 07:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631251200001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631251200001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631251200001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":164118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:19:46] local.INFO: GPS data processed {"connection_id":164118,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:19:46] local.INFO: Acknowledgment sent {"connection_id":164118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:20:18] local.INFO: TCP Data received {"connection_id":164118,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:20:18] local.INFO: Processing buffer {"connection_id":164118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:20:18] local.INFO: Packet analysis {"connection_id":164118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:20:18] local.INFO: Extracted packet for processing {"connection_id":164118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:20:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 07:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631251200001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:20:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787622376000,"timestamp_ms":1787622376000,"timestamp_seconds":1787622376,"priority":1,"record_length":96,"hex_timestamp":"000001a03698c240"} 
[2026-08-25 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-25 07:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 07:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631251200001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631251200001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:20:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631251200001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":164118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:20:18] local.INFO: GPS data processed {"connection_id":164118,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:20:18] local.INFO: Acknowledgment sent {"connection_id":164118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:20:40] local.INFO: TCP Data received {"connection_id":164119,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:20:40] local.INFO: Processing buffer {"connection_id":164119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:20:40] local.INFO: IMEI packet received {"connection_id":164119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":164119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:20:46] local.INFO: TCP Data received {"connection_id":164119,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:20:46] local.INFO: Processing buffer {"connection_id":164119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:20:46] local.INFO: IMEI packet received {"connection_id":164119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":164119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:20:47] local.INFO: TCP Data received {"connection_id":164119,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:20:47] local.INFO: Processing buffer {"connection_id":164119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:20:47] local.INFO: Packet analysis {"connection_id":164119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:20:47] local.INFO: Extracted packet for processing {"connection_id":164119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631251200001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:20:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787622376000,"timestamp_ms":1787622376000,"timestamp_seconds":1787622376,"priority":1,"record_length":96,"hex_timestamp":"000001a03698c240"} 
[2026-08-25 07:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631251200001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631251200001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631251200001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":164119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:20:47] local.INFO: GPS data processed {"connection_id":164119,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:20:47] local.INFO: Acknowledgment sent {"connection_id":164119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:21:18] local.INFO: TCP Data received {"connection_id":164119,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:21:18] local.INFO: Processing buffer {"connection_id":164119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:21:18] local.INFO: Packet analysis {"connection_id":164119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:21:18] local.INFO: Extracted packet for processing {"connection_id":164119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:21:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631251200001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:21:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787622376000,"timestamp_ms":1787622376000,"timestamp_seconds":1787622376,"priority":1,"record_length":96,"hex_timestamp":"000001a03698c240"} 
[2026-08-25 07:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:21:18] 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-25 07:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631251200001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631251200001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:21:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631251200001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":164119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:21:18] local.INFO: GPS data processed {"connection_id":164119,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:21:18] local.INFO: Acknowledgment sent {"connection_id":164119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:21:40] local.INFO: TCP Data received {"connection_id":161496,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:21:40] local.INFO: Processing buffer {"connection_id":161496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:21:40] local.INFO: IMEI packet received {"connection_id":161496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":161496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:21:46] local.INFO: TCP Data received {"connection_id":161496,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:21:46] local.INFO: Processing buffer {"connection_id":161496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:21:46] local.INFO: IMEI packet received {"connection_id":161496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":161496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:21:46] local.INFO: TCP Data received {"connection_id":161496,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:21:46] local.INFO: Processing buffer {"connection_id":161496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03698c240012d34c3c006aa46b0000b006d26..."} 
[2026-08-25 07:21:46] local.INFO: Packet analysis {"connection_id":161496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:21:46] local.INFO: Extracted packet for processing {"connection_id":161496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03698"} 
[2026-08-25 07:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631251200001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:21:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787622376000,"timestamp_ms":1787622376000,"timestamp_seconds":1787622376,"priority":1,"record_length":96,"hex_timestamp":"000001a03698c240"} 
[2026-08-25 07:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631251200001,"66":25560,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631251200001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631251200001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":161496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:21:46] local.INFO: GPS data processed {"connection_id":161496,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:21:46] local.INFO: Acknowledgment sent {"connection_id":161496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:22:18] local.INFO: TCP Data received {"connection_id":161496,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:22:18] local.INFO: Processing buffer {"connection_id":161496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:22:18] local.INFO: Packet analysis {"connection_id":161496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:22:18] local.INFO: Extracted packet for processing {"connection_id":161496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:22:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631328256001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:22:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787622676000,"timestamp_ms":1787622676000,"timestamp_seconds":1787622676,"priority":1,"record_length":96,"hex_timestamp":"000001a0369d5620"} 
[2026-08-25 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-25 07:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 07:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 07:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:22:18] 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-25 07:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631328256001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631328256001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:22:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631328256001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":161496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:22:18] local.INFO: GPS data processed {"connection_id":161496,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:22:18] local.INFO: Acknowledgment sent {"connection_id":161496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:22:41] local.INFO: TCP Data received {"connection_id":161497,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:22:41] local.INFO: Processing buffer {"connection_id":161497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:22:41] local.INFO: IMEI packet received {"connection_id":161497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":161497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:22:46] local.INFO: TCP Data received {"connection_id":161497,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:22:46] local.INFO: Processing buffer {"connection_id":161497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:22:46] local.INFO: IMEI packet received {"connection_id":161497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":161497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:22:46] local.INFO: TCP Data received {"connection_id":161497,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:22:46] local.INFO: Processing buffer {"connection_id":161497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:22:46] local.INFO: Packet analysis {"connection_id":161497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:22:46] local.INFO: Extracted packet for processing {"connection_id":161497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631328256001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:22:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787622676000,"timestamp_ms":1787622676000,"timestamp_seconds":1787622676,"priority":1,"record_length":96,"hex_timestamp":"000001a0369d5620"} 
[2026-08-25 07:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 07:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631328256001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631328256001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631328256001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":161497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:22:46] local.INFO: GPS data processed {"connection_id":161497,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:22:46] local.INFO: Acknowledgment sent {"connection_id":161497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:23:18] local.INFO: TCP Data received {"connection_id":161497,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:23:18] local.INFO: Processing buffer {"connection_id":161497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:23:18] local.INFO: Packet analysis {"connection_id":161497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:23:18] local.INFO: Extracted packet for processing {"connection_id":161497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631328256001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:23:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787622676000,"timestamp_ms":1787622676000,"timestamp_seconds":1787622676,"priority":1,"record_length":96,"hex_timestamp":"000001a0369d5620"} 
[2026-08-25 07:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 07:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:23:18] 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-25 07:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631328256001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631328256001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631328256001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":161497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:23:18] local.INFO: GPS data processed {"connection_id":161497,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:23:18] local.INFO: Acknowledgment sent {"connection_id":161497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:23:40] local.INFO: TCP Data received {"connection_id":162727,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:23:40] local.INFO: Processing buffer {"connection_id":162727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:23:40] local.INFO: IMEI packet received {"connection_id":162727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":162727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:23:46] local.INFO: TCP Data received {"connection_id":162727,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:23:46] local.INFO: Processing buffer {"connection_id":162727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:23:46] local.INFO: IMEI packet received {"connection_id":162727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":162727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:23:47] local.INFO: TCP Data received {"connection_id":162727,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:23:47] local.INFO: Processing buffer {"connection_id":162727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:23:47] local.INFO: Packet analysis {"connection_id":162727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:23:47] local.INFO: Extracted packet for processing {"connection_id":162727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631328256001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:23:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787622676000,"timestamp_ms":1787622676000,"timestamp_seconds":1787622676,"priority":1,"record_length":96,"hex_timestamp":"000001a0369d5620"} 
[2026-08-25 07:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 07:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:23:47] 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-25 07:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631328256001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631328256001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631328256001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":162727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:23:48] local.INFO: GPS data processed {"connection_id":162727,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:23:48] local.INFO: Acknowledgment sent {"connection_id":162727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:24:19] local.INFO: TCP Data received {"connection_id":162727,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:24:19] local.INFO: Processing buffer {"connection_id":162727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:24:19] local.INFO: Packet analysis {"connection_id":162727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:24:19] local.INFO: Extracted packet for processing {"connection_id":162727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631328256001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:24:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787622676000,"timestamp_ms":1787622676000,"timestamp_seconds":1787622676,"priority":1,"record_length":96,"hex_timestamp":"000001a0369d5620"} 
[2026-08-25 07:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 07:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631328256001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631328256001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631328256001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":162727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:24:19] local.INFO: GPS data processed {"connection_id":162727,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:24:19] local.INFO: Acknowledgment sent {"connection_id":162727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:24:40] local.INFO: TCP Data received {"connection_id":164120,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:24:40] local.INFO: Processing buffer {"connection_id":164120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:24:40] local.INFO: IMEI packet received {"connection_id":164120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":164120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:24:46] local.INFO: TCP Data received {"connection_id":164120,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:24:46] local.INFO: Processing buffer {"connection_id":164120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:24:46] local.INFO: IMEI packet received {"connection_id":164120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":164120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:24:47] local.INFO: TCP Data received {"connection_id":164120,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:24:47] local.INFO: Processing buffer {"connection_id":164120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:24:47] local.INFO: Packet analysis {"connection_id":164120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:24:47] local.INFO: Extracted packet for processing {"connection_id":164120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631328256001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:24:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787622676000,"timestamp_ms":1787622676000,"timestamp_seconds":1787622676,"priority":1,"record_length":96,"hex_timestamp":"000001a0369d5620"} 
[2026-08-25 07:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 07:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631328256001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631328256001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631328256001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":164120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:24:47] local.INFO: GPS data processed {"connection_id":164120,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:24:47] local.INFO: Acknowledgment sent {"connection_id":164120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:25:19] local.INFO: TCP Data received {"connection_id":164120,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:25:19] local.INFO: Processing buffer {"connection_id":164120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:25:19] local.INFO: Packet analysis {"connection_id":164120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:25:19] local.INFO: Extracted packet for processing {"connection_id":164120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:25:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631328256001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:25:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787622676000,"timestamp_ms":1787622676000,"timestamp_seconds":1787622676,"priority":1,"record_length":96,"hex_timestamp":"000001a0369d5620"} 
[2026-08-25 07:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 07:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631328256001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631328256001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:25:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631328256001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":164120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:25:19] local.INFO: GPS data processed {"connection_id":164120,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:25:19] local.INFO: Acknowledgment sent {"connection_id":164120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:25:40] local.INFO: TCP Data received {"connection_id":162728,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:25:40] local.INFO: Processing buffer {"connection_id":162728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:25:40] local.INFO: IMEI packet received {"connection_id":162728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":162728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:25:46] local.INFO: TCP Data received {"connection_id":162728,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:25:46] local.INFO: Processing buffer {"connection_id":162728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:25:46] local.INFO: IMEI packet received {"connection_id":162728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":162728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:25:46] local.INFO: TCP Data received {"connection_id":162728,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:25:46] local.INFO: Processing buffer {"connection_id":162728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:25:46] local.INFO: Packet analysis {"connection_id":162728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:25:46] local.INFO: Extracted packet for processing {"connection_id":162728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631328256001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:25:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787622676000,"timestamp_ms":1787622676000,"timestamp_seconds":1787622676,"priority":1,"record_length":96,"hex_timestamp":"000001a0369d5620"} 
[2026-08-25 07:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 07:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631328256001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631328256001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631328256001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":162728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:25:46] local.INFO: GPS data processed {"connection_id":162728,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:25:46] local.INFO: Acknowledgment sent {"connection_id":162728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:26:19] local.INFO: TCP Data received {"connection_id":162728,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:26:19] local.INFO: Processing buffer {"connection_id":162728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:26:19] local.INFO: Packet analysis {"connection_id":162728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:26:19] local.INFO: Extracted packet for processing {"connection_id":162728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631328256001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:26:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787622676000,"timestamp_ms":1787622676000,"timestamp_seconds":1787622676,"priority":1,"record_length":96,"hex_timestamp":"000001a0369d5620"} 
[2026-08-25 07: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-25 07:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 07:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:26: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-25 07:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631328256001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631328256001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631328256001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":162728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:26:19] local.INFO: GPS data processed {"connection_id":162728,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:26:19] local.INFO: Acknowledgment sent {"connection_id":162728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:26:46] local.INFO: TCP Data received {"connection_id":161498,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:26:46] local.INFO: Processing buffer {"connection_id":161498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:26:46] local.INFO: IMEI packet received {"connection_id":161498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":161498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:26:51] local.INFO: TCP Data received {"connection_id":161498,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:26:51] local.INFO: Processing buffer {"connection_id":161498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:26:51] local.INFO: IMEI packet received {"connection_id":161498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":161498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:26:52] local.INFO: TCP Data received {"connection_id":161498,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:26:52] local.INFO: Processing buffer {"connection_id":161498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:26:52] local.INFO: Packet analysis {"connection_id":161498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:26:52] local.INFO: Extracted packet for processing {"connection_id":161498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:26:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631328256001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:26:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787622676000,"timestamp_ms":1787622676000,"timestamp_seconds":1787622676,"priority":1,"record_length":96,"hex_timestamp":"000001a0369d5620"} 
[2026-08-25 07:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 07:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631328256001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631328256001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:26:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631328256001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":161498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:26:52] local.INFO: GPS data processed {"connection_id":161498,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:26:52] local.INFO: Acknowledgment sent {"connection_id":161498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:26:56] local.INFO: TCP Data received {"connection_id":161498,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:26:56] local.INFO: Processing buffer {"connection_id":161498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0369d5620012d34c3c006aa46b0000a006d28..."} 
[2026-08-25 07:26:56] local.INFO: Packet analysis {"connection_id":161498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:26:56] local.INFO: Extracted packet for processing {"connection_id":161498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0369d"} 
[2026-08-25 07:26:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631328256001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:26:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787622676000,"timestamp_ms":1787622676000,"timestamp_seconds":1787622676,"priority":1,"record_length":96,"hex_timestamp":"000001a0369d5620"} 
[2026-08-25 07:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 07:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 07:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631328256001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631328256001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:26:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631328256001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":161498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:26:56] local.INFO: GPS data processed {"connection_id":161498,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:26:56] local.INFO: Acknowledgment sent {"connection_id":161498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:27:40] local.INFO: TCP Data received {"connection_id":162729,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:27:40] local.INFO: Processing buffer {"connection_id":162729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:27:40] local.INFO: IMEI packet received {"connection_id":162729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":162729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:27:46] local.INFO: TCP Data received {"connection_id":162729,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:27:46] local.INFO: Processing buffer {"connection_id":162729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:27:46] local.INFO: IMEI packet received {"connection_id":162729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":162729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:27:47] local.INFO: TCP Data received {"connection_id":162729,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:27:47] local.INFO: Processing buffer {"connection_id":162729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:27:47] local.INFO: Packet analysis {"connection_id":162729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:27:47] local.INFO: Extracted packet for processing {"connection_id":162729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631405056001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:27:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787622977000,"timestamp_ms":1787622977000,"timestamp_seconds":1787622977,"priority":1,"record_length":96,"hex_timestamp":"000001a036a1ede8"} 
[2026-08-25 07:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631405056001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631405056001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631405056001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":162729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:27:47] local.INFO: GPS data processed {"connection_id":162729,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:27:47] local.INFO: Acknowledgment sent {"connection_id":162729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:28:19] local.INFO: TCP Data received {"connection_id":162729,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:28:19] local.INFO: Processing buffer {"connection_id":162729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:28:19] local.INFO: Packet analysis {"connection_id":162729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:28:19] local.INFO: Extracted packet for processing {"connection_id":162729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:28:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631405056001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:28:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787622977000,"timestamp_ms":1787622977000,"timestamp_seconds":1787622977,"priority":1,"record_length":96,"hex_timestamp":"000001a036a1ede8"} 
[2026-08-25 07: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-25 07:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631405056001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631405056001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:28:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631405056001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":162729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:28:19] local.INFO: GPS data processed {"connection_id":162729,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:28:19] local.INFO: Acknowledgment sent {"connection_id":162729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:28:41] local.INFO: TCP Data received {"connection_id":161499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:28:41] local.INFO: Processing buffer {"connection_id":161499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:28:41] local.INFO: IMEI packet received {"connection_id":161499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":161499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:28:46] local.INFO: TCP Data received {"connection_id":161499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:28:46] local.INFO: Processing buffer {"connection_id":161499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:28:46] local.INFO: IMEI packet received {"connection_id":161499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":161499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:28:47] local.INFO: TCP Data received {"connection_id":161499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:28:47] local.INFO: Processing buffer {"connection_id":161499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:28:47] local.INFO: Packet analysis {"connection_id":161499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:28:47] local.INFO: Extracted packet for processing {"connection_id":161499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631405056001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:28:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787622977000,"timestamp_ms":1787622977000,"timestamp_seconds":1787622977,"priority":1,"record_length":96,"hex_timestamp":"000001a036a1ede8"} 
[2026-08-25 07:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631405056001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631405056001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631405056001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":161499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:28:48] local.INFO: GPS data processed {"connection_id":161499,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:28:48] local.INFO: Acknowledgment sent {"connection_id":161499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:29:19] local.INFO: TCP Data received {"connection_id":161499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:29:19] local.INFO: Processing buffer {"connection_id":161499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:29:19] local.INFO: Packet analysis {"connection_id":161499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:29:19] local.INFO: Extracted packet for processing {"connection_id":161499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631405056001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:29:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787622977000,"timestamp_ms":1787622977000,"timestamp_seconds":1787622977,"priority":1,"record_length":96,"hex_timestamp":"000001a036a1ede8"} 
[2026-08-25 07:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:29: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-25 07:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631405056001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631405056001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631405056001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":161499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:29:19] local.INFO: GPS data processed {"connection_id":161499,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:29:19] local.INFO: Acknowledgment sent {"connection_id":161499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:29:40] local.INFO: TCP Data received {"connection_id":162730,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:29:40] local.INFO: Processing buffer {"connection_id":162730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:29:40] local.INFO: IMEI packet received {"connection_id":162730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":162730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:29:46] local.INFO: TCP Data received {"connection_id":162730,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:29:46] local.INFO: Processing buffer {"connection_id":162730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:29:46] local.INFO: IMEI packet received {"connection_id":162730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":162730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:29:47] local.INFO: TCP Data received {"connection_id":162730,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:29:47] local.INFO: Processing buffer {"connection_id":162730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:29:47] local.INFO: Packet analysis {"connection_id":162730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:29:47] local.INFO: Extracted packet for processing {"connection_id":162730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631405056001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:29:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787622977000,"timestamp_ms":1787622977000,"timestamp_seconds":1787622977,"priority":1,"record_length":96,"hex_timestamp":"000001a036a1ede8"} 
[2026-08-25 07:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631405056001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631405056001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631405056001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":162730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:29:47] local.INFO: GPS data processed {"connection_id":162730,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:29:47] local.INFO: Acknowledgment sent {"connection_id":162730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:30:18] local.INFO: TCP Data received {"connection_id":162730,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:30:18] local.INFO: Processing buffer {"connection_id":162730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:30:18] local.INFO: Packet analysis {"connection_id":162730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:30:18] local.INFO: Extracted packet for processing {"connection_id":162730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631405056001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:30:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787622977000,"timestamp_ms":1787622977000,"timestamp_seconds":1787622977,"priority":1,"record_length":96,"hex_timestamp":"000001a036a1ede8"} 
[2026-08-25 07:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:30:18] 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-25 07:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631405056001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631405056001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631405056001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":162730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:30:18] local.INFO: GPS data processed {"connection_id":162730,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:30:18] local.INFO: Acknowledgment sent {"connection_id":162730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:30:40] local.INFO: TCP Data received {"connection_id":162731,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:30:40] local.INFO: Processing buffer {"connection_id":162731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:30:40] local.INFO: IMEI packet received {"connection_id":162731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":162731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:30:46] local.INFO: TCP Data received {"connection_id":162731,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:30:46] local.INFO: Processing buffer {"connection_id":162731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:30:46] local.INFO: IMEI packet received {"connection_id":162731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":162731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:30:48] local.INFO: TCP Data received {"connection_id":162731,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:30:48] local.INFO: Processing buffer {"connection_id":162731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:30:48] local.INFO: Packet analysis {"connection_id":162731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:30:48] local.INFO: Extracted packet for processing {"connection_id":162731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631405056001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:30:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787622977000,"timestamp_ms":1787622977000,"timestamp_seconds":1787622977,"priority":1,"record_length":96,"hex_timestamp":"000001a036a1ede8"} 
[2026-08-25 07:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631405056001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631405056001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631405056001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":162731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:30:48] local.INFO: GPS data processed {"connection_id":162731,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:30:48] local.INFO: Acknowledgment sent {"connection_id":162731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:31:19] local.INFO: TCP Data received {"connection_id":162731,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:31:19] local.INFO: Processing buffer {"connection_id":162731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:31:19] local.INFO: Packet analysis {"connection_id":162731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:31:19] local.INFO: Extracted packet for processing {"connection_id":162731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631405056001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:31:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787622977000,"timestamp_ms":1787622977000,"timestamp_seconds":1787622977,"priority":1,"record_length":96,"hex_timestamp":"000001a036a1ede8"} 
[2026-08-25 07: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-25 07:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:31:19] 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-25 07:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631405056001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631405056001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631405056001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":162731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:31:19] local.INFO: GPS data processed {"connection_id":162731,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:31:19] local.INFO: Acknowledgment sent {"connection_id":162731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:31:40] local.INFO: TCP Data received {"connection_id":161500,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:31:40] local.INFO: Processing buffer {"connection_id":161500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:31:40] local.INFO: IMEI packet received {"connection_id":161500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":161500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:31:46] local.INFO: TCP Data received {"connection_id":161500,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:31:46] local.INFO: Processing buffer {"connection_id":161500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:31:46] local.INFO: IMEI packet received {"connection_id":161500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":161500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:31:47] local.INFO: TCP Data received {"connection_id":161500,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:31:47] local.INFO: Processing buffer {"connection_id":161500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a1ede8012d34c3c006aa46b0000e006d29..."} 
[2026-08-25 07:31:47] local.INFO: Packet analysis {"connection_id":161500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:31:47] local.INFO: Extracted packet for processing {"connection_id":161500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a1"} 
[2026-08-25 07:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631405056001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:31:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787622977000,"timestamp_ms":1787622977000,"timestamp_seconds":1787622977,"priority":1,"record_length":96,"hex_timestamp":"000001a036a1ede8"} 
[2026-08-25 07:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631405056001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631405056001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631405056001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":161500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:31:47] local.INFO: GPS data processed {"connection_id":161500,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:31:47] local.INFO: Acknowledgment sent {"connection_id":161500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:32:19] local.INFO: TCP Data received {"connection_id":161500,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:32:19] local.INFO: Processing buffer {"connection_id":161500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:32:19] local.INFO: Packet analysis {"connection_id":161500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:32:19] local.INFO: Extracted packet for processing {"connection_id":161500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:32:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631482112001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:32:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787623278000,"timestamp_ms":1787623278000,"timestamp_seconds":1787623278,"priority":1,"record_length":96,"hex_timestamp":"000001a036a685b0"} 
[2026-08-25 07:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631482112001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631482112001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:32:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631482112001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":161500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:32:19] local.INFO: GPS data processed {"connection_id":161500,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:32:19] local.INFO: Acknowledgment sent {"connection_id":161500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:32:41] local.INFO: TCP Data received {"connection_id":164121,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:32:41] local.INFO: Processing buffer {"connection_id":164121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:32:41] local.INFO: IMEI packet received {"connection_id":164121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":164121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:32:46] local.INFO: TCP Data received {"connection_id":164121,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:32:46] local.INFO: Processing buffer {"connection_id":164121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:32:46] local.INFO: IMEI packet received {"connection_id":164121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":164121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:32:47] local.INFO: TCP Data received {"connection_id":164121,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:32:47] local.INFO: Processing buffer {"connection_id":164121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:32:47] local.INFO: Packet analysis {"connection_id":164121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:32:47] local.INFO: Extracted packet for processing {"connection_id":164121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631482112001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:32:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787623278000,"timestamp_ms":1787623278000,"timestamp_seconds":1787623278,"priority":1,"record_length":96,"hex_timestamp":"000001a036a685b0"} 
[2026-08-25 07:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:32:47] 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-25 07:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631482112001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631482112001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631482112001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":164121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:32:47] local.INFO: GPS data processed {"connection_id":164121,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:32:47] local.INFO: Acknowledgment sent {"connection_id":164121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:33:18] local.INFO: TCP Data received {"connection_id":164121,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:33:18] local.INFO: Processing buffer {"connection_id":164121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:33:18] local.INFO: Packet analysis {"connection_id":164121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:33:18] local.INFO: Extracted packet for processing {"connection_id":164121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:33:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631482112001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787623278000,"timestamp_ms":1787623278000,"timestamp_seconds":1787623278,"priority":1,"record_length":96,"hex_timestamp":"000001a036a685b0"} 
[2026-08-25 07:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:33:18] 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-25 07:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631482112001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631482112001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:33:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631482112001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":164121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:33:18] local.INFO: GPS data processed {"connection_id":164121,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:33:18] local.INFO: Acknowledgment sent {"connection_id":164121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:33:40] local.INFO: TCP Data received {"connection_id":161501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:33:40] local.INFO: Processing buffer {"connection_id":161501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:33:40] local.INFO: IMEI packet received {"connection_id":161501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":161501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:33:46] local.INFO: TCP Data received {"connection_id":161501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:33:46] local.INFO: Processing buffer {"connection_id":161501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:33:46] local.INFO: IMEI packet received {"connection_id":161501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":161501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:33:47] local.INFO: TCP Data received {"connection_id":161501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:33:47] local.INFO: Processing buffer {"connection_id":161501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:33:47] local.INFO: Packet analysis {"connection_id":161501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:33:47] local.INFO: Extracted packet for processing {"connection_id":161501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631482112001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787623278000,"timestamp_ms":1787623278000,"timestamp_seconds":1787623278,"priority":1,"record_length":96,"hex_timestamp":"000001a036a685b0"} 
[2026-08-25 07:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:33: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-25 07:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631482112001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631482112001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631482112001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":161501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:33:47] local.INFO: GPS data processed {"connection_id":161501,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:33:47] local.INFO: Acknowledgment sent {"connection_id":161501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:33:49] local.INFO: TCP Data received {"connection_id":162732,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:33:49] local.INFO: Processing buffer {"connection_id":162732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:33:49] local.INFO: IMEI packet received {"connection_id":162732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":162732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:33:51] local.INFO: TCP Data received {"connection_id":162732,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:33:51] local.INFO: Processing buffer {"connection_id":162732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:33:51] local.INFO: IMEI packet received {"connection_id":162732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":162732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:33:53] local.INFO: TCP Data received {"connection_id":162732,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:33:53] local.INFO: Processing buffer {"connection_id":162732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:33:53] local.INFO: IMEI packet received {"connection_id":162732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":162732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:33:55] local.INFO: TCP Data received {"connection_id":162732,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036a7ba48012d1b7a40071f71c00052010a24..."} 
[2026-08-25 07:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a7ba48012d1b7a40071f71c00052010a24..."} 
[2026-08-25 07:33:55] local.INFO: Processing buffer {"connection_id":162732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a7ba48012d1b7a40071f71c00052010a24..."} 
[2026-08-25 07:33:55] local.INFO: Packet analysis {"connection_id":162732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a7"} 
[2026-08-25 07:33:55] local.INFO: Extracted packet for processing {"connection_id":162732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a7"} 
[2026-08-25 07:33:55] local.INFO: GPS Element Parsed {"raw_longitude":756775488,"raw_latitude":119501248,"longitude_deg":75.6775488,"latitude_deg":11.9501248,"altitude":82,"angle":266,"satellites":36,"speed":5,"hex_longitude":"2d1b7a40","hex_latitude":"071f71c0","is_valid_coordinates":true} 
[2026-08-25 07:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631579136001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15830106991755264,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1980176491751813120,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787623357000,"timestamp_ms":1787623357000,"timestamp_seconds":1787623357,"priority":1,"record_length":96,"hex_timestamp":"000001a036a7ba48"} 
[2026-08-25 07:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:33:55] 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-25 07:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733136896,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":658932929069580298,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503841173012480,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2809139201,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264515685,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3963431559176192256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84754238919876473,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":32,"raw_value":23926494610850560,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-8088457098976821162,"note":"Value kept but may cause issues"} 
[2026-08-25 07:33:55] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,16,61,160,155,45,192,117,84,36,10,66,157,147,128,37,139,1,240,179,227,54,31,4,113,205,108,134,120,239,56,2,7,85,5,206,136,32,27],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-25 07:33:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5981053138650988544,"timestamp_seconds":5981053138650989.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 07:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631579136001,"66":14352,"101":206,"83":41984,"24":5,"16":15830106991755264,"45":1980176491751813120},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631579136001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:33:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:33:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15830106991755264,"km_value":15830106991755.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1980176491751813120,"description":"Unknown IO ID 45"} 
[2026-08-25 07:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631579136001,"power":14352,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1980176491751813120}} 
[2026-08-25 07:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":162732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:33:55] local.INFO: GPS data processed {"connection_id":162732,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:33:55] local.INFO: Acknowledgment sent {"connection_id":162732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:34:18] local.INFO: TCP Data received {"connection_id":161501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:34:18] local.INFO: Processing buffer {"connection_id":161501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:34:18] local.INFO: Packet analysis {"connection_id":161501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:34:18] local.INFO: Extracted packet for processing {"connection_id":161501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631482112001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:34:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787623278000,"timestamp_ms":1787623278000,"timestamp_seconds":1787623278,"priority":1,"record_length":96,"hex_timestamp":"000001a036a685b0"} 
[2026-08-25 07:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:34: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-25 07:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631482112001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631482112001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631482112001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":161501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:34:18] local.INFO: GPS data processed {"connection_id":161501,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:34:18] local.INFO: Acknowledgment sent {"connection_id":161501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:34:19] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:34:19] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:34:19] local.INFO: IMEI packet received {"connection_id":161728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":161728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:34:20] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:34:20] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:34:20] local.INFO: IMEI packet received {"connection_id":161728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":161728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:34:21] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:34:21] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:34:21] local.INFO: IMEI packet received {"connection_id":161728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":161728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:34:26] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:34:26] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:34:26] local.INFO: IMEI packet received {"connection_id":161728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":161728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:34:26] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036a8b830012d1b3d40071f7548003f00f925..."} 
[2026-08-25 07:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a8b830012d1b3d40071f7548003f00f925..."} 
[2026-08-25 07:34:26] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a8b830012d1b3d40071f7548003f00f925..."} 
[2026-08-25 07:34:26] local.INFO: Packet analysis {"connection_id":161728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a8"} 
[2026-08-25 07:34:26] local.INFO: Extracted packet for processing {"connection_id":161728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a8"} 
[2026-08-25 07:34:26] local.INFO: GPS Element Parsed {"raw_longitude":756759872,"raw_latitude":119502152,"longitude_deg":75.6759872,"latitude_deg":11.9502152,"altitude":63,"angle":249,"satellites":37,"speed":19,"hex_longitude":"2d1b3d40","hex_latitude":"071f7548","is_valid_coordinates":true} 
[2026-08-25 07:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631595264001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15830991755018240,"note":"Value kept but may cause issues"} 
[2026-08-25 07:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964202786823845888,"note":"Value kept but may cause issues"} 
[2026-08-25 07:34:26] local.INFO: IO Element Parsed {"io_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-25 07:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787623422000,"timestamp_ms":1787623422000,"timestamp_seconds":1787623422,"priority":1,"record_length":96,"hex_timestamp":"000001a036a8b830"} 
[2026-08-25 07:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:34:26] 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-25 07:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 07:34:26] 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-25 07:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:34:26] 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-25 07:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631595264001,"66":14450,"101":206,"83":41984,"24":19,"16":15830991755018240,"45":1964202786823845888},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631595264001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:34:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:34:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15830991755018240,"km_value":15830991755018.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964202786823845888,"description":"Unknown IO ID 45"} 
[2026-08-25 07:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631595264001,"power":14450,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1964202786823845888}} 
[2026-08-25 07:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":161728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:34:27] local.INFO: GPS data processed {"connection_id":161728,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:34:27] local.INFO: Acknowledgment sent {"connection_id":161728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:34:40] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:34:40] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:34:40] local.INFO: IMEI packet received {"connection_id":161729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":161729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:34:46] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:34:46] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:34:46] local.INFO: IMEI packet received {"connection_id":161729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":161729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:34:47] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:34:47] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:34:47] local.INFO: Packet analysis {"connection_id":161729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:34:47] local.INFO: Extracted packet for processing {"connection_id":161729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631482112001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:34:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787623278000,"timestamp_ms":1787623278000,"timestamp_seconds":1787623278,"priority":1,"record_length":96,"hex_timestamp":"000001a036a685b0"} 
[2026-08-25 07:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:34: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-25 07:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631482112001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631482112001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631482112001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":161729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:34:47] local.INFO: GPS data processed {"connection_id":161729,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:34:47] local.INFO: Acknowledgment sent {"connection_id":161729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:34:57] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036a8c000012d1b3980071f7470003f010925..."} 
[2026-08-25 07:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a8c000012d1b3980071f7470003f010925..."} 
[2026-08-25 07:34:57] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a8c000012d1b3980071f7470003f010925..."} 
[2026-08-25 07:34:57] local.INFO: Packet analysis {"connection_id":161728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a8"} 
[2026-08-25 07:34:57] local.INFO: Extracted packet for processing {"connection_id":161728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a8"} 
[2026-08-25 07:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":119501936,"longitude_deg":75.6758912,"latitude_deg":11.9501936,"altitude":63,"angle":265,"satellites":37,"speed":19,"hex_longitude":"2d1b3980","hex_latitude":"071f7470","is_valid_coordinates":true} 
[2026-08-25 07:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631596032001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15831038999658496,"note":"Value kept but may cause issues"} 
[2026-08-25 07:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962795411940132864,"note":"Value kept but may cause issues"} 
[2026-08-25 07:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787623424000,"timestamp_ms":1787623424000,"timestamp_seconds":1787623424,"priority":1,"record_length":96,"hex_timestamp":"000001a036a8c000"} 
[2026-08-25 07:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 07:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-25 07:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:34:57] 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-25 07:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631596032001,"66":14428,"101":206,"83":41984,"24":19,"16":15831038999658496,"45":1962795411940132864},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631596032001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:34:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15831038999658496,"km_value":15831038999658.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962795411940132864,"description":"Unknown IO ID 45"} 
[2026-08-25 07:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631596032001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1962795411940132864}} 
[2026-08-25 07:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":161728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:34:57] local.INFO: GPS data processed {"connection_id":161728,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:34:57] local.INFO: Acknowledgment sent {"connection_id":161728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:35:18] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:35:18] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:35:18] local.INFO: Packet analysis {"connection_id":161729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:35:18] local.INFO: Extracted packet for processing {"connection_id":161729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631482112001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787623278000,"timestamp_ms":1787623278000,"timestamp_seconds":1787623278,"priority":1,"record_length":96,"hex_timestamp":"000001a036a685b0"} 
[2026-08-25 07:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:35: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-25 07:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631482112001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631482112001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631482112001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":161729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:35:18] local.INFO: GPS data processed {"connection_id":161729,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:35:18] local.INFO: Acknowledgment sent {"connection_id":161729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:35:20] local.INFO: TCP Data received {"connection_id":161502,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:35:20] local.INFO: Processing buffer {"connection_id":161502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:35:20] local.INFO: IMEI packet received {"connection_id":161502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":161502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:35:26] local.INFO: TCP Data received {"connection_id":161502,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:35:26] local.INFO: Processing buffer {"connection_id":161502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:35:26] local.INFO: IMEI packet received {"connection_id":161502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":161502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:35:26] local.INFO: TCP Data received {"connection_id":161502,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036a8cfa0012d1b3200071f74800040011725..."} 
[2026-08-25 07:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a8cfa0012d1b3200071f74800040011725..."} 
[2026-08-25 07:35:26] local.INFO: Processing buffer {"connection_id":161502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a8cfa0012d1b3200071f74800040011725..."} 
[2026-08-25 07:35:26] local.INFO: Packet analysis {"connection_id":161502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a8"} 
[2026-08-25 07:35:26] local.INFO: Extracted packet for processing {"connection_id":161502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a8"} 
[2026-08-25 07:35:26] local.INFO: GPS Element Parsed {"raw_longitude":756756992,"raw_latitude":119501952,"longitude_deg":75.6756992,"latitude_deg":11.9501952,"altitude":64,"angle":279,"satellites":37,"speed":18,"hex_longitude":"2d1b3200","hex_latitude":"071f7480","is_valid_coordinates":true} 
[2026-08-25 07:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631596544001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15831129193971712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739880777412608,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:26] local.INFO: IO Element Parsed {"io_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-25 07:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787623428000,"timestamp_ms":1787623428000,"timestamp_seconds":1787623428,"priority":1,"record_length":96,"hex_timestamp":"000001a036a8cfa0"} 
[2026-08-25 07:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:35:26] 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-25 07:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 07:35:26] 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-25 07:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:35:26] 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-25 07:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631596544001,"66":14070,"101":206,"83":41984,"24":18,"16":15831129193971712,"45":1961739880777412608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631596544001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:35:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:35:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15831129193971712,"km_value":15831129193971.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739880777412608,"description":"Unknown IO ID 45"} 
[2026-08-25 07:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631596544001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1961739880777412608}} 
[2026-08-25 07:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":161502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:35:27] local.INFO: GPS data processed {"connection_id":161502,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:35:27] local.INFO: Acknowledgment sent {"connection_id":161502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:35:46] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:35:46] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:35:46] local.INFO: IMEI packet received {"connection_id":161730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":161730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:35:51] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:35:51] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:35:51] local.INFO: IMEI packet received {"connection_id":161730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":161730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:35:51] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:35:51] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:35:51] local.INFO: Packet analysis {"connection_id":161730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:35:51] local.INFO: Extracted packet for processing {"connection_id":161730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631482112001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787623278000,"timestamp_ms":1787623278000,"timestamp_seconds":1787623278,"priority":1,"record_length":96,"hex_timestamp":"000001a036a685b0"} 
[2026-08-25 07:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:35: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-25 07:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631482112001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631482112001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631482112001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":161730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:35:51] local.INFO: GPS data processed {"connection_id":161730,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:35:51] local.INFO: Acknowledgment sent {"connection_id":161730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:35:56] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:35:56] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:35:56] local.INFO: Packet analysis {"connection_id":161730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:35:56] local.INFO: Extracted packet for processing {"connection_id":161730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:35:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631482112001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787623278000,"timestamp_ms":1787623278000,"timestamp_seconds":1787623278,"priority":1,"record_length":96,"hex_timestamp":"000001a036a685b0"} 
[2026-08-25 07: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-25 07:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 07:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07: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-25 07: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-25 07:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631482112001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631482112001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:35:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631482112001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":161730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:35:56] local.INFO: GPS data processed {"connection_id":161730,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:35:56] local.INFO: Acknowledgment sent {"connection_id":161730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:35:57] local.INFO: TCP Data received {"connection_id":161502,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036aa0820012d1ab640071f95680037011524..."} 
[2026-08-25 07:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036aa0820012d1ab640071f95680037011524..."} 
[2026-08-25 07:35:57] local.INFO: Processing buffer {"connection_id":161502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036aa0820012d1ab640071f95680037011524..."} 
[2026-08-25 07:35:57] local.INFO: Packet analysis {"connection_id":161502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036aa"} 
[2026-08-25 07:35:57] local.INFO: Extracted packet for processing {"connection_id":161502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036aa"} 
[2026-08-25 07:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756725312,"raw_latitude":119510376,"longitude_deg":75.6725312,"latitude_deg":11.9510376,"altitude":55,"angle":277,"satellites":36,"speed":24,"hex_longitude":"2d1ab640","hex_latitude":"071f9568","is_valid_coordinates":true} 
[2026-08-25 07:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631617024001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15832838590955520,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927540671109042176,"note":"Value kept but may cause issues"} 
[2026-08-25 07:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787623508000,"timestamp_ms":1787623508000,"timestamp_seconds":1787623508,"priority":1,"record_length":96,"hex_timestamp":"000001a036aa0820"} 
[2026-08-25 07:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 07:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-25 07:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:35:57] 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-25 07:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631617024001,"66":14396,"101":206,"83":41984,"24":24,"16":15832838590955520,"45":1927540671109042176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631617024001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:35:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15832838590955520,"km_value":15832838590955.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927540671109042176,"description":"Unknown IO ID 45"} 
[2026-08-25 07:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631617024001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1927540671109042176}} 
[2026-08-25 07:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":161502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:35:57] local.INFO: GPS data processed {"connection_id":161502,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:35:57] local.INFO: Acknowledgment sent {"connection_id":161502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:36:20] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:36:20] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:36:20] local.INFO: IMEI packet received {"connection_id":161503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":161503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:36:22] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:36:22] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:36:22] local.INFO: IMEI packet received {"connection_id":161503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":161503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:36:24] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:36:24] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:36:24] local.INFO: IMEI packet received {"connection_id":161503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":161503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:36:25] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:36:25] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:36:25] local.INFO: IMEI packet received {"connection_id":161503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":161503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:36:26] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036aa2760012d1aa300071f98d00038012625..."} 
[2026-08-25 07:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036aa2760012d1aa300071f98d00038012625..."} 
[2026-08-25 07:36:26] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036aa2760012d1aa300071f98d00038012625..."} 
[2026-08-25 07:36:26] local.INFO: Packet analysis {"connection_id":161503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036aa"} 
[2026-08-25 07:36:26] local.INFO: Extracted packet for processing {"connection_id":161503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036aa"} 
[2026-08-25 07:36:26] local.INFO: GPS Element Parsed {"raw_longitude":756720384,"raw_latitude":119511248,"longitude_deg":75.6720384,"latitude_deg":11.9511248,"altitude":56,"angle":294,"satellites":37,"speed":24,"hex_longitude":"2d1aa300","hex_latitude":"071f98d0","is_valid_coordinates":true} 
[2026-08-25 07:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631618048001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15833079109124096,"note":"Value kept but may cause issues"} 
[2026-08-25 07:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924796290086299648,"note":"Value kept but may cause issues"} 
[2026-08-25 07:36:26] local.INFO: IO Element Parsed {"io_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-25 07:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787623516000,"timestamp_ms":1787623516000,"timestamp_seconds":1787623516,"priority":1,"record_length":96,"hex_timestamp":"000001a036aa2760"} 
[2026-08-25 07:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:36:26] 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-25 07:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-25 07:36:26] 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-25 07:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:36:26] 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-25 07:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631618048001,"66":14428,"101":206,"83":41984,"24":24,"16":15833079109124096,"45":1924796290086299648},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631618048001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:36:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:36:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15833079109124096,"km_value":15833079109124.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924796290086299648,"description":"Unknown IO ID 45"} 
[2026-08-25 07:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631618048001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1924796290086299648}} 
[2026-08-25 07:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":161503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:36:26] local.INFO: GPS data processed {"connection_id":161503,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:36:26] local.INFO: Acknowledgment sent {"connection_id":161503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:36:41] local.INFO: TCP Data received {"connection_id":161731,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:36:41] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:36:41] local.INFO: IMEI packet received {"connection_id":161731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":161731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:36:46] local.INFO: TCP Data received {"connection_id":161731,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:36:46] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:36:46] local.INFO: IMEI packet received {"connection_id":161731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":161731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:36:47] local.INFO: TCP Data received {"connection_id":161731,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:36:47] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036a685b0012d34c3c006aa46b0000b006d2a..."} 
[2026-08-25 07:36:47] local.INFO: Packet analysis {"connection_id":161731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:36:47] local.INFO: Extracted packet for processing {"connection_id":161731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036a6"} 
[2026-08-25 07:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":11,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631482112001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:36:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787623278000,"timestamp_ms":1787623278000,"timestamp_seconds":1787623278,"priority":1,"record_length":96,"hex_timestamp":"000001a036a685b0"} 
[2026-08-25 07:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631482112001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631482112001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631482112001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":161731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:36:47] local.INFO: GPS data processed {"connection_id":161731,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:36:47] local.INFO: Acknowledgment sent {"connection_id":161731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:36:57] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036aa2f30012d1a9f00071f9b680038013525..."} 
[2026-08-25 07:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036aa2f30012d1a9f00071f9b680038013525..."} 
[2026-08-25 07:36:57] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036aa2f30012d1a9f00071f9b680038013525..."} 
[2026-08-25 07:36:57] local.INFO: Packet analysis {"connection_id":161503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036aa"} 
[2026-08-25 07:36:57] local.INFO: Extracted packet for processing {"connection_id":161503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036aa"} 
[2026-08-25 07:36:57] local.INFO: GPS Element Parsed {"raw_longitude":756719360,"raw_latitude":119511912,"longitude_deg":75.671936,"latitude_deg":11.9511912,"altitude":56,"angle":309,"satellites":37,"speed":24,"hex_longitude":"2d1a9f00","hex_latitude":"071f9b68","is_valid_coordinates":true} 
[2026-08-25 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-25 07:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631620096001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15833139238666240,"note":"Value kept but may cause issues"} 
[2026-08-25 07:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919377896784842752,"note":"Value kept but may cause issues"} 
[2026-08-25 07:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787623518000,"timestamp_ms":1787623518000,"timestamp_seconds":1787623518,"priority":1,"record_length":96,"hex_timestamp":"000001a036aa2f30"} 
[2026-08-25 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-25 07:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 07:36:57] 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-25 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-25 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-25 07:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:36:57] 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-25 07:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631620096001,"66":14396,"101":206,"83":41984,"24":24,"16":15833139238666240,"45":1919377896784842752},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631620096001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:36:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:36:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15833139238666240,"km_value":15833139238666.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919377896784842752,"description":"Unknown IO ID 45"} 
[2026-08-25 07:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631620096001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1919377896784842752}} 
[2026-08-25 07:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":161503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:36:57] local.INFO: GPS data processed {"connection_id":161503,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:36:57] local.INFO: Acknowledgment sent {"connection_id":161503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:37:17] local.INFO: TCP Data received {"connection_id":161731,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:37:17] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:37:17] local.INFO: Packet analysis {"connection_id":161731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:37:17] local.INFO: Extracted packet for processing {"connection_id":161731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631559168001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:37:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787623579000,"timestamp_ms":1787623579000,"timestamp_seconds":1787623579,"priority":1,"record_length":96,"hex_timestamp":"000001a036ab1d78"} 
[2026-08-25 07:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631559168001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631559168001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631559168001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":161731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:37:17] local.INFO: GPS data processed {"connection_id":161731,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:37:17] local.INFO: Acknowledgment sent {"connection_id":161731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:37:26] local.INFO: TCP Data received {"connection_id":164122,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:37:26] local.INFO: Processing buffer {"connection_id":164122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:37:26] local.INFO: IMEI packet received {"connection_id":164122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":164122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:37:28] local.INFO: TCP Data received {"connection_id":164122,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:37:28] local.INFO: Processing buffer {"connection_id":164122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:37:28] local.INFO: IMEI packet received {"connection_id":164122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":164122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:37:28] local.INFO: TCP Data received {"connection_id":164122,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036ab3100012d19fa00071ffbb00031011426..."} 
[2026-08-25 07:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ab3100012d19fa00071ffbb00031011426..."} 
[2026-08-25 07:37:28] local.INFO: Processing buffer {"connection_id":164122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ab3100012d19fa00071ffbb00031011426..."} 
[2026-08-25 07:37:28] local.INFO: Packet analysis {"connection_id":164122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:37:28] local.INFO: Extracted packet for processing {"connection_id":164122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756677120,"raw_latitude":119536560,"longitude_deg":75.667712,"latitude_deg":11.953656,"altitude":49,"angle":276,"satellites":38,"speed":29,"hex_longitude":"2d19fa00","hex_latitude":"071ffbb0","is_valid_coordinates":true} 
[2026-08-25 07:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631636992001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835587370024960,"note":"Value kept but may cause issues"} 
[2026-08-25 07:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1873427106843215872,"note":"Value kept but may cause issues"} 
[2026-08-25 07:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787623584000,"timestamp_ms":1787623584000,"timestamp_seconds":1787623584,"priority":1,"record_length":96,"hex_timestamp":"000001a036ab3100"} 
[2026-08-25 07:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:37:28] 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-25 07:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-25 07:37:28] 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-25 07:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:37:28] 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-25 07:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631636992001,"66":14450,"101":206,"83":41984,"24":29,"16":15835587370024960,"45":1873427106843215872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631636992001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:37:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835587370024960,"km_value":15835587370024.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1873427106843215872,"description":"Unknown IO ID 45"} 
[2026-08-25 07:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631636992001,"power":14450,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1873427106843215872}} 
[2026-08-25 07:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":164122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:37:29] local.INFO: GPS data processed {"connection_id":164122,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:37:29] local.INFO: Acknowledgment sent {"connection_id":164122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:37:30] local.INFO: TCP Data received {"connection_id":164122,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036ab38d0012d19f440071ffb780031010527..."} 
[2026-08-25 07:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ab38d0012d19f440071ffb780031010527..."} 
[2026-08-25 07:37:30] local.INFO: Processing buffer {"connection_id":164122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ab38d0012d19f440071ffb780031010527..."} 
[2026-08-25 07:37:30] local.INFO: Packet analysis {"connection_id":164122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:37:30] local.INFO: Extracted packet for processing {"connection_id":164122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:37:30] local.INFO: GPS Element Parsed {"raw_longitude":756675648,"raw_latitude":119536504,"longitude_deg":75.6675648,"latitude_deg":11.9536504,"altitude":49,"angle":261,"satellites":39,"speed":28,"hex_longitude":"2d19f440","hex_latitude":"071ffb78","is_valid_coordinates":true} 
[2026-08-25 07:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631637504001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835656089501696,"note":"Value kept but may cause issues"} 
[2026-08-25 07:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871808625727221760,"note":"Value kept but may cause issues"} 
[2026-08-25 07:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787623586000,"timestamp_ms":1787623586000,"timestamp_seconds":1787623586,"priority":1,"record_length":96,"hex_timestamp":"000001a036ab38d0"} 
[2026-08-25 07:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:37:30] 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-25 07:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-25 07:37:30] 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-25 07:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:37:30] 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-25 07:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631637504001,"66":14428,"101":206,"83":41984,"24":28,"16":15835656089501696,"45":1871808625727221760},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631637504001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:37:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:37:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835656089501696,"km_value":15835656089501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871808625727221760,"description":"Unknown IO ID 45"} 
[2026-08-25 07:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631637504001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1871808625727221760}} 
[2026-08-25 07:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":164122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:37:30] local.INFO: GPS data processed {"connection_id":164122,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:37:30] local.INFO: Acknowledgment sent {"connection_id":164122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:37:40] local.INFO: TCP Data received {"connection_id":161504,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:37:40] local.INFO: Processing buffer {"connection_id":161504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:37:40] local.INFO: IMEI packet received {"connection_id":161504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":161504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:37:46] local.INFO: TCP Data received {"connection_id":161504,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:37:46] local.INFO: Processing buffer {"connection_id":161504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:37:46] local.INFO: IMEI packet received {"connection_id":161504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":161504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:37:46] local.INFO: TCP Data received {"connection_id":161504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:37:46] local.INFO: Processing buffer {"connection_id":161504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:37:46] local.INFO: Packet analysis {"connection_id":161504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:37:46] local.INFO: Extracted packet for processing {"connection_id":161504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631559168001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:37:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787623579000,"timestamp_ms":1787623579000,"timestamp_seconds":1787623579,"priority":1,"record_length":96,"hex_timestamp":"000001a036ab1d78"} 
[2026-08-25 07:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631559168001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631559168001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631559168001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":161504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:37:47] local.INFO: GPS data processed {"connection_id":161504,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:37:47] local.INFO: Acknowledgment sent {"connection_id":161504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:38:01] local.INFO: TCP Data received {"connection_id":164122,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036abc958012d19c640071ff168002f010627..."} 
[2026-08-25 07:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036abc958012d19c640071ff168002f010627..."} 
[2026-08-25 07:38:01] local.INFO: Processing buffer {"connection_id":164122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036abc958012d19c640071ff168002f010627..."} 
[2026-08-25 07:38:01] local.INFO: Packet analysis {"connection_id":164122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:38:01] local.INFO: Extracted packet for processing {"connection_id":164122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:38:01] local.INFO: GPS Element Parsed {"raw_longitude":756663872,"raw_latitude":119533928,"longitude_deg":75.6663872,"latitude_deg":11.9533928,"altitude":47,"angle":262,"satellites":39,"speed":14,"hex_longitude":"2d19c640","hex_latitude":"071ff168","is_valid_coordinates":true} 
[2026-08-25 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-25 07:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631646976001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15836416298713088,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858016351867756544,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787623623000,"timestamp_ms":1787623623000,"timestamp_seconds":1787623623,"priority":1,"record_length":96,"hex_timestamp":"000001a036abc958"} 
[2026-08-25 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-25 07:38:01] 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-25 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-25 07:38:01] 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-25 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-25 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-25 07:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":164122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":164122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":164122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:38:01] 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-25 07:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631646976001,"66":14298,"101":206,"83":41984,"24":14,"16":15836416298713088,"45":1858016351867756544},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631646976001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:38:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:38:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15836416298713088,"km_value":15836416298713.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858016351867756544,"description":"Unknown IO ID 45"} 
[2026-08-25 07:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631646976001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1858016351867756544}} 
[2026-08-25 07:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":164122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:38:01] local.INFO: GPS data processed {"connection_id":164122,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:38:01] local.INFO: Acknowledgment sent {"connection_id":164122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:38:18] local.INFO: TCP Data received {"connection_id":161504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:38:18] local.INFO: Processing buffer {"connection_id":161504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:38:18] local.INFO: Packet analysis {"connection_id":161504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:38:18] local.INFO: Extracted packet for processing {"connection_id":161504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631559168001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787623579000,"timestamp_ms":1787623579000,"timestamp_seconds":1787623579,"priority":1,"record_length":96,"hex_timestamp":"000001a036ab1d78"} 
[2026-08-25 07:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:38:18] 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-25 07:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631559168001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631559168001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631559168001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":161504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:38:18] local.INFO: GPS data processed {"connection_id":161504,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:38:18] local.INFO: Acknowledgment sent {"connection_id":161504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:38:20] local.INFO: TCP Data received {"connection_id":162733,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:38:20] local.INFO: Processing buffer {"connection_id":162733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:38:20] local.INFO: IMEI packet received {"connection_id":162733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":162733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:38:25] local.INFO: TCP Data received {"connection_id":162733,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:38:25] local.INFO: Processing buffer {"connection_id":162733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:38:25] local.INFO: IMEI packet received {"connection_id":162733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":162733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:38:26] local.INFO: TCP Data received {"connection_id":162733,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036abf838012d19aec0071fef500031011824..."} 
[2026-08-25 07:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036abf838012d19aec0071fef500031011824..."} 
[2026-08-25 07:38:26] local.INFO: Processing buffer {"connection_id":162733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036abf838012d19aec0071fef500031011824..."} 
[2026-08-25 07:38:26] local.INFO: Packet analysis {"connection_id":162733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:38:26] local.INFO: Extracted packet for processing {"connection_id":162733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:38:26] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119533392,"longitude_deg":75.6657856,"latitude_deg":11.9533392,"altitude":49,"angle":280,"satellites":36,"speed":22,"hex_longitude":"2d19aec0","hex_latitude":"071fef50","is_valid_coordinates":true} 
[2026-08-25 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-25 07:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631647488001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15836704061521920,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295681771520,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:26] local.INFO: IO Element Parsed {"io_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-25 07:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787623635000,"timestamp_ms":1787623635000,"timestamp_seconds":1787623635,"priority":1,"record_length":96,"hex_timestamp":"000001a036abf838"} 
[2026-08-25 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-25 07:38:26] 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-25 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-25 07:38:26] 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-25 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-25 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-25 07:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:38:26] 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-25 07:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631647488001,"66":14396,"101":206,"83":41984,"24":22,"16":15836704061521920,"45":1857242295681771520},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 07:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631647488001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:38:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 07:38:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15836704061521920,"km_value":15836704061521.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295681771520,"description":"Unknown IO ID 45"} 
[2026-08-25 07:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631647488001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1857242295681771520}} 
[2026-08-25 07:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":162733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:38:26] local.INFO: GPS data processed {"connection_id":162733,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:38:26] local.INFO: Acknowledgment sent {"connection_id":162733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:38:40] local.INFO: TCP Data received {"connection_id":161505,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:38:40] local.INFO: Processing buffer {"connection_id":161505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:38:40] local.INFO: IMEI packet received {"connection_id":161505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":161505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:38:46] local.INFO: TCP Data received {"connection_id":161505,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:38:46] local.INFO: Processing buffer {"connection_id":161505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:38:46] local.INFO: IMEI packet received {"connection_id":161505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":161505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:38:47] local.INFO: TCP Data received {"connection_id":161505,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:38:47] local.INFO: Processing buffer {"connection_id":161505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:38:47] local.INFO: Packet analysis {"connection_id":161505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:38:47] local.INFO: Extracted packet for processing {"connection_id":161505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631559168001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787623579000,"timestamp_ms":1787623579000,"timestamp_seconds":1787623579,"priority":1,"record_length":96,"hex_timestamp":"000001a036ab1d78"} 
[2026-08-25 07:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631559168001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631559168001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631559168001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":161505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:38:47] local.INFO: GPS data processed {"connection_id":161505,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:38:47] local.INFO: Acknowledgment sent {"connection_id":161505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:38:57] local.INFO: TCP Data received {"connection_id":162733,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:38:57] local.INFO: Processing buffer {"connection_id":162733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:38:57] local.INFO: Packet analysis {"connection_id":162733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:38:57] local.INFO: Extracted packet for processing {"connection_id":162733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532776,"longitude_deg":75.664032,"latitude_deg":11.9532776,"altitude":62,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196a40","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-08-25 07:38: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-25 07:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631664384001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832683603963484160,"note":"Value kept but may cause issues"} 
[2026-08-25 07:38: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-25 07:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787623695000,"timestamp_ms":1787623695000,"timestamp_seconds":1787623695,"priority":1,"record_length":96,"hex_timestamp":"000001a036ace298"} 
[2026-08-25 07:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 07:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-25 07:38:57] 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-25 07:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:38:57] 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-25 07:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631664384001,"66":12993,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1832683603963484160},"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-25 07:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631664384001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:38:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832683603963484160,"description":"Unknown IO ID 45"} 
[2026-08-25 07:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631664384001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832683603963484160}} 
[2026-08-25 07:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":162733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:38:57] local.INFO: GPS data processed {"connection_id":162733,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:38:57] local.INFO: Acknowledgment sent {"connection_id":162733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:39:18] local.INFO: TCP Data received {"connection_id":161505,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:39:18] local.INFO: Processing buffer {"connection_id":161505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:39:18] local.INFO: Packet analysis {"connection_id":161505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:39:18] local.INFO: Extracted packet for processing {"connection_id":161505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631559168001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:39:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787623579000,"timestamp_ms":1787623579000,"timestamp_seconds":1787623579,"priority":1,"record_length":96,"hex_timestamp":"000001a036ab1d78"} 
[2026-08-25 07:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:39:18] 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-25 07:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631559168001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631559168001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631559168001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":161505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:39:18] local.INFO: GPS data processed {"connection_id":161505,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:39:18] local.INFO: Acknowledgment sent {"connection_id":161505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:39:21] local.INFO: TCP Data received {"connection_id":161732,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:39:21] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:39:21] local.INFO: IMEI packet received {"connection_id":161732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":161732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:39:26] local.INFO: TCP Data received {"connection_id":161732,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:39:26] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:39:26] local.INFO: IMEI packet received {"connection_id":161732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":161732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:39:26] local.INFO: TCP Data received {"connection_id":161732,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:39:26] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:39:26] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:39:26] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:39:26] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532776,"longitude_deg":75.664032,"latitude_deg":11.9532776,"altitude":62,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196a40","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-08-25 07:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:39: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-25 07:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787623695000,"timestamp_ms":1787623695000,"timestamp_seconds":1787623695,"priority":1,"record_length":96,"hex_timestamp":"000001a036ace298"} 
[2026-08-25 07:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:39:26] 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-25 07:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:39:26] 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-25 07:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":12993,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:39:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:39:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:39:26] local.INFO: GPS data processed {"connection_id":161732,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:39:26] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:39:40] local.INFO: TCP Data received {"connection_id":161506,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:39:40] local.INFO: Processing buffer {"connection_id":161506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:39:40] local.INFO: IMEI packet received {"connection_id":161506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":161506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:39:46] local.INFO: TCP Data received {"connection_id":161506,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:39:46] local.INFO: Processing buffer {"connection_id":161506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:39:46] local.INFO: IMEI packet received {"connection_id":161506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":161506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:39:47] local.INFO: TCP Data received {"connection_id":161506,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:39:47] local.INFO: Processing buffer {"connection_id":161506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:39:47] local.INFO: Packet analysis {"connection_id":161506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:39:47] local.INFO: Extracted packet for processing {"connection_id":161506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631559168001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:39:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787623579000,"timestamp_ms":1787623579000,"timestamp_seconds":1787623579,"priority":1,"record_length":96,"hex_timestamp":"000001a036ab1d78"} 
[2026-08-25 07:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631559168001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631559168001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631559168001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":161506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:39:47] local.INFO: GPS data processed {"connection_id":161506,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:39:47] local.INFO: Acknowledgment sent {"connection_id":161506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:39:58] local.INFO: TCP Data received {"connection_id":161732,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:39:58] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:39:58] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:39:58] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:39:58] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532776,"longitude_deg":75.664032,"latitude_deg":11.9532776,"altitude":62,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196a40","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-08-25 07:39:58] 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-25 07:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787623695000,"timestamp_ms":1787623695000,"timestamp_seconds":1787623695,"priority":1,"record_length":96,"hex_timestamp":"000001a036ace298"} 
[2026-08-25 07:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:39:58] 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-25 07:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:39:58] 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-25 07:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:39:58] 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-25 07:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":12993,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:39:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:39:58] local.INFO: GPS data processed {"connection_id":161732,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:39:58] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:40:18] local.INFO: TCP Data received {"connection_id":161506,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:40:18] local.INFO: Processing buffer {"connection_id":161506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:40:18] local.INFO: Packet analysis {"connection_id":161506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:40:18] local.INFO: Extracted packet for processing {"connection_id":161506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631559168001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:40:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787623579000,"timestamp_ms":1787623579000,"timestamp_seconds":1787623579,"priority":1,"record_length":96,"hex_timestamp":"000001a036ab1d78"} 
[2026-08-25 07:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631559168001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631559168001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631559168001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":161506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:40:18] local.INFO: GPS data processed {"connection_id":161506,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:40:18] local.INFO: Acknowledgment sent {"connection_id":161506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:40:21] local.INFO: TCP Data received {"connection_id":161507,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:40:21] local.INFO: Processing buffer {"connection_id":161507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:40:21] local.INFO: IMEI packet received {"connection_id":161507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":161507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:40:26] local.INFO: TCP Data received {"connection_id":161507,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:40:26] local.INFO: Processing buffer {"connection_id":161507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:40:26] local.INFO: IMEI packet received {"connection_id":161507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":161507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:40:26] local.INFO: TCP Data received {"connection_id":161507,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:40:26] local.INFO: Processing buffer {"connection_id":161507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:40:26] local.INFO: Packet analysis {"connection_id":161507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:40:26] local.INFO: Extracted packet for processing {"connection_id":161507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:40:26] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532776,"longitude_deg":75.664032,"latitude_deg":11.9532776,"altitude":62,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196a40","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-08-25 07:40:26] 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-25 07:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:40: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-25 07:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787623695000,"timestamp_ms":1787623695000,"timestamp_seconds":1787623695,"priority":1,"record_length":96,"hex_timestamp":"000001a036ace298"} 
[2026-08-25 07:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:40:26] 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-25 07:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:40:26] 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-25 07:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":12993,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:40:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:40:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":161507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:40:27] local.INFO: GPS data processed {"connection_id":161507,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:40:27] local.INFO: Acknowledgment sent {"connection_id":161507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:40:41] local.INFO: TCP Data received {"connection_id":161508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:40:41] local.INFO: Processing buffer {"connection_id":161508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:40:41] local.INFO: IMEI packet received {"connection_id":161508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":161508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:40:46] local.INFO: TCP Data received {"connection_id":161508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:40:46] local.INFO: Processing buffer {"connection_id":161508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:40:46] local.INFO: IMEI packet received {"connection_id":161508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":161508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:40:47] local.INFO: TCP Data received {"connection_id":161508,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:40:47] local.INFO: Processing buffer {"connection_id":161508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:40:47] local.INFO: Packet analysis {"connection_id":161508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:40:47] local.INFO: Extracted packet for processing {"connection_id":161508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631559168001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:40:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787623579000,"timestamp_ms":1787623579000,"timestamp_seconds":1787623579,"priority":1,"record_length":96,"hex_timestamp":"000001a036ab1d78"} 
[2026-08-25 07: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-25 07:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631559168001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631559168001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631559168001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":161508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:40:47] local.INFO: GPS data processed {"connection_id":161508,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:40:47] local.INFO: Acknowledgment sent {"connection_id":161508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:40:58] local.INFO: TCP Data received {"connection_id":161507,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:40:58] local.INFO: Processing buffer {"connection_id":161507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:40:58] local.INFO: Packet analysis {"connection_id":161507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:40:58] local.INFO: Extracted packet for processing {"connection_id":161507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:40:58] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532776,"longitude_deg":75.664032,"latitude_deg":11.9532776,"altitude":62,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196a40","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-08-25 07:40:58] 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-25 07:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787623695000,"timestamp_ms":1787623695000,"timestamp_seconds":1787623695,"priority":1,"record_length":96,"hex_timestamp":"000001a036ace298"} 
[2026-08-25 07:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:40:58] 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-25 07:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:40:58] 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-25 07:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:40:58] 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-25 07:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":12993,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:40:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:40:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":161507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:40:58] local.INFO: GPS data processed {"connection_id":161507,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:40:58] local.INFO: Acknowledgment sent {"connection_id":161507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:41:19] local.INFO: TCP Data received {"connection_id":161508,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:41:19] local.INFO: Processing buffer {"connection_id":161508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:41:19] local.INFO: Packet analysis {"connection_id":161508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:41:19] local.INFO: Extracted packet for processing {"connection_id":161508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631559168001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787623579000,"timestamp_ms":1787623579000,"timestamp_seconds":1787623579,"priority":1,"record_length":96,"hex_timestamp":"000001a036ab1d78"} 
[2026-08-25 07: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-25 07:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:41:19] 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-25 07:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631559168001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631559168001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631559168001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":161508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:41:19] local.INFO: GPS data processed {"connection_id":161508,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:41:19] local.INFO: Acknowledgment sent {"connection_id":161508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:41:21] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:41:21] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:41:21] local.INFO: IMEI packet received {"connection_id":161509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":161509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:41:26] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:41:26] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:41:26] local.INFO: IMEI packet received {"connection_id":161509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":161509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:41:27] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:41:27] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:41:27] local.INFO: Packet analysis {"connection_id":161509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:41:27] local.INFO: Extracted packet for processing {"connection_id":161509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532776,"longitude_deg":75.664032,"latitude_deg":11.9532776,"altitude":62,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196a40","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-08-25 07:41:27] 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-25 07:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787623695000,"timestamp_ms":1787623695000,"timestamp_seconds":1787623695,"priority":1,"record_length":96,"hex_timestamp":"000001a036ace298"} 
[2026-08-25 07: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-25 07:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:41:27] 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-25 07: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-25 07: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-25 07:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:41:27] 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-25 07:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":12993,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:41:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":161509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:41:27] local.INFO: GPS data processed {"connection_id":161509,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:41:27] local.INFO: Acknowledgment sent {"connection_id":161509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:41:46] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:41:46] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:41:46] local.INFO: IMEI packet received {"connection_id":161733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":161733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:41:51] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:41:51] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:41:51] local.INFO: IMEI packet received {"connection_id":161733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":161733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:41:52] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:41:52] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:41:52] local.INFO: Packet analysis {"connection_id":161733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:41:52] local.INFO: Extracted packet for processing {"connection_id":161733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631559168001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787623579000,"timestamp_ms":1787623579000,"timestamp_seconds":1787623579,"priority":1,"record_length":96,"hex_timestamp":"000001a036ab1d78"} 
[2026-08-25 07: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-25 07:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631559168001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631559168001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631559168001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":161733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:41:52] local.INFO: GPS data processed {"connection_id":161733,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:41:52] local.INFO: Acknowledgment sent {"connection_id":161733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:41:57] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:41:57] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ab1d78012d34c3c006aa46b0000e006d27..."} 
[2026-08-25 07:41:57] local.INFO: Packet analysis {"connection_id":161733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:41:57] local.INFO: Extracted packet for processing {"connection_id":161733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ab"} 
[2026-08-25 07:41:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":14,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631559168001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787623579000,"timestamp_ms":1787623579000,"timestamp_seconds":1787623579,"priority":1,"record_length":96,"hex_timestamp":"000001a036ab1d78"} 
[2026-08-25 07:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:41:57] local.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-25 07:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631559168001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631559168001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:41:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631559168001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":161733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:41:57] local.INFO: GPS data processed {"connection_id":161733,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:41:57] local.INFO: Acknowledgment sent {"connection_id":161733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:41:58] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:41:58] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:41:58] local.INFO: Packet analysis {"connection_id":161509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:41:58] local.INFO: Extracted packet for processing {"connection_id":161509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:41:58] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532776,"longitude_deg":75.664032,"latitude_deg":11.9532776,"altitude":62,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196a40","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-08-25 07:41:58] 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-25 07:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787623695000,"timestamp_ms":1787623695000,"timestamp_seconds":1787623695,"priority":1,"record_length":96,"hex_timestamp":"000001a036ace298"} 
[2026-08-25 07:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:41:58] 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-25 07:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:41:58] 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-25 07:41: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-25 07:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:41:58] 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-25 07:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":12993,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:41:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:41:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":161509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:41:58] local.INFO: GPS data processed {"connection_id":161509,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:41:58] local.INFO: Acknowledgment sent {"connection_id":161509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:42:20] local.INFO: TCP Data received {"connection_id":161510,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:42:20] local.INFO: Processing buffer {"connection_id":161510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:42:20] local.INFO: IMEI packet received {"connection_id":161510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":161510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:42:26] local.INFO: TCP Data received {"connection_id":161510,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:42:26] local.INFO: Processing buffer {"connection_id":161510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:42:26] local.INFO: IMEI packet received {"connection_id":161510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":161510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:42:26] local.INFO: TCP Data received {"connection_id":161510,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:42:26] local.INFO: Processing buffer {"connection_id":161510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:42:26] local.INFO: Packet analysis {"connection_id":161510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:42:26] local.INFO: Extracted packet for processing {"connection_id":161510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:42:26] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532776,"longitude_deg":75.664032,"latitude_deg":11.9532776,"altitude":62,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196a40","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-08-25 07:42:26] 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-25 07:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:42: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-25 07:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787623695000,"timestamp_ms":1787623695000,"timestamp_seconds":1787623695,"priority":1,"record_length":96,"hex_timestamp":"000001a036ace298"} 
[2026-08-25 07:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:42:26] 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-25 07:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:42:26] 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-25 07:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":12993,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:42:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:42:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":161510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:42:27] local.INFO: GPS data processed {"connection_id":161510,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:42:27] local.INFO: Acknowledgment sent {"connection_id":161510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:42:40] local.INFO: TCP Data received {"connection_id":161511,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:42:40] local.INFO: Processing buffer {"connection_id":161511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:42:40] local.INFO: IMEI packet received {"connection_id":161511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":161511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:42:46] local.INFO: TCP Data received {"connection_id":161511,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:42:46] local.INFO: Processing buffer {"connection_id":161511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:42:46] local.INFO: IMEI packet received {"connection_id":161511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":161511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:42:47] local.INFO: TCP Data received {"connection_id":161511,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:42:47] local.INFO: Processing buffer {"connection_id":161511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:42:47] local.INFO: Packet analysis {"connection_id":161511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:42:47] local.INFO: Extracted packet for processing {"connection_id":161511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631636224001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:42:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787623880000,"timestamp_ms":1787623880000,"timestamp_seconds":1787623880,"priority":1,"record_length":96,"hex_timestamp":"000001a036afb540"} 
[2026-08-25 07:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631636224001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631636224001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631636224001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":161511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:42:47] local.INFO: GPS data processed {"connection_id":161511,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:42:47] local.INFO: Acknowledgment sent {"connection_id":161511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:42:58] local.INFO: TCP Data received {"connection_id":161510,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:42:58] local.INFO: Processing buffer {"connection_id":161510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:42:58] local.INFO: Packet analysis {"connection_id":161510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:42:58] local.INFO: Extracted packet for processing {"connection_id":161510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:42:58] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532776,"longitude_deg":75.664032,"latitude_deg":11.9532776,"altitude":62,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196a40","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-08-25 07:42:58] 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-25 07:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787623695000,"timestamp_ms":1787623695000,"timestamp_seconds":1787623695,"priority":1,"record_length":96,"hex_timestamp":"000001a036ace298"} 
[2026-08-25 07:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:42:58] 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-25 07:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:42:58] 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-25 07:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:42:58] 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-25 07:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":12993,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:42:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:42:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":161510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:42:58] local.INFO: GPS data processed {"connection_id":161510,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:42:58] local.INFO: Acknowledgment sent {"connection_id":161510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:43:19] local.INFO: TCP Data received {"connection_id":161511,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:43:19] local.INFO: Processing buffer {"connection_id":161511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:43:19] local.INFO: Packet analysis {"connection_id":161511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:43:19] local.INFO: Extracted packet for processing {"connection_id":161511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631636224001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:43:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787623880000,"timestamp_ms":1787623880000,"timestamp_seconds":1787623880,"priority":1,"record_length":96,"hex_timestamp":"000001a036afb540"} 
[2026-08-25 07:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:43:19] 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-25 07:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631636224001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631636224001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631636224001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":161511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:43:19] local.INFO: GPS data processed {"connection_id":161511,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:43:19] local.INFO: Acknowledgment sent {"connection_id":161511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:43:25] local.INFO: TCP Data received {"connection_id":162734,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:43:25] local.INFO: Processing buffer {"connection_id":162734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:43:25] local.INFO: IMEI packet received {"connection_id":162734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":162734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:43:31] local.INFO: TCP Data received {"connection_id":162734,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:43:31] local.INFO: Processing buffer {"connection_id":162734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:43:31] local.INFO: IMEI packet received {"connection_id":162734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":162734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:43:31] local.INFO: TCP Data received {"connection_id":162734,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:43:31] local.INFO: Processing buffer {"connection_id":162734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ace298012d196a40071fece8003e011027..."} 
[2026-08-25 07:43:31] local.INFO: Packet analysis {"connection_id":162734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:43:31] local.INFO: Extracted packet for processing {"connection_id":162734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ac"} 
[2026-08-25 07:43:31] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532776,"longitude_deg":75.664032,"latitude_deg":11.9532776,"altitude":62,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196a40","hex_latitude":"071fece8","is_valid_coordinates":true} 
[2026-08-25 07:43:31] 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-25 07:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787623695000,"timestamp_ms":1787623695000,"timestamp_seconds":1787623695,"priority":1,"record_length":96,"hex_timestamp":"000001a036ace298"} 
[2026-08-25 07:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:43:31] 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-25 07:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:43:31] 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-25 07:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:43:31] 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-25 07:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":12993,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:43:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:43:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":162734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:43:32] local.INFO: GPS data processed {"connection_id":162734,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:43:32] local.INFO: Acknowledgment sent {"connection_id":162734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:43:40] local.INFO: TCP Data received {"connection_id":164123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:43:40] local.INFO: Processing buffer {"connection_id":164123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:43:40] local.INFO: IMEI packet received {"connection_id":164123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":164123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:43:45] local.INFO: TCP Data received {"connection_id":164123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:43:45] local.INFO: Processing buffer {"connection_id":164123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:43:45] local.INFO: IMEI packet received {"connection_id":164123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":164123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:43:46] local.INFO: TCP Data received {"connection_id":164123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:43:46] local.INFO: Processing buffer {"connection_id":164123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:43:46] local.INFO: Packet analysis {"connection_id":164123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:43:46] local.INFO: Extracted packet for processing {"connection_id":164123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631636224001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:43:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787623880000,"timestamp_ms":1787623880000,"timestamp_seconds":1787623880,"priority":1,"record_length":96,"hex_timestamp":"000001a036afb540"} 
[2026-08-25 07:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631636224001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631636224001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631636224001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":164123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:43:46] local.INFO: GPS data processed {"connection_id":164123,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:43:46] local.INFO: Acknowledgment sent {"connection_id":164123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:44:03] local.INFO: TCP Data received {"connection_id":162734,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:44:03] local.INFO: Processing buffer {"connection_id":162734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:44:03] local.INFO: Packet analysis {"connection_id":162734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:44:03] local.INFO: Extracted packet for processing {"connection_id":162734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787623999000,"timestamp_ms":1787623999000,"timestamp_seconds":1787623999,"priority":1,"record_length":96,"hex_timestamp":"000001a036b18618"} 
[2026-08-25 07: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-25 07:44:03] 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-25 07: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:44:03] 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-25 07:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:44:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":162734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:44:03] local.INFO: GPS data processed {"connection_id":162734,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:44:03] local.INFO: Acknowledgment sent {"connection_id":162734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:44:17] local.INFO: TCP Data received {"connection_id":164123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:44:17] local.INFO: Processing buffer {"connection_id":164123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:44:17] local.INFO: Packet analysis {"connection_id":164123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:44:17] local.INFO: Extracted packet for processing {"connection_id":164123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631636224001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787623880000,"timestamp_ms":1787623880000,"timestamp_seconds":1787623880,"priority":1,"record_length":96,"hex_timestamp":"000001a036afb540"} 
[2026-08-25 07:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631636224001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631636224001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631636224001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":164123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:44:17] local.INFO: GPS data processed {"connection_id":164123,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:44:17] local.INFO: Acknowledgment sent {"connection_id":164123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:44:21] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:44:21] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:44:21] local.INFO: IMEI packet received {"connection_id":161734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":161734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:44:26] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:44:26] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:44:26] local.INFO: IMEI packet received {"connection_id":161734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":161734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:44:26] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:44:26] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:44:26] local.INFO: Packet analysis {"connection_id":161734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:44:26] local.INFO: Extracted packet for processing {"connection_id":161734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:44:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44: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-25 07:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787623999000,"timestamp_ms":1787623999000,"timestamp_seconds":1787623999,"priority":1,"record_length":96,"hex_timestamp":"000001a036b18618"} 
[2026-08-25 07:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:44:26] 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-25 07:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:44:26] 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-25 07:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:44:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:44:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":161734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:44:27] local.INFO: GPS data processed {"connection_id":161734,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:44:27] local.INFO: Acknowledgment sent {"connection_id":161734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:44:31] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:44:31] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:44:31] local.INFO: Packet analysis {"connection_id":161734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:44:31] local.INFO: Extracted packet for processing {"connection_id":161734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:44:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787623999000,"timestamp_ms":1787623999000,"timestamp_seconds":1787623999,"priority":1,"record_length":96,"hex_timestamp":"000001a036b18618"} 
[2026-08-25 07:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:44:31] 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-25 07:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:44:31] 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-25 07:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:44:31] 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-25 07:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:44:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:44:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":161734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:44:31] local.INFO: GPS data processed {"connection_id":161734,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:44:31] local.INFO: Acknowledgment sent {"connection_id":161734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:44:40] local.INFO: TCP Data received {"connection_id":161735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:44:40] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:44:40] local.INFO: IMEI packet received {"connection_id":161735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":161735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:44:45] local.INFO: TCP Data received {"connection_id":161735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:44:45] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:44:45] local.INFO: IMEI packet received {"connection_id":161735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":161735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:44:47] local.INFO: TCP Data received {"connection_id":161735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:44:47] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:44:47] local.INFO: Packet analysis {"connection_id":161735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:44:47] local.INFO: Extracted packet for processing {"connection_id":161735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631636224001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787623880000,"timestamp_ms":1787623880000,"timestamp_seconds":1787623880,"priority":1,"record_length":96,"hex_timestamp":"000001a036afb540"} 
[2026-08-25 07:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631636224001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631636224001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631636224001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":161735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:44:47] local.INFO: GPS data processed {"connection_id":161735,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:44:47] local.INFO: Acknowledgment sent {"connection_id":161735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:45:02] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:45:02] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:45:02] local.INFO: Packet analysis {"connection_id":161734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:45:02] local.INFO: Extracted packet for processing {"connection_id":161734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:45:02] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787623999000,"timestamp_ms":1787623999000,"timestamp_seconds":1787623999,"priority":1,"record_length":96,"hex_timestamp":"000001a036b18618"} 
[2026-08-25 07:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:45:02] 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-25 07:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:45:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:45:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":161734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:45:02] local.INFO: GPS data processed {"connection_id":161734,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:45:02] local.INFO: Acknowledgment sent {"connection_id":161734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:45:19] local.INFO: TCP Data received {"connection_id":161735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:45:19] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:45:19] local.INFO: Packet analysis {"connection_id":161735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:45:19] local.INFO: Extracted packet for processing {"connection_id":161735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631636224001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787623880000,"timestamp_ms":1787623880000,"timestamp_seconds":1787623880,"priority":1,"record_length":96,"hex_timestamp":"000001a036afb540"} 
[2026-08-25 07:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:45: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-25 07:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631636224001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631636224001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631636224001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":161735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:45:19] local.INFO: GPS data processed {"connection_id":161735,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:45:19] local.INFO: Acknowledgment sent {"connection_id":161735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:45:21] local.INFO: TCP Data received {"connection_id":161736,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:45:21] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:45:21] local.INFO: IMEI packet received {"connection_id":161736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":161736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:45:25] local.INFO: TCP Data received {"connection_id":161736,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:45:25] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:45:25] local.INFO: IMEI packet received {"connection_id":161736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":161736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:45:26] local.INFO: TCP Data received {"connection_id":161736,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:45:26] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:45:26] local.INFO: Packet analysis {"connection_id":161736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:45:26] local.INFO: Extracted packet for processing {"connection_id":161736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:45:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45: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-25 07:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787623999000,"timestamp_ms":1787623999000,"timestamp_seconds":1787623999,"priority":1,"record_length":96,"hex_timestamp":"000001a036b18618"} 
[2026-08-25 07:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:45:26] 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-25 07:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:45:26] 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-25 07:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:45:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:45:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":161736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:45:26] local.INFO: GPS data processed {"connection_id":161736,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:45:26] local.INFO: Acknowledgment sent {"connection_id":161736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:45:40] local.INFO: TCP Data received {"connection_id":164124,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:45:40] local.INFO: Processing buffer {"connection_id":164124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:45:40] local.INFO: IMEI packet received {"connection_id":164124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":164124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:45:46] local.INFO: TCP Data received {"connection_id":164124,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:45:46] local.INFO: Processing buffer {"connection_id":164124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:45:46] local.INFO: IMEI packet received {"connection_id":164124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":164124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:45:46] local.INFO: TCP Data received {"connection_id":164124,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:45:46] local.INFO: Processing buffer {"connection_id":164124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:45:46] local.INFO: Packet analysis {"connection_id":164124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:45:46] local.INFO: Extracted packet for processing {"connection_id":164124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631636224001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787623880000,"timestamp_ms":1787623880000,"timestamp_seconds":1787623880,"priority":1,"record_length":96,"hex_timestamp":"000001a036afb540"} 
[2026-08-25 07: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-25 07:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631636224001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631636224001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631636224001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":164124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:45:46] local.INFO: GPS data processed {"connection_id":164124,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:45:46] local.INFO: Acknowledgment sent {"connection_id":164124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:45:57] local.INFO: TCP Data received {"connection_id":161736,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:45:57] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:45:57] local.INFO: Packet analysis {"connection_id":161736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:45:57] local.INFO: Extracted packet for processing {"connection_id":161736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:45: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-25 07:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787623999000,"timestamp_ms":1787623999000,"timestamp_seconds":1787623999,"priority":1,"record_length":96,"hex_timestamp":"000001a036b18618"} 
[2026-08-25 07:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:45:57] 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-25 07:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:45:57] 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-25 07:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:45:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":161736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:45:57] local.INFO: GPS data processed {"connection_id":161736,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:45:57] local.INFO: Acknowledgment sent {"connection_id":161736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:46:18] local.INFO: TCP Data received {"connection_id":164124,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:46:18] local.INFO: Processing buffer {"connection_id":164124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:46:18] local.INFO: Packet analysis {"connection_id":164124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:46:18] local.INFO: Extracted packet for processing {"connection_id":164124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:46:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631636224001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:46:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787623880000,"timestamp_ms":1787623880000,"timestamp_seconds":1787623880,"priority":1,"record_length":96,"hex_timestamp":"000001a036afb540"} 
[2026-08-25 07:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:46:18] 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-25 07:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631636224001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631636224001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:46:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631636224001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":164124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:46:18] local.INFO: GPS data processed {"connection_id":164124,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:46:18] local.INFO: Acknowledgment sent {"connection_id":164124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:46:21] local.INFO: TCP Data received {"connection_id":162735,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:46:21] local.INFO: Processing buffer {"connection_id":162735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:46:21] local.INFO: IMEI packet received {"connection_id":162735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":162735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:46:26] local.INFO: TCP Data received {"connection_id":162735,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:46:26] local.INFO: Processing buffer {"connection_id":162735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:46:26] local.INFO: IMEI packet received {"connection_id":162735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":162735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:46:26] local.INFO: TCP Data received {"connection_id":162735,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:46:26] local.INFO: Processing buffer {"connection_id":162735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:46:26] local.INFO: Packet analysis {"connection_id":162735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:46:26] local.INFO: Extracted packet for processing {"connection_id":162735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:46:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:46: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-25 07:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787623999000,"timestamp_ms":1787623999000,"timestamp_seconds":1787623999,"priority":1,"record_length":96,"hex_timestamp":"000001a036b18618"} 
[2026-08-25 07:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:46:26] 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-25 07:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:46:26] 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-25 07:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:46:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:46:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":162735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:46:26] local.INFO: GPS data processed {"connection_id":162735,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:46:26] local.INFO: Acknowledgment sent {"connection_id":162735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:46:40] local.INFO: TCP Data received {"connection_id":161512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:46:40] local.INFO: Processing buffer {"connection_id":161512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:46:40] local.INFO: IMEI packet received {"connection_id":161512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":161512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:46:46] local.INFO: TCP Data received {"connection_id":161512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:46:46] local.INFO: Processing buffer {"connection_id":161512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:46:46] local.INFO: IMEI packet received {"connection_id":161512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":161512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:46:47] local.INFO: TCP Data received {"connection_id":161512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:46:47] local.INFO: Processing buffer {"connection_id":161512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036afb540012d34c3c006aa46b00006006d27..."} 
[2026-08-25 07:46:47] local.INFO: Packet analysis {"connection_id":161512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:46:47] local.INFO: Extracted packet for processing {"connection_id":161512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036af"} 
[2026-08-25 07:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":6,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631636224001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:46:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787623880000,"timestamp_ms":1787623880000,"timestamp_seconds":1787623880,"priority":1,"record_length":96,"hex_timestamp":"000001a036afb540"} 
[2026-08-25 07:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631636224001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631636224001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631636224001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":161512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:46:47] local.INFO: GPS data processed {"connection_id":161512,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:46:47] local.INFO: Acknowledgment sent {"connection_id":161512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:46:58] local.INFO: TCP Data received {"connection_id":162735,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:46:58] local.INFO: Processing buffer {"connection_id":162735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:46:58] local.INFO: Packet analysis {"connection_id":162735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:46:58] local.INFO: Extracted packet for processing {"connection_id":162735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:46:58] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787623999000,"timestamp_ms":1787623999000,"timestamp_seconds":1787623999,"priority":1,"record_length":96,"hex_timestamp":"000001a036b18618"} 
[2026-08-25 07: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-25 07:46:58] 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-25 07: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:46:58] 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-25 07: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-25 07: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-25 07:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:46:58] 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-25 07:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:46:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:46:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":162735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:46:58] local.INFO: GPS data processed {"connection_id":162735,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:46:58] local.INFO: Acknowledgment sent {"connection_id":162735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:47:18] local.INFO: TCP Data received {"connection_id":161512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:47:18] local.INFO: Processing buffer {"connection_id":161512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:47:18] local.INFO: Packet analysis {"connection_id":161512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:47:18] local.INFO: Extracted packet for processing {"connection_id":161512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631713280001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:47:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787624181000,"timestamp_ms":1787624181000,"timestamp_seconds":1787624181,"priority":1,"record_length":96,"hex_timestamp":"000001a036b44d08"} 
[2026-08-25 07:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 07:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:47:18] local.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-25 07:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631713280001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631713280001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631713280001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":161512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:47:18] local.INFO: GPS data processed {"connection_id":161512,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:47:18] local.INFO: Acknowledgment sent {"connection_id":161512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:47:20] local.INFO: TCP Data received {"connection_id":162736,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:47:20] local.INFO: Processing buffer {"connection_id":162736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:47:20] local.INFO: IMEI packet received {"connection_id":162736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":162736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:47:25] local.INFO: TCP Data received {"connection_id":162736,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:47:25] local.INFO: Processing buffer {"connection_id":162736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:47:25] local.INFO: IMEI packet received {"connection_id":162736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":162736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:47:26] local.INFO: TCP Data received {"connection_id":162736,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:47:26] local.INFO: Processing buffer {"connection_id":162736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:47:26] local.INFO: Packet analysis {"connection_id":162736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:47:26] local.INFO: Extracted packet for processing {"connection_id":162736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:47:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:47: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-25 07:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787623999000,"timestamp_ms":1787623999000,"timestamp_seconds":1787623999,"priority":1,"record_length":96,"hex_timestamp":"000001a036b18618"} 
[2026-08-25 07: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-25 07:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:47:26] 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-25 07: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-25 07: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-25 07:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:47:26] 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-25 07:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:47:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:47:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":162736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:47:26] local.INFO: GPS data processed {"connection_id":162736,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:47:26] local.INFO: Acknowledgment sent {"connection_id":162736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:47:40] local.INFO: TCP Data received {"connection_id":161737,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:47:40] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:47:40] local.INFO: IMEI packet received {"connection_id":161737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":161737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:47:46] local.INFO: TCP Data received {"connection_id":161737,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:47:46] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:47:46] local.INFO: IMEI packet received {"connection_id":161737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":161737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:47:46] local.INFO: TCP Data received {"connection_id":161737,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:47:46] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:47:46] local.INFO: Packet analysis {"connection_id":161737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:47:46] local.INFO: Extracted packet for processing {"connection_id":161737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631713280001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:47:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787624181000,"timestamp_ms":1787624181000,"timestamp_seconds":1787624181,"priority":1,"record_length":96,"hex_timestamp":"000001a036b44d08"} 
[2026-08-25 07:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 07:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631713280001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631713280001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631713280001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":161737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:47:46] local.INFO: GPS data processed {"connection_id":161737,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:47:46] local.INFO: Acknowledgment sent {"connection_id":161737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:47:57] local.INFO: TCP Data received {"connection_id":162736,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:47:57] local.INFO: Processing buffer {"connection_id":162736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:47:57] local.INFO: Packet analysis {"connection_id":162736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:47:57] local.INFO: Extracted packet for processing {"connection_id":162736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:47: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-25 07:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787623999000,"timestamp_ms":1787623999000,"timestamp_seconds":1787623999,"priority":1,"record_length":96,"hex_timestamp":"000001a036b18618"} 
[2026-08-25 07: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-25 07:47:57] 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-25 07: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:47:57] 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-25 07:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:47:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":162736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:47:57] local.INFO: GPS data processed {"connection_id":162736,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:47:57] local.INFO: Acknowledgment sent {"connection_id":162736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:48:18] local.INFO: TCP Data received {"connection_id":161737,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:48:18] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:48:18] local.INFO: Packet analysis {"connection_id":161737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:48:18] local.INFO: Extracted packet for processing {"connection_id":161737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631713280001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787624181000,"timestamp_ms":1787624181000,"timestamp_seconds":1787624181,"priority":1,"record_length":96,"hex_timestamp":"000001a036b44d08"} 
[2026-08-25 07:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 07:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631713280001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631713280001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631713280001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":161737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:48:18] local.INFO: GPS data processed {"connection_id":161737,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:48:18] local.INFO: Acknowledgment sent {"connection_id":161737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:48:20] local.INFO: TCP Data received {"connection_id":161513,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:48:20] local.INFO: Processing buffer {"connection_id":161513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:48:20] local.INFO: IMEI packet received {"connection_id":161513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":161513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:48:26] local.INFO: TCP Data received {"connection_id":161513,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:48:26] local.INFO: Processing buffer {"connection_id":161513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:48:26] local.INFO: IMEI packet received {"connection_id":161513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":161513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:48:27] local.INFO: TCP Data received {"connection_id":161513,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:48:27] local.INFO: Processing buffer {"connection_id":161513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:48:27] local.INFO: Packet analysis {"connection_id":161513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:48:27] local.INFO: Extracted packet for processing {"connection_id":161513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787623999000,"timestamp_ms":1787623999000,"timestamp_seconds":1787623999,"priority":1,"record_length":96,"hex_timestamp":"000001a036b18618"} 
[2026-08-25 07:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:48:27] 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-25 07:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:48:27] 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-25 07:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:48:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:48:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":161513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:48:27] local.INFO: GPS data processed {"connection_id":161513,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:48:27] local.INFO: Acknowledgment sent {"connection_id":161513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:48:46] local.INFO: TCP Data received {"connection_id":162737,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:48:46] local.INFO: Processing buffer {"connection_id":162737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:48:46] local.INFO: IMEI packet received {"connection_id":162737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":162737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:48:46] local.INFO: TCP Data received {"connection_id":162737,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:48:46] local.INFO: Processing buffer {"connection_id":162737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:48:46] local.INFO: IMEI packet received {"connection_id":162737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":162737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:48:47] local.INFO: TCP Data received {"connection_id":162737,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:48:47] local.INFO: Processing buffer {"connection_id":162737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:48:47] local.INFO: Packet analysis {"connection_id":162737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:48:47] local.INFO: Extracted packet for processing {"connection_id":162737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631713280001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787624181000,"timestamp_ms":1787624181000,"timestamp_seconds":1787624181,"priority":1,"record_length":96,"hex_timestamp":"000001a036b44d08"} 
[2026-08-25 07:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 07:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631713280001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631713280001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631713280001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":162737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:48:48] local.INFO: GPS data processed {"connection_id":162737,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:48:48] local.INFO: Acknowledgment sent {"connection_id":162737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:48:52] local.INFO: TCP Data received {"connection_id":162737,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:48:52] local.INFO: Processing buffer {"connection_id":162737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:48:52] local.INFO: Packet analysis {"connection_id":162737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:48:52] local.INFO: Extracted packet for processing {"connection_id":162737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 07:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631713280001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787624181000,"timestamp_ms":1787624181000,"timestamp_seconds":1787624181,"priority":1,"record_length":96,"hex_timestamp":"000001a036b44d08"} 
[2026-08-25 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-25 07:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 07:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 07:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631713280001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631713280001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631713280001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":162737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:48:52] local.INFO: GPS data processed {"connection_id":162737,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:48:52] local.INFO: Acknowledgment sent {"connection_id":162737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:48:58] local.INFO: TCP Data received {"connection_id":161513,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:48:58] local.INFO: Processing buffer {"connection_id":161513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b18618012d1969c0071ff048003f011027..."} 
[2026-08-25 07:48:58] local.INFO: Packet analysis {"connection_id":161513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:48:58] local.INFO: Extracted packet for processing {"connection_id":161513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b1"} 
[2026-08-25 07:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631665920001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824096256,"note":"Value kept but may cause issues"} 
[2026-08-25 07:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787623999000,"timestamp_ms":1787623999000,"timestamp_seconds":1787623999,"priority":1,"record_length":96,"hex_timestamp":"000001a036b18618"} 
[2026-08-25 07: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-25 07:48:58] 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-25 07: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 07:48:58] 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-25 07: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-25 07: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-25 07:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:48:58] 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-25 07:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631665920001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831346597824096256},"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-25 07:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631665920001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:48:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824096256,"description":"Unknown IO ID 45"} 
[2026-08-25 07:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631665920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831346597824096256}} 
[2026-08-25 07:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":161513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:48:58] local.INFO: GPS data processed {"connection_id":161513,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:48:58] local.INFO: Acknowledgment sent {"connection_id":161513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:49:24] local.INFO: TCP Data received {"connection_id":162737,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:49:24] local.INFO: Processing buffer {"connection_id":162737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:49:24] local.INFO: Packet analysis {"connection_id":162737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:49:24] local.INFO: Extracted packet for processing {"connection_id":162737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631713280001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:49:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787624181000,"timestamp_ms":1787624181000,"timestamp_seconds":1787624181,"priority":1,"record_length":96,"hex_timestamp":"000001a036b44d08"} 
[2026-08-25 07:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 07:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:49:24] 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-25 07:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631713280001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631713280001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631713280001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":162737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:49:24] local.INFO: GPS data processed {"connection_id":162737,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:49:24] local.INFO: Acknowledgment sent {"connection_id":162737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:49:26] local.INFO: TCP Data received {"connection_id":164125,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:49:26] local.INFO: Processing buffer {"connection_id":164125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:49:26] local.INFO: IMEI packet received {"connection_id":164125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":164125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:49:31] local.INFO: TCP Data received {"connection_id":164125,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:49:31] local.INFO: Processing buffer {"connection_id":164125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:49:31] local.INFO: IMEI packet received {"connection_id":164125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":164125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:49:31] local.INFO: TCP Data received {"connection_id":164125,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:49:31] local.INFO: Processing buffer {"connection_id":164125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:49:31] local.INFO: Packet analysis {"connection_id":164125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:49:31] local.INFO: Extracted packet for processing {"connection_id":164125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:49:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631743744001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787624300000,"timestamp_ms":1787624300000,"timestamp_seconds":1787624300,"priority":1,"record_length":96,"hex_timestamp":"000001a036b61de0"} 
[2026-08-25 07:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:49:31] 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-25 07:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:49:31] 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-25 07:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631743744001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631743744001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:49:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:49:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631743744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":164125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:49:31] local.INFO: GPS data processed {"connection_id":164125,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:49:31] local.INFO: Acknowledgment sent {"connection_id":164125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:49:36] local.INFO: TCP Data received {"connection_id":164125,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:49:36] local.INFO: Processing buffer {"connection_id":164125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:49:36] local.INFO: Packet analysis {"connection_id":164125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:49:36] local.INFO: Extracted packet for processing {"connection_id":164125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631743744001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07: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-25 07:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787624300000,"timestamp_ms":1787624300000,"timestamp_seconds":1787624300,"priority":1,"record_length":96,"hex_timestamp":"000001a036b61de0"} 
[2026-08-25 07: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-25 07:49: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-25 07: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-25 07: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-25 07: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-25 07: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-25 07:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:49: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-25 07:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631743744001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631743744001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:49:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631743744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":164125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:49:36] local.INFO: GPS data processed {"connection_id":164125,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:49:36] local.INFO: Acknowledgment sent {"connection_id":164125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:49:40] local.INFO: TCP Data received {"connection_id":162738,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:49:40] local.INFO: Processing buffer {"connection_id":162738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:49:40] local.INFO: IMEI packet received {"connection_id":162738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":162738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:49:46] local.INFO: TCP Data received {"connection_id":162738,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:49:46] local.INFO: Processing buffer {"connection_id":162738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:49:46] local.INFO: IMEI packet received {"connection_id":162738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":162738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:49:47] local.INFO: TCP Data received {"connection_id":162738,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:49:47] local.INFO: Processing buffer {"connection_id":162738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:49:47] local.INFO: Packet analysis {"connection_id":162738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:49:47] local.INFO: Extracted packet for processing {"connection_id":162738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631713280001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:49:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787624181000,"timestamp_ms":1787624181000,"timestamp_seconds":1787624181,"priority":1,"record_length":96,"hex_timestamp":"000001a036b44d08"} 
[2026-08-25 07:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 07:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631713280001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631713280001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631713280001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":162738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:49:47] local.INFO: GPS data processed {"connection_id":162738,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:49:47] local.INFO: Acknowledgment sent {"connection_id":162738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:50:18] local.INFO: TCP Data received {"connection_id":162738,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:50:18] local.INFO: Processing buffer {"connection_id":162738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:50:18] local.INFO: Packet analysis {"connection_id":162738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:50:18] local.INFO: Extracted packet for processing {"connection_id":162738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:50:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631713280001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:50:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787624181000,"timestamp_ms":1787624181000,"timestamp_seconds":1787624181,"priority":1,"record_length":96,"hex_timestamp":"000001a036b44d08"} 
[2026-08-25 07:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 07:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631713280001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631713280001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:50:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631713280001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":162738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:50:18] local.INFO: GPS data processed {"connection_id":162738,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:50:18] local.INFO: Acknowledgment sent {"connection_id":162738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:50:21] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:50:21] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:50:21] local.INFO: IMEI packet received {"connection_id":161738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":161738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:50:26] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:50:26] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:50:26] local.INFO: IMEI packet received {"connection_id":161738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":161738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:50:27] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:50:27] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:50:27] local.INFO: Packet analysis {"connection_id":161738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:50:27] local.INFO: Extracted packet for processing {"connection_id":161738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631743744001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787624300000,"timestamp_ms":1787624300000,"timestamp_seconds":1787624300,"priority":1,"record_length":96,"hex_timestamp":"000001a036b61de0"} 
[2026-08-25 07: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-25 07:50:27] 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-25 07: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07: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-25 07: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-25 07:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:50:27] 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-25 07:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631743744001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631743744001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:50:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:50:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631743744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":161738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:50:27] local.INFO: GPS data processed {"connection_id":161738,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:50:27] local.INFO: Acknowledgment sent {"connection_id":161738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:50:40] local.INFO: TCP Data received {"connection_id":164126,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:50:40] local.INFO: Processing buffer {"connection_id":164126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:50:40] local.INFO: IMEI packet received {"connection_id":164126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":164126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:50:46] local.INFO: TCP Data received {"connection_id":164126,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:50:46] local.INFO: Processing buffer {"connection_id":164126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:50:46] local.INFO: IMEI packet received {"connection_id":164126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":164126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:50:47] local.INFO: TCP Data received {"connection_id":164126,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:50:47] local.INFO: Processing buffer {"connection_id":164126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:50:47] local.INFO: Packet analysis {"connection_id":164126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:50:47] local.INFO: Extracted packet for processing {"connection_id":164126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631713280001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:50:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787624181000,"timestamp_ms":1787624181000,"timestamp_seconds":1787624181,"priority":1,"record_length":96,"hex_timestamp":"000001a036b44d08"} 
[2026-08-25 07:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 07:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631713280001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631713280001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631713280001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":164126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:50:47] local.INFO: GPS data processed {"connection_id":164126,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:50:47] local.INFO: Acknowledgment sent {"connection_id":164126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:50:58] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:50:58] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:50:58] local.INFO: Packet analysis {"connection_id":161738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:50:58] local.INFO: Extracted packet for processing {"connection_id":161738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631743744001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787624300000,"timestamp_ms":1787624300000,"timestamp_seconds":1787624300,"priority":1,"record_length":96,"hex_timestamp":"000001a036b61de0"} 
[2026-08-25 07:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:50:58] 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-25 07:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:50:58] 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-25 07:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631743744001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631743744001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:50:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631743744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":161738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:50:58] local.INFO: GPS data processed {"connection_id":161738,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:50:58] local.INFO: Acknowledgment sent {"connection_id":161738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:51:18] local.INFO: TCP Data received {"connection_id":164126,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:51:18] local.INFO: Processing buffer {"connection_id":164126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:51:18] local.INFO: Packet analysis {"connection_id":164126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:51:18] local.INFO: Extracted packet for processing {"connection_id":164126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631713280001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:51:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787624181000,"timestamp_ms":1787624181000,"timestamp_seconds":1787624181,"priority":1,"record_length":96,"hex_timestamp":"000001a036b44d08"} 
[2026-08-25 07:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 07:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:51:18] 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-25 07:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631713280001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631713280001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631713280001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":164126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:51:18] local.INFO: GPS data processed {"connection_id":164126,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:51:18] local.INFO: Acknowledgment sent {"connection_id":164126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:51:21] local.INFO: TCP Data received {"connection_id":162739,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:51:21] local.INFO: Processing buffer {"connection_id":162739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:51:21] local.INFO: IMEI packet received {"connection_id":162739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":162739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:51:25] local.INFO: TCP Data received {"connection_id":162739,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:51:25] local.INFO: Processing buffer {"connection_id":162739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:51:25] local.INFO: IMEI packet received {"connection_id":162739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":162739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:51:26] local.INFO: TCP Data received {"connection_id":162739,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:51:26] local.INFO: Processing buffer {"connection_id":162739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:51:26] local.INFO: Packet analysis {"connection_id":162739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:51:26] local.INFO: Extracted packet for processing {"connection_id":162739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:51:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631743744001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787624300000,"timestamp_ms":1787624300000,"timestamp_seconds":1787624300,"priority":1,"record_length":96,"hex_timestamp":"000001a036b61de0"} 
[2026-08-25 07: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-25 07:51:26] 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-25 07:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:51: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-25 07: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-25 07: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-25 07:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:51:26] 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-25 07:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631743744001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631743744001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:51:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:51:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631743744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":162739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:51:26] local.INFO: GPS data processed {"connection_id":162739,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:51:26] local.INFO: Acknowledgment sent {"connection_id":162739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:51:40] local.INFO: TCP Data received {"connection_id":164127,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:51:40] local.INFO: Processing buffer {"connection_id":164127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:51:40] local.INFO: IMEI packet received {"connection_id":164127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":164127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:51:46] local.INFO: TCP Data received {"connection_id":164127,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:51:46] local.INFO: Processing buffer {"connection_id":164127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:51:46] local.INFO: IMEI packet received {"connection_id":164127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":164127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:51:47] local.INFO: TCP Data received {"connection_id":164127,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:51:47] local.INFO: Processing buffer {"connection_id":164127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b44d08012d34c3c006aa46b00009006d27..."} 
[2026-08-25 07:51:47] local.INFO: Packet analysis {"connection_id":164127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:51:47] local.INFO: Extracted packet for processing {"connection_id":164127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b4"} 
[2026-08-25 07:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":9,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631713280001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:51:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787624181000,"timestamp_ms":1787624181000,"timestamp_seconds":1787624181,"priority":1,"record_length":96,"hex_timestamp":"000001a036b44d08"} 
[2026-08-25 07:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 07:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631713280001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631713280001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631713280001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":164127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:51:47] local.INFO: GPS data processed {"connection_id":164127,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:51:47] local.INFO: Acknowledgment sent {"connection_id":164127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:51:57] local.INFO: TCP Data received {"connection_id":162739,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:51:57] local.INFO: Processing buffer {"connection_id":162739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:51:57] local.INFO: Packet analysis {"connection_id":162739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:51:57] local.INFO: Extracted packet for processing {"connection_id":162739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:51:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:51: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-25 07:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631743744001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:51: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-25 07:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787624300000,"timestamp_ms":1787624300000,"timestamp_seconds":1787624300,"priority":1,"record_length":96,"hex_timestamp":"000001a036b61de0"} 
[2026-08-25 07:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:51:57] 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-25 07:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:51: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-25 07:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:51:57] 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-25 07:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631743744001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631743744001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:51:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631743744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":162739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:51:57] local.INFO: GPS data processed {"connection_id":162739,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:51:57] local.INFO: Acknowledgment sent {"connection_id":162739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:52:18] local.INFO: TCP Data received {"connection_id":164127,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:52:18] local.INFO: Processing buffer {"connection_id":164127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:52:18] local.INFO: Packet analysis {"connection_id":164127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:52:18] local.INFO: Extracted packet for processing {"connection_id":164127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631790336001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:52:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787624482000,"timestamp_ms":1787624482000,"timestamp_seconds":1787624482,"priority":1,"record_length":96,"hex_timestamp":"000001a036b8e4d0"} 
[2026-08-25 07:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:52:18] 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-25 07:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631790336001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631790336001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:52:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631790336001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":164127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:52:18] local.INFO: GPS data processed {"connection_id":164127,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:52:18] local.INFO: Acknowledgment sent {"connection_id":164127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:52:20] local.INFO: TCP Data received {"connection_id":161514,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:52:20] local.INFO: Processing buffer {"connection_id":161514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:52:20] local.INFO: IMEI packet received {"connection_id":161514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":161514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:52:26] local.INFO: TCP Data received {"connection_id":161514,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:52:26] local.INFO: Processing buffer {"connection_id":161514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:52:26] local.INFO: IMEI packet received {"connection_id":161514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":161514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:52:26] local.INFO: TCP Data received {"connection_id":161514,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:52:26] local.INFO: Processing buffer {"connection_id":161514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:52:26] local.INFO: Packet analysis {"connection_id":161514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:52:26] local.INFO: Extracted packet for processing {"connection_id":161514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:52:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631743744001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:52: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-25 07:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787624300000,"timestamp_ms":1787624300000,"timestamp_seconds":1787624300,"priority":1,"record_length":96,"hex_timestamp":"000001a036b61de0"} 
[2026-08-25 07: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-25 07:52:26] 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-25 07: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:52: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-25 07: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-25 07: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-25 07:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:52:26] 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-25 07:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631743744001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631743744001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:52:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:52:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631743744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":161514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:52:26] local.INFO: GPS data processed {"connection_id":161514,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:52:26] local.INFO: Acknowledgment sent {"connection_id":161514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:52:41] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:52:41] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:52:41] local.INFO: IMEI packet received {"connection_id":161739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":161739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:52:46] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:52:46] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:52:46] local.INFO: IMEI packet received {"connection_id":161739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":161739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:52:48] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:52:48] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:52:48] local.INFO: Packet analysis {"connection_id":161739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:52:48] local.INFO: Extracted packet for processing {"connection_id":161739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631790336001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:52:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787624482000,"timestamp_ms":1787624482000,"timestamp_seconds":1787624482,"priority":1,"record_length":96,"hex_timestamp":"000001a036b8e4d0"} 
[2026-08-25 07: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-25 07:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631790336001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631790336001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631790336001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":161739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:52:48] local.INFO: GPS data processed {"connection_id":161739,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:52:48] local.INFO: Acknowledgment sent {"connection_id":161739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:52:58] local.INFO: TCP Data received {"connection_id":161514,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:52:58] local.INFO: Processing buffer {"connection_id":161514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:52:58] local.INFO: Packet analysis {"connection_id":161514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:52:58] local.INFO: Extracted packet for processing {"connection_id":161514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631743744001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787624300000,"timestamp_ms":1787624300000,"timestamp_seconds":1787624300,"priority":1,"record_length":96,"hex_timestamp":"000001a036b61de0"} 
[2026-08-25 07: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-25 07:52:58] 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-25 07: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07: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-25 07: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-25 07:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:52:58] 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-25 07:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631743744001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631743744001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:52:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631743744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":161514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:52:58] local.INFO: GPS data processed {"connection_id":161514,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:52:58] local.INFO: Acknowledgment sent {"connection_id":161514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:53:19] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:53:19] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:53:19] local.INFO: Packet analysis {"connection_id":161739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:53:19] local.INFO: Extracted packet for processing {"connection_id":161739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631790336001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:53:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787624482000,"timestamp_ms":1787624482000,"timestamp_seconds":1787624482,"priority":1,"record_length":96,"hex_timestamp":"000001a036b8e4d0"} 
[2026-08-25 07: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-25 07:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631790336001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631790336001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631790336001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":161739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:53:19] local.INFO: GPS data processed {"connection_id":161739,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:53:19] local.INFO: Acknowledgment sent {"connection_id":161739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:53:20] local.INFO: TCP Data received {"connection_id":164128,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:53:20] local.INFO: Processing buffer {"connection_id":164128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:53:20] local.INFO: IMEI packet received {"connection_id":164128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":164128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:53:26] local.INFO: TCP Data received {"connection_id":164128,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:53:26] local.INFO: Processing buffer {"connection_id":164128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:53:26] local.INFO: IMEI packet received {"connection_id":164128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":164128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:53:26] local.INFO: TCP Data received {"connection_id":164128,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:53:26] local.INFO: Processing buffer {"connection_id":164128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:53:26] local.INFO: Packet analysis {"connection_id":164128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:53:26] local.INFO: Extracted packet for processing {"connection_id":164128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:53:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631743744001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:53: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-25 07:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787624300000,"timestamp_ms":1787624300000,"timestamp_seconds":1787624300,"priority":1,"record_length":96,"hex_timestamp":"000001a036b61de0"} 
[2026-08-25 07: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-25 07:53:26] 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-25 07:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:53: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-25 07: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-25 07: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-25 07:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:53:26] 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-25 07:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631743744001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631743744001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:53:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:53:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631743744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":164128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:53:26] local.INFO: GPS data processed {"connection_id":164128,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:53:26] local.INFO: Acknowledgment sent {"connection_id":164128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:53:40] local.INFO: TCP Data received {"connection_id":164129,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:53:40] local.INFO: Processing buffer {"connection_id":164129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:53:40] local.INFO: IMEI packet received {"connection_id":164129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":164129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:53:46] local.INFO: TCP Data received {"connection_id":164129,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:53:46] local.INFO: Processing buffer {"connection_id":164129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:53:46] local.INFO: IMEI packet received {"connection_id":164129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":164129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:53:47] local.INFO: TCP Data received {"connection_id":164129,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:53:47] local.INFO: Processing buffer {"connection_id":164129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:53:47] local.INFO: Packet analysis {"connection_id":164129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:53:47] local.INFO: Extracted packet for processing {"connection_id":164129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631790336001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:53:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787624482000,"timestamp_ms":1787624482000,"timestamp_seconds":1787624482,"priority":1,"record_length":96,"hex_timestamp":"000001a036b8e4d0"} 
[2026-08-25 07:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631790336001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631790336001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631790336001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":164129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:53:47] local.INFO: GPS data processed {"connection_id":164129,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:53:47] local.INFO: Acknowledgment sent {"connection_id":164129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:53:57] local.INFO: TCP Data received {"connection_id":164128,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:53:57] local.INFO: Processing buffer {"connection_id":164128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b61de0012d1969c0071ff048003f011027..."} 
[2026-08-25 07:53:57] local.INFO: Packet analysis {"connection_id":164128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:53:57] local.INFO: Extracted packet for processing {"connection_id":164128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b6"} 
[2026-08-25 07:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631743744001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:53: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-25 07:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787624300000,"timestamp_ms":1787624300000,"timestamp_seconds":1787624300,"priority":1,"record_length":96,"hex_timestamp":"000001a036b61de0"} 
[2026-08-25 07:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:53:57] 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-25 07:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:53:57] 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-25 07:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631743744001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631743744001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:53:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631743744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":164128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:53:58] local.INFO: GPS data processed {"connection_id":164128,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:53:58] local.INFO: Acknowledgment sent {"connection_id":164128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:54:18] local.INFO: TCP Data received {"connection_id":164129,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:54:18] local.INFO: Processing buffer {"connection_id":164129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:54:18] local.INFO: Packet analysis {"connection_id":164129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:54:18] local.INFO: Extracted packet for processing {"connection_id":164129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631790336001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:54:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787624482000,"timestamp_ms":1787624482000,"timestamp_seconds":1787624482,"priority":1,"record_length":96,"hex_timestamp":"000001a036b8e4d0"} 
[2026-08-25 07:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:54:18] 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-25 07:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631790336001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631790336001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631790336001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":164129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:54:18] local.INFO: GPS data processed {"connection_id":164129,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:54:18] local.INFO: Acknowledgment sent {"connection_id":164129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:54:21] local.INFO: TCP Data received {"connection_id":162740,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:54:21] local.INFO: Processing buffer {"connection_id":162740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:54:21] local.INFO: IMEI packet received {"connection_id":162740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":162740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:54:26] local.INFO: TCP Data received {"connection_id":162740,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:54:26] local.INFO: Processing buffer {"connection_id":162740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:54:26] local.INFO: IMEI packet received {"connection_id":162740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":162740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:54:26] local.INFO: TCP Data received {"connection_id":162740,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:54:26] local.INFO: Processing buffer {"connection_id":162740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:54:26] local.INFO: Packet analysis {"connection_id":162740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:54:26] local.INFO: Extracted packet for processing {"connection_id":162740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:54:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631820800001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07: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-25 07:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787624601000,"timestamp_ms":1787624601000,"timestamp_seconds":1787624601,"priority":1,"record_length":96,"hex_timestamp":"000001a036bab5a8"} 
[2026-08-25 07:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07: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-25 07:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:54:26] 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-25 07:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631820800001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631820800001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:54:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:54:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631820800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":162740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:54:26] local.INFO: GPS data processed {"connection_id":162740,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:54:26] local.INFO: Acknowledgment sent {"connection_id":162740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:54:40] local.INFO: TCP Data received {"connection_id":161740,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:54:40] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:54:40] local.INFO: IMEI packet received {"connection_id":161740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":161740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:54:46] local.INFO: TCP Data received {"connection_id":161740,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:54:46] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:54:46] local.INFO: IMEI packet received {"connection_id":161740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":161740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:54:47] local.INFO: TCP Data received {"connection_id":161740,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:54:47] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:54:47] local.INFO: Packet analysis {"connection_id":161740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:54:47] local.INFO: Extracted packet for processing {"connection_id":161740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631790336001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:54:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787624482000,"timestamp_ms":1787624482000,"timestamp_seconds":1787624482,"priority":1,"record_length":96,"hex_timestamp":"000001a036b8e4d0"} 
[2026-08-25 07:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631790336001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631790336001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631790336001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":161740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:54:47] local.INFO: GPS data processed {"connection_id":161740,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:54:47] local.INFO: Acknowledgment sent {"connection_id":161740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:54:57] local.INFO: TCP Data received {"connection_id":162740,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:54:57] local.INFO: Processing buffer {"connection_id":162740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:54:57] local.INFO: Packet analysis {"connection_id":162740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:54:57] local.INFO: Extracted packet for processing {"connection_id":162740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631820800001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:54: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-25 07:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787624601000,"timestamp_ms":1787624601000,"timestamp_seconds":1787624601,"priority":1,"record_length":96,"hex_timestamp":"000001a036bab5a8"} 
[2026-08-25 07:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:54: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-25 07:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:54:57] 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-25 07:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631820800001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631820800001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:54:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631820800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":162740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:54:58] local.INFO: GPS data processed {"connection_id":162740,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:54:58] local.INFO: Acknowledgment sent {"connection_id":162740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:55:18] local.INFO: TCP Data received {"connection_id":161740,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:55:18] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:55:18] local.INFO: Packet analysis {"connection_id":161740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:55:18] local.INFO: Extracted packet for processing {"connection_id":161740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631790336001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:55:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787624482000,"timestamp_ms":1787624482000,"timestamp_seconds":1787624482,"priority":1,"record_length":96,"hex_timestamp":"000001a036b8e4d0"} 
[2026-08-25 07:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:55:18] 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-25 07:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631790336001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631790336001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631790336001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":161740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:55:18] local.INFO: GPS data processed {"connection_id":161740,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:55:18] local.INFO: Acknowledgment sent {"connection_id":161740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:55:21] local.INFO: TCP Data received {"connection_id":164130,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:55:21] local.INFO: Processing buffer {"connection_id":164130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:55:21] local.INFO: IMEI packet received {"connection_id":164130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":164130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:55:26] local.INFO: TCP Data received {"connection_id":164130,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:55:26] local.INFO: Processing buffer {"connection_id":164130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:55:26] local.INFO: IMEI packet received {"connection_id":164130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":164130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:55:26] local.INFO: TCP Data received {"connection_id":164130,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:55:26] local.INFO: Processing buffer {"connection_id":164130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:55:26] local.INFO: Packet analysis {"connection_id":164130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:55:26] local.INFO: Extracted packet for processing {"connection_id":164130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:55:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631820800001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:55: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-25 07:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787624601000,"timestamp_ms":1787624601000,"timestamp_seconds":1787624601,"priority":1,"record_length":96,"hex_timestamp":"000001a036bab5a8"} 
[2026-08-25 07: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-25 07:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:55: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-25 07: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-25 07: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-25 07:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:55:26] 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-25 07:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631820800001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631820800001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:55:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:55:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631820800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":164130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:55:26] local.INFO: GPS data processed {"connection_id":164130,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:55:26] local.INFO: Acknowledgment sent {"connection_id":164130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:55:41] local.INFO: TCP Data received {"connection_id":162741,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:55:41] local.INFO: Processing buffer {"connection_id":162741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:55:41] local.INFO: IMEI packet received {"connection_id":162741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":162741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:55:46] local.INFO: TCP Data received {"connection_id":162741,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:55:46] local.INFO: Processing buffer {"connection_id":162741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:55:46] local.INFO: IMEI packet received {"connection_id":162741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":162741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:55:46] local.INFO: TCP Data received {"connection_id":162741,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:55:46] local.INFO: Processing buffer {"connection_id":162741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:55:46] local.INFO: Packet analysis {"connection_id":162741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:55:46] local.INFO: Extracted packet for processing {"connection_id":162741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631790336001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:55:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787624482000,"timestamp_ms":1787624482000,"timestamp_seconds":1787624482,"priority":1,"record_length":96,"hex_timestamp":"000001a036b8e4d0"} 
[2026-08-25 07:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631790336001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631790336001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631790336001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":162741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:55:46] local.INFO: GPS data processed {"connection_id":162741,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:55:46] local.INFO: Acknowledgment sent {"connection_id":162741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:55:57] local.INFO: TCP Data received {"connection_id":164130,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:55:57] local.INFO: Processing buffer {"connection_id":164130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:55:57] local.INFO: Packet analysis {"connection_id":164130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:55:57] local.INFO: Extracted packet for processing {"connection_id":164130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631820800001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787624601000,"timestamp_ms":1787624601000,"timestamp_seconds":1787624601,"priority":1,"record_length":96,"hex_timestamp":"000001a036bab5a8"} 
[2026-08-25 07:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:55:57] 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-25 07:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631820800001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631820800001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:55:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631820800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":164130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:55:58] local.INFO: GPS data processed {"connection_id":164130,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:55:58] local.INFO: Acknowledgment sent {"connection_id":164130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:56:18] local.INFO: TCP Data received {"connection_id":162741,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:56:18] local.INFO: Processing buffer {"connection_id":162741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:56:18] local.INFO: Packet analysis {"connection_id":162741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:56:18] local.INFO: Extracted packet for processing {"connection_id":162741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 07:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631790336001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:56:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787624482000,"timestamp_ms":1787624482000,"timestamp_seconds":1787624482,"priority":1,"record_length":96,"hex_timestamp":"000001a036b8e4d0"} 
[2026-08-25 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-25 07:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 07:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:56:18] 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-25 07:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631790336001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631790336001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631790336001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":162741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:56:18] local.INFO: GPS data processed {"connection_id":162741,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:56:18] local.INFO: Acknowledgment sent {"connection_id":162741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:56:21] local.INFO: TCP Data received {"connection_id":162742,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:56:21] local.INFO: Processing buffer {"connection_id":162742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:56:21] local.INFO: IMEI packet received {"connection_id":162742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":162742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:56:26] local.INFO: TCP Data received {"connection_id":162742,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:56:26] local.INFO: Processing buffer {"connection_id":162742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:56:26] local.INFO: IMEI packet received {"connection_id":162742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":162742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:56:26] local.INFO: TCP Data received {"connection_id":162742,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:56:26] local.INFO: Processing buffer {"connection_id":162742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:56:26] local.INFO: Packet analysis {"connection_id":162742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:56:26] local.INFO: Extracted packet for processing {"connection_id":162742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:56:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631820800001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:56: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-25 07:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787624601000,"timestamp_ms":1787624601000,"timestamp_seconds":1787624601,"priority":1,"record_length":96,"hex_timestamp":"000001a036bab5a8"} 
[2026-08-25 07: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-25 07:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:56: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-25 07: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-25 07: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-25 07:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:56:26] 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-25 07:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631820800001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631820800001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:56:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:56:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631820800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":162742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:56:26] local.INFO: GPS data processed {"connection_id":162742,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:56:26] local.INFO: Acknowledgment sent {"connection_id":162742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:56:40] local.INFO: TCP Data received {"connection_id":161515,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:56:40] local.INFO: Processing buffer {"connection_id":161515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:56:40] local.INFO: IMEI packet received {"connection_id":161515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":161515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:56:46] local.INFO: TCP Data received {"connection_id":161515,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:56:46] local.INFO: Processing buffer {"connection_id":161515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:56:46] local.INFO: IMEI packet received {"connection_id":161515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":161515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:56:47] local.INFO: TCP Data received {"connection_id":161515,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:56:47] local.INFO: Processing buffer {"connection_id":161515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036b8e4d0012d34c3c006aa46b00010006d25..."} 
[2026-08-25 07:56:47] local.INFO: Packet analysis {"connection_id":161515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:56:47] local.INFO: Extracted packet for processing {"connection_id":161515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036b8"} 
[2026-08-25 07:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631790336001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:56:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787624482000,"timestamp_ms":1787624482000,"timestamp_seconds":1787624482,"priority":1,"record_length":96,"hex_timestamp":"000001a036b8e4d0"} 
[2026-08-25 07:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 07:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631790336001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631790336001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631790336001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":161515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:56:47] local.INFO: GPS data processed {"connection_id":161515,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:56:47] local.INFO: Acknowledgment sent {"connection_id":161515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:56:58] local.INFO: TCP Data received {"connection_id":162742,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:56:58] local.INFO: Processing buffer {"connection_id":162742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:56:58] local.INFO: Packet analysis {"connection_id":162742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:56:58] local.INFO: Extracted packet for processing {"connection_id":162742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631820800001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787624601000,"timestamp_ms":1787624601000,"timestamp_seconds":1787624601,"priority":1,"record_length":96,"hex_timestamp":"000001a036bab5a8"} 
[2026-08-25 07:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:56:58] 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-25 07:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631820800001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631820800001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:56:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:56:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631820800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":162742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:56:58] local.INFO: GPS data processed {"connection_id":162742,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:56:58] local.INFO: Acknowledgment sent {"connection_id":162742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:57:18] local.INFO: TCP Data received {"connection_id":161515,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:57:18] local.INFO: Processing buffer {"connection_id":161515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:57:18] local.INFO: Packet analysis {"connection_id":161515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 07:57:18] local.INFO: Extracted packet for processing {"connection_id":161515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 07:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 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-25 07:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631867392001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:57:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787624783000,"timestamp_ms":1787624783000,"timestamp_seconds":1787624783,"priority":1,"record_length":96,"hex_timestamp":"000001a036bd7c98"} 
[2026-08-25 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-25 07:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 07:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:57:18] 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-25 07:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631867392001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631867392001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:57:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631867392001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":161515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:57:18] local.INFO: GPS data processed {"connection_id":161515,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:57:18] local.INFO: Acknowledgment sent {"connection_id":161515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:57:20] local.INFO: TCP Data received {"connection_id":161741,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:57:20] local.INFO: Processing buffer {"connection_id":161741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:57:20] local.INFO: IMEI packet received {"connection_id":161741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":161741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:57:26] local.INFO: TCP Data received {"connection_id":161741,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:57:26] local.INFO: Processing buffer {"connection_id":161741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:57:26] local.INFO: IMEI packet received {"connection_id":161741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":161741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:57:26] local.INFO: TCP Data received {"connection_id":161741,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:57:26] local.INFO: Processing buffer {"connection_id":161741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:57:26] local.INFO: Packet analysis {"connection_id":161741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:57:26] local.INFO: Extracted packet for processing {"connection_id":161741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:57:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631820800001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:57: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-25 07:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787624601000,"timestamp_ms":1787624601000,"timestamp_seconds":1787624601,"priority":1,"record_length":96,"hex_timestamp":"000001a036bab5a8"} 
[2026-08-25 07:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:57: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-25 07:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:57:26] 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-25 07:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631820800001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631820800001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:57:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:57:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631820800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":161741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:57:26] local.INFO: GPS data processed {"connection_id":161741,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:57:26] local.INFO: Acknowledgment sent {"connection_id":161741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:57:40] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:57:40] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:57:40] local.INFO: IMEI packet received {"connection_id":161742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":161742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:57:46] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:57:46] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:57:46] local.INFO: IMEI packet received {"connection_id":161742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":161742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:57:47] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:57:47] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:57:47] local.INFO: Packet analysis {"connection_id":161742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 07:57:47] local.INFO: Extracted packet for processing {"connection_id":161742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 07:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631867392001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:57:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787624783000,"timestamp_ms":1787624783000,"timestamp_seconds":1787624783,"priority":1,"record_length":96,"hex_timestamp":"000001a036bd7c98"} 
[2026-08-25 07:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631867392001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631867392001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631867392001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":161742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:57:47] local.INFO: GPS data processed {"connection_id":161742,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:57:47] local.INFO: Acknowledgment sent {"connection_id":161742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:57:57] local.INFO: TCP Data received {"connection_id":161741,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:57:57] local.INFO: Processing buffer {"connection_id":161741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:57:57] local.INFO: Packet analysis {"connection_id":161741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:57:57] local.INFO: Extracted packet for processing {"connection_id":161741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:57:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 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-25 07:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631820800001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:57: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-25 07:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787624601000,"timestamp_ms":1787624601000,"timestamp_seconds":1787624601,"priority":1,"record_length":96,"hex_timestamp":"000001a036bab5a8"} 
[2026-08-25 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-25 07:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 07:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:57:57] 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-25 07:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631820800001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631820800001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:57:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631820800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":161741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:57:58] local.INFO: GPS data processed {"connection_id":161741,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:57:58] local.INFO: Acknowledgment sent {"connection_id":161741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:58:18] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:58:18] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:58:18] local.INFO: Packet analysis {"connection_id":161742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 07:58:18] local.INFO: Extracted packet for processing {"connection_id":161742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 07:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631867392001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:58:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787624783000,"timestamp_ms":1787624783000,"timestamp_seconds":1787624783,"priority":1,"record_length":96,"hex_timestamp":"000001a036bd7c98"} 
[2026-08-25 07:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631867392001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631867392001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631867392001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":161742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:58:18] local.INFO: GPS data processed {"connection_id":161742,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:58:18] local.INFO: Acknowledgment sent {"connection_id":161742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:58:20] local.INFO: TCP Data received {"connection_id":164131,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:58:20] local.INFO: Processing buffer {"connection_id":164131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:58:20] local.INFO: IMEI packet received {"connection_id":164131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":164131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:58:26] local.INFO: TCP Data received {"connection_id":164131,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:58:26] local.INFO: Processing buffer {"connection_id":164131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:58:26] local.INFO: IMEI packet received {"connection_id":164131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":164131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:58:26] local.INFO: TCP Data received {"connection_id":164131,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:58:26] local.INFO: Processing buffer {"connection_id":164131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:58:26] local.INFO: Packet analysis {"connection_id":164131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:58:26] local.INFO: Extracted packet for processing {"connection_id":164131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:58:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631820800001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:58: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-25 07:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787624601000,"timestamp_ms":1787624601000,"timestamp_seconds":1787624601,"priority":1,"record_length":96,"hex_timestamp":"000001a036bab5a8"} 
[2026-08-25 07: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-25 07:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:58: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-25 07: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-25 07: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-25 07:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:58:26] 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-25 07:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631820800001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631820800001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:58:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:58:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631820800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":164131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:58:27] local.INFO: GPS data processed {"connection_id":164131,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:58:27] local.INFO: Acknowledgment sent {"connection_id":164131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:58:40] local.INFO: TCP Data received {"connection_id":162743,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:58:40] local.INFO: Processing buffer {"connection_id":162743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:58:40] local.INFO: IMEI packet received {"connection_id":162743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":162743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:58:46] local.INFO: TCP Data received {"connection_id":162743,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:58:46] local.INFO: Processing buffer {"connection_id":162743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:58:46] local.INFO: IMEI packet received {"connection_id":162743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":162743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:58:47] local.INFO: TCP Data received {"connection_id":162743,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:58:47] local.INFO: Processing buffer {"connection_id":162743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:58:47] local.INFO: Packet analysis {"connection_id":162743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 07:58:47] local.INFO: Extracted packet for processing {"connection_id":162743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 07:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631867392001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:58:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787624783000,"timestamp_ms":1787624783000,"timestamp_seconds":1787624783,"priority":1,"record_length":96,"hex_timestamp":"000001a036bd7c98"} 
[2026-08-25 07:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631867392001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631867392001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631867392001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":162743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:58:47] local.INFO: GPS data processed {"connection_id":162743,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:58:47] local.INFO: Acknowledgment sent {"connection_id":162743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:58:58] local.INFO: TCP Data received {"connection_id":164131,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:58:58] local.INFO: Processing buffer {"connection_id":164131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bab5a8012d1969c0071ff048003f011027..."} 
[2026-08-25 07:58:58] local.INFO: Packet analysis {"connection_id":164131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:58:58] local.INFO: Extracted packet for processing {"connection_id":164131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036ba"} 
[2026-08-25 07:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:58: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-25 07:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631820800001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 07:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787624601000,"timestamp_ms":1787624601000,"timestamp_seconds":1787624601,"priority":1,"record_length":96,"hex_timestamp":"000001a036bab5a8"} 
[2026-08-25 07:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:58: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-25 07:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:58:58] 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-25 07:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631820800001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631820800001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:58:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631820800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":164131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:58:58] local.INFO: GPS data processed {"connection_id":164131,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:58:58] local.INFO: Acknowledgment sent {"connection_id":164131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:59:18] local.INFO: TCP Data received {"connection_id":162743,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:59:18] local.INFO: Processing buffer {"connection_id":162743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:59:18] local.INFO: Packet analysis {"connection_id":162743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 07:59:18] local.INFO: Extracted packet for processing {"connection_id":162743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 07:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631867392001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:59:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787624783000,"timestamp_ms":1787624783000,"timestamp_seconds":1787624783,"priority":1,"record_length":96,"hex_timestamp":"000001a036bd7c98"} 
[2026-08-25 07: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-25 07:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07: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-25 07: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-25 07:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:59:18] 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-25 07:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631867392001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631867392001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631867392001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":162743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:59:18] local.INFO: GPS data processed {"connection_id":162743,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:59:18] local.INFO: Acknowledgment sent {"connection_id":162743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:59:21] local.INFO: TCP Data received {"connection_id":161516,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:59:21] local.INFO: Processing buffer {"connection_id":161516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:59:21] local.INFO: IMEI packet received {"connection_id":161516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 07:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":161516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:59:26] local.INFO: TCP Data received {"connection_id":161516,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:59:26] local.INFO: Processing buffer {"connection_id":161516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 07:59:26] local.INFO: IMEI packet received {"connection_id":161516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 07:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":161516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:59:26] local.INFO: TCP Data received {"connection_id":161516,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bf4d70012d1969c0071ff048003f011028..."} 
[2026-08-25 07:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bf4d70012d1969c0071ff048003f011028..."} 
[2026-08-25 07:59:26] local.INFO: Processing buffer {"connection_id":161516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bf4d70012d1969c0071ff048003f011028..."} 
[2026-08-25 07:59:26] local.INFO: Packet analysis {"connection_id":161516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bf"} 
[2026-08-25 07:59:26] local.INFO: Extracted packet for processing {"connection_id":161516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bf"} 
[2026-08-25 07:59:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07: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-25 07:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631897856001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:59: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-25 07:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787624902000,"timestamp_ms":1787624902000,"timestamp_seconds":1787624902,"priority":1,"record_length":96,"hex_timestamp":"000001a036bf4d70"} 
[2026-08-25 07: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-25 07:59:26] 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-25 07: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:59: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-25 07: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-25 07: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-25 07:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:59:26] 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-25 07:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631897856001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631897856001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:59:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:59:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631897856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":161516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:59:26] local.INFO: GPS data processed {"connection_id":161516,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:59:26] local.INFO: Acknowledgment sent {"connection_id":161516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:59:40] local.INFO: TCP Data received {"connection_id":164132,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:59:40] local.INFO: Processing buffer {"connection_id":164132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:59:40] local.INFO: IMEI packet received {"connection_id":164132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 07:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":164132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 07:59:46] local.INFO: TCP Data received {"connection_id":164132,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:59:46] local.INFO: Processing buffer {"connection_id":164132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 07:59:46] local.INFO: IMEI packet received {"connection_id":164132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 07:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":164132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 07:59:47] local.INFO: TCP Data received {"connection_id":164132,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:59:47] local.INFO: Processing buffer {"connection_id":164132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 07:59:47] local.INFO: Packet analysis {"connection_id":164132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 07:59:47] local.INFO: Extracted packet for processing {"connection_id":164132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 07:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 07:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631867392001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:59:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 07:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 07:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 07:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 07:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787624783000,"timestamp_ms":1787624783000,"timestamp_seconds":1787624783,"priority":1,"record_length":96,"hex_timestamp":"000001a036bd7c98"} 
[2026-08-25 07:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 07:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 07:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 07:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 07:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 07:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 07:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631867392001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 07:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 07:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 07:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631867392001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 07:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 07:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631867392001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 07:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":164132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:59:47] local.INFO: GPS data processed {"connection_id":164132,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:59:47] local.INFO: Acknowledgment sent {"connection_id":164132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 07:59:57] local.INFO: TCP Data received {"connection_id":161516,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bf4d70012d1969c0071ff048003f011028..."} 
[2026-08-25 07:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bf4d70012d1969c0071ff048003f011028..."} 
[2026-08-25 07:59:57] local.INFO: Processing buffer {"connection_id":161516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bf4d70012d1969c0071ff048003f011028..."} 
[2026-08-25 07:59:57] local.INFO: Packet analysis {"connection_id":161516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bf"} 
[2026-08-25 07:59:57] local.INFO: Extracted packet for processing {"connection_id":161516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bf"} 
[2026-08-25 07:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 07:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 07:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631897856001,"note":"Value kept but may cause issues"} 
[2026-08-25 07:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 07:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 07:59: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-25 07:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787624902000,"timestamp_ms":1787624902000,"timestamp_seconds":1787624902,"priority":1,"record_length":96,"hex_timestamp":"000001a036bf4d70"} 
[2026-08-25 07:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 07:59:57] 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-25 07:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 07:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 07:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 07:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 07:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 07:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 07:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 07:59:57] 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-25 07:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 07:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 07:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631897856001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 07:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 07:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 07:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631897856001,"description":"Unknown IO ID 0"} 
[2026-08-25 07:59:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 07:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 07:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 07:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 07:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631897856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 07:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":161516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 07:59:58] local.INFO: GPS data processed {"connection_id":161516,"processed":1,"errors":0,"total":1} 
[2026-08-25 07:59:58] local.INFO: Acknowledgment sent {"connection_id":161516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:00:18] local.INFO: TCP Data received {"connection_id":164132,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 08:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 08:00:18] local.INFO: Processing buffer {"connection_id":164132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 08:00:18] local.INFO: Packet analysis {"connection_id":164132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 08:00:18] local.INFO: Extracted packet for processing {"connection_id":164132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 08:00:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631867392001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:00:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787624783000,"timestamp_ms":1787624783000,"timestamp_seconds":1787624783,"priority":1,"record_length":96,"hex_timestamp":"000001a036bd7c98"} 
[2026-08-25 08:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631867392001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631867392001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:00:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631867392001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":164132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:00:18] local.INFO: GPS data processed {"connection_id":164132,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:00:18] local.INFO: Acknowledgment sent {"connection_id":164132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:00:21] local.INFO: TCP Data received {"connection_id":164133,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 08:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 08:00:21] local.INFO: Processing buffer {"connection_id":164133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 08:00:21] local.INFO: IMEI packet received {"connection_id":164133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 08:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":164133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:00:26] local.INFO: TCP Data received {"connection_id":164133,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 08:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 08:00:26] local.INFO: Processing buffer {"connection_id":164133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 08:00:26] local.INFO: IMEI packet received {"connection_id":164133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 08:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":164133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:00:26] local.INFO: TCP Data received {"connection_id":164133,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bf4d70012d1969c0071ff048003f011028..."} 
[2026-08-25 08:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bf4d70012d1969c0071ff048003f011028..."} 
[2026-08-25 08:00:26] local.INFO: Processing buffer {"connection_id":164133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bf4d70012d1969c0071ff048003f011028..."} 
[2026-08-25 08:00:26] local.INFO: Packet analysis {"connection_id":164133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bf"} 
[2026-08-25 08:00:26] local.INFO: Extracted packet for processing {"connection_id":164133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bf"} 
[2026-08-25 08:00:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631897856001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 08:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 08:00: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-25 08:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787624902000,"timestamp_ms":1787624902000,"timestamp_seconds":1787624902,"priority":1,"record_length":96,"hex_timestamp":"000001a036bf4d70"} 
[2026-08-25 08: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-25 08:00:26] 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-25 08: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 08:00: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-25 08: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-25 08: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-25 08:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 08:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 08:00:26] 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-25 08:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 08:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 08:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631897856001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 08:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 08:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 08:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631897856001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:00:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 08:00:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 08:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 08:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631897856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 08:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":164133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:00:27] local.INFO: GPS data processed {"connection_id":164133,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:00:27] local.INFO: Acknowledgment sent {"connection_id":164133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:00:40] local.INFO: TCP Data received {"connection_id":161517,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:00:40] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:00:40] local.INFO: IMEI packet received {"connection_id":161517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":161517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:00:46] local.INFO: TCP Data received {"connection_id":161517,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:00:46] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:00:46] local.INFO: IMEI packet received {"connection_id":161517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":161517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:00:46] local.INFO: TCP Data received {"connection_id":161517,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 08:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 08:00:46] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 08:00:46] local.INFO: Packet analysis {"connection_id":161517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 08:00:46] local.INFO: Extracted packet for processing {"connection_id":161517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 08:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631867392001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:00:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787624783000,"timestamp_ms":1787624783000,"timestamp_seconds":1787624783,"priority":1,"record_length":96,"hex_timestamp":"000001a036bd7c98"} 
[2026-08-25 08: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-25 08:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:00: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-25 08:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631867392001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631867392001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631867392001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":161517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:00:46] local.INFO: GPS data processed {"connection_id":161517,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:00:46] local.INFO: Acknowledgment sent {"connection_id":161517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:00:57] local.INFO: TCP Data received {"connection_id":164133,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a036bf4d70012d1969c0071ff048003f011028..."} 
[2026-08-25 08:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bf4d70012d1969c0071ff048003f011028..."} 
[2026-08-25 08:00:57] local.INFO: Processing buffer {"connection_id":164133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bf4d70012d1969c0071ff048003f011028..."} 
[2026-08-25 08:00:57] local.INFO: Packet analysis {"connection_id":164133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bf"} 
[2026-08-25 08:00:57] local.INFO: Extracted packet for processing {"connection_id":164133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bf"} 
[2026-08-25 08:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533640,"longitude_deg":75.6640192,"latitude_deg":11.953364,"altitude":63,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631897856001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837571644915712,"note":"Value kept but may cause issues"} 
[2026-08-25 08:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335962112,"note":"Value kept but may cause issues"} 
[2026-08-25 08:00: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-25 08:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787624902000,"timestamp_ms":1787624902000,"timestamp_seconds":1787624902,"priority":1,"record_length":96,"hex_timestamp":"000001a036bf4d70"} 
[2026-08-25 08: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-25 08:00:57] 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-25 08: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 08:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 08:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 08:00:57] 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-25 08:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 08:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 08:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631897856001,"66":2166,"102":206,"83":41984,"24":0,"16":15837571644915712,"45":1831205860335962112},"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-25 08:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 08:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 08:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631897856001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:00:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 08:00:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 08:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837571644915712,"km_value":15837571644915.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335962112,"description":"Unknown IO ID 45"} 
[2026-08-25 08:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631897856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860335962112}} 
[2026-08-25 08:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":164133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:00:58] local.INFO: GPS data processed {"connection_id":164133,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:00:58] local.INFO: Acknowledgment sent {"connection_id":164133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:01:18] local.INFO: TCP Data received {"connection_id":161517,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 08:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 08:01:18] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 08:01:18] local.INFO: Packet analysis {"connection_id":161517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 08:01:18] local.INFO: Extracted packet for processing {"connection_id":161517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 08:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631867392001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:01:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787624783000,"timestamp_ms":1787624783000,"timestamp_seconds":1787624783,"priority":1,"record_length":96,"hex_timestamp":"000001a036bd7c98"} 
[2026-08-25 08:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631867392001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631867392001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631867392001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":161517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:01:18] local.INFO: GPS data processed {"connection_id":161517,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:01:18] local.INFO: Acknowledgment sent {"connection_id":161517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:01:40] local.INFO: TCP Data received {"connection_id":161518,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:01:40] local.INFO: Processing buffer {"connection_id":161518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:01:40] local.INFO: IMEI packet received {"connection_id":161518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":161518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:01:46] local.INFO: TCP Data received {"connection_id":161518,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:01:46] local.INFO: Processing buffer {"connection_id":161518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:01:46] local.INFO: IMEI packet received {"connection_id":161518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":161518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:01:47] local.INFO: TCP Data received {"connection_id":161518,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 08:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 08:01:47] local.INFO: Processing buffer {"connection_id":161518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036bd7c98012d34c3c006aa46b0000a006d25..."} 
[2026-08-25 08:01:47] local.INFO: Packet analysis {"connection_id":161518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 08:01:47] local.INFO: Extracted packet for processing {"connection_id":161518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036bd"} 
[2026-08-25 08:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":10,"angle":109,"satellites":37,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631867392001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:01:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787624783000,"timestamp_ms":1787624783000,"timestamp_seconds":1787624783,"priority":1,"record_length":96,"hex_timestamp":"000001a036bd7c98"} 
[2026-08-25 08: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-25 08:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:01: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-25 08:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631867392001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631867392001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631867392001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":161518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:01:47] local.INFO: GPS data processed {"connection_id":161518,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:01:47] local.INFO: Acknowledgment sent {"connection_id":161518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:02:18] local.INFO: TCP Data received {"connection_id":161518,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:02:18] local.INFO: Processing buffer {"connection_id":161518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:02:18] local.INFO: Packet analysis {"connection_id":161518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:02:18] local.INFO: Extracted packet for processing {"connection_id":161518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631944448001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:02:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787625084000,"timestamp_ms":1787625084000,"timestamp_seconds":1787625084,"priority":1,"record_length":96,"hex_timestamp":"000001a036c21460"} 
[2026-08-25 08:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631944448001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631944448001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631944448001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":161518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:02:18] local.INFO: GPS data processed {"connection_id":161518,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:02:18] local.INFO: Acknowledgment sent {"connection_id":161518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:02:41] local.INFO: TCP Data received {"connection_id":162744,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:02:41] local.INFO: Processing buffer {"connection_id":162744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:02:41] local.INFO: IMEI packet received {"connection_id":162744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":162744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:02:46] local.INFO: TCP Data received {"connection_id":162744,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:02:46] local.INFO: Processing buffer {"connection_id":162744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:02:46] local.INFO: IMEI packet received {"connection_id":162744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":162744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:02:48] local.INFO: TCP Data received {"connection_id":162744,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:02:48] local.INFO: Processing buffer {"connection_id":162744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:02:48] local.INFO: Packet analysis {"connection_id":162744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:02:48] local.INFO: Extracted packet for processing {"connection_id":162744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631944448001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:02:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787625084000,"timestamp_ms":1787625084000,"timestamp_seconds":1787625084,"priority":1,"record_length":96,"hex_timestamp":"000001a036c21460"} 
[2026-08-25 08:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631944448001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631944448001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:02:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631944448001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":162744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:02:48] local.INFO: GPS data processed {"connection_id":162744,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:02:48] local.INFO: Acknowledgment sent {"connection_id":162744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:03:19] local.INFO: TCP Data received {"connection_id":162744,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:03:19] local.INFO: Processing buffer {"connection_id":162744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:03:19] local.INFO: Packet analysis {"connection_id":162744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:03:19] local.INFO: Extracted packet for processing {"connection_id":162744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631944448001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:03:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787625084000,"timestamp_ms":1787625084000,"timestamp_seconds":1787625084,"priority":1,"record_length":96,"hex_timestamp":"000001a036c21460"} 
[2026-08-25 08:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:03:19] 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-25 08:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631944448001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631944448001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631944448001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":162744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:03:19] local.INFO: GPS data processed {"connection_id":162744,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:03:19] local.INFO: Acknowledgment sent {"connection_id":162744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:03:40] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:03:40] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:03:40] local.INFO: IMEI packet received {"connection_id":161743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":161743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:03:46] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:03:46] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:03:46] local.INFO: IMEI packet received {"connection_id":161743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":161743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:03:47] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:03:47] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:03:47] local.INFO: Packet analysis {"connection_id":161743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:03:47] local.INFO: Extracted packet for processing {"connection_id":161743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631944448001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787625084000,"timestamp_ms":1787625084000,"timestamp_seconds":1787625084,"priority":1,"record_length":96,"hex_timestamp":"000001a036c21460"} 
[2026-08-25 08:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:03:47] 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-25 08:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631944448001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631944448001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631944448001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":161743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:03:47] local.INFO: GPS data processed {"connection_id":161743,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:03:47] local.INFO: Acknowledgment sent {"connection_id":161743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:04:19] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:04:19] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:04:19] local.INFO: Packet analysis {"connection_id":161743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:04:19] local.INFO: Extracted packet for processing {"connection_id":161743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631944448001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:04:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787625084000,"timestamp_ms":1787625084000,"timestamp_seconds":1787625084,"priority":1,"record_length":96,"hex_timestamp":"000001a036c21460"} 
[2026-08-25 08:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631944448001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631944448001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:04:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631944448001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":161743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:04:19] local.INFO: GPS data processed {"connection_id":161743,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:04:19] local.INFO: Acknowledgment sent {"connection_id":161743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:04:40] local.INFO: TCP Data received {"connection_id":164134,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:04:40] local.INFO: Processing buffer {"connection_id":164134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:04:40] local.INFO: IMEI packet received {"connection_id":164134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":164134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:04:46] local.INFO: TCP Data received {"connection_id":164134,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:04:46] local.INFO: Processing buffer {"connection_id":164134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:04:46] local.INFO: IMEI packet received {"connection_id":164134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":164134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:04:47] local.INFO: TCP Data received {"connection_id":164134,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:04:47] local.INFO: Processing buffer {"connection_id":164134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:04:47] local.INFO: Packet analysis {"connection_id":164134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:04:47] local.INFO: Extracted packet for processing {"connection_id":164134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631944448001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:04:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787625084000,"timestamp_ms":1787625084000,"timestamp_seconds":1787625084,"priority":1,"record_length":96,"hex_timestamp":"000001a036c21460"} 
[2026-08-25 08:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:04:47] local.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-25 08:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631944448001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631944448001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631944448001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":164134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:04:47] local.INFO: GPS data processed {"connection_id":164134,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:04:47] local.INFO: Acknowledgment sent {"connection_id":164134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:05:19] local.INFO: TCP Data received {"connection_id":164134,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:05:19] local.INFO: Processing buffer {"connection_id":164134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:05:19] local.INFO: Packet analysis {"connection_id":164134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:05:19] local.INFO: Extracted packet for processing {"connection_id":164134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631944448001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:05:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787625084000,"timestamp_ms":1787625084000,"timestamp_seconds":1787625084,"priority":1,"record_length":96,"hex_timestamp":"000001a036c21460"} 
[2026-08-25 08:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631944448001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631944448001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631944448001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":164134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:05:19] local.INFO: GPS data processed {"connection_id":164134,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:05:19] local.INFO: Acknowledgment sent {"connection_id":164134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:05:40] local.INFO: TCP Data received {"connection_id":164135,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:05:40] local.INFO: Processing buffer {"connection_id":164135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:05:40] local.INFO: IMEI packet received {"connection_id":164135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":164135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:05:46] local.INFO: TCP Data received {"connection_id":164135,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:05:46] local.INFO: Processing buffer {"connection_id":164135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:05:46] local.INFO: IMEI packet received {"connection_id":164135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":164135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:05:47] local.INFO: TCP Data received {"connection_id":164135,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:05:47] local.INFO: Processing buffer {"connection_id":164135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:05:47] local.INFO: Packet analysis {"connection_id":164135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:05:47] local.INFO: Extracted packet for processing {"connection_id":164135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631944448001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:05:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787625084000,"timestamp_ms":1787625084000,"timestamp_seconds":1787625084,"priority":1,"record_length":96,"hex_timestamp":"000001a036c21460"} 
[2026-08-25 08:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631944448001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631944448001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631944448001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":164135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:05:47] local.INFO: GPS data processed {"connection_id":164135,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:05:47] local.INFO: Acknowledgment sent {"connection_id":164135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:06:19] local.INFO: TCP Data received {"connection_id":164135,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:06:19] local.INFO: Processing buffer {"connection_id":164135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:06:19] local.INFO: Packet analysis {"connection_id":164135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:06:19] local.INFO: Extracted packet for processing {"connection_id":164135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:06:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631944448001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:06:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787625084000,"timestamp_ms":1787625084000,"timestamp_seconds":1787625084,"priority":1,"record_length":96,"hex_timestamp":"000001a036c21460"} 
[2026-08-25 08: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-25 08:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631944448001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631944448001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:06:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631944448001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":164135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:06:19] local.INFO: GPS data processed {"connection_id":164135,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:06:19] local.INFO: Acknowledgment sent {"connection_id":164135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:06:40] local.INFO: TCP Data received {"connection_id":164136,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:06:40] local.INFO: Processing buffer {"connection_id":164136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:06:40] local.INFO: IMEI packet received {"connection_id":164136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":164136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:06:46] local.INFO: TCP Data received {"connection_id":164136,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:06:46] local.INFO: Processing buffer {"connection_id":164136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:06:46] local.INFO: IMEI packet received {"connection_id":164136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":164136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:06:46] local.INFO: TCP Data received {"connection_id":164136,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:06:46] local.INFO: Processing buffer {"connection_id":164136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c21460012d34c3c006aa46b00010006d27..."} 
[2026-08-25 08:06:46] local.INFO: Packet analysis {"connection_id":164136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:06:46] local.INFO: Extracted packet for processing {"connection_id":164136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c2"} 
[2026-08-25 08:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457631944448001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:06:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787625084000,"timestamp_ms":1787625084000,"timestamp_seconds":1787625084,"priority":1,"record_length":96,"hex_timestamp":"000001a036c21460"} 
[2026-08-25 08:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:06:46] 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-25 08:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457631944448001,"66":25615,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457631944448001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457631944448001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":164136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:06:46] local.INFO: GPS data processed {"connection_id":164136,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:06:46] local.INFO: Acknowledgment sent {"connection_id":164136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:07:18] local.INFO: TCP Data received {"connection_id":164136,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:07:18] local.INFO: Processing buffer {"connection_id":164136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:07:18] local.INFO: Packet analysis {"connection_id":164136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:07:18] local.INFO: Extracted packet for processing {"connection_id":164136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:07:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632021504001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:07:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787625385000,"timestamp_ms":1787625385000,"timestamp_seconds":1787625385,"priority":1,"record_length":96,"hex_timestamp":"000001a036c6ac28"} 
[2026-08-25 08:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:07:18] 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-25 08:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632021504001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632021504001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:07:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632021504001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":164136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:07:18] local.INFO: GPS data processed {"connection_id":164136,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:07:18] local.INFO: Acknowledgment sent {"connection_id":164136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:07:46] local.INFO: TCP Data received {"connection_id":161519,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:07:46] local.INFO: Processing buffer {"connection_id":161519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:07:46] local.INFO: IMEI packet received {"connection_id":161519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":161519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:07:51] local.INFO: TCP Data received {"connection_id":161519,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:07:51] local.INFO: Processing buffer {"connection_id":161519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:07:51] local.INFO: IMEI packet received {"connection_id":161519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":161519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:07:52] local.INFO: TCP Data received {"connection_id":161519,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:07:52] local.INFO: Processing buffer {"connection_id":161519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:07:52] local.INFO: Packet analysis {"connection_id":161519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:07:52] local.INFO: Extracted packet for processing {"connection_id":161519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632021504001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:07:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787625385000,"timestamp_ms":1787625385000,"timestamp_seconds":1787625385,"priority":1,"record_length":96,"hex_timestamp":"000001a036c6ac28"} 
[2026-08-25 08:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632021504001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632021504001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632021504001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":161519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:07:52] local.INFO: GPS data processed {"connection_id":161519,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:07:52] local.INFO: Acknowledgment sent {"connection_id":161519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:07:57] local.INFO: TCP Data received {"connection_id":161519,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:07:57] local.INFO: Processing buffer {"connection_id":161519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:07:57] local.INFO: Packet analysis {"connection_id":161519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:07:57] local.INFO: Extracted packet for processing {"connection_id":161519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:07:57] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632021504001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:07:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787625385000,"timestamp_ms":1787625385000,"timestamp_seconds":1787625385,"priority":1,"record_length":96,"hex_timestamp":"000001a036c6ac28"} 
[2026-08-25 08:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:07:57] 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-25 08:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632021504001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632021504001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:07:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632021504001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":161519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:07:57] local.INFO: GPS data processed {"connection_id":161519,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:07:57] local.INFO: Acknowledgment sent {"connection_id":161519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:08:41] local.INFO: TCP Data received {"connection_id":161520,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:08:41] local.INFO: Processing buffer {"connection_id":161520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:08:41] local.INFO: IMEI packet received {"connection_id":161520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":161520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:08:46] local.INFO: TCP Data received {"connection_id":161520,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:08:46] local.INFO: Processing buffer {"connection_id":161520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:08:46] local.INFO: IMEI packet received {"connection_id":161520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":161520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:08:47] local.INFO: TCP Data received {"connection_id":161520,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:08:47] local.INFO: Processing buffer {"connection_id":161520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:08:47] local.INFO: Packet analysis {"connection_id":161520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:08:47] local.INFO: Extracted packet for processing {"connection_id":161520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632021504001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:08:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787625385000,"timestamp_ms":1787625385000,"timestamp_seconds":1787625385,"priority":1,"record_length":96,"hex_timestamp":"000001a036c6ac28"} 
[2026-08-25 08:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:08: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-25 08:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632021504001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632021504001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632021504001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":161520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:08:47] local.INFO: GPS data processed {"connection_id":161520,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:08:47] local.INFO: Acknowledgment sent {"connection_id":161520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:09:19] local.INFO: TCP Data received {"connection_id":161520,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:09:19] local.INFO: Processing buffer {"connection_id":161520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:09:19] local.INFO: Packet analysis {"connection_id":161520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:09:19] local.INFO: Extracted packet for processing {"connection_id":161520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:09:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632021504001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:09:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787625385000,"timestamp_ms":1787625385000,"timestamp_seconds":1787625385,"priority":1,"record_length":96,"hex_timestamp":"000001a036c6ac28"} 
[2026-08-25 08:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632021504001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632021504001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:09:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632021504001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":161520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:09:19] local.INFO: GPS data processed {"connection_id":161520,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:09:19] local.INFO: Acknowledgment sent {"connection_id":161520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:09:40] local.INFO: TCP Data received {"connection_id":161521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:09:40] local.INFO: Processing buffer {"connection_id":161521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:09:40] local.INFO: IMEI packet received {"connection_id":161521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":161521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:09:45] local.INFO: TCP Data received {"connection_id":161521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:09:45] local.INFO: Processing buffer {"connection_id":161521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:09:45] local.INFO: IMEI packet received {"connection_id":161521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":161521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:09:46] local.INFO: TCP Data received {"connection_id":161521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:09:46] local.INFO: Processing buffer {"connection_id":161521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:09:46] local.INFO: Packet analysis {"connection_id":161521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:09:46] local.INFO: Extracted packet for processing {"connection_id":161521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632021504001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:09:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787625385000,"timestamp_ms":1787625385000,"timestamp_seconds":1787625385,"priority":1,"record_length":96,"hex_timestamp":"000001a036c6ac28"} 
[2026-08-25 08:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632021504001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632021504001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632021504001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":161521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:09:46] local.INFO: GPS data processed {"connection_id":161521,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:09:46] local.INFO: Acknowledgment sent {"connection_id":161521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:10:18] local.INFO: TCP Data received {"connection_id":161521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:10:18] local.INFO: Processing buffer {"connection_id":161521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:10:18] local.INFO: Packet analysis {"connection_id":161521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:10:18] local.INFO: Extracted packet for processing {"connection_id":161521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:10:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632021504001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:10:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787625385000,"timestamp_ms":1787625385000,"timestamp_seconds":1787625385,"priority":1,"record_length":96,"hex_timestamp":"000001a036c6ac28"} 
[2026-08-25 08:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:10:18] local.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-25 08:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632021504001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632021504001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:10:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632021504001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":161521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:10:18] local.INFO: GPS data processed {"connection_id":161521,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:10:18] local.INFO: Acknowledgment sent {"connection_id":161521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:10:45] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:10:45] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:10:45] local.INFO: IMEI packet received {"connection_id":161744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":161744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:10:50] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:10:50] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:10:50] local.INFO: IMEI packet received {"connection_id":161744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":161744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:10:52] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:10:52] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:10:52] local.INFO: Packet analysis {"connection_id":161744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:10:52] local.INFO: Extracted packet for processing {"connection_id":161744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632021504001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:10:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787625385000,"timestamp_ms":1787625385000,"timestamp_seconds":1787625385,"priority":1,"record_length":96,"hex_timestamp":"000001a036c6ac28"} 
[2026-08-25 08:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:10:52] local.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-25 08:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632021504001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632021504001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632021504001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":161744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:10:52] local.INFO: GPS data processed {"connection_id":161744,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:10:52] local.INFO: Acknowledgment sent {"connection_id":161744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:10:56] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:10:56] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:10:56] local.INFO: Packet analysis {"connection_id":161744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:10:56] local.INFO: Extracted packet for processing {"connection_id":161744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:10:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632021504001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:10:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787625385000,"timestamp_ms":1787625385000,"timestamp_seconds":1787625385,"priority":1,"record_length":96,"hex_timestamp":"000001a036c6ac28"} 
[2026-08-25 08: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-25 08:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 08:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:10: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-25 08:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632021504001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632021504001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:10:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632021504001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":161744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:10:56] local.INFO: GPS data processed {"connection_id":161744,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:10:56] local.INFO: Acknowledgment sent {"connection_id":161744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:11:40] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:11:40] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:11:40] local.INFO: IMEI packet received {"connection_id":161745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":161745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:11:46] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:11:46] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:11:46] local.INFO: IMEI packet received {"connection_id":161745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":161745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:11:46] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:11:46] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036c6ac28012d34c3c006aa46b00011006d27..."} 
[2026-08-25 08:11:46] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:11:46] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036c6"} 
[2026-08-25 08:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":17,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632021504001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:11:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787625385000,"timestamp_ms":1787625385000,"timestamp_seconds":1787625385,"priority":1,"record_length":96,"hex_timestamp":"000001a036c6ac28"} 
[2026-08-25 08:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 08:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:11:46] 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-25 08:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632021504001,"66":25582,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632021504001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632021504001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:11:46] local.INFO: GPS data processed {"connection_id":161745,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:11:46] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:12:17] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:12:17] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:12:17] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:12:17] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632098560001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:12:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787625686000,"timestamp_ms":1787625686000,"timestamp_seconds":1787625686,"priority":1,"record_length":96,"hex_timestamp":"000001a036cb43f0"} 
[2026-08-25 08: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-25 08:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632098560001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632098560001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632098560001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:12:17] local.INFO: GPS data processed {"connection_id":161745,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:12:17] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:12:40] local.INFO: TCP Data received {"connection_id":162745,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:12:40] local.INFO: Processing buffer {"connection_id":162745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:12:40] local.INFO: IMEI packet received {"connection_id":162745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":162745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:12:46] local.INFO: TCP Data received {"connection_id":162745,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:12:46] local.INFO: Processing buffer {"connection_id":162745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:12:46] local.INFO: IMEI packet received {"connection_id":162745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":162745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:12:46] local.INFO: TCP Data received {"connection_id":162745,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:12:46] local.INFO: Processing buffer {"connection_id":162745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:12:46] local.INFO: Packet analysis {"connection_id":162745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:12:46] local.INFO: Extracted packet for processing {"connection_id":162745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632098560001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:12:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787625686000,"timestamp_ms":1787625686000,"timestamp_seconds":1787625686,"priority":1,"record_length":96,"hex_timestamp":"000001a036cb43f0"} 
[2026-08-25 08:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632098560001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632098560001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632098560001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":162745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:12:46] local.INFO: GPS data processed {"connection_id":162745,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:12:46] local.INFO: Acknowledgment sent {"connection_id":162745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:13:18] local.INFO: TCP Data received {"connection_id":162745,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:13:18] local.INFO: Processing buffer {"connection_id":162745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:13:18] local.INFO: Packet analysis {"connection_id":162745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:13:18] local.INFO: Extracted packet for processing {"connection_id":162745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632098560001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:13:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787625686000,"timestamp_ms":1787625686000,"timestamp_seconds":1787625686,"priority":1,"record_length":96,"hex_timestamp":"000001a036cb43f0"} 
[2026-08-25 08:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:13:18] 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-25 08:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632098560001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632098560001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632098560001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":162745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:13:18] local.INFO: GPS data processed {"connection_id":162745,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:13:18] local.INFO: Acknowledgment sent {"connection_id":162745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:13:40] local.INFO: TCP Data received {"connection_id":161522,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:13:40] local.INFO: Processing buffer {"connection_id":161522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:13:40] local.INFO: IMEI packet received {"connection_id":161522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":161522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:13:45] local.INFO: TCP Data received {"connection_id":161522,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:13:46] local.INFO: Processing buffer {"connection_id":161522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:13:46] local.INFO: IMEI packet received {"connection_id":161522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":161522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:13:46] local.INFO: TCP Data received {"connection_id":161522,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:13:46] local.INFO: Processing buffer {"connection_id":161522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:13:46] local.INFO: Packet analysis {"connection_id":161522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:13:46] local.INFO: Extracted packet for processing {"connection_id":161522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632098560001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:13:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787625686000,"timestamp_ms":1787625686000,"timestamp_seconds":1787625686,"priority":1,"record_length":96,"hex_timestamp":"000001a036cb43f0"} 
[2026-08-25 08:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:13:46] 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-25 08:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632098560001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632098560001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632098560001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":161522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:13:46] local.INFO: GPS data processed {"connection_id":161522,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:13:46] local.INFO: Acknowledgment sent {"connection_id":161522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:14:18] local.INFO: TCP Data received {"connection_id":161522,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:14:18] local.INFO: Processing buffer {"connection_id":161522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:14:18] local.INFO: Packet analysis {"connection_id":161522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:14:18] local.INFO: Extracted packet for processing {"connection_id":161522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632098560001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:14:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787625686000,"timestamp_ms":1787625686000,"timestamp_seconds":1787625686,"priority":1,"record_length":96,"hex_timestamp":"000001a036cb43f0"} 
[2026-08-25 08: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-25 08:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08: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-25 08: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-25 08:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632098560001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632098560001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632098560001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":161522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:14:18] local.INFO: GPS data processed {"connection_id":161522,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:14:18] local.INFO: Acknowledgment sent {"connection_id":161522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:14:40] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:14:40] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:14:40] local.INFO: IMEI packet received {"connection_id":161746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":161746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:14:45] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:14:45] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:14:45] local.INFO: IMEI packet received {"connection_id":161746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":161746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:14:46] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:14:46] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:14:46] local.INFO: Packet analysis {"connection_id":161746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:14:46] local.INFO: Extracted packet for processing {"connection_id":161746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632098560001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:14:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787625686000,"timestamp_ms":1787625686000,"timestamp_seconds":1787625686,"priority":1,"record_length":96,"hex_timestamp":"000001a036cb43f0"} 
[2026-08-25 08:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:14:46] local.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-25 08:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632098560001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632098560001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632098560001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":161746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:14:46] local.INFO: GPS data processed {"connection_id":161746,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:14:46] local.INFO: Acknowledgment sent {"connection_id":161746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:15:18] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:15:18] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:15:18] local.INFO: Packet analysis {"connection_id":161746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:15:18] local.INFO: Extracted packet for processing {"connection_id":161746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632098560001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:15:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787625686000,"timestamp_ms":1787625686000,"timestamp_seconds":1787625686,"priority":1,"record_length":96,"hex_timestamp":"000001a036cb43f0"} 
[2026-08-25 08:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:15: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-25 08:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632098560001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632098560001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632098560001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":161746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:15:18] local.INFO: GPS data processed {"connection_id":161746,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:15:18] local.INFO: Acknowledgment sent {"connection_id":161746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:15:40] local.INFO: TCP Data received {"connection_id":161523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:15:40] local.INFO: Processing buffer {"connection_id":161523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:15:40] local.INFO: IMEI packet received {"connection_id":161523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":161523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:15:45] local.INFO: TCP Data received {"connection_id":161523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:15:45] local.INFO: Processing buffer {"connection_id":161523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:15:45] local.INFO: IMEI packet received {"connection_id":161523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":161523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:15:46] local.INFO: TCP Data received {"connection_id":161523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:15:46] local.INFO: Processing buffer {"connection_id":161523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:15:46] local.INFO: Packet analysis {"connection_id":161523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:15:46] local.INFO: Extracted packet for processing {"connection_id":161523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632098560001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:15:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787625686000,"timestamp_ms":1787625686000,"timestamp_seconds":1787625686,"priority":1,"record_length":96,"hex_timestamp":"000001a036cb43f0"} 
[2026-08-25 08:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632098560001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632098560001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632098560001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":161523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:15:46] local.INFO: GPS data processed {"connection_id":161523,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:15:46] local.INFO: Acknowledgment sent {"connection_id":161523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:16:18] local.INFO: TCP Data received {"connection_id":161523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:16:18] local.INFO: Processing buffer {"connection_id":161523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:16:18] local.INFO: Packet analysis {"connection_id":161523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:16:18] local.INFO: Extracted packet for processing {"connection_id":161523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:16:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632098560001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:16:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787625686000,"timestamp_ms":1787625686000,"timestamp_seconds":1787625686,"priority":1,"record_length":96,"hex_timestamp":"000001a036cb43f0"} 
[2026-08-25 08:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:16:18] local.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-25 08:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632098560001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632098560001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:16:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632098560001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":161523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:16:18] local.INFO: GPS data processed {"connection_id":161523,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:16:18] local.INFO: Acknowledgment sent {"connection_id":161523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:16:45] local.INFO: TCP Data received {"connection_id":161524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:16:45] local.INFO: Processing buffer {"connection_id":161524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:16:45] local.INFO: IMEI packet received {"connection_id":161524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":161524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:16:50] local.INFO: TCP Data received {"connection_id":161524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:16:50] local.INFO: Processing buffer {"connection_id":161524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:16:50] local.INFO: IMEI packet received {"connection_id":161524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":161524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:16:51] local.INFO: TCP Data received {"connection_id":161524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:16:51] local.INFO: Processing buffer {"connection_id":161524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:16:51] local.INFO: Packet analysis {"connection_id":161524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:16:51] local.INFO: Extracted packet for processing {"connection_id":161524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632098560001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:16:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787625686000,"timestamp_ms":1787625686000,"timestamp_seconds":1787625686,"priority":1,"record_length":96,"hex_timestamp":"000001a036cb43f0"} 
[2026-08-25 08: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-25 08:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632098560001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632098560001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632098560001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":161524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:16:51] local.INFO: GPS data processed {"connection_id":161524,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:16:51] local.INFO: Acknowledgment sent {"connection_id":161524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:16:56] local.INFO: TCP Data received {"connection_id":161524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:16:56] local.INFO: Processing buffer {"connection_id":161524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036cb43f0012d34c3c006aa46b0000f006d28..."} 
[2026-08-25 08:16:56] local.INFO: Packet analysis {"connection_id":161524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:16:56] local.INFO: Extracted packet for processing {"connection_id":161524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036cb"} 
[2026-08-25 08:16:56] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":15,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632098560001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:16:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787625686000,"timestamp_ms":1787625686000,"timestamp_seconds":1787625686,"priority":1,"record_length":96,"hex_timestamp":"000001a036cb43f0"} 
[2026-08-25 08:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:16: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-25 08:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632098560001,"66":25604,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632098560001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:16:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632098560001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":161524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:16:56] local.INFO: GPS data processed {"connection_id":161524,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:16:56] local.INFO: Acknowledgment sent {"connection_id":161524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:17:40] local.INFO: TCP Data received {"connection_id":161525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:17:40] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:17:40] local.INFO: IMEI packet received {"connection_id":161525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":161525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:17:40] local.INFO: TCP Data received {"connection_id":161525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:17:40] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:17:40] local.INFO: IMEI packet received {"connection_id":161525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":161525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:17:45] local.INFO: TCP Data received {"connection_id":161525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:17:45] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:17:45] local.INFO: IMEI packet received {"connection_id":161525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":161525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:17:46] local.INFO: TCP Data received {"connection_id":161525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036cfc448012d34c3c006aa46b00010006d28..."} 
[2026-08-25 08:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036cfc448012d34c3c006aa46b00010006d28..."} 
[2026-08-25 08:17:46] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036cfc448012d34c3c006aa46b00010006d28..."} 
[2026-08-25 08:17:46] local.INFO: Packet analysis {"connection_id":161525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036cf"} 
[2026-08-25 08:17:46] local.INFO: Extracted packet for processing {"connection_id":161525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036cf"} 
[2026-08-25 08:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822512,"longitude_deg":75.8432704,"latitude_deg":11.1822512,"altitude":16,"angle":109,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa46b0","is_valid_coordinates":true} 
[2026-08-25 08:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632175616001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:17:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787625981000,"timestamp_ms":1787625981000,"timestamp_seconds":1787625981,"priority":1,"record_length":96,"hex_timestamp":"000001a036cfc448"} 
[2026-08-25 08:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632175616001,"66":25441,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632175616001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632175616001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":161525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:17:46] local.INFO: GPS data processed {"connection_id":161525,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:17:46] local.INFO: Acknowledgment sent {"connection_id":161525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:18:17] local.INFO: TCP Data received {"connection_id":161525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036cfcc18012d34c30006aa46f00010005528..."} 
[2026-08-25 08:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036cfcc18012d34c30006aa46f00010005528..."} 
[2026-08-25 08:18:17] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036cfcc18012d34c30006aa46f00010005528..."} 
[2026-08-25 08:18:17] local.INFO: Packet analysis {"connection_id":161525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036cf"} 
[2026-08-25 08:18:17] local.INFO: Extracted packet for processing {"connection_id":161525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036cf"} 
[2026-08-25 08:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822576,"longitude_deg":75.8432512,"latitude_deg":11.1822576,"altitude":16,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa46f0","is_valid_coordinates":true} 
[2026-08-25 08:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632251136001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:18:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081129060335616,"note":"Value kept but may cause issues"} 
[2026-08-25 08:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289926656,"note":"Value kept but may cause issues"} 
[2026-08-25 08:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787625983000,"timestamp_ms":1787625983000,"timestamp_seconds":1787625983,"priority":1,"record_length":96,"hex_timestamp":"000001a036cfcc18"} 
[2026-08-25 08:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 08:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 08:18:17] 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-25 08:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632251136001,"66":22081,"200":0,"81":23296,"24":0,"16":391081129060335616,"45":3802093645289926656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632251136001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081129060335616,"km_value":391081129060335.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289926656,"description":"Unknown IO ID 45"} 
[2026-08-25 08:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632251136001,"power":22081,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289926656}} 
[2026-08-25 08:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":161525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:18:17] local.INFO: GPS data processed {"connection_id":161525,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:18:17] local.INFO: Acknowledgment sent {"connection_id":161525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:18:40] local.INFO: TCP Data received {"connection_id":161526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:18:40] local.INFO: Processing buffer {"connection_id":161526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:18:40] local.INFO: IMEI packet received {"connection_id":161526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":161526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:18:45] local.INFO: TCP Data received {"connection_id":161526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:18:45] local.INFO: Processing buffer {"connection_id":161526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:18:45] local.INFO: IMEI packet received {"connection_id":161526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":161526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:18:46] local.INFO: TCP Data received {"connection_id":161526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036d01e20012d34c30006aa46f0000e005525..."} 
[2026-08-25 08:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d01e20012d34c30006aa46f0000e005525..."} 
[2026-08-25 08:18:46] local.INFO: Processing buffer {"connection_id":161526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d01e20012d34c30006aa46f0000e005525..."} 
[2026-08-25 08:18:46] local.INFO: Packet analysis {"connection_id":161526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:18:46] local.INFO: Extracted packet for processing {"connection_id":161526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111822576,"longitude_deg":75.8432512,"latitude_deg":11.1822576,"altitude":14,"angle":85,"satellites":37,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa46f0","is_valid_coordinates":true} 
[2026-08-25 08:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632251648001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:18:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081133355302912,"note":"Value kept but may cause issues"} 
[2026-08-25 08:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057410048,"note":"Value kept but may cause issues"} 
[2026-08-25 08:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787626004000,"timestamp_ms":1787626004000,"timestamp_seconds":1787626004,"priority":1,"record_length":96,"hex_timestamp":"000001a036d01e20"} 
[2026-08-25 08:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 08:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":86,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-25 08:18:46] 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-25 08:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632251648001,"66":27713,"200":0,"81":23296,"24":0,"16":391081133355302912,"45":3801882539057410048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632251648001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081133355302912,"km_value":391081133355302.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057410048,"description":"Unknown IO ID 45"} 
[2026-08-25 08:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632251648001,"power":27713,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057410048}} 
[2026-08-25 08:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":161526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:18:46] local.INFO: GPS data processed {"connection_id":161526,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:18:46] local.INFO: Acknowledgment sent {"connection_id":161526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:19:17] local.INFO: TCP Data received {"connection_id":161526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:19:17] local.INFO: Processing buffer {"connection_id":161526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:19:17] local.INFO: Packet analysis {"connection_id":161526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:19:17] local.INFO: Extracted packet for processing {"connection_id":161526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822608,"longitude_deg":75.8432704,"latitude_deg":11.1822608,"altitude":14,"angle":85,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4710","is_valid_coordinates":true} 
[2026-08-25 08:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632257024001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:19:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057410048,"note":"Value kept but may cause issues"} 
[2026-08-25 08:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787626021000,"timestamp_ms":1787626021000,"timestamp_seconds":1787626021,"priority":1,"record_length":96,"hex_timestamp":"000001a036d06088"} 
[2026-08-25 08: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-25 08:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 08: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-25 08:19:17] 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-25 08: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-25 08: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-25 08:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632257024001,"66":27626,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801882539057410048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632257024001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057410048,"description":"Unknown IO ID 45"} 
[2026-08-25 08:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632257024001,"power":27626,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057410048}} 
[2026-08-25 08:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":161526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:19:17] local.INFO: GPS data processed {"connection_id":161526,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:19:17] local.INFO: Acknowledgment sent {"connection_id":161526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:19:40] local.INFO: TCP Data received {"connection_id":162746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:19:40] local.INFO: Processing buffer {"connection_id":162746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:19:40] local.INFO: IMEI packet received {"connection_id":162746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":162746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:19:45] local.INFO: TCP Data received {"connection_id":162746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:19:45] local.INFO: Processing buffer {"connection_id":162746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:19:45] local.INFO: IMEI packet received {"connection_id":162746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":162746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:19:46] local.INFO: TCP Data received {"connection_id":162746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:19:46] local.INFO: Processing buffer {"connection_id":162746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:19:46] local.INFO: Packet analysis {"connection_id":162746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:19:46] local.INFO: Extracted packet for processing {"connection_id":162746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822608,"longitude_deg":75.8432704,"latitude_deg":11.1822608,"altitude":14,"angle":85,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4710","is_valid_coordinates":true} 
[2026-08-25 08:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632257024001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:19:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057410048,"note":"Value kept but may cause issues"} 
[2026-08-25 08:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787626021000,"timestamp_ms":1787626021000,"timestamp_seconds":1787626021,"priority":1,"record_length":96,"hex_timestamp":"000001a036d06088"} 
[2026-08-25 08: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-25 08:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 08: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-25 08:19:46] 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-25 08:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08: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-25 08:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632257024001,"66":27626,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801882539057410048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632257024001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057410048,"description":"Unknown IO ID 45"} 
[2026-08-25 08:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632257024001,"power":27626,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057410048}} 
[2026-08-25 08:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":162746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:19:46] local.INFO: GPS data processed {"connection_id":162746,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:19:46] local.INFO: Acknowledgment sent {"connection_id":162746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:20:17] local.INFO: TCP Data received {"connection_id":162746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:20:17] local.INFO: Processing buffer {"connection_id":162746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:20:17] local.INFO: Packet analysis {"connection_id":162746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:20:17] local.INFO: Extracted packet for processing {"connection_id":162746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822608,"longitude_deg":75.8432704,"latitude_deg":11.1822608,"altitude":14,"angle":85,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4710","is_valid_coordinates":true} 
[2026-08-25 08:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632257024001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:20:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057410048,"note":"Value kept but may cause issues"} 
[2026-08-25 08:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787626021000,"timestamp_ms":1787626021000,"timestamp_seconds":1787626021,"priority":1,"record_length":96,"hex_timestamp":"000001a036d06088"} 
[2026-08-25 08:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 08:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-25 08:20:17] 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-25 08:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632257024001,"66":27626,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801882539057410048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632257024001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057410048,"description":"Unknown IO ID 45"} 
[2026-08-25 08:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632257024001,"power":27626,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057410048}} 
[2026-08-25 08:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":162746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:20:17] local.INFO: GPS data processed {"connection_id":162746,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:20:17] local.INFO: Acknowledgment sent {"connection_id":162746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:20:40] local.INFO: TCP Data received {"connection_id":162747,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:20:40] local.INFO: Processing buffer {"connection_id":162747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:20:40] local.INFO: IMEI packet received {"connection_id":162747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":162747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:20:45] local.INFO: TCP Data received {"connection_id":162747,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:20:45] local.INFO: Processing buffer {"connection_id":162747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:20:45] local.INFO: IMEI packet received {"connection_id":162747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":162747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:20:47] local.INFO: TCP Data received {"connection_id":162747,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:20:47] local.INFO: Processing buffer {"connection_id":162747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:20:47] local.INFO: Packet analysis {"connection_id":162747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:20:47] local.INFO: Extracted packet for processing {"connection_id":162747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822608,"longitude_deg":75.8432704,"latitude_deg":11.1822608,"altitude":14,"angle":85,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4710","is_valid_coordinates":true} 
[2026-08-25 08:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632257024001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:20:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057410048,"note":"Value kept but may cause issues"} 
[2026-08-25 08:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787626021000,"timestamp_ms":1787626021000,"timestamp_seconds":1787626021,"priority":1,"record_length":96,"hex_timestamp":"000001a036d06088"} 
[2026-08-25 08:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 08:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-25 08:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632257024001,"66":27626,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801882539057410048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632257024001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057410048,"description":"Unknown IO ID 45"} 
[2026-08-25 08:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632257024001,"power":27626,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057410048}} 
[2026-08-25 08:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":162747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:20:47] local.INFO: GPS data processed {"connection_id":162747,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:20:47] local.INFO: Acknowledgment sent {"connection_id":162747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:21:19] local.INFO: TCP Data received {"connection_id":162747,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:21:19] local.INFO: Processing buffer {"connection_id":162747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:21:19] local.INFO: Packet analysis {"connection_id":162747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:21:19] local.INFO: Extracted packet for processing {"connection_id":162747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822608,"longitude_deg":75.8432704,"latitude_deg":11.1822608,"altitude":14,"angle":85,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4710","is_valid_coordinates":true} 
[2026-08-25 08:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 08:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632257024001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:21:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057410048,"note":"Value kept but may cause issues"} 
[2026-08-25 08:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787626021000,"timestamp_ms":1787626021000,"timestamp_seconds":1787626021,"priority":1,"record_length":96,"hex_timestamp":"000001a036d06088"} 
[2026-08-25 08:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 08:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-25 08:21:19] 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-25 08:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:21:19] 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-25 08:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632257024001,"66":27626,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801882539057410048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632257024001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057410048,"description":"Unknown IO ID 45"} 
[2026-08-25 08:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632257024001,"power":27626,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057410048}} 
[2026-08-25 08:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":162747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:21:19] local.INFO: GPS data processed {"connection_id":162747,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:21:19] local.INFO: Acknowledgment sent {"connection_id":162747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:21:40] local.INFO: TCP Data received {"connection_id":161527,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:21:40] local.INFO: Processing buffer {"connection_id":161527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:21:40] local.INFO: IMEI packet received {"connection_id":161527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":161527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:21:46] local.INFO: TCP Data received {"connection_id":161527,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:21:46] local.INFO: Processing buffer {"connection_id":161527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:21:46] local.INFO: IMEI packet received {"connection_id":161527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":161527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:21:47] local.INFO: TCP Data received {"connection_id":161527,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:21:47] local.INFO: Processing buffer {"connection_id":161527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:21:47] local.INFO: Packet analysis {"connection_id":161527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:21:47] local.INFO: Extracted packet for processing {"connection_id":161527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822608,"longitude_deg":75.8432704,"latitude_deg":11.1822608,"altitude":14,"angle":85,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4710","is_valid_coordinates":true} 
[2026-08-25 08:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632257024001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:21:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057410048,"note":"Value kept but may cause issues"} 
[2026-08-25 08:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787626021000,"timestamp_ms":1787626021000,"timestamp_seconds":1787626021,"priority":1,"record_length":96,"hex_timestamp":"000001a036d06088"} 
[2026-08-25 08:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 08:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-25 08:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632257024001,"66":27626,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801882539057410048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632257024001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057410048,"description":"Unknown IO ID 45"} 
[2026-08-25 08:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632257024001,"power":27626,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057410048}} 
[2026-08-25 08:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":161527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:21:47] local.INFO: GPS data processed {"connection_id":161527,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:21:47] local.INFO: Acknowledgment sent {"connection_id":161527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:22:18] local.INFO: TCP Data received {"connection_id":161527,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:22:18] local.INFO: Processing buffer {"connection_id":161527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d06088012d34c3c006aa4710000e005520..."} 
[2026-08-25 08:22:18] local.INFO: Packet analysis {"connection_id":161527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:22:18] local.INFO: Extracted packet for processing {"connection_id":161527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d0"} 
[2026-08-25 08:22:18] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822608,"longitude_deg":75.8432704,"latitude_deg":11.1822608,"altitude":14,"angle":85,"satellites":32,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4710","is_valid_coordinates":true} 
[2026-08-25 08:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632257024001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:22:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 08:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057410048,"note":"Value kept but may cause issues"} 
[2026-08-25 08:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 08:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787626021000,"timestamp_ms":1787626021000,"timestamp_seconds":1787626021,"priority":1,"record_length":96,"hex_timestamp":"000001a036d06088"} 
[2026-08-25 08:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:22: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-25 08:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-25 08:22:18] 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-25 08:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:22:18] 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-25 08:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632257024001,"66":27626,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801882539057410048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 08:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632257024001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:22:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057410048,"description":"Unknown IO ID 45"} 
[2026-08-25 08:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632257024001,"power":27626,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057410048}} 
[2026-08-25 08:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":161527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:22:18] local.INFO: GPS data processed {"connection_id":161527,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:22:18] local.INFO: Acknowledgment sent {"connection_id":161527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:22:41] local.INFO: TCP Data received {"connection_id":162748,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:22:41] local.INFO: Processing buffer {"connection_id":162748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:22:41] local.INFO: IMEI packet received {"connection_id":162748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":162748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:22:45] local.INFO: TCP Data received {"connection_id":162748,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:22:45] local.INFO: Processing buffer {"connection_id":162748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:22:45] local.INFO: IMEI packet received {"connection_id":162748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":162748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:22:50] local.INFO: TCP Data received {"connection_id":162748,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:22:50] local.INFO: Processing buffer {"connection_id":162748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:22:50] local.INFO: IMEI packet received {"connection_id":162748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":162748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:22:51] local.INFO: TCP Data received {"connection_id":162748,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:22:51] local.INFO: Processing buffer {"connection_id":162748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:22:51] local.INFO: Packet analysis {"connection_id":162748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:22:51] local.INFO: Extracted packet for processing {"connection_id":162748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632261376001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289951232,"note":"Value kept but may cause issues"} 
[2026-08-25 08:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787626323000,"timestamp_ms":1787626323000,"timestamp_seconds":1787626323,"priority":1,"record_length":96,"hex_timestamp":"000001a036d4fc38"} 
[2026-08-25 08: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-25 08:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 08: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-25 08:22:51] 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-25 08: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-25 08: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-25 08:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:22: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-25 08:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632261376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3802093645289951232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632261376001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:22:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289951232,"description":"Unknown IO ID 45"} 
[2026-08-25 08:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632261376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289951232}} 
[2026-08-25 08:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":162748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:22:51] local.INFO: GPS data processed {"connection_id":162748,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:22:51] local.INFO: Acknowledgment sent {"connection_id":162748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:22:56] local.INFO: TCP Data received {"connection_id":162748,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:22:56] local.INFO: Processing buffer {"connection_id":162748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:22:56] local.INFO: Packet analysis {"connection_id":162748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:22:56] local.INFO: Extracted packet for processing {"connection_id":162748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:22:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632261376001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289951232,"note":"Value kept but may cause issues"} 
[2026-08-25 08:22: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-25 08:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787626323000,"timestamp_ms":1787626323000,"timestamp_seconds":1787626323,"priority":1,"record_length":96,"hex_timestamp":"000001a036d4fc38"} 
[2026-08-25 08:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 08:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-25 08:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:22: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-25 08:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632261376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3802093645289951232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632261376001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:22:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:22:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289951232,"description":"Unknown IO ID 45"} 
[2026-08-25 08:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632261376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289951232}} 
[2026-08-25 08:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":162748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:22:56] local.INFO: GPS data processed {"connection_id":162748,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:22:56] local.INFO: Acknowledgment sent {"connection_id":162748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:23:41] local.INFO: TCP Data received {"connection_id":164137,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:23:41] local.INFO: Processing buffer {"connection_id":164137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:23:41] local.INFO: IMEI packet received {"connection_id":164137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":164137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:23:45] local.INFO: TCP Data received {"connection_id":164137,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:23:45] local.INFO: Processing buffer {"connection_id":164137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:23:45] local.INFO: IMEI packet received {"connection_id":164137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":164137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:23:46] local.INFO: TCP Data received {"connection_id":164137,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:23:46] local.INFO: Processing buffer {"connection_id":164137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:23:46] local.INFO: Packet analysis {"connection_id":164137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:23:46] local.INFO: Extracted packet for processing {"connection_id":164137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632261376001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289951232,"note":"Value kept but may cause issues"} 
[2026-08-25 08:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787626323000,"timestamp_ms":1787626323000,"timestamp_seconds":1787626323,"priority":1,"record_length":96,"hex_timestamp":"000001a036d4fc38"} 
[2026-08-25 08:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-25 08:23:46] 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-25 08:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:23:46] 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-25 08:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632261376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3802093645289951232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632261376001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289951232,"description":"Unknown IO ID 45"} 
[2026-08-25 08:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632261376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289951232}} 
[2026-08-25 08:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":164137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:23:46] local.INFO: GPS data processed {"connection_id":164137,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:23:46] local.INFO: Acknowledgment sent {"connection_id":164137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:24:17] local.INFO: TCP Data received {"connection_id":164137,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:24:17] local.INFO: Processing buffer {"connection_id":164137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:24:17] local.INFO: Packet analysis {"connection_id":164137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:24:17] local.INFO: Extracted packet for processing {"connection_id":164137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632261376001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289951232,"note":"Value kept but may cause issues"} 
[2026-08-25 08:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787626323000,"timestamp_ms":1787626323000,"timestamp_seconds":1787626323,"priority":1,"record_length":96,"hex_timestamp":"000001a036d4fc38"} 
[2026-08-25 08:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-25 08:24:17] 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-25 08:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632261376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3802093645289951232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632261376001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289951232,"description":"Unknown IO ID 45"} 
[2026-08-25 08:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632261376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289951232}} 
[2026-08-25 08:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":164137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:24:17] local.INFO: GPS data processed {"connection_id":164137,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:24:17] local.INFO: Acknowledgment sent {"connection_id":164137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:24:40] local.INFO: TCP Data received {"connection_id":162749,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:24:40] local.INFO: Processing buffer {"connection_id":162749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:24:40] local.INFO: IMEI packet received {"connection_id":162749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":162749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:24:46] local.INFO: TCP Data received {"connection_id":162749,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:24:46] local.INFO: Processing buffer {"connection_id":162749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:24:46] local.INFO: IMEI packet received {"connection_id":162749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":162749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:24:47] local.INFO: TCP Data received {"connection_id":162749,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:24:47] local.INFO: Processing buffer {"connection_id":162749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:24:47] local.INFO: Packet analysis {"connection_id":162749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:24:47] local.INFO: Extracted packet for processing {"connection_id":162749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632261376001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289951232,"note":"Value kept but may cause issues"} 
[2026-08-25 08:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787626323000,"timestamp_ms":1787626323000,"timestamp_seconds":1787626323,"priority":1,"record_length":96,"hex_timestamp":"000001a036d4fc38"} 
[2026-08-25 08:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-25 08:24:47] 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-25 08:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632261376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3802093645289951232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632261376001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:24:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289951232,"description":"Unknown IO ID 45"} 
[2026-08-25 08:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632261376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289951232}} 
[2026-08-25 08:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":162749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:24:47] local.INFO: GPS data processed {"connection_id":162749,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:24:47] local.INFO: Acknowledgment sent {"connection_id":162749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:25:18] local.INFO: TCP Data received {"connection_id":162749,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:25:18] local.INFO: Processing buffer {"connection_id":162749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:25:18] local.INFO: Packet analysis {"connection_id":162749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:25:18] local.INFO: Extracted packet for processing {"connection_id":162749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632261376001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289951232,"note":"Value kept but may cause issues"} 
[2026-08-25 08:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787626323000,"timestamp_ms":1787626323000,"timestamp_seconds":1787626323,"priority":1,"record_length":96,"hex_timestamp":"000001a036d4fc38"} 
[2026-08-25 08:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-25 08:25:18] 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-25 08:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:25:18] 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-25 08:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632261376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3802093645289951232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632261376001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:25:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289951232,"description":"Unknown IO ID 45"} 
[2026-08-25 08:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632261376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289951232}} 
[2026-08-25 08:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":162749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:25:18] local.INFO: GPS data processed {"connection_id":162749,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:25:18] local.INFO: Acknowledgment sent {"connection_id":162749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:25:45] local.INFO: TCP Data received {"connection_id":161528,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:25:45] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:25:45] local.INFO: IMEI packet received {"connection_id":161528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":161528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:25:50] local.INFO: TCP Data received {"connection_id":161528,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:25:50] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:25:50] local.INFO: IMEI packet received {"connection_id":161528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":161528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:25:51] local.INFO: TCP Data received {"connection_id":161528,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:25:51] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:25:51] local.INFO: Packet analysis {"connection_id":161528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:25:51] local.INFO: Extracted packet for processing {"connection_id":161528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632261376001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289951232,"note":"Value kept but may cause issues"} 
[2026-08-25 08:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787626323000,"timestamp_ms":1787626323000,"timestamp_seconds":1787626323,"priority":1,"record_length":96,"hex_timestamp":"000001a036d4fc38"} 
[2026-08-25 08:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 08:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-25 08:25:51] 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-25 08:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:25: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-25 08:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632261376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3802093645289951232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632261376001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:25:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289951232,"description":"Unknown IO ID 45"} 
[2026-08-25 08:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632261376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289951232}} 
[2026-08-25 08:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":161528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:25:51] local.INFO: GPS data processed {"connection_id":161528,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:25:51] local.INFO: Acknowledgment sent {"connection_id":161528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:25:57] local.INFO: TCP Data received {"connection_id":161528,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:25:57] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:25:57] local.INFO: Packet analysis {"connection_id":161528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:25:57] local.INFO: Extracted packet for processing {"connection_id":161528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:25:57] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632261376001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289951232,"note":"Value kept but may cause issues"} 
[2026-08-25 08:25: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-25 08:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787626323000,"timestamp_ms":1787626323000,"timestamp_seconds":1787626323,"priority":1,"record_length":96,"hex_timestamp":"000001a036d4fc38"} 
[2026-08-25 08:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-25 08:25: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-25 08:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:25: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-25 08:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632261376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3802093645289951232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632261376001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:25:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:25:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289951232,"description":"Unknown IO ID 45"} 
[2026-08-25 08:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632261376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289951232}} 
[2026-08-25 08:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":161528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:25:57] local.INFO: GPS data processed {"connection_id":161528,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:25:57] local.INFO: Acknowledgment sent {"connection_id":161528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:26:41] local.INFO: TCP Data received {"connection_id":161747,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:26:41] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:26:41] local.INFO: IMEI packet received {"connection_id":161747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":161747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:26:46] local.INFO: TCP Data received {"connection_id":161747,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:26:46] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:26:46] local.INFO: IMEI packet received {"connection_id":161747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":161747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:26:46] local.INFO: TCP Data received {"connection_id":161747,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:26:46] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:26:46] local.INFO: Packet analysis {"connection_id":161747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:26:46] local.INFO: Extracted packet for processing {"connection_id":161747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632261376001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289951232,"note":"Value kept but may cause issues"} 
[2026-08-25 08:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787626323000,"timestamp_ms":1787626323000,"timestamp_seconds":1787626323,"priority":1,"record_length":96,"hex_timestamp":"000001a036d4fc38"} 
[2026-08-25 08: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-25 08:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-25 08:26:46] 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-25 08: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-25 08: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-25 08:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:26:46] 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-25 08:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632261376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3802093645289951232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632261376001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:26:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289951232,"description":"Unknown IO ID 45"} 
[2026-08-25 08:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632261376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289951232}} 
[2026-08-25 08:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":161747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:26:46] local.INFO: GPS data processed {"connection_id":161747,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:26:46] local.INFO: Acknowledgment sent {"connection_id":161747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:27:18] local.INFO: TCP Data received {"connection_id":161747,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:27:18] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d4fc38012d34c0c006aa4878000d005527..."} 
[2026-08-25 08:27:18] local.INFO: Packet analysis {"connection_id":161747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:27:18] local.INFO: Extracted packet for processing {"connection_id":161747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d4"} 
[2026-08-25 08:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632261376001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289951232,"note":"Value kept but may cause issues"} 
[2026-08-25 08:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787626323000,"timestamp_ms":1787626323000,"timestamp_seconds":1787626323,"priority":1,"record_length":96,"hex_timestamp":"000001a036d4fc38"} 
[2026-08-25 08:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-25 08:27:18] 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-25 08:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:27:18] 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-25 08:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632261376001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3802093645289951232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632261376001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:27:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289951232,"description":"Unknown IO ID 45"} 
[2026-08-25 08:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632261376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289951232}} 
[2026-08-25 08:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":161747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:27:18] local.INFO: GPS data processed {"connection_id":161747,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:27:18] local.INFO: Acknowledgment sent {"connection_id":161747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:27:41] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:27:41] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:27:41] local.INFO: IMEI packet received {"connection_id":161748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":161748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:27:42] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:27:42] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:27:42] local.INFO: IMEI packet received {"connection_id":161748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":161748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:27:43] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:27:43] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:27:43] local.INFO: Packet analysis {"connection_id":161748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:27:43] local.INFO: Extracted packet for processing {"connection_id":161748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":18,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632338688001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787626624000,"timestamp_ms":1787626624000,"timestamp_seconds":1787626624,"priority":1,"record_length":96,"hex_timestamp":"000001a036d99400"} 
[2026-08-25 08:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632338688001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632338688001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:27:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632338688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":161748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:27:43] local.INFO: GPS data processed {"connection_id":161748,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:27:43] local.INFO: Acknowledgment sent {"connection_id":161748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:28:14] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:28:14] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:28:14] local.INFO: Packet analysis {"connection_id":161748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:28:14] local.INFO: Extracted packet for processing {"connection_id":161748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":18,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632338688001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787626624000,"timestamp_ms":1787626624000,"timestamp_seconds":1787626624,"priority":1,"record_length":96,"hex_timestamp":"000001a036d99400"} 
[2026-08-25 08:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632338688001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632338688001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:28:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632338688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":161748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:28:14] local.INFO: GPS data processed {"connection_id":161748,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:28:14] local.INFO: Acknowledgment sent {"connection_id":161748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:28:40] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:28:40] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:28:40] local.INFO: IMEI packet received {"connection_id":161749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":161749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:28:46] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:28:46] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:28:46] local.INFO: IMEI packet received {"connection_id":161749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":161749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:28:47] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:28:47] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:28:47] local.INFO: Packet analysis {"connection_id":161749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:28:47] local.INFO: Extracted packet for processing {"connection_id":161749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":18,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632338688001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787626624000,"timestamp_ms":1787626624000,"timestamp_seconds":1787626624,"priority":1,"record_length":96,"hex_timestamp":"000001a036d99400"} 
[2026-08-25 08:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632338688001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632338688001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:28:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632338688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":161749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:28:47] local.INFO: GPS data processed {"connection_id":161749,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:28:47] local.INFO: Acknowledgment sent {"connection_id":161749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:29:18] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:29:18] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:29:18] local.INFO: Packet analysis {"connection_id":161749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:29:18] local.INFO: Extracted packet for processing {"connection_id":161749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":18,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632338688001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787626624000,"timestamp_ms":1787626624000,"timestamp_seconds":1787626624,"priority":1,"record_length":96,"hex_timestamp":"000001a036d99400"} 
[2026-08-25 08: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-25 08:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:29:18] 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-25 08:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632338688001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632338688001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:29:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632338688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":161749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:29:18] local.INFO: GPS data processed {"connection_id":161749,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:29:18] local.INFO: Acknowledgment sent {"connection_id":161749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:29:40] local.INFO: TCP Data received {"connection_id":164138,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:29:40] local.INFO: Processing buffer {"connection_id":164138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:29:40] local.INFO: IMEI packet received {"connection_id":164138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":164138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:29:45] local.INFO: TCP Data received {"connection_id":164138,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:29:45] local.INFO: Processing buffer {"connection_id":164138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:29:45] local.INFO: IMEI packet received {"connection_id":164138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":164138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:29:46] local.INFO: TCP Data received {"connection_id":164138,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:29:46] local.INFO: Processing buffer {"connection_id":164138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:29:46] local.INFO: Packet analysis {"connection_id":164138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:29:46] local.INFO: Extracted packet for processing {"connection_id":164138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":18,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632338688001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787626624000,"timestamp_ms":1787626624000,"timestamp_seconds":1787626624,"priority":1,"record_length":96,"hex_timestamp":"000001a036d99400"} 
[2026-08-25 08:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:29:46] 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-25 08:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632338688001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632338688001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632338688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":164138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:29:46] local.INFO: GPS data processed {"connection_id":164138,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:29:46] local.INFO: Acknowledgment sent {"connection_id":164138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:30:17] local.INFO: TCP Data received {"connection_id":164138,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:30:17] local.INFO: Processing buffer {"connection_id":164138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:30:17] local.INFO: Packet analysis {"connection_id":164138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:30:17] local.INFO: Extracted packet for processing {"connection_id":164138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":18,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632338688001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787626624000,"timestamp_ms":1787626624000,"timestamp_seconds":1787626624,"priority":1,"record_length":96,"hex_timestamp":"000001a036d99400"} 
[2026-08-25 08:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632338688001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632338688001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:30:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632338688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":164138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:30:17] local.INFO: GPS data processed {"connection_id":164138,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:30:17] local.INFO: Acknowledgment sent {"connection_id":164138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:30:40] local.INFO: TCP Data received {"connection_id":161750,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:30:40] local.INFO: Processing buffer {"connection_id":161750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:30:40] local.INFO: IMEI packet received {"connection_id":161750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":161750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:30:46] local.INFO: TCP Data received {"connection_id":161750,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:30:46] local.INFO: Processing buffer {"connection_id":161750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:30:46] local.INFO: IMEI packet received {"connection_id":161750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":161750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:30:47] local.INFO: TCP Data received {"connection_id":161750,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:30:47] local.INFO: Processing buffer {"connection_id":161750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:30:47] local.INFO: Packet analysis {"connection_id":161750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:30:47] local.INFO: Extracted packet for processing {"connection_id":161750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":18,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632338688001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787626624000,"timestamp_ms":1787626624000,"timestamp_seconds":1787626624,"priority":1,"record_length":96,"hex_timestamp":"000001a036d99400"} 
[2026-08-25 08:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632338688001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632338688001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:30:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632338688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":161750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:30:47] local.INFO: GPS data processed {"connection_id":161750,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:30:47] local.INFO: Acknowledgment sent {"connection_id":161750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:31:18] local.INFO: TCP Data received {"connection_id":161750,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:31:18] local.INFO: Processing buffer {"connection_id":161750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:31:18] local.INFO: Packet analysis {"connection_id":161750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:31:18] local.INFO: Extracted packet for processing {"connection_id":161750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:31:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":18,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632338688001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787626624000,"timestamp_ms":1787626624000,"timestamp_seconds":1787626624,"priority":1,"record_length":96,"hex_timestamp":"000001a036d99400"} 
[2026-08-25 08:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:31:18] 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-25 08:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632338688001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632338688001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:31:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:31:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632338688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":161750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:31:18] local.INFO: GPS data processed {"connection_id":161750,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:31:18] local.INFO: Acknowledgment sent {"connection_id":161750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:31:45] local.INFO: TCP Data received {"connection_id":162750,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:31:45] local.INFO: Processing buffer {"connection_id":162750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:31:45] local.INFO: IMEI packet received {"connection_id":162750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":162750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:31:51] local.INFO: TCP Data received {"connection_id":162750,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:31:51] local.INFO: Processing buffer {"connection_id":162750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:31:51] local.INFO: IMEI packet received {"connection_id":162750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":162750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:31:51] local.INFO: TCP Data received {"connection_id":162750,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:31:51] local.INFO: Processing buffer {"connection_id":162750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:31:51] local.INFO: Packet analysis {"connection_id":162750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:31:51] local.INFO: Extracted packet for processing {"connection_id":162750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":18,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632338688001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787626624000,"timestamp_ms":1787626624000,"timestamp_seconds":1787626624,"priority":1,"record_length":96,"hex_timestamp":"000001a036d99400"} 
[2026-08-25 08: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-25 08:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08: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-25 08: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-25 08:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632338688001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632338688001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:31:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632338688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":162750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:31:51] local.INFO: GPS data processed {"connection_id":162750,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:31:51] local.INFO: Acknowledgment sent {"connection_id":162750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:32:23] local.INFO: TCP Data received {"connection_id":162750,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:32:23] local.INFO: Processing buffer {"connection_id":162750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036d99400012d34c0c006aa48780012005529..."} 
[2026-08-25 08:32:23] local.INFO: Packet analysis {"connection_id":162750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:32:23] local.INFO: Extracted packet for processing {"connection_id":162750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036d9"} 
[2026-08-25 08:32:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":18,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632338688001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787626624000,"timestamp_ms":1787626624000,"timestamp_seconds":1787626624,"priority":1,"record_length":96,"hex_timestamp":"000001a036d99400"} 
[2026-08-25 08:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632338688001,"66":25756,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632338688001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:32:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:32:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632338688001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":162750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:32:23] local.INFO: GPS data processed {"connection_id":162750,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:32:23] local.INFO: Acknowledgment sent {"connection_id":162750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:32:40] local.INFO: TCP Data received {"connection_id":161529,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:32:40] local.INFO: Processing buffer {"connection_id":161529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:32:40] local.INFO: IMEI packet received {"connection_id":161529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":161529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:32:44] local.INFO: TCP Data received {"connection_id":161529,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:32:44] local.INFO: Processing buffer {"connection_id":161529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:32:44] local.INFO: IMEI packet received {"connection_id":161529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":161529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:32:45] local.INFO: TCP Data received {"connection_id":161529,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:32:45] local.INFO: Processing buffer {"connection_id":161529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:32:45] local.INFO: Packet analysis {"connection_id":161529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:32:45] local.INFO: Extracted packet for processing {"connection_id":161529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":17,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632415744001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787626925000,"timestamp_ms":1787626925000,"timestamp_seconds":1787626925,"priority":1,"record_length":96,"hex_timestamp":"000001a036de2bc8"} 
[2026-08-25 08:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:32:45] 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-25 08:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632415744001,"66":25691,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632415744001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:32:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632415744001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":161529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:32:45] local.INFO: GPS data processed {"connection_id":161529,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:32:45] local.INFO: Acknowledgment sent {"connection_id":161529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:33:17] local.INFO: TCP Data received {"connection_id":161529,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:33:17] local.INFO: Processing buffer {"connection_id":161529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:33:17] local.INFO: Packet analysis {"connection_id":161529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:33:17] local.INFO: Extracted packet for processing {"connection_id":161529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":17,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632415744001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787626925000,"timestamp_ms":1787626925000,"timestamp_seconds":1787626925,"priority":1,"record_length":96,"hex_timestamp":"000001a036de2bc8"} 
[2026-08-25 08: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-25 08:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632415744001,"66":25691,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632415744001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632415744001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":161529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:33:17] local.INFO: GPS data processed {"connection_id":161529,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:33:17] local.INFO: Acknowledgment sent {"connection_id":161529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:33:40] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:33:40] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:33:40] local.INFO: IMEI packet received {"connection_id":161751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":161751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:33:45] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:33:45] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:33:45] local.INFO: IMEI packet received {"connection_id":161751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":161751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:33:46] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:33:46] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:33:46] local.INFO: Packet analysis {"connection_id":161751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:33:46] local.INFO: Extracted packet for processing {"connection_id":161751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":17,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632415744001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787626925000,"timestamp_ms":1787626925000,"timestamp_seconds":1787626925,"priority":1,"record_length":96,"hex_timestamp":"000001a036de2bc8"} 
[2026-08-25 08:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632415744001,"66":25691,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632415744001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:33:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632415744001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":161751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:33:46] local.INFO: GPS data processed {"connection_id":161751,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:33:46] local.INFO: Acknowledgment sent {"connection_id":161751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:34:18] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:34:18] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:34:18] local.INFO: Packet analysis {"connection_id":161751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:34:18] local.INFO: Extracted packet for processing {"connection_id":161751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":17,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632415744001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787626925000,"timestamp_ms":1787626925000,"timestamp_seconds":1787626925,"priority":1,"record_length":96,"hex_timestamp":"000001a036de2bc8"} 
[2026-08-25 08:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632415744001,"66":25691,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632415744001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:34:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632415744001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":161751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:34:18] local.INFO: GPS data processed {"connection_id":161751,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:34:18] local.INFO: Acknowledgment sent {"connection_id":161751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:34:40] local.INFO: TCP Data received {"connection_id":161530,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:34:40] local.INFO: Processing buffer {"connection_id":161530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:34:40] local.INFO: IMEI packet received {"connection_id":161530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":161530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:34:45] local.INFO: TCP Data received {"connection_id":161530,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:34:45] local.INFO: Processing buffer {"connection_id":161530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:34:45] local.INFO: IMEI packet received {"connection_id":161530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":161530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:34:47] local.INFO: TCP Data received {"connection_id":161530,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:34:47] local.INFO: Processing buffer {"connection_id":161530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:34:47] local.INFO: Packet analysis {"connection_id":161530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:34:47] local.INFO: Extracted packet for processing {"connection_id":161530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":17,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632415744001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787626925000,"timestamp_ms":1787626925000,"timestamp_seconds":1787626925,"priority":1,"record_length":96,"hex_timestamp":"000001a036de2bc8"} 
[2026-08-25 08:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:34:47] local.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-25 08:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632415744001,"66":25691,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632415744001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632415744001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":161530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:34:47] local.INFO: GPS data processed {"connection_id":161530,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:34:47] local.INFO: Acknowledgment sent {"connection_id":161530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:35:18] local.INFO: TCP Data received {"connection_id":161530,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:35:18] local.INFO: Processing buffer {"connection_id":161530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:35:18] local.INFO: Packet analysis {"connection_id":161530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:35:18] local.INFO: Extracted packet for processing {"connection_id":161530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":17,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632415744001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787626925000,"timestamp_ms":1787626925000,"timestamp_seconds":1787626925,"priority":1,"record_length":96,"hex_timestamp":"000001a036de2bc8"} 
[2026-08-25 08:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632415744001,"66":25691,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632415744001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:35:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632415744001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":161530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:35:18] local.INFO: GPS data processed {"connection_id":161530,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:35:18] local.INFO: Acknowledgment sent {"connection_id":161530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:35:45] local.INFO: TCP Data received {"connection_id":164139,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:35:45] local.INFO: Processing buffer {"connection_id":164139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:35:45] local.INFO: IMEI packet received {"connection_id":164139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":164139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:35:50] local.INFO: TCP Data received {"connection_id":164139,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:35:50] local.INFO: Processing buffer {"connection_id":164139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:35:50] local.INFO: IMEI packet received {"connection_id":164139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":164139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:35:51] local.INFO: TCP Data received {"connection_id":164139,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:35:51] local.INFO: Processing buffer {"connection_id":164139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:35:51] local.INFO: Packet analysis {"connection_id":164139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:35:51] local.INFO: Extracted packet for processing {"connection_id":164139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":17,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632415744001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787626925000,"timestamp_ms":1787626925000,"timestamp_seconds":1787626925,"priority":1,"record_length":96,"hex_timestamp":"000001a036de2bc8"} 
[2026-08-25 08:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632415744001,"66":25691,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632415744001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:35:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632415744001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":164139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:35:51] local.INFO: GPS data processed {"connection_id":164139,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:35:51] local.INFO: Acknowledgment sent {"connection_id":164139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:35:56] local.INFO: TCP Data received {"connection_id":164139,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:35:56] local.INFO: Processing buffer {"connection_id":164139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:35:56] local.INFO: Packet analysis {"connection_id":164139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:35:56] local.INFO: Extracted packet for processing {"connection_id":164139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:35:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":17,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632415744001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:35: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-25 08:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787626925000,"timestamp_ms":1787626925000,"timestamp_seconds":1787626925,"priority":1,"record_length":96,"hex_timestamp":"000001a036de2bc8"} 
[2026-08-25 08:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632415744001,"66":25691,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632415744001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:35:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:35:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632415744001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":164139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:35:56] local.INFO: GPS data processed {"connection_id":164139,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:35:56] local.INFO: Acknowledgment sent {"connection_id":164139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:36:41] local.INFO: TCP Data received {"connection_id":161752,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:36:41] local.INFO: Processing buffer {"connection_id":161752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:36:41] local.INFO: IMEI packet received {"connection_id":161752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":161752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:36:46] local.INFO: TCP Data received {"connection_id":161752,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:36:46] local.INFO: Processing buffer {"connection_id":161752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:36:46] local.INFO: IMEI packet received {"connection_id":161752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":161752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:36:47] local.INFO: TCP Data received {"connection_id":161752,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:36:47] local.INFO: Processing buffer {"connection_id":161752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:36:47] local.INFO: Packet analysis {"connection_id":161752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:36:47] local.INFO: Extracted packet for processing {"connection_id":161752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":17,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632415744001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787626925000,"timestamp_ms":1787626925000,"timestamp_seconds":1787626925,"priority":1,"record_length":96,"hex_timestamp":"000001a036de2bc8"} 
[2026-08-25 08:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632415744001,"66":25691,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632415744001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:36:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632415744001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":161752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:36:47] local.INFO: GPS data processed {"connection_id":161752,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:36:47] local.INFO: Acknowledgment sent {"connection_id":161752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:37:19] local.INFO: TCP Data received {"connection_id":161752,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:37:19] local.INFO: Processing buffer {"connection_id":161752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036de2bc8012d34c0c006aa48780011005527..."} 
[2026-08-25 08:37:19] local.INFO: Packet analysis {"connection_id":161752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:37:19] local.INFO: Extracted packet for processing {"connection_id":161752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036de"} 
[2026-08-25 08:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":17,"angle":85,"satellites":39,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632415744001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787626925000,"timestamp_ms":1787626925000,"timestamp_seconds":1787626925,"priority":1,"record_length":96,"hex_timestamp":"000001a036de2bc8"} 
[2026-08-25 08:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 08:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:37:19] 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-25 08:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632415744001,"66":25691,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632415744001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:37:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:37:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632415744001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":161752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:37:19] local.INFO: GPS data processed {"connection_id":161752,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:37:19] local.INFO: Acknowledgment sent {"connection_id":161752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:37:41] local.INFO: TCP Data received {"connection_id":161753,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:37:41] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:37:41] local.INFO: IMEI packet received {"connection_id":161753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":161753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:37:44] local.INFO: TCP Data received {"connection_id":161753,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:37:44] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:37:44] local.INFO: IMEI packet received {"connection_id":161753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":161753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:37:45] local.INFO: TCP Data received {"connection_id":161753,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:37:45] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:37:45] local.INFO: Packet analysis {"connection_id":161753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:37:45] local.INFO: Extracted packet for processing {"connection_id":161753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632492800001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787627226000,"timestamp_ms":1787627226000,"timestamp_seconds":1787627226,"priority":1,"record_length":96,"hex_timestamp":"000001a036e2c390"} 
[2026-08-25 08: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-25 08:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 08:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:37:45] 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-25 08:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632492800001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632492800001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:37:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632492800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":161753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:37:45] local.INFO: GPS data processed {"connection_id":161753,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:37:45] local.INFO: Acknowledgment sent {"connection_id":161753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:38:17] local.INFO: TCP Data received {"connection_id":161753,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:38:17] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:38:17] local.INFO: Packet analysis {"connection_id":161753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:38:17] local.INFO: Extracted packet for processing {"connection_id":161753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632492800001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787627226000,"timestamp_ms":1787627226000,"timestamp_seconds":1787627226,"priority":1,"record_length":96,"hex_timestamp":"000001a036e2c390"} 
[2026-08-25 08:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 08:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632492800001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632492800001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632492800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":161753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:38:17] local.INFO: GPS data processed {"connection_id":161753,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:38:17] local.INFO: Acknowledgment sent {"connection_id":161753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:38:40] local.INFO: TCP Data received {"connection_id":164140,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:38:40] local.INFO: Processing buffer {"connection_id":164140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:38:40] local.INFO: IMEI packet received {"connection_id":164140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":164140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:38:45] local.INFO: TCP Data received {"connection_id":164140,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:38:45] local.INFO: Processing buffer {"connection_id":164140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:38:45] local.INFO: IMEI packet received {"connection_id":164140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":164140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:38:47] local.INFO: TCP Data received {"connection_id":164140,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:38:47] local.INFO: Processing buffer {"connection_id":164140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:38:47] local.INFO: Packet analysis {"connection_id":164140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:38:47] local.INFO: Extracted packet for processing {"connection_id":164140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632492800001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787627226000,"timestamp_ms":1787627226000,"timestamp_seconds":1787627226,"priority":1,"record_length":96,"hex_timestamp":"000001a036e2c390"} 
[2026-08-25 08: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-25 08:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 08:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632492800001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632492800001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:38:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632492800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":164140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:38:47] local.INFO: GPS data processed {"connection_id":164140,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:38:47] local.INFO: Acknowledgment sent {"connection_id":164140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:39:18] local.INFO: TCP Data received {"connection_id":164140,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:39:18] local.INFO: Processing buffer {"connection_id":164140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:39:18] local.INFO: Packet analysis {"connection_id":164140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:39:18] local.INFO: Extracted packet for processing {"connection_id":164140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632492800001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787627226000,"timestamp_ms":1787627226000,"timestamp_seconds":1787627226,"priority":1,"record_length":96,"hex_timestamp":"000001a036e2c390"} 
[2026-08-25 08:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 08:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:39:18] 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-25 08:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632492800001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632492800001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:39:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632492800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":164140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:39:18] local.INFO: GPS data processed {"connection_id":164140,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:39:18] local.INFO: Acknowledgment sent {"connection_id":164140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:39:40] local.INFO: TCP Data received {"connection_id":161754,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:39:40] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:39:40] local.INFO: IMEI packet received {"connection_id":161754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":161754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:39:45] local.INFO: TCP Data received {"connection_id":161754,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:39:45] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:39:45] local.INFO: IMEI packet received {"connection_id":161754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":161754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:39:46] local.INFO: TCP Data received {"connection_id":161754,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:39:46] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:39:46] local.INFO: Packet analysis {"connection_id":161754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:39:46] local.INFO: Extracted packet for processing {"connection_id":161754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632492800001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787627226000,"timestamp_ms":1787627226000,"timestamp_seconds":1787627226,"priority":1,"record_length":96,"hex_timestamp":"000001a036e2c390"} 
[2026-08-25 08:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 08:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632492800001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632492800001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632492800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":161754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:39:46] local.INFO: GPS data processed {"connection_id":161754,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:39:46] local.INFO: Acknowledgment sent {"connection_id":161754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:40:18] local.INFO: TCP Data received {"connection_id":161754,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:40:18] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:40:18] local.INFO: Packet analysis {"connection_id":161754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:40:18] local.INFO: Extracted packet for processing {"connection_id":161754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632492800001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787627226000,"timestamp_ms":1787627226000,"timestamp_seconds":1787627226,"priority":1,"record_length":96,"hex_timestamp":"000001a036e2c390"} 
[2026-08-25 08:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 08:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:40:18] 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-25 08:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632492800001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632492800001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:40:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632492800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":161754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:40:18] local.INFO: GPS data processed {"connection_id":161754,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:40:18] local.INFO: Acknowledgment sent {"connection_id":161754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:40:45] local.INFO: TCP Data received {"connection_id":162751,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:40:45] local.INFO: Processing buffer {"connection_id":162751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:40:45] local.INFO: IMEI packet received {"connection_id":162751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":162751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:40:50] local.INFO: TCP Data received {"connection_id":162751,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:40:50] local.INFO: Processing buffer {"connection_id":162751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:40:50] local.INFO: IMEI packet received {"connection_id":162751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":162751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:40:51] local.INFO: TCP Data received {"connection_id":162751,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:40:51] local.INFO: Processing buffer {"connection_id":162751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:40:51] local.INFO: Packet analysis {"connection_id":162751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:40:51] local.INFO: Extracted packet for processing {"connection_id":162751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632492800001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787627226000,"timestamp_ms":1787627226000,"timestamp_seconds":1787627226,"priority":1,"record_length":96,"hex_timestamp":"000001a036e2c390"} 
[2026-08-25 08:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 08:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632492800001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632492800001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:40:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632492800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":162751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:40:51] local.INFO: GPS data processed {"connection_id":162751,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:40:51] local.INFO: Acknowledgment sent {"connection_id":162751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:40:56] local.INFO: TCP Data received {"connection_id":162751,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:40:56] local.INFO: Processing buffer {"connection_id":162751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:40:56] local.INFO: Packet analysis {"connection_id":162751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:40:56] local.INFO: Extracted packet for processing {"connection_id":162751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:40:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632492800001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:40: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-25 08:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787627226000,"timestamp_ms":1787627226000,"timestamp_seconds":1787627226,"priority":1,"record_length":96,"hex_timestamp":"000001a036e2c390"} 
[2026-08-25 08: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-25 08:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 08:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632492800001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632492800001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:40:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:40:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632492800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":162751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:40:56] local.INFO: GPS data processed {"connection_id":162751,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:40:56] local.INFO: Acknowledgment sent {"connection_id":162751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:41:40] local.INFO: TCP Data received {"connection_id":164141,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:41:40] local.INFO: Processing buffer {"connection_id":164141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:41:40] local.INFO: IMEI packet received {"connection_id":164141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":164141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:41:45] local.INFO: TCP Data received {"connection_id":164141,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:41:45] local.INFO: Processing buffer {"connection_id":164141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:41:45] local.INFO: IMEI packet received {"connection_id":164141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":164141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:41:46] local.INFO: TCP Data received {"connection_id":164141,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:41:46] local.INFO: Processing buffer {"connection_id":164141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:41:46] local.INFO: Packet analysis {"connection_id":164141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:41:46] local.INFO: Extracted packet for processing {"connection_id":164141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632492800001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787627226000,"timestamp_ms":1787627226000,"timestamp_seconds":1787627226,"priority":1,"record_length":96,"hex_timestamp":"000001a036e2c390"} 
[2026-08-25 08:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 08:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632492800001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632492800001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632492800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":164141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:41:46] local.INFO: GPS data processed {"connection_id":164141,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:41:46] local.INFO: Acknowledgment sent {"connection_id":164141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:42:18] local.INFO: TCP Data received {"connection_id":164141,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:42:18] local.INFO: Processing buffer {"connection_id":164141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e2c390012d34c0c006aa4878000c005528..."} 
[2026-08-25 08:42:18] local.INFO: Packet analysis {"connection_id":164141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:42:18] local.INFO: Extracted packet for processing {"connection_id":164141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e2"} 
[2026-08-25 08:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632492800001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787627226000,"timestamp_ms":1787627226000,"timestamp_seconds":1787627226,"priority":1,"record_length":96,"hex_timestamp":"000001a036e2c390"} 
[2026-08-25 08: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-25 08:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-25 08:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08: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-25 08: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-25 08:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:42:18] 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-25 08:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632492800001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632492800001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:42:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632492800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":164141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:42:18] local.INFO: GPS data processed {"connection_id":164141,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:42:18] local.INFO: Acknowledgment sent {"connection_id":164141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:42:40] local.INFO: TCP Data received {"connection_id":162752,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:42:40] local.INFO: Processing buffer {"connection_id":162752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:42:40] local.INFO: IMEI packet received {"connection_id":162752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":162752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:42:46] local.INFO: TCP Data received {"connection_id":162752,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:42:46] local.INFO: Processing buffer {"connection_id":162752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:42:46] local.INFO: IMEI packet received {"connection_id":162752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":162752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:42:48] local.INFO: TCP Data received {"connection_id":162752,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:42:48] local.INFO: Processing buffer {"connection_id":162752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:42:48] local.INFO: Packet analysis {"connection_id":162752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:42:48] local.INFO: Extracted packet for processing {"connection_id":162752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632569856001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787627527000,"timestamp_ms":1787627527000,"timestamp_seconds":1787627527,"priority":1,"record_length":96,"hex_timestamp":"000001a036e75b58"} 
[2026-08-25 08:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 08:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632569856001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632569856001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632569856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":162752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:42:48] local.INFO: GPS data processed {"connection_id":162752,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:42:48] local.INFO: Acknowledgment sent {"connection_id":162752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:43:19] local.INFO: TCP Data received {"connection_id":162752,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:43:19] local.INFO: Processing buffer {"connection_id":162752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:43:19] local.INFO: Packet analysis {"connection_id":162752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:43:19] local.INFO: Extracted packet for processing {"connection_id":162752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632569856001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787627527000,"timestamp_ms":1787627527000,"timestamp_seconds":1787627527,"priority":1,"record_length":96,"hex_timestamp":"000001a036e75b58"} 
[2026-08-25 08:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 08:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632569856001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632569856001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:43:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632569856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":162752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:43:19] local.INFO: GPS data processed {"connection_id":162752,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:43:19] local.INFO: Acknowledgment sent {"connection_id":162752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:43:40] local.INFO: TCP Data received {"connection_id":161755,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:43:40] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:43:40] local.INFO: IMEI packet received {"connection_id":161755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":161755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:43:45] local.INFO: TCP Data received {"connection_id":161755,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:43:45] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:43:45] local.INFO: IMEI packet received {"connection_id":161755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":161755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:43:46] local.INFO: TCP Data received {"connection_id":161755,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:43:46] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:43:46] local.INFO: Packet analysis {"connection_id":161755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:43:46] local.INFO: Extracted packet for processing {"connection_id":161755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632569856001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787627527000,"timestamp_ms":1787627527000,"timestamp_seconds":1787627527,"priority":1,"record_length":96,"hex_timestamp":"000001a036e75b58"} 
[2026-08-25 08:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 08:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632569856001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632569856001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632569856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":161755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:43:46] local.INFO: GPS data processed {"connection_id":161755,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:43:46] local.INFO: Acknowledgment sent {"connection_id":161755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:44:18] local.INFO: TCP Data received {"connection_id":161755,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:44:18] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:44:18] local.INFO: Packet analysis {"connection_id":161755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:44:18] local.INFO: Extracted packet for processing {"connection_id":161755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:44:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632569856001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787627527000,"timestamp_ms":1787627527000,"timestamp_seconds":1787627527,"priority":1,"record_length":96,"hex_timestamp":"000001a036e75b58"} 
[2026-08-25 08:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 08:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632569856001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632569856001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:44:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:44:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632569856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":161755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:44:18] local.INFO: GPS data processed {"connection_id":161755,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:44:18] local.INFO: Acknowledgment sent {"connection_id":161755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:44:40] local.INFO: TCP Data received {"connection_id":164142,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:44:40] local.INFO: Processing buffer {"connection_id":164142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:44:40] local.INFO: IMEI packet received {"connection_id":164142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":164142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:44:45] local.INFO: TCP Data received {"connection_id":164142,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:44:45] local.INFO: Processing buffer {"connection_id":164142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:44:45] local.INFO: IMEI packet received {"connection_id":164142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":164142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:44:47] local.INFO: TCP Data received {"connection_id":164142,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:44:47] local.INFO: Processing buffer {"connection_id":164142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:44:47] local.INFO: Packet analysis {"connection_id":164142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:44:47] local.INFO: Extracted packet for processing {"connection_id":164142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632569856001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787627527000,"timestamp_ms":1787627527000,"timestamp_seconds":1787627527,"priority":1,"record_length":96,"hex_timestamp":"000001a036e75b58"} 
[2026-08-25 08:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 08:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632569856001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632569856001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:44:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632569856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":164142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:44:47] local.INFO: GPS data processed {"connection_id":164142,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:44:47] local.INFO: Acknowledgment sent {"connection_id":164142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:45:18] local.INFO: TCP Data received {"connection_id":164142,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:45:18] local.INFO: Processing buffer {"connection_id":164142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:45:18] local.INFO: Packet analysis {"connection_id":164142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:45:18] local.INFO: Extracted packet for processing {"connection_id":164142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632569856001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787627527000,"timestamp_ms":1787627527000,"timestamp_seconds":1787627527,"priority":1,"record_length":96,"hex_timestamp":"000001a036e75b58"} 
[2026-08-25 08:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 08:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:45:18] 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-25 08:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632569856001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632569856001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:45:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632569856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":164142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:45:18] local.INFO: GPS data processed {"connection_id":164142,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:45:18] local.INFO: Acknowledgment sent {"connection_id":164142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:45:45] local.INFO: TCP Data received {"connection_id":161531,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:45:45] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:45:45] local.INFO: IMEI packet received {"connection_id":161531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":161531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:45:50] local.INFO: TCP Data received {"connection_id":161531,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:45:50] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:45:50] local.INFO: IMEI packet received {"connection_id":161531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":161531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:45:51] local.INFO: TCP Data received {"connection_id":161531,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:45:51] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:45:51] local.INFO: Packet analysis {"connection_id":161531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:45:51] local.INFO: Extracted packet for processing {"connection_id":161531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632569856001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787627527000,"timestamp_ms":1787627527000,"timestamp_seconds":1787627527,"priority":1,"record_length":96,"hex_timestamp":"000001a036e75b58"} 
[2026-08-25 08: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-25 08:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 08:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632569856001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632569856001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:45:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632569856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":161531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:45:51] local.INFO: GPS data processed {"connection_id":161531,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:45:51] local.INFO: Acknowledgment sent {"connection_id":161531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:45:56] local.INFO: TCP Data received {"connection_id":161531,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:45:56] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:45:56] local.INFO: Packet analysis {"connection_id":161531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:45:56] local.INFO: Extracted packet for processing {"connection_id":161531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:45:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632569856001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:45: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-25 08:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787627527000,"timestamp_ms":1787627527000,"timestamp_seconds":1787627527,"priority":1,"record_length":96,"hex_timestamp":"000001a036e75b58"} 
[2026-08-25 08: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-25 08:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 08:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632569856001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632569856001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:45:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:45:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632569856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":161531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:45:56] local.INFO: GPS data processed {"connection_id":161531,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:45:56] local.INFO: Acknowledgment sent {"connection_id":161531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:46:40] local.INFO: TCP Data received {"connection_id":162753,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:46:40] local.INFO: Processing buffer {"connection_id":162753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:46:40] local.INFO: IMEI packet received {"connection_id":162753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":162753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:46:45] local.INFO: TCP Data received {"connection_id":162753,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:46:45] local.INFO: Processing buffer {"connection_id":162753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:46:45] local.INFO: IMEI packet received {"connection_id":162753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":162753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:46:47] local.INFO: TCP Data received {"connection_id":162753,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:46:47] local.INFO: Processing buffer {"connection_id":162753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:46:47] local.INFO: Packet analysis {"connection_id":162753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:46:47] local.INFO: Extracted packet for processing {"connection_id":162753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632569856001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787627527000,"timestamp_ms":1787627527000,"timestamp_seconds":1787627527,"priority":1,"record_length":96,"hex_timestamp":"000001a036e75b58"} 
[2026-08-25 08:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 08:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632569856001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632569856001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632569856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":162753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:46:47] local.INFO: GPS data processed {"connection_id":162753,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:46:47] local.INFO: Acknowledgment sent {"connection_id":162753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:47:18] local.INFO: TCP Data received {"connection_id":162753,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:47:18] local.INFO: Processing buffer {"connection_id":162753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:47:18] local.INFO: Packet analysis {"connection_id":162753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:47:18] local.INFO: Extracted packet for processing {"connection_id":162753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632569856001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787627527000,"timestamp_ms":1787627527000,"timestamp_seconds":1787627527,"priority":1,"record_length":96,"hex_timestamp":"000001a036e75b58"} 
[2026-08-25 08:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 08:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:47:18] 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-25 08:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632569856001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632569856001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:47:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632569856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":162753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:47:18] local.INFO: GPS data processed {"connection_id":162753,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:47:18] local.INFO: Acknowledgment sent {"connection_id":162753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:47:40] local.INFO: TCP Data received {"connection_id":161756,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:47:40] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:47:40] local.INFO: IMEI packet received {"connection_id":161756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":161756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:47:45] local.INFO: TCP Data received {"connection_id":161756,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:47:45] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:47:45] local.INFO: IMEI packet received {"connection_id":161756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":161756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:47:46] local.INFO: TCP Data received {"connection_id":161756,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:47:46] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036e75b58012d34c0c006aa4878000d005528..."} 
[2026-08-25 08:47:46] local.INFO: Packet analysis {"connection_id":161756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:47:46] local.INFO: Extracted packet for processing {"connection_id":161756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036e7"} 
[2026-08-25 08:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":13,"angle":85,"satellites":40,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632569856001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787627527000,"timestamp_ms":1787627527000,"timestamp_seconds":1787627527,"priority":1,"record_length":96,"hex_timestamp":"000001a036e75b58"} 
[2026-08-25 08:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 08:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:47:46] 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-25 08:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632569856001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632569856001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632569856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":161756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:47:46] local.INFO: GPS data processed {"connection_id":161756,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:47:46] local.INFO: Acknowledgment sent {"connection_id":161756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:48:17] local.INFO: TCP Data received {"connection_id":161756,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:48:17] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:48:17] local.INFO: Packet analysis {"connection_id":161756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:48:17] local.INFO: Extracted packet for processing {"connection_id":161756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":16,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632646912001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787627828000,"timestamp_ms":1787627828000,"timestamp_seconds":1787627828,"priority":1,"record_length":96,"hex_timestamp":"000001a036ebf320"} 
[2026-08-25 08:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 08:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632646912001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632646912001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:48:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632646912001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":161756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:48:17] local.INFO: GPS data processed {"connection_id":161756,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:48:17] local.INFO: Acknowledgment sent {"connection_id":161756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:48:40] local.INFO: TCP Data received {"connection_id":162754,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:48:40] local.INFO: Processing buffer {"connection_id":162754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:48:40] local.INFO: IMEI packet received {"connection_id":162754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":162754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:48:46] local.INFO: TCP Data received {"connection_id":162754,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:48:46] local.INFO: Processing buffer {"connection_id":162754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:48:46] local.INFO: IMEI packet received {"connection_id":162754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":162754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:48:47] local.INFO: TCP Data received {"connection_id":162754,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:48:47] local.INFO: Processing buffer {"connection_id":162754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:48:47] local.INFO: Packet analysis {"connection_id":162754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:48:47] local.INFO: Extracted packet for processing {"connection_id":162754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":16,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632646912001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787627828000,"timestamp_ms":1787627828000,"timestamp_seconds":1787627828,"priority":1,"record_length":96,"hex_timestamp":"000001a036ebf320"} 
[2026-08-25 08:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 08:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:48:47] 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-25 08:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632646912001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632646912001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:48:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632646912001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":162754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:48:47] local.INFO: GPS data processed {"connection_id":162754,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:48:47] local.INFO: Acknowledgment sent {"connection_id":162754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:49:18] local.INFO: TCP Data received {"connection_id":162754,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:49:18] local.INFO: Processing buffer {"connection_id":162754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:49:18] local.INFO: Packet analysis {"connection_id":162754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:49:18] local.INFO: Extracted packet for processing {"connection_id":162754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":16,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632646912001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787627828000,"timestamp_ms":1787627828000,"timestamp_seconds":1787627828,"priority":1,"record_length":96,"hex_timestamp":"000001a036ebf320"} 
[2026-08-25 08:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 08:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:49:18] 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-25 08:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632646912001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632646912001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:49:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632646912001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":162754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:49:18] local.INFO: GPS data processed {"connection_id":162754,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:49:18] local.INFO: Acknowledgment sent {"connection_id":162754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:49:40] local.INFO: TCP Data received {"connection_id":164143,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:49:40] local.INFO: Processing buffer {"connection_id":164143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:49:40] local.INFO: IMEI packet received {"connection_id":164143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":164143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:49:45] local.INFO: TCP Data received {"connection_id":164143,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:49:45] local.INFO: Processing buffer {"connection_id":164143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:49:45] local.INFO: IMEI packet received {"connection_id":164143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":164143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:49:46] local.INFO: TCP Data received {"connection_id":164143,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:49:46] local.INFO: Processing buffer {"connection_id":164143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:49:46] local.INFO: Packet analysis {"connection_id":164143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:49:46] local.INFO: Extracted packet for processing {"connection_id":164143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":16,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632646912001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787627828000,"timestamp_ms":1787627828000,"timestamp_seconds":1787627828,"priority":1,"record_length":96,"hex_timestamp":"000001a036ebf320"} 
[2026-08-25 08:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 08:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:49:46] 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-25 08:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632646912001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632646912001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632646912001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":164143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:49:46] local.INFO: GPS data processed {"connection_id":164143,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:49:46] local.INFO: Acknowledgment sent {"connection_id":164143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:50:18] local.INFO: TCP Data received {"connection_id":164143,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:50:18] local.INFO: Processing buffer {"connection_id":164143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:50:18] local.INFO: Packet analysis {"connection_id":164143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:50:18] local.INFO: Extracted packet for processing {"connection_id":164143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:50:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":16,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632646912001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787627828000,"timestamp_ms":1787627828000,"timestamp_seconds":1787627828,"priority":1,"record_length":96,"hex_timestamp":"000001a036ebf320"} 
[2026-08-25 08:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 08:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632646912001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632646912001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:50:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:50:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632646912001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":164143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:50:18] local.INFO: GPS data processed {"connection_id":164143,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:50:18] local.INFO: Acknowledgment sent {"connection_id":164143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:50:40] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:50:40] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:50:40] local.INFO: IMEI packet received {"connection_id":161757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":161757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:50:45] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:50:45] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:50:45] local.INFO: IMEI packet received {"connection_id":161757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":161757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:50:46] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:50:46] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:50:46] local.INFO: Packet analysis {"connection_id":161757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:50:46] local.INFO: Extracted packet for processing {"connection_id":161757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":16,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632646912001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787627828000,"timestamp_ms":1787627828000,"timestamp_seconds":1787627828,"priority":1,"record_length":96,"hex_timestamp":"000001a036ebf320"} 
[2026-08-25 08:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 08:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632646912001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632646912001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632646912001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":161757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:50:46] local.INFO: GPS data processed {"connection_id":161757,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:50:46] local.INFO: Acknowledgment sent {"connection_id":161757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:51:18] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:51:18] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:51:18] local.INFO: Packet analysis {"connection_id":161757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:51:18] local.INFO: Extracted packet for processing {"connection_id":161757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":16,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632646912001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787627828000,"timestamp_ms":1787627828000,"timestamp_seconds":1787627828,"priority":1,"record_length":96,"hex_timestamp":"000001a036ebf320"} 
[2026-08-25 08:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 08:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632646912001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632646912001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:51:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632646912001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":161757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:51:18] local.INFO: GPS data processed {"connection_id":161757,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:51:18] local.INFO: Acknowledgment sent {"connection_id":161757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:51:45] local.INFO: TCP Data received {"connection_id":162755,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:51:45] local.INFO: Processing buffer {"connection_id":162755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:51:45] local.INFO: IMEI packet received {"connection_id":162755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":162755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:51:50] local.INFO: TCP Data received {"connection_id":162755,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:51:50] local.INFO: Processing buffer {"connection_id":162755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:51:50] local.INFO: IMEI packet received {"connection_id":162755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":162755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:51:51] local.INFO: TCP Data received {"connection_id":162755,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:51:51] local.INFO: Processing buffer {"connection_id":162755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:51:51] local.INFO: Packet analysis {"connection_id":162755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:51:51] local.INFO: Extracted packet for processing {"connection_id":162755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":16,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632646912001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787627828000,"timestamp_ms":1787627828000,"timestamp_seconds":1787627828,"priority":1,"record_length":96,"hex_timestamp":"000001a036ebf320"} 
[2026-08-25 08:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 08:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:51: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-25 08:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632646912001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632646912001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:51:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632646912001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":162755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:51:51] local.INFO: GPS data processed {"connection_id":162755,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:51:51] local.INFO: Acknowledgment sent {"connection_id":162755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:52:23] local.INFO: TCP Data received {"connection_id":162755,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:52:23] local.INFO: Processing buffer {"connection_id":162755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:52:23] local.INFO: Packet analysis {"connection_id":162755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:52:23] local.INFO: Extracted packet for processing {"connection_id":162755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":16,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632646912001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787627828000,"timestamp_ms":1787627828000,"timestamp_seconds":1787627828,"priority":1,"record_length":96,"hex_timestamp":"000001a036ebf320"} 
[2026-08-25 08: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-25 08:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 08:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632646912001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632646912001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:52:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632646912001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":162755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:52:23] local.INFO: GPS data processed {"connection_id":162755,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:52:23] local.INFO: Acknowledgment sent {"connection_id":162755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:52:40] local.INFO: TCP Data received {"connection_id":162756,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:52:40] local.INFO: Processing buffer {"connection_id":162756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:52:40] local.INFO: IMEI packet received {"connection_id":162756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":162756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:52:45] local.INFO: TCP Data received {"connection_id":162756,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:52:45] local.INFO: Processing buffer {"connection_id":162756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:52:45] local.INFO: IMEI packet received {"connection_id":162756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":162756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:52:46] local.INFO: TCP Data received {"connection_id":162756,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:52:46] local.INFO: Processing buffer {"connection_id":162756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036ebf320012d34c0c006aa48780010005529..."} 
[2026-08-25 08:52:46] local.INFO: Packet analysis {"connection_id":162756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:52:46] local.INFO: Extracted packet for processing {"connection_id":162756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036eb"} 
[2026-08-25 08:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":16,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632646912001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787627828000,"timestamp_ms":1787627828000,"timestamp_seconds":1787627828,"priority":1,"record_length":96,"hex_timestamp":"000001a036ebf320"} 
[2026-08-25 08:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 08:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:52:46] local.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-25 08:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632646912001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 08:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632646912001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:52:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632646912001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":162756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:52:47] local.INFO: GPS data processed {"connection_id":162756,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:52:47] local.INFO: Acknowledgment sent {"connection_id":162756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:53:18] local.INFO: TCP Data received {"connection_id":162756,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:53:18] local.INFO: Processing buffer {"connection_id":162756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:53:18] local.INFO: Packet analysis {"connection_id":162756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:53:18] local.INFO: Extracted packet for processing {"connection_id":162756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:53:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632723968001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787628129000,"timestamp_ms":1787628129000,"timestamp_seconds":1787628129,"priority":1,"record_length":96,"hex_timestamp":"000001a036f08ae8"} 
[2026-08-25 08:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:53: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-25 08:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632723968001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 08:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632723968001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:53:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:53:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632723968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":162756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:53:18] local.INFO: GPS data processed {"connection_id":162756,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:53:18] local.INFO: Acknowledgment sent {"connection_id":162756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:53:40] local.INFO: TCP Data received {"connection_id":161758,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:53:40] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:53:40] local.INFO: IMEI packet received {"connection_id":161758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":161758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:53:45] local.INFO: TCP Data received {"connection_id":161758,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:53:45] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:53:45] local.INFO: IMEI packet received {"connection_id":161758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":161758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:53:46] local.INFO: TCP Data received {"connection_id":161758,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:53:46] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:53:46] local.INFO: Packet analysis {"connection_id":161758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:53:46] local.INFO: Extracted packet for processing {"connection_id":161758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632723968001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787628129000,"timestamp_ms":1787628129000,"timestamp_seconds":1787628129,"priority":1,"record_length":96,"hex_timestamp":"000001a036f08ae8"} 
[2026-08-25 08:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632723968001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632723968001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632723968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":161758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:53:46] local.INFO: GPS data processed {"connection_id":161758,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:53:46] local.INFO: Acknowledgment sent {"connection_id":161758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:54:17] local.INFO: TCP Data received {"connection_id":161758,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:54:17] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:54:17] local.INFO: Packet analysis {"connection_id":161758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:54:17] local.INFO: Extracted packet for processing {"connection_id":161758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632723968001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787628129000,"timestamp_ms":1787628129000,"timestamp_seconds":1787628129,"priority":1,"record_length":96,"hex_timestamp":"000001a036f08ae8"} 
[2026-08-25 08:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:54:17] 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-25 08:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632723968001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632723968001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:54:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632723968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":161758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:54:17] local.INFO: GPS data processed {"connection_id":161758,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:54:17] local.INFO: Acknowledgment sent {"connection_id":161758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:54:40] local.INFO: TCP Data received {"connection_id":161759,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:54:40] local.INFO: Processing buffer {"connection_id":161759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:54:40] local.INFO: IMEI packet received {"connection_id":161759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":161759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:54:45] local.INFO: TCP Data received {"connection_id":161759,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:54:45] local.INFO: Processing buffer {"connection_id":161759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:54:45] local.INFO: IMEI packet received {"connection_id":161759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":161759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:54:46] local.INFO: TCP Data received {"connection_id":161759,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:54:46] local.INFO: Processing buffer {"connection_id":161759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:54:46] local.INFO: Packet analysis {"connection_id":161759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:54:46] local.INFO: Extracted packet for processing {"connection_id":161759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632723968001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787628129000,"timestamp_ms":1787628129000,"timestamp_seconds":1787628129,"priority":1,"record_length":96,"hex_timestamp":"000001a036f08ae8"} 
[2026-08-25 08:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:54:46] local.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-25 08:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632723968001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 08:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632723968001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632723968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":161759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:54:46] local.INFO: GPS data processed {"connection_id":161759,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:54:46] local.INFO: Acknowledgment sent {"connection_id":161759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:55:18] local.INFO: TCP Data received {"connection_id":161759,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:55:18] local.INFO: Processing buffer {"connection_id":161759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:55:18] local.INFO: Packet analysis {"connection_id":161759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:55:18] local.INFO: Extracted packet for processing {"connection_id":161759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632723968001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787628129000,"timestamp_ms":1787628129000,"timestamp_seconds":1787628129,"priority":1,"record_length":96,"hex_timestamp":"000001a036f08ae8"} 
[2026-08-25 08:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:55: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-25 08:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632723968001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 08:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632723968001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:55:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632723968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":161759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:55:18] local.INFO: GPS data processed {"connection_id":161759,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:55:18] local.INFO: Acknowledgment sent {"connection_id":161759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:55:40] local.INFO: TCP Data received {"connection_id":164144,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:55:40] local.INFO: Processing buffer {"connection_id":164144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:55:40] local.INFO: IMEI packet received {"connection_id":164144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":164144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:55:45] local.INFO: TCP Data received {"connection_id":164144,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:55:45] local.INFO: Processing buffer {"connection_id":164144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:55:45] local.INFO: IMEI packet received {"connection_id":164144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":164144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:55:46] local.INFO: TCP Data received {"connection_id":164144,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:55:46] local.INFO: Processing buffer {"connection_id":164144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:55:46] local.INFO: Packet analysis {"connection_id":164144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:55:46] local.INFO: Extracted packet for processing {"connection_id":164144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632723968001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787628129000,"timestamp_ms":1787628129000,"timestamp_seconds":1787628129,"priority":1,"record_length":96,"hex_timestamp":"000001a036f08ae8"} 
[2026-08-25 08:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632723968001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632723968001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632723968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":164144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:55:46] local.INFO: GPS data processed {"connection_id":164144,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:55:46] local.INFO: Acknowledgment sent {"connection_id":164144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:56:17] local.INFO: TCP Data received {"connection_id":164144,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:56:17] local.INFO: Processing buffer {"connection_id":164144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:56:17] local.INFO: Packet analysis {"connection_id":164144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:56:17] local.INFO: Extracted packet for processing {"connection_id":164144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632723968001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787628129000,"timestamp_ms":1787628129000,"timestamp_seconds":1787628129,"priority":1,"record_length":96,"hex_timestamp":"000001a036f08ae8"} 
[2026-08-25 08:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632723968001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632723968001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:56:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632723968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":164144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:56:17] local.INFO: GPS data processed {"connection_id":164144,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:56:17] local.INFO: Acknowledgment sent {"connection_id":164144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:56:45] local.INFO: TCP Data received {"connection_id":161532,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:56:45] local.INFO: Processing buffer {"connection_id":161532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:56:45] local.INFO: IMEI packet received {"connection_id":161532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":161532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:56:50] local.INFO: TCP Data received {"connection_id":161532,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:56:50] local.INFO: Processing buffer {"connection_id":161532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:56:50] local.INFO: IMEI packet received {"connection_id":161532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":161532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:56:51] local.INFO: TCP Data received {"connection_id":161532,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:56:51] local.INFO: Processing buffer {"connection_id":161532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:56:51] local.INFO: Packet analysis {"connection_id":161532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:56:51] local.INFO: Extracted packet for processing {"connection_id":161532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 08:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632723968001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787628129000,"timestamp_ms":1787628129000,"timestamp_seconds":1787628129,"priority":1,"record_length":96,"hex_timestamp":"000001a036f08ae8"} 
[2026-08-25 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-25 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 08:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:56: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-25 08:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632723968001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632723968001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:56:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632723968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":161532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:56:51] local.INFO: GPS data processed {"connection_id":161532,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:56:51] local.INFO: Acknowledgment sent {"connection_id":161532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:56:56] local.INFO: TCP Data received {"connection_id":161532,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:56:56] local.INFO: Processing buffer {"connection_id":161532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:56:56] local.INFO: Packet analysis {"connection_id":161532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:56:56] local.INFO: Extracted packet for processing {"connection_id":161532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:56:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632723968001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787628129000,"timestamp_ms":1787628129000,"timestamp_seconds":1787628129,"priority":1,"record_length":96,"hex_timestamp":"000001a036f08ae8"} 
[2026-08-25 08:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 08:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:56: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-25 08:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632723968001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632723968001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:56:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:56:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632723968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":161532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:56:56] local.INFO: GPS data processed {"connection_id":161532,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:56:56] local.INFO: Acknowledgment sent {"connection_id":161532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:57:40] local.INFO: TCP Data received {"connection_id":162757,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:57:40] local.INFO: Processing buffer {"connection_id":162757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:57:40] local.INFO: IMEI packet received {"connection_id":162757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":162757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:57:45] local.INFO: TCP Data received {"connection_id":162757,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:57:45] local.INFO: Processing buffer {"connection_id":162757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:57:45] local.INFO: IMEI packet received {"connection_id":162757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":162757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:57:46] local.INFO: TCP Data received {"connection_id":162757,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:57:46] local.INFO: Processing buffer {"connection_id":162757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f08ae8012d34c0c006aa4878000700552a..."} 
[2026-08-25 08:57:46] local.INFO: Packet analysis {"connection_id":162757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:57:46] local.INFO: Extracted packet for processing {"connection_id":162757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f0"} 
[2026-08-25 08:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632723968001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787628129000,"timestamp_ms":1787628129000,"timestamp_seconds":1787628129,"priority":1,"record_length":96,"hex_timestamp":"000001a036f08ae8"} 
[2026-08-25 08:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 08:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632723968001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632723968001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632723968001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":162757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:57:46] local.INFO: GPS data processed {"connection_id":162757,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:57:46] local.INFO: Acknowledgment sent {"connection_id":162757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:58:18] local.INFO: TCP Data received {"connection_id":162757,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 08:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 08:58:18] local.INFO: Processing buffer {"connection_id":162757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 08:58:18] local.INFO: Packet analysis {"connection_id":162757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 08:58:18] local.INFO: Extracted packet for processing {"connection_id":162757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 08:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632801024001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787628430000,"timestamp_ms":1787628430000,"timestamp_seconds":1787628430,"priority":1,"record_length":96,"hex_timestamp":"000001a036f522b0"} 
[2026-08-25 08:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:58:18] 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-25 08:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632801024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632801024001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:58:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632801024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":162757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:58:18] local.INFO: GPS data processed {"connection_id":162757,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:58:18] local.INFO: Acknowledgment sent {"connection_id":162757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:58:40] local.INFO: TCP Data received {"connection_id":161533,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:58:40] local.INFO: Processing buffer {"connection_id":161533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:58:40] local.INFO: IMEI packet received {"connection_id":161533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":161533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:58:45] local.INFO: TCP Data received {"connection_id":161533,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:58:45] local.INFO: Processing buffer {"connection_id":161533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:58:45] local.INFO: IMEI packet received {"connection_id":161533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":161533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:58:46] local.INFO: TCP Data received {"connection_id":161533,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 08:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 08:58:46] local.INFO: Processing buffer {"connection_id":161533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 08:58:46] local.INFO: Packet analysis {"connection_id":161533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 08:58:46] local.INFO: Extracted packet for processing {"connection_id":161533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 08:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 08:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632801024001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787628430000,"timestamp_ms":1787628430000,"timestamp_seconds":1787628430,"priority":1,"record_length":96,"hex_timestamp":"000001a036f522b0"} 
[2026-08-25 08:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 08:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 08:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 08:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632801024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632801024001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632801024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":161533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:58:46] local.INFO: GPS data processed {"connection_id":161533,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:58:46] local.INFO: Acknowledgment sent {"connection_id":161533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:59:18] local.INFO: TCP Data received {"connection_id":161533,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 08:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 08:59:18] local.INFO: Processing buffer {"connection_id":161533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 08:59:18] local.INFO: Packet analysis {"connection_id":161533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 08:59:18] local.INFO: Extracted packet for processing {"connection_id":161533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 08:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632801024001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787628430000,"timestamp_ms":1787628430000,"timestamp_seconds":1787628430,"priority":1,"record_length":96,"hex_timestamp":"000001a036f522b0"} 
[2026-08-25 08: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-25 08:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08: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-25 08: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-25 08:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632801024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632801024001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:59:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632801024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":161533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:59:18] local.INFO: GPS data processed {"connection_id":161533,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:59:18] local.INFO: Acknowledgment sent {"connection_id":161533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 08:59:45] local.INFO: TCP Data received {"connection_id":162758,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:59:45] local.INFO: Processing buffer {"connection_id":162758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:59:45] local.INFO: IMEI packet received {"connection_id":162758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 08:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":162758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 08:59:50] local.INFO: TCP Data received {"connection_id":162758,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:59:50] local.INFO: Processing buffer {"connection_id":162758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 08:59:50] local.INFO: IMEI packet received {"connection_id":162758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 08:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":162758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 08:59:51] local.INFO: TCP Data received {"connection_id":162758,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 08:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 08:59:51] local.INFO: Processing buffer {"connection_id":162758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 08:59:51] local.INFO: Packet analysis {"connection_id":162758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 08:59:51] local.INFO: Extracted packet for processing {"connection_id":162758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 08:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 08: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-25 08:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632801024001,"note":"Value kept but may cause issues"} 
[2026-08-25 08:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 08:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 08:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 08:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787628430000,"timestamp_ms":1787628430000,"timestamp_seconds":1787628430,"priority":1,"record_length":96,"hex_timestamp":"000001a036f522b0"} 
[2026-08-25 08: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-25 08:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 08:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 08: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-25 08: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-25 08:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 08:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 08:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 08:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 08:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 08:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 08:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632801024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 08:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 08:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 08:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632801024001,"description":"Unknown IO ID 0"} 
[2026-08-25 08:59:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 08:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 08:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 08:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 08:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632801024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 08:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":162758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 08:59:51] local.INFO: GPS data processed {"connection_id":162758,"processed":1,"errors":0,"total":1} 
[2026-08-25 08:59:51] local.INFO: Acknowledgment sent {"connection_id":162758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:00:23] local.INFO: TCP Data received {"connection_id":162758,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:00:23] local.INFO: Processing buffer {"connection_id":162758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:00:23] local.INFO: Packet analysis {"connection_id":162758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 09:00:23] local.INFO: Extracted packet for processing {"connection_id":162758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 09:00:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632801024001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787628430000,"timestamp_ms":1787628430000,"timestamp_seconds":1787628430,"priority":1,"record_length":96,"hex_timestamp":"000001a036f522b0"} 
[2026-08-25 09:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:00:23] 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-25 09:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632801024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632801024001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:00:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:00:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632801024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":162758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:00:23] local.INFO: GPS data processed {"connection_id":162758,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:00:23] local.INFO: Acknowledgment sent {"connection_id":162758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:00:40] local.INFO: TCP Data received {"connection_id":164145,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:00:40] local.INFO: Processing buffer {"connection_id":164145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:00:40] local.INFO: IMEI packet received {"connection_id":164145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":164145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:00:45] local.INFO: TCP Data received {"connection_id":164145,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:00:45] local.INFO: Processing buffer {"connection_id":164145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:00:45] local.INFO: IMEI packet received {"connection_id":164145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":164145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:00:46] local.INFO: TCP Data received {"connection_id":164145,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:00:46] local.INFO: Processing buffer {"connection_id":164145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:00:46] local.INFO: Packet analysis {"connection_id":164145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 09:00:46] local.INFO: Extracted packet for processing {"connection_id":164145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 09:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632801024001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787628430000,"timestamp_ms":1787628430000,"timestamp_seconds":1787628430,"priority":1,"record_length":96,"hex_timestamp":"000001a036f522b0"} 
[2026-08-25 09: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-25 09:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632801024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632801024001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632801024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":164145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:00:46] local.INFO: GPS data processed {"connection_id":164145,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:00:46] local.INFO: Acknowledgment sent {"connection_id":164145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:01:18] local.INFO: TCP Data received {"connection_id":164145,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:01:18] local.INFO: Processing buffer {"connection_id":164145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:01:18] local.INFO: Packet analysis {"connection_id":164145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 09:01:18] local.INFO: Extracted packet for processing {"connection_id":164145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 09:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632801024001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787628430000,"timestamp_ms":1787628430000,"timestamp_seconds":1787628430,"priority":1,"record_length":96,"hex_timestamp":"000001a036f522b0"} 
[2026-08-25 09:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632801024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632801024001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:01:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632801024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":164145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:01:18] local.INFO: GPS data processed {"connection_id":164145,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:01:18] local.INFO: Acknowledgment sent {"connection_id":164145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:01:40] local.INFO: TCP Data received {"connection_id":162759,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:01:40] local.INFO: Processing buffer {"connection_id":162759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:01:40] local.INFO: IMEI packet received {"connection_id":162759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":162759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:01:45] local.INFO: TCP Data received {"connection_id":162759,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:01:45] local.INFO: Processing buffer {"connection_id":162759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:01:45] local.INFO: IMEI packet received {"connection_id":162759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":162759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:01:46] local.INFO: TCP Data received {"connection_id":162759,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:01:46] local.INFO: Processing buffer {"connection_id":162759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:01:46] local.INFO: Packet analysis {"connection_id":162759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 09:01:46] local.INFO: Extracted packet for processing {"connection_id":162759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 09:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632801024001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787628430000,"timestamp_ms":1787628430000,"timestamp_seconds":1787628430,"priority":1,"record_length":96,"hex_timestamp":"000001a036f522b0"} 
[2026-08-25 09:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:01:46] 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-25 09:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632801024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632801024001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:01:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632801024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":162759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:01:46] local.INFO: GPS data processed {"connection_id":162759,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:01:46] local.INFO: Acknowledgment sent {"connection_id":162759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:02:17] local.INFO: TCP Data received {"connection_id":162759,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:02:17] local.INFO: Processing buffer {"connection_id":162759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:02:17] local.INFO: Packet analysis {"connection_id":162759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 09:02:17] local.INFO: Extracted packet for processing {"connection_id":162759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 09:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632801024001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787628430000,"timestamp_ms":1787628430000,"timestamp_seconds":1787628430,"priority":1,"record_length":96,"hex_timestamp":"000001a036f522b0"} 
[2026-08-25 09:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632801024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632801024001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:02:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632801024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":162759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:02:17] local.INFO: GPS data processed {"connection_id":162759,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:02:17] local.INFO: Acknowledgment sent {"connection_id":162759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:02:40] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:02:40] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:02:40] local.INFO: IMEI packet received {"connection_id":161760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":161760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:02:45] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:02:45] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:02:45] local.INFO: IMEI packet received {"connection_id":161760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":161760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:02:47] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:02:47] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f522b0012d34c0c006aa4878000a00552a..."} 
[2026-08-25 09:02:47] local.INFO: Packet analysis {"connection_id":161760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 09:02:47] local.INFO: Extracted packet for processing {"connection_id":161760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f5"} 
[2026-08-25 09:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632801024001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787628430000,"timestamp_ms":1787628430000,"timestamp_seconds":1787628430,"priority":1,"record_length":96,"hex_timestamp":"000001a036f522b0"} 
[2026-08-25 09: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-25 09:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:02: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-25 09:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632801024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 09:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632801024001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:02:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632801024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":161760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:02:47] local.INFO: GPS data processed {"connection_id":161760,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:02:47] local.INFO: Acknowledgment sent {"connection_id":161760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:03:18] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:03:18] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:03:18] local.INFO: Packet analysis {"connection_id":161760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:03:18] local.INFO: Extracted packet for processing {"connection_id":161760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632878080001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787628731000,"timestamp_ms":1787628731000,"timestamp_seconds":1787628731,"priority":1,"record_length":96,"hex_timestamp":"000001a036f9ba78"} 
[2026-08-25 09: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-25 09:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09: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-25 09: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-25 09:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:03: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-25 09:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632878080001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 09:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632878080001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:03:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632878080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":161760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:03:18] local.INFO: GPS data processed {"connection_id":161760,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:03:18] local.INFO: Acknowledgment sent {"connection_id":161760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:03:40] local.INFO: TCP Data received {"connection_id":162760,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:03:40] local.INFO: Processing buffer {"connection_id":162760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:03:40] local.INFO: IMEI packet received {"connection_id":162760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":162760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:03:45] local.INFO: TCP Data received {"connection_id":162760,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:03:45] local.INFO: Processing buffer {"connection_id":162760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:03:45] local.INFO: IMEI packet received {"connection_id":162760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":162760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:03:46] local.INFO: TCP Data received {"connection_id":162760,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:03:46] local.INFO: Processing buffer {"connection_id":162760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:03:46] local.INFO: Packet analysis {"connection_id":162760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:03:46] local.INFO: Extracted packet for processing {"connection_id":162760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632878080001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787628731000,"timestamp_ms":1787628731000,"timestamp_seconds":1787628731,"priority":1,"record_length":96,"hex_timestamp":"000001a036f9ba78"} 
[2026-08-25 09:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:03:46] 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-25 09:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632878080001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632878080001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632878080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":162760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:03:46] local.INFO: GPS data processed {"connection_id":162760,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:03:46] local.INFO: Acknowledgment sent {"connection_id":162760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:04:17] local.INFO: TCP Data received {"connection_id":162760,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:04:17] local.INFO: Processing buffer {"connection_id":162760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:04:17] local.INFO: Packet analysis {"connection_id":162760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:04:17] local.INFO: Extracted packet for processing {"connection_id":162760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632878080001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787628731000,"timestamp_ms":1787628731000,"timestamp_seconds":1787628731,"priority":1,"record_length":96,"hex_timestamp":"000001a036f9ba78"} 
[2026-08-25 09:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632878080001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632878080001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:04:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632878080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":162760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:04:17] local.INFO: GPS data processed {"connection_id":162760,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:04:17] local.INFO: Acknowledgment sent {"connection_id":162760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:04:37] local.INFO: TCP Data received {"connection_id":161761,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-25 09:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-25 09:04:37] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-25 09:04:37] local.INFO: Packet analysis {"connection_id":161761,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-25 09:04:37] local.INFO: Extracted packet for processing {"connection_id":161761,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-25 09:04:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 09:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-08-25 09:04:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-25 09:04:37] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-08-25 09:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-25 09:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-25 09:04:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161761,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 09:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161761,"device_imei":null,"avl_records_count":1} 
[2026-08-25 09:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161761,"device_imei":null,"avl_records_count":1} 
[2026-08-25 09:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":161761,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 09:04:37] local.INFO: GPS data processed {"connection_id":161761,"processed":0,"errors":0,"total":1} 
[2026-08-25 09:04:37] local.INFO: Acknowledgment sent {"connection_id":161761,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:04:37] local.INFO: TCP Data received {"connection_id":161534,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-25 09:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161534,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-25 09:04:37] local.INFO: Processing buffer {"connection_id":161534,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-25 09:04:37] local.INFO: Packet analysis {"connection_id":161534,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-25 09:04:37] local.INFO: Extracted packet for processing {"connection_id":161534,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-25 09:04:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 09:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-08-25 09:04:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-25 09:04:37] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-08-25 09:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-25 09:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-25 09:04:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161534,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 09:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161534,"device_imei":null,"avl_records_count":1} 
[2026-08-25 09:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161534,"device_imei":null,"avl_records_count":1} 
[2026-08-25 09:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":161534,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 09:04:37] local.INFO: GPS data processed {"connection_id":161534,"processed":0,"errors":0,"total":1} 
[2026-08-25 09:04:37] local.INFO: Acknowledgment sent {"connection_id":161534,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:04:45] local.INFO: TCP Data received {"connection_id":161762,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:04:45] local.INFO: Processing buffer {"connection_id":161762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:04:45] local.INFO: IMEI packet received {"connection_id":161762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":161762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:04:50] local.INFO: TCP Data received {"connection_id":161762,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:04:50] local.INFO: Processing buffer {"connection_id":161762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:04:50] local.INFO: IMEI packet received {"connection_id":161762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":161762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:04:52] local.INFO: TCP Data received {"connection_id":161762,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:04:52] local.INFO: Processing buffer {"connection_id":161762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:04:52] local.INFO: Packet analysis {"connection_id":161762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:04:52] local.INFO: Extracted packet for processing {"connection_id":161762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 09:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632878080001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787628731000,"timestamp_ms":1787628731000,"timestamp_seconds":1787628731,"priority":1,"record_length":96,"hex_timestamp":"000001a036f9ba78"} 
[2026-08-25 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-25 09:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 09:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:04:52] 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-25 09:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632878080001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632878080001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632878080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":161762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:04:52] local.INFO: GPS data processed {"connection_id":161762,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:04:52] local.INFO: Acknowledgment sent {"connection_id":161762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:04:56] local.INFO: TCP Data received {"connection_id":161762,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:04:56] local.INFO: Processing buffer {"connection_id":161762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:04:56] local.INFO: Packet analysis {"connection_id":161762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:04:56] local.INFO: Extracted packet for processing {"connection_id":161762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:04:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632878080001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:04: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-25 09:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787628731000,"timestamp_ms":1787628731000,"timestamp_seconds":1787628731,"priority":1,"record_length":96,"hex_timestamp":"000001a036f9ba78"} 
[2026-08-25 09:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 09:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:04:56] 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-25 09:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632878080001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632878080001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:04:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:04:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632878080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":161762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:04:56] local.INFO: GPS data processed {"connection_id":161762,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:04:56] local.INFO: Acknowledgment sent {"connection_id":161762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:05:40] local.INFO: TCP Data received {"connection_id":164146,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:05:40] local.INFO: Processing buffer {"connection_id":164146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:05:40] local.INFO: IMEI packet received {"connection_id":164146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":164146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:05:45] local.INFO: TCP Data received {"connection_id":164146,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:05:45] local.INFO: Processing buffer {"connection_id":164146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:05:45] local.INFO: IMEI packet received {"connection_id":164146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":164146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:05:46] local.INFO: TCP Data received {"connection_id":164146,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:05:46] local.INFO: Processing buffer {"connection_id":164146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:05:46] local.INFO: Packet analysis {"connection_id":164146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:05:46] local.INFO: Extracted packet for processing {"connection_id":164146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632878080001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787628731000,"timestamp_ms":1787628731000,"timestamp_seconds":1787628731,"priority":1,"record_length":96,"hex_timestamp":"000001a036f9ba78"} 
[2026-08-25 09:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632878080001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632878080001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632878080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":164146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:05:46] local.INFO: GPS data processed {"connection_id":164146,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:05:46] local.INFO: Acknowledgment sent {"connection_id":164146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:06:17] local.INFO: TCP Data received {"connection_id":164146,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:06:17] local.INFO: Processing buffer {"connection_id":164146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:06:17] local.INFO: Packet analysis {"connection_id":164146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:06:17] local.INFO: Extracted packet for processing {"connection_id":164146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632878080001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787628731000,"timestamp_ms":1787628731000,"timestamp_seconds":1787628731,"priority":1,"record_length":96,"hex_timestamp":"000001a036f9ba78"} 
[2026-08-25 09:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632878080001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632878080001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632878080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":164146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:06:17] local.INFO: GPS data processed {"connection_id":164146,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:06:17] local.INFO: Acknowledgment sent {"connection_id":164146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:06:40] local.INFO: TCP Data received {"connection_id":161535,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:06:40] local.INFO: Processing buffer {"connection_id":161535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:06:40] local.INFO: IMEI packet received {"connection_id":161535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":161535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:06:45] local.INFO: TCP Data received {"connection_id":161535,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:06:45] local.INFO: Processing buffer {"connection_id":161535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:06:45] local.INFO: IMEI packet received {"connection_id":161535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":161535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:06:46] local.INFO: TCP Data received {"connection_id":161535,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:06:46] local.INFO: Processing buffer {"connection_id":161535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:06:46] local.INFO: Packet analysis {"connection_id":161535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:06:46] local.INFO: Extracted packet for processing {"connection_id":161535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632878080001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787628731000,"timestamp_ms":1787628731000,"timestamp_seconds":1787628731,"priority":1,"record_length":96,"hex_timestamp":"000001a036f9ba78"} 
[2026-08-25 09:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632878080001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632878080001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:06:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632878080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":161535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:06:46] local.INFO: GPS data processed {"connection_id":161535,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:06:46] local.INFO: Acknowledgment sent {"connection_id":161535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:07:18] local.INFO: TCP Data received {"connection_id":161535,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:07:18] local.INFO: Processing buffer {"connection_id":161535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:07:18] local.INFO: Packet analysis {"connection_id":161535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:07:18] local.INFO: Extracted packet for processing {"connection_id":161535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:07:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632878080001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787628731000,"timestamp_ms":1787628731000,"timestamp_seconds":1787628731,"priority":1,"record_length":96,"hex_timestamp":"000001a036f9ba78"} 
[2026-08-25 09:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:07:18] 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-25 09:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632878080001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632878080001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:07:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:07:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632878080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":161535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:07:18] local.INFO: GPS data processed {"connection_id":161535,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:07:18] local.INFO: Acknowledgment sent {"connection_id":161535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:07:40] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:07:40] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:07:40] local.INFO: IMEI packet received {"connection_id":161763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":161763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:07:45] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:07:45] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:07:45] local.INFO: IMEI packet received {"connection_id":161763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":161763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:07:46] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:07:46] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036f9ba78012d34c0c006aa4878000a005529..."} 
[2026-08-25 09:07:46] local.INFO: Packet analysis {"connection_id":161763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:07:46] local.INFO: Extracted packet for processing {"connection_id":161763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036f9"} 
[2026-08-25 09:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":41,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632878080001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787628731000,"timestamp_ms":1787628731000,"timestamp_seconds":1787628731,"priority":1,"record_length":96,"hex_timestamp":"000001a036f9ba78"} 
[2026-08-25 09:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:07: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-25 09:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632878080001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632878080001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632878080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":161763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:07:46] local.INFO: GPS data processed {"connection_id":161763,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:07:46] local.INFO: Acknowledgment sent {"connection_id":161763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:08:17] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:08:17] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:08:17] local.INFO: Packet analysis {"connection_id":161763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:08:17] local.INFO: Extracted packet for processing {"connection_id":161763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632955136001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787629032000,"timestamp_ms":1787629032000,"timestamp_seconds":1787629032,"priority":1,"record_length":96,"hex_timestamp":"000001a036fe5240"} 
[2026-08-25 09:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:08: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-25 09:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632955136001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632955136001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:08:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632955136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":161763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:08:17] local.INFO: GPS data processed {"connection_id":161763,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:08:17] local.INFO: Acknowledgment sent {"connection_id":161763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:08:40] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:08:40] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:08:40] local.INFO: IMEI packet received {"connection_id":161764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":161764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:08:45] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:08:45] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:08:45] local.INFO: IMEI packet received {"connection_id":161764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":161764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:08:46] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:08:46] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:08:46] local.INFO: Packet analysis {"connection_id":161764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:08:46] local.INFO: Extracted packet for processing {"connection_id":161764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632955136001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787629032000,"timestamp_ms":1787629032000,"timestamp_seconds":1787629032,"priority":1,"record_length":96,"hex_timestamp":"000001a036fe5240"} 
[2026-08-25 09:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632955136001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632955136001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632955136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":161764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:08:46] local.INFO: GPS data processed {"connection_id":161764,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:08:46] local.INFO: Acknowledgment sent {"connection_id":161764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:09:18] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:09:18] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:09:18] local.INFO: Packet analysis {"connection_id":161764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:09:18] local.INFO: Extracted packet for processing {"connection_id":161764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:09:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632955136001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787629032000,"timestamp_ms":1787629032000,"timestamp_seconds":1787629032,"priority":1,"record_length":96,"hex_timestamp":"000001a036fe5240"} 
[2026-08-25 09:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632955136001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632955136001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:09:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:09:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632955136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":161764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:09:18] local.INFO: GPS data processed {"connection_id":161764,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:09:18] local.INFO: Acknowledgment sent {"connection_id":161764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:09:45] local.INFO: TCP Data received {"connection_id":164147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:09:45] local.INFO: Processing buffer {"connection_id":164147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:09:45] local.INFO: IMEI packet received {"connection_id":164147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":164147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:09:50] local.INFO: TCP Data received {"connection_id":164147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:09:50] local.INFO: Processing buffer {"connection_id":164147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:09:50] local.INFO: IMEI packet received {"connection_id":164147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":164147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:09:51] local.INFO: TCP Data received {"connection_id":164147,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:09:51] local.INFO: Processing buffer {"connection_id":164147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:09:51] local.INFO: Packet analysis {"connection_id":164147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:09:51] local.INFO: Extracted packet for processing {"connection_id":164147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:09:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632955136001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787629032000,"timestamp_ms":1787629032000,"timestamp_seconds":1787629032,"priority":1,"record_length":96,"hex_timestamp":"000001a036fe5240"} 
[2026-08-25 09: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-25 09:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632955136001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632955136001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:09:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:09:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632955136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":164147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:09:51] local.INFO: GPS data processed {"connection_id":164147,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:09:51] local.INFO: Acknowledgment sent {"connection_id":164147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:10:22] local.INFO: TCP Data received {"connection_id":164147,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:10:22] local.INFO: Processing buffer {"connection_id":164147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:10:22] local.INFO: Packet analysis {"connection_id":164147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:10:22] local.INFO: Extracted packet for processing {"connection_id":164147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:10:22] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632955136001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787629032000,"timestamp_ms":1787629032000,"timestamp_seconds":1787629032,"priority":1,"record_length":96,"hex_timestamp":"000001a036fe5240"} 
[2026-08-25 09: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-25 09:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:10: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-25 09:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632955136001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632955136001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:10:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:10:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632955136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":164147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:10:22] local.INFO: GPS data processed {"connection_id":164147,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:10:22] local.INFO: Acknowledgment sent {"connection_id":164147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:10:40] local.INFO: TCP Data received {"connection_id":161765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:10:40] local.INFO: Processing buffer {"connection_id":161765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:10:40] local.INFO: IMEI packet received {"connection_id":161765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":161765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:10:45] local.INFO: TCP Data received {"connection_id":161765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:10:45] local.INFO: Processing buffer {"connection_id":161765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:10:45] local.INFO: IMEI packet received {"connection_id":161765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":161765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:10:46] local.INFO: TCP Data received {"connection_id":161765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:10:46] local.INFO: Processing buffer {"connection_id":161765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:10:46] local.INFO: Packet analysis {"connection_id":161765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:10:46] local.INFO: Extracted packet for processing {"connection_id":161765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632955136001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787629032000,"timestamp_ms":1787629032000,"timestamp_seconds":1787629032,"priority":1,"record_length":96,"hex_timestamp":"000001a036fe5240"} 
[2026-08-25 09:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632955136001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632955136001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:10:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632955136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":161765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:10:46] local.INFO: GPS data processed {"connection_id":161765,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:10:46] local.INFO: Acknowledgment sent {"connection_id":161765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:11:17] local.INFO: TCP Data received {"connection_id":161765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:11:17] local.INFO: Processing buffer {"connection_id":161765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:11:17] local.INFO: Packet analysis {"connection_id":161765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:11:17] local.INFO: Extracted packet for processing {"connection_id":161765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632955136001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787629032000,"timestamp_ms":1787629032000,"timestamp_seconds":1787629032,"priority":1,"record_length":96,"hex_timestamp":"000001a036fe5240"} 
[2026-08-25 09:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632955136001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632955136001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632955136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":161765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:11:17] local.INFO: GPS data processed {"connection_id":161765,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:11:17] local.INFO: Acknowledgment sent {"connection_id":161765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:11:40] local.INFO: TCP Data received {"connection_id":161536,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:11:40] local.INFO: Processing buffer {"connection_id":161536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:11:40] local.INFO: IMEI packet received {"connection_id":161536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":161536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:11:45] local.INFO: TCP Data received {"connection_id":161536,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:11:45] local.INFO: Processing buffer {"connection_id":161536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:11:45] local.INFO: IMEI packet received {"connection_id":161536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":161536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:11:46] local.INFO: TCP Data received {"connection_id":161536,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:11:46] local.INFO: Processing buffer {"connection_id":161536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:11:46] local.INFO: Packet analysis {"connection_id":161536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:11:46] local.INFO: Extracted packet for processing {"connection_id":161536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632955136001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787629032000,"timestamp_ms":1787629032000,"timestamp_seconds":1787629032,"priority":1,"record_length":96,"hex_timestamp":"000001a036fe5240"} 
[2026-08-25 09:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:11:46] 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-25 09:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632955136001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632955136001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632955136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":161536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:11:46] local.INFO: GPS data processed {"connection_id":161536,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:11:46] local.INFO: Acknowledgment sent {"connection_id":161536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:12:18] local.INFO: TCP Data received {"connection_id":161536,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:12:18] local.INFO: Processing buffer {"connection_id":161536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:12:18] local.INFO: Packet analysis {"connection_id":161536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:12:18] local.INFO: Extracted packet for processing {"connection_id":161536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:12:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632955136001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787629032000,"timestamp_ms":1787629032000,"timestamp_seconds":1787629032,"priority":1,"record_length":96,"hex_timestamp":"000001a036fe5240"} 
[2026-08-25 09:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:12:18] 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-25 09:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632955136001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632955136001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:12:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:12:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632955136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":161536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:12:18] local.INFO: GPS data processed {"connection_id":161536,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:12:18] local.INFO: Acknowledgment sent {"connection_id":161536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:12:41] local.INFO: TCP Data received {"connection_id":162761,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:12:41] local.INFO: Processing buffer {"connection_id":162761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:12:41] local.INFO: IMEI packet received {"connection_id":162761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":162761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:12:45] local.INFO: TCP Data received {"connection_id":162761,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:12:45] local.INFO: Processing buffer {"connection_id":162761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:12:45] local.INFO: IMEI packet received {"connection_id":162761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":162761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:12:46] local.INFO: TCP Data received {"connection_id":162761,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:12:46] local.INFO: Processing buffer {"connection_id":162761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a036fe5240012d34c0c006aa4878000900552a..."} 
[2026-08-25 09:12:46] local.INFO: Packet analysis {"connection_id":162761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:12:46] local.INFO: Extracted packet for processing {"connection_id":162761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a036fe"} 
[2026-08-25 09:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457632955136001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787629032000,"timestamp_ms":1787629032000,"timestamp_seconds":1787629032,"priority":1,"record_length":96,"hex_timestamp":"000001a036fe5240"} 
[2026-08-25 09:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457632955136001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457632955136001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457632955136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":162761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:12:46] local.INFO: GPS data processed {"connection_id":162761,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:12:46] local.INFO: Acknowledgment sent {"connection_id":162761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:13:17] local.INFO: TCP Data received {"connection_id":162761,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:13:17] local.INFO: Processing buffer {"connection_id":162761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:13:17] local.INFO: Packet analysis {"connection_id":162761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:13:17] local.INFO: Extracted packet for processing {"connection_id":162761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633032192001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787629333000,"timestamp_ms":1787629333000,"timestamp_seconds":1787629333,"priority":1,"record_length":96,"hex_timestamp":"000001a03702ea08"} 
[2026-08-25 09: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-25 09:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633032192001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633032192001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:13:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633032192001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":162761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:13:17] local.INFO: GPS data processed {"connection_id":162761,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:13:17] local.INFO: Acknowledgment sent {"connection_id":162761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:13:45] local.INFO: TCP Data received {"connection_id":164148,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:13:45] local.INFO: Processing buffer {"connection_id":164148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:13:45] local.INFO: IMEI packet received {"connection_id":164148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":164148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:13:50] local.INFO: TCP Data received {"connection_id":164148,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:13:50] local.INFO: Processing buffer {"connection_id":164148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:13:50] local.INFO: IMEI packet received {"connection_id":164148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":164148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:13:52] local.INFO: TCP Data received {"connection_id":164148,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:13:52] local.INFO: Processing buffer {"connection_id":164148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:13:52] local.INFO: Packet analysis {"connection_id":164148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:13:52] local.INFO: Extracted packet for processing {"connection_id":164148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633032192001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787629333000,"timestamp_ms":1787629333000,"timestamp_seconds":1787629333,"priority":1,"record_length":96,"hex_timestamp":"000001a03702ea08"} 
[2026-08-25 09:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633032192001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633032192001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:13:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633032192001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":164148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:13:52] local.INFO: GPS data processed {"connection_id":164148,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:13:52] local.INFO: Acknowledgment sent {"connection_id":164148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:13:56] local.INFO: TCP Data received {"connection_id":164148,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:13:56] local.INFO: Processing buffer {"connection_id":164148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:13:56] local.INFO: Packet analysis {"connection_id":164148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:13:56] local.INFO: Extracted packet for processing {"connection_id":164148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:13:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633032192001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:13: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-25 09:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787629333000,"timestamp_ms":1787629333000,"timestamp_seconds":1787629333,"priority":1,"record_length":96,"hex_timestamp":"000001a03702ea08"} 
[2026-08-25 09: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-25 09:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633032192001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633032192001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:13:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:13:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633032192001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":164148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:13:56] local.INFO: GPS data processed {"connection_id":164148,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:13:56] local.INFO: Acknowledgment sent {"connection_id":164148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:14:40] local.INFO: TCP Data received {"connection_id":162762,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:14:40] local.INFO: Processing buffer {"connection_id":162762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:14:40] local.INFO: IMEI packet received {"connection_id":162762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":162762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:14:45] local.INFO: TCP Data received {"connection_id":162762,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:14:45] local.INFO: Processing buffer {"connection_id":162762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:14:45] local.INFO: IMEI packet received {"connection_id":162762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":162762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:14:47] local.INFO: TCP Data received {"connection_id":162762,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:14:47] local.INFO: Processing buffer {"connection_id":162762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:14:47] local.INFO: Packet analysis {"connection_id":162762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:14:47] local.INFO: Extracted packet for processing {"connection_id":162762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633032192001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787629333000,"timestamp_ms":1787629333000,"timestamp_seconds":1787629333,"priority":1,"record_length":96,"hex_timestamp":"000001a03702ea08"} 
[2026-08-25 09:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:14: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-25 09:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633032192001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 09:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633032192001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:14:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633032192001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":162762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:14:47] local.INFO: GPS data processed {"connection_id":162762,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:14:47] local.INFO: Acknowledgment sent {"connection_id":162762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:15:18] local.INFO: TCP Data received {"connection_id":162762,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:15:18] local.INFO: Processing buffer {"connection_id":162762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:15:18] local.INFO: Packet analysis {"connection_id":162762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:15:18] local.INFO: Extracted packet for processing {"connection_id":162762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633032192001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787629333000,"timestamp_ms":1787629333000,"timestamp_seconds":1787629333,"priority":1,"record_length":96,"hex_timestamp":"000001a03702ea08"} 
[2026-08-25 09:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:15: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-25 09:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633032192001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 09:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633032192001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:15:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633032192001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":162762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:15:18] local.INFO: GPS data processed {"connection_id":162762,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:15:18] local.INFO: Acknowledgment sent {"connection_id":162762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:15:40] local.INFO: TCP Data received {"connection_id":164149,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:15:40] local.INFO: Processing buffer {"connection_id":164149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:15:40] local.INFO: IMEI packet received {"connection_id":164149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":164149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:15:45] local.INFO: TCP Data received {"connection_id":164149,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:15:45] local.INFO: Processing buffer {"connection_id":164149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:15:45] local.INFO: IMEI packet received {"connection_id":164149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":164149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:15:46] local.INFO: TCP Data received {"connection_id":164149,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:15:46] local.INFO: Processing buffer {"connection_id":164149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:15:46] local.INFO: Packet analysis {"connection_id":164149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:15:46] local.INFO: Extracted packet for processing {"connection_id":164149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633032192001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787629333000,"timestamp_ms":1787629333000,"timestamp_seconds":1787629333,"priority":1,"record_length":96,"hex_timestamp":"000001a03702ea08"} 
[2026-08-25 09:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633032192001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633032192001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633032192001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":164149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:15:46] local.INFO: GPS data processed {"connection_id":164149,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:15:46] local.INFO: Acknowledgment sent {"connection_id":164149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:16:17] local.INFO: TCP Data received {"connection_id":164149,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:16:17] local.INFO: Processing buffer {"connection_id":164149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:16:17] local.INFO: Packet analysis {"connection_id":164149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:16:17] local.INFO: Extracted packet for processing {"connection_id":164149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633032192001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787629333000,"timestamp_ms":1787629333000,"timestamp_seconds":1787629333,"priority":1,"record_length":96,"hex_timestamp":"000001a03702ea08"} 
[2026-08-25 09:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:16:17] 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-25 09:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633032192001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633032192001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633032192001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":164149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:16:17] local.INFO: GPS data processed {"connection_id":164149,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:16:17] local.INFO: Acknowledgment sent {"connection_id":164149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:16:41] local.INFO: TCP Data received {"connection_id":161537,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:16:41] local.INFO: Processing buffer {"connection_id":161537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:16:41] local.INFO: IMEI packet received {"connection_id":161537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":161537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:16:45] local.INFO: TCP Data received {"connection_id":161537,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:16:45] local.INFO: Processing buffer {"connection_id":161537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:16:45] local.INFO: IMEI packet received {"connection_id":161537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":161537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:16:46] local.INFO: TCP Data received {"connection_id":161537,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:16:46] local.INFO: Processing buffer {"connection_id":161537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:16:46] local.INFO: Packet analysis {"connection_id":161537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:16:46] local.INFO: Extracted packet for processing {"connection_id":161537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633032192001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787629333000,"timestamp_ms":1787629333000,"timestamp_seconds":1787629333,"priority":1,"record_length":96,"hex_timestamp":"000001a03702ea08"} 
[2026-08-25 09:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:16:46] local.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-25 09:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633032192001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 09:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633032192001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:16:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633032192001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":161537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:16:46] local.INFO: GPS data processed {"connection_id":161537,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:16:46] local.INFO: Acknowledgment sent {"connection_id":161537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:17:18] local.INFO: TCP Data received {"connection_id":161537,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:17:18] local.INFO: Processing buffer {"connection_id":161537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:17:18] local.INFO: Packet analysis {"connection_id":161537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:17:18] local.INFO: Extracted packet for processing {"connection_id":161537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633032192001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787629333000,"timestamp_ms":1787629333000,"timestamp_seconds":1787629333,"priority":1,"record_length":96,"hex_timestamp":"000001a03702ea08"} 
[2026-08-25 09:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:17: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-25 09:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633032192001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 09:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633032192001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:17:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633032192001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":161537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:17:18] local.INFO: GPS data processed {"connection_id":161537,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:17:18] local.INFO: Acknowledgment sent {"connection_id":161537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:17:41] local.INFO: TCP Data received {"connection_id":164150,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:17:41] local.INFO: Processing buffer {"connection_id":164150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:17:41] local.INFO: IMEI packet received {"connection_id":164150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":164150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:17:45] local.INFO: TCP Data received {"connection_id":164150,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:17:45] local.INFO: Processing buffer {"connection_id":164150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:17:45] local.INFO: IMEI packet received {"connection_id":164150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":164150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:17:46] local.INFO: TCP Data received {"connection_id":164150,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:17:46] local.INFO: Processing buffer {"connection_id":164150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03702ea08012d34c0c006aa4878000800552d..."} 
[2026-08-25 09:17:46] local.INFO: Packet analysis {"connection_id":164150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:17:46] local.INFO: Extracted packet for processing {"connection_id":164150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03702"} 
[2026-08-25 09:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633032192001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787629333000,"timestamp_ms":1787629333000,"timestamp_seconds":1787629333,"priority":1,"record_length":96,"hex_timestamp":"000001a03702ea08"} 
[2026-08-25 09:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633032192001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633032192001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633032192001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":164150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:17:46] local.INFO: GPS data processed {"connection_id":164150,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:17:46] local.INFO: Acknowledgment sent {"connection_id":164150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:18:17] local.INFO: TCP Data received {"connection_id":164150,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:18:17] local.INFO: Processing buffer {"connection_id":164150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:18:17] local.INFO: Packet analysis {"connection_id":164150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:18:17] local.INFO: Extracted packet for processing {"connection_id":164150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633109248001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787629634000,"timestamp_ms":1787629634000,"timestamp_seconds":1787629634,"priority":1,"record_length":96,"hex_timestamp":"000001a0370781d0"} 
[2026-08-25 09:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 09:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633109248001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633109248001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:18:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633109248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":164150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:18:17] local.INFO: GPS data processed {"connection_id":164150,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:18:17] local.INFO: Acknowledgment sent {"connection_id":164150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:18:40] local.INFO: TCP Data received {"connection_id":161766,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:18:40] local.INFO: Processing buffer {"connection_id":161766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:18:40] local.INFO: IMEI packet received {"connection_id":161766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":161766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:18:45] local.INFO: TCP Data received {"connection_id":161766,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:18:45] local.INFO: Processing buffer {"connection_id":161766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:18:45] local.INFO: IMEI packet received {"connection_id":161766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":161766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:18:46] local.INFO: TCP Data received {"connection_id":161766,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:18:46] local.INFO: Processing buffer {"connection_id":161766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:18:46] local.INFO: Packet analysis {"connection_id":161766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:18:46] local.INFO: Extracted packet for processing {"connection_id":161766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633109248001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787629634000,"timestamp_ms":1787629634000,"timestamp_seconds":1787629634,"priority":1,"record_length":96,"hex_timestamp":"000001a0370781d0"} 
[2026-08-25 09:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 09:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633109248001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633109248001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:18:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633109248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":161766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:18:46] local.INFO: GPS data processed {"connection_id":161766,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:18:46] local.INFO: Acknowledgment sent {"connection_id":161766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:19:18] local.INFO: TCP Data received {"connection_id":161766,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:19:18] local.INFO: Processing buffer {"connection_id":161766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:19:18] local.INFO: Packet analysis {"connection_id":161766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:19:18] local.INFO: Extracted packet for processing {"connection_id":161766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633109248001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787629634000,"timestamp_ms":1787629634000,"timestamp_seconds":1787629634,"priority":1,"record_length":96,"hex_timestamp":"000001a0370781d0"} 
[2026-08-25 09:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 09:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:19:18] 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-25 09:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633109248001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633109248001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:19:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633109248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":161766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:19:18] local.INFO: GPS data processed {"connection_id":161766,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:19:18] local.INFO: Acknowledgment sent {"connection_id":161766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:19:45] local.INFO: TCP Data received {"connection_id":164151,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:19:45] local.INFO: Processing buffer {"connection_id":164151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:19:45] local.INFO: IMEI packet received {"connection_id":164151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":164151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:19:50] local.INFO: TCP Data received {"connection_id":164151,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:19:50] local.INFO: Processing buffer {"connection_id":164151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:19:50] local.INFO: IMEI packet received {"connection_id":164151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":164151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:19:52] local.INFO: TCP Data received {"connection_id":164151,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:19:52] local.INFO: Processing buffer {"connection_id":164151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:19:52] local.INFO: Packet analysis {"connection_id":164151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:19:52] local.INFO: Extracted packet for processing {"connection_id":164151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633109248001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787629634000,"timestamp_ms":1787629634000,"timestamp_seconds":1787629634,"priority":1,"record_length":96,"hex_timestamp":"000001a0370781d0"} 
[2026-08-25 09:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 09:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633109248001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633109248001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633109248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":164151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:19:52] local.INFO: GPS data processed {"connection_id":164151,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:19:52] local.INFO: Acknowledgment sent {"connection_id":164151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:20:24] local.INFO: TCP Data received {"connection_id":164151,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:20:24] local.INFO: Processing buffer {"connection_id":164151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:20:24] local.INFO: Packet analysis {"connection_id":164151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:20:24] local.INFO: Extracted packet for processing {"connection_id":164151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633109248001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787629634000,"timestamp_ms":1787629634000,"timestamp_seconds":1787629634,"priority":1,"record_length":96,"hex_timestamp":"000001a0370781d0"} 
[2026-08-25 09:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 09:20: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-25 09:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633109248001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633109248001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633109248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":164151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:20:24] local.INFO: GPS data processed {"connection_id":164151,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:20:24] local.INFO: Acknowledgment sent {"connection_id":164151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:20:40] local.INFO: TCP Data received {"connection_id":161767,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:20:40] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:20:40] local.INFO: IMEI packet received {"connection_id":161767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":161767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:20:46] local.INFO: TCP Data received {"connection_id":161767,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:20:46] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:20:46] local.INFO: IMEI packet received {"connection_id":161767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":161767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:20:47] local.INFO: TCP Data received {"connection_id":161767,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:20:47] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:20:47] local.INFO: Packet analysis {"connection_id":161767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:20:47] local.INFO: Extracted packet for processing {"connection_id":161767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633109248001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787629634000,"timestamp_ms":1787629634000,"timestamp_seconds":1787629634,"priority":1,"record_length":96,"hex_timestamp":"000001a0370781d0"} 
[2026-08-25 09:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 09:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633109248001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633109248001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:20:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633109248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":161767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:20:47] local.INFO: GPS data processed {"connection_id":161767,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:20:47] local.INFO: Acknowledgment sent {"connection_id":161767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:21:18] local.INFO: TCP Data received {"connection_id":161767,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:21:18] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:21:18] local.INFO: Packet analysis {"connection_id":161767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:21:18] local.INFO: Extracted packet for processing {"connection_id":161767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:21:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633109248001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787629634000,"timestamp_ms":1787629634000,"timestamp_seconds":1787629634,"priority":1,"record_length":96,"hex_timestamp":"000001a0370781d0"} 
[2026-08-25 09:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 09:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:21:18] 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-25 09:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633109248001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633109248001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:21:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:21:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633109248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":161767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:21:18] local.INFO: GPS data processed {"connection_id":161767,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:21:18] local.INFO: Acknowledgment sent {"connection_id":161767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:21:41] local.INFO: TCP Data received {"connection_id":161538,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:21:41] local.INFO: Processing buffer {"connection_id":161538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:21:41] local.INFO: IMEI packet received {"connection_id":161538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":161538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:21:45] local.INFO: TCP Data received {"connection_id":161538,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:21:45] local.INFO: Processing buffer {"connection_id":161538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:21:45] local.INFO: IMEI packet received {"connection_id":161538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":161538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:21:46] local.INFO: TCP Data received {"connection_id":161538,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:21:46] local.INFO: Processing buffer {"connection_id":161538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:21:46] local.INFO: Packet analysis {"connection_id":161538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:21:46] local.INFO: Extracted packet for processing {"connection_id":161538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633109248001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787629634000,"timestamp_ms":1787629634000,"timestamp_seconds":1787629634,"priority":1,"record_length":96,"hex_timestamp":"000001a0370781d0"} 
[2026-08-25 09:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 09:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633109248001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633109248001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:21:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633109248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":161538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:21:46] local.INFO: GPS data processed {"connection_id":161538,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:21:46] local.INFO: Acknowledgment sent {"connection_id":161538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:22:17] local.INFO: TCP Data received {"connection_id":161538,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:22:17] local.INFO: Processing buffer {"connection_id":161538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:22:17] local.INFO: Packet analysis {"connection_id":161538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:22:17] local.INFO: Extracted packet for processing {"connection_id":161538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633109248001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787629634000,"timestamp_ms":1787629634000,"timestamp_seconds":1787629634,"priority":1,"record_length":96,"hex_timestamp":"000001a0370781d0"} 
[2026-08-25 09:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 09:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633109248001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633109248001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633109248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":161538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:22:17] local.INFO: GPS data processed {"connection_id":161538,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:22:17] local.INFO: Acknowledgment sent {"connection_id":161538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:22:40] local.INFO: TCP Data received {"connection_id":164152,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:22:40] local.INFO: Processing buffer {"connection_id":164152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:22:40] local.INFO: IMEI packet received {"connection_id":164152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":164152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:22:45] local.INFO: TCP Data received {"connection_id":164152,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:22:45] local.INFO: Processing buffer {"connection_id":164152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:22:45] local.INFO: IMEI packet received {"connection_id":164152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":164152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:22:46] local.INFO: TCP Data received {"connection_id":164152,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:22:46] local.INFO: Processing buffer {"connection_id":164152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0370781d0012d34c0c006aa4878000900552d..."} 
[2026-08-25 09:22:46] local.INFO: Packet analysis {"connection_id":164152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:22:46] local.INFO: Extracted packet for processing {"connection_id":164152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03707"} 
[2026-08-25 09:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":9,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633109248001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787629634000,"timestamp_ms":1787629634000,"timestamp_seconds":1787629634,"priority":1,"record_length":96,"hex_timestamp":"000001a0370781d0"} 
[2026-08-25 09:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 09:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633109248001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633109248001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:22:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633109248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":164152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:22:46] local.INFO: GPS data processed {"connection_id":164152,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:22:46] local.INFO: Acknowledgment sent {"connection_id":164152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:23:17] local.INFO: TCP Data received {"connection_id":164152,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0370c1998012d34c0c006aa4878000b00552d..."} 
[2026-08-25 09:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0370c1998012d34c0c006aa4878000b00552d..."} 
[2026-08-25 09:23:17] local.INFO: Processing buffer {"connection_id":164152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0370c1998012d34c0c006aa4878000b00552d..."} 
[2026-08-25 09:23:17] local.INFO: Packet analysis {"connection_id":164152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0370c"} 
[2026-08-25 09:23:17] local.INFO: Extracted packet for processing {"connection_id":164152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0370c"} 
[2026-08-25 09:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633186304001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787629935000,"timestamp_ms":1787629935000,"timestamp_seconds":1787629935,"priority":1,"record_length":96,"hex_timestamp":"000001a0370c1998"} 
[2026-08-25 09:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633186304001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633186304001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:23:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633186304001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":164152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:23:17] local.INFO: GPS data processed {"connection_id":164152,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:23:17] local.INFO: Acknowledgment sent {"connection_id":164152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:23:45] local.INFO: TCP Data received {"connection_id":161539,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:23:45] local.INFO: Processing buffer {"connection_id":161539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:23:45] local.INFO: IMEI packet received {"connection_id":161539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":161539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:23:50] local.INFO: TCP Data received {"connection_id":161539,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:23:50] local.INFO: Processing buffer {"connection_id":161539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:23:50] local.INFO: IMEI packet received {"connection_id":161539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":161539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:23:51] local.INFO: TCP Data received {"connection_id":161539,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0370c1998012d34c0c006aa4878000b00552d..."} 
[2026-08-25 09:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0370c1998012d34c0c006aa4878000b00552d..."} 
[2026-08-25 09:23:51] local.INFO: Processing buffer {"connection_id":161539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0370c1998012d34c0c006aa4878000b00552d..."} 
[2026-08-25 09:23:51] local.INFO: Packet analysis {"connection_id":161539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0370c"} 
[2026-08-25 09:23:51] local.INFO: Extracted packet for processing {"connection_id":161539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0370c"} 
[2026-08-25 09:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633186304001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787629935000,"timestamp_ms":1787629935000,"timestamp_seconds":1787629935,"priority":1,"record_length":96,"hex_timestamp":"000001a0370c1998"} 
[2026-08-25 09:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:23:51] 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-25 09:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633186304001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633186304001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:23:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633186304001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":161539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:23:51] local.INFO: GPS data processed {"connection_id":161539,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:23:51] local.INFO: Acknowledgment sent {"connection_id":161539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:23:56] local.INFO: TCP Data received {"connection_id":161539,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0370c1998012d34c0c006aa4878000b00552d..."} 
[2026-08-25 09:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0370c1998012d34c0c006aa4878000b00552d..."} 
[2026-08-25 09:23:56] local.INFO: Processing buffer {"connection_id":161539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0370c1998012d34c0c006aa4878000b00552d..."} 
[2026-08-25 09:23:56] local.INFO: Packet analysis {"connection_id":161539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0370c"} 
[2026-08-25 09:23:56] local.INFO: Extracted packet for processing {"connection_id":161539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0370c"} 
[2026-08-25 09:23:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633186304001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:23: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-25 09:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787629935000,"timestamp_ms":1787629935000,"timestamp_seconds":1787629935,"priority":1,"record_length":96,"hex_timestamp":"000001a0370c1998"} 
[2026-08-25 09:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:23:56] 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-25 09:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633186304001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633186304001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:23:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:23:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633186304001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":161539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:23:56] local.INFO: GPS data processed {"connection_id":161539,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:23:56] local.INFO: Acknowledgment sent {"connection_id":161539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:25:05] local.INFO: TCP Data received {"connection_id":161768,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:25:05] local.INFO: Processing buffer {"connection_id":161768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:25:05] local.INFO: IMEI packet received {"connection_id":161768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":161768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:25:06] local.INFO: TCP Data received {"connection_id":161768,"ip":"42.106.6.39","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-25 09:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161768,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-25 09:25:06] local.INFO: Processing buffer {"connection_id":161768,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-25 09:25:06] local.INFO: IMEI packet received {"connection_id":161768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":161768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:30:05] local.INFO: TCP Data received {"connection_id":161771,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:30:05] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:30:05] local.INFO: IMEI packet received {"connection_id":161771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":161771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:30:06] local.INFO: TCP Data received {"connection_id":161771,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:30:06] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:30:06] local.INFO: Packet analysis {"connection_id":161771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03710"} 
[2026-08-25 09:30:06] local.INFO: Extracted packet for processing {"connection_id":161771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03710"} 
[2026-08-25 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633263360001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:30:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 09:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 09:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787630236000,"timestamp_ms":1787630236000,"timestamp_seconds":1787630236,"priority":1,"record_length":96,"hex_timestamp":"000001a03710b160"} 
[2026-08-25 09: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-25 09:30: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-25 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633263360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 09:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633263360001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633263360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":161771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:30:06] local.INFO: GPS data processed {"connection_id":161771,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:30:06] local.INFO: Acknowledgment sent {"connection_id":161771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:30:40] local.INFO: TCP Data received {"connection_id":161540,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:30:40] local.INFO: Processing buffer {"connection_id":161540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:30:40] local.INFO: IMEI packet received {"connection_id":161540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":161540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:30:45] local.INFO: TCP Data received {"connection_id":161540,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:30:45] local.INFO: Processing buffer {"connection_id":161540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:30:45] local.INFO: IMEI packet received {"connection_id":161540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":161540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:30:46] local.INFO: TCP Data received {"connection_id":161540,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:30:46] local.INFO: Processing buffer {"connection_id":161540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:30:46] local.INFO: Packet analysis {"connection_id":161540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03710"} 
[2026-08-25 09:30:46] local.INFO: Extracted packet for processing {"connection_id":161540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03710"} 
[2026-08-25 09:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633263360001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:30:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 09:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 09:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787630236000,"timestamp_ms":1787630236000,"timestamp_seconds":1787630236,"priority":1,"record_length":96,"hex_timestamp":"000001a03710b160"} 
[2026-08-25 09:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:30:46] 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-25 09:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633263360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 09:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633263360001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633263360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":161540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:30:46] local.INFO: GPS data processed {"connection_id":161540,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:30:46] local.INFO: Acknowledgment sent {"connection_id":161540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:31:18] local.INFO: TCP Data received {"connection_id":161540,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:31:18] local.INFO: Processing buffer {"connection_id":161540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:31:18] local.INFO: Packet analysis {"connection_id":161540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03710"} 
[2026-08-25 09:31:18] local.INFO: Extracted packet for processing {"connection_id":161540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03710"} 
[2026-08-25 09:31:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633263360001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:31:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 09:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 09:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787630236000,"timestamp_ms":1787630236000,"timestamp_seconds":1787630236,"priority":1,"record_length":96,"hex_timestamp":"000001a03710b160"} 
[2026-08-25 09:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:31:18] 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-25 09:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633263360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 09:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633263360001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:31:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633263360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":161540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:31:18] local.INFO: GPS data processed {"connection_id":161540,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:31:18] local.INFO: Acknowledgment sent {"connection_id":161540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:31:45] local.INFO: TCP Data received {"connection_id":162764,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:31:45] local.INFO: Processing buffer {"connection_id":162764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:31:45] local.INFO: IMEI packet received {"connection_id":162764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":162764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:31:50] local.INFO: TCP Data received {"connection_id":162764,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:31:50] local.INFO: Processing buffer {"connection_id":162764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:31:50] local.INFO: IMEI packet received {"connection_id":162764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":162764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:31:51] local.INFO: TCP Data received {"connection_id":162764,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:31:51] local.INFO: Processing buffer {"connection_id":162764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:31:51] local.INFO: Packet analysis {"connection_id":162764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03710"} 
[2026-08-25 09:31:51] local.INFO: Extracted packet for processing {"connection_id":162764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03710"} 
[2026-08-25 09:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633263360001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:31:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 09:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 09:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787630236000,"timestamp_ms":1787630236000,"timestamp_seconds":1787630236,"priority":1,"record_length":96,"hex_timestamp":"000001a03710b160"} 
[2026-08-25 09:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:31: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-25 09:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633263360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 09:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633263360001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633263360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":162764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:31:51] local.INFO: GPS data processed {"connection_id":162764,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:31:51] local.INFO: Acknowledgment sent {"connection_id":162764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:32:24] local.INFO: TCP Data received {"connection_id":162764,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:32:24] local.INFO: Processing buffer {"connection_id":162764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:32:24] local.INFO: Packet analysis {"connection_id":162764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03710"} 
[2026-08-25 09:32:24] local.INFO: Extracted packet for processing {"connection_id":162764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03710"} 
[2026-08-25 09:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633263360001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:32:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 09:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 09:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787630236000,"timestamp_ms":1787630236000,"timestamp_seconds":1787630236,"priority":1,"record_length":96,"hex_timestamp":"000001a03710b160"} 
[2026-08-25 09:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:32: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-25 09:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633263360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 09:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633263360001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633263360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":162764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:32:24] local.INFO: GPS data processed {"connection_id":162764,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:32:24] local.INFO: Acknowledgment sent {"connection_id":162764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:32:40] local.INFO: TCP Data received {"connection_id":161772,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:32:40] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:32:40] local.INFO: IMEI packet received {"connection_id":161772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":161772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:32:45] local.INFO: TCP Data received {"connection_id":161772,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:32:45] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:32:45] local.INFO: IMEI packet received {"connection_id":161772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":161772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:32:47] local.INFO: TCP Data received {"connection_id":161772,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:32:47] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03710b160012d34c0c006aa4878000a00552d..."} 
[2026-08-25 09:32:47] local.INFO: Packet analysis {"connection_id":161772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03710"} 
[2026-08-25 09:32:47] local.INFO: Extracted packet for processing {"connection_id":161772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03710"} 
[2026-08-25 09:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633263360001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:32:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 09:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 09:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787630236000,"timestamp_ms":1787630236000,"timestamp_seconds":1787630236,"priority":1,"record_length":96,"hex_timestamp":"000001a03710b160"} 
[2026-08-25 09:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633263360001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 09:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633263360001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633263360001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":161772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:32:47] local.INFO: GPS data processed {"connection_id":161772,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:32:47] local.INFO: Acknowledgment sent {"connection_id":161772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:33:18] local.INFO: TCP Data received {"connection_id":161772,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:33:18] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:33:18] local.INFO: Packet analysis {"connection_id":161772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:33:18] local.INFO: Extracted packet for processing {"connection_id":161772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:33:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633340416001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787630537000,"timestamp_ms":1787630537000,"timestamp_seconds":1787630537,"priority":1,"record_length":96,"hex_timestamp":"000001a037154928"} 
[2026-08-25 09:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633340416001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633340416001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:33:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:33:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633340416001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":161772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:33:18] local.INFO: GPS data processed {"connection_id":161772,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:33:18] local.INFO: Acknowledgment sent {"connection_id":161772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:33:40] local.INFO: TCP Data received {"connection_id":161541,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:33:40] local.INFO: Processing buffer {"connection_id":161541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:33:40] local.INFO: IMEI packet received {"connection_id":161541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":161541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:33:45] local.INFO: TCP Data received {"connection_id":161541,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:33:45] local.INFO: Processing buffer {"connection_id":161541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:33:45] local.INFO: IMEI packet received {"connection_id":161541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":161541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:33:46] local.INFO: TCP Data received {"connection_id":161541,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:33:46] local.INFO: Processing buffer {"connection_id":161541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:33:46] local.INFO: Packet analysis {"connection_id":161541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:33:46] local.INFO: Extracted packet for processing {"connection_id":161541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633340416001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787630537000,"timestamp_ms":1787630537000,"timestamp_seconds":1787630537,"priority":1,"record_length":96,"hex_timestamp":"000001a037154928"} 
[2026-08-25 09:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:33:46] 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-25 09:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633340416001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633340416001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:33:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633340416001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":161541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:33:46] local.INFO: GPS data processed {"connection_id":161541,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:33:46] local.INFO: Acknowledgment sent {"connection_id":161541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:34:17] local.INFO: TCP Data received {"connection_id":161541,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:34:17] local.INFO: Processing buffer {"connection_id":161541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:34:17] local.INFO: Packet analysis {"connection_id":161541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:34:17] local.INFO: Extracted packet for processing {"connection_id":161541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633340416001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787630537000,"timestamp_ms":1787630537000,"timestamp_seconds":1787630537,"priority":1,"record_length":96,"hex_timestamp":"000001a037154928"} 
[2026-08-25 09:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633340416001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633340416001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:34:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633340416001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":161541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:34:17] local.INFO: GPS data processed {"connection_id":161541,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:34:17] local.INFO: Acknowledgment sent {"connection_id":161541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:34:40] local.INFO: TCP Data received {"connection_id":164154,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:34:40] local.INFO: Processing buffer {"connection_id":164154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:34:40] local.INFO: IMEI packet received {"connection_id":164154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":164154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:34:45] local.INFO: TCP Data received {"connection_id":164154,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:34:45] local.INFO: Processing buffer {"connection_id":164154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:34:45] local.INFO: IMEI packet received {"connection_id":164154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":164154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:34:46] local.INFO: TCP Data received {"connection_id":164154,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:34:46] local.INFO: Processing buffer {"connection_id":164154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:34:46] local.INFO: Packet analysis {"connection_id":164154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:34:46] local.INFO: Extracted packet for processing {"connection_id":164154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633340416001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787630537000,"timestamp_ms":1787630537000,"timestamp_seconds":1787630537,"priority":1,"record_length":96,"hex_timestamp":"000001a037154928"} 
[2026-08-25 09:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633340416001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633340416001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633340416001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":164154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:34:46] local.INFO: GPS data processed {"connection_id":164154,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:34:46] local.INFO: Acknowledgment sent {"connection_id":164154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:35:18] local.INFO: TCP Data received {"connection_id":164154,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:35:18] local.INFO: Processing buffer {"connection_id":164154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:35:18] local.INFO: Packet analysis {"connection_id":164154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:35:18] local.INFO: Extracted packet for processing {"connection_id":164154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633340416001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787630537000,"timestamp_ms":1787630537000,"timestamp_seconds":1787630537,"priority":1,"record_length":96,"hex_timestamp":"000001a037154928"} 
[2026-08-25 09:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:35:18] 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-25 09:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633340416001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633340416001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:35:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633340416001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":164154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:35:18] local.INFO: GPS data processed {"connection_id":164154,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:35:18] local.INFO: Acknowledgment sent {"connection_id":164154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:35:40] local.INFO: TCP Data received {"connection_id":161542,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:35:40] local.INFO: Processing buffer {"connection_id":161542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:35:40] local.INFO: IMEI packet received {"connection_id":161542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":161542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:35:45] local.INFO: TCP Data received {"connection_id":161542,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:35:45] local.INFO: Processing buffer {"connection_id":161542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:35:45] local.INFO: IMEI packet received {"connection_id":161542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":161542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:35:46] local.INFO: TCP Data received {"connection_id":161542,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:35:46] local.INFO: Processing buffer {"connection_id":161542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:35:46] local.INFO: Packet analysis {"connection_id":161542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:35:46] local.INFO: Extracted packet for processing {"connection_id":161542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633340416001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787630537000,"timestamp_ms":1787630537000,"timestamp_seconds":1787630537,"priority":1,"record_length":96,"hex_timestamp":"000001a037154928"} 
[2026-08-25 09: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-25 09:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633340416001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633340416001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633340416001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":161542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:35:46] local.INFO: GPS data processed {"connection_id":161542,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:35:46] local.INFO: Acknowledgment sent {"connection_id":161542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:36:17] local.INFO: TCP Data received {"connection_id":161542,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:36:17] local.INFO: Processing buffer {"connection_id":161542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:36:17] local.INFO: Packet analysis {"connection_id":161542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:36:17] local.INFO: Extracted packet for processing {"connection_id":161542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633340416001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787630537000,"timestamp_ms":1787630537000,"timestamp_seconds":1787630537,"priority":1,"record_length":96,"hex_timestamp":"000001a037154928"} 
[2026-08-25 09:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633340416001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633340416001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:36:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:36:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633340416001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":161542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:36:17] local.INFO: GPS data processed {"connection_id":161542,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:36:17] local.INFO: Acknowledgment sent {"connection_id":161542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:36:46] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:36:46] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:36:46] local.INFO: IMEI packet received {"connection_id":161773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":161773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:36:50] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:36:50] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:36:50] local.INFO: IMEI packet received {"connection_id":161773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":161773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:36:51] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:36:51] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:36:51] local.INFO: Packet analysis {"connection_id":161773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:36:51] local.INFO: Extracted packet for processing {"connection_id":161773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633340416001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787630537000,"timestamp_ms":1787630537000,"timestamp_seconds":1787630537,"priority":1,"record_length":96,"hex_timestamp":"000001a037154928"} 
[2026-08-25 09: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-25 09:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:36: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-25 09:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633340416001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633340416001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:36:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633340416001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":161773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:36:51] local.INFO: GPS data processed {"connection_id":161773,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:36:51] local.INFO: Acknowledgment sent {"connection_id":161773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:37:23] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:37:23] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:37:23] local.INFO: Packet analysis {"connection_id":161773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:37:23] local.INFO: Extracted packet for processing {"connection_id":161773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:37:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 09:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633340416001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787630537000,"timestamp_ms":1787630537000,"timestamp_seconds":1787630537,"priority":1,"record_length":96,"hex_timestamp":"000001a037154928"} 
[2026-08-25 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-25 09:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 09:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:37: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-25 09:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633340416001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633340416001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:37:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:37:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633340416001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":161773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:37:23] local.INFO: GPS data processed {"connection_id":161773,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:37:23] local.INFO: Acknowledgment sent {"connection_id":161773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:37:40] local.INFO: TCP Data received {"connection_id":164155,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:37:40] local.INFO: Processing buffer {"connection_id":164155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:37:40] local.INFO: IMEI packet received {"connection_id":164155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":164155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:37:45] local.INFO: TCP Data received {"connection_id":164155,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:37:45] local.INFO: Processing buffer {"connection_id":164155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:37:45] local.INFO: IMEI packet received {"connection_id":164155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":164155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:37:50] local.INFO: TCP Data received {"connection_id":164155,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:37:50] local.INFO: Processing buffer {"connection_id":164155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:37:50] local.INFO: IMEI packet received {"connection_id":164155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":164155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:37:51] local.INFO: TCP Data received {"connection_id":164155,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:37:51] local.INFO: Processing buffer {"connection_id":164155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037154928012d34c0c006aa4878000b00552b..."} 
[2026-08-25 09:37:51] local.INFO: Packet analysis {"connection_id":164155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:37:51] local.INFO: Extracted packet for processing {"connection_id":164155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03715"} 
[2026-08-25 09:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633340416001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787630537000,"timestamp_ms":1787630537000,"timestamp_seconds":1787630537,"priority":1,"record_length":96,"hex_timestamp":"000001a037154928"} 
[2026-08-25 09: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-25 09:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633340416001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633340416001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633340416001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":164155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:37:51] local.INFO: GPS data processed {"connection_id":164155,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:37:51] local.INFO: Acknowledgment sent {"connection_id":164155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:38:22] local.INFO: TCP Data received {"connection_id":164155,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:38:22] local.INFO: Processing buffer {"connection_id":164155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:38:22] local.INFO: Packet analysis {"connection_id":164155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:38:22] local.INFO: Extracted packet for processing {"connection_id":164155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:38:22] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633417472001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787630838000,"timestamp_ms":1787630838000,"timestamp_seconds":1787630838,"priority":1,"record_length":96,"hex_timestamp":"000001a03719e0f0"} 
[2026-08-25 09: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-25 09:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:38: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-25 09: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-25 09: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-25 09:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:38: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-25 09:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633417472001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633417472001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:38:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:38:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633417472001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":164155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:38:22] local.INFO: GPS data processed {"connection_id":164155,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:38:22] local.INFO: Acknowledgment sent {"connection_id":164155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:38:40] local.INFO: TCP Data received {"connection_id":162765,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:38:40] local.INFO: Processing buffer {"connection_id":162765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:38:40] local.INFO: IMEI packet received {"connection_id":162765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":162765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:38:45] local.INFO: TCP Data received {"connection_id":162765,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:38:45] local.INFO: Processing buffer {"connection_id":162765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:38:45] local.INFO: IMEI packet received {"connection_id":162765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":162765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:38:47] local.INFO: TCP Data received {"connection_id":162765,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:38:47] local.INFO: Processing buffer {"connection_id":162765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:38:47] local.INFO: Packet analysis {"connection_id":162765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:38:47] local.INFO: Extracted packet for processing {"connection_id":162765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633417472001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787630838000,"timestamp_ms":1787630838000,"timestamp_seconds":1787630838,"priority":1,"record_length":96,"hex_timestamp":"000001a03719e0f0"} 
[2026-08-25 09: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-25 09:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633417472001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633417472001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:38:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633417472001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":162765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:38:47] local.INFO: GPS data processed {"connection_id":162765,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:38:47] local.INFO: Acknowledgment sent {"connection_id":162765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:39:18] local.INFO: TCP Data received {"connection_id":162765,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:39:18] local.INFO: Processing buffer {"connection_id":162765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:39:18] local.INFO: Packet analysis {"connection_id":162765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:39:18] local.INFO: Extracted packet for processing {"connection_id":162765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633417472001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787630838000,"timestamp_ms":1787630838000,"timestamp_seconds":1787630838,"priority":1,"record_length":96,"hex_timestamp":"000001a03719e0f0"} 
[2026-08-25 09:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:39:18] 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-25 09:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633417472001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633417472001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:39:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633417472001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":162765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:39:18] local.INFO: GPS data processed {"connection_id":162765,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:39:18] local.INFO: Acknowledgment sent {"connection_id":162765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:39:40] local.INFO: TCP Data received {"connection_id":164156,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:39:40] local.INFO: Processing buffer {"connection_id":164156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:39:40] local.INFO: IMEI packet received {"connection_id":164156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":164156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:39:45] local.INFO: TCP Data received {"connection_id":164156,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:39:45] local.INFO: Processing buffer {"connection_id":164156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:39:45] local.INFO: IMEI packet received {"connection_id":164156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":164156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:39:46] local.INFO: TCP Data received {"connection_id":164156,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:39:46] local.INFO: Processing buffer {"connection_id":164156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:39:46] local.INFO: Packet analysis {"connection_id":164156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:39:46] local.INFO: Extracted packet for processing {"connection_id":164156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633417472001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787630838000,"timestamp_ms":1787630838000,"timestamp_seconds":1787630838,"priority":1,"record_length":96,"hex_timestamp":"000001a03719e0f0"} 
[2026-08-25 09:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633417472001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633417472001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633417472001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":164156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:39:46] local.INFO: GPS data processed {"connection_id":164156,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:39:46] local.INFO: Acknowledgment sent {"connection_id":164156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:40:17] local.INFO: TCP Data received {"connection_id":164156,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:40:17] local.INFO: Processing buffer {"connection_id":164156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:40:17] local.INFO: Packet analysis {"connection_id":164156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:40:17] local.INFO: Extracted packet for processing {"connection_id":164156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633417472001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787630838000,"timestamp_ms":1787630838000,"timestamp_seconds":1787630838,"priority":1,"record_length":96,"hex_timestamp":"000001a03719e0f0"} 
[2026-08-25 09:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:40:17] 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-25 09:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633417472001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633417472001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:40:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633417472001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":164156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:40:17] local.INFO: GPS data processed {"connection_id":164156,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:40:17] local.INFO: Acknowledgment sent {"connection_id":164156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:40:45] local.INFO: TCP Data received {"connection_id":161543,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:40:45] local.INFO: Processing buffer {"connection_id":161543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:40:45] local.INFO: IMEI packet received {"connection_id":161543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":161543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:40:50] local.INFO: TCP Data received {"connection_id":161543,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:40:50] local.INFO: Processing buffer {"connection_id":161543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:40:50] local.INFO: IMEI packet received {"connection_id":161543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":161543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:40:51] local.INFO: TCP Data received {"connection_id":161543,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:40:51] local.INFO: Processing buffer {"connection_id":161543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:40:51] local.INFO: Packet analysis {"connection_id":161543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:40:51] local.INFO: Extracted packet for processing {"connection_id":161543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 09:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633417472001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787630838000,"timestamp_ms":1787630838000,"timestamp_seconds":1787630838,"priority":1,"record_length":96,"hex_timestamp":"000001a03719e0f0"} 
[2026-08-25 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-25 09:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 09:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633417472001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633417472001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:40:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633417472001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":161543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:40:52] local.INFO: GPS data processed {"connection_id":161543,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:40:52] local.INFO: Acknowledgment sent {"connection_id":161543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:41:23] local.INFO: TCP Data received {"connection_id":161543,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:41:23] local.INFO: Processing buffer {"connection_id":161543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:41:23] local.INFO: Packet analysis {"connection_id":161543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:41:23] local.INFO: Extracted packet for processing {"connection_id":161543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:41:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633417472001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787630838000,"timestamp_ms":1787630838000,"timestamp_seconds":1787630838,"priority":1,"record_length":96,"hex_timestamp":"000001a03719e0f0"} 
[2026-08-25 09:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633417472001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633417472001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:41:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:41:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633417472001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":161543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:41:23] local.INFO: GPS data processed {"connection_id":161543,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:41:23] local.INFO: Acknowledgment sent {"connection_id":161543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:41:40] local.INFO: TCP Data received {"connection_id":162766,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:41:40] local.INFO: Processing buffer {"connection_id":162766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:41:40] local.INFO: IMEI packet received {"connection_id":162766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":162766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:41:45] local.INFO: TCP Data received {"connection_id":162766,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:41:45] local.INFO: Processing buffer {"connection_id":162766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:41:45] local.INFO: IMEI packet received {"connection_id":162766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":162766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:41:46] local.INFO: TCP Data received {"connection_id":162766,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:41:46] local.INFO: Processing buffer {"connection_id":162766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:41:46] local.INFO: Packet analysis {"connection_id":162766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:41:46] local.INFO: Extracted packet for processing {"connection_id":162766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633417472001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787630838000,"timestamp_ms":1787630838000,"timestamp_seconds":1787630838,"priority":1,"record_length":96,"hex_timestamp":"000001a03719e0f0"} 
[2026-08-25 09:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633417472001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633417472001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633417472001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":162766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:41:46] local.INFO: GPS data processed {"connection_id":162766,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:41:46] local.INFO: Acknowledgment sent {"connection_id":162766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:42:18] local.INFO: TCP Data received {"connection_id":162766,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:42:18] local.INFO: Processing buffer {"connection_id":162766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:42:18] local.INFO: Packet analysis {"connection_id":162766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:42:18] local.INFO: Extracted packet for processing {"connection_id":162766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633417472001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787630838000,"timestamp_ms":1787630838000,"timestamp_seconds":1787630838,"priority":1,"record_length":96,"hex_timestamp":"000001a03719e0f0"} 
[2026-08-25 09: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-25 09:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09: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-25 09: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-25 09:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:42:18] 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-25 09:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633417472001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633417472001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:42:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633417472001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":162766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:42:18] local.INFO: GPS data processed {"connection_id":162766,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:42:18] local.INFO: Acknowledgment sent {"connection_id":162766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:42:41] local.INFO: TCP Data received {"connection_id":164157,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:42:41] local.INFO: Processing buffer {"connection_id":164157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:42:41] local.INFO: IMEI packet received {"connection_id":164157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":164157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:42:45] local.INFO: TCP Data received {"connection_id":164157,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:42:45] local.INFO: Processing buffer {"connection_id":164157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:42:45] local.INFO: IMEI packet received {"connection_id":164157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":164157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:42:46] local.INFO: TCP Data received {"connection_id":164157,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:42:46] local.INFO: Processing buffer {"connection_id":164157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03719e0f0012d34c0c006aa4878000600552b..."} 
[2026-08-25 09:42:46] local.INFO: Packet analysis {"connection_id":164157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:42:46] local.INFO: Extracted packet for processing {"connection_id":164157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03719"} 
[2026-08-25 09:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633417472001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787630838000,"timestamp_ms":1787630838000,"timestamp_seconds":1787630838,"priority":1,"record_length":96,"hex_timestamp":"000001a03719e0f0"} 
[2026-08-25 09:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 09:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633417472001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633417472001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:42:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633417472001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":164157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:42:46] local.INFO: GPS data processed {"connection_id":164157,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:42:46] local.INFO: Acknowledgment sent {"connection_id":164157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:43:17] local.INFO: TCP Data received {"connection_id":164157,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:43:17] local.INFO: Processing buffer {"connection_id":164157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:43:17] local.INFO: Packet analysis {"connection_id":164157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:43:17] local.INFO: Extracted packet for processing {"connection_id":164157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633494528001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787631139000,"timestamp_ms":1787631139000,"timestamp_seconds":1787631139,"priority":1,"record_length":96,"hex_timestamp":"000001a0371e78b8"} 
[2026-08-25 09:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633494528001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633494528001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:43:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633494528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":164157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:43:17] local.INFO: GPS data processed {"connection_id":164157,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:43:17] local.INFO: Acknowledgment sent {"connection_id":164157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:43:40] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:43:40] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:43:40] local.INFO: IMEI packet received {"connection_id":161774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":161774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:43:45] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:43:45] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:43:45] local.INFO: IMEI packet received {"connection_id":161774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":161774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:43:46] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:43:46] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:43:46] local.INFO: Packet analysis {"connection_id":161774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:43:46] local.INFO: Extracted packet for processing {"connection_id":161774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633494528001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787631139000,"timestamp_ms":1787631139000,"timestamp_seconds":1787631139,"priority":1,"record_length":96,"hex_timestamp":"000001a0371e78b8"} 
[2026-08-25 09:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:43:46] 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-25 09:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633494528001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633494528001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633494528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":161774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:43:46] local.INFO: GPS data processed {"connection_id":161774,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:43:46] local.INFO: Acknowledgment sent {"connection_id":161774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:44:18] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:44:18] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:44:18] local.INFO: Packet analysis {"connection_id":161774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:44:18] local.INFO: Extracted packet for processing {"connection_id":161774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:44:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633494528001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787631139000,"timestamp_ms":1787631139000,"timestamp_seconds":1787631139,"priority":1,"record_length":96,"hex_timestamp":"000001a0371e78b8"} 
[2026-08-25 09:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633494528001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633494528001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:44:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:44:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633494528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":161774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:44:18] local.INFO: GPS data processed {"connection_id":161774,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:44:18] local.INFO: Acknowledgment sent {"connection_id":161774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:44:40] local.INFO: TCP Data received {"connection_id":164158,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:44:40] local.INFO: Processing buffer {"connection_id":164158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:44:40] local.INFO: IMEI packet received {"connection_id":164158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":164158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:44:46] local.INFO: TCP Data received {"connection_id":164158,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:44:46] local.INFO: Processing buffer {"connection_id":164158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:44:46] local.INFO: IMEI packet received {"connection_id":164158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":164158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:44:47] local.INFO: TCP Data received {"connection_id":164158,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:44:47] local.INFO: Processing buffer {"connection_id":164158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:44:47] local.INFO: Packet analysis {"connection_id":164158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:44:47] local.INFO: Extracted packet for processing {"connection_id":164158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633494528001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787631139000,"timestamp_ms":1787631139000,"timestamp_seconds":1787631139,"priority":1,"record_length":96,"hex_timestamp":"000001a0371e78b8"} 
[2026-08-25 09:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633494528001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633494528001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:44:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633494528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":164158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:44:47] local.INFO: GPS data processed {"connection_id":164158,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:44:47] local.INFO: Acknowledgment sent {"connection_id":164158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:45:19] local.INFO: TCP Data received {"connection_id":164158,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:45:19] local.INFO: Processing buffer {"connection_id":164158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:45:19] local.INFO: Packet analysis {"connection_id":164158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:45:19] local.INFO: Extracted packet for processing {"connection_id":164158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633494528001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787631139000,"timestamp_ms":1787631139000,"timestamp_seconds":1787631139,"priority":1,"record_length":96,"hex_timestamp":"000001a0371e78b8"} 
[2026-08-25 09:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633494528001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633494528001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:45:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633494528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":164158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:45:19] local.INFO: GPS data processed {"connection_id":164158,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:45:19] local.INFO: Acknowledgment sent {"connection_id":164158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:45:45] local.INFO: TCP Data received {"connection_id":161544,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:45:45] local.INFO: Processing buffer {"connection_id":161544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:45:45] local.INFO: IMEI packet received {"connection_id":161544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":161544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:45:50] local.INFO: TCP Data received {"connection_id":161544,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:45:50] local.INFO: Processing buffer {"connection_id":161544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:45:50] local.INFO: IMEI packet received {"connection_id":161544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":161544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:45:51] local.INFO: TCP Data received {"connection_id":161544,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:45:51] local.INFO: Processing buffer {"connection_id":161544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:45:51] local.INFO: Packet analysis {"connection_id":161544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:45:51] local.INFO: Extracted packet for processing {"connection_id":161544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633494528001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787631139000,"timestamp_ms":1787631139000,"timestamp_seconds":1787631139,"priority":1,"record_length":96,"hex_timestamp":"000001a0371e78b8"} 
[2026-08-25 09: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-25 09:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633494528001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633494528001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:45:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633494528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":161544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:45:51] local.INFO: GPS data processed {"connection_id":161544,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:45:51] local.INFO: Acknowledgment sent {"connection_id":161544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:46:23] local.INFO: TCP Data received {"connection_id":161544,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:46:23] local.INFO: Processing buffer {"connection_id":161544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:46:23] local.INFO: Packet analysis {"connection_id":161544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:46:23] local.INFO: Extracted packet for processing {"connection_id":161544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:46:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633494528001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787631139000,"timestamp_ms":1787631139000,"timestamp_seconds":1787631139,"priority":1,"record_length":96,"hex_timestamp":"000001a0371e78b8"} 
[2026-08-25 09:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633494528001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633494528001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:46:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:46:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633494528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":161544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:46:23] local.INFO: GPS data processed {"connection_id":161544,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:46:23] local.INFO: Acknowledgment sent {"connection_id":161544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:46:40] local.INFO: TCP Data received {"connection_id":161545,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:46:40] local.INFO: Processing buffer {"connection_id":161545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:46:40] local.INFO: IMEI packet received {"connection_id":161545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":161545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:46:45] local.INFO: TCP Data received {"connection_id":161545,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:46:45] local.INFO: Processing buffer {"connection_id":161545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:46:45] local.INFO: IMEI packet received {"connection_id":161545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":161545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:46:46] local.INFO: TCP Data received {"connection_id":161545,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:46:46] local.INFO: Processing buffer {"connection_id":161545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:46:46] local.INFO: Packet analysis {"connection_id":161545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:46:46] local.INFO: Extracted packet for processing {"connection_id":161545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633494528001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787631139000,"timestamp_ms":1787631139000,"timestamp_seconds":1787631139,"priority":1,"record_length":96,"hex_timestamp":"000001a0371e78b8"} 
[2026-08-25 09:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:46:46] 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-25 09:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633494528001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633494528001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:46:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633494528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":161545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:46:46] local.INFO: GPS data processed {"connection_id":161545,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:46:46] local.INFO: Acknowledgment sent {"connection_id":161545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:47:18] local.INFO: TCP Data received {"connection_id":161545,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:47:18] local.INFO: Processing buffer {"connection_id":161545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:47:18] local.INFO: Packet analysis {"connection_id":161545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:47:18] local.INFO: Extracted packet for processing {"connection_id":161545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633494528001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787631139000,"timestamp_ms":1787631139000,"timestamp_seconds":1787631139,"priority":1,"record_length":96,"hex_timestamp":"000001a0371e78b8"} 
[2026-08-25 09:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633494528001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633494528001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:47:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633494528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":161545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:47:18] local.INFO: GPS data processed {"connection_id":161545,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:47:18] local.INFO: Acknowledgment sent {"connection_id":161545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:47:40] local.INFO: TCP Data received {"connection_id":162767,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:47:40] local.INFO: Processing buffer {"connection_id":162767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:47:40] local.INFO: IMEI packet received {"connection_id":162767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":162767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:47:45] local.INFO: TCP Data received {"connection_id":162767,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:47:45] local.INFO: Processing buffer {"connection_id":162767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:47:45] local.INFO: IMEI packet received {"connection_id":162767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":162767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:47:46] local.INFO: TCP Data received {"connection_id":162767,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:47:46] local.INFO: Processing buffer {"connection_id":162767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0371e78b8012d34c0c006aa4878000400552b..."} 
[2026-08-25 09:47:46] local.INFO: Packet analysis {"connection_id":162767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:47:46] local.INFO: Extracted packet for processing {"connection_id":162767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0371e"} 
[2026-08-25 09:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633494528001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787631139000,"timestamp_ms":1787631139000,"timestamp_seconds":1787631139,"priority":1,"record_length":96,"hex_timestamp":"000001a0371e78b8"} 
[2026-08-25 09:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 09:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:47:46] 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-25 09:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633494528001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633494528001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633494528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":162767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:47:46] local.INFO: GPS data processed {"connection_id":162767,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:47:46] local.INFO: Acknowledgment sent {"connection_id":162767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:48:19] local.INFO: TCP Data received {"connection_id":162767,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:48:19] local.INFO: Processing buffer {"connection_id":162767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:48:19] local.INFO: Packet analysis {"connection_id":162767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:48:19] local.INFO: Extracted packet for processing {"connection_id":162767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633571584001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787631440000,"timestamp_ms":1787631440000,"timestamp_seconds":1787631440,"priority":1,"record_length":96,"hex_timestamp":"000001a037231080"} 
[2026-08-25 09: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-25 09:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633571584001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633571584001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:48:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633571584001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":162767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:48:19] local.INFO: GPS data processed {"connection_id":162767,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:48:19] local.INFO: Acknowledgment sent {"connection_id":162767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:48:45] local.INFO: TCP Data received {"connection_id":161546,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:48:45] local.INFO: Processing buffer {"connection_id":161546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:48:45] local.INFO: IMEI packet received {"connection_id":161546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":161546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:48:50] local.INFO: TCP Data received {"connection_id":161546,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:48:50] local.INFO: Processing buffer {"connection_id":161546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:48:50] local.INFO: IMEI packet received {"connection_id":161546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":161546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:48:52] local.INFO: TCP Data received {"connection_id":161546,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:48:52] local.INFO: Processing buffer {"connection_id":161546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:48:52] local.INFO: Packet analysis {"connection_id":161546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:48:52] local.INFO: Extracted packet for processing {"connection_id":161546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633571584001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787631440000,"timestamp_ms":1787631440000,"timestamp_seconds":1787631440,"priority":1,"record_length":96,"hex_timestamp":"000001a037231080"} 
[2026-08-25 09:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633571584001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633571584001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:48:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633571584001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":161546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:48:52] local.INFO: GPS data processed {"connection_id":161546,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:48:52] local.INFO: Acknowledgment sent {"connection_id":161546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:48:56] local.INFO: TCP Data received {"connection_id":161546,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:48:56] local.INFO: Processing buffer {"connection_id":161546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:48:56] local.INFO: Packet analysis {"connection_id":161546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:48:56] local.INFO: Extracted packet for processing {"connection_id":161546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:48:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633571584001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:48: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-25 09:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787631440000,"timestamp_ms":1787631440000,"timestamp_seconds":1787631440,"priority":1,"record_length":96,"hex_timestamp":"000001a037231080"} 
[2026-08-25 09:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 09:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:48:56] 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-25 09:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633571584001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633571584001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:48:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:48:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633571584001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":161546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:48:56] local.INFO: GPS data processed {"connection_id":161546,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:48:56] local.INFO: Acknowledgment sent {"connection_id":161546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:49:40] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:49:40] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:49:40] local.INFO: IMEI packet received {"connection_id":161775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":161775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:49:45] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:49:45] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:49:45] local.INFO: IMEI packet received {"connection_id":161775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":161775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:49:46] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:49:46] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:49:46] local.INFO: Packet analysis {"connection_id":161775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:49:46] local.INFO: Extracted packet for processing {"connection_id":161775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633571584001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787631440000,"timestamp_ms":1787631440000,"timestamp_seconds":1787631440,"priority":1,"record_length":96,"hex_timestamp":"000001a037231080"} 
[2026-08-25 09:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:49:46] 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-25 09:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633571584001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633571584001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633571584001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":161775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:49:46] local.INFO: GPS data processed {"connection_id":161775,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:49:46] local.INFO: Acknowledgment sent {"connection_id":161775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:50:17] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:50:17] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:50:17] local.INFO: Packet analysis {"connection_id":161775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:50:17] local.INFO: Extracted packet for processing {"connection_id":161775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633571584001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787631440000,"timestamp_ms":1787631440000,"timestamp_seconds":1787631440,"priority":1,"record_length":96,"hex_timestamp":"000001a037231080"} 
[2026-08-25 09:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633571584001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633571584001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:50:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633571584001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":161775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:50:17] local.INFO: GPS data processed {"connection_id":161775,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:50:17] local.INFO: Acknowledgment sent {"connection_id":161775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:50:41] local.INFO: TCP Data received {"connection_id":162768,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:50:41] local.INFO: Processing buffer {"connection_id":162768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:50:41] local.INFO: IMEI packet received {"connection_id":162768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":162768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:50:46] local.INFO: TCP Data received {"connection_id":162768,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:50:46] local.INFO: Processing buffer {"connection_id":162768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:50:46] local.INFO: IMEI packet received {"connection_id":162768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":162768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:50:49] local.INFO: TCP Data received {"connection_id":162768,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:50:49] local.INFO: Processing buffer {"connection_id":162768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:50:49] local.INFO: Packet analysis {"connection_id":162768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:50:49] local.INFO: Extracted packet for processing {"connection_id":162768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:50:49] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633571584001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787631440000,"timestamp_ms":1787631440000,"timestamp_seconds":1787631440,"priority":1,"record_length":96,"hex_timestamp":"000001a037231080"} 
[2026-08-25 09: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-25 09:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09: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":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633571584001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633571584001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:50:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:50:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633571584001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":162768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:50:49] local.INFO: GPS data processed {"connection_id":162768,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:50:49] local.INFO: Acknowledgment sent {"connection_id":162768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:51:21] local.INFO: TCP Data received {"connection_id":162768,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:51:21] local.INFO: Processing buffer {"connection_id":162768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:51:21] local.INFO: Packet analysis {"connection_id":162768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:51:21] local.INFO: Extracted packet for processing {"connection_id":162768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633571584001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787631440000,"timestamp_ms":1787631440000,"timestamp_seconds":1787631440,"priority":1,"record_length":96,"hex_timestamp":"000001a037231080"} 
[2026-08-25 09: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-25 09:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09: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":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633571584001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633571584001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:51:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633571584001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":162768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:51:21] local.INFO: GPS data processed {"connection_id":162768,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:51:21] local.INFO: Acknowledgment sent {"connection_id":162768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:51:40] local.INFO: TCP Data received {"connection_id":161776,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:51:40] local.INFO: Processing buffer {"connection_id":161776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:51:40] local.INFO: IMEI packet received {"connection_id":161776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":161776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:51:45] local.INFO: TCP Data received {"connection_id":161776,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:51:45] local.INFO: Processing buffer {"connection_id":161776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:51:45] local.INFO: IMEI packet received {"connection_id":161776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":161776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:51:46] local.INFO: TCP Data received {"connection_id":161776,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:51:46] local.INFO: Processing buffer {"connection_id":161776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:51:46] local.INFO: Packet analysis {"connection_id":161776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:51:46] local.INFO: Extracted packet for processing {"connection_id":161776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633571584001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787631440000,"timestamp_ms":1787631440000,"timestamp_seconds":1787631440,"priority":1,"record_length":96,"hex_timestamp":"000001a037231080"} 
[2026-08-25 09:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633571584001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633571584001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:51:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633571584001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":161776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:51:46] local.INFO: GPS data processed {"connection_id":161776,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:51:46] local.INFO: Acknowledgment sent {"connection_id":161776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:52:17] local.INFO: TCP Data received {"connection_id":161776,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:52:17] local.INFO: Processing buffer {"connection_id":161776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:52:17] local.INFO: Packet analysis {"connection_id":161776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:52:17] local.INFO: Extracted packet for processing {"connection_id":161776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633571584001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787631440000,"timestamp_ms":1787631440000,"timestamp_seconds":1787631440,"priority":1,"record_length":96,"hex_timestamp":"000001a037231080"} 
[2026-08-25 09:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633571584001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633571584001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633571584001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":161776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:52:17] local.INFO: GPS data processed {"connection_id":161776,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:52:17] local.INFO: Acknowledgment sent {"connection_id":161776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:52:40] local.INFO: TCP Data received {"connection_id":161777,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:52:40] local.INFO: Processing buffer {"connection_id":161777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:52:40] local.INFO: IMEI packet received {"connection_id":161777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":161777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:52:45] local.INFO: TCP Data received {"connection_id":161777,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:52:45] local.INFO: Processing buffer {"connection_id":161777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:52:45] local.INFO: IMEI packet received {"connection_id":161777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":161777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:52:46] local.INFO: TCP Data received {"connection_id":161777,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:52:46] local.INFO: Processing buffer {"connection_id":161777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037231080012d34c0c006aa4878000700552b..."} 
[2026-08-25 09:52:46] local.INFO: Packet analysis {"connection_id":161777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:52:46] local.INFO: Extracted packet for processing {"connection_id":161777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03723"} 
[2026-08-25 09:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633571584001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787631440000,"timestamp_ms":1787631440000,"timestamp_seconds":1787631440,"priority":1,"record_length":96,"hex_timestamp":"000001a037231080"} 
[2026-08-25 09:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 09:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:52:46] 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-25 09:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633571584001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633571584001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633571584001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":161777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:52:46] local.INFO: GPS data processed {"connection_id":161777,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:52:46] local.INFO: Acknowledgment sent {"connection_id":161777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:53:17] local.INFO: TCP Data received {"connection_id":161777,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:53:17] local.INFO: Processing buffer {"connection_id":161777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:53:17] local.INFO: Packet analysis {"connection_id":161777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:53:17] local.INFO: Extracted packet for processing {"connection_id":161777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633648640001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787631741000,"timestamp_ms":1787631741000,"timestamp_seconds":1787631741,"priority":1,"record_length":96,"hex_timestamp":"000001a03727a848"} 
[2026-08-25 09:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 09:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633648640001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633648640001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:53:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633648640001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":161777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:53:17] local.INFO: GPS data processed {"connection_id":161777,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:53:17] local.INFO: Acknowledgment sent {"connection_id":161777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:53:45] local.INFO: TCP Data received {"connection_id":164159,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:53:45] local.INFO: Processing buffer {"connection_id":164159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:53:45] local.INFO: IMEI packet received {"connection_id":164159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":164159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:53:50] local.INFO: TCP Data received {"connection_id":164159,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:53:50] local.INFO: Processing buffer {"connection_id":164159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:53:50] local.INFO: IMEI packet received {"connection_id":164159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":164159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:53:51] local.INFO: TCP Data received {"connection_id":164159,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:53:51] local.INFO: Processing buffer {"connection_id":164159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:53:51] local.INFO: Packet analysis {"connection_id":164159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:53:51] local.INFO: Extracted packet for processing {"connection_id":164159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633648640001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787631741000,"timestamp_ms":1787631741000,"timestamp_seconds":1787631741,"priority":1,"record_length":96,"hex_timestamp":"000001a03727a848"} 
[2026-08-25 09:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 09:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:53:51] 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-25 09:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633648640001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633648640001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633648640001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":164159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:53:51] local.INFO: GPS data processed {"connection_id":164159,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:53:51] local.INFO: Acknowledgment sent {"connection_id":164159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:53:56] local.INFO: TCP Data received {"connection_id":164159,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:53:56] local.INFO: Processing buffer {"connection_id":164159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:53:56] local.INFO: Packet analysis {"connection_id":164159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:53:56] local.INFO: Extracted packet for processing {"connection_id":164159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:53:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633648640001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787631741000,"timestamp_ms":1787631741000,"timestamp_seconds":1787631741,"priority":1,"record_length":96,"hex_timestamp":"000001a03727a848"} 
[2026-08-25 09:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 09:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 09:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:53: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-25 09:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633648640001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633648640001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:53:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:53:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633648640001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":164159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:53:56] local.INFO: GPS data processed {"connection_id":164159,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:53:56] local.INFO: Acknowledgment sent {"connection_id":164159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:54:40] local.INFO: TCP Data received {"connection_id":162769,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:54:40] local.INFO: Processing buffer {"connection_id":162769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:54:40] local.INFO: IMEI packet received {"connection_id":162769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":162769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:54:45] local.INFO: TCP Data received {"connection_id":162769,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:54:45] local.INFO: Processing buffer {"connection_id":162769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:54:45] local.INFO: IMEI packet received {"connection_id":162769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":162769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:54:46] local.INFO: TCP Data received {"connection_id":162769,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:54:46] local.INFO: Processing buffer {"connection_id":162769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:54:46] local.INFO: Packet analysis {"connection_id":162769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:54:46] local.INFO: Extracted packet for processing {"connection_id":162769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633648640001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787631741000,"timestamp_ms":1787631741000,"timestamp_seconds":1787631741,"priority":1,"record_length":96,"hex_timestamp":"000001a03727a848"} 
[2026-08-25 09:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 09:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:54:46] 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-25 09:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633648640001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633648640001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633648640001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":162769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:54:46] local.INFO: GPS data processed {"connection_id":162769,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:54:46] local.INFO: Acknowledgment sent {"connection_id":162769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:55:18] local.INFO: TCP Data received {"connection_id":162769,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:55:18] local.INFO: Processing buffer {"connection_id":162769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:55:18] local.INFO: Packet analysis {"connection_id":162769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:55:18] local.INFO: Extracted packet for processing {"connection_id":162769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633648640001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787631741000,"timestamp_ms":1787631741000,"timestamp_seconds":1787631741,"priority":1,"record_length":96,"hex_timestamp":"000001a03727a848"} 
[2026-08-25 09:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 09:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:55:18] 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-25 09:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633648640001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633648640001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:55:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633648640001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":162769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:55:18] local.INFO: GPS data processed {"connection_id":162769,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:55:18] local.INFO: Acknowledgment sent {"connection_id":162769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:55:40] local.INFO: TCP Data received {"connection_id":164160,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:55:40] local.INFO: Processing buffer {"connection_id":164160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:55:40] local.INFO: IMEI packet received {"connection_id":164160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":164160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:55:45] local.INFO: TCP Data received {"connection_id":164160,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:55:45] local.INFO: Processing buffer {"connection_id":164160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:55:45] local.INFO: IMEI packet received {"connection_id":164160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":164160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:55:46] local.INFO: TCP Data received {"connection_id":164160,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:55:46] local.INFO: Processing buffer {"connection_id":164160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:55:46] local.INFO: Packet analysis {"connection_id":164160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:55:46] local.INFO: Extracted packet for processing {"connection_id":164160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633648640001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787631741000,"timestamp_ms":1787631741000,"timestamp_seconds":1787631741,"priority":1,"record_length":96,"hex_timestamp":"000001a03727a848"} 
[2026-08-25 09:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 09:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:55:46] 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-25 09:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633648640001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633648640001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633648640001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":164160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:55:46] local.INFO: GPS data processed {"connection_id":164160,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:55:46] local.INFO: Acknowledgment sent {"connection_id":164160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:56:17] local.INFO: TCP Data received {"connection_id":164160,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:56:17] local.INFO: Processing buffer {"connection_id":164160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:56:17] local.INFO: Packet analysis {"connection_id":164160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:56:17] local.INFO: Extracted packet for processing {"connection_id":164160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633648640001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787631741000,"timestamp_ms":1787631741000,"timestamp_seconds":1787631741,"priority":1,"record_length":96,"hex_timestamp":"000001a03727a848"} 
[2026-08-25 09:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 09:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633648640001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633648640001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:56:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633648640001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":164160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:56:17] local.INFO: GPS data processed {"connection_id":164160,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:56:17] local.INFO: Acknowledgment sent {"connection_id":164160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:56:41] local.INFO: TCP Data received {"connection_id":161778,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:56:41] local.INFO: Processing buffer {"connection_id":161778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:56:41] local.INFO: IMEI packet received {"connection_id":161778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":161778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:56:45] local.INFO: TCP Data received {"connection_id":161778,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:56:45] local.INFO: Processing buffer {"connection_id":161778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:56:45] local.INFO: IMEI packet received {"connection_id":161778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":161778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:56:46] local.INFO: TCP Data received {"connection_id":161778,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:56:46] local.INFO: Processing buffer {"connection_id":161778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:56:46] local.INFO: Packet analysis {"connection_id":161778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:56:46] local.INFO: Extracted packet for processing {"connection_id":161778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633648640001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787631741000,"timestamp_ms":1787631741000,"timestamp_seconds":1787631741,"priority":1,"record_length":96,"hex_timestamp":"000001a03727a848"} 
[2026-08-25 09:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 09:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633648640001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633648640001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:56:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633648640001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":161778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:56:46] local.INFO: GPS data processed {"connection_id":161778,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:56:46] local.INFO: Acknowledgment sent {"connection_id":161778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:57:17] local.INFO: TCP Data received {"connection_id":161778,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:57:17] local.INFO: Processing buffer {"connection_id":161778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:57:17] local.INFO: Packet analysis {"connection_id":161778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:57:17] local.INFO: Extracted packet for processing {"connection_id":161778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633648640001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787631741000,"timestamp_ms":1787631741000,"timestamp_seconds":1787631741,"priority":1,"record_length":96,"hex_timestamp":"000001a03727a848"} 
[2026-08-25 09:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 09:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633648640001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633648640001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:57:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633648640001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":161778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:57:17] local.INFO: GPS data processed {"connection_id":161778,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:57:17] local.INFO: Acknowledgment sent {"connection_id":161778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:57:40] local.INFO: TCP Data received {"connection_id":162770,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:57:40] local.INFO: Processing buffer {"connection_id":162770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:57:40] local.INFO: IMEI packet received {"connection_id":162770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":162770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:57:45] local.INFO: TCP Data received {"connection_id":162770,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:57:45] local.INFO: Processing buffer {"connection_id":162770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:57:45] local.INFO: IMEI packet received {"connection_id":162770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":162770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:57:46] local.INFO: TCP Data received {"connection_id":162770,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:57:46] local.INFO: Processing buffer {"connection_id":162770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03727a848012d34c0c006aa4878000c00552c..."} 
[2026-08-25 09:57:46] local.INFO: Packet analysis {"connection_id":162770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:57:46] local.INFO: Extracted packet for processing {"connection_id":162770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03727"} 
[2026-08-25 09:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633648640001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787631741000,"timestamp_ms":1787631741000,"timestamp_seconds":1787631741,"priority":1,"record_length":96,"hex_timestamp":"000001a03727a848"} 
[2026-08-25 09:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 09:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:57:46] 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-25 09:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633648640001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633648640001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633648640001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":162770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:57:46] local.INFO: GPS data processed {"connection_id":162770,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:57:46] local.INFO: Acknowledgment sent {"connection_id":162770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:58:17] local.INFO: TCP Data received {"connection_id":162770,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 09:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 09:58:17] local.INFO: Processing buffer {"connection_id":162770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 09:58:17] local.INFO: Packet analysis {"connection_id":162770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 09:58:17] local.INFO: Extracted packet for processing {"connection_id":162770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 09:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633725696001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787632042000,"timestamp_ms":1787632042000,"timestamp_seconds":1787632042,"priority":1,"record_length":96,"hex_timestamp":"000001a0372c4010"} 
[2026-08-25 09: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-25 09:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 09:58:17] 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-25 09: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-25 09: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-25 09:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 09:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633725696001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633725696001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633725696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":162770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:58:17] local.INFO: GPS data processed {"connection_id":162770,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:58:17] local.INFO: Acknowledgment sent {"connection_id":162770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:58:40] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:58:40] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:58:40] local.INFO: IMEI packet received {"connection_id":161547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":161547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:58:45] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:58:45] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:58:45] local.INFO: IMEI packet received {"connection_id":161547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":161547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:58:46] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 09:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 09:58:46] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 09:58:46] local.INFO: Packet analysis {"connection_id":161547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 09:58:46] local.INFO: Extracted packet for processing {"connection_id":161547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 09:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 09:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633725696001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632042000,"timestamp_ms":1787632042000,"timestamp_seconds":1787632042,"priority":1,"record_length":96,"hex_timestamp":"000001a0372c4010"} 
[2026-08-25 09:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 09:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 09:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 09:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 09:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:58:46] 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-25 09:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633725696001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633725696001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633725696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":161547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:58:46] local.INFO: GPS data processed {"connection_id":161547,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:58:46] local.INFO: Acknowledgment sent {"connection_id":161547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:59:20] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 09:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 09:59:20] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 09:59:20] local.INFO: Packet analysis {"connection_id":161547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 09:59:20] local.INFO: Extracted packet for processing {"connection_id":161547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 09:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 09: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-25 09:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633725696001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787632042000,"timestamp_ms":1787632042000,"timestamp_seconds":1787632042,"priority":1,"record_length":96,"hex_timestamp":"000001a0372c4010"} 
[2026-08-25 09: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-25 09:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 09: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":205,"data_length":795,"current_offset":136} 
[2026-08-25 09:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 09: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-25 09: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-25 09:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:59: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-25 09:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633725696001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633725696001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:59:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633725696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":161547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:59:20] local.INFO: GPS data processed {"connection_id":161547,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:59:20] local.INFO: Acknowledgment sent {"connection_id":161547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 09:59:45] local.INFO: TCP Data received {"connection_id":162771,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:59:45] local.INFO: Processing buffer {"connection_id":162771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:59:45] local.INFO: IMEI packet received {"connection_id":162771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 09:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":162771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 09:59:50] local.INFO: TCP Data received {"connection_id":162771,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:59:50] local.INFO: Processing buffer {"connection_id":162771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 09:59:50] local.INFO: IMEI packet received {"connection_id":162771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 09:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":162771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 09:59:51] local.INFO: TCP Data received {"connection_id":162771,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 09:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 09:59:51] local.INFO: Processing buffer {"connection_id":162771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 09:59:51] local.INFO: Packet analysis {"connection_id":162771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 09:59:51] local.INFO: Extracted packet for processing {"connection_id":162771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 09:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 09:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633725696001,"note":"Value kept but may cause issues"} 
[2026-08-25 09:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 09:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 09:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 09:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787632042000,"timestamp_ms":1787632042000,"timestamp_seconds":1787632042,"priority":1,"record_length":96,"hex_timestamp":"000001a0372c4010"} 
[2026-08-25 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-25 09:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 09:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 09:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 09:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 09:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 09:59: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-25 09:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 09:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 09:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633725696001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 09:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 09:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 09:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633725696001,"description":"Unknown IO ID 0"} 
[2026-08-25 09:59:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 09:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 09:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 09:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 09:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633725696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 09:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":162771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 09:59:51] local.INFO: GPS data processed {"connection_id":162771,"processed":1,"errors":0,"total":1} 
[2026-08-25 09:59:51] local.INFO: Acknowledgment sent {"connection_id":162771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:00:23] local.INFO: TCP Data received {"connection_id":162771,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:00:23] local.INFO: Processing buffer {"connection_id":162771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:00:23] local.INFO: Packet analysis {"connection_id":162771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 10:00:23] local.INFO: Extracted packet for processing {"connection_id":162771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633725696001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787632042000,"timestamp_ms":1787632042000,"timestamp_seconds":1787632042,"priority":1,"record_length":96,"hex_timestamp":"000001a0372c4010"} 
[2026-08-25 10:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 10:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:00: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-25 10:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633725696001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633725696001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:00:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:00:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633725696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":162771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:00:23] local.INFO: GPS data processed {"connection_id":162771,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:00:23] local.INFO: Acknowledgment sent {"connection_id":162771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:00:40] local.INFO: TCP Data received {"connection_id":162772,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:00:40] local.INFO: Processing buffer {"connection_id":162772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:00:40] local.INFO: IMEI packet received {"connection_id":162772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":162772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:00:45] local.INFO: TCP Data received {"connection_id":162772,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:00:45] local.INFO: Processing buffer {"connection_id":162772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:00:45] local.INFO: IMEI packet received {"connection_id":162772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":162772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:00:46] local.INFO: TCP Data received {"connection_id":162772,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:00:46] local.INFO: Processing buffer {"connection_id":162772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:00:46] local.INFO: Packet analysis {"connection_id":162772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 10:00:46] local.INFO: Extracted packet for processing {"connection_id":162772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 10:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633725696001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632042000,"timestamp_ms":1787632042000,"timestamp_seconds":1787632042,"priority":1,"record_length":96,"hex_timestamp":"000001a0372c4010"} 
[2026-08-25 10: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-25 10:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 10:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:00:46] 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-25 10:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633725696001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633725696001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633725696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":162772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:00:46] local.INFO: GPS data processed {"connection_id":162772,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:00:46] local.INFO: Acknowledgment sent {"connection_id":162772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:01:18] local.INFO: TCP Data received {"connection_id":162772,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:01:18] local.INFO: Processing buffer {"connection_id":162772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:01:18] local.INFO: Packet analysis {"connection_id":162772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 10:01:18] local.INFO: Extracted packet for processing {"connection_id":162772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 10:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633725696001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787632042000,"timestamp_ms":1787632042000,"timestamp_seconds":1787632042,"priority":1,"record_length":96,"hex_timestamp":"000001a0372c4010"} 
[2026-08-25 10: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-25 10:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 10:01:18] 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-25 10: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-25 10: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-25 10:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:01:18] 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-25 10:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633725696001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633725696001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:01:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633725696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":162772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:01:18] local.INFO: GPS data processed {"connection_id":162772,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:01:18] local.INFO: Acknowledgment sent {"connection_id":162772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:01:40] local.INFO: TCP Data received {"connection_id":164161,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:01:40] local.INFO: Processing buffer {"connection_id":164161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:01:40] local.INFO: IMEI packet received {"connection_id":164161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":164161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:01:45] local.INFO: TCP Data received {"connection_id":164161,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:01:45] local.INFO: Processing buffer {"connection_id":164161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:01:45] local.INFO: IMEI packet received {"connection_id":164161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":164161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:01:47] local.INFO: TCP Data received {"connection_id":164161,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:01:47] local.INFO: Processing buffer {"connection_id":164161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:01:47] local.INFO: Packet analysis {"connection_id":164161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 10:01:47] local.INFO: Extracted packet for processing {"connection_id":164161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 10:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 10:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633725696001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787632042000,"timestamp_ms":1787632042000,"timestamp_seconds":1787632042,"priority":1,"record_length":96,"hex_timestamp":"000001a0372c4010"} 
[2026-08-25 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-25 10:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 10:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 10:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633725696001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633725696001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:01:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633725696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":164161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:01:47] local.INFO: GPS data processed {"connection_id":164161,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:01:47] local.INFO: Acknowledgment sent {"connection_id":164161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:02:18] local.INFO: TCP Data received {"connection_id":164161,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:02:18] local.INFO: Processing buffer {"connection_id":164161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:02:18] local.INFO: Packet analysis {"connection_id":164161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 10:02:18] local.INFO: Extracted packet for processing {"connection_id":164161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 10:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 10:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633725696001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787632042000,"timestamp_ms":1787632042000,"timestamp_seconds":1787632042,"priority":1,"record_length":96,"hex_timestamp":"000001a0372c4010"} 
[2026-08-25 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-25 10:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 10:02:18] 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-25 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-25 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-25 10:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:02:18] 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-25 10:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633725696001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633725696001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:02:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633725696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":164161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:02:18] local.INFO: GPS data processed {"connection_id":164161,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:02:18] local.INFO: Acknowledgment sent {"connection_id":164161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:02:41] local.INFO: TCP Data received {"connection_id":161548,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:02:41] local.INFO: Processing buffer {"connection_id":161548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:02:41] local.INFO: IMEI packet received {"connection_id":161548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":161548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:02:46] local.INFO: TCP Data received {"connection_id":161548,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:02:46] local.INFO: Processing buffer {"connection_id":161548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:02:46] local.INFO: IMEI packet received {"connection_id":161548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":161548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:02:47] local.INFO: TCP Data received {"connection_id":161548,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:02:47] local.INFO: Processing buffer {"connection_id":161548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0372c4010012d34c0c006aa4878000500552e..."} 
[2026-08-25 10:02:47] local.INFO: Packet analysis {"connection_id":161548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 10:02:47] local.INFO: Extracted packet for processing {"connection_id":161548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0372c"} 
[2026-08-25 10:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633725696001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787632042000,"timestamp_ms":1787632042000,"timestamp_seconds":1787632042,"priority":1,"record_length":96,"hex_timestamp":"000001a0372c4010"} 
[2026-08-25 10:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 10:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633725696001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633725696001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:02:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633725696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":161548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:02:47] local.INFO: GPS data processed {"connection_id":161548,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:02:47] local.INFO: Acknowledgment sent {"connection_id":161548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:03:18] local.INFO: TCP Data received {"connection_id":161548,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:03:18] local.INFO: Processing buffer {"connection_id":161548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:03:18] local.INFO: Packet analysis {"connection_id":161548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:03:18] local.INFO: Extracted packet for processing {"connection_id":161548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633802752001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787632343000,"timestamp_ms":1787632343000,"timestamp_seconds":1787632343,"priority":1,"record_length":96,"hex_timestamp":"000001a03730d7d8"} 
[2026-08-25 10: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-25 10:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10: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-25 10: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-25 10:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633802752001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633802752001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:03:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633802752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":161548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:03:18] local.INFO: GPS data processed {"connection_id":161548,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:03:18] local.INFO: Acknowledgment sent {"connection_id":161548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:03:40] local.INFO: TCP Data received {"connection_id":162773,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:03:40] local.INFO: Processing buffer {"connection_id":162773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:03:40] local.INFO: IMEI packet received {"connection_id":162773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":162773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:03:45] local.INFO: TCP Data received {"connection_id":162773,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:03:45] local.INFO: Processing buffer {"connection_id":162773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:03:45] local.INFO: IMEI packet received {"connection_id":162773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":162773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:03:46] local.INFO: TCP Data received {"connection_id":162773,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:03:46] local.INFO: Processing buffer {"connection_id":162773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:03:46] local.INFO: Packet analysis {"connection_id":162773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:03:46] local.INFO: Extracted packet for processing {"connection_id":162773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633802752001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632343000,"timestamp_ms":1787632343000,"timestamp_seconds":1787632343,"priority":1,"record_length":96,"hex_timestamp":"000001a03730d7d8"} 
[2026-08-25 10:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:03:46] 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-25 10:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633802752001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633802752001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633802752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":162773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:03:46] local.INFO: GPS data processed {"connection_id":162773,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:03:46] local.INFO: Acknowledgment sent {"connection_id":162773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:04:17] local.INFO: TCP Data received {"connection_id":162773,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:04:17] local.INFO: Processing buffer {"connection_id":162773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:04:17] local.INFO: Packet analysis {"connection_id":162773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:04:17] local.INFO: Extracted packet for processing {"connection_id":162773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633802752001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787632343000,"timestamp_ms":1787632343000,"timestamp_seconds":1787632343,"priority":1,"record_length":96,"hex_timestamp":"000001a03730d7d8"} 
[2026-08-25 10:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633802752001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633802752001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:04:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633802752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":162773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:04:17] local.INFO: GPS data processed {"connection_id":162773,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:04:17] local.INFO: Acknowledgment sent {"connection_id":162773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:04:45] local.INFO: TCP Data received {"connection_id":161779,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:04:45] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:04:45] local.INFO: IMEI packet received {"connection_id":161779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":161779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:04:50] local.INFO: TCP Data received {"connection_id":161779,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:04:50] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:04:50] local.INFO: IMEI packet received {"connection_id":161779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":161779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:04:51] local.INFO: TCP Data received {"connection_id":161779,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:04:51] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:04:51] local.INFO: Packet analysis {"connection_id":161779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:04:51] local.INFO: Extracted packet for processing {"connection_id":161779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:04:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633802752001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787632343000,"timestamp_ms":1787632343000,"timestamp_seconds":1787632343,"priority":1,"record_length":96,"hex_timestamp":"000001a03730d7d8"} 
[2026-08-25 10:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10: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-25 10:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633802752001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633802752001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:04:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:04:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633802752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":161779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:04:51] local.INFO: GPS data processed {"connection_id":161779,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:04:51] local.INFO: Acknowledgment sent {"connection_id":161779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:04:56] local.INFO: TCP Data received {"connection_id":161779,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:04:56] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:04:56] local.INFO: Packet analysis {"connection_id":161779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:04:56] local.INFO: Extracted packet for processing {"connection_id":161779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:04:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633802752001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:04: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-25 10:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787632343000,"timestamp_ms":1787632343000,"timestamp_seconds":1787632343,"priority":1,"record_length":96,"hex_timestamp":"000001a03730d7d8"} 
[2026-08-25 10:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 10:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:04: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-25 10:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633802752001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633802752001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:04:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:04:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633802752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":161779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:04:56] local.INFO: GPS data processed {"connection_id":161779,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:04:56] local.INFO: Acknowledgment sent {"connection_id":161779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:05:40] local.INFO: TCP Data received {"connection_id":164162,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:05:40] local.INFO: Processing buffer {"connection_id":164162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:05:40] local.INFO: IMEI packet received {"connection_id":164162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":164162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:05:45] local.INFO: TCP Data received {"connection_id":164162,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:05:45] local.INFO: Processing buffer {"connection_id":164162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:05:45] local.INFO: IMEI packet received {"connection_id":164162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":164162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:05:46] local.INFO: TCP Data received {"connection_id":164162,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:05:46] local.INFO: Processing buffer {"connection_id":164162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:05:46] local.INFO: Packet analysis {"connection_id":164162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:05:46] local.INFO: Extracted packet for processing {"connection_id":164162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633802752001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632343000,"timestamp_ms":1787632343000,"timestamp_seconds":1787632343,"priority":1,"record_length":96,"hex_timestamp":"000001a03730d7d8"} 
[2026-08-25 10:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633802752001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633802752001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633802752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":164162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:05:46] local.INFO: GPS data processed {"connection_id":164162,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:05:46] local.INFO: Acknowledgment sent {"connection_id":164162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:06:17] local.INFO: TCP Data received {"connection_id":164162,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:06:17] local.INFO: Processing buffer {"connection_id":164162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:06:17] local.INFO: Packet analysis {"connection_id":164162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:06:17] local.INFO: Extracted packet for processing {"connection_id":164162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633802752001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787632343000,"timestamp_ms":1787632343000,"timestamp_seconds":1787632343,"priority":1,"record_length":96,"hex_timestamp":"000001a03730d7d8"} 
[2026-08-25 10: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-25 10:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633802752001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633802752001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633802752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":164162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:06:17] local.INFO: GPS data processed {"connection_id":164162,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:06:17] local.INFO: Acknowledgment sent {"connection_id":164162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:06:40] local.INFO: TCP Data received {"connection_id":162774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:06:40] local.INFO: Processing buffer {"connection_id":162774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:06:40] local.INFO: IMEI packet received {"connection_id":162774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":162774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:06:45] local.INFO: TCP Data received {"connection_id":162774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:06:45] local.INFO: Processing buffer {"connection_id":162774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:06:45] local.INFO: IMEI packet received {"connection_id":162774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":162774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:06:46] local.INFO: TCP Data received {"connection_id":162774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:06:46] local.INFO: Processing buffer {"connection_id":162774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:06:46] local.INFO: Packet analysis {"connection_id":162774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:06:46] local.INFO: Extracted packet for processing {"connection_id":162774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633802752001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632343000,"timestamp_ms":1787632343000,"timestamp_seconds":1787632343,"priority":1,"record_length":96,"hex_timestamp":"000001a03730d7d8"} 
[2026-08-25 10:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633802752001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633802752001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:06:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633802752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":162774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:06:46] local.INFO: GPS data processed {"connection_id":162774,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:06:46] local.INFO: Acknowledgment sent {"connection_id":162774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:07:17] local.INFO: TCP Data received {"connection_id":162774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:07:17] local.INFO: Processing buffer {"connection_id":162774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:07:17] local.INFO: Packet analysis {"connection_id":162774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:07:17] local.INFO: Extracted packet for processing {"connection_id":162774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:07:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633802752001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787632343000,"timestamp_ms":1787632343000,"timestamp_seconds":1787632343,"priority":1,"record_length":96,"hex_timestamp":"000001a03730d7d8"} 
[2026-08-25 10:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633802752001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633802752001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:07:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:07:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633802752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":162774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:07:17] local.INFO: GPS data processed {"connection_id":162774,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:07:17] local.INFO: Acknowledgment sent {"connection_id":162774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:07:40] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:07:40] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:07:40] local.INFO: IMEI packet received {"connection_id":161780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":161780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:07:45] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:07:45] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:07:45] local.INFO: IMEI packet received {"connection_id":161780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":161780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:07:46] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:07:46] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03730d7d8012d34c0c006aa4878000600552f..."} 
[2026-08-25 10:07:46] local.INFO: Packet analysis {"connection_id":161780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:07:46] local.INFO: Extracted packet for processing {"connection_id":161780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03730"} 
[2026-08-25 10:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633802752001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632343000,"timestamp_ms":1787632343000,"timestamp_seconds":1787632343,"priority":1,"record_length":96,"hex_timestamp":"000001a03730d7d8"} 
[2026-08-25 10:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633802752001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633802752001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633802752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":161780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:07:46] local.INFO: GPS data processed {"connection_id":161780,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:07:46] local.INFO: Acknowledgment sent {"connection_id":161780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:08:17] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:08:17] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:08:17] local.INFO: Packet analysis {"connection_id":161780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:08:17] local.INFO: Extracted packet for processing {"connection_id":161780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633879808001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787632644000,"timestamp_ms":1787632644000,"timestamp_seconds":1787632644,"priority":1,"record_length":96,"hex_timestamp":"000001a037356fa0"} 
[2026-08-25 10:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633879808001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633879808001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:08:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633879808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":161780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:08:17] local.INFO: GPS data processed {"connection_id":161780,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:08:17] local.INFO: Acknowledgment sent {"connection_id":161780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:08:45] local.INFO: TCP Data received {"connection_id":162775,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:08:45] local.INFO: Processing buffer {"connection_id":162775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:08:45] local.INFO: IMEI packet received {"connection_id":162775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":162775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:08:50] local.INFO: TCP Data received {"connection_id":162775,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:08:50] local.INFO: Processing buffer {"connection_id":162775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:08:50] local.INFO: IMEI packet received {"connection_id":162775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":162775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:08:51] local.INFO: TCP Data received {"connection_id":162775,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:08:51] local.INFO: Processing buffer {"connection_id":162775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:08:51] local.INFO: Packet analysis {"connection_id":162775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:08:51] local.INFO: Extracted packet for processing {"connection_id":162775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 10:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633879808001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787632644000,"timestamp_ms":1787632644000,"timestamp_seconds":1787632644,"priority":1,"record_length":96,"hex_timestamp":"000001a037356fa0"} 
[2026-08-25 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-25 10:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 10:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633879808001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633879808001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:08:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633879808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":162775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:08:51] local.INFO: GPS data processed {"connection_id":162775,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:08:51] local.INFO: Acknowledgment sent {"connection_id":162775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:08:56] local.INFO: TCP Data received {"connection_id":162775,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:08:56] local.INFO: Processing buffer {"connection_id":162775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:08:56] local.INFO: Packet analysis {"connection_id":162775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:08:56] local.INFO: Extracted packet for processing {"connection_id":162775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:08:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633879808001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787632644000,"timestamp_ms":1787632644000,"timestamp_seconds":1787632644,"priority":1,"record_length":96,"hex_timestamp":"000001a037356fa0"} 
[2026-08-25 10: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-25 10:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 10:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:08:56] local.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-25 10:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633879808001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633879808001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:08:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:08:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633879808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":162775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:08:56] local.INFO: GPS data processed {"connection_id":162775,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:08:56] local.INFO: Acknowledgment sent {"connection_id":162775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:09:40] local.INFO: TCP Data received {"connection_id":164163,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:09:40] local.INFO: Processing buffer {"connection_id":164163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:09:40] local.INFO: IMEI packet received {"connection_id":164163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":164163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:09:45] local.INFO: TCP Data received {"connection_id":164163,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:09:45] local.INFO: Processing buffer {"connection_id":164163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:09:45] local.INFO: IMEI packet received {"connection_id":164163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":164163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:09:46] local.INFO: TCP Data received {"connection_id":164163,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:09:46] local.INFO: Processing buffer {"connection_id":164163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:09:46] local.INFO: Packet analysis {"connection_id":164163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:09:46] local.INFO: Extracted packet for processing {"connection_id":164163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633879808001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632644000,"timestamp_ms":1787632644000,"timestamp_seconds":1787632644,"priority":1,"record_length":96,"hex_timestamp":"000001a037356fa0"} 
[2026-08-25 10:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633879808001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633879808001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:09:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633879808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":164163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:09:46] local.INFO: GPS data processed {"connection_id":164163,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:09:46] local.INFO: Acknowledgment sent {"connection_id":164163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:10:17] local.INFO: TCP Data received {"connection_id":164163,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:10:17] local.INFO: Processing buffer {"connection_id":164163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:10:17] local.INFO: Packet analysis {"connection_id":164163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:10:17] local.INFO: Extracted packet for processing {"connection_id":164163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633879808001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787632644000,"timestamp_ms":1787632644000,"timestamp_seconds":1787632644,"priority":1,"record_length":96,"hex_timestamp":"000001a037356fa0"} 
[2026-08-25 10:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633879808001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633879808001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:10:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633879808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":164163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:10:17] local.INFO: GPS data processed {"connection_id":164163,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:10:17] local.INFO: Acknowledgment sent {"connection_id":164163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:10:40] local.INFO: TCP Data received {"connection_id":161549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:10:40] local.INFO: Processing buffer {"connection_id":161549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:10:40] local.INFO: IMEI packet received {"connection_id":161549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":161549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:10:45] local.INFO: TCP Data received {"connection_id":161549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:10:45] local.INFO: Processing buffer {"connection_id":161549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:10:45] local.INFO: IMEI packet received {"connection_id":161549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":161549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:10:46] local.INFO: TCP Data received {"connection_id":161549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:10:46] local.INFO: Processing buffer {"connection_id":161549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:10:46] local.INFO: Packet analysis {"connection_id":161549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:10:46] local.INFO: Extracted packet for processing {"connection_id":161549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633879808001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632644000,"timestamp_ms":1787632644000,"timestamp_seconds":1787632644,"priority":1,"record_length":96,"hex_timestamp":"000001a037356fa0"} 
[2026-08-25 10:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:10:46] 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-25 10:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633879808001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633879808001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:10:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633879808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":161549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:10:46] local.INFO: GPS data processed {"connection_id":161549,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:10:46] local.INFO: Acknowledgment sent {"connection_id":161549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:11:18] local.INFO: TCP Data received {"connection_id":161549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:11:18] local.INFO: Processing buffer {"connection_id":161549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:11:18] local.INFO: Packet analysis {"connection_id":161549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:11:18] local.INFO: Extracted packet for processing {"connection_id":161549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:11:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633879808001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787632644000,"timestamp_ms":1787632644000,"timestamp_seconds":1787632644,"priority":1,"record_length":96,"hex_timestamp":"000001a037356fa0"} 
[2026-08-25 10: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-25 10:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:11:18] 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-25 10:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633879808001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633879808001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:11:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:11:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633879808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":161549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:11:18] local.INFO: GPS data processed {"connection_id":161549,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:11:18] local.INFO: Acknowledgment sent {"connection_id":161549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:11:41] local.INFO: TCP Data received {"connection_id":162776,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:11:41] local.INFO: Processing buffer {"connection_id":162776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:11:41] local.INFO: IMEI packet received {"connection_id":162776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":162776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:11:45] local.INFO: TCP Data received {"connection_id":162776,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:11:45] local.INFO: Processing buffer {"connection_id":162776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:11:45] local.INFO: IMEI packet received {"connection_id":162776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":162776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:11:46] local.INFO: TCP Data received {"connection_id":162776,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:11:46] local.INFO: Processing buffer {"connection_id":162776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:11:46] local.INFO: Packet analysis {"connection_id":162776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:11:46] local.INFO: Extracted packet for processing {"connection_id":162776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633879808001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632644000,"timestamp_ms":1787632644000,"timestamp_seconds":1787632644,"priority":1,"record_length":96,"hex_timestamp":"000001a037356fa0"} 
[2026-08-25 10:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633879808001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633879808001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633879808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":162776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:11:46] local.INFO: GPS data processed {"connection_id":162776,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:11:46] local.INFO: Acknowledgment sent {"connection_id":162776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:12:17] local.INFO: TCP Data received {"connection_id":162776,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:12:17] local.INFO: Processing buffer {"connection_id":162776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:12:17] local.INFO: Packet analysis {"connection_id":162776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:12:17] local.INFO: Extracted packet for processing {"connection_id":162776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633879808001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787632644000,"timestamp_ms":1787632644000,"timestamp_seconds":1787632644,"priority":1,"record_length":96,"hex_timestamp":"000001a037356fa0"} 
[2026-08-25 10:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633879808001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633879808001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633879808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":162776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:12:17] local.INFO: GPS data processed {"connection_id":162776,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:12:17] local.INFO: Acknowledgment sent {"connection_id":162776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:12:40] local.INFO: TCP Data received {"connection_id":161781,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:12:40] local.INFO: Processing buffer {"connection_id":161781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:12:40] local.INFO: IMEI packet received {"connection_id":161781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":161781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:12:45] local.INFO: TCP Data received {"connection_id":161781,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:12:45] local.INFO: Processing buffer {"connection_id":161781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:12:45] local.INFO: IMEI packet received {"connection_id":161781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":161781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:12:46] local.INFO: TCP Data received {"connection_id":161781,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:12:46] local.INFO: Processing buffer {"connection_id":161781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037356fa0012d34c0c006aa4878000700552e..."} 
[2026-08-25 10:12:46] local.INFO: Packet analysis {"connection_id":161781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:12:46] local.INFO: Extracted packet for processing {"connection_id":161781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03735"} 
[2026-08-25 10:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633879808001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632644000,"timestamp_ms":1787632644000,"timestamp_seconds":1787632644,"priority":1,"record_length":96,"hex_timestamp":"000001a037356fa0"} 
[2026-08-25 10:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:12:46] 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-25 10:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633879808001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633879808001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633879808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":161781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:12:46] local.INFO: GPS data processed {"connection_id":161781,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:12:46] local.INFO: Acknowledgment sent {"connection_id":161781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:13:17] local.INFO: TCP Data received {"connection_id":161781,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:13:17] local.INFO: Processing buffer {"connection_id":161781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:13:17] local.INFO: Packet analysis {"connection_id":161781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:13:17] local.INFO: Extracted packet for processing {"connection_id":161781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633956864001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787632945000,"timestamp_ms":1787632945000,"timestamp_seconds":1787632945,"priority":1,"record_length":96,"hex_timestamp":"000001a0373a0768"} 
[2026-08-25 10: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-25 10:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633956864001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633956864001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:13:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633956864001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":161781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:13:17] local.INFO: GPS data processed {"connection_id":161781,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:13:17] local.INFO: Acknowledgment sent {"connection_id":161781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:13:40] local.INFO: TCP Data received {"connection_id":161550,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:13:40] local.INFO: Processing buffer {"connection_id":161550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:13:40] local.INFO: IMEI packet received {"connection_id":161550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":161550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:13:45] local.INFO: TCP Data received {"connection_id":161550,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:13:45] local.INFO: Processing buffer {"connection_id":161550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:13:45] local.INFO: IMEI packet received {"connection_id":161550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":161550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:13:46] local.INFO: TCP Data received {"connection_id":161550,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:13:46] local.INFO: Processing buffer {"connection_id":161550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:13:46] local.INFO: Packet analysis {"connection_id":161550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:13:46] local.INFO: Extracted packet for processing {"connection_id":161550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633956864001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632945000,"timestamp_ms":1787632945000,"timestamp_seconds":1787632945,"priority":1,"record_length":96,"hex_timestamp":"000001a0373a0768"} 
[2026-08-25 10:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:13:46] 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-25 10:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633956864001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633956864001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633956864001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":161550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:13:46] local.INFO: GPS data processed {"connection_id":161550,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:13:46] local.INFO: Acknowledgment sent {"connection_id":161550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:14:17] local.INFO: TCP Data received {"connection_id":161550,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:14:17] local.INFO: Processing buffer {"connection_id":161550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:14:17] local.INFO: Packet analysis {"connection_id":161550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:14:17] local.INFO: Extracted packet for processing {"connection_id":161550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633956864001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787632945000,"timestamp_ms":1787632945000,"timestamp_seconds":1787632945,"priority":1,"record_length":96,"hex_timestamp":"000001a0373a0768"} 
[2026-08-25 10: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-25 10:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633956864001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633956864001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:14:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633956864001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":161550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:14:17] local.INFO: GPS data processed {"connection_id":161550,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:14:17] local.INFO: Acknowledgment sent {"connection_id":161550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:14:45] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:14:45] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:14:45] local.INFO: IMEI packet received {"connection_id":161782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":161782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:14:50] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:14:50] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:14:50] local.INFO: IMEI packet received {"connection_id":161782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":161782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:14:52] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:14:52] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:14:52] local.INFO: Packet analysis {"connection_id":161782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:14:52] local.INFO: Extracted packet for processing {"connection_id":161782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633956864001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787632945000,"timestamp_ms":1787632945000,"timestamp_seconds":1787632945,"priority":1,"record_length":96,"hex_timestamp":"000001a0373a0768"} 
[2026-08-25 10:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633956864001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633956864001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633956864001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":161782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:14:52] local.INFO: GPS data processed {"connection_id":161782,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:14:52] local.INFO: Acknowledgment sent {"connection_id":161782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:14:57] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:14:57] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:14:57] local.INFO: Packet analysis {"connection_id":161782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:14:57] local.INFO: Extracted packet for processing {"connection_id":161782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:14:57] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633956864001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:14: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-25 10:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787632945000,"timestamp_ms":1787632945000,"timestamp_seconds":1787632945,"priority":1,"record_length":96,"hex_timestamp":"000001a0373a0768"} 
[2026-08-25 10: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-25 10:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:14:57] 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-25 10:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633956864001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633956864001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:14:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:14:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633956864001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":161782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:14:57] local.INFO: GPS data processed {"connection_id":161782,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:14:57] local.INFO: Acknowledgment sent {"connection_id":161782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:15:40] local.INFO: TCP Data received {"connection_id":162777,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:15:40] local.INFO: Processing buffer {"connection_id":162777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:15:40] local.INFO: IMEI packet received {"connection_id":162777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":162777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:15:45] local.INFO: TCP Data received {"connection_id":162777,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:15:45] local.INFO: Processing buffer {"connection_id":162777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:15:45] local.INFO: IMEI packet received {"connection_id":162777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":162777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:15:46] local.INFO: TCP Data received {"connection_id":162777,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:15:46] local.INFO: Processing buffer {"connection_id":162777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:15:46] local.INFO: Packet analysis {"connection_id":162777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:15:46] local.INFO: Extracted packet for processing {"connection_id":162777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633956864001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632945000,"timestamp_ms":1787632945000,"timestamp_seconds":1787632945,"priority":1,"record_length":96,"hex_timestamp":"000001a0373a0768"} 
[2026-08-25 10:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633956864001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633956864001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633956864001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":162777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:15:46] local.INFO: GPS data processed {"connection_id":162777,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:15:46] local.INFO: Acknowledgment sent {"connection_id":162777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:16:17] local.INFO: TCP Data received {"connection_id":162777,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:16:17] local.INFO: Processing buffer {"connection_id":162777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:16:17] local.INFO: Packet analysis {"connection_id":162777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:16:17] local.INFO: Extracted packet for processing {"connection_id":162777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633956864001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787632945000,"timestamp_ms":1787632945000,"timestamp_seconds":1787632945,"priority":1,"record_length":96,"hex_timestamp":"000001a0373a0768"} 
[2026-08-25 10:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633956864001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633956864001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633956864001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":162777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:16:17] local.INFO: GPS data processed {"connection_id":162777,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:16:17] local.INFO: Acknowledgment sent {"connection_id":162777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:16:40] local.INFO: TCP Data received {"connection_id":161551,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:16:40] local.INFO: Processing buffer {"connection_id":161551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:16:40] local.INFO: IMEI packet received {"connection_id":161551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":161551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:16:45] local.INFO: TCP Data received {"connection_id":161551,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:16:45] local.INFO: Processing buffer {"connection_id":161551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:16:45] local.INFO: IMEI packet received {"connection_id":161551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":161551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:16:46] local.INFO: TCP Data received {"connection_id":161551,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:16:46] local.INFO: Processing buffer {"connection_id":161551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:16:46] local.INFO: Packet analysis {"connection_id":161551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:16:46] local.INFO: Extracted packet for processing {"connection_id":161551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633956864001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632945000,"timestamp_ms":1787632945000,"timestamp_seconds":1787632945,"priority":1,"record_length":96,"hex_timestamp":"000001a0373a0768"} 
[2026-08-25 10:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:16:46] 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-25 10:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633956864001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633956864001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:16:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633956864001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":161551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:16:46] local.INFO: GPS data processed {"connection_id":161551,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:16:46] local.INFO: Acknowledgment sent {"connection_id":161551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:17:18] local.INFO: TCP Data received {"connection_id":161551,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:17:18] local.INFO: Processing buffer {"connection_id":161551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:17:18] local.INFO: Packet analysis {"connection_id":161551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:17:18] local.INFO: Extracted packet for processing {"connection_id":161551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633956864001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787632945000,"timestamp_ms":1787632945000,"timestamp_seconds":1787632945,"priority":1,"record_length":96,"hex_timestamp":"000001a0373a0768"} 
[2026-08-25 10:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:17:18] 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-25 10:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633956864001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633956864001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:17:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633956864001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":161551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:17:18] local.INFO: GPS data processed {"connection_id":161551,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:17:18] local.INFO: Acknowledgment sent {"connection_id":161551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:17:41] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:17:41] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:17:41] local.INFO: IMEI packet received {"connection_id":162778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":162778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:17:45] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:17:45] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:17:45] local.INFO: IMEI packet received {"connection_id":162778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":162778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:17:46] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:17:46] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373a0768012d34c0c006aa4878000b00552e..."} 
[2026-08-25 10:17:46] local.INFO: Packet analysis {"connection_id":162778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:17:46] local.INFO: Extracted packet for processing {"connection_id":162778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373a"} 
[2026-08-25 10:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457633956864001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787632945000,"timestamp_ms":1787632945000,"timestamp_seconds":1787632945,"priority":1,"record_length":96,"hex_timestamp":"000001a0373a0768"} 
[2026-08-25 10:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457633956864001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457633956864001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457633956864001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":162778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:17:46] local.INFO: GPS data processed {"connection_id":162778,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:17:46] local.INFO: Acknowledgment sent {"connection_id":162778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:18:17] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:18:17] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:18:17] local.INFO: Packet analysis {"connection_id":162778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:18:17] local.INFO: Extracted packet for processing {"connection_id":162778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634033920001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787633246000,"timestamp_ms":1787633246000,"timestamp_seconds":1787633246,"priority":1,"record_length":96,"hex_timestamp":"000001a0373e9f30"} 
[2026-08-25 10:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:18:17] 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-25 10:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634033920001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634033920001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:18:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634033920001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":162778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:18:17] local.INFO: GPS data processed {"connection_id":162778,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:18:17] local.INFO: Acknowledgment sent {"connection_id":162778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:18:40] local.INFO: TCP Data received {"connection_id":161552,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:18:40] local.INFO: Processing buffer {"connection_id":161552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:18:40] local.INFO: IMEI packet received {"connection_id":161552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":161552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:18:45] local.INFO: TCP Data received {"connection_id":161552,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:18:45] local.INFO: Processing buffer {"connection_id":161552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:18:45] local.INFO: IMEI packet received {"connection_id":161552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":161552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:18:46] local.INFO: TCP Data received {"connection_id":161552,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:18:46] local.INFO: Processing buffer {"connection_id":161552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:18:46] local.INFO: Packet analysis {"connection_id":161552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:18:46] local.INFO: Extracted packet for processing {"connection_id":161552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634033920001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787633246000,"timestamp_ms":1787633246000,"timestamp_seconds":1787633246,"priority":1,"record_length":96,"hex_timestamp":"000001a0373e9f30"} 
[2026-08-25 10:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:18:46] 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-25 10:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634033920001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634033920001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:18:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634033920001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":161552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:18:46] local.INFO: GPS data processed {"connection_id":161552,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:18:46] local.INFO: Acknowledgment sent {"connection_id":161552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:19:01] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:19:01] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:19:01] local.INFO: IMEI packet received {"connection_id":162779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":162779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:19:02] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:19:02] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:19:02] local.INFO: IMEI packet received {"connection_id":162779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":162779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:19:06] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:19:06] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:19:06] local.INFO: IMEI packet received {"connection_id":162779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":162779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:19:07] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-25 10:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-25 10:19:07] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-25 10:19:07] local.INFO: Packet analysis {"connection_id":162779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-25 10:19:07] local.INFO: Extracted packet for processing {"connection_id":162779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-25 10:19:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 10:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123233319075708928,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 10:19:07] 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-25 10:19:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 10:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162779,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-25 10:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-25 10:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 10:19:07] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 10:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":162779,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 10:19:07] local.ERROR: GPS data processing failed {"connection_id":162779,"error":"No valid data to process"} 
[2026-08-25 10:19:07] local.INFO: Acknowledgment sent {"connection_id":162779,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 10:19:18] local.INFO: TCP Data received {"connection_id":161552,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:19:18] local.INFO: Processing buffer {"connection_id":161552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:19:18] local.INFO: Packet analysis {"connection_id":161552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:19:18] local.INFO: Extracted packet for processing {"connection_id":161552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634033920001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787633246000,"timestamp_ms":1787633246000,"timestamp_seconds":1787633246,"priority":1,"record_length":96,"hex_timestamp":"000001a0373e9f30"} 
[2026-08-25 10:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:19:18] 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-25 10:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634033920001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634033920001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:19:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634033920001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":161552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:19:18] local.INFO: GPS data processed {"connection_id":161552,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:19:18] local.INFO: Acknowledgment sent {"connection_id":161552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:19:38] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374048f8012d7b4a8005e135f80002000007..."} 
[2026-08-25 10:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374048f8012d7b4a8005e135f80002000007..."} 
[2026-08-25 10:19:38] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374048f8012d7b4a8005e135f80002000007..."} 
[2026-08-25 10:19:38] local.INFO: Packet analysis {"connection_id":162779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03740"} 
[2026-08-25 10:19:38] local.INFO: Extracted packet for processing {"connection_id":162779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03740"} 
[2026-08-25 10:19:38] local.INFO: GPS Element Parsed {"raw_longitude":763054720,"raw_latitude":98645496,"longitude_deg":76.305472,"latitude_deg":9.8645496,"altitude":2,"angle":0,"satellites":7,"speed":0,"hex_longitude":"2d7b4a80","hex_latitude":"05e135f8","is_valid_coordinates":true} 
[2026-08-25 10:19:38] 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-25 10:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123233319075708928,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 10:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787633355000,"timestamp_ms":1787633355000,"timestamp_seconds":1787633355,"priority":1,"record_length":96,"hex_timestamp":"000001a0374048f8"} 
[2026-08-25 10:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:19: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-25 10:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 10:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31881443185524805,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184244740301,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521334128880,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:38] local.WARNING: Large IO value detected {"io_id":71,"raw_value":-9221717049590414591,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:38] local.WARNING: Large IO value detected {"io_id":181,"raw_value":-3455105339123302400,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:38] local.WARNING: Large IO value detected {"io_id":36,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929018370,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:38] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2089670228207208960,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:38] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57807755851748667,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:38] local.WARNING: Large IO value detected {"io_id":21,"raw_value":-1794683156653703163,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:38] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3728980504368717056,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:38] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,217,85,24,241,157,16,208,27,10,66,1,240,191,4,113,205,32,71,232,37,239,7,2,181,160,36,206,65,220,21,225],"length":632,"final_offset":762,"validated_count":32,"validation_warnings":[]} 
[2026-08-25 10:19:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 10:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11874,"217":206,"85":15104,"24":0,"16":123233319075708928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16]} 
[2026-08-25 10:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-25 10:19:38] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 10:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123233319075708928,"km_value":123233319075708.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:19:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11874,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-25 10:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":162779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:19:38] local.INFO: GPS data processed {"connection_id":162779,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:19:38] local.INFO: Acknowledgment sent {"connection_id":162779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:19:40] local.INFO: TCP Data received {"connection_id":162780,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:19:40] local.INFO: Processing buffer {"connection_id":162780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:19:40] local.INFO: IMEI packet received {"connection_id":162780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":162780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:19:45] local.INFO: TCP Data received {"connection_id":162780,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:19:45] local.INFO: Processing buffer {"connection_id":162780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:19:45] local.INFO: IMEI packet received {"connection_id":162780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":162780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:19:46] local.INFO: TCP Data received {"connection_id":162780,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:19:46] local.INFO: Processing buffer {"connection_id":162780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:19:46] local.INFO: Packet analysis {"connection_id":162780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:19:46] local.INFO: Extracted packet for processing {"connection_id":162780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634033920001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787633246000,"timestamp_ms":1787633246000,"timestamp_seconds":1787633246,"priority":1,"record_length":96,"hex_timestamp":"000001a0373e9f30"} 
[2026-08-25 10: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-25 10:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10: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-25 10:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:19:46] 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-25 10:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634033920001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634033920001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634033920001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":162780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:19:46] local.INFO: GPS data processed {"connection_id":162780,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:19:46] local.INFO: Acknowledgment sent {"connection_id":162780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:20:09] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037406068012d7b49c005e135380006000008..."} 
[2026-08-25 10:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037406068012d7b49c005e135380006000008..."} 
[2026-08-25 10:20:09] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037406068012d7b49c005e135380006000008..."} 
[2026-08-25 10:20:09] local.INFO: Packet analysis {"connection_id":162779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03740"} 
[2026-08-25 10:20:09] local.INFO: Extracted packet for processing {"connection_id":162779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03740"} 
[2026-08-25 10:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763054528,"raw_latitude":98645304,"longitude_deg":76.3054528,"latitude_deg":9.8645304,"altitude":6,"angle":0,"satellites":8,"speed":0,"hex_longitude":"2d7b49c0","hex_latitude":"05e13538","is_valid_coordinates":true} 
[2026-08-25 10:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634138880001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123233340550545408,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884053977683326976,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787633361000,"timestamp_ms":1787633361000,"timestamp_seconds":1787633361,"priority":1,"record_length":96,"hex_timestamp":"000001a037406068"} 
[2026-08-25 10:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-25 10:20:09] 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-25 10:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634138880001,"66":11852,"217":206,"85":15104,"24":0,"16":123233340550545408,"45":8884053977683326976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 10:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634138880001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:20:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 10:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123233340550545408,"km_value":123233340550545.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884053977683326976,"description":"Unknown IO ID 45"} 
[2026-08-25 10:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634138880001,"power":11852,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8884053977683326976}} 
[2026-08-25 10:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":162779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:20:09] local.INFO: GPS data processed {"connection_id":162779,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:20:09] local.INFO: Acknowledgment sent {"connection_id":162779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:20:17] local.INFO: TCP Data received {"connection_id":162780,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:20:17] local.INFO: Processing buffer {"connection_id":162780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:20:17] local.INFO: Packet analysis {"connection_id":162780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:20:17] local.INFO: Extracted packet for processing {"connection_id":162780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634033920001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787633246000,"timestamp_ms":1787633246000,"timestamp_seconds":1787633246,"priority":1,"record_length":96,"hex_timestamp":"000001a0373e9f30"} 
[2026-08-25 10:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634033920001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634033920001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634033920001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":162780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:20:17] local.INFO: GPS data processed {"connection_id":162780,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:20:17] local.INFO: Acknowledgment sent {"connection_id":162780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:20:41] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03740b270012d7b494005e133f8000f000009..."} 
[2026-08-25 10:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03740b270012d7b494005e133f8000f000009..."} 
[2026-08-25 10:20:41] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03740b270012d7b494005e133f8000f000009..."} 
[2026-08-25 10:20:41] local.INFO: Packet analysis {"connection_id":162779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03740"} 
[2026-08-25 10:20:41] local.INFO: Extracted packet for processing {"connection_id":162779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03740"} 
[2026-08-25 10:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":98644984,"longitude_deg":76.30544,"latitude_deg":9.8644984,"altitude":15,"angle":0,"satellites":9,"speed":0,"hex_longitude":"2d7b4940","hex_latitude":"05e133f8","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634140416001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123233374910283776,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883842871450744832,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787633382000,"timestamp_ms":1787633382000,"timestamp_seconds":1787633382,"priority":1,"record_length":96,"hex_timestamp":"000001a03740b270"} 
[2026-08-25 10: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-25 10:20: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-25 10:20:41] 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-25 10: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-25 10: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-25 10:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634140416001,"66":11895,"217":206,"85":15104,"24":0,"16":123233374910283776,"45":8883842871450744832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 10:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634140416001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:20:41] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 10:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123233374910283776,"km_value":123233374910283.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883842871450744832,"description":"Unknown IO ID 45"} 
[2026-08-25 10:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634140416001,"power":11895,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8883842871450744832}} 
[2026-08-25 10:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":162779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:20:41] local.INFO: GPS data processed {"connection_id":162779,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:20:41] local.INFO: Acknowledgment sent {"connection_id":162779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:20:46] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:20:46] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:20:46] local.INFO: IMEI packet received {"connection_id":161783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":161783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:20:50] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:20:50] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:20:50] local.INFO: IMEI packet received {"connection_id":161783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":161783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:20:51] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:20:51] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:20:51] local.INFO: Packet analysis {"connection_id":161783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:20:51] local.INFO: Extracted packet for processing {"connection_id":161783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634033920001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787633246000,"timestamp_ms":1787633246000,"timestamp_seconds":1787633246,"priority":1,"record_length":96,"hex_timestamp":"000001a0373e9f30"} 
[2026-08-25 10: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-25 10:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:20: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-25 10:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634033920001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 10:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634033920001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:20:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634033920001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":161783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:20:51] local.INFO: GPS data processed {"connection_id":161783,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:20:51] local.INFO: Acknowledgment sent {"connection_id":161783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:20:56] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:20:56] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:20:56] local.INFO: Packet analysis {"connection_id":161783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:20:56] local.INFO: Extracted packet for processing {"connection_id":161783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:20:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634033920001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:20: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-25 10:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787633246000,"timestamp_ms":1787633246000,"timestamp_seconds":1787633246,"priority":1,"record_length":96,"hex_timestamp":"000001a0373e9f30"} 
[2026-08-25 10:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:20: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-25 10:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634033920001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 10:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634033920001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:20:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:20:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634033920001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":161783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:20:56] local.INFO: GPS data processed {"connection_id":161783,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:20:56] local.INFO: Acknowledgment sent {"connection_id":161783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:21:12] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037410478012d7b494005e133d8000f00000b..."} 
[2026-08-25 10:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037410478012d7b494005e133d8000f00000b..."} 
[2026-08-25 10:21:12] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037410478012d7b494005e133d8000f00000b..."} 
[2026-08-25 10:21:12] local.INFO: Packet analysis {"connection_id":162779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03741"} 
[2026-08-25 10:21:12] local.INFO: Extracted packet for processing {"connection_id":162779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03741"} 
[2026-08-25 10:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":98644952,"longitude_deg":76.30544,"latitude_deg":9.8644952,"altitude":15,"angle":0,"satellites":11,"speed":0,"hex_longitude":"2d7b4940","hex_latitude":"05e133d8","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634145792001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123233379205251072,"note":"Value kept but may cause issues"} 
[2026-08-25 10:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883702133962307584,"note":"Value kept but may cause issues"} 
[2026-08-25 10:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787633403000,"timestamp_ms":1787633403000,"timestamp_seconds":1787633403,"priority":1,"record_length":96,"hex_timestamp":"000001a037410478"} 
[2026-08-25 10: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-25 10:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 10:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634145792001,"66":11830,"217":206,"85":15104,"24":0,"16":123233379205251072,"45":8883702133962307584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 10:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634145792001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:21:12] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 10:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123233379205251072,"km_value":123233379205251.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883702133962307584,"description":"Unknown IO ID 45"} 
[2026-08-25 10:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634145792001,"power":11830,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8883702133962307584}} 
[2026-08-25 10:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":162779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:21:12] local.INFO: GPS data processed {"connection_id":162779,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:21:12] local.INFO: Acknowledgment sent {"connection_id":162779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:21:41] local.INFO: TCP Data received {"connection_id":164164,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:21:41] local.INFO: Processing buffer {"connection_id":164164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:21:41] local.INFO: IMEI packet received {"connection_id":164164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":164164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:21:43] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037415680012d7b494005e133d8000f00000b..."} 
[2026-08-25 10:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037415680012d7b494005e133d8000f00000b..."} 
[2026-08-25 10:21:43] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037415680012d7b494005e133d8000f00000b..."} 
[2026-08-25 10:21:43] local.INFO: Packet analysis {"connection_id":162779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03741"} 
[2026-08-25 10:21:43] local.INFO: Extracted packet for processing {"connection_id":162779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03741"} 
[2026-08-25 10:21:43] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":98644952,"longitude_deg":76.30544,"latitude_deg":9.8644952,"altitude":15,"angle":0,"satellites":11,"speed":0,"hex_longitude":"2d7b4940","hex_latitude":"05e133d8","is_valid_coordinates":true} 
[2026-08-25 10:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634151168001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123233379205251072,"note":"Value kept but may cause issues"} 
[2026-08-25 10:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883702133962299392,"note":"Value kept but may cause issues"} 
[2026-08-25 10:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787633424000,"timestamp_ms":1787633424000,"timestamp_seconds":1787633424,"priority":1,"record_length":96,"hex_timestamp":"000001a037415680"} 
[2026-08-25 10:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:21:43] 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-25 10:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-25 10:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634151168001,"66":11874,"217":206,"85":15104,"24":0,"16":123233379205251072,"45":8883702133962299392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 10:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634151168001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:21:43] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 10:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123233379205251072,"km_value":123233379205251.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883702133962299392,"description":"Unknown IO ID 45"} 
[2026-08-25 10:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634151168001,"power":11874,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8883702133962299392}} 
[2026-08-25 10:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":162779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:21:43] local.INFO: GPS data processed {"connection_id":162779,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:21:43] local.INFO: Acknowledgment sent {"connection_id":162779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:21:45] local.INFO: TCP Data received {"connection_id":164164,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:21:45] local.INFO: Processing buffer {"connection_id":164164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:21:45] local.INFO: IMEI packet received {"connection_id":164164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":164164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:21:46] local.INFO: TCP Data received {"connection_id":164164,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:21:46] local.INFO: Processing buffer {"connection_id":164164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:21:46] local.INFO: Packet analysis {"connection_id":164164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:21:46] local.INFO: Extracted packet for processing {"connection_id":164164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634033920001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787633246000,"timestamp_ms":1787633246000,"timestamp_seconds":1787633246,"priority":1,"record_length":96,"hex_timestamp":"000001a0373e9f30"} 
[2026-08-25 10:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634033920001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634033920001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:21:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634033920001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":164164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:21:46] local.INFO: GPS data processed {"connection_id":164164,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:21:46] local.INFO: Acknowledgment sent {"connection_id":164164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:21:51] local.INFO: TCP Data received {"connection_id":164164,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:21:51] local.INFO: Processing buffer {"connection_id":164164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:21:51] local.INFO: Packet analysis {"connection_id":164164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:21:51] local.INFO: Extracted packet for processing {"connection_id":164164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634033920001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787633246000,"timestamp_ms":1787633246000,"timestamp_seconds":1787633246,"priority":1,"record_length":96,"hex_timestamp":"000001a0373e9f30"} 
[2026-08-25 10:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:21:51] 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-25 10:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634033920001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634033920001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:21:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634033920001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":164164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:21:51] local.INFO: GPS data processed {"connection_id":164164,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:21:51] local.INFO: Acknowledgment sent {"connection_id":164164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:22:14] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03741a888012d7b490005e133e0000f00000d..."} 
[2026-08-25 10:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03741a888012d7b490005e133e0000f00000d..."} 
[2026-08-25 10:22:14] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03741a888012d7b490005e133e0000f00000d..."} 
[2026-08-25 10:22:14] local.INFO: Packet analysis {"connection_id":162779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03741"} 
[2026-08-25 10:22:14] local.INFO: Extracted packet for processing {"connection_id":162779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03741"} 
[2026-08-25 10:22:14] local.INFO: GPS Element Parsed {"raw_longitude":763054336,"raw_latitude":98644960,"longitude_deg":76.3054336,"latitude_deg":9.864496,"altitude":15,"angle":0,"satellites":13,"speed":0,"hex_longitude":"2d7b4900","hex_latitude":"05e133e0","is_valid_coordinates":true} 
[2026-08-25 10:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634156544001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123233383500218368,"note":"Value kept but may cause issues"} 
[2026-08-25 10:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883702133962299392,"note":"Value kept but may cause issues"} 
[2026-08-25 10:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787633445000,"timestamp_ms":1787633445000,"timestamp_seconds":1787633445,"priority":1,"record_length":96,"hex_timestamp":"000001a03741a888"} 
[2026-08-25 10:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:22:14] 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-25 10:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-25 10:22:14] 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-25 10:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634156544001,"66":11874,"217":206,"85":15104,"24":0,"16":123233383500218368,"45":8883702133962299392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 10:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634156544001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:22:14] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 10:22:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123233383500218368,"km_value":123233383500218.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883702133962299392,"description":"Unknown IO ID 45"} 
[2026-08-25 10:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634156544001,"power":11874,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8883702133962299392}} 
[2026-08-25 10:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":162779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:22:15] local.INFO: GPS data processed {"connection_id":162779,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:22:15] local.INFO: Acknowledgment sent {"connection_id":162779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:22:22] local.INFO: TCP Data received {"connection_id":164164,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:22:22] local.INFO: Processing buffer {"connection_id":164164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:22:22] local.INFO: Packet analysis {"connection_id":164164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:22:22] local.INFO: Extracted packet for processing {"connection_id":164164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:22:22] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634033920001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787633246000,"timestamp_ms":1787633246000,"timestamp_seconds":1787633246,"priority":1,"record_length":96,"hex_timestamp":"000001a0373e9f30"} 
[2026-08-25 10:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:22: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-25 10:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634033920001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634033920001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:22:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:22:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634033920001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":164164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:22:22] local.INFO: GPS data processed {"connection_id":164164,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:22:22] local.INFO: Acknowledgment sent {"connection_id":164164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:22:40] local.INFO: TCP Data received {"connection_id":162781,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:22:40] local.INFO: Processing buffer {"connection_id":162781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:22:40] local.INFO: IMEI packet received {"connection_id":162781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":162781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:22:45] local.INFO: TCP Data received {"connection_id":162781,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:22:45] local.INFO: Processing buffer {"connection_id":162781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:22:45] local.INFO: IMEI packet received {"connection_id":162781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":162781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:22:46] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037433ec8012d7b360005e18fa00014000b0f..."} 
[2026-08-25 10:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037433ec8012d7b360005e18fa00014000b0f..."} 
[2026-08-25 10:22:46] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037433ec8012d7b360005e18fa00014000b0f..."} 
[2026-08-25 10:22:46] local.INFO: Packet analysis {"connection_id":162779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:22:46] local.INFO: Extracted packet for processing {"connection_id":162779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:22:46] local.INFO: GPS Element Parsed {"raw_longitude":763049472,"raw_latitude":98668448,"longitude_deg":76.3049472,"latitude_deg":9.8668448,"altitude":20,"angle":11,"satellites":15,"speed":2,"hex_longitude":"2d7b3600","hex_latitude":"05e18fa0","is_valid_coordinates":true} 
[2026-08-25 10:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634188032001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878283740666605568,"note":"Value kept but may cause issues"} 
[2026-08-25 10:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123234590386028544,"note":"Value kept but may cause issues"} 
[2026-08-25 10:22: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-25 10:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787633549000,"timestamp_ms":1787633549000,"timestamp_seconds":1787633549,"priority":1,"record_length":96,"hex_timestamp":"000001a037433ec8"} 
[2026-08-25 10:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:22:46] 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-25 10:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 10:22:46] 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-25 10:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634188032001,"66":13526,"45":8878283740666605568,"85":15104,"24":2,"16":123234590386028544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634188032001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878283740666605568,"description":"Unknown IO ID 45"} 
[2026-08-25 10:22:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123234590386028544,"km_value":123234590386028.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:22:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634188032001,"power":13526,"unknown_45":8878283740666605568,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-08-25 10:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":162779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:22:46] local.INFO: GPS data processed {"connection_id":162779,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:22:46] local.INFO: Acknowledgment sent {"connection_id":162779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:22:46] local.INFO: TCP Data received {"connection_id":162781,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:22:46] local.INFO: Processing buffer {"connection_id":162781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0373e9f30012d34c0c006aa4878000500552c..."} 
[2026-08-25 10:22:46] local.INFO: Packet analysis {"connection_id":162781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:22:46] local.INFO: Extracted packet for processing {"connection_id":162781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0373e"} 
[2026-08-25 10:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634033920001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787633246000,"timestamp_ms":1787633246000,"timestamp_seconds":1787633246,"priority":1,"record_length":96,"hex_timestamp":"000001a0373e9f30"} 
[2026-08-25 10:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:22:46] 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-25 10:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634033920001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634033920001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:22:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634033920001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":162781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:22:46] local.INFO: GPS data processed {"connection_id":162781,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:22:46] local.INFO: Acknowledgment sent {"connection_id":162781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:23:17] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037434a80012d7b360005e18fd00014001c0f..."} 
[2026-08-25 10:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037434a80012d7b360005e18fd00014001c0f..."} 
[2026-08-25 10:23:17] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037434a80012d7b360005e18fd00014001c0f..."} 
[2026-08-25 10:23:17] local.INFO: Packet analysis {"connection_id":162779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:23:17] local.INFO: Extracted packet for processing {"connection_id":162779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:23:17] local.INFO: GPS Element Parsed {"raw_longitude":763049472,"raw_latitude":98668496,"longitude_deg":76.3049472,"latitude_deg":9.8668496,"altitude":20,"angle":28,"satellites":15,"speed":0,"hex_longitude":"2d7b3600","hex_latitude":"05e18fd0","is_valid_coordinates":true} 
[2026-08-25 10:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634188544001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878283740666634240,"note":"Value kept but may cause issues"} 
[2026-08-25 10:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123234590386028544,"note":"Value kept but may cause issues"} 
[2026-08-25 10:23:17] 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-25 10:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787633552000,"timestamp_ms":1787633552000,"timestamp_seconds":1787633552,"priority":1,"record_length":96,"hex_timestamp":"000001a037434a80"} 
[2026-08-25 10:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:23:17] 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-25 10:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 10:23:17] 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-25 10:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634188544001,"66":13526,"45":8878283740666634240,"85":15104,"24":0,"16":123234590386028544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634188544001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878283740666634240,"description":"Unknown IO ID 45"} 
[2026-08-25 10:23:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123234590386028544,"km_value":123234590386028.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:23:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634188544001,"power":13526,"unknown_45":8878283740666634240,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-25 10:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":162779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:23:17] local.INFO: GPS data processed {"connection_id":162779,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:23:17] local.INFO: Acknowledgment sent {"connection_id":162779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:23:18] local.INFO: TCP Data received {"connection_id":162781,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:23:18] local.INFO: Processing buffer {"connection_id":162781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:23:18] local.INFO: Packet analysis {"connection_id":162781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:23:18] local.INFO: Extracted packet for processing {"connection_id":162781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634110976001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787633547000,"timestamp_ms":1787633547000,"timestamp_seconds":1787633547,"priority":1,"record_length":96,"hex_timestamp":"000001a0374336f8"} 
[2026-08-25 10:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634110976001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634110976001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:23:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634110976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":162781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:23:18] local.INFO: GPS data processed {"connection_id":162781,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:23:18] local.INFO: Acknowledgment sent {"connection_id":162781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:23:40] local.INFO: TCP Data received {"connection_id":161553,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:23:40] local.INFO: Processing buffer {"connection_id":161553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:23:40] local.INFO: IMEI packet received {"connection_id":161553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":161553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:23:41] local.INFO: TCP Data received {"connection_id":161784,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:23:41] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:23:41] local.INFO: IMEI packet received {"connection_id":161784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":161784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:23:41] local.INFO: TCP Data received {"connection_id":161784,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:23:41] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:23:41] local.INFO: IMEI packet received {"connection_id":161784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":161784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:23:45] local.INFO: TCP Data received {"connection_id":161553,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:23:45] local.INFO: Processing buffer {"connection_id":161553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:23:45] local.INFO: IMEI packet received {"connection_id":161553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":161553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:23:46] local.INFO: TCP Data received {"connection_id":161553,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:23:46] local.INFO: Processing buffer {"connection_id":161553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:23:46] local.INFO: Packet analysis {"connection_id":161553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:23:46] local.INFO: Extracted packet for processing {"connection_id":161553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634110976001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787633547000,"timestamp_ms":1787633547000,"timestamp_seconds":1787633547,"priority":1,"record_length":96,"hex_timestamp":"000001a0374336f8"} 
[2026-08-25 10:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634110976001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634110976001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634110976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":161553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:23:46] local.INFO: GPS data processed {"connection_id":161553,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:23:46] local.INFO: Acknowledgment sent {"connection_id":161553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:23:46] local.INFO: TCP Data received {"connection_id":161784,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:23:46] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:23:46] local.INFO: IMEI packet received {"connection_id":161784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":161784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:23:47] local.INFO: TCP Data received {"connection_id":161784,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374361f0012d7b35c005e190b8001401640f..."} 
[2026-08-25 10:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374361f0012d7b35c005e190b8001401640f..."} 
[2026-08-25 10:23:47] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374361f0012d7b35c005e190b8001401640f..."} 
[2026-08-25 10:23:47] local.INFO: Packet analysis {"connection_id":161784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:23:47] local.INFO: Extracted packet for processing {"connection_id":161784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:23:47] local.INFO: GPS Element Parsed {"raw_longitude":763049408,"raw_latitude":98668728,"longitude_deg":76.3049408,"latitude_deg":9.8668728,"altitude":20,"angle":356,"satellites":15,"speed":4,"hex_longitude":"2d7b35c0","hex_latitude":"05e190b8","is_valid_coordinates":true} 
[2026-08-25 10:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634189312001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878283740666646528,"note":"Value kept but may cause issues"} 
[2026-08-25 10:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123234603270930432,"note":"Value kept but may cause issues"} 
[2026-08-25 10:23:47] 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-25 10:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787633558000,"timestamp_ms":1787633558000,"timestamp_seconds":1787633558,"priority":1,"record_length":96,"hex_timestamp":"000001a0374361f0"} 
[2026-08-25 10:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:23:47] 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-25 10:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 10:23:47] 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-25 10:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634189312001,"66":13515,"45":8878283740666646528,"85":15104,"24":4,"16":123234603270930432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634189312001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878283740666646528,"description":"Unknown IO ID 45"} 
[2026-08-25 10:23:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123234603270930432,"km_value":123234603270930.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:23:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634189312001,"power":13515,"unknown_45":8878283740666646528,"unknown_85":15104,"ignition":4,"odometer":null}} 
[2026-08-25 10:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":161784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:23:47] local.INFO: GPS data processed {"connection_id":161784,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:23:47] local.INFO: Acknowledgment sent {"connection_id":161784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:24:17] local.INFO: TCP Data received {"connection_id":161553,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:24:17] local.INFO: Processing buffer {"connection_id":161553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:24:17] local.INFO: Packet analysis {"connection_id":161553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:24:17] local.INFO: Extracted packet for processing {"connection_id":161553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634110976001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787633547000,"timestamp_ms":1787633547000,"timestamp_seconds":1787633547,"priority":1,"record_length":96,"hex_timestamp":"000001a0374336f8"} 
[2026-08-25 10:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634110976001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634110976001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634110976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":161553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:24:17] local.INFO: GPS data processed {"connection_id":161553,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:24:17] local.INFO: Acknowledgment sent {"connection_id":161553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:24:18] local.INFO: TCP Data received {"connection_id":161784,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03744c180012d7b338005e1c5b00007003510..."} 
[2026-08-25 10:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03744c180012d7b338005e1c5b00007003510..."} 
[2026-08-25 10:24:18] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03744c180012d7b338005e1c5b00007003510..."} 
[2026-08-25 10:24:18] local.INFO: Packet analysis {"connection_id":161784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03744"} 
[2026-08-25 10:24:18] local.INFO: Extracted packet for processing {"connection_id":161784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03744"} 
[2026-08-25 10:24:18] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98682288,"longitude_deg":76.3048832,"latitude_deg":9.8682288,"altitude":7,"angle":53,"satellites":16,"speed":1,"hex_longitude":"2d7b3380","hex_latitude":"05e1c5b0","is_valid_coordinates":true} 
[2026-08-25 10:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634213632001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053228396544,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123235281875763200,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24: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-25 10:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787633648000,"timestamp_ms":1787633648000,"timestamp_seconds":1787633648,"priority":1,"record_length":96,"hex_timestamp":"000001a03744c180"} 
[2026-08-25 10:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:24:18] 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-25 10:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 10:24:18] 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-25 10:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634213632001,"66":13678,"45":8877580053228396544,"85":15104,"24":1,"16":123235281875763200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634213632001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053228396544,"description":"Unknown IO ID 45"} 
[2026-08-25 10:24:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123235281875763200,"km_value":123235281875763.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:24:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634213632001,"power":13678,"unknown_45":8877580053228396544,"unknown_85":15104,"ignition":1,"odometer":null}} 
[2026-08-25 10:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":161784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:24:18] local.INFO: GPS data processed {"connection_id":161784,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:24:18] local.INFO: Acknowledgment sent {"connection_id":161784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:24:45] local.INFO: TCP Data received {"connection_id":162782,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:24:45] local.INFO: Processing buffer {"connection_id":162782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:24:45] local.INFO: IMEI packet received {"connection_id":162782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":162782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:24:49] local.INFO: TCP Data received {"connection_id":161784,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03744c568012d7b338005e1c5d80007002210..."} 
[2026-08-25 10:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03744c568012d7b338005e1c5d80007002210..."} 
[2026-08-25 10:24:49] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03744c568012d7b338005e1c5d80007002210..."} 
[2026-08-25 10:24:49] local.INFO: Packet analysis {"connection_id":161784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03744"} 
[2026-08-25 10:24:49] local.INFO: Extracted packet for processing {"connection_id":161784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03744"} 
[2026-08-25 10:24:49] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98682328,"longitude_deg":76.3048832,"latitude_deg":9.8682328,"altitude":7,"angle":34,"satellites":16,"speed":1,"hex_longitude":"2d7b3380","hex_latitude":"05e1c5d8","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634213888001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053228400640,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123235281875763200,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24: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-25 10:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787633649000,"timestamp_ms":1787633649000,"timestamp_seconds":1787633649,"priority":1,"record_length":96,"hex_timestamp":"000001a03744c568"} 
[2026-08-25 10: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-25 10:24:49] 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-25 10: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 10:24: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-25 10: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-25 10: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-25 10:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634213888001,"66":13678,"45":8877580053228400640,"85":15104,"24":1,"16":123235281875763200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634213888001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053228400640,"description":"Unknown IO ID 45"} 
[2026-08-25 10:24:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123235281875763200,"km_value":123235281875763.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:24:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634213888001,"power":13678,"unknown_45":8877580053228400640,"unknown_85":15104,"ignition":1,"odometer":null}} 
[2026-08-25 10:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":161784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:24:49] local.INFO: GPS data processed {"connection_id":161784,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:24:49] local.INFO: Acknowledgment sent {"connection_id":161784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:24:50] local.INFO: TCP Data received {"connection_id":162782,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:24:50] local.INFO: Processing buffer {"connection_id":162782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:24:50] local.INFO: IMEI packet received {"connection_id":162782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":162782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:24:52] local.INFO: TCP Data received {"connection_id":162782,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:24:52] local.INFO: Processing buffer {"connection_id":162782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:24:52] local.INFO: Packet analysis {"connection_id":162782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:24:52] local.INFO: Extracted packet for processing {"connection_id":162782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634110976001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787633547000,"timestamp_ms":1787633547000,"timestamp_seconds":1787633547,"priority":1,"record_length":96,"hex_timestamp":"000001a0374336f8"} 
[2026-08-25 10:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:24: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-25 10:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:24: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-25 10:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634110976001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 10:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634110976001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634110976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":162782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:24:52] local.INFO: GPS data processed {"connection_id":162782,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:24:52] local.INFO: Acknowledgment sent {"connection_id":162782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:24:56] local.INFO: TCP Data received {"connection_id":162782,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:24:56] local.INFO: Processing buffer {"connection_id":162782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:24:56] local.INFO: Packet analysis {"connection_id":162782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:24:56] local.INFO: Extracted packet for processing {"connection_id":162782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:24:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634110976001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:24: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-25 10:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787633547000,"timestamp_ms":1787633547000,"timestamp_seconds":1787633547,"priority":1,"record_length":96,"hex_timestamp":"000001a0374336f8"} 
[2026-08-25 10:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 10:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:24: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-25 10:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634110976001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"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-25 10:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634110976001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:24:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:24:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634110976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":162782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:24:56] local.INFO: GPS data processed {"connection_id":162782,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:24:56] local.INFO: Acknowledgment sent {"connection_id":162782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:25:21] local.INFO: TCP Data received {"connection_id":161784,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03744c950012d7b338005e1c6300007000710..."} 
[2026-08-25 10:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03744c950012d7b338005e1c6300007000710..."} 
[2026-08-25 10:25:21] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03744c950012d7b338005e1c6300007000710..."} 
[2026-08-25 10:25:21] local.INFO: Packet analysis {"connection_id":161784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03744"} 
[2026-08-25 10:25:21] local.INFO: Extracted packet for processing {"connection_id":161784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03744"} 
[2026-08-25 10:25:21] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98682416,"longitude_deg":76.3048832,"latitude_deg":9.8682416,"altitude":7,"angle":7,"satellites":16,"speed":2,"hex_longitude":"2d7b3380","hex_latitude":"05e1c630","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634214144001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053228410880,"note":"Value kept but may cause issues"} 
[2026-08-25 10:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123235286170730496,"note":"Value kept but may cause issues"} 
[2026-08-25 10:25:21] 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-25 10:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787633650000,"timestamp_ms":1787633650000,"timestamp_seconds":1787633650,"priority":1,"record_length":96,"hex_timestamp":"000001a03744c950"} 
[2026-08-25 10: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-25 10:25:21] 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-25 10: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 10:25:21] 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-25 10: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-25 10: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-25 10:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634214144001,"66":13678,"45":8877580053228410880,"85":15104,"24":2,"16":123235286170730496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634214144001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053228410880,"description":"Unknown IO ID 45"} 
[2026-08-25 10:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123235286170730496,"km_value":123235286170730.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:25:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634214144001,"power":13678,"unknown_45":8877580053228410880,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-08-25 10:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":161784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:25:21] local.INFO: GPS data processed {"connection_id":161784,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:25:21] local.INFO: Acknowledgment sent {"connection_id":161784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:25:41] local.INFO: TCP Data received {"connection_id":164165,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:25:41] local.INFO: Processing buffer {"connection_id":164165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:25:41] local.INFO: IMEI packet received {"connection_id":164165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":164165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:25:41] local.INFO: TCP Data received {"connection_id":162783,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:25:41] local.INFO: Processing buffer {"connection_id":162783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:25:41] local.INFO: IMEI packet received {"connection_id":162783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":162783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:25:45] local.INFO: TCP Data received {"connection_id":164165,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:25:45] local.INFO: Processing buffer {"connection_id":164165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:25:45] local.INFO: IMEI packet received {"connection_id":164165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":164165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:25:46] local.INFO: TCP Data received {"connection_id":164165,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:25:46] local.INFO: Processing buffer {"connection_id":164165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:25:46] local.INFO: Packet analysis {"connection_id":164165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:25:46] local.INFO: Extracted packet for processing {"connection_id":164165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634110976001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787633547000,"timestamp_ms":1787633547000,"timestamp_seconds":1787633547,"priority":1,"record_length":96,"hex_timestamp":"000001a0374336f8"} 
[2026-08-25 10:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634110976001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634110976001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634110976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":164165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:25:46] local.INFO: GPS data processed {"connection_id":164165,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:25:46] local.INFO: Acknowledgment sent {"connection_id":164165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:25:46] local.INFO: TCP Data received {"connection_id":162783,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:25:46] local.INFO: Processing buffer {"connection_id":162783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:25:46] local.INFO: IMEI packet received {"connection_id":162783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":162783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:25:47] local.INFO: TCP Data received {"connection_id":162783,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03744f060012d7b334005e1cd000004015710..."} 
[2026-08-25 10:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03744f060012d7b334005e1cd000004015710..."} 
[2026-08-25 10:25:47] local.INFO: Processing buffer {"connection_id":162783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03744f060012d7b334005e1cd000004015710..."} 
[2026-08-25 10:25:47] local.INFO: Packet analysis {"connection_id":162783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03744"} 
[2026-08-25 10:25:47] local.INFO: Extracted packet for processing {"connection_id":162783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03744"} 
[2026-08-25 10:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763048768,"raw_latitude":98684160,"longitude_deg":76.3048768,"latitude_deg":9.868416,"altitude":4,"angle":343,"satellites":16,"speed":6,"hex_longitude":"2d7b3340","hex_latitude":"05e1cd00","is_valid_coordinates":true} 
[2026-08-25 10:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634214400001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053228433408,"note":"Value kept but may cause issues"} 
[2026-08-25 10:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123235372070076416,"note":"Value kept but may cause issues"} 
[2026-08-25 10:25:47] 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-25 10:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787633660000,"timestamp_ms":1787633660000,"timestamp_seconds":1787633660,"priority":1,"record_length":96,"hex_timestamp":"000001a03744f060"} 
[2026-08-25 10:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:25:47] 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-25 10:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 10:25:47] 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-25 10:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634214400001,"66":13765,"45":8877580053228433408,"85":15104,"24":6,"16":123235372070076416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634214400001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053228433408,"description":"Unknown IO ID 45"} 
[2026-08-25 10:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123235372070076416,"km_value":123235372070076.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:25:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634214400001,"power":13765,"unknown_45":8877580053228433408,"unknown_85":15104,"ignition":6,"odometer":null}} 
[2026-08-25 10:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":162783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:25:47] local.INFO: GPS data processed {"connection_id":162783,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:25:47] local.INFO: Acknowledgment sent {"connection_id":162783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:26:17] local.INFO: TCP Data received {"connection_id":164165,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:26:17] local.INFO: Processing buffer {"connection_id":164165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:26:17] local.INFO: Packet analysis {"connection_id":164165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:26:17] local.INFO: Extracted packet for processing {"connection_id":164165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634110976001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787633547000,"timestamp_ms":1787633547000,"timestamp_seconds":1787633547,"priority":1,"record_length":96,"hex_timestamp":"000001a0374336f8"} 
[2026-08-25 10:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634110976001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634110976001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634110976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":164165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:26:17] local.INFO: GPS data processed {"connection_id":164165,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:26:17] local.INFO: Acknowledgment sent {"connection_id":164165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:26:18] local.INFO: TCP Data received {"connection_id":162783,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037466760012d7b35c005e1d9800000000113..."} 
[2026-08-25 10:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037466760012d7b35c005e1d9800000000113..."} 
[2026-08-25 10:26:18] local.INFO: Processing buffer {"connection_id":162783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037466760012d7b35c005e1d9800000000113..."} 
[2026-08-25 10:26:18] local.INFO: Packet analysis {"connection_id":162783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03746"} 
[2026-08-25 10:26:18] local.INFO: Extracted packet for processing {"connection_id":162783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03746"} 
[2026-08-25 10:26:18] local.INFO: GPS Element Parsed {"raw_longitude":763049408,"raw_latitude":98687360,"longitude_deg":76.3049408,"latitude_deg":9.868736,"altitude":0,"angle":1,"satellites":19,"speed":2,"hex_longitude":"2d7b35c0","hex_latitude":"05e1d980","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634241024001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878213371927273472,"note":"Value kept but may cause issues"} 
[2026-08-25 10:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123235543868768256,"note":"Value kept but may cause issues"} 
[2026-08-25 10:26: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-25 10:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787633756000,"timestamp_ms":1787633756000,"timestamp_seconds":1787633756,"priority":1,"record_length":96,"hex_timestamp":"000001a037466760"} 
[2026-08-25 10: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-25 10:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-25 10:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634241024001,"66":13678,"45":8878213371927273472,"85":15104,"24":2,"16":123235543868768256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634241024001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878213371927273472,"description":"Unknown IO ID 45"} 
[2026-08-25 10:26:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123235543868768256,"km_value":123235543868768.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:26:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634241024001,"power":13678,"unknown_45":8878213371927273472,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-08-25 10:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":162783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:26:18] local.INFO: GPS data processed {"connection_id":162783,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:26:18] local.INFO: Acknowledgment sent {"connection_id":162783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:26:40] local.INFO: TCP Data received {"connection_id":162784,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:26:40] local.INFO: Processing buffer {"connection_id":162784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:26:40] local.INFO: IMEI packet received {"connection_id":162784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":162784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:26:41] local.INFO: TCP Data received {"connection_id":161785,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:26:41] local.INFO: Processing buffer {"connection_id":161785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:26:41] local.INFO: IMEI packet received {"connection_id":161785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":161785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:26:45] local.INFO: TCP Data received {"connection_id":162784,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:26:45] local.INFO: Processing buffer {"connection_id":162784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:26:45] local.INFO: IMEI packet received {"connection_id":162784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":162784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:26:46] local.INFO: TCP Data received {"connection_id":161785,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:26:46] local.INFO: Processing buffer {"connection_id":161785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:26:46] local.INFO: IMEI packet received {"connection_id":161785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":161785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:26:47] local.INFO: TCP Data received {"connection_id":161785,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037466f30012d7b358005e1da000000000d13..."} 
[2026-08-25 10:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037466f30012d7b358005e1da000000000d13..."} 
[2026-08-25 10:26:47] local.INFO: Processing buffer {"connection_id":161785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037466f30012d7b358005e1da000000000d13..."} 
[2026-08-25 10:26:47] local.INFO: Packet analysis {"connection_id":161785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03746"} 
[2026-08-25 10:26:47] local.INFO: Extracted packet for processing {"connection_id":161785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03746"} 
[2026-08-25 10:26:47] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":98687488,"longitude_deg":76.3049344,"latitude_deg":9.8687488,"altitude":0,"angle":13,"satellites":19,"speed":2,"hex_longitude":"2d7b3580","hex_latitude":"05e1da00","is_valid_coordinates":true} 
[2026-08-25 10:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634241536001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878213371927298048,"note":"Value kept but may cause issues"} 
[2026-08-25 10:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123235552458702848,"note":"Value kept but may cause issues"} 
[2026-08-25 10:26:47] 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-25 10:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787633758000,"timestamp_ms":1787633758000,"timestamp_seconds":1787633758,"priority":1,"record_length":96,"hex_timestamp":"000001a037466f30"} 
[2026-08-25 10:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 10:26:47] 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-25 10:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634241536001,"66":13820,"45":8878213371927298048,"85":15104,"24":2,"16":123235552458702848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634241536001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878213371927298048,"description":"Unknown IO ID 45"} 
[2026-08-25 10:26:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123235552458702848,"km_value":123235552458702.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:26:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634241536001,"power":13820,"unknown_45":8878213371927298048,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-08-25 10:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":161785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:26:47] local.INFO: GPS data processed {"connection_id":161785,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:26:47] local.INFO: Acknowledgment sent {"connection_id":161785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:27:10] local.INFO: TCP Data received {"connection_id":162785,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:27:10] local.INFO: Processing buffer {"connection_id":162785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:27:10] local.INFO: IMEI packet received {"connection_id":162785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":162785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:27:15] local.INFO: TCP Data received {"connection_id":162785,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:27:15] local.INFO: Processing buffer {"connection_id":162785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:27:15] local.INFO: IMEI packet received {"connection_id":162785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":162785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:27:17] local.INFO: TCP Data received {"connection_id":162785,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:27:17] local.INFO: Processing buffer {"connection_id":162785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:27:17] local.INFO: Packet analysis {"connection_id":162785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:27:17] local.INFO: Extracted packet for processing {"connection_id":162785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634110976001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787633547000,"timestamp_ms":1787633547000,"timestamp_seconds":1787633547,"priority":1,"record_length":96,"hex_timestamp":"000001a0374336f8"} 
[2026-08-25 10: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-25 10:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634110976001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634110976001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:27:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634110976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":162785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:27:17] local.INFO: GPS data processed {"connection_id":162785,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:27:17] local.INFO: Acknowledgment sent {"connection_id":162785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:27:18] local.INFO: TCP Data received {"connection_id":161785,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037467ed0012d7b358005e1db080000016613..."} 
[2026-08-25 10:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037467ed0012d7b358005e1db080000016613..."} 
[2026-08-25 10:27:18] local.INFO: Processing buffer {"connection_id":161785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037467ed0012d7b358005e1db080000016613..."} 
[2026-08-25 10:27:18] local.INFO: Packet analysis {"connection_id":161785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03746"} 
[2026-08-25 10:27:18] local.INFO: Extracted packet for processing {"connection_id":161785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03746"} 
[2026-08-25 10:27:18] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":98687752,"longitude_deg":76.3049344,"latitude_deg":9.8687752,"altitude":0,"angle":358,"satellites":19,"speed":1,"hex_longitude":"2d7b3580","hex_latitude":"05e1db08","is_valid_coordinates":true} 
[2026-08-25 10:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634242048001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878143003183153152,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123235565343604736,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27: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-25 10:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787633762000,"timestamp_ms":1787633762000,"timestamp_seconds":1787633762,"priority":1,"record_length":96,"hex_timestamp":"000001a037467ed0"} 
[2026-08-25 10:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-25 10:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634242048001,"66":13515,"45":8878143003183153152,"85":15104,"24":1,"16":123235565343604736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634242048001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878143003183153152,"description":"Unknown IO ID 45"} 
[2026-08-25 10:27:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123235565343604736,"km_value":123235565343604.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:27:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634242048001,"power":13515,"unknown_45":8878143003183153152,"unknown_85":15104,"ignition":1,"odometer":null}} 
[2026-08-25 10:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":161785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:27:19] local.INFO: GPS data processed {"connection_id":161785,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:27:19] local.INFO: Acknowledgment sent {"connection_id":161785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:27:45] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:27:45] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:27:45] local.INFO: IMEI packet received {"connection_id":161786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":161786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:27:46] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:27:46] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:27:46] local.INFO: IMEI packet received {"connection_id":161554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":161554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:27:47] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:27:47] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:27:47] local.INFO: IMEI packet received {"connection_id":161554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":161554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:27:48] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03746ccf0012d7b34c005e1e0c00000000813..."} 
[2026-08-25 10:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03746ccf0012d7b34c005e1e0c00000000813..."} 
[2026-08-25 10:27:48] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03746ccf0012d7b34c005e1e0c00000000813..."} 
[2026-08-25 10:27:48] local.INFO: Packet analysis {"connection_id":161554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03746"} 
[2026-08-25 10:27:48] local.INFO: Extracted packet for processing {"connection_id":161554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03746"} 
[2026-08-25 10:27:48] local.INFO: GPS Element Parsed {"raw_longitude":763049152,"raw_latitude":98689216,"longitude_deg":76.3049152,"latitude_deg":9.8689216,"altitude":0,"angle":8,"satellites":19,"speed":5,"hex_longitude":"2d7b34c0","hex_latitude":"05e1e0c0","is_valid_coordinates":true} 
[2026-08-25 10:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634243072001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878143003183220736,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123235638358048768,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:48] 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-25 10:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787633782000,"timestamp_ms":1787633782000,"timestamp_seconds":1787633782,"priority":1,"record_length":96,"hex_timestamp":"000001a03746ccf0"} 
[2026-08-25 10:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:27:48] 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-25 10:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 10:27:48] 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-25 10:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634243072001,"66":13515,"45":8878143003183220736,"85":15104,"24":5,"16":123235638358048768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634243072001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878143003183220736,"description":"Unknown IO ID 45"} 
[2026-08-25 10:27:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123235638358048768,"km_value":123235638358048.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:27:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634243072001,"power":13515,"unknown_45":8878143003183220736,"unknown_85":15104,"ignition":5,"odometer":null}} 
[2026-08-25 10:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":161554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:27:48] local.INFO: GPS data processed {"connection_id":161554,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:27:48] local.INFO: Acknowledgment sent {"connection_id":161554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:27:48] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03746f018012d7b34c005e1e2500000016413..."} 
[2026-08-25 10:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03746f018012d7b34c005e1e2500000016413..."} 
[2026-08-25 10:27:48] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03746f018012d7b34c005e1e2500000016413..."} 
[2026-08-25 10:27:48] local.INFO: Packet analysis {"connection_id":161554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03746"} 
[2026-08-25 10:27:48] local.INFO: Extracted packet for processing {"connection_id":161554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03746"} 
[2026-08-25 10:27:48] local.INFO: GPS Element Parsed {"raw_longitude":763049152,"raw_latitude":98689616,"longitude_deg":76.3049152,"latitude_deg":9.8689616,"altitude":0,"angle":356,"satellites":19,"speed":2,"hex_longitude":"2d7b34c0","hex_latitude":"05e1e250","is_valid_coordinates":true} 
[2026-08-25 10:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634248192001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877931896951062528,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123235659832885248,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:48] 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-25 10:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787633791000,"timestamp_ms":1787633791000,"timestamp_seconds":1787633791,"priority":1,"record_length":96,"hex_timestamp":"000001a03746f018"} 
[2026-08-25 10:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:27:48] 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-25 10:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 10:27:48] 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-25 10:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634248192001,"66":13646,"45":8877931896951062528,"85":15104,"24":2,"16":123235659832885248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634248192001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877931896951062528,"description":"Unknown IO ID 45"} 
[2026-08-25 10:27:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123235659832885248,"km_value":123235659832885.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:27:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634248192001,"power":13646,"unknown_45":8877931896951062528,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-08-25 10:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":161554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:27:48] local.INFO: GPS data processed {"connection_id":161554,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:27:48] local.INFO: Acknowledgment sent {"connection_id":161554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:27:50] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:27:50] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:27:50] local.INFO: IMEI packet received {"connection_id":161786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":161786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:27:51] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:27:51] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:27:51] local.INFO: Packet analysis {"connection_id":161786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:27:51] local.INFO: Extracted packet for processing {"connection_id":161786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634110976001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787633547000,"timestamp_ms":1787633547000,"timestamp_seconds":1787633547,"priority":1,"record_length":96,"hex_timestamp":"000001a0374336f8"} 
[2026-08-25 10: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-25 10:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634110976001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634110976001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:27:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634110976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":161786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:27:51] local.INFO: GPS data processed {"connection_id":161786,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:27:51] local.INFO: Acknowledgment sent {"connection_id":161786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:27:56] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:27:56] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:27:56] local.INFO: Packet analysis {"connection_id":161786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:27:56] local.INFO: Extracted packet for processing {"connection_id":161786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:27:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634110976001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:27: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-25 10:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787633547000,"timestamp_ms":1787633547000,"timestamp_seconds":1787633547,"priority":1,"record_length":96,"hex_timestamp":"000001a0374336f8"} 
[2026-08-25 10: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-25 10:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634110976001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634110976001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:27:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:27:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634110976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":161786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:27:56] local.INFO: GPS data processed {"connection_id":161786,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:27:56] local.INFO: Acknowledgment sent {"connection_id":161786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:28:01] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:28:01] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374336f8012d34c0c006aa4878000600552d..."} 
[2026-08-25 10:28:01] local.INFO: Packet analysis {"connection_id":161786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:28:01] local.INFO: Extracted packet for processing {"connection_id":161786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03743"} 
[2026-08-25 10:28:01] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634110976001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787633547000,"timestamp_ms":1787633547000,"timestamp_seconds":1787633547,"priority":1,"record_length":96,"hex_timestamp":"000001a0374336f8"} 
[2026-08-25 10:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 10:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634110976001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634110976001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:28:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:28:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634110976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":161786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:28:01] local.INFO: GPS data processed {"connection_id":161786,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:28:01] local.INFO: Acknowledgment sent {"connection_id":161786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:28:20] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037473e38012d7b338005e1ee500000000113..."} 
[2026-08-25 10:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037473e38012d7b338005e1ee500000000113..."} 
[2026-08-25 10:28:20] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037473e38012d7b338005e1ee500000000113..."} 
[2026-08-25 10:28:20] local.INFO: Packet analysis {"connection_id":161554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:28:20] local.INFO: Extracted packet for processing {"connection_id":161554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:28:20] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98692688,"longitude_deg":76.3048832,"latitude_deg":9.8692688,"altitude":0,"angle":1,"satellites":19,"speed":5,"hex_longitude":"2d7b3380","hex_latitude":"05e1ee50","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634250496001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877931896951164928,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123235810156740608,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 10:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787633811000,"timestamp_ms":1787633811000,"timestamp_seconds":1787633811,"priority":1,"record_length":96,"hex_timestamp":"000001a037473e38"} 
[2026-08-25 10: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-25 10:28:20] 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-25 10: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-25 10:28:20] 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-25 10: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-25 10: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-25 10:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634250496001,"66":13559,"45":8877931896951164928,"85":15104,"24":5,"16":123235810156740608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634250496001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877931896951164928,"description":"Unknown IO ID 45"} 
[2026-08-25 10:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123235810156740608,"km_value":123235810156740.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:28:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634250496001,"power":13559,"unknown_45":8877931896951164928,"unknown_85":15104,"ignition":5,"odometer":null}} 
[2026-08-25 10:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":161554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:28:20] local.INFO: GPS data processed {"connection_id":161554,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:28:20] local.INFO: Acknowledgment sent {"connection_id":161554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:28:40] local.INFO: TCP Data received {"connection_id":164166,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:28:40] local.INFO: Processing buffer {"connection_id":164166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:28:40] local.INFO: IMEI packet received {"connection_id":164166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":164166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:28:41] local.INFO: TCP Data received {"connection_id":161787,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:28:41] local.INFO: Processing buffer {"connection_id":161787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:28:41] local.INFO: IMEI packet received {"connection_id":161787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":161787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:28:42] local.INFO: TCP Data received {"connection_id":161787,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:28:42] local.INFO: Processing buffer {"connection_id":161787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:28:42] local.INFO: IMEI packet received {"connection_id":161787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":161787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:28:45] local.INFO: TCP Data received {"connection_id":164166,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:28:45] local.INFO: Processing buffer {"connection_id":164166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:28:45] local.INFO: IMEI packet received {"connection_id":164166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":164166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:28:46] local.INFO: TCP Data received {"connection_id":161787,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:28:46] local.INFO: Processing buffer {"connection_id":161787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:28:46] local.INFO: IMEI packet received {"connection_id":161787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":161787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:28:47] local.INFO: TCP Data received {"connection_id":164166,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:28:47] local.INFO: Processing buffer {"connection_id":164166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:28:47] local.INFO: Packet analysis {"connection_id":164166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:28:47] local.INFO: Extracted packet for processing {"connection_id":164166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634188032001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787633848000,"timestamp_ms":1787633848000,"timestamp_seconds":1787633848,"priority":1,"record_length":96,"hex_timestamp":"000001a03747cec0"} 
[2026-08-25 10:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634188032001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634188032001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:28:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634188032001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":164166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:28:47] local.INFO: GPS data processed {"connection_id":164166,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:28:47] local.INFO: Acknowledgment sent {"connection_id":164166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:28:47] local.INFO: TCP Data received {"connection_id":161787,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037479040012d7b330005e1f5b00000016311..."} 
[2026-08-25 10:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037479040012d7b330005e1f5b00000016311..."} 
[2026-08-25 10:28:47] local.INFO: Processing buffer {"connection_id":161787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037479040012d7b330005e1f5b00000016311..."} 
[2026-08-25 10:28:47] local.INFO: Packet analysis {"connection_id":161787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:28:47] local.INFO: Extracted packet for processing {"connection_id":161787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:28:47] local.INFO: GPS Element Parsed {"raw_longitude":763048704,"raw_latitude":98694576,"longitude_deg":76.3048704,"latitude_deg":9.8694576,"altitude":0,"angle":355,"satellites":17,"speed":0,"hex_longitude":"2d7b3300","hex_latitude":"05e1f5b0","is_valid_coordinates":true} 
[2026-08-25 10:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634255616001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053231063040,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123235904646021120,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:47] 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-25 10:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787633832000,"timestamp_ms":1787633832000,"timestamp_seconds":1787633832,"priority":1,"record_length":96,"hex_timestamp":"000001a037479040"} 
[2026-08-25 10:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 10:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634255616001,"66":13798,"45":8877580053231063040,"85":15104,"24":0,"16":123235904646021120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634255616001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053231063040,"description":"Unknown IO ID 45"} 
[2026-08-25 10:28:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123235904646021120,"km_value":123235904646021.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:28:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634255616001,"power":13798,"unknown_45":8877580053231063040,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-25 10:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":161787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:28:47] local.INFO: GPS data processed {"connection_id":161787,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:28:47] local.INFO: Acknowledgment sent {"connection_id":161787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:28:52] local.INFO: TCP Data received {"connection_id":161787,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03747e248012d7b31c005e1ff100000015e12..."} 
[2026-08-25 10:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03747e248012d7b31c005e1ff100000015e12..."} 
[2026-08-25 10:28:52] local.INFO: Processing buffer {"connection_id":161787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03747e248012d7b31c005e1ff100000015e12..."} 
[2026-08-25 10:28:52] local.INFO: Packet analysis {"connection_id":161787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:28:52] local.INFO: Extracted packet for processing {"connection_id":161787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:28:52] local.INFO: GPS Element Parsed {"raw_longitude":763048384,"raw_latitude":98696976,"longitude_deg":76.3048384,"latitude_deg":9.8696976,"altitude":0,"angle":350,"satellites":18,"speed":4,"hex_longitude":"2d7b31c0","hex_latitude":"05e1ff10","is_valid_coordinates":true} 
[2026-08-25 10:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634260992001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877439315743191040,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123236024905105408,"note":"Value kept but may cause issues"} 
[2026-08-25 10:28:52] 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-25 10:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787633853000,"timestamp_ms":1787633853000,"timestamp_seconds":1787633853,"priority":1,"record_length":96,"hex_timestamp":"000001a03747e248"} 
[2026-08-25 10:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-25 10:28:52] 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-25 10:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634260992001,"66":13450,"45":8877439315743191040,"85":15104,"24":4,"16":123236024905105408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634260992001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877439315743191040,"description":"Unknown IO ID 45"} 
[2026-08-25 10:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123236024905105408,"km_value":123236024905105.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:28:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634260992001,"power":13450,"unknown_45":8877439315743191040,"unknown_85":15104,"ignition":4,"odometer":null}} 
[2026-08-25 10:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":161787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:28:52] local.INFO: GPS data processed {"connection_id":161787,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:28:52] local.INFO: Acknowledgment sent {"connection_id":161787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:29:19] local.INFO: TCP Data received {"connection_id":164166,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:29:19] local.INFO: Processing buffer {"connection_id":164166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:29:19] local.INFO: Packet analysis {"connection_id":164166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:29:19] local.INFO: Extracted packet for processing {"connection_id":164166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634188032001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787633848000,"timestamp_ms":1787633848000,"timestamp_seconds":1787633848,"priority":1,"record_length":96,"hex_timestamp":"000001a03747cec0"} 
[2026-08-25 10:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634188032001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634188032001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:29:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634188032001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":164166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:29:19] local.INFO: GPS data processed {"connection_id":164166,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:29:19] local.INFO: Acknowledgment sent {"connection_id":164166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:29:24] local.INFO: TCP Data received {"connection_id":161787,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037481510012d7b308005e205500000000213..."} 
[2026-08-25 10:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037481510012d7b308005e205500000000213..."} 
[2026-08-25 10:29:24] local.INFO: Processing buffer {"connection_id":161787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037481510012d7b308005e205500000000213..."} 
[2026-08-25 10:29:24] local.INFO: Packet analysis {"connection_id":161787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03748"} 
[2026-08-25 10:29:24] local.INFO: Extracted packet for processing {"connection_id":161787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03748"} 
[2026-08-25 10:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763048064,"raw_latitude":98698576,"longitude_deg":76.3048064,"latitude_deg":9.8698576,"altitude":0,"angle":2,"satellites":19,"speed":5,"hex_longitude":"2d7b3080","hex_latitude":"05e20550","is_valid_coordinates":true} 
[2026-08-25 10:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634266368001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877087472022917120,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123236106509484032,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:24] 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-25 10:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787633866000,"timestamp_ms":1787633866000,"timestamp_seconds":1787633866,"priority":1,"record_length":96,"hex_timestamp":"000001a037481510"} 
[2026-08-25 10:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 10:29:24] 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-25 10:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634266368001,"66":13798,"45":8877087472022917120,"85":15104,"24":5,"16":123236106509484032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634266368001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877087472022917120,"description":"Unknown IO ID 45"} 
[2026-08-25 10:29:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123236106509484032,"km_value":123236106509484.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:29:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634266368001,"power":13798,"unknown_45":8877087472022917120,"unknown_85":15104,"ignition":5,"odometer":null}} 
[2026-08-25 10:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":161787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:29:24] local.INFO: GPS data processed {"connection_id":161787,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:29:24] local.INFO: Acknowledgment sent {"connection_id":161787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:29:40] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:29:40] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:29:40] local.INFO: IMEI packet received {"connection_id":161788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":161788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:29:42] local.INFO: TCP Data received {"connection_id":162786,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:29:42] local.INFO: Processing buffer {"connection_id":162786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:29:42] local.INFO: IMEI packet received {"connection_id":162786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":162786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:29:45] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:29:45] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:29:45] local.INFO: IMEI packet received {"connection_id":161788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":161788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:29:46] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:29:46] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:29:46] local.INFO: Packet analysis {"connection_id":161788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:29:46] local.INFO: Extracted packet for processing {"connection_id":161788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634188032001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787633848000,"timestamp_ms":1787633848000,"timestamp_seconds":1787633848,"priority":1,"record_length":96,"hex_timestamp":"000001a03747cec0"} 
[2026-08-25 10:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634188032001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634188032001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634188032001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":161788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:29:46] local.INFO: GPS data processed {"connection_id":161788,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:29:46] local.INFO: Acknowledgment sent {"connection_id":161788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:29:46] local.INFO: TCP Data received {"connection_id":162786,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:29:46] local.INFO: Processing buffer {"connection_id":162786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:29:46] local.INFO: IMEI packet received {"connection_id":162786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":162786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:29:49] local.INFO: TCP Data received {"connection_id":162786,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374818f8012d7b308005e205e00000015f13..."} 
[2026-08-25 10:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374818f8012d7b308005e205e00000015f13..."} 
[2026-08-25 10:29:49] local.INFO: Processing buffer {"connection_id":162786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374818f8012d7b308005e205e00000015f13..."} 
[2026-08-25 10:29:49] local.INFO: Packet analysis {"connection_id":162786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03748"} 
[2026-08-25 10:29:49] local.INFO: Extracted packet for processing {"connection_id":162786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03748"} 
[2026-08-25 10:29:49] local.INFO: GPS Element Parsed {"raw_longitude":763048064,"raw_latitude":98698720,"longitude_deg":76.3048064,"latitude_deg":9.869872,"altitude":0,"angle":351,"satellites":19,"speed":5,"hex_longitude":"2d7b3080","hex_latitude":"05e205e0","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634269696001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876735628302438400,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123236115099418624,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29: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-25 10:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787633867000,"timestamp_ms":1787633867000,"timestamp_seconds":1787633867,"priority":1,"record_length":96,"hex_timestamp":"000001a0374818f8"} 
[2026-08-25 10: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-25 10:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-25 10:29: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-25 10: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-25 10: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-25 10:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634269696001,"66":13798,"45":8876735628302438400,"85":15104,"24":5,"16":123236115099418624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634269696001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876735628302438400,"description":"Unknown IO ID 45"} 
[2026-08-25 10:29:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123236115099418624,"km_value":123236115099418.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:29:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634269696001,"power":13798,"unknown_45":8876735628302438400,"unknown_85":15104,"ignition":5,"odometer":null}} 
[2026-08-25 10:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":162786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:29:49] local.INFO: GPS data processed {"connection_id":162786,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:29:49] local.INFO: Acknowledgment sent {"connection_id":162786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:29:50] local.INFO: TCP Data received {"connection_id":162786,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037484008012d7b2fc005e20b080000000413..."} 
[2026-08-25 10:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037484008012d7b2fc005e20b080000000413..."} 
[2026-08-25 10:29:50] local.INFO: Processing buffer {"connection_id":162786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037484008012d7b2fc005e20b080000000413..."} 
[2026-08-25 10:29:50] local.INFO: Packet analysis {"connection_id":162786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03748"} 
[2026-08-25 10:29:50] local.INFO: Extracted packet for processing {"connection_id":162786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03748"} 
[2026-08-25 10:29:50] local.INFO: GPS Element Parsed {"raw_longitude":763047872,"raw_latitude":98700040,"longitude_deg":76.3047872,"latitude_deg":9.870004,"altitude":0,"angle":4,"satellites":19,"speed":6,"hex_longitude":"2d7b2fc0","hex_latitude":"05e20b08","is_valid_coordinates":true} 
[2026-08-25 10:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634269952001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876735628302475264,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123236179523928064,"note":"Value kept but may cause issues"} 
[2026-08-25 10:29:50] 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-25 10:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787633877000,"timestamp_ms":1787633877000,"timestamp_seconds":1787633877,"priority":1,"record_length":96,"hex_timestamp":"000001a037484008"} 
[2026-08-25 10:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-25 10:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634269952001,"66":13341,"45":8876735628302475264,"85":15104,"24":6,"16":123236179523928064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 10:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634269952001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876735628302475264,"description":"Unknown IO ID 45"} 
[2026-08-25 10:29:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123236179523928064,"km_value":123236179523928.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:29:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634269952001,"power":13341,"unknown_45":8876735628302475264,"unknown_85":15104,"ignition":6,"odometer":null}} 
[2026-08-25 10:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":162786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:29:50] local.INFO: GPS data processed {"connection_id":162786,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:29:50] local.INFO: Acknowledgment sent {"connection_id":162786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:30:18] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:30:18] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:30:18] local.INFO: Packet analysis {"connection_id":161788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:30:18] local.INFO: Extracted packet for processing {"connection_id":161788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634188032001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787633848000,"timestamp_ms":1787633848000,"timestamp_seconds":1787633848,"priority":1,"record_length":96,"hex_timestamp":"000001a03747cec0"} 
[2026-08-25 10:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634188032001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634188032001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:30:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634188032001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":161788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:30:18] local.INFO: GPS data processed {"connection_id":161788,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:30:18] local.INFO: Acknowledgment sent {"connection_id":161788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:30:24] local.INFO: TCP Data received {"connection_id":162786,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374a18b0012d7b05c005e34d980000015d12..."} 
[2026-08-25 10:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374a18b0012d7b05c005e34d980000015d12..."} 
[2026-08-25 10:30:24] local.INFO: Processing buffer {"connection_id":162786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374a18b0012d7b05c005e34d980000015d12..."} 
[2026-08-25 10:30:24] local.INFO: Packet analysis {"connection_id":162786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374a"} 
[2026-08-25 10:30:24] local.INFO: Extracted packet for processing {"connection_id":162786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374a"} 
[2026-08-25 10:30:24] local.INFO: GPS Element Parsed {"raw_longitude":763037120,"raw_latitude":98782616,"longitude_deg":76.303712,"latitude_deg":9.8782616,"altitude":0,"angle":349,"satellites":18,"speed":23,"hex_longitude":"2d7b05c0","hex_latitude":"05e34d98","is_valid_coordinates":true} 
[2026-08-25 10:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634301696001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123240233973055488,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941812324352,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787633998000,"timestamp_ms":1787633998000,"timestamp_seconds":1787633998,"priority":1,"record_length":96,"hex_timestamp":"000001a0374a18b0"} 
[2026-08-25 10:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-25 10:30:24] 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-25 10:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634301696001,"66":13580,"208":206,"85":15104,"24":23,"16":123240233973055488,"45":8864772941812324352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 10:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634301696001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:30:24] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 10:30:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123240233973055488,"km_value":123240233973055.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941812324352,"description":"Unknown IO ID 45"} 
[2026-08-25 10:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634301696001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8864772941812324352}} 
[2026-08-25 10:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":162786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:30:24] local.INFO: GPS data processed {"connection_id":162786,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:30:24] local.INFO: Acknowledgment sent {"connection_id":162786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:30:40] local.INFO: TCP Data received {"connection_id":164168,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:30:40] local.INFO: Processing buffer {"connection_id":164168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:30:40] local.INFO: IMEI packet received {"connection_id":164168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":164168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:30:42] local.INFO: TCP Data received {"connection_id":164167,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:30:42] local.INFO: Processing buffer {"connection_id":164167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:30:42] local.INFO: IMEI packet received {"connection_id":164167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":164167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:30:43] local.INFO: TCP Data received {"connection_id":164167,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:30:43] local.INFO: Processing buffer {"connection_id":164167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:30:43] local.INFO: IMEI packet received {"connection_id":164167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":164167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:30:45] local.INFO: TCP Data received {"connection_id":164168,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:30:45] local.INFO: Processing buffer {"connection_id":164168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:30:45] local.INFO: IMEI packet received {"connection_id":164168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":164168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:30:46] local.INFO: TCP Data received {"connection_id":164168,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:30:46] local.INFO: Processing buffer {"connection_id":164168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:30:46] local.INFO: Packet analysis {"connection_id":164168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:30:46] local.INFO: Extracted packet for processing {"connection_id":164168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634188032001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787633848000,"timestamp_ms":1787633848000,"timestamp_seconds":1787633848,"priority":1,"record_length":96,"hex_timestamp":"000001a03747cec0"} 
[2026-08-25 10:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634188032001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634188032001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:30:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634188032001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":164168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:30:46] local.INFO: GPS data processed {"connection_id":164168,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:30:46] local.INFO: Acknowledgment sent {"connection_id":164168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:30:47] local.INFO: TCP Data received {"connection_id":164167,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:30:47] local.INFO: Processing buffer {"connection_id":164167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:30:47] local.INFO: IMEI packet received {"connection_id":164167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":164167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:30:49] local.INFO: TCP Data received {"connection_id":164167,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374a2468012d7b04c005e350900000014c12..."} 
[2026-08-25 10:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374a2468012d7b04c005e350900000014c12..."} 
[2026-08-25 10:30:49] local.INFO: Processing buffer {"connection_id":164167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374a2468012d7b04c005e350900000014c12..."} 
[2026-08-25 10:30:49] local.INFO: Packet analysis {"connection_id":164167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374a"} 
[2026-08-25 10:30:49] local.INFO: Extracted packet for processing {"connection_id":164167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374a"} 
[2026-08-25 10:30:49] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98783376,"longitude_deg":76.3036864,"latitude_deg":9.8783376,"altitude":0,"angle":332,"satellites":18,"speed":11,"hex_longitude":"2d7b04c0","hex_latitude":"05e35090","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634303488001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123240272627761152,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573069572096,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787634001000,"timestamp_ms":1787634001000,"timestamp_seconds":1787634001,"priority":1,"record_length":96,"hex_timestamp":"000001a0374a2468"} 
[2026-08-25 10: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-25 10:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625683,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3655335936,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7210544607245893642,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13459407,"corrected_to":0} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636142283673133,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-288004640505541035,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3566665728,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3801149440,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2756209442010169344,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755528290205937,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:49] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,214,160,253,45,55,17,10,66,207,226,192,32,18,213,190,64,1,240,247,227,4,113,205,48,128,26,88,239,53,2,181,5,27,123,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":247,"original":13459407,"validated":0},{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-08-25 10:30:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":383806869012480,"timestamp_seconds":383806869012.48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 10: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-25 10:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634303488001,"66":13678,"208":206,"85":15104,"24":11,"16":123240272627761152,"45":8864702573069572096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 10:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634303488001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:30:49] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 10:30:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123240272627761152,"km_value":123240272627761.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573069572096,"description":"Unknown IO ID 45"} 
[2026-08-25 10:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634303488001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8864702573069572096}} 
[2026-08-25 10:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":164167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:30:49] local.INFO: GPS data processed {"connection_id":164167,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:30:49] local.INFO: Acknowledgment sent {"connection_id":164167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:30:52] local.INFO: TCP Data received {"connection_id":164167,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374a3fc0012d7b004005e35d580002015813..."} 
[2026-08-25 10:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374a3fc0012d7b004005e35d580002015813..."} 
[2026-08-25 10:30:52] local.INFO: Processing buffer {"connection_id":164167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374a3fc0012d7b004005e35d580002015813..."} 
[2026-08-25 10:30:52] local.INFO: Packet analysis {"connection_id":164167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374a"} 
[2026-08-25 10:30:52] local.INFO: Extracted packet for processing {"connection_id":164167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374a"} 
[2026-08-25 10:30:52] local.INFO: GPS Element Parsed {"raw_longitude":763035712,"raw_latitude":98786648,"longitude_deg":76.3035712,"latitude_deg":9.8786648,"altitude":2,"angle":344,"satellites":19,"speed":24,"hex_longitude":"2d7b0040","hex_latitude":"05e35d58","is_valid_coordinates":true} 
[2026-08-25 10:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634304256001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123240444426452992,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098093056000,"note":"Value kept but may cause issues"} 
[2026-08-25 10:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787634008000,"timestamp_ms":1787634008000,"timestamp_seconds":1787634008,"priority":1,"record_length":96,"hex_timestamp":"000001a0374a3fc0"} 
[2026-08-25 10:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 10:30:52] 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-25 10:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634304256001,"66":13798,"208":206,"85":15104,"24":24,"16":123240444426452992,"45":8864421098093056000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 10:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634304256001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:30:52] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 10:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123240444426452992,"km_value":123240444426452.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098093056000,"description":"Unknown IO ID 45"} 
[2026-08-25 10:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634304256001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8864421098093056000}} 
[2026-08-25 10:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":164167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:30:52] local.INFO: GPS data processed {"connection_id":164167,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:30:52] local.INFO: Acknowledgment sent {"connection_id":164167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:31:18] local.INFO: TCP Data received {"connection_id":164168,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:31:18] local.INFO: Processing buffer {"connection_id":164168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:31:18] local.INFO: Packet analysis {"connection_id":164168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:31:18] local.INFO: Extracted packet for processing {"connection_id":164168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:31:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634188032001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787633848000,"timestamp_ms":1787633848000,"timestamp_seconds":1787633848,"priority":1,"record_length":96,"hex_timestamp":"000001a03747cec0"} 
[2026-08-25 10:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634188032001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634188032001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:31:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:31:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634188032001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":164168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:31:18] local.INFO: GPS data processed {"connection_id":164168,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:31:18] local.INFO: Acknowledgment sent {"connection_id":164168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:31:25] local.INFO: TCP Data received {"connection_id":164167,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374a6ea0012d7af64005e37e700006015914..."} 
[2026-08-25 10:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374a6ea0012d7af64005e37e700006015914..."} 
[2026-08-25 10:31:25] local.INFO: Processing buffer {"connection_id":164167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374a6ea0012d7af64005e37e700006015914..."} 
[2026-08-25 10:31:25] local.INFO: Packet analysis {"connection_id":164167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374a"} 
[2026-08-25 10:31:25] local.INFO: Extracted packet for processing {"connection_id":164167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374a"} 
[2026-08-25 10:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763033152,"raw_latitude":98795120,"longitude_deg":76.3033152,"latitude_deg":9.879512,"altitude":6,"angle":345,"satellites":20,"speed":22,"hex_longitude":"2d7af640","hex_latitude":"05e37e70","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634306048001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123240873923182592,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863154460698695680,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787634020000,"timestamp_ms":1787634020000,"timestamp_seconds":1787634020,"priority":1,"record_length":96,"hex_timestamp":"000001a0374a6ea0"} 
[2026-08-25 10: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-25 10:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-25 10:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634306048001,"66":13798,"208":206,"85":15104,"24":22,"16":123240873923182592,"45":8863154460698695680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 10:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634306048001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:31:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 10:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123240873923182592,"km_value":123240873923182.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863154460698695680,"description":"Unknown IO ID 45"} 
[2026-08-25 10:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634306048001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8863154460698695680}} 
[2026-08-25 10:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":164167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:31:25] local.INFO: GPS data processed {"connection_id":164167,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:31:25] local.INFO: Acknowledgment sent {"connection_id":164167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:31:40] local.INFO: TCP Data received {"connection_id":161555,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:31:40] local.INFO: Processing buffer {"connection_id":161555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:31:40] local.INFO: IMEI packet received {"connection_id":161555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":161555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:31:45] local.INFO: TCP Data received {"connection_id":161555,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:31:45] local.INFO: Processing buffer {"connection_id":161555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:31:45] local.INFO: IMEI packet received {"connection_id":161555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":161555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:31:46] local.INFO: TCP Data received {"connection_id":161555,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:31:46] local.INFO: Processing buffer {"connection_id":161555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:31:46] local.INFO: Packet analysis {"connection_id":161555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:31:46] local.INFO: Extracted packet for processing {"connection_id":161555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634188032001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787633848000,"timestamp_ms":1787633848000,"timestamp_seconds":1787633848,"priority":1,"record_length":96,"hex_timestamp":"000001a03747cec0"} 
[2026-08-25 10:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634188032001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634188032001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634188032001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":161555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:31:46] local.INFO: GPS data processed {"connection_id":161555,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:31:46] local.INFO: Acknowledgment sent {"connection_id":161555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:31:48] local.INFO: TCP Data received {"connection_id":164169,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:31:48] local.INFO: Processing buffer {"connection_id":164169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:31:48] local.INFO: IMEI packet received {"connection_id":164169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":164169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:31:50] local.INFO: TCP Data received {"connection_id":164169,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:31:50] local.INFO: Processing buffer {"connection_id":164169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:31:50] local.INFO: IMEI packet received {"connection_id":164169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":164169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:31:51] local.INFO: TCP Data received {"connection_id":164169,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:31:51] local.INFO: Processing buffer {"connection_id":164169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:31:51] local.INFO: IMEI packet received {"connection_id":164169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":164169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:31:54] local.INFO: TCP Data received {"connection_id":164169,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374abcc0012d7aef0005e395980007015014..."} 
[2026-08-25 10:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374abcc0012d7aef0005e395980007015014..."} 
[2026-08-25 10:31:54] local.INFO: Processing buffer {"connection_id":164169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374abcc0012d7aef0005e395980007015014..."} 
[2026-08-25 10:31:54] local.INFO: Packet analysis {"connection_id":164169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374a"} 
[2026-08-25 10:31:54] local.INFO: Extracted packet for processing {"connection_id":164169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374a"} 
[2026-08-25 10:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763031296,"raw_latitude":98801048,"longitude_deg":76.3031296,"latitude_deg":9.8801048,"altitude":7,"angle":336,"satellites":20,"speed":7,"hex_longitude":"2d7aef00","hex_latitude":"05e39598","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634309120001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123241174570893312,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860339710933757952,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787634040000,"timestamp_ms":1787634040000,"timestamp_seconds":1787634040,"priority":1,"record_length":96,"hex_timestamp":"000001a0374abcc0"} 
[2026-08-25 10: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-25 10:31:54] 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-25 10: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-25 10:31:54] 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-25 10: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-25 10: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-25 10:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634309120001,"66":13656,"208":206,"85":15104,"24":7,"16":123241174570893312,"45":8860339710933757952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 10:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634309120001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:31:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 10:31:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123241174570893312,"km_value":123241174570893.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860339710933757952,"description":"Unknown IO ID 45"} 
[2026-08-25 10:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634309120001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8860339710933757952}} 
[2026-08-25 10:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":164169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:31:54] local.INFO: GPS data processed {"connection_id":164169,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:31:54] local.INFO: Acknowledgment sent {"connection_id":164169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:31:57] local.INFO: TCP Data received {"connection_id":164169,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374ad048012d7aed8005e398d80007015b14..."} 
[2026-08-25 10:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374ad048012d7aed8005e398d80007015b14..."} 
[2026-08-25 10:31:57] local.INFO: Processing buffer {"connection_id":164169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374ad048012d7aed8005e398d80007015b14..."} 
[2026-08-25 10:31:57] local.INFO: Packet analysis {"connection_id":164169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374a"} 
[2026-08-25 10:31:57] local.INFO: Extracted packet for processing {"connection_id":164169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374a"} 
[2026-08-25 10:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763030912,"raw_latitude":98801880,"longitude_deg":76.3030912,"latitude_deg":9.880188,"altitude":7,"angle":347,"satellites":20,"speed":12,"hex_longitude":"2d7aed80","hex_latitude":"05e398d8","is_valid_coordinates":true} 
[2026-08-25 10:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634314240001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123241221815533568,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858299017354123264,"note":"Value kept but may cause issues"} 
[2026-08-25 10:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787634045000,"timestamp_ms":1787634045000,"timestamp_seconds":1787634045,"priority":1,"record_length":96,"hex_timestamp":"000001a0374ad048"} 
[2026-08-25 10:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 10:31:57] 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-25 10:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634314240001,"66":13678,"208":206,"85":15104,"24":12,"16":123241221815533568,"45":8858299017354123264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 10:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634314240001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:31:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 10:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123241221815533568,"km_value":123241221815533.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858299017354123264,"description":"Unknown IO ID 45"} 
[2026-08-25 10:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634314240001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8858299017354123264}} 
[2026-08-25 10:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":164169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:31:57] local.INFO: GPS data processed {"connection_id":164169,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:31:57] local.INFO: Acknowledgment sent {"connection_id":164169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:32:18] local.INFO: TCP Data received {"connection_id":161555,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:32:18] local.INFO: Processing buffer {"connection_id":161555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:32:18] local.INFO: Packet analysis {"connection_id":161555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:32:18] local.INFO: Extracted packet for processing {"connection_id":161555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634188032001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787633848000,"timestamp_ms":1787633848000,"timestamp_seconds":1787633848,"priority":1,"record_length":96,"hex_timestamp":"000001a03747cec0"} 
[2026-08-25 10: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-25 10:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10: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-25 10: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-25 10:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634188032001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634188032001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:32:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634188032001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":161555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:32:18] local.INFO: GPS data processed {"connection_id":161555,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:32:18] local.INFO: Acknowledgment sent {"connection_id":161555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:32:45] local.INFO: TCP Data received {"connection_id":164170,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:32:45] local.INFO: Processing buffer {"connection_id":164170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:32:45] local.INFO: IMEI packet received {"connection_id":164170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":164170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:32:46] local.INFO: TCP Data received {"connection_id":164171,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:32:46] local.INFO: Processing buffer {"connection_id":164171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:32:46] local.INFO: IMEI packet received {"connection_id":164171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":164171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:32:50] local.INFO: TCP Data received {"connection_id":164170,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:32:50] local.INFO: Processing buffer {"connection_id":164170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:32:50] local.INFO: IMEI packet received {"connection_id":164170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":164170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:32:51] local.INFO: TCP Data received {"connection_id":164171,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:32:51] local.INFO: Processing buffer {"connection_id":164171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:32:51] local.INFO: IMEI packet received {"connection_id":164171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":164171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:32:52] local.INFO: TCP Data received {"connection_id":164170,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:32:52] local.INFO: Processing buffer {"connection_id":164170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:32:52] local.INFO: Packet analysis {"connection_id":164170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:32:52] local.INFO: Extracted packet for processing {"connection_id":164170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634188032001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787633848000,"timestamp_ms":1787633848000,"timestamp_seconds":1787633848,"priority":1,"record_length":96,"hex_timestamp":"000001a03747cec0"} 
[2026-08-25 10:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:32: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-25 10: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-25 10:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634188032001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634188032001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:32:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634188032001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":164170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:32:52] local.INFO: GPS data processed {"connection_id":164170,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:32:52] local.INFO: Acknowledgment sent {"connection_id":164170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:32:52] local.INFO: TCP Data received {"connection_id":164171,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374b1a80012d7ae38005e3bc000008015614..."} 
[2026-08-25 10:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374b1a80012d7ae38005e3bc000008015614..."} 
[2026-08-25 10:32:52] local.INFO: Processing buffer {"connection_id":164171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374b1a80012d7ae38005e3bc000008015614..."} 
[2026-08-25 10:32:52] local.INFO: Packet analysis {"connection_id":164171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374b"} 
[2026-08-25 10:32:52] local.INFO: Extracted packet for processing {"connection_id":164171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374b"} 
[2026-08-25 10:32:52] local.INFO: GPS Element Parsed {"raw_longitude":763028352,"raw_latitude":98810880,"longitude_deg":76.3028352,"latitude_deg":9.881088,"altitude":8,"angle":342,"satellites":20,"speed":29,"hex_longitude":"2d7ae380","hex_latitude":"05e3bc00","is_valid_coordinates":true} 
[2026-08-25 10:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634315520001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123241677082066944,"note":"Value kept but may cause issues"} 
[2026-08-25 10:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857876804889270272,"note":"Value kept but may cause issues"} 
[2026-08-25 10:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787634064000,"timestamp_ms":1787634064000,"timestamp_seconds":1787634064,"priority":1,"record_length":96,"hex_timestamp":"000001a0374b1a80"} 
[2026-08-25 10:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 10:32:52] 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-25 10: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-25 10:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634315520001,"66":13678,"208":206,"85":15104,"24":29,"16":123241677082066944,"45":8857876804889270272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 10:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634315520001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:32:52] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 10:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 10:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123241677082066944,"km_value":123241677082066.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857876804889270272,"description":"Unknown IO ID 45"} 
[2026-08-25 10:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634315520001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8857876804889270272}} 
[2026-08-25 10:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":164171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:32:52] local.INFO: GPS data processed {"connection_id":164171,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:32:52] local.INFO: Acknowledgment sent {"connection_id":164171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:32:57] local.INFO: TCP Data received {"connection_id":164170,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:32:57] local.INFO: Processing buffer {"connection_id":164170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03747cec0012d34c0c006aa4878000700552d..."} 
[2026-08-25 10:32:57] local.INFO: Packet analysis {"connection_id":164170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:32:57] local.INFO: Extracted packet for processing {"connection_id":164170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03747"} 
[2026-08-25 10:32:57] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634188032001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787633848000,"timestamp_ms":1787633848000,"timestamp_seconds":1787633848,"priority":1,"record_length":96,"hex_timestamp":"000001a03747cec0"} 
[2026-08-25 10:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634188032001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634188032001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:32:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:32:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634188032001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":164170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:32:57] local.INFO: GPS data processed {"connection_id":164170,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:32:57] local.INFO: Acknowledgment sent {"connection_id":164170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:33:24] local.INFO: TCP Data received {"connection_id":164171,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374ce770012d7a664005e467f0000800da1d..."} 
[2026-08-25 10:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374ce770012d7a664005e467f0000800da1d..."} 
[2026-08-25 10:33:24] local.INFO: Processing buffer {"connection_id":164171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374ce770012d7a664005e467f0000800da1d..."} 
[2026-08-25 10:33:24] local.INFO: Packet analysis {"connection_id":164171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:33:24] local.INFO: Extracted packet for processing {"connection_id":164171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:33:24] local.INFO: GPS Element Parsed {"raw_longitude":762996288,"raw_latitude":98854896,"longitude_deg":76.2996288,"latitude_deg":9.8854896,"altitude":8,"angle":218,"satellites":29,"speed":1,"hex_longitude":"2d7a6640","hex_latitude":"05e467f0","is_valid_coordinates":true} 
[2026-08-25 10:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634349056001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123244434451070976,"note":"Value kept but may cause issues"} 
[2026-08-25 10:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819807314302720000,"note":"Value kept but may cause issues"} 
[2026-08-25 10:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787634182000,"timestamp_ms":1787634182000,"timestamp_seconds":1787634182,"priority":1,"record_length":96,"hex_timestamp":"000001a0374ce770"} 
[2026-08-25 10:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 10:33:24] 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-25 10:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634349056001,"66":13678,"95":206,"87":13824,"24":1,"16":123244434451070976,"45":8819807314302720000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-25 10:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634349056001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:33:24] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 10:33:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123244434451070976,"km_value":123244434451070.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819807314302720000,"description":"Unknown IO ID 45"} 
[2026-08-25 10:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634349056001,"power":13678,"unknown_95":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8819807314302720000}} 
[2026-08-25 10:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":164171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:33:25] local.INFO: GPS data processed {"connection_id":164171,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:33:25] local.INFO: Acknowledgment sent {"connection_id":164171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:33:40] local.INFO: TCP Data received {"connection_id":162787,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:33:40] local.INFO: Processing buffer {"connection_id":162787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:33:40] local.INFO: IMEI packet received {"connection_id":162787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":162787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:33:41] local.INFO: TCP Data received {"connection_id":162788,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:33:41] local.INFO: Processing buffer {"connection_id":162788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:33:41] local.INFO: IMEI packet received {"connection_id":162788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":162788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:33:45] local.INFO: TCP Data received {"connection_id":162787,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:33:45] local.INFO: Processing buffer {"connection_id":162787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:33:45] local.INFO: IMEI packet received {"connection_id":162787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":162787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:33:46] local.INFO: TCP Data received {"connection_id":162787,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:33:46] local.INFO: Processing buffer {"connection_id":162787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:33:46] local.INFO: Packet analysis {"connection_id":162787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:33:46] local.INFO: Extracted packet for processing {"connection_id":162787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634265088001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787634149000,"timestamp_ms":1787634149000,"timestamp_seconds":1787634149,"priority":1,"record_length":96,"hex_timestamp":"000001a0374c6688"} 
[2026-08-25 10:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634265088001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634265088001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:33:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634265088001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":162787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:33:46] local.INFO: GPS data processed {"connection_id":162787,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:33:46] local.INFO: Acknowledgment sent {"connection_id":162787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:33:46] local.INFO: TCP Data received {"connection_id":162788,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:33:46] local.INFO: Processing buffer {"connection_id":162788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:33:46] local.INFO: IMEI packet received {"connection_id":162788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":162788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:33:47] local.INFO: TCP Data received {"connection_id":162788,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374ceb58012d7a664005e467d0000800e71b..."} 
[2026-08-25 10:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374ceb58012d7a664005e467d0000800e71b..."} 
[2026-08-25 10:33:47] local.INFO: Processing buffer {"connection_id":162788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374ceb58012d7a664005e467d0000800e71b..."} 
[2026-08-25 10:33:47] local.INFO: Packet analysis {"connection_id":162788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:33:47] local.INFO: Extracted packet for processing {"connection_id":162788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:33:47] local.INFO: GPS Element Parsed {"raw_longitude":762996288,"raw_latitude":98854864,"longitude_deg":76.2996288,"latitude_deg":9.8854864,"altitude":8,"angle":231,"satellites":27,"speed":0,"hex_longitude":"2d7a6640","hex_latitude":"05e467d0","is_valid_coordinates":true} 
[2026-08-25 10:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634350592001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123244434451070976,"note":"Value kept but may cause issues"} 
[2026-08-25 10:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819807314302726144,"note":"Value kept but may cause issues"} 
[2026-08-25 10:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787634183000,"timestamp_ms":1787634183000,"timestamp_seconds":1787634183,"priority":1,"record_length":96,"hex_timestamp":"000001a0374ceb58"} 
[2026-08-25 10:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 10:33:47] 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-25 10:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634350592001,"66":13678,"95":206,"87":13824,"24":0,"16":123244434451070976,"45":8819807314302726144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-25 10:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634350592001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:33:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 10:33:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123244434451070976,"km_value":123244434451070.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819807314302726144,"description":"Unknown IO ID 45"} 
[2026-08-25 10:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634350592001,"power":13678,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8819807314302726144}} 
[2026-08-25 10:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":162788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:33:47] local.INFO: GPS data processed {"connection_id":162788,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:33:47] local.INFO: Acknowledgment sent {"connection_id":162788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:34:17] local.INFO: TCP Data received {"connection_id":162787,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:34:17] local.INFO: Processing buffer {"connection_id":162787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:34:17] local.INFO: Packet analysis {"connection_id":162787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:34:17] local.INFO: Extracted packet for processing {"connection_id":162787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634265088001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787634149000,"timestamp_ms":1787634149000,"timestamp_seconds":1787634149,"priority":1,"record_length":96,"hex_timestamp":"000001a0374c6688"} 
[2026-08-25 10:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634265088001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634265088001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:34:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634265088001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":162787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:34:17] local.INFO: GPS data processed {"connection_id":162787,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:34:17] local.INFO: Acknowledgment sent {"connection_id":162787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:34:18] local.INFO: TCP Data received {"connection_id":162788,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374d31a8012d7a65c005e468380007014d1d..."} 
[2026-08-25 10:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374d31a8012d7a65c005e468380007014d1d..."} 
[2026-08-25 10:34:18] local.INFO: Processing buffer {"connection_id":162788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374d31a8012d7a65c005e468380007014d1d..."} 
[2026-08-25 10:34:18] local.INFO: Packet analysis {"connection_id":162788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374d"} 
[2026-08-25 10:34:18] local.INFO: Extracted packet for processing {"connection_id":162788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374d"} 
[2026-08-25 10:34:18] local.INFO: GPS Element Parsed {"raw_longitude":762996160,"raw_latitude":98854968,"longitude_deg":76.299616,"latitude_deg":9.8854968,"altitude":7,"angle":333,"satellites":29,"speed":4,"hex_longitude":"2d7a65c0","hex_latitude":"05e46838","is_valid_coordinates":true} 
[2026-08-25 10:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634350848001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123244447335972864,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819807314302717952,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787634201000,"timestamp_ms":1787634201000,"timestamp_seconds":1787634201,"priority":1,"record_length":96,"hex_timestamp":"000001a0374d31a8"} 
[2026-08-25 10:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 10:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634350848001,"66":13580,"95":206,"87":13824,"24":4,"16":123244447335972864,"45":8819807314302717952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-25 10:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634350848001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:34:18] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 10:34:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123244447335972864,"km_value":123244447335972.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819807314302717952,"description":"Unknown IO ID 45"} 
[2026-08-25 10:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634350848001,"power":13580,"unknown_95":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8819807314302717952}} 
[2026-08-25 10:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":162788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:34:18] local.INFO: GPS data processed {"connection_id":162788,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:34:18] local.INFO: Acknowledgment sent {"connection_id":162788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:34:40] local.INFO: TCP Data received {"connection_id":164172,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:34:40] local.INFO: Processing buffer {"connection_id":164172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:34:40] local.INFO: IMEI packet received {"connection_id":164172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":164172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:34:41] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:34:41] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:34:41] local.INFO: IMEI packet received {"connection_id":162789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":162789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:34:42] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:34:42] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:34:42] local.INFO: IMEI packet received {"connection_id":162789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":162789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:34:45] local.INFO: TCP Data received {"connection_id":164172,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:34:45] local.INFO: Processing buffer {"connection_id":164172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:34:45] local.INFO: IMEI packet received {"connection_id":164172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":164172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:34:46] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:34:46] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:34:46] local.INFO: IMEI packet received {"connection_id":162789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":162789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:34:47] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374d3978012d7a64c005e46978000801421d..."} 
[2026-08-25 10:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374d3978012d7a64c005e46978000801421d..."} 
[2026-08-25 10:34:47] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374d3978012d7a64c005e46978000801421d..."} 
[2026-08-25 10:34:47] local.INFO: Packet analysis {"connection_id":162789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374d"} 
[2026-08-25 10:34:47] local.INFO: Extracted packet for processing {"connection_id":162789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374d"} 
[2026-08-25 10:34:47] local.INFO: GPS Element Parsed {"raw_longitude":762995904,"raw_latitude":98855288,"longitude_deg":76.2995904,"latitude_deg":9.8855288,"altitude":8,"angle":322,"satellites":29,"speed":9,"hex_longitude":"2d7a64c0","hex_latitude":"05e46978","is_valid_coordinates":true} 
[2026-08-25 10:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634355456001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123244464515842048,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819666576814389248,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787634203000,"timestamp_ms":1787634203000,"timestamp_seconds":1787634203,"priority":1,"record_length":96,"hex_timestamp":"000001a0374d3978"} 
[2026-08-25 10:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625689,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3753187506963611658,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959366183,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":655645,"corrected_to":0} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376792,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3659661312,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831162880,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-7710156084110950390,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271633590825387,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755566944911601,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,95,87,24,241,157,16,218,160,235,45,64,103,8,27,10,66,231,29,208,1,240,56,227,55,228,4,113,205,47,104,200,23,239,52,39,2,181,5,11,122,53,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0},{"io_id":200,"original":655645,"validated":0}]} 
[2026-08-25 10:34:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504769420191858688,"timestamp_seconds":504769420191858.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 10:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634355456001,"66":13613,"95":206,"87":13824,"24":9,"16":123244464515842048,"45":8819666576814389248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-25 10:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634355456001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:34:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 10:34:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123244464515842048,"km_value":123244464515842.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819666576814389248,"description":"Unknown IO ID 45"} 
[2026-08-25 10:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634355456001,"power":13613,"unknown_95":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8819666576814389248}} 
[2026-08-25 10:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":162789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:34:47] local.INFO: GPS data processed {"connection_id":162789,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:34:47] local.INFO: Acknowledgment sent {"connection_id":162789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:34:47] local.INFO: TCP Data received {"connection_id":164172,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:34:47] local.INFO: Processing buffer {"connection_id":164172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:34:47] local.INFO: Packet analysis {"connection_id":164172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:34:47] local.INFO: Extracted packet for processing {"connection_id":164172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634265088001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787634149000,"timestamp_ms":1787634149000,"timestamp_seconds":1787634149,"priority":1,"record_length":96,"hex_timestamp":"000001a0374c6688"} 
[2026-08-25 10:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634265088001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634265088001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634265088001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":164172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:34:47] local.INFO: GPS data processed {"connection_id":164172,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:34:47] local.INFO: Acknowledgment sent {"connection_id":164172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:35:18] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374d4530012d7a61c005e46c10000801351d..."} 
[2026-08-25 10:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374d4530012d7a61c005e46c10000801351d..."} 
[2026-08-25 10:35:18] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374d4530012d7a61c005e46c10000801351d..."} 
[2026-08-25 10:35:18] local.INFO: Packet analysis {"connection_id":162789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374d"} 
[2026-08-25 10:35:18] local.INFO: Extracted packet for processing {"connection_id":162789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374d"} 
[2026-08-25 10:35:18] local.INFO: GPS Element Parsed {"raw_longitude":762995136,"raw_latitude":98855952,"longitude_deg":76.2995136,"latitude_deg":9.8855952,"altitude":8,"angle":309,"satellites":29,"speed":17,"hex_longitude":"2d7a61c0","hex_latitude":"05e46c10","is_valid_coordinates":true} 
[2026-08-25 10:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634355968001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123244516055449600,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819385101837760512,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787634206000,"timestamp_ms":1787634206000,"timestamp_seconds":1787634206,"priority":1,"record_length":96,"hex_timestamp":"000001a0374d4530"} 
[2026-08-25 10:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:35: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-25 10:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-25 10:35:18] 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-25 10:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634355968001,"66":13417,"95":206,"87":13824,"24":17,"16":123244516055449600,"45":8819385101837760512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-25 10:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634355968001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:35:18] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 10:35:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123244516055449600,"km_value":123244516055449.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819385101837760512,"description":"Unknown IO ID 45"} 
[2026-08-25 10:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634355968001,"power":13417,"unknown_95":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8819385101837760512}} 
[2026-08-25 10:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":162789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:35:18] local.INFO: GPS data processed {"connection_id":162789,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:35:18] local.INFO: Acknowledgment sent {"connection_id":162789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:35:20] local.INFO: TCP Data received {"connection_id":164172,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:35:20] local.INFO: Processing buffer {"connection_id":164172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:35:20] local.INFO: Packet analysis {"connection_id":164172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:35:20] local.INFO: Extracted packet for processing {"connection_id":164172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634265088001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787634149000,"timestamp_ms":1787634149000,"timestamp_seconds":1787634149,"priority":1,"record_length":96,"hex_timestamp":"000001a0374c6688"} 
[2026-08-25 10: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-25 10:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:35: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-25 10: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-25 10: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-25 10:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634265088001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634265088001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:35:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634265088001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":164172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:35:20] local.INFO: GPS data processed {"connection_id":164172,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:35:20] local.INFO: Acknowledgment sent {"connection_id":164172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:35:40] local.INFO: TCP Data received {"connection_id":161556,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:35:40] local.INFO: Processing buffer {"connection_id":161556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:35:40] local.INFO: IMEI packet received {"connection_id":161556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":161556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:35:45] local.INFO: TCP Data received {"connection_id":164173,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:35:45] local.INFO: Processing buffer {"connection_id":164173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:35:45] local.INFO: IMEI packet received {"connection_id":164173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":164173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:35:45] local.INFO: TCP Data received {"connection_id":161556,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:35:45] local.INFO: Processing buffer {"connection_id":161556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:35:45] local.INFO: IMEI packet received {"connection_id":161556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":161556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:35:46] local.INFO: TCP Data received {"connection_id":164173,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:35:46] local.INFO: Processing buffer {"connection_id":164173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:35:46] local.INFO: IMEI packet received {"connection_id":164173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":164173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:35:46] local.INFO: TCP Data received {"connection_id":161556,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:35:46] local.INFO: Processing buffer {"connection_id":161556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:35:46] local.INFO: Packet analysis {"connection_id":161556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:35:46] local.INFO: Extracted packet for processing {"connection_id":161556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634265088001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787634149000,"timestamp_ms":1787634149000,"timestamp_seconds":1787634149,"priority":1,"record_length":96,"hex_timestamp":"000001a0374c6688"} 
[2026-08-25 10: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-25 10:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634265088001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634265088001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634265088001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":161556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:35:46] local.INFO: GPS data processed {"connection_id":161556,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:35:46] local.INFO: Acknowledgment sent {"connection_id":161556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:35:51] local.INFO: TCP Data received {"connection_id":164173,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:35:51] local.INFO: Processing buffer {"connection_id":164173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:35:51] local.INFO: IMEI packet received {"connection_id":164173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":164173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:35:52] local.INFO: TCP Data received {"connection_id":164173,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374d7410012d7a50c005e47a68000901411d..."} 
[2026-08-25 10:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374d7410012d7a50c005e47a68000901411d..."} 
[2026-08-25 10:35:52] local.INFO: Processing buffer {"connection_id":164173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374d7410012d7a50c005e47a68000901411d..."} 
[2026-08-25 10:35:52] local.INFO: Packet analysis {"connection_id":164173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374d"} 
[2026-08-25 10:35:52] local.INFO: Extracted packet for processing {"connection_id":164173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374d"} 
[2026-08-25 10:35:52] local.INFO: GPS Element Parsed {"raw_longitude":762990784,"raw_latitude":98859624,"longitude_deg":76.2990784,"latitude_deg":9.8859624,"altitude":9,"angle":321,"satellites":29,"speed":15,"hex_longitude":"2d7a50c0","hex_latitude":"05e47a68","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634356736001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123244786638389248,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818540676907798528,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787634218000,"timestamp_ms":1787634218000,"timestamp_seconds":1787634218,"priority":1,"record_length":96,"hex_timestamp":"000001a0374d7410"} 
[2026-08-25 10: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-25 10:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 10:35:52] 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-25 10: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-25 10: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-25 10:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634356736001,"66":13580,"95":206,"87":13824,"24":15,"16":123244786638389248,"45":8818540676907798528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-25 10:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634356736001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:35:52] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 10:35:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123244786638389248,"km_value":123244786638389.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818540676907798528,"description":"Unknown IO ID 45"} 
[2026-08-25 10:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634356736001,"power":13580,"unknown_95":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8818540676907798528}} 
[2026-08-25 10:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":164173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:35:53] local.INFO: GPS data processed {"connection_id":164173,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:35:53] local.INFO: Acknowledgment sent {"connection_id":164173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:35:57] local.INFO: TCP Data received {"connection_id":164173,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374dc230012d7a4c4005e47f00000b01451d..."} 
[2026-08-25 10:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374dc230012d7a4c4005e47f00000b01451d..."} 
[2026-08-25 10:35:57] local.INFO: Processing buffer {"connection_id":164173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374dc230012d7a4c4005e47f00000b01451d..."} 
[2026-08-25 10:35:57] local.INFO: Packet analysis {"connection_id":164173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374d"} 
[2026-08-25 10:35:57] local.INFO: Extracted packet for processing {"connection_id":164173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374d"} 
[2026-08-25 10:35:57] local.INFO: GPS Element Parsed {"raw_longitude":762989632,"raw_latitude":98860800,"longitude_deg":76.2989632,"latitude_deg":9.88608,"altitude":11,"angle":325,"satellites":29,"speed":0,"hex_longitude":"2d7a4c40","hex_latitude":"05e47f00","is_valid_coordinates":true} 
[2026-08-25 10:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634359808001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123244868242767872,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813755602304657408,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787634238000,"timestamp_ms":1787634238000,"timestamp_seconds":1787634238,"priority":1,"record_length":96,"hex_timestamp":"000001a0374dc230"} 
[2026-08-25 10:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625690,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2096144151564255242,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110798687,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561122667253335,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3660120064,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832010752,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":122,"raw_value":7367895468931022856,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-25 10:35:57] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,95,87,24,241,157,16,218,160,69,45,192,108,8,29,10,66,57,105,49,1,240,12,227,55,228,4,113,205,231,102,239,53,2,181,5,122,54],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-08-25 10:35:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648871414128902144,"timestamp_seconds":648871414128902.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 10:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634359808001,"66":13243,"95":206,"87":13824,"24":0,"16":123244868242767872,"45":8813755602304657408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-25 10:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634359808001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:35:57] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 10:35:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123244868242767872,"km_value":123244868242767.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813755602304657408,"description":"Unknown IO ID 45"} 
[2026-08-25 10:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634359808001,"power":13243,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8813755602304657408}} 
[2026-08-25 10:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":164173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:35:57] local.INFO: GPS data processed {"connection_id":164173,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:35:57] local.INFO: Acknowledgment sent {"connection_id":164173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:36:18] local.INFO: TCP Data received {"connection_id":161556,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:36:18] local.INFO: Processing buffer {"connection_id":161556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:36:18] local.INFO: Packet analysis {"connection_id":161556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:36:18] local.INFO: Extracted packet for processing {"connection_id":161556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634265088001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787634149000,"timestamp_ms":1787634149000,"timestamp_seconds":1787634149,"priority":1,"record_length":96,"hex_timestamp":"000001a0374c6688"} 
[2026-08-25 10:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634265088001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634265088001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:36:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634265088001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":161556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:36:18] local.INFO: GPS data processed {"connection_id":161556,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:36:18] local.INFO: Acknowledgment sent {"connection_id":161556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:36:40] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:36:40] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:36:40] local.INFO: IMEI packet received {"connection_id":161789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":161789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:36:41] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:36:41] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:36:41] local.INFO: IMEI packet received {"connection_id":161789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":161789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:36:46] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:36:46] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:36:46] local.INFO: IMEI packet received {"connection_id":161789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":161789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:36:46] local.INFO: TCP Data received {"connection_id":162790,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:36:46] local.INFO: Processing buffer {"connection_id":162790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:36:46] local.INFO: IMEI packet received {"connection_id":162790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":162790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:36:47] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374e1438012d7a4c4005e47f00000b01451d..."} 
[2026-08-25 10:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374e1438012d7a4c4005e47f00000b01451d..."} 
[2026-08-25 10:36:47] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374e1438012d7a4c4005e47f00000b01451d..."} 
[2026-08-25 10:36:47] local.INFO: Packet analysis {"connection_id":161789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374e"} 
[2026-08-25 10:36:47] local.INFO: Extracted packet for processing {"connection_id":161789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374e"} 
[2026-08-25 10:36:47] local.INFO: GPS Element Parsed {"raw_longitude":762989632,"raw_latitude":98860800,"longitude_deg":76.2989632,"latitude_deg":9.88608,"altitude":11,"angle":325,"satellites":29,"speed":0,"hex_longitude":"2d7a4c40","hex_latitude":"05e47f00","is_valid_coordinates":true} 
[2026-08-25 10:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634364928001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123244868242767872,"note":"Value kept but may cause issues"} 
[2026-08-25 10:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812488964909760512,"note":"Value kept but may cause issues"} 
[2026-08-25 10:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787634259000,"timestamp_ms":1787634259000,"timestamp_seconds":1787634259,"priority":1,"record_length":96,"hex_timestamp":"000001a0374e1438"} 
[2026-08-25 10:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 10:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634364928001,"66":12798,"95":206,"87":13824,"24":0,"16":123244868242767872,"45":8812488964909760512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-25 10:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634364928001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:36:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 10:36:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123244868242767872,"km_value":123244868242767.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812488964909760512,"description":"Unknown IO ID 45"} 
[2026-08-25 10:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634364928001,"power":12798,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8812488964909760512}} 
[2026-08-25 10:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":161789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:36:47] local.INFO: GPS data processed {"connection_id":161789,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:36:47] local.INFO: Acknowledgment sent {"connection_id":161789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:36:50] local.INFO: TCP Data received {"connection_id":162790,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:36:50] local.INFO: Processing buffer {"connection_id":162790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:36:50] local.INFO: IMEI packet received {"connection_id":162790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":162790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:36:54] local.INFO: TCP Data received {"connection_id":162790,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:36:54] local.INFO: Processing buffer {"connection_id":162790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:36:54] local.INFO: Packet analysis {"connection_id":162790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:36:54] local.INFO: Extracted packet for processing {"connection_id":162790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634265088001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787634149000,"timestamp_ms":1787634149000,"timestamp_seconds":1787634149,"priority":1,"record_length":96,"hex_timestamp":"000001a0374c6688"} 
[2026-08-25 10:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:36: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-25 10:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634265088001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634265088001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:36:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:36:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634265088001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":162790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:36:54] local.INFO: GPS data processed {"connection_id":162790,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:36:54] local.INFO: Acknowledgment sent {"connection_id":162790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:36:56] local.INFO: TCP Data received {"connection_id":162790,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:36:56] local.INFO: Processing buffer {"connection_id":162790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:36:56] local.INFO: Packet analysis {"connection_id":162790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:36:56] local.INFO: Extracted packet for processing {"connection_id":162790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:36:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634265088001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:36: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-25 10:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787634149000,"timestamp_ms":1787634149000,"timestamp_seconds":1787634149,"priority":1,"record_length":96,"hex_timestamp":"000001a0374c6688"} 
[2026-08-25 10: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-25 10:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634265088001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634265088001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:36:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:36:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634265088001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":162790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:36:56] local.INFO: GPS data processed {"connection_id":162790,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:36:56] local.INFO: Acknowledgment sent {"connection_id":162790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:37:19] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374e6640012d7a4c4005e47f00000b01451c..."} 
[2026-08-25 10:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374e6640012d7a4c4005e47f00000b01451c..."} 
[2026-08-25 10:37:19] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374e6640012d7a4c4005e47f00000b01451c..."} 
[2026-08-25 10:37:19] local.INFO: Packet analysis {"connection_id":161789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374e"} 
[2026-08-25 10:37:19] local.INFO: Extracted packet for processing {"connection_id":161789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374e"} 
[2026-08-25 10:37:19] local.INFO: GPS Element Parsed {"raw_longitude":762989632,"raw_latitude":98860800,"longitude_deg":76.2989632,"latitude_deg":9.88608,"altitude":11,"angle":325,"satellites":28,"speed":0,"hex_longitude":"2d7a4c40","hex_latitude":"05e47f00","is_valid_coordinates":true} 
[2026-08-25 10:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634370304001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123244868242767872,"note":"Value kept but may cause issues"} 
[2026-08-25 10:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812488964909760512,"note":"Value kept but may cause issues"} 
[2026-08-25 10:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787634280000,"timestamp_ms":1787634280000,"timestamp_seconds":1787634280,"priority":1,"record_length":96,"hex_timestamp":"000001a0374e6640"} 
[2026-08-25 10:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-25 10:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634370304001,"66":13222,"95":206,"87":13824,"24":0,"16":123244868242767872,"45":8812488964909760512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-25 10:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634370304001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:37:19] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 10:37:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123244868242767872,"km_value":123244868242767.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812488964909760512,"description":"Unknown IO ID 45"} 
[2026-08-25 10:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634370304001,"power":13222,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8812488964909760512}} 
[2026-08-25 10:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":161789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:37:19] local.INFO: GPS data processed {"connection_id":161789,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:37:19] local.INFO: Acknowledgment sent {"connection_id":161789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:37:40] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:37:40] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:37:40] local.INFO: IMEI packet received {"connection_id":161790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":161790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:37:45] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:37:45] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:37:45] local.INFO: IMEI packet received {"connection_id":161790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":161790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:37:46] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:37:46] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:37:46] local.INFO: Packet analysis {"connection_id":161790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:37:46] local.INFO: Extracted packet for processing {"connection_id":161790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634265088001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787634149000,"timestamp_ms":1787634149000,"timestamp_seconds":1787634149,"priority":1,"record_length":96,"hex_timestamp":"000001a0374c6688"} 
[2026-08-25 10:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634265088001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:37:46] local.INFO: TCP Data received {"connection_id":162791,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634265088001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:37:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634265088001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:37:46] local.INFO: Processing buffer {"connection_id":162791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:37:46] local.INFO: IMEI packet received {"connection_id":162791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":162791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":161790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:37:46] local.INFO: GPS data processed {"connection_id":161790,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:37:46] local.INFO: Acknowledgment sent {"connection_id":161790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:37:46] local.INFO: TCP Data received {"connection_id":162791,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:37:46] local.INFO: Processing buffer {"connection_id":162791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:37:46] local.INFO: IMEI packet received {"connection_id":162791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":162791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:37:51] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:37:51] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0374c6688012d34c0c006aa4878000400552d..."} 
[2026-08-25 10:37:51] local.INFO: Packet analysis {"connection_id":161790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:37:51] local.INFO: Extracted packet for processing {"connection_id":161790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0374c"} 
[2026-08-25 10:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 10:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634265088001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787634149000,"timestamp_ms":1787634149000,"timestamp_seconds":1787634149,"priority":1,"record_length":96,"hex_timestamp":"000001a0374c6688"} 
[2026-08-25 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-25 10:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 10:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634265088001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634265088001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634265088001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":161790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:37:51] local.INFO: GPS data processed {"connection_id":161790,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:37:51] local.INFO: Acknowledgment sent {"connection_id":161790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:37:51] local.INFO: TCP Data received {"connection_id":162791,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:37:51] local.INFO: Processing buffer {"connection_id":162791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:37:51] local.INFO: IMEI packet received {"connection_id":162791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":162791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:37:52] local.INFO: TCP Data received {"connection_id":162791,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03750b418012d79f18005e51d080005015922..."} 
[2026-08-25 10:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03750b418012d79f18005e51d080005015922..."} 
[2026-08-25 10:37:52] local.INFO: Processing buffer {"connection_id":162791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03750b418012d79f18005e51d080005015922..."} 
[2026-08-25 10:37:52] local.INFO: Packet analysis {"connection_id":162791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:37:52] local.INFO: Extracted packet for processing {"connection_id":162791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:37:52] local.INFO: GPS Element Parsed {"raw_longitude":762966400,"raw_latitude":98901256,"longitude_deg":76.29664,"latitude_deg":9.8901256,"altitude":5,"angle":345,"satellites":34,"speed":23,"hex_longitude":"2d79f180","hex_latitude":"05e51d08","is_valid_coordinates":true} 
[2026-08-25 10:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634412032001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123247148870402048,"note":"Value kept but may cause issues"} 
[2026-08-25 10:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789267279339233280,"note":"Value kept but may cause issues"} 
[2026-08-25 10:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787634431000,"timestamp_ms":1787634431000,"timestamp_seconds":1787634431,"priority":1,"record_length":96,"hex_timestamp":"000001a03750b418"} 
[2026-08-25 10:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 10:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634412032001,"66":13493,"95":206,"87":13824,"24":23,"16":123247148870402048,"45":8789267279339233280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-25 10:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634412032001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:37:52] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 10:37:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123247148870402048,"km_value":123247148870402.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789267279339233280,"description":"Unknown IO ID 45"} 
[2026-08-25 10:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634412032001,"power":13493,"unknown_95":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8789267279339233280}} 
[2026-08-25 10:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":162791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:37:52] local.INFO: GPS data processed {"connection_id":162791,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:37:52] local.INFO: Acknowledgment sent {"connection_id":162791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:38:23] local.INFO: TCP Data received {"connection_id":162791,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03750e6e0012d79ea4005e540900007015c22..."} 
[2026-08-25 10:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03750e6e0012d79ea4005e540900007015c22..."} 
[2026-08-25 10:38:23] local.INFO: Processing buffer {"connection_id":162791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03750e6e0012d79ea4005e540900007015c22..."} 
[2026-08-25 10:38:23] local.INFO: Packet analysis {"connection_id":162791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:38:23] local.INFO: Extracted packet for processing {"connection_id":162791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:38:23] local.INFO: GPS Element Parsed {"raw_longitude":762964544,"raw_latitude":98910352,"longitude_deg":76.2964544,"latitude_deg":9.8910352,"altitude":7,"angle":348,"satellites":34,"speed":36,"hex_longitude":"2d79ea40","hex_latitude":"05e54090","is_valid_coordinates":true} 
[2026-08-25 10:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634414336001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123247599841968128,"note":"Value kept but may cause issues"} 
[2026-08-25 10:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786945110783625216,"note":"Value kept but may cause issues"} 
[2026-08-25 10:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787634444000,"timestamp_ms":1787634444000,"timestamp_seconds":1787634444,"priority":1,"record_length":96,"hex_timestamp":"000001a03750e6e0"} 
[2026-08-25 10:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 10:38:23] 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-25 10:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634414336001,"66":13820,"95":206,"87":13824,"24":36,"16":123247599841968128,"45":8786945110783625216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-25 10:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634414336001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:38:23] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 10:38:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123247599841968128,"km_value":123247599841968.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786945110783625216,"description":"Unknown IO ID 45"} 
[2026-08-25 10:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634414336001,"power":13820,"unknown_95":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8786945110783625216}} 
[2026-08-25 10:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":162791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:38:23] local.INFO: GPS data processed {"connection_id":162791,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:38:23] local.INFO: Acknowledgment sent {"connection_id":162791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:38:23] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:38:23] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:38:23] local.INFO: Packet analysis {"connection_id":161790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:38:23] local.INFO: Extracted packet for processing {"connection_id":161790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:38:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634342144001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787634450000,"timestamp_ms":1787634450000,"timestamp_seconds":1787634450,"priority":1,"record_length":96,"hex_timestamp":"000001a03750fe50"} 
[2026-08-25 10:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634342144001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634342144001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:38:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:38:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634342144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":161790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:38:23] local.INFO: GPS data processed {"connection_id":161790,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:38:23] local.INFO: Acknowledgment sent {"connection_id":161790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:38:40] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:38:40] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:38:40] local.INFO: IMEI packet received {"connection_id":161791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":161791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:38:41] local.INFO: TCP Data received {"connection_id":164174,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:38:41] local.INFO: Processing buffer {"connection_id":164174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:38:41] local.INFO: IMEI packet received {"connection_id":164174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":164174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:38:45] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:38:45] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:38:45] local.INFO: IMEI packet received {"connection_id":161791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":161791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:38:46] local.INFO: TCP Data received {"connection_id":164174,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:38:46] local.INFO: Processing buffer {"connection_id":164174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:38:46] local.INFO: IMEI packet received {"connection_id":164174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":164174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:38:46] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:38:46] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:38:46] local.INFO: Packet analysis {"connection_id":161791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:38:46] local.INFO: Extracted packet for processing {"connection_id":161791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634342144001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787634450000,"timestamp_ms":1787634450000,"timestamp_seconds":1787634450,"priority":1,"record_length":96,"hex_timestamp":"000001a03750fe50"} 
[2026-08-25 10:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634342144001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634342144001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:38:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634342144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":161791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:38:46] local.INFO: GPS data processed {"connection_id":161791,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:38:46] local.INFO: Acknowledgment sent {"connection_id":161791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:38:47] local.INFO: TCP Data received {"connection_id":164174,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037510df0012d79e2c005e564700008015c22..."} 
[2026-08-25 10:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037510df0012d79e2c005e564700008015c22..."} 
[2026-08-25 10:38:47] local.INFO: Processing buffer {"connection_id":164174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037510df0012d79e2c005e564700008015c22..."} 
[2026-08-25 10:38:47] local.INFO: Packet analysis {"connection_id":164174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03751"} 
[2026-08-25 10:38:47] local.INFO: Extracted packet for processing {"connection_id":164174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03751"} 
[2026-08-25 10:38:47] local.INFO: GPS Element Parsed {"raw_longitude":762962624,"raw_latitude":98919536,"longitude_deg":76.2962624,"latitude_deg":9.8919536,"altitude":8,"angle":348,"satellites":34,"speed":33,"hex_longitude":"2d79e2c0","hex_latitude":"05e56470","is_valid_coordinates":true} 
[2026-08-25 10:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634417664001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123248055108501504,"note":"Value kept but may cause issues"} 
[2026-08-25 10:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784904417204801536,"note":"Value kept but may cause issues"} 
[2026-08-25 10:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787634454000,"timestamp_ms":1787634454000,"timestamp_seconds":1787634454,"priority":1,"record_length":96,"hex_timestamp":"000001a037510df0"} 
[2026-08-25 10:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-25 10:38:47] 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-25 10:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634417664001,"66":13656,"95":206,"87":13824,"24":33,"16":123248055108501504,"45":8784904417204801536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-25 10:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634417664001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:38:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 10:38:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123248055108501504,"km_value":123248055108501.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784904417204801536,"description":"Unknown IO ID 45"} 
[2026-08-25 10:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634417664001,"power":13656,"unknown_95":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8784904417204801536}} 
[2026-08-25 10:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":164174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:38:47] local.INFO: GPS data processed {"connection_id":164174,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:38:47] local.INFO: Acknowledgment sent {"connection_id":164174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:39:18] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:39:18] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:39:18] local.INFO: Packet analysis {"connection_id":161791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:39:18] local.INFO: Extracted packet for processing {"connection_id":161791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634342144001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787634450000,"timestamp_ms":1787634450000,"timestamp_seconds":1787634450,"priority":1,"record_length":96,"hex_timestamp":"000001a03750fe50"} 
[2026-08-25 10:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634342144001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634342144001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:39:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634342144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":161791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:39:18] local.INFO: GPS data processed {"connection_id":161791,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:39:18] local.INFO: Acknowledgment sent {"connection_id":161791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:39:18] local.INFO: TCP Data received {"connection_id":164174,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0375138e8012d79dbc005e588200007015c22..."} 
[2026-08-25 10:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375138e8012d79dbc005e588200007015c22..."} 
[2026-08-25 10:39:18] local.INFO: Processing buffer {"connection_id":164174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375138e8012d79dbc005e588200007015c22..."} 
[2026-08-25 10:39:18] local.INFO: Packet analysis {"connection_id":164174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03751"} 
[2026-08-25 10:39:18] local.INFO: Extracted packet for processing {"connection_id":164174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03751"} 
[2026-08-25 10:39:18] local.INFO: GPS Element Parsed {"raw_longitude":762960832,"raw_latitude":98928672,"longitude_deg":76.2960832,"latitude_deg":9.8928672,"altitude":7,"angle":348,"satellites":34,"speed":34,"hex_longitude":"2d79dbc0","hex_latitude":"05e58820","is_valid_coordinates":true} 
[2026-08-25 10:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634420224001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123248506080067584,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782793354881822720,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787634465000,"timestamp_ms":1787634465000,"timestamp_seconds":1787634465,"priority":1,"record_length":96,"hex_timestamp":"000001a0375138e8"} 
[2026-08-25 10:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 10:39: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-25 10:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634420224001,"66":13472,"39":206,"87":13824,"24":34,"16":123248506080067584,"45":8782793354881822720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 10:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634420224001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:39:18] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 10:39:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123248506080067584,"km_value":123248506080067.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782793354881822720,"description":"Unknown IO ID 45"} 
[2026-08-25 10:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634420224001,"power":13472,"unknown_39":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8782793354881822720}} 
[2026-08-25 10:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":164174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:39:18] local.INFO: GPS data processed {"connection_id":164174,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:39:18] local.INFO: Acknowledgment sent {"connection_id":164174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:39:41] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:39:41] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:39:41] local.INFO: IMEI packet received {"connection_id":161792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":161792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:39:45] local.INFO: TCP Data received {"connection_id":162792,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:39:45] local.INFO: Processing buffer {"connection_id":162792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:39:45] local.INFO: IMEI packet received {"connection_id":162792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":162792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:39:46] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:39:46] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:39:46] local.INFO: IMEI packet received {"connection_id":161792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":161792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:39:48] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0375163e0012d79d4c005e5ad500005016422..."} 
[2026-08-25 10:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375163e0012d79d4c005e5ad500005016422..."} 
[2026-08-25 10:39:48] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375163e0012d79d4c005e5ad500005016422..."} 
[2026-08-25 10:39:48] local.INFO: Packet analysis {"connection_id":161792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03751"} 
[2026-08-25 10:39:48] local.INFO: Extracted packet for processing {"connection_id":161792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03751"} 
[2026-08-25 10:39:48] local.INFO: GPS Element Parsed {"raw_longitude":762959040,"raw_latitude":98938192,"longitude_deg":76.295904,"latitude_deg":9.8938192,"altitude":5,"angle":356,"satellites":34,"speed":39,"hex_longitude":"2d79d4c0","hex_latitude":"05e5ad50","is_valid_coordinates":true} 
[2026-08-25 10:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634423040001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123248974231502848,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780823030047186944,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787634476000,"timestamp_ms":1787634476000,"timestamp_seconds":1787634476,"priority":1,"record_length":96,"hex_timestamp":"000001a0375163e0"} 
[2026-08-25 10:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 10:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634423040001,"66":13678,"182":206,"87":13824,"24":39,"16":123248974231502848,"45":8780823030047186944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-25 10:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634423040001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:39:48] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-25 10:39:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123248974231502848,"km_value":123248974231502.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780823030047186944,"description":"Unknown IO ID 45"} 
[2026-08-25 10:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634423040001,"power":13678,"unknown_182":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8780823030047186944}} 
[2026-08-25 10:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":161792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:39:48] local.INFO: GPS data processed {"connection_id":161792,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:39:48] local.INFO: Acknowledgment sent {"connection_id":161792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:39:50] local.INFO: TCP Data received {"connection_id":162792,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:39:50] local.INFO: Processing buffer {"connection_id":162792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:39:50] local.INFO: IMEI packet received {"connection_id":162792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":162792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:39:51] local.INFO: TCP Data received {"connection_id":162792,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:39:51] local.INFO: Processing buffer {"connection_id":162792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:39:51] local.INFO: Packet analysis {"connection_id":162792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:39:51] local.INFO: Extracted packet for processing {"connection_id":162792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:39:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634342144001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787634450000,"timestamp_ms":1787634450000,"timestamp_seconds":1787634450,"priority":1,"record_length":96,"hex_timestamp":"000001a03750fe50"} 
[2026-08-25 10:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634342144001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634342144001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:39:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:39:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634342144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":162792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:39:51] local.INFO: GPS data processed {"connection_id":162792,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:39:51] local.INFO: Acknowledgment sent {"connection_id":162792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:39:56] local.INFO: TCP Data received {"connection_id":162792,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:39:56] local.INFO: Processing buffer {"connection_id":162792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:39:56] local.INFO: Packet analysis {"connection_id":162792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:39:56] local.INFO: Extracted packet for processing {"connection_id":162792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:39:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634342144001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:39: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-25 10:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787634450000,"timestamp_ms":1787634450000,"timestamp_seconds":1787634450,"priority":1,"record_length":96,"hex_timestamp":"000001a03750fe50"} 
[2026-08-25 10:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 10:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634342144001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634342144001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:39:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:39:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634342144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":162792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:39:56] local.INFO: GPS data processed {"connection_id":162792,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:39:56] local.INFO: Acknowledgment sent {"connection_id":162792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:40:19] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037517380012d79d5c005e5bbf80004000722..."} 
[2026-08-25 10:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037517380012d79d5c005e5bbf80004000722..."} 
[2026-08-25 10:40:20] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037517380012d79d5c005e5bbf80004000722..."} 
[2026-08-25 10:40:20] local.INFO: Packet analysis {"connection_id":161792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03751"} 
[2026-08-25 10:40:20] local.INFO: Extracted packet for processing {"connection_id":161792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03751"} 
[2026-08-25 10:40:20] local.INFO: GPS Element Parsed {"raw_longitude":762959296,"raw_latitude":98941944,"longitude_deg":76.2959296,"latitude_deg":9.8941944,"altitude":4,"angle":7,"satellites":34,"speed":32,"hex_longitude":"2d79d5c0","hex_latitude":"05e5bbf8","is_valid_coordinates":true} 
[2026-08-25 10:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634425856001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123249158915096576,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778852705212649472,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787634480000,"timestamp_ms":1787634480000,"timestamp_seconds":1787634480,"priority":1,"record_length":96,"hex_timestamp":"000001a037517380"} 
[2026-08-25 10:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:40:20] 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-25 10:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 10:40:20] 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-25 10:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634425856001,"66":13580,"182":206,"87":13824,"24":32,"16":123249158915096576,"45":8778852705212649472},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-25 10:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634425856001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:40:20] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-25 10:40:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123249158915096576,"km_value":123249158915096.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778852705212649472,"description":"Unknown IO ID 45"} 
[2026-08-25 10:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634425856001,"power":13580,"unknown_182":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8778852705212649472}} 
[2026-08-25 10:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":161792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:40:20] local.INFO: GPS data processed {"connection_id":161792,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:40:20] local.INFO: Acknowledgment sent {"connection_id":161792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:40:40] local.INFO: TCP Data received {"connection_id":161557,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:40:40] local.INFO: Processing buffer {"connection_id":161557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:40:40] local.INFO: IMEI packet received {"connection_id":161557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":161557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:40:45] local.INFO: TCP Data received {"connection_id":161557,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:40:45] local.INFO: Processing buffer {"connection_id":161557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:40:45] local.INFO: IMEI packet received {"connection_id":161557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":161557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:40:46] local.INFO: TCP Data received {"connection_id":164175,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:40:46] local.INFO: Processing buffer {"connection_id":164175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:40:46] local.INFO: IMEI packet received {"connection_id":164175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":164175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:40:47] local.INFO: TCP Data received {"connection_id":161557,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:40:47] local.INFO: Processing buffer {"connection_id":161557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:40:47] local.INFO: Packet analysis {"connection_id":161557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:40:47] local.INFO: Extracted packet for processing {"connection_id":161557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634342144001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787634450000,"timestamp_ms":1787634450000,"timestamp_seconds":1787634450,"priority":1,"record_length":96,"hex_timestamp":"000001a03750fe50"} 
[2026-08-25 10:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634342144001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634342144001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634342144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":161557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:40:47] local.INFO: GPS data processed {"connection_id":161557,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:40:47] local.INFO: Acknowledgment sent {"connection_id":161557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:40:51] local.INFO: TCP Data received {"connection_id":164175,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:40:51] local.INFO: Processing buffer {"connection_id":164175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:40:51] local.INFO: IMEI packet received {"connection_id":164175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":164175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:40:52] local.INFO: TCP Data received {"connection_id":164175,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03751ae18012d79dac005e5ded80003016321..."} 
[2026-08-25 10:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03751ae18012d79dac005e5ded80003016321..."} 
[2026-08-25 10:40:52] local.INFO: Processing buffer {"connection_id":164175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03751ae18012d79dac005e5ded80003016321..."} 
[2026-08-25 10:40:52] local.INFO: Packet analysis {"connection_id":164175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03751"} 
[2026-08-25 10:40:52] local.INFO: Extracted packet for processing {"connection_id":164175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03751"} 
[2026-08-25 10:40:52] local.INFO: GPS Element Parsed {"raw_longitude":762960576,"raw_latitude":98950872,"longitude_deg":76.2960576,"latitude_deg":9.8950872,"altitude":3,"angle":355,"satellites":33,"speed":16,"hex_longitude":"2d79dac0","hex_latitude":"05e5ded8","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634426880001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123249597001760768,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779134180190320640,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787634495000,"timestamp_ms":1787634495000,"timestamp_seconds":1787634495,"priority":1,"record_length":96,"hex_timestamp":"000001a03751ae18"} 
[2026-08-25 10: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-25 10:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625691,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2147869981,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5125659523469541386,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549752159,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728653,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3701538816,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":122,"raw_value":612496029936779269,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-4251172316047684009,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755597009682673,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:52] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,182,87,24,241,157,16,222,160,99,45,192,173,5,34,10,66,56,136,7,39,221,13,1,240,88,227,55,229,4,113,205,36,180,8,239,52,95,2,181,122,53,54],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-08-25 10:40:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288238218764091392,"timestamp_seconds":288238218764091.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 10: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-25 10:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634426880001,"66":13515,"182":206,"87":13824,"24":16,"16":123249597001760768,"45":8779134180190320640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-25 10:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634426880001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:40:52] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-25 10:40:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123249597001760768,"km_value":123249597001760.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779134180190320640,"description":"Unknown IO ID 45"} 
[2026-08-25 10:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634426880001,"power":13515,"unknown_182":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8779134180190320640}} 
[2026-08-25 10:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":164175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:40:52] local.INFO: GPS data processed {"connection_id":164175,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:40:52] local.INFO: Acknowledgment sent {"connection_id":164175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:40:56] local.INFO: TCP Data received {"connection_id":164175,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03751ae18012d79dac005e5ded80003016321..."} 
[2026-08-25 10:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03751ae18012d79dac005e5ded80003016321..."} 
[2026-08-25 10:40:56] local.INFO: Processing buffer {"connection_id":164175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03751ae18012d79dac005e5ded80003016321..."} 
[2026-08-25 10:40:56] local.INFO: Packet analysis {"connection_id":164175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03751"} 
[2026-08-25 10:40:56] local.INFO: Extracted packet for processing {"connection_id":164175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03751"} 
[2026-08-25 10:40:56] local.INFO: GPS Element Parsed {"raw_longitude":762960576,"raw_latitude":98950872,"longitude_deg":76.2960576,"latitude_deg":9.8950872,"altitude":3,"angle":355,"satellites":33,"speed":16,"hex_longitude":"2d79dac0","hex_latitude":"05e5ded8","is_valid_coordinates":true} 
[2026-08-25 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-25 10:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634430720001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123249597001760768,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780541555076159488,"note":"Value kept but may cause issues"} 
[2026-08-25 10:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787634495000,"timestamp_ms":1787634495000,"timestamp_seconds":1787634495,"priority":1,"record_length":96,"hex_timestamp":"000001a03751ae18"} 
[2026-08-25 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-25 10:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 10:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 10:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634430720001,"66":13515,"182":206,"87":13824,"24":16,"16":123249597001760768,"45":8780541555076159488},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-25 10:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634430720001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:40:56] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-25 10:40:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123249597001760768,"km_value":123249597001760.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780541555076159488,"description":"Unknown IO ID 45"} 
[2026-08-25 10:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634430720001,"power":13515,"unknown_182":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8780541555076159488}} 
[2026-08-25 10:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":164175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:40:56] local.INFO: GPS data processed {"connection_id":164175,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:40:56] local.INFO: Acknowledgment sent {"connection_id":164175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:41:19] local.INFO: TCP Data received {"connection_id":161557,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:41:19] local.INFO: Processing buffer {"connection_id":161557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:41:19] local.INFO: Packet analysis {"connection_id":161557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:41:19] local.INFO: Extracted packet for processing {"connection_id":161557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634342144001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787634450000,"timestamp_ms":1787634450000,"timestamp_seconds":1787634450,"priority":1,"record_length":96,"hex_timestamp":"000001a03750fe50"} 
[2026-08-25 10: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-25 10:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634342144001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634342144001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:41:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634342144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":161557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:41:19] local.INFO: GPS data processed {"connection_id":161557,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:41:19] local.INFO: Acknowledgment sent {"connection_id":161557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:41:40] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:41:40] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:41:40] local.INFO: IMEI packet received {"connection_id":161793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":161793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:41:41] local.INFO: TCP Data received {"connection_id":164176,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:41:41] local.INFO: Processing buffer {"connection_id":164176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:41:41] local.INFO: IMEI packet received {"connection_id":164176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":164176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:41:45] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:41:45] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:41:45] local.INFO: IMEI packet received {"connection_id":161793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":161793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:41:45] local.INFO: TCP Data received {"connection_id":164176,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:41:45] local.INFO: Processing buffer {"connection_id":164176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:41:45] local.INFO: IMEI packet received {"connection_id":164176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":164176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:41:46] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:41:46] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:41:46] local.INFO: Packet analysis {"connection_id":161793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:41:46] local.INFO: Extracted packet for processing {"connection_id":161793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634342144001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787634450000,"timestamp_ms":1787634450000,"timestamp_seconds":1787634450,"priority":1,"record_length":96,"hex_timestamp":"000001a03750fe50"} 
[2026-08-25 10:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634342144001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634342144001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634342144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":161793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:41:46] local.INFO: GPS data processed {"connection_id":161793,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:41:46] local.INFO: Acknowledgment sent {"connection_id":161793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:41:46] local.INFO: TCP Data received {"connection_id":164176,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037546568012d79b1c005e744480007000122..."} 
[2026-08-25 10:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037546568012d79b1c005e744480007000122..."} 
[2026-08-25 10:41:46] local.INFO: Processing buffer {"connection_id":164176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037546568012d79b1c005e744480007000122..."} 
[2026-08-25 10:41:46] local.INFO: Packet analysis {"connection_id":164176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03754"} 
[2026-08-25 10:41:46] local.INFO: Extracted packet for processing {"connection_id":164176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03754"} 
[2026-08-25 10:41:46] local.INFO: GPS Element Parsed {"raw_longitude":762950080,"raw_latitude":99042376,"longitude_deg":76.295008,"latitude_deg":9.9042376,"altitude":7,"angle":1,"satellites":34,"speed":21,"hex_longitude":"2d79b1c0","hex_latitude":"05e74448","is_valid_coordinates":true} 
[2026-08-25 10:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634472192001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123254089537552384,"note":"Value kept but may cause issues"} 
[2026-08-25 10:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769071449796245504,"note":"Value kept but may cause issues"} 
[2026-08-25 10:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787634673000,"timestamp_ms":1787634673000,"timestamp_seconds":1787634673,"priority":1,"record_length":96,"hex_timestamp":"000001a037546568"} 
[2026-08-25 10:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-25 10:41:46] 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-25 10:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634472192001,"66":13624,"181":206,"87":13824,"24":21,"16":123254089537552384,"45":8769071449796245504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-08-25 10:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634472192001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:41:46] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-25 10:41:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123254089537552384,"km_value":123254089537552.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769071449796245504,"description":"Unknown IO ID 45"} 
[2026-08-25 10:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634472192001,"power":13624,"unknown_181":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8769071449796245504}} 
[2026-08-25 10:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":164176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:41:46] local.INFO: GPS data processed {"connection_id":164176,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:41:46] local.INFO: Acknowledgment sent {"connection_id":164176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:42:18] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:42:18] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:42:18] local.INFO: Packet analysis {"connection_id":161793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:42:18] local.INFO: Extracted packet for processing {"connection_id":161793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634342144001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787634450000,"timestamp_ms":1787634450000,"timestamp_seconds":1787634450,"priority":1,"record_length":96,"hex_timestamp":"000001a03750fe50"} 
[2026-08-25 10:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634342144001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634342144001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:42:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634342144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":161793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:42:18] local.INFO: GPS data processed {"connection_id":161793,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:42:18] local.INFO: Acknowledgment sent {"connection_id":161793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:42:18] local.INFO: TCP Data received {"connection_id":164176,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03754abb8012d79b44005e766f00007000422..."} 
[2026-08-25 10:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03754abb8012d79b44005e766f00007000422..."} 
[2026-08-25 10:42:18] local.INFO: Processing buffer {"connection_id":164176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03754abb8012d79b44005e766f00007000422..."} 
[2026-08-25 10:42:18] local.INFO: Packet analysis {"connection_id":164176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03754"} 
[2026-08-25 10:42:18] local.INFO: Extracted packet for processing {"connection_id":164176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03754"} 
[2026-08-25 10:42:18] local.INFO: GPS Element Parsed {"raw_longitude":762950720,"raw_latitude":99051248,"longitude_deg":76.295072,"latitude_deg":9.9051248,"altitude":7,"angle":4,"satellites":34,"speed":25,"hex_longitude":"2d79b440","hex_latitude":"05e766f0","is_valid_coordinates":true} 
[2026-08-25 10:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634476288001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123254519034281984,"note":"Value kept but may cause issues"} 
[2026-08-25 10:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769001081054447616,"note":"Value kept but may cause issues"} 
[2026-08-25 10:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787634691000,"timestamp_ms":1787634691000,"timestamp_seconds":1787634691,"priority":1,"record_length":96,"hex_timestamp":"000001a03754abb8"} 
[2026-08-25 10:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 10:42:18] 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-25 10:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634476288001,"66":13646,"181":206,"87":13824,"24":25,"16":123254519034281984,"45":8769001081054447616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-08-25 10:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634476288001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:42:18] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-25 10:42:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123254519034281984,"km_value":123254519034281.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769001081054447616,"description":"Unknown IO ID 45"} 
[2026-08-25 10:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634476288001,"power":13646,"unknown_181":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8769001081054447616}} 
[2026-08-25 10:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":164176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:42:18] local.INFO: GPS data processed {"connection_id":164176,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:42:18] local.INFO: Acknowledgment sent {"connection_id":164176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:42:40] local.INFO: TCP Data received {"connection_id":161558,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:42:40] local.INFO: Processing buffer {"connection_id":161558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:42:40] local.INFO: IMEI packet received {"connection_id":161558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":161558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:42:41] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:42:41] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:42:41] local.INFO: IMEI packet received {"connection_id":161794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":161794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:42:44] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:42:44] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:42:44] local.INFO: IMEI packet received {"connection_id":161794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":161794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:42:46] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:42:46] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:42:46] local.INFO: IMEI packet received {"connection_id":161794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":161794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:42:46] local.INFO: TCP Data received {"connection_id":161558,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:42:46] local.INFO: Processing buffer {"connection_id":161558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:42:46] local.INFO: IMEI packet received {"connection_id":161558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":161558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:42:47] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03754de80012d79b74005e789c00008000121..."} 
[2026-08-25 10:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03754de80012d79b74005e789c00008000121..."} 
[2026-08-25 10:42:47] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03754de80012d79b74005e789c00008000121..."} 
[2026-08-25 10:42:47] local.INFO: Packet analysis {"connection_id":161794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03754"} 
[2026-08-25 10:42:47] local.INFO: Extracted packet for processing {"connection_id":161794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03754"} 
[2026-08-25 10:42:47] local.INFO: GPS Element Parsed {"raw_longitude":762951488,"raw_latitude":99060160,"longitude_deg":76.2951488,"latitude_deg":9.906016,"altitude":8,"angle":1,"satellites":33,"speed":31,"hex_longitude":"2d79b740","hex_latitude":"05e789c0","is_valid_coordinates":true} 
[2026-08-25 10:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634480896001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123254957120946176,"note":"Value kept but may cause issues"} 
[2026-08-25 10:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769704768498495488,"note":"Value kept but may cause issues"} 
[2026-08-25 10:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787634704000,"timestamp_ms":1787634704000,"timestamp_seconds":1787634704,"priority":1,"record_length":96,"hex_timestamp":"000001a03754de80"} 
[2026-08-25 10:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-25 10:42:47] 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-25 10:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634480896001,"66":13624,"31":206,"87":13824,"24":31,"16":123254957120946176,"45":8769704768498495488},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-25 10:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634480896001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:42:47] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-25 10:42:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123254957120946176,"km_value":123254957120946.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769704768498495488,"description":"Unknown IO ID 45"} 
[2026-08-25 10:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634480896001,"power":13624,"unknown_31":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8769704768498495488}} 
[2026-08-25 10:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":161794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:42:47] local.INFO: GPS data processed {"connection_id":161794,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:42:47] local.INFO: Acknowledgment sent {"connection_id":161794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:42:47] local.INFO: TCP Data received {"connection_id":161558,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:42:47] local.INFO: Processing buffer {"connection_id":161558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03750fe50012d34c0c006aa4878000700552b..."} 
[2026-08-25 10:42:47] local.INFO: Packet analysis {"connection_id":161558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:42:47] local.INFO: Extracted packet for processing {"connection_id":161558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03750"} 
[2026-08-25 10:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634342144001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787634450000,"timestamp_ms":1787634450000,"timestamp_seconds":1787634450,"priority":1,"record_length":96,"hex_timestamp":"000001a03750fe50"} 
[2026-08-25 10:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634342144001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634342144001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:42:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634342144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":161558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:42:47] local.INFO: GPS data processed {"connection_id":161558,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:42:47] local.INFO: Acknowledgment sent {"connection_id":161558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:43:18] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037550978012d79b78005e7acf00008016521..."} 
[2026-08-25 10:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037550978012d79b78005e7acf00008016521..."} 
[2026-08-25 10:43:18] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037550978012d79b78005e7acf00008016521..."} 
[2026-08-25 10:43:18] local.INFO: Packet analysis {"connection_id":161794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:43:18] local.INFO: Extracted packet for processing {"connection_id":161794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:43:18] local.INFO: GPS Element Parsed {"raw_longitude":762951552,"raw_latitude":99069168,"longitude_deg":76.2951552,"latitude_deg":9.9069168,"altitude":8,"angle":357,"satellites":33,"speed":30,"hex_longitude":"2d79b780","hex_latitude":"05e7acf0","is_valid_coordinates":true} 
[2026-08-25 10:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634484224001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123255395207610368,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770549193430908928,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787634715000,"timestamp_ms":1787634715000,"timestamp_seconds":1787634715,"priority":1,"record_length":96,"hex_timestamp":"000001a037550978"} 
[2026-08-25 10:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 10:43:18] 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-25 10:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634484224001,"66":13559,"31":206,"87":13824,"24":30,"16":123255395207610368,"45":8770549193430908928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-25 10:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634484224001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:43:18] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-25 10:43:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123255395207610368,"km_value":123255395207610.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770549193430908928,"description":"Unknown IO ID 45"} 
[2026-08-25 10:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634484224001,"power":13559,"unknown_31":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8770549193430908928}} 
[2026-08-25 10:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":161794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:43:18] local.INFO: GPS data processed {"connection_id":161794,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:43:18] local.INFO: Acknowledgment sent {"connection_id":161794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:43:19] local.INFO: TCP Data received {"connection_id":161558,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:43:19] local.INFO: Processing buffer {"connection_id":161558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:43:19] local.INFO: Packet analysis {"connection_id":161558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:43:19] local.INFO: Extracted packet for processing {"connection_id":161558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634419200001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787634751000,"timestamp_ms":1787634751000,"timestamp_seconds":1787634751,"priority":1,"record_length":96,"hex_timestamp":"000001a037559618"} 
[2026-08-25 10:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634419200001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634419200001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:43:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634419200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":161558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:43:19] local.INFO: GPS data processed {"connection_id":161558,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:43:19] local.INFO: Acknowledgment sent {"connection_id":161558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:43:41] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:43:41] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:43:41] local.INFO: IMEI packet received {"connection_id":161559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":161559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:43:45] local.INFO: TCP Data received {"connection_id":162793,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:43:45] local.INFO: Processing buffer {"connection_id":162793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:43:45] local.INFO: IMEI packet received {"connection_id":162793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":162793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:43:46] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:43:46] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:43:46] local.INFO: IMEI packet received {"connection_id":161559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":161559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:43:46] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:43:46] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:43:46] local.INFO: IMEI packet received {"connection_id":161559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":161559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:43:48] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037552ca0012d79b50005e7c5600007015a21..."} 
[2026-08-25 10:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037552ca0012d79b50005e7c5600007015a21..."} 
[2026-08-25 10:43:48] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037552ca0012d79b50005e7c5600007015a21..."} 
[2026-08-25 10:43:48] local.INFO: Packet analysis {"connection_id":161559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:43:48] local.INFO: Extracted packet for processing {"connection_id":161559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:43:48] local.INFO: GPS Element Parsed {"raw_longitude":762950912,"raw_latitude":99075424,"longitude_deg":76.2950912,"latitude_deg":9.9075424,"altitude":7,"angle":346,"satellites":33,"speed":30,"hex_longitude":"2d79b500","hex_latitude":"05e7c560","is_valid_coordinates":true} 
[2026-08-25 10:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634487040001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123255700150288384,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770619562177392640,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787634724000,"timestamp_ms":1787634724000,"timestamp_seconds":1787634724,"priority":1,"record_length":96,"hex_timestamp":"000001a037552ca0"} 
[2026-08-25 10:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 10:43:48] 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-25 10:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634487040001,"66":13406,"31":206,"87":13824,"24":30,"16":123255700150288384,"45":8770619562177392640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-25 10:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634487040001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:43:48] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-25 10:43:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123255700150288384,"km_value":123255700150288.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770619562177392640,"description":"Unknown IO ID 45"} 
[2026-08-25 10:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634487040001,"power":13406,"unknown_31":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8770619562177392640}} 
[2026-08-25 10:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":161559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:43:48] local.INFO: GPS data processed {"connection_id":161559,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:43:48] local.INFO: Acknowledgment sent {"connection_id":161559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:43:50] local.INFO: TCP Data received {"connection_id":162793,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:43:50] local.INFO: Processing buffer {"connection_id":162793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:43:50] local.INFO: IMEI packet received {"connection_id":162793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":162793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:43:51] local.INFO: TCP Data received {"connection_id":162793,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:43:51] local.INFO: Processing buffer {"connection_id":162793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:43:51] local.INFO: Packet analysis {"connection_id":162793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:43:51] local.INFO: Extracted packet for processing {"connection_id":162793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634419200001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787634751000,"timestamp_ms":1787634751000,"timestamp_seconds":1787634751,"priority":1,"record_length":96,"hex_timestamp":"000001a037559618"} 
[2026-08-25 10: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-25 10:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634419200001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634419200001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:43:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634419200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":162793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:43:51] local.INFO: GPS data processed {"connection_id":162793,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:43:51] local.INFO: Acknowledgment sent {"connection_id":162793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:43:52] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037555b80012d79ad8005e7e8000008016322..."} 
[2026-08-25 10:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037555b80012d79ad8005e7e8000008016322..."} 
[2026-08-25 10:43:52] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037555b80012d79ad8005e7e8000008016322..."} 
[2026-08-25 10:43:52] local.INFO: Packet analysis {"connection_id":161559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:43:52] local.INFO: Extracted packet for processing {"connection_id":161559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:43:52] local.INFO: GPS Element Parsed {"raw_longitude":762948992,"raw_latitude":99084288,"longitude_deg":76.2948992,"latitude_deg":9.9084288,"altitude":8,"angle":355,"satellites":34,"speed":31,"hex_longitude":"2d79ad80","hex_latitude":"05e7e800","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634489344001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123256138236952576,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769915874737217536,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787634736000,"timestamp_ms":1787634736000,"timestamp_seconds":1787634736,"priority":1,"record_length":96,"hex_timestamp":"000001a037555b80"} 
[2026-08-25 10: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-25 10:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 10:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634489344001,"66":13624,"31":206,"87":13824,"24":31,"16":123256138236952576,"45":8769915874737217536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-25 10:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634489344001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:43:52] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-25 10:43:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123256138236952576,"km_value":123256138236952.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769915874737217536,"description":"Unknown IO ID 45"} 
[2026-08-25 10:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634489344001,"power":13624,"unknown_31":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8769915874737217536}} 
[2026-08-25 10:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":161559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:43:52] local.INFO: GPS data processed {"connection_id":161559,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:43:52] local.INFO: Acknowledgment sent {"connection_id":161559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:43:56] local.INFO: TCP Data received {"connection_id":162793,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:43:56] local.INFO: Processing buffer {"connection_id":162793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:43:56] local.INFO: Packet analysis {"connection_id":162793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:43:56] local.INFO: Extracted packet for processing {"connection_id":162793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:43:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634419200001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:43: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-25 10:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787634751000,"timestamp_ms":1787634751000,"timestamp_seconds":1787634751,"priority":1,"record_length":96,"hex_timestamp":"000001a037559618"} 
[2026-08-25 10:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 10:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634419200001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634419200001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:43:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:43:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634419200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":162793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:43:56] local.INFO: GPS data processed {"connection_id":162793,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:43:56] local.INFO: Acknowledgment sent {"connection_id":162793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:44:23] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03756edd8012d79410005e895a80007015822..."} 
[2026-08-25 10:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03756edd8012d79410005e895a80007015822..."} 
[2026-08-25 10:44:23] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03756edd8012d79410005e895a80007015822..."} 
[2026-08-25 10:44:23] local.INFO: Packet analysis {"connection_id":161559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03756"} 
[2026-08-25 10:44:23] local.INFO: Extracted packet for processing {"connection_id":161559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03756"} 
[2026-08-25 10:44:23] local.INFO: GPS Element Parsed {"raw_longitude":762921216,"raw_latitude":99128744,"longitude_deg":76.2921216,"latitude_deg":9.9128744,"altitude":7,"angle":344,"satellites":34,"speed":5,"hex_longitude":"2d794100","hex_latitude":"05e895a8","is_valid_coordinates":true} 
[2026-08-25 10:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634518272001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123258895605956608,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8737335146196535296,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787634839000,"timestamp_ms":1787634839000,"timestamp_seconds":1787634839,"priority":1,"record_length":96,"hex_timestamp":"000001a03756edd8"} 
[2026-08-25 10:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 10:44: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-25 10:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634518272001,"66":13602,"203":206,"87":13824,"24":5,"16":123258895605956608,"45":8737335146196535296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634518272001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:44:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123258895605956608,"km_value":123258895605956.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8737335146196535296,"description":"Unknown IO ID 45"} 
[2026-08-25 10:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634518272001,"power":13602,"mnc":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8737335146196535296}} 
[2026-08-25 10:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":161559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:44:23] local.INFO: GPS data processed {"connection_id":161559,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:44:23] local.INFO: Acknowledgment sent {"connection_id":161559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:44:40] local.INFO: TCP Data received {"connection_id":162794,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:44:40] local.INFO: Processing buffer {"connection_id":162794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:44:40] local.INFO: IMEI packet received {"connection_id":162794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":162794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:44:45] local.INFO: TCP Data received {"connection_id":162794,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:44:45] local.INFO: Processing buffer {"connection_id":162794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:44:45] local.INFO: IMEI packet received {"connection_id":162794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":162794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:44:46] local.INFO: TCP Data received {"connection_id":162794,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:44:46] local.INFO: Processing buffer {"connection_id":162794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:44:46] local.INFO: Packet analysis {"connection_id":162794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:44:46] local.INFO: Extracted packet for processing {"connection_id":162794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634419200001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787634751000,"timestamp_ms":1787634751000,"timestamp_seconds":1787634751,"priority":1,"record_length":96,"hex_timestamp":"000001a037559618"} 
[2026-08-25 10:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634419200001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634419200001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:44:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634419200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":162794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:44:46] local.INFO: GPS data processed {"connection_id":162794,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:44:46] local.INFO: Acknowledgment sent {"connection_id":162794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:44:46] local.INFO: TCP Data received {"connection_id":164177,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:44:46] local.INFO: Processing buffer {"connection_id":164177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:44:46] local.INFO: IMEI packet received {"connection_id":164177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":164177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:44:49] local.INFO: TCP Data received {"connection_id":164177,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:44:49] local.INFO: Processing buffer {"connection_id":164177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:44:49] local.INFO: IMEI packet received {"connection_id":164177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":164177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:44:50] local.INFO: TCP Data received {"connection_id":164177,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037573428012d793c0005e8aa600007016622..."} 
[2026-08-25 10:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037573428012d793c0005e8aa600007016622..."} 
[2026-08-25 10:44:50] local.INFO: Processing buffer {"connection_id":164177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037573428012d793c0005e8aa600007016622..."} 
[2026-08-25 10:44:50] local.INFO: Packet analysis {"connection_id":164177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03757"} 
[2026-08-25 10:44:50] local.INFO: Extracted packet for processing {"connection_id":164177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03757"} 
[2026-08-25 10:44:50] local.INFO: GPS Element Parsed {"raw_longitude":762919936,"raw_latitude":99134048,"longitude_deg":76.2919936,"latitude_deg":9.9134048,"altitude":7,"angle":358,"satellites":34,"speed":6,"hex_longitude":"2d793c00","hex_latitude":"05e8aa60","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634518784001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123259161893928960,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8737264777452431360,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787634857000,"timestamp_ms":1787634857000,"timestamp_seconds":1787634857,"priority":1,"record_length":96,"hex_timestamp":"000001a037573428"} 
[2026-08-25 10: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-25 10:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 10:44:50] 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-25 10: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-25 10: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-25 10:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634518784001,"66":13580,"203":206,"87":13824,"24":6,"16":123259161893928960,"45":8737264777452431360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634518784001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:44:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123259161893928960,"km_value":123259161893928.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8737264777452431360,"description":"Unknown IO ID 45"} 
[2026-08-25 10:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634518784001,"power":13580,"mnc":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8737264777452431360}} 
[2026-08-25 10:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":164177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:44:50] local.INFO: GPS data processed {"connection_id":164177,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:44:50] local.INFO: Acknowledgment sent {"connection_id":164177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:44:51] local.INFO: TCP Data received {"connection_id":162794,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:44:51] local.INFO: Processing buffer {"connection_id":162794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:44:51] local.INFO: Packet analysis {"connection_id":162794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:44:51] local.INFO: Extracted packet for processing {"connection_id":162794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:44:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634419200001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787634751000,"timestamp_ms":1787634751000,"timestamp_seconds":1787634751,"priority":1,"record_length":96,"hex_timestamp":"000001a037559618"} 
[2026-08-25 10:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634419200001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634419200001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:44:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:44:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634419200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":162794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:44:51] local.INFO: GPS data processed {"connection_id":162794,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:44:51] local.INFO: Acknowledgment sent {"connection_id":162794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:44:51] local.INFO: TCP Data received {"connection_id":164177,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037573810012d793c0005e8aae80007015722..."} 
[2026-08-25 10:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037573810012d793c0005e8aae80007015722..."} 
[2026-08-25 10:44:51] local.INFO: Processing buffer {"connection_id":164177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037573810012d793c0005e8aae80007015722..."} 
[2026-08-25 10:44:51] local.INFO: Packet analysis {"connection_id":164177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03757"} 
[2026-08-25 10:44:51] local.INFO: Extracted packet for processing {"connection_id":164177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03757"} 
[2026-08-25 10:44:51] local.INFO: GPS Element Parsed {"raw_longitude":762919936,"raw_latitude":99134184,"longitude_deg":76.2919936,"latitude_deg":9.9134184,"altitude":7,"angle":343,"satellites":34,"speed":5,"hex_longitude":"2d793c00","hex_latitude":"05e8aae8","is_valid_coordinates":true} 
[2026-08-25 10:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634523392001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123259170483863552,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8735857402570235904,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787634858000,"timestamp_ms":1787634858000,"timestamp_seconds":1787634858,"priority":1,"record_length":96,"hex_timestamp":"000001a037573810"} 
[2026-08-25 10:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:44:51] 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-25 10:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625702,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13522742,"corrected_to":0} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3221612688,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2027182846694653962,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2446327816,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635957600071115,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768278734,"corrected_to":0} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3879796736,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3901290496,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":121,"raw_value":7728183456739885063,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502570499929223593,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755463865696497,"note":"Value kept but may cause issues"} 
[2026-08-25 10:44:51] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,203,87,24,241,157,16,231,160,237,45,149,7,34,10,66,230,64,148,222,128,1,240,227,55,232,4,113,205,214,248,239,51,2,181,5,8,28,121,52,54],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":203,"original":13522742,"validated":0},{"io_id":205,"original":768278734,"validated":0}]} 
[2026-08-25 10:44:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504796929457520640,"timestamp_seconds":504796929457520.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 10:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634523392001,"66":13765,"203":206,"87":13824,"24":5,"16":123259170483863552,"45":8735857402570235904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634523392001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:44:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123259170483863552,"km_value":123259170483863.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8735857402570235904,"description":"Unknown IO ID 45"} 
[2026-08-25 10:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634523392001,"power":13765,"mnc":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8735857402570235904}} 
[2026-08-25 10:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":164177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:44:52] local.INFO: GPS data processed {"connection_id":164177,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:44:52] local.INFO: Acknowledgment sent {"connection_id":164177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:45:23] local.INFO: TCP Data received {"connection_id":164177,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037576ec0012d79374005e8bc680008014622..."} 
[2026-08-25 10:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037576ec0012d79374005e8bc680008014622..."} 
[2026-08-25 10:45:23] local.INFO: Processing buffer {"connection_id":164177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037576ec0012d79374005e8bc680008014622..."} 
[2026-08-25 10:45:23] local.INFO: Packet analysis {"connection_id":164177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03757"} 
[2026-08-25 10:45:23] local.INFO: Extracted packet for processing {"connection_id":164177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03757"} 
[2026-08-25 10:45:23] local.INFO: GPS Element Parsed {"raw_longitude":762918720,"raw_latitude":99138664,"longitude_deg":76.291872,"latitude_deg":9.9138664,"altitude":8,"angle":326,"satellites":34,"speed":18,"hex_longitude":"2d793740","hex_latitude":"05e8bc68","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634523648001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123259398117130240,"note":"Value kept but may cause issues"} 
[2026-08-25 10:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8735857402570270720,"note":"Value kept but may cause issues"} 
[2026-08-25 10:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787634872000,"timestamp_ms":1787634872000,"timestamp_seconds":1787634872,"priority":1,"record_length":96,"hex_timestamp":"000001a037576ec0"} 
[2026-08-25 10: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-25 10:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-25 10:45:23] 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-25 10: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-25 10: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-25 10:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634523648001,"66":13678,"203":206,"87":13824,"24":18,"16":123259398117130240,"45":8735857402570270720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634523648001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:45:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123259398117130240,"km_value":123259398117130.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8735857402570270720,"description":"Unknown IO ID 45"} 
[2026-08-25 10:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634523648001,"power":13678,"mnc":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8735857402570270720}} 
[2026-08-25 10:45:23] local.INFO: TCP Data received {"connection_id":162794,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:45:23] local.INFO: Processing buffer {"connection_id":162794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:45:23] local.INFO: Packet analysis {"connection_id":162794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:45:23] local.INFO: Extracted packet for processing {"connection_id":162794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:45:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634419200001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787634751000,"timestamp_ms":1787634751000,"timestamp_seconds":1787634751,"priority":1,"record_length":96,"hex_timestamp":"000001a037559618"} 
[2026-08-25 10: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-25 10:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634419200001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634419200001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:45:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:45:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634419200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":162794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:45:23] local.INFO: GPS data processed {"connection_id":162794,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:45:23] local.INFO: Acknowledgment sent {"connection_id":162794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":164177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:45:23] local.INFO: GPS data processed {"connection_id":164177,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:45:23] local.INFO: Acknowledgment sent {"connection_id":164177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:45:40] local.INFO: TCP Data received {"connection_id":161795,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:45:40] local.INFO: Processing buffer {"connection_id":161795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:45:40] local.INFO: IMEI packet received {"connection_id":161795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":161795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:45:41] local.INFO: TCP Data received {"connection_id":161796,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:45:41] local.INFO: Processing buffer {"connection_id":161796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:45:41] local.INFO: IMEI packet received {"connection_id":161796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":161796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:45:45] local.INFO: TCP Data received {"connection_id":161795,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:45:45] local.INFO: Processing buffer {"connection_id":161795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:45:45] local.INFO: IMEI packet received {"connection_id":161795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":161795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:45:46] local.INFO: TCP Data received {"connection_id":161795,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:45:46] local.INFO: Processing buffer {"connection_id":161795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:45:46] local.INFO: Packet analysis {"connection_id":161795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:45:46] local.INFO: Extracted packet for processing {"connection_id":161795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634419200001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787634751000,"timestamp_ms":1787634751000,"timestamp_seconds":1787634751,"priority":1,"record_length":96,"hex_timestamp":"000001a037559618"} 
[2026-08-25 10: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-25 10:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634419200001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634419200001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:45:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634419200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":161795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:45:46] local.INFO: GPS data processed {"connection_id":161795,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:45:46] local.INFO: Acknowledgment sent {"connection_id":161795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:45:46] local.INFO: TCP Data received {"connection_id":161796,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:45:46] local.INFO: Processing buffer {"connection_id":161796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:45:46] local.INFO: IMEI packet received {"connection_id":161796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":161796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:45:47] local.INFO: TCP Data received {"connection_id":161796,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037577690012d79358005e8bff00008015522..."} 
[2026-08-25 10:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037577690012d79358005e8bff00008015522..."} 
[2026-08-25 10:45:47] local.INFO: Processing buffer {"connection_id":161796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037577690012d79358005e8bff00008015522..."} 
[2026-08-25 10:45:47] local.INFO: Packet analysis {"connection_id":161796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03757"} 
[2026-08-25 10:45:47] local.INFO: Extracted packet for processing {"connection_id":161796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03757"} 
[2026-08-25 10:45:47] local.INFO: GPS Element Parsed {"raw_longitude":762918272,"raw_latitude":99139568,"longitude_deg":76.2918272,"latitude_deg":9.9139568,"altitude":8,"angle":341,"satellites":34,"speed":20,"hex_longitude":"2d793580","hex_latitude":"05e8bff0","is_valid_coordinates":true} 
[2026-08-25 10:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634527232001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123259445361770496,"note":"Value kept but may cause issues"} 
[2026-08-25 10:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8734520396432041984,"note":"Value kept but may cause issues"} 
[2026-08-25 10:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787634874000,"timestamp_ms":1787634874000,"timestamp_seconds":1787634874,"priority":1,"record_length":96,"hex_timestamp":"000001a037577690"} 
[2026-08-25 10:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 10:45:47] 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-25 10:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634527232001,"66":13189,"203":206,"87":13824,"24":20,"16":123259445361770496,"45":8734520396432041984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634527232001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:45:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123259445361770496,"km_value":123259445361770.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8734520396432041984,"description":"Unknown IO ID 45"} 
[2026-08-25 10:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634527232001,"power":13189,"mnc":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8734520396432041984}} 
[2026-08-25 10:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":161796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:45:47] local.INFO: GPS data processed {"connection_id":161796,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:45:47] local.INFO: Acknowledgment sent {"connection_id":161796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:46:18] local.INFO: TCP Data received {"connection_id":161796,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03757ad40012d7929c005e8e2b00007015622..."} 
[2026-08-25 10:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03757ad40012d7929c005e8e2b00007015622..."} 
[2026-08-25 10:46:18] local.INFO: Processing buffer {"connection_id":161796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03757ad40012d7929c005e8e2b00007015622..."} 
[2026-08-25 10:46:18] local.INFO: Packet analysis {"connection_id":161796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03757"} 
[2026-08-25 10:46:18] local.INFO: Extracted packet for processing {"connection_id":161796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03757"} 
[2026-08-25 10:46:18] local.INFO: GPS Element Parsed {"raw_longitude":762915264,"raw_latitude":99148464,"longitude_deg":76.2915264,"latitude_deg":9.9148464,"altitude":7,"angle":342,"satellites":34,"speed":29,"hex_longitude":"2d7929c0","hex_latitude":"05e8e2b0","is_valid_coordinates":true} 
[2026-08-25 10:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634527744001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123259900628303872,"note":"Value kept but may cause issues"} 
[2026-08-25 10:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8734027815223029760,"note":"Value kept but may cause issues"} 
[2026-08-25 10:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787634888000,"timestamp_ms":1787634888000,"timestamp_seconds":1787634888,"priority":1,"record_length":96,"hex_timestamp":"000001a03757ad40"} 
[2026-08-25 10:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 10:46: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-25 10:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634527744001,"66":13678,"203":206,"87":13824,"24":29,"16":123259900628303872,"45":8734027815223029760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634527744001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:46:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123259900628303872,"km_value":123259900628303.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8734027815223029760,"description":"Unknown IO ID 45"} 
[2026-08-25 10:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634527744001,"power":13678,"mnc":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8734027815223029760}} 
[2026-08-25 10:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":161796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:46:18] local.INFO: GPS data processed {"connection_id":161796,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:46:18] local.INFO: Acknowledgment sent {"connection_id":161796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:46:18] local.INFO: TCP Data received {"connection_id":161795,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:46:18] local.INFO: Processing buffer {"connection_id":161795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:46:18] local.INFO: Packet analysis {"connection_id":161795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:46:18] local.INFO: Extracted packet for processing {"connection_id":161795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:46:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634419200001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787634751000,"timestamp_ms":1787634751000,"timestamp_seconds":1787634751,"priority":1,"record_length":96,"hex_timestamp":"000001a037559618"} 
[2026-08-25 10:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634419200001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634419200001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:46:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:46:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634419200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":161795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:46:18] local.INFO: GPS data processed {"connection_id":161795,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:46:18] local.INFO: Acknowledgment sent {"connection_id":161795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:46:40] local.INFO: TCP Data received {"connection_id":161560,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:46:40] local.INFO: Processing buffer {"connection_id":161560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:46:40] local.INFO: IMEI packet received {"connection_id":161560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":161560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:46:41] local.INFO: TCP Data received {"connection_id":162795,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:46:41] local.INFO: Processing buffer {"connection_id":162795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:46:41] local.INFO: IMEI packet received {"connection_id":162795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":162795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:46:45] local.INFO: TCP Data received {"connection_id":161560,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:46:45] local.INFO: Processing buffer {"connection_id":161560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:46:45] local.INFO: IMEI packet received {"connection_id":161560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":161560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:46:46] local.INFO: TCP Data received {"connection_id":162795,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:46:46] local.INFO: Processing buffer {"connection_id":162795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:46:46] local.INFO: IMEI packet received {"connection_id":162795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":162795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:46:46] local.INFO: TCP Data received {"connection_id":161560,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:46:46] local.INFO: Processing buffer {"connection_id":161560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:46:46] local.INFO: Packet analysis {"connection_id":161560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:46:46] local.INFO: Extracted packet for processing {"connection_id":161560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634419200001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787634751000,"timestamp_ms":1787634751000,"timestamp_seconds":1787634751,"priority":1,"record_length":96,"hex_timestamp":"000001a037559618"} 
[2026-08-25 10:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634419200001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634419200001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:46:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634419200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":161560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:46:46] local.INFO: GPS data processed {"connection_id":161560,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:46:46] local.INFO: Acknowledgment sent {"connection_id":161560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:46:48] local.INFO: TCP Data received {"connection_id":162795,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03757ebc0012d791c4005e904700004015422..."} 
[2026-08-25 10:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03757ebc0012d791c4005e904700004015422..."} 
[2026-08-25 10:46:48] local.INFO: Processing buffer {"connection_id":162795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03757ebc0012d791c4005e904700004015422..."} 
[2026-08-25 10:46:48] local.INFO: Packet analysis {"connection_id":162795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03757"} 
[2026-08-25 10:46:48] local.INFO: Extracted packet for processing {"connection_id":162795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03757"} 
[2026-08-25 10:46:48] local.INFO: GPS Element Parsed {"raw_longitude":762911808,"raw_latitude":99157104,"longitude_deg":76.2911808,"latitude_deg":9.9157104,"altitude":4,"angle":340,"satellites":34,"speed":18,"hex_longitude":"2d791c40","hex_latitude":"05e90470","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634531328001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123260351599869952,"note":"Value kept but may cause issues"} 
[2026-08-25 10:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8730720484248956928,"note":"Value kept but may cause issues"} 
[2026-08-25 10:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787634904000,"timestamp_ms":1787634904000,"timestamp_seconds":1787634904,"priority":1,"record_length":96,"hex_timestamp":"000001a03757ebc0"} 
[2026-08-25 10: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-25 10:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":110,"data_length":795,"current_offset":136} 
[2026-08-25 10:46: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-25 10: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-25 10: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-25 10:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634531328001,"66":13646,"203":206,"87":13824,"24":18,"16":123260351599869952,"45":8730720484248956928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634531328001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:46:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123260351599869952,"km_value":123260351599869.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8730720484248956928,"description":"Unknown IO ID 45"} 
[2026-08-25 10:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634531328001,"power":13646,"mnc":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8730720484248956928}} 
[2026-08-25 10:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":162795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:46:48] local.INFO: GPS data processed {"connection_id":162795,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:46:48] local.INFO: Acknowledgment sent {"connection_id":162795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:47:19] local.INFO: TCP Data received {"connection_id":161560,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:47:19] local.INFO: Processing buffer {"connection_id":161560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:47:19] local.INFO: Packet analysis {"connection_id":161560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:47:19] local.INFO: Extracted packet for processing {"connection_id":161560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:47:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634419200001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787634751000,"timestamp_ms":1787634751000,"timestamp_seconds":1787634751,"priority":1,"record_length":96,"hex_timestamp":"000001a037559618"} 
[2026-08-25 10:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634419200001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634419200001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:47:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:47:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634419200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":161560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:47:19] local.INFO: GPS data processed {"connection_id":161560,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:47:19] local.INFO: Acknowledgment sent {"connection_id":161560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:47:19] local.INFO: TCP Data received {"connection_id":162795,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037582e28012d79154005e912c00003010622..."} 
[2026-08-25 10:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037582e28012d79154005e912c00003010622..."} 
[2026-08-25 10:47:19] local.INFO: Processing buffer {"connection_id":162795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037582e28012d79154005e912c00003010622..."} 
[2026-08-25 10:47:19] local.INFO: Packet analysis {"connection_id":162795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03758"} 
[2026-08-25 10:47:19] local.INFO: Extracted packet for processing {"connection_id":162795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03758"} 
[2026-08-25 10:47:19] local.INFO: GPS Element Parsed {"raw_longitude":762910016,"raw_latitude":99160768,"longitude_deg":76.2910016,"latitude_deg":9.9160768,"altitude":3,"angle":262,"satellites":34,"speed":8,"hex_longitude":"2d791540","hex_latitude":"05e912c0","is_valid_coordinates":true} 
[2026-08-25 10:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634535424001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123260562053267456,"note":"Value kept but may cause issues"} 
[2026-08-25 10:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8726920572065574912,"note":"Value kept but may cause issues"} 
[2026-08-25 10:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787634921000,"timestamp_ms":1787634921000,"timestamp_seconds":1787634921,"priority":1,"record_length":96,"hex_timestamp":"000001a037582e28"} 
[2026-08-25 10:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-25 10:47:19] 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-25 10:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634535424001,"66":13559,"203":206,"87":13824,"24":8,"16":123260562053267456,"45":8726920572065574912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634535424001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:47:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123260562053267456,"km_value":123260562053267.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8726920572065574912,"description":"Unknown IO ID 45"} 
[2026-08-25 10:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634535424001,"power":13559,"mnc":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8726920572065574912}} 
[2026-08-25 10:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":162795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:47:19] local.INFO: GPS data processed {"connection_id":162795,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:47:19] local.INFO: Acknowledgment sent {"connection_id":162795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:47:40] local.INFO: TCP Data received {"connection_id":161561,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:47:40] local.INFO: Processing buffer {"connection_id":161561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:47:40] local.INFO: IMEI packet received {"connection_id":161561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":161561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:47:41] local.INFO: TCP Data received {"connection_id":161562,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:47:41] local.INFO: Processing buffer {"connection_id":161562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:47:41] local.INFO: IMEI packet received {"connection_id":161562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":161562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:47:45] local.INFO: TCP Data received {"connection_id":161561,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:47:45] local.INFO: Processing buffer {"connection_id":161561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:47:45] local.INFO: IMEI packet received {"connection_id":161561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":161561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:47:46] local.INFO: TCP Data received {"connection_id":161561,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:47:46] local.INFO: Processing buffer {"connection_id":161561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037559618012d34c0c006aa4878000a00552b..."} 
[2026-08-25 10:47:46] local.INFO: Packet analysis {"connection_id":161561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:47:46] local.INFO: Extracted packet for processing {"connection_id":161561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03755"} 
[2026-08-25 10:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634419200001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787634751000,"timestamp_ms":1787634751000,"timestamp_seconds":1787634751,"priority":1,"record_length":96,"hex_timestamp":"000001a037559618"} 
[2026-08-25 10:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634419200001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634419200001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634419200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":161561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:47:46] local.INFO: GPS data processed {"connection_id":161561,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:47:46] local.INFO: Acknowledgment sent {"connection_id":161561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:47:46] local.INFO: TCP Data received {"connection_id":161562,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:47:46] local.INFO: Processing buffer {"connection_id":161562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:47:46] local.INFO: IMEI packet received {"connection_id":161562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":161562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:47:48] local.INFO: TCP Data received {"connection_id":161562,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037585150012d79078005e90fc0000300f922..."} 
[2026-08-25 10:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037585150012d79078005e90fc0000300f922..."} 
[2026-08-25 10:47:48] local.INFO: Processing buffer {"connection_id":161562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037585150012d79078005e90fc0000300f922..."} 
[2026-08-25 10:47:48] local.INFO: Packet analysis {"connection_id":161562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03758"} 
[2026-08-25 10:47:48] local.INFO: Extracted packet for processing {"connection_id":161562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03758"} 
[2026-08-25 10:47:48] local.INFO: GPS Element Parsed {"raw_longitude":762906496,"raw_latitude":99160000,"longitude_deg":76.2906496,"latitude_deg":9.916,"altitude":3,"angle":249,"satellites":34,"speed":15,"hex_longitude":"2d790780","hex_latitude":"05e90fc0","is_valid_coordinates":true} 
[2026-08-25 10:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634539776001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123260733851959296,"note":"Value kept but may cause issues"} 
[2026-08-25 10:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8724950247229538304,"note":"Value kept but may cause issues"} 
[2026-08-25 10:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787634930000,"timestamp_ms":1787634930000,"timestamp_seconds":1787634930,"priority":1,"record_length":96,"hex_timestamp":"000001a037585150"} 
[2026-08-25 10:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 10:47:48] 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-25 10:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634539776001,"66":13580,"203":206,"87":13824,"24":15,"16":123260733851959296,"45":8724950247229538304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634539776001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:47:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123260733851959296,"km_value":123260733851959.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8724950247229538304,"description":"Unknown IO ID 45"} 
[2026-08-25 10:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634539776001,"power":13580,"mnc":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8724950247229538304}} 
[2026-08-25 10:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":161562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:47:48] local.INFO: GPS data processed {"connection_id":161562,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:47:48] local.INFO: Acknowledgment sent {"connection_id":161562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:48:17] local.INFO: TCP Data received {"connection_id":161561,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:48:17] local.INFO: Processing buffer {"connection_id":161561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:48:17] local.INFO: Packet analysis {"connection_id":161561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:48:17] local.INFO: Extracted packet for processing {"connection_id":161561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634496256001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787635052000,"timestamp_ms":1787635052000,"timestamp_seconds":1787635052,"priority":1,"record_length":96,"hex_timestamp":"000001a0375a2de0"} 
[2026-08-25 10:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634496256001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634496256001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:48:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634496256001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":161561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:48:17] local.INFO: GPS data processed {"connection_id":161561,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:48:17] local.INFO: Acknowledgment sent {"connection_id":161561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:48:19] local.INFO: TCP Data received {"connection_id":161562,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037589f70012d79010005e90d98000400f020..."} 
[2026-08-25 10:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037589f70012d79010005e90d98000400f020..."} 
[2026-08-25 10:48:19] local.INFO: Processing buffer {"connection_id":161562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037589f70012d79010005e90d98000400f020..."} 
[2026-08-25 10:48:19] local.INFO: Packet analysis {"connection_id":161562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03758"} 
[2026-08-25 10:48:19] local.INFO: Extracted packet for processing {"connection_id":161562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03758"} 
[2026-08-25 10:48:19] local.INFO: GPS Element Parsed {"raw_longitude":762904832,"raw_latitude":99159448,"longitude_deg":76.2904832,"latitude_deg":9.9159448,"altitude":4,"angle":240,"satellites":32,"speed":0,"hex_longitude":"2d790100","hex_latitude":"05e90d98","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634542080001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123260819751305216,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8721079966299570176,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787634950000,"timestamp_ms":1787634950000,"timestamp_seconds":1787634950,"priority":1,"record_length":96,"hex_timestamp":"000001a037589f70"} 
[2026-08-25 10: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-25 10:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625703,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13522742,"corrected_to":0} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3220176904,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636468701179339,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7359444766846615562,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3221302649,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768278734,"corrected_to":0} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916725018185303,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3888447488,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4323462139124645895,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,203,87,24,241,157,16,232,160,46,45,64,18,3,34,10,66,235,4,173,192,1,240,110,227,55,113,205,20,104,239,53,2,181,5,7,121,54],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":203,"original":13522742,"validated":0},{"io_id":205,"original":768278734,"validated":0}]} 
[2026-08-25 10:48:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216446706538971136,"timestamp_seconds":216446706538971.12,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 10: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-25 10:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634542080001,"66":13656,"203":206,"87":13824,"24":0,"16":123260819751305216,"45":8721079966299570176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634542080001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:48:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123260819751305216,"km_value":123260819751305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8721079966299570176,"description":"Unknown IO ID 45"} 
[2026-08-25 10:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634542080001,"power":13656,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8721079966299570176}} 
[2026-08-25 10:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":161562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:48:19] local.INFO: GPS data processed {"connection_id":161562,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:48:19] local.INFO: Acknowledgment sent {"connection_id":161562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:48:41] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:48:41] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:48:41] local.INFO: IMEI packet received {"connection_id":161797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":161797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:48:45] local.INFO: TCP Data received {"connection_id":161798,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:48:45] local.INFO: Processing buffer {"connection_id":161798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:48:45] local.INFO: IMEI packet received {"connection_id":161798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":161798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:48:46] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:48:46] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:48:46] local.INFO: IMEI packet received {"connection_id":161797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":161797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:48:47] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03758a358012d79010005e90d98000400f020..."} 
[2026-08-25 10:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03758a358012d79010005e90d98000400f020..."} 
[2026-08-25 10:48:47] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03758a358012d79010005e90d98000400f020..."} 
[2026-08-25 10:48:47] local.INFO: Packet analysis {"connection_id":161797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03758"} 
[2026-08-25 10:48:47] local.INFO: Extracted packet for processing {"connection_id":161797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03758"} 
[2026-08-25 10:48:47] local.INFO: GPS Element Parsed {"raw_longitude":762904832,"raw_latitude":99159448,"longitude_deg":76.2904832,"latitude_deg":9.9159448,"altitude":4,"angle":240,"satellites":32,"speed":0,"hex_longitude":"2d790100","hex_latitude":"05e90d98","is_valid_coordinates":true} 
[2026-08-25 10:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634547200001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123260819751305216,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719250378950809600,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787634951000,"timestamp_ms":1787634951000,"timestamp_seconds":1787634951,"priority":1,"record_length":96,"hex_timestamp":"000001a03758a358"} 
[2026-08-25 10:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 10:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634547200001,"66":13656,"203":206,"87":13824,"24":0,"16":123260819751305216,"45":8719250378950809600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634547200001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:48:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123260819751305216,"km_value":123260819751305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719250378950809600,"description":"Unknown IO ID 45"} 
[2026-08-25 10:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634547200001,"power":13656,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8719250378950809600}} 
[2026-08-25 10:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":161797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:48:47] local.INFO: GPS data processed {"connection_id":161797,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:48:47] local.INFO: Acknowledgment sent {"connection_id":161797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:48:50] local.INFO: TCP Data received {"connection_id":161798,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:48:50] local.INFO: Processing buffer {"connection_id":161798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:48:50] local.INFO: IMEI packet received {"connection_id":161798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":161798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:48:51] local.INFO: TCP Data received {"connection_id":161798,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:48:51] local.INFO: Processing buffer {"connection_id":161798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:48:51] local.INFO: Packet analysis {"connection_id":161798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:48:51] local.INFO: Extracted packet for processing {"connection_id":161798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 10:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634496256001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787635052000,"timestamp_ms":1787635052000,"timestamp_seconds":1787635052,"priority":1,"record_length":96,"hex_timestamp":"000001a0375a2de0"} 
[2026-08-25 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-25 10:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 10:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634496256001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634496256001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:48:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634496256001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":161798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:48:51] local.INFO: GPS data processed {"connection_id":161798,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:48:51] local.INFO: Acknowledgment sent {"connection_id":161798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:49:19] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03758a358012d79010005e90d98000400f020..."} 
[2026-08-25 10:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03758a358012d79010005e90d98000400f020..."} 
[2026-08-25 10:49:19] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03758a358012d79010005e90d98000400f020..."} 
[2026-08-25 10:49:19] local.INFO: Packet analysis {"connection_id":161797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03758"} 
[2026-08-25 10:49:19] local.INFO: Extracted packet for processing {"connection_id":161797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03758"} 
[2026-08-25 10:49:19] local.INFO: GPS Element Parsed {"raw_longitude":762904832,"raw_latitude":99159448,"longitude_deg":76.2904832,"latitude_deg":9.9159448,"altitude":4,"angle":240,"satellites":32,"speed":0,"hex_longitude":"2d790100","hex_latitude":"05e90d98","is_valid_coordinates":true} 
[2026-08-25 10:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634547456001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123260819751305216,"note":"Value kept but may cause issues"} 
[2026-08-25 10:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719250378950809600,"note":"Value kept but may cause issues"} 
[2026-08-25 10:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787634951000,"timestamp_ms":1787634951000,"timestamp_seconds":1787634951,"priority":1,"record_length":96,"hex_timestamp":"000001a03758a358"} 
[2026-08-25 10:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:49:19] 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-25 10:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 10:49:19] 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-25 10:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634547456001,"66":13656,"203":206,"87":13824,"24":0,"16":123260819751305216,"45":8719250378950809600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634547456001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:49:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123260819751305216,"km_value":123260819751305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719250378950809600,"description":"Unknown IO ID 45"} 
[2026-08-25 10:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634547456001,"power":13656,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8719250378950809600}} 
[2026-08-25 10:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":161797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:49:19] local.INFO: GPS data processed {"connection_id":161797,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:49:19] local.INFO: Acknowledgment sent {"connection_id":161797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:49:23] local.INFO: TCP Data received {"connection_id":161798,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:49:23] local.INFO: Processing buffer {"connection_id":161798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:49:23] local.INFO: Packet analysis {"connection_id":161798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:49:23] local.INFO: Extracted packet for processing {"connection_id":161798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:49:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634496256001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787635052000,"timestamp_ms":1787635052000,"timestamp_seconds":1787635052,"priority":1,"record_length":96,"hex_timestamp":"000001a0375a2de0"} 
[2026-08-25 10:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634496256001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634496256001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:49:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:49:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634496256001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":161798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:49:23] local.INFO: GPS data processed {"connection_id":161798,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:49:23] local.INFO: Acknowledgment sent {"connection_id":161798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:49:40] local.INFO: TCP Data received {"connection_id":164178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:49:40] local.INFO: Processing buffer {"connection_id":164178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:49:40] local.INFO: IMEI packet received {"connection_id":164178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":164178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:49:41] local.INFO: TCP Data received {"connection_id":162796,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:49:41] local.INFO: Processing buffer {"connection_id":162796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:49:41] local.INFO: IMEI packet received {"connection_id":162796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":162796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:49:45] local.INFO: TCP Data received {"connection_id":164178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:49:45] local.INFO: Processing buffer {"connection_id":164178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:49:45] local.INFO: IMEI packet received {"connection_id":164178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":164178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:49:46] local.INFO: TCP Data received {"connection_id":164178,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:49:46] local.INFO: Processing buffer {"connection_id":164178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:49:46] local.INFO: Packet analysis {"connection_id":164178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:49:46] local.INFO: Extracted packet for processing {"connection_id":164178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634496256001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787635052000,"timestamp_ms":1787635052000,"timestamp_seconds":1787635052,"priority":1,"record_length":96,"hex_timestamp":"000001a0375a2de0"} 
[2026-08-25 10:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634496256001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634496256001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634496256001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":164178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:49:46] local.INFO: GPS data processed {"connection_id":164178,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:49:46] local.INFO: Acknowledgment sent {"connection_id":164178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:49:46] local.INFO: TCP Data received {"connection_id":162796,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:49:46] local.INFO: Processing buffer {"connection_id":162796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:49:46] local.INFO: IMEI packet received {"connection_id":162796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":162796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:49:47] local.INFO: TCP Data received {"connection_id":162796,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03758a358012d79010005e90d98000400f020..."} 
[2026-08-25 10:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03758a358012d79010005e90d98000400f020..."} 
[2026-08-25 10:49:47] local.INFO: Processing buffer {"connection_id":162796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03758a358012d79010005e90d98000400f020..."} 
[2026-08-25 10:49:47] local.INFO: Packet analysis {"connection_id":162796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03758"} 
[2026-08-25 10:49:47] local.INFO: Extracted packet for processing {"connection_id":162796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03758"} 
[2026-08-25 10:49:47] local.INFO: GPS Element Parsed {"raw_longitude":762904832,"raw_latitude":99159448,"longitude_deg":76.2904832,"latitude_deg":9.9159448,"altitude":4,"angle":240,"satellites":32,"speed":0,"hex_longitude":"2d790100","hex_latitude":"05e90d98","is_valid_coordinates":true} 
[2026-08-25 10:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634547456001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123260819751305216,"note":"Value kept but may cause issues"} 
[2026-08-25 10:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719250378950809600,"note":"Value kept but may cause issues"} 
[2026-08-25 10:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787634951000,"timestamp_ms":1787634951000,"timestamp_seconds":1787634951,"priority":1,"record_length":96,"hex_timestamp":"000001a03758a358"} 
[2026-08-25 10:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 10:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634547456001,"66":13656,"203":206,"87":13824,"24":0,"16":123260819751305216,"45":8719250378950809600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634547456001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:49:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123260819751305216,"km_value":123260819751305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719250378950809600,"description":"Unknown IO ID 45"} 
[2026-08-25 10:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634547456001,"power":13656,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8719250378950809600}} 
[2026-08-25 10:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":162796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:49:47] local.INFO: GPS data processed {"connection_id":162796,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:49:47] local.INFO: Acknowledgment sent {"connection_id":162796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:50:18] local.INFO: TCP Data received {"connection_id":162796,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0375c5c78012d79024005e90dc8000400f01e..."} 
[2026-08-25 10:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375c5c78012d79024005e90dc8000400f01e..."} 
[2026-08-25 10:50:18] local.INFO: Processing buffer {"connection_id":162796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375c5c78012d79024005e90dc8000400f01e..."} 
[2026-08-25 10:50:18] local.INFO: Packet analysis {"connection_id":162796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375c"} 
[2026-08-25 10:50:18] local.INFO: Extracted packet for processing {"connection_id":162796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375c"} 
[2026-08-25 10:50:18] local.INFO: GPS Element Parsed {"raw_longitude":762905152,"raw_latitude":99159496,"longitude_deg":76.2905152,"latitude_deg":9.9159496,"altitude":4,"angle":240,"satellites":30,"speed":0,"hex_longitude":"2d790240","hex_latitude":"05e90dc8","is_valid_coordinates":true} 
[2026-08-25 10:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634547456001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123260819751305216,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719250378950809600,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635195000,"timestamp_ms":1787635195000,"timestamp_seconds":1787635195,"priority":1,"record_length":96,"hex_timestamp":"000001a0375c5c78"} 
[2026-08-25 10:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 10:50: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-25 10:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634547456001,"66":4873,"128":206,"87":13824,"24":0,"16":123260819751305216,"45":8719250378950809600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-08-25 10:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634547456001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:50:18] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-25 10:50:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123260819751305216,"km_value":123260819751305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719250378950809600,"description":"Unknown IO ID 45"} 
[2026-08-25 10:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634547456001,"power":4873,"unknown_128":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8719250378950809600}} 
[2026-08-25 10:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":162796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:50:18] local.INFO: GPS data processed {"connection_id":162796,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:50:18] local.INFO: Acknowledgment sent {"connection_id":162796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:50:18] local.INFO: TCP Data received {"connection_id":164178,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:50:18] local.INFO: Processing buffer {"connection_id":164178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:50:18] local.INFO: Packet analysis {"connection_id":164178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:50:18] local.INFO: Extracted packet for processing {"connection_id":164178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:50:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634496256001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635052000,"timestamp_ms":1787635052000,"timestamp_seconds":1787635052,"priority":1,"record_length":96,"hex_timestamp":"000001a0375a2de0"} 
[2026-08-25 10:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634496256001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634496256001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:50:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:50:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634496256001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":164178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:50:18] local.INFO: GPS data processed {"connection_id":164178,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:50:18] local.INFO: Acknowledgment sent {"connection_id":164178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:50:40] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:50:40] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:50:40] local.INFO: IMEI packet received {"connection_id":161799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":161799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:50:46] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:50:46] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:50:46] local.INFO: IMEI packet received {"connection_id":161799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":161799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:50:46] local.INFO: TCP Data received {"connection_id":162797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:50:46] local.INFO: Processing buffer {"connection_id":162797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:50:46] local.INFO: IMEI packet received {"connection_id":162797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":162797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:50:49] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:50:49] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:50:49] local.INFO: Packet analysis {"connection_id":161799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:50:49] local.INFO: Extracted packet for processing {"connection_id":161799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:50:49] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634496256001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787635052000,"timestamp_ms":1787635052000,"timestamp_seconds":1787635052,"priority":1,"record_length":96,"hex_timestamp":"000001a0375a2de0"} 
[2026-08-25 10: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-25 10:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10: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":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634496256001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634496256001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:50:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:50:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634496256001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":161799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:50:49] local.INFO: GPS data processed {"connection_id":161799,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:50:49] local.INFO: Acknowledgment sent {"connection_id":161799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:50:51] local.INFO: TCP Data received {"connection_id":162797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:50:51] local.INFO: Processing buffer {"connection_id":162797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:50:51] local.INFO: IMEI packet received {"connection_id":162797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":162797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:50:52] local.INFO: TCP Data received {"connection_id":162797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0375c5c78012d79024005e90dc8000400f01e..."} 
[2026-08-25 10:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375c5c78012d79024005e90dc8000400f01e..."} 
[2026-08-25 10:50:52] local.INFO: Processing buffer {"connection_id":162797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375c5c78012d79024005e90dc8000400f01e..."} 
[2026-08-25 10:50:52] local.INFO: Packet analysis {"connection_id":162797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375c"} 
[2026-08-25 10:50:52] local.INFO: Extracted packet for processing {"connection_id":162797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375c"} 
[2026-08-25 10:50:52] local.INFO: GPS Element Parsed {"raw_longitude":762905152,"raw_latitude":99159496,"longitude_deg":76.2905152,"latitude_deg":9.9159496,"altitude":4,"angle":240,"satellites":30,"speed":0,"hex_longitude":"2d790240","hex_latitude":"05e90dc8","is_valid_coordinates":true} 
[2026-08-25 10:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634609920001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123260819751305216,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719602222671710208,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787635195000,"timestamp_ms":1787635195000,"timestamp_seconds":1787635195,"priority":1,"record_length":96,"hex_timestamp":"000001a0375c5c78"} 
[2026-08-25 10:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":233,"raw_value":1351079901113229824,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846477552,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3325909619629703173,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57752720140818230,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":8,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,128,87,24,241,157,16,233,160,163,45,13,4,32,10,66,203,159,1,240,88,227,55,12,8],"length":380,"final_offset":510,"validated_count":25,"validation_warnings":[]} 
[2026-08-25 10:50:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288494387791396895,"timestamp_seconds":288494387791396.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 10:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634609920001,"66":4873,"128":206,"87":13824,"24":0,"16":123260819751305216,"45":8719602222671710208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-08-25 10:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634609920001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:50:52] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-25 10:50:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123260819751305216,"km_value":123260819751305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719602222671710208,"description":"Unknown IO ID 45"} 
[2026-08-25 10:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634609920001,"power":4873,"unknown_128":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8719602222671710208}} 
[2026-08-25 10:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":162797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:50:52] local.INFO: GPS data processed {"connection_id":162797,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:50:52] local.INFO: Acknowledgment sent {"connection_id":162797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:50:52] local.INFO: TCP Data received {"connection_id":162797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0375c6448012d79024005e90dc8000400f01f..."} 
[2026-08-25 10:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375c6448012d79024005e90dc8000400f01f..."} 
[2026-08-25 10:50:52] local.INFO: Processing buffer {"connection_id":162797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375c6448012d79024005e90dc8000400f01f..."} 
[2026-08-25 10:50:52] local.INFO: Packet analysis {"connection_id":162797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375c"} 
[2026-08-25 10:50:52] local.INFO: Extracted packet for processing {"connection_id":162797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375c"} 
[2026-08-25 10:50:52] local.INFO: GPS Element Parsed {"raw_longitude":762905152,"raw_latitude":99159496,"longitude_deg":76.2905152,"latitude_deg":9.9159496,"altitude":4,"angle":240,"satellites":31,"speed":0,"hex_longitude":"2d790240","hex_latitude":"05e90dc8","is_valid_coordinates":true} 
[2026-08-25 10:50:52] 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-25 10:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634609920001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123260819751305216,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719602222671710208,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787635197000,"timestamp_ms":1787635197000,"timestamp_seconds":1787635197,"priority":1,"record_length":96,"hex_timestamp":"000001a0375c6448"} 
[2026-08-25 10:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":233,"raw_value":1134907118998594048,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846543088,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":88,"raw_value":5859184410024706053,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.WARNING: Large IO value detected {"io_id":15,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-25 10:50:52] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,128,87,24,241,157,16,233,160,92,45,64,13,4,30,10,66,163,32,203,240,88,227,55,1,15],"length":380,"final_offset":510,"validated_count":26,"validation_warnings":[]} 
[2026-08-25 10:50:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288494387791396930,"timestamp_seconds":288494387791396.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 10:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634609920001,"66":2688,"128":206,"87":13824,"24":0,"16":123260819751305216,"45":8719602222671710208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-08-25 10:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634609920001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:50:52] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-25 10:50:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123260819751305216,"km_value":123260819751305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719602222671710208,"description":"Unknown IO ID 45"} 
[2026-08-25 10:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634609920001,"power":2688,"unknown_128":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8719602222671710208}} 
[2026-08-25 10:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":162797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:50:53] local.INFO: GPS data processed {"connection_id":162797,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:50:53] local.INFO: Acknowledgment sent {"connection_id":162797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:51:21] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:51:21] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:51:21] local.INFO: Packet analysis {"connection_id":161799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:51:21] local.INFO: Extracted packet for processing {"connection_id":161799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 10:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634496256001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787635052000,"timestamp_ms":1787635052000,"timestamp_seconds":1787635052,"priority":1,"record_length":96,"hex_timestamp":"000001a0375a2de0"} 
[2026-08-25 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-25 10:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 10:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634496256001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634496256001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:51:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634496256001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":161799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:51:21] local.INFO: GPS data processed {"connection_id":161799,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:51:21] local.INFO: Acknowledgment sent {"connection_id":161799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:51:24] local.INFO: TCP Data received {"connection_id":162797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0375c6448012d79024005e90dc8000400f01f..."} 
[2026-08-25 10:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375c6448012d79024005e90dc8000400f01f..."} 
[2026-08-25 10:51:24] local.INFO: Processing buffer {"connection_id":162797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375c6448012d79024005e90dc8000400f01f..."} 
[2026-08-25 10:51:24] local.INFO: Packet analysis {"connection_id":162797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375c"} 
[2026-08-25 10:51:24] local.INFO: Extracted packet for processing {"connection_id":162797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375c"} 
[2026-08-25 10:51:24] local.INFO: GPS Element Parsed {"raw_longitude":762905152,"raw_latitude":99159496,"longitude_deg":76.2905152,"latitude_deg":9.9159496,"altitude":4,"angle":240,"satellites":31,"speed":0,"hex_longitude":"2d790240","hex_latitude":"05e90dc8","is_valid_coordinates":true} 
[2026-08-25 10:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634610432001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123260819751305216,"note":"Value kept but may cause issues"} 
[2026-08-25 10:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719602222671710208,"note":"Value kept but may cause issues"} 
[2026-08-25 10:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787635197000,"timestamp_ms":1787635197000,"timestamp_seconds":1787635197,"priority":1,"record_length":96,"hex_timestamp":"000001a0375c6448"} 
[2026-08-25 10:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-25 10:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1400,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634610432001,"66":2688,"128":206,"87":13824,"24":0,"16":123260819751305216,"45":8719602222671710208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-08-25 10:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634610432001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:51:24] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-25 10:51:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123260819751305216,"km_value":123260819751305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719602222671710208,"description":"Unknown IO ID 45"} 
[2026-08-25 10:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634610432001,"power":2688,"unknown_128":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8719602222671710208}} 
[2026-08-25 10:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":162797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:51:24] local.INFO: GPS data processed {"connection_id":162797,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:51:24] local.INFO: Acknowledgment sent {"connection_id":162797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:51:40] local.INFO: TCP Data received {"connection_id":161564,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:51:40] local.INFO: Processing buffer {"connection_id":161564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:51:40] local.INFO: IMEI packet received {"connection_id":161564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":161564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:51:40] local.INFO: TCP Data received {"connection_id":161563,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:51:40] local.INFO: Processing buffer {"connection_id":161563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:51:40] local.INFO: IMEI packet received {"connection_id":161563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":161563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:51:41] local.INFO: TCP Data received {"connection_id":161563,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:51:41] local.INFO: Processing buffer {"connection_id":161563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:51:41] local.INFO: IMEI packet received {"connection_id":161563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":161563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:51:45] local.INFO: TCP Data received {"connection_id":161564,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:51:45] local.INFO: Processing buffer {"connection_id":161564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:51:45] local.INFO: IMEI packet received {"connection_id":161564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":161564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:51:46] local.INFO: TCP Data received {"connection_id":161564,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:51:46] local.INFO: Processing buffer {"connection_id":161564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:51:46] local.INFO: Packet analysis {"connection_id":161564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:51:46] local.INFO: Extracted packet for processing {"connection_id":161564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634496256001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787635052000,"timestamp_ms":1787635052000,"timestamp_seconds":1787635052,"priority":1,"record_length":96,"hex_timestamp":"000001a0375a2de0"} 
[2026-08-25 10:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634496256001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634496256001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:51:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634496256001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":161564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:51:46] local.INFO: GPS data processed {"connection_id":161564,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:51:46] local.INFO: Acknowledgment sent {"connection_id":161564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:51:46] local.INFO: TCP Data received {"connection_id":161563,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:51:46] local.INFO: Processing buffer {"connection_id":161563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:51:46] local.INFO: IMEI packet received {"connection_id":161563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":161563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:51:47] local.INFO: TCP Data received {"connection_id":161563,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0375c6448012d79024005e90dc8000400f01f..."} 
[2026-08-25 10:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375c6448012d79024005e90dc8000400f01f..."} 
[2026-08-25 10:51:47] local.INFO: Processing buffer {"connection_id":161563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375c6448012d79024005e90dc8000400f01f..."} 
[2026-08-25 10:51:47] local.INFO: Packet analysis {"connection_id":161563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375c"} 
[2026-08-25 10:51:47] local.INFO: Extracted packet for processing {"connection_id":161563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375c"} 
[2026-08-25 10:51:47] local.INFO: GPS Element Parsed {"raw_longitude":762905152,"raw_latitude":99159496,"longitude_deg":76.2905152,"latitude_deg":9.9159496,"altitude":4,"angle":240,"satellites":31,"speed":0,"hex_longitude":"2d790240","hex_latitude":"05e90dc8","is_valid_coordinates":true} 
[2026-08-25 10:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634610432001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123260819751305216,"note":"Value kept but may cause issues"} 
[2026-08-25 10:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719602222671710208,"note":"Value kept but may cause issues"} 
[2026-08-25 10:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787635197000,"timestamp_ms":1787635197000,"timestamp_seconds":1787635197,"priority":1,"record_length":96,"hex_timestamp":"000001a0375c6448"} 
[2026-08-25 10:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-25 10:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1400,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634610432001,"66":2688,"128":206,"87":13824,"24":0,"16":123260819751305216,"45":8719602222671710208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-08-25 10:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634610432001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:51:47] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-25 10:51:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123260819751305216,"km_value":123260819751305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719602222671710208,"description":"Unknown IO ID 45"} 
[2026-08-25 10:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634610432001,"power":2688,"unknown_128":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8719602222671710208}} 
[2026-08-25 10:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":161563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:51:47] local.INFO: GPS data processed {"connection_id":161563,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:51:47] local.INFO: Acknowledgment sent {"connection_id":161563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:52:17] local.INFO: TCP Data received {"connection_id":161564,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:52:17] local.INFO: Processing buffer {"connection_id":161564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:52:17] local.INFO: Packet analysis {"connection_id":161564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:52:17] local.INFO: Extracted packet for processing {"connection_id":161564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634496256001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787635052000,"timestamp_ms":1787635052000,"timestamp_seconds":1787635052,"priority":1,"record_length":96,"hex_timestamp":"000001a0375a2de0"} 
[2026-08-25 10:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634496256001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634496256001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634496256001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":161564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:52:17] local.INFO: GPS data processed {"connection_id":161564,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:52:17] local.INFO: Acknowledgment sent {"connection_id":161564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:52:18] local.INFO: TCP Data received {"connection_id":161563,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0375e3908012d78c60005e8f710000600a122..."} 
[2026-08-25 10:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375e3908012d78c60005e8f710000600a122..."} 
[2026-08-25 10:52:18] local.INFO: Processing buffer {"connection_id":161563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375e3908012d78c60005e8f710000600a122..."} 
[2026-08-25 10:52:18] local.INFO: Packet analysis {"connection_id":161563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:52:18] local.INFO: Extracted packet for processing {"connection_id":161563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:52:18] local.INFO: GPS Element Parsed {"raw_longitude":762889728,"raw_latitude":99153680,"longitude_deg":76.2889728,"latitude_deg":9.915368,"altitude":6,"angle":161,"satellites":34,"speed":8,"hex_longitude":"2d78c600","hex_latitude":"05e8f710","is_valid_coordinates":true} 
[2026-08-25 10:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634640896001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123261614320254976,"note":"Value kept but may cause issues"} 
[2026-08-25 10:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8702643355323461632,"note":"Value kept but may cause issues"} 
[2026-08-25 10:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635317000,"timestamp_ms":1787635317000,"timestamp_seconds":1787635317,"priority":1,"record_length":96,"hex_timestamp":"000001a0375e3908"} 
[2026-08-25 10:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-25 10:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634640896001,"66":11428,"132":206,"87":13824,"24":8,"16":123261614320254976,"45":8702643355323461632},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 10:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634640896001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:52:18] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 10:52:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123261614320254976,"km_value":123261614320254.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8702643355323461632,"description":"Unknown IO ID 45"} 
[2026-08-25 10:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634640896001,"power":11428,"unknown_132":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8702643355323461632}} 
[2026-08-25 10:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":161563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:52:18] local.INFO: GPS data processed {"connection_id":161563,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:52:18] local.INFO: Acknowledgment sent {"connection_id":161563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:52:40] local.INFO: TCP Data received {"connection_id":164180,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:52:40] local.INFO: Processing buffer {"connection_id":164180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:52:40] local.INFO: IMEI packet received {"connection_id":164180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":164180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:52:41] local.INFO: TCP Data received {"connection_id":164179,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:52:41] local.INFO: Processing buffer {"connection_id":164179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:52:41] local.INFO: IMEI packet received {"connection_id":164179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":164179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:52:45] local.INFO: TCP Data received {"connection_id":164180,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:52:45] local.INFO: Processing buffer {"connection_id":164180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:52:45] local.INFO: IMEI packet received {"connection_id":164180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":164180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:52:46] local.INFO: TCP Data received {"connection_id":164179,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:52:46] local.INFO: Processing buffer {"connection_id":164179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:52:46] local.INFO: IMEI packet received {"connection_id":164179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":164179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:52:46] local.INFO: TCP Data received {"connection_id":164180,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:52:46] local.INFO: Processing buffer {"connection_id":164180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375a2de0012d34c0c006aa4878000700552a..."} 
[2026-08-25 10:52:46] local.INFO: Packet analysis {"connection_id":164180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:52:46] local.INFO: Extracted packet for processing {"connection_id":164180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375a"} 
[2026-08-25 10:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634496256001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787635052000,"timestamp_ms":1787635052000,"timestamp_seconds":1787635052,"priority":1,"record_length":96,"hex_timestamp":"000001a0375a2de0"} 
[2026-08-25 10:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634496256001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634496256001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634496256001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":164180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:52:46] local.INFO: GPS data processed {"connection_id":164180,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:52:46] local.INFO: Acknowledgment sent {"connection_id":164180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:52:47] local.INFO: TCP Data received {"connection_id":164179,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0375e6bd0012d78cc8005e8e8500007009322..."} 
[2026-08-25 10:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375e6bd0012d78cc8005e8e8500007009322..."} 
[2026-08-25 10:52:47] local.INFO: Processing buffer {"connection_id":164179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375e6bd0012d78cc8005e8e8500007009322..."} 
[2026-08-25 10:52:47] local.INFO: Packet analysis {"connection_id":164179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:52:47] local.INFO: Extracted packet for processing {"connection_id":164179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:52:47] local.INFO: GPS Element Parsed {"raw_longitude":762891392,"raw_latitude":99149904,"longitude_deg":76.2891392,"latitude_deg":9.9149904,"altitude":7,"angle":147,"satellites":34,"speed":11,"hex_longitude":"2d78cc80","hex_latitude":"05e8e850","is_valid_coordinates":true} 
[2026-08-25 10:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634641152001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123261811888750592,"note":"Value kept but may cause issues"} 
[2026-08-25 10:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8702643355323404288,"note":"Value kept but may cause issues"} 
[2026-08-25 10:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787635330000,"timestamp_ms":1787635330000,"timestamp_seconds":1787635330,"priority":1,"record_length":96,"hex_timestamp":"000001a0375e6bd0"} 
[2026-08-25 10:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-25 10:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634641152001,"66":11341,"132":206,"87":13824,"24":11,"16":123261811888750592,"45":8702643355323404288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 10:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634641152001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:52:47] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 10:52:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123261811888750592,"km_value":123261811888750.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8702643355323404288,"description":"Unknown IO ID 45"} 
[2026-08-25 10:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634641152001,"power":11341,"unknown_132":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8702643355323404288}} 
[2026-08-25 10:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":164179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:52:47] local.INFO: GPS data processed {"connection_id":164179,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:52:47] local.INFO: Acknowledgment sent {"connection_id":164179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:53:18] local.INFO: TCP Data received {"connection_id":164180,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:53:18] local.INFO: Processing buffer {"connection_id":164180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:53:18] local.INFO: Packet analysis {"connection_id":164180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:53:18] local.INFO: Extracted packet for processing {"connection_id":164180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:53:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634573312001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635353000,"timestamp_ms":1787635353000,"timestamp_seconds":1787635353,"priority":1,"record_length":96,"hex_timestamp":"000001a0375ec5a8"} 
[2026-08-25 10:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634573312001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634573312001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:53:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:53:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634573312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":164180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:53:18] local.INFO: GPS data processed {"connection_id":164180,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:53:18] local.INFO: Acknowledgment sent {"connection_id":164180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:53:18] local.INFO: TCP Data received {"connection_id":164179,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0375e7788012d78ce4005e8e5c00007009e22..."} 
[2026-08-25 10:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375e7788012d78ce4005e8e5c00007009e22..."} 
[2026-08-25 10:53:18] local.INFO: Processing buffer {"connection_id":164179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375e7788012d78ce4005e8e5c00007009e22..."} 
[2026-08-25 10:53:18] local.INFO: Packet analysis {"connection_id":164179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:53:18] local.INFO: Extracted packet for processing {"connection_id":164179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:53:18] local.INFO: GPS Element Parsed {"raw_longitude":762891840,"raw_latitude":99149248,"longitude_deg":76.289184,"latitude_deg":9.9149248,"altitude":7,"angle":158,"satellites":34,"speed":7,"hex_longitude":"2d78ce40","hex_latitude":"05e8e5c0","is_valid_coordinates":true} 
[2026-08-25 10:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634644480001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123261850543456256,"note":"Value kept but may cause issues"} 
[2026-08-25 10:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704472942671056896,"note":"Value kept but may cause issues"} 
[2026-08-25 10:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635333000,"timestamp_ms":1787635333000,"timestamp_seconds":1787635333,"priority":1,"record_length":96,"hex_timestamp":"000001a0375e7788"} 
[2026-08-25 10:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-25 10:53:18] 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-25 10:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634644480001,"66":11352,"132":206,"87":13824,"24":7,"16":123261850543456256,"45":8704472942671056896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 10:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634644480001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:53:18] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 10:53:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123261850543456256,"km_value":123261850543456.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704472942671056896,"description":"Unknown IO ID 45"} 
[2026-08-25 10:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634644480001,"power":11352,"unknown_132":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8704472942671056896}} 
[2026-08-25 10:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":164179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:53:18] local.INFO: GPS data processed {"connection_id":164179,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:53:18] local.INFO: Acknowledgment sent {"connection_id":164179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:53:40] local.INFO: TCP Data received {"connection_id":164181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:53:40] local.INFO: Processing buffer {"connection_id":164181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:53:40] local.INFO: IMEI packet received {"connection_id":164181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":164181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:53:41] local.INFO: TCP Data received {"connection_id":164181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:53:41] local.INFO: Processing buffer {"connection_id":164181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:53:41] local.INFO: IMEI packet received {"connection_id":164181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":164181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:53:43] local.INFO: TCP Data received {"connection_id":164181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:53:43] local.INFO: Processing buffer {"connection_id":164181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:53:43] local.INFO: IMEI packet received {"connection_id":164181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":164181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:53:45] local.INFO: TCP Data received {"connection_id":161565,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:53:45] local.INFO: Processing buffer {"connection_id":161565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:53:45] local.INFO: IMEI packet received {"connection_id":161565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":161565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:53:46] local.INFO: TCP Data received {"connection_id":164181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:53:46] local.INFO: Processing buffer {"connection_id":164181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:53:46] local.INFO: IMEI packet received {"connection_id":164181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":164181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:53:47] local.INFO: TCP Data received {"connection_id":164181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0375ec5a8012d78d04005e8e0b80007009622..."} 
[2026-08-25 10:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375ec5a8012d78d04005e8e0b80007009622..."} 
[2026-08-25 10:53:47] local.INFO: Processing buffer {"connection_id":164181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375ec5a8012d78d04005e8e0b80007009622..."} 
[2026-08-25 10:53:47] local.INFO: Packet analysis {"connection_id":164181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:53:47] local.INFO: Extracted packet for processing {"connection_id":164181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:53:47] local.INFO: GPS Element Parsed {"raw_longitude":762892352,"raw_latitude":99147960,"longitude_deg":76.2892352,"latitude_deg":9.914796,"altitude":7,"angle":150,"satellites":34,"speed":4,"hex_longitude":"2d78d040","hex_latitude":"05e8e0b8","is_valid_coordinates":true} 
[2026-08-25 10:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634645248001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123261923557900288,"note":"Value kept but may cause issues"} 
[2026-08-25 10:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704965523880132608,"note":"Value kept but may cause issues"} 
[2026-08-25 10:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787635353000,"timestamp_ms":1787635353000,"timestamp_seconds":1787635353,"priority":1,"record_length":96,"hex_timestamp":"000001a0375ec5a8"} 
[2026-08-25 10:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 10:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1210,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634645248001,"66":11428,"132":206,"87":13824,"24":4,"16":123261923557900288,"45":8704965523880132608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 10:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634645248001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:53:47] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 10:53:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123261923557900288,"km_value":123261923557900.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704965523880132608,"description":"Unknown IO ID 45"} 
[2026-08-25 10:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634645248001,"power":11428,"unknown_132":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8704965523880132608}} 
[2026-08-25 10:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":164181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:53:47] local.INFO: GPS data processed {"connection_id":164181,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:53:47] local.INFO: Acknowledgment sent {"connection_id":164181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:53:50] local.INFO: TCP Data received {"connection_id":161565,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:53:50] local.INFO: Processing buffer {"connection_id":161565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:53:50] local.INFO: IMEI packet received {"connection_id":161565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":161565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:53:51] local.INFO: TCP Data received {"connection_id":161565,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:53:51] local.INFO: Processing buffer {"connection_id":161565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:53:51] local.INFO: Packet analysis {"connection_id":161565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:53:51] local.INFO: Extracted packet for processing {"connection_id":161565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634573312001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787635353000,"timestamp_ms":1787635353000,"timestamp_seconds":1787635353,"priority":1,"record_length":96,"hex_timestamp":"000001a0375ec5a8"} 
[2026-08-25 10: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-25 10:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634573312001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634573312001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634573312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":161565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:53:52] local.INFO: GPS data processed {"connection_id":161565,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:53:52] local.INFO: Acknowledgment sent {"connection_id":161565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:54:19] local.INFO: TCP Data received {"connection_id":164181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0375f17b0012d78d24005e8ddc80006009121..."} 
[2026-08-25 10:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375f17b0012d78d24005e8ddc80006009121..."} 
[2026-08-25 10:54:19] local.INFO: Processing buffer {"connection_id":164181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375f17b0012d78d24005e8ddc80006009121..."} 
[2026-08-25 10:54:19] local.INFO: Packet analysis {"connection_id":164181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375f"} 
[2026-08-25 10:54:19] local.INFO: Extracted packet for processing {"connection_id":164181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375f"} 
[2026-08-25 10:54:19] local.INFO: GPS Element Parsed {"raw_longitude":762892864,"raw_latitude":99147208,"longitude_deg":76.2892864,"latitude_deg":9.9147208,"altitude":6,"angle":145,"satellites":33,"speed":6,"hex_longitude":"2d78d240","hex_latitude":"05e8ddc8","is_valid_coordinates":true} 
[2026-08-25 10:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634650368001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123261966507573248,"note":"Value kept but may cause issues"} 
[2026-08-25 10:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8705528473833224192,"note":"Value kept but may cause issues"} 
[2026-08-25 10:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787635374000,"timestamp_ms":1787635374000,"timestamp_seconds":1787635374,"priority":1,"record_length":96,"hex_timestamp":"000001a0375f17b0"} 
[2026-08-25 10:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:54: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-25 10:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-25 10:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634650368001,"66":11558,"132":206,"87":13824,"24":6,"16":123261966507573248,"45":8705528473833224192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 10:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634650368001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:54:19] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 10:54:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123261966507573248,"km_value":123261966507573.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8705528473833224192,"description":"Unknown IO ID 45"} 
[2026-08-25 10:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634650368001,"power":11558,"unknown_132":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8705528473833224192}} 
[2026-08-25 10:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":164181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:54:19] local.INFO: GPS data processed {"connection_id":164181,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:54:19] local.INFO: Acknowledgment sent {"connection_id":164181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:54:23] local.INFO: TCP Data received {"connection_id":161565,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:54:23] local.INFO: Processing buffer {"connection_id":161565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:54:23] local.INFO: Packet analysis {"connection_id":161565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:54:23] local.INFO: Extracted packet for processing {"connection_id":161565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:54:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634573312001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787635353000,"timestamp_ms":1787635353000,"timestamp_seconds":1787635353,"priority":1,"record_length":96,"hex_timestamp":"000001a0375ec5a8"} 
[2026-08-25 10: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-25 10:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634573312001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634573312001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:54:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:54:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634573312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":161565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:54:23] local.INFO: GPS data processed {"connection_id":161565,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:54:23] local.INFO: Acknowledgment sent {"connection_id":161565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:54:40] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:54:40] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:54:40] local.INFO: IMEI packet received {"connection_id":161800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":161800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:54:41] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:54:41] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:54:41] local.INFO: IMEI packet received {"connection_id":161801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":161801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:54:45] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:54:45] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:54:45] local.INFO: IMEI packet received {"connection_id":161800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":161800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:54:46] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:54:46] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:54:46] local.INFO: IMEI packet received {"connection_id":161801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":161801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:54:47] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:54:47] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:54:47] local.INFO: Packet analysis {"connection_id":161800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:54:47] local.INFO: Extracted packet for processing {"connection_id":161800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634573312001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787635353000,"timestamp_ms":1787635353000,"timestamp_seconds":1787635353,"priority":1,"record_length":96,"hex_timestamp":"000001a0375ec5a8"} 
[2026-08-25 10:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634573312001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634573312001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634573312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":161800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:54:47] local.INFO: GPS data processed {"connection_id":161800,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:54:47] local.INFO: Acknowledgment sent {"connection_id":161800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:54:47] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0375f4690012d78d78005e8d540000600a121..."} 
[2026-08-25 10:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375f4690012d78d78005e8d540000600a121..."} 
[2026-08-25 10:54:47] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375f4690012d78d78005e8d540000600a121..."} 
[2026-08-25 10:54:47] local.INFO: Packet analysis {"connection_id":161801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375f"} 
[2026-08-25 10:54:47] local.INFO: Extracted packet for processing {"connection_id":161801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375f"} 
[2026-08-25 10:54:47] local.INFO: GPS Element Parsed {"raw_longitude":762894208,"raw_latitude":99145024,"longitude_deg":76.2894208,"latitude_deg":9.9145024,"altitude":6,"angle":161,"satellites":33,"speed":2,"hex_longitude":"2d78d780","hex_latitude":"05e8d540","is_valid_coordinates":true} 
[2026-08-25 10:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634655744001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123262091061624832,"note":"Value kept but may cause issues"} 
[2026-08-25 10:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8706091423786452992,"note":"Value kept but may cause issues"} 
[2026-08-25 10:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787635386000,"timestamp_ms":1787635386000,"timestamp_seconds":1787635386,"priority":1,"record_length":96,"hex_timestamp":"000001a0375f4690"} 
[2026-08-25 10:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-25 10:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634655744001,"66":11134,"132":206,"87":13824,"24":2,"16":123262091061624832,"45":8706091423786452992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 10:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634655744001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:54:47] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 10:54:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123262091061624832,"km_value":123262091061624.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8706091423786452992,"description":"Unknown IO ID 45"} 
[2026-08-25 10:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634655744001,"power":11134,"unknown_132":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8706091423786452992}} 
[2026-08-25 10:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":161801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:54:47] local.INFO: GPS data processed {"connection_id":161801,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:54:47] local.INFO: Acknowledgment sent {"connection_id":161801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:55:18] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03760cd30012d792e8005e894e80009006b20..."} 
[2026-08-25 10:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03760cd30012d792e8005e894e80009006b20..."} 
[2026-08-25 10:55:18] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03760cd30012d792e8005e894e80009006b20..."} 
[2026-08-25 10:55:18] local.INFO: Packet analysis {"connection_id":161801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03760"} 
[2026-08-25 10:55:18] local.INFO: Extracted packet for processing {"connection_id":161801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03760"} 
[2026-08-25 10:55:18] local.INFO: GPS Element Parsed {"raw_longitude":762916480,"raw_latitude":99128552,"longitude_deg":76.291648,"latitude_deg":9.9128552,"altitude":9,"angle":107,"satellites":32,"speed":27,"hex_longitude":"2d792e80","hex_latitude":"05e894e8","is_valid_coordinates":true} 
[2026-08-25 10:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634681088001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123263594300178432,"note":"Value kept but may cause issues"} 
[2026-08-25 10:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8722839184896917504,"note":"Value kept but may cause issues"} 
[2026-08-25 10:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635486000,"timestamp_ms":1787635486000,"timestamp_seconds":1787635486,"priority":1,"record_length":96,"hex_timestamp":"000001a03760cd30"} 
[2026-08-25 10:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-25 10:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634681088001,"66":11471,"203":206,"87":13824,"24":27,"16":123263594300178432,"45":8722839184896917504},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634681088001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:55:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123263594300178432,"km_value":123263594300178.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8722839184896917504,"description":"Unknown IO ID 45"} 
[2026-08-25 10:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634681088001,"power":11471,"mnc":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8722839184896917504}} 
[2026-08-25 10:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":161801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:55:18] local.INFO: GPS data processed {"connection_id":161801,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:55:18] local.INFO: Acknowledgment sent {"connection_id":161801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:55:19] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:55:19] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:55:19] local.INFO: Packet analysis {"connection_id":161800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:55:19] local.INFO: Extracted packet for processing {"connection_id":161800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:55:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634573312001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787635353000,"timestamp_ms":1787635353000,"timestamp_seconds":1787635353,"priority":1,"record_length":96,"hex_timestamp":"000001a0375ec5a8"} 
[2026-08-25 10:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634573312001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634573312001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:55:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:55:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634573312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":161800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:55:19] local.INFO: GPS data processed {"connection_id":161800,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:55:19] local.INFO: Acknowledgment sent {"connection_id":161800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:55:40] local.INFO: TCP Data received {"connection_id":162798,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:55:40] local.INFO: Processing buffer {"connection_id":162798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:55:40] local.INFO: IMEI packet received {"connection_id":162798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":162798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:55:41] local.INFO: TCP Data received {"connection_id":161566,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:55:41] local.INFO: Processing buffer {"connection_id":161566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:55:41] local.INFO: IMEI packet received {"connection_id":161566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":161566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:55:45] local.INFO: TCP Data received {"connection_id":162798,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:55:45] local.INFO: Processing buffer {"connection_id":162798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:55:45] local.INFO: IMEI packet received {"connection_id":162798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":162798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:55:46] local.INFO: TCP Data received {"connection_id":162798,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:55:46] local.INFO: Processing buffer {"connection_id":162798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:55:46] local.INFO: Packet analysis {"connection_id":162798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:55:46] local.INFO: Extracted packet for processing {"connection_id":162798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634573312001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787635353000,"timestamp_ms":1787635353000,"timestamp_seconds":1787635353,"priority":1,"record_length":96,"hex_timestamp":"000001a0375ec5a8"} 
[2026-08-25 10:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634573312001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634573312001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634573312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":162798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:55:46] local.INFO: GPS data processed {"connection_id":162798,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:55:46] local.INFO: Acknowledgment sent {"connection_id":162798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:55:46] local.INFO: TCP Data received {"connection_id":161566,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:55:46] local.INFO: Processing buffer {"connection_id":161566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:55:46] local.INFO: IMEI packet received {"connection_id":161566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":161566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:55:47] local.INFO: TCP Data received {"connection_id":161566,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03760fff8012d79530005e88b700006006e22..."} 
[2026-08-25 10:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03760fff8012d79530005e88b700006006e22..."} 
[2026-08-25 10:55:47] local.INFO: Processing buffer {"connection_id":161566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03760fff8012d79530005e88b700006006e22..."} 
[2026-08-25 10:55:47] local.INFO: Packet analysis {"connection_id":161566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03760"} 
[2026-08-25 10:55:47] local.INFO: Extracted packet for processing {"connection_id":161566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03760"} 
[2026-08-25 10:55:47] local.INFO: GPS Element Parsed {"raw_longitude":762925824,"raw_latitude":99126128,"longitude_deg":76.2925824,"latitude_deg":9.9126128,"altitude":6,"angle":110,"satellites":34,"speed":30,"hex_longitude":"2d795300","hex_latitude":"05e88b70","is_valid_coordinates":true} 
[2026-08-25 10:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634684416001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123264053861679104,"note":"Value kept but may cause issues"} 
[2026-08-25 10:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8732057490383235072,"note":"Value kept but may cause issues"} 
[2026-08-25 10:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787635499000,"timestamp_ms":1787635499000,"timestamp_seconds":1787635499,"priority":1,"record_length":96,"hex_timestamp":"000001a03760fff8"} 
[2026-08-25 10:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-25 10:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634684416001,"66":10971,"203":206,"87":13824,"24":30,"16":123264053861679104,"45":8732057490383235072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634684416001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:55:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123264053861679104,"km_value":123264053861679.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8732057490383235072,"description":"Unknown IO ID 45"} 
[2026-08-25 10:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634684416001,"power":10971,"mnc":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8732057490383235072}} 
[2026-08-25 10:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":161566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:55:47] local.INFO: GPS data processed {"connection_id":161566,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:55:47] local.INFO: Acknowledgment sent {"connection_id":161566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:56:17] local.INFO: TCP Data received {"connection_id":162798,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:56:17] local.INFO: Processing buffer {"connection_id":162798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:56:17] local.INFO: Packet analysis {"connection_id":162798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:56:17] local.INFO: Extracted packet for processing {"connection_id":162798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634573312001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787635353000,"timestamp_ms":1787635353000,"timestamp_seconds":1787635353,"priority":1,"record_length":96,"hex_timestamp":"000001a0375ec5a8"} 
[2026-08-25 10:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634573312001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634573312001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:56:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634573312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":162798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:56:17] local.INFO: GPS data processed {"connection_id":162798,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:56:17] local.INFO: Acknowledgment sent {"connection_id":162798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:56:18] local.INFO: TCP Data received {"connection_id":161566,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037613e78012d7975c005e880080005006b1f..."} 
[2026-08-25 10:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037613e78012d7975c005e880080005006b1f..."} 
[2026-08-25 10:56:18] local.INFO: Processing buffer {"connection_id":161566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037613e78012d7975c005e880080005006b1f..."} 
[2026-08-25 10:56:18] local.INFO: Packet analysis {"connection_id":161566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03761"} 
[2026-08-25 10:56:18] local.INFO: Extracted packet for processing {"connection_id":161566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03761"} 
[2026-08-25 10:56:18] local.INFO: GPS Element Parsed {"raw_longitude":762934720,"raw_latitude":99123208,"longitude_deg":76.293472,"latitude_deg":9.9123208,"altitude":5,"angle":107,"satellites":31,"speed":23,"hex_longitude":"2d7975c0","hex_latitude":"05e88008","is_valid_coordinates":true} 
[2026-08-25 10:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634687744001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123264504833245184,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8742331327032553472,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635515000,"timestamp_ms":1787635515000,"timestamp_seconds":1787635515,"priority":1,"record_length":96,"hex_timestamp":"000001a037613e78"} 
[2026-08-25 10:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-25 10:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2379,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634687744001,"66":11406,"203":206,"87":13824,"24":23,"16":123264504833245184,"45":8742331327032553472},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634687744001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:56:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123264504833245184,"km_value":123264504833245.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8742331327032553472,"description":"Unknown IO ID 45"} 
[2026-08-25 10:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634687744001,"power":11406,"mnc":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8742331327032553472}} 
[2026-08-25 10:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":161566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:56:18] local.INFO: GPS data processed {"connection_id":161566,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:56:18] local.INFO: Acknowledgment sent {"connection_id":161566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:56:45] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:56:45] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:56:45] local.INFO: IMEI packet received {"connection_id":161802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":161802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:56:46] local.INFO: TCP Data received {"connection_id":162799,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:56:46] local.INFO: Processing buffer {"connection_id":162799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:56:46] local.INFO: IMEI packet received {"connection_id":162799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":162799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:56:47] local.INFO: TCP Data received {"connection_id":162799,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:56:47] local.INFO: Processing buffer {"connection_id":162799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:56:47] local.INFO: IMEI packet received {"connection_id":162799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":162799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:56:50] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:56:50] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:56:50] local.INFO: IMEI packet received {"connection_id":161802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":161802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:56:51] local.INFO: TCP Data received {"connection_id":162799,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:56:51] local.INFO: Processing buffer {"connection_id":162799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:56:51] local.INFO: IMEI packet received {"connection_id":162799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":162799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:56:52] local.INFO: TCP Data received {"connection_id":162799,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037614e18012d797d8005e87d200006007b20..."} 
[2026-08-25 10:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037614e18012d797d8005e87d200006007b20..."} 
[2026-08-25 10:56:52] local.INFO: Processing buffer {"connection_id":162799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037614e18012d797d8005e87d200006007b20..."} 
[2026-08-25 10:56:52] local.INFO: Packet analysis {"connection_id":162799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03761"} 
[2026-08-25 10:56:52] local.INFO: Extracted packet for processing {"connection_id":162799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03761"} 
[2026-08-25 10:56:52] local.INFO: GPS Element Parsed {"raw_longitude":762936704,"raw_latitude":99122464,"longitude_deg":76.2936704,"latitude_deg":9.9122464,"altitude":6,"angle":123,"satellites":32,"speed":21,"hex_longitude":"2d797d80","hex_latitude":"05e87d20","is_valid_coordinates":true} 
[2026-08-25 10:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634691840001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123264607912460288,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8752112582472501248,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787635519000,"timestamp_ms":1787635519000,"timestamp_seconds":1787635519,"priority":1,"record_length":96,"hex_timestamp":"000001a037614e18"} 
[2026-08-25 10:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-08-25 10:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634691840001,"66":11308,"203":206,"87":13824,"24":21,"16":123264607912460288,"45":8752112582472501248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634691840001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:56:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123264607912460288,"km_value":123264607912460.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8752112582472501248,"description":"Unknown IO ID 45"} 
[2026-08-25 10:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634691840001,"power":11308,"mnc":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8752112582472501248}} 
[2026-08-25 10:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":162799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:56:52] local.INFO: GPS data processed {"connection_id":162799,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:56:52] local.INFO: Acknowledgment sent {"connection_id":162799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:56:52] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:56:52] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:56:52] local.INFO: Packet analysis {"connection_id":161802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:56:52] local.INFO: Extracted packet for processing {"connection_id":161802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634573312001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787635353000,"timestamp_ms":1787635353000,"timestamp_seconds":1787635353,"priority":1,"record_length":96,"hex_timestamp":"000001a0375ec5a8"} 
[2026-08-25 10:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634573312001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634573312001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634573312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":161802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:56:52] local.INFO: GPS data processed {"connection_id":161802,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:56:52] local.INFO: Acknowledgment sent {"connection_id":161802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:56:56] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:56:56] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:56:56] local.INFO: Packet analysis {"connection_id":161802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:56:56] local.INFO: Extracted packet for processing {"connection_id":161802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:56:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634573312001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787635353000,"timestamp_ms":1787635353000,"timestamp_seconds":1787635353,"priority":1,"record_length":96,"hex_timestamp":"000001a0375ec5a8"} 
[2026-08-25 10:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 10:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634573312001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634573312001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:56:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:56:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634573312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":161802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:56:56] local.INFO: GPS data processed {"connection_id":161802,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:56:56] local.INFO: Acknowledgment sent {"connection_id":161802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:56:57] local.INFO: TCP Data received {"connection_id":162799,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376155e8012d79810005e87a200006008920..."} 
[2026-08-25 10:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376155e8012d79810005e87a200006008920..."} 
[2026-08-25 10:56:57] local.INFO: Processing buffer {"connection_id":162799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376155e8012d79810005e87a200006008920..."} 
[2026-08-25 10:56:57] local.INFO: Packet analysis {"connection_id":162799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03761"} 
[2026-08-25 10:56:57] local.INFO: Extracted packet for processing {"connection_id":162799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03761"} 
[2026-08-25 10:56:57] local.INFO: GPS Element Parsed {"raw_longitude":762937600,"raw_latitude":99121696,"longitude_deg":76.29376,"latitude_deg":9.9121696,"altitude":6,"angle":137,"satellites":32,"speed":23,"hex_longitude":"2d798100","hex_latitude":"05e87a20","is_valid_coordinates":true} 
[2026-08-25 10:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634692864001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123264663747035136,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8754294013541818368,"note":"Value kept but may cause issues"} 
[2026-08-25 10:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787635521000,"timestamp_ms":1787635521000,"timestamp_seconds":1787635521,"priority":1,"record_length":96,"hex_timestamp":"000001a0376155e8"} 
[2026-08-25 10:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-25 10:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634692864001,"66":10710,"203":206,"87":13824,"24":23,"16":123264663747035136,"45":8754294013541818368},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634692864001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:56:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123264663747035136,"km_value":123264663747035.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8754294013541818368,"description":"Unknown IO ID 45"} 
[2026-08-25 10:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634692864001,"power":10710,"mnc":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8754294013541818368}} 
[2026-08-25 10:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":162799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:56:57] local.INFO: GPS data processed {"connection_id":162799,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:56:57] local.INFO: Acknowledgment sent {"connection_id":162799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:57:40] local.INFO: TCP Data received {"connection_id":164182,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:57:40] local.INFO: Processing buffer {"connection_id":164182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:57:40] local.INFO: IMEI packet received {"connection_id":164182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":164182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:57:41] local.INFO: TCP Data received {"connection_id":162800,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:57:41] local.INFO: Processing buffer {"connection_id":162800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:57:41] local.INFO: IMEI packet received {"connection_id":162800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":162800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:57:45] local.INFO: TCP Data received {"connection_id":164182,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:57:45] local.INFO: Processing buffer {"connection_id":164182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:57:45] local.INFO: IMEI packet received {"connection_id":164182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":164182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:57:46] local.INFO: TCP Data received {"connection_id":164182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:57:46] local.INFO: Processing buffer {"connection_id":164182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0375ec5a8012d34c0c006aa4878000800552c..."} 
[2026-08-25 10:57:46] local.INFO: Packet analysis {"connection_id":164182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:57:46] local.INFO: Extracted packet for processing {"connection_id":164182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0375e"} 
[2026-08-25 10:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634573312001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787635353000,"timestamp_ms":1787635353000,"timestamp_seconds":1787635353,"priority":1,"record_length":96,"hex_timestamp":"000001a0375ec5a8"} 
[2026-08-25 10:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 10:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634573312001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634573312001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634573312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":164182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:57:46] local.INFO: GPS data processed {"connection_id":164182,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:57:46] local.INFO: Acknowledgment sent {"connection_id":164182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:57:46] local.INFO: TCP Data received {"connection_id":162800,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:57:46] local.INFO: Processing buffer {"connection_id":162800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:57:46] local.INFO: IMEI packet received {"connection_id":162800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":162800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:57:47] local.INFO: TCP Data received {"connection_id":162800,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037615db8012d7983c005e876380005009521..."} 
[2026-08-25 10:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037615db8012d7983c005e876380005009521..."} 
[2026-08-25 10:57:47] local.INFO: Processing buffer {"connection_id":162800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037615db8012d7983c005e876380005009521..."} 
[2026-08-25 10:57:47] local.INFO: Packet analysis {"connection_id":162800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03761"} 
[2026-08-25 10:57:47] local.INFO: Extracted packet for processing {"connection_id":162800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03761"} 
[2026-08-25 10:57:47] local.INFO: GPS Element Parsed {"raw_longitude":762938304,"raw_latitude":99120696,"longitude_deg":76.2938304,"latitude_deg":9.9120696,"altitude":5,"angle":149,"satellites":33,"speed":25,"hex_longitude":"2d7983c0","hex_latitude":"05e87638","is_valid_coordinates":true} 
[2026-08-25 10:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634693376001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123264723876577280,"note":"Value kept but may cause issues"} 
[2026-08-25 10:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8755279175960109056,"note":"Value kept but may cause issues"} 
[2026-08-25 10:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787635523000,"timestamp_ms":1787635523000,"timestamp_seconds":1787635523,"priority":1,"record_length":96,"hex_timestamp":"000001a037615db8"} 
[2026-08-25 10:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 10:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2329,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634693376001,"66":11352,"203":206,"87":13824,"24":25,"16":123264723876577280,"45":8755279175960109056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 10:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634693376001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:57:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123264723876577280,"km_value":123264723876577.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8755279175960109056,"description":"Unknown IO ID 45"} 
[2026-08-25 10:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634693376001,"power":11352,"mnc":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8755279175960109056}} 
[2026-08-25 10:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":162800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:57:47] local.INFO: GPS data processed {"connection_id":162800,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:57:47] local.INFO: Acknowledgment sent {"connection_id":162800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:58:17] local.INFO: TCP Data received {"connection_id":164182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:58:17] local.INFO: Processing buffer {"connection_id":164182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:58:17] local.INFO: Packet analysis {"connection_id":164182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:58:17] local.INFO: Extracted packet for processing {"connection_id":164182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634650368001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787635654000,"timestamp_ms":1787635654000,"timestamp_seconds":1787635654,"priority":1,"record_length":96,"hex_timestamp":"000001a037635d70"} 
[2026-08-25 10: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-25 10:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10: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-25 10: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-25 10:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634650368001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634650368001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634650368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":164182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:58:17] local.INFO: GPS data processed {"connection_id":164182,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:58:17] local.INFO: Acknowledgment sent {"connection_id":164182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:58:19] local.INFO: TCP Data received {"connection_id":162800,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037635988012d79b68005e77000000700bb22..."} 
[2026-08-25 10:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037635988012d79b68005e77000000700bb22..."} 
[2026-08-25 10:58:19] local.INFO: Processing buffer {"connection_id":162800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037635988012d79b68005e77000000700bb22..."} 
[2026-08-25 10:58:19] local.INFO: Packet analysis {"connection_id":162800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:58:19] local.INFO: Extracted packet for processing {"connection_id":162800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:58:19] local.INFO: GPS Element Parsed {"raw_longitude":762951296,"raw_latitude":99053568,"longitude_deg":76.2951296,"latitude_deg":9.9053568,"altitude":7,"angle":187,"satellites":34,"speed":23,"hex_longitude":"2d79b680","hex_latitude":"05e77000","is_valid_coordinates":true} 
[2026-08-25 10:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634723328001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123268095425904640,"note":"Value kept but may cause issues"} 
[2026-08-25 10:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771182512129085440,"note":"Value kept but may cause issues"} 
[2026-08-25 10:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787635653000,"timestamp_ms":1787635653000,"timestamp_seconds":1787635653,"priority":1,"record_length":96,"hex_timestamp":"000001a037635988"} 
[2026-08-25 10:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-25 10:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634723328001,"66":11406,"31":206,"87":13824,"24":23,"16":123268095425904640,"45":8771182512129085440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-25 10:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634723328001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:58:19] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-25 10:58:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123268095425904640,"km_value":123268095425904.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771182512129085440,"description":"Unknown IO ID 45"} 
[2026-08-25 10:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634723328001,"power":11406,"unknown_31":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8771182512129085440}} 
[2026-08-25 10:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":162800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:58:19] local.INFO: GPS data processed {"connection_id":162800,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:58:19] local.INFO: Acknowledgment sent {"connection_id":162800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:58:40] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:58:40] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:58:40] local.INFO: IMEI packet received {"connection_id":161803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":161803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:58:41] local.INFO: TCP Data received {"connection_id":162801,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:58:41] local.INFO: Processing buffer {"connection_id":162801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:58:41] local.INFO: IMEI packet received {"connection_id":162801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":162801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:58:46] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:58:46] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:58:46] local.INFO: IMEI packet received {"connection_id":161803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":161803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:58:47] local.INFO: TCP Data received {"connection_id":162801,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:58:47] local.INFO: Processing buffer {"connection_id":162801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:58:47] local.INFO: IMEI packet received {"connection_id":162801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":162801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:58:47] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:58:47] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:58:47] local.INFO: Packet analysis {"connection_id":161803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:58:47] local.INFO: Extracted packet for processing {"connection_id":161803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634650368001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787635654000,"timestamp_ms":1787635654000,"timestamp_seconds":1787635654,"priority":1,"record_length":96,"hex_timestamp":"000001a037635d70"} 
[2026-08-25 10:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634650368001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634650368001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634650368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":161803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:58:47] local.INFO: GPS data processed {"connection_id":161803,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:58:47] local.INFO: Acknowledgment sent {"connection_id":161803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:58:48] local.INFO: TCP Data received {"connection_id":162801,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037639420012d79b3c005e74d68000800b521..."} 
[2026-08-25 10:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037639420012d79b3c005e74d68000800b521..."} 
[2026-08-25 10:58:48] local.INFO: Processing buffer {"connection_id":162801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037639420012d79b3c005e74d68000800b521..."} 
[2026-08-25 10:58:48] local.INFO: Packet analysis {"connection_id":162801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:58:48] local.INFO: Extracted packet for processing {"connection_id":162801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:58:48] local.INFO: GPS Element Parsed {"raw_longitude":762950592,"raw_latitude":99044712,"longitude_deg":76.2950592,"latitude_deg":9.9044712,"altitude":8,"angle":181,"satellites":33,"speed":24,"hex_longitude":"2d79b3c0","hex_latitude":"05e74d68","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634727168001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123268524922634240,"note":"Value kept but may cause issues"} 
[2026-08-25 10:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770338087196688384,"note":"Value kept but may cause issues"} 
[2026-08-25 10:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787635668000,"timestamp_ms":1787635668000,"timestamp_seconds":1787635668,"priority":1,"record_length":96,"hex_timestamp":"000001a037639420"} 
[2026-08-25 10: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-25 10:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-08-25 10:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10: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-25 10:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634727168001,"66":11547,"31":206,"87":13824,"24":24,"16":123268524922634240,"45":8770338087196688384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-25 10:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634727168001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:58:48] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-25 10:58:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123268524922634240,"km_value":123268524922634.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770338087196688384,"description":"Unknown IO ID 45"} 
[2026-08-25 10:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634727168001,"power":11547,"unknown_31":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8770338087196688384}} 
[2026-08-25 10:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":162801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:58:48] local.INFO: GPS data processed {"connection_id":162801,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:58:48] local.INFO: Acknowledgment sent {"connection_id":162801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:59:18] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:59:18] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:59:18] local.INFO: Packet analysis {"connection_id":161803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:59:18] local.INFO: Extracted packet for processing {"connection_id":161803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634650368001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635654000,"timestamp_ms":1787635654000,"timestamp_seconds":1787635654,"priority":1,"record_length":96,"hex_timestamp":"000001a037635d70"} 
[2026-08-25 10:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634650368001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634650368001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:59:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634650368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":161803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:59:18] local.INFO: GPS data processed {"connection_id":161803,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:59:18] local.INFO: Acknowledgment sent {"connection_id":161803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:59:19] local.INFO: TCP Data received {"connection_id":162801,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03763cad0012d79b3c005e72ac8000800b321..."} 
[2026-08-25 10:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03763cad0012d79b3c005e72ac8000800b321..."} 
[2026-08-25 10:59:19] local.INFO: Processing buffer {"connection_id":162801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03763cad0012d79b3c005e72ac8000800b321..."} 
[2026-08-25 10:59:19] local.INFO: Packet analysis {"connection_id":162801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:59:19] local.INFO: Extracted packet for processing {"connection_id":162801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:59:19] local.INFO: GPS Element Parsed {"raw_longitude":762950592,"raw_latitude":99035848,"longitude_deg":76.2950592,"latitude_deg":9.9035848,"altitude":8,"angle":179,"satellites":33,"speed":23,"hex_longitude":"2d79b3c0","hex_latitude":"05e72ac8","is_valid_coordinates":true} 
[2026-08-25 10: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-25 10:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634731008001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123268954419363840,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769564031008466944,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787635682000,"timestamp_ms":1787635682000,"timestamp_seconds":1787635682,"priority":1,"record_length":96,"hex_timestamp":"000001a03763cad0"} 
[2026-08-25 10: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-25 10:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 10: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 10:59:19] 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-25 10: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-25 10: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-25 10:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634731008001,"66":11243,"31":206,"87":13824,"24":23,"16":123268954419363840,"45":8769564031008466944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-25 10:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634731008001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:59:19] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-25 10:59:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123268954419363840,"km_value":123268954419363.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769564031008466944,"description":"Unknown IO ID 45"} 
[2026-08-25 10:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634731008001,"power":11243,"unknown_31":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8769564031008466944}} 
[2026-08-25 10:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":162801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:59:19] local.INFO: GPS data processed {"connection_id":162801,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:59:19] local.INFO: Acknowledgment sent {"connection_id":162801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:59:42] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:59:42] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:59:42] local.INFO: IMEI packet received {"connection_id":161567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 10:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":161567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:59:42] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:59:42] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:59:42] local.INFO: IMEI packet received {"connection_id":161567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":161567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:59:45] local.INFO: TCP Data received {"connection_id":161568,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:59:45] local.INFO: Processing buffer {"connection_id":161568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:59:45] local.INFO: IMEI packet received {"connection_id":161568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 10:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":161568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 10:59:47] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:59:47] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 10:59:47] local.INFO: IMEI packet received {"connection_id":161567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 10:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":161567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:59:50] local.INFO: TCP Data received {"connection_id":161568,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:59:50] local.INFO: Processing buffer {"connection_id":161568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 10:59:50] local.INFO: IMEI packet received {"connection_id":161568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 10:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":161568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 10:59:52] local.INFO: TCP Data received {"connection_id":161568,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:59:52] local.INFO: Processing buffer {"connection_id":161568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:59:52] local.INFO: Packet analysis {"connection_id":161568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:59:52] local.INFO: Extracted packet for processing {"connection_id":161568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634650368001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787635654000,"timestamp_ms":1787635654000,"timestamp_seconds":1787635654,"priority":1,"record_length":96,"hex_timestamp":"000001a037635d70"} 
[2026-08-25 10:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634650368001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634650368001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634650368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":161568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:59:52] local.INFO: GPS data processed {"connection_id":161568,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:59:52] local.INFO: Acknowledgment sent {"connection_id":161568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:59:53] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037640d38012d79b40005e70798000700ac21..."} 
[2026-08-25 10:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037640d38012d79b40005e70798000700ac21..."} 
[2026-08-25 10:59:53] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037640d38012d79b40005e70798000700ac21..."} 
[2026-08-25 10:59:53] local.INFO: Packet analysis {"connection_id":161567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03764"} 
[2026-08-25 10:59:53] local.INFO: Extracted packet for processing {"connection_id":161567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03764"} 
[2026-08-25 10:59:53] local.INFO: GPS Element Parsed {"raw_longitude":762950656,"raw_latitude":99026840,"longitude_deg":76.2950656,"latitude_deg":9.902684,"altitude":7,"angle":172,"satellites":33,"speed":19,"hex_longitude":"2d79b400","hex_latitude":"05e70798","is_valid_coordinates":true} 
[2026-08-25 10:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634734592001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123269392506028032,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769564031006197760,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787635699000,"timestamp_ms":1787635699000,"timestamp_seconds":1787635699,"priority":1,"record_length":96,"hex_timestamp":"000001a037640d38"} 
[2026-08-25 10:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:59:53] 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-25 10:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-25 10:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2528,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634734592001,"66":11515,"31":206,"87":13824,"24":19,"16":123269392506028032,"45":8769564031006197760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-25 10:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634734592001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:59:53] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-25 10:59:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123269392506028032,"km_value":123269392506028.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769564031006197760,"description":"Unknown IO ID 45"} 
[2026-08-25 10:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634734592001,"power":11515,"unknown_31":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8769564031006197760}} 
[2026-08-25 10:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":161567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:59:53] local.INFO: GPS data processed {"connection_id":161567,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:59:53] local.INFO: Acknowledgment sent {"connection_id":161567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:59:53] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037644bb8012d79b70005e6e378000700b01e..."} 
[2026-08-25 10:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037644bb8012d79b70005e6e378000700b01e..."} 
[2026-08-25 10:59:53] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037644bb8012d79b70005e6e378000700b01e..."} 
[2026-08-25 10:59:53] local.INFO: Packet analysis {"connection_id":161567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03764"} 
[2026-08-25 10:59:53] local.INFO: Extracted packet for processing {"connection_id":161567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03764"} 
[2026-08-25 10:59:53] local.INFO: GPS Element Parsed {"raw_longitude":762951424,"raw_latitude":99017592,"longitude_deg":76.2951424,"latitude_deg":9.9017592,"altitude":7,"angle":176,"satellites":30,"speed":22,"hex_longitude":"2d79b700","hex_latitude":"05e6e378","is_valid_coordinates":true} 
[2026-08-25 10:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634738944001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123269843477594112,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8769634399748069376,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787635715000,"timestamp_ms":1787635715000,"timestamp_seconds":1787635715,"priority":1,"record_length":96,"hex_timestamp":"000001a037644bb8"} 
[2026-08-25 10:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:59:53] 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-25 10:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-25 10:59:53] 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-25 10:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 10:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 10:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 10:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634738944001,"66":11602,"31":206,"87":13824,"24":22,"16":123269843477594112,"45":8769634399748069376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-25 10:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 10:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 10:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634738944001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:59:53] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-25 10:59:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 10:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123269843477594112,"km_value":123269843477594.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8769634399748069376,"description":"Unknown IO ID 45"} 
[2026-08-25 10:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634738944001,"power":11602,"unknown_31":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8769634399748069376}} 
[2026-08-25 10:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":161567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:59:53] local.INFO: GPS data processed {"connection_id":161567,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:59:53] local.INFO: Acknowledgment sent {"connection_id":161567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 10:59:57] local.INFO: TCP Data received {"connection_id":161568,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:59:57] local.INFO: Processing buffer {"connection_id":161568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 10:59:57] local.INFO: Packet analysis {"connection_id":161568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:59:57] local.INFO: Extracted packet for processing {"connection_id":161568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 10:59:57] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 10:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 10:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634650368001,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 10:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 10:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787635654000,"timestamp_ms":1787635654000,"timestamp_seconds":1787635654,"priority":1,"record_length":96,"hex_timestamp":"000001a037635d70"} 
[2026-08-25 10:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 10:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 10:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 10:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 10:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 10:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 10:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 10:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 10:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 10:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 10:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 10:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 10:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634650368001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 10:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 10:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 10:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634650368001,"description":"Unknown IO ID 0"} 
[2026-08-25 10:59:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 10:59:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 10:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 10:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 10:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634650368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 10:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":161568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 10:59:57] local.INFO: GPS data processed {"connection_id":161568,"processed":1,"errors":0,"total":1} 
[2026-08-25 10:59:57] local.INFO: Acknowledgment sent {"connection_id":161568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:00:39] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037648650012d79ba4005e6c0e8000900ac1f..."} 
[2026-08-25 11:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037648650012d79ba4005e6c0e8000900ac1f..."} 
[2026-08-25 11:00:39] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037648650012d79ba4005e6c0e8000900ac1f..."} 
[2026-08-25 11:00:39] local.INFO: Packet analysis {"connection_id":161567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03764"} 
[2026-08-25 11:00:39] local.INFO: Extracted packet for processing {"connection_id":161567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03764"} 
[2026-08-25 11:00:39] local.INFO: GPS Element Parsed {"raw_longitude":762952256,"raw_latitude":99008744,"longitude_deg":76.2952256,"latitude_deg":9.9008744,"altitude":9,"angle":172,"satellites":31,"speed":36,"hex_longitude":"2d79ba40","hex_latitude":"05e6c0e8","is_valid_coordinates":true} 
[2026-08-25 11:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634743040001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123270277269291008,"note":"Value kept but may cause issues"} 
[2026-08-25 11:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770478824675833856,"note":"Value kept but may cause issues"} 
[2026-08-25 11:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787635730000,"timestamp_ms":1787635730000,"timestamp_seconds":1787635730,"priority":1,"record_length":96,"hex_timestamp":"000001a037648650"} 
[2026-08-25 11:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:00: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-25 11:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-25 11:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634743040001,"66":11243,"31":206,"87":13824,"24":36,"16":123270277269291008,"45":8770478824675833856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-08-25 11:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634743040001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:00:39] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-25 11:00:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 11:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123270277269291008,"km_value":123270277269291.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770478824675833856,"description":"Unknown IO ID 45"} 
[2026-08-25 11:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634743040001,"power":11243,"unknown_31":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8770478824675833856}} 
[2026-08-25 11:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":161567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:00:39] local.INFO: GPS data processed {"connection_id":161567,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:00:39] local.INFO: Acknowledgment sent {"connection_id":161567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:00:40] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:00:40] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:00:40] local.INFO: IMEI packet received {"connection_id":161804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":161804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:00:41] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:00:41] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:00:41] local.INFO: IMEI packet received {"connection_id":161805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":161805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:00:46] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:00:46] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:00:46] local.INFO: IMEI packet received {"connection_id":161804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":161804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:00:46] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:00:46] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:00:46] local.INFO: IMEI packet received {"connection_id":161805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":161805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:00:47] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:00:47] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:00:47] local.INFO: Packet analysis {"connection_id":161804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 11:00:47] local.INFO: Extracted packet for processing {"connection_id":161804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 11:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634650368001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787635654000,"timestamp_ms":1787635654000,"timestamp_seconds":1787635654,"priority":1,"record_length":96,"hex_timestamp":"000001a037635d70"} 
[2026-08-25 11:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634650368001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634650368001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:00:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634650368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":161804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:00:47] local.INFO: GPS data processed {"connection_id":161804,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:00:47] local.INFO: Acknowledgment sent {"connection_id":161804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:00:47] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03764ad60012d79be0005e69af8000700af1c..."} 
[2026-08-25 11:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03764ad60012d79be0005e69af8000700af1c..."} 
[2026-08-25 11:00:47] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03764ad60012d79be0005e69af8000700af1c..."} 
[2026-08-25 11:00:47] local.INFO: Packet analysis {"connection_id":161805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03764"} 
[2026-08-25 11:00:47] local.INFO: Extracted packet for processing {"connection_id":161805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03764"} 
[2026-08-25 11:00:47] local.INFO: GPS Element Parsed {"raw_longitude":762953216,"raw_latitude":98999032,"longitude_deg":76.2953216,"latitude_deg":9.8999032,"altitude":7,"angle":175,"satellites":28,"speed":36,"hex_longitude":"2d79be00","hex_latitude":"05e69af8","is_valid_coordinates":true} 
[2026-08-25 11:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634746880001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123270749715693568,"note":"Value kept but may cause issues"} 
[2026-08-25 11:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771393618347878400,"note":"Value kept but may cause issues"} 
[2026-08-25 11:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787635740000,"timestamp_ms":1787635740000,"timestamp_seconds":1787635740,"priority":1,"record_length":96,"hex_timestamp":"000001a03764ad60"} 
[2026-08-25 11:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-25 11:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2528,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634746880001,"66":11297,"181":206,"87":13824,"24":36,"16":123270749715693568,"45":8771393618347878400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-08-25 11:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634746880001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:00:47] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-25 11:00:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 11:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123270749715693568,"km_value":123270749715693.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771393618347878400,"description":"Unknown IO ID 45"} 
[2026-08-25 11:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634746880001,"power":11297,"unknown_181":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8771393618347878400}} 
[2026-08-25 11:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":161805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:00:47] local.INFO: GPS data processed {"connection_id":161805,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:00:47] local.INFO: Acknowledgment sent {"connection_id":161805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:01:19] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:01:19] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:01:19] local.INFO: Packet analysis {"connection_id":161804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 11:01:19] local.INFO: Extracted packet for processing {"connection_id":161804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634650368001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787635654000,"timestamp_ms":1787635654000,"timestamp_seconds":1787635654,"priority":1,"record_length":96,"hex_timestamp":"000001a037635d70"} 
[2026-08-25 11:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634650368001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634650368001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634650368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":161804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:01:19] local.INFO: GPS data processed {"connection_id":161804,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:01:19] local.INFO: Acknowledgment sent {"connection_id":161804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:01:20] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037664788012d79e60005e55bd0000a00a723..."} 
[2026-08-25 11:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037664788012d79e60005e55bd0000a00a723..."} 
[2026-08-25 11:01:20] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037664788012d79e60005e55bd0000a00a723..."} 
[2026-08-25 11:01:20] local.INFO: Packet analysis {"connection_id":161805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03766"} 
[2026-08-25 11:01:20] local.INFO: Extracted packet for processing {"connection_id":161805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03766"} 
[2026-08-25 11:01:20] local.INFO: GPS Element Parsed {"raw_longitude":762963456,"raw_latitude":98917328,"longitude_deg":76.2963456,"latitude_deg":9.8917328,"altitude":10,"angle":167,"satellites":35,"speed":34,"hex_longitude":"2d79e600","hex_latitude":"05e55bd0","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634773504001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123274778395017216,"note":"Value kept but may cause issues"} 
[2026-08-25 11:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8781667454976747520,"note":"Value kept but may cause issues"} 
[2026-08-25 11:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787635845000,"timestamp_ms":1787635845000,"timestamp_seconds":1787635845,"priority":1,"record_length":96,"hex_timestamp":"000001a037664788"} 
[2026-08-25 11: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-25 11:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11: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":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-25 11:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634773504001,"66":11482,"39":206,"87":13824,"24":34,"16":123274778395017216,"45":8781667454976747520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 11:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634773504001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:01:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 11:01:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 11:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123274778395017216,"km_value":123274778395017.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8781667454976747520,"description":"Unknown IO ID 45"} 
[2026-08-25 11:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634773504001,"power":11482,"unknown_39":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8781667454976747520}} 
[2026-08-25 11:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":161805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:01:20] local.INFO: GPS data processed {"connection_id":161805,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:01:20] local.INFO: Acknowledgment sent {"connection_id":161805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:01:40] local.INFO: TCP Data received {"connection_id":161806,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:01:40] local.INFO: Processing buffer {"connection_id":161806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:01:40] local.INFO: IMEI packet received {"connection_id":161806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":161806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:01:45] local.INFO: TCP Data received {"connection_id":161806,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:01:45] local.INFO: Processing buffer {"connection_id":161806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:01:45] local.INFO: IMEI packet received {"connection_id":161806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":161806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:01:46] local.INFO: TCP Data received {"connection_id":161806,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:01:46] local.INFO: Processing buffer {"connection_id":161806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:01:46] local.INFO: Packet analysis {"connection_id":161806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 11:01:46] local.INFO: Extracted packet for processing {"connection_id":161806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 11:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634650368001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787635654000,"timestamp_ms":1787635654000,"timestamp_seconds":1787635654,"priority":1,"record_length":96,"hex_timestamp":"000001a037635d70"} 
[2026-08-25 11:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634650368001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634650368001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:01:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634650368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":161806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:01:46] local.INFO: GPS data processed {"connection_id":161806,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:01:46] local.INFO: Acknowledgment sent {"connection_id":161806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:01:46] local.INFO: TCP Data received {"connection_id":161569,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:01:46] local.INFO: Processing buffer {"connection_id":161569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:01:46] local.INFO: IMEI packet received {"connection_id":161569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":161569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:01:52] local.INFO: TCP Data received {"connection_id":161569,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:01:52] local.INFO: Processing buffer {"connection_id":161569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:01:52] local.INFO: IMEI packet received {"connection_id":161569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":161569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:01:53] local.INFO: TCP Data received {"connection_id":161569,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037667280012d79edc005e53798000700a724..."} 
[2026-08-25 11:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037667280012d79edc005e53798000700a724..."} 
[2026-08-25 11:01:53] local.INFO: Processing buffer {"connection_id":161569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037667280012d79edc005e53798000700a724..."} 
[2026-08-25 11:01:53] local.INFO: Packet analysis {"connection_id":161569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03766"} 
[2026-08-25 11:01:53] local.INFO: Extracted packet for processing {"connection_id":161569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03766"} 
[2026-08-25 11:01:53] local.INFO: GPS Element Parsed {"raw_longitude":762965440,"raw_latitude":98908056,"longitude_deg":76.296544,"latitude_deg":9.8908056,"altitude":7,"angle":167,"satellites":36,"speed":31,"hex_longitude":"2d79edc0","hex_latitude":"05e53798","is_valid_coordinates":true} 
[2026-08-25 11:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634776320001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123275237956517888,"note":"Value kept but may cause issues"} 
[2026-08-25 11:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783708148555567104,"note":"Value kept but may cause issues"} 
[2026-08-25 11:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787635856000,"timestamp_ms":1787635856000,"timestamp_seconds":1787635856,"priority":1,"record_length":96,"hex_timestamp":"000001a037667280"} 
[2026-08-25 11:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-25 11:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634776320001,"66":11624,"39":206,"87":13824,"24":31,"16":123275237956517888,"45":8783708148555567104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 11:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634776320001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:01:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 11:01:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 11:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123275237956517888,"km_value":123275237956517.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783708148555567104,"description":"Unknown IO ID 45"} 
[2026-08-25 11:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634776320001,"power":11624,"unknown_39":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8783708148555567104}} 
[2026-08-25 11:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":161569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:01:53] local.INFO: GPS data processed {"connection_id":161569,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:01:53] local.INFO: Acknowledgment sent {"connection_id":161569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:02:18] local.INFO: TCP Data received {"connection_id":161806,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:02:18] local.INFO: Processing buffer {"connection_id":161806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:02:18] local.INFO: Packet analysis {"connection_id":161806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 11:02:18] local.INFO: Extracted packet for processing {"connection_id":161806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 11:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634650368001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635654000,"timestamp_ms":1787635654000,"timestamp_seconds":1787635654,"priority":1,"record_length":96,"hex_timestamp":"000001a037635d70"} 
[2026-08-25 11: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-25 11:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634650368001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634650368001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:02:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634650368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":161806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:02:18] local.INFO: GPS data processed {"connection_id":161806,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:02:18] local.INFO: Acknowledgment sent {"connection_id":161806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:02:24] local.INFO: TCP Data received {"connection_id":161569,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03766a930012d79f54005e514d0000300a826..."} 
[2026-08-25 11:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03766a930012d79f54005e514d0000300a826..."} 
[2026-08-25 11:02:24] local.INFO: Processing buffer {"connection_id":161569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03766a930012d79f54005e514d0000300a826..."} 
[2026-08-25 11:02:24] local.INFO: Packet analysis {"connection_id":161569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03766"} 
[2026-08-25 11:02:24] local.INFO: Extracted packet for processing {"connection_id":161569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03766"} 
[2026-08-25 11:02:24] local.INFO: GPS Element Parsed {"raw_longitude":762967360,"raw_latitude":98899152,"longitude_deg":76.296736,"latitude_deg":9.8899152,"altitude":3,"angle":168,"satellites":38,"speed":34,"hex_longitude":"2d79f540","hex_latitude":"05e514d0","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634779136001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123275680338149376,"note":"Value kept but may cause issues"} 
[2026-08-25 11:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785889579622701056,"note":"Value kept but may cause issues"} 
[2026-08-25 11:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787635870000,"timestamp_ms":1787635870000,"timestamp_seconds":1787635870,"priority":1,"record_length":96,"hex_timestamp":"000001a03766a930"} 
[2026-08-25 11: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-25 11:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-25 11:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634779136001,"66":11210,"39":206,"87":13824,"24":34,"16":123275680338149376,"45":8785889579622701056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 11:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634779136001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:02:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 11:02:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 11:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123275680338149376,"km_value":123275680338149.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785889579622701056,"description":"Unknown IO ID 45"} 
[2026-08-25 11:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634779136001,"power":11210,"unknown_39":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8785889579622701056}} 
[2026-08-25 11:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":161569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:02:24] local.INFO: GPS data processed {"connection_id":161569,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:02:24] local.INFO: Acknowledgment sent {"connection_id":161569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:02:40] local.INFO: TCP Data received {"connection_id":162802,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:02:40] local.INFO: Processing buffer {"connection_id":162802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:02:40] local.INFO: IMEI packet received {"connection_id":162802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":162802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:02:41] local.INFO: TCP Data received {"connection_id":162803,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:02:41] local.INFO: Processing buffer {"connection_id":162803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:02:41] local.INFO: IMEI packet received {"connection_id":162803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":162803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:02:42] local.INFO: TCP Data received {"connection_id":162803,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:02:42] local.INFO: Processing buffer {"connection_id":162803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:02:42] local.INFO: IMEI packet received {"connection_id":162803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":162803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:02:44] local.INFO: TCP Data received {"connection_id":162803,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:02:44] local.INFO: Processing buffer {"connection_id":162803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:02:44] local.INFO: IMEI packet received {"connection_id":162803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":162803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:02:45] local.INFO: TCP Data received {"connection_id":162803,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03767e1b0012d7ace8005e40ef80007009526..."} 
[2026-08-25 11:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03767e1b0012d7ace8005e40ef80007009526..."} 
[2026-08-25 11:02:45] local.INFO: Processing buffer {"connection_id":162803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03767e1b0012d7ace8005e40ef80007009526..."} 
[2026-08-25 11:02:45] local.INFO: Packet analysis {"connection_id":162803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:02:45] local.INFO: Extracted packet for processing {"connection_id":162803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:02:45] local.INFO: GPS Element Parsed {"raw_longitude":763022976,"raw_latitude":98832120,"longitude_deg":76.3022976,"latitude_deg":9.883212,"altitude":7,"angle":149,"satellites":38,"speed":23,"hex_longitude":"2d7ace80","hex_latitude":"05e40ef8","is_valid_coordinates":true} 
[2026-08-25 11:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634801920001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123279962420543488,"note":"Value kept but may cause issues"} 
[2026-08-25 11:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847040018294255616,"note":"Value kept but may cause issues"} 
[2026-08-25 11:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787635950000,"timestamp_ms":1787635950000,"timestamp_seconds":1787635950,"priority":1,"record_length":96,"hex_timestamp":"000001a03767e1b0"} 
[2026-08-25 11:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-25 11:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634801920001,"66":11602,"39":206,"87":13824,"24":23,"16":123279962420543488,"45":8847040018294255616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 11:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634801920001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:02:45] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 11:02:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 11:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123279962420543488,"km_value":123279962420543.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847040018294255616,"description":"Unknown IO ID 45"} 
[2026-08-25 11:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634801920001,"power":11602,"unknown_39":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8847040018294255616}} 
[2026-08-25 11:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":162803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:02:45] local.INFO: GPS data processed {"connection_id":162803,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:02:45] local.INFO: Acknowledgment sent {"connection_id":162803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:02:45] local.INFO: TCP Data received {"connection_id":162802,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:02:45] local.INFO: Processing buffer {"connection_id":162802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:02:45] local.INFO: IMEI packet received {"connection_id":162802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":162802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:02:46] local.INFO: TCP Data received {"connection_id":162802,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:02:46] local.INFO: Processing buffer {"connection_id":162802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037635d70012d34c0c006aa4878000500552b..."} 
[2026-08-25 11:02:46] local.INFO: Packet analysis {"connection_id":162802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 11:02:46] local.INFO: Extracted packet for processing {"connection_id":162802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03763"} 
[2026-08-25 11:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634650368001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787635654000,"timestamp_ms":1787635654000,"timestamp_seconds":1787635654,"priority":1,"record_length":96,"hex_timestamp":"000001a037635d70"} 
[2026-08-25 11:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634650368001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634650368001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634650368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":162802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:02:46] local.INFO: GPS data processed {"connection_id":162802,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:02:46] local.INFO: Acknowledgment sent {"connection_id":162802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:03:18] local.INFO: TCP Data received {"connection_id":162802,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:03:18] local.INFO: Processing buffer {"connection_id":162802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:03:18] local.INFO: Packet analysis {"connection_id":162802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:03:18] local.INFO: Extracted packet for processing {"connection_id":162802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 11:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634727424001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635955000,"timestamp_ms":1787635955000,"timestamp_seconds":1787635955,"priority":1,"record_length":96,"hex_timestamp":"000001a03767f538"} 
[2026-08-25 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-25 11:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 11:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634727424001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634727424001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:03:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634727424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":162802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:03:18] local.INFO: GPS data processed {"connection_id":162802,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:03:18] local.INFO: Acknowledgment sent {"connection_id":162802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:03:18] local.INFO: TCP Data received {"connection_id":162803,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03767ed68012d7ad10005e40930000700a126..."} 
[2026-08-25 11:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03767ed68012d7ad10005e40930000700a126..."} 
[2026-08-25 11:03:18] local.INFO: Processing buffer {"connection_id":162803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03767ed68012d7ad10005e40930000700a126..."} 
[2026-08-25 11:03:18] local.INFO: Packet analysis {"connection_id":162803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:03:18] local.INFO: Extracted packet for processing {"connection_id":162803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:03:18] local.INFO: GPS Element Parsed {"raw_longitude":763023616,"raw_latitude":98830640,"longitude_deg":76.3023616,"latitude_deg":9.883064,"altitude":7,"angle":161,"satellites":38,"speed":19,"hex_longitude":"2d7ad100","hex_latitude":"05e40930","is_valid_coordinates":true} 
[2026-08-25 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-25 11:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634803200001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123280039729954816,"note":"Value kept but may cause issues"} 
[2026-08-25 11:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849151080618981376,"note":"Value kept but may cause issues"} 
[2026-08-25 11:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635953000,"timestamp_ms":1787635953000,"timestamp_seconds":1787635953,"priority":1,"record_length":96,"hex_timestamp":"000001a03767ed68"} 
[2026-08-25 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-25 11:03: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-25 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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-25 11:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 11:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634803200001,"66":11406,"39":206,"87":13824,"24":19,"16":123280039729954816,"45":8849151080618981376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 11:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634803200001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:03:18] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 11:03:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 11:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123280039729954816,"km_value":123280039729954.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849151080618981376,"description":"Unknown IO ID 45"} 
[2026-08-25 11:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634803200001,"power":11406,"unknown_39":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8849151080618981376}} 
[2026-08-25 11:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":162803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:03:18] local.INFO: GPS data processed {"connection_id":162803,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:03:18] local.INFO: Acknowledgment sent {"connection_id":162803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:03:41] local.INFO: TCP Data received {"connection_id":161807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:03:41] local.INFO: Processing buffer {"connection_id":161807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:03:41] local.INFO: IMEI packet received {"connection_id":161807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":161807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:03:45] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:03:45] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:03:45] local.INFO: IMEI packet received {"connection_id":161808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":161808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:03:46] local.INFO: TCP Data received {"connection_id":161807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:03:46] local.INFO: Processing buffer {"connection_id":161807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:03:46] local.INFO: IMEI packet received {"connection_id":161807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":161807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:03:47] local.INFO: TCP Data received {"connection_id":161807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037680ca8012d7ad18005e40570000800b624..."} 
[2026-08-25 11:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037680ca8012d7ad18005e40570000800b624..."} 
[2026-08-25 11:03:47] local.INFO: Processing buffer {"connection_id":161807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037680ca8012d7ad18005e40570000800b624..."} 
[2026-08-25 11:03:47] local.INFO: Packet analysis {"connection_id":161807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03768"} 
[2026-08-25 11:03:47] local.INFO: Extracted packet for processing {"connection_id":161807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03768"} 
[2026-08-25 11:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763023744,"raw_latitude":98829680,"longitude_deg":76.3023744,"latitude_deg":9.882968,"altitude":8,"angle":182,"satellites":36,"speed":9,"hex_longitude":"2d7ad180","hex_latitude":"05e40570","is_valid_coordinates":true} 
[2026-08-25 11:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634803968001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123280095564529664,"note":"Value kept but may cause issues"} 
[2026-08-25 11:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849854768060379136,"note":"Value kept but may cause issues"} 
[2026-08-25 11:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787635961000,"timestamp_ms":1787635961000,"timestamp_seconds":1787635961,"priority":1,"record_length":96,"hex_timestamp":"000001a037680ca8"} 
[2026-08-25 11:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-08-25 11:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634803968001,"66":11547,"39":206,"87":13824,"24":9,"16":123280095564529664,"45":8849854768060379136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 11:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634803968001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:03:47] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 11:03:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 11:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123280095564529664,"km_value":123280095564529.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849854768060379136,"description":"Unknown IO ID 45"} 
[2026-08-25 11:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634803968001,"power":11547,"unknown_39":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8849854768060379136}} 
[2026-08-25 11:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":161807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:03:47] local.INFO: GPS data processed {"connection_id":161807,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:03:47] local.INFO: Acknowledgment sent {"connection_id":161807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:03:50] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:03:50] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:03:50] local.INFO: IMEI packet received {"connection_id":161808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":161808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:03:52] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:03:52] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:03:52] local.INFO: Packet analysis {"connection_id":161808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:03:52] local.INFO: Extracted packet for processing {"connection_id":161808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634727424001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787635955000,"timestamp_ms":1787635955000,"timestamp_seconds":1787635955,"priority":1,"record_length":96,"hex_timestamp":"000001a03767f538"} 
[2026-08-25 11:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634727424001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634727424001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:03:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634727424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":161808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:03:52] local.INFO: GPS data processed {"connection_id":161808,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:03:52] local.INFO: Acknowledgment sent {"connection_id":161808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:04:18] local.INFO: TCP Data received {"connection_id":161807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037681478012d7ad1c005e402f8000700a824..."} 
[2026-08-25 11:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037681478012d7ad1c005e402f8000700a824..."} 
[2026-08-25 11:04:18] local.INFO: Processing buffer {"connection_id":161807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037681478012d7ad1c005e402f8000700a824..."} 
[2026-08-25 11:04:18] local.INFO: Packet analysis {"connection_id":161807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03768"} 
[2026-08-25 11:04:18] local.INFO: Extracted packet for processing {"connection_id":161807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03768"} 
[2026-08-25 11:04:18] local.INFO: GPS Element Parsed {"raw_longitude":763023808,"raw_latitude":98829048,"longitude_deg":76.3023808,"latitude_deg":9.8829048,"altitude":7,"angle":168,"satellites":36,"speed":13,"hex_longitude":"2d7ad1c0","hex_latitude":"05e402f8","is_valid_coordinates":true} 
[2026-08-25 11:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634806016001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123280125629300736,"note":"Value kept but may cause issues"} 
[2026-08-25 11:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849995505548488704,"note":"Value kept but may cause issues"} 
[2026-08-25 11:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635963000,"timestamp_ms":1787635963000,"timestamp_seconds":1787635963,"priority":1,"record_length":96,"hex_timestamp":"000001a037681478"} 
[2026-08-25 11:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:04: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-25 11:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 11:04:18] 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-25 11:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634806016001,"66":11482,"39":206,"87":13824,"24":13,"16":123280125629300736,"45":8849995505548488704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 11:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634806016001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:04:18] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 11:04:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 11:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123280125629300736,"km_value":123280125629300.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849995505548488704,"description":"Unknown IO ID 45"} 
[2026-08-25 11:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634806016001,"power":11482,"unknown_39":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8849995505548488704}} 
[2026-08-25 11:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":161807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:04:18] local.INFO: GPS data processed {"connection_id":161807,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:04:18] local.INFO: Acknowledgment sent {"connection_id":161807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:04:23] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:04:23] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:04:23] local.INFO: Packet analysis {"connection_id":161808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:04:23] local.INFO: Extracted packet for processing {"connection_id":161808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:04:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634727424001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787635955000,"timestamp_ms":1787635955000,"timestamp_seconds":1787635955,"priority":1,"record_length":96,"hex_timestamp":"000001a03767f538"} 
[2026-08-25 11:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634727424001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634727424001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:04:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:04:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634727424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":161808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:04:23] local.INFO: GPS data processed {"connection_id":161808,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:04:23] local.INFO: Acknowledgment sent {"connection_id":161808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:04:40] local.INFO: TCP Data received {"connection_id":164183,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:04:40] local.INFO: Processing buffer {"connection_id":164183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:04:40] local.INFO: IMEI packet received {"connection_id":164183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":164183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:04:41] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:04:41] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:04:41] local.INFO: IMEI packet received {"connection_id":161809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":161809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:04:45] local.INFO: TCP Data received {"connection_id":164183,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:04:45] local.INFO: Processing buffer {"connection_id":164183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:04:45] local.INFO: IMEI packet received {"connection_id":164183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":164183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:04:46] local.INFO: TCP Data received {"connection_id":164183,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:04:46] local.INFO: Processing buffer {"connection_id":164183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:04:46] local.INFO: Packet analysis {"connection_id":164183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:04:46] local.INFO: Extracted packet for processing {"connection_id":164183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634727424001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787635955000,"timestamp_ms":1787635955000,"timestamp_seconds":1787635955,"priority":1,"record_length":96,"hex_timestamp":"000001a03767f538"} 
[2026-08-25 11:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634727424001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634727424001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634727424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":164183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:04:46] local.INFO: GPS data processed {"connection_id":164183,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:04:46] local.INFO: Acknowledgment sent {"connection_id":164183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:04:46] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:04:46] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:04:46] local.INFO: IMEI packet received {"connection_id":161809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":161809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:04:48] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037684358012d7ada0005e3deb0000400a726..."} 
[2026-08-25 11:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037684358012d7ada0005e3deb0000400a726..."} 
[2026-08-25 11:04:48] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037684358012d7ada0005e3deb0000400a726..."} 
[2026-08-25 11:04:48] local.INFO: Packet analysis {"connection_id":161809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03768"} 
[2026-08-25 11:04:48] local.INFO: Extracted packet for processing {"connection_id":161809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03768"} 
[2026-08-25 11:04:48] local.INFO: GPS Element Parsed {"raw_longitude":763025920,"raw_latitude":98819760,"longitude_deg":76.302592,"latitude_deg":9.881976,"altitude":4,"angle":167,"satellites":38,"speed":40,"hex_longitude":"2d7ada00","hex_latitude":"05e3deb0","is_valid_coordinates":true} 
[2026-08-25 11:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634806528001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123280589485768704,"note":"Value kept but may cause issues"} 
[2026-08-25 11:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850065874292504576,"note":"Value kept but may cause issues"} 
[2026-08-25 11:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787635975000,"timestamp_ms":1787635975000,"timestamp_seconds":1787635975,"priority":1,"record_length":96,"hex_timestamp":"000001a037684358"} 
[2026-08-25 11:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-25 11:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634806528001,"66":11515,"39":206,"87":13824,"24":40,"16":123280589485768704,"45":8850065874292504576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 11:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634806528001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:04:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 11:04:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 11:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123280589485768704,"km_value":123280589485768.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850065874292504576,"description":"Unknown IO ID 45"} 
[2026-08-25 11:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634806528001,"power":11515,"unknown_39":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8850065874292504576}} 
[2026-08-25 11:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":161809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:04:48] local.INFO: GPS data processed {"connection_id":161809,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:04:48] local.INFO: Acknowledgment sent {"connection_id":161809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:05:18] local.INFO: TCP Data received {"connection_id":164183,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:05:18] local.INFO: Processing buffer {"connection_id":164183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:05:18] local.INFO: Packet analysis {"connection_id":164183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:05:18] local.INFO: Extracted packet for processing {"connection_id":164183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:05:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634727424001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635955000,"timestamp_ms":1787635955000,"timestamp_seconds":1787635955,"priority":1,"record_length":96,"hex_timestamp":"000001a03767f538"} 
[2026-08-25 11: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-25 11:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634727424001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634727424001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:05:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634727424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":164183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:05:18] local.INFO: GPS data processed {"connection_id":164183,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:05:18] local.INFO: Acknowledgment sent {"connection_id":164183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:05:20] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037686298012d7ae34005e3bc00000500a327..."} 
[2026-08-25 11:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037686298012d7ae34005e3bc00000500a327..."} 
[2026-08-25 11:05:20] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037686298012d7ae34005e3bc00000500a327..."} 
[2026-08-25 11:05:20] local.INFO: Packet analysis {"connection_id":161809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03768"} 
[2026-08-25 11:05:20] local.INFO: Extracted packet for processing {"connection_id":161809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03768"} 
[2026-08-25 11:05:20] local.INFO: GPS Element Parsed {"raw_longitude":763028288,"raw_latitude":98810880,"longitude_deg":76.3028288,"latitude_deg":9.881088,"altitude":5,"angle":163,"satellites":39,"speed":49,"hex_longitude":"2d7ae340","hex_latitude":"05e3bc00","is_valid_coordinates":true} 
[2026-08-25 11:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634809600001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123281031867400192,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852388042847989760,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787635983000,"timestamp_ms":1787635983000,"timestamp_seconds":1787635983,"priority":1,"record_length":96,"hex_timestamp":"000001a037686298"} 
[2026-08-25 11:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-25 11:05:20] 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-25 11:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634809600001,"66":11210,"39":206,"87":13824,"24":49,"16":123281031867400192,"45":8852388042847989760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 11:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634809600001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:05:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 11:05:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 11:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123281031867400192,"km_value":123281031867400.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852388042847989760,"description":"Unknown IO ID 45"} 
[2026-08-25 11:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634809600001,"power":11210,"unknown_39":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8852388042847989760}} 
[2026-08-25 11:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":161809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:05:20] local.INFO: GPS data processed {"connection_id":161809,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:05:20] local.INFO: Acknowledgment sent {"connection_id":161809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:05:41] local.INFO: TCP Data received {"connection_id":161570,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:05:41] local.INFO: Processing buffer {"connection_id":161570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:05:41] local.INFO: IMEI packet received {"connection_id":161570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":161570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:05:45] local.INFO: TCP Data received {"connection_id":161570,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:05:45] local.INFO: Processing buffer {"connection_id":161570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:05:45] local.INFO: IMEI packet received {"connection_id":161570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":161570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:05:46] local.INFO: TCP Data received {"connection_id":161570,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:05:46] local.INFO: Processing buffer {"connection_id":161570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:05:46] local.INFO: Packet analysis {"connection_id":161570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:05:46] local.INFO: Extracted packet for processing {"connection_id":161570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634727424001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787635955000,"timestamp_ms":1787635955000,"timestamp_seconds":1787635955,"priority":1,"record_length":96,"hex_timestamp":"000001a03767f538"} 
[2026-08-25 11:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634727424001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634727424001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634727424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":161570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:05:46] local.INFO: GPS data processed {"connection_id":161570,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:05:46] local.INFO: Acknowledgment sent {"connection_id":161570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:05:46] local.INFO: TCP Data received {"connection_id":162804,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:05:46] local.INFO: Processing buffer {"connection_id":162804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:05:46] local.INFO: IMEI packet received {"connection_id":162804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":162804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:05:51] local.INFO: TCP Data received {"connection_id":162804,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:05:51] local.INFO: Processing buffer {"connection_id":162804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:05:51] local.INFO: IMEI packet received {"connection_id":162804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":162804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:05:52] local.INFO: TCP Data received {"connection_id":162804,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376885c0012d7aee8005e39a700006009f27..."} 
[2026-08-25 11:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376885c0012d7aee8005e39a700006009f27..."} 
[2026-08-25 11:05:52] local.INFO: Processing buffer {"connection_id":162804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376885c0012d7aee8005e39a700006009f27..."} 
[2026-08-25 11:05:52] local.INFO: Packet analysis {"connection_id":162804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03768"} 
[2026-08-25 11:05:52] local.INFO: Extracted packet for processing {"connection_id":162804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03768"} 
[2026-08-25 11:05:52] local.INFO: GPS Element Parsed {"raw_longitude":763031168,"raw_latitude":98802288,"longitude_deg":76.3031168,"latitude_deg":9.8802288,"altitude":6,"angle":159,"satellites":39,"speed":23,"hex_longitude":"2d7aee80","hex_latitude":"05e39a70","is_valid_coordinates":true} 
[2026-08-25 11:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634811648001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123281474249031680,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854991686380290048,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787635992000,"timestamp_ms":1787635992000,"timestamp_seconds":1787635992,"priority":1,"record_length":96,"hex_timestamp":"000001a0376885c0"} 
[2026-08-25 11:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-25 11:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2231,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634811648001,"66":11417,"208":206,"85":15104,"24":23,"16":123281474249031680,"45":8854991686380290048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 11:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634811648001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:05:52] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 11:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123281474249031680,"km_value":123281474249031.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854991686380290048,"description":"Unknown IO ID 45"} 
[2026-08-25 11:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634811648001,"power":11417,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8854991686380290048}} 
[2026-08-25 11:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":162804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:05:52] local.INFO: GPS data processed {"connection_id":162804,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:05:52] local.INFO: Acknowledgment sent {"connection_id":162804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:05:57] local.INFO: TCP Data received {"connection_id":162804,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03768d3e0012d7af78005e37df8000600a827..."} 
[2026-08-25 11:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03768d3e0012d7af78005e37df8000600a827..."} 
[2026-08-25 11:05:57] local.INFO: Processing buffer {"connection_id":162804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03768d3e0012d7af78005e37df8000600a827..."} 
[2026-08-25 11:05:57] local.INFO: Packet analysis {"connection_id":162804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03768"} 
[2026-08-25 11:05:57] local.INFO: Extracted packet for processing {"connection_id":162804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03768"} 
[2026-08-25 11:05:57] local.INFO: GPS Element Parsed {"raw_longitude":763033472,"raw_latitude":98795000,"longitude_deg":76.3033472,"latitude_deg":9.8795,"altitude":6,"angle":168,"satellites":39,"speed":18,"hex_longitude":"2d7af780","hex_latitude":"05e37df8","is_valid_coordinates":true} 
[2026-08-25 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-25 11:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634813952001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123281843616219136,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858158279866085376,"note":"Value kept but may cause issues"} 
[2026-08-25 11:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787636012000,"timestamp_ms":1787636012000,"timestamp_seconds":1787636012,"priority":1,"record_length":96,"hex_timestamp":"000001a03768d3e0"} 
[2026-08-25 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-25 11:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-25 11:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 11:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634813952001,"66":11515,"208":206,"85":15104,"24":18,"16":123281843616219136,"45":8858158279866085376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 11:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634813952001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:05:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 11:05:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123281843616219136,"km_value":123281843616219.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858158279866085376,"description":"Unknown IO ID 45"} 
[2026-08-25 11:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634813952001,"power":11515,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8858158279866085376}} 
[2026-08-25 11:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":162804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:05:57] local.INFO: GPS data processed {"connection_id":162804,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:05:57] local.INFO: Acknowledgment sent {"connection_id":162804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:06:18] local.INFO: TCP Data received {"connection_id":161570,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:06:18] local.INFO: Processing buffer {"connection_id":161570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:06:18] local.INFO: Packet analysis {"connection_id":161570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:06:18] local.INFO: Extracted packet for processing {"connection_id":161570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634727424001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635955000,"timestamp_ms":1787635955000,"timestamp_seconds":1787635955,"priority":1,"record_length":96,"hex_timestamp":"000001a03767f538"} 
[2026-08-25 11:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634727424001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634727424001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:06:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634727424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":161570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:06:18] local.INFO: GPS data processed {"connection_id":161570,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:06:18] local.INFO: Acknowledgment sent {"connection_id":161570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:06:40] local.INFO: TCP Data received {"connection_id":164185,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:06:40] local.INFO: Processing buffer {"connection_id":164185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:06:40] local.INFO: IMEI packet received {"connection_id":164185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":164185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:06:41] local.INFO: TCP Data received {"connection_id":164184,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:06:41] local.INFO: Processing buffer {"connection_id":164184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:06:41] local.INFO: IMEI packet received {"connection_id":164184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":164184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:06:42] local.INFO: TCP Data received {"connection_id":164184,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:06:42] local.INFO: Processing buffer {"connection_id":164184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:06:42] local.INFO: IMEI packet received {"connection_id":164184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":164184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:06:43] local.INFO: TCP Data received {"connection_id":164184,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376b3158012d7b330005e23980000600b123..."} 
[2026-08-25 11:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376b3158012d7b330005e23980000600b123..."} 
[2026-08-25 11:06:43] local.INFO: Processing buffer {"connection_id":164184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376b3158012d7b330005e23980000600b123..."} 
[2026-08-25 11:06:43] local.INFO: Packet analysis {"connection_id":164184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376b"} 
[2026-08-25 11:06:43] local.INFO: Extracted packet for processing {"connection_id":164184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376b"} 
[2026-08-25 11:06:43] local.INFO: GPS Element Parsed {"raw_longitude":763048704,"raw_latitude":98711936,"longitude_deg":76.3048704,"latitude_deg":9.8711936,"altitude":6,"angle":177,"satellites":35,"speed":6,"hex_longitude":"2d7b3300","hex_latitude":"05e23980","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634856960001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123285971079790592,"note":"Value kept but may cause issues"} 
[2026-08-25 11:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877298578259611648,"note":"Value kept but may cause issues"} 
[2026-08-25 11:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787636167000,"timestamp_ms":1787636167000,"timestamp_seconds":1787636167,"priority":1,"record_length":96,"hex_timestamp":"000001a0376b3158"} 
[2026-08-25 11: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-25 11:06: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-25 11: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":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-25 11:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634856960001,"66":11482,"207":206,"85":15104,"24":6,"16":123285971079790592,"45":8877298578259611648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-25 11:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634856960001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:06:43] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 11:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123285971079790592,"km_value":123285971079790.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877298578259611648,"description":"Unknown IO ID 45"} 
[2026-08-25 11:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634856960001,"power":11482,"unknown_207":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8877298578259611648}} 
[2026-08-25 11:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":164184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:06:43] local.INFO: GPS data processed {"connection_id":164184,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:06:43] local.INFO: Acknowledgment sent {"connection_id":164184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:06:45] local.INFO: TCP Data received {"connection_id":164185,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:06:45] local.INFO: Processing buffer {"connection_id":164185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:06:45] local.INFO: IMEI packet received {"connection_id":164185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":164185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:06:46] local.INFO: TCP Data received {"connection_id":164185,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:06:46] local.INFO: Processing buffer {"connection_id":164185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:06:46] local.INFO: Packet analysis {"connection_id":164185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:06:46] local.INFO: Extracted packet for processing {"connection_id":164185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634727424001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787635955000,"timestamp_ms":1787635955000,"timestamp_seconds":1787635955,"priority":1,"record_length":96,"hex_timestamp":"000001a03767f538"} 
[2026-08-25 11:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634727424001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634727424001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:06:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634727424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":164185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":694999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:06:46] local.INFO: GPS data processed {"connection_id":164185,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:06:46] local.INFO: Acknowledgment sent {"connection_id":164185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:06:47] local.INFO: TCP Data received {"connection_id":164184,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376b6420012d7b330005e22d90000600a422..."} 
[2026-08-25 11:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376b6420012d7b330005e22d90000600a422..."} 
[2026-08-25 11:06:47] local.INFO: Processing buffer {"connection_id":164184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376b6420012d7b330005e22d90000600a422..."} 
[2026-08-25 11:06:47] local.INFO: Packet analysis {"connection_id":164184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376b"} 
[2026-08-25 11:06:47] local.INFO: Extracted packet for processing {"connection_id":164184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376b"} 
[2026-08-25 11:06:47] local.INFO: GPS Element Parsed {"raw_longitude":763048704,"raw_latitude":98708880,"longitude_deg":76.3048704,"latitude_deg":9.870888,"altitude":6,"angle":164,"satellites":34,"speed":8,"hex_longitude":"2d7b3300","hex_latitude":"05e22d90","is_valid_coordinates":true} 
[2026-08-25 11:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634858752001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123286121403645952,"note":"Value kept but may cause issues"} 
[2026-08-25 11:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877439315747635200,"note":"Value kept but may cause issues"} 
[2026-08-25 11:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787636180000,"timestamp_ms":1787636180000,"timestamp_seconds":1787636180,"priority":1,"record_length":96,"hex_timestamp":"000001a0376b6420"} 
[2026-08-25 11:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-25 11:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634858752001,"66":11634,"207":206,"85":15104,"24":8,"16":123286121403645952,"45":8877439315747635200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-25 11:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634858752001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:06:47] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 11:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123286121403645952,"km_value":123286121403645.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877439315747635200,"description":"Unknown IO ID 45"} 
[2026-08-25 11:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634858752001,"power":11634,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8877439315747635200}} 
[2026-08-25 11:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":164184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:06:47] local.INFO: GPS data processed {"connection_id":164184,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:06:47] local.INFO: Acknowledgment sent {"connection_id":164184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:07:18] local.INFO: TCP Data received {"connection_id":164185,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:07:18] local.INFO: Processing buffer {"connection_id":164185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:07:18] local.INFO: Packet analysis {"connection_id":164185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:07:18] local.INFO: Extracted packet for processing {"connection_id":164185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:07:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634727424001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787635955000,"timestamp_ms":1787635955000,"timestamp_seconds":1787635955,"priority":1,"record_length":96,"hex_timestamp":"000001a03767f538"} 
[2026-08-25 11:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634727424001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634727424001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:07:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:07:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634727424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":164185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:07:18] local.INFO: GPS data processed {"connection_id":164185,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:07:18] local.INFO: Acknowledgment sent {"connection_id":164185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:07:18] local.INFO: TCP Data received {"connection_id":164184,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376b6bf0012d7b338005e22b88000600b125..."} 
[2026-08-25 11:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376b6bf0012d7b338005e22b88000600b125..."} 
[2026-08-25 11:07:18] local.INFO: Processing buffer {"connection_id":164184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376b6bf0012d7b338005e22b88000600b125..."} 
[2026-08-25 11:07:18] local.INFO: Packet analysis {"connection_id":164184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376b"} 
[2026-08-25 11:07:18] local.INFO: Extracted packet for processing {"connection_id":164184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376b"} 
[2026-08-25 11:07:18] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98708360,"longitude_deg":76.3048832,"latitude_deg":9.870836,"altitude":6,"angle":177,"satellites":37,"speed":10,"hex_longitude":"2d7b3380","hex_latitude":"05e22b88","is_valid_coordinates":true} 
[2026-08-25 11:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634862080001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123286147173449728,"note":"Value kept but may cause issues"} 
[2026-08-25 11:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877439315746852864,"note":"Value kept but may cause issues"} 
[2026-08-25 11:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787636182000,"timestamp_ms":1787636182000,"timestamp_seconds":1787636182,"priority":1,"record_length":96,"hex_timestamp":"000001a0376b6bf0"} 
[2026-08-25 11:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:07: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-25 11:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-25 11:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634862080001,"66":10678,"207":206,"85":15104,"24":10,"16":123286147173449728,"45":8877439315746852864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-25 11:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634862080001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:07:18] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 11:07:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123286147173449728,"km_value":123286147173449.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877439315746852864,"description":"Unknown IO ID 45"} 
[2026-08-25 11:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634862080001,"power":10678,"unknown_207":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8877439315746852864}} 
[2026-08-25 11:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":164184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:07:19] local.INFO: GPS data processed {"connection_id":164184,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:07:19] local.INFO: Acknowledgment sent {"connection_id":164184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:07:38] local.INFO: TCP Data received {"connection_id":164186,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:07:38] local.INFO: Processing buffer {"connection_id":164186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:07:38] local.INFO: IMEI packet received {"connection_id":164186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":164186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:07:40] local.INFO: TCP Data received {"connection_id":162805,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:07:40] local.INFO: Processing buffer {"connection_id":162805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:07:40] local.INFO: IMEI packet received {"connection_id":162805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":162805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:07:41] local.INFO: TCP Data received {"connection_id":164186,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:07:41] local.INFO: Processing buffer {"connection_id":164186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:07:41] local.INFO: IMEI packet received {"connection_id":164186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":164186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:07:45] local.INFO: TCP Data received {"connection_id":162805,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:07:45] local.INFO: Processing buffer {"connection_id":162805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:07:45] local.INFO: IMEI packet received {"connection_id":162805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":162805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:07:46] local.INFO: TCP Data received {"connection_id":164186,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:07:46] local.INFO: Processing buffer {"connection_id":164186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:07:46] local.INFO: IMEI packet received {"connection_id":164186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":164186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:07:46] local.INFO: TCP Data received {"connection_id":162805,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:07:46] local.INFO: Processing buffer {"connection_id":162805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03767f538012d34c0c006aa4878000500552a..."} 
[2026-08-25 11:07:46] local.INFO: Packet analysis {"connection_id":162805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:07:46] local.INFO: Extracted packet for processing {"connection_id":162805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03767"} 
[2026-08-25 11:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":5,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634727424001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787635955000,"timestamp_ms":1787635955000,"timestamp_seconds":1787635955,"priority":1,"record_length":96,"hex_timestamp":"000001a03767f538"} 
[2026-08-25 11:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634727424001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634727424001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634727424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":162805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:07:46] local.INFO: GPS data processed {"connection_id":162805,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:07:46] local.INFO: Acknowledgment sent {"connection_id":162805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:07:47] local.INFO: TCP Data received {"connection_id":164186,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376bb628012d7b37c005e20888000800af25..."} 
[2026-08-25 11:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376bb628012d7b37c005e20888000800af25..."} 
[2026-08-25 11:07:47] local.INFO: Processing buffer {"connection_id":164186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376bb628012d7b37c005e20888000800af25..."} 
[2026-08-25 11:07:47] local.INFO: Packet analysis {"connection_id":164186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376b"} 
[2026-08-25 11:07:47] local.INFO: Extracted packet for processing {"connection_id":164186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376b"} 
[2026-08-25 11:07:47] local.INFO: GPS Element Parsed {"raw_longitude":763049920,"raw_latitude":98699400,"longitude_deg":76.304992,"latitude_deg":9.86994,"altitude":8,"angle":175,"satellites":37,"speed":30,"hex_longitude":"2d7b37c0","hex_latitude":"05e20888","is_valid_coordinates":true} 
[2026-08-25 11:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634862592001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123286585260113920,"note":"Value kept but may cause issues"} 
[2026-08-25 11:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053235075072,"note":"Value kept but may cause issues"} 
[2026-08-25 11:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787636201000,"timestamp_ms":1787636201000,"timestamp_seconds":1787636201,"priority":1,"record_length":96,"hex_timestamp":"000001a0376bb628"} 
[2026-08-25 11:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-25 11:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2041,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634862592001,"66":11558,"207":206,"85":15104,"24":30,"16":123286585260113920,"45":8877580053235075072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-25 11:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634862592001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:07:47] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 11:07:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123286585260113920,"km_value":123286585260113.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053235075072,"description":"Unknown IO ID 45"} 
[2026-08-25 11:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634862592001,"power":11558,"unknown_207":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8877580053235075072}} 
[2026-08-25 11:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":164186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:07:47] local.INFO: GPS data processed {"connection_id":164186,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:07:47] local.INFO: Acknowledgment sent {"connection_id":164186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:08:18] local.INFO: TCP Data received {"connection_id":164186,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376be120012d7b3cc005e1e3f0000900ab1e..."} 
[2026-08-25 11:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376be120012d7b3cc005e1e3f0000900ab1e..."} 
[2026-08-25 11:08:18] local.INFO: Processing buffer {"connection_id":164186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376be120012d7b3cc005e1e3f0000900ab1e..."} 
[2026-08-25 11:08:18] local.INFO: Packet analysis {"connection_id":164186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376b"} 
[2026-08-25 11:08:18] local.INFO: Extracted packet for processing {"connection_id":164186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376b"} 
[2026-08-25 11:08:18] local.INFO: GPS Element Parsed {"raw_longitude":763051200,"raw_latitude":98690032,"longitude_deg":76.30512,"latitude_deg":9.8690032,"altitude":9,"angle":171,"satellites":30,"speed":34,"hex_longitude":"2d7b3cc0","hex_latitude":"05e1e3f0","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634867456001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123287044821614592,"note":"Value kept but may cause issues"} 
[2026-08-25 11:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878776321883801600,"note":"Value kept but may cause issues"} 
[2026-08-25 11:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787636212000,"timestamp_ms":1787636212000,"timestamp_seconds":1787636212,"priority":1,"record_length":96,"hex_timestamp":"000001a0376be120"} 
[2026-08-25 11: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-25 11:08: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-25 11: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":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-25 11:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634867456001,"66":11602,"207":206,"85":15104,"24":34,"16":123287044821614592,"45":8878776321883801600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-25 11:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634867456001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:08:18] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 11:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123287044821614592,"km_value":123287044821614.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878776321883801600,"description":"Unknown IO ID 45"} 
[2026-08-25 11:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634867456001,"power":11602,"unknown_207":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8878776321883801600}} 
[2026-08-25 11:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":164186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:08:18] local.INFO: GPS data processed {"connection_id":164186,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:08:18] local.INFO: Acknowledgment sent {"connection_id":164186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:08:19] local.INFO: TCP Data received {"connection_id":162805,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:08:19] local.INFO: Processing buffer {"connection_id":162805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:08:19] local.INFO: Packet analysis {"connection_id":162805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:08:19] local.INFO: Extracted packet for processing {"connection_id":162805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:08:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634804480001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787636256000,"timestamp_ms":1787636256000,"timestamp_seconds":1787636256,"priority":1,"record_length":96,"hex_timestamp":"000001a0376c8d00"} 
[2026-08-25 11: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-25 11:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634804480001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634804480001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:08:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:08:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634804480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":162805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:08:19] local.INFO: GPS data processed {"connection_id":162805,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:08:19] local.INFO: Acknowledgment sent {"connection_id":162805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:08:41] local.INFO: TCP Data received {"connection_id":161571,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:08:41] local.INFO: Processing buffer {"connection_id":161571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:08:41] local.INFO: IMEI packet received {"connection_id":161571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":161571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:08:43] local.INFO: TCP Data received {"connection_id":161571,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:08:43] local.INFO: Processing buffer {"connection_id":161571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:08:43] local.INFO: IMEI packet received {"connection_id":161571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":161571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:08:44] local.INFO: TCP Data received {"connection_id":161571,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376c1000012d7b3f4005e1c288000a00b719..."} 
[2026-08-25 11:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376c1000012d7b3f4005e1c288000a00b719..."} 
[2026-08-25 11:08:44] local.INFO: Processing buffer {"connection_id":161571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376c1000012d7b3f4005e1c288000a00b719..."} 
[2026-08-25 11:08:44] local.INFO: Packet analysis {"connection_id":161571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:08:44] local.INFO: Extracted packet for processing {"connection_id":161571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:08:44] local.INFO: GPS Element Parsed {"raw_longitude":763051840,"raw_latitude":98681480,"longitude_deg":76.305184,"latitude_deg":9.868148,"altitude":10,"angle":183,"satellites":25,"speed":17,"hex_longitude":"2d7b3f40","hex_latitude":"05e1c288","is_valid_coordinates":true} 
[2026-08-25 11:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634870272001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123287461433442304,"note":"Value kept but may cause issues"} 
[2026-08-25 11:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880183696764956672,"note":"Value kept but may cause issues"} 
[2026-08-25 11:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787636224000,"timestamp_ms":1787636224000,"timestamp_seconds":1787636224,"priority":1,"record_length":96,"hex_timestamp":"000001a0376c1000"} 
[2026-08-25 11:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:08: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-25 11:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-25 11:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634870272001,"66":11450,"207":206,"85":15104,"24":17,"16":123287461433442304,"45":8880183696764956672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-25 11:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634870272001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:08:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 11:08:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123287461433442304,"km_value":123287461433442.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880183696764956672,"description":"Unknown IO ID 45"} 
[2026-08-25 11:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634870272001,"power":11450,"unknown_207":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8880183696764956672}} 
[2026-08-25 11:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":161571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:08:44] local.INFO: GPS data processed {"connection_id":161571,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:08:44] local.INFO: Acknowledgment sent {"connection_id":161571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:08:45] local.INFO: TCP Data received {"connection_id":161572,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:08:45] local.INFO: Processing buffer {"connection_id":161572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:08:45] local.INFO: IMEI packet received {"connection_id":161572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":161572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:08:52] local.INFO: TCP Data received {"connection_id":161572,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:08:52] local.INFO: Processing buffer {"connection_id":161572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:08:52] local.INFO: IMEI packet received {"connection_id":161572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":161572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:08:56] local.INFO: TCP Data received {"connection_id":161572,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:08:56] local.INFO: Processing buffer {"connection_id":161572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:08:56] local.INFO: Packet analysis {"connection_id":161572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:08:56] local.INFO: Extracted packet for processing {"connection_id":161572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:08:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634804480001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787636256000,"timestamp_ms":1787636256000,"timestamp_seconds":1787636256,"priority":1,"record_length":96,"hex_timestamp":"000001a0376c8d00"} 
[2026-08-25 11: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-25 11:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11: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-25 11: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-25 11:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634804480001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634804480001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:08:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:08:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634804480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":161572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:08:56] local.INFO: GPS data processed {"connection_id":161572,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:08:56] local.INFO: Acknowledgment sent {"connection_id":161572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:09:15] local.INFO: TCP Data received {"connection_id":161571,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376dc580012d7b728005e05a48000500ae17..."} 
[2026-08-25 11:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376dc580012d7b728005e05a48000500ae17..."} 
[2026-08-25 11:09:15] local.INFO: Processing buffer {"connection_id":161571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376dc580012d7b728005e05a48000500ae17..."} 
[2026-08-25 11:09:15] local.INFO: Packet analysis {"connection_id":161571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376d"} 
[2026-08-25 11:09:15] local.INFO: Extracted packet for processing {"connection_id":161571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376d"} 
[2026-08-25 11:09:15] local.INFO: GPS Element Parsed {"raw_longitude":763064960,"raw_latitude":98589256,"longitude_deg":76.306496,"latitude_deg":9.8589256,"altitude":5,"angle":174,"satellites":23,"speed":55,"hex_longitude":"2d7b7280","hex_latitude":"05e05a48","is_valid_coordinates":true} 
[2026-08-25 11:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634900224001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123291992623939584,"note":"Value kept but may cause issues"} 
[2026-08-25 11:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894046339344701440,"note":"Value kept but may cause issues"} 
[2026-08-25 11:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787636336000,"timestamp_ms":1787636336000,"timestamp_seconds":1787636336,"priority":1,"record_length":96,"hex_timestamp":"000001a0376dc580"} 
[2026-08-25 11:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11: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-25 11:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 11:09:15] 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-25 11:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634900224001,"66":11569,"217":206,"85":15104,"24":55,"16":123291992623939584,"45":8894046339344701440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 11:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634900224001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:09:15] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 11:09:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123291992623939584,"km_value":123291992623939.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894046339344701440,"description":"Unknown IO ID 45"} 
[2026-08-25 11:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634900224001,"power":11569,"unknown_217":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8894046339344701440}} 
[2026-08-25 11:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":161571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:09:15] local.INFO: GPS data processed {"connection_id":161571,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:09:15] local.INFO: Acknowledgment sent {"connection_id":161571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:09:40] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:09:40] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:09:40] local.INFO: IMEI packet received {"connection_id":161810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":161810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:09:41] local.INFO: TCP Data received {"connection_id":164187,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:09:41] local.INFO: Processing buffer {"connection_id":164187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:09:41] local.INFO: IMEI packet received {"connection_id":164187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":164187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:09:41] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:09:41] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:09:41] local.INFO: IMEI packet received {"connection_id":161810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":161810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:09:45] local.INFO: TCP Data received {"connection_id":164187,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:09:45] local.INFO: Processing buffer {"connection_id":164187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:09:45] local.INFO: IMEI packet received {"connection_id":164187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":164187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:09:46] local.INFO: TCP Data received {"connection_id":164187,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:09:46] local.INFO: Processing buffer {"connection_id":164187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:09:46] local.INFO: Packet analysis {"connection_id":164187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:09:46] local.INFO: Extracted packet for processing {"connection_id":164187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634804480001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787636256000,"timestamp_ms":1787636256000,"timestamp_seconds":1787636256,"priority":1,"record_length":96,"hex_timestamp":"000001a0376c8d00"} 
[2026-08-25 11:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634804480001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634804480001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:09:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634804480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":164187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:09:46] local.INFO: GPS data processed {"connection_id":164187,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:09:46] local.INFO: Acknowledgment sent {"connection_id":164187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:09:46] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:09:46] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:09:46] local.INFO: IMEI packet received {"connection_id":161810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":161810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:09:48] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376de0d8012d7b75c005e03578000700ae16..."} 
[2026-08-25 11:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376de0d8012d7b75c005e03578000700ae16..."} 
[2026-08-25 11:09:48] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376de0d8012d7b75c005e03578000700ae16..."} 
[2026-08-25 11:09:48] local.INFO: Packet analysis {"connection_id":161810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376d"} 
[2026-08-25 11:09:48] local.INFO: Extracted packet for processing {"connection_id":161810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376d"} 
[2026-08-25 11:09:48] local.INFO: GPS Element Parsed {"raw_longitude":763065792,"raw_latitude":98579832,"longitude_deg":76.3065792,"latitude_deg":9.8579832,"altitude":7,"angle":174,"satellites":22,"speed":54,"hex_longitude":"2d7b75c0","hex_latitude":"05e03578","is_valid_coordinates":true} 
[2026-08-25 11:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634902016001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123292452185440256,"note":"Value kept but may cause issues"} 
[2026-08-25 11:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895312976737355776,"note":"Value kept but may cause issues"} 
[2026-08-25 11:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787636343000,"timestamp_ms":1787636343000,"timestamp_seconds":1787636343,"priority":1,"record_length":96,"hex_timestamp":"000001a0376de0d8"} 
[2026-08-25 11:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-25 11:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634902016001,"66":11471,"217":206,"85":15104,"24":54,"16":123292452185440256,"45":8895312976737355776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 11:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634902016001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:09:48] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 11:09:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123292452185440256,"km_value":123292452185440.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895312976737355776,"description":"Unknown IO ID 45"} 
[2026-08-25 11:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634902016001,"power":11471,"unknown_217":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8895312976737355776}} 
[2026-08-25 11:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":161810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:09:48] local.INFO: GPS data processed {"connection_id":161810,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:09:48] local.INFO: Acknowledgment sent {"connection_id":161810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:10:18] local.INFO: TCP Data received {"connection_id":164187,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:10:18] local.INFO: Processing buffer {"connection_id":164187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:10:18] local.INFO: Packet analysis {"connection_id":164187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:10:18] local.INFO: Extracted packet for processing {"connection_id":164187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:10:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634804480001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787636256000,"timestamp_ms":1787636256000,"timestamp_seconds":1787636256,"priority":1,"record_length":96,"hex_timestamp":"000001a0376c8d00"} 
[2026-08-25 11:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634804480001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634804480001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:10:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:10:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634804480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":164187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:10:18] local.INFO: GPS data processed {"connection_id":164187,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:10:18] local.INFO: Acknowledgment sent {"connection_id":164187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:10:19] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376dfc30012d7b7a4005e01258000700ad17..."} 
[2026-08-25 11:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376dfc30012d7b7a4005e01258000700ad17..."} 
[2026-08-25 11:10:19] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376dfc30012d7b7a4005e01258000700ad17..."} 
[2026-08-25 11:10:19] local.INFO: Packet analysis {"connection_id":161810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376d"} 
[2026-08-25 11:10:19] local.INFO: Extracted packet for processing {"connection_id":161810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376d"} 
[2026-08-25 11:10:19] local.INFO: GPS Element Parsed {"raw_longitude":763066944,"raw_latitude":98570840,"longitude_deg":76.3066944,"latitude_deg":9.857084,"altitude":7,"angle":173,"satellites":23,"speed":49,"hex_longitude":"2d7b7a40","hex_latitude":"05e01258","is_valid_coordinates":true} 
[2026-08-25 11:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634903808001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123292890272104448,"note":"Value kept but may cause issues"} 
[2026-08-25 11:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896227770409252864,"note":"Value kept but may cause issues"} 
[2026-08-25 11:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787636350000,"timestamp_ms":1787636350000,"timestamp_seconds":1787636350,"priority":1,"record_length":96,"hex_timestamp":"000001a0376dfc30"} 
[2026-08-25 11:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-25 11:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634903808001,"66":11547,"217":206,"85":15104,"24":49,"16":123292890272104448,"45":8896227770409252864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 11:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634903808001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:10:19] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 11:10:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123292890272104448,"km_value":123292890272104.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896227770409252864,"description":"Unknown IO ID 45"} 
[2026-08-25 11:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634903808001,"power":11547,"unknown_217":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8896227770409252864}} 
[2026-08-25 11:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":161810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:10:19] local.INFO: GPS data processed {"connection_id":161810,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:10:19] local.INFO: Acknowledgment sent {"connection_id":161810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:10:40] local.INFO: TCP Data received {"connection_id":162806,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:10:40] local.INFO: Processing buffer {"connection_id":162806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:10:40] local.INFO: IMEI packet received {"connection_id":162806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":162806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:10:41] local.INFO: TCP Data received {"connection_id":162807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:10:41] local.INFO: Processing buffer {"connection_id":162807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:10:41] local.INFO: IMEI packet received {"connection_id":162807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":162807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:10:42] local.INFO: TCP Data received {"connection_id":162807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:10:42] local.INFO: Processing buffer {"connection_id":162807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:10:42] local.INFO: IMEI packet received {"connection_id":162807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":162807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:10:45] local.INFO: TCP Data received {"connection_id":162806,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:10:45] local.INFO: Processing buffer {"connection_id":162806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:10:45] local.INFO: IMEI packet received {"connection_id":162806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":162806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:10:46] local.INFO: TCP Data received {"connection_id":162807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:10:46] local.INFO: Processing buffer {"connection_id":162807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:10:46] local.INFO: IMEI packet received {"connection_id":162807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":162807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:10:47] local.INFO: TCP Data received {"connection_id":162807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376e1b70012d7b7f8005dfeef0000500aa1a..."} 
[2026-08-25 11:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376e1b70012d7b7f8005dfeef0000500aa1a..."} 
[2026-08-25 11:10:47] local.INFO: Processing buffer {"connection_id":162807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376e1b70012d7b7f8005dfeef0000500aa1a..."} 
[2026-08-25 11:10:47] local.INFO: Packet analysis {"connection_id":162807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376e"} 
[2026-08-25 11:10:47] local.INFO: Extracted packet for processing {"connection_id":162807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376e"} 
[2026-08-25 11:10:47] local.INFO: GPS Element Parsed {"raw_longitude":763068288,"raw_latitude":98561776,"longitude_deg":76.3068288,"latitude_deg":9.8561776,"altitude":5,"angle":170,"satellites":26,"speed":36,"hex_longitude":"2d7b7f80","hex_latitude":"05dfeef0","is_valid_coordinates":true} 
[2026-08-25 11:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634905600001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123293336948703232,"note":"Value kept but may cause issues"} 
[2026-08-25 11:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897494407802148864,"note":"Value kept but may cause issues"} 
[2026-08-25 11:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787636358000,"timestamp_ms":1787636358000,"timestamp_seconds":1787636358,"priority":1,"record_length":96,"hex_timestamp":"000001a0376e1b70"} 
[2026-08-25 11:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 11:10:47] 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-25 11:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634905600001,"66":11461,"217":206,"85":15104,"24":36,"16":123293336948703232,"45":8897494407802148864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 11:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634905600001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:10:47] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 11:10:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123293336948703232,"km_value":123293336948703.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897494407802148864,"description":"Unknown IO ID 45"} 
[2026-08-25 11:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634905600001,"power":11461,"unknown_217":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8897494407802148864}} 
[2026-08-25 11:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":162807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:10:47] local.INFO: GPS data processed {"connection_id":162807,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:10:47] local.INFO: Acknowledgment sent {"connection_id":162807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:10:50] local.INFO: TCP Data received {"connection_id":162806,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:10:50] local.INFO: Processing buffer {"connection_id":162806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:10:50] local.INFO: IMEI packet received {"connection_id":162806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":162806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:10:52] local.INFO: TCP Data received {"connection_id":162806,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:10:52] local.INFO: Processing buffer {"connection_id":162806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:10:52] local.INFO: Packet analysis {"connection_id":162806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:10:52] local.INFO: Extracted packet for processing {"connection_id":162806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634804480001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787636256000,"timestamp_ms":1787636256000,"timestamp_seconds":1787636256,"priority":1,"record_length":96,"hex_timestamp":"000001a0376c8d00"} 
[2026-08-25 11:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634804480001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634804480001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:10:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634804480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":162806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:10:52] local.INFO: GPS data processed {"connection_id":162806,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:10:52] local.INFO: Acknowledgment sent {"connection_id":162806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:11:18] local.INFO: TCP Data received {"connection_id":162807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376e4668012d7b838005dfcbf8000100ac1c..."} 
[2026-08-25 11:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376e4668012d7b838005dfcbf8000100ac1c..."} 
[2026-08-25 11:11:18] local.INFO: Processing buffer {"connection_id":162807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376e4668012d7b838005dfcbf8000100ac1c..."} 
[2026-08-25 11:11:18] local.INFO: Packet analysis {"connection_id":162807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376e"} 
[2026-08-25 11:11:18] local.INFO: Extracted packet for processing {"connection_id":162807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376e"} 
[2026-08-25 11:11:18] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":98552824,"longitude_deg":76.3069312,"latitude_deg":9.8552824,"altitude":1,"angle":172,"satellites":28,"speed":28,"hex_longitude":"2d7b8380","hex_latitude":"05dfcbf8","is_valid_coordinates":true} 
[2026-08-25 11:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634907648001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123293770740400128,"note":"Value kept but may cause issues"} 
[2026-08-25 11:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898972151427559424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:11:18] 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-25 11:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787636369000,"timestamp_ms":1787636369000,"timestamp_seconds":1787636369,"priority":1,"record_length":96,"hex_timestamp":"000001a0376e4668"} 
[2026-08-25 11:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:11: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-25 11:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-25 11:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634907648001,"66":11547,"103":206,"85":15104,"24":28,"16":123293770740400128,"45":8898972151427559424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-25 11:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634907648001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:11:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 11:11:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123293770740400128,"km_value":123293770740400.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898972151427559424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634907648001,"power":11547,"unknown_103":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8898972151427559424}} 
[2026-08-25 11:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":162807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:11:18] local.INFO: GPS data processed {"connection_id":162807,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:11:18] local.INFO: Acknowledgment sent {"connection_id":162807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:11:23] local.INFO: TCP Data received {"connection_id":162806,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:11:23] local.INFO: Processing buffer {"connection_id":162806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:11:23] local.INFO: Packet analysis {"connection_id":162806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:11:23] local.INFO: Extracted packet for processing {"connection_id":162806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:11:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634804480001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787636256000,"timestamp_ms":1787636256000,"timestamp_seconds":1787636256,"priority":1,"record_length":96,"hex_timestamp":"000001a0376c8d00"} 
[2026-08-25 11:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634804480001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634804480001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:11:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:11:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634804480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":162806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:11:23] local.INFO: GPS data processed {"connection_id":162806,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:11:23] local.INFO: Acknowledgment sent {"connection_id":162806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:11:40] local.INFO: TCP Data received {"connection_id":162808,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:11:40] local.INFO: Processing buffer {"connection_id":162808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:11:40] local.INFO: IMEI packet received {"connection_id":162808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":162808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:11:40] local.INFO: TCP Data received {"connection_id":161811,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:11:40] local.INFO: Processing buffer {"connection_id":161811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:11:40] local.INFO: IMEI packet received {"connection_id":161811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":161811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:11:41] local.INFO: TCP Data received {"connection_id":161811,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:11:41] local.INFO: Processing buffer {"connection_id":161811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:11:41] local.INFO: IMEI packet received {"connection_id":161811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":161811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:11:45] local.INFO: TCP Data received {"connection_id":162808,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:11:45] local.INFO: Processing buffer {"connection_id":162808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:11:45] local.INFO: IMEI packet received {"connection_id":162808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":162808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:11:46] local.INFO: TCP Data received {"connection_id":162808,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:11:46] local.INFO: Processing buffer {"connection_id":162808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:11:46] local.INFO: Packet analysis {"connection_id":162808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:11:46] local.INFO: Extracted packet for processing {"connection_id":162808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634804480001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787636256000,"timestamp_ms":1787636256000,"timestamp_seconds":1787636256,"priority":1,"record_length":96,"hex_timestamp":"000001a0376c8d00"} 
[2026-08-25 11:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634804480001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634804480001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634804480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":162808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:11:46] local.INFO: GPS data processed {"connection_id":162808,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:11:46] local.INFO: Acknowledgment sent {"connection_id":162808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:11:46] local.INFO: TCP Data received {"connection_id":161811,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:11:46] local.INFO: Processing buffer {"connection_id":161811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:11:46] local.INFO: IMEI packet received {"connection_id":161811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":161811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:11:47] local.INFO: TCP Data received {"connection_id":161811,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376fc920012d7bb20005de3d00000000ab1c..."} 
[2026-08-25 11:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376fc920012d7bb20005de3d00000000ab1c..."} 
[2026-08-25 11:11:47] local.INFO: Processing buffer {"connection_id":161811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376fc920012d7bb20005de3d00000000ab1c..."} 
[2026-08-25 11:11:47] local.INFO: Packet analysis {"connection_id":161811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376f"} 
[2026-08-25 11:11:47] local.INFO: Extracted packet for processing {"connection_id":161811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376f"} 
[2026-08-25 11:11:47] local.INFO: GPS Element Parsed {"raw_longitude":763081216,"raw_latitude":98450688,"longitude_deg":76.3081216,"latitude_deg":9.8450688,"altitude":0,"angle":171,"satellites":28,"speed":25,"hex_longitude":"2d7bb200","hex_latitude":"05de3d00","is_valid_coordinates":true} 
[2026-08-25 11:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634932992001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911849631585923072,"note":"Value kept but may cause issues"} 
[2026-08-25 11:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123298765787365376,"note":"Value kept but may cause issues"} 
[2026-08-25 11:11:47] 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-25 11:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787636468000,"timestamp_ms":1787636468000,"timestamp_seconds":1787636468,"priority":1,"record_length":96,"hex_timestamp":"000001a0376fc920"} 
[2026-08-25 11:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 11:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634932992001,"66":13048,"45":8911849631585923072,"85":15104,"24":25,"16":123298765787365376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 11:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634932992001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911849631585923072,"description":"Unknown IO ID 45"} 
[2026-08-25 11:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123298765787365376,"km_value":123298765787365.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:11:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634932992001,"power":13048,"unknown_45":8911849631585923072,"unknown_85":15104,"ignition":25,"odometer":null}} 
[2026-08-25 11:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":161811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:11:47] local.INFO: GPS data processed {"connection_id":161811,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:11:47] local.INFO: Acknowledgment sent {"connection_id":161811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:12:17] local.INFO: TCP Data received {"connection_id":162808,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:12:17] local.INFO: Processing buffer {"connection_id":162808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:12:17] local.INFO: Packet analysis {"connection_id":162808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:12:17] local.INFO: Extracted packet for processing {"connection_id":162808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634804480001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787636256000,"timestamp_ms":1787636256000,"timestamp_seconds":1787636256,"priority":1,"record_length":96,"hex_timestamp":"000001a0376c8d00"} 
[2026-08-25 11: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-25 11:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634804480001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634804480001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634804480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":162808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:12:17] local.INFO: GPS data processed {"connection_id":162808,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:12:17] local.INFO: Acknowledgment sent {"connection_id":162808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:12:18] local.INFO: TCP Data received {"connection_id":161811,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377007a0012d7bb98005de18f8000000a71c..."} 
[2026-08-25 11:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377007a0012d7bb98005de18f8000000a71c..."} 
[2026-08-25 11:12:18] local.INFO: Processing buffer {"connection_id":161811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377007a0012d7bb98005de18f8000000a71c..."} 
[2026-08-25 11:12:18] local.INFO: Packet analysis {"connection_id":161811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03770"} 
[2026-08-25 11:12:18] local.INFO: Extracted packet for processing {"connection_id":161811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03770"} 
[2026-08-25 11:12:18] local.INFO: GPS Element Parsed {"raw_longitude":763083136,"raw_latitude":98441464,"longitude_deg":76.3083136,"latitude_deg":9.8441464,"altitude":0,"angle":167,"satellites":28,"speed":30,"hex_longitude":"2d7bb980","hex_latitude":"05de18f8","is_valid_coordinates":true} 
[2026-08-25 11:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634935808001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913186637723009024,"note":"Value kept but may cause issues"} 
[2026-08-25 11:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123299221053898752,"note":"Value kept but may cause issues"} 
[2026-08-25 11:12: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-25 11:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787636484000,"timestamp_ms":1787636484000,"timestamp_seconds":1787636484,"priority":1,"record_length":96,"hex_timestamp":"000001a0377007a0"} 
[2026-08-25 11:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 11:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634935808001,"66":13189,"45":8913186637723009024,"85":15104,"24":30,"16":123299221053898752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 11:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634935808001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913186637723009024,"description":"Unknown IO ID 45"} 
[2026-08-25 11:12:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123299221053898752,"km_value":123299221053898.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:12:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634935808001,"power":13189,"unknown_45":8913186637723009024,"unknown_85":15104,"ignition":30,"odometer":null}} 
[2026-08-25 11:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":161811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:12:18] local.INFO: GPS data processed {"connection_id":161811,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:12:18] local.INFO: Acknowledgment sent {"connection_id":161811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:12:40] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:12:40] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:12:40] local.INFO: IMEI packet received {"connection_id":161812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":161812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:12:41] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:12:41] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:12:41] local.INFO: IMEI packet received {"connection_id":161813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":161813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:12:42] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:12:42] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:12:42] local.INFO: IMEI packet received {"connection_id":161813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":161813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:12:45] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:12:45] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:12:45] local.INFO: IMEI packet received {"connection_id":161812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":161812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:12:46] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:12:46] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:12:46] local.INFO: IMEI packet received {"connection_id":161813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":161813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:12:47] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037704238012d7bc1c005ddf720000000aa1d..."} 
[2026-08-25 11:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037704238012d7bc1c005ddf720000000aa1d..."} 
[2026-08-25 11:12:47] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037704238012d7bc1c005ddf720000000aa1d..."} 
[2026-08-25 11:12:47] local.INFO: Packet analysis {"connection_id":161813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03770"} 
[2026-08-25 11:12:47] local.INFO: Extracted packet for processing {"connection_id":161813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03770"} 
[2026-08-25 11:12:47] local.INFO: GPS Element Parsed {"raw_longitude":763085248,"raw_latitude":98432800,"longitude_deg":76.3085248,"latitude_deg":9.84328,"altitude":0,"angle":170,"satellites":29,"speed":26,"hex_longitude":"2d7bc1c0","hex_latitude":"05ddf720","is_valid_coordinates":true} 
[2026-08-25 11:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634939904001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915297700045977600,"note":"Value kept but may cause issues"} 
[2026-08-25 11:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123299654845595648,"note":"Value kept but may cause issues"} 
[2026-08-25 11:12:47] 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-25 11:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787636499000,"timestamp_ms":1787636499000,"timestamp_seconds":1787636499,"priority":1,"record_length":96,"hex_timestamp":"000001a037704238"} 
[2026-08-25 11:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 11:12:47] 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-25 11:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634939904001,"66":13189,"45":8915297700045977600,"85":15104,"24":26,"16":123299654845595648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 11:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634939904001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915297700045977600,"description":"Unknown IO ID 45"} 
[2026-08-25 11:12:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123299654845595648,"km_value":123299654845595.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:12:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634939904001,"power":13189,"unknown_45":8915297700045977600,"unknown_85":15104,"ignition":26,"odometer":null}} 
[2026-08-25 11:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":161813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:12:47] local.INFO: GPS data processed {"connection_id":161813,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:12:47] local.INFO: Acknowledgment sent {"connection_id":161813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:12:47] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:12:47] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0376c8d00012d34c0c006aa4878000a00552a..."} 
[2026-08-25 11:12:47] local.INFO: Packet analysis {"connection_id":161812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:12:47] local.INFO: Extracted packet for processing {"connection_id":161812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0376c"} 
[2026-08-25 11:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634804480001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787636256000,"timestamp_ms":1787636256000,"timestamp_seconds":1787636256,"priority":1,"record_length":96,"hex_timestamp":"000001a0376c8d00"} 
[2026-08-25 11:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634804480001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634804480001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634804480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":161812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:12:47] local.INFO: GPS data processed {"connection_id":161812,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:12:47] local.INFO: Acknowledgment sent {"connection_id":161812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:13:19] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037706948012d7bc88005ddd260000000a81d..."} 
[2026-08-25 11:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037706948012d7bc88005ddd260000000a81d..."} 
[2026-08-25 11:13:19] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037706948012d7bc88005ddd260000000a81d..."} 
[2026-08-25 11:13:19] local.INFO: Packet analysis {"connection_id":161813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03770"} 
[2026-08-25 11:13:19] local.INFO: Extracted packet for processing {"connection_id":161813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03770"} 
[2026-08-25 11:13:19] local.INFO: GPS Element Parsed {"raw_longitude":763086976,"raw_latitude":98423392,"longitude_deg":76.3086976,"latitude_deg":9.8423392,"altitude":0,"angle":168,"satellites":29,"speed":42,"hex_longitude":"2d7bc880","hex_latitude":"05ddd260","is_valid_coordinates":true} 
[2026-08-25 11:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634943744001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917619868601622528,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123300122997030912,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:19] 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-25 11:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787636509000,"timestamp_ms":1787636509000,"timestamp_seconds":1787636509,"priority":1,"record_length":96,"hex_timestamp":"000001a037706948"} 
[2026-08-25 11:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 11:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634943744001,"66":13254,"45":8917619868601622528,"85":15104,"24":42,"16":123300122997030912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 11:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634943744001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917619868601622528,"description":"Unknown IO ID 45"} 
[2026-08-25 11:13:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123300122997030912,"km_value":123300122997030.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:13:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457634943744001,"power":13254,"unknown_45":8917619868601622528,"unknown_85":15104,"ignition":42,"odometer":null}} 
[2026-08-25 11:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":161813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:13:19] local.INFO: GPS data processed {"connection_id":161813,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:13:19] local.INFO: Acknowledgment sent {"connection_id":161813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:13:19] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:13:19] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:13:19] local.INFO: Packet analysis {"connection_id":161812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:13:19] local.INFO: Extracted packet for processing {"connection_id":161812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634881536001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787636557000,"timestamp_ms":1787636557000,"timestamp_seconds":1787636557,"priority":1,"record_length":96,"hex_timestamp":"000001a0377124c8"} 
[2026-08-25 11:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634881536001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634881536001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:13:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634881536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":161812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:13:19] local.INFO: GPS data processed {"connection_id":161812,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:13:19] local.INFO: Acknowledgment sent {"connection_id":161812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:13:45] local.INFO: TCP Data received {"connection_id":164188,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:13:45] local.INFO: Processing buffer {"connection_id":164188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:13:45] local.INFO: IMEI packet received {"connection_id":164188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":164188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:13:46] local.INFO: TCP Data received {"connection_id":162809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:13:46] local.INFO: Processing buffer {"connection_id":162809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:13:46] local.INFO: IMEI packet received {"connection_id":162809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":162809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:13:49] local.INFO: TCP Data received {"connection_id":162809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:13:49] local.INFO: Processing buffer {"connection_id":162809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:13:49] local.INFO: IMEI packet received {"connection_id":162809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":162809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:13:50] local.INFO: TCP Data received {"connection_id":162809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03771b938012d7beb8005dc3280000400b119..."} 
[2026-08-25 11:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03771b938012d7beb8005dc3280000400b119..."} 
[2026-08-25 11:13:50] local.INFO: Processing buffer {"connection_id":162809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03771b938012d7beb8005dc3280000400b119..."} 
[2026-08-25 11:13:50] local.INFO: Packet analysis {"connection_id":162809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:13:50] local.INFO: Extracted packet for processing {"connection_id":162809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:13:50] local.INFO: GPS Element Parsed {"raw_longitude":763095936,"raw_latitude":98316928,"longitude_deg":76.3095936,"latitude_deg":9.8316928,"altitude":4,"angle":177,"satellites":25,"speed":27,"hex_longitude":"2d7beb80","hex_latitude":"05dc3280","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634966016001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123305311317524480,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973875304448,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787636595000,"timestamp_ms":1787636595000,"timestamp_seconds":1787636595,"priority":1,"record_length":96,"hex_timestamp":"000001a03771b938"} 
[2026-08-25 11: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-25 11:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 11:13:50] 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-25 11: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-25 11: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-25 11:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634966016001,"66":12982,"168":206,"85":15104,"24":27,"16":123305311317524480,"45":8929089973875304448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 11:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634966016001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:13:50] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 11:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123305311317524480,"km_value":123305311317524.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973875304448,"description":"Unknown IO ID 45"} 
[2026-08-25 11:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634966016001,"power":12982,"unknown_168":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8929089973875304448}} 
[2026-08-25 11:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":162809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:13:50] local.INFO: GPS data processed {"connection_id":162809,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:13:50] local.INFO: Acknowledgment sent {"connection_id":162809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:13:50] local.INFO: TCP Data received {"connection_id":164188,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:13:50] local.INFO: Processing buffer {"connection_id":164188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:13:50] local.INFO: IMEI packet received {"connection_id":164188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":164188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:13:51] local.INFO: TCP Data received {"connection_id":162809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03771e818012d7bee4005dc0e40000500ad17..."} 
[2026-08-25 11:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03771e818012d7bee4005dc0e40000500ad17..."} 
[2026-08-25 11:13:51] local.INFO: Processing buffer {"connection_id":162809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03771e818012d7bee4005dc0e40000500ad17..."} 
[2026-08-25 11:13:51] local.INFO: Packet analysis {"connection_id":162809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:13:51] local.INFO: Extracted packet for processing {"connection_id":162809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:13:51] local.INFO: GPS Element Parsed {"raw_longitude":763096640,"raw_latitude":98307648,"longitude_deg":76.309664,"latitude_deg":9.8307648,"altitude":5,"angle":173,"satellites":23,"speed":39,"hex_longitude":"2d7bee40","hex_latitude":"05dc0e40","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634968320001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123305762289090560,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929371448849629184,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787636607000,"timestamp_ms":1787636607000,"timestamp_seconds":1787636607,"priority":1,"record_length":96,"hex_timestamp":"000001a03771e818"} 
[2026-08-25 11: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-25 11:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-25 11:13:51] 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-25 11: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-25 11: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-25 11:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634968320001,"66":13135,"168":206,"85":15104,"24":39,"16":123305762289090560,"45":8929371448849629184},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 11:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634968320001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:13:51] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 11:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123305762289090560,"km_value":123305762289090.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929371448849629184,"description":"Unknown IO ID 45"} 
[2026-08-25 11:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634968320001,"power":13135,"unknown_168":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8929371448849629184}} 
[2026-08-25 11:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":162809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:13:51] local.INFO: GPS data processed {"connection_id":162809,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:13:51] local.INFO: Acknowledgment sent {"connection_id":162809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:13:53] local.INFO: TCP Data received {"connection_id":164188,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:13:53] local.INFO: Processing buffer {"connection_id":164188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:13:53] local.INFO: Packet analysis {"connection_id":164188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:13:53] local.INFO: Extracted packet for processing {"connection_id":164188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634881536001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787636557000,"timestamp_ms":1787636557000,"timestamp_seconds":1787636557,"priority":1,"record_length":96,"hex_timestamp":"000001a0377124c8"} 
[2026-08-25 11:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634881536001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634881536001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634881536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":164188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:13:53] local.INFO: GPS data processed {"connection_id":164188,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:13:53] local.INFO: Acknowledgment sent {"connection_id":164188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:14:22] local.INFO: TCP Data received {"connection_id":162809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037720f28012d7bf20005dbeb30000500ab1b..."} 
[2026-08-25 11:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037720f28012d7bf20005dbeb30000500ab1b..."} 
[2026-08-25 11:14:22] local.INFO: Processing buffer {"connection_id":162809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037720f28012d7bf20005dbeb30000500ab1b..."} 
[2026-08-25 11:14:22] local.INFO: Packet analysis {"connection_id":162809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03772"} 
[2026-08-25 11:14:22] local.INFO: Extracted packet for processing {"connection_id":162809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03772"} 
[2026-08-25 11:14:22] local.INFO: GPS Element Parsed {"raw_longitude":763097600,"raw_latitude":98298672,"longitude_deg":76.30976,"latitude_deg":9.8298672,"altitude":5,"angle":171,"satellites":27,"speed":33,"hex_longitude":"2d7bf200","hex_latitude":"05dbeb30","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634971392001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123306200375754752,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930145505033207808,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787636617000,"timestamp_ms":1787636617000,"timestamp_seconds":1787636617,"priority":1,"record_length":96,"hex_timestamp":"000001a037720f28"} 
[2026-08-25 11: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-25 11:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 11:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634971392001,"66":13243,"168":206,"85":15104,"24":33,"16":123306200375754752,"45":8930145505033207808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 11:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634971392001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:14:22] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 11:14:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123306200375754752,"km_value":123306200375754.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930145505033207808,"description":"Unknown IO ID 45"} 
[2026-08-25 11:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634971392001,"power":13243,"unknown_168":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8930145505033207808}} 
[2026-08-25 11:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":162809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:14:22] local.INFO: GPS data processed {"connection_id":162809,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:14:22] local.INFO: Acknowledgment sent {"connection_id":162809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:14:24] local.INFO: TCP Data received {"connection_id":164188,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:14:24] local.INFO: Processing buffer {"connection_id":164188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:14:24] local.INFO: Packet analysis {"connection_id":164188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:14:24] local.INFO: Extracted packet for processing {"connection_id":164188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634881536001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787636557000,"timestamp_ms":1787636557000,"timestamp_seconds":1787636557,"priority":1,"record_length":96,"hex_timestamp":"000001a0377124c8"} 
[2026-08-25 11:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634881536001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634881536001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634881536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":164188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:14:24] local.INFO: GPS data processed {"connection_id":164188,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:14:24] local.INFO: Acknowledgment sent {"connection_id":164188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:14:40] local.INFO: TCP Data received {"connection_id":161573,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:14:40] local.INFO: Processing buffer {"connection_id":161573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:14:40] local.INFO: IMEI packet received {"connection_id":161573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":161573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:14:41] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:14:41] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:14:41] local.INFO: IMEI packet received {"connection_id":161814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":161814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:14:45] local.INFO: TCP Data received {"connection_id":161573,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:14:45] local.INFO: Processing buffer {"connection_id":161573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:14:45] local.INFO: IMEI packet received {"connection_id":161573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":161573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:14:46] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:14:46] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:14:46] local.INFO: IMEI packet received {"connection_id":161814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":161814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:14:46] local.INFO: TCP Data received {"connection_id":161573,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:14:46] local.INFO: Processing buffer {"connection_id":161573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:14:46] local.INFO: Packet analysis {"connection_id":161573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:14:46] local.INFO: Extracted packet for processing {"connection_id":161573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634881536001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787636557000,"timestamp_ms":1787636557000,"timestamp_seconds":1787636557,"priority":1,"record_length":96,"hex_timestamp":"000001a0377124c8"} 
[2026-08-25 11:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634881536001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634881536001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:14:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634881536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":161573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:14:46] local.INFO: GPS data processed {"connection_id":161573,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:14:46] local.INFO: Acknowledgment sent {"connection_id":161573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:14:47] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037723a20012d7bf9c005dbc600000600a519..."} 
[2026-08-25 11:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037723a20012d7bf9c005dbc600000600a519..."} 
[2026-08-25 11:14:47] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037723a20012d7bf9c005dbc600000600a519..."} 
[2026-08-25 11:14:47] local.INFO: Packet analysis {"connection_id":161814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03772"} 
[2026-08-25 11:14:47] local.INFO: Extracted packet for processing {"connection_id":161814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03772"} 
[2026-08-25 11:14:47] local.INFO: GPS Element Parsed {"raw_longitude":763099584,"raw_latitude":98289152,"longitude_deg":76.3099584,"latitude_deg":9.8289152,"altitude":6,"angle":165,"satellites":25,"speed":38,"hex_longitude":"2d7bf9c0","hex_latitude":"05dbc600","is_valid_coordinates":true} 
[2026-08-25 11:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634973952001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123306672822157312,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931201036193574912,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787636628000,"timestamp_ms":1787636628000,"timestamp_seconds":1787636628,"priority":1,"record_length":96,"hex_timestamp":"000001a037723a20"} 
[2026-08-25 11:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 11:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634973952001,"66":13330,"168":206,"85":15104,"24":38,"16":123306672822157312,"45":8931201036193574912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 11:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634973952001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:14:47] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 11:14:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123306672822157312,"km_value":123306672822157.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931201036193574912,"description":"Unknown IO ID 45"} 
[2026-08-25 11:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634973952001,"power":13330,"unknown_168":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8931201036193574912}} 
[2026-08-25 11:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":161814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:14:47] local.INFO: GPS data processed {"connection_id":161814,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:14:47] local.INFO: Acknowledgment sent {"connection_id":161814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:14:52] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037725d48012d7c01c005dba358000500a513..."} 
[2026-08-25 11:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037725d48012d7c01c005dba358000500a513..."} 
[2026-08-25 11:14:52] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037725d48012d7c01c005dba358000500a513..."} 
[2026-08-25 11:14:52] local.INFO: Packet analysis {"connection_id":161814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03772"} 
[2026-08-25 11:14:52] local.INFO: Extracted packet for processing {"connection_id":161814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03772"} 
[2026-08-25 11:14:52] local.INFO: GPS Element Parsed {"raw_longitude":763101632,"raw_latitude":98280280,"longitude_deg":76.3101632,"latitude_deg":9.828028,"altitude":5,"angle":165,"satellites":19,"speed":37,"hex_longitude":"2d7c01c0","hex_latitude":"05dba358","is_valid_coordinates":true} 
[2026-08-25 11:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634976768001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123307115203788800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933382467260645376,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787636637000,"timestamp_ms":1787636637000,"timestamp_seconds":1787636637,"priority":1,"record_length":96,"hex_timestamp":"000001a037725d48"} 
[2026-08-25 11:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3701755904,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2264924160,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277465766737014528,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-3848325881576417024,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3776269582414053381,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154094,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57894411111912763,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":174,"raw_value":-6268783815842326528,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 11:14:52] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,168,85,24,241,157,16,18,160,15,45,235,5,27,10,66,232,64,14,23,17,185,128,1,240,182,227,55,220,4,113,205,50,118,234,25,239,169,2,47,35,174,87],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-08-25 11:14:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432527091022823424,"timestamp_seconds":432527091022823.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634976768001,"66":13091,"168":206,"85":15104,"24":37,"16":123307115203788800,"45":8933382467260645376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 11:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634976768001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:14:52] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 11:14:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123307115203788800,"km_value":123307115203788.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933382467260645376,"description":"Unknown IO ID 45"} 
[2026-08-25 11:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634976768001,"power":13091,"unknown_168":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8933382467260645376}} 
[2026-08-25 11:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":161814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:14:52] local.INFO: GPS data processed {"connection_id":161814,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:14:52] local.INFO: Acknowledgment sent {"connection_id":161814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:15:18] local.INFO: TCP Data received {"connection_id":161573,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:15:18] local.INFO: Processing buffer {"connection_id":161573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:15:18] local.INFO: Packet analysis {"connection_id":161573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:15:18] local.INFO: Extracted packet for processing {"connection_id":161573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634881536001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787636557000,"timestamp_ms":1787636557000,"timestamp_seconds":1787636557,"priority":1,"record_length":96,"hex_timestamp":"000001a0377124c8"} 
[2026-08-25 11:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634881536001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634881536001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:15:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634881536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":161573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:15:18] local.INFO: GPS data processed {"connection_id":161573,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:15:18] local.INFO: Acknowledgment sent {"connection_id":161573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:15:23] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037728c28012d7c090005db8130000200aa18..."} 
[2026-08-25 11:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037728c28012d7c090005db8130000200aa18..."} 
[2026-08-25 11:15:23] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037728c28012d7c090005db8130000200aa18..."} 
[2026-08-25 11:15:23] local.INFO: Packet analysis {"connection_id":161814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03772"} 
[2026-08-25 11:15:23] local.INFO: Extracted packet for processing {"connection_id":161814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03772"} 
[2026-08-25 11:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763103488,"raw_latitude":98271536,"longitude_deg":76.3103488,"latitude_deg":9.8271536,"altitude":2,"angle":170,"satellites":24,"speed":20,"hex_longitude":"2d7c0900","hex_latitude":"05db8130","is_valid_coordinates":true} 
[2026-08-25 11:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634979072001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123307548995485696,"note":"Value kept but may cause issues"} 
[2026-08-25 11:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935634267072059392,"note":"Value kept but may cause issues"} 
[2026-08-25 11:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787636649000,"timestamp_ms":1787636649000,"timestamp_seconds":1787636649,"priority":1,"record_length":96,"hex_timestamp":"000001a037728c28"} 
[2026-08-25 11:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11: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-25 11:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 11:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634979072001,"66":13243,"168":206,"85":15104,"24":20,"16":123307548995485696,"45":8935634267072059392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 11:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634979072001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:15:23] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 11:15:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123307548995485696,"km_value":123307548995485.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935634267072059392,"description":"Unknown IO ID 45"} 
[2026-08-25 11:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634979072001,"power":13243,"unknown_168":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8935634267072059392}} 
[2026-08-25 11:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":161814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:15:23] local.INFO: GPS data processed {"connection_id":161814,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:15:23] local.INFO: Acknowledgment sent {"connection_id":161814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:15:38] local.INFO: TCP Data received {"connection_id":164189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:15:38] local.INFO: Processing buffer {"connection_id":164189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:15:38] local.INFO: IMEI packet received {"connection_id":164189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":164189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:15:40] local.INFO: TCP Data received {"connection_id":164190,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:15:40] local.INFO: Processing buffer {"connection_id":164190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:15:40] local.INFO: IMEI packet received {"connection_id":164190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":164190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:15:41] local.INFO: TCP Data received {"connection_id":164189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:15:41] local.INFO: Processing buffer {"connection_id":164189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:15:41] local.INFO: IMEI packet received {"connection_id":164189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":164189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:15:45] local.INFO: TCP Data received {"connection_id":164190,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:15:45] local.INFO: Processing buffer {"connection_id":164190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:15:45] local.INFO: IMEI packet received {"connection_id":164190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":164190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:15:46] local.INFO: TCP Data received {"connection_id":164190,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:15:46] local.INFO: Processing buffer {"connection_id":164190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:15:46] local.INFO: Packet analysis {"connection_id":164190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:15:46] local.INFO: Extracted packet for processing {"connection_id":164190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634881536001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787636557000,"timestamp_ms":1787636557000,"timestamp_seconds":1787636557,"priority":1,"record_length":96,"hex_timestamp":"000001a0377124c8"} 
[2026-08-25 11:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634881536001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634881536001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634881536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":164190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:15:46] local.INFO: GPS data processed {"connection_id":164190,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:15:46] local.INFO: Acknowledgment sent {"connection_id":164190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:15:46] local.INFO: TCP Data received {"connection_id":164189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:15:46] local.INFO: Processing buffer {"connection_id":164189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:15:46] local.INFO: IMEI packet received {"connection_id":164189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":164189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:15:47] local.INFO: TCP Data received {"connection_id":164189,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03772bef0012d7c10c005db5d60000000a61f..."} 
[2026-08-25 11:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03772bef0012d7c10c005db5d60000000a61f..."} 
[2026-08-25 11:15:47] local.INFO: Processing buffer {"connection_id":164189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03772bef0012d7c10c005db5d60000000a61f..."} 
[2026-08-25 11:15:47] local.INFO: Packet analysis {"connection_id":164189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03772"} 
[2026-08-25 11:15:47] local.INFO: Extracted packet for processing {"connection_id":164189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03772"} 
[2026-08-25 11:15:47] local.INFO: GPS Element Parsed {"raw_longitude":763105472,"raw_latitude":98262368,"longitude_deg":76.3105472,"latitude_deg":9.8262368,"altitude":0,"angle":166,"satellites":31,"speed":34,"hex_longitude":"2d7c10c0","hex_latitude":"05db5d60","is_valid_coordinates":true} 
[2026-08-25 11:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634982144001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123308004262019072,"note":"Value kept but may cause issues"} 
[2026-08-25 11:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937674960650973184,"note":"Value kept but may cause issues"} 
[2026-08-25 11:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787636662000,"timestamp_ms":1787636662000,"timestamp_seconds":1787636662,"priority":1,"record_length":96,"hex_timestamp":"000001a03772bef0"} 
[2026-08-25 11:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 11:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634982144001,"66":13254,"168":206,"85":15104,"24":34,"16":123308004262019072,"45":8937674960650973184},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 11:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634982144001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:15:47] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 11:15:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123308004262019072,"km_value":123308004262019.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937674960650973184,"description":"Unknown IO ID 45"} 
[2026-08-25 11:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634982144001,"power":13254,"unknown_168":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8937674960650973184}} 
[2026-08-25 11:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":164189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:15:47] local.INFO: GPS data processed {"connection_id":164189,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:15:47] local.INFO: Acknowledgment sent {"connection_id":164189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:16:18] local.INFO: TCP Data received {"connection_id":164190,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:16:18] local.INFO: Processing buffer {"connection_id":164190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:16:18] local.INFO: Packet analysis {"connection_id":164190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:16:18] local.INFO: Extracted packet for processing {"connection_id":164190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:16:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634881536001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787636557000,"timestamp_ms":1787636557000,"timestamp_seconds":1787636557,"priority":1,"record_length":96,"hex_timestamp":"000001a0377124c8"} 
[2026-08-25 11:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634881536001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634881536001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:16:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:16:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634881536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":164190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:16:18] local.INFO: GPS data processed {"connection_id":164190,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:16:18] local.INFO: Acknowledgment sent {"connection_id":164190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:16:19] local.INFO: TCP Data received {"connection_id":164189,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03772e9e8012d7c1a0005db3b78000000a41a..."} 
[2026-08-25 11:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03772e9e8012d7c1a0005db3b78000000a41a..."} 
[2026-08-25 11:16:19] local.INFO: Processing buffer {"connection_id":164189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03772e9e8012d7c1a0005db3b78000000a41a..."} 
[2026-08-25 11:16:19] local.INFO: Packet analysis {"connection_id":164189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03772"} 
[2026-08-25 11:16:19] local.INFO: Extracted packet for processing {"connection_id":164189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03772"} 
[2026-08-25 11:16:19] local.INFO: GPS Element Parsed {"raw_longitude":763107840,"raw_latitude":98253688,"longitude_deg":76.310784,"latitude_deg":9.8253688,"altitude":0,"angle":164,"satellites":26,"speed":33,"hex_longitude":"2d7c1a00","hex_latitude":"05db3b78","is_valid_coordinates":true} 
[2026-08-25 11:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634985472001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123308438053715968,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939856391718133760,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787636673000,"timestamp_ms":1787636673000,"timestamp_seconds":1787636673,"priority":1,"record_length":96,"hex_timestamp":"000001a03772e9e8"} 
[2026-08-25 11:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 11:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634985472001,"66":13254,"168":206,"85":15104,"24":33,"16":123308438053715968,"45":8939856391718133760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 11:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634985472001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:16:19] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 11:16:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123308438053715968,"km_value":123308438053715.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939856391718133760,"description":"Unknown IO ID 45"} 
[2026-08-25 11:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634985472001,"power":13254,"unknown_168":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8939856391718133760}} 
[2026-08-25 11:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":164189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:16:19] local.INFO: GPS data processed {"connection_id":164189,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:16:19] local.INFO: Acknowledgment sent {"connection_id":164189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:16:40] local.INFO: TCP Data received {"connection_id":162810,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:16:40] local.INFO: Processing buffer {"connection_id":162810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:16:40] local.INFO: IMEI packet received {"connection_id":162810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":162810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:16:41] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:16:41] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:16:41] local.INFO: IMEI packet received {"connection_id":161815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":161815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:16:44] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:16:44] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:16:44] local.INFO: IMEI packet received {"connection_id":161815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":161815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:16:45] local.INFO: TCP Data received {"connection_id":162810,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:16:45] local.INFO: Processing buffer {"connection_id":162810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:16:45] local.INFO: IMEI packet received {"connection_id":162810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":162810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:16:46] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03774ab20012d7c710005da12d0000000a71b..."} 
[2026-08-25 11:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03774ab20012d7c710005da12d0000000a71b..."} 
[2026-08-25 11:16:46] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03774ab20012d7c710005da12d0000000a71b..."} 
[2026-08-25 11:16:46] local.INFO: Packet analysis {"connection_id":161815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03774"} 
[2026-08-25 11:16:46] local.INFO: Extracted packet for processing {"connection_id":161815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03774"} 
[2026-08-25 11:16:46] local.INFO: GPS Element Parsed {"raw_longitude":763130112,"raw_latitude":98177744,"longitude_deg":76.3130112,"latitude_deg":9.8177744,"altitude":0,"angle":167,"satellites":27,"speed":52,"hex_longitude":"2d7c7100","hex_latitude":"05da12d0","is_valid_coordinates":true} 
[2026-08-25 11:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635015936001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123312290639380480,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964344714672640000,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787636788000,"timestamp_ms":1787636788000,"timestamp_seconds":1787636788,"priority":1,"record_length":96,"hex_timestamp":"000001a03774ab20"} 
[2026-08-25 11:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3208118272,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2147867362,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3674644480,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":215,"raw_value":57885688033334587,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":115,"raw_value":5444853244358574085,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2569303587425950976,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,187,85,24,241,157,16,23,160,116,45,64,88,26,10,66,81,192,123,27,22,38,1,240,40,227,55,218,4,113,205,47,152,34,239,52,186,2,182,5,15,215,115,219],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-08-25 11:16:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":179332067950592,"timestamp_seconds":179332067950.592,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635015936001,"66":13298,"187":206,"85":15104,"24":52,"16":123312290639380480,"45":8964344714672640000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 11:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635015936001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:16:46] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 11:16:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123312290639380480,"km_value":123312290639380.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964344714672640000,"description":"Unknown IO ID 45"} 
[2026-08-25 11:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635015936001,"power":13298,"unknown_187":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8964344714672640000}} 
[2026-08-25 11:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":161815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:16:46] local.INFO: GPS data processed {"connection_id":161815,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:16:46] local.INFO: Acknowledgment sent {"connection_id":161815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:16:46] local.INFO: TCP Data received {"connection_id":162810,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:16:46] local.INFO: Processing buffer {"connection_id":162810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:16:46] local.INFO: Packet analysis {"connection_id":162810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:16:46] local.INFO: Extracted packet for processing {"connection_id":162810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634881536001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787636557000,"timestamp_ms":1787636557000,"timestamp_seconds":1787636557,"priority":1,"record_length":96,"hex_timestamp":"000001a0377124c8"} 
[2026-08-25 11:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634881536001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634881536001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:16:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634881536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":162810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:16:46] local.INFO: GPS data processed {"connection_id":162810,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:16:46] local.INFO: Acknowledgment sent {"connection_id":162810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:17:17] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03774ca60012d7c78c005d9eda0000000ab1a..."} 
[2026-08-25 11:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03774ca60012d7c78c005d9eda0000000ab1a..."} 
[2026-08-25 11:17:17] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03774ca60012d7c78c005d9eda0000000ab1a..."} 
[2026-08-25 11:17:17] local.INFO: Packet analysis {"connection_id":161815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03774"} 
[2026-08-25 11:17:17] local.INFO: Extracted packet for processing {"connection_id":161815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03774"} 
[2026-08-25 11:17:17] local.INFO: GPS Element Parsed {"raw_longitude":763132096,"raw_latitude":98168224,"longitude_deg":76.3132096,"latitude_deg":9.8168224,"altitude":0,"angle":171,"satellites":26,"speed":47,"hex_longitude":"2d7c78c0","hex_latitude":"05d9eda0","is_valid_coordinates":true} 
[2026-08-25 11:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635017728001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123312763085783040,"note":"Value kept but may cause issues"} 
[2026-08-25 11:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966948358204870656,"note":"Value kept but may cause issues"} 
[2026-08-25 11:17:17] 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-25 11:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787636796000,"timestamp_ms":1787636796000,"timestamp_seconds":1787636796,"priority":1,"record_length":96,"hex_timestamp":"000001a03774ca60"} 
[2026-08-25 11:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-25 11:17:17] 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-25 11:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635017728001,"66":13363,"187":206,"85":15104,"24":47,"16":123312763085783040,"45":8966948358204870656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 11:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635017728001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:17:17] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 11:17:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123312763085783040,"km_value":123312763085783.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966948358204870656,"description":"Unknown IO ID 45"} 
[2026-08-25 11:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635017728001,"power":13363,"unknown_187":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8966948358204870656}} 
[2026-08-25 11:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":161815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:17:17] local.INFO: GPS data processed {"connection_id":161815,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:17:17] local.INFO: Acknowledgment sent {"connection_id":161815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:17:18] local.INFO: TCP Data received {"connection_id":162810,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:17:18] local.INFO: Processing buffer {"connection_id":162810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:17:18] local.INFO: Packet analysis {"connection_id":162810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:17:18] local.INFO: Extracted packet for processing {"connection_id":162810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634881536001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787636557000,"timestamp_ms":1787636557000,"timestamp_seconds":1787636557,"priority":1,"record_length":96,"hex_timestamp":"000001a0377124c8"} 
[2026-08-25 11:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634881536001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634881536001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:17:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634881536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":162810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:17:18] local.INFO: GPS data processed {"connection_id":162810,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:17:18] local.INFO: Acknowledgment sent {"connection_id":162810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:17:40] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:17:40] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:17:40] local.INFO: IMEI packet received {"connection_id":161817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":161817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:17:41] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:17:41] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:17:41] local.INFO: IMEI packet received {"connection_id":161816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":161816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:17:41] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:17:41] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:17:41] local.INFO: IMEI packet received {"connection_id":161816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":161816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:17:45] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:17:45] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:17:45] local.INFO: IMEI packet received {"connection_id":161817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":161817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:17:46] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:17:46] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377124c8012d34c0c006aa4878000c00552c..."} 
[2026-08-25 11:17:46] local.INFO: Packet analysis {"connection_id":161817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:17:46] local.INFO: Extracted packet for processing {"connection_id":161817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03771"} 
[2026-08-25 11:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634881536001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787636557000,"timestamp_ms":1787636557000,"timestamp_seconds":1787636557,"priority":1,"record_length":96,"hex_timestamp":"000001a0377124c8"} 
[2026-08-25 11:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634881536001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634881536001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634881536001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":161817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:17:46] local.INFO: GPS data processed {"connection_id":161817,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:17:46] local.INFO: Acknowledgment sent {"connection_id":161817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:17:46] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:17:46] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:17:46] local.INFO: IMEI packet received {"connection_id":161816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":161816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:17:47] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03774e5b8012d7c7d4005d9ca38000000ad19..."} 
[2026-08-25 11:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03774e5b8012d7c7d4005d9ca38000000ad19..."} 
[2026-08-25 11:17:47] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03774e5b8012d7c7d4005d9ca38000000ad19..."} 
[2026-08-25 11:17:47] local.INFO: Packet analysis {"connection_id":161816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03774"} 
[2026-08-25 11:17:47] local.INFO: Extracted packet for processing {"connection_id":161816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03774"} 
[2026-08-25 11:17:47] local.INFO: GPS Element Parsed {"raw_longitude":763133248,"raw_latitude":98159160,"longitude_deg":76.3133248,"latitude_deg":9.815916,"altitude":0,"angle":173,"satellites":25,"speed":54,"hex_longitude":"2d7c7d40","hex_latitude":"05d9ca38","is_valid_coordinates":true} 
[2026-08-25 11:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635019776001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123313205467414528,"note":"Value kept but may cause issues"} 
[2026-08-25 11:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969129789271941120,"note":"Value kept but may cause issues"} 
[2026-08-25 11:17:47] 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-25 11:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787636803000,"timestamp_ms":1787636803000,"timestamp_seconds":1787636803,"priority":1,"record_length":96,"hex_timestamp":"000001a03774e5b8"} 
[2026-08-25 11:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 11:17: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-25 11:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635019776001,"66":13254,"187":206,"85":15104,"24":54,"16":123313205467414528,"45":8969129789271941120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 11:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635019776001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:17:47] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 11:17:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123313205467414528,"km_value":123313205467414.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969129789271941120,"description":"Unknown IO ID 45"} 
[2026-08-25 11:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635019776001,"power":13254,"unknown_187":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8969129789271941120}} 
[2026-08-25 11:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":161816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:17:47] local.INFO: GPS data processed {"connection_id":161816,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:17:47] local.INFO: Acknowledgment sent {"connection_id":161816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:18:18] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:18:18] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:18:18] local.INFO: Packet analysis {"connection_id":161817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:18:18] local.INFO: Extracted packet for processing {"connection_id":161817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634958592001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787636858000,"timestamp_ms":1787636858000,"timestamp_seconds":1787636858,"priority":1,"record_length":96,"hex_timestamp":"000001a03775bc90"} 
[2026-08-25 11:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634958592001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634958592001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:18:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634958592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":161817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:18:18] local.INFO: GPS data processed {"connection_id":161817,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:18:18] local.INFO: Acknowledgment sent {"connection_id":161817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:18:18] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037750110012d7c80c005d9a490000000ae14..."} 
[2026-08-25 11:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037750110012d7c80c005d9a490000000ae14..."} 
[2026-08-25 11:18:18] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037750110012d7c80c005d9a490000000ae14..."} 
[2026-08-25 11:18:18] local.INFO: Packet analysis {"connection_id":161816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:18:18] local.INFO: Extracted packet for processing {"connection_id":161816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:18:18] local.INFO: GPS Element Parsed {"raw_longitude":763134144,"raw_latitude":98149520,"longitude_deg":76.3134144,"latitude_deg":9.814952,"altitude":0,"angle":174,"satellites":20,"speed":55,"hex_longitude":"2d7c80c0","hex_latitude":"05d9a490","is_valid_coordinates":true} 
[2026-08-25 11:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635021568001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123313673618849792,"note":"Value kept but may cause issues"} 
[2026-08-25 11:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970396426664818688,"note":"Value kept but may cause issues"} 
[2026-08-25 11:18:18] 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-25 11:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787636810000,"timestamp_ms":1787636810000,"timestamp_seconds":1787636810,"priority":1,"record_length":96,"hex_timestamp":"000001a037750110"} 
[2026-08-25 11:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 11:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635021568001,"66":13319,"245":206,"85":15104,"24":55,"16":123313673618849792,"45":8970396426664818688},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 11:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635021568001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:18:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123313673618849792,"km_value":123313673618849.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970396426664818688,"description":"Unknown IO ID 45"} 
[2026-08-25 11:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635021568001,"power":13319,"geofence_id":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8970396426664818688}} 
[2026-08-25 11:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":161816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:18:18] local.INFO: GPS data processed {"connection_id":161816,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:18:18] local.INFO: Acknowledgment sent {"connection_id":161816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:18:41] local.INFO: TCP Data received {"connection_id":164191,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:18:41] local.INFO: Processing buffer {"connection_id":164191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:18:41] local.INFO: IMEI packet received {"connection_id":164191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":164191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:18:42] local.INFO: TCP Data received {"connection_id":164191,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:18:42] local.INFO: Processing buffer {"connection_id":164191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:18:42] local.INFO: IMEI packet received {"connection_id":164191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":164191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:18:45] local.INFO: TCP Data received {"connection_id":162811,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:18:45] local.INFO: Processing buffer {"connection_id":162811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:18:45] local.INFO: IMEI packet received {"connection_id":162811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":162811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:18:46] local.INFO: TCP Data received {"connection_id":164191,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:18:46] local.INFO: Processing buffer {"connection_id":164191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:18:46] local.INFO: IMEI packet received {"connection_id":164191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":164191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:18:47] local.INFO: TCP Data received {"connection_id":164191,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037764d18012d7ca08005d80ac0000600af1d..."} 
[2026-08-25 11:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037764d18012d7ca08005d80ac0000600af1d..."} 
[2026-08-25 11:18:47] local.INFO: Processing buffer {"connection_id":164191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037764d18012d7ca08005d80ac0000600af1d..."} 
[2026-08-25 11:18:47] local.INFO: Packet analysis {"connection_id":164191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03776"} 
[2026-08-25 11:18:47] local.INFO: Extracted packet for processing {"connection_id":164191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03776"} 
[2026-08-25 11:18:47] local.INFO: GPS Element Parsed {"raw_longitude":763142272,"raw_latitude":98044608,"longitude_deg":76.3142272,"latitude_deg":9.8044608,"altitude":6,"angle":175,"satellites":29,"speed":46,"hex_longitude":"2d7ca080","hex_latitude":"05d80ac0","is_valid_coordinates":true} 
[2026-08-25 11:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635043072001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123318780334964736,"note":"Value kept but may cause issues"} 
[2026-08-25 11:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979896207102013440,"note":"Value kept but may cause issues"} 
[2026-08-25 11:18:47] 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-25 11:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787636895000,"timestamp_ms":1787636895000,"timestamp_seconds":1787636895,"priority":1,"record_length":96,"hex_timestamp":"000001a037764d18"} 
[2026-08-25 11:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 11:18:47] 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-25 11:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635043072001,"66":13048,"196":206,"85":15104,"24":46,"16":123318780334964736,"45":8979896207102013440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-25 11:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635043072001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:18:47] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-25 11:18:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123318780334964736,"km_value":123318780334964.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979896207102013440,"description":"Unknown IO ID 45"} 
[2026-08-25 11:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635043072001,"power":13048,"unknown_196":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8979896207102013440}} 
[2026-08-25 11:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":164191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:18:47] local.INFO: GPS data processed {"connection_id":164191,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:18:47] local.INFO: Acknowledgment sent {"connection_id":164191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:18:50] local.INFO: TCP Data received {"connection_id":162811,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:18:50] local.INFO: Processing buffer {"connection_id":162811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:18:50] local.INFO: IMEI packet received {"connection_id":162811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":162811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:18:52] local.INFO: TCP Data received {"connection_id":162811,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:18:52] local.INFO: Processing buffer {"connection_id":162811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:18:52] local.INFO: Packet analysis {"connection_id":162811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:18:52] local.INFO: Extracted packet for processing {"connection_id":162811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634958592001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787636858000,"timestamp_ms":1787636858000,"timestamp_seconds":1787636858,"priority":1,"record_length":96,"hex_timestamp":"000001a03775bc90"} 
[2026-08-25 11:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634958592001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634958592001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634958592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":162811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:18:52] local.INFO: GPS data processed {"connection_id":162811,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:18:52] local.INFO: Acknowledgment sent {"connection_id":162811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:19:18] local.INFO: TCP Data received {"connection_id":164191,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037767040012d7ca24005d7e6b8000600af21..."} 
[2026-08-25 11:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037767040012d7ca24005d7e6b8000600af21..."} 
[2026-08-25 11:19:18] local.INFO: Processing buffer {"connection_id":164191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037767040012d7ca24005d7e6b8000600af21..."} 
[2026-08-25 11:19:18] local.INFO: Packet analysis {"connection_id":164191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03776"} 
[2026-08-25 11:19:18] local.INFO: Extracted packet for processing {"connection_id":164191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03776"} 
[2026-08-25 11:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763142720,"raw_latitude":98035384,"longitude_deg":76.314272,"latitude_deg":9.8035384,"altitude":6,"angle":175,"satellites":33,"speed":40,"hex_longitude":"2d7ca240","hex_latitude":"05d7e6b8","is_valid_coordinates":true} 
[2026-08-25 11:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635045120001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123319227011563520,"note":"Value kept but may cause issues"} 
[2026-08-25 11:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980318419564544000,"note":"Value kept but may cause issues"} 
[2026-08-25 11:19:18] 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-25 11:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787636904000,"timestamp_ms":1787636904000,"timestamp_seconds":1787636904,"priority":1,"record_length":96,"hex_timestamp":"000001a037767040"} 
[2026-08-25 11:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:19: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-25 11:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 11:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635045120001,"66":13091,"196":206,"85":15104,"24":40,"16":123319227011563520,"45":8980318419564544000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-25 11:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635045120001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:19:18] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-25 11:19:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123319227011563520,"km_value":123319227011563.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980318419564544000,"description":"Unknown IO ID 45"} 
[2026-08-25 11:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635045120001,"power":13091,"unknown_196":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8980318419564544000}} 
[2026-08-25 11:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":164191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:19:18] local.INFO: GPS data processed {"connection_id":164191,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:19:18] local.INFO: Acknowledgment sent {"connection_id":164191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:19:26] local.INFO: TCP Data received {"connection_id":162811,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:19:26] local.INFO: Processing buffer {"connection_id":162811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:19:26] local.INFO: Packet analysis {"connection_id":162811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:19:26] local.INFO: Extracted packet for processing {"connection_id":162811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:19:26] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634958592001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787636858000,"timestamp_ms":1787636858000,"timestamp_seconds":1787636858,"priority":1,"record_length":96,"hex_timestamp":"000001a03775bc90"} 
[2026-08-25 11: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-25 11:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634958592001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634958592001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:19:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:19:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634958592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":162811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:19:26] local.INFO: GPS data processed {"connection_id":162811,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:19:26] local.INFO: Acknowledgment sent {"connection_id":162811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:19:40] local.INFO: TCP Data received {"connection_id":164192,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:19:40] local.INFO: Processing buffer {"connection_id":164192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:19:40] local.INFO: IMEI packet received {"connection_id":164192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":164192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:19:41] local.INFO: TCP Data received {"connection_id":164193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:19:41] local.INFO: Processing buffer {"connection_id":164193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:19:41] local.INFO: IMEI packet received {"connection_id":164193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":164193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:19:42] local.INFO: TCP Data received {"connection_id":164193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:19:42] local.INFO: Processing buffer {"connection_id":164193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:19:42] local.INFO: IMEI packet received {"connection_id":164193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":164193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:19:45] local.INFO: TCP Data received {"connection_id":164192,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:19:45] local.INFO: Processing buffer {"connection_id":164192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:19:45] local.INFO: IMEI packet received {"connection_id":164192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":164192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:19:46] local.INFO: TCP Data received {"connection_id":164192,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:19:46] local.INFO: Processing buffer {"connection_id":164192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:19:46] local.INFO: Packet analysis {"connection_id":164192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:19:46] local.INFO: Extracted packet for processing {"connection_id":164192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634958592001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787636858000,"timestamp_ms":1787636858000,"timestamp_seconds":1787636858,"priority":1,"record_length":96,"hex_timestamp":"000001a03775bc90"} 
[2026-08-25 11: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-25 11:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11: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-25 11:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634958592001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634958592001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634958592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":164192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:19:46] local.INFO: GPS data processed {"connection_id":164192,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:19:46] local.INFO: Acknowledgment sent {"connection_id":164192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:19:46] local.INFO: TCP Data received {"connection_id":164193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:19:46] local.INFO: Processing buffer {"connection_id":164193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:19:46] local.INFO: IMEI packet received {"connection_id":164193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":164193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:19:47] local.INFO: TCP Data received {"connection_id":164193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037769368012d7ca4c005d7c2a0000600ad1f..."} 
[2026-08-25 11:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037769368012d7ca4c005d7c2a0000600ad1f..."} 
[2026-08-25 11:19:47] local.INFO: Processing buffer {"connection_id":164193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037769368012d7ca4c005d7c2a0000600ad1f..."} 
[2026-08-25 11:19:47] local.INFO: Packet analysis {"connection_id":164193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03776"} 
[2026-08-25 11:19:47] local.INFO: Extracted packet for processing {"connection_id":164193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03776"} 
[2026-08-25 11:19:47] local.INFO: GPS Element Parsed {"raw_longitude":763143360,"raw_latitude":98026144,"longitude_deg":76.314336,"latitude_deg":9.8026144,"altitude":6,"angle":173,"satellites":31,"speed":41,"hex_longitude":"2d7ca4c0","hex_latitude":"05d7c2a0","is_valid_coordinates":true} 
[2026-08-25 11:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635047424001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123319677983129600,"note":"Value kept but may cause issues"} 
[2026-08-25 11:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980811000771426304,"note":"Value kept but may cause issues"} 
[2026-08-25 11:19:47] 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-25 11:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787636913000,"timestamp_ms":1787636913000,"timestamp_seconds":1787636913,"priority":1,"record_length":96,"hex_timestamp":"000001a037769368"} 
[2026-08-25 11:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 11:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635047424001,"66":13341,"196":206,"85":15104,"24":41,"16":123319677983129600,"45":8980811000771426304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-25 11:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635047424001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:19:47] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-25 11:19:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123319677983129600,"km_value":123319677983129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980811000771426304,"description":"Unknown IO ID 45"} 
[2026-08-25 11:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635047424001,"power":13341,"unknown_196":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8980811000771426304}} 
[2026-08-25 11:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":164193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:19:47] local.INFO: GPS data processed {"connection_id":164193,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:19:47] local.INFO: Acknowledgment sent {"connection_id":164193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:20:18] local.INFO: TCP Data received {"connection_id":164193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03776b2a8012d7caa8005d79fb0000800ab1d..."} 
[2026-08-25 11:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03776b2a8012d7caa8005d79fb0000800ab1d..."} 
[2026-08-25 11:20:18] local.INFO: Processing buffer {"connection_id":164193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03776b2a8012d7caa8005d79fb0000800ab1d..."} 
[2026-08-25 11:20:18] local.INFO: Packet analysis {"connection_id":164193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03776"} 
[2026-08-25 11:20:18] local.INFO: Extracted packet for processing {"connection_id":164193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03776"} 
[2026-08-25 11:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763144832,"raw_latitude":98017200,"longitude_deg":76.3144832,"latitude_deg":9.80172,"altitude":8,"angle":171,"satellites":29,"speed":49,"hex_longitude":"2d7caa80","hex_latitude":"05d79fb0","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635049728001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123320116069793792,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981514688210837504,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:18] 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-25 11:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787636921000,"timestamp_ms":1787636921000,"timestamp_seconds":1787636921,"priority":1,"record_length":96,"hex_timestamp":"000001a03776b2a8"} 
[2026-08-25 11: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-25 11: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-25 11: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":29,"data_length":795,"current_offset":136} 
[2026-08-25 11:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635049728001,"66":13048,"196":206,"85":15104,"24":49,"16":123320116069793792,"45":8981514688210837504},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-25 11:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635049728001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:20:18] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-25 11:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123320116069793792,"km_value":123320116069793.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981514688210837504,"description":"Unknown IO ID 45"} 
[2026-08-25 11:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635049728001,"power":13048,"unknown_196":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8981514688210837504}} 
[2026-08-25 11:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":164193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:20:18] local.INFO: GPS data processed {"connection_id":164193,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:20:18] local.INFO: Acknowledgment sent {"connection_id":164193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:20:19] local.INFO: TCP Data received {"connection_id":164192,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:20:19] local.INFO: Processing buffer {"connection_id":164192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:20:19] local.INFO: Packet analysis {"connection_id":164192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:20:19] local.INFO: Extracted packet for processing {"connection_id":164192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:20:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634958592001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787636858000,"timestamp_ms":1787636858000,"timestamp_seconds":1787636858,"priority":1,"record_length":96,"hex_timestamp":"000001a03775bc90"} 
[2026-08-25 11:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634958592001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634958592001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:20:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:20:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634958592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":164192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:20:19] local.INFO: GPS data processed {"connection_id":164192,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:20:19] local.INFO: Acknowledgment sent {"connection_id":164192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:20:40] local.INFO: TCP Data received {"connection_id":161574,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:20:40] local.INFO: Processing buffer {"connection_id":161574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:20:40] local.INFO: IMEI packet received {"connection_id":161574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":161574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:20:45] local.INFO: TCP Data received {"connection_id":161574,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:20:45] local.INFO: Processing buffer {"connection_id":161574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:20:45] local.INFO: IMEI packet received {"connection_id":161574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":161574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:20:47] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:20:47] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:20:47] local.INFO: IMEI packet received {"connection_id":161818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":161818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:20:48] local.INFO: TCP Data received {"connection_id":161574,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:20:48] local.INFO: Processing buffer {"connection_id":161574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:20:48] local.INFO: Packet analysis {"connection_id":161574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:20:48] local.INFO: Extracted packet for processing {"connection_id":161574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634958592001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787636858000,"timestamp_ms":1787636858000,"timestamp_seconds":1787636858,"priority":1,"record_length":96,"hex_timestamp":"000001a03775bc90"} 
[2026-08-25 11:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634958592001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634958592001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634958592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":161574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:20:48] local.INFO: GPS data processed {"connection_id":161574,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:20:48] local.INFO: Acknowledgment sent {"connection_id":161574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:20:49] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:20:49] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:20:49] local.INFO: IMEI packet received {"connection_id":161818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":161818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:20:51] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:20:51] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:20:51] local.INFO: IMEI packet received {"connection_id":161818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":161818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:20:52] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377829a8012d7cfb0005d60dc8000400ab1b..."} 
[2026-08-25 11:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377829a8012d7cfb0005d60dc8000400ab1b..."} 
[2026-08-25 11:20:52] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377829a8012d7cfb0005d60dc8000400ab1b..."} 
[2026-08-25 11:20:52] local.INFO: Packet analysis {"connection_id":161818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03778"} 
[2026-08-25 11:20:52] local.INFO: Extracted packet for processing {"connection_id":161818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03778"} 
[2026-08-25 11:20:52] local.INFO: GPS Element Parsed {"raw_longitude":763165440,"raw_latitude":97914312,"longitude_deg":76.316544,"latitude_deg":9.7914312,"altitude":4,"angle":171,"satellites":27,"speed":41,"hex_longitude":"2d7cfb00","hex_latitude":"05d60dc8","is_valid_coordinates":true} 
[2026-08-25 11:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635074048001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123325222785908736,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004806742507411456,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:52] 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-25 11:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787637017000,"timestamp_ms":1787637017000,"timestamp_seconds":1787637017,"priority":1,"record_length":96,"hex_timestamp":"000001a0377829a8"} 
[2026-08-25 11:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-25 11:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635074048001,"66":13222,"30":206,"85":15104,"24":41,"16":123325222785908736,"45":9004806742507411456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-25 11:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635074048001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:20:52] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-25 11:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123325222785908736,"km_value":123325222785908.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004806742507411456,"description":"Unknown IO ID 45"} 
[2026-08-25 11:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635074048001,"power":13222,"unknown_30":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9004806742507411456}} 
[2026-08-25 11:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":161818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:20:52] local.INFO: GPS data processed {"connection_id":161818,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:20:52] local.INFO: Acknowledgment sent {"connection_id":161818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:20:56] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037784cd0012d7d02c005d5e948000400a317..."} 
[2026-08-25 11:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037784cd0012d7d02c005d5e948000400a317..."} 
[2026-08-25 11:20:56] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037784cd0012d7d02c005d5e948000400a317..."} 
[2026-08-25 11:20:56] local.INFO: Packet analysis {"connection_id":161818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03778"} 
[2026-08-25 11:20:56] local.INFO: Extracted packet for processing {"connection_id":161818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03778"} 
[2026-08-25 11:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763167424,"raw_latitude":97904968,"longitude_deg":76.3167424,"latitude_deg":9.7904968,"altitude":4,"angle":163,"satellites":23,"speed":43,"hex_longitude":"2d7d02c0","hex_latitude":"05d5e948","is_valid_coordinates":true} 
[2026-08-25 11:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635076352001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123325686642376704,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005791904923502592,"note":"Value kept but may cause issues"} 
[2026-08-25 11:20:56] 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-25 11:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787637026000,"timestamp_ms":1787637026000,"timestamp_seconds":1787637026,"priority":1,"record_length":96,"hex_timestamp":"000001a037784cd0"} 
[2026-08-25 11:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 11:20:56] 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-25 11:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635076352001,"66":13222,"30":206,"85":15104,"24":43,"16":123325686642376704,"45":9005791904923502592},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-25 11:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635076352001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:20:56] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-25 11:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123325686642376704,"km_value":123325686642376.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005791904923502592,"description":"Unknown IO ID 45"} 
[2026-08-25 11:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635076352001,"power":13222,"unknown_30":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9005791904923502592}} 
[2026-08-25 11:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":161818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:20:56] local.INFO: GPS data processed {"connection_id":161818,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:20:56] local.INFO: Acknowledgment sent {"connection_id":161818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:21:20] local.INFO: TCP Data received {"connection_id":161574,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:21:20] local.INFO: Processing buffer {"connection_id":161574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:21:20] local.INFO: Packet analysis {"connection_id":161574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:21:20] local.INFO: Extracted packet for processing {"connection_id":161574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634958592001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787636858000,"timestamp_ms":1787636858000,"timestamp_seconds":1787636858,"priority":1,"record_length":96,"hex_timestamp":"000001a03775bc90"} 
[2026-08-25 11: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-25 11:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634958592001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634958592001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:21:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634958592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":161574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:21:20] local.INFO: GPS data processed {"connection_id":161574,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:21:20] local.INFO: Acknowledgment sent {"connection_id":161574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:21:40] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:21:40] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:21:40] local.INFO: IMEI packet received {"connection_id":161819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":161819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:21:41] local.INFO: TCP Data received {"connection_id":164194,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:21:41] local.INFO: Processing buffer {"connection_id":164194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:21:41] local.INFO: IMEI packet received {"connection_id":164194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":164194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:21:41] local.INFO: TCP Data received {"connection_id":164194,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:21:41] local.INFO: Processing buffer {"connection_id":164194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:21:41] local.INFO: IMEI packet received {"connection_id":164194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":164194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:21:45] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:21:45] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:21:45] local.INFO: IMEI packet received {"connection_id":161819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":161819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:21:46] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:21:46] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:21:46] local.INFO: Packet analysis {"connection_id":161819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:21:46] local.INFO: Extracted packet for processing {"connection_id":161819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634958592001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787636858000,"timestamp_ms":1787636858000,"timestamp_seconds":1787636858,"priority":1,"record_length":96,"hex_timestamp":"000001a03775bc90"} 
[2026-08-25 11:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634958592001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634958592001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:21:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634958592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":161819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:21:46] local.INFO: GPS data processed {"connection_id":161819,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:21:46] local.INFO: Acknowledgment sent {"connection_id":161819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:21:46] local.INFO: TCP Data received {"connection_id":164194,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:21:46] local.INFO: Processing buffer {"connection_id":164194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:21:46] local.INFO: IMEI packet received {"connection_id":164194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":164194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:21:47] local.INFO: TCP Data received {"connection_id":164194,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037786c10012d7d0f0005d5c6080002009f19..."} 
[2026-08-25 11:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037786c10012d7d0f0005d5c6080002009f19..."} 
[2026-08-25 11:21:47] local.INFO: Processing buffer {"connection_id":164194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037786c10012d7d0f0005d5c6080002009f19..."} 
[2026-08-25 11:21:47] local.INFO: Packet analysis {"connection_id":164194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03778"} 
[2026-08-25 11:21:47] local.INFO: Extracted packet for processing {"connection_id":164194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03778"} 
[2026-08-25 11:21:47] local.INFO: GPS Element Parsed {"raw_longitude":763170560,"raw_latitude":97895944,"longitude_deg":76.317056,"latitude_deg":9.7895944,"altitude":2,"angle":159,"satellites":25,"speed":51,"hex_longitude":"2d7d0f00","hex_latitude":"05d5c608","is_valid_coordinates":true} 
[2026-08-25 11:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635078656001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123326150498844672,"note":"Value kept but may cause issues"} 
[2026-08-25 11:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007973335990618112,"note":"Value kept but may cause issues"} 
[2026-08-25 11:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787637034000,"timestamp_ms":1787637034000,"timestamp_seconds":1787637034,"priority":1,"record_length":96,"hex_timestamp":"000001a037786c10"} 
[2026-08-25 11:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 11:21:47] 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-25 11:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635078656001,"66":13091,"29":206,"85":15104,"24":51,"16":123326150498844672,"45":9007973335990618112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-25 11:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635078656001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:21:47] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-25 11:21:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123326150498844672,"km_value":123326150498844.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007973335990618112,"description":"Unknown IO ID 45"} 
[2026-08-25 11:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635078656001,"power":13091,"unknown_29":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9007973335990618112}} 
[2026-08-25 11:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":164194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:21:47] local.INFO: GPS data processed {"connection_id":164194,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:21:47] local.INFO: Acknowledgment sent {"connection_id":164194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:22:18] local.INFO: TCP Data received {"connection_id":164194,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037799cc0012d7d420005d417d0000000b81c..."} 
[2026-08-25 11:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037799cc0012d7d420005d417d0000000b81c..."} 
[2026-08-25 11:22:18] local.INFO: Processing buffer {"connection_id":164194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037799cc0012d7d420005d417d0000000b81c..."} 
[2026-08-25 11:22:18] local.INFO: Packet analysis {"connection_id":164194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03779"} 
[2026-08-25 11:22:18] local.INFO: Extracted packet for processing {"connection_id":164194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03779"} 
[2026-08-25 11:22:18] local.INFO: GPS Element Parsed {"raw_longitude":763183616,"raw_latitude":97785808,"longitude_deg":76.3183616,"latitude_deg":9.7785808,"altitude":0,"angle":184,"satellites":28,"speed":61,"hex_longitude":"2d7d4200","hex_latitude":"05d417d0","is_valid_coordinates":true} 
[2026-08-25 11:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635099136001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123331570747572224,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840704524288,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637112000,"timestamp_ms":1787637112000,"timestamp_seconds":1787637112,"priority":1,"record_length":96,"hex_timestamp":"000001a037799cc0"} 
[2026-08-25 11: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-25 11:22: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-25 11: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 11:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635099136001,"66":13276,"254":206,"85":15104,"24":61,"16":123331570747572224,"45":9026198840704524288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-25 11:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635099136001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:22:18] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-25 11:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123331570747572224,"km_value":123331570747572.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840704524288,"description":"Unknown IO ID 45"} 
[2026-08-25 11:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635099136001,"power":13276,"unknown_254":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9026198840704524288}} 
[2026-08-25 11:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":164194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:22:18] local.INFO: GPS data processed {"connection_id":164194,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:22:18] local.INFO: Acknowledgment sent {"connection_id":164194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:22:18] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:22:18] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:22:18] local.INFO: Packet analysis {"connection_id":161819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:22:18] local.INFO: Extracted packet for processing {"connection_id":161819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:22:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634958592001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787636858000,"timestamp_ms":1787636858000,"timestamp_seconds":1787636858,"priority":1,"record_length":96,"hex_timestamp":"000001a03775bc90"} 
[2026-08-25 11: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-25 11:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634958592001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634958592001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:22:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:22:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634958592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":161819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:22:18] local.INFO: GPS data processed {"connection_id":161819,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:22:18] local.INFO: Acknowledgment sent {"connection_id":161819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:22:40] local.INFO: TCP Data received {"connection_id":164195,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:22:40] local.INFO: Processing buffer {"connection_id":164195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:22:40] local.INFO: IMEI packet received {"connection_id":164195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":164195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:22:45] local.INFO: TCP Data received {"connection_id":164195,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:22:45] local.INFO: Processing buffer {"connection_id":164195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:22:45] local.INFO: IMEI packet received {"connection_id":164195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":164195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:22:46] local.INFO: TCP Data received {"connection_id":161575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:22:46] local.INFO: Processing buffer {"connection_id":161575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:22:46] local.INFO: IMEI packet received {"connection_id":161575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":161575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:22:47] local.INFO: TCP Data received {"connection_id":164195,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:22:47] local.INFO: Processing buffer {"connection_id":164195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03775bc90012d34c0c006aa4878000b00552e..."} 
[2026-08-25 11:22:47] local.INFO: Packet analysis {"connection_id":164195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:22:47] local.INFO: Extracted packet for processing {"connection_id":164195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03775"} 
[2026-08-25 11:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":11,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457634958592001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787636858000,"timestamp_ms":1787636858000,"timestamp_seconds":1787636858,"priority":1,"record_length":96,"hex_timestamp":"000001a03775bc90"} 
[2026-08-25 11:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457634958592001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457634958592001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457634958592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":164195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:22:47] local.INFO: GPS data processed {"connection_id":164195,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:22:47] local.INFO: Acknowledgment sent {"connection_id":164195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:22:51] local.INFO: TCP Data received {"connection_id":161575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:22:51] local.INFO: Processing buffer {"connection_id":161575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:22:51] local.INFO: IMEI packet received {"connection_id":161575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":161575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:22:52] local.INFO: TCP Data received {"connection_id":161575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03779b430012d7d3f0005d3f398000000ba1a..."} 
[2026-08-25 11:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03779b430012d7d3f0005d3f398000000ba1a..."} 
[2026-08-25 11:22:52] local.INFO: Processing buffer {"connection_id":161575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03779b430012d7d3f0005d3f398000000ba1a..."} 
[2026-08-25 11:22:52] local.INFO: Packet analysis {"connection_id":161575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03779"} 
[2026-08-25 11:22:52] local.INFO: Extracted packet for processing {"connection_id":161575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03779"} 
[2026-08-25 11:22:52] local.INFO: GPS Element Parsed {"raw_longitude":763182848,"raw_latitude":97776536,"longitude_deg":76.3182848,"latitude_deg":9.7776536,"altitude":0,"angle":186,"satellites":26,"speed":59,"hex_longitude":"2d7d3f00","hex_latitude":"05d3f398","is_valid_coordinates":true} 
[2026-08-25 11:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635100672001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123332021719138304,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025776628237062144,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787637118000,"timestamp_ms":1787637118000,"timestamp_seconds":1787637118,"priority":1,"record_length":96,"hex_timestamp":"000001a03779b430"} 
[2026-08-25 11:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 11:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635100672001,"66":13276,"254":206,"85":15104,"24":59,"16":123332021719138304,"45":9025776628237062144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-25 11:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635100672001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:22:52] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-25 11:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123332021719138304,"km_value":123332021719138.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025776628237062144,"description":"Unknown IO ID 45"} 
[2026-08-25 11:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635100672001,"power":13276,"unknown_254":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9025776628237062144}} 
[2026-08-25 11:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":161575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:22:52] local.INFO: GPS data processed {"connection_id":161575,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:22:52] local.INFO: Acknowledgment sent {"connection_id":161575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:22:56] local.INFO: TCP Data received {"connection_id":161575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03779cf88012d7d3bc005d3d008000000b918..."} 
[2026-08-25 11:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03779cf88012d7d3bc005d3d008000000b918..."} 
[2026-08-25 11:22:56] local.INFO: Processing buffer {"connection_id":161575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03779cf88012d7d3bc005d3d008000000b918..."} 
[2026-08-25 11:22:56] local.INFO: Packet analysis {"connection_id":161575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03779"} 
[2026-08-25 11:22:56] local.INFO: Extracted packet for processing {"connection_id":161575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03779"} 
[2026-08-25 11:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97767432,"longitude_deg":76.3182016,"latitude_deg":9.7767432,"altitude":0,"angle":185,"satellites":24,"speed":37,"hex_longitude":"2d7d3bc0","hex_latitude":"05d3d008","is_valid_coordinates":true} 
[2026-08-25 11:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635102208001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123332464100769792,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203304556544,"note":"Value kept but may cause issues"} 
[2026-08-25 11:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787637125000,"timestamp_ms":1787637125000,"timestamp_seconds":1787637125,"priority":1,"record_length":96,"hex_timestamp":"000001a03779cf88"} 
[2026-08-25 11:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 11:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635102208001,"66":13178,"254":206,"85":15104,"24":37,"16":123332464100769792,"45":9024932203304556544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-25 11:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635102208001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:22:56] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-25 11:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123332464100769792,"km_value":123332464100769.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203304556544,"description":"Unknown IO ID 45"} 
[2026-08-25 11:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635102208001,"power":13178,"unknown_254":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9024932203304556544}} 
[2026-08-25 11:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":161575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:22:57] local.INFO: GPS data processed {"connection_id":161575,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:22:57] local.INFO: Acknowledgment sent {"connection_id":161575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:23:19] local.INFO: TCP Data received {"connection_id":164195,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:23:19] local.INFO: Processing buffer {"connection_id":164195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:23:19] local.INFO: Packet analysis {"connection_id":164195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:23:19] local.INFO: Extracted packet for processing {"connection_id":164195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635035648001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787637159000,"timestamp_ms":1787637159000,"timestamp_seconds":1787637159,"priority":1,"record_length":96,"hex_timestamp":"000001a0377a5458"} 
[2026-08-25 11:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635035648001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635035648001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:23:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635035648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":164195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:23:19] local.INFO: GPS data processed {"connection_id":164195,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:23:19] local.INFO: Acknowledgment sent {"connection_id":164195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:23:40] local.INFO: TCP Data received {"connection_id":164196,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:23:40] local.INFO: Processing buffer {"connection_id":164196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:23:40] local.INFO: IMEI packet received {"connection_id":164196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":164196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:23:40] local.INFO: TCP Data received {"connection_id":164196,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:23:40] local.INFO: Processing buffer {"connection_id":164196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:23:40] local.INFO: IMEI packet received {"connection_id":164196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":164196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:23:41] local.INFO: TCP Data received {"connection_id":164196,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:23:41] local.INFO: Processing buffer {"connection_id":164196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:23:41] local.INFO: IMEI packet received {"connection_id":164196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":164196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:23:45] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:23:45] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:23:45] local.INFO: IMEI packet received {"connection_id":161820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":161820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:23:46] local.INFO: TCP Data received {"connection_id":164196,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:23:46] local.INFO: Processing buffer {"connection_id":164196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:23:46] local.INFO: IMEI packet received {"connection_id":164196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":164196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:23:47] local.INFO: TCP Data received {"connection_id":164196,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03779fe68012d7d398005d3aa30000000b418..."} 
[2026-08-25 11:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03779fe68012d7d398005d3aa30000000b418..."} 
[2026-08-25 11:23:47] local.INFO: Processing buffer {"connection_id":164196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03779fe68012d7d398005d3aa30000000b418..."} 
[2026-08-25 11:23:47] local.INFO: Packet analysis {"connection_id":164196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03779"} 
[2026-08-25 11:23:47] local.INFO: Extracted packet for processing {"connection_id":164196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03779"} 
[2026-08-25 11:23:47] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97757744,"longitude_deg":76.318144,"latitude_deg":9.7757744,"altitude":0,"angle":180,"satellites":24,"speed":41,"hex_longitude":"2d7d3980","hex_latitude":"05d3aa30","is_valid_coordinates":true} 
[2026-08-25 11:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635104000001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123332936547172352,"note":"Value kept but may cause issues"} 
[2026-08-25 11:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409627916288,"note":"Value kept but may cause issues"} 
[2026-08-25 11:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787637137000,"timestamp_ms":1787637137000,"timestamp_seconds":1787637137,"priority":1,"record_length":96,"hex_timestamp":"000001a03779fe68"} 
[2026-08-25 11:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-25 11:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635104000001,"66":13135,"254":206,"85":15104,"24":41,"16":123332936547172352,"45":9024017409627916288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-25 11:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635104000001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:23:47] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-25 11:23:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123332936547172352,"km_value":123332936547172.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409627916288,"description":"Unknown IO ID 45"} 
[2026-08-25 11:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635104000001,"power":13135,"unknown_254":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9024017409627916288}} 
[2026-08-25 11:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":164196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:23:47] local.INFO: GPS data processed {"connection_id":164196,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:23:47] local.INFO: Acknowledgment sent {"connection_id":164196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:23:50] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:23:50] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:23:50] local.INFO: IMEI packet received {"connection_id":161820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":161820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:23:51] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:23:51] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:23:51] local.INFO: Packet analysis {"connection_id":161820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:23:51] local.INFO: Extracted packet for processing {"connection_id":161820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635035648001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787637159000,"timestamp_ms":1787637159000,"timestamp_seconds":1787637159,"priority":1,"record_length":96,"hex_timestamp":"000001a0377a5458"} 
[2026-08-25 11:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635035648001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635035648001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:23:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635035648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":161820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:23:51] local.INFO: GPS data processed {"connection_id":161820,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:23:51] local.INFO: Acknowledgment sent {"connection_id":161820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:24:18] local.INFO: TCP Data received {"connection_id":164196,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377a1da8012d7d390005d38538000000b21b..."} 
[2026-08-25 11:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377a1da8012d7d390005d38538000000b21b..."} 
[2026-08-25 11:24:18] local.INFO: Processing buffer {"connection_id":164196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377a1da8012d7d390005d38538000000b21b..."} 
[2026-08-25 11:24:18] local.INFO: Packet analysis {"connection_id":164196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:24:18] local.INFO: Extracted packet for processing {"connection_id":164196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:24:18] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97748280,"longitude_deg":76.3181312,"latitude_deg":9.774828,"altitude":0,"angle":178,"satellites":27,"speed":52,"hex_longitude":"2d7d3900","hex_latitude":"05d38538","is_valid_coordinates":true} 
[2026-08-25 11:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635107072001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123333391813705728,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090927837184,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637145000,"timestamp_ms":1787637145000,"timestamp_seconds":1787637145,"priority":1,"record_length":96,"hex_timestamp":"000001a0377a1da8"} 
[2026-08-25 11:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:24: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-25 11:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 11:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635107072001,"66":13048,"254":206,"85":15104,"24":52,"16":123333391813705728,"45":9023384090927837184},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-25 11:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635107072001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:24:18] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-25 11:24:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123333391813705728,"km_value":123333391813705.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090927837184,"description":"Unknown IO ID 45"} 
[2026-08-25 11:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635107072001,"power":13048,"unknown_254":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9023384090927837184}} 
[2026-08-25 11:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":164196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:24:18] local.INFO: GPS data processed {"connection_id":164196,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:24:18] local.INFO: Acknowledgment sent {"connection_id":164196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:24:23] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:24:23] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:24:23] local.INFO: Packet analysis {"connection_id":161820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:24:23] local.INFO: Extracted packet for processing {"connection_id":161820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:24:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635035648001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787637159000,"timestamp_ms":1787637159000,"timestamp_seconds":1787637159,"priority":1,"record_length":96,"hex_timestamp":"000001a0377a5458"} 
[2026-08-25 11:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635035648001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635035648001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:24:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:24:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635035648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":161820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:24:23] local.INFO: GPS data processed {"connection_id":161820,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:24:23] local.INFO: Acknowledgment sent {"connection_id":161820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:24:40] local.INFO: TCP Data received {"connection_id":161576,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:24:40] local.INFO: Processing buffer {"connection_id":161576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:24:40] local.INFO: IMEI packet received {"connection_id":161576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":161576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:24:40] local.INFO: TCP Data received {"connection_id":162812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:24:40] local.INFO: Processing buffer {"connection_id":162812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:24:40] local.INFO: IMEI packet received {"connection_id":162812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":162812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:24:41] local.INFO: TCP Data received {"connection_id":162812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:24:41] local.INFO: Processing buffer {"connection_id":162812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:24:41] local.INFO: IMEI packet received {"connection_id":162812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":162812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:24:42] local.INFO: TCP Data received {"connection_id":162812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:24:42] local.INFO: Processing buffer {"connection_id":162812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:24:42] local.INFO: IMEI packet received {"connection_id":162812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":162812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:24:45] local.INFO: TCP Data received {"connection_id":161576,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:24:45] local.INFO: Processing buffer {"connection_id":161576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:24:45] local.INFO: IMEI packet received {"connection_id":161576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":161576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:24:46] local.INFO: TCP Data received {"connection_id":161576,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:24:46] local.INFO: Processing buffer {"connection_id":161576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:24:46] local.INFO: Packet analysis {"connection_id":161576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:24:46] local.INFO: Extracted packet for processing {"connection_id":161576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635035648001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787637159000,"timestamp_ms":1787637159000,"timestamp_seconds":1787637159,"priority":1,"record_length":96,"hex_timestamp":"000001a0377a5458"} 
[2026-08-25 11:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635035648001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635035648001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:24:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635035648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":161576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:24:46] local.INFO: TCP Data received {"connection_id":162812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:24:46] local.INFO: GPS data processed {"connection_id":161576,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:24:46] local.INFO: Acknowledgment sent {"connection_id":161576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:24:46] local.INFO: Processing buffer {"connection_id":162812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:24:46] local.INFO: IMEI packet received {"connection_id":162812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":162812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:24:47] local.INFO: TCP Data received {"connection_id":162812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377bea98012d7d3f0005d31560000400b41e..."} 
[2026-08-25 11:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377bea98012d7d3f0005d31560000400b41e..."} 
[2026-08-25 11:24:47] local.INFO: Processing buffer {"connection_id":162812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377bea98012d7d3f0005d31560000400b41e..."} 
[2026-08-25 11:24:47] local.INFO: Packet analysis {"connection_id":162812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377b"} 
[2026-08-25 11:24:47] local.INFO: Extracted packet for processing {"connection_id":162812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377b"} 
[2026-08-25 11:24:47] local.INFO: GPS Element Parsed {"raw_longitude":763182848,"raw_latitude":97719648,"longitude_deg":76.3182848,"latitude_deg":9.7719648,"altitude":4,"angle":180,"satellites":30,"speed":9,"hex_longitude":"2d7d3f00","hex_latitude":"05d31560","is_valid_coordinates":true} 
[2026-08-25 11:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635138816001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123334804857946112,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203290083328,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:47] 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-25 11:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787637263000,"timestamp_ms":1787637263000,"timestamp_seconds":1787637263,"priority":1,"record_length":96,"hex_timestamp":"000001a0377bea98"} 
[2026-08-25 11:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 11:24:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:47] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3221607198,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:47] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2974627553889360896,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792554702,"corrected_to":0} 
[2026-08-25 11:24:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3542278144,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:47] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57911625340835131,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-6458160570763001851,"note":"Value kept but may cause issues"} 
[2026-08-25 11:24:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,115,85,24,241,157,16,44,160,148,45,64,23,3,33,10,66,113,27,34,62,192,1,240,63,227,55,211,4,205,8,32,35,239,51,2,182,5,6,198,122],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2792554702,"validated":0}]} 
[2026-08-25 11:24:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216358732723060736,"timestamp_seconds":216358732723060.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635138816001,"66":13319,"115":206,"85":15104,"24":9,"16":123334804857946112,"45":9024932203290083328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635138816001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:24:47] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:24:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123334804857946112,"km_value":123334804857946.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203290083328,"description":"Unknown IO ID 45"} 
[2026-08-25 11:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635138816001,"power":13319,"unknown_115":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9024932203290083328}} 
[2026-08-25 11:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":162812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:24:47] local.INFO: GPS data processed {"connection_id":162812,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:24:47] local.INFO: Acknowledgment sent {"connection_id":162812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:25:18] local.INFO: TCP Data received {"connection_id":162812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377bfa38012d7d3f4005d313100004009d1d..."} 
[2026-08-25 11:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377bfa38012d7d3f4005d313100004009d1d..."} 
[2026-08-25 11:25:18] local.INFO: Processing buffer {"connection_id":162812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377bfa38012d7d3f4005d313100004009d1d..."} 
[2026-08-25 11:25:18] local.INFO: Packet analysis {"connection_id":162812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377b"} 
[2026-08-25 11:25:18] local.INFO: Extracted packet for processing {"connection_id":162812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377b"} 
[2026-08-25 11:25:18] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":97719056,"longitude_deg":76.3182912,"latitude_deg":9.7719056,"altitude":4,"angle":157,"satellites":29,"speed":2,"hex_longitude":"2d7d3f40","hex_latitude":"05d31310","is_valid_coordinates":true} 
[2026-08-25 11:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635139328001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123334834922717184,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203289993216,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] 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-25 11:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637267000,"timestamp_ms":1787637267000,"timestamp_seconds":1787637267,"priority":1,"record_length":96,"hex_timestamp":"000001a0377bfa38"} 
[2026-08-25 11:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:25: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-25 11:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2513008596377870592,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792554702,"corrected_to":0} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3489738109,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3221607196,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3541966848,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57885383090656571,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-1954560943392440315,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,115,85,24,241,157,16,44,160,226,45,22,3,31,10,66,148,64,23,33,113,1,240,128,227,55,211,4,205,58,62,192,34,239,50,2,182,5,79,122],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2792554702,"validated":0}]} 
[2026-08-25 11:25:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288428417094320128,"timestamp_seconds":288428417094320.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635139328001,"66":13102,"115":206,"85":15104,"24":2,"16":123334834922717184,"45":9024932203289993216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635139328001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:25:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:25:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123334834922717184,"km_value":123334834922717.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203289993216,"description":"Unknown IO ID 45"} 
[2026-08-25 11:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635139328001,"power":13102,"unknown_115":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9024932203289993216}} 
[2026-08-25 11:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":162812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:25:18] local.INFO: GPS data processed {"connection_id":162812,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:25:18] local.INFO: Acknowledgment sent {"connection_id":162812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:25:18] local.INFO: TCP Data received {"connection_id":161576,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:25:18] local.INFO: Processing buffer {"connection_id":161576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:25:18] local.INFO: Packet analysis {"connection_id":161576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:25:18] local.INFO: Extracted packet for processing {"connection_id":161576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635035648001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637159000,"timestamp_ms":1787637159000,"timestamp_seconds":1787637159,"priority":1,"record_length":96,"hex_timestamp":"000001a0377a5458"} 
[2026-08-25 11:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635035648001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635035648001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:25:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635035648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":161576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:25:18] local.INFO: GPS data processed {"connection_id":161576,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:25:18] local.INFO: Acknowledgment sent {"connection_id":161576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:25:40] local.INFO: TCP Data received {"connection_id":164197,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:25:40] local.INFO: Processing buffer {"connection_id":164197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:25:40] local.INFO: IMEI packet received {"connection_id":164197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":164197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:25:41] local.INFO: TCP Data received {"connection_id":164198,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:25:41] local.INFO: Processing buffer {"connection_id":164198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:25:41] local.INFO: IMEI packet received {"connection_id":164198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":164198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:25:45] local.INFO: TCP Data received {"connection_id":164197,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:25:45] local.INFO: Processing buffer {"connection_id":164197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:25:45] local.INFO: IMEI packet received {"connection_id":164197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":164197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:25:46] local.INFO: TCP Data received {"connection_id":164197,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:25:46] local.INFO: Processing buffer {"connection_id":164197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:25:46] local.INFO: Packet analysis {"connection_id":164197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:25:46] local.INFO: Extracted packet for processing {"connection_id":164197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635035648001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787637159000,"timestamp_ms":1787637159000,"timestamp_seconds":1787637159,"priority":1,"record_length":96,"hex_timestamp":"000001a0377a5458"} 
[2026-08-25 11: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-25 11:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635035648001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635035648001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635035648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":164197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:25:46] local.INFO: GPS data processed {"connection_id":164197,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:25:46] local.INFO: Acknowledgment sent {"connection_id":164197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:25:46] local.INFO: TCP Data received {"connection_id":164198,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:25:46] local.INFO: Processing buffer {"connection_id":164198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:25:46] local.INFO: IMEI packet received {"connection_id":164198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":164198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:25:47] local.INFO: TCP Data received {"connection_id":164198,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377cdcc8012d7d400005d30cd0000400b320..."} 
[2026-08-25 11:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377cdcc8012d7d400005d30cd0000400b320..."} 
[2026-08-25 11:25:47] local.INFO: Processing buffer {"connection_id":164198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377cdcc8012d7d400005d30cd0000400b320..."} 
[2026-08-25 11:25:47] local.INFO: Packet analysis {"connection_id":164198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377c"} 
[2026-08-25 11:25:47] local.INFO: Extracted packet for processing {"connection_id":164198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377c"} 
[2026-08-25 11:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97717456,"longitude_deg":76.3183104,"latitude_deg":9.7717456,"altitude":4,"angle":179,"satellites":32,"speed":4,"hex_longitude":"2d7d4000","hex_latitude":"05d30cd0","is_valid_coordinates":true} 
[2026-08-25 11:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635150080001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123334925117030400,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309522003968,"note":"Value kept but may cause issues"} 
[2026-08-25 11:25:47] 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-25 11:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787637325000,"timestamp_ms":1787637325000,"timestamp_seconds":1787637325,"priority":1,"record_length":96,"hex_timestamp":"000001a0377cdcc8"} 
[2026-08-25 11:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 11:25:47] 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-25 11:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635150080001,"66":13243,"115":206,"85":15104,"24":4,"16":123334925117030400,"45":9025143309522003968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635150080001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:25:47] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123334925117030400,"km_value":123334925117030.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309522003968,"description":"Unknown IO ID 45"} 
[2026-08-25 11:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635150080001,"power":13243,"unknown_115":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9025143309522003968}} 
[2026-08-25 11:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":164198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:25:47] local.INFO: GPS data processed {"connection_id":164198,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:25:47] local.INFO: Acknowledgment sent {"connection_id":164198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:26:18] local.INFO: TCP Data received {"connection_id":164197,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:26:18] local.INFO: Processing buffer {"connection_id":164197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:26:18] local.INFO: Packet analysis {"connection_id":164197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:26:18] local.INFO: Extracted packet for processing {"connection_id":164197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635035648001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637159000,"timestamp_ms":1787637159000,"timestamp_seconds":1787637159,"priority":1,"record_length":96,"hex_timestamp":"000001a0377a5458"} 
[2026-08-25 11: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-25 11:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635035648001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635035648001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:26:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635035648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":164197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:26:18] local.INFO: GPS data processed {"connection_id":164197,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:26:18] local.INFO: Acknowledgment sent {"connection_id":164197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:26:18] local.INFO: TCP Data received {"connection_id":164198,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377cf050012d7d400005d30a08000400a621..."} 
[2026-08-25 11:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377cf050012d7d400005d30a08000400a621..."} 
[2026-08-25 11:26:18] local.INFO: Processing buffer {"connection_id":164198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377cf050012d7d400005d30a08000400a621..."} 
[2026-08-25 11:26:18] local.INFO: Packet analysis {"connection_id":164198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377c"} 
[2026-08-25 11:26:18] local.INFO: Extracted packet for processing {"connection_id":164198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377c"} 
[2026-08-25 11:26:18] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97716744,"longitude_deg":76.3183104,"latitude_deg":9.7716744,"altitude":4,"angle":166,"satellites":33,"speed":6,"hex_longitude":"2d7d4000","hex_latitude":"05d30a08","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635155200001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123334963771736064,"note":"Value kept but may cause issues"} 
[2026-08-25 11:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025213678266142720,"note":"Value kept but may cause issues"} 
[2026-08-25 11:26:18] 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-25 11:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637330000,"timestamp_ms":1787637330000,"timestamp_seconds":1787637330,"priority":1,"record_length":96,"hex_timestamp":"000001a0377cf050"} 
[2026-08-25 11: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-25 11:26: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-25 11:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 11:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635155200001,"66":13048,"115":206,"85":15104,"24":6,"16":123334963771736064,"45":9025213678266142720},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635155200001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:26:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:26:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123334963771736064,"km_value":123334963771736.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025213678266142720,"description":"Unknown IO ID 45"} 
[2026-08-25 11:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635155200001,"power":13048,"unknown_115":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9025213678266142720}} 
[2026-08-25 11:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":164198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:26:18] local.INFO: GPS data processed {"connection_id":164198,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:26:18] local.INFO: Acknowledgment sent {"connection_id":164198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:26:40] local.INFO: TCP Data received {"connection_id":161577,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:26:40] local.INFO: Processing buffer {"connection_id":161577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:26:40] local.INFO: IMEI packet received {"connection_id":161577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":161577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:26:41] local.INFO: TCP Data received {"connection_id":161578,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:26:41] local.INFO: Processing buffer {"connection_id":161578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:26:41] local.INFO: IMEI packet received {"connection_id":161578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":161578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:26:45] local.INFO: TCP Data received {"connection_id":161577,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:26:45] local.INFO: Processing buffer {"connection_id":161577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:26:45] local.INFO: IMEI packet received {"connection_id":161577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":161577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:26:46] local.INFO: TCP Data received {"connection_id":161578,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:26:46] local.INFO: Processing buffer {"connection_id":161578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:26:46] local.INFO: IMEI packet received {"connection_id":161578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":161578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:26:47] local.INFO: TCP Data received {"connection_id":161578,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377cfc08012d7d408005d30768000400b521..."} 
[2026-08-25 11:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377cfc08012d7d408005d30768000400b521..."} 
[2026-08-25 11:26:47] local.INFO: Processing buffer {"connection_id":161578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377cfc08012d7d408005d30768000400b521..."} 
[2026-08-25 11:26:47] local.INFO: Packet analysis {"connection_id":161578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377c"} 
[2026-08-25 11:26:47] local.INFO: Extracted packet for processing {"connection_id":161578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377c"} 
[2026-08-25 11:26:47] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":97716072,"longitude_deg":76.3183232,"latitude_deg":9.7716072,"altitude":4,"angle":181,"satellites":33,"speed":9,"hex_longitude":"2d7d4080","hex_latitude":"05d30768","is_valid_coordinates":true} 
[2026-08-25 11:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635156480001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123334998131474432,"note":"Value kept but may cause issues"} 
[2026-08-25 11:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025213678265960448,"note":"Value kept but may cause issues"} 
[2026-08-25 11:26:47] 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-25 11:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787637333000,"timestamp_ms":1787637333000,"timestamp_seconds":1787637333,"priority":1,"record_length":96,"hex_timestamp":"000001a0377cfc08"} 
[2026-08-25 11:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 11:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635156480001,"66":13102,"115":206,"85":15104,"24":9,"16":123334998131474432,"45":9025213678265960448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635156480001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:26:47] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:26:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123334998131474432,"km_value":123334998131474.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025213678265960448,"description":"Unknown IO ID 45"} 
[2026-08-25 11:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635156480001,"power":13102,"unknown_115":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9025213678265960448}} 
[2026-08-25 11:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":161578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:26:47] local.INFO: GPS data processed {"connection_id":161578,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:26:47] local.INFO: Acknowledgment sent {"connection_id":161578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:26:47] local.INFO: TCP Data received {"connection_id":161577,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:26:47] local.INFO: Processing buffer {"connection_id":161577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:26:47] local.INFO: Packet analysis {"connection_id":161577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:26:47] local.INFO: Extracted packet for processing {"connection_id":161577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635035648001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787637159000,"timestamp_ms":1787637159000,"timestamp_seconds":1787637159,"priority":1,"record_length":96,"hex_timestamp":"000001a0377a5458"} 
[2026-08-25 11:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635035648001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635035648001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:26:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635035648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":161577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:26:47] local.INFO: GPS data processed {"connection_id":161577,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:26:47] local.INFO: Acknowledgment sent {"connection_id":161577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:27:18] local.INFO: TCP Data received {"connection_id":161578,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377e7ad8012d7d40c005d2f798000400e021..."} 
[2026-08-25 11:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377e7ad8012d7d40c005d2f798000400e021..."} 
[2026-08-25 11:27:18] local.INFO: Processing buffer {"connection_id":161578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377e7ad8012d7d40c005d2f798000400e021..."} 
[2026-08-25 11:27:18] local.INFO: Packet analysis {"connection_id":161578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:27:18] local.INFO: Extracted packet for processing {"connection_id":161578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:27:18] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97712024,"longitude_deg":76.3183296,"latitude_deg":9.7712024,"altitude":4,"angle":224,"satellites":33,"speed":4,"hex_longitude":"2d7d40c0","hex_latitude":"05d2f798","is_valid_coordinates":true} 
[2026-08-25 11:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635180544001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123335238649643008,"note":"Value kept but may cause issues"} 
[2026-08-25 11:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415753166848,"note":"Value kept but may cause issues"} 
[2026-08-25 11:27:18] 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-25 11:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637431000,"timestamp_ms":1787637431000,"timestamp_seconds":1787637431,"priority":1,"record_length":96,"hex_timestamp":"000001a0377e7ad8"} 
[2026-08-25 11:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 11:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635180544001,"66":13189,"115":206,"85":15104,"24":4,"16":123335238649643008,"45":9025354415753166848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635180544001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:27:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:27:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123335238649643008,"km_value":123335238649643.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415753166848,"description":"Unknown IO ID 45"} 
[2026-08-25 11:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635180544001,"power":13189,"unknown_115":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9025354415753166848}} 
[2026-08-25 11:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":161578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:27:18] local.INFO: GPS data processed {"connection_id":161578,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:27:18] local.INFO: Acknowledgment sent {"connection_id":161578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:27:19] local.INFO: TCP Data received {"connection_id":161577,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:27:19] local.INFO: Processing buffer {"connection_id":161577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:27:19] local.INFO: Packet analysis {"connection_id":161577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:27:19] local.INFO: Extracted packet for processing {"connection_id":161577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:27:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635035648001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787637159000,"timestamp_ms":1787637159000,"timestamp_seconds":1787637159,"priority":1,"record_length":96,"hex_timestamp":"000001a0377a5458"} 
[2026-08-25 11:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635035648001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635035648001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:27:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:27:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635035648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":161577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:27:19] local.INFO: GPS data processed {"connection_id":161577,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:27:19] local.INFO: Acknowledgment sent {"connection_id":161577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:27:40] local.INFO: TCP Data received {"connection_id":164199,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:27:40] local.INFO: Processing buffer {"connection_id":164199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:27:40] local.INFO: IMEI packet received {"connection_id":164199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":164199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:27:41] local.INFO: TCP Data received {"connection_id":164200,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:27:41] local.INFO: Processing buffer {"connection_id":164200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:27:41] local.INFO: IMEI packet received {"connection_id":164200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":164200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:27:45] local.INFO: TCP Data received {"connection_id":164199,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:27:45] local.INFO: Processing buffer {"connection_id":164199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:27:45] local.INFO: IMEI packet received {"connection_id":164199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":164199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:27:46] local.INFO: TCP Data received {"connection_id":164199,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:27:46] local.INFO: Processing buffer {"connection_id":164199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:27:46] local.INFO: Packet analysis {"connection_id":164199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:27:46] local.INFO: Extracted packet for processing {"connection_id":164199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635035648001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787637159000,"timestamp_ms":1787637159000,"timestamp_seconds":1787637159,"priority":1,"record_length":96,"hex_timestamp":"000001a0377a5458"} 
[2026-08-25 11:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635035648001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635035648001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:27:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635035648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":164199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:27:46] local.INFO: GPS data processed {"connection_id":164199,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:27:46] local.INFO: Acknowledgment sent {"connection_id":164199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:27:46] local.INFO: TCP Data received {"connection_id":164200,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:27:46] local.INFO: Processing buffer {"connection_id":164200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:27:46] local.INFO: IMEI packet received {"connection_id":164200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":164200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:27:47] local.INFO: TCP Data received {"connection_id":164200,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377e7ec0012d7d408005d2f7580004010122..."} 
[2026-08-25 11:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377e7ec0012d7d408005d2f7580004010122..."} 
[2026-08-25 11:27:47] local.INFO: Processing buffer {"connection_id":164200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377e7ec0012d7d408005d2f7580004010122..."} 
[2026-08-25 11:27:47] local.INFO: Packet analysis {"connection_id":164200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:27:47] local.INFO: Extracted packet for processing {"connection_id":164200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:27:47] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":97711960,"longitude_deg":76.3183232,"latitude_deg":9.771196,"altitude":4,"angle":257,"satellites":34,"speed":3,"hex_longitude":"2d7d4080","hex_latitude":"05d2f758","is_valid_coordinates":true} 
[2026-08-25 11:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635182336001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123335242944610304,"note":"Value kept but may cause issues"} 
[2026-08-25 11:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784497285120,"note":"Value kept but may cause issues"} 
[2026-08-25 11:27:47] 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-25 11:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787637432000,"timestamp_ms":1787637432000,"timestamp_seconds":1787637432,"priority":1,"record_length":96,"hex_timestamp":"000001a0377e7ec0"} 
[2026-08-25 11:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 11:27:47] 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-25 11:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635182336001,"66":13189,"115":206,"85":15104,"24":3,"16":123335242944610304,"45":9025424784497285120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635182336001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:27:47] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:27:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123335242944610304,"km_value":123335242944610.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784497285120,"description":"Unknown IO ID 45"} 
[2026-08-25 11:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635182336001,"power":13189,"unknown_115":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9025424784497285120}} 
[2026-08-25 11:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":164200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:27:47] local.INFO: GPS data processed {"connection_id":164200,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:27:47] local.INFO: Acknowledgment sent {"connection_id":164200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:28:18] local.INFO: TCP Data received {"connection_id":164200,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377e82a8012d7d408005d2f7500004012122..."} 
[2026-08-25 11:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377e82a8012d7d408005d2f7500004012122..."} 
[2026-08-25 11:28:18] local.INFO: Processing buffer {"connection_id":164200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377e82a8012d7d408005d2f7500004012122..."} 
[2026-08-25 11:28:18] local.INFO: Packet analysis {"connection_id":164200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:28:18] local.INFO: Extracted packet for processing {"connection_id":164200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:28:18] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":97711952,"longitude_deg":76.3183232,"latitude_deg":9.7711952,"altitude":4,"angle":289,"satellites":34,"speed":2,"hex_longitude":"2d7d4080","hex_latitude":"05d2f750","is_valid_coordinates":true} 
[2026-08-25 11:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635182592001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123335247239577600,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415753091072,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:18] 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-25 11:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637433000,"timestamp_ms":1787637433000,"timestamp_seconds":1787637433,"priority":1,"record_length":96,"hex_timestamp":"000001a0377e82a8"} 
[2026-08-25 11:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 11:28: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-25 11:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635182592001,"66":12874,"115":206,"85":15104,"24":2,"16":123335247239577600,"45":9025354415753091072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635182592001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:28:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:28:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123335247239577600,"km_value":123335247239577.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415753091072,"description":"Unknown IO ID 45"} 
[2026-08-25 11:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635182592001,"power":12874,"unknown_115":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9025354415753091072}} 
[2026-08-25 11:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":164200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:28:18] local.INFO: GPS data processed {"connection_id":164200,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:28:18] local.INFO: Acknowledgment sent {"connection_id":164200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:28:18] local.INFO: TCP Data received {"connection_id":164199,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:28:18] local.INFO: Processing buffer {"connection_id":164199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377a5458012d34c0c006aa4878000600552b..."} 
[2026-08-25 11:28:18] local.INFO: Packet analysis {"connection_id":164199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:28:18] local.INFO: Extracted packet for processing {"connection_id":164199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377a"} 
[2026-08-25 11:28:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":6,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635035648001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637159000,"timestamp_ms":1787637159000,"timestamp_seconds":1787637159,"priority":1,"record_length":96,"hex_timestamp":"000001a0377a5458"} 
[2026-08-25 11:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635035648001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635035648001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:28:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:28:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635035648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":164199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:28:18] local.INFO: GPS data processed {"connection_id":164199,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:28:18] local.INFO: Acknowledgment sent {"connection_id":164199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:28:42] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:28:42] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:28:42] local.INFO: IMEI packet received {"connection_id":161821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":161821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:28:45] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:28:45] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:28:45] local.INFO: IMEI packet received {"connection_id":161822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":161822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:28:46] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:28:46] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:28:46] local.INFO: IMEI packet received {"connection_id":161821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":161821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:28:50] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:28:50] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:28:50] local.INFO: IMEI packet received {"connection_id":161822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":161822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:28:51] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:28:51] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:28:51] local.INFO: IMEI packet received {"connection_id":161821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":161821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:28:51] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:28:51] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:28:51] local.INFO: Packet analysis {"connection_id":161822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:28:51] local.INFO: Extracted packet for processing {"connection_id":161822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 11:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635112704001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787637460000,"timestamp_ms":1787637460000,"timestamp_seconds":1787637460,"priority":1,"record_length":96,"hex_timestamp":"000001a0377eec20"} 
[2026-08-25 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-25 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 11:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635112704001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635112704001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:28:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635112704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":161822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:28:51] local.INFO: GPS data processed {"connection_id":161822,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:28:51] local.INFO: Acknowledgment sent {"connection_id":161822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:28:52] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377f9be8012d7d438005d2e5280004008e22..."} 
[2026-08-25 11:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377f9be8012d7d438005d2e5280004008e22..."} 
[2026-08-25 11:28:52] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377f9be8012d7d438005d2e5280004008e22..."} 
[2026-08-25 11:28:52] local.INFO: Packet analysis {"connection_id":161821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377f"} 
[2026-08-25 11:28:52] local.INFO: Extracted packet for processing {"connection_id":161821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377f"} 
[2026-08-25 11:28:52] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97707304,"longitude_deg":76.3184,"latitude_deg":9.7707304,"altitude":4,"angle":142,"satellites":34,"speed":1,"hex_longitude":"2d7d4380","hex_latitude":"05d2e528","is_valid_coordinates":true} 
[2026-08-25 11:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635199488001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123335487757746176,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840682082304,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:52] 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-25 11:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787637505000,"timestamp_ms":1787637505000,"timestamp_seconds":1787637505,"priority":1,"record_length":96,"hex_timestamp":"000001a0377f9be8"} 
[2026-08-25 11:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 11:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635199488001,"66":13363,"115":206,"85":15104,"24":1,"16":123335487757746176,"45":9026198840682082304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635199488001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:28:52] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123335487757746176,"km_value":123335487757746.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840682082304,"description":"Unknown IO ID 45"} 
[2026-08-25 11:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635199488001,"power":13363,"unknown_115":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9026198840682082304}} 
[2026-08-25 11:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":161821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:28:52] local.INFO: GPS data processed {"connection_id":161821,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:28:52] local.INFO: Acknowledgment sent {"connection_id":161821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:28:56] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0377fa7a0012d7d438005d2e4a0000400b621..."} 
[2026-08-25 11:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377fa7a0012d7d438005d2e4a0000400b621..."} 
[2026-08-25 11:28:56] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377fa7a0012d7d438005d2e4a0000400b621..."} 
[2026-08-25 11:28:56] local.INFO: Packet analysis {"connection_id":161821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377f"} 
[2026-08-25 11:28:56] local.INFO: Extracted packet for processing {"connection_id":161821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377f"} 
[2026-08-25 11:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97707168,"longitude_deg":76.3184,"latitude_deg":9.7707168,"altitude":4,"angle":182,"satellites":33,"speed":0,"hex_longitude":"2d7d4380","hex_latitude":"05d2e4a0","is_valid_coordinates":true} 
[2026-08-25 11:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635201280001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123335496347680768,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840682031104,"note":"Value kept but may cause issues"} 
[2026-08-25 11:28:56] 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-25 11:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787637508000,"timestamp_ms":1787637508000,"timestamp_seconds":1787637508,"priority":1,"record_length":96,"hex_timestamp":"000001a0377fa7a0"} 
[2026-08-25 11:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 11:28:56] 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-25 11:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635201280001,"66":13037,"115":206,"85":15104,"24":0,"16":123335496347680768,"45":9026198840682031104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635201280001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:28:56] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123335496347680768,"km_value":123335496347680.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840682031104,"description":"Unknown IO ID 45"} 
[2026-08-25 11:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635201280001,"power":13037,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9026198840682031104}} 
[2026-08-25 11:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":161821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:28:57] local.INFO: GPS data processed {"connection_id":161821,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:28:57] local.INFO: Acknowledgment sent {"connection_id":161821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:29:23] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:29:23] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:29:23] local.INFO: Packet analysis {"connection_id":161822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:29:23] local.INFO: Extracted packet for processing {"connection_id":161822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:29:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635112704001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787637460000,"timestamp_ms":1787637460000,"timestamp_seconds":1787637460,"priority":1,"record_length":96,"hex_timestamp":"000001a0377eec20"} 
[2026-08-25 11:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635112704001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635112704001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:29:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:29:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635112704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":161822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:29:23] local.INFO: GPS data processed {"connection_id":161822,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:29:23] local.INFO: Acknowledgment sent {"connection_id":161822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:29:38] local.INFO: TCP Data received {"connection_id":164201,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:29:38] local.INFO: Processing buffer {"connection_id":164201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:29:38] local.INFO: IMEI packet received {"connection_id":164201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":164201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:29:41] local.INFO: TCP Data received {"connection_id":164202,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:29:41] local.INFO: Processing buffer {"connection_id":164202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:29:41] local.INFO: IMEI packet received {"connection_id":164202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":164202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:29:41] local.INFO: TCP Data received {"connection_id":164201,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:29:41] local.INFO: Processing buffer {"connection_id":164201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:29:41] local.INFO: IMEI packet received {"connection_id":164201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":164201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:29:42] local.INFO: TCP Data received {"connection_id":164201,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:29:42] local.INFO: Processing buffer {"connection_id":164201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:29:42] local.INFO: IMEI packet received {"connection_id":164201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":164201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:29:43] local.INFO: TCP Data received {"connection_id":164201,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03780a970012d7d42c005d2d610000200cb23..."} 
[2026-08-25 11:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03780a970012d7d42c005d2d610000200cb23..."} 
[2026-08-25 11:29:43] local.INFO: Processing buffer {"connection_id":164201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03780a970012d7d42c005d2d610000200cb23..."} 
[2026-08-25 11:29:43] local.INFO: Packet analysis {"connection_id":164201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03780"} 
[2026-08-25 11:29:43] local.INFO: Extracted packet for processing {"connection_id":164201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03780"} 
[2026-08-25 11:29:43] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":97703440,"longitude_deg":76.3183808,"latitude_deg":9.770344,"altitude":2,"angle":203,"satellites":35,"speed":2,"hex_longitude":"2d7d42c0","hex_latitude":"05d2d610","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635216128001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123335676736307200,"note":"Value kept but may cause issues"} 
[2026-08-25 11:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025987734448881664,"note":"Value kept but may cause issues"} 
[2026-08-25 11:29:43] 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-25 11:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787637574000,"timestamp_ms":1787637574000,"timestamp_seconds":1787637574,"priority":1,"record_length":96,"hex_timestamp":"000001a03780a970"} 
[2026-08-25 11: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-25 11:29: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-25 11: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 11:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635216128001,"66":13243,"115":206,"85":15104,"24":2,"16":123335676736307200,"45":9025987734448881664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635216128001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:29:43] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123335676736307200,"km_value":123335676736307.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025987734448881664,"description":"Unknown IO ID 45"} 
[2026-08-25 11:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635216128001,"power":13243,"unknown_115":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9025987734448881664}} 
[2026-08-25 11:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":164201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:29:43] local.INFO: GPS data processed {"connection_id":164201,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:29:43] local.INFO: Acknowledgment sent {"connection_id":164201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:29:45] local.INFO: TCP Data received {"connection_id":164202,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:29:45] local.INFO: Processing buffer {"connection_id":164202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:29:45] local.INFO: IMEI packet received {"connection_id":164202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":164202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:29:47] local.INFO: TCP Data received {"connection_id":164201,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03780b140012d7d430005d2d548000200b724..."} 
[2026-08-25 11:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03780b140012d7d430005d2d548000200b724..."} 
[2026-08-25 11:29:47] local.INFO: Processing buffer {"connection_id":164201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03780b140012d7d430005d2d548000200b724..."} 
[2026-08-25 11:29:47] local.INFO: Packet analysis {"connection_id":164201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03780"} 
[2026-08-25 11:29:47] local.INFO: Extracted packet for processing {"connection_id":164201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03780"} 
[2026-08-25 11:29:47] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97703240,"longitude_deg":76.3183872,"latitude_deg":9.770324,"altitude":2,"angle":183,"satellites":36,"speed":4,"hex_longitude":"2d7d4300","hex_latitude":"05d2d548","is_valid_coordinates":true} 
[2026-08-25 11:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635218944001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123335689621209088,"note":"Value kept but may cause issues"} 
[2026-08-25 11:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025987734448508928,"note":"Value kept but may cause issues"} 
[2026-08-25 11:29:47] 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-25 11:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787637576000,"timestamp_ms":1787637576000,"timestamp_seconds":1787637576,"priority":1,"record_length":96,"hex_timestamp":"000001a03780b140"} 
[2026-08-25 11:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 11:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635218944001,"66":13341,"115":206,"85":15104,"24":4,"16":123335689621209088,"45":9025987734448508928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635218944001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:29:47] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:29:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123335689621209088,"km_value":123335689621209.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025987734448508928,"description":"Unknown IO ID 45"} 
[2026-08-25 11:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635218944001,"power":13341,"unknown_115":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9025987734448508928}} 
[2026-08-25 11:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":164201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:29:47] local.INFO: GPS data processed {"connection_id":164201,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:29:47] local.INFO: Acknowledgment sent {"connection_id":164201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:29:47] local.INFO: TCP Data received {"connection_id":164202,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:29:47] local.INFO: Processing buffer {"connection_id":164202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:29:47] local.INFO: Packet analysis {"connection_id":164202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:29:47] local.INFO: Extracted packet for processing {"connection_id":164202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635112704001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787637460000,"timestamp_ms":1787637460000,"timestamp_seconds":1787637460,"priority":1,"record_length":96,"hex_timestamp":"000001a0377eec20"} 
[2026-08-25 11:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635112704001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635112704001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635112704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":164202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:29:47] local.INFO: GPS data processed {"connection_id":164202,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:29:47] local.INFO: Acknowledgment sent {"connection_id":164202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:30:18] local.INFO: TCP Data received {"connection_id":164201,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03780c0e0012d7d430005d2d368000200aa25..."} 
[2026-08-25 11:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03780c0e0012d7d430005d2d368000200aa25..."} 
[2026-08-25 11:30:18] local.INFO: Processing buffer {"connection_id":164201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03780c0e0012d7d430005d2d368000200aa25..."} 
[2026-08-25 11:30:18] local.INFO: Packet analysis {"connection_id":164201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03780"} 
[2026-08-25 11:30:18] local.INFO: Extracted packet for processing {"connection_id":164201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03780"} 
[2026-08-25 11:30:18] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97702760,"longitude_deg":76.3183872,"latitude_deg":9.770276,"altitude":2,"angle":170,"satellites":37,"speed":4,"hex_longitude":"2d7d4300","hex_latitude":"05d2d368","is_valid_coordinates":true} 
[2026-08-25 11:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635219456001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123335715391012864,"note":"Value kept but may cause issues"} 
[2026-08-25 11:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103192635392,"note":"Value kept but may cause issues"} 
[2026-08-25 11:30:18] 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-25 11:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637580000,"timestamp_ms":1787637580000,"timestamp_seconds":1787637580,"priority":1,"record_length":96,"hex_timestamp":"000001a03780c0e0"} 
[2026-08-25 11:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 11:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635219456001,"66":12917,"115":206,"85":15104,"24":4,"16":123335715391012864,"45":9026058103192635392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635219456001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:30:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:30:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123335715391012864,"km_value":123335715391012.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103192635392,"description":"Unknown IO ID 45"} 
[2026-08-25 11:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635219456001,"power":12917,"unknown_115":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9026058103192635392}} 
[2026-08-25 11:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":164201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:30:18] local.INFO: GPS data processed {"connection_id":164201,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:30:18] local.INFO: Acknowledgment sent {"connection_id":164201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:30:19] local.INFO: TCP Data received {"connection_id":164202,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:30:19] local.INFO: Processing buffer {"connection_id":164202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:30:19] local.INFO: Packet analysis {"connection_id":164202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:30:19] local.INFO: Extracted packet for processing {"connection_id":164202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635112704001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787637460000,"timestamp_ms":1787637460000,"timestamp_seconds":1787637460,"priority":1,"record_length":96,"hex_timestamp":"000001a0377eec20"} 
[2026-08-25 11:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635112704001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635112704001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:30:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:30:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635112704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":164202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:30:19] local.INFO: GPS data processed {"connection_id":164202,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:30:19] local.INFO: Acknowledgment sent {"connection_id":164202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:30:40] local.INFO: TCP Data received {"connection_id":162813,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:30:40] local.INFO: Processing buffer {"connection_id":162813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:30:40] local.INFO: IMEI packet received {"connection_id":162813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":162813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:30:40] local.INFO: TCP Data received {"connection_id":162814,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:30:40] local.INFO: Processing buffer {"connection_id":162814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:30:40] local.INFO: IMEI packet received {"connection_id":162814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":162814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:30:41] local.INFO: TCP Data received {"connection_id":162813,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:30:41] local.INFO: Processing buffer {"connection_id":162813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:30:41] local.INFO: IMEI packet received {"connection_id":162813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":162813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:30:42] local.INFO: TCP Data received {"connection_id":162813,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:30:42] local.INFO: Processing buffer {"connection_id":162813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:30:42] local.INFO: IMEI packet received {"connection_id":162813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":162813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:30:43] local.INFO: TCP Data received {"connection_id":162813,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:30:43] local.INFO: Processing buffer {"connection_id":162813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:30:43] local.INFO: IMEI packet received {"connection_id":162813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":162813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:30:44] local.INFO: TCP Data received {"connection_id":162813,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03780d468012d7d430005d2d270000200b625..."} 
[2026-08-25 11:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03780d468012d7d430005d2d270000200b625..."} 
[2026-08-25 11:30:44] local.INFO: Processing buffer {"connection_id":162813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03780d468012d7d430005d2d270000200b625..."} 
[2026-08-25 11:30:44] local.INFO: Packet analysis {"connection_id":162813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03780"} 
[2026-08-25 11:30:44] local.INFO: Extracted packet for processing {"connection_id":162813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03780"} 
[2026-08-25 11:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97702512,"longitude_deg":76.3183872,"latitude_deg":9.7702512,"altitude":2,"angle":182,"satellites":37,"speed":4,"hex_longitude":"2d7d4300","hex_latitude":"05d2d270","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635220480001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123335728275914752,"note":"Value kept but may cause issues"} 
[2026-08-25 11:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103192512512,"note":"Value kept but may cause issues"} 
[2026-08-25 11:30:44] 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-25 11:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787637585000,"timestamp_ms":1787637585000,"timestamp_seconds":1787637585,"priority":1,"record_length":96,"hex_timestamp":"000001a03780d468"} 
[2026-08-25 11: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-25 11:30: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-25 11: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 11:30:44] 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-25 11: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-25 11: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-25 11:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635220480001,"66":13319,"115":206,"85":15104,"24":4,"16":123335728275914752,"45":9026058103192512512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635220480001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:30:44] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123335728275914752,"km_value":123335728275914.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103192512512,"description":"Unknown IO ID 45"} 
[2026-08-25 11:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635220480001,"power":13319,"unknown_115":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9026058103192512512}} 
[2026-08-25 11:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":162813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:30:44] local.INFO: GPS data processed {"connection_id":162813,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:30:44] local.INFO: Acknowledgment sent {"connection_id":162813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:30:45] local.INFO: TCP Data received {"connection_id":162814,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:30:45] local.INFO: Processing buffer {"connection_id":162814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:30:45] local.INFO: IMEI packet received {"connection_id":162814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":162814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:30:46] local.INFO: TCP Data received {"connection_id":162814,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:30:46] local.INFO: Processing buffer {"connection_id":162814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:30:46] local.INFO: Packet analysis {"connection_id":162814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:30:46] local.INFO: Extracted packet for processing {"connection_id":162814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635112704001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787637460000,"timestamp_ms":1787637460000,"timestamp_seconds":1787637460,"priority":1,"record_length":96,"hex_timestamp":"000001a0377eec20"} 
[2026-08-25 11:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635112704001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635112704001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:30:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635112704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":162814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:30:46] local.INFO: GPS data processed {"connection_id":162814,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:30:46] local.INFO: Acknowledgment sent {"connection_id":162814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:31:15] local.INFO: TCP Data received {"connection_id":162813,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037812288012d7d430005d2c978000200b521..."} 
[2026-08-25 11:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037812288012d7d430005d2c978000200b521..."} 
[2026-08-25 11:31:15] local.INFO: Processing buffer {"connection_id":162813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037812288012d7d430005d2c978000200b521..."} 
[2026-08-25 11:31:15] local.INFO: Packet analysis {"connection_id":162813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03781"} 
[2026-08-25 11:31:15] local.INFO: Extracted packet for processing {"connection_id":162813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03781"} 
[2026-08-25 11:31:15] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97700216,"longitude_deg":76.3183872,"latitude_deg":9.7700216,"altitude":2,"angle":181,"satellites":33,"speed":0,"hex_longitude":"2d7d4300","hex_latitude":"05d2c978","is_valid_coordinates":true} 
[2026-08-25 11:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635221760001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123335839945064448,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103192449024,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:15] 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-25 11:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787637605000,"timestamp_ms":1787637605000,"timestamp_seconds":1787637605,"priority":1,"record_length":96,"hex_timestamp":"000001a037812288"} 
[2026-08-25 11:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 11:31:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:15] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3221607132,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:15] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2155771905,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:15] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-2504001379920174592,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792554702,"corrected_to":0} 
[2026-08-25 11:31:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3537713152,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:15] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2818649469,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:15] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802214,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:15] local.WARNING: Large IO value detected {"io_id":144,"raw_value":57885383090656571,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:15] local.WARNING: Large IO value detected {"io_id":128,"raw_value":7705660257317601285,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:15] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,115,85,24,241,157,16,45,160,192,211,2,37,10,66,177,213,36,169,1,240,187,227,55,210,4,113,205,5,118,224,33,239,50,182,3,144,128],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2792554702,"validated":0}]} 
[2026-08-25 11:31:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144315458106163200,"timestamp_seconds":144315458106163.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635221760001,"66":13037,"115":206,"85":15104,"24":0,"16":123335839945064448,"45":9026058103192449024},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635221760001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:31:15] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123335839945064448,"km_value":123335839945064.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103192449024,"description":"Unknown IO ID 45"} 
[2026-08-25 11:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635221760001,"power":13037,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9026058103192449024}} 
[2026-08-25 11:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":162813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:31:15] local.INFO: GPS data processed {"connection_id":162813,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:31:15] local.INFO: Acknowledgment sent {"connection_id":162813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:31:18] local.INFO: TCP Data received {"connection_id":162814,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:31:18] local.INFO: Processing buffer {"connection_id":162814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:31:18] local.INFO: Packet analysis {"connection_id":162814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:31:18] local.INFO: Extracted packet for processing {"connection_id":162814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:31:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635112704001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637460000,"timestamp_ms":1787637460000,"timestamp_seconds":1787637460,"priority":1,"record_length":96,"hex_timestamp":"000001a0377eec20"} 
[2026-08-25 11:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635112704001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635112704001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:31:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:31:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635112704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":162814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:31:18] local.INFO: GPS data processed {"connection_id":162814,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:31:18] local.INFO: Acknowledgment sent {"connection_id":162814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:31:40] local.INFO: TCP Data received {"connection_id":164203,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:31:40] local.INFO: Processing buffer {"connection_id":164203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:31:40] local.INFO: IMEI packet received {"connection_id":164203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":164203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:31:41] local.INFO: TCP Data received {"connection_id":161579,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:31:41] local.INFO: Processing buffer {"connection_id":161579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:31:41] local.INFO: IMEI packet received {"connection_id":161579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":161579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:31:44] local.INFO: TCP Data received {"connection_id":161579,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:31:44] local.INFO: Processing buffer {"connection_id":161579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:31:44] local.INFO: IMEI packet received {"connection_id":161579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":161579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:31:45] local.INFO: TCP Data received {"connection_id":164203,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:31:45] local.INFO: Processing buffer {"connection_id":164203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:31:45] local.INFO: IMEI packet received {"connection_id":164203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":164203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:31:45] local.INFO: TCP Data received {"connection_id":161579,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:31:45] local.INFO: Processing buffer {"connection_id":161579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:31:45] local.INFO: IMEI packet received {"connection_id":161579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":161579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:31:46] local.INFO: TCP Data received {"connection_id":161579,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378214b8012d7d438005d2bee80003008224..."} 
[2026-08-25 11:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378214b8012d7d438005d2bee80003008224..."} 
[2026-08-25 11:31:46] local.INFO: Processing buffer {"connection_id":161579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378214b8012d7d438005d2bee80003008224..."} 
[2026-08-25 11:31:46] local.INFO: Packet analysis {"connection_id":161579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03782"} 
[2026-08-25 11:31:46] local.INFO: Extracted packet for processing {"connection_id":161579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03782"} 
[2026-08-25 11:31:46] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97697512,"longitude_deg":76.3184,"latitude_deg":9.7697512,"altitude":3,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d7d4380","hex_latitude":"05d2bee8","is_valid_coordinates":true} 
[2026-08-25 11:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635242496001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123335994563887104,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840679530496,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] 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-25 11:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787637667000,"timestamp_ms":1787637667000,"timestamp_seconds":1787637667,"priority":1,"record_length":96,"hex_timestamp":"000001a0378214b8"} 
[2026-08-25 11:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 11:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635242496001,"66":13059,"115":206,"85":15104,"24":0,"16":123335994563887104,"45":9026198840679530496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635242496001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:31:46] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:31:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123335994563887104,"km_value":123335994563887.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840679530496,"description":"Unknown IO ID 45"} 
[2026-08-25 11:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635242496001,"power":13059,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9026198840679530496}} 
[2026-08-25 11:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":161579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:31:46] local.INFO: GPS data processed {"connection_id":161579,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:31:46] local.INFO: Acknowledgment sent {"connection_id":161579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:31:46] local.INFO: TCP Data received {"connection_id":164203,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:31:46] local.INFO: Processing buffer {"connection_id":164203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:31:46] local.INFO: Packet analysis {"connection_id":164203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:31:46] local.INFO: Extracted packet for processing {"connection_id":164203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635112704001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787637460000,"timestamp_ms":1787637460000,"timestamp_seconds":1787637460,"priority":1,"record_length":96,"hex_timestamp":"000001a0377eec20"} 
[2026-08-25 11:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635112704001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635112704001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635112704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":164203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:31:46] local.INFO: GPS data processed {"connection_id":164203,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:31:46] local.INFO: Acknowledgment sent {"connection_id":164203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:31:46] local.INFO: TCP Data received {"connection_id":161579,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037822c28012d7d430005d2bdb0000300ad24..."} 
[2026-08-25 11:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037822c28012d7d430005d2bdb0000300ad24..."} 
[2026-08-25 11:31:46] local.INFO: Processing buffer {"connection_id":161579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037822c28012d7d430005d2bdb0000300ad24..."} 
[2026-08-25 11:31:46] local.INFO: Packet analysis {"connection_id":161579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03782"} 
[2026-08-25 11:31:46] local.INFO: Extracted packet for processing {"connection_id":161579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03782"} 
[2026-08-25 11:31:46] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97697200,"longitude_deg":76.3183872,"latitude_deg":9.76972,"altitude":3,"angle":173,"satellites":36,"speed":4,"hex_longitude":"2d7d4300","hex_latitude":"05d2bdb0","is_valid_coordinates":true} 
[2026-08-25 11:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635242752001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123336011743756288,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840679524352,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] 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-25 11:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787637673000,"timestamp_ms":1787637673000,"timestamp_seconds":1787637673,"priority":1,"record_length":96,"hex_timestamp":"000001a037822c28"} 
[2026-08-25 11:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311974,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":115,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2175995905,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3238002691,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792554702,"corrected_to":0} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802214,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3535892480,"note":"Value kept but may cause issues"} 
[2026-08-25 11:31:46] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,115,85,24,241,157,16,45,160,128,191,3,37,10,66,12,1,240,35,227,55,210,4,113,205,175,68,40,34,239,50,2,182,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2792554702,"validated":0}]} 
[2026-08-25 11:31:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216315873244217344,"timestamp_seconds":216315873244217.34,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635242752001,"66":13254,"115":206,"85":15104,"24":4,"16":123336011743756288,"45":9026198840679524352},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-25 11:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635242752001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:31:46] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 11:31:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123336011743756288,"km_value":123336011743756.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840679524352,"description":"Unknown IO ID 45"} 
[2026-08-25 11:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635242752001,"power":13254,"unknown_115":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9026198840679524352}} 
[2026-08-25 11:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":161579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:31:46] local.INFO: GPS data processed {"connection_id":161579,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:31:46] local.INFO: Acknowledgment sent {"connection_id":161579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:32:17] local.INFO: TCP Data received {"connection_id":161579,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03782ff18012d7d414005d2b0e8000200f21f..."} 
[2026-08-25 11:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03782ff18012d7d414005d2b0e8000200f21f..."} 
[2026-08-25 11:32:17] local.INFO: Processing buffer {"connection_id":161579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03782ff18012d7d414005d2b0e8000200f21f..."} 
[2026-08-25 11:32:17] local.INFO: Packet analysis {"connection_id":161579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03782"} 
[2026-08-25 11:32:17] local.INFO: Extracted packet for processing {"connection_id":161579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03782"} 
[2026-08-25 11:32:17] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":97693928,"longitude_deg":76.3183424,"latitude_deg":9.7693928,"altitude":2,"angle":242,"satellites":31,"speed":2,"hex_longitude":"2d7d4140","hex_latitude":"05d2b0e8","is_valid_coordinates":true} 
[2026-08-25 11:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635257856001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123336192132382720,"note":"Value kept but may cause issues"} 
[2026-08-25 11:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890725187584,"note":"Value kept but may cause issues"} 
[2026-08-25 11:32:17] 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-25 11:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787637727000,"timestamp_ms":1787637727000,"timestamp_seconds":1787637727,"priority":1,"record_length":96,"hex_timestamp":"000001a03782ff18"} 
[2026-08-25 11:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 11:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635257856001,"66":13189,"117":206,"85":15104,"24":2,"16":123336192132382720,"45":9025635890725187584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-25 11:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635257856001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:32:17] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 11:32:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123336192132382720,"km_value":123336192132382.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890725187584,"description":"Unknown IO ID 45"} 
[2026-08-25 11:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635257856001,"power":13189,"unknown_117":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9025635890725187584}} 
[2026-08-25 11:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":161579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:32:17] local.INFO: GPS data processed {"connection_id":161579,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:32:17] local.INFO: Acknowledgment sent {"connection_id":161579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:32:17] local.INFO: TCP Data received {"connection_id":164203,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:32:17] local.INFO: Processing buffer {"connection_id":164203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:32:17] local.INFO: Packet analysis {"connection_id":164203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:32:17] local.INFO: Extracted packet for processing {"connection_id":164203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635112704001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787637460000,"timestamp_ms":1787637460000,"timestamp_seconds":1787637460,"priority":1,"record_length":96,"hex_timestamp":"000001a0377eec20"} 
[2026-08-25 11:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635112704001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635112704001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:32:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635112704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":164203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:32:17] local.INFO: GPS data processed {"connection_id":164203,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:32:17] local.INFO: Acknowledgment sent {"connection_id":164203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:32:39] local.INFO: TCP Data received {"connection_id":162815,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:32:39] local.INFO: Processing buffer {"connection_id":162815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:32:39] local.INFO: IMEI packet received {"connection_id":162815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":162815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:32:40] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:32:40] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:32:40] local.INFO: IMEI packet received {"connection_id":161823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":161823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:32:41] local.INFO: TCP Data received {"connection_id":162815,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:32:41] local.INFO: Processing buffer {"connection_id":162815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:32:41] local.INFO: IMEI packet received {"connection_id":162815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":162815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:32:45] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:32:45] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:32:45] local.INFO: IMEI packet received {"connection_id":161823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":161823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:32:46] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:32:46] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:32:46] local.INFO: Packet analysis {"connection_id":161823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:32:46] local.INFO: Extracted packet for processing {"connection_id":161823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635112704001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787637460000,"timestamp_ms":1787637460000,"timestamp_seconds":1787637460,"priority":1,"record_length":96,"hex_timestamp":"000001a0377eec20"} 
[2026-08-25 11: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-25 11:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635112704001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635112704001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635112704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":161823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:32:46] local.INFO: GPS data processed {"connection_id":161823,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:32:46] local.INFO: Acknowledgment sent {"connection_id":161823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:32:46] local.INFO: TCP Data received {"connection_id":162815,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:32:46] local.INFO: Processing buffer {"connection_id":162815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:32:46] local.INFO: IMEI packet received {"connection_id":162815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":162815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:32:47] local.INFO: TCP Data received {"connection_id":162815,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037830ad0012d7d410005d2b0e0000200fe21..."} 
[2026-08-25 11:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037830ad0012d7d410005d2b0e0000200fe21..."} 
[2026-08-25 11:32:47] local.INFO: Processing buffer {"connection_id":162815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037830ad0012d7d410005d2b0e0000200fe21..."} 
[2026-08-25 11:32:47] local.INFO: Packet analysis {"connection_id":162815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:32:47] local.INFO: Extracted packet for processing {"connection_id":162815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:32:47] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":97693920,"longitude_deg":76.318336,"latitude_deg":9.769392,"altitude":2,"angle":254,"satellites":33,"speed":1,"hex_longitude":"2d7d4100","hex_latitude":"05d2b0e0","is_valid_coordinates":true} 
[2026-08-25 11:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635258112001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123336196427350016,"note":"Value kept but may cause issues"} 
[2026-08-25 11:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521981007872,"note":"Value kept but may cause issues"} 
[2026-08-25 11:32:47] 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-25 11:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787637730000,"timestamp_ms":1787637730000,"timestamp_seconds":1787637730,"priority":1,"record_length":96,"hex_timestamp":"000001a037830ad0"} 
[2026-08-25 11:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 11:32:47] 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-25 11:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635258112001,"66":12982,"117":206,"85":15104,"24":1,"16":123336196427350016,"45":9025565521981007872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-25 11:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635258112001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:32:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 11:32:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123336196427350016,"km_value":123336196427350.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521981007872,"description":"Unknown IO ID 45"} 
[2026-08-25 11:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635258112001,"power":12982,"unknown_117":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9025565521981007872}} 
[2026-08-25 11:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":162815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:32:47] local.INFO: GPS data processed {"connection_id":162815,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:32:47] local.INFO: Acknowledgment sent {"connection_id":162815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:33:18] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:33:18] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0377eec20012d34c0c006aa4878000a00552e..."} 
[2026-08-25 11:33:18] local.INFO: Packet analysis {"connection_id":161823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:33:18] local.INFO: Extracted packet for processing {"connection_id":161823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0377e"} 
[2026-08-25 11:33:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635112704001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637460000,"timestamp_ms":1787637460000,"timestamp_seconds":1787637460,"priority":1,"record_length":96,"hex_timestamp":"000001a0377eec20"} 
[2026-08-25 11:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635112704001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635112704001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:33:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:33:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635112704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":161823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:33:18] local.INFO: GPS data processed {"connection_id":161823,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:33:18] local.INFO: Acknowledgment sent {"connection_id":161823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:33:19] local.INFO: TCP Data received {"connection_id":162815,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03783aee0012d7d3e4005d2af50000000e11f..."} 
[2026-08-25 11:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03783aee0012d7d3e4005d2af50000000e11f..."} 
[2026-08-25 11:33:19] local.INFO: Processing buffer {"connection_id":162815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03783aee0012d7d3e4005d2af50000000e11f..."} 
[2026-08-25 11:33:19] local.INFO: Packet analysis {"connection_id":162815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:33:19] local.INFO: Extracted packet for processing {"connection_id":162815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:33:19] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":97693520,"longitude_deg":76.3182656,"latitude_deg":9.769352,"altitude":0,"angle":225,"satellites":31,"speed":0,"hex_longitude":"2d7d3e40","hex_latitude":"05d2af50","is_valid_coordinates":true} 
[2026-08-25 11:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635269120001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123336260851859456,"note":"Value kept but may cause issues"} 
[2026-08-25 11:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834539137024,"note":"Value kept but may cause issues"} 
[2026-08-25 11:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787637772000,"timestamp_ms":1787637772000,"timestamp_seconds":1787637772,"priority":1,"record_length":96,"hex_timestamp":"000001a03783aee0"} 
[2026-08-25 11:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 11:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635269120001,"66":13254,"117":206,"85":15104,"24":0,"16":123336260851859456,"45":9024861834539137024},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-25 11:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635269120001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:33:19] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 11:33:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123336260851859456,"km_value":123336260851859.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834539137024,"description":"Unknown IO ID 45"} 
[2026-08-25 11:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635269120001,"power":13254,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9024861834539137024}} 
[2026-08-25 11:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":162815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:33:19] local.INFO: GPS data processed {"connection_id":162815,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:33:19] local.INFO: Acknowledgment sent {"connection_id":162815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:33:41] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:33:41] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:33:41] local.INFO: IMEI packet received {"connection_id":161824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":161824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:33:41] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:33:41] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:33:41] local.INFO: IMEI packet received {"connection_id":161824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":161824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:33:44] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:33:44] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:33:44] local.INFO: IMEI packet received {"connection_id":161824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":161824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:33:45] local.INFO: TCP Data received {"connection_id":164204,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:33:45] local.INFO: Processing buffer {"connection_id":164204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:33:45] local.INFO: IMEI packet received {"connection_id":164204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":164204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:33:45] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:33:45] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:33:45] local.INFO: IMEI packet received {"connection_id":161824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":161824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:33:46] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037846678012d7d408005d2a5b0000000d31d..."} 
[2026-08-25 11:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037846678012d7d408005d2a5b0000000d31d..."} 
[2026-08-25 11:33:46] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037846678012d7d408005d2a5b0000000d31d..."} 
[2026-08-25 11:33:46] local.INFO: Packet analysis {"connection_id":161824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03784"} 
[2026-08-25 11:33:46] local.INFO: Extracted packet for processing {"connection_id":161824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03784"} 
[2026-08-25 11:33:46] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":97691056,"longitude_deg":76.3183232,"latitude_deg":9.7691056,"altitude":0,"angle":211,"satellites":29,"speed":2,"hex_longitude":"2d7d4080","hex_latitude":"05d2a5b0","is_valid_coordinates":true} 
[2026-08-25 11:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635280128001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123336406880747520,"note":"Value kept but may cause issues"} 
[2026-08-25 11:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784491991040,"note":"Value kept but may cause issues"} 
[2026-08-25 11:33:46] 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-25 11:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787637819000,"timestamp_ms":1787637819000,"timestamp_seconds":1787637819,"priority":1,"record_length":96,"hex_timestamp":"000001a037846678"} 
[2026-08-25 11:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 11:33:46] 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-25 11:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635280128001,"66":13178,"117":206,"85":15104,"24":2,"16":123336406880747520,"45":9025424784491991040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-25 11:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635280128001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:33:46] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 11:33:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123336406880747520,"km_value":123336406880747.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784491991040,"description":"Unknown IO ID 45"} 
[2026-08-25 11:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635280128001,"power":13178,"unknown_117":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9025424784491991040}} 
[2026-08-25 11:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":161824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:33:46] local.INFO: GPS data processed {"connection_id":161824,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:33:46] local.INFO: Acknowledgment sent {"connection_id":161824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:33:50] local.INFO: TCP Data received {"connection_id":164204,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:33:50] local.INFO: Processing buffer {"connection_id":164204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:33:50] local.INFO: IMEI packet received {"connection_id":164204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":164204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:33:52] local.INFO: TCP Data received {"connection_id":164204,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:33:52] local.INFO: Processing buffer {"connection_id":164204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:33:52] local.INFO: Packet analysis {"connection_id":164204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:33:52] local.INFO: Extracted packet for processing {"connection_id":164204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635189760001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787637761000,"timestamp_ms":1787637761000,"timestamp_seconds":1787637761,"priority":1,"record_length":96,"hex_timestamp":"000001a0378383e8"} 
[2026-08-25 11:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635189760001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635189760001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635189760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":164204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:33:52] local.INFO: GPS data processed {"connection_id":164204,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:33:52] local.INFO: Acknowledgment sent {"connection_id":164204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:34:17] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037846e48012d7d400005d2a580000000e41e..."} 
[2026-08-25 11:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037846e48012d7d400005d2a580000000e41e..."} 
[2026-08-25 11:34:17] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037846e48012d7d400005d2a580000000e41e..."} 
[2026-08-25 11:34:17] local.INFO: Packet analysis {"connection_id":161824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03784"} 
[2026-08-25 11:34:17] local.INFO: Extracted packet for processing {"connection_id":161824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03784"} 
[2026-08-25 11:34:17] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97691008,"longitude_deg":76.3183104,"latitude_deg":9.7691008,"altitude":0,"angle":228,"satellites":30,"speed":1,"hex_longitude":"2d7d4000","hex_latitude":"05d2a580","is_valid_coordinates":true} 
[2026-08-25 11:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635281664001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123336411175714816,"note":"Value kept but may cause issues"} 
[2026-08-25 11:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415747739648,"note":"Value kept but may cause issues"} 
[2026-08-25 11:34:17] 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-25 11:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787637821000,"timestamp_ms":1787637821000,"timestamp_seconds":1787637821,"priority":1,"record_length":96,"hex_timestamp":"000001a037846e48"} 
[2026-08-25 11:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-25 11:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635281664001,"66":12939,"117":206,"85":15104,"24":1,"16":123336411175714816,"45":9025354415747739648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-25 11:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635281664001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:34:17] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 11:34:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123336411175714816,"km_value":123336411175714.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415747739648,"description":"Unknown IO ID 45"} 
[2026-08-25 11:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635281664001,"power":12939,"unknown_117":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9025354415747739648}} 
[2026-08-25 11:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":161824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:34:17] local.INFO: GPS data processed {"connection_id":161824,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:34:17] local.INFO: Acknowledgment sent {"connection_id":161824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:34:24] local.INFO: TCP Data received {"connection_id":164204,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:34:24] local.INFO: Processing buffer {"connection_id":164204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:34:24] local.INFO: Packet analysis {"connection_id":164204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:34:24] local.INFO: Extracted packet for processing {"connection_id":164204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:34:24] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635189760001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787637761000,"timestamp_ms":1787637761000,"timestamp_seconds":1787637761,"priority":1,"record_length":96,"hex_timestamp":"000001a0378383e8"} 
[2026-08-25 11: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-25 11:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635189760001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635189760001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:34:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635189760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":164204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:34:24] local.INFO: GPS data processed {"connection_id":164204,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:34:24] local.INFO: Acknowledgment sent {"connection_id":164204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:34:40] local.INFO: TCP Data received {"connection_id":161580,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:34:40] local.INFO: Processing buffer {"connection_id":161580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:34:40] local.INFO: IMEI packet received {"connection_id":161580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":161580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:34:41] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:34:41] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:34:41] local.INFO: IMEI packet received {"connection_id":161581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":161581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:34:45] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:34:45] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:34:45] local.INFO: IMEI packet received {"connection_id":161581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":161581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:34:45] local.INFO: TCP Data received {"connection_id":161580,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:34:45] local.INFO: Processing buffer {"connection_id":161580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:34:45] local.INFO: IMEI packet received {"connection_id":161580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":161580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:34:46] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:34:46] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:34:46] local.INFO: IMEI packet received {"connection_id":161581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":161581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:34:46] local.INFO: TCP Data received {"connection_id":161580,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:34:46] local.INFO: Processing buffer {"connection_id":161580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:34:46] local.INFO: Packet analysis {"connection_id":161580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:34:46] local.INFO: Extracted packet for processing {"connection_id":161580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635189760001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787637761000,"timestamp_ms":1787637761000,"timestamp_seconds":1787637761,"priority":1,"record_length":96,"hex_timestamp":"000001a0378383e8"} 
[2026-08-25 11:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635189760001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635189760001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635189760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":161580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:34:46] local.INFO: GPS data processed {"connection_id":161580,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:34:46] local.INFO: Acknowledgment sent {"connection_id":161580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:34:47] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03784fae8012d7d414005d29bb0000000c623..."} 
[2026-08-25 11:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03784fae8012d7d414005d29bb0000000c623..."} 
[2026-08-25 11:34:47] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03784fae8012d7d414005d29bb0000000c623..."} 
[2026-08-25 11:34:47] local.INFO: Packet analysis {"connection_id":161581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03784"} 
[2026-08-25 11:34:47] local.INFO: Extracted packet for processing {"connection_id":161581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03784"} 
[2026-08-25 11:34:47] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":97688496,"longitude_deg":76.3183424,"latitude_deg":9.7688496,"altitude":0,"angle":198,"satellites":35,"speed":4,"hex_longitude":"2d7d4140","hex_latitude":"05d29bb0","is_valid_coordinates":true} 
[2026-08-25 11:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635290880001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123336557204602880,"note":"Value kept but may cause issues"} 
[2026-08-25 11:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521979656192,"note":"Value kept but may cause issues"} 
[2026-08-25 11:34:47] 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-25 11:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787637857000,"timestamp_ms":1787637857000,"timestamp_seconds":1787637857,"priority":1,"record_length":96,"hex_timestamp":"000001a03784fae8"} 
[2026-08-25 11:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 11:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635290880001,"66":13135,"117":206,"85":15104,"24":4,"16":123336557204602880,"45":9025565521979656192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-25 11:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635290880001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:34:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 11:34:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123336557204602880,"km_value":123336557204602.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521979656192,"description":"Unknown IO ID 45"} 
[2026-08-25 11:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635290880001,"power":13135,"unknown_117":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9025565521979656192}} 
[2026-08-25 11:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":161581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:34:47] local.INFO: GPS data processed {"connection_id":161581,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:34:47] local.INFO: Acknowledgment sent {"connection_id":161581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:35:18] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378506a0012d7d414005d29a50000000b026..."} 
[2026-08-25 11:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378506a0012d7d414005d29a50000000b026..."} 
[2026-08-25 11:35:18] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378506a0012d7d414005d29a50000000b026..."} 
[2026-08-25 11:35:18] local.INFO: Packet analysis {"connection_id":161581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03785"} 
[2026-08-25 11:35:18] local.INFO: Extracted packet for processing {"connection_id":161581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03785"} 
[2026-08-25 11:35:18] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":97688144,"longitude_deg":76.3183424,"latitude_deg":9.7688144,"altitude":0,"angle":176,"satellites":38,"speed":4,"hex_longitude":"2d7d4140","hex_latitude":"05d29a50","is_valid_coordinates":true} 
[2026-08-25 11:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635291392001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123336574384472064,"note":"Value kept but may cause issues"} 
[2026-08-25 11:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521979617280,"note":"Value kept but may cause issues"} 
[2026-08-25 11:35:18] 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-25 11:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637860000,"timestamp_ms":1787637860000,"timestamp_seconds":1787637860,"priority":1,"record_length":96,"hex_timestamp":"000001a0378506a0"} 
[2026-08-25 11:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 11:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635291392001,"66":12961,"117":206,"85":15104,"24":4,"16":123336574384472064,"45":9025565521979617280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-25 11:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635291392001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:35:18] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 11:35:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123336574384472064,"km_value":123336574384472.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521979617280,"description":"Unknown IO ID 45"} 
[2026-08-25 11:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635291392001,"power":12961,"unknown_117":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9025565521979617280}} 
[2026-08-25 11:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":161581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:35:18] local.INFO: GPS data processed {"connection_id":161581,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:35:18] local.INFO: Acknowledgment sent {"connection_id":161581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:35:18] local.INFO: TCP Data received {"connection_id":161580,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:35:18] local.INFO: Processing buffer {"connection_id":161580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:35:18] local.INFO: Packet analysis {"connection_id":161580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:35:18] local.INFO: Extracted packet for processing {"connection_id":161580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635189760001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637761000,"timestamp_ms":1787637761000,"timestamp_seconds":1787637761,"priority":1,"record_length":96,"hex_timestamp":"000001a0378383e8"} 
[2026-08-25 11:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635189760001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635189760001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:35:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635189760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":161580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:35:18] local.INFO: GPS data processed {"connection_id":161580,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:35:18] local.INFO: Acknowledgment sent {"connection_id":161580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:35:40] local.INFO: TCP Data received {"connection_id":164205,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:35:40] local.INFO: Processing buffer {"connection_id":164205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:35:40] local.INFO: IMEI packet received {"connection_id":164205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":164205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:35:41] local.INFO: TCP Data received {"connection_id":162816,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:35:41] local.INFO: Processing buffer {"connection_id":162816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:35:41] local.INFO: IMEI packet received {"connection_id":162816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":162816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:35:45] local.INFO: TCP Data received {"connection_id":164205,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:35:45] local.INFO: Processing buffer {"connection_id":164205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:35:45] local.INFO: IMEI packet received {"connection_id":164205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":164205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:35:46] local.INFO: TCP Data received {"connection_id":164205,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:35:46] local.INFO: Processing buffer {"connection_id":164205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:35:46] local.INFO: Packet analysis {"connection_id":164205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:35:46] local.INFO: Extracted packet for processing {"connection_id":164205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635189760001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787637761000,"timestamp_ms":1787637761000,"timestamp_seconds":1787637761,"priority":1,"record_length":96,"hex_timestamp":"000001a0378383e8"} 
[2026-08-25 11:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635189760001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635189760001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635189760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":164205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:35:46] local.INFO: GPS data processed {"connection_id":164205,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:35:46] local.INFO: Acknowledgment sent {"connection_id":164205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:35:46] local.INFO: TCP Data received {"connection_id":162816,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:35:46] local.INFO: Processing buffer {"connection_id":162816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:35:46] local.INFO: IMEI packet received {"connection_id":162816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":162816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:35:47] local.INFO: TCP Data received {"connection_id":162816,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037851258012d7d418005d29978000000c628..."} 
[2026-08-25 11:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037851258012d7d418005d29978000000c628..."} 
[2026-08-25 11:35:47] local.INFO: Processing buffer {"connection_id":162816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037851258012d7d418005d29978000000c628..."} 
[2026-08-25 11:35:47] local.INFO: Packet analysis {"connection_id":162816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03785"} 
[2026-08-25 11:35:47] local.INFO: Extracted packet for processing {"connection_id":162816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03785"} 
[2026-08-25 11:35:47] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":97687928,"longitude_deg":76.3183488,"latitude_deg":9.7687928,"altitude":0,"angle":198,"satellites":40,"speed":1,"hex_longitude":"2d7d4180","hex_latitude":"05d29978","is_valid_coordinates":true} 
[2026-08-25 11:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635292160001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123336587269373952,"note":"Value kept but may cause issues"} 
[2026-08-25 11:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521979527168,"note":"Value kept but may cause issues"} 
[2026-08-25 11:35:47] 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-25 11:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787637863000,"timestamp_ms":1787637863000,"timestamp_seconds":1787637863,"priority":1,"record_length":96,"hex_timestamp":"000001a037851258"} 
[2026-08-25 11:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-25 11:35:47] 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-25 11:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635292160001,"66":12961,"117":206,"85":15104,"24":1,"16":123336587269373952,"45":9025565521979527168},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-25 11:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635292160001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:35:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 11:35:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123336587269373952,"km_value":123336587269373.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521979527168,"description":"Unknown IO ID 45"} 
[2026-08-25 11:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635292160001,"power":12961,"unknown_117":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9025565521979527168}} 
[2026-08-25 11:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":162816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:35:47] local.INFO: GPS data processed {"connection_id":162816,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:35:47] local.INFO: Acknowledgment sent {"connection_id":162816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:36:11] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:36:11] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:36:11] local.INFO: IMEI packet received {"connection_id":161825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 11:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":161825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:36:11] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:36:11] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:36:11] local.INFO: IMEI packet received {"connection_id":161825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":161825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:36:15] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:36:15] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:36:15] local.INFO: IMEI packet received {"connection_id":161825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":161825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:36:16] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-25 11:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-25 11:36:16] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-25 11:36:16] local.INFO: Packet analysis {"connection_id":161825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-25 11:36:16] local.INFO: Extracted packet for processing {"connection_id":161825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-25 11:36:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 11:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:16] 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-25 11:36:16] 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-25 11:36:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 11:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161825,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 11:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 11:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 11:36:16] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 11:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":161825,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 11:36:16] local.ERROR: GPS data processing failed {"connection_id":161825,"error":"No valid data to process"} 
[2026-08-25 11:36:16] local.INFO: Acknowledgment sent {"connection_id":161825,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 11:36:18] local.INFO: TCP Data received {"connection_id":162816,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378525e0012d7d414005d29898000000b527..."} 
[2026-08-25 11:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378525e0012d7d414005d29898000000b527..."} 
[2026-08-25 11:36:18] local.INFO: Processing buffer {"connection_id":162816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378525e0012d7d414005d29898000000b527..."} 
[2026-08-25 11:36:18] local.INFO: Packet analysis {"connection_id":162816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03785"} 
[2026-08-25 11:36:18] local.INFO: Extracted packet for processing {"connection_id":162816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03785"} 
[2026-08-25 11:36:18] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":97687704,"longitude_deg":76.3183424,"latitude_deg":9.7687704,"altitude":0,"angle":181,"satellites":39,"speed":4,"hex_longitude":"2d7d4140","hex_latitude":"05d29898","is_valid_coordinates":true} 
[2026-08-25 11:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635292928001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123336600154275840,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890723649536,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:18] 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-25 11:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637868000,"timestamp_ms":1787637868000,"timestamp_seconds":1787637868,"priority":1,"record_length":96,"hex_timestamp":"000001a0378525e0"} 
[2026-08-25 11:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:36: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-25 11:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-25 11:36:18] 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-25 11:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635292928001,"66":13059,"117":206,"85":15104,"24":4,"16":123336600154275840,"45":9025635890723649536},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-25 11:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635292928001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:36:18] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 11:36:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123336600154275840,"km_value":123336600154275.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890723649536,"description":"Unknown IO ID 45"} 
[2026-08-25 11:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635292928001,"power":13059,"unknown_117":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9025635890723649536}} 
[2026-08-25 11:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":162816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:36:18] local.INFO: GPS data processed {"connection_id":162816,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:36:18] local.INFO: Acknowledgment sent {"connection_id":162816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:36:18] local.INFO: TCP Data received {"connection_id":164205,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:36:18] local.INFO: Processing buffer {"connection_id":164205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:36:18] local.INFO: Packet analysis {"connection_id":164205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:36:18] local.INFO: Extracted packet for processing {"connection_id":164205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635189760001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787637761000,"timestamp_ms":1787637761000,"timestamp_seconds":1787637761,"priority":1,"record_length":96,"hex_timestamp":"000001a0378383e8"} 
[2026-08-25 11:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635189760001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635189760001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:36:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635189760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":164205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:36:18] local.INFO: GPS data processed {"connection_id":164205,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:36:18] local.INFO: Acknowledgment sent {"connection_id":164205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:36:45] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:36:45] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:36:45] local.INFO: IMEI packet received {"connection_id":161826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":161826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:36:47] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-25 11:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-25 11:36:47] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-25 11:36:47] local.INFO: Packet analysis {"connection_id":161825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-25 11:36:47] local.INFO: Extracted packet for processing {"connection_id":161825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-25 11:36:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 11:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:47] 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-25 11:36:47] 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-25 11:36:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 11:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161825,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 11:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 11:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 11:36:47] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 11:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":161825,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 11:36:47] local.ERROR: GPS data processing failed {"connection_id":161825,"error":"No valid data to process"} 
[2026-08-25 11:36:47] local.INFO: Acknowledgment sent {"connection_id":161825,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 11:36:50] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:36:50] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:36:50] local.INFO: IMEI packet received {"connection_id":161826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":161826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:36:51] local.INFO: TCP Data received {"connection_id":161582,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:36:51] local.INFO: Processing buffer {"connection_id":161582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:36:51] local.INFO: IMEI packet received {"connection_id":161582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":161582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:36:51] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:36:51] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:36:51] local.INFO: Packet analysis {"connection_id":161826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:36:51] local.INFO: Extracted packet for processing {"connection_id":161826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 11:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635189760001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787637761000,"timestamp_ms":1787637761000,"timestamp_seconds":1787637761,"priority":1,"record_length":96,"hex_timestamp":"000001a0378383e8"} 
[2026-08-25 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-25 11:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 11:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635189760001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635189760001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:36:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635189760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":161826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:36:51] local.INFO: GPS data processed {"connection_id":161826,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:36:51] local.INFO: Acknowledgment sent {"connection_id":161826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:36:52] local.INFO: TCP Data received {"connection_id":161582,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 11:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161582,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 11:36:52] local.INFO: Processing buffer {"connection_id":161582,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 11:36:52] local.INFO: IMEI packet received {"connection_id":161582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":161582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:36:53] local.INFO: TCP Data received {"connection_id":161582,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:36:53] local.INFO: Processing buffer {"connection_id":161582,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 11:36:53] local.INFO: IMEI packet received {"connection_id":161582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":161582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:36:54] local.INFO: TCP Data received {"connection_id":161582,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378748c0012d7d428005d26bd80004009b25..."} 
[2026-08-25 11:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378748c0012d7d428005d26bd80004009b25..."} 
[2026-08-25 11:36:54] local.INFO: Processing buffer {"connection_id":161582,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a037..."} 
[2026-08-25 11:36:54] local.INFO: IMEI packet received {"connection_id":161582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":161582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:36:56] local.INFO: TCP Data received {"connection_id":161582,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037874ca8012d7d428005d26b48000400aa25..."} 
[2026-08-25 11:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037874ca8012d7d428005d26b48000400aa25..."} 
[2026-08-25 11:36:56] local.INFO: Processing buffer {"connection_id":161582,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0378748c0012d7d428005d26bd80004009b25..."} 
[2026-08-25 11:36:56] local.INFO: Packet analysis {"connection_id":161582,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:36:56] local.INFO: Extracted packet for processing {"connection_id":161582,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97676248,"longitude_deg":76.3183744,"latitude_deg":9.7676248,"altitude":4,"angle":155,"satellites":37,"speed":5,"hex_longitude":"2d7d4280","hex_latitude":"05d26bd8","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635329280001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123337188564795392,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365697488896,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787638008000,"timestamp_ms":1787638008000,"timestamp_seconds":1787638008,"priority":1,"record_length":96,"hex_timestamp":"000001a0378748c0"} 
[2026-08-25 11: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-25 11:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 11:36:56] 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-25 11: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-25 11: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-25 11:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635329280001,"66":12961,"23":206,"85":15104,"24":5,"16":123337188564795392,"45":9025917365697488896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-25 11:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635329280001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:36:56] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-25 11:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123337188564795392,"km_value":123337188564795.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365697488896,"description":"Unknown IO ID 45"} 
[2026-08-25 11:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635329280001,"power":12961,"unknown_23":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9025917365697488896}} 
[2026-08-25 11:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":161582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:36:56] local.INFO: GPS data processed {"connection_id":161582,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:36:56] local.INFO: Acknowledgment sent {"connection_id":161582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:36:56] local.INFO: Packet analysis {"connection_id":161582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:36:56] local.INFO: Extracted packet for processing {"connection_id":161582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97676104,"longitude_deg":76.3183744,"latitude_deg":9.7676104,"altitude":4,"angle":170,"satellites":37,"speed":4,"hex_longitude":"2d7d4280","hex_latitude":"05d26b48","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635330048001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123337192859762688,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365697370112,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787638009000,"timestamp_ms":1787638009000,"timestamp_seconds":1787638009,"priority":1,"record_length":96,"hex_timestamp":"000001a037874ca8"} 
[2026-08-25 11: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-25 11:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-25 11:36:56] 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-25 11: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-25 11: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-25 11:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635330048001,"66":13363,"23":206,"85":15104,"24":4,"16":123337192859762688,"45":9025917365697370112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-25 11:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635330048001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:36:56] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-25 11:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123337192859762688,"km_value":123337192859762.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365697370112,"description":"Unknown IO ID 45"} 
[2026-08-25 11:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635330048001,"power":13363,"unknown_23":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9025917365697370112}} 
[2026-08-25 11:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":161582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:36:56] local.INFO: GPS data processed {"connection_id":161582,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:36:56] local.INFO: Acknowledgment sent {"connection_id":161582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:36:57] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:36:57] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:36:57] local.INFO: Packet analysis {"connection_id":161826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:36:57] local.INFO: Extracted packet for processing {"connection_id":161826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:36:57] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635189760001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:36: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-25 11:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787637761000,"timestamp_ms":1787637761000,"timestamp_seconds":1787637761,"priority":1,"record_length":96,"hex_timestamp":"000001a0378383e8"} 
[2026-08-25 11: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-25 11:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635189760001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635189760001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:36:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:36:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635189760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":161826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:36:57] local.INFO: GPS data processed {"connection_id":161826,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:36:57] local.INFO: Acknowledgment sent {"connection_id":161826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:37:18] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a037875c480100000000000000000000000000..."} 
[2026-08-25 11:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037875c480100000000000000000000000000..."} 
[2026-08-25 11:37:18] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037875c480100000000000000000000000000..."} 
[2026-08-25 11:37:18] local.INFO: Packet analysis {"connection_id":161825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:37:18] local.INFO: Extracted packet for processing {"connection_id":161825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:37:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 11:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 11:37:18] 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-25 11:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638013000,"timestamp_ms":1787638013000,"timestamp_seconds":1787638013,"priority":1,"record_length":96,"hex_timestamp":"000001a037875c48"} 
[2026-08-25 11:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:37:18] 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-25 11:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-25 11:37:18] 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-25 11: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-25 11:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:37:18] 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-25 11:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":161825,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 11:37:18] local.INFO: GPS data processed {"connection_id":161825,"processed":0,"errors":0,"total":1} 
[2026-08-25 11:37:18] local.INFO: Acknowledgment sent {"connection_id":161825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:37:40] local.INFO: TCP Data received {"connection_id":164206,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:37:40] local.INFO: Processing buffer {"connection_id":164206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:37:40] local.INFO: IMEI packet received {"connection_id":164206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":164206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:37:41] local.INFO: TCP Data received {"connection_id":162817,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:37:41] local.INFO: Processing buffer {"connection_id":162817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:37:41] local.INFO: IMEI packet received {"connection_id":162817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":162817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:37:42] local.INFO: TCP Data received {"connection_id":162817,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:37:42] local.INFO: Processing buffer {"connection_id":162817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:37:42] local.INFO: IMEI packet received {"connection_id":162817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":162817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:37:45] local.INFO: TCP Data received {"connection_id":164206,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:37:45] local.INFO: Processing buffer {"connection_id":164206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:37:45] local.INFO: IMEI packet received {"connection_id":164206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":164206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:37:46] local.INFO: TCP Data received {"connection_id":162817,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:37:46] local.INFO: Processing buffer {"connection_id":162817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:37:46] local.INFO: IMEI packet received {"connection_id":162817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":162817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:37:47] local.INFO: TCP Data received {"connection_id":164206,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:37:47] local.INFO: Processing buffer {"connection_id":164206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:37:47] local.INFO: Packet analysis {"connection_id":164206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:37:47] local.INFO: Extracted packet for processing {"connection_id":164206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635189760001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787637761000,"timestamp_ms":1787637761000,"timestamp_seconds":1787637761,"priority":1,"record_length":96,"hex_timestamp":"000001a0378383e8"} 
[2026-08-25 11:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635189760001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635189760001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635189760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":164206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:37:47] local.INFO: GPS data processed {"connection_id":164206,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:37:47] local.INFO: Acknowledgment sent {"connection_id":164206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:37:47] local.INFO: TCP Data received {"connection_id":162817,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037875478012d7d428005d26a680004009d27..."} 
[2026-08-25 11:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037875478012d7d428005d26a680004009d27..."} 
[2026-08-25 11:37:47] local.INFO: Processing buffer {"connection_id":162817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037875478012d7d428005d26a680004009d27..."} 
[2026-08-25 11:37:47] local.INFO: Packet analysis {"connection_id":162817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:37:47] local.INFO: Extracted packet for processing {"connection_id":162817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:37:47] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97675880,"longitude_deg":76.3183744,"latitude_deg":9.767588,"altitude":4,"angle":157,"satellites":39,"speed":4,"hex_longitude":"2d7d4280","hex_latitude":"05d26a68","is_valid_coordinates":true} 
[2026-08-25 11:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635330304001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123337205744664576,"note":"Value kept but may cause issues"} 
[2026-08-25 11:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365697333248,"note":"Value kept but may cause issues"} 
[2026-08-25 11:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638011000,"timestamp_ms":1787638011000,"timestamp_seconds":1787638011,"priority":1,"record_length":96,"hex_timestamp":"000001a037875478"} 
[2026-08-25 11:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 11:37: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-25 11:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635330304001,"66":13059,"23":206,"85":15104,"24":4,"16":123337205744664576,"45":9025917365697333248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-25 11:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635330304001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:37:47] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-25 11:37:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123337205744664576,"km_value":123337205744664.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365697333248,"description":"Unknown IO ID 45"} 
[2026-08-25 11:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635330304001,"power":13059,"unknown_23":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9025917365697333248}} 
[2026-08-25 11:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":162817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:37:47] local.INFO: GPS data processed {"connection_id":162817,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:37:47] local.INFO: Acknowledgment sent {"connection_id":162817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:37:50] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03787ae500100000000000000000000000000..."} 
[2026-08-25 11:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03787ae500100000000000000000000000000..."} 
[2026-08-25 11:37:50] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03787ae500100000000000000000000000000..."} 
[2026-08-25 11:37:50] local.INFO: Packet analysis {"connection_id":161825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:37:50] local.INFO: Extracted packet for processing {"connection_id":161825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:37:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 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-25 11:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 11:37:50] 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-25 11:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787638034000,"timestamp_ms":1787638034000,"timestamp_seconds":1787638034,"priority":1,"record_length":96,"hex_timestamp":"000001a03787ae50"} 
[2026-08-25 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-25 11:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 11:37:50] 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-25 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-25 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-25 11:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:37:50] 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-25 11:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":161825,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 11:37:50] local.INFO: GPS data processed {"connection_id":161825,"processed":0,"errors":0,"total":1} 
[2026-08-25 11:37:50] local.INFO: Acknowledgment sent {"connection_id":161825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:38:19] local.INFO: TCP Data received {"connection_id":162817,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037876030012d7d428005d26918000400a924..."} 
[2026-08-25 11:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037876030012d7d428005d26918000400a924..."} 
[2026-08-25 11:38:19] local.INFO: Processing buffer {"connection_id":162817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037876030012d7d428005d26918000400a924..."} 
[2026-08-25 11:38:19] local.INFO: Packet analysis {"connection_id":162817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:38:19] local.INFO: Extracted packet for processing {"connection_id":162817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:38:19] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97675544,"longitude_deg":76.3183744,"latitude_deg":9.7675544,"altitude":4,"angle":169,"satellites":36,"speed":4,"hex_longitude":"2d7d4280","hex_latitude":"05d26918","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635330816001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123337222924533760,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365697275904,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787638014000,"timestamp_ms":1787638014000,"timestamp_seconds":1787638014,"priority":1,"record_length":96,"hex_timestamp":"000001a037876030"} 
[2026-08-25 11: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-25 11:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 11:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303149138103671,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3221607026,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:19] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2268155905,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2009399502,"corrected_to":0} 
[2026-08-25 11:38:19] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3355520381,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:19] local.WARNING: Large IO value detected {"io_id":197,"raw_value":58077557095399427,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,23,85,24,241,157,16,46,160,76,45,128,107,4,37,10,66,72,61,1,240,227,55,210,113,205,6,29,176,39,239,52,197,2,182,5,3],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2009399502,"validated":0}]} 
[2026-08-25 11:38:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288403166981259264,"timestamp_seconds":288403166981259.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11: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-25 11:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635330816001,"66":13374,"23":206,"85":15104,"24":4,"16":123337222924533760,"45":9025917365697275904},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-25 11:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635330816001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:38:19] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-25 11:38:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123337222924533760,"km_value":123337222924533.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365697275904,"description":"Unknown IO ID 45"} 
[2026-08-25 11:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635330816001,"power":13374,"unknown_23":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9025917365697275904}} 
[2026-08-25 11:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":162817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:38:19] local.INFO: GPS data processed {"connection_id":162817,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:38:19] local.INFO: Acknowledgment sent {"connection_id":162817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:38:19] local.INFO: TCP Data received {"connection_id":164206,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:38:19] local.INFO: Processing buffer {"connection_id":164206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378383e8012d34c0c006aa4878000400552d..."} 
[2026-08-25 11:38:19] local.INFO: Packet analysis {"connection_id":164206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:38:19] local.INFO: Extracted packet for processing {"connection_id":164206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03783"} 
[2026-08-25 11:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":4,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635189760001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787637761000,"timestamp_ms":1787637761000,"timestamp_seconds":1787637761,"priority":1,"record_length":96,"hex_timestamp":"000001a0378383e8"} 
[2026-08-25 11: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-25 11:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635189760001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635189760001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:38:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635189760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":164206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:38:19] local.INFO: GPS data processed {"connection_id":164206,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:38:19] local.INFO: Acknowledgment sent {"connection_id":164206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:38:22] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0378800580100000000000000000000000000..."} 
[2026-08-25 11:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378800580100000000000000000000000000..."} 
[2026-08-25 11:38:22] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378800580100000000000000000000000000..."} 
[2026-08-25 11:38:22] local.INFO: Packet analysis {"connection_id":161825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:38:22] local.INFO: Extracted packet for processing {"connection_id":161825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:38: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-25 11:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:22] 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-25 11:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787638055000,"timestamp_ms":1787638055000,"timestamp_seconds":1787638055,"priority":1,"record_length":96,"hex_timestamp":"000001a037880058"} 
[2026-08-25 11:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:38:22] 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-25 11:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 11:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:38:22] 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-25 11:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":161825,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 11:38:22] local.INFO: GPS data processed {"connection_id":161825,"processed":0,"errors":0,"total":1} 
[2026-08-25 11:38:22] local.INFO: Acknowledgment sent {"connection_id":161825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:38:41] local.INFO: TCP Data received {"connection_id":162818,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:38:41] local.INFO: Processing buffer {"connection_id":162818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:38:41] local.INFO: IMEI packet received {"connection_id":162818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":162818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:38:41] local.INFO: TCP Data received {"connection_id":161583,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:38:41] local.INFO: Processing buffer {"connection_id":161583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:38:41] local.INFO: IMEI packet received {"connection_id":161583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":161583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:38:42] local.INFO: TCP Data received {"connection_id":162818,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:38:42] local.INFO: Processing buffer {"connection_id":162818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:38:42] local.INFO: IMEI packet received {"connection_id":162818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":162818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:38:45] local.INFO: TCP Data received {"connection_id":161583,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:38:45] local.INFO: Processing buffer {"connection_id":161583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:38:45] local.INFO: IMEI packet received {"connection_id":161583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":161583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:38:46] local.INFO: TCP Data received {"connection_id":162818,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:38:46] local.INFO: Processing buffer {"connection_id":162818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:38:46] local.INFO: IMEI packet received {"connection_id":162818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":162818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:38:46] local.INFO: TCP Data received {"connection_id":161583,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:38:46] local.INFO: Processing buffer {"connection_id":161583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:38:46] local.INFO: Packet analysis {"connection_id":161583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:38:46] local.INFO: Extracted packet for processing {"connection_id":161583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635266816001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787638062000,"timestamp_ms":1787638062000,"timestamp_seconds":1787638062,"priority":1,"record_length":96,"hex_timestamp":"000001a037881bb0"} 
[2026-08-25 11:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635266816001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635266816001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:38:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635266816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":161583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:38:46] local.INFO: GPS data processed {"connection_id":161583,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:38:46] local.INFO: Acknowledgment sent {"connection_id":161583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:38:47] local.INFO: TCP Data received {"connection_id":162818,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037876418012d7d428005d26898000400b524..."} 
[2026-08-25 11:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037876418012d7d428005d26898000400b524..."} 
[2026-08-25 11:38:47] local.INFO: Processing buffer {"connection_id":162818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037876418012d7d428005d26898000400b524..."} 
[2026-08-25 11:38:47] local.INFO: Packet analysis {"connection_id":162818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:38:47] local.INFO: Extracted packet for processing {"connection_id":162818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:38:47] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97675416,"longitude_deg":76.3183744,"latitude_deg":9.7675416,"altitude":4,"angle":181,"satellites":36,"speed":4,"hex_longitude":"2d7d4280","hex_latitude":"05d26898","is_valid_coordinates":true} 
[2026-08-25 11:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635331584001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123337227219501056,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365697189888,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638015000,"timestamp_ms":1787638015000,"timestamp_seconds":1787638015,"priority":1,"record_length":96,"hex_timestamp":"000001a037876418"} 
[2026-08-25 11:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 11:38:47] 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-25 11:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635331584001,"66":13374,"23":206,"85":15104,"24":4,"16":123337227219501056,"45":9025917365697189888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-25 11:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635331584001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:38:47] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-25 11:38:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123337227219501056,"km_value":123337227219501.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365697189888,"description":"Unknown IO ID 45"} 
[2026-08-25 11:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635331584001,"power":13374,"unknown_23":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9025917365697189888}} 
[2026-08-25 11:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":162818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:38:47] local.INFO: GPS data processed {"connection_id":162818,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:38:47] local.INFO: Acknowledgment sent {"connection_id":162818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:38:53] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0378852600100000000000000000000000000..."} 
[2026-08-25 11:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378852600100000000000000000000000000..."} 
[2026-08-25 11:38:53] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378852600100000000000000000000000000..."} 
[2026-08-25 11:38:53] local.INFO: Packet analysis {"connection_id":161825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:38:53] local.INFO: Extracted packet for processing {"connection_id":161825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:38:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 11:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:53] 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-25 11:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787638076000,"timestamp_ms":1787638076000,"timestamp_seconds":1787638076,"priority":1,"record_length":96,"hex_timestamp":"000001a037885260"} 
[2026-08-25 11:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:38:53] 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-25 11:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-25 11:38:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:53] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-25 11:38:53] local.WARNING: Large IO value detected {"io_id":88,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-08-25 11:38:53] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,101,83,24,241,157,16,36,160,174,10,66,102,92,13,1,240,163,227,4,113,205,31,239,2,48,56,206,88],"length":529,"final_offset":659,"validated_count":29,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-25 11:38:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:38:53] 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-25 11:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":161825,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 11:38:53] local.INFO: GPS data processed {"connection_id":161825,"processed":0,"errors":0,"total":1} 
[2026-08-25 11:38:53] local.INFO: Acknowledgment sent {"connection_id":161825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:39:18] local.INFO: TCP Data received {"connection_id":161583,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:39:18] local.INFO: Processing buffer {"connection_id":161583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:39:18] local.INFO: Packet analysis {"connection_id":161583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:39:18] local.INFO: Extracted packet for processing {"connection_id":161583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635266816001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638062000,"timestamp_ms":1787638062000,"timestamp_seconds":1787638062,"priority":1,"record_length":96,"hex_timestamp":"000001a037881bb0"} 
[2026-08-25 11:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635266816001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635266816001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:39:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635266816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":161583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:39:18] local.INFO: GPS data processed {"connection_id":161583,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:39:18] local.INFO: Acknowledgment sent {"connection_id":161583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:39:23] local.INFO: TCP Data received {"connection_id":162818,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037876fd0012d7d420005d266d8000300c023..."} 
[2026-08-25 11:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037876fd0012d7d420005d266d8000300c023..."} 
[2026-08-25 11:39:23] local.INFO: Processing buffer {"connection_id":162818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037876fd0012d7d420005d266d8000300c023..."} 
[2026-08-25 11:39:23] local.INFO: Packet analysis {"connection_id":162818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:39:23] local.INFO: Extracted packet for processing {"connection_id":162818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03787"} 
[2026-08-25 11:39:23] local.INFO: GPS Element Parsed {"raw_longitude":763183616,"raw_latitude":97674968,"longitude_deg":76.3183616,"latitude_deg":9.7674968,"altitude":3,"angle":192,"satellites":35,"speed":7,"hex_longitude":"2d7d4200","hex_latitude":"05d266d8","is_valid_coordinates":true} 
[2026-08-25 11:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635331840001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123337248694337536,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365697157120,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787638018000,"timestamp_ms":1787638018000,"timestamp_seconds":1787638018,"priority":1,"record_length":96,"hex_timestamp":"000001a037876fd0"} 
[2026-08-25 11:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:39: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-25 11:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 11:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635331840001,"66":13222,"23":206,"85":15104,"24":7,"16":123337248694337536,"45":9025917365697157120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-25 11:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635331840001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:39:23] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-25 11:39:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123337248694337536,"km_value":123337248694337.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365697157120,"description":"Unknown IO ID 45"} 
[2026-08-25 11:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635331840001,"power":13222,"unknown_23":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9025917365697157120}} 
[2026-08-25 11:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":162818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:39:23] local.INFO: GPS data processed {"connection_id":162818,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:39:23] local.INFO: Acknowledgment sent {"connection_id":162818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:39:24] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03788a4680100000000000000000000000000..."} 
[2026-08-25 11:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03788a4680100000000000000000000000000..."} 
[2026-08-25 11:39:24] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03788a4680100000000000000000000000000..."} 
[2026-08-25 11:39:24] local.INFO: Packet analysis {"connection_id":161825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:39:24] local.INFO: Extracted packet for processing {"connection_id":161825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:39:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:24] 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-25 11:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787638097000,"timestamp_ms":1787638097000,"timestamp_seconds":1787638097,"priority":1,"record_length":96,"hex_timestamp":"000001a03788a468"} 
[2026-08-25 11: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-25 11:39:24] 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-25 11: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 11:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":161825,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 11:39:24] local.INFO: GPS data processed {"connection_id":161825,"processed":0,"errors":0,"total":1} 
[2026-08-25 11:39:24] local.INFO: Acknowledgment sent {"connection_id":161825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:39:40] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:39:40] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:39:40] local.INFO: IMEI packet received {"connection_id":161827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":161827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:39:41] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:39:41] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:39:41] local.INFO: IMEI packet received {"connection_id":161828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":161828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:39:45] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:39:45] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:39:45] local.INFO: IMEI packet received {"connection_id":161827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":161827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:39:45] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:39:45] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:39:45] local.INFO: IMEI packet received {"connection_id":161828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":161828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:39:46] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:39:46] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:39:46] local.INFO: IMEI packet received {"connection_id":161828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":161828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:39:46] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:39:46] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:39:46] local.INFO: Packet analysis {"connection_id":161827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:39:46] local.INFO: Extracted packet for processing {"connection_id":161827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635266816001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787638062000,"timestamp_ms":1787638062000,"timestamp_seconds":1787638062,"priority":1,"record_length":96,"hex_timestamp":"000001a037881bb0"} 
[2026-08-25 11:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635266816001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635266816001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635266816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":161827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:39:46] local.INFO: GPS data processed {"connection_id":161827,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:39:46] local.INFO: Acknowledgment sent {"connection_id":161827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:39:46] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03789a250012d7d378005d151e0000900b127..."} 
[2026-08-25 11:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03789a250012d7d378005d151e0000900b127..."} 
[2026-08-25 11:39:46] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03789a250012d7d378005d151e0000900b127..."} 
[2026-08-25 11:39:46] local.INFO: Packet analysis {"connection_id":161828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03789"} 
[2026-08-25 11:39:46] local.INFO: Extracted packet for processing {"connection_id":161828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03789"} 
[2026-08-25 11:39:46] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":97604064,"longitude_deg":76.3180928,"latitude_deg":9.7604064,"altitude":9,"angle":177,"satellites":39,"speed":61,"hex_longitude":"2d7d3780","hex_latitude":"05d151e0","is_valid_coordinates":true} 
[2026-08-25 11:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635367936001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123340727617847296,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453495611392,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:46] 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-25 11:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787638162000,"timestamp_ms":1787638162000,"timestamp_seconds":1787638162,"priority":1,"record_length":96,"hex_timestamp":"000001a03789a250"} 
[2026-08-25 11:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 11:39:46] 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-25 11:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635367936001,"66":13243,"197":206,"85":15104,"24":61,"16":123340727617847296,"45":9022117453495611392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-25 11:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635367936001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:39:46] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-25 11:39:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123340727617847296,"km_value":123340727617847.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453495611392,"description":"Unknown IO ID 45"} 
[2026-08-25 11:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635367936001,"power":13243,"unknown_197":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9022117453495611392}} 
[2026-08-25 11:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":161828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:39:47] local.INFO: GPS data processed {"connection_id":161828,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:39:47] local.INFO: Acknowledgment sent {"connection_id":161828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:39:52] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03789c190012d7d398005d12a60000900b127..."} 
[2026-08-25 11:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03789c190012d7d398005d12a60000900b127..."} 
[2026-08-25 11:39:52] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03789c190012d7d398005d12a60000900b127..."} 
[2026-08-25 11:39:52] local.INFO: Packet analysis {"connection_id":161828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03789"} 
[2026-08-25 11:39:52] local.INFO: Extracted packet for processing {"connection_id":161828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03789"} 
[2026-08-25 11:39:52] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97593952,"longitude_deg":76.318144,"latitude_deg":9.7593952,"altitude":9,"angle":177,"satellites":39,"speed":53,"hex_longitude":"2d7d3980","hex_latitude":"05d12a60","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635369472001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123341221539086336,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821140935073792,"note":"Value kept but may cause issues"} 
[2026-08-25 11:39:52] 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-25 11:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787638170000,"timestamp_ms":1787638170000,"timestamp_seconds":1787638170,"priority":1,"record_length":96,"hex_timestamp":"000001a03789c190"} 
[2026-08-25 11: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-25 11:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 11:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635369472001,"66":13319,"197":206,"85":15104,"24":53,"16":123341221539086336,"45":9022821140935073792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-25 11:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635369472001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:39:52] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-25 11:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123341221539086336,"km_value":123341221539086.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821140935073792,"description":"Unknown IO ID 45"} 
[2026-08-25 11:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635369472001,"power":13319,"unknown_197":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9022821140935073792}} 
[2026-08-25 11:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":161828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:39:52] local.INFO: GPS data processed {"connection_id":161828,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:39:52] local.INFO: Acknowledgment sent {"connection_id":161828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:40:18] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:40:18] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:40:18] local.INFO: Packet analysis {"connection_id":161827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:40:18] local.INFO: Extracted packet for processing {"connection_id":161827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635266816001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638062000,"timestamp_ms":1787638062000,"timestamp_seconds":1787638062,"priority":1,"record_length":96,"hex_timestamp":"000001a037881bb0"} 
[2026-08-25 11:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635266816001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635266816001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:40:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635266816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":161827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:40:18] local.INFO: GPS data processed {"connection_id":161827,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:40:18] local.INFO: Acknowledgment sent {"connection_id":161827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:40:23] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03789dce8012d7d3b4005d103b0000900af29..."} 
[2026-08-25 11:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03789dce8012d7d3b4005d103b0000900af29..."} 
[2026-08-25 11:40:23] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03789dce8012d7d3b4005d103b0000900af29..."} 
[2026-08-25 11:40:23] local.INFO: Packet analysis {"connection_id":161828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03789"} 
[2026-08-25 11:40:23] local.INFO: Extracted packet for processing {"connection_id":161828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03789"} 
[2026-08-25 11:40:23] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":97584048,"longitude_deg":76.3181888,"latitude_deg":9.7584048,"altitude":9,"angle":175,"satellites":41,"speed":56,"hex_longitude":"2d7d3b40","hex_latitude":"05d103b0","is_valid_coordinates":true} 
[2026-08-25 11:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635371520001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123341702575423488,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090885906432,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:23] 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-25 11:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787638177000,"timestamp_ms":1787638177000,"timestamp_seconds":1787638177,"priority":1,"record_length":96,"hex_timestamp":"000001a03789dce8"} 
[2026-08-25 11:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 11:40:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:23] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2303739905,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:23] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3185573894,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2820079822,"corrected_to":0} 
[2026-08-25 11:40:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308407,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3523452928,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:23] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57834058231469371,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:23] local.WARNING: Large IO value detected {"io_id":136,"raw_value":-5755599028893728763,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:23] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2893562773482448896,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:23] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,197,85,24,241,157,16,50,160,162,45,128,81,9,39,10,66,49,138,117,8,41,111,1,240,51,227,48,55,209,4,113,205,38,208,40,239,52,2,182,5,23,29,136,210],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2820079822,"validated":0}]} 
[2026-08-25 11:40:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648713127406665728,"timestamp_seconds":648713127406665.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635371520001,"66":13406,"24":56,"85":15104,"16":123341702575423488,"45":9023384090885906432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-08-25 11:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635371520001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:40:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123341702575423488,"km_value":123341702575423.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090885906432,"description":"Unknown IO ID 45"} 
[2026-08-25 11:40:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457635371520001,"power":13406,"ignition":56,"unknown_85":15104,"odometer":null,"unknown_45":9023384090885906432}} 
[2026-08-25 11:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":161828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:40:23] local.INFO: GPS data processed {"connection_id":161828,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:40:23] local.INFO: Acknowledgment sent {"connection_id":161828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:40:45] local.INFO: TCP Data received {"connection_id":164207,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:40:45] local.INFO: Processing buffer {"connection_id":164207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:40:45] local.INFO: IMEI packet received {"connection_id":164207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":164207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:40:46] local.INFO: TCP Data received {"connection_id":162819,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:40:46] local.INFO: Processing buffer {"connection_id":162819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:40:46] local.INFO: IMEI packet received {"connection_id":162819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":162819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:40:49] local.INFO: TCP Data received {"connection_id":162819,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:40:49] local.INFO: Processing buffer {"connection_id":162819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:40:49] local.INFO: IMEI packet received {"connection_id":162819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":162819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:40:50] local.INFO: TCP Data received {"connection_id":164207,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:40:50] local.INFO: Processing buffer {"connection_id":164207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:40:50] local.INFO: IMEI packet received {"connection_id":164207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":164207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:40:51] local.INFO: TCP Data received {"connection_id":162819,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:40:51] local.INFO: Processing buffer {"connection_id":162819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:40:51] local.INFO: IMEI packet received {"connection_id":162819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":162819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:40:51] local.INFO: TCP Data received {"connection_id":164207,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:40:51] local.INFO: Processing buffer {"connection_id":164207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:40:51] local.INFO: Packet analysis {"connection_id":164207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:40:51] local.INFO: Extracted packet for processing {"connection_id":164207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 11:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635266816001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787638062000,"timestamp_ms":1787638062000,"timestamp_seconds":1787638062,"priority":1,"record_length":96,"hex_timestamp":"000001a037881bb0"} 
[2026-08-25 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-25 11:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 11:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635266816001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635266816001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:40:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635266816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":164207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:40:51] local.INFO: GPS data processed {"connection_id":164207,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:40:51] local.INFO: Acknowledgment sent {"connection_id":164207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:40:52] local.INFO: TCP Data received {"connection_id":162819,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03789f458012d7d3dc005d0e0d0000900b029..."} 
[2026-08-25 11:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03789f458012d7d3dc005d0e0d0000900b029..."} 
[2026-08-25 11:40:52] local.INFO: Processing buffer {"connection_id":162819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03789f458012d7d3dc005d0e0d0000900b029..."} 
[2026-08-25 11:40:52] local.INFO: Packet analysis {"connection_id":162819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03789"} 
[2026-08-25 11:40:52] local.INFO: Extracted packet for processing {"connection_id":162819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03789"} 
[2026-08-25 11:40:52] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":97575120,"longitude_deg":76.3182528,"latitude_deg":9.757512,"altitude":9,"angle":176,"satellites":41,"speed":62,"hex_longitude":"2d7d3dc0","hex_latitude":"05d0e0d0","is_valid_coordinates":true} 
[2026-08-25 11:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635373312001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123342136367120384,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023876672092614656,"note":"Value kept but may cause issues"} 
[2026-08-25 11:40:52] 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-25 11:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787638183000,"timestamp_ms":1787638183000,"timestamp_seconds":1787638183,"priority":1,"record_length":96,"hex_timestamp":"000001a03789f458"} 
[2026-08-25 11:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 11:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635373312001,"66":13406,"24":62,"85":15104,"16":123342136367120384,"45":9023876672092614656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-08-25 11:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635373312001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:40:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123342136367120384,"km_value":123342136367120.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023876672092614656,"description":"Unknown IO ID 45"} 
[2026-08-25 11:40:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457635373312001,"power":13406,"ignition":62,"unknown_85":15104,"odometer":null,"unknown_45":9023876672092614656}} 
[2026-08-25 11:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":162819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:40:52] local.INFO: GPS data processed {"connection_id":162819,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:40:52] local.INFO: Acknowledgment sent {"connection_id":162819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:41:23] local.INFO: TCP Data received {"connection_id":164207,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:41:23] local.INFO: Processing buffer {"connection_id":164207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:41:23] local.INFO: Packet analysis {"connection_id":164207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:41:23] local.INFO: Extracted packet for processing {"connection_id":164207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:41:23] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635266816001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787638062000,"timestamp_ms":1787638062000,"timestamp_seconds":1787638062,"priority":1,"record_length":96,"hex_timestamp":"000001a037881bb0"} 
[2026-08-25 11: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-25 11:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635266816001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635266816001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:41:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:41:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635266816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":164207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:41:23] local.INFO: GPS data processed {"connection_id":164207,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:41:23] local.INFO: Acknowledgment sent {"connection_id":164207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:41:23] local.INFO: TCP Data received {"connection_id":162819,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378b3890012d7d4e8005cf1f10000800b42b..."} 
[2026-08-25 11:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378b3890012d7d4e8005cf1f10000800b42b..."} 
[2026-08-25 11:41:23] local.INFO: Processing buffer {"connection_id":162819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378b3890012d7d4e8005cf1f10000800b42b..."} 
[2026-08-25 11:41:23] local.INFO: Packet analysis {"connection_id":162819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378b"} 
[2026-08-25 11:41:23] local.INFO: Extracted packet for processing {"connection_id":162819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378b"} 
[2026-08-25 11:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763186816,"raw_latitude":97459984,"longitude_deg":76.3186816,"latitude_deg":9.7459984,"altitude":8,"angle":180,"satellites":43,"speed":41,"hex_longitude":"2d7d4e80","hex_latitude":"05cf1f10","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635394304001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123347724119572480,"note":"Value kept but may cause issues"} 
[2026-08-25 11:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029295065364971520,"note":"Value kept but may cause issues"} 
[2026-08-25 11:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787638266000,"timestamp_ms":1787638266000,"timestamp_seconds":1787638266,"priority":1,"record_length":96,"hex_timestamp":"000001a0378b3890"} 
[2026-08-25 11: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-25 11:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-25 11:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635394304001,"66":13037,"198":206,"85":15104,"24":41,"16":123347724119572480,"45":9029295065364971520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-25 11:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635394304001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:41:23] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-25 11:41:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123347724119572480,"km_value":123347724119572.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029295065364971520,"description":"Unknown IO ID 45"} 
[2026-08-25 11:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635394304001,"power":13037,"unknown_198":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9029295065364971520}} 
[2026-08-25 11:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":162819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:41:23] local.INFO: GPS data processed {"connection_id":162819,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:41:23] local.INFO: Acknowledgment sent {"connection_id":162819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:41:40] local.INFO: TCP Data received {"connection_id":161584,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:41:40] local.INFO: Processing buffer {"connection_id":161584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:41:40] local.INFO: IMEI packet received {"connection_id":161584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":161584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:41:41] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:41:41] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:41:41] local.INFO: IMEI packet received {"connection_id":161829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":161829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:41:42] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:41:42] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:41:42] local.INFO: IMEI packet received {"connection_id":161829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":161829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:41:45] local.INFO: TCP Data received {"connection_id":161584,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:41:45] local.INFO: Processing buffer {"connection_id":161584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:41:45] local.INFO: IMEI packet received {"connection_id":161584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":161584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:41:46] local.INFO: TCP Data received {"connection_id":161584,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:41:46] local.INFO: Processing buffer {"connection_id":161584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:41:46] local.INFO: Packet analysis {"connection_id":161584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:41:46] local.INFO: Extracted packet for processing {"connection_id":161584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635266816001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787638062000,"timestamp_ms":1787638062000,"timestamp_seconds":1787638062,"priority":1,"record_length":96,"hex_timestamp":"000001a037881bb0"} 
[2026-08-25 11:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635266816001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635266816001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635266816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":161584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:41:46] local.INFO: GPS data processed {"connection_id":161584,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:41:46] local.INFO: Acknowledgment sent {"connection_id":161584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:41:46] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:41:46] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:41:46] local.INFO: IMEI packet received {"connection_id":161829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":161829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:41:47] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378b4830012d7d4d4005cf1360000800c62a..."} 
[2026-08-25 11:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378b4830012d7d4d4005cf1360000800c62a..."} 
[2026-08-25 11:41:47] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378b4830012d7d4d4005cf1360000800c62a..."} 
[2026-08-25 11:41:47] local.INFO: Packet analysis {"connection_id":161829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378b"} 
[2026-08-25 11:41:47] local.INFO: Extracted packet for processing {"connection_id":161829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378b"} 
[2026-08-25 11:41:47] local.INFO: GPS Element Parsed {"raw_longitude":763186496,"raw_latitude":97456992,"longitude_deg":76.3186496,"latitude_deg":9.7456992,"altitude":8,"angle":198,"satellites":42,"speed":20,"hex_longitude":"2d7d4d40","hex_latitude":"05cf1360","is_valid_coordinates":true} 
[2026-08-25 11:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635396096001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123347870148460544,"note":"Value kept but may cause issues"} 
[2026-08-25 11:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029295065362534400,"note":"Value kept but may cause issues"} 
[2026-08-25 11:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638270000,"timestamp_ms":1787638270000,"timestamp_seconds":1787638270,"priority":1,"record_length":96,"hex_timestamp":"000001a0378b4830"} 
[2026-08-25 11:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:41: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-25 11:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-25 11:41:47] 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-25 11:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635396096001,"66":13580,"198":206,"85":15104,"24":20,"16":123347870148460544,"45":9029295065362534400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-25 11:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635396096001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:41:47] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-25 11:41:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123347870148460544,"km_value":123347870148460.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029295065362534400,"description":"Unknown IO ID 45"} 
[2026-08-25 11:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635396096001,"power":13580,"unknown_198":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9029295065362534400}} 
[2026-08-25 11:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":161829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:41:47] local.INFO: GPS data processed {"connection_id":161829,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:41:47] local.INFO: Acknowledgment sent {"connection_id":161829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:42:17] local.INFO: TCP Data received {"connection_id":161584,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:42:17] local.INFO: Processing buffer {"connection_id":161584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:42:17] local.INFO: Packet analysis {"connection_id":161584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:42:17] local.INFO: Extracted packet for processing {"connection_id":161584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635266816001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787638062000,"timestamp_ms":1787638062000,"timestamp_seconds":1787638062,"priority":1,"record_length":96,"hex_timestamp":"000001a037881bb0"} 
[2026-08-25 11:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635266816001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635266816001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:42:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635266816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":161584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:42:17] local.INFO: GPS data processed {"connection_id":161584,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:42:17] local.INFO: Acknowledgment sent {"connection_id":161584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:42:18] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378b53e8012d7d4bc005cf0dc0000800ba2b..."} 
[2026-08-25 11:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378b53e8012d7d4bc005cf0dc0000800ba2b..."} 
[2026-08-25 11:42:18] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378b53e8012d7d4bc005cf0dc0000800ba2b..."} 
[2026-08-25 11:42:18] local.INFO: Packet analysis {"connection_id":161829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378b"} 
[2026-08-25 11:42:18] local.INFO: Extracted packet for processing {"connection_id":161829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378b"} 
[2026-08-25 11:42:18] local.INFO: GPS Element Parsed {"raw_longitude":763186112,"raw_latitude":97455552,"longitude_deg":76.3186112,"latitude_deg":9.7455552,"altitude":8,"angle":186,"satellites":43,"speed":22,"hex_longitude":"2d7d4bc0","hex_latitude":"05cf0dc0","is_valid_coordinates":true} 
[2026-08-25 11:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635397120001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123347943162904576,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028943221640880128,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] 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-25 11:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638273000,"timestamp_ms":1787638273000,"timestamp_seconds":1787638273,"priority":1,"record_length":96,"hex_timestamp":"000001a0378b53e8"} 
[2026-08-25 11:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:42: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-25 11:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625781,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2330875905,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3487135744,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5317062310064291840,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2378694664,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145784262,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2009465038,"corrected_to":0} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3892391293,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2147864499,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827447,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":125,"raw_value":5638513124388634631,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847471058661803,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755682909028593,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:18] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,198,85,24,241,157,16,56,160,45,128,31,8,43,10,66,29,68,55,5,64,1,240,18,227,207,4,113,205,62,214,78,40,239,52,2,182,7,65,125,51,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2009465038,"validated":0}]} 
[2026-08-25 11:42:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576678635995660288,"timestamp_seconds":576678635995660.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635397120001,"66":13515,"198":206,"85":15104,"24":22,"16":123347943162904576,"45":9028943221640880128},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-25 11:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635397120001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:42:19] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-25 11:42:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123347943162904576,"km_value":123347943162904.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028943221640880128,"description":"Unknown IO ID 45"} 
[2026-08-25 11:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635397120001,"power":13515,"unknown_198":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9028943221640880128}} 
[2026-08-25 11:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":161829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:42:19] local.INFO: GPS data processed {"connection_id":161829,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:42:19] local.INFO: Acknowledgment sent {"connection_id":161829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:42:40] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:42:40] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:42:40] local.INFO: IMEI packet received {"connection_id":161830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":161830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:42:46] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:42:46] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:42:46] local.INFO: IMEI packet received {"connection_id":161830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":161830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:42:46] local.INFO: TCP Data received {"connection_id":162820,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:42:46] local.INFO: Processing buffer {"connection_id":162820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:42:46] local.INFO: IMEI packet received {"connection_id":162820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":162820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:42:47] local.INFO: TCP Data received {"connection_id":162820,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:42:47] local.INFO: Processing buffer {"connection_id":162820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:42:47] local.INFO: IMEI packet received {"connection_id":162820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":162820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:42:47] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:42:47] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:42:47] local.INFO: Packet analysis {"connection_id":161830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:42:47] local.INFO: Extracted packet for processing {"connection_id":161830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635266816001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638062000,"timestamp_ms":1787638062000,"timestamp_seconds":1787638062,"priority":1,"record_length":96,"hex_timestamp":"000001a037881bb0"} 
[2026-08-25 11:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635266816001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635266816001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:42:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635266816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":161830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:42:47] local.INFO: GPS data processed {"connection_id":161830,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:42:47] local.INFO: Acknowledgment sent {"connection_id":161830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:42:51] local.INFO: TCP Data received {"connection_id":162820,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:42:51] local.INFO: Processing buffer {"connection_id":162820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:42:51] local.INFO: IMEI packet received {"connection_id":162820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":162820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:42:52] local.INFO: TCP Data received {"connection_id":162820,"ip":"42.109.136.3","data_length":1340,"data_hex":"000000000000030f8e0a000001a0378b7ee0012d7d4bc005cee8a0000a00b32c..."} 
[2026-08-25 11:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162820,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a0378b7ee0012d7d4bc005cee8a0000a00b32c..."} 
[2026-08-25 11:42:52] local.INFO: Processing buffer {"connection_id":162820,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a0378b7ee0012d7d4bc005cee8a0000a00b32c..."} 
[2026-08-25 11:42:52] local.INFO: Packet analysis {"connection_id":162820,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a0378b"} 
[2026-08-25 11:42:52] local.INFO: Extracted packet for processing {"connection_id":162820,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0378b"} 
[2026-08-25 11:42:52] local.INFO: GPS Element Parsed {"raw_longitude":763186112,"raw_latitude":97446048,"longitude_deg":76.3186112,"latitude_deg":9.7446048,"altitude":10,"angle":179,"satellites":44,"speed":41,"hex_longitude":"2d7d4bc0","hex_latitude":"05cee8a0","is_valid_coordinates":true} 
[2026-08-25 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-25 11:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635397888001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123348407019372544,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028521009175445504,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:52] 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-25 11:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787638284000,"timestamp_ms":1787638284000,"timestamp_seconds":1787638284,"priority":1,"record_length":96,"hex_timestamp":"000001a0378b7ee0"} 
[2026-08-25 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-25 11:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 11:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 11:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635397888001,"66":13580,"237":206,"85":15104,"24":41,"16":123348407019372544,"45":9028521009175445504},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-25 11:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635397888001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:42:52] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-25 11:42:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123348407019372544,"km_value":123348407019372.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028521009175445504,"description":"Unknown IO ID 45"} 
[2026-08-25 11:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635397888001,"power":13580,"unknown_237":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9028521009175445504}} 
[2026-08-25 11:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":162820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:42:52] local.INFO: GPS data processed {"connection_id":162820,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:42:52] local.INFO: Acknowledgment sent {"connection_id":162820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:42:52] local.INFO: Packet analysis {"connection_id":162820,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0378b"} 
[2026-08-25 11:42:52] local.INFO: Incomplete packet, waiting for more data {"connection_id":162820,"needed":795,"available":545} 
[2026-08-25 11:42:53] local.INFO: TCP Data received {"connection_id":162820,"ip":"42.109.136.3","data_length":250,"data_hex":"e3001001b6374400000000000001a0378aee58012d7d4e8005cf8dc8000800b4..."} 
[2026-08-25 11:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162820,"packet_length":250,"packet_hex":"e3001001b6374400000000000001a0378aee58012d7d4e8005cf8dc8000800b4..."} 
[2026-08-25 11:42:53] local.INFO: Processing buffer {"connection_id":162820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378b9e20012d7d4bc005cec5a8000a00b42c..."} 
[2026-08-25 11:42:53] local.INFO: Packet analysis {"connection_id":162820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378b"} 
[2026-08-25 11:42:53] local.INFO: Extracted packet for processing {"connection_id":162820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378b"} 
[2026-08-25 11:42:53] local.INFO: GPS Element Parsed {"raw_longitude":763186112,"raw_latitude":97437096,"longitude_deg":76.3186112,"latitude_deg":9.7437096,"altitude":10,"angle":180,"satellites":44,"speed":48,"hex_longitude":"2d7d4bc0","hex_latitude":"05cec5a8","is_valid_coordinates":true} 
[2026-08-25 11:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635400704001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123348840811069440,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028521009173012480,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] 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-25 11:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787638292000,"timestamp_ms":1787638292000,"timestamp_seconds":1787638292,"priority":1,"record_length":96,"hex_timestamp":"000001a0378b9e20"} 
[2026-08-25 11:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625782,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5316822616529436672,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2333947905,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634600390424518,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2009465038,"corrected_to":0} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3482175488,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826569703436715,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":125,"raw_value":5656527521599455240,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755674319094001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:42:53] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,237,85,24,241,157,16,56,160,83,45,192,13,8,43,10,66,198,72,64,19,42,128,1,240,227,55,207,4,113,205,62,5,78,32,239,52,2,182,125,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2009465038,"validated":0}]} 
[2026-08-25 11:42:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720772941941899264,"timestamp_seconds":720772941941899.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635400704001,"66":13319,"237":206,"85":15104,"24":48,"16":123348840811069440,"45":9028521009173012480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-25 11:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635400704001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:42:53] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-25 11:42:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123348840811069440,"km_value":123348840811069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028521009173012480,"description":"Unknown IO ID 45"} 
[2026-08-25 11:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635400704001,"power":13319,"unknown_237":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9028521009173012480}} 
[2026-08-25 11:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":162820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:42:53] local.INFO: GPS data processed {"connection_id":162820,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:42:53] local.INFO: Acknowledgment sent {"connection_id":162820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:43:03] local.INFO: TCP Data received {"connection_id":162820,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378bbd60012d7d4b8005cea0a8000b00b52c..."} 
[2026-08-25 11:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378bbd60012d7d4b8005cea0a8000b00b52c..."} 
[2026-08-25 11:43:03] local.INFO: Processing buffer {"connection_id":162820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378bbd60012d7d4b8005cea0a8000b00b52c..."} 
[2026-08-25 11:43:03] local.INFO: Packet analysis {"connection_id":162820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378b"} 
[2026-08-25 11:43:03] local.INFO: Extracted packet for processing {"connection_id":162820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378b"} 
[2026-08-25 11:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763186048,"raw_latitude":97427624,"longitude_deg":76.3186048,"latitude_deg":9.7427624,"altitude":11,"angle":181,"satellites":44,"speed":51,"hex_longitude":"2d7d4b80","hex_latitude":"05cea0a8","is_valid_coordinates":true} 
[2026-08-25 11:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635402752001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123349300372570112,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028521009170720768,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:03] 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-25 11:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787638300000,"timestamp_ms":1787638300000,"timestamp_seconds":1787638300,"priority":1,"record_length":96,"hex_timestamp":"000001a0378bbd60"} 
[2026-08-25 11:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:43: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-25 11:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 11:43:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:03] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2335739905,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:03] local.WARNING: Large IO value detected {"io_id":207,"raw_value":-8230328284648035584,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2009465038,"corrected_to":0} 
[2026-08-25 11:43:03] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2147864388,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:03] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2818624887,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3479773184,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:03] local.WARNING: Large IO value detected {"io_id":18,"raw_value":57834062526436667,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:03] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1272265599844712443,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:03] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,237,85,24,241,157,16,57,160,126,45,192,232,10,44,66,56,83,13,8,43,198,72,64,1,240,12,227,55,207,4,113,205,41,29,78,239,47,2,182,5,62,18,138],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2009465038,"validated":0}]} 
[2026-08-25 11:43:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720774041453985792,"timestamp_seconds":720774041453985.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635402752001,"66":13189,"237":206,"85":15104,"24":51,"16":123349300372570112,"45":9028521009170720768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-25 11:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635402752001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:43:03] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-25 11:43:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123349300372570112,"km_value":123349300372570.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028521009170720768,"description":"Unknown IO ID 45"} 
[2026-08-25 11:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635402752001,"power":13189,"unknown_237":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9028521009170720768}} 
[2026-08-25 11:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":162820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:43:03] local.INFO: GPS data processed {"connection_id":162820,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:43:03] local.INFO: Acknowledgment sent {"connection_id":162820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:43:19] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:43:19] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037881bb0012d34c0c006aa4878000c00552d..."} 
[2026-08-25 11:43:19] local.INFO: Packet analysis {"connection_id":161830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:43:19] local.INFO: Extracted packet for processing {"connection_id":161830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03788"} 
[2026-08-25 11:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":12,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635266816001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787638062000,"timestamp_ms":1787638062000,"timestamp_seconds":1787638062,"priority":1,"record_length":96,"hex_timestamp":"000001a037881bb0"} 
[2026-08-25 11:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635266816001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635266816001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:43:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635266816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":161830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:43:19] local.INFO: GPS data processed {"connection_id":161830,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:43:19] local.INFO: Acknowledgment sent {"connection_id":161830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:43:41] local.INFO: TCP Data received {"connection_id":161585,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:43:41] local.INFO: Processing buffer {"connection_id":161585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:43:41] local.INFO: IMEI packet received {"connection_id":161585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":161585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:43:42] local.INFO: TCP Data received {"connection_id":161585,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:43:42] local.INFO: Processing buffer {"connection_id":161585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:43:42] local.INFO: IMEI packet received {"connection_id":161585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":161585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:43:43] local.INFO: TCP Data received {"connection_id":161585,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378d1520012d7d570005cce5b8000900b12c..."} 
[2026-08-25 11:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378d1520012d7d570005cce5b8000900b12c..."} 
[2026-08-25 11:43:43] local.INFO: Processing buffer {"connection_id":161585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378d1520012d7d570005cce5b8000900b12c..."} 
[2026-08-25 11:43:43] local.INFO: Packet analysis {"connection_id":161585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378d"} 
[2026-08-25 11:43:43] local.INFO: Extracted packet for processing {"connection_id":161585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378d"} 
[2026-08-25 11:43:43] local.INFO: GPS Element Parsed {"raw_longitude":763188992,"raw_latitude":97314232,"longitude_deg":76.3188992,"latitude_deg":9.7314232,"altitude":9,"angle":177,"satellites":44,"speed":66,"hex_longitude":"2d7d5700","hex_latitude":"05cce5b8","is_valid_coordinates":true} 
[2026-08-25 11:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635425792001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123354810815610880,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031054283932211200,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:43] 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-25 11:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787638388000,"timestamp_ms":1787638388000,"timestamp_seconds":1787638388,"priority":1,"record_length":96,"hex_timestamp":"000001a0378d1520"} 
[2026-08-25 11:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 11:43:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":923237966572628480,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:43] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2359291905,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2800419022,"corrected_to":0} 
[2026-08-25 11:43:43] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:43] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2147864002,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3454470144,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:43] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57885898486732091,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:43] local.WARNING: Large IO value detected {"io_id":140,"raw_value":5050788276982857733,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:43] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,236,85,24,241,157,16,62,160,230,45,192,50,9,43,10,66,235,61,206,64,87,44,183,1,240,227,60,55,205,4,113,136,67,42,239,53,2,182,5,47,51,140],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2800419022,"validated":0}]} 
[2026-08-25 11:43:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648712053665628160,"timestamp_seconds":648712053665628.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635425792001,"66":13526,"236":206,"85":15104,"24":66,"16":123354810815610880,"45":9031054283932211200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 11:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635425792001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:43:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 11:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123354810815610880,"km_value":123354810815610.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031054283932211200,"description":"Unknown IO ID 45"} 
[2026-08-25 11:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635425792001,"power":13526,"unknown_236":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":9031054283932211200}} 
[2026-08-25 11:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":161585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:43:43] local.INFO: GPS data processed {"connection_id":161585,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:43:43] local.INFO: Acknowledgment sent {"connection_id":161585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:43:45] local.INFO: TCP Data received {"connection_id":162821,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:43:45] local.INFO: Processing buffer {"connection_id":162821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:43:45] local.INFO: IMEI packet received {"connection_id":162821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":162821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:43:50] local.INFO: TCP Data received {"connection_id":162821,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:43:50] local.INFO: Processing buffer {"connection_id":162821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:43:50] local.INFO: IMEI packet received {"connection_id":162821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":162821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:43:51] local.INFO: TCP Data received {"connection_id":162821,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:43:51] local.INFO: Processing buffer {"connection_id":162821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:43:51] local.INFO: Packet analysis {"connection_id":162821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:43:51] local.INFO: Extracted packet for processing {"connection_id":162821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635343872001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787638363000,"timestamp_ms":1787638363000,"timestamp_seconds":1787638363,"priority":1,"record_length":96,"hex_timestamp":"000001a0378cb378"} 
[2026-08-25 11:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635343872001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635343872001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:43:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635343872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":162821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:43:51] local.INFO: GPS data processed {"connection_id":162821,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:43:51] local.INFO: Acknowledgment sent {"connection_id":162821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:43:56] local.INFO: TCP Data received {"connection_id":162821,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:43:56] local.INFO: Processing buffer {"connection_id":162821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:43:56] local.INFO: Packet analysis {"connection_id":162821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:43:56] local.INFO: Extracted packet for processing {"connection_id":162821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:43:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635343872001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:43: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-25 11:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787638363000,"timestamp_ms":1787638363000,"timestamp_seconds":1787638363,"priority":1,"record_length":96,"hex_timestamp":"000001a0378cb378"} 
[2026-08-25 11:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 11:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635343872001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635343872001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:43:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:43:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635343872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":162821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:43:56] local.INFO: GPS data processed {"connection_id":162821,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:43:56] local.INFO: Acknowledgment sent {"connection_id":162821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:44:13] local.INFO: TCP Data received {"connection_id":161585,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378d2c90012d7d588005ccbe88000800b22e..."} 
[2026-08-25 11:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378d2c90012d7d588005ccbe88000800b22e..."} 
[2026-08-25 11:44:13] local.INFO: Processing buffer {"connection_id":161585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378d2c90012d7d588005ccbe88000800b22e..."} 
[2026-08-25 11:44:13] local.INFO: Packet analysis {"connection_id":161585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378d"} 
[2026-08-25 11:44:13] local.INFO: Extracted packet for processing {"connection_id":161585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378d"} 
[2026-08-25 11:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763189376,"raw_latitude":97304200,"longitude_deg":76.3189376,"latitude_deg":9.73042,"altitude":8,"angle":178,"satellites":46,"speed":66,"hex_longitude":"2d7d5880","hex_latitude":"05ccbe88","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635427328001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123355300441882624,"note":"Value kept but may cause issues"} 
[2026-08-25 11:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031687602627262464,"note":"Value kept but may cause issues"} 
[2026-08-25 11:44:13] 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-25 11:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787638394000,"timestamp_ms":1787638394000,"timestamp_seconds":1787638394,"priority":1,"record_length":96,"hex_timestamp":"000001a0378d2c90"} 
[2026-08-25 11: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-25 11:44: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-25 11: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 11:44: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-25 11: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-25 11: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-25 11:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635427328001,"66":13450,"236":206,"85":15104,"24":66,"16":123355300441882624,"45":9031687602627262464},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 11:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635427328001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:44:13] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 11:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123355300441882624,"km_value":123355300441882.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031687602627262464,"description":"Unknown IO ID 45"} 
[2026-08-25 11:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635427328001,"power":13450,"unknown_236":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":9031687602627262464}} 
[2026-08-25 11:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":161585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:44:13] local.INFO: GPS data processed {"connection_id":161585,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:44:13] local.INFO: Acknowledgment sent {"connection_id":161585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:44:40] local.INFO: TCP Data received {"connection_id":164208,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:44:40] local.INFO: Processing buffer {"connection_id":164208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:44:40] local.INFO: IMEI packet received {"connection_id":164208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":164208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:44:41] local.INFO: TCP Data received {"connection_id":161831,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:44:41] local.INFO: Processing buffer {"connection_id":161831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:44:41] local.INFO: IMEI packet received {"connection_id":161831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":161831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:44:45] local.INFO: TCP Data received {"connection_id":161831,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:44:45] local.INFO: Processing buffer {"connection_id":161831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:44:45] local.INFO: IMEI packet received {"connection_id":161831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":161831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:44:46] local.INFO: TCP Data received {"connection_id":164208,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:44:46] local.INFO: Processing buffer {"connection_id":164208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:44:46] local.INFO: IMEI packet received {"connection_id":164208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":164208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:44:46] local.INFO: TCP Data received {"connection_id":161831,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378e2a78012d7d358005cba138000e00b82e..."} 
[2026-08-25 11:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378e2a78012d7d358005cba138000e00b82e..."} 
[2026-08-25 11:44:46] local.INFO: Processing buffer {"connection_id":161831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378e2a78012d7d358005cba138000e00b82e..."} 
[2026-08-25 11:44:46] local.INFO: Packet analysis {"connection_id":161831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378e"} 
[2026-08-25 11:44:46] local.INFO: Extracted packet for processing {"connection_id":161831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378e"} 
[2026-08-25 11:44:46] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":97231160,"longitude_deg":76.3180416,"latitude_deg":9.723116,"altitude":14,"angle":184,"satellites":46,"speed":52,"hex_longitude":"2d7d3580","hex_latitude":"05cba138","is_valid_coordinates":true} 
[2026-08-25 11:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635443456001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123358886739574784,"note":"Value kept but may cause issues"} 
[2026-08-25 11:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313722051244032,"note":"Value kept but may cause issues"} 
[2026-08-25 11:44:46] 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-25 11:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787638459000,"timestamp_ms":1787638459000,"timestamp_seconds":1787638459,"priority":1,"record_length":96,"hex_timestamp":"000001a0378e2a78"} 
[2026-08-25 11:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:44: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-25 11:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 11:44:46] 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-25 11:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635443456001,"66":13363,"129":206,"85":15104,"24":52,"16":123358886739574784,"45":9023313722051244032},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-25 11:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635443456001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:44:46] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-25 11:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123358886739574784,"km_value":123358886739574.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313722051244032,"description":"Unknown IO ID 45"} 
[2026-08-25 11:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635443456001,"power":13363,"unknown_129":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9023313722051244032}} 
[2026-08-25 11:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":161831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:44:46] local.INFO: GPS data processed {"connection_id":161831,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:44:46] local.INFO: Acknowledgment sent {"connection_id":161831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:44:48] local.INFO: TCP Data received {"connection_id":164208,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:44:48] local.INFO: Processing buffer {"connection_id":164208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:44:48] local.INFO: Packet analysis {"connection_id":164208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:44:48] local.INFO: Extracted packet for processing {"connection_id":164208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635343872001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787638363000,"timestamp_ms":1787638363000,"timestamp_seconds":1787638363,"priority":1,"record_length":96,"hex_timestamp":"000001a0378cb378"} 
[2026-08-25 11:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635343872001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635343872001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:44:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635343872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":164208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:44:48] local.INFO: GPS data processed {"connection_id":164208,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:44:48] local.INFO: Acknowledgment sent {"connection_id":164208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:45:17] local.INFO: TCP Data received {"connection_id":161831,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378e45d0012d7d32c005cb7ab8000c00b62d..."} 
[2026-08-25 11:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378e45d0012d7d32c005cb7ab8000c00b62d..."} 
[2026-08-25 11:45:17] local.INFO: Processing buffer {"connection_id":161831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378e45d0012d7d32c005cb7ab8000c00b62d..."} 
[2026-08-25 11:45:17] local.INFO: Packet analysis {"connection_id":161831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378e"} 
[2026-08-25 11:45:17] local.INFO: Extracted packet for processing {"connection_id":161831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378e"} 
[2026-08-25 11:45:17] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":97221304,"longitude_deg":76.3179712,"latitude_deg":9.7221304,"altitude":12,"angle":182,"satellites":45,"speed":57,"hex_longitude":"2d7d32c0","hex_latitude":"05cb7ab8","is_valid_coordinates":true} 
[2026-08-25 11:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635445504001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123359363480944640,"note":"Value kept but may cause issues"} 
[2026-08-25 11:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258190886189056,"note":"Value kept but may cause issues"} 
[2026-08-25 11:45:17] 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-25 11:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787638466000,"timestamp_ms":1787638466000,"timestamp_seconds":1787638466,"priority":1,"record_length":96,"hex_timestamp":"000001a0378e45d0"} 
[2026-08-25 11:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:45: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-25 11:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 11:45:17] 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-25 11:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635445504001,"66":13222,"129":206,"85":15104,"24":57,"16":123359363480944640,"45":9022258190886189056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-25 11:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635445504001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:45:17] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-25 11:45:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123359363480944640,"km_value":123359363480944.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258190886189056,"description":"Unknown IO ID 45"} 
[2026-08-25 11:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635445504001,"power":13222,"unknown_129":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9022258190886189056}} 
[2026-08-25 11:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":161831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:45:17] local.INFO: GPS data processed {"connection_id":161831,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:45:17] local.INFO: Acknowledgment sent {"connection_id":161831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:45:19] local.INFO: TCP Data received {"connection_id":164208,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:45:19] local.INFO: Processing buffer {"connection_id":164208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:45:19] local.INFO: Packet analysis {"connection_id":164208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:45:19] local.INFO: Extracted packet for processing {"connection_id":164208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635343872001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787638363000,"timestamp_ms":1787638363000,"timestamp_seconds":1787638363,"priority":1,"record_length":96,"hex_timestamp":"000001a0378cb378"} 
[2026-08-25 11:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635343872001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635343872001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:45:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635343872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":164208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:45:19] local.INFO: GPS data processed {"connection_id":164208,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:45:19] local.INFO: Acknowledgment sent {"connection_id":164208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:45:40] local.INFO: TCP Data received {"connection_id":162822,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:45:40] local.INFO: Processing buffer {"connection_id":162822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:45:40] local.INFO: IMEI packet received {"connection_id":162822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":162822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:45:41] local.INFO: TCP Data received {"connection_id":161586,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:45:41] local.INFO: Processing buffer {"connection_id":161586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:45:41] local.INFO: IMEI packet received {"connection_id":161586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":161586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:45:43] local.INFO: TCP Data received {"connection_id":161586,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:45:43] local.INFO: Processing buffer {"connection_id":161586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:45:43] local.INFO: IMEI packet received {"connection_id":161586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":161586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:45:46] local.INFO: TCP Data received {"connection_id":162822,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:45:46] local.INFO: Processing buffer {"connection_id":162822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:45:46] local.INFO: IMEI packet received {"connection_id":162822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":162822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:45:46] local.INFO: TCP Data received {"connection_id":161586,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:45:46] local.INFO: Processing buffer {"connection_id":161586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:45:46] local.INFO: IMEI packet received {"connection_id":161586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":161586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:45:47] local.INFO: TCP Data received {"connection_id":161586,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378e6510012d7d300005cb54d8000b00b62e..."} 
[2026-08-25 11:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378e6510012d7d300005cb54d8000b00b62e..."} 
[2026-08-25 11:45:47] local.INFO: Processing buffer {"connection_id":161586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378e6510012d7d300005cb54d8000b00b62e..."} 
[2026-08-25 11:45:47] local.INFO: Packet analysis {"connection_id":161586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378e"} 
[2026-08-25 11:45:47] local.INFO: Extracted packet for processing {"connection_id":161586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378e"} 
[2026-08-25 11:45:47] local.INFO: GPS Element Parsed {"raw_longitude":763179008,"raw_latitude":97211608,"longitude_deg":76.3179008,"latitude_deg":9.7211608,"altitude":11,"angle":182,"satellites":46,"speed":34,"hex_longitude":"2d7d3000","hex_latitude":"05cb54d8","is_valid_coordinates":true} 
[2026-08-25 11:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635447296001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123359835927347200,"note":"Value kept but may cause issues"} 
[2026-08-25 11:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484134697711616,"note":"Value kept but may cause issues"} 
[2026-08-25 11:45:47] 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-25 11:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638474000,"timestamp_ms":1787638474000,"timestamp_seconds":1787638474,"priority":1,"record_length":96,"hex_timestamp":"000001a0378e6510"} 
[2026-08-25 11:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:45: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-25 11:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 11:45:47] 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-25 11:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635447296001,"66":13059,"129":206,"85":15104,"24":34,"16":123359835927347200,"45":9021484134697711616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-25 11:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635447296001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:45:47] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-25 11:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123359835927347200,"km_value":123359835927347.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484134697711616,"description":"Unknown IO ID 45"} 
[2026-08-25 11:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635447296001,"power":13059,"unknown_129":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9021484134697711616}} 
[2026-08-25 11:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":161586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:45:47] local.INFO: GPS data processed {"connection_id":161586,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:45:47] local.INFO: Acknowledgment sent {"connection_id":161586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:45:48] local.INFO: TCP Data received {"connection_id":162822,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:45:48] local.INFO: Processing buffer {"connection_id":162822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:45:48] local.INFO: Packet analysis {"connection_id":162822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:45:48] local.INFO: Extracted packet for processing {"connection_id":162822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635343872001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787638363000,"timestamp_ms":1787638363000,"timestamp_seconds":1787638363,"priority":1,"record_length":96,"hex_timestamp":"000001a0378cb378"} 
[2026-08-25 11: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-25 11:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11: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":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635343872001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635343872001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:45:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635343872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":162822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:45:48] local.INFO: GPS data processed {"connection_id":162822,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:45:48] local.INFO: Acknowledgment sent {"connection_id":162822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:46:19] local.INFO: TCP Data received {"connection_id":161586,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378fb118012d7d0f8005c9bcb8000900b82d..."} 
[2026-08-25 11:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378fb118012d7d0f8005c9bcb8000900b82d..."} 
[2026-08-25 11:46:19] local.INFO: Processing buffer {"connection_id":161586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378fb118012d7d0f8005c9bcb8000900b82d..."} 
[2026-08-25 11:46:19] local.INFO: Packet analysis {"connection_id":161586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378f"} 
[2026-08-25 11:46:19] local.INFO: Extracted packet for processing {"connection_id":161586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378f"} 
[2026-08-25 11:46:19] local.INFO: GPS Element Parsed {"raw_longitude":763170688,"raw_latitude":97107128,"longitude_deg":76.3170688,"latitude_deg":9.7107128,"altitude":9,"angle":184,"satellites":45,"speed":67,"hex_longitude":"2d7d0f80","hex_latitude":"05c9bcb8","is_valid_coordinates":true} 
[2026-08-25 11:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635469568001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123364929758560256,"note":"Value kept but may cause issues"} 
[2026-08-25 11:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012547304160538624,"note":"Value kept but may cause issues"} 
[2026-08-25 11:46:19] 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-25 11:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787638559000,"timestamp_ms":1787638559000,"timestamp_seconds":1787638559,"priority":1,"record_length":96,"hex_timestamp":"000001a0378fb118"} 
[2026-08-25 11:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:46: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-25 11:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 11:46:19] 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-25 11:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635469568001,"66":13222,"131":206,"85":15104,"24":67,"16":123364929758560256,"45":9012547304160538624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-25 11:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635469568001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:46:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 11:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123364929758560256,"km_value":123364929758560.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012547304160538624,"description":"Unknown IO ID 45"} 
[2026-08-25 11:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635469568001,"power":13222,"unknown_131":206,"unknown_85":15104,"ignition":67,"odometer":null,"unknown_45":9012547304160538624}} 
[2026-08-25 11:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":161586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:46:19] local.INFO: GPS data processed {"connection_id":161586,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:46:19] local.INFO: Acknowledgment sent {"connection_id":161586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:46:19] local.INFO: TCP Data received {"connection_id":162822,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:46:19] local.INFO: Processing buffer {"connection_id":162822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:46:19] local.INFO: Packet analysis {"connection_id":162822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:46:19] local.INFO: Extracted packet for processing {"connection_id":162822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635343872001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787638363000,"timestamp_ms":1787638363000,"timestamp_seconds":1787638363,"priority":1,"record_length":96,"hex_timestamp":"000001a0378cb378"} 
[2026-08-25 11:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11: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":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635343872001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635343872001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:46:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635343872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":162822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:46:20] local.INFO: GPS data processed {"connection_id":162822,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:46:20] local.INFO: Acknowledgment sent {"connection_id":162822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:46:40] local.INFO: TCP Data received {"connection_id":162823,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:46:40] local.INFO: Processing buffer {"connection_id":162823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:46:40] local.INFO: IMEI packet received {"connection_id":162823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":162823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:46:41] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:46:41] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:46:41] local.INFO: IMEI packet received {"connection_id":161587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":161587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:46:41] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:46:41] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:46:41] local.INFO: IMEI packet received {"connection_id":161587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":161587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:46:45] local.INFO: TCP Data received {"connection_id":162823,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:46:45] local.INFO: Processing buffer {"connection_id":162823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:46:45] local.INFO: IMEI packet received {"connection_id":162823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":162823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:46:46] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:46:46] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:46:46] local.INFO: IMEI packet received {"connection_id":161587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":161587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:46:46] local.INFO: TCP Data received {"connection_id":162823,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:46:46] local.INFO: Processing buffer {"connection_id":162823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:46:46] local.INFO: Packet analysis {"connection_id":162823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:46:46] local.INFO: Extracted packet for processing {"connection_id":162823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635343872001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787638363000,"timestamp_ms":1787638363000,"timestamp_seconds":1787638363,"priority":1,"record_length":96,"hex_timestamp":"000001a0378cb378"} 
[2026-08-25 11:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635343872001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635343872001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:46:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635343872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":162823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:46:46] local.INFO: GPS data processed {"connection_id":162823,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:46:46] local.INFO: Acknowledgment sent {"connection_id":162823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:46:47] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378fc888012d7d0c4005c994d8000800b72c..."} 
[2026-08-25 11:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378fc888012d7d0c4005c994d8000800b72c..."} 
[2026-08-25 11:46:47] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378fc888012d7d0c4005c994d8000800b72c..."} 
[2026-08-25 11:46:47] local.INFO: Packet analysis {"connection_id":161587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378f"} 
[2026-08-25 11:46:47] local.INFO: Extracted packet for processing {"connection_id":161587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378f"} 
[2026-08-25 11:46:47] local.INFO: GPS Element Parsed {"raw_longitude":763169856,"raw_latitude":97096920,"longitude_deg":76.3169856,"latitude_deg":9.709692,"altitude":8,"angle":183,"satellites":44,"speed":67,"hex_longitude":"2d7d0c40","hex_latitude":"05c994d8","is_valid_coordinates":true} 
[2026-08-25 11:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635471104001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123365427974766592,"note":"Value kept but may cause issues"} 
[2026-08-25 11:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011562141739431936,"note":"Value kept but may cause issues"} 
[2026-08-25 11:46:47] 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-25 11:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638565000,"timestamp_ms":1787638565000,"timestamp_seconds":1787638565,"priority":1,"record_length":96,"hex_timestamp":"000001a0378fc888"} 
[2026-08-25 11:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:46: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-25 11:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 11:46:47] 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-25 11:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635471104001,"66":13374,"131":206,"85":15104,"24":67,"16":123365427974766592,"45":9011562141739431936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-25 11:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635471104001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:46:47] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 11:46:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123365427974766592,"km_value":123365427974766.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011562141739431936,"description":"Unknown IO ID 45"} 
[2026-08-25 11:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635471104001,"power":13374,"unknown_131":206,"unknown_85":15104,"ignition":67,"odometer":null,"unknown_45":9011562141739431936}} 
[2026-08-25 11:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":161587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:46:47] local.INFO: GPS data processed {"connection_id":161587,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:46:47] local.INFO: Acknowledgment sent {"connection_id":161587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:47:18] local.INFO: TCP Data received {"connection_id":162823,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:47:18] local.INFO: Processing buffer {"connection_id":162823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:47:18] local.INFO: Packet analysis {"connection_id":162823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:47:18] local.INFO: Extracted packet for processing {"connection_id":162823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635343872001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638363000,"timestamp_ms":1787638363000,"timestamp_seconds":1787638363,"priority":1,"record_length":96,"hex_timestamp":"000001a0378cb378"} 
[2026-08-25 11:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635343872001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635343872001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:47:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635343872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":162823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:47:18] local.INFO: GPS data processed {"connection_id":162823,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:47:18] local.INFO: Acknowledgment sent {"connection_id":162823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:47:20] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0378fdff8012d7d0b0005c96d38000800b42d..."} 
[2026-08-25 11:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378fdff8012d7d0b0005c96d38000800b42d..."} 
[2026-08-25 11:47:20] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378fdff8012d7d0b0005c96d38000800b42d..."} 
[2026-08-25 11:47:20] local.INFO: Packet analysis {"connection_id":161587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378f"} 
[2026-08-25 11:47:20] local.INFO: Extracted packet for processing {"connection_id":161587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378f"} 
[2026-08-25 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":763169536,"raw_latitude":97086776,"longitude_deg":76.3169536,"latitude_deg":9.7086776,"altitude":8,"angle":180,"satellites":45,"speed":67,"hex_longitude":"2d7d0b00","hex_latitude":"05c96d38","is_valid_coordinates":true} 
[2026-08-25 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635472640001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123365917601038336,"note":"Value kept but may cause issues"} 
[2026-08-25 11:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010647348062509056,"note":"Value kept but may cause issues"} 
[2026-08-25 11:47:20] 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-25 11:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787638571000,"timestamp_ms":1787638571000,"timestamp_seconds":1787638571,"priority":1,"record_length":96,"hex_timestamp":"000001a0378fdff8"} 
[2026-08-25 11:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11: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-25 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 11:47:20] 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-25 11:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635472640001,"66":13493,"131":206,"85":15104,"24":67,"16":123365917601038336,"45":9010647348062509056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-25 11:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635472640001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:47:20] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 11:47:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 11:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123365917601038336,"km_value":123365917601038.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010647348062509056,"description":"Unknown IO ID 45"} 
[2026-08-25 11:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635472640001,"power":13493,"unknown_131":206,"unknown_85":15104,"ignition":67,"odometer":null,"unknown_45":9010647348062509056}} 
[2026-08-25 11:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":161587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:47:20] local.INFO: GPS data processed {"connection_id":161587,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:47:20] local.INFO: Acknowledgment sent {"connection_id":161587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:47:40] local.INFO: TCP Data received {"connection_id":161832,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:47:40] local.INFO: Processing buffer {"connection_id":161832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:47:40] local.INFO: IMEI packet received {"connection_id":161832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":161832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:47:45] local.INFO: TCP Data received {"connection_id":161832,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:47:45] local.INFO: Processing buffer {"connection_id":161832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:47:45] local.INFO: IMEI packet received {"connection_id":161832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":161832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:47:46] local.INFO: TCP Data received {"connection_id":161832,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:47:46] local.INFO: Processing buffer {"connection_id":161832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:47:46] local.INFO: Packet analysis {"connection_id":161832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:47:46] local.INFO: Extracted packet for processing {"connection_id":161832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635343872001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787638363000,"timestamp_ms":1787638363000,"timestamp_seconds":1787638363,"priority":1,"record_length":96,"hex_timestamp":"000001a0378cb378"} 
[2026-08-25 11:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635343872001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635343872001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635343872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":161832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:47:46] local.INFO: GPS data processed {"connection_id":161832,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:47:46] local.INFO: Acknowledgment sent {"connection_id":161832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:47:56] local.INFO: TCP Data received {"connection_id":161588,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:47:56] local.INFO: Processing buffer {"connection_id":161588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:47:56] local.INFO: IMEI packet received {"connection_id":161588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":161588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:47:56] local.INFO: TCP Data received {"connection_id":161588,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:47:56] local.INFO: Processing buffer {"connection_id":161588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:47:56] local.INFO: IMEI packet received {"connection_id":161588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":161588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:48:01] local.INFO: TCP Data received {"connection_id":161588,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:48:01] local.INFO: Processing buffer {"connection_id":161588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:48:01] local.INFO: IMEI packet received {"connection_id":161588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":161588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:48:02] local.INFO: TCP Data received {"connection_id":161588,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037912818012d7d3dc005c7d520000d009c2d..."} 
[2026-08-25 11:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037912818012d7d3dc005c7d520000d009c2d..."} 
[2026-08-25 11:48:02] local.INFO: Processing buffer {"connection_id":161588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037912818012d7d3dc005c7d520000d009c2d..."} 
[2026-08-25 11:48:02] local.INFO: Packet analysis {"connection_id":161588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:48:02] local.INFO: Extracted packet for processing {"connection_id":161588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":96982304,"longitude_deg":76.3182528,"latitude_deg":9.6982304,"altitude":13,"angle":156,"satellites":45,"speed":65,"hex_longitude":"2d7d3dc0","hex_latitude":"05c7d520","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635494144001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123371041497022464,"note":"Value kept but may cause issues"} 
[2026-08-25 11:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447197114368,"note":"Value kept but may cause issues"} 
[2026-08-25 11:48:02] 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-25 11:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787638655000,"timestamp_ms":1787638655000,"timestamp_seconds":1787638655,"priority":1,"record_length":96,"hex_timestamp":"000001a037912818"} 
[2026-08-25 11: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-25 11:48: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-25 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-25 11:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635494144001,"66":13406,"199":206,"85":12288,"24":65,"16":123371041497022464,"45":9020780447197114368},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-25 11:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635494144001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:48:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-25 11:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123371041497022464,"km_value":123371041497022.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447197114368,"description":"Unknown IO ID 45"} 
[2026-08-25 11:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635494144001,"power":13406,"trip_odometer":0.206,"unknown_85":12288,"ignition":65,"odometer":null,"unknown_45":9020780447197114368}} 
[2026-08-25 11:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":161588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:48:02] local.INFO: GPS data processed {"connection_id":161588,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:48:02] local.INFO: Acknowledgment sent {"connection_id":161588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:48:18] local.INFO: TCP Data received {"connection_id":161832,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:48:18] local.INFO: Processing buffer {"connection_id":161832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0378cb378012d34c0c006aa4878000a00552c..."} 
[2026-08-25 11:48:18] local.INFO: Packet analysis {"connection_id":161832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:48:18] local.INFO: Extracted packet for processing {"connection_id":161832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0378c"} 
[2026-08-25 11:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":10,"angle":85,"satellites":44,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635343872001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638363000,"timestamp_ms":1787638363000,"timestamp_seconds":1787638363,"priority":1,"record_length":96,"hex_timestamp":"000001a0378cb378"} 
[2026-08-25 11:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 11:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635343872001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635343872001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635343872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":161832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:48:18] local.INFO: GPS data processed {"connection_id":161832,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:48:18] local.INFO: Acknowledgment sent {"connection_id":161832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:48:40] local.INFO: TCP Data received {"connection_id":164209,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:48:40] local.INFO: Processing buffer {"connection_id":164209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:48:40] local.INFO: IMEI packet received {"connection_id":164209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":164209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:48:41] local.INFO: TCP Data received {"connection_id":161589,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:48:41] local.INFO: Processing buffer {"connection_id":161589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:48:41] local.INFO: IMEI packet received {"connection_id":161589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":161589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:48:44] local.INFO: TCP Data received {"connection_id":161589,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:48:44] local.INFO: Processing buffer {"connection_id":161589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:48:44] local.INFO: IMEI packet received {"connection_id":161589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":161589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:48:45] local.INFO: TCP Data received {"connection_id":161589,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037913f88012d7d4ec005c7b3f8000e00962d..."} 
[2026-08-25 11:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037913f88012d7d4ec005c7b3f8000e00962d..."} 
[2026-08-25 11:48:45] local.INFO: Processing buffer {"connection_id":161589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037913f88012d7d4ec005c7b3f8000e00962d..."} 
[2026-08-25 11:48:45] local.INFO: Packet analysis {"connection_id":161589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:48:45] local.INFO: Extracted packet for processing {"connection_id":161589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:48:45] local.INFO: GPS Element Parsed {"raw_longitude":763186880,"raw_latitude":96973816,"longitude_deg":76.318688,"latitude_deg":9.6973816,"altitude":14,"angle":150,"satellites":45,"speed":52,"hex_longitude":"2d7d4ec0","hex_latitude":"05c7b3f8","is_valid_coordinates":true} 
[2026-08-25 11:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635495680001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123371505353490432,"note":"Value kept but may cause issues"} 
[2026-08-25 11:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580359380344832,"note":"Value kept but may cause issues"} 
[2026-08-25 11:48:45] 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-25 11:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787638661000,"timestamp_ms":1787638661000,"timestamp_seconds":1787638661,"priority":1,"record_length":96,"hex_timestamp":"000001a037913f88"} 
[2026-08-25 11:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:48: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-25 11:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 11:48:45] 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-25 11:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635495680001,"66":13396,"199":206,"85":12288,"24":52,"16":123371505353490432,"45":9024580359380344832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-25 11:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635495680001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:48:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-25 11:48:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123371505353490432,"km_value":123371505353490.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580359380344832,"description":"Unknown IO ID 45"} 
[2026-08-25 11:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635495680001,"power":13396,"trip_odometer":0.206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":9024580359380344832}} 
[2026-08-25 11:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":161589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:48:45] local.INFO: GPS data processed {"connection_id":161589,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:48:45] local.INFO: Acknowledgment sent {"connection_id":161589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:48:45] local.INFO: TCP Data received {"connection_id":164209,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:48:45] local.INFO: Processing buffer {"connection_id":164209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:48:45] local.INFO: IMEI packet received {"connection_id":164209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":164209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:48:46] local.INFO: TCP Data received {"connection_id":164209,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:48:46] local.INFO: Processing buffer {"connection_id":164209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:48:46] local.INFO: Packet analysis {"connection_id":164209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:48:46] local.INFO: Extracted packet for processing {"connection_id":164209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635420928001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787638664000,"timestamp_ms":1787638664000,"timestamp_seconds":1787638664,"priority":1,"record_length":96,"hex_timestamp":"000001a037914b40"} 
[2026-08-25 11:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635420928001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635420928001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:48:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635420928001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":164209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:48:46] local.INFO: GPS data processed {"connection_id":164209,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:48:46] local.INFO: Acknowledgment sent {"connection_id":164209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:49:17] local.INFO: TCP Data received {"connection_id":161589,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037925cb0012d7ea78005c6a808000a007a2c..."} 
[2026-08-25 11:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037925cb0012d7ea78005c6a808000a007a2c..."} 
[2026-08-25 11:49:17] local.INFO: Processing buffer {"connection_id":161589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037925cb0012d7ea78005c6a808000a007a2c..."} 
[2026-08-25 11:49:17] local.INFO: Packet analysis {"connection_id":161589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03792"} 
[2026-08-25 11:49:17] local.INFO: Extracted packet for processing {"connection_id":161589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03792"} 
[2026-08-25 11:49:17] local.INFO: GPS Element Parsed {"raw_longitude":763275136,"raw_latitude":96905224,"longitude_deg":76.3275136,"latitude_deg":9.6905224,"altitude":10,"angle":122,"satellites":44,"speed":65,"hex_longitude":"2d7ea780","hex_latitude":"05c6a808","is_valid_coordinates":true} 
[2026-08-25 11:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635514368001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:49:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123376908422348800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117326364188139520,"note":"Value kept but may cause issues"} 
[2026-08-25 11:49:17] 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-25 11:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787638734000,"timestamp_ms":1787638734000,"timestamp_seconds":1787638734,"priority":1,"record_length":96,"hex_timestamp":"000001a037925cb0"} 
[2026-08-25 11:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:49: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-25 11:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 11:49:17] 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-25 11:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635514368001,"66":13178,"200":0,"85":12288,"24":65,"16":123376908422348800,"45":9117326364188139520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-25 11:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635514368001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:49:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123376908422348800,"km_value":123376908422348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117326364188139520,"description":"Unknown IO ID 45"} 
[2026-08-25 11:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635514368001,"power":13178,"gsm_signal":0,"unknown_85":12288,"ignition":65,"odometer":null,"unknown_45":9117326364188139520}} 
[2026-08-25 11:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":161589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:49:17] local.INFO: GPS data processed {"connection_id":161589,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:49:17] local.INFO: Acknowledgment sent {"connection_id":161589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:49:17] local.INFO: TCP Data received {"connection_id":164209,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:49:17] local.INFO: Processing buffer {"connection_id":164209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:49:17] local.INFO: Packet analysis {"connection_id":164209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:49:17] local.INFO: Extracted packet for processing {"connection_id":164209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635420928001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787638664000,"timestamp_ms":1787638664000,"timestamp_seconds":1787638664,"priority":1,"record_length":96,"hex_timestamp":"000001a037914b40"} 
[2026-08-25 11:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635420928001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635420928001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:49:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635420928001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":164209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:49:17] local.INFO: GPS data processed {"connection_id":164209,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:49:17] local.INFO: Acknowledgment sent {"connection_id":164209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:49:41] local.INFO: TCP Data received {"connection_id":162824,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:49:41] local.INFO: Processing buffer {"connection_id":162824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:49:41] local.INFO: IMEI packet received {"connection_id":162824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":162824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:49:45] local.INFO: TCP Data received {"connection_id":162825,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:49:45] local.INFO: Processing buffer {"connection_id":162825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:49:45] local.INFO: IMEI packet received {"connection_id":162825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":162825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:49:46] local.INFO: TCP Data received {"connection_id":162824,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:49:46] local.INFO: Processing buffer {"connection_id":162824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:49:46] local.INFO: IMEI packet received {"connection_id":162824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":162824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:49:47] local.INFO: TCP Data received {"connection_id":162824,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037927420012d7ec50005c69540000b007c2d..."} 
[2026-08-25 11:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037927420012d7ec50005c69540000b007c2d..."} 
[2026-08-25 11:49:47] local.INFO: Processing buffer {"connection_id":162824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037927420012d7ec50005c69540000b007c2d..."} 
[2026-08-25 11:49:47] local.INFO: Packet analysis {"connection_id":162824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03792"} 
[2026-08-25 11:49:47] local.INFO: Extracted packet for processing {"connection_id":162824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03792"} 
[2026-08-25 11:49:47] local.INFO: GPS Element Parsed {"raw_longitude":763282688,"raw_latitude":96900416,"longitude_deg":76.3282688,"latitude_deg":9.6900416,"altitude":11,"angle":124,"satellites":45,"speed":51,"hex_longitude":"2d7ec500","hex_latitude":"05c69540","is_valid_coordinates":true} 
[2026-08-25 11:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635515904001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:49:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123377337919078400,"note":"Value kept but may cause issues"} 
[2026-08-25 11:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126403932185692160,"note":"Value kept but may cause issues"} 
[2026-08-25 11:49:47] 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-25 11:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638740000,"timestamp_ms":1787638740000,"timestamp_seconds":1787638740,"priority":1,"record_length":96,"hex_timestamp":"000001a037927420"} 
[2026-08-25 11:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:49: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-25 11:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-25 11:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635515904001,"66":13254,"200":0,"85":12288,"24":51,"16":123377337919078400,"45":9126403932185692160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-25 11:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635515904001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123377337919078400,"km_value":123377337919078.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126403932185692160,"description":"Unknown IO ID 45"} 
[2026-08-25 11:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635515904001,"power":13254,"gsm_signal":0,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":9126403932185692160}} 
[2026-08-25 11:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":162824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:49:47] local.INFO: GPS data processed {"connection_id":162824,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:49:47] local.INFO: Acknowledgment sent {"connection_id":162824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:49:50] local.INFO: TCP Data received {"connection_id":162825,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:49:50] local.INFO: Processing buffer {"connection_id":162825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:49:50] local.INFO: IMEI packet received {"connection_id":162825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":162825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:49:52] local.INFO: TCP Data received {"connection_id":162825,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:49:52] local.INFO: Processing buffer {"connection_id":162825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:49:52] local.INFO: Packet analysis {"connection_id":162825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:49:52] local.INFO: Extracted packet for processing {"connection_id":162825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635420928001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787638664000,"timestamp_ms":1787638664000,"timestamp_seconds":1787638664,"priority":1,"record_length":96,"hex_timestamp":"000001a037914b40"} 
[2026-08-25 11:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635420928001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635420928001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:49:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635420928001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":162825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:49:52] local.INFO: GPS data processed {"connection_id":162825,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:49:52] local.INFO: Acknowledgment sent {"connection_id":162825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:50:18] local.INFO: TCP Data received {"connection_id":162824,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037929b30012d7ee38005c682680009007a2d..."} 
[2026-08-25 11:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037929b30012d7ee38005c682680009007a2d..."} 
[2026-08-25 11:50:18] local.INFO: Processing buffer {"connection_id":162824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037929b30012d7ee38005c682680009007a2d..."} 
[2026-08-25 11:50:18] local.INFO: Packet analysis {"connection_id":162824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03792"} 
[2026-08-25 11:50:18] local.INFO: Extracted packet for processing {"connection_id":162824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03792"} 
[2026-08-25 11:50:18] local.INFO: GPS Element Parsed {"raw_longitude":763290496,"raw_latitude":96895592,"longitude_deg":76.3290496,"latitude_deg":9.6895592,"altitude":9,"angle":122,"satellites":45,"speed":23,"hex_longitude":"2d7ee380","hex_latitude":"05c68268","is_valid_coordinates":true} 
[2026-08-25 11:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635517440001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:50:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123377776005742592,"note":"Value kept but may cause issues"} 
[2026-08-25 11:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134707443997425664,"note":"Value kept but may cause issues"} 
[2026-08-25 11:50: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-25 11:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638750000,"timestamp_ms":1787638750000,"timestamp_seconds":1787638750,"priority":1,"record_length":96,"hex_timestamp":"000001a037929b30"} 
[2026-08-25 11:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:50: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-25 11:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 11:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635517440001,"66":13254,"200":0,"85":12288,"24":23,"16":123377776005742592,"45":9134707443997425664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-25 11:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635517440001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:50:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123377776005742592,"km_value":123377776005742.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134707443997425664,"description":"Unknown IO ID 45"} 
[2026-08-25 11:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635517440001,"power":13254,"gsm_signal":0,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9134707443997425664}} 
[2026-08-25 11:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":162824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:50:18] local.INFO: GPS data processed {"connection_id":162824,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:50:18] local.INFO: Acknowledgment sent {"connection_id":162824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:50:25] local.INFO: TCP Data received {"connection_id":162825,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:50:25] local.INFO: Processing buffer {"connection_id":162825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:50:25] local.INFO: Packet analysis {"connection_id":162825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:50:25] local.INFO: Extracted packet for processing {"connection_id":162825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:50:25] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635420928001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787638664000,"timestamp_ms":1787638664000,"timestamp_seconds":1787638664,"priority":1,"record_length":96,"hex_timestamp":"000001a037914b40"} 
[2026-08-25 11: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-25 11:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:50: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-25 11: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-25 11: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-25 11:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635420928001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635420928001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:50:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:50:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635420928001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":162825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:50:25] local.INFO: GPS data processed {"connection_id":162825,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:50:25] local.INFO: Acknowledgment sent {"connection_id":162825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:50:30] local.INFO: TCP Data received {"connection_id":164210,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:50:30] local.INFO: Processing buffer {"connection_id":164210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:50:30] local.INFO: IMEI packet received {"connection_id":164210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 11:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":164210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:50:40] local.INFO: TCP Data received {"connection_id":162826,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:50:40] local.INFO: Processing buffer {"connection_id":162826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:50:40] local.INFO: IMEI packet received {"connection_id":162826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":162826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:50:41] local.INFO: TCP Data received {"connection_id":162827,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:50:41] local.INFO: Processing buffer {"connection_id":162827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:50:41] local.INFO: IMEI packet received {"connection_id":162827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":162827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:50:45] local.INFO: TCP Data received {"connection_id":162826,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:50:45] local.INFO: Processing buffer {"connection_id":162826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:50:45] local.INFO: IMEI packet received {"connection_id":162826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":162826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:50:46] local.INFO: TCP Data received {"connection_id":162826,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:50:46] local.INFO: Processing buffer {"connection_id":162826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:50:46] local.INFO: Packet analysis {"connection_id":162826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:50:46] local.INFO: Extracted packet for processing {"connection_id":162826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635420928001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787638664000,"timestamp_ms":1787638664000,"timestamp_seconds":1787638664,"priority":1,"record_length":96,"hex_timestamp":"000001a037914b40"} 
[2026-08-25 11:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635420928001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635420928001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635420928001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":162826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:50:46] local.INFO: GPS data processed {"connection_id":162826,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:50:46] local.INFO: Acknowledgment sent {"connection_id":162826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:50:46] local.INFO: TCP Data received {"connection_id":162827,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:50:46] local.INFO: Processing buffer {"connection_id":162827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:50:46] local.INFO: IMEI packet received {"connection_id":162827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":162827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:50:47] local.INFO: TCP Data received {"connection_id":162827,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03792e180012d7eefc005c67898000d00862d..."} 
[2026-08-25 11:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03792e180012d7eefc005c67898000d00862d..."} 
[2026-08-25 11:50:47] local.INFO: Processing buffer {"connection_id":162827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03792e180012d7eefc005c67898000d00862d..."} 
[2026-08-25 11:50:47] local.INFO: Packet analysis {"connection_id":162827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03792"} 
[2026-08-25 11:50:47] local.INFO: Extracted packet for processing {"connection_id":162827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03792"} 
[2026-08-25 11:50:47] local.INFO: GPS Element Parsed {"raw_longitude":763293632,"raw_latitude":96893080,"longitude_deg":76.3293632,"latitude_deg":9.689308,"altitude":13,"angle":134,"satellites":45,"speed":8,"hex_longitude":"2d7eefc0","hex_latitude":"05c67898","is_valid_coordinates":true} 
[2026-08-25 11:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635520000001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123377973574238208,"note":"Value kept but may cause issues"} 
[2026-08-25 11:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143292430785865728,"note":"Value kept but may cause issues"} 
[2026-08-25 11:50:47] 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-25 11:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638768000,"timestamp_ms":1787638768000,"timestamp_seconds":1787638768,"priority":1,"record_length":96,"hex_timestamp":"000001a03792e180"} 
[2026-08-25 11:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:50: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-25 11:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 11:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635520000001,"66":13319,"100":206,"85":12288,"24":8,"16":123377973574238208,"45":9143292430785865728},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 11:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635520000001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:50:47] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 11:50:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123377973574238208,"km_value":123377973574238.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143292430785865728,"description":"Unknown IO ID 45"} 
[2026-08-25 11:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635520000001,"power":13319,"unknown_100":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9143292430785865728}} 
[2026-08-25 11:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":162827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:50:47] local.INFO: GPS data processed {"connection_id":162827,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:50:47] local.INFO: Acknowledgment sent {"connection_id":162827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:51:05] local.INFO: TCP Data received {"connection_id":161833,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:51:05] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:51:05] local.INFO: IMEI packet received {"connection_id":161833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 11:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":161833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:51:10] local.INFO: TCP Data received {"connection_id":161833,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:51:10] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:51:10] local.INFO: IMEI packet received {"connection_id":161833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":161833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:51:11] local.INFO: TCP Data received {"connection_id":161833,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a03792f8f0012d194e4007209930002000dc14..."} 
[2026-08-25 11:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03792f8f0012d194e4007209930002000dc14..."} 
[2026-08-25 11:51:11] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03792f8f0012d194e4007209930002000dc14..."} 
[2026-08-25 11:51:11] local.INFO: Packet analysis {"connection_id":161833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03792"} 
[2026-08-25 11:51:11] local.INFO: Extracted packet for processing {"connection_id":161833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03792"} 
[2026-08-25 11:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756633152,"raw_latitude":119576880,"longitude_deg":75.6633152,"latitude_deg":11.957688,"altitude":32,"angle":220,"satellites":20,"speed":0,"hex_longitude":"2d194e40","hex_latitude":"07209930","is_valid_coordinates":true} 
[2026-08-25 11:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635520768001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15810650789904384,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823465298487488512,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787638774000,"timestamp_ms":1787638774000,"timestamp_seconds":1787638774,"priority":1,"record_length":96,"hex_timestamp":"000001a03792f8f0"} 
[2026-08-25 11:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 11:51: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-25 11:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635520768001,"66":14080,"121":206,"28":31744,"24":0,"16":15810650789904384,"45":1823465298487488512},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635520768001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:51:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15810650789904384,"km_value":15810650789904.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823465298487488512,"description":"Unknown IO ID 45"} 
[2026-08-25 11:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635520768001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1823465298487488512}} 
[2026-08-25 11:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":161833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:51:11] local.INFO: GPS data processed {"connection_id":161833,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:51:11] local.INFO: Acknowledgment sent {"connection_id":161833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:51:15] local.INFO: TCP Data received {"connection_id":161833,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037934af8012d194e4007209930002000dc14..."} 
[2026-08-25 11:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037934af8012d194e4007209930002000dc14..."} 
[2026-08-25 11:51:15] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037934af8012d194e4007209930002000dc14..."} 
[2026-08-25 11:51:15] local.INFO: Packet analysis {"connection_id":161833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03793"} 
[2026-08-25 11:51:15] local.INFO: Extracted packet for processing {"connection_id":161833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03793"} 
[2026-08-25 11:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756633152,"raw_latitude":119576880,"longitude_deg":75.6633152,"latitude_deg":11.957688,"altitude":32,"angle":220,"satellites":20,"speed":0,"hex_longitude":"2d194e40","hex_latitude":"07209930","is_valid_coordinates":true} 
[2026-08-25 11:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635526144001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15810650789904384,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823465298487488512,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787638795000,"timestamp_ms":1787638795000,"timestamp_seconds":1787638795,"priority":1,"record_length":96,"hex_timestamp":"000001a037934af8"} 
[2026-08-25 11:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:51:15] 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-25 11:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-25 11:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:15] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:15] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2590507041,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:15] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2734738919,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-25 11:51:15] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":536947993,"corrected_to":0} 
[2026-08-25 11:51:15] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,43,160,166,45,64,153,32,18,10,66,84,17,2,1,240,77,55,4,113,205,247,80,128,239,56,7,33],"length":479,"final_offset":609,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":247,"original":536947993,"validated":0}]} 
[2026-08-25 11:51:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2306084987671150592,"timestamp_seconds":2306084987671150.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635526144001,"66":13037,"121":206,"28":31744,"24":0,"16":15810650789904384,"45":1823465298487488512},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635526144001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:51:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:51:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15810650789904384,"km_value":15810650789904.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823465298487488512,"description":"Unknown IO ID 45"} 
[2026-08-25 11:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635526144001,"power":13037,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1823465298487488512}} 
[2026-08-25 11:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":161833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:51:16] local.INFO: GPS data processed {"connection_id":161833,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:51:16] local.INFO: Acknowledgment sent {"connection_id":161833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:51:17] local.INFO: TCP Data received {"connection_id":162826,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:51:17] local.INFO: Processing buffer {"connection_id":162826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:51:17] local.INFO: Packet analysis {"connection_id":162826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:51:17] local.INFO: Extracted packet for processing {"connection_id":162826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635420928001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787638664000,"timestamp_ms":1787638664000,"timestamp_seconds":1787638664,"priority":1,"record_length":96,"hex_timestamp":"000001a037914b40"} 
[2026-08-25 11: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-25 11:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635420928001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635420928001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:51:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635420928001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":162826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:51:17] local.INFO: GPS data processed {"connection_id":162826,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:51:17] local.INFO: Acknowledgment sent {"connection_id":162826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:51:18] local.INFO: TCP Data received {"connection_id":162827,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037932fa0012d7ef24005c675f8000c00862d..."} 
[2026-08-25 11:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037932fa0012d7ef24005c675f8000c00862d..."} 
[2026-08-25 11:51:18] local.INFO: Processing buffer {"connection_id":162827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037932fa0012d7ef24005c675f8000c00862d..."} 
[2026-08-25 11:51:18] local.INFO: Packet analysis {"connection_id":162827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03793"} 
[2026-08-25 11:51:18] local.INFO: Extracted packet for processing {"connection_id":162827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03793"} 
[2026-08-25 11:51:18] local.INFO: GPS Element Parsed {"raw_longitude":763294272,"raw_latitude":96892408,"longitude_deg":76.3294272,"latitude_deg":9.6892408,"altitude":12,"angle":134,"satellites":45,"speed":6,"hex_longitude":"2d7ef240","hex_latitude":"05c675f8","is_valid_coordinates":true} 
[2026-08-25 11:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635524608001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123378020818878464,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146740499249928192,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:18] 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-25 11:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638788000,"timestamp_ms":1787638788000,"timestamp_seconds":1787638788,"priority":1,"record_length":96,"hex_timestamp":"000001a037932fa0"} 
[2026-08-25 11:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:51: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-25 11:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 11:51:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13522224,"corrected_to":0} 
[2026-08-25 11:51:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:18] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2768240640,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2454011905,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:18] local.WARNING: Large IO value detected {"io_id":198,"raw_value":-238690741587661568,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814902478,"corrected_to":0} 
[2026-08-25 11:51:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040167,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3337019392,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57886847674504496,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:18] local.WARNING: Large IO value detected {"io_id":145,"raw_value":-76559898763198459,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,100,85,24,241,157,16,83,160,155,45,128,130,9,10,66,200,116,149,11,92,1,240,122,227,82,55,198,4,113,205,63,105,239,51,2,182,5,7,145],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":200,"original":13522224,"validated":0},{"io_id":205,"original":2814902478,"validated":0}]} 
[2026-08-25 11:51:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936896250325237760,"timestamp_seconds":936896250325237.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635524608001,"66":13363,"100":206,"85":12288,"24":6,"16":123378020818878464,"45":9146740499249928192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 11:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635524608001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:51:18] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 11:51:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123378020818878464,"km_value":123378020818878.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146740499249928192,"description":"Unknown IO ID 45"} 
[2026-08-25 11:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635524608001,"power":13363,"unknown_100":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9146740499249928192}} 
[2026-08-25 11:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":162827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:51:18] local.INFO: GPS data processed {"connection_id":162827,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:51:18] local.INFO: Acknowledgment sent {"connection_id":162827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:51:41] local.INFO: TCP Data received {"connection_id":164211,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:51:41] local.INFO: Processing buffer {"connection_id":164211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:51:41] local.INFO: IMEI packet received {"connection_id":164211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":164211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:51:41] local.INFO: TCP Data received {"connection_id":164212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:51:41] local.INFO: Processing buffer {"connection_id":164212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:51:41] local.INFO: IMEI packet received {"connection_id":164212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":164212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:51:45] local.INFO: TCP Data received {"connection_id":164211,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:51:45] local.INFO: Processing buffer {"connection_id":164211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:51:45] local.INFO: IMEI packet received {"connection_id":164211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":164211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:51:46] local.INFO: TCP Data received {"connection_id":164211,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:51:46] local.INFO: Processing buffer {"connection_id":164211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:51:46] local.INFO: Packet analysis {"connection_id":164211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:51:46] local.INFO: Extracted packet for processing {"connection_id":164211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635420928001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787638664000,"timestamp_ms":1787638664000,"timestamp_seconds":1787638664,"priority":1,"record_length":96,"hex_timestamp":"000001a037914b40"} 
[2026-08-25 11:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635420928001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635420928001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:51:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635420928001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":164211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:51:46] local.INFO: GPS data processed {"connection_id":164211,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:51:46] local.INFO: Acknowledgment sent {"connection_id":164211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:51:46] local.INFO: TCP Data received {"connection_id":164212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:51:46] local.INFO: Processing buffer {"connection_id":164212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:51:46] local.INFO: IMEI packet received {"connection_id":164212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":164212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:51:47] local.INFO: TCP Data received {"connection_id":161833,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037939d00012d194e4007209930002000dc14..."} 
[2026-08-25 11:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037939d00012d194e4007209930002000dc14..."} 
[2026-08-25 11:51:47] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037939d00012d194e4007209930002000dc14..."} 
[2026-08-25 11:51:47] local.INFO: Packet analysis {"connection_id":161833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03793"} 
[2026-08-25 11:51:47] local.INFO: Extracted packet for processing {"connection_id":161833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03793"} 
[2026-08-25 11:51:47] local.INFO: GPS Element Parsed {"raw_longitude":756633152,"raw_latitude":119576880,"longitude_deg":75.6633152,"latitude_deg":11.957688,"altitude":32,"angle":220,"satellites":20,"speed":0,"hex_longitude":"2d194e40","hex_latitude":"07209930","is_valid_coordinates":true} 
[2026-08-25 11:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635531520001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15810650789904384,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823465298487488512,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638816000,"timestamp_ms":1787638816000,"timestamp_seconds":1787638816,"priority":1,"record_length":96,"hex_timestamp":"000001a037939d00"} 
[2026-08-25 11:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:51:47] 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-25 11:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-25 11:51:47] 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-25 11:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635531520001,"66":12841,"121":206,"28":31744,"24":0,"16":15810650789904384,"45":1823465298487488512},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635531520001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:51:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:51:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15810650789904384,"km_value":15810650789904.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823465298487488512,"description":"Unknown IO ID 45"} 
[2026-08-25 11:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635531520001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1823465298487488512}} 
[2026-08-25 11:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":161833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:51:47] local.INFO: GPS data processed {"connection_id":161833,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:51:47] local.INFO: Acknowledgment sent {"connection_id":161833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:51:47] local.INFO: TCP Data received {"connection_id":164212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379381a8012d7f0a0005c65dc0000a008e2c..."} 
[2026-08-25 11:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379381a8012d7f0a0005c65dc0000a008e2c..."} 
[2026-08-25 11:51:47] local.INFO: Processing buffer {"connection_id":164212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379381a8012d7f0a0005c65dc0000a008e2c..."} 
[2026-08-25 11:51:47] local.INFO: Packet analysis {"connection_id":164212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03793"} 
[2026-08-25 11:51:47] local.INFO: Extracted packet for processing {"connection_id":164212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03793"} 
[2026-08-25 11:51:47] local.INFO: GPS Element Parsed {"raw_longitude":763300352,"raw_latitude":96886208,"longitude_deg":76.3300352,"latitude_deg":9.6886208,"altitude":10,"angle":142,"satellites":44,"speed":13,"hex_longitude":"2d7f0a00","hex_latitude":"05c65dc0","is_valid_coordinates":true} 
[2026-08-25 11:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635529728001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123378441725673472,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147444186691532800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:51:47] 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-25 11:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638809000,"timestamp_ms":1787638809000,"timestamp_seconds":1787638809,"priority":1,"record_length":96,"hex_timestamp":"000001a0379381a8"} 
[2026-08-25 11:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:51: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-25 11:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 11:51: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-25 11:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635529728001,"66":13319,"100":206,"85":12288,"24":13,"16":123378441725673472,"45":9147444186691532800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 11:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635529728001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:51:47] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 11:51:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123378441725673472,"km_value":123378441725673.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147444186691532800,"description":"Unknown IO ID 45"} 
[2026-08-25 11:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635529728001,"power":13319,"unknown_100":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":9147444186691532800}} 
[2026-08-25 11:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":164212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:51:47] local.INFO: GPS data processed {"connection_id":164212,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:51:47] local.INFO: Acknowledgment sent {"connection_id":164212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:52:17] local.INFO: TCP Data received {"connection_id":164211,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:52:17] local.INFO: Processing buffer {"connection_id":164211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:52:17] local.INFO: Packet analysis {"connection_id":164211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:52:17] local.INFO: Extracted packet for processing {"connection_id":164211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635420928001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787638664000,"timestamp_ms":1787638664000,"timestamp_seconds":1787638664,"priority":1,"record_length":96,"hex_timestamp":"000001a037914b40"} 
[2026-08-25 11:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635420928001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635420928001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635420928001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":164211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:52:17] local.INFO: GPS data processed {"connection_id":164211,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:52:17] local.INFO: Acknowledgment sent {"connection_id":164211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:52:18] local.INFO: TCP Data received {"connection_id":161833,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a03793ef08012d194e4007209930002000dc16..."} 
[2026-08-25 11:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03793ef08012d194e4007209930002000dc16..."} 
[2026-08-25 11:52:18] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03793ef08012d194e4007209930002000dc16..."} 
[2026-08-25 11:52:18] local.INFO: Packet analysis {"connection_id":161833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03793"} 
[2026-08-25 11:52:18] local.INFO: Extracted packet for processing {"connection_id":161833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03793"} 
[2026-08-25 11:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756633152,"raw_latitude":119576880,"longitude_deg":75.6633152,"latitude_deg":11.957688,"altitude":32,"angle":220,"satellites":22,"speed":0,"hex_longitude":"2d194e40","hex_latitude":"07209930","is_valid_coordinates":true} 
[2026-08-25 11:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635536896001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15810650789904384,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823465298487488512,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638837000,"timestamp_ms":1787638837000,"timestamp_seconds":1787638837,"priority":1,"record_length":96,"hex_timestamp":"000001a03793ef08"} 
[2026-08-25 11:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:52:18] 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-25 11:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 11:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635536896001,"66":12667,"121":206,"28":31744,"24":0,"16":15810650789904384,"45":1823465298487488512},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635536896001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:52:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:52:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15810650789904384,"km_value":15810650789904.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823465298487488512,"description":"Unknown IO ID 45"} 
[2026-08-25 11:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635536896001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1823465298487488512}} 
[2026-08-25 11:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":161833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:52:18] local.INFO: GPS data processed {"connection_id":161833,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:52:18] local.INFO: Acknowledgment sent {"connection_id":161833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:52:18] local.INFO: TCP Data received {"connection_id":164212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03793d3b0012d7f138005c652180009008e2b..."} 
[2026-08-25 11:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03793d3b0012d7f138005c652180009008e2b..."} 
[2026-08-25 11:52:18] local.INFO: Processing buffer {"connection_id":164212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03793d3b0012d7f138005c652180009008e2b..."} 
[2026-08-25 11:52:18] local.INFO: Packet analysis {"connection_id":164212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03793"} 
[2026-08-25 11:52:18] local.INFO: Extracted packet for processing {"connection_id":164212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03793"} 
[2026-08-25 11:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763302784,"raw_latitude":96883224,"longitude_deg":76.3302784,"latitude_deg":9.6883224,"altitude":9,"angle":142,"satellites":43,"speed":9,"hex_longitude":"2d7f1380","hex_latitude":"05c65218","is_valid_coordinates":true} 
[2026-08-25 11:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635535104001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123378626409267200,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154129217386823680,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] 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-25 11:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638830000,"timestamp_ms":1787638830000,"timestamp_seconds":1787638830,"priority":1,"record_length":96,"hex_timestamp":"000001a03793d3b0"} 
[2026-08-25 11:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:52: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-25 11:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":198,"raw_value":-3307893883345621760,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2457083905,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814902478,"corrected_to":0} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57886847674504496,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":92,"raw_value":2952867198,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2147862184,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13522224,"corrected_to":0} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3334266880,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3301139821768556549,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,100,85,24,241,157,16,84,160,47,45,64,117,12,10,66,83,225,192,120,13,155,128,1,240,198,227,55,4,113,205,51,92,167,8,44,239,200,2,182,5,63,146],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2814902478,"validated":0},{"io_id":200,"original":13522224,"validated":0}]} 
[2026-08-25 11:52:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720732260009836544,"timestamp_seconds":720732260009836.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635535104001,"66":13374,"100":206,"85":12288,"24":9,"16":123378626409267200,"45":9154129217386823680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 11:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635535104001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:52:18] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 11:52:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123378626409267200,"km_value":123378626409267.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154129217386823680,"description":"Unknown IO ID 45"} 
[2026-08-25 11:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635535104001,"power":13374,"unknown_100":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":9154129217386823680}} 
[2026-08-25 11:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":164212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:52:18] local.INFO: GPS data processed {"connection_id":164212,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:52:18] local.INFO: Acknowledgment sent {"connection_id":164212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:52:40] local.INFO: TCP Data received {"connection_id":161590,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:52:40] local.INFO: Processing buffer {"connection_id":161590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:52:40] local.INFO: IMEI packet received {"connection_id":161590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":161590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:52:45] local.INFO: TCP Data received {"connection_id":161590,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:52:45] local.INFO: Processing buffer {"connection_id":161590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:52:45] local.INFO: IMEI packet received {"connection_id":161590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":161590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:52:46] local.INFO: TCP Data received {"connection_id":164213,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:52:46] local.INFO: Processing buffer {"connection_id":164213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:52:46] local.INFO: IMEI packet received {"connection_id":164213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":164213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:52:47] local.INFO: TCP Data received {"connection_id":161590,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:52:47] local.INFO: Processing buffer {"connection_id":161590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:52:47] local.INFO: Packet analysis {"connection_id":161590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:52:47] local.INFO: Extracted packet for processing {"connection_id":161590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635420928001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638664000,"timestamp_ms":1787638664000,"timestamp_seconds":1787638664,"priority":1,"record_length":96,"hex_timestamp":"000001a037914b40"} 
[2026-08-25 11:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635420928001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635420928001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:52:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635420928001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":161590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:52:47] local.INFO: GPS data processed {"connection_id":161590,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:52:47] local.INFO: Acknowledgment sent {"connection_id":161590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:52:50] local.INFO: TCP Data received {"connection_id":164213,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:52:50] local.INFO: Processing buffer {"connection_id":164213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:52:50] local.INFO: IMEI packet received {"connection_id":164213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":164213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:52:51] local.INFO: TCP Data received {"connection_id":164213,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379425b8012d7f1d0005c646d80009008f2d..."} 
[2026-08-25 11:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379425b8012d7f1d0005c646d80009008f2d..."} 
[2026-08-25 11:52:51] local.INFO: Processing buffer {"connection_id":164213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379425b8012d7f1d0005c646d80009008f2d..."} 
[2026-08-25 11:52:51] local.INFO: Packet analysis {"connection_id":164213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03794"} 
[2026-08-25 11:52:51] local.INFO: Extracted packet for processing {"connection_id":164213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03794"} 
[2026-08-25 11:52:51] local.INFO: GPS Element Parsed {"raw_longitude":763305216,"raw_latitude":96880344,"longitude_deg":76.3305216,"latitude_deg":9.6880344,"altitude":9,"angle":143,"satellites":45,"speed":4,"hex_longitude":"2d7f1d00","hex_latitude":"05c646d8","is_valid_coordinates":true} 
[2026-08-25 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-25 11:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635540480001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123378815387828224,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156803229664811008,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:51] 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-25 11:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787638851000,"timestamp_ms":1787638851000,"timestamp_seconds":1787638851,"priority":1,"record_length":96,"hex_timestamp":"000001a0379425b8"} 
[2026-08-25 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-25 11:52: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-25 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 11:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 11:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635540480001,"66":13341,"100":206,"85":12288,"24":4,"16":123378815387828224,"45":9156803229664811008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 11:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635540480001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:52:51] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 11:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123378815387828224,"km_value":123378815387828.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156803229664811008,"description":"Unknown IO ID 45"} 
[2026-08-25 11:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635540480001,"power":13341,"unknown_100":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":9156803229664811008}} 
[2026-08-25 11:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":164213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:52:51] local.INFO: GPS data processed {"connection_id":164213,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:52:51] local.INFO: Acknowledgment sent {"connection_id":164213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:52:52] local.INFO: TCP Data received {"connection_id":164213,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379477c0012d7f2b8005c633f0000900962b..."} 
[2026-08-25 11:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379477c0012d7f2b8005c633f0000900962b..."} 
[2026-08-25 11:52:52] local.INFO: Processing buffer {"connection_id":164213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379477c0012d7f2b8005c633f0000900962b..."} 
[2026-08-25 11:52:52] local.INFO: Packet analysis {"connection_id":164213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03794"} 
[2026-08-25 11:52:52] local.INFO: Extracted packet for processing {"connection_id":164213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03794"} 
[2026-08-25 11:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763308928,"raw_latitude":96875504,"longitude_deg":76.3308928,"latitude_deg":9.6875504,"altitude":9,"angle":150,"satellites":43,"speed":5,"hex_longitude":"2d7f2b80","hex_latitude":"05c633f0","is_valid_coordinates":true} 
[2026-08-25 11:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635545856001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123379111740571648,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159477241942824960,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:52] 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-25 11:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787638872000,"timestamp_ms":1787638872000,"timestamp_seconds":1787638872,"priority":1,"record_length":96,"hex_timestamp":"000001a0379477c0"} 
[2026-08-25 11:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:52: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-25 11:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 11:52:52] 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-25 11:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635545856001,"66":13102,"100":206,"85":12288,"24":5,"16":123379111740571648,"45":9159477241942824960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 11:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635545856001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:52:52] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 11:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123379111740571648,"km_value":123379111740571.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159477241942824960,"description":"Unknown IO ID 45"} 
[2026-08-25 11:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635545856001,"power":13102,"unknown_100":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9159477241942824960}} 
[2026-08-25 11:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":164213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:52:52] local.INFO: GPS data processed {"connection_id":164213,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:52:52] local.INFO: Acknowledgment sent {"connection_id":164213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:52:53] local.INFO: TCP Data received {"connection_id":161833,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037959cb8012d194e40072093d0001a010318..."} 
[2026-08-25 11:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037959cb8012d194e40072093d0001a010318..."} 
[2026-08-25 11:52:53] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037959cb8012d194e40072093d0001a010318..."} 
[2026-08-25 11:52:53] local.INFO: Packet analysis {"connection_id":161833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:52:53] local.INFO: Extracted packet for processing {"connection_id":161833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:52:53] local.INFO: GPS Element Parsed {"raw_longitude":756633152,"raw_latitude":119575504,"longitude_deg":75.6633152,"latitude_deg":11.9575504,"altitude":26,"angle":259,"satellites":24,"speed":1,"hex_longitude":"2d194e40","hex_latitude":"072093d0","is_valid_coordinates":true} 
[2026-08-25 11:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635569920001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15810813998661632,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823535667231309824,"note":"Value kept but may cause issues"} 
[2026-08-25 11:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787638947000,"timestamp_ms":1787638947000,"timestamp_seconds":1787638947,"priority":1,"record_length":96,"hex_timestamp":"000001a037959cb8"} 
[2026-08-25 11:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:52:53] 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-25 11:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-25 11:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635569920001,"66":13961,"121":206,"28":31744,"24":1,"16":15810813998661632,"45":1823535667231309824},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635569920001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:52:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:52:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15810813998661632,"km_value":15810813998661.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823535667231309824,"description":"Unknown IO ID 45"} 
[2026-08-25 11:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635569920001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1823535667231309824}} 
[2026-08-25 11:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":161833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:52:53] local.INFO: GPS data processed {"connection_id":161833,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:52:53] local.INFO: Acknowledgment sent {"connection_id":161833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:53:18] local.INFO: TCP Data received {"connection_id":161590,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:53:18] local.INFO: Processing buffer {"connection_id":161590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037914b40012d34c0c006aa4878000700552d..."} 
[2026-08-25 11:53:18] local.INFO: Packet analysis {"connection_id":161590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:53:18] local.INFO: Extracted packet for processing {"connection_id":161590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03791"} 
[2026-08-25 11:53:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635420928001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638664000,"timestamp_ms":1787638664000,"timestamp_seconds":1787638664,"priority":1,"record_length":96,"hex_timestamp":"000001a037914b40"} 
[2026-08-25 11:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635420928001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 11:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635420928001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:53:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 11:53:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635420928001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":161590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:53:18] local.INFO: GPS data processed {"connection_id":161590,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:53:18] local.INFO: Acknowledgment sent {"connection_id":161590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:53:23] local.INFO: TCP Data received {"connection_id":164213,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03794c9c8012d7f310005c62bc8000b008f2b..."} 
[2026-08-25 11:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03794c9c8012d7f310005c62bc8000b008f2b..."} 
[2026-08-25 11:53:23] local.INFO: Processing buffer {"connection_id":164213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03794c9c8012d7f310005c62bc8000b008f2b..."} 
[2026-08-25 11:53:23] local.INFO: Packet analysis {"connection_id":164213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03794"} 
[2026-08-25 11:53:23] local.INFO: Extracted packet for processing {"connection_id":164213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03794"} 
[2026-08-25 11:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763310336,"raw_latitude":96873416,"longitude_deg":76.3310336,"latitude_deg":9.6873416,"altitude":11,"angle":143,"satellites":43,"speed":0,"hex_longitude":"2d7f3100","hex_latitude":"05c62bc8","is_valid_coordinates":true} 
[2026-08-25 11:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635551232001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123379231999655936,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163558629103890432,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:23] 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-25 11:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787638893000,"timestamp_ms":1787638893000,"timestamp_seconds":1787638893,"priority":1,"record_length":96,"hex_timestamp":"000001a03794c9c8"} 
[2026-08-25 11:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 11:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635551232001,"66":13363,"100":206,"85":12288,"24":0,"16":123379231999655936,"45":9163558629103890432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 11:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635551232001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:53:23] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 11:53:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123379231999655936,"km_value":123379231999655.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163558629103890432,"description":"Unknown IO ID 45"} 
[2026-08-25 11:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635551232001,"power":13363,"unknown_100":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9163558629103890432}} 
[2026-08-25 11:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":164213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:53:23] local.INFO: GPS data processed {"connection_id":164213,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:53:23] local.INFO: Acknowledgment sent {"connection_id":164213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:53:25] local.INFO: TCP Data received {"connection_id":161833,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037964c80012d195a800720ab580025002917..."} 
[2026-08-25 11:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037964c80012d195a800720ab580025002917..."} 
[2026-08-25 11:53:25] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037964c80012d195a800720ab580025002917..."} 
[2026-08-25 11:53:25] local.INFO: Packet analysis {"connection_id":161833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03796"} 
[2026-08-25 11:53:25] local.INFO: Extracted packet for processing {"connection_id":161833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03796"} 
[2026-08-25 11:53:25] local.INFO: GPS Element Parsed {"raw_longitude":756636288,"raw_latitude":119581528,"longitude_deg":75.6636288,"latitude_deg":11.9581528,"altitude":37,"angle":41,"satellites":23,"speed":6,"hex_longitude":"2d195a80","hex_latitude":"0720ab58","is_valid_coordinates":true} 
[2026-08-25 11:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635581184001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15811191955783680,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826842998209116160,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787638992000,"timestamp_ms":1787638992000,"timestamp_seconds":1787638992,"priority":1,"record_length":96,"hex_timestamp":"000001a037964c80"} 
[2026-08-25 11:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-25 11:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635581184001,"66":14515,"121":206,"28":31744,"24":6,"16":15811191955783680,"45":1826842998209116160},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635581184001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:53:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:53:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15811191955783680,"km_value":15811191955783.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826842998209116160,"description":"Unknown IO ID 45"} 
[2026-08-25 11:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635581184001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1826842998209116160}} 
[2026-08-25 11:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":161833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:53:25] local.INFO: GPS data processed {"connection_id":161833,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:53:25] local.INFO: Acknowledgment sent {"connection_id":161833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:53:41] local.INFO: TCP Data received {"connection_id":164214,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:53:41] local.INFO: Processing buffer {"connection_id":164214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:53:41] local.INFO: IMEI packet received {"connection_id":164214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":164214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:53:45] local.INFO: TCP Data received {"connection_id":161591,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:53:45] local.INFO: Processing buffer {"connection_id":161591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:53:45] local.INFO: IMEI packet received {"connection_id":161591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":161591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:53:46] local.INFO: TCP Data received {"connection_id":164214,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:53:46] local.INFO: Processing buffer {"connection_id":164214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:53:46] local.INFO: IMEI packet received {"connection_id":164214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":164214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:53:47] local.INFO: TCP Data received {"connection_id":161592,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:53:47] local.INFO: TCP Data received {"connection_id":164214,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037951bd0012d7f390005c62208000a008e2c..."} 
[2026-08-25 11:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:53:47] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:53:47] local.INFO: IMEI packet received {"connection_id":161592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 11:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":161592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037951bd0012d7f390005c62208000a008e2c..."} 
[2026-08-25 11:53:47] local.INFO: Processing buffer {"connection_id":164214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037951bd0012d7f390005c62208000a008e2c..."} 
[2026-08-25 11:53:47] local.INFO: Packet analysis {"connection_id":164214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:53:47] local.INFO: Extracted packet for processing {"connection_id":164214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:53:47] local.INFO: GPS Element Parsed {"raw_longitude":763312384,"raw_latitude":96870920,"longitude_deg":76.3312384,"latitude_deg":9.687092,"altitude":10,"angle":142,"satellites":44,"speed":10,"hex_longitude":"2d7f3900","hex_latitude":"05c62208","is_valid_coordinates":true} 
[2026-08-25 11:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635556608001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123379395208413184,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165106741475264512,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:47] 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-25 11:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638914000,"timestamp_ms":1787638914000,"timestamp_seconds":1787638914,"priority":1,"record_length":96,"hex_timestamp":"000001a037951bd0"} 
[2026-08-25 11:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 11:53: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-25 11:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635556608001,"66":13450,"100":206,"85":12288,"24":10,"16":123379395208413184,"45":9165106741475264512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 11:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635556608001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:53:47] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 11:53:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123379395208413184,"km_value":123379395208413.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165106741475264512,"description":"Unknown IO ID 45"} 
[2026-08-25 11:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635556608001,"power":13450,"unknown_100":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9165106741475264512}} 
[2026-08-25 11:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":164214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:53:47] local.INFO: GPS data processed {"connection_id":164214,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:53:47] local.INFO: Acknowledgment sent {"connection_id":164214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:53:50] local.INFO: TCP Data received {"connection_id":161591,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:53:50] local.INFO: Processing buffer {"connection_id":161591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:53:50] local.INFO: IMEI packet received {"connection_id":161591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":161591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:53:52] local.INFO: TCP Data received {"connection_id":161591,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:53:52] local.INFO: Processing buffer {"connection_id":161591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:53:52] local.INFO: Packet analysis {"connection_id":161591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:53:52] local.INFO: Extracted packet for processing {"connection_id":161591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635497984001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 11:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787638965000,"timestamp_ms":1787638965000,"timestamp_seconds":1787638965,"priority":1,"record_length":96,"hex_timestamp":"000001a03795e308"} 
[2026-08-25 11:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635497984001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 11:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635497984001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635497984001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":161591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:53:52] local.INFO: GPS data processed {"connection_id":161591,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:53:52] local.INFO: Acknowledgment sent {"connection_id":161591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:53:55] local.INFO: TCP Data received {"connection_id":161592,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:53:55] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:53:55] local.INFO: IMEI packet received {"connection_id":161592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":161592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:53:55] local.INFO: TCP Data received {"connection_id":161592,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:53:55] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:53:55] local.INFO: IMEI packet received {"connection_id":161592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":161592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:53:56] local.INFO: TCP Data received {"connection_id":161592,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037965068012d195b000720abb80025004917..."} 
[2026-08-25 11:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037965068012d195b000720abb80025004917..."} 
[2026-08-25 11:53:56] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037965068012d195b000720abb80025004917..."} 
[2026-08-25 11:53:56] local.INFO: Packet analysis {"connection_id":161592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03796"} 
[2026-08-25 11:53:56] local.INFO: Extracted packet for processing {"connection_id":161592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03796"} 
[2026-08-25 11:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756636416,"raw_latitude":119581624,"longitude_deg":75.6636416,"latitude_deg":11.9581624,"altitude":37,"angle":73,"satellites":23,"speed":9,"hex_longitude":"2d195b00","hex_latitude":"0720abb8","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635581952001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15811200545718272,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826913366953383936,"note":"Value kept but may cause issues"} 
[2026-08-25 11:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787638993000,"timestamp_ms":1787638993000,"timestamp_seconds":1787638993,"priority":1,"record_length":96,"hex_timestamp":"000001a037965068"} 
[2026-08-25 11: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-25 11:53:56] 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-25 11: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 11:53:56] 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-25 11: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-25 11: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-25 11:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635581952001,"66":14515,"121":206,"28":31744,"24":9,"16":15811200545718272,"45":1826913366953383936},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635581952001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:53:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:53:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15811200545718272,"km_value":15811200545718.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826913366953383936,"description":"Unknown IO ID 45"} 
[2026-08-25 11:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635581952001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1826913366953383936}} 
[2026-08-25 11:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":161592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:53:57] local.INFO: GPS data processed {"connection_id":161592,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:53:57] local.INFO: Acknowledgment sent {"connection_id":161592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:54:01] local.INFO: TCP Data received {"connection_id":161592,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037965450012d195c400720abf80025005717..."} 
[2026-08-25 11:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037965450012d195c400720abf80025005717..."} 
[2026-08-25 11:54:01] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037965450012d195c400720abf80025005717..."} 
[2026-08-25 11:54:01] local.INFO: Packet analysis {"connection_id":161592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03796"} 
[2026-08-25 11:54:01] local.INFO: Extracted packet for processing {"connection_id":161592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03796"} 
[2026-08-25 11:54:01] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119581688,"longitude_deg":75.6636736,"latitude_deg":11.9581688,"altitude":37,"angle":87,"satellites":23,"speed":12,"hex_longitude":"2d195c40","hex_latitude":"0720abf8","is_valid_coordinates":true} 
[2026-08-25 11:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635582208001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15811217725587456,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827054104441763840,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787638994000,"timestamp_ms":1787638994000,"timestamp_seconds":1787638994,"priority":1,"record_length":96,"hex_timestamp":"000001a037965450"} 
[2026-08-25 11:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:54:01] 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-25 11:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 11:54:01] 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-25 11:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635582208001,"66":13689,"121":206,"28":31744,"24":12,"16":15811217725587456,"45":1827054104441763840},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635582208001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:54:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:54:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15811217725587456,"km_value":15811217725587.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827054104441763840,"description":"Unknown IO ID 45"} 
[2026-08-25 11:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635582208001,"power":13689,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1827054104441763840}} 
[2026-08-25 11:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":161592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:54:01] local.INFO: GPS data processed {"connection_id":161592,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:54:01] local.INFO: Acknowledgment sent {"connection_id":161592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:54:18] local.INFO: TCP Data received {"connection_id":164214,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037956dd8012d7f4c4005c606200008008f28..."} 
[2026-08-25 11:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037956dd8012d7f4c4005c606200008008f28..."} 
[2026-08-25 11:54:18] local.INFO: Processing buffer {"connection_id":164214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037956dd8012d7f4c4005c606200008008f28..."} 
[2026-08-25 11:54:18] local.INFO: Packet analysis {"connection_id":164214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:54:18] local.INFO: Extracted packet for processing {"connection_id":164214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:54:18] local.INFO: GPS Element Parsed {"raw_longitude":763317312,"raw_latitude":96863776,"longitude_deg":76.3317312,"latitude_deg":9.6863776,"altitude":8,"angle":143,"satellites":40,"speed":22,"hex_longitude":"2d7f4c40","hex_latitude":"05c60620","is_valid_coordinates":true} 
[2026-08-25 11:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635561984001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123379816115208192,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167358541288310784,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:18] 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-25 11:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638935000,"timestamp_ms":1787638935000,"timestamp_seconds":1787638935,"priority":1,"record_length":96,"hex_timestamp":"000001a037956dd8"} 
[2026-08-25 11:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:54: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-25 11:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 11:54:18] 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-25 11:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635561984001,"66":13124,"100":206,"85":12288,"24":22,"16":123379816115208192,"45":9167358541288310784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 11:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635561984001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:54:18] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 11:54:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123379816115208192,"km_value":123379816115208.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167358541288310784,"description":"Unknown IO ID 45"} 
[2026-08-25 11:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635561984001,"power":13124,"unknown_100":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":9167358541288310784}} 
[2026-08-25 11:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":164214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:54:18] local.INFO: GPS data processed {"connection_id":164214,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:54:18] local.INFO: Acknowledgment sent {"connection_id":164214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:54:24] local.INFO: TCP Data received {"connection_id":161591,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:54:24] local.INFO: Processing buffer {"connection_id":161591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:54:24] local.INFO: Packet analysis {"connection_id":161591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:54:24] local.INFO: Extracted packet for processing {"connection_id":161591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:54:24] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635497984001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 11:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787638965000,"timestamp_ms":1787638965000,"timestamp_seconds":1787638965,"priority":1,"record_length":96,"hex_timestamp":"000001a03795e308"} 
[2026-08-25 11: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-25 11:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635497984001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 11:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635497984001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635497984001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":161591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:54:24] local.INFO: GPS data processed {"connection_id":161591,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:54:24] local.INFO: Acknowledgment sent {"connection_id":161591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:54:32] local.INFO: TCP Data received {"connection_id":161592,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379736e0012d19a8800720b0d00031011a19..."} 
[2026-08-25 11:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379736e0012d19a8800720b0d00031011a19..."} 
[2026-08-25 11:54:32] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379736e0012d19a8800720b0d00031011a19..."} 
[2026-08-25 11:54:32] local.INFO: Packet analysis {"connection_id":161592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03797"} 
[2026-08-25 11:54:32] local.INFO: Extracted packet for processing {"connection_id":161592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03797"} 
[2026-08-25 11:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756656256,"raw_latitude":119582928,"longitude_deg":75.6656256,"latitude_deg":11.9582928,"altitude":49,"angle":282,"satellites":25,"speed":24,"hex_longitude":"2d19a880","hex_latitude":"0720b0d0","is_valid_coordinates":true} 
[2026-08-25 11:54: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-25 11:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635595264001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15812712374206464,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853020171043289088,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787639052000,"timestamp_ms":1787639052000,"timestamp_seconds":1787639052,"priority":1,"record_length":96,"hex_timestamp":"000001a0379736e0"} 
[2026-08-25 11:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:54:32] 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-25 11:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 11:54:32] 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-25 11:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635595264001,"66":14428,"121":206,"28":31744,"24":24,"16":15812712374206464,"45":1853020171043289088},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635595264001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:54:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15812712374206464,"km_value":15812712374206.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853020171043289088,"description":"Unknown IO ID 45"} 
[2026-08-25 11:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635595264001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1853020171043289088}} 
[2026-08-25 11:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":161592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:54:32] local.INFO: GPS data processed {"connection_id":161592,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:54:32] local.INFO: Acknowledgment sent {"connection_id":161592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:54:40] local.INFO: TCP Data received {"connection_id":161593,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:54:40] local.INFO: Processing buffer {"connection_id":161593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:54:40] local.INFO: IMEI packet received {"connection_id":161593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":161593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:54:41] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:54:41] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:54:41] local.INFO: IMEI packet received {"connection_id":161834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":161834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:54:45] local.INFO: TCP Data received {"connection_id":161593,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:54:45] local.INFO: Processing buffer {"connection_id":161593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:54:45] local.INFO: IMEI packet received {"connection_id":161593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":161593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:54:46] local.INFO: TCP Data received {"connection_id":161593,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:54:46] local.INFO: Processing buffer {"connection_id":161593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:54:46] local.INFO: Packet analysis {"connection_id":161593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:54:46] local.INFO: Extracted packet for processing {"connection_id":161593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635497984001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 11:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787638965000,"timestamp_ms":1787638965000,"timestamp_seconds":1787638965,"priority":1,"record_length":96,"hex_timestamp":"000001a03795e308"} 
[2026-08-25 11:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635497984001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 11:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635497984001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635497984001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":161593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:54:46] local.INFO: GPS data processed {"connection_id":161593,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:54:46] local.INFO: Acknowledgment sent {"connection_id":161593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:54:46] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:54:46] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:54:46] local.INFO: IMEI packet received {"connection_id":161834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":161834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:54:47] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03795bfe0012d7f5cc005c5efd80006008e2b..."} 
[2026-08-25 11:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03795bfe0012d7f5cc005c5efd80006008e2b..."} 
[2026-08-25 11:54:47] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03795bfe0012d7f5cc005c5efd80006008e2b..."} 
[2026-08-25 11:54:47] local.INFO: Packet analysis {"connection_id":161834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:54:47] local.INFO: Extracted packet for processing {"connection_id":161834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763321536,"raw_latitude":96858072,"longitude_deg":76.3321536,"latitude_deg":9.6858072,"altitude":6,"angle":142,"satellites":43,"speed":21,"hex_longitude":"2d7f5cc0","hex_latitude":"05c5efd8","is_valid_coordinates":true} 
[2026-08-25 11:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635567360001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123380155417624576,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172776934588162048,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:47] 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-25 11:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638956000,"timestamp_ms":1787638956000,"timestamp_seconds":1787638956,"priority":1,"record_length":96,"hex_timestamp":"000001a03795bfe0"} 
[2026-08-25 11:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:54: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-25 11:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-25 11:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635567360001,"66":13396,"100":206,"85":12288,"24":21,"16":123380155417624576,"45":9172776934588162048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 11:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635567360001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:54:47] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 11:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123380155417624576,"km_value":123380155417624.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172776934588162048,"description":"Unknown IO ID 45"} 
[2026-08-25 11:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635567360001,"power":13396,"unknown_100":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9172776934588162048}} 
[2026-08-25 11:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":161834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:54:48] local.INFO: GPS data processed {"connection_id":161834,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:54:48] local.INFO: Acknowledgment sent {"connection_id":161834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:54:51] local.INFO: TCP Data received {"connection_id":162828,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:54:51] local.INFO: Processing buffer {"connection_id":162828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:54:51] local.INFO: IMEI packet received {"connection_id":162828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 11:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":162828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:54:55] local.INFO: TCP Data received {"connection_id":162828,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:54:55] local.INFO: Processing buffer {"connection_id":162828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:54:55] local.INFO: IMEI packet received {"connection_id":162828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":162828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:54:56] local.INFO: TCP Data received {"connection_id":162828,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379765c0012d198c000720b3900032010e19..."} 
[2026-08-25 11:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379765c0012d198c000720b3900032010e19..."} 
[2026-08-25 11:54:56] local.INFO: Processing buffer {"connection_id":162828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379765c0012d198c000720b3900032010e19..."} 
[2026-08-25 11:54:56] local.INFO: Packet analysis {"connection_id":162828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03797"} 
[2026-08-25 11:54:56] local.INFO: Extracted packet for processing {"connection_id":162828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03797"} 
[2026-08-25 11:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583632,"longitude_deg":75.664896,"latitude_deg":11.9583632,"altitude":50,"angle":270,"satellites":25,"speed":20,"hex_longitude":"2d198c00","hex_latitude":"0720b390","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635597312001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15813060266557440,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848868415137173504,"note":"Value kept but may cause issues"} 
[2026-08-25 11:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787639064000,"timestamp_ms":1787639064000,"timestamp_seconds":1787639064,"priority":1,"record_length":96,"hex_timestamp":"000001a0379765c0"} 
[2026-08-25 11: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-25 11:54:56] 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-25 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 11:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635597312001,"66":14352,"121":206,"28":31744,"24":20,"16":15813060266557440,"45":1848868415137173504},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635597312001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:54:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:54:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15813060266557440,"km_value":15813060266557.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848868415137173504,"description":"Unknown IO ID 45"} 
[2026-08-25 11:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635597312001,"power":14352,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1848868415137173504}} 
[2026-08-25 11:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":162828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:54:56] local.INFO: GPS data processed {"connection_id":162828,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:54:56] local.INFO: Acknowledgment sent {"connection_id":162828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:55:19] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03795eec0012d7f724005c5d2e8000600902a..."} 
[2026-08-25 11:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03795eec0012d7f724005c5d2e8000600902a..."} 
[2026-08-25 11:55:19] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03795eec0012d7f724005c5d2e8000600902a..."} 
[2026-08-25 11:55:19] local.INFO: Packet analysis {"connection_id":161834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:55:19] local.INFO: Extracted packet for processing {"connection_id":161834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:55:19] local.INFO: GPS Element Parsed {"raw_longitude":763327040,"raw_latitude":96850664,"longitude_deg":76.332704,"latitude_deg":9.6850664,"altitude":6,"angle":144,"satellites":42,"speed":33,"hex_longitude":"2d7f7240","hex_latitude":"05c5d2e8","is_valid_coordinates":true} 
[2026-08-25 11:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635572736001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123380602094223360,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177421271702427648,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:19] 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-25 11:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787638968000,"timestamp_ms":1787638968000,"timestamp_seconds":1787638968,"priority":1,"record_length":96,"hex_timestamp":"000001a03795eec0"} 
[2026-08-25 11:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-25 11:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635572736001,"66":13319,"100":206,"85":12288,"24":33,"16":123380602094223360,"45":9177421271702427648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 11:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635572736001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:55:19] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 11:55:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123380602094223360,"km_value":123380602094223.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177421271702427648,"description":"Unknown IO ID 45"} 
[2026-08-25 11:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635572736001,"power":13319,"unknown_100":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9177421271702427648}} 
[2026-08-25 11:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":161834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:55:19] local.INFO: GPS data processed {"connection_id":161834,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:55:19] local.INFO: Acknowledgment sent {"connection_id":161834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:55:20] local.INFO: TCP Data received {"connection_id":161593,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:55:20] local.INFO: Processing buffer {"connection_id":161593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:55:20] local.INFO: Packet analysis {"connection_id":161593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:55:20] local.INFO: Extracted packet for processing {"connection_id":161593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635497984001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 11:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787638965000,"timestamp_ms":1787638965000,"timestamp_seconds":1787638965,"priority":1,"record_length":96,"hex_timestamp":"000001a03795e308"} 
[2026-08-25 11:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:55: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-25 11:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635497984001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 11:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635497984001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635497984001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":161593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:55:20] local.INFO: GPS data processed {"connection_id":161593,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:55:20] local.INFO: Acknowledgment sent {"connection_id":161593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:55:27] local.INFO: TCP Data received {"connection_id":162828,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037977d30012d197f000720b1e00032010219..."} 
[2026-08-25 11:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037977d30012d197f000720b1e00032010219..."} 
[2026-08-25 11:55:27] local.INFO: Processing buffer {"connection_id":162828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037977d30012d197f000720b1e00032010219..."} 
[2026-08-25 11:55:27] local.INFO: Packet analysis {"connection_id":162828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03797"} 
[2026-08-25 11:55:27] local.INFO: Extracted packet for processing {"connection_id":162828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03797"} 
[2026-08-25 11:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756645632,"raw_latitude":119583200,"longitude_deg":75.6645632,"latitude_deg":11.95832,"altitude":50,"angle":258,"satellites":25,"speed":25,"hex_longitude":"2d197f00","hex_latitude":"0720b1e0","is_valid_coordinates":true} 
[2026-08-25 11:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635600384001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15813219180347392,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301100032,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787639070000,"timestamp_ms":1787639070000,"timestamp_seconds":1787639070,"priority":1,"record_length":96,"hex_timestamp":"000001a037977d30"} 
[2026-08-25 11:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:55:27] 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-25 11:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733133312,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503840906149888,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-4899908557742800851,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":64,"raw_value":12948781339248128,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2919288295,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2819096622,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825590649,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2882567648607273216,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84752261087436967,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:27] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,45,160,54,128,176,49,25,10,66,23,64,171,47,15,1,240,92,55,32,4,113,205,7,186,112,239,2,56,206,96],"length":628,"final_offset":758,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-25 11:55:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603176677411389440,"timestamp_seconds":3603176677411389.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635600384001,"66":14461,"121":206,"28":31744,"24":25,"16":15813219180347392,"45":1840846378301100032},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635600384001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:55:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:55:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15813219180347392,"km_value":15813219180347.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301100032,"description":"Unknown IO ID 45"} 
[2026-08-25 11:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635600384001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1840846378301100032}} 
[2026-08-25 11:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":162828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:55:27] local.INFO: GPS data processed {"connection_id":162828,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:55:27] local.INFO: Acknowledgment sent {"connection_id":162828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:55:40] local.INFO: TCP Data received {"connection_id":162829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:55:40] local.INFO: Processing buffer {"connection_id":162829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:55:40] local.INFO: IMEI packet received {"connection_id":162829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":162829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:55:40] local.INFO: TCP Data received {"connection_id":162830,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:55:40] local.INFO: Processing buffer {"connection_id":162830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:55:40] local.INFO: IMEI packet received {"connection_id":162830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":162830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:55:41] local.INFO: TCP Data received {"connection_id":162830,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:55:41] local.INFO: Processing buffer {"connection_id":162830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:55:41] local.INFO: IMEI packet received {"connection_id":162830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":162830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:55:45] local.INFO: TCP Data received {"connection_id":162829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:55:45] local.INFO: Processing buffer {"connection_id":162829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:55:45] local.INFO: IMEI packet received {"connection_id":162829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":162829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:55:46] local.INFO: TCP Data received {"connection_id":162830,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:55:46] local.INFO: Processing buffer {"connection_id":162830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:55:46] local.INFO: IMEI packet received {"connection_id":162830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":162830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:55:46] local.INFO: TCP Data received {"connection_id":162829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:55:46] local.INFO: Processing buffer {"connection_id":162829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:55:46] local.INFO: Packet analysis {"connection_id":162829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:55:46] local.INFO: Extracted packet for processing {"connection_id":162829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635497984001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 11:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787638965000,"timestamp_ms":1787638965000,"timestamp_seconds":1787638965,"priority":1,"record_length":96,"hex_timestamp":"000001a03795e308"} 
[2026-08-25 11:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635497984001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 11:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635497984001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635497984001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":162829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:55:46] local.INFO: GPS data processed {"connection_id":162829,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:55:46] local.INFO: Acknowledgment sent {"connection_id":162829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:55:48] local.INFO: TCP Data received {"connection_id":162830,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379638f8012d7f874005c5b5e8000a008d2b..."} 
[2026-08-25 11:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379638f8012d7f874005c5b5e8000a008d2b..."} 
[2026-08-25 11:55:48] local.INFO: Processing buffer {"connection_id":162830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379638f8012d7f874005c5b5e8000a008d2b..."} 
[2026-08-25 11:55:48] local.INFO: Packet analysis {"connection_id":162830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03796"} 
[2026-08-25 11:55:48] local.INFO: Extracted packet for processing {"connection_id":162830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03796"} 
[2026-08-25 11:55:48] local.INFO: GPS Element Parsed {"raw_longitude":763332416,"raw_latitude":96843240,"longitude_deg":76.3332416,"latitude_deg":9.684324,"altitude":10,"angle":141,"satellites":43,"speed":12,"hex_longitude":"2d7f8740","hex_latitude":"05c5b5e8","is_valid_coordinates":true} 
[2026-08-25 11:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635575808001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123381044475854848,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183472983699810304,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:48] 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-25 11:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787638987000,"timestamp_ms":1787638987000,"timestamp_seconds":1787638987,"priority":1,"record_length":96,"hex_timestamp":"000001a0379638f8"} 
[2026-08-25 11:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:55: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-25 11:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 11:55:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:48] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:48] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2496251905,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:48] local.WARNING: Large IO value detected {"io_id":198,"raw_value":5915478149215169280,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1315176654,"corrected_to":0} 
[2026-08-25 11:55:48] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3221302655,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3326531584,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:48] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57788561642902832,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:48] local.WARNING: Large IO value detected {"io_id":147,"raw_value":-3193050840888541179,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,100,85,24,241,157,16,86,160,191,45,192,239,6,43,10,66,109,64,8,40,27,1,240,138,227,84,55,198,4,113,205,119,51,2,182,5,9,29,147],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1315176654,"validated":0}]} 
[2026-08-25 11:55:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432504074292756480,"timestamp_seconds":432504074292756.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 11:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635575808001,"66":13493,"100":206,"85":12288,"24":12,"16":123381044475854848,"45":9183472983699810304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 11:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635575808001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:55:48] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 11:55:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123381044475854848,"km_value":123381044475854.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183472983699810304,"description":"Unknown IO ID 45"} 
[2026-08-25 11:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635575808001,"power":13493,"unknown_100":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9183472983699810304}} 
[2026-08-25 11:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":162830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:55:48] local.INFO: GPS data processed {"connection_id":162830,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:55:48] local.INFO: Acknowledgment sent {"connection_id":162830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:55:50] local.INFO: TCP Data received {"connection_id":161594,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:55:50] local.INFO: Processing buffer {"connection_id":161594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:55:50] local.INFO: IMEI packet received {"connection_id":161594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 11:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":161594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:55:51] local.INFO: TCP Data received {"connection_id":161594,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:55:51] local.INFO: Processing buffer {"connection_id":161594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:55:51] local.INFO: IMEI packet received {"connection_id":161594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":161594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:55:55] local.INFO: TCP Data received {"connection_id":161594,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:55:55] local.INFO: Processing buffer {"connection_id":161594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:55:55] local.INFO: IMEI packet received {"connection_id":161594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":161594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:55:57] local.INFO: TCP Data received {"connection_id":161594,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a03797aff8012d195ac00720ab08003101071a..."} 
[2026-08-25 11:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03797aff8012d195ac00720ab08003101071a..."} 
[2026-08-25 11:55:57] local.INFO: Processing buffer {"connection_id":161594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03797aff8012d195ac00720ab08003101071a..."} 
[2026-08-25 11:55:57] local.INFO: Packet analysis {"connection_id":161594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03797"} 
[2026-08-25 11:55:57] local.INFO: Extracted packet for processing {"connection_id":161594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03797"} 
[2026-08-25 11:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756636352,"raw_latitude":119581448,"longitude_deg":75.6636352,"latitude_deg":11.9581448,"altitude":49,"angle":263,"satellites":26,"speed":20,"hex_longitude":"2d195ac0","hex_latitude":"0720ab08","is_valid_coordinates":true} 
[2026-08-25 11:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635601920001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15813670151913472,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203603750912,"note":"Value kept but may cause issues"} 
[2026-08-25 11:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787639083000,"timestamp_ms":1787639083000,"timestamp_seconds":1787639083,"priority":1,"record_length":96,"hex_timestamp":"000001a03797aff8"} 
[2026-08-25 11:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:55:57] 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-25 11:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-25 11:55:57] 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-25 11:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635601920001,"66":13939,"121":206,"28":31744,"24":20,"16":15813670151913472,"45":1837187203603750912},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635601920001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:55:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:55:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15813670151913472,"km_value":15813670151913.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203603750912,"description":"Unknown IO ID 45"} 
[2026-08-25 11:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635601920001,"power":13939,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1837187203603750912}} 
[2026-08-25 11:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":161594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:55:57] local.INFO: GPS data processed {"connection_id":161594,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:55:57] local.INFO: Acknowledgment sent {"connection_id":161594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:56:18] local.INFO: TCP Data received {"connection_id":162829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:56:18] local.INFO: Processing buffer {"connection_id":162829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:56:18] local.INFO: Packet analysis {"connection_id":162829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:56:18] local.INFO: Extracted packet for processing {"connection_id":162829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635497984001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 11:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638965000,"timestamp_ms":1787638965000,"timestamp_seconds":1787638965,"priority":1,"record_length":96,"hex_timestamp":"000001a03795e308"} 
[2026-08-25 11:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635497984001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 11:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635497984001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635497984001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":162829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:56:18] local.INFO: GPS data processed {"connection_id":162829,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:56:18] local.INFO: Acknowledgment sent {"connection_id":162829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:56:19] local.INFO: TCP Data received {"connection_id":162830,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03798d108012d801f0005c4ddc8000b00992a..."} 
[2026-08-25 11:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03798d108012d801f0005c4ddc8000b00992a..."} 
[2026-08-25 11:56:19] local.INFO: Processing buffer {"connection_id":162830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03798d108012d801f0005c4ddc8000b00992a..."} 
[2026-08-25 11:56:19] local.INFO: Packet analysis {"connection_id":162830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03798"} 
[2026-08-25 11:56:19] local.INFO: Extracted packet for processing {"connection_id":162830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03798"} 
[2026-08-25 11:56:19] local.INFO: GPS Element Parsed {"raw_longitude":763371264,"raw_latitude":96787912,"longitude_deg":76.3371264,"latitude_deg":9.6787912,"altitude":11,"angle":153,"satellites":42,"speed":25,"hex_longitude":"2d801f00","hex_latitude":"05c4ddc8","is_valid_coordinates":true} 
[2026-08-25 11:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635621376001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123384343010738176,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215279606495657984,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787639157000,"timestamp_ms":1787639157000,"timestamp_seconds":1787639157,"priority":1,"record_length":96,"hex_timestamp":"000001a03798d108"} 
[2026-08-25 11:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-25 11:56:19] 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-25 11:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635621376001,"66":13559,"235":206,"85":12288,"24":25,"16":123384343010738176,"45":-9215279606495657984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 11:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635621376001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:56:19] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 11:56:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123384343010738176,"km_value":123384343010738.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215279606495657984,"description":"Unknown IO ID 45"} 
[2026-08-25 11:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635621376001,"power":13559,"unknown_235":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":-9215279606495657984}} 
[2026-08-25 11:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":162830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:56:19] local.INFO: GPS data processed {"connection_id":162830,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:56:19] local.INFO: Acknowledgment sent {"connection_id":162830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:56:28] local.INFO: TCP Data received {"connection_id":161594,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037980200012d1955000720aac00031010e1a..."} 
[2026-08-25 11:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037980200012d1955000720aac00031010e1a..."} 
[2026-08-25 11:56:28] local.INFO: Processing buffer {"connection_id":161594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037980200012d1955000720aac00031010e1a..."} 
[2026-08-25 11:56:28] local.INFO: Packet analysis {"connection_id":161594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03798"} 
[2026-08-25 11:56:28] local.INFO: Extracted packet for processing {"connection_id":161594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03798"} 
[2026-08-25 11:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756634880,"raw_latitude":119581376,"longitude_deg":75.663488,"latitude_deg":11.9581376,"altitude":49,"angle":270,"satellites":26,"speed":0,"hex_longitude":"2d195500","hex_latitude":"0720aac0","is_valid_coordinates":true} 
[2026-08-25 11:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635605248001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15813743166357504,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826983735697541120,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787639104000,"timestamp_ms":1787639104000,"timestamp_seconds":1787639104,"priority":1,"record_length":96,"hex_timestamp":"000001a037980200"} 
[2026-08-25 11:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:56:28] 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-25 11:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-25 11:56:28] 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-25 11:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635605248001,"66":13928,"121":206,"28":31744,"24":0,"16":15813743166357504,"45":1826983735697541120},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635605248001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:56:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:56:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15813743166357504,"km_value":15813743166357.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826983735697541120,"description":"Unknown IO ID 45"} 
[2026-08-25 11:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635605248001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1826983735697541120}} 
[2026-08-25 11:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":161594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:56:28] local.INFO: GPS data processed {"connection_id":161594,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:56:28] local.INFO: Acknowledgment sent {"connection_id":161594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:56:40] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:56:40] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:56:40] local.INFO: IMEI packet received {"connection_id":161835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":161835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:56:41] local.INFO: TCP Data received {"connection_id":164216,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:56:41] local.INFO: Processing buffer {"connection_id":164216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:56:41] local.INFO: IMEI packet received {"connection_id":164216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":164216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:56:41] local.INFO: TCP Data received {"connection_id":164216,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:56:41] local.INFO: Processing buffer {"connection_id":164216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:56:41] local.INFO: IMEI packet received {"connection_id":164216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":164216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:56:45] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:56:45] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:56:45] local.INFO: IMEI packet received {"connection_id":161835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":161835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:56:46] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:56:46] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:56:46] local.INFO: Packet analysis {"connection_id":161835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:56:46] local.INFO: Extracted packet for processing {"connection_id":161835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635497984001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 11:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787638965000,"timestamp_ms":1787638965000,"timestamp_seconds":1787638965,"priority":1,"record_length":96,"hex_timestamp":"000001a03795e308"} 
[2026-08-25 11:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635497984001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 11:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635497984001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635497984001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":161835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:56:46] local.INFO: GPS data processed {"connection_id":161835,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:56:46] local.INFO: Acknowledgment sent {"connection_id":161835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:56:46] local.INFO: TCP Data received {"connection_id":164216,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:56:46] local.INFO: Processing buffer {"connection_id":164216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:56:46] local.INFO: IMEI packet received {"connection_id":164216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":164216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:56:47] local.INFO: TCP Data received {"connection_id":164216,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03798f818012d80338005c4c1b8000a00902b..."} 
[2026-08-25 11:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03798f818012d80338005c4c1b8000a00902b..."} 
[2026-08-25 11:56:47] local.INFO: Processing buffer {"connection_id":164216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03798f818012d80338005c4c1b8000a00902b..."} 
[2026-08-25 11:56:47] local.INFO: Packet analysis {"connection_id":164216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03798"} 
[2026-08-25 11:56:47] local.INFO: Extracted packet for processing {"connection_id":164216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03798"} 
[2026-08-25 11:56:47] local.INFO: GPS Element Parsed {"raw_longitude":763376512,"raw_latitude":96780728,"longitude_deg":76.3376512,"latitude_deg":9.6780728,"altitude":10,"angle":144,"satellites":43,"speed":42,"hex_longitude":"2d803380","hex_latitude":"05c4c1b8","is_valid_coordinates":true} 
[2026-08-25 11:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635624192001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123384772507467776,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214646287799040000,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:47] 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-25 11:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787639167000,"timestamp_ms":1787639167000,"timestamp_seconds":1787639167,"priority":1,"record_length":96,"hex_timestamp":"000001a03798f818"} 
[2026-08-25 11:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:56: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-25 11:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 11:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635624192001,"66":13646,"235":206,"85":12288,"24":42,"16":123384772507467776,"45":-9214646287799040000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 11:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635624192001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:56:47] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 11:56:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123384772507467776,"km_value":123384772507467.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214646287799040000,"description":"Unknown IO ID 45"} 
[2026-08-25 11:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635624192001,"power":13646,"unknown_235":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":-9214646287799040000}} 
[2026-08-25 11:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":164216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:56:47] local.INFO: GPS data processed {"connection_id":164216,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:56:47] local.INFO: Acknowledgment sent {"connection_id":164216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:56:50] local.INFO: TCP Data received {"connection_id":162831,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:56:50] local.INFO: Processing buffer {"connection_id":162831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:56:50] local.INFO: IMEI packet received {"connection_id":162831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 11:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":162831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:56:51] local.INFO: TCP Data received {"connection_id":162831,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:56:51] local.INFO: Processing buffer {"connection_id":162831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:56:51] local.INFO: IMEI packet received {"connection_id":162831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":162831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:56:55] local.INFO: TCP Data received {"connection_id":162831,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:56:55] local.INFO: Processing buffer {"connection_id":162831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:56:55] local.INFO: IMEI packet received {"connection_id":162831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":162831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:56:57] local.INFO: TCP Data received {"connection_id":162831,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037996578012d18d3c007210560003a01581a..."} 
[2026-08-25 11:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037996578012d18d3c007210560003a01581a..."} 
[2026-08-25 11:56:57] local.INFO: Processing buffer {"connection_id":162831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037996578012d18d3c007210560003a01581a..."} 
[2026-08-25 11:56:57] local.INFO: Packet analysis {"connection_id":162831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:56:57] local.INFO: Extracted packet for processing {"connection_id":162831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756601792,"raw_latitude":119604576,"longitude_deg":75.6601792,"latitude_deg":11.9604576,"altitude":58,"angle":344,"satellites":26,"speed":28,"hex_longitude":"2d18d3c0","hex_latitude":"07210560","is_valid_coordinates":true} 
[2026-08-25 11:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635633408001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15815753211052032,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789547563800600576,"note":"Value kept but may cause issues"} 
[2026-08-25 11:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787639195000,"timestamp_ms":1787639195000,"timestamp_seconds":1787639195,"priority":1,"record_length":96,"hex_timestamp":"000001a037996578"} 
[2026-08-25 11:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:56:57] 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-25 11:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-25 11:56:57] 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-25 11:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635633408001,"66":14396,"121":206,"28":31744,"24":28,"16":15815753211052032,"45":1789547563800600576},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635633408001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:56:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:56:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15815753211052032,"km_value":15815753211052.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789547563800600576,"description":"Unknown IO ID 45"} 
[2026-08-25 11:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635633408001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1789547563800600576}} 
[2026-08-25 11:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":162831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:56:57] local.INFO: GPS data processed {"connection_id":162831,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:56:57] local.INFO: Acknowledgment sent {"connection_id":162831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:57:17] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:57:17] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:57:17] local.INFO: Packet analysis {"connection_id":161835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:57:17] local.INFO: Extracted packet for processing {"connection_id":161835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635497984001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 11:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787638965000,"timestamp_ms":1787638965000,"timestamp_seconds":1787638965,"priority":1,"record_length":96,"hex_timestamp":"000001a03795e308"} 
[2026-08-25 11:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635497984001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 11:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635497984001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635497984001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":161835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:57:17] local.INFO: GPS data processed {"connection_id":161835,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:57:17] local.INFO: Acknowledgment sent {"connection_id":161835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:57:18] local.INFO: TCP Data received {"connection_id":164216,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037991758012d8048c005c4a2b8000900912b..."} 
[2026-08-25 11:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037991758012d8048c005c4a2b8000900912b..."} 
[2026-08-25 11:57:18] local.INFO: Processing buffer {"connection_id":164216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037991758012d8048c005c4a2b8000900912b..."} 
[2026-08-25 11:57:18] local.INFO: Packet analysis {"connection_id":164216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:57:18] local.INFO: Extracted packet for processing {"connection_id":164216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:57:18] local.INFO: GPS Element Parsed {"raw_longitude":763381952,"raw_latitude":96772792,"longitude_deg":76.3381952,"latitude_deg":9.6772792,"altitude":9,"angle":145,"satellites":43,"speed":45,"hex_longitude":"2d8048c0","hex_latitude":"05c4a2b8","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635626752001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123385236363935744,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208876050778310656,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57: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-25 11:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787639175000,"timestamp_ms":1787639175000,"timestamp_seconds":1787639175,"priority":1,"record_length":96,"hex_timestamp":"000001a037991758"} 
[2026-08-25 11: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-25 11:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-25 11:57: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-25 11: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-25 11: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-25 11:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635626752001,"66":13374,"235":206,"85":12288,"24":45,"16":123385236363935744,"45":-9208876050778310656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 11:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635626752001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:57:18] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 11:57:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123385236363935744,"km_value":123385236363935.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208876050778310656,"description":"Unknown IO ID 45"} 
[2026-08-25 11:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635626752001,"power":13374,"unknown_235":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":-9208876050778310656}} 
[2026-08-25 11:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":164216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:57:18] local.INFO: GPS data processed {"connection_id":164216,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:57:18] local.INFO: Acknowledgment sent {"connection_id":164216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:57:28] local.INFO: TCP Data received {"connection_id":162831,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037997ce8012d18d0c0072115e0003c01651a..."} 
[2026-08-25 11:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037997ce8012d18d0c0072115e0003c01651a..."} 
[2026-08-25 11:57:28] local.INFO: Processing buffer {"connection_id":162831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037997ce8012d18d0c0072115e0003c01651a..."} 
[2026-08-25 11:57:28] local.INFO: Packet analysis {"connection_id":162831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:57:28] local.INFO: Extracted packet for processing {"connection_id":162831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119608800,"longitude_deg":75.6601024,"latitude_deg":11.96088,"altitude":60,"angle":357,"satellites":26,"speed":28,"hex_longitude":"2d18d0c0","hex_latitude":"072115e0","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635633920001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15815959369482240,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613847523328,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787639201000,"timestamp_ms":1787639201000,"timestamp_seconds":1787639201,"priority":1,"record_length":96,"hex_timestamp":"000001a037997ce8"} 
[2026-08-25 11: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-25 11:57:28] 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-25 11: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-25 11:57:28] 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-25 11: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-25 11: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-25 11:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635633920001,"66":14461,"121":206,"28":31744,"24":28,"16":15815959369482240,"45":1788984613847523328},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635633920001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:57:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:57:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15815959369482240,"km_value":15815959369482.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613847523328,"description":"Unknown IO ID 45"} 
[2026-08-25 11:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635633920001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1788984613847523328}} 
[2026-08-25 11:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":162831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:57:28] local.INFO: GPS data processed {"connection_id":162831,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:57:28] local.INFO: Acknowledgment sent {"connection_id":162831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:57:40] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:57:40] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:57:40] local.INFO: IMEI packet received {"connection_id":161836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":161836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:57:41] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:57:41] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:57:41] local.INFO: IMEI packet received {"connection_id":161837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":161837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:57:46] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:57:46] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:57:46] local.INFO: IMEI packet received {"connection_id":161836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":161836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:57:46] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:57:46] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:57:46] local.INFO: IMEI packet received {"connection_id":161837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":161837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:57:47] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:57:47] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:57:47] local.INFO: Packet analysis {"connection_id":161836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:57:47] local.INFO: Extracted packet for processing {"connection_id":161836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635497984001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 11:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787638965000,"timestamp_ms":1787638965000,"timestamp_seconds":1787638965,"priority":1,"record_length":96,"hex_timestamp":"000001a03795e308"} 
[2026-08-25 11:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635497984001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 11:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635497984001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635497984001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":161836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:57:47] local.INFO: GPS data processed {"connection_id":161836,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:57:47] local.INFO: Acknowledgment sent {"connection_id":161836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:57:47] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037994250012d805bc005c48468000a00932c..."} 
[2026-08-25 11:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037994250012d805bc005c48468000a00932c..."} 
[2026-08-25 11:57:47] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037994250012d805bc005c48468000a00932c..."} 
[2026-08-25 11:57:47] local.INFO: Packet analysis {"connection_id":161837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:57:47] local.INFO: Extracted packet for processing {"connection_id":161837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763386816,"raw_latitude":96765032,"longitude_deg":76.3386816,"latitude_deg":9.6765032,"altitude":10,"angle":147,"satellites":44,"speed":18,"hex_longitude":"2d805bc0","hex_latitude":"05c48468","is_valid_coordinates":true} 
[2026-08-25 11:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635628800001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123385678745567232,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9202894707525240832,"note":"Value kept but may cause issues"} 
[2026-08-25 11:57:47] 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-25 11:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787639186000,"timestamp_ms":1787639186000,"timestamp_seconds":1787639186,"priority":1,"record_length":96,"hex_timestamp":"000001a037994250"} 
[2026-08-25 11:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:57: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-25 11:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 11:57:47] 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-25 11:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635628800001,"66":13363,"235":206,"85":12288,"24":18,"16":123385678745567232,"45":-9202894707525240832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 11:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635628800001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:57:47] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 11:57:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123385678745567232,"km_value":123385678745567.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9202894707525240832,"description":"Unknown IO ID 45"} 
[2026-08-25 11:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635628800001,"power":13363,"unknown_235":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":-9202894707525240832}} 
[2026-08-25 11:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":161837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:57:47] local.INFO: GPS data processed {"connection_id":161837,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:57:47] local.INFO: Acknowledgment sent {"connection_id":161837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:57:55] local.INFO: TCP Data received {"connection_id":164217,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:57:55] local.INFO: Processing buffer {"connection_id":164217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:57:55] local.INFO: IMEI packet received {"connection_id":164217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 11:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":164217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:57:56] local.INFO: TCP Data received {"connection_id":164217,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:57:56] local.INFO: Processing buffer {"connection_id":164217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:57:56] local.INFO: IMEI packet received {"connection_id":164217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":164217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:58:00] local.INFO: TCP Data received {"connection_id":164217,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:58:00] local.INFO: Processing buffer {"connection_id":164217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:58:00] local.INFO: IMEI packet received {"connection_id":164217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":164217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:58:01] local.INFO: TCP Data received {"connection_id":164217,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a6360012d1894c007217a000047012a1b..."} 
[2026-08-25 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a6360012d1894c007217a000047012a1b..."} 
[2026-08-25 11:58:01] local.INFO: Processing buffer {"connection_id":164217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a6360012d1894c007217a000047012a1b..."} 
[2026-08-25 11:58:01] local.INFO: Packet analysis {"connection_id":164217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:58:01] local.INFO: Extracted packet for processing {"connection_id":164217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:58:01] local.INFO: GPS Element Parsed {"raw_longitude":756585664,"raw_latitude":119634432,"longitude_deg":75.6585664,"latitude_deg":11.9634432,"altitude":71,"angle":298,"satellites":27,"speed":5,"hex_longitude":"2d1894c0","hex_latitude":"07217a00","is_valid_coordinates":true} 
[2026-08-25 11:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635645952001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15817527032545280,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775192339996065792,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787639260000,"timestamp_ms":1787639260000,"timestamp_seconds":1787639260,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a6360"} 
[2026-08-25 11:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:58:01] 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-25 11:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-25 11:58:01] 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-25 11:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":164217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":164217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":164217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635645952001,"66":14515,"121":206,"28":31744,"24":5,"16":15817527032545280,"45":1775192339996065792},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635645952001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:58:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:58:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15817527032545280,"km_value":15817527032545.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775192339996065792,"description":"Unknown IO ID 45"} 
[2026-08-25 11:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635645952001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1775192339996065792}} 
[2026-08-25 11:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":164217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:58:01] local.INFO: GPS data processed {"connection_id":164217,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:58:01] local.INFO: Acknowledgment sent {"connection_id":164217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:58:04] local.INFO: TCP Data received {"connection_id":164217,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a8688012d1884c0072180a80046011f1b..."} 
[2026-08-25 11:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a8688012d1884c0072180a80046011f1b..."} 
[2026-08-25 11:58:04] local.INFO: Processing buffer {"connection_id":164217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a8688012d1884c0072180a80046011f1b..."} 
[2026-08-25 11:58:04] local.INFO: Packet analysis {"connection_id":164217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:58:04] local.INFO: Extracted packet for processing {"connection_id":164217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756581568,"raw_latitude":119636136,"longitude_deg":75.6581568,"latitude_deg":11.9636136,"altitude":70,"angle":287,"satellites":27,"speed":27,"hex_longitude":"2d1884c0","hex_latitude":"072180a8","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635650560001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15817737485942784,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771251690322395136,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787639269000,"timestamp_ms":1787639269000,"timestamp_seconds":1787639269,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a8688"} 
[2026-08-25 11: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-25 11:58:04] 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-25 11: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 11:58: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-25 11: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-25 11: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-25 11:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635650560001,"66":14515,"121":206,"28":31744,"24":27,"16":15817737485942784,"45":1771251690322395136},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635650560001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:58:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15817737485942784,"km_value":15817737485942.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771251690322395136,"description":"Unknown IO ID 45"} 
[2026-08-25 11:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635650560001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1771251690322395136}} 
[2026-08-25 11:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":164217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:58:04] local.INFO: GPS data processed {"connection_id":164217,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:58:04] local.INFO: Acknowledgment sent {"connection_id":164217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:58:18] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037997518012d80714005c46500000a00922b..."} 
[2026-08-25 11:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037997518012d80714005c46500000a00922b..."} 
[2026-08-25 11:58:18] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037997518012d80714005c46500000a00922b..."} 
[2026-08-25 11:58:18] local.INFO: Packet analysis {"connection_id":161837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:58:18] local.INFO: Extracted packet for processing {"connection_id":161837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:58:18] local.INFO: GPS Element Parsed {"raw_longitude":763392320,"raw_latitude":96756992,"longitude_deg":76.339232,"latitude_deg":9.6756992,"altitude":10,"angle":146,"satellites":43,"speed":42,"hex_longitude":"2d807140","hex_latitude":"05c46500","is_valid_coordinates":true} 
[2026-08-25 11:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635631616001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123386151191969792,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197546682969724928,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58: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-25 11:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787639199000,"timestamp_ms":1787639199000,"timestamp_seconds":1787639199,"priority":1,"record_length":96,"hex_timestamp":"000001a037997518"} 
[2026-08-25 11:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 11:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 11:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635631616001,"66":13526,"235":206,"85":12288,"24":42,"16":123386151191969792,"45":-9197546682969724928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 11:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635631616001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:58:18] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 11:58:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123386151191969792,"km_value":123386151191969.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197546682969724928,"description":"Unknown IO ID 45"} 
[2026-08-25 11:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635631616001,"power":13526,"unknown_235":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":-9197546682969724928}} 
[2026-08-25 11:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":161837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:58:18] local.INFO: GPS data processed {"connection_id":161837,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:58:18] local.INFO: Acknowledgment sent {"connection_id":161837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:58:18] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:58:18] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03795e308012d34c0c006aa4878000800552d..."} 
[2026-08-25 11:58:18] local.INFO: Packet analysis {"connection_id":161836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:58:18] local.INFO: Extracted packet for processing {"connection_id":161836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03795"} 
[2026-08-25 11:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635497984001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 11:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787638965000,"timestamp_ms":1787638965000,"timestamp_seconds":1787638965,"priority":1,"record_length":96,"hex_timestamp":"000001a03795e308"} 
[2026-08-25 11:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 11:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635497984001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 11:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635497984001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635497984001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":161836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:58:18] local.INFO: GPS data processed {"connection_id":161836,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:58:18] local.INFO: Acknowledgment sent {"connection_id":161836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:58:35] local.INFO: TCP Data received {"connection_id":164217,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a9240012d187cc0072181f8004601101b..."} 
[2026-08-25 11:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a9240012d187cc0072181f8004601101b..."} 
[2026-08-25 11:58:35] local.INFO: Processing buffer {"connection_id":164217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a9240012d187cc0072181f8004601101b..."} 
[2026-08-25 11:58:35] local.INFO: Packet analysis {"connection_id":164217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:58:35] local.INFO: Extracted packet for processing {"connection_id":164217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756579520,"raw_latitude":119636472,"longitude_deg":75.657952,"latitude_deg":11.9636472,"altitude":70,"angle":272,"satellites":27,"speed":27,"hex_longitude":"2d187cc0","hex_latitude":"072181f8","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635652864001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15817840565157888,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766748090695460864,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787639272000,"timestamp_ms":1787639272000,"timestamp_seconds":1787639272,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a9240"} 
[2026-08-25 11: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-25 11:58:35] 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-25 11: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 11:58:35] 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-25 11: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-25 11: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-25 11:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635652864001,"66":14461,"121":206,"28":31744,"24":27,"16":15817840565157888,"45":1766748090695460864},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635652864001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:58:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:58:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15817840565157888,"km_value":15817840565157.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766748090695460864,"description":"Unknown IO ID 45"} 
[2026-08-25 11:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635652864001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1766748090695460864}} 
[2026-08-25 11:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":164217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:58:35] local.INFO: GPS data processed {"connection_id":164217,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:58:35] local.INFO: Acknowledgment sent {"connection_id":164217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:58:41] local.INFO: TCP Data received {"connection_id":162832,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:58:41] local.INFO: Processing buffer {"connection_id":162832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:58:41] local.INFO: IMEI packet received {"connection_id":162832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":162832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:58:45] local.INFO: TCP Data received {"connection_id":161595,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:58:45] local.INFO: Processing buffer {"connection_id":161595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:58:45] local.INFO: IMEI packet received {"connection_id":161595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":161595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:58:46] local.INFO: TCP Data received {"connection_id":162832,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:58:46] local.INFO: Processing buffer {"connection_id":162832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:58:46] local.INFO: IMEI packet received {"connection_id":162832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":162832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:58:48] local.INFO: TCP Data received {"connection_id":162832,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037999c28012d80858005c447c0000a00932c..."} 
[2026-08-25 11:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037999c28012d80858005c447c0000a00932c..."} 
[2026-08-25 11:58:48] local.INFO: Processing buffer {"connection_id":162832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037999c28012d80858005c447c0000a00932c..."} 
[2026-08-25 11:58:48] local.INFO: Packet analysis {"connection_id":162832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:58:48] local.INFO: Extracted packet for processing {"connection_id":162832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:58:48] local.INFO: GPS Element Parsed {"raw_longitude":763397504,"raw_latitude":96749504,"longitude_deg":76.3397504,"latitude_deg":9.6749504,"altitude":10,"angle":147,"satellites":44,"speed":17,"hex_longitude":"2d808580","hex_latitude":"05c447c0","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635634944001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123386589278633984,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191494970972504064,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:48] 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-25 11:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787639209000,"timestamp_ms":1787639209000,"timestamp_seconds":1787639209,"priority":1,"record_length":96,"hex_timestamp":"000001a037999c28"} 
[2026-08-25 11: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-25 11:58: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-25 11: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 11:58:48] 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-25 11:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11: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-25 11:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635634944001,"66":13254,"235":206,"85":12288,"24":17,"16":123386589278633984,"45":-9191494970972504064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 11:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635634944001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:58:48] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 11:58:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123386589278633984,"km_value":123386589278633.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191494970972504064,"description":"Unknown IO ID 45"} 
[2026-08-25 11:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635634944001,"power":13254,"unknown_235":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":-9191494970972504064}} 
[2026-08-25 11:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":162832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:58:48] local.INFO: GPS data processed {"connection_id":162832,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:58:48] local.INFO: Acknowledgment sent {"connection_id":162832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:58:50] local.INFO: TCP Data received {"connection_id":161595,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:58:50] local.INFO: Processing buffer {"connection_id":161595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:58:50] local.INFO: IMEI packet received {"connection_id":161595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":161595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:58:50] local.INFO: TCP Data received {"connection_id":162833,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:58:50] local.INFO: Processing buffer {"connection_id":162833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:58:50] local.INFO: IMEI packet received {"connection_id":162833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 11:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":162833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:58:51] local.INFO: TCP Data received {"connection_id":161595,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 11:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 11:58:51] local.INFO: Processing buffer {"connection_id":161595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 11:58:51] local.INFO: Packet analysis {"connection_id":161595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:58:51] local.INFO: Extracted packet for processing {"connection_id":161595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 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-25 11:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635575040001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 11:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787639266000,"timestamp_ms":1787639266000,"timestamp_seconds":1787639266,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a7ad0"} 
[2026-08-25 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-25 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 11:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635575040001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 11:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635575040001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635575040001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":161595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:58:51] local.INFO: GPS data processed {"connection_id":161595,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:58:51] local.INFO: Acknowledgment sent {"connection_id":161595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:58:55] local.INFO: TCP Data received {"connection_id":162833,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:58:55] local.INFO: Processing buffer {"connection_id":162833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:58:55] local.INFO: IMEI packet received {"connection_id":162833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":162833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:58:56] local.INFO: TCP Data received {"connection_id":162833,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379ab568012d1863c0072182080048011d19..."} 
[2026-08-25 11:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379ab568012d1863c0072182080048011d19..."} 
[2026-08-25 11:58:56] local.INFO: Processing buffer {"connection_id":162833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379ab568012d1863c0072182080048011d19..."} 
[2026-08-25 11:58:56] local.INFO: Packet analysis {"connection_id":162833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:58:56] local.INFO: Extracted packet for processing {"connection_id":162833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756573120,"raw_latitude":119636488,"longitude_deg":75.657312,"latitude_deg":11.9636488,"altitude":72,"angle":285,"satellites":25,"speed":31,"hex_longitude":"2d1863c0","hex_latitude":"07218208","is_valid_coordinates":true} 
[2026-08-25 11:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635653632001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15818145507835904,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764496290881861632,"note":"Value kept but may cause issues"} 
[2026-08-25 11:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787639281000,"timestamp_ms":1787639281000,"timestamp_seconds":1787639281,"priority":1,"record_length":96,"hex_timestamp":"000001a0379ab568"} 
[2026-08-25 11:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:58:56] 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-25 11:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-25 11:58:56] 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-25 11:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635653632001,"66":14494,"121":206,"28":31744,"24":31,"16":15818145507835904,"45":1764496290881861632},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635653632001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:58:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:58:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15818145507835904,"km_value":15818145507835.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764496290881861632,"description":"Unknown IO ID 45"} 
[2026-08-25 11:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635653632001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1764496290881861632}} 
[2026-08-25 11:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":162833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:58:56] local.INFO: GPS data processed {"connection_id":162833,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:58:56] local.INFO: Acknowledgment sent {"connection_id":162833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:59:19] local.INFO: TCP Data received {"connection_id":162832,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03799d6c0012d808ac005c43e60000b00a02c..."} 
[2026-08-25 11:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03799d6c0012d808ac005c43e60000b00a02c..."} 
[2026-08-25 11:59:19] local.INFO: Processing buffer {"connection_id":162832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03799d6c0012d808ac005c43e60000b00a02c..."} 
[2026-08-25 11:59:19] local.INFO: Packet analysis {"connection_id":162832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:59:19] local.INFO: Extracted packet for processing {"connection_id":162832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03799"} 
[2026-08-25 11:59:19] local.INFO: GPS Element Parsed {"raw_longitude":763398848,"raw_latitude":96747104,"longitude_deg":76.3398848,"latitude_deg":9.6747104,"altitude":11,"angle":160,"satellites":44,"speed":6,"hex_longitude":"2d808ac0","hex_latitude":"05c43e60","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635637504001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123386722422620160,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185795102696030208,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787639224000,"timestamp_ms":1787639224000,"timestamp_seconds":1787639224,"priority":1,"record_length":96,"hex_timestamp":"000001a03799d6c0"} 
[2026-08-25 11: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-25 11:59: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-25 11:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 11:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635637504001,"66":13363,"235":206,"85":12288,"24":6,"16":123386722422620160,"45":-9185795102696030208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 11:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635637504001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:59:19] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 11:59:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123386722422620160,"km_value":123386722422620.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185795102696030208,"description":"Unknown IO ID 45"} 
[2026-08-25 11:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635637504001,"power":13363,"unknown_235":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-9185795102696030208}} 
[2026-08-25 11:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":162832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:59:19] local.INFO: GPS data processed {"connection_id":162832,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:59:19] local.INFO: Acknowledgment sent {"connection_id":162832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:59:24] local.INFO: TCP Data received {"connection_id":161595,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 11:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 11:59:24] local.INFO: Processing buffer {"connection_id":161595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 11:59:24] local.INFO: Packet analysis {"connection_id":161595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:59:24] local.INFO: Extracted packet for processing {"connection_id":161595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635575040001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 11:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787639266000,"timestamp_ms":1787639266000,"timestamp_seconds":1787639266,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a7ad0"} 
[2026-08-25 11: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-25 11:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635575040001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 11:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635575040001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635575040001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":161595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:59:24] local.INFO: GPS data processed {"connection_id":161595,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:59:24] local.INFO: Acknowledgment sent {"connection_id":161595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:59:27] local.INFO: TCP Data received {"connection_id":162833,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379ac8f0012d1854c007218878004a01291b..."} 
[2026-08-25 11:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379ac8f0012d1854c007218878004a01291b..."} 
[2026-08-25 11:59:27] local.INFO: Processing buffer {"connection_id":162833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379ac8f0012d1854c007218878004a01291b..."} 
[2026-08-25 11:59:27] local.INFO: Packet analysis {"connection_id":162833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:59:27] local.INFO: Extracted packet for processing {"connection_id":162833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756569280,"raw_latitude":119638136,"longitude_deg":75.656928,"latitude_deg":11.9638136,"altitude":74,"angle":297,"satellites":27,"speed":31,"hex_longitude":"2d1854c0","hex_latitude":"07218878","is_valid_coordinates":true} 
[2026-08-25 11:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635655936001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15818343076331520,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757459416464099328,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787639286000,"timestamp_ms":1787639286000,"timestamp_seconds":1787639286,"priority":1,"record_length":96,"hex_timestamp":"000001a0379ac8f0"} 
[2026-08-25 11:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:59:27] 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-25 11:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-25 11:59:27] 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-25 11:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635655936001,"66":14559,"121":206,"28":31744,"24":31,"16":15818343076331520,"45":1757459416464099328},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635655936001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:59:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15818343076331520,"km_value":15818343076331.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757459416464099328,"description":"Unknown IO ID 45"} 
[2026-08-25 11:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635655936001,"power":14559,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1757459416464099328}} 
[2026-08-25 11:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":162833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:59:28] local.INFO: GPS data processed {"connection_id":162833,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:59:28] local.INFO: Acknowledgment sent {"connection_id":162833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:59:40] local.INFO: TCP Data received {"connection_id":162834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:59:40] local.INFO: Processing buffer {"connection_id":162834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:59:40] local.INFO: IMEI packet received {"connection_id":162834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 11:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":162834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:59:45] local.INFO: TCP Data received {"connection_id":162835,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:59:45] local.INFO: Processing buffer {"connection_id":162835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:59:45] local.INFO: IMEI packet received {"connection_id":162835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 11:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":162835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:59:45] local.INFO: TCP Data received {"connection_id":162834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:59:45] local.INFO: Processing buffer {"connection_id":162834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 11:59:45] local.INFO: IMEI packet received {"connection_id":162834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 11:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":162834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:59:46] local.INFO: TCP Data received {"connection_id":162835,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:59:46] local.INFO: Processing buffer {"connection_id":162835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:59:46] local.INFO: IMEI packet received {"connection_id":162835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":162835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:59:47] local.INFO: TCP Data received {"connection_id":162834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 11:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 11:59:47] local.INFO: Processing buffer {"connection_id":162834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 11:59:47] local.INFO: Packet analysis {"connection_id":162834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:59:47] local.INFO: Extracted packet for processing {"connection_id":162834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 11:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635575040001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 11:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 11:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787639266000,"timestamp_ms":1787639266000,"timestamp_seconds":1787639266,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a7ad0"} 
[2026-08-25 11:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 11:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 11:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 11:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 11:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 11:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635575040001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 11:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 11:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 11:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635575040001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 11:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 11:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635575040001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 11:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":162834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:59:47] local.INFO: GPS data processed {"connection_id":162834,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:59:47] local.INFO: Acknowledgment sent {"connection_id":162834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:59:47] local.INFO: TCP Data received {"connection_id":164218,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:59:47] local.INFO: Processing buffer {"connection_id":164218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:59:47] local.INFO: IMEI packet received {"connection_id":164218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 11:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":164218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 11:59:50] local.INFO: TCP Data received {"connection_id":162835,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:59:50] local.INFO: Processing buffer {"connection_id":162835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 11:59:50] local.INFO: IMEI packet received {"connection_id":162835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 11:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":162835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:59:51] local.INFO: TCP Data received {"connection_id":164218,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:59:51] local.INFO: Processing buffer {"connection_id":164218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:59:51] local.INFO: IMEI packet received {"connection_id":164218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":164218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:59:51] local.INFO: TCP Data received {"connection_id":162835,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a24e0012d808e0005c43680000900a52b..."} 
[2026-08-25 11:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a24e0012d808e0005c43680000900a52b..."} 
[2026-08-25 11:59:51] local.INFO: Processing buffer {"connection_id":162835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a24e0012d808e0005c43680000900a52b..."} 
[2026-08-25 11:59:51] local.INFO: Packet analysis {"connection_id":162835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:59:51] local.INFO: Extracted packet for processing {"connection_id":162835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:59:51] local.INFO: GPS Element Parsed {"raw_longitude":763399680,"raw_latitude":96745088,"longitude_deg":76.339968,"latitude_deg":9.6745088,"altitude":9,"angle":165,"satellites":43,"speed":6,"hex_longitude":"2d808e00","hex_latitude":"05c43680","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635641344001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123386829796802560,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184317359068913664,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787639244000,"timestamp_ms":1787639244000,"timestamp_seconds":1787639244,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a24e0"} 
[2026-08-25 11: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-25 11: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-25 11: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 11:59:51] 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-25 11: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-25 11: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-25 11:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635641344001,"66":13276,"156":206,"85":12288,"24":6,"16":123386829796802560,"45":-9184317359068913664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-25 11:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635641344001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:59:51] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-25 11:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123386829796802560,"km_value":123386829796802.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184317359068913664,"description":"Unknown IO ID 45"} 
[2026-08-25 11:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635641344001,"power":13276,"unknown_156":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-9184317359068913664}} 
[2026-08-25 11:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":162835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:59:51] local.INFO: GPS data processed {"connection_id":162835,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:59:51] local.INFO: Acknowledgment sent {"connection_id":162835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:59:52] local.INFO: TCP Data received {"connection_id":162835,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a57a8012d80908005c42f58000900972b..."} 
[2026-08-25 11:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a57a8012d80908005c42f58000900972b..."} 
[2026-08-25 11:59:52] local.INFO: Processing buffer {"connection_id":162835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a57a8012d80908005c42f58000900972b..."} 
[2026-08-25 11:59:52] local.INFO: Packet analysis {"connection_id":162835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:59:52] local.INFO: Extracted packet for processing {"connection_id":162835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:59:52] local.INFO: GPS Element Parsed {"raw_longitude":763400320,"raw_latitude":96743256,"longitude_deg":76.340032,"latitude_deg":9.6743256,"altitude":9,"angle":151,"satellites":43,"speed":9,"hex_longitude":"2d809080","hex_latitude":"05c42f58","is_valid_coordinates":true} 
[2026-08-25 11:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 11:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635646464001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123386928581050368,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183402565395120128,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787639257000,"timestamp_ms":1787639257000,"timestamp_seconds":1787639257,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a57a8"} 
[2026-08-25 11:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 11:59: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-25 11:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 11:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 11:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 11:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 11:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 11:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 11:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635646464001,"66":13504,"156":206,"85":12288,"24":9,"16":123386928581050368,"45":-9183402565395120128},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-25 11:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 11:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 11:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635646464001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:59:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-25 11:59:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 11:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123386928581050368,"km_value":123386928581050.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183402565395120128,"description":"Unknown IO ID 45"} 
[2026-08-25 11:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635646464001,"power":13504,"unknown_156":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":-9183402565395120128}} 
[2026-08-25 11:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":162835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:59:52] local.INFO: GPS data processed {"connection_id":162835,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:59:52] local.INFO: Acknowledgment sent {"connection_id":162835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 11:59:55] local.INFO: TCP Data received {"connection_id":164218,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:59:55] local.INFO: Processing buffer {"connection_id":164218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 11:59:55] local.INFO: IMEI packet received {"connection_id":164218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 11:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":164218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 11:59:56] local.INFO: TCP Data received {"connection_id":164218,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379afbb8012d18340007219668004a01231b..."} 
[2026-08-25 11:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379afbb8012d18340007219668004a01231b..."} 
[2026-08-25 11:59:56] local.INFO: Processing buffer {"connection_id":164218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379afbb8012d18340007219668004a01231b..."} 
[2026-08-25 11:59:56] local.INFO: Packet analysis {"connection_id":164218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:59:56] local.INFO: Extracted packet for processing {"connection_id":164218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 11:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756560896,"raw_latitude":119641704,"longitude_deg":75.6560896,"latitude_deg":11.9641704,"altitude":74,"angle":291,"satellites":27,"speed":25,"hex_longitude":"2d183400","hex_latitude":"07219668","is_valid_coordinates":true} 
[2026-08-25 11: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-25 11:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635657216001,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15818776868028416,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753237291813861376,"note":"Value kept but may cause issues"} 
[2026-08-25 11:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 11:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787639299000,"timestamp_ms":1787639299000,"timestamp_seconds":1787639299,"priority":1,"record_length":96,"hex_timestamp":"000001a0379afbb8"} 
[2026-08-25 11: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-25 11:59:56] 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-25 11: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-25 11:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 11: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-25 11: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-25 11:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 11:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 11:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 11:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 11:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 11:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 11:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635657216001,"66":14102,"121":206,"28":31744,"24":25,"16":15818776868028416,"45":1753237291813861376},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 11:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 11:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 11:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635657216001,"description":"Unknown IO ID 0"} 
[2026-08-25 11:59:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 11:59:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 11:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15818776868028416,"km_value":15818776868028.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 11:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753237291813861376,"description":"Unknown IO ID 45"} 
[2026-08-25 11:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635657216001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1753237291813861376}} 
[2026-08-25 11:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":164218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 11:59:56] local.INFO: GPS data processed {"connection_id":164218,"processed":1,"errors":0,"total":1} 
[2026-08-25 11:59:56] local.INFO: Acknowledgment sent {"connection_id":164218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:00:19] local.INFO: TCP Data received {"connection_id":162834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:00:19] local.INFO: Processing buffer {"connection_id":162834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:00:19] local.INFO: Packet analysis {"connection_id":162834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:00:19] local.INFO: Extracted packet for processing {"connection_id":162834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635575040001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787639266000,"timestamp_ms":1787639266000,"timestamp_seconds":1787639266,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a7ad0"} 
[2026-08-25 12:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635575040001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635575040001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635575040001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":162834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:00:19] local.INFO: GPS data processed {"connection_id":162834,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:00:19] local.INFO: Acknowledgment sent {"connection_id":162834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:00:23] local.INFO: TCP Data received {"connection_id":162835,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a9628012d80968005c42488000800a92c..."} 
[2026-08-25 12:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a9628012d80968005c42488000800a92c..."} 
[2026-08-25 12:00:23] local.INFO: Processing buffer {"connection_id":162835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a9628012d80968005c42488000800a92c..."} 
[2026-08-25 12:00:23] local.INFO: Packet analysis {"connection_id":162835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:00:23] local.INFO: Extracted packet for processing {"connection_id":162835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:00:23] local.INFO: GPS Element Parsed {"raw_longitude":763401856,"raw_latitude":96740488,"longitude_deg":76.3401856,"latitude_deg":9.6740488,"altitude":8,"angle":169,"satellites":44,"speed":8,"hex_longitude":"2d809680","hex_latitude":"05c42488","is_valid_coordinates":true} 
[2026-08-25 12:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635649792001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123387083199873024,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9182698877953812480,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787639273000,"timestamp_ms":1787639273000,"timestamp_seconds":1787639273,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a9628"} 
[2026-08-25 12:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-25 12:00:23] 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-25 12:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635649792001,"66":13363,"156":206,"85":12288,"24":8,"16":123387083199873024,"45":-9182698877953812480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-25 12:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635649792001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:00:23] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-25 12:00:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123387083199873024,"km_value":123387083199873.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9182698877953812480,"description":"Unknown IO ID 45"} 
[2026-08-25 12:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635649792001,"power":13363,"unknown_156":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":-9182698877953812480}} 
[2026-08-25 12:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":162835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:00:23] local.INFO: GPS data processed {"connection_id":162835,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:00:23] local.INFO: Acknowledgment sent {"connection_id":162835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:00:27] local.INFO: TCP Data received {"connection_id":164218,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379b0b58012d182c0007219ae0004901311a..."} 
[2026-08-25 12:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379b0b58012d182c0007219ae0004901311a..."} 
[2026-08-25 12:00:27] local.INFO: Processing buffer {"connection_id":164218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379b0b58012d182c0007219ae0004901311a..."} 
[2026-08-25 12:00:27] local.INFO: Packet analysis {"connection_id":164218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379b"} 
[2026-08-25 12:00:27] local.INFO: Extracted packet for processing {"connection_id":164218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379b"} 
[2026-08-25 12:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119642848,"longitude_deg":75.6558848,"latitude_deg":11.9642848,"altitude":73,"angle":305,"satellites":26,"speed":20,"hex_longitude":"2d182c00","hex_latitude":"07219ae0","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635660544001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15818888537178112,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744018986327500800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787639303000,"timestamp_ms":1787639303000,"timestamp_seconds":1787639303,"priority":1,"record_length":96,"hex_timestamp":"000001a0379b0b58"} 
[2026-08-25 12: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-25 12:00:27] 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-25 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 12:00:27] 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-25 12: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-25 12: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-25 12:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635660544001,"66":14102,"121":206,"28":31744,"24":20,"16":15818888537178112,"45":1744018986327500800},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635660544001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:00:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:00:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15818888537178112,"km_value":15818888537178.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744018986327500800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635660544001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1744018986327500800}} 
[2026-08-25 12:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":164218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:00:28] local.INFO: GPS data processed {"connection_id":164218,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:00:28] local.INFO: Acknowledgment sent {"connection_id":164218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:00:40] local.INFO: TCP Data received {"connection_id":161596,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:00:40] local.INFO: Processing buffer {"connection_id":161596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:00:40] local.INFO: IMEI packet received {"connection_id":161596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":161596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:00:41] local.INFO: TCP Data received {"connection_id":162836,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:00:41] local.INFO: Processing buffer {"connection_id":162836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:00:41] local.INFO: IMEI packet received {"connection_id":162836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":162836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:00:46] local.INFO: TCP Data received {"connection_id":162836,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:00:46] local.INFO: Processing buffer {"connection_id":162836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:00:46] local.INFO: IMEI packet received {"connection_id":162836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":162836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:00:47] local.INFO: TCP Data received {"connection_id":162836,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379ae060012d80978005c41d70000800b92b..."} 
[2026-08-25 12:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379ae060012d80978005c41d70000800b92b..."} 
[2026-08-25 12:00:47] local.INFO: Processing buffer {"connection_id":162836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379ae060012d80978005c41d70000800b92b..."} 
[2026-08-25 12:00:47] local.INFO: Packet analysis {"connection_id":162836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:00:47] local.INFO: Extracted packet for processing {"connection_id":162836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:00:47] local.INFO: GPS Element Parsed {"raw_longitude":763402112,"raw_latitude":96738672,"longitude_deg":76.3402112,"latitude_deg":9.6738672,"altitude":8,"angle":185,"satellites":43,"speed":2,"hex_longitude":"2d809780","hex_latitude":"05c41d70","is_valid_coordinates":true} 
[2026-08-25 12:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635653888001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123387177689153536,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181010028094257152,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787639292000,"timestamp_ms":1787639292000,"timestamp_seconds":1787639292,"priority":1,"record_length":96,"hex_timestamp":"000001a0379ae060"} 
[2026-08-25 12:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:00: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-25 12:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 12:00: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-25 12:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635653888001,"66":13602,"156":206,"85":12288,"24":2,"16":123387177689153536,"45":-9181010028094257152},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-25 12:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635653888001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:00:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-25 12:00:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123387177689153536,"km_value":123387177689153.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181010028094257152,"description":"Unknown IO ID 45"} 
[2026-08-25 12:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635653888001,"power":13602,"unknown_156":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-9181010028094257152}} 
[2026-08-25 12:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":162836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:00:47] local.INFO: GPS data processed {"connection_id":162836,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:00:47] local.INFO: Acknowledgment sent {"connection_id":162836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:00:50] local.INFO: TCP Data received {"connection_id":161596,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:00:50] local.INFO: Processing buffer {"connection_id":161596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:00:50] local.INFO: IMEI packet received {"connection_id":161596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":161596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:00:51] local.INFO: TCP Data received {"connection_id":162837,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:00:51] local.INFO: Processing buffer {"connection_id":162837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:00:51] local.INFO: IMEI packet received {"connection_id":162837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":162837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:00:52] local.INFO: TCP Data received {"connection_id":162837,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:00:52] local.INFO: Processing buffer {"connection_id":162837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:00:52] local.INFO: IMEI packet received {"connection_id":162837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":162837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:00:54] local.INFO: TCP Data received {"connection_id":161596,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:00:54] local.INFO: Processing buffer {"connection_id":161596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:00:54] local.INFO: Packet analysis {"connection_id":161596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:00:54] local.INFO: Extracted packet for processing {"connection_id":161596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:00:54] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635575040001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787639266000,"timestamp_ms":1787639266000,"timestamp_seconds":1787639266,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a7ad0"} 
[2026-08-25 12: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-25 12:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635575040001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635575040001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:00:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635575040001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":161596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:00:54] local.INFO: GPS data processed {"connection_id":161596,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:00:54] local.INFO: Acknowledgment sent {"connection_id":161596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:00:56] local.INFO: TCP Data received {"connection_id":162837,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:00:56] local.INFO: Processing buffer {"connection_id":162837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:00:56] local.INFO: IMEI packet received {"connection_id":162837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":162837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:00:57] local.INFO: TCP Data received {"connection_id":162837,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379c99c8012d181e800721afd8004701401b..."} 
[2026-08-25 12:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379c99c8012d181e800721afd8004701401b..."} 
[2026-08-25 12:00:57] local.INFO: Processing buffer {"connection_id":162837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379c99c8012d181e800721afd8004701401b..."} 
[2026-08-25 12:00:57] local.INFO: Packet analysis {"connection_id":162837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379c"} 
[2026-08-25 12:00:57] local.INFO: Extracted packet for processing {"connection_id":162837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379c"} 
[2026-08-25 12:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648216,"longitude_deg":75.6555392,"latitude_deg":11.9648216,"altitude":71,"angle":320,"satellites":27,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-08-25 12:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635682304001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15819309443973120,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329890816,"note":"Value kept but may cause issues"} 
[2026-08-25 12:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787639405000,"timestamp_ms":1787639405000,"timestamp_seconds":1787639405,"priority":1,"record_length":96,"hex_timestamp":"000001a0379c99c8"} 
[2026-08-25 12:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:00:57] 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-25 12:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-25 12:00:57] 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-25 12:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635682304001,"66":13135,"120":206,"28":31744,"24":0,"16":15819309443973120,"45":1737967274329890816},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 12:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635682304001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:00:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:00:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15819309443973120,"km_value":15819309443973.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329890816,"description":"Unknown IO ID 45"} 
[2026-08-25 12:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635682304001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329890816}} 
[2026-08-25 12:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":162837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:00:57] local.INFO: GPS data processed {"connection_id":162837,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:00:57] local.INFO: Acknowledgment sent {"connection_id":162837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:01:19] local.INFO: TCP Data received {"connection_id":162836,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379b2e80012d8097c005c411d0000700b32b..."} 
[2026-08-25 12:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379b2e80012d8097c005c411d0000700b32b..."} 
[2026-08-25 12:01:19] local.INFO: Processing buffer {"connection_id":162836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379b2e80012d8097c005c411d0000700b32b..."} 
[2026-08-25 12:01:19] local.INFO: Packet analysis {"connection_id":162836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379b"} 
[2026-08-25 12:01:19] local.INFO: Extracted packet for processing {"connection_id":162836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379b"} 
[2026-08-25 12:01:19] local.INFO: GPS Element Parsed {"raw_longitude":763402176,"raw_latitude":96735696,"longitude_deg":76.3402176,"latitude_deg":9.6735696,"altitude":7,"angle":179,"satellites":43,"speed":5,"hex_longitude":"2d8097c0","hex_latitude":"05c411d0","is_valid_coordinates":true} 
[2026-08-25 12:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635658752001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123387319423074304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9180728553118011392,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787639312000,"timestamp_ms":1787639312000,"timestamp_seconds":1787639312,"priority":1,"record_length":96,"hex_timestamp":"000001a0379b2e80"} 
[2026-08-25 12:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:01: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-25 12:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 12:01:19] 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-25 12:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635658752001,"66":13124,"156":206,"85":12288,"24":5,"16":123387319423074304,"45":-9180728553118011392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-25 12:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635658752001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:01:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-25 12:01:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123387319423074304,"km_value":123387319423074.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9180728553118011392,"description":"Unknown IO ID 45"} 
[2026-08-25 12:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635658752001,"power":13124,"unknown_156":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-9180728553118011392}} 
[2026-08-25 12:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":162836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:01:19] local.INFO: GPS data processed {"connection_id":162836,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:01:19] local.INFO: Acknowledgment sent {"connection_id":162836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:01:28] local.INFO: TCP Data received {"connection_id":162837,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379ce7e8012d181e800721afd80047014021..."} 
[2026-08-25 12:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379ce7e8012d181e800721afd80047014021..."} 
[2026-08-25 12:01:28] local.INFO: Processing buffer {"connection_id":162837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379ce7e8012d181e800721afd80047014021..."} 
[2026-08-25 12:01:28] local.INFO: Packet analysis {"connection_id":162837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379c"} 
[2026-08-25 12:01:28] local.INFO: Extracted packet for processing {"connection_id":162837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379c"} 
[2026-08-25 12:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648216,"longitude_deg":75.6555392,"latitude_deg":11.9648216,"altitude":71,"angle":320,"satellites":33,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-08-25 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-25 12:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635687680001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15819309443973120,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329888768,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787639425000,"timestamp_ms":1787639425000,"timestamp_seconds":1787639425,"priority":1,"record_length":96,"hex_timestamp":"000001a0379ce7e8"} 
[2026-08-25 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-25 12:01:28] 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-25 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 12:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 12:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635687680001,"66":13091,"120":206,"28":31744,"24":0,"16":15819309443973120,"45":1737967274329888768},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 12:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635687680001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:01:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:01:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15819309443973120,"km_value":15819309443973.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329888768,"description":"Unknown IO ID 45"} 
[2026-08-25 12:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635687680001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329888768}} 
[2026-08-25 12:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":162837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:01:28] local.INFO: GPS data processed {"connection_id":162837,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:01:28] local.INFO: Acknowledgment sent {"connection_id":162837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:01:41] local.INFO: TCP Data received {"connection_id":161597,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:01:41] local.INFO: Processing buffer {"connection_id":161597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:01:41] local.INFO: IMEI packet received {"connection_id":161597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":161597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:01:45] local.INFO: TCP Data received {"connection_id":164219,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:01:45] local.INFO: Processing buffer {"connection_id":164219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:01:45] local.INFO: IMEI packet received {"connection_id":164219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":164219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:01:46] local.INFO: TCP Data received {"connection_id":161597,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:01:46] local.INFO: Processing buffer {"connection_id":161597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:01:46] local.INFO: IMEI packet received {"connection_id":161597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":161597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:01:47] local.INFO: TCP Data received {"connection_id":161597,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379b6918012d80980005c40af8000800bf2b..."} 
[2026-08-25 12:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379b6918012d80980005c40af8000800bf2b..."} 
[2026-08-25 12:01:47] local.INFO: Processing buffer {"connection_id":161597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379b6918012d80980005c40af8000800bf2b..."} 
[2026-08-25 12:01:47] local.INFO: Packet analysis {"connection_id":161597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379b"} 
[2026-08-25 12:01:47] local.INFO: Extracted packet for processing {"connection_id":161597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379b"} 
[2026-08-25 12:01:47] local.INFO: GPS Element Parsed {"raw_longitude":763402240,"raw_latitude":96733944,"longitude_deg":76.340224,"latitude_deg":9.6733944,"altitude":8,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d809800","hex_latitude":"05c40af8","is_valid_coordinates":true} 
[2026-08-25 12:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635663872001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123387405322420224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9180658184374595584,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787639327000,"timestamp_ms":1787639327000,"timestamp_seconds":1787639327,"priority":1,"record_length":96,"hex_timestamp":"000001a0379b6918"} 
[2026-08-25 12:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:01: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-25 12:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-25 12:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635663872001,"66":12939,"156":206,"85":12288,"24":0,"16":123387405322420224,"45":-9180658184374595584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-25 12:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635663872001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:01:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-25 12:01:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123387405322420224,"km_value":123387405322420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9180658184374595584,"description":"Unknown IO ID 45"} 
[2026-08-25 12:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635663872001,"power":12939,"unknown_156":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9180658184374595584}} 
[2026-08-25 12:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":161597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:01:47] local.INFO: GPS data processed {"connection_id":161597,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:01:47] local.INFO: Acknowledgment sent {"connection_id":161597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:01:50] local.INFO: TCP Data received {"connection_id":162838,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:01:50] local.INFO: Processing buffer {"connection_id":162838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:01:50] local.INFO: IMEI packet received {"connection_id":162838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":162838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:01:50] local.INFO: TCP Data received {"connection_id":164219,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:01:50] local.INFO: Processing buffer {"connection_id":164219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:01:50] local.INFO: IMEI packet received {"connection_id":164219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":164219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:01:51] local.INFO: TCP Data received {"connection_id":164219,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:01:51] local.INFO: Processing buffer {"connection_id":164219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:01:51] local.INFO: Packet analysis {"connection_id":164219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:01:51] local.INFO: Extracted packet for processing {"connection_id":164219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635575040001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787639266000,"timestamp_ms":1787639266000,"timestamp_seconds":1787639266,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a7ad0"} 
[2026-08-25 12:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635575040001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635575040001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635575040001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":164219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:01:51] local.INFO: GPS data processed {"connection_id":164219,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:01:51] local.INFO: Acknowledgment sent {"connection_id":164219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:01:54] local.INFO: TCP Data received {"connection_id":162838,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:01:54] local.INFO: Processing buffer {"connection_id":162838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:01:54] local.INFO: IMEI packet received {"connection_id":162838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":162838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:01:55] local.INFO: TCP Data received {"connection_id":162838,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379d3608012d181e800721afd80047014024..."} 
[2026-08-25 12:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379d3608012d181e800721afd80047014024..."} 
[2026-08-25 12:01:55] local.INFO: Processing buffer {"connection_id":162838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379d3608012d181e800721afd80047014024..."} 
[2026-08-25 12:01:55] local.INFO: Packet analysis {"connection_id":162838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379d"} 
[2026-08-25 12:01:55] local.INFO: Extracted packet for processing {"connection_id":162838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379d"} 
[2026-08-25 12:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648216,"longitude_deg":75.6555392,"latitude_deg":11.9648216,"altitude":71,"angle":320,"satellites":36,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-08-25 12:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635692800001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15819309443973120,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329888768,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787639445000,"timestamp_ms":1787639445000,"timestamp_seconds":1787639445,"priority":1,"record_length":96,"hex_timestamp":"000001a0379d3608"} 
[2026-08-25 12:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:01:55] 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-25 12:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 12:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635692800001,"66":12645,"120":206,"28":31744,"24":0,"16":15819309443973120,"45":1737967274329888768},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 12:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635692800001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:01:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15819309443973120,"km_value":15819309443973.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329888768,"description":"Unknown IO ID 45"} 
[2026-08-25 12:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635692800001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329888768}} 
[2026-08-25 12:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":162838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:01:55] local.INFO: GPS data processed {"connection_id":162838,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:01:55] local.INFO: Acknowledgment sent {"connection_id":162838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:01:56] local.INFO: TCP Data received {"connection_id":164219,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:01:56] local.INFO: Processing buffer {"connection_id":164219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:01:56] local.INFO: Packet analysis {"connection_id":164219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:01:56] local.INFO: Extracted packet for processing {"connection_id":164219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:01:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635575040001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787639266000,"timestamp_ms":1787639266000,"timestamp_seconds":1787639266,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a7ad0"} 
[2026-08-25 12: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-25 12:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635575040001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635575040001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:01:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635575040001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":164219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:01:56] local.INFO: GPS data processed {"connection_id":164219,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:01:56] local.INFO: Acknowledgment sent {"connection_id":164219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:02:19] local.INFO: TCP Data received {"connection_id":161597,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379baf68012d8097c005c403b8000800b22b..."} 
[2026-08-25 12:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379baf68012d8097c005c403b8000800b22b..."} 
[2026-08-25 12:02:19] local.INFO: Processing buffer {"connection_id":161597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379baf68012d8097c005c403b8000800b22b..."} 
[2026-08-25 12:02:19] local.INFO: Packet analysis {"connection_id":161597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379b"} 
[2026-08-25 12:02:19] local.INFO: Extracted packet for processing {"connection_id":161597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379b"} 
[2026-08-25 12:02:19] local.INFO: GPS Element Parsed {"raw_longitude":763402176,"raw_latitude":96732088,"longitude_deg":76.3402176,"latitude_deg":9.6732088,"altitude":8,"angle":178,"satellites":43,"speed":5,"hex_longitude":"2d8097c0","hex_latitude":"05c403b8","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635667712001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123387495516733440,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9180587815630866432,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787639345000,"timestamp_ms":1787639345000,"timestamp_seconds":1787639345,"priority":1,"record_length":96,"hex_timestamp":"000001a0379baf68"} 
[2026-08-25 12: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-25 12:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 12:02:19] 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-25 12: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-25 12: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-25 12:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635667712001,"66":13624,"156":206,"85":12288,"24":5,"16":123387495516733440,"45":-9180587815630866432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-25 12:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635667712001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:02:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-25 12:02:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123387495516733440,"km_value":123387495516733.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9180587815630866432,"description":"Unknown IO ID 45"} 
[2026-08-25 12:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635667712001,"power":13624,"unknown_156":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-9180587815630866432}} 
[2026-08-25 12:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":161597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:02:19] local.INFO: GPS data processed {"connection_id":161597,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:02:19] local.INFO: Acknowledgment sent {"connection_id":161597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:02:27] local.INFO: TCP Data received {"connection_id":162838,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379d8040012d181e800721afd80047014024..."} 
[2026-08-25 12:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379d8040012d181e800721afd80047014024..."} 
[2026-08-25 12:02:27] local.INFO: Processing buffer {"connection_id":162838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379d8040012d181e800721afd80047014024..."} 
[2026-08-25 12:02:27] local.INFO: Packet analysis {"connection_id":162838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379d"} 
[2026-08-25 12:02:27] local.INFO: Extracted packet for processing {"connection_id":162838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379d"} 
[2026-08-25 12:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648216,"longitude_deg":75.6555392,"latitude_deg":11.9648216,"altitude":71,"angle":320,"satellites":36,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635697920001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15819309443973120,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329888768,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787639464000,"timestamp_ms":1787639464000,"timestamp_seconds":1787639464,"priority":1,"record_length":96,"hex_timestamp":"000001a0379d8040"} 
[2026-08-25 12: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-25 12:02:27] 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-25 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-25 12:02:27] 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-25 12: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-25 12: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-25 12:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635697920001,"66":13091,"120":206,"28":31744,"24":0,"16":15819309443973120,"45":1737967274329888768},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 12:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635697920001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:02:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:02:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15819309443973120,"km_value":15819309443973.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329888768,"description":"Unknown IO ID 45"} 
[2026-08-25 12:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635697920001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329888768}} 
[2026-08-25 12:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":162838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:02:27] local.INFO: GPS data processed {"connection_id":162838,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:02:27] local.INFO: Acknowledgment sent {"connection_id":162838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:02:40] local.INFO: TCP Data received {"connection_id":161598,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:02:40] local.INFO: Processing buffer {"connection_id":161598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:02:40] local.INFO: IMEI packet received {"connection_id":161598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":161598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:02:41] local.INFO: TCP Data received {"connection_id":161599,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:02:41] local.INFO: Processing buffer {"connection_id":161599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:02:41] local.INFO: IMEI packet received {"connection_id":161599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":161599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:02:45] local.INFO: TCP Data received {"connection_id":161598,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:02:45] local.INFO: Processing buffer {"connection_id":161598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:02:45] local.INFO: IMEI packet received {"connection_id":161598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":161598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:02:46] local.INFO: TCP Data received {"connection_id":161598,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:02:46] local.INFO: Processing buffer {"connection_id":161598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:02:46] local.INFO: Packet analysis {"connection_id":161598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:02:46] local.INFO: Extracted packet for processing {"connection_id":161598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635575040001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787639266000,"timestamp_ms":1787639266000,"timestamp_seconds":1787639266,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a7ad0"} 
[2026-08-25 12:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635575040001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635575040001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635575040001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":161598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:02:46] local.INFO: GPS data processed {"connection_id":161598,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:02:46] local.INFO: Acknowledgment sent {"connection_id":161598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:02:46] local.INFO: TCP Data received {"connection_id":161599,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:02:46] local.INFO: Processing buffer {"connection_id":161599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:02:46] local.INFO: IMEI packet received {"connection_id":161599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":161599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:02:48] local.INFO: TCP Data received {"connection_id":161599,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379bd290012d80974005c3fd90000800be2b..."} 
[2026-08-25 12:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379bd290012d80974005c3fd90000800be2b..."} 
[2026-08-25 12:02:48] local.INFO: Processing buffer {"connection_id":161599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379bd290012d80974005c3fd90000800be2b..."} 
[2026-08-25 12:02:48] local.INFO: Packet analysis {"connection_id":161599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379b"} 
[2026-08-25 12:02:48] local.INFO: Extracted packet for processing {"connection_id":161599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379b"} 
[2026-08-25 12:02:48] local.INFO: GPS Element Parsed {"raw_longitude":763402048,"raw_latitude":96730512,"longitude_deg":76.3402048,"latitude_deg":9.6730512,"altitude":8,"angle":190,"satellites":43,"speed":6,"hex_longitude":"2d809740","hex_latitude":"05c3fd90","is_valid_coordinates":true} 
[2026-08-25 12:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635672320001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123387577121112064,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9180658184375519232,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787639354000,"timestamp_ms":1787639354000,"timestamp_seconds":1787639354,"priority":1,"record_length":96,"hex_timestamp":"000001a0379bd290"} 
[2026-08-25 12:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:02: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-25 12:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 12:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635672320001,"66":13504,"156":206,"85":12288,"24":6,"16":123387577121112064,"45":-9180658184375519232},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-25 12:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635672320001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:02:48] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-25 12:02:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123387577121112064,"km_value":123387577121112.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9180658184375519232,"description":"Unknown IO ID 45"} 
[2026-08-25 12:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635672320001,"power":13504,"unknown_156":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-9180658184375519232}} 
[2026-08-25 12:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":161599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:02:48] local.INFO: GPS data processed {"connection_id":161599,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:02:48] local.INFO: Acknowledgment sent {"connection_id":161599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:02:50] local.INFO: TCP Data received {"connection_id":164220,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:02:50] local.INFO: Processing buffer {"connection_id":164220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:02:50] local.INFO: IMEI packet received {"connection_id":164220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":164220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:02:55] local.INFO: TCP Data received {"connection_id":164220,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:02:55] local.INFO: Processing buffer {"connection_id":164220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:02:55] local.INFO: IMEI packet received {"connection_id":164220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":164220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:02:56] local.INFO: TCP Data received {"connection_id":164220,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379dce60012d181e800721afd80047014025..."} 
[2026-08-25 12:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379dce60012d181e800721afd80047014025..."} 
[2026-08-25 12:02:56] local.INFO: Processing buffer {"connection_id":164220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379dce60012d181e800721afd80047014025..."} 
[2026-08-25 12:02:56] local.INFO: Packet analysis {"connection_id":164220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379d"} 
[2026-08-25 12:02:56] local.INFO: Extracted packet for processing {"connection_id":164220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379d"} 
[2026-08-25 12:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648216,"longitude_deg":75.6555392,"latitude_deg":11.9648216,"altitude":71,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-08-25 12:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635702784001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15819309443973120,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329888768,"note":"Value kept but may cause issues"} 
[2026-08-25 12:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787639484000,"timestamp_ms":1787639484000,"timestamp_seconds":1787639484,"priority":1,"record_length":96,"hex_timestamp":"000001a0379dce60"} 
[2026-08-25 12:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:02:56] 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-25 12:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 12:02:56] 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-25 12:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635702784001,"66":13048,"120":206,"28":31744,"24":0,"16":15819309443973120,"45":1737967274329888768},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 12:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635702784001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:02:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:02:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15819309443973120,"km_value":15819309443973.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329888768,"description":"Unknown IO ID 45"} 
[2026-08-25 12:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635702784001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329888768}} 
[2026-08-25 12:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":164220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:02:56] local.INFO: GPS data processed {"connection_id":164220,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:02:56] local.INFO: Acknowledgment sent {"connection_id":164220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:03:18] local.INFO: TCP Data received {"connection_id":161598,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:03:18] local.INFO: Processing buffer {"connection_id":161598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379a7ad0012d34c0c006aa4878000800552b..."} 
[2026-08-25 12:03:18] local.INFO: Packet analysis {"connection_id":161598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:03:18] local.INFO: Extracted packet for processing {"connection_id":161598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379a"} 
[2026-08-25 12:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635575040001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787639266000,"timestamp_ms":1787639266000,"timestamp_seconds":1787639266,"priority":1,"record_length":96,"hex_timestamp":"000001a0379a7ad0"} 
[2026-08-25 12: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-25 12:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635575040001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635575040001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635575040001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":161598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:03:18] local.INFO: GPS data processed {"connection_id":161598,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:03:18] local.INFO: Acknowledgment sent {"connection_id":161598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:03:19] local.INFO: TCP Data received {"connection_id":161599,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f5cd0012d807e0005c359d0000900d72b..."} 
[2026-08-25 12:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f5cd0012d807e0005c359d0000900d72b..."} 
[2026-08-25 12:03:19] local.INFO: Processing buffer {"connection_id":161599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f5cd0012d807e0005c359d0000900d72b..."} 
[2026-08-25 12:03:19] local.INFO: Packet analysis {"connection_id":161599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:03:19] local.INFO: Extracted packet for processing {"connection_id":161599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:03:19] local.INFO: GPS Element Parsed {"raw_longitude":763395584,"raw_latitude":96688592,"longitude_deg":76.3395584,"latitude_deg":9.6688592,"altitude":9,"angle":215,"satellites":43,"speed":12,"hex_longitude":"2d807e00","hex_latitude":"05c359d0","is_valid_coordinates":true} 
[2026-08-25 12:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635731200001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123389668770185216,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187202477594480640,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787639586000,"timestamp_ms":1787639586000,"timestamp_seconds":1787639586,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f5cd0"} 
[2026-08-25 12:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12: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-25 12:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 12:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635731200001,"66":13515,"157":206,"85":12288,"24":12,"16":123389668770185216,"45":-9187202477594480640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-25 12:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635731200001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:03:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-25 12:03:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123389668770185216,"km_value":123389668770185.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187202477594480640,"description":"Unknown IO ID 45"} 
[2026-08-25 12:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635731200001,"power":13515,"unknown_157":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":-9187202477594480640}} 
[2026-08-25 12:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":161599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:03:19] local.INFO: GPS data processed {"connection_id":161599,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:03:19] local.INFO: Acknowledgment sent {"connection_id":161599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:03:28] local.INFO: TCP Data received {"connection_id":164220,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379e1898012d181e800721afd80047014025..."} 
[2026-08-25 12:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379e1898012d181e800721afd80047014025..."} 
[2026-08-25 12:03:28] local.INFO: Processing buffer {"connection_id":164220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379e1898012d181e800721afd80047014025..."} 
[2026-08-25 12:03:28] local.INFO: Packet analysis {"connection_id":164220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379e"} 
[2026-08-25 12:03:28] local.INFO: Extracted packet for processing {"connection_id":164220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379e"} 
[2026-08-25 12:03:28] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648216,"longitude_deg":75.6555392,"latitude_deg":11.9648216,"altitude":71,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635707904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15819309443973120,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329888768,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787639503000,"timestamp_ms":1787639503000,"timestamp_seconds":1787639503,"priority":1,"record_length":96,"hex_timestamp":"000001a0379e1898"} 
[2026-08-25 12: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-25 12:03:28] 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-25 12: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 12:03:28] 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-25 12: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-25 12: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-25 12:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635707904001,"66":13037,"120":206,"28":31744,"24":0,"16":15819309443973120,"45":1737967274329888768},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 12:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635707904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:03:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:03:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15819309443973120,"km_value":15819309443973.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329888768,"description":"Unknown IO ID 45"} 
[2026-08-25 12:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635707904001,"power":13037,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329888768}} 
[2026-08-25 12:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":164220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:03:28] local.INFO: GPS data processed {"connection_id":164220,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:03:28] local.INFO: Acknowledgment sent {"connection_id":164220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:03:39] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:03:39] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:03:39] local.INFO: IMEI packet received {"connection_id":161840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":161840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:03:40] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:03:40] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:03:40] local.INFO: IMEI packet received {"connection_id":161839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":161839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:03:41] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:03:41] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:03:41] local.INFO: IMEI packet received {"connection_id":161840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":161840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:03:45] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:03:45] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:03:45] local.INFO: IMEI packet received {"connection_id":161839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":161839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:03:45] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:03:45] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:03:45] local.INFO: IMEI packet received {"connection_id":161840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":161840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:03:46] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:03:46] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:03:46] local.INFO: Packet analysis {"connection_id":161839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:03:46] local.INFO: Extracted packet for processing {"connection_id":161839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635652096001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787639567000,"timestamp_ms":1787639567000,"timestamp_seconds":1787639567,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f1298"} 
[2026-08-25 12:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635652096001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635652096001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635652096001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":161839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:03:46] local.INFO: GPS data processed {"connection_id":161839,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:03:46] local.INFO: Acknowledgment sent {"connection_id":161839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:03:46] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f6c70012d807b4005c35450000a00c72b..."} 
[2026-08-25 12:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f6c70012d807b4005c35450000a00c72b..."} 
[2026-08-25 12:03:46] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f6c70012d807b4005c35450000a00c72b..."} 
[2026-08-25 12:03:46] local.INFO: Packet analysis {"connection_id":161840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:03:46] local.INFO: Extracted packet for processing {"connection_id":161840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:03:46] local.INFO: GPS Element Parsed {"raw_longitude":763394880,"raw_latitude":96687184,"longitude_deg":76.339488,"latitude_deg":9.6687184,"altitude":10,"angle":199,"satellites":43,"speed":20,"hex_longitude":"2d807b40","hex_latitude":"05c35450","is_valid_coordinates":true} 
[2026-08-25 12:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635734016001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123389746079596544,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187906165036953600,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787639590000,"timestamp_ms":1787639590000,"timestamp_seconds":1787639590,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f6c70"} 
[2026-08-25 12:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 12:03:46] 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-25 12:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635734016001,"66":13526,"157":206,"85":12288,"24":20,"16":123389746079596544,"45":-9187906165036953600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-25 12:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635734016001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:03:46] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-25 12:03:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123389746079596544,"km_value":123389746079596.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187906165036953600,"description":"Unknown IO ID 45"} 
[2026-08-25 12:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635734016001,"power":13526,"unknown_157":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":-9187906165036953600}} 
[2026-08-25 12:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":161840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:03:46] local.INFO: GPS data processed {"connection_id":161840,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:03:46] local.INFO: Acknowledgment sent {"connection_id":161840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:03:50] local.INFO: TCP Data received {"connection_id":161600,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:03:50] local.INFO: Processing buffer {"connection_id":161600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:03:50] local.INFO: IMEI packet received {"connection_id":161600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":161600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:03:55] local.INFO: TCP Data received {"connection_id":161600,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:03:55] local.INFO: Processing buffer {"connection_id":161600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:03:55] local.INFO: IMEI packet received {"connection_id":161600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":161600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:03:57] local.INFO: TCP Data received {"connection_id":161600,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379e66b8012d181e800721afd80047014026..."} 
[2026-08-25 12:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379e66b8012d181e800721afd80047014026..."} 
[2026-08-25 12:03:57] local.INFO: Processing buffer {"connection_id":161600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379e66b8012d181e800721afd80047014026..."} 
[2026-08-25 12:03:57] local.INFO: Packet analysis {"connection_id":161600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379e"} 
[2026-08-25 12:03:57] local.INFO: Extracted packet for processing {"connection_id":161600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379e"} 
[2026-08-25 12:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648216,"longitude_deg":75.6555392,"latitude_deg":11.9648216,"altitude":71,"angle":320,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-08-25 12:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635712768001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15819309443973120,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329888768,"note":"Value kept but may cause issues"} 
[2026-08-25 12:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787639523000,"timestamp_ms":1787639523000,"timestamp_seconds":1787639523,"priority":1,"record_length":96,"hex_timestamp":"000001a0379e66b8"} 
[2026-08-25 12:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-25 12:03:57] 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-25 12:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635712768001,"66":13015,"120":206,"28":31744,"24":0,"16":15819309443973120,"45":1737967274329888768},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 12:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635712768001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:03:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:03:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15819309443973120,"km_value":15819309443973.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329888768,"description":"Unknown IO ID 45"} 
[2026-08-25 12:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635712768001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329888768}} 
[2026-08-25 12:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":161600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:03:57] local.INFO: GPS data processed {"connection_id":161600,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:03:57] local.INFO: Acknowledgment sent {"connection_id":161600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:04:17] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f7c10012d80790005c349a0000a00ba2b..."} 
[2026-08-25 12:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f7c10012d80790005c349a0000a00ba2b..."} 
[2026-08-25 12:04:17] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f7c10012d80790005c349a0000a00ba2b..."} 
[2026-08-25 12:04:17] local.INFO: Packet analysis {"connection_id":161840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:04:17] local.INFO: Extracted packet for processing {"connection_id":161840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:04:17] local.INFO: GPS Element Parsed {"raw_longitude":763394304,"raw_latitude":96684448,"longitude_deg":76.3394304,"latitude_deg":9.6684448,"altitude":10,"angle":186,"satellites":43,"speed":30,"hex_longitude":"2d807900","hex_latitude":"05c349a0","is_valid_coordinates":true} 
[2026-08-25 12:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635735040001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123389879223582720,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188680221223268352,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787639594000,"timestamp_ms":1787639594000,"timestamp_seconds":1787639594,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f7c10"} 
[2026-08-25 12:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:04: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-25 12:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 12:04:17] 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-25 12:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635735040001,"66":13189,"157":206,"85":12288,"24":30,"16":123389879223582720,"45":-9188680221223268352},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-25 12:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635735040001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:04:17] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-25 12:04:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123389879223582720,"km_value":123389879223582.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188680221223268352,"description":"Unknown IO ID 45"} 
[2026-08-25 12:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635735040001,"power":13189,"unknown_157":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":-9188680221223268352}} 
[2026-08-25 12:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":161840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:04:17] local.INFO: GPS data processed {"connection_id":161840,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:04:17] local.INFO: Acknowledgment sent {"connection_id":161840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:04:18] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:04:18] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:04:18] local.INFO: Packet analysis {"connection_id":161839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:04:18] local.INFO: Extracted packet for processing {"connection_id":161839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635652096001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787639567000,"timestamp_ms":1787639567000,"timestamp_seconds":1787639567,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f1298"} 
[2026-08-25 12:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635652096001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635652096001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635652096001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":161839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:04:18] local.INFO: GPS data processed {"connection_id":161839,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:04:18] local.INFO: Acknowledgment sent {"connection_id":161839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:04:28] local.INFO: TCP Data received {"connection_id":161600,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a0379eb0f0012d181e800721afd80047014026..."} 
[2026-08-25 12:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379eb0f0012d181e800721afd80047014026..."} 
[2026-08-25 12:04:28] local.INFO: Processing buffer {"connection_id":161600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379eb0f0012d181e800721afd80047014026..."} 
[2026-08-25 12:04:28] local.INFO: Packet analysis {"connection_id":161600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379e"} 
[2026-08-25 12:04:28] local.INFO: Extracted packet for processing {"connection_id":161600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379e"} 
[2026-08-25 12:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648216,"longitude_deg":75.6555392,"latitude_deg":11.9648216,"altitude":71,"angle":320,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-08-25 12:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635717888001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15819309443973120,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329888768,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787639542000,"timestamp_ms":1787639542000,"timestamp_seconds":1787639542,"priority":1,"record_length":96,"hex_timestamp":"000001a0379eb0f0"} 
[2026-08-25 12:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:04:28] 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-25 12:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-25 12:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635717888001,"66":12428,"120":206,"28":31744,"24":0,"16":15819309443973120,"45":1737967274329888768},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 12:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635717888001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:04:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:04:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15819309443973120,"km_value":15819309443973.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329888768,"description":"Unknown IO ID 45"} 
[2026-08-25 12:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635717888001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329888768}} 
[2026-08-25 12:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":161600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:04:28] local.INFO: GPS data processed {"connection_id":161600,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:04:28] local.INFO: Acknowledgment sent {"connection_id":161600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:04:40] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:04:40] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:04:40] local.INFO: IMEI packet received {"connection_id":161841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":161841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:04:41] local.INFO: TCP Data received {"connection_id":161842,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:04:41] local.INFO: Processing buffer {"connection_id":161842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:04:41] local.INFO: IMEI packet received {"connection_id":161842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":161842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:04:44] local.INFO: TCP Data received {"connection_id":161842,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:04:44] local.INFO: Processing buffer {"connection_id":161842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:04:44] local.INFO: IMEI packet received {"connection_id":161842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":161842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:04:45] local.INFO: TCP Data received {"connection_id":161842,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f9f38012d80728005c325f8000a00bd2c..."} 
[2026-08-25 12:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f9f38012d80728005c325f8000a00bd2c..."} 
[2026-08-25 12:04:45] local.INFO: Processing buffer {"connection_id":161842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f9f38012d80728005c325f8000a00bd2c..."} 
[2026-08-25 12:04:45] local.INFO: Packet analysis {"connection_id":161842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:04:45] local.INFO: Extracted packet for processing {"connection_id":161842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:04:45] local.INFO: GPS Element Parsed {"raw_longitude":763392640,"raw_latitude":96675320,"longitude_deg":76.339264,"latitude_deg":9.667532,"altitude":10,"angle":189,"satellites":44,"speed":48,"hex_longitude":"2d807280","hex_latitude":"05c325f8","is_valid_coordinates":true} 
[2026-08-25 12:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635736064001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123390330195148800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189313539921567744,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787639603000,"timestamp_ms":1787639603000,"timestamp_seconds":1787639603,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f9f38"} 
[2026-08-25 12:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 12:04:45] 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-25 12:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635736064001,"66":13461,"157":206,"85":12288,"24":48,"16":123390330195148800,"45":-9189313539921567744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-25 12:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635736064001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:04:45] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-25 12:04:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123390330195148800,"km_value":123390330195148.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189313539921567744,"description":"Unknown IO ID 45"} 
[2026-08-25 12:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635736064001,"power":13461,"unknown_157":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":-9189313539921567744}} 
[2026-08-25 12:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":161842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:04:45] local.INFO: GPS data processed {"connection_id":161842,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:04:45] local.INFO: Acknowledgment sent {"connection_id":161842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:04:45] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:04:45] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:04:45] local.INFO: IMEI packet received {"connection_id":161841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":161841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:04:46] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:04:46] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:04:46] local.INFO: Packet analysis {"connection_id":161841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:04:46] local.INFO: Extracted packet for processing {"connection_id":161841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635652096001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787639567000,"timestamp_ms":1787639567000,"timestamp_seconds":1787639567,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f1298"} 
[2026-08-25 12:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635652096001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635652096001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635652096001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":161841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:04:46] local.INFO: GPS data processed {"connection_id":161841,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:04:46] local.INFO: Acknowledgment sent {"connection_id":161841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:04:50] local.INFO: TCP Data received {"connection_id":162839,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:04:50] local.INFO: Processing buffer {"connection_id":162839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:04:50] local.INFO: IMEI packet received {"connection_id":162839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":162839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:04:52] local.INFO: TCP Data received {"connection_id":162839,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:04:52] local.INFO: Processing buffer {"connection_id":162839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:04:52] local.INFO: IMEI packet received {"connection_id":162839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":162839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:04:53] local.INFO: TCP Data received {"connection_id":162839,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:04:53] local.INFO: Processing buffer {"connection_id":162839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:04:53] local.INFO: IMEI packet received {"connection_id":162839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":162839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:04:54] local.INFO: TCP Data received {"connection_id":162839,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:04:54] local.INFO: Processing buffer {"connection_id":162839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:04:54] local.INFO: IMEI packet received {"connection_id":162839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":162839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:05:17] local.INFO: TCP Data received {"connection_id":161842,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a10a80012d80288005c145a0000e00bb2a..."} 
[2026-08-25 12:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a10a80012d80288005c145a0000e00bb2a..."} 
[2026-08-25 12:05:17] local.INFO: Processing buffer {"connection_id":161842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a10a80012d80288005c145a0000e00bb2a..."} 
[2026-08-25 12:05:17] local.INFO: Packet analysis {"connection_id":161842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a1"} 
[2026-08-25 12:05:17] local.INFO: Extracted packet for processing {"connection_id":161842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a1"} 
[2026-08-25 12:05:17] local.INFO: GPS Element Parsed {"raw_longitude":763373696,"raw_latitude":96552352,"longitude_deg":76.3373696,"latitude_deg":9.6552352,"altitude":14,"angle":187,"satellites":42,"speed":46,"hex_longitude":"2d802880","hex_latitude":"05c145a0","is_valid_coordinates":true} 
[2026-08-25 12:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635760384001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123396360329232384,"note":"Value kept but may cause issues"} 
[2026-08-25 12:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9210494531950505984,"note":"Value kept but may cause issues"} 
[2026-08-25 12:05:17] 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-25 12:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787639696000,"timestamp_ms":1787639696000,"timestamp_seconds":1787639696,"priority":1,"record_length":96,"hex_timestamp":"000001a037a10a80"} 
[2026-08-25 12:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:05: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-25 12:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 12:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635760384001,"66":13450,"235":206,"85":12288,"24":46,"16":123396360329232384,"45":-9210494531950505984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 12:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635760384001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:05:17] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 12:05:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123396360329232384,"km_value":123396360329232.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9210494531950505984,"description":"Unknown IO ID 45"} 
[2026-08-25 12:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635760384001,"power":13450,"unknown_235":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":-9210494531950505984}} 
[2026-08-25 12:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":161842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:05:17] local.INFO: GPS data processed {"connection_id":161842,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:05:17] local.INFO: Acknowledgment sent {"connection_id":161842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:05:17] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:05:17] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:05:17] local.INFO: Packet analysis {"connection_id":161841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:05:17] local.INFO: Extracted packet for processing {"connection_id":161841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635652096001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:05:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787639567000,"timestamp_ms":1787639567000,"timestamp_seconds":1787639567,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f1298"} 
[2026-08-25 12:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635652096001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635652096001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635652096001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":161841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:05:17] local.INFO: GPS data processed {"connection_id":161841,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:05:17] local.INFO: Acknowledgment sent {"connection_id":161841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:05:41] local.INFO: TCP Data received {"connection_id":161601,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:05:41] local.INFO: Processing buffer {"connection_id":161601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:05:41] local.INFO: IMEI packet received {"connection_id":161601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":161601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:05:43] local.INFO: TCP Data received {"connection_id":161601,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:05:43] local.INFO: Processing buffer {"connection_id":161601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:05:43] local.INFO: IMEI packet received {"connection_id":161601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":161601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:05:46] local.INFO: TCP Data received {"connection_id":161601,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:05:46] local.INFO: Processing buffer {"connection_id":161601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:05:46] local.INFO: IMEI packet received {"connection_id":161601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":161601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:05:47] local.INFO: TCP Data received {"connection_id":161601,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a129c0012d80248005c11f68000d00ba2b..."} 
[2026-08-25 12:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a129c0012d80248005c11f68000d00ba2b..."} 
[2026-08-25 12:05:47] local.INFO: Processing buffer {"connection_id":161601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a129c0012d80248005c11f68000d00ba2b..."} 
[2026-08-25 12:05:47] local.INFO: Packet analysis {"connection_id":161601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a1"} 
[2026-08-25 12:05:47] local.INFO: Extracted packet for processing {"connection_id":161601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a1"} 
[2026-08-25 12:05:47] local.INFO: GPS Element Parsed {"raw_longitude":763372672,"raw_latitude":96542568,"longitude_deg":76.3372672,"latitude_deg":9.6542568,"altitude":13,"angle":186,"satellites":43,"speed":54,"hex_longitude":"2d802480","hex_latitude":"05c11f68","is_valid_coordinates":true} 
[2026-08-25 12:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635762176001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123396837070602240,"note":"Value kept but may cause issues"} 
[2026-08-25 12:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9211972275580592128,"note":"Value kept but may cause issues"} 
[2026-08-25 12:05:47] 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-25 12:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787639704000,"timestamp_ms":1787639704000,"timestamp_seconds":1787639704,"priority":1,"record_length":96,"hex_timestamp":"000001a037a129c0"} 
[2026-08-25 12:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:05: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-25 12:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 12:05:47] 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-25 12:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635762176001,"66":13472,"235":206,"85":12288,"24":54,"16":123396837070602240,"45":-9211972275580592128},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 12:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635762176001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:05:47] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 12:05:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123396837070602240,"km_value":123396837070602.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9211972275580592128,"description":"Unknown IO ID 45"} 
[2026-08-25 12:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635762176001,"power":13472,"unknown_235":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":-9211972275580592128}} 
[2026-08-25 12:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":161601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:05:47] local.INFO: GPS data processed {"connection_id":161601,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:05:47] local.INFO: Acknowledgment sent {"connection_id":161601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:05:56] local.INFO: TCP Data received {"connection_id":162840,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:05:56] local.INFO: Processing buffer {"connection_id":162840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:05:56] local.INFO: IMEI packet received {"connection_id":162840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":162840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:05:58] local.INFO: TCP Data received {"connection_id":162840,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:05:58] local.INFO: Processing buffer {"connection_id":162840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:05:58] local.INFO: IMEI packet received {"connection_id":162840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":162840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:06:01] local.INFO: TCP Data received {"connection_id":162840,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:06:01] local.INFO: Processing buffer {"connection_id":162840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:06:01] local.INFO: Packet analysis {"connection_id":162840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:06:01] local.INFO: Extracted packet for processing {"connection_id":162840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:06:01] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635652096001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787639567000,"timestamp_ms":1787639567000,"timestamp_seconds":1787639567,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f1298"} 
[2026-08-25 12: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-25 12:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635652096001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635652096001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:06:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635652096001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":162840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:06:01] local.INFO: GPS data processed {"connection_id":162840,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:06:01] local.INFO: Acknowledgment sent {"connection_id":162840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:06:02] local.INFO: TCP Data received {"connection_id":162840,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:06:02] local.INFO: Processing buffer {"connection_id":162840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:06:02] local.INFO: Packet analysis {"connection_id":162840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:06:02] local.INFO: Extracted packet for processing {"connection_id":162840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635652096001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787639567000,"timestamp_ms":1787639567000,"timestamp_seconds":1787639567,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f1298"} 
[2026-08-25 12:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635652096001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635652096001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635652096001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":162840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:06:03] local.INFO: GPS data processed {"connection_id":162840,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:06:03] local.INFO: Acknowledgment sent {"connection_id":162840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:06:23] local.INFO: TCP Data received {"connection_id":161601,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a14518012d80200005c0f960000b00bb2b..."} 
[2026-08-25 12:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a14518012d80200005c0f960000b00bb2b..."} 
[2026-08-25 12:06:23] local.INFO: Processing buffer {"connection_id":161601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a14518012d80200005c0f960000b00bb2b..."} 
[2026-08-25 12:06:23] local.INFO: Packet analysis {"connection_id":161601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a1"} 
[2026-08-25 12:06:23] local.INFO: Extracted packet for processing {"connection_id":161601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a1"} 
[2026-08-25 12:06:23] local.INFO: GPS Element Parsed {"raw_longitude":763371520,"raw_latitude":96532832,"longitude_deg":76.337152,"latitude_deg":9.6532832,"altitude":11,"angle":187,"satellites":43,"speed":58,"hex_longitude":"2d802000","hex_latitude":"05c0f960","is_valid_coordinates":true} 
[2026-08-25 12:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635764224001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123397313811972096,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9213098175489939456,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:23] 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-25 12:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787639711000,"timestamp_ms":1787639711000,"timestamp_seconds":1787639711,"priority":1,"record_length":96,"hex_timestamp":"000001a037a14518"} 
[2026-08-25 12:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:06: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-25 12:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 12:06: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-25 12:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635764224001,"66":13493,"235":206,"85":12288,"24":58,"16":123397313811972096,"45":-9213098175489939456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 12:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635764224001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:06:23] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 12:06:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123397313811972096,"km_value":123397313811972.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9213098175489939456,"description":"Unknown IO ID 45"} 
[2026-08-25 12:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635764224001,"power":13493,"unknown_235":206,"unknown_85":12288,"ignition":58,"odometer":null,"unknown_45":-9213098175489939456}} 
[2026-08-25 12:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":161601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:06:23] local.INFO: GPS data processed {"connection_id":161601,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:06:23] local.INFO: Acknowledgment sent {"connection_id":161601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:06:41] local.INFO: TCP Data received {"connection_id":164221,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:06:41] local.INFO: Processing buffer {"connection_id":164221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:06:41] local.INFO: IMEI packet received {"connection_id":164221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":164221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:06:44] local.INFO: TCP Data received {"connection_id":164222,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:06:44] local.INFO: Processing buffer {"connection_id":164222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:06:44] local.INFO: IMEI packet received {"connection_id":164222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":164222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:06:46] local.INFO: TCP Data received {"connection_id":164222,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:06:46] local.INFO: Processing buffer {"connection_id":164222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:06:46] local.INFO: IMEI packet received {"connection_id":164222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":164222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:06:51] local.INFO: TCP Data received {"connection_id":164222,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:06:51] local.INFO: Processing buffer {"connection_id":164222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:06:51] local.INFO: IMEI packet received {"connection_id":164222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":164222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:06:52] local.INFO: TCP Data received {"connection_id":164222,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a25688012d7fdec005bf64e8000700bd2c..."} 
[2026-08-25 12:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a25688012d7fdec005bf64e8000700bd2c..."} 
[2026-08-25 12:06:52] local.INFO: Processing buffer {"connection_id":164222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a25688012d7fdec005bf64e8000700bd2c..."} 
[2026-08-25 12:06:52] local.INFO: Packet analysis {"connection_id":164222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a2"} 
[2026-08-25 12:06:52] local.INFO: Extracted packet for processing {"connection_id":164222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a2"} 
[2026-08-25 12:06:52] local.INFO: GPS Element Parsed {"raw_longitude":763354816,"raw_latitude":96429288,"longitude_deg":76.3354816,"latitude_deg":9.6429288,"altitude":7,"angle":189,"satellites":44,"speed":54,"hex_longitude":"2d7fdec0","hex_latitude":"05bf64e8","is_valid_coordinates":true} 
[2026-08-25 12:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635782144001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123402399053250560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9215772237171988480,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787639781000,"timestamp_ms":1787639781000,"timestamp_seconds":1787639781,"priority":1,"record_length":96,"hex_timestamp":"000001a037a25688"} 
[2026-08-25 12:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 12:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635782144001,"66":13319,"225":206,"85":12288,"24":54,"16":123402399053250560,"45":9215772237171988480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-08-25 12:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635782144001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:06:52] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-25 12:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123402399053250560,"km_value":123402399053250.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9215772237171988480,"description":"Unknown IO ID 45"} 
[2026-08-25 12:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635782144001,"power":13319,"unknown_225":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9215772237171988480}} 
[2026-08-25 12:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":164222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:06:52] local.INFO: GPS data processed {"connection_id":164222,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:06:52] local.INFO: Acknowledgment sent {"connection_id":164222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:06:53] local.INFO: TCP Data received {"connection_id":164221,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:06:53] local.INFO: Processing buffer {"connection_id":164221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:06:53] local.INFO: IMEI packet received {"connection_id":164221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":164221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:06:58] local.INFO: TCP Data received {"connection_id":164221,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:06:58] local.INFO: Processing buffer {"connection_id":164221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:06:58] local.INFO: Packet analysis {"connection_id":164221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:06:58] local.INFO: Extracted packet for processing {"connection_id":164221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:06:58] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635652096001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787639567000,"timestamp_ms":1787639567000,"timestamp_seconds":1787639567,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f1298"} 
[2026-08-25 12:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:06: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-25 12:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635652096001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635652096001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:06:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635652096001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":164221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:06:58] local.INFO: GPS data processed {"connection_id":164221,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:06:58] local.INFO: Acknowledgment sent {"connection_id":164221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:07:04] local.INFO: TCP Data received {"connection_id":164221,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:07:04] local.INFO: Processing buffer {"connection_id":164221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:07:04] local.INFO: Packet analysis {"connection_id":164221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:07:04] local.INFO: Extracted packet for processing {"connection_id":164221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635652096001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787639567000,"timestamp_ms":1787639567000,"timestamp_seconds":1787639567,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f1298"} 
[2026-08-25 12: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-25 12:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 12:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:07: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-25 12: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-25 12: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-25 12:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635652096001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635652096001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:07:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635652096001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":164221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:07:04] local.INFO: GPS data processed {"connection_id":164221,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:07:04] local.INFO: Acknowledgment sent {"connection_id":164221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:07:23] local.INFO: TCP Data received {"connection_id":164222,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a271e0012d7fd8c005bf3ea0000600bc2b..."} 
[2026-08-25 12:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a271e0012d7fd8c005bf3ea0000600bc2b..."} 
[2026-08-25 12:07:23] local.INFO: Processing buffer {"connection_id":164222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a271e0012d7fd8c005bf3ea0000600bc2b..."} 
[2026-08-25 12:07:23] local.INFO: Packet analysis {"connection_id":164222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a2"} 
[2026-08-25 12:07:23] local.INFO: Extracted packet for processing {"connection_id":164222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a2"} 
[2026-08-25 12:07:23] local.INFO: GPS Element Parsed {"raw_longitude":763353280,"raw_latitude":96419488,"longitude_deg":76.335328,"latitude_deg":9.6419488,"altitude":6,"angle":188,"satellites":43,"speed":57,"hex_longitude":"2d7fd8c0","hex_latitude":"05bf3ea0","is_valid_coordinates":true} 
[2026-08-25 12:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635783936001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123402880089587712,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214013018565044224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787639788000,"timestamp_ms":1787639788000,"timestamp_seconds":1787639788,"priority":1,"record_length":96,"hex_timestamp":"000001a037a271e0"} 
[2026-08-25 12:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2716667905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":191,"raw_value":4181721097,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2799763662,"corrected_to":0} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3087084927,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2147860510,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3225575424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57893590773159216,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":161,"raw_value":-6712613949662494715,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.WARNING: Large IO value detected {"io_id":192,"raw_value":7392658831290739200,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:23] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,225,85,24,241,157,16,105,160,59,45,139,7,44,10,66,35,64,173,104,8,128,1,240,181,227,55,191,4,113,205,50,209,252,72,43,239,52,2,182,5,9,62,29,161,192],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2799763662,"validated":0}]} 
[2026-08-25 12:07:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504611154945245184,"timestamp_seconds":504611154945245.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635783936001,"66":13526,"225":206,"85":12288,"24":57,"16":123402880089587712,"45":9214013018565044224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-08-25 12:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635783936001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:07:23] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-25 12:07:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123402880089587712,"km_value":123402880089587.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214013018565044224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635783936001,"power":13526,"unknown_225":206,"unknown_85":12288,"ignition":57,"odometer":null,"unknown_45":9214013018565044224}} 
[2026-08-25 12:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":164222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:07:23] local.INFO: GPS data processed {"connection_id":164222,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:07:23] local.INFO: Acknowledgment sent {"connection_id":164222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:07:40] local.INFO: TCP Data received {"connection_id":161602,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:07:40] local.INFO: Processing buffer {"connection_id":161602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:07:40] local.INFO: IMEI packet received {"connection_id":161602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":161602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:07:41] local.INFO: TCP Data received {"connection_id":161603,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:07:41] local.INFO: Processing buffer {"connection_id":161603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:07:41] local.INFO: IMEI packet received {"connection_id":161603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":161603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:07:42] local.INFO: TCP Data received {"connection_id":161603,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:07:42] local.INFO: Processing buffer {"connection_id":161603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:07:42] local.INFO: IMEI packet received {"connection_id":161603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":161603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:07:46] local.INFO: TCP Data received {"connection_id":161603,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:07:46] local.INFO: Processing buffer {"connection_id":161603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:07:46] local.INFO: IMEI packet received {"connection_id":161603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":161603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:07:47] local.INFO: TCP Data received {"connection_id":161603,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a28d38012d7fd2c005bf1848000600bc2b..."} 
[2026-08-25 12:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a28d38012d7fd2c005bf1848000600bc2b..."} 
[2026-08-25 12:07:47] local.INFO: Processing buffer {"connection_id":161603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a28d38012d7fd2c005bf1848000600bc2b..."} 
[2026-08-25 12:07:47] local.INFO: Packet analysis {"connection_id":161603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a2"} 
[2026-08-25 12:07:47] local.INFO: Extracted packet for processing {"connection_id":161603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a2"} 
[2026-08-25 12:07:47] local.INFO: GPS Element Parsed {"raw_longitude":763351744,"raw_latitude":96409672,"longitude_deg":76.3351744,"latitude_deg":9.6409672,"altitude":6,"angle":188,"satellites":43,"speed":54,"hex_longitude":"2d7fd2c0","hex_latitude":"05bf1848","is_valid_coordinates":true} 
[2026-08-25 12:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635785728001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123403361125924864,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212324168702271488,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:47] 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-25 12:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787639795000,"timestamp_ms":1787639795000,"timestamp_seconds":1787639795,"priority":1,"record_length":96,"hex_timestamp":"000001a037a28d38"} 
[2026-08-25 12:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:07: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-25 12:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 12:07:47] 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-25 12:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635785728001,"66":13559,"227":206,"85":12288,"24":54,"16":123403361125924864,"45":9212324168702271488},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-25 12:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635785728001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:07:47] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-25 12:07:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123403361125924864,"km_value":123403361125924.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212324168702271488,"description":"Unknown IO ID 45"} 
[2026-08-25 12:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635785728001,"power":13559,"unknown_227":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9212324168702271488}} 
[2026-08-25 12:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":161603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:07:47] local.INFO: GPS data processed {"connection_id":161603,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:07:47] local.INFO: Acknowledgment sent {"connection_id":161603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:07:48] local.INFO: TCP Data received {"connection_id":161602,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:07:48] local.INFO: Processing buffer {"connection_id":161602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:07:48] local.INFO: IMEI packet received {"connection_id":161602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":161602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:07:51] local.INFO: TCP Data received {"connection_id":161602,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:07:51] local.INFO: Processing buffer {"connection_id":161602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:07:51] local.INFO: Packet analysis {"connection_id":161602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:07:51] local.INFO: Extracted packet for processing {"connection_id":161602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:07:51] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635652096001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787639567000,"timestamp_ms":1787639567000,"timestamp_seconds":1787639567,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f1298"} 
[2026-08-25 12:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635652096001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635652096001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635652096001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":161602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:07:51] local.INFO: GPS data processed {"connection_id":161602,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:07:51] local.INFO: Acknowledgment sent {"connection_id":161602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:08:18] local.INFO: TCP Data received {"connection_id":161603,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a2a890012d7fcdc005bef518000700bc2b..."} 
[2026-08-25 12:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a2a890012d7fcdc005bef518000700bc2b..."} 
[2026-08-25 12:08:18] local.INFO: Processing buffer {"connection_id":161603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a2a890012d7fcdc005bef518000700bc2b..."} 
[2026-08-25 12:08:18] local.INFO: Packet analysis {"connection_id":161603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a2"} 
[2026-08-25 12:08:18] local.INFO: Extracted packet for processing {"connection_id":161603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a2"} 
[2026-08-25 12:08:18] local.INFO: GPS Element Parsed {"raw_longitude":763350464,"raw_latitude":96400664,"longitude_deg":76.3350464,"latitude_deg":9.6400664,"altitude":7,"angle":188,"satellites":43,"speed":51,"hex_longitude":"2d7fcdc0","hex_latitude":"05bef518","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635787520001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123403803507556352,"note":"Value kept but may cause issues"} 
[2026-08-25 12:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9210635318839494656,"note":"Value kept but may cause issues"} 
[2026-08-25 12:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787639802000,"timestamp_ms":1787639802000,"timestamp_seconds":1787639802,"priority":1,"record_length":96,"hex_timestamp":"000001a037a2a890"} 
[2026-08-25 12: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-25 12:08: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-25 12: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":247,"data_length":795,"current_offset":136} 
[2026-08-25 12:08: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-25 12: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-25 12: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-25 12:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635787520001,"66":13537,"179":206,"85":12288,"24":51,"16":123403803507556352,"45":9210635318839494656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-25 12:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635787520001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:08:18] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-25 12:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123403803507556352,"km_value":123403803507556.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9210635318839494656,"description":"Unknown IO ID 45"} 
[2026-08-25 12:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635787520001,"power":13537,"unknown_179":206,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":9210635318839494656}} 
[2026-08-25 12:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":161603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:08:18] local.INFO: GPS data processed {"connection_id":161603,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:08:18] local.INFO: Acknowledgment sent {"connection_id":161603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:08:26] local.INFO: TCP Data received {"connection_id":161602,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:08:26] local.INFO: Processing buffer {"connection_id":161602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0379f1298012d34c0c006aa4878000800552d..."} 
[2026-08-25 12:08:26] local.INFO: Packet analysis {"connection_id":161602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:08:26] local.INFO: Extracted packet for processing {"connection_id":161602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0379f"} 
[2026-08-25 12:08:26] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":8,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635652096001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:08:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787639567000,"timestamp_ms":1787639567000,"timestamp_seconds":1787639567,"priority":1,"record_length":96,"hex_timestamp":"000001a0379f1298"} 
[2026-08-25 12: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-25 12:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:08: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-25 12: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-25 12: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-25 12:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635652096001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635652096001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:08:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635652096001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":161602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:08:26] local.INFO: GPS data processed {"connection_id":161602,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:08:26] local.INFO: Acknowledgment sent {"connection_id":161602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:08:40] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:08:40] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:08:40] local.INFO: IMEI packet received {"connection_id":161844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":161844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:08:41] local.INFO: TCP Data received {"connection_id":162841,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:08:41] local.INFO: Processing buffer {"connection_id":162841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:08:41] local.INFO: IMEI packet received {"connection_id":162841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":162841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:08:45] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:08:45] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:08:45] local.INFO: IMEI packet received {"connection_id":161844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":161844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:08:46] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:08:46] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:08:46] local.INFO: Packet analysis {"connection_id":161844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:08:46] local.INFO: Extracted packet for processing {"connection_id":161844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635729152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:08:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787639868000,"timestamp_ms":1787639868000,"timestamp_seconds":1787639868,"priority":1,"record_length":96,"hex_timestamp":"000001a037a3aa60"} 
[2026-08-25 12:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635729152001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635729152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635729152001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":161844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:08:46] local.INFO: GPS data processed {"connection_id":161844,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:08:46] local.INFO: Acknowledgment sent {"connection_id":161844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:08:46] local.INFO: TCP Data received {"connection_id":162841,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:08:46] local.INFO: Processing buffer {"connection_id":162841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:08:46] local.INFO: IMEI packet received {"connection_id":162841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":162841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:08:47] local.INFO: TCP Data received {"connection_id":162841,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a2c7d0012d7fc78005bece90000900bc2b..."} 
[2026-08-25 12:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a2c7d0012d7fc78005bece90000900bc2b..."} 
[2026-08-25 12:08:47] local.INFO: Processing buffer {"connection_id":162841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a2c7d0012d7fc78005bece90000900bc2b..."} 
[2026-08-25 12:08:47] local.INFO: Packet analysis {"connection_id":162841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a2"} 
[2026-08-25 12:08:47] local.INFO: Extracted packet for processing {"connection_id":162841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a2"} 
[2026-08-25 12:08:47] local.INFO: GPS Element Parsed {"raw_longitude":763348864,"raw_latitude":96390800,"longitude_deg":76.3348864,"latitude_deg":9.63908,"altitude":9,"angle":188,"satellites":43,"speed":45,"hex_longitude":"2d7fc780","hex_latitude":"05bece90","is_valid_coordinates":true} 
[2026-08-25 12:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635789312001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123404284543893504,"note":"Value kept but may cause issues"} 
[2026-08-25 12:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9209227943953635328,"note":"Value kept but may cause issues"} 
[2026-08-25 12:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787639810000,"timestamp_ms":1787639810000,"timestamp_seconds":1787639810,"priority":1,"record_length":96,"hex_timestamp":"000001a037a2c7d0"} 
[2026-08-25 12:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-25 12:08:47] 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-25 12:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635789312001,"66":13276,"179":206,"85":12288,"24":45,"16":123404284543893504,"45":9209227943953635328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-25 12:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635789312001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:08:47] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-25 12:08:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 12:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123404284543893504,"km_value":123404284543893.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9209227943953635328,"description":"Unknown IO ID 45"} 
[2026-08-25 12:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635789312001,"power":13276,"unknown_179":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9209227943953635328}} 
[2026-08-25 12:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":162841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:08:47] local.INFO: GPS data processed {"connection_id":162841,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:08:47] local.INFO: Acknowledgment sent {"connection_id":162841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:09:18] local.INFO: TCP Data received {"connection_id":162841,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a4b7e8012d7f738005bcf568000e00bf2b..."} 
[2026-08-25 12:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a4b7e8012d7f738005bcf568000e00bf2b..."} 
[2026-08-25 12:09:18] local.INFO: Processing buffer {"connection_id":162841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a4b7e8012d7f738005bcf568000e00bf2b..."} 
[2026-08-25 12:09:18] local.INFO: Packet analysis {"connection_id":162841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:09:18] local.INFO: Extracted packet for processing {"connection_id":162841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:09:18] local.INFO: GPS Element Parsed {"raw_longitude":763327360,"raw_latitude":96269672,"longitude_deg":76.332736,"latitude_deg":9.6269672,"altitude":14,"angle":191,"satellites":43,"speed":46,"hex_longitude":"2d7f7380","hex_latitude":"05bcf568","is_valid_coordinates":true} 
[2026-08-25 12:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635821312001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123410250253467648,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185443308390500352,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787639937000,"timestamp_ms":1787639937000,"timestamp_seconds":1787639937,"priority":1,"record_length":96,"hex_timestamp":"000001a037a4b7e8"} 
[2026-08-25 12:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:09: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-25 12:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 12:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635821312001,"66":13559,"119":206,"85":12544,"24":46,"16":123410250253467648,"45":9185443308390500352},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-25 12:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635821312001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:09:18] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-25 12:09:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123410250253467648,"km_value":123410250253467.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185443308390500352,"description":"Unknown IO ID 45"} 
[2026-08-25 12:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635821312001,"power":13559,"unknown_119":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9185443308390500352}} 
[2026-08-25 12:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":162841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:09:18] local.INFO: GPS data processed {"connection_id":162841,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:09:18] local.INFO: Acknowledgment sent {"connection_id":162841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:09:27] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:09:27] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:09:27] local.INFO: Packet analysis {"connection_id":161844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:09:27] local.INFO: Extracted packet for processing {"connection_id":161844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:09:27] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635729152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787639868000,"timestamp_ms":1787639868000,"timestamp_seconds":1787639868,"priority":1,"record_length":96,"hex_timestamp":"000001a037a3aa60"} 
[2026-08-25 12:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:09: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-25 12:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635729152001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635729152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:09:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635729152001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":161844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:09:27] local.INFO: GPS data processed {"connection_id":161844,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:09:27] local.INFO: Acknowledgment sent {"connection_id":161844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:09:41] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:09:41] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:09:41] local.INFO: IMEI packet received {"connection_id":161845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":161845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:09:43] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:09:43] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:09:43] local.INFO: IMEI packet received {"connection_id":161845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":161845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:09:45] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:09:45] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:09:45] local.INFO: IMEI packet received {"connection_id":161845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":161845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:09:46] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:09:46] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:09:46] local.INFO: IMEI packet received {"connection_id":161845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":161845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:09:46] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a4d728012d7f6b0005bcceb8000b00bf2d..."} 
[2026-08-25 12:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a4d728012d7f6b0005bcceb8000b00bf2d..."} 
[2026-08-25 12:09:46] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a4d728012d7f6b0005bcceb8000b00bf2d..."} 
[2026-08-25 12:09:46] local.INFO: Packet analysis {"connection_id":161845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:09:46] local.INFO: Extracted packet for processing {"connection_id":161845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:09:46] local.INFO: GPS Element Parsed {"raw_longitude":763325184,"raw_latitude":96259768,"longitude_deg":76.3325184,"latitude_deg":9.6259768,"altitude":11,"angle":191,"satellites":45,"speed":51,"hex_longitude":"2d7f6b00","hex_latitude":"05bcceb8","is_valid_coordinates":true} 
[2026-08-25 12:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635823872001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123410744174706688,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183824827271964672,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787639945000,"timestamp_ms":1787639945000,"timestamp_seconds":1787639945,"priority":1,"record_length":96,"hex_timestamp":"000001a037a4d728"} 
[2026-08-25 12:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 12:09:46] 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-25 12:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635823872001,"66":13580,"119":206,"85":12544,"24":51,"16":123410744174706688,"45":9183824827271964672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-25 12:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635823872001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:09:46] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-25 12:09:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123410744174706688,"km_value":123410744174706.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183824827271964672,"description":"Unknown IO ID 45"} 
[2026-08-25 12:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635823872001,"power":13580,"unknown_119":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9183824827271964672}} 
[2026-08-25 12:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":161845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:09:46] local.INFO: GPS data processed {"connection_id":161845,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:09:46] local.INFO: Acknowledgment sent {"connection_id":161845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:09:51] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a4f280012d7f648005bcac68000900be2d..."} 
[2026-08-25 12:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a4f280012d7f648005bcac68000900be2d..."} 
[2026-08-25 12:09:51] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a4f280012d7f648005bcac68000900be2d..."} 
[2026-08-25 12:09:51] local.INFO: Packet analysis {"connection_id":161845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:09:51] local.INFO: Extracted packet for processing {"connection_id":161845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:09:51] local.INFO: GPS Element Parsed {"raw_longitude":763323520,"raw_latitude":96250984,"longitude_deg":76.332352,"latitude_deg":9.6250984,"altitude":9,"angle":190,"satellites":45,"speed":50,"hex_longitude":"2d7f6480","hex_latitude":"05bcac68","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635825920001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123411177966403584,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181432289967388672,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787639952000,"timestamp_ms":1787639952000,"timestamp_seconds":1787639952,"priority":1,"record_length":96,"hex_timestamp":"000001a037a4f280"} 
[2026-08-25 12: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-25 12:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625838,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5301053420763873280,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2756603905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635021297231735,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2809594062,"corrected_to":0} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2147859847,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3182168064,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-7313839482053591030,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093433704821163,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.WARNING: Large IO value detected {"io_id":49,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:51] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,119,85,24,241,157,16,113,160,183,45,128,245,14,43,10,66,112,144,64,26,44,105,1,240,94,227,55,189,4,205,50,47,140,239,53,2,182,5,127,52,49],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2809594062,"validated":0}]} 
[2026-08-25 12:09:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792843734414983168,"timestamp_seconds":792843734414983.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12: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-25 12:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635825920001,"66":13559,"119":206,"85":12544,"24":50,"16":123411177966403584,"45":9181432289967388672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-25 12:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635825920001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:09:51] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-25 12:09:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123411177966403584,"km_value":123411177966403.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181432289967388672,"description":"Unknown IO ID 45"} 
[2026-08-25 12:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635825920001,"power":13559,"unknown_119":206,"unknown_85":12544,"ignition":50,"odometer":null,"unknown_45":9181432289967388672}} 
[2026-08-25 12:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":161845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:09:51] local.INFO: GPS data processed {"connection_id":161845,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:09:51] local.INFO: Acknowledgment sent {"connection_id":161845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:09:55] local.INFO: TCP Data received {"connection_id":164225,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:09:55] local.INFO: Processing buffer {"connection_id":164225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:09:55] local.INFO: IMEI packet received {"connection_id":164225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":164225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:09:57] local.INFO: TCP Data received {"connection_id":164225,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037a46db0012d197e00072094d8003700c225..."} 
[2026-08-25 12:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a46db0012d197e00072094d8003700c225..."} 
[2026-08-25 12:09:57] local.INFO: Processing buffer {"connection_id":164225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a46db0012d197e00072094d8003700c225..."} 
[2026-08-25 12:09:57] local.INFO: Packet analysis {"connection_id":164225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:09:57] local.INFO: Extracted packet for processing {"connection_id":164225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756645376,"raw_latitude":119575768,"longitude_deg":75.6645376,"latitude_deg":11.9575768,"altitude":55,"angle":194,"satellites":37,"speed":8,"hex_longitude":"2d197e00","hex_latitude":"072094d8","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635813632001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15825601571061760,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836553884905535488,"note":"Value kept but may cause issues"} 
[2026-08-25 12:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787639918000,"timestamp_ms":1787639918000,"timestamp_seconds":1787639918,"priority":1,"record_length":96,"hex_timestamp":"000001a037a46db0"} 
[2026-08-25 12: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-25 12:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 12:09:57] 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-25 12: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-25 12: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-25 12:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635813632001,"66":14102,"121":206,"28":31744,"24":8,"16":15825601571061760,"45":1836553884905535488},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635813632001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:09:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:09:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15825601571061760,"km_value":15825601571061.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836553884905535488,"description":"Unknown IO ID 45"} 
[2026-08-25 12:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635813632001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1836553884905535488}} 
[2026-08-25 12:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":164225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:09:57] local.INFO: GPS data processed {"connection_id":164225,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:09:57] local.INFO: Acknowledgment sent {"connection_id":164225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:10:00] local.INFO: TCP Data received {"connection_id":161605,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:10:00] local.INFO: Processing buffer {"connection_id":161605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:10:00] local.INFO: IMEI packet received {"connection_id":161605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":161605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:10:09] local.INFO: TCP Data received {"connection_id":161605,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:10:09] local.INFO: Processing buffer {"connection_id":161605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:10:09] local.INFO: IMEI packet received {"connection_id":161605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":161605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:10:12] local.INFO: TCP Data received {"connection_id":161605,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:10:12] local.INFO: Processing buffer {"connection_id":161605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:10:12] local.INFO: Packet analysis {"connection_id":161605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:10:12] local.INFO: Extracted packet for processing {"connection_id":161605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:10:12] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635729152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787639868000,"timestamp_ms":1787639868000,"timestamp_seconds":1787639868,"priority":1,"record_length":96,"hex_timestamp":"000001a037a3aa60"} 
[2026-08-25 12: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-25 12:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:10: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-25 12: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-25 12: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-25 12:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635729152001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635729152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:10:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635729152001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":161605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:10:12] local.INFO: GPS data processed {"connection_id":161605,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:10:12] local.INFO: Acknowledgment sent {"connection_id":161605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:10:23] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a50dd8012d7f5e8005bc8a18000900bd2d..."} 
[2026-08-25 12:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a50dd8012d7f5e8005bc8a18000900bd2d..."} 
[2026-08-25 12:10:23] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a50dd8012d7f5e8005bc8a18000900bd2d..."} 
[2026-08-25 12:10:23] local.INFO: Packet analysis {"connection_id":161845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a5"} 
[2026-08-25 12:10:23] local.INFO: Extracted packet for processing {"connection_id":161845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a5"} 
[2026-08-25 12:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763321984,"raw_latitude":96242200,"longitude_deg":76.3321984,"latitude_deg":9.62422,"altitude":9,"angle":189,"satellites":45,"speed":49,"hex_longitude":"2d7f5e80","hex_latitude":"05bc8a18","is_valid_coordinates":true} 
[2026-08-25 12:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635827712001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123411607463133184,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179602702616520704,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787639959000,"timestamp_ms":1787639959000,"timestamp_seconds":1787639959,"priority":1,"record_length":96,"hex_timestamp":"000001a037a50dd8"} 
[2026-08-25 12:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 12:10:23] 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-25 12:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635827712001,"66":13472,"120":206,"85":12544,"24":49,"16":123411607463133184,"45":9179602702616520704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-25 12:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635827712001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:10:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:10:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123411607463133184,"km_value":123411607463133.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179602702616520704,"description":"Unknown IO ID 45"} 
[2026-08-25 12:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635827712001,"power":13472,"unknown_120":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9179602702616520704}} 
[2026-08-25 12:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":161845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:10:23] local.INFO: GPS data processed {"connection_id":161845,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:10:23] local.INFO: Acknowledgment sent {"connection_id":161845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:10:28] local.INFO: TCP Data received {"connection_id":164225,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037a46db0012d197e00072094d8003700c225..."} 
[2026-08-25 12:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a46db0012d197e00072094d8003700c225..."} 
[2026-08-25 12:10:28] local.INFO: Processing buffer {"connection_id":164225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a46db0012d197e00072094d8003700c225..."} 
[2026-08-25 12:10:28] local.INFO: Packet analysis {"connection_id":164225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:10:28] local.INFO: Extracted packet for processing {"connection_id":164225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756645376,"raw_latitude":119575768,"longitude_deg":75.6645376,"latitude_deg":11.9575768,"altitude":55,"angle":194,"satellites":37,"speed":8,"hex_longitude":"2d197e00","hex_latitude":"072094d8","is_valid_coordinates":true} 
[2026-08-25 12:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635819008001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15825601571061760,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836905728625137664,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787639918000,"timestamp_ms":1787639918000,"timestamp_seconds":1787639918,"priority":1,"record_length":96,"hex_timestamp":"000001a037a46db0"} 
[2026-08-25 12:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:10:28] 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-25 12:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 12:10:28] 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-25 12:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635819008001,"66":14102,"121":206,"28":31744,"24":8,"16":15825601571061760,"45":1836905728625137664},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635819008001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:10:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:10:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15825601571061760,"km_value":15825601571061.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836905728625137664,"description":"Unknown IO ID 45"} 
[2026-08-25 12:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635819008001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1836905728625137664}} 
[2026-08-25 12:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":164225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:10:28] local.INFO: GPS data processed {"connection_id":164225,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:10:28] local.INFO: Acknowledgment sent {"connection_id":164225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:10:45] local.INFO: TCP Data received {"connection_id":162842,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:10:45] local.INFO: Processing buffer {"connection_id":162842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:10:45] local.INFO: IMEI packet received {"connection_id":162842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":162842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:10:45] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:10:45] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:10:45] local.INFO: IMEI packet received {"connection_id":161846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":161846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:10:46] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:10:46] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:10:46] local.INFO: IMEI packet received {"connection_id":161846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":161846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:10:50] local.INFO: TCP Data received {"connection_id":162843,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:10:50] local.INFO: Processing buffer {"connection_id":162843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:10:50] local.INFO: IMEI packet received {"connection_id":162843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":162843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:10:51] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:10:51] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:10:51] local.INFO: IMEI packet received {"connection_id":161846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":161846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:10:52] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a52d18012d7f588005bc64b0000900be2d..."} 
[2026-08-25 12:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a52d18012d7f588005bc64b0000900be2d..."} 
[2026-08-25 12:10:52] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a52d18012d7f588005bc64b0000900be2d..."} 
[2026-08-25 12:10:52] local.INFO: Packet analysis {"connection_id":161846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a5"} 
[2026-08-25 12:10:52] local.INFO: Extracted packet for processing {"connection_id":161846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a5"} 
[2026-08-25 12:10:52] local.INFO: GPS Element Parsed {"raw_longitude":763320448,"raw_latitude":96232624,"longitude_deg":76.3320448,"latitude_deg":9.6232624,"altitude":9,"angle":190,"satellites":45,"speed":47,"hex_longitude":"2d7f5880","hex_latitude":"05bc64b0","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635829504001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123412079909535744,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177913852754008064,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787639967000,"timestamp_ms":1787639967000,"timestamp_seconds":1787639967,"priority":1,"record_length":96,"hex_timestamp":"000001a037a52d18"} 
[2026-08-25 12: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-25 12:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 12:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635829504001,"66":13319,"120":206,"85":12544,"24":47,"16":123412079909535744,"45":9177913852754008064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-25 12:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635829504001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:10:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123412079909535744,"km_value":123412079909535.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177913852754008064,"description":"Unknown IO ID 45"} 
[2026-08-25 12:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635829504001,"power":13319,"unknown_120":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9177913852754008064}} 
[2026-08-25 12:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":161846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:10:52] local.INFO: GPS data processed {"connection_id":161846,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:10:52] local.INFO: Acknowledgment sent {"connection_id":161846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:10:52] local.INFO: TCP Data received {"connection_id":162843,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:10:52] local.INFO: Processing buffer {"connection_id":162843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:10:52] local.INFO: IMEI packet received {"connection_id":162843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":162843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:10:54] local.INFO: TCP Data received {"connection_id":162842,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:10:54] local.INFO: Processing buffer {"connection_id":162842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:10:54] local.INFO: IMEI packet received {"connection_id":162842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":162842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:10:54] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a54c58012d7f528005bc4200000800ba29..."} 
[2026-08-25 12:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a54c58012d7f528005bc4200000800ba29..."} 
[2026-08-25 12:10:54] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a54c58012d7f528005bc4200000800ba29..."} 
[2026-08-25 12:10:54] local.INFO: Packet analysis {"connection_id":161846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a5"} 
[2026-08-25 12:10:54] local.INFO: Extracted packet for processing {"connection_id":161846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a5"} 
[2026-08-25 12:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763318912,"raw_latitude":96223744,"longitude_deg":76.3318912,"latitude_deg":9.6223744,"altitude":8,"angle":186,"satellites":41,"speed":39,"hex_longitude":"2d7f5280","hex_latitude":"05bc4200","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635831552001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123412513701232640,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176225002891292672,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787639975000,"timestamp_ms":1787639975000,"timestamp_seconds":1787639975,"priority":1,"record_length":96,"hex_timestamp":"000001a037a54c58"} 
[2026-08-25 12: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-25 12:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 12:10:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:54] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2763515905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:54] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4117233678,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2809594062,"corrected_to":0} 
[2026-08-25 12:10:54] local.WARNING: Large IO value detected {"io_id":144,"raw_value":3623955839,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":917693,"corrected_to":0} 
[2026-08-25 12:10:54] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392039,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175010304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:54] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57886499782153521,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:54] local.WARNING: Large IO value detected {"io_id":164,"raw_value":5652018827274534917,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:54] local.WARNING: Large IO value detected {"io_id":189,"raw_value":6998593876780788992,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:54] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,120,85,24,241,157,16,114,160,13,45,128,138,9,10,66,242,172,119,113,215,1,240,12,227,55,188,4,205,46,144,121,200,44,239,51,2,182,5,14,50,94,164,189],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2809594062,"validated":0},{"io_id":200,"original":917693,"validated":0}]} 
[2026-08-25 12:10:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648727446827237376,"timestamp_seconds":648727446827237.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12: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-25 12:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635831552001,"66":13243,"120":206,"85":12544,"24":39,"16":123412513701232640,"45":9176225002891292672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-25 12:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635831552001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:10:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:10:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123412513701232640,"km_value":123412513701232.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176225002891292672,"description":"Unknown IO ID 45"} 
[2026-08-25 12:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635831552001,"power":13243,"unknown_120":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9176225002891292672}} 
[2026-08-25 12:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":161846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:10:54] local.INFO: GPS data processed {"connection_id":161846,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:10:54] local.INFO: Acknowledgment sent {"connection_id":161846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:10:55] local.INFO: TCP Data received {"connection_id":162843,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:10:55] local.INFO: Processing buffer {"connection_id":162843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:10:55] local.INFO: IMEI packet received {"connection_id":162843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":162843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:10:56] local.INFO: TCP Data received {"connection_id":162843,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037a47968012d197d8007209218003700b525..."} 
[2026-08-25 12:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a47968012d197d8007209218003700b525..."} 
[2026-08-25 12:10:56] local.INFO: Processing buffer {"connection_id":162843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a47968012d197d8007209218003700b525..."} 
[2026-08-25 12:10:56] local.INFO: Packet analysis {"connection_id":162843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:10:56] local.INFO: Extracted packet for processing {"connection_id":162843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:10:56] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119575064,"longitude_deg":75.6645248,"latitude_deg":11.9575064,"altitude":55,"angle":181,"satellites":37,"speed":10,"hex_longitude":"2d197d80","hex_latitude":"07209218","is_valid_coordinates":true} 
[2026-08-25 12:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635819008001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15825635930800128,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836905728625137664,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787639921000,"timestamp_ms":1787639921000,"timestamp_seconds":1787639921,"priority":1,"record_length":96,"hex_timestamp":"000001a037a47968"} 
[2026-08-25 12:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:10:56] 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-25 12:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 12:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635819008001,"66":14070,"121":206,"28":31744,"24":10,"16":15825635930800128,"45":1836905728625137664},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635819008001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:10:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:10:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15825635930800128,"km_value":15825635930800.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836905728625137664,"description":"Unknown IO ID 45"} 
[2026-08-25 12:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635819008001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1836905728625137664}} 
[2026-08-25 12:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":162843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:10:56] local.INFO: GPS data processed {"connection_id":162843,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:10:56] local.INFO: Acknowledgment sent {"connection_id":162843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:10:56] local.INFO: TCP Data received {"connection_id":162842,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:10:56] local.INFO: Processing buffer {"connection_id":162842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:10:56] local.INFO: Packet analysis {"connection_id":162842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:10:56] local.INFO: Extracted packet for processing {"connection_id":162842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:10:56] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635729152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787639868000,"timestamp_ms":1787639868000,"timestamp_seconds":1787639868,"priority":1,"record_length":96,"hex_timestamp":"000001a037a3aa60"} 
[2026-08-25 12:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635729152001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635729152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:10:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635729152001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":162842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:10:56] local.INFO: GPS data processed {"connection_id":162842,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:10:56] local.INFO: Acknowledgment sent {"connection_id":162842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:11:01] local.INFO: TCP Data received {"connection_id":162843,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037a48cf0012d197d8007208e000037009726..."} 
[2026-08-25 12:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a48cf0012d197d8007208e000037009726..."} 
[2026-08-25 12:11:01] local.INFO: Processing buffer {"connection_id":162843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a48cf0012d197d8007208e000037009726..."} 
[2026-08-25 12:11:01] local.INFO: Packet analysis {"connection_id":162843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:11:01] local.INFO: Extracted packet for processing {"connection_id":162843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a4"} 
[2026-08-25 12:11:01] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119574016,"longitude_deg":75.6645248,"latitude_deg":11.9574016,"altitude":55,"angle":151,"satellites":38,"speed":6,"hex_longitude":"2d197d80","hex_latitude":"07208e00","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635819776001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15825687470407680,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991136602112,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787639926000,"timestamp_ms":1787639926000,"timestamp_seconds":1787639926,"priority":1,"record_length":96,"hex_timestamp":"000001a037a48cf0"} 
[2026-08-25 12: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-25 12:11:01] 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-25 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 12:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635819776001,"66":13993,"121":206,"28":31744,"24":6,"16":15825687470407680,"45":1836764991136602112},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635819776001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:11:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:11:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15825687470407680,"km_value":15825687470407.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991136602112,"description":"Unknown IO ID 45"} 
[2026-08-25 12:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635819776001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1836764991136602112}} 
[2026-08-25 12:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":162843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:11:01] local.INFO: GPS data processed {"connection_id":162843,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:11:01] local.INFO: Acknowledgment sent {"connection_id":162843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:11:26] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a563c8012d7f51c005bc3208000800ab2d..."} 
[2026-08-25 12:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a563c8012d7f51c005bc3208000800ab2d..."} 
[2026-08-25 12:11:26] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a563c8012d7f51c005bc3208000800ab2d..."} 
[2026-08-25 12:11:26] local.INFO: Packet analysis {"connection_id":161846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a5"} 
[2026-08-25 12:11:26] local.INFO: Extracted packet for processing {"connection_id":161846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a5"} 
[2026-08-25 12:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763318720,"raw_latitude":96219656,"longitude_deg":76.331872,"latitude_deg":9.6219656,"altitude":8,"angle":171,"satellites":45,"speed":18,"hex_longitude":"2d7f51c0","hex_latitude":"05bc3208","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635833600001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123412715564695552,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174536153028755456,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787639981000,"timestamp_ms":1787639981000,"timestamp_seconds":1787639981,"priority":1,"record_length":96,"hex_timestamp":"000001a037a563c8"} 
[2026-08-25 12: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-25 12:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 12:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635833600001,"66":13580,"120":206,"85":12544,"24":18,"16":123412715564695552,"45":9174536153028755456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-25 12:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635833600001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:11:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:11:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123412715564695552,"km_value":123412715564695.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174536153028755456,"description":"Unknown IO ID 45"} 
[2026-08-25 12:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635833600001,"power":13580,"unknown_120":206,"unknown_85":12544,"ignition":18,"odometer":null,"unknown_45":9174536153028755456}} 
[2026-08-25 12:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":161846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:11:26] local.INFO: GPS data processed {"connection_id":161846,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:11:26] local.INFO: Acknowledgment sent {"connection_id":161846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:11:33] local.INFO: TCP Data received {"connection_id":162843,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037a66d68012d197b400720b0e80038002d2b..."} 
[2026-08-25 12:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a66d68012d197b400720b0e80038002d2b..."} 
[2026-08-25 12:11:33] local.INFO: Processing buffer {"connection_id":162843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a66d68012d197b400720b0e80038002d2b..."} 
[2026-08-25 12:11:33] local.INFO: Packet analysis {"connection_id":162843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a6"} 
[2026-08-25 12:11:33] local.INFO: Extracted packet for processing {"connection_id":162843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a6"} 
[2026-08-25 12:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756644672,"raw_latitude":119582952,"longitude_deg":75.6644672,"latitude_deg":11.9582952,"altitude":56,"angle":45,"satellites":43,"speed":7,"hex_longitude":"2d197b40","hex_latitude":"0720b0e8","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635852288001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15826215751385088,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836061303696812032,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787640049000,"timestamp_ms":1787640049000,"timestamp_seconds":1787640049,"priority":1,"record_length":96,"hex_timestamp":"000001a037a66d68"} 
[2026-08-25 12: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-25 12:11:33] 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-25 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 12:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635852288001,"66":14548,"121":206,"28":31744,"24":7,"16":15826215751385088,"45":1836061303696812032},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635852288001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:11:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:11:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15826215751385088,"km_value":15826215751385.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836061303696812032,"description":"Unknown IO ID 45"} 
[2026-08-25 12:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635852288001,"power":14548,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1836061303696812032}} 
[2026-08-25 12:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":162843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:11:33] local.INFO: GPS data processed {"connection_id":162843,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:11:33] local.INFO: Acknowledgment sent {"connection_id":162843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:11:40] local.INFO: TCP Data received {"connection_id":162844,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:11:40] local.INFO: Processing buffer {"connection_id":162844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:11:40] local.INFO: IMEI packet received {"connection_id":162844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":162844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:11:41] local.INFO: TCP Data received {"connection_id":161606,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:11:41] local.INFO: Processing buffer {"connection_id":161606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:11:41] local.INFO: IMEI packet received {"connection_id":161606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":161606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:11:45] local.INFO: TCP Data received {"connection_id":162844,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:11:45] local.INFO: Processing buffer {"connection_id":162844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:11:45] local.INFO: IMEI packet received {"connection_id":162844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":162844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:11:46] local.INFO: TCP Data received {"connection_id":161606,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:11:46] local.INFO: Processing buffer {"connection_id":161606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:11:46] local.INFO: IMEI packet received {"connection_id":161606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":161606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:11:47] local.INFO: TCP Data received {"connection_id":161606,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a56b98012d7f51c005bc2dc8000800b72d..."} 
[2026-08-25 12:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a56b98012d7f51c005bc2dc8000800b72d..."} 
[2026-08-25 12:11:47] local.INFO: Processing buffer {"connection_id":161606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a56b98012d7f51c005bc2dc8000800b72d..."} 
[2026-08-25 12:11:47] local.INFO: Packet analysis {"connection_id":161606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a5"} 
[2026-08-25 12:11:47] local.INFO: Extracted packet for processing {"connection_id":161606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a5"} 
[2026-08-25 12:11:47] local.INFO: GPS Element Parsed {"raw_longitude":763318720,"raw_latitude":96218568,"longitude_deg":76.331872,"latitude_deg":9.6218568,"altitude":8,"angle":183,"satellites":45,"speed":24,"hex_longitude":"2d7f51c0","hex_latitude":"05bc2dc8","is_valid_coordinates":true} 
[2026-08-25 12:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635835136001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123412767104303104,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174325046795175936,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787639983000,"timestamp_ms":1787639983000,"timestamp_seconds":1787639983,"priority":1,"record_length":96,"hex_timestamp":"000001a037a56b98"} 
[2026-08-25 12:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625840,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5300464082531385344,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2767355905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2892496905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937947511,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2809594062,"corrected_to":0} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3170199552,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":127,"raw_value":8736989586855034894,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971747869477253547,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.WARNING: Large IO value detected {"io_id":49,"raw_value":6755536880140529,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:47] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,120,85,24,241,157,16,115,160,76,45,128,66,8,41,10,100,9,114,13,1,240,227,55,188,4,113,205,50,215,107,184,239,53,119,2,182,5,14,46,127,51,49],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2809594062,"validated":0}]} 
[2026-08-25 12:11:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576648962066481152,"timestamp_seconds":576648962066481.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635835136001,"66":13537,"120":206,"85":12544,"24":24,"16":123412767104303104,"45":9174325046795175936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-25 12:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635835136001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:11:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123412767104303104,"km_value":123412767104303.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174325046795175936,"description":"Unknown IO ID 45"} 
[2026-08-25 12:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635835136001,"power":13537,"unknown_120":206,"unknown_85":12544,"ignition":24,"odometer":null,"unknown_45":9174325046795175936}} 
[2026-08-25 12:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":161606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:11:47] local.INFO: GPS data processed {"connection_id":161606,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:11:47] local.INFO: Acknowledgment sent {"connection_id":161606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:11:48] local.INFO: TCP Data received {"connection_id":162844,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:11:48] local.INFO: Processing buffer {"connection_id":162844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:11:48] local.INFO: Packet analysis {"connection_id":162844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:11:48] local.INFO: Extracted packet for processing {"connection_id":162844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635729152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787639868000,"timestamp_ms":1787639868000,"timestamp_seconds":1787639868,"priority":1,"record_length":96,"hex_timestamp":"000001a037a3aa60"} 
[2026-08-25 12:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635729152001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635729152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635729152001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":162844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:11:48] local.INFO: GPS data processed {"connection_id":162844,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:11:48] local.INFO: Acknowledgment sent {"connection_id":162844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:11:50] local.INFO: TCP Data received {"connection_id":161607,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:11:51] local.INFO: Processing buffer {"connection_id":161607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:11:51] local.INFO: IMEI packet received {"connection_id":161607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":161607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:11:51] local.INFO: TCP Data received {"connection_id":161607,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:11:51] local.INFO: Processing buffer {"connection_id":161607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:11:51] local.INFO: IMEI packet received {"connection_id":161607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":161607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:11:55] local.INFO: TCP Data received {"connection_id":161607,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:11:55] local.INFO: Processing buffer {"connection_id":161607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:11:55] local.INFO: IMEI packet received {"connection_id":161607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":161607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:11:57] local.INFO: TCP Data received {"connection_id":161607,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037a67150012d197bc00720b1580038003e2b..."} 
[2026-08-25 12:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a67150012d197bc00720b1580038003e2b..."} 
[2026-08-25 12:11:57] local.INFO: Processing buffer {"connection_id":161607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a67150012d197bc00720b1580038003e2b..."} 
[2026-08-25 12:11:57] local.INFO: Packet analysis {"connection_id":161607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a6"} 
[2026-08-25 12:11:57] local.INFO: Extracted packet for processing {"connection_id":161607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a6"} 
[2026-08-25 12:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756644800,"raw_latitude":119583064,"longitude_deg":75.66448,"latitude_deg":11.9583064,"altitude":56,"angle":62,"satellites":43,"speed":8,"hex_longitude":"2d197bc0","hex_latitude":"0720b158","is_valid_coordinates":true} 
[2026-08-25 12:11: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-25 12:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635852544001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15826224341319680,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836131672441022464,"note":"Value kept but may cause issues"} 
[2026-08-25 12:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787640050000,"timestamp_ms":1787640050000,"timestamp_seconds":1787640050,"priority":1,"record_length":96,"hex_timestamp":"000001a037a67150"} 
[2026-08-25 12:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-25 12:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:11: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-25 12:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635852544001,"66":14548,"121":206,"28":31744,"24":8,"16":15826224341319680,"45":1836131672441022464},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635852544001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:11:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:11:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15826224341319680,"km_value":15826224341319.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836131672441022464,"description":"Unknown IO ID 45"} 
[2026-08-25 12:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635852544001,"power":14548,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1836131672441022464}} 
[2026-08-25 12:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":161607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:11:57] local.INFO: GPS data processed {"connection_id":161607,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:11:57] local.INFO: Acknowledgment sent {"connection_id":161607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:12:19] local.INFO: TCP Data received {"connection_id":162844,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:12:19] local.INFO: Processing buffer {"connection_id":162844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:12:19] local.INFO: Packet analysis {"connection_id":162844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:12:19] local.INFO: Extracted packet for processing {"connection_id":162844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:12:19] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635729152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787639868000,"timestamp_ms":1787639868000,"timestamp_seconds":1787639868,"priority":1,"record_length":96,"hex_timestamp":"000001a037a3aa60"} 
[2026-08-25 12:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635729152001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635729152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:12:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635729152001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":162844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:12:19] local.INFO: GPS data processed {"connection_id":162844,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:12:19] local.INFO: Acknowledgment sent {"connection_id":162844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:12:21] local.INFO: TCP Data received {"connection_id":161606,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a74440012d7f16c005bac070000600be2d..."} 
[2026-08-25 12:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a74440012d7f16c005bac070000600be2d..."} 
[2026-08-25 12:12:21] local.INFO: Processing buffer {"connection_id":161606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a74440012d7f16c005bac070000600be2d..."} 
[2026-08-25 12:12:21] local.INFO: Packet analysis {"connection_id":161606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:12:21] local.INFO: Extracted packet for processing {"connection_id":161606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:12:21] local.INFO: GPS Element Parsed {"raw_longitude":763303616,"raw_latitude":96125040,"longitude_deg":76.3303616,"latitude_deg":9.612504,"altitude":6,"angle":190,"satellites":45,"speed":31,"hex_longitude":"2d7f16c0","hex_latitude":"05bac070","is_valid_coordinates":true} 
[2026-08-25 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-25 12:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635863552001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123417375604211712,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159547610496006144,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787640104000,"timestamp_ms":1787640104000,"timestamp_seconds":1787640104,"priority":1,"record_length":96,"hex_timestamp":"000001a037a74440"} 
[2026-08-25 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-25 12:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 12:12:21] 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-25 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-25 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-25 12:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635863552001,"66":13504,"121":206,"85":12544,"24":31,"16":123417375604211712,"45":9159547610496006144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 12:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635863552001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:12:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123417375604211712,"km_value":123417375604211.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159547610496006144,"description":"Unknown IO ID 45"} 
[2026-08-25 12:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635863552001,"power":13504,"unknown_121":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9159547610496006144}} 
[2026-08-25 12:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":161606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:12:21] local.INFO: GPS data processed {"connection_id":161606,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:12:21] local.INFO: Acknowledgment sent {"connection_id":161606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:12:29] local.INFO: TCP Data received {"connection_id":161607,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037a70d90012d19b7800720aa300036013029..."} 
[2026-08-25 12:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a70d90012d19b7800720aa300036013029..."} 
[2026-08-25 12:12:29] local.INFO: Processing buffer {"connection_id":161607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a70d90012d19b7800720aa300036013029..."} 
[2026-08-25 12:12:29] local.INFO: Packet analysis {"connection_id":161607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:12:29] local.INFO: Extracted packet for processing {"connection_id":161607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756660096,"raw_latitude":119581232,"longitude_deg":75.6660096,"latitude_deg":11.9581232,"altitude":54,"angle":304,"satellites":41,"speed":16,"hex_longitude":"2d19b780","hex_latitude":"0720aa30","is_valid_coordinates":true} 
[2026-08-25 12:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635862784001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15827134874386432,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383508226048,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787640090000,"timestamp_ms":1787640090000,"timestamp_seconds":1787640090,"priority":1,"record_length":96,"hex_timestamp":"000001a037a70d90"} 
[2026-08-25 12:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:12:29] 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-25 12:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-25 12:12:29] 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-25 12:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635862784001,"66":14483,"121":206,"28":31744,"24":16,"16":15827134874386432,"45":1853442383508226048},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635862784001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:12:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:12:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15827134874386432,"km_value":15827134874386.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383508226048,"description":"Unknown IO ID 45"} 
[2026-08-25 12:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635862784001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1853442383508226048}} 
[2026-08-25 12:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":161607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:12:29] local.INFO: GPS data processed {"connection_id":161607,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:12:29] local.INFO: Acknowledgment sent {"connection_id":161607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:12:40] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:12:40] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:12:40] local.INFO: IMEI packet received {"connection_id":161847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":161847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:12:41] local.INFO: TCP Data received {"connection_id":162845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:12:41] local.INFO: Processing buffer {"connection_id":162845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:12:41] local.INFO: IMEI packet received {"connection_id":162845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":162845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:12:43] local.INFO: TCP Data received {"connection_id":162845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:12:43] local.INFO: Processing buffer {"connection_id":162845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:12:43] local.INFO: IMEI packet received {"connection_id":162845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":162845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:12:45] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:12:45] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:12:45] local.INFO: IMEI packet received {"connection_id":161847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":161847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:12:46] local.INFO: TCP Data received {"connection_id":162845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:12:46] local.INFO: Processing buffer {"connection_id":162845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:12:46] local.INFO: IMEI packet received {"connection_id":162845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":162845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:12:46] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:12:46] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:12:46] local.INFO: Packet analysis {"connection_id":161847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:12:46] local.INFO: Extracted packet for processing {"connection_id":161847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635729152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787639868000,"timestamp_ms":1787639868000,"timestamp_seconds":1787639868,"priority":1,"record_length":96,"hex_timestamp":"000001a037a3aa60"} 
[2026-08-25 12:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635729152001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635729152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635729152001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":161847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:12:46] local.INFO: GPS data processed {"connection_id":161847,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:12:46] local.INFO: Acknowledgment sent {"connection_id":161847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:12:47] local.INFO: TCP Data received {"connection_id":162845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a77320012d7f104005ba9ba0000600bf2a..."} 
[2026-08-25 12:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a77320012d7f104005ba9ba0000600bf2a..."} 
[2026-08-25 12:12:47] local.INFO: Processing buffer {"connection_id":162845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a77320012d7f104005ba9ba0000600bf2a..."} 
[2026-08-25 12:12:47] local.INFO: Packet analysis {"connection_id":162845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:12:47] local.INFO: Extracted packet for processing {"connection_id":162845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:12:47] local.INFO: GPS Element Parsed {"raw_longitude":763301952,"raw_latitude":96115616,"longitude_deg":76.3301952,"latitude_deg":9.6115616,"altitude":6,"angle":191,"satellites":42,"speed":32,"hex_longitude":"2d7f1040","hex_latitude":"05ba9ba0","is_valid_coordinates":true} 
[2026-08-25 12:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635866624001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123417839460679680,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157718023145025536,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787640116000,"timestamp_ms":1787640116000,"timestamp_seconds":1787640116,"priority":1,"record_length":96,"hex_timestamp":"000001a037a77320"} 
[2026-08-25 12:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-25 12:12:47] 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-25 12:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635866624001,"66":13363,"121":206,"85":12544,"24":32,"16":123417839460679680,"45":9157718023145025536},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 12:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635866624001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:12:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:12:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123417839460679680,"km_value":123417839460679.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157718023145025536,"description":"Unknown IO ID 45"} 
[2026-08-25 12:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635866624001,"power":13363,"unknown_121":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9157718023145025536}} 
[2026-08-25 12:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":162845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:12:47] local.INFO: GPS data processed {"connection_id":162845,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:12:47] local.INFO: Acknowledgment sent {"connection_id":162845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:12:51] local.INFO: TCP Data received {"connection_id":162845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a79e18012d7f0b0005ba7848000600ba2b..."} 
[2026-08-25 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a79e18012d7f0b0005ba7848000600ba2b..."} 
[2026-08-25 12:12:51] local.INFO: Processing buffer {"connection_id":162845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a79e18012d7f0b0005ba7848000600ba2b..."} 
[2026-08-25 12:12:51] local.INFO: Packet analysis {"connection_id":162845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:12:51] local.INFO: Extracted packet for processing {"connection_id":162845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":763300608,"raw_latitude":96106568,"longitude_deg":76.3300608,"latitude_deg":9.6106568,"altitude":6,"angle":186,"satellites":43,"speed":31,"hex_longitude":"2d7f0b00","hex_latitude":"05ba7848","is_valid_coordinates":true} 
[2026-08-25 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635869696001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123418281842311168,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155888435793993728,"note":"Value kept but may cause issues"} 
[2026-08-25 12:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787640127000,"timestamp_ms":1787640127000,"timestamp_seconds":1787640127,"priority":1,"record_length":96,"hex_timestamp":"000001a037a79e18"} 
[2026-08-25 12:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 12:12:51] 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-25 12:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635869696001,"66":13678,"121":206,"85":12544,"24":31,"16":123418281842311168,"45":9155888435793993728},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 12:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635869696001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:12:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:12:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123418281842311168,"km_value":123418281842311.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155888435793993728,"description":"Unknown IO ID 45"} 
[2026-08-25 12:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635869696001,"power":13678,"unknown_121":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9155888435793993728}} 
[2026-08-25 12:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":162845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:12:51] local.INFO: GPS data processed {"connection_id":162845,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:12:51] local.INFO: Acknowledgment sent {"connection_id":162845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:12:52] local.INFO: TCP Data received {"connection_id":162846,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:12:52] local.INFO: Processing buffer {"connection_id":162846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:12:52] local.INFO: IMEI packet received {"connection_id":162846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":162846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:12:55] local.INFO: TCP Data received {"connection_id":162846,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:12:55] local.INFO: Processing buffer {"connection_id":162846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:12:55] local.INFO: IMEI packet received {"connection_id":162846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":162846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:13:01] local.INFO: TCP Data received {"connection_id":162846,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:13:01] local.INFO: Processing buffer {"connection_id":162846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:13:01] local.INFO: IMEI packet received {"connection_id":162846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":162846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:13:02] local.INFO: TCP Data received {"connection_id":162846,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037a72118012d19af000720ae200038012429..."} 
[2026-08-25 12:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a72118012d19af000720ae200038012429..."} 
[2026-08-25 12:13:02] local.INFO: Processing buffer {"connection_id":162846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a72118012d19af000720ae200038012429..."} 
[2026-08-25 12:13:02] local.INFO: Packet analysis {"connection_id":162846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:13:02] local.INFO: Extracted packet for processing {"connection_id":162846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:13:02] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119582240,"longitude_deg":75.665792,"latitude_deg":11.958224,"altitude":56,"angle":292,"satellites":41,"speed":21,"hex_longitude":"2d19af00","hex_latitude":"0720ae20","is_valid_coordinates":true} 
[2026-08-25 12:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635863040001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15827246543536128,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853090539787399168,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787640095000,"timestamp_ms":1787640095000,"timestamp_seconds":1787640095,"priority":1,"record_length":96,"hex_timestamp":"000001a037a72118"} 
[2026-08-25 12:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:13:02] 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-25 12:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-25 12:13:02] 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-25 12:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635863040001,"66":14428,"121":206,"28":31744,"24":21,"16":15827246543536128,"45":1853090539787399168},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635863040001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:13:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:13:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15827246543536128,"km_value":15827246543536.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853090539787399168,"description":"Unknown IO ID 45"} 
[2026-08-25 12:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635863040001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1853090539787399168}} 
[2026-08-25 12:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":162846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:13:02] local.INFO: GPS data processed {"connection_id":162846,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:13:02] local.INFO: Acknowledgment sent {"connection_id":162846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:13:03] local.INFO: TCP Data received {"connection_id":162846,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037a72cd0012d19a8c00720b000003801182b..."} 
[2026-08-25 12:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a72cd0012d19a8c00720b000003801182b..."} 
[2026-08-25 12:13:03] local.INFO: Processing buffer {"connection_id":162846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a72cd0012d19a8c00720b000003801182b..."} 
[2026-08-25 12:13:03] local.INFO: Packet analysis {"connection_id":162846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:13:03] local.INFO: Extracted packet for processing {"connection_id":162846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756656320,"raw_latitude":119582720,"longitude_deg":75.665632,"latitude_deg":11.958272,"altitude":56,"angle":280,"satellites":43,"speed":23,"hex_longitude":"2d19a8c0","hex_latitude":"0720b000","is_valid_coordinates":true} 
[2026-08-25 12:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635864320001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15827328147914752,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002485616640,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787640098000,"timestamp_ms":1787640098000,"timestamp_seconds":1787640098,"priority":1,"record_length":96,"hex_timestamp":"000001a037a72cd0"} 
[2026-08-25 12:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 12:13:03] 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-25 12:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635864320001,"66":13722,"121":206,"28":31744,"24":23,"16":15827328147914752,"45":1850698002485616640},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635864320001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:13:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15827328147914752,"km_value":15827328147914.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002485616640,"description":"Unknown IO ID 45"} 
[2026-08-25 12:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635864320001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1850698002485616640}} 
[2026-08-25 12:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":162846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:13:03] local.INFO: GPS data processed {"connection_id":162846,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:13:03] local.INFO: Acknowledgment sent {"connection_id":162846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:13:18] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:13:18] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a3aa60012d34c0c006aa4878000700552e..."} 
[2026-08-25 12:13:18] local.INFO: Packet analysis {"connection_id":161847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:13:18] local.INFO: Extracted packet for processing {"connection_id":161847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a3"} 
[2026-08-25 12:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":46,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635729152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787639868000,"timestamp_ms":1787639868000,"timestamp_seconds":1787639868,"priority":1,"record_length":96,"hex_timestamp":"000001a037a3aa60"} 
[2026-08-25 12:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635729152001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635729152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635729152001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":161847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:13:18] local.INFO: GPS data processed {"connection_id":161847,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:13:18] local.INFO: Acknowledgment sent {"connection_id":161847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:13:23] local.INFO: TCP Data received {"connection_id":162845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a7d4c8012d7f064005ba55a8000700bc2c..."} 
[2026-08-25 12:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a7d4c8012d7f064005ba55a8000700bc2c..."} 
[2026-08-25 12:13:23] local.INFO: Processing buffer {"connection_id":162845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a7d4c8012d7f064005ba55a8000700bc2c..."} 
[2026-08-25 12:13:23] local.INFO: Packet analysis {"connection_id":162845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:13:23] local.INFO: Extracted packet for processing {"connection_id":162845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:13:23] local.INFO: GPS Element Parsed {"raw_longitude":763299392,"raw_latitude":96097704,"longitude_deg":76.3299392,"latitude_deg":9.6097704,"altitude":7,"angle":188,"satellites":44,"speed":9,"hex_longitude":"2d7f0640","hex_latitude":"05ba55a8","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635872512001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123418715634008064,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154410692163946496,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787640141000,"timestamp_ms":1787640141000,"timestamp_seconds":1787640141,"priority":1,"record_length":96,"hex_timestamp":"000001a037a7d4c8"} 
[2026-08-25 12: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-25 12:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 12:13: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-25 12: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-25 12: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-25 12:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635872512001,"66":13059,"120":206,"85":12544,"24":9,"16":123418715634008064,"45":9154410692163946496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-25 12:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635872512001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:13:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:13:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123418715634008064,"km_value":123418715634008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154410692163946496,"description":"Unknown IO ID 45"} 
[2026-08-25 12:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635872512001,"power":13059,"unknown_120":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9154410692163946496}} 
[2026-08-25 12:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":162845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:13:23] local.INFO: GPS data processed {"connection_id":162845,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:13:23] local.INFO: Acknowledgment sent {"connection_id":162845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:13:35] local.INFO: TCP Data received {"connection_id":162846,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037a75bb0012d198ac00720b350003a01072b..."} 
[2026-08-25 12:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a75bb0012d198ac00720b350003a01072b..."} 
[2026-08-25 12:13:35] local.INFO: Processing buffer {"connection_id":162846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a75bb0012d198ac00720b350003a01072b..."} 
[2026-08-25 12:13:35] local.INFO: Packet analysis {"connection_id":162846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:13:35] local.INFO: Extracted packet for processing {"connection_id":162846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756648640,"raw_latitude":119583568,"longitude_deg":75.664864,"latitude_deg":11.9583568,"altitude":58,"angle":263,"satellites":43,"speed":25,"hex_longitude":"2d198ac0","hex_latitude":"0720b350","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635865088001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15827693220134912,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848938783881297920,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787640110000,"timestamp_ms":1787640110000,"timestamp_seconds":1787640110,"priority":1,"record_length":96,"hex_timestamp":"000001a037a75bb0"} 
[2026-08-25 12: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-25 12:13:35] 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-25 12: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-25 12:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635865088001,"66":14559,"121":206,"28":31744,"24":25,"16":15827693220134912,"45":1848938783881297920},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635865088001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:13:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:13:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15827693220134912,"km_value":15827693220134.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848938783881297920,"description":"Unknown IO ID 45"} 
[2026-08-25 12:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635865088001,"power":14559,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1848938783881297920}} 
[2026-08-25 12:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":162846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:13:35] local.INFO: GPS data processed {"connection_id":162846,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:13:35] local.INFO: Acknowledgment sent {"connection_id":162846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:13:40] local.INFO: TCP Data received {"connection_id":161608,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:13:40] local.INFO: Processing buffer {"connection_id":161608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:13:40] local.INFO: IMEI packet received {"connection_id":161608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":161608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:13:41] local.INFO: TCP Data received {"connection_id":161608,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:13:41] local.INFO: Processing buffer {"connection_id":161608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:13:41] local.INFO: IMEI packet received {"connection_id":161608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":161608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:13:45] local.INFO: TCP Data received {"connection_id":161608,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:13:45] local.INFO: Processing buffer {"connection_id":161608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:13:45] local.INFO: IMEI packet received {"connection_id":161608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":161608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:13:46] local.INFO: TCP Data received {"connection_id":161608,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037a84228012d34c0c006aa4878000700552f..."} 
[2026-08-25 12:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a84228012d34c0c006aa4878000700552f..."} 
[2026-08-25 12:13:46] local.INFO: Processing buffer {"connection_id":161608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a84228012d34c0c006aa4878000700552f..."} 
[2026-08-25 12:13:46] local.INFO: Packet analysis {"connection_id":161608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:13:46] local.INFO: Extracted packet for processing {"connection_id":161608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111822968,"longitude_deg":75.8431936,"latitude_deg":11.1822968,"altitude":7,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4878","is_valid_coordinates":true} 
[2026-08-25 12:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635806208001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787640169000,"timestamp_ms":1787640169000,"timestamp_seconds":1787640169,"priority":1,"record_length":96,"hex_timestamp":"000001a037a84228"} 
[2026-08-25 12:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 12:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635806208001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635806208001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635806208001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":161608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:13:46] local.INFO: GPS data processed {"connection_id":161608,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:13:46] local.INFO: Acknowledgment sent {"connection_id":161608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:13:46] local.INFO: TCP Data received {"connection_id":162847,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:13:46] local.INFO: Processing buffer {"connection_id":162847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:13:46] local.INFO: IMEI packet received {"connection_id":162847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":162847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:13:49] local.INFO: TCP Data received {"connection_id":162847,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:13:49] local.INFO: Processing buffer {"connection_id":162847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:13:49] local.INFO: IMEI packet received {"connection_id":162847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":162847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:13:50] local.INFO: TCP Data received {"connection_id":161609,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:13:50] local.INFO: Processing buffer {"connection_id":161609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:13:50] local.INFO: IMEI packet received {"connection_id":161609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":161609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:13:51] local.INFO: TCP Data received {"connection_id":162847,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:13:51] local.INFO: Processing buffer {"connection_id":162847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:13:51] local.INFO: IMEI packet received {"connection_id":162847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":162847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:13:52] local.INFO: TCP Data received {"connection_id":162847,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a822e8012d7f05c005ba5038000800c22c..."} 
[2026-08-25 12:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a822e8012d7f05c005ba5038000800c22c..."} 
[2026-08-25 12:13:52] local.INFO: Processing buffer {"connection_id":162847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a822e8012d7f05c005ba5038000800c22c..."} 
[2026-08-25 12:13:52] local.INFO: Packet analysis {"connection_id":162847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:13:52] local.INFO: Extracted packet for processing {"connection_id":162847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:13:52] local.INFO: GPS Element Parsed {"raw_longitude":763299264,"raw_latitude":96096312,"longitude_deg":76.3299264,"latitude_deg":9.6096312,"altitude":8,"angle":194,"satellites":44,"speed":0,"hex_longitude":"2d7f05c0","hex_latitude":"05ba5038","is_valid_coordinates":true} 
[2026-08-25 12:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635876096001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123418792943419392,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153073686022301696,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787640161000,"timestamp_ms":1787640161000,"timestamp_seconds":1787640161,"priority":1,"record_length":96,"hex_timestamp":"000001a037a822e8"} 
[2026-08-25 12:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 12:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169941851559,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:52] local.WARNING: Large IO value detected {"io_id":120,"raw_value":58077514145726486,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:52] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2803195905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:52] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3833069575,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2860056782,"corrected_to":0} 
[2026-08-25 12:13:52] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2952867199,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3140147200,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:52] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,120,85,24,241,157,16,160,158,45,6,43,10,66,121,115,64,155,42,119,68,192,1,240,227,55,186,4,113,205,27,222,35,152,44,239,53,2,182,5,7,22],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2860056782,"validated":0}]} 
[2026-08-25 12:13:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504610055430668288,"timestamp_seconds":504610055430668.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635876096001,"66":13048,"128":206,"85":12544,"24":0,"16":123418792943419392,"45":9153073686022301696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-08-25 12:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635876096001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:13:52] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-25 12:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123418792943419392,"km_value":123418792943419.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153073686022301696,"description":"Unknown IO ID 45"} 
[2026-08-25 12:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635876096001,"power":13048,"unknown_128":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9153073686022301696}} 
[2026-08-25 12:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":162847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:13:52] local.INFO: GPS data processed {"connection_id":162847,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:13:52] local.INFO: Acknowledgment sent {"connection_id":162847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:13:55] local.INFO: TCP Data received {"connection_id":161609,"ip":"117.224.149.240","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:13:55] local.INFO: Processing buffer {"connection_id":161609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:13:55] local.INFO: IMEI packet received {"connection_id":161609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":161609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:13:57] local.INFO: TCP Data received {"connection_id":161609,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037a77708012d1975400720af08003800fc29..."} 
[2026-08-25 12:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a77708012d1975400720af08003800fc29..."} 
[2026-08-25 12:13:57] local.INFO: Processing buffer {"connection_id":161609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a77708012d1975400720af08003800fc29..."} 
[2026-08-25 12:13:57] local.INFO: Packet analysis {"connection_id":161609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:13:57] local.INFO: Extracted packet for processing {"connection_id":161609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756643136,"raw_latitude":119582472,"longitude_deg":75.6643136,"latitude_deg":11.9582472,"altitude":56,"angle":252,"satellites":41,"speed":35,"hex_longitude":"2d197540","hex_latitude":"0720af08","is_valid_coordinates":true} 
[2026-08-25 12:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635868160001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15827963803074560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840494534580195328,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787640117000,"timestamp_ms":1787640117000,"timestamp_seconds":1787640117,"priority":1,"record_length":96,"hex_timestamp":"000001a037a77708"} 
[2026-08-25 12:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-25 12:13:57] 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-25 12:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635868160001,"66":14515,"121":206,"28":31744,"24":35,"16":15827963803074560,"45":1840494534580195328},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635868160001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:13:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:13:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15827963803074560,"km_value":15827963803074.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840494534580195328,"description":"Unknown IO ID 45"} 
[2026-08-25 12:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635868160001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1840494534580195328}} 
[2026-08-25 12:13:57] local.INFO: TCP Data received {"connection_id":162847,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a874f0012d7f03c005ba4178000900c42b..."} 
[2026-08-25 12:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a874f0012d7f03c005ba4178000900c42b..."} 
[2026-08-25 12:13:57] local.INFO: Processing buffer {"connection_id":162847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a874f0012d7f03c005ba4178000900c42b..."} 
[2026-08-25 12:13:57] local.INFO: Packet analysis {"connection_id":162847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:13:57] local.INFO: Extracted packet for processing {"connection_id":162847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763298752,"raw_latitude":96092536,"longitude_deg":76.3298752,"latitude_deg":9.6092536,"altitude":9,"angle":196,"satellites":43,"speed":11,"hex_longitude":"2d7f03c0","hex_latitude":"05ba4178","is_valid_coordinates":true} 
[2026-08-25 12:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635881216001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123418981921980416,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152932948533590016,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787640182000,"timestamp_ms":1787640182000,"timestamp_seconds":1787640182,"priority":1,"record_length":96,"hex_timestamp":"000001a037a874f0"} 
[2026-08-25 12:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 12:13:57] 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-25 12:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635881216001,"66":13656,"128":206,"85":12544,"24":11,"16":123418981921980416,"45":9152932948533590016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-08-25 12:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635881216001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:13:57] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-25 12:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123418981921980416,"km_value":123418981921980.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152932948533590016,"description":"Unknown IO ID 45"} 
[2026-08-25 12:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635881216001,"power":13656,"unknown_128":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9152932948533590016}} 
[2026-08-25 12:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":161609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:13:57] local.INFO: GPS data processed {"connection_id":161609,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:13:57] local.INFO: Acknowledgment sent {"connection_id":161609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":162847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:13:57] local.INFO: GPS data processed {"connection_id":162847,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:13:57] local.INFO: Acknowledgment sent {"connection_id":162847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:13:58] local.INFO: TCP Data received {"connection_id":161609,"ip":"117.224.149.240","data_length":795,"data_hex":"000000000000030f8e0a000001a037a786a8012d1967400720ac100036010729..."} 
[2026-08-25 12:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a786a8012d1967400720ac100036010729..."} 
[2026-08-25 12:13:58] local.INFO: Processing buffer {"connection_id":161609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a786a8012d1967400720ac100036010729..."} 
[2026-08-25 12:13:58] local.INFO: Packet analysis {"connection_id":161609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:13:58] local.INFO: Extracted packet for processing {"connection_id":161609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a7"} 
[2026-08-25 12:13:58] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119581712,"longitude_deg":75.6639552,"latitude_deg":11.9581712,"altitude":54,"angle":263,"satellites":41,"speed":35,"hex_longitude":"2d196740","hex_latitude":"0720ac10","is_valid_coordinates":true} 
[2026-08-25 12:13: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-25 12:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635869952001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15828135601766400,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834442822580635648,"note":"Value kept but may cause issues"} 
[2026-08-25 12:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787640121000,"timestamp_ms":1787640121000,"timestamp_seconds":1787640121,"priority":1,"record_length":96,"hex_timestamp":"000001a037a786a8"} 
[2026-08-25 12:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:13:58] 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-25 12:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 12:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:13: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-25 12:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635869952001,"66":14494,"121":206,"28":31744,"24":35,"16":15828135601766400,"45":1834442822580635648},"client_ip":"117.224.149.240","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635869952001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:13:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:13:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15828135601766400,"km_value":15828135601766.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834442822580635648,"description":"Unknown IO ID 45"} 
[2026-08-25 12:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635869952001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1834442822580635648}} 
[2026-08-25 12:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":161609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:13:58] local.INFO: GPS data processed {"connection_id":161609,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:13:58] local.INFO: Acknowledgment sent {"connection_id":161609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:14:18] local.INFO: TCP Data received {"connection_id":161608,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:14:18] local.INFO: Processing buffer {"connection_id":161608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:14:18] local.INFO: Packet analysis {"connection_id":161608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:14:18] local.INFO: Extracted packet for processing {"connection_id":161608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111822816,"longitude_deg":75.8431552,"latitude_deg":11.1822816,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa47e0","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635883264001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:14:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640183000,"timestamp_ms":1787640183000,"timestamp_seconds":1787640183,"priority":1,"record_length":96,"hex_timestamp":"000001a037a878d8"} 
[2026-08-25 12: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-25 12:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635883264001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635883264001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635883264001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":161608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:14:18] local.INFO: GPS data processed {"connection_id":161608,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:14:18] local.INFO: Acknowledgment sent {"connection_id":161608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:14:40] local.INFO: TCP Data received {"connection_id":162848,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:14:40] local.INFO: Processing buffer {"connection_id":162848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:14:40] local.INFO: IMEI packet received {"connection_id":162848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":162848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:14:44] local.INFO: TCP Data received {"connection_id":162849,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:14:44] local.INFO: Processing buffer {"connection_id":162849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:14:44] local.INFO: IMEI packet received {"connection_id":162849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":162849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:14:45] local.INFO: TCP Data received {"connection_id":162848,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:14:45] local.INFO: Processing buffer {"connection_id":162848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:14:45] local.INFO: IMEI packet received {"connection_id":162848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":162848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:14:46] local.INFO: TCP Data received {"connection_id":162848,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:14:46] local.INFO: Processing buffer {"connection_id":162848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:14:46] local.INFO: Packet analysis {"connection_id":162848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:14:46] local.INFO: Extracted packet for processing {"connection_id":162848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111822816,"longitude_deg":75.8431552,"latitude_deg":11.1822816,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa47e0","is_valid_coordinates":true} 
[2026-08-25 12:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635883264001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:14:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787640183000,"timestamp_ms":1787640183000,"timestamp_seconds":1787640183,"priority":1,"record_length":96,"hex_timestamp":"000001a037a878d8"} 
[2026-08-25 12:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635883264001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635883264001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635883264001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":162848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:14:46] local.INFO: GPS data processed {"connection_id":162848,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:14:46] local.INFO: Acknowledgment sent {"connection_id":162848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:14:46] local.INFO: TCP Data received {"connection_id":162849,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:14:46] local.INFO: Processing buffer {"connection_id":162849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:14:46] local.INFO: IMEI packet received {"connection_id":162849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":162849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:14:50] local.INFO: TCP Data received {"connection_id":162849,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:14:50] local.INFO: Processing buffer {"connection_id":162849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:14:50] local.INFO: IMEI packet received {"connection_id":162849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":162849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:14:52] local.INFO: TCP Data received {"connection_id":162849,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a89fe8012d7f024005ba3670000b00b92b..."} 
[2026-08-25 12:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a89fe8012d7f024005ba3670000b00b92b..."} 
[2026-08-25 12:14:52] local.INFO: Processing buffer {"connection_id":162849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a89fe8012d7f024005ba3670000b00b92b..."} 
[2026-08-25 12:14:52] local.INFO: Packet analysis {"connection_id":162849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:14:52] local.INFO: Extracted packet for processing {"connection_id":162849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:14:52] local.INFO: GPS Element Parsed {"raw_longitude":763298368,"raw_latitude":96089712,"longitude_deg":76.3298368,"latitude_deg":9.6089712,"altitude":11,"angle":185,"satellites":43,"speed":11,"hex_longitude":"2d7f0240","hex_latitude":"05ba3670","is_valid_coordinates":true} 
[2026-08-25 12:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635886592001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123419119360933888,"note":"Value kept but may cause issues"} 
[2026-08-25 12:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152369998579202048,"note":"Value kept but may cause issues"} 
[2026-08-25 12:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787640193000,"timestamp_ms":1787640193000,"timestamp_seconds":1787640193,"priority":1,"record_length":96,"hex_timestamp":"000001a037a89fe8"} 
[2026-08-25 12:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 12:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635886592001,"66":13493,"128":206,"85":12544,"24":11,"16":123419119360933888,"45":9152369998579202048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-08-25 12:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635886592001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:14:52] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-25 12:14:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123419119360933888,"km_value":123419119360933.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152369998579202048,"description":"Unknown IO ID 45"} 
[2026-08-25 12:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635886592001,"power":13493,"unknown_128":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9152369998579202048}} 
[2026-08-25 12:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":162849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:14:52] local.INFO: GPS data processed {"connection_id":162849,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:14:52] local.INFO: Acknowledgment sent {"connection_id":162849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:15:18] local.INFO: TCP Data received {"connection_id":162848,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:15:18] local.INFO: Processing buffer {"connection_id":162848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:15:18] local.INFO: Packet analysis {"connection_id":162848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:15:18] local.INFO: Extracted packet for processing {"connection_id":162848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111822816,"longitude_deg":75.8431552,"latitude_deg":11.1822816,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa47e0","is_valid_coordinates":true} 
[2026-08-25 12:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635883264001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640183000,"timestamp_ms":1787640183000,"timestamp_seconds":1787640183,"priority":1,"record_length":96,"hex_timestamp":"000001a037a878d8"} 
[2026-08-25 12:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635883264001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635883264001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635883264001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":162848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:15:18] local.INFO: GPS data processed {"connection_id":162848,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:15:18] local.INFO: Acknowledgment sent {"connection_id":162848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:15:23] local.INFO: TCP Data received {"connection_id":162849,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037aa5950012d7ebd4005b888d8000800b82c..."} 
[2026-08-25 12:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037aa5950012d7ebd4005b888d8000800b82c..."} 
[2026-08-25 12:15:23] local.INFO: Processing buffer {"connection_id":162849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037aa5950012d7ebd4005b888d8000800b82c..."} 
[2026-08-25 12:15:23] local.INFO: Packet analysis {"connection_id":162849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037aa"} 
[2026-08-25 12:15:23] local.INFO: Extracted packet for processing {"connection_id":162849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037aa"} 
[2026-08-25 12:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763280704,"raw_latitude":95979736,"longitude_deg":76.3280704,"latitude_deg":9.5979736,"altitude":8,"angle":184,"satellites":44,"speed":58,"hex_longitude":"2d7ebd40","hex_latitude":"05b888d8","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635916800001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123424526724759552,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133300068880465920,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787640306000,"timestamp_ms":1787640306000,"timestamp_seconds":1787640306,"priority":1,"record_length":96,"hex_timestamp":"000001a037aa5950"} 
[2026-08-25 12: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-25 12:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 12:15:23] 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-25 12: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-25 12: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-25 12:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635916800001,"66":13472,"121":206,"85":12544,"24":58,"16":123424526724759552,"45":9133300068880465920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 12:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635916800001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:15:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:15:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123424526724759552,"km_value":123424526724759.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133300068880465920,"description":"Unknown IO ID 45"} 
[2026-08-25 12:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635916800001,"power":13472,"unknown_121":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9133300068880465920}} 
[2026-08-25 12:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":162849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:15:23] local.INFO: GPS data processed {"connection_id":162849,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:15:23] local.INFO: Acknowledgment sent {"connection_id":162849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:15:41] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:15:41] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:15:41] local.INFO: IMEI packet received {"connection_id":161848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":161848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:15:45] local.INFO: TCP Data received {"connection_id":161849,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:15:45] local.INFO: Processing buffer {"connection_id":161849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:15:45] local.INFO: IMEI packet received {"connection_id":161849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":161849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:15:46] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:15:46] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:15:46] local.INFO: IMEI packet received {"connection_id":161848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":161848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:15:47] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037aa74a8012d7ebb8005b86178000700b62c..."} 
[2026-08-25 12:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037aa74a8012d7ebb8005b86178000700b62c..."} 
[2026-08-25 12:15:47] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037aa74a8012d7ebb8005b86178000700b62c..."} 
[2026-08-25 12:15:47] local.INFO: Packet analysis {"connection_id":161848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037aa"} 
[2026-08-25 12:15:47] local.INFO: Extracted packet for processing {"connection_id":161848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037aa"} 
[2026-08-25 12:15:47] local.INFO: GPS Element Parsed {"raw_longitude":763280256,"raw_latitude":95969656,"longitude_deg":76.3280256,"latitude_deg":9.5969656,"altitude":7,"angle":182,"satellites":44,"speed":56,"hex_longitude":"2d7ebb80","hex_latitude":"05b86178","is_valid_coordinates":true} 
[2026-08-25 12:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635918336001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123425016351031296,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132526012692224000,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787640313000,"timestamp_ms":1787640313000,"timestamp_seconds":1787640313,"priority":1,"record_length":96,"hex_timestamp":"000001a037aa74a8"} 
[2026-08-25 12:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 12:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635918336001,"66":13515,"121":206,"85":12544,"24":56,"16":123425016351031296,"45":9132526012692224000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 12:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635918336001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:15:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:15:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123425016351031296,"km_value":123425016351031.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132526012692224000,"description":"Unknown IO ID 45"} 
[2026-08-25 12:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635918336001,"power":13515,"unknown_121":206,"unknown_85":12544,"ignition":56,"odometer":null,"unknown_45":9132526012692224000}} 
[2026-08-25 12:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":161848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:15:47] local.INFO: GPS data processed {"connection_id":161848,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:15:47] local.INFO: Acknowledgment sent {"connection_id":161848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:15:50] local.INFO: TCP Data received {"connection_id":161849,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:15:50] local.INFO: Processing buffer {"connection_id":161849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:15:50] local.INFO: IMEI packet received {"connection_id":161849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":161849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:15:51] local.INFO: TCP Data received {"connection_id":161849,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:15:51] local.INFO: Processing buffer {"connection_id":161849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:15:51] local.INFO: Packet analysis {"connection_id":161849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:15:51] local.INFO: Extracted packet for processing {"connection_id":161849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:15:51] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111822816,"longitude_deg":75.8431552,"latitude_deg":11.1822816,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa47e0","is_valid_coordinates":true} 
[2026-08-25 12:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635883264001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787640183000,"timestamp_ms":1787640183000,"timestamp_seconds":1787640183,"priority":1,"record_length":96,"hex_timestamp":"000001a037a878d8"} 
[2026-08-25 12:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635883264001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635883264001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635883264001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":161849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:15:51] local.INFO: GPS data processed {"connection_id":161849,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:15:51] local.INFO: Acknowledgment sent {"connection_id":161849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:15:57] local.INFO: TCP Data received {"connection_id":161849,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:15:57] local.INFO: Processing buffer {"connection_id":161849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037a878d8012d34bf4006aa47e0000800e62e..."} 
[2026-08-25 12:15:57] local.INFO: Packet analysis {"connection_id":161849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:15:57] local.INFO: Extracted packet for processing {"connection_id":161849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037a8"} 
[2026-08-25 12:15:57] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111822816,"longitude_deg":75.8431552,"latitude_deg":11.1822816,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa47e0","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635883264001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 12:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359911424,"note":"Value kept but may cause issues"} 
[2026-08-25 12:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 12:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787640183000,"timestamp_ms":1787640183000,"timestamp_seconds":1787640183,"priority":1,"record_length":96,"hex_timestamp":"000001a037a878d8"} 
[2026-08-25 12: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-25 12:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635883264001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801249220359911424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 12:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635883264001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:15:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359911424,"description":"Unknown IO ID 45"} 
[2026-08-25 12:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635883264001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801249220359911424}} 
[2026-08-25 12:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":161849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:15:57] local.INFO: GPS data processed {"connection_id":161849,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:15:57] local.INFO: Acknowledgment sent {"connection_id":161849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:16:18] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037aa9000012d7eba4005b83cd0000600b22c..."} 
[2026-08-25 12:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037aa9000012d7eba4005b83cd0000600b22c..."} 
[2026-08-25 12:16:18] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037aa9000012d7eba4005b83cd0000600b22c..."} 
[2026-08-25 12:16:18] local.INFO: Packet analysis {"connection_id":161848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037aa"} 
[2026-08-25 12:16:18] local.INFO: Extracted packet for processing {"connection_id":161848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037aa"} 
[2026-08-25 12:16:18] local.INFO: GPS Element Parsed {"raw_longitude":763279936,"raw_latitude":95960272,"longitude_deg":76.3279936,"latitude_deg":9.5960272,"altitude":6,"angle":178,"satellites":44,"speed":50,"hex_longitude":"2d7eba40","hex_latitude":"05b83cd0","is_valid_coordinates":true} 
[2026-08-25 12:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635920128001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123425471617564672,"note":"Value kept but may cause issues"} 
[2026-08-25 12:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132033431480399872,"note":"Value kept but may cause issues"} 
[2026-08-25 12:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640320000,"timestamp_ms":1787640320000,"timestamp_seconds":1787640320,"priority":1,"record_length":96,"hex_timestamp":"000001a037aa9000"} 
[2026-08-25 12:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 12:16:18] 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-25 12:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635920128001,"66":13341,"121":206,"85":12544,"24":50,"16":123425471617564672,"45":9132033431480399872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 12:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635920128001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:16:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:16:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123425471617564672,"km_value":123425471617564.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132033431480399872,"description":"Unknown IO ID 45"} 
[2026-08-25 12:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635920128001,"power":13341,"unknown_121":206,"unknown_85":12544,"ignition":50,"odometer":null,"unknown_45":9132033431480399872}} 
[2026-08-25 12:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":161848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:16:19] local.INFO: GPS data processed {"connection_id":161848,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:16:19] local.INFO: Acknowledgment sent {"connection_id":161848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:16:40] local.INFO: TCP Data received {"connection_id":164226,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:16:40] local.INFO: Processing buffer {"connection_id":164226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:16:40] local.INFO: IMEI packet received {"connection_id":164226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":164226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:16:41] local.INFO: TCP Data received {"connection_id":164226,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:16:41] local.INFO: Processing buffer {"connection_id":164226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:16:41] local.INFO: IMEI packet received {"connection_id":164226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":164226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:16:47] local.INFO: TCP Data received {"connection_id":164226,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:16:47] local.INFO: Processing buffer {"connection_id":164226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:16:47] local.INFO: IMEI packet received {"connection_id":164226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":164226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:16:48] local.INFO: TCP Data received {"connection_id":164226,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037aaaf40012d7ebb4005b81860000800b12d..."} 
[2026-08-25 12:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037aaaf40012d7ebb4005b81860000800b12d..."} 
[2026-08-25 12:16:48] local.INFO: Processing buffer {"connection_id":164226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037aaaf40012d7ebb4005b81860000800b12d..."} 
[2026-08-25 12:16:48] local.INFO: Packet analysis {"connection_id":164226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037aa"} 
[2026-08-25 12:16:48] local.INFO: Extracted packet for processing {"connection_id":164226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037aa"} 
[2026-08-25 12:16:48] local.INFO: GPS Element Parsed {"raw_longitude":763280192,"raw_latitude":95950944,"longitude_deg":76.3280192,"latitude_deg":9.5950944,"altitude":8,"angle":177,"satellites":45,"speed":42,"hex_longitude":"2d7ebb40","hex_latitude":"05b81860","is_valid_coordinates":true} 
[2026-08-25 12:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635921920001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123425922589130752,"note":"Value kept but may cause issues"} 
[2026-08-25 12:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131681587757109248,"note":"Value kept but may cause issues"} 
[2026-08-25 12:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787640328000,"timestamp_ms":1787640328000,"timestamp_seconds":1787640328,"priority":1,"record_length":96,"hex_timestamp":"000001a037aaaf40"} 
[2026-08-25 12:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 12:16:48] 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-25 12:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635921920001,"66":13526,"121":206,"85":12544,"24":42,"16":123425922589130752,"45":9131681587757109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 12:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635921920001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:16:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:16:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123425922589130752,"km_value":123425922589130.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131681587757109248,"description":"Unknown IO ID 45"} 
[2026-08-25 12:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635921920001,"power":13526,"unknown_121":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9131681587757109248}} 
[2026-08-25 12:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":164226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:16:48] local.INFO: GPS data processed {"connection_id":164226,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:16:48] local.INFO: Acknowledgment sent {"connection_id":164226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:16:52] local.INFO: TCP Data received {"connection_id":164226,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037aad268012d7ebb8005b7f528000700b52c..."} 
[2026-08-25 12:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037aad268012d7ebb8005b7f528000700b52c..."} 
[2026-08-25 12:16:52] local.INFO: Processing buffer {"connection_id":164226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037aad268012d7ebb8005b7f528000700b52c..."} 
[2026-08-25 12:16:52] local.INFO: Packet analysis {"connection_id":164226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037aa"} 
[2026-08-25 12:16:52] local.INFO: Extracted packet for processing {"connection_id":164226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037aa"} 
[2026-08-25 12:16:52] local.INFO: GPS Element Parsed {"raw_longitude":763280256,"raw_latitude":95941928,"longitude_deg":76.3280256,"latitude_deg":9.5941928,"altitude":7,"angle":181,"satellites":44,"speed":36,"hex_longitude":"2d7ebb80","hex_latitude":"05b7f528","is_valid_coordinates":true} 
[2026-08-25 12:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635923968001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123426360675794944,"note":"Value kept but may cause issues"} 
[2026-08-25 12:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131963062731431936,"note":"Value kept but may cause issues"} 
[2026-08-25 12:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787640337000,"timestamp_ms":1787640337000,"timestamp_seconds":1787640337,"priority":1,"record_length":96,"hex_timestamp":"000001a037aad268"} 
[2026-08-25 12: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-25 12:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 12:16:52] 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-25 12: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-25 12: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-25 12:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635923968001,"66":13319,"121":206,"85":12544,"24":36,"16":123426360675794944,"45":9131963062731431936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 12:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635923968001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:16:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123426360675794944,"km_value":123426360675794.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131963062731431936,"description":"Unknown IO ID 45"} 
[2026-08-25 12:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635923968001,"power":13319,"unknown_121":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9131963062731431936}} 
[2026-08-25 12:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":164226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:16:52] local.INFO: GPS data processed {"connection_id":164226,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:16:52] local.INFO: Acknowledgment sent {"connection_id":164226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:16:53] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:16:53] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:16:53] local.INFO: IMEI packet received {"connection_id":161850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":161850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:17:00] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.109.136.2","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-25 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-25 12:17:00] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-25 12:17:00] local.INFO: IMEI packet received {"connection_id":161850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":161850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:17:23] local.INFO: TCP Data received {"connection_id":164226,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037aaf978012d7eb90005b7d138000700b62b..."} 
[2026-08-25 12:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037aaf978012d7eb90005b7d138000700b62b..."} 
[2026-08-25 12:17:23] local.INFO: Processing buffer {"connection_id":164226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037aaf978012d7eb90005b7d138000700b62b..."} 
[2026-08-25 12:17:23] local.INFO: Packet analysis {"connection_id":164226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037aa"} 
[2026-08-25 12:17:23] local.INFO: Extracted packet for processing {"connection_id":164226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037aa"} 
[2026-08-25 12:17:23] local.INFO: GPS Element Parsed {"raw_longitude":763279616,"raw_latitude":95932728,"longitude_deg":76.3279616,"latitude_deg":9.5932728,"altitude":7,"angle":182,"satellites":43,"speed":39,"hex_longitude":"2d7eb900","hex_latitude":"05b7d138","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635926272001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123426807352393728,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132033431473301504,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787640347000,"timestamp_ms":1787640347000,"timestamp_seconds":1787640347,"priority":1,"record_length":96,"hex_timestamp":"000001a037aaf978"} 
[2026-08-25 12: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-25 12:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 12:17:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:23] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57889806906971441,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:23] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13478521,"corrected_to":0} 
[2026-08-25 12:17:23] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2857979905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:23] local.WARNING: Large IO value detected {"io_id":184,"raw_value":-1038079679736828416,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2860056782,"corrected_to":0} 
[2026-08-25 12:17:23] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827498,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3100557312,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:23] local.WARNING: Large IO value detected {"io_id":170,"raw_value":1369095581632937989,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,85,24,241,157,16,127,160,175,45,64,8,10,66,144,60,6,44,126,116,128,1,240,203,227,55,184,4,113,205,58,65,192,239,52,2,182,5,59,170],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":203,"original":13478521,"validated":0},{"io_id":205,"original":2860056782,"validated":0}]} 
[2026-08-25 12:17:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504602358851043328,"timestamp_seconds":504602358851043.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12: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-25 12:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635926272001,"66":13428,"121":206,"85":12544,"24":39,"16":123426807352393728,"45":9132033431473301504},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 12:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635926272001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:17:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:17:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123426807352393728,"km_value":123426807352393.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132033431473301504,"description":"Unknown IO ID 45"} 
[2026-08-25 12:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635926272001,"power":13428,"unknown_121":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9132033431473301504}} 
[2026-08-25 12:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":164226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:17:23] local.INFO: GPS data processed {"connection_id":164226,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:17:23] local.INFO: Acknowledgment sent {"connection_id":164226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:17:41] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:17:41] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:17:41] local.INFO: IMEI packet received {"connection_id":161851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":161851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:17:42] local.INFO: TCP Data received {"connection_id":161610,"ip":"117.224.111.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:17:42] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:17:42] local.INFO: IMEI packet received {"connection_id":161610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":161610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:17:43] local.INFO: TCP Data received {"connection_id":161610,"ip":"117.224.111.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:17:43] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:17:43] local.INFO: IMEI packet received {"connection_id":161610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":161610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:17:46] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:17:46] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:17:46] local.INFO: IMEI packet received {"connection_id":161851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":161851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:17:47] local.INFO: TCP Data received {"connection_id":161610,"ip":"117.224.111.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:17:47] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:17:47] local.INFO: IMEI packet received {"connection_id":161610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":161610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:17:47] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ab1ca0012d7eb88005b7aad0000700b42c..."} 
[2026-08-25 12:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ab1ca0012d7eb88005b7aad0000700b42c..."} 
[2026-08-25 12:17:47] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ab1ca0012d7eb88005b7aad0000700b42c..."} 
[2026-08-25 12:17:47] local.INFO: Packet analysis {"connection_id":161851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ab"} 
[2026-08-25 12:17:47] local.INFO: Extracted packet for processing {"connection_id":161851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ab"} 
[2026-08-25 12:17:47] local.INFO: GPS Element Parsed {"raw_longitude":763279488,"raw_latitude":95922896,"longitude_deg":76.3279488,"latitude_deg":9.5922896,"altitude":7,"angle":180,"satellites":44,"speed":40,"hex_longitude":"2d7eb880","hex_latitude":"05b7aad0","is_valid_coordinates":true} 
[2026-08-25 12:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635928832001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123427284093763584,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131329744029169664,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787640356000,"timestamp_ms":1787640356000,"timestamp_seconds":1787640356,"priority":1,"record_length":96,"hex_timestamp":"000001a037ab1ca0"} 
[2026-08-25 12:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 12:17:47] 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-25 12:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635928832001,"66":13319,"121":206,"85":12544,"24":40,"16":123427284093763584,"45":9131329744029169664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 12:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635928832001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:17:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:17:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123427284093763584,"km_value":123427284093763.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131329744029169664,"description":"Unknown IO ID 45"} 
[2026-08-25 12:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635928832001,"power":13319,"unknown_121":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9131329744029169664}} 
[2026-08-25 12:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":161851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:17:47] local.INFO: GPS data processed {"connection_id":161851,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:17:47] local.INFO: Acknowledgment sent {"connection_id":161851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:17:47] local.INFO: TCP Data received {"connection_id":161610,"ip":"117.224.111.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037abb4f8012d181480072199b0004b00ce2a..."} 
[2026-08-25 12:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037abb4f8012d181480072199b0004b00ce2a..."} 
[2026-08-25 12:17:48] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037abb4f8012d181480072199b0004b00ce2a..."} 
[2026-08-25 12:17:48] local.INFO: Packet analysis {"connection_id":161610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ab"} 
[2026-08-25 12:17:48] local.INFO: Extracted packet for processing {"connection_id":161610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ab"} 
[2026-08-25 12:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756552832,"raw_latitude":119642544,"longitude_deg":75.6552832,"latitude_deg":11.9642544,"altitude":75,"angle":206,"satellites":42,"speed":11,"hex_longitude":"2d181480","hex_latitude":"072199b0","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15833895152910336,"note":"Value kept but may cause issues"} 
[2026-08-25 12:17:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,120,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 12:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787640395000,"timestamp_ms":1787640395000,"timestamp_seconds":1787640395,"priority":1,"record_length":96,"hex_timestamp":"000001a037abb4f8"} 
[2026-08-25 12: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-25 12:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 12:17:48] 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-25 12: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-25 12: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-25 12:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.111.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14548,"120":206,"28":31744,"24":11,"16":15833895152910336},"client_ip":"117.224.111.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16]} 
[2026-08-25 12:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-25 12:17:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:17:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15833895152910336,"km_value":15833895152910.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:17:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14548,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null}} 
[2026-08-25 12:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":161610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:17:48] local.INFO: GPS data processed {"connection_id":161610,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:17:48] local.INFO: Acknowledgment sent {"connection_id":161610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:18:18] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ab3fc8012d7eb7c005b78670000600b42c..."} 
[2026-08-25 12:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ab3fc8012d7eb7c005b78670000600b42c..."} 
[2026-08-25 12:18:18] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ab3fc8012d7eb7c005b78670000600b42c..."} 
[2026-08-25 12:18:18] local.INFO: Packet analysis {"connection_id":161851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ab"} 
[2026-08-25 12:18:18] local.INFO: Extracted packet for processing {"connection_id":161851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ab"} 
[2026-08-25 12:18:18] local.INFO: GPS Element Parsed {"raw_longitude":763279296,"raw_latitude":95913584,"longitude_deg":76.3279296,"latitude_deg":9.5913584,"altitude":6,"angle":180,"satellites":44,"speed":42,"hex_longitude":"2d7eb7c0","hex_latitude":"05b78670","is_valid_coordinates":true} 
[2026-08-25 12:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635931136001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123427735065329664,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131189006538297344,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640365000,"timestamp_ms":1787640365000,"timestamp_seconds":1787640365,"priority":1,"record_length":96,"hex_timestamp":"000001a037ab3fc8"} 
[2026-08-25 12:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 12:18:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57889806906971441,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2861563905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:18] local.WARNING: Large IO value detected {"io_id":184,"raw_value":-6070852263323489024,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2860056782,"corrected_to":0} 
[2026-08-25 12:18:18] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2818649470,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:18] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2147858529,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827498,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3095975936,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:18] local.WARNING: Large IO value detected {"io_id":170,"raw_value":4746795302160171013,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,85,24,241,157,16,128,160,249,45,209,7,43,10,66,210,245,44,127,175,64,1,240,214,227,55,184,4,113,205,50,116,187,120,239,52,2,182,5,8,58,170],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2860056782,"validated":0}]} 
[2026-08-25 12:18:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504601259339677696,"timestamp_seconds":504601259339677.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635931136001,"66":13319,"121":206,"85":12544,"24":42,"16":123427735065329664,"45":9131189006538297344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 12:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635931136001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:18:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:18:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123427735065329664,"km_value":123427735065329.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131189006538297344,"description":"Unknown IO ID 45"} 
[2026-08-25 12:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635931136001,"power":13319,"unknown_121":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9131189006538297344}} 
[2026-08-25 12:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":161851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:18:18] local.INFO: GPS data processed {"connection_id":161851,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:18:18] local.INFO: Acknowledgment sent {"connection_id":161851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:18:19] local.INFO: TCP Data received {"connection_id":161610,"ip":"117.224.111.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037abd050012d18114007219400004b00dd2c..."} 
[2026-08-25 12:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037abd050012d18114007219400004b00dd2c..."} 
[2026-08-25 12:18:19] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037abd050012d18114007219400004b00dd2c..."} 
[2026-08-25 12:18:19] local.INFO: Packet analysis {"connection_id":161610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ab"} 
[2026-08-25 12:18:19] local.INFO: Extracted packet for processing {"connection_id":161610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ab"} 
[2026-08-25 12:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756552000,"raw_latitude":119641088,"longitude_deg":75.6552,"latitude_deg":11.9641088,"altitude":75,"angle":221,"satellites":44,"speed":6,"hex_longitude":"2d181140","hex_latitude":"07219400","is_valid_coordinates":true} 
[2026-08-25 12:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635941120001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15833976757288960,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735152524561330176,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787640402000,"timestamp_ms":1787640402000,"timestamp_seconds":1787640402,"priority":1,"record_length":96,"hex_timestamp":"000001a037abd050"} 
[2026-08-25 12:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:18: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-25 12:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-25 12:18:19] 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-25 12:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.111.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635941120001,"66":14613,"120":206,"28":31744,"24":6,"16":15833976757288960,"45":1735152524561330176},"client_ip":"117.224.111.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 12:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635941120001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:18:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:18:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15833976757288960,"km_value":15833976757288.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735152524561330176,"description":"Unknown IO ID 45"} 
[2026-08-25 12:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635941120001,"power":14613,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1735152524561330176}} 
[2026-08-25 12:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":161610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:18:19] local.INFO: GPS data processed {"connection_id":161610,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:18:19] local.INFO: Acknowledgment sent {"connection_id":161610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:18:41] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:18:41] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:18:41] local.INFO: IMEI packet received {"connection_id":161853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":161853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:18:44] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:18:44] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:18:44] local.INFO: IMEI packet received {"connection_id":161853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":161853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:18:46] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:18:46] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:18:46] local.INFO: IMEI packet received {"connection_id":161853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":161853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:18:46] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ab6ac0012d7eb70005b76260000600b32a..."} 
[2026-08-25 12:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ab6ac0012d7eb70005b76260000600b32a..."} 
[2026-08-25 12:18:46] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ab6ac0012d7eb70005b76260000600b32a..."} 
[2026-08-25 12:18:46] local.INFO: Packet analysis {"connection_id":161853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ab"} 
[2026-08-25 12:18:46] local.INFO: Extracted packet for processing {"connection_id":161853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ab"} 
[2026-08-25 12:18:46] local.INFO: GPS Element Parsed {"raw_longitude":763279104,"raw_latitude":95904352,"longitude_deg":76.3279104,"latitude_deg":9.5904352,"altitude":6,"angle":179,"satellites":42,"speed":23,"hex_longitude":"2d7eb700","hex_latitude":"05b76260","is_valid_coordinates":true} 
[2026-08-25 12:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635933440001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123428186036895744,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130977900303380480,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787640376000,"timestamp_ms":1787640376000,"timestamp_seconds":1787640376,"priority":1,"record_length":96,"hex_timestamp":"000001a037ab6ac0"} 
[2026-08-25 12:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 12:18:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:46] local.WARNING: Large IO value detected {"io_id":170,"raw_value":6435645162423926789,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:46] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:46] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2863611905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:46] local.WARNING: Large IO value detected {"io_id":184,"raw_value":-8586112655210042368,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2860056782,"corrected_to":0} 
[2026-08-25 12:18:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3093395456,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:46] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57889806906971441,"corrected_to":0} 
[2026-08-25 12:18:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,85,24,241,157,16,128,160,28,45,170,7,44,10,66,249,209,43,210,1,240,227,127,55,184,4,113,205,42,144,186,208,239,52,2,182,5,56,203],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2860056782,"validated":0},{"io_id":203,"original":57889806906971441,"validated":0}]} 
[2026-08-25 12:18:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432543665301880832,"timestamp_seconds":432543665301880.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635933440001,"66":13624,"121":206,"85":12544,"24":23,"16":123428186036895744,"45":9130977900303380480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 12:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635933440001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:18:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:18:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123428186036895744,"km_value":123428186036895.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130977900303380480,"description":"Unknown IO ID 45"} 
[2026-08-25 12:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635933440001,"power":13624,"unknown_121":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9130977900303380480}} 
[2026-08-25 12:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":161853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:18:46] local.INFO: GPS data processed {"connection_id":161853,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:18:46] local.INFO: Acknowledgment sent {"connection_id":161853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:18:50] local.INFO: TCP Data received {"connection_id":161610,"ip":"117.224.111.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037ac2a28012d18108007219390004b00dd2b..."} 
[2026-08-25 12:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ac2a28012d18108007219390004b00dd2b..."} 
[2026-08-25 12:18:50] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ac2a28012d18108007219390004b00dd2b..."} 
[2026-08-25 12:18:50] local.INFO: Packet analysis {"connection_id":161610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ac"} 
[2026-08-25 12:18:50] local.INFO: Extracted packet for processing {"connection_id":161610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ac"} 
[2026-08-25 12:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756551808,"raw_latitude":119640976,"longitude_deg":75.6551808,"latitude_deg":11.9640976,"altitude":75,"angle":221,"satellites":43,"speed":0,"hex_longitude":"2d181080","hex_latitude":"07219390","is_valid_coordinates":true} 
[2026-08-25 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-25 12:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635942912001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15833985347223552,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734237730886647808,"note":"Value kept but may cause issues"} 
[2026-08-25 12:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787640425000,"timestamp_ms":1787640425000,"timestamp_seconds":1787640425,"priority":1,"record_length":96,"hex_timestamp":"000001a037ac2a28"} 
[2026-08-25 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-25 12:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-25 12:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 12:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.111.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635942912001,"66":14483,"122":206,"28":31744,"24":0,"16":15833985347223552,"45":1734237730886647808},"client_ip":"117.224.111.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635942912001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:18:50] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:18:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15833985347223552,"km_value":15833985347223.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734237730886647808,"description":"Unknown IO ID 45"} 
[2026-08-25 12:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635942912001,"power":14483,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734237730886647808}} 
[2026-08-25 12:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":161610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:18:51] local.INFO: GPS data processed {"connection_id":161610,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:18:51] local.INFO: Acknowledgment sent {"connection_id":161610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:19:17] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ab95b8012d7eb5c005b73cc0000700b528..."} 
[2026-08-25 12:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ab95b8012d7eb5c005b73cc0000700b528..."} 
[2026-08-25 12:19:17] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ab95b8012d7eb5c005b73cc0000700b528..."} 
[2026-08-25 12:19:17] local.INFO: Packet analysis {"connection_id":161853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ab"} 
[2026-08-25 12:19:17] local.INFO: Extracted packet for processing {"connection_id":161853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ab"} 
[2026-08-25 12:19:17] local.INFO: GPS Element Parsed {"raw_longitude":763278784,"raw_latitude":95894720,"longitude_deg":76.3278784,"latitude_deg":9.589472,"altitude":7,"angle":181,"satellites":40,"speed":41,"hex_longitude":"2d7eb5c0","hex_latitude":"05b73cc0","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635936256001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123428654188331008,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130766794068484096,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787640387000,"timestamp_ms":1787640387000,"timestamp_seconds":1787640387,"priority":1,"record_length":96,"hex_timestamp":"000001a037ab95b8"} 
[2026-08-25 12: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-25 12:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 12:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635936256001,"66":13656,"121":206,"85":12544,"24":41,"16":123428654188331008,"45":9130766794068484096},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 12:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635936256001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:19:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:19:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123428654188331008,"km_value":123428654188331.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130766794068484096,"description":"Unknown IO ID 45"} 
[2026-08-25 12:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635936256001,"power":13656,"unknown_121":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9130766794068484096}} 
[2026-08-25 12:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":161853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:19:17] local.INFO: GPS data processed {"connection_id":161853,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:19:17] local.INFO: Acknowledgment sent {"connection_id":161853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:19:22] local.INFO: TCP Data received {"connection_id":161610,"ip":"117.224.111.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037ac7460012d180dc007219258004d00dd2d..."} 
[2026-08-25 12:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ac7460012d180dc007219258004d00dd2d..."} 
[2026-08-25 12:19:22] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ac7460012d180dc007219258004d00dd2d..."} 
[2026-08-25 12:19:22] local.INFO: Packet analysis {"connection_id":161610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ac"} 
[2026-08-25 12:19:22] local.INFO: Extracted packet for processing {"connection_id":161610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ac"} 
[2026-08-25 12:19:22] local.INFO: GPS Element Parsed {"raw_longitude":756551104,"raw_latitude":119640664,"longitude_deg":75.6551104,"latitude_deg":11.9640664,"altitude":77,"angle":221,"satellites":45,"speed":4,"hex_longitude":"2d180dc0","hex_latitude":"07219258","is_valid_coordinates":true} 
[2026-08-25 12:19: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-25 12:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635948800001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15834024001929216,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734026624654086144,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787640444000,"timestamp_ms":1787640444000,"timestamp_seconds":1787640444,"priority":1,"record_length":96,"hex_timestamp":"000001a037ac7460"} 
[2026-08-25 12:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:19:22] 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-25 12:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-25 12:19:22] 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-25 12:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.111.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635948800001,"66":14450,"122":206,"28":31744,"24":4,"16":15834024001929216,"45":1734026624654086144},"client_ip":"117.224.111.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635948800001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:19:22] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:19:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15834024001929216,"km_value":15834024001929.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734026624654086144,"description":"Unknown IO ID 45"} 
[2026-08-25 12:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635948800001,"power":14450,"unknown_122":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1734026624654086144}} 
[2026-08-25 12:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":161610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:19:22] local.INFO: GPS data processed {"connection_id":161610,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:19:22] local.INFO: Acknowledgment sent {"connection_id":161610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:19:46] local.INFO: TCP Data received {"connection_id":162851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:19:46] local.INFO: Processing buffer {"connection_id":162851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:19:46] local.INFO: IMEI packet received {"connection_id":162851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":162851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:19:51] local.INFO: TCP Data received {"connection_id":162851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:19:51] local.INFO: Processing buffer {"connection_id":162851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:19:51] local.INFO: IMEI packet received {"connection_id":162851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":162851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:19:52] local.INFO: TCP Data received {"connection_id":162851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ae4d08012d7eb0c005b65270000800a82a..."} 
[2026-08-25 12:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ae4d08012d7eb0c005b65270000800a82a..."} 
[2026-08-25 12:19:52] local.INFO: Processing buffer {"connection_id":162851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ae4d08012d7eb0c005b65270000800a82a..."} 
[2026-08-25 12:19:52] local.INFO: Packet analysis {"connection_id":162851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:19:52] local.INFO: Extracted packet for processing {"connection_id":162851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:19:52] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":95834736,"longitude_deg":76.3277504,"latitude_deg":9.5834736,"altitude":8,"angle":168,"satellites":42,"speed":0,"hex_longitude":"2d7eb0c0","hex_latitude":"05b65270","is_valid_coordinates":true} 
[2026-08-25 12:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635984640001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787640565000,"timestamp_ms":1787640565000,"timestamp_seconds":1787640565,"priority":1,"record_length":96,"hex_timestamp":"000001a037ae4d08"} 
[2026-08-25 12:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 12:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635984640001,"66":13515,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635984640001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:19:52] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:19:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635984640001,"power":13515,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":162851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:19:52] local.INFO: GPS data processed {"connection_id":162851,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:19:52] local.INFO: Acknowledgment sent {"connection_id":162851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:19:53] local.INFO: TCP Data received {"connection_id":161610,"ip":"117.224.111.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037ac7460012d180dc007219258004d00dd2d..."} 
[2026-08-25 12:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ac7460012d180dc007219258004d00dd2d..."} 
[2026-08-25 12:19:53] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ac7460012d180dc007219258004d00dd2d..."} 
[2026-08-25 12:19:53] local.INFO: Packet analysis {"connection_id":161610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ac"} 
[2026-08-25 12:19:53] local.INFO: Extracted packet for processing {"connection_id":161610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ac"} 
[2026-08-25 12:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756551104,"raw_latitude":119640664,"longitude_deg":75.6551104,"latitude_deg":11.9640664,"altitude":77,"angle":221,"satellites":45,"speed":4,"hex_longitude":"2d180dc0","hex_latitude":"07219258","is_valid_coordinates":true} 
[2026-08-25 12:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 12:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635953664001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15834024001929216,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733252568468051968,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787640444000,"timestamp_ms":1787640444000,"timestamp_seconds":1787640444,"priority":1,"record_length":96,"hex_timestamp":"000001a037ac7460"} 
[2026-08-25 12:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:19:53] 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-25 12:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-25 12:19:53] 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-25 12:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.111.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635953664001,"66":14450,"122":206,"28":31744,"24":4,"16":15834024001929216,"45":1733252568468051968},"client_ip":"117.224.111.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635953664001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:19:53] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:19:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15834024001929216,"km_value":15834024001929.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733252568468051968,"description":"Unknown IO ID 45"} 
[2026-08-25 12:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635953664001,"power":14450,"unknown_122":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1733252568468051968}} 
[2026-08-25 12:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":161610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:19:54] local.INFO: GPS data processed {"connection_id":161610,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:19:54] local.INFO: Acknowledgment sent {"connection_id":161610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:19:56] local.INFO: TCP Data received {"connection_id":162851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ae54d8012d7eb0c005b65270000800a82b..."} 
[2026-08-25 12:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ae54d8012d7eb0c005b65270000800a82b..."} 
[2026-08-25 12:19:56] local.INFO: Processing buffer {"connection_id":162851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ae54d8012d7eb0c005b65270000800a82b..."} 
[2026-08-25 12:19:56] local.INFO: Packet analysis {"connection_id":162851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:19:56] local.INFO: Extracted packet for processing {"connection_id":162851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":95834736,"longitude_deg":76.3277504,"latitude_deg":9.5834736,"altitude":8,"angle":168,"satellites":43,"speed":0,"hex_longitude":"2d7eb0c0","hex_latitude":"05b65270","is_valid_coordinates":true} 
[2026-08-25 12:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635984640001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787640567000,"timestamp_ms":1787640567000,"timestamp_seconds":1787640567,"priority":1,"record_length":96,"hex_timestamp":"000001a037ae54d8"} 
[2026-08-25 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-25 12:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 12:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 12:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635984640001,"66":13689,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635984640001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:19:56] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635984640001,"power":13689,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":162851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:19:56] local.INFO: GPS data processed {"connection_id":162851,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:19:56] local.INFO: Acknowledgment sent {"connection_id":162851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:20:25] local.INFO: TCP Data received {"connection_id":161610,"ip":"117.224.111.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037ac7c30012d180d00072191b0004d00ea2c..."} 
[2026-08-25 12:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ac7c30012d180d00072191b0004d00ea2c..."} 
[2026-08-25 12:20:25] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ac7c30012d180d00072191b0004d00ea2c..."} 
[2026-08-25 12:20:25] local.INFO: Packet analysis {"connection_id":161610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ac"} 
[2026-08-25 12:20:25] local.INFO: Extracted packet for processing {"connection_id":161610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ac"} 
[2026-08-25 12:20:25] local.INFO: GPS Element Parsed {"raw_longitude":756550912,"raw_latitude":119640496,"longitude_deg":75.6550912,"latitude_deg":11.9640496,"altitude":77,"angle":234,"satellites":44,"speed":6,"hex_longitude":"2d180d00","hex_latitude":"072191b0","is_valid_coordinates":true} 
[2026-08-25 12:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635953664001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15834036886831104,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733252568468051968,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787640446000,"timestamp_ms":1787640446000,"timestamp_seconds":1787640446,"priority":1,"record_length":96,"hex_timestamp":"000001a037ac7c30"} 
[2026-08-25 12:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:20:25] 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-25 12:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-25 12:20:25] 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-25 12:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.111.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635953664001,"66":13135,"122":206,"28":31744,"24":6,"16":15834036886831104,"45":1733252568468051968},"client_ip":"117.224.111.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635953664001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:20:25] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:20:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15834036886831104,"km_value":15834036886831.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733252568468051968,"description":"Unknown IO ID 45"} 
[2026-08-25 12:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635953664001,"power":13135,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1733252568468051968}} 
[2026-08-25 12:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":161610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:20:25] local.INFO: GPS data processed {"connection_id":161610,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:20:25] local.INFO: Acknowledgment sent {"connection_id":161610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:20:41] local.INFO: TCP Data received {"connection_id":162852,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:20:41] local.INFO: Processing buffer {"connection_id":162852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:20:41] local.INFO: IMEI packet received {"connection_id":162852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":162852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:20:46] local.INFO: TCP Data received {"connection_id":162852,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:20:46] local.INFO: Processing buffer {"connection_id":162852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:20:46] local.INFO: IMEI packet received {"connection_id":162852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":162852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:20:47] local.INFO: TCP Data received {"connection_id":162852,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:20:47] local.INFO: Processing buffer {"connection_id":162852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:20:47] local.INFO: Packet analysis {"connection_id":162852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:20:47] local.INFO: Extracted packet for processing {"connection_id":162852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:20:47] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":95834736,"longitude_deg":76.3277504,"latitude_deg":9.5834736,"altitude":8,"angle":168,"satellites":44,"speed":0,"hex_longitude":"2d7eb0c0","hex_latitude":"05b65270","is_valid_coordinates":true} 
[2026-08-25 12:20:47] 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-25 12:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787640568000,"timestamp_ms":1787640568000,"timestamp_seconds":1787640568,"priority":1,"record_length":96,"hex_timestamp":"000001a037ae58c0"} 
[2026-08-25 12:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-25 12:20:47] 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-25 12:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985152001,"66":5253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:20:47] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985152001,"power":5253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":162852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:20:47] local.INFO: GPS data processed {"connection_id":162852,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:20:47] local.INFO: Acknowledgment sent {"connection_id":162852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:20:57] local.INFO: TCP Data received {"connection_id":161610,"ip":"117.224.111.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037ae7030012d17cbc007213720003c00ca2a..."} 
[2026-08-25 12:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ae7030012d17cbc007213720003c00ca2a..."} 
[2026-08-25 12:20:57] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ae7030012d17cbc007213720003c00ca2a..."} 
[2026-08-25 12:20:57] local.INFO: Packet analysis {"connection_id":161610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:20:57] local.INFO: Extracted packet for processing {"connection_id":161610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":42,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635981568001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787640574000,"timestamp_ms":1787640574000,"timestamp_seconds":1787640574,"priority":1,"record_length":96,"hex_timestamp":"000001a037ae7030"} 
[2026-08-25 12:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:20:57] 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-25 12:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-25 12:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2017612633229755392,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:57] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-5994792476280884672,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-25 12:20:57] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2411897504040803371,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:57] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-6412899475307573732,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:57] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-08-25 12:20:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,122,28,24,241,158,16,66,160,204,45,192,55,60,43,10,40,1,240,167,33,4,113,205,253,223,48,44,239,50,2,56,7,75,49,124,98],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-08-25 12:20:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323677932603047936,"timestamp_seconds":4323677932603048.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.111.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635981568001,"66":12852,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.111.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635981568001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:20:57] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:20:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635981568001,"power":12852,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":161610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:20:57] local.INFO: GPS data processed {"connection_id":161610,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:20:57] local.INFO: Acknowledgment sent {"connection_id":161610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:21:18] local.INFO: TCP Data received {"connection_id":162852,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:21:18] local.INFO: Processing buffer {"connection_id":162852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:21:18] local.INFO: Packet analysis {"connection_id":162852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:21:18] local.INFO: Extracted packet for processing {"connection_id":162852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:21:18] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":95834736,"longitude_deg":76.3277504,"latitude_deg":9.5834736,"altitude":8,"angle":168,"satellites":44,"speed":0,"hex_longitude":"2d7eb0c0","hex_latitude":"05b65270","is_valid_coordinates":true} 
[2026-08-25 12:21: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-25 12:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640568000,"timestamp_ms":1787640568000,"timestamp_seconds":1787640568,"priority":1,"record_length":96,"hex_timestamp":"000001a037ae58c0"} 
[2026-08-25 12:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-25 12:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985152001,"66":5253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:21:18] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:21:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985152001,"power":5253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":162852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:21:18] local.INFO: GPS data processed {"connection_id":162852,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:21:18] local.INFO: Acknowledgment sent {"connection_id":162852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:21:21] local.INFO: TCP Data received {"connection_id":162853,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:21:21] local.INFO: Processing buffer {"connection_id":162853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:21:21] local.INFO: IMEI packet received {"connection_id":162853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":162853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:21:27] local.INFO: TCP Data received {"connection_id":162853,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:21:27] local.INFO: Processing buffer {"connection_id":162853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:21:27] local.INFO: IMEI packet received {"connection_id":162853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":162853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:21:28] local.INFO: TCP Data received {"connection_id":162853,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037aec238012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037aec238012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:21:28] local.INFO: Processing buffer {"connection_id":162853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037aec238012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:21:28] local.INFO: Packet analysis {"connection_id":162853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:21:28] local.INFO: Extracted packet for processing {"connection_id":162853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635986944001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787640595000,"timestamp_ms":1787640595000,"timestamp_seconds":1787640595,"priority":1,"record_length":96,"hex_timestamp":"000001a037aec238"} 
[2026-08-25 12:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:21:28] 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-25 12:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 12:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635986944001,"66":12841,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635986944001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:21:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635986944001,"power":12841,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":162853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:21:29] local.INFO: GPS data processed {"connection_id":162853,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:21:29] local.INFO: Acknowledgment sent {"connection_id":162853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:21:41] local.INFO: TCP Data received {"connection_id":161854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:21:41] local.INFO: Processing buffer {"connection_id":161854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:21:41] local.INFO: IMEI packet received {"connection_id":161854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":161854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:21:46] local.INFO: TCP Data received {"connection_id":161854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:21:46] local.INFO: Processing buffer {"connection_id":161854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:21:46] local.INFO: IMEI packet received {"connection_id":161854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":161854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:21:47] local.INFO: TCP Data received {"connection_id":161854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:21:47] local.INFO: Processing buffer {"connection_id":161854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:21:47] local.INFO: Packet analysis {"connection_id":161854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:21:47] local.INFO: Extracted packet for processing {"connection_id":161854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:21:47] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":95834736,"longitude_deg":76.3277504,"latitude_deg":9.5834736,"altitude":8,"angle":168,"satellites":44,"speed":0,"hex_longitude":"2d7eb0c0","hex_latitude":"05b65270","is_valid_coordinates":true} 
[2026-08-25 12:21:47] 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-25 12:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787640568000,"timestamp_ms":1787640568000,"timestamp_seconds":1787640568,"priority":1,"record_length":96,"hex_timestamp":"000001a037ae58c0"} 
[2026-08-25 12:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-25 12:21:47] 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-25 12:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985152001,"66":5253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:21:47] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:21:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985152001,"power":5253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":161854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:21:47] local.INFO: GPS data processed {"connection_id":161854,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:21:47] local.INFO: Acknowledgment sent {"connection_id":161854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:22:00] local.INFO: TCP Data received {"connection_id":164228,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:22:00] local.INFO: Processing buffer {"connection_id":164228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:22:00] local.INFO: IMEI packet received {"connection_id":164228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":164228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:22:00] local.INFO: TCP Data received {"connection_id":162853,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037af1440012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037af1440012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:22:00] local.INFO: Processing buffer {"connection_id":162853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037af1440012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:22:00] local.INFO: Packet analysis {"connection_id":162853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037af"} 
[2026-08-25 12:22:00] local.INFO: Extracted packet for processing {"connection_id":162853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037af"} 
[2026-08-25 12:22:00] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635992320001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787640616000,"timestamp_ms":1787640616000,"timestamp_seconds":1787640616,"priority":1,"record_length":96,"hex_timestamp":"000001a037af1440"} 
[2026-08-25 12:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:22:00] 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-25 12:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 12:22:00] 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-25 12:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635992320001,"66":12645,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635992320001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:22:00] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635992320001,"power":12645,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":162853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:22:00] local.INFO: GPS data processed {"connection_id":162853,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:22:00] local.INFO: Acknowledgment sent {"connection_id":162853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:22:01] local.INFO: TCP Data received {"connection_id":164228,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037ad10a0012d34c14006aa4820000300e62b..."} 
[2026-08-25 12:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ad10a0012d34c14006aa4820000300e62b..."} 
[2026-08-25 12:22:01] local.INFO: Processing buffer {"connection_id":164228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ad10a0012d34c14006aa4820000300e62b..."} 
[2026-08-25 12:22:01] local.INFO: Packet analysis {"connection_id":164228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ad"} 
[2026-08-25 12:22:01] local.INFO: Extracted packet for processing {"connection_id":164228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ad"} 
[2026-08-25 12:22:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635886848001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894806528,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787640484000,"timestamp_ms":1787640484000,"timestamp_seconds":1787640484,"priority":1,"record_length":96,"hex_timestamp":"000001a037ad10a0"} 
[2026-08-25 12:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 12:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 12:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":164228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":164228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":164228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635886848001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3800827007894806528},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635886848001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:22:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:22:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894806528,"description":"Unknown IO ID 45"} 
[2026-08-25 12:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635886848001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894806528}} 
[2026-08-25 12:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":164228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:22:01] local.INFO: GPS data processed {"connection_id":164228,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:22:01] local.INFO: Acknowledgment sent {"connection_id":164228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:22:18] local.INFO: TCP Data received {"connection_id":161854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:22:18] local.INFO: Processing buffer {"connection_id":161854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:22:18] local.INFO: Packet analysis {"connection_id":161854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:22:18] local.INFO: Extracted packet for processing {"connection_id":161854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:22:18] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":95834736,"longitude_deg":76.3277504,"latitude_deg":9.5834736,"altitude":8,"angle":168,"satellites":44,"speed":0,"hex_longitude":"2d7eb0c0","hex_latitude":"05b65270","is_valid_coordinates":true} 
[2026-08-25 12:22: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-25 12:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640568000,"timestamp_ms":1787640568000,"timestamp_seconds":1787640568,"priority":1,"record_length":96,"hex_timestamp":"000001a037ae58c0"} 
[2026-08-25 12: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-25 12:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-25 12:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985152001,"66":5253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:22:18] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985152001,"power":5253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":161854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:22:18] local.INFO: GPS data processed {"connection_id":161854,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:22:18] local.INFO: Acknowledgment sent {"connection_id":161854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:22:32] local.INFO: TCP Data received {"connection_id":162853,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037af9910012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037af9910012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:22:32] local.INFO: Processing buffer {"connection_id":162853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037af9910012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:22:32] local.INFO: Packet analysis {"connection_id":162853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037af"} 
[2026-08-25 12:22:32] local.INFO: Extracted packet for processing {"connection_id":162853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037af"} 
[2026-08-25 12:22:32] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635997696001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787640650000,"timestamp_ms":1787640650000,"timestamp_seconds":1787640650,"priority":1,"record_length":96,"hex_timestamp":"000001a037af9910"} 
[2026-08-25 12: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-25 12:22:32] 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-25 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-25 12:22:32] 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-25 12: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-25 12: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-25 12:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635997696001,"66":12722,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635997696001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:22:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:22:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635997696001,"power":12722,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":162853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:22:32] local.INFO: GPS data processed {"connection_id":162853,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:22:32] local.INFO: Acknowledgment sent {"connection_id":162853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:22:41] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:22:41] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:22:41] local.INFO: IMEI packet received {"connection_id":161855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":161855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:22:45] local.INFO: TCP Data received {"connection_id":161856,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:22:45] local.INFO: Processing buffer {"connection_id":161856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:22:45] local.INFO: IMEI packet received {"connection_id":161856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":161856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:22:46] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:22:46] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:22:46] local.INFO: IMEI packet received {"connection_id":161855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":161855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:22:47] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:22:47] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:22:47] local.INFO: Packet analysis {"connection_id":161855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:22:47] local.INFO: Extracted packet for processing {"connection_id":161855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:22:47] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":95834736,"longitude_deg":76.3277504,"latitude_deg":9.5834736,"altitude":8,"angle":168,"satellites":44,"speed":0,"hex_longitude":"2d7eb0c0","hex_latitude":"05b65270","is_valid_coordinates":true} 
[2026-08-25 12:22:47] 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-25 12:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787640568000,"timestamp_ms":1787640568000,"timestamp_seconds":1787640568,"priority":1,"record_length":96,"hex_timestamp":"000001a037ae58c0"} 
[2026-08-25 12:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-25 12:22:47] 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-25 12:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985152001,"66":5253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:22:47] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:22:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985152001,"power":5253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":161855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:22:47] local.INFO: GPS data processed {"connection_id":161855,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:22:47] local.INFO: Acknowledgment sent {"connection_id":161855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:22:50] local.INFO: TCP Data received {"connection_id":161856,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:22:50] local.INFO: Processing buffer {"connection_id":161856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:22:50] local.INFO: IMEI packet received {"connection_id":161856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":161856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:22:51] local.INFO: TCP Data received {"connection_id":161856,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037ad10a0012d34c14006aa4820000300e62b..."} 
[2026-08-25 12:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ad10a0012d34c14006aa4820000300e62b..."} 
[2026-08-25 12:22:51] local.INFO: Processing buffer {"connection_id":161856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ad10a0012d34c14006aa4820000300e62b..."} 
[2026-08-25 12:22:51] local.INFO: Packet analysis {"connection_id":161856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ad"} 
[2026-08-25 12:22:51] local.INFO: Extracted packet for processing {"connection_id":161856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ad"} 
[2026-08-25 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635886848001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894806528,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787640484000,"timestamp_ms":1787640484000,"timestamp_seconds":1787640484,"priority":1,"record_length":96,"hex_timestamp":"000001a037ad10a0"} 
[2026-08-25 12:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 12:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635886848001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3800827007894806528},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635886848001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:22:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894806528,"description":"Unknown IO ID 45"} 
[2026-08-25 12:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635886848001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894806528}} 
[2026-08-25 12:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":161856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:22:51] local.INFO: GPS data processed {"connection_id":161856,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:22:51] local.INFO: Acknowledgment sent {"connection_id":161856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:22:56] local.INFO: TCP Data received {"connection_id":161856,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037ad10a0012d34c14006aa4820000300e62b..."} 
[2026-08-25 12:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ad10a0012d34c14006aa4820000300e62b..."} 
[2026-08-25 12:22:56] local.INFO: Processing buffer {"connection_id":161856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ad10a0012d34c14006aa4820000300e62b..."} 
[2026-08-25 12:22:56] local.INFO: Packet analysis {"connection_id":161856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ad"} 
[2026-08-25 12:22:56] local.INFO: Extracted packet for processing {"connection_id":161856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ad"} 
[2026-08-25 12:22:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635886848001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007894806528,"note":"Value kept but may cause issues"} 
[2026-08-25 12:22: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-25 12:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787640484000,"timestamp_ms":1787640484000,"timestamp_seconds":1787640484,"priority":1,"record_length":96,"hex_timestamp":"000001a037ad10a0"} 
[2026-08-25 12:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 12:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 12:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635886848001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3800827007894806528},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635886848001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:22:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:22:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007894806528,"description":"Unknown IO ID 45"} 
[2026-08-25 12:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635886848001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800827007894806528}} 
[2026-08-25 12:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":161856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:22:56] local.INFO: GPS data processed {"connection_id":161856,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:22:56] local.INFO: Acknowledgment sent {"connection_id":161856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:23:03] local.INFO: TCP Data received {"connection_id":162853,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037afeb18012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037afeb18012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:23:03] local.INFO: Processing buffer {"connection_id":162853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037afeb18012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:23:03] local.INFO: Packet analysis {"connection_id":162853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037af"} 
[2026-08-25 12:23:03] local.INFO: Extracted packet for processing {"connection_id":162853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037af"} 
[2026-08-25 12:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636006400001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787640671000,"timestamp_ms":1787640671000,"timestamp_seconds":1787640671,"priority":1,"record_length":96,"hex_timestamp":"000001a037afeb18"} 
[2026-08-25 12:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 12:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636006400001,"66":12776,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636006400001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:23:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:23:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636006400001,"power":12776,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":162853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:23:03] local.INFO: GPS data processed {"connection_id":162853,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:23:03] local.INFO: Acknowledgment sent {"connection_id":162853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:23:18] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:23:18] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:23:18] local.INFO: Packet analysis {"connection_id":161855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:23:18] local.INFO: Extracted packet for processing {"connection_id":161855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:23:18] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":95834736,"longitude_deg":76.3277504,"latitude_deg":9.5834736,"altitude":8,"angle":168,"satellites":44,"speed":0,"hex_longitude":"2d7eb0c0","hex_latitude":"05b65270","is_valid_coordinates":true} 
[2026-08-25 12:23: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-25 12:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640568000,"timestamp_ms":1787640568000,"timestamp_seconds":1787640568,"priority":1,"record_length":96,"hex_timestamp":"000001a037ae58c0"} 
[2026-08-25 12:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-25 12:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985152001,"66":5253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:23:18] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:23:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985152001,"power":5253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":161855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:23:18] local.INFO: GPS data processed {"connection_id":161855,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:23:18] local.INFO: Acknowledgment sent {"connection_id":161855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:23:35] local.INFO: TCP Data received {"connection_id":162853,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b03d20012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b03d20012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:23:35] local.INFO: Processing buffer {"connection_id":162853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b03d20012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:23:35] local.INFO: Packet analysis {"connection_id":162853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b0"} 
[2026-08-25 12:23:35] local.INFO: Extracted packet for processing {"connection_id":162853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b0"} 
[2026-08-25 12:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636011776001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787640692000,"timestamp_ms":1787640692000,"timestamp_seconds":1787640692,"priority":1,"record_length":96,"hex_timestamp":"000001a037b03d20"} 
[2026-08-25 12: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-25 12:23:35] 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-25 12: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-25 12:23:35] 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-25 12: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-25 12: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-25 12:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636011776001,"66":12776,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636011776001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:23:35] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:23:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636011776001,"power":12776,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":162853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:23:35] local.INFO: GPS data processed {"connection_id":162853,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:23:35] local.INFO: Acknowledgment sent {"connection_id":162853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:23:40] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:23:40] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:23:40] local.INFO: IMEI packet received {"connection_id":161857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":161857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:23:41] local.INFO: TCP Data received {"connection_id":164229,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:23:41] local.INFO: Processing buffer {"connection_id":164229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:23:41] local.INFO: IMEI packet received {"connection_id":164229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":164229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:23:43] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:23:43] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:23:43] local.INFO: IMEI packet received {"connection_id":161857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":161857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:23:44] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:23:44] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:23:44] local.INFO: Packet analysis {"connection_id":161857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:23:44] local.INFO: Extracted packet for processing {"connection_id":161857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635963904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787640785000,"timestamp_ms":1787640785000,"timestamp_seconds":1787640785,"priority":1,"record_length":96,"hex_timestamp":"000001a037b1a868"} 
[2026-08-25 12:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635963904001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635963904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635963904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":161857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:23:44] local.INFO: GPS data processed {"connection_id":161857,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:23:44] local.INFO: Acknowledgment sent {"connection_id":161857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:23:46] local.INFO: TCP Data received {"connection_id":164229,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:23:46] local.INFO: Processing buffer {"connection_id":164229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:23:46] local.INFO: IMEI packet received {"connection_id":164229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":164229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:23:47] local.INFO: TCP Data received {"connection_id":164229,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:23:47] local.INFO: Processing buffer {"connection_id":164229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:23:47] local.INFO: Packet analysis {"connection_id":164229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:23:47] local.INFO: Extracted packet for processing {"connection_id":164229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:23:47] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":95834736,"longitude_deg":76.3277504,"latitude_deg":9.5834736,"altitude":8,"angle":168,"satellites":44,"speed":0,"hex_longitude":"2d7eb0c0","hex_latitude":"05b65270","is_valid_coordinates":true} 
[2026-08-25 12:23:47] 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-25 12:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787640568000,"timestamp_ms":1787640568000,"timestamp_seconds":1787640568,"priority":1,"record_length":96,"hex_timestamp":"000001a037ae58c0"} 
[2026-08-25 12:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-25 12:23:47] 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-25 12:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985152001,"66":5253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:23:47] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:23:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985152001,"power":5253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":164229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:23:47] local.INFO: GPS data processed {"connection_id":164229,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:23:47] local.INFO: Acknowledgment sent {"connection_id":164229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:24:07] local.INFO: TCP Data received {"connection_id":162853,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b08f28012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b08f28012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:24:07] local.INFO: Processing buffer {"connection_id":162853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b08f28012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:24:07] local.INFO: Packet analysis {"connection_id":162853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b0"} 
[2026-08-25 12:24:07] local.INFO: Extracted packet for processing {"connection_id":162853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b0"} 
[2026-08-25 12:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636017152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787640713000,"timestamp_ms":1787640713000,"timestamp_seconds":1787640713,"priority":1,"record_length":96,"hex_timestamp":"000001a037b08f28"} 
[2026-08-25 12: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-25 12:24:07] 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-25 12:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-25 12:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636017152001,"66":12765,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636017152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:24:07] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636017152001,"power":12765,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":162853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:24:07] local.INFO: GPS data processed {"connection_id":162853,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:24:07] local.INFO: Acknowledgment sent {"connection_id":162853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:24:16] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:24:16] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:24:16] local.INFO: Packet analysis {"connection_id":161857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:24:16] local.INFO: Extracted packet for processing {"connection_id":161857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635963904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787640785000,"timestamp_ms":1787640785000,"timestamp_seconds":1787640785,"priority":1,"record_length":96,"hex_timestamp":"000001a037b1a868"} 
[2026-08-25 12: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-25 12:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635963904001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635963904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635963904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":161857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:24:16] local.INFO: GPS data processed {"connection_id":161857,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:24:16] local.INFO: Acknowledgment sent {"connection_id":161857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:24:18] local.INFO: TCP Data received {"connection_id":164229,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:24:18] local.INFO: Processing buffer {"connection_id":164229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ae58c0012d7eb0c005b65270000800a82c..."} 
[2026-08-25 12:24:18] local.INFO: Packet analysis {"connection_id":164229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:24:18] local.INFO: Extracted packet for processing {"connection_id":164229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ae"} 
[2026-08-25 12:24:18] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":95834736,"longitude_deg":76.3277504,"latitude_deg":9.5834736,"altitude":8,"angle":168,"satellites":44,"speed":0,"hex_longitude":"2d7eb0c0","hex_latitude":"05b65270","is_valid_coordinates":true} 
[2026-08-25 12:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985152001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640568000,"timestamp_ms":1787640568000,"timestamp_seconds":1787640568,"priority":1,"record_length":96,"hex_timestamp":"000001a037ae58c0"} 
[2026-08-25 12:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-25 12:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985152001,"66":5253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985152001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:24:18] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:24:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985152001,"power":5253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":164229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:24:18] local.INFO: GPS data processed {"connection_id":164229,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:24:18] local.INFO: Acknowledgment sent {"connection_id":164229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:24:27] local.INFO: TCP Data received {"connection_id":162854,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:24:27] local.INFO: Processing buffer {"connection_id":162854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:24:27] local.INFO: IMEI packet received {"connection_id":162854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":162854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:24:31] local.INFO: TCP Data received {"connection_id":162854,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:24:31] local.INFO: Processing buffer {"connection_id":162854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:24:31] local.INFO: IMEI packet received {"connection_id":162854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":162854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:24:33] local.INFO: TCP Data received {"connection_id":162854,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b0e130012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b0e130012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:24:33] local.INFO: Processing buffer {"connection_id":162854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b0e130012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:24:33] local.INFO: Packet analysis {"connection_id":162854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b0"} 
[2026-08-25 12:24:33] local.INFO: Extracted packet for processing {"connection_id":162854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b0"} 
[2026-08-25 12:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636022528001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787640734000,"timestamp_ms":1787640734000,"timestamp_seconds":1787640734,"priority":1,"record_length":96,"hex_timestamp":"000001a037b0e130"} 
[2026-08-25 12:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:24:33] 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-25 12:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-25 12:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636022528001,"66":12689,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636022528001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:24:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:24:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636022528001,"power":12689,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":162854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:24:33] local.INFO: GPS data processed {"connection_id":162854,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:24:33] local.INFO: Acknowledgment sent {"connection_id":162854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:24:37] local.INFO: TCP Data received {"connection_id":162854,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b13338012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b13338012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:24:37] local.INFO: Processing buffer {"connection_id":162854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b13338012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:24:37] local.INFO: Packet analysis {"connection_id":162854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:24:37] local.INFO: Extracted packet for processing {"connection_id":162854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 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-25 12:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636027904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787640755000,"timestamp_ms":1787640755000,"timestamp_seconds":1787640755,"priority":1,"record_length":96,"hex_timestamp":"000001a037b13338"} 
[2026-08-25 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-25 12:24: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-25 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 12:24:37] 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-25 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-25 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-25 12:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636027904001,"66":12722,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636027904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:24:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636027904001,"power":12722,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":162854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:24:37] local.INFO: GPS data processed {"connection_id":162854,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:24:37] local.INFO: Acknowledgment sent {"connection_id":162854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:24:40] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:24:40] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:24:40] local.INFO: IMEI packet received {"connection_id":161858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":161858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:24:45] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:24:45] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:24:45] local.INFO: IMEI packet received {"connection_id":161858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":161858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:24:46] local.INFO: TCP Data received {"connection_id":164230,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:24:46] local.INFO: Processing buffer {"connection_id":164230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:24:46] local.INFO: IMEI packet received {"connection_id":164230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":164230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:24:46] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:24:46] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:24:46] local.INFO: Packet analysis {"connection_id":161858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:24:46] local.INFO: Extracted packet for processing {"connection_id":161858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635963904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787640785000,"timestamp_ms":1787640785000,"timestamp_seconds":1787640785,"priority":1,"record_length":96,"hex_timestamp":"000001a037b1a868"} 
[2026-08-25 12:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635963904001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635963904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:24:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635963904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":161858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:24:46] local.INFO: GPS data processed {"connection_id":161858,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:24:46] local.INFO: Acknowledgment sent {"connection_id":161858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:24:51] local.INFO: TCP Data received {"connection_id":164230,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:24:51] local.INFO: Processing buffer {"connection_id":164230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:24:51] local.INFO: IMEI packet received {"connection_id":164230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":164230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:24:52] local.INFO: TCP Data received {"connection_id":164230,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:24:52] local.INFO: Processing buffer {"connection_id":164230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:24:52] local.INFO: Packet analysis {"connection_id":164230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:24:52] local.INFO: Extracted packet for processing {"connection_id":164230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:24:52] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95834704,"longitude_deg":76.3276928,"latitude_deg":9.5834704,"altitude":8,"angle":168,"satellites":46,"speed":0,"hex_longitude":"2d7eae80","hex_latitude":"05b65250","is_valid_coordinates":true} 
[2026-08-25 12:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787640869000,"timestamp_ms":1787640869000,"timestamp_seconds":1787640869,"priority":1,"record_length":96,"hex_timestamp":"000001a037b2f088"} 
[2026-08-25 12:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 12:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985408001,"66":2253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:24:52] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:24:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985408001,"power":2253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":164230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:24:52] local.INFO: GPS data processed {"connection_id":164230,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:24:52] local.INFO: Acknowledgment sent {"connection_id":164230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:24:56] local.INFO: TCP Data received {"connection_id":164230,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:24:56] local.INFO: Processing buffer {"connection_id":164230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:24:56] local.INFO: Packet analysis {"connection_id":164230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:24:56] local.INFO: Extracted packet for processing {"connection_id":164230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95834704,"longitude_deg":76.3276928,"latitude_deg":9.5834704,"altitude":8,"angle":168,"satellites":46,"speed":0,"hex_longitude":"2d7eae80","hex_latitude":"05b65250","is_valid_coordinates":true} 
[2026-08-25 12:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787640869000,"timestamp_ms":1787640869000,"timestamp_seconds":1787640869,"priority":1,"record_length":96,"hex_timestamp":"000001a037b2f088"} 
[2026-08-25 12:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 12:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985408001,"66":2253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:24:56] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985408001,"power":2253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":164230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:24:56] local.INFO: GPS data processed {"connection_id":164230,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:24:56] local.INFO: Acknowledgment sent {"connection_id":164230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:25:18] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:25:18] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:25:18] local.INFO: Packet analysis {"connection_id":161858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:25:18] local.INFO: Extracted packet for processing {"connection_id":161858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635963904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640785000,"timestamp_ms":1787640785000,"timestamp_seconds":1787640785,"priority":1,"record_length":96,"hex_timestamp":"000001a037b1a868"} 
[2026-08-25 12:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635963904001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635963904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:25:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635963904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":161858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:25:18] local.INFO: GPS data processed {"connection_id":161858,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:25:18] local.INFO: Acknowledgment sent {"connection_id":161858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:25:19] local.INFO: TCP Data received {"connection_id":161859,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:25:19] local.INFO: Processing buffer {"connection_id":161859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:25:19] local.INFO: IMEI packet received {"connection_id":161859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":161859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:25:22] local.INFO: TCP Data received {"connection_id":161859,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:25:22] local.INFO: Processing buffer {"connection_id":161859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:25:22] local.INFO: IMEI packet received {"connection_id":161859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":161859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:25:27] local.INFO: TCP Data received {"connection_id":161859,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:25:27] local.INFO: Processing buffer {"connection_id":161859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:25:27] local.INFO: IMEI packet received {"connection_id":161859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":161859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:25:28] local.INFO: TCP Data received {"connection_id":161859,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b18540012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b18540012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:25:28] local.INFO: Processing buffer {"connection_id":161859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b18540012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:25:28] local.INFO: Packet analysis {"connection_id":161859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:25:28] local.INFO: Extracted packet for processing {"connection_id":161859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636033280001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787640776000,"timestamp_ms":1787640776000,"timestamp_seconds":1787640776,"priority":1,"record_length":96,"hex_timestamp":"000001a037b18540"} 
[2026-08-25 12: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-25 12:25:28] 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-25 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 12:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636033280001,"66":12722,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636033280001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:25:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:25:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636033280001,"power":12722,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":161859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:25:28] local.INFO: GPS data processed {"connection_id":161859,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:25:28] local.INFO: Acknowledgment sent {"connection_id":161859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:25:40] local.INFO: TCP Data received {"connection_id":162855,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:25:40] local.INFO: Processing buffer {"connection_id":162855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:25:40] local.INFO: IMEI packet received {"connection_id":162855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":162855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:25:41] local.INFO: TCP Data received {"connection_id":164231,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:25:41] local.INFO: Processing buffer {"connection_id":164231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:25:41] local.INFO: IMEI packet received {"connection_id":164231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":164231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:25:45] local.INFO: TCP Data received {"connection_id":162855,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:25:45] local.INFO: Processing buffer {"connection_id":162855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:25:45] local.INFO: IMEI packet received {"connection_id":162855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":162855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:25:46] local.INFO: TCP Data received {"connection_id":164231,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:25:46] local.INFO: Processing buffer {"connection_id":164231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:25:46] local.INFO: IMEI packet received {"connection_id":164231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":164231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:25:46] local.INFO: TCP Data received {"connection_id":162855,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:25:46] local.INFO: Processing buffer {"connection_id":162855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:25:46] local.INFO: Packet analysis {"connection_id":162855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:25:46] local.INFO: Extracted packet for processing {"connection_id":162855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635963904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787640785000,"timestamp_ms":1787640785000,"timestamp_seconds":1787640785,"priority":1,"record_length":96,"hex_timestamp":"000001a037b1a868"} 
[2026-08-25 12:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635963904001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635963904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635963904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":162855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:25:46] local.INFO: GPS data processed {"connection_id":162855,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:25:46] local.INFO: Acknowledgment sent {"connection_id":162855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:25:47] local.INFO: TCP Data received {"connection_id":164231,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:25:47] local.INFO: Processing buffer {"connection_id":164231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:25:47] local.INFO: Packet analysis {"connection_id":164231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:25:47] local.INFO: Extracted packet for processing {"connection_id":164231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95834704,"longitude_deg":76.3276928,"latitude_deg":9.5834704,"altitude":8,"angle":168,"satellites":46,"speed":0,"hex_longitude":"2d7eae80","hex_latitude":"05b65250","is_valid_coordinates":true} 
[2026-08-25 12:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787640869000,"timestamp_ms":1787640869000,"timestamp_seconds":1787640869,"priority":1,"record_length":96,"hex_timestamp":"000001a037b2f088"} 
[2026-08-25 12:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 12:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985408001,"66":2253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:25:47] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985408001,"power":2253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":164231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:25:47] local.INFO: GPS data processed {"connection_id":164231,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:25:47] local.INFO: Acknowledgment sent {"connection_id":164231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:25:59] local.INFO: TCP Data received {"connection_id":161859,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b1d748012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b1d748012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:26:00] local.INFO: Processing buffer {"connection_id":161859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b1d748012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:26:00] local.INFO: Packet analysis {"connection_id":161859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:26:00] local.INFO: Extracted packet for processing {"connection_id":161859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636038656001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787640797000,"timestamp_ms":1787640797000,"timestamp_seconds":1787640797,"priority":1,"record_length":96,"hex_timestamp":"000001a037b1d748"} 
[2026-08-25 12:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:26:00] 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-25 12:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 12:26:00] 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-25 12:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636038656001,"66":12711,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636038656001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:26:00] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636038656001,"power":12711,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":161859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:26:00] local.INFO: GPS data processed {"connection_id":161859,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:26:00] local.INFO: Acknowledgment sent {"connection_id":161859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:26:18] local.INFO: TCP Data received {"connection_id":162855,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:26:18] local.INFO: Processing buffer {"connection_id":162855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:26:18] local.INFO: Packet analysis {"connection_id":162855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:26:18] local.INFO: Extracted packet for processing {"connection_id":162855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635963904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640785000,"timestamp_ms":1787640785000,"timestamp_seconds":1787640785,"priority":1,"record_length":96,"hex_timestamp":"000001a037b1a868"} 
[2026-08-25 12:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635963904001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635963904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:26:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635963904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":162855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:26:18] local.INFO: GPS data processed {"connection_id":162855,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:26:18] local.INFO: Acknowledgment sent {"connection_id":162855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:26:18] local.INFO: TCP Data received {"connection_id":164231,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:26:18] local.INFO: Processing buffer {"connection_id":164231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:26:18] local.INFO: Packet analysis {"connection_id":164231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:26:18] local.INFO: Extracted packet for processing {"connection_id":164231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:26:18] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95834704,"longitude_deg":76.3276928,"latitude_deg":9.5834704,"altitude":8,"angle":168,"satellites":46,"speed":0,"hex_longitude":"2d7eae80","hex_latitude":"05b65250","is_valid_coordinates":true} 
[2026-08-25 12:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640869000,"timestamp_ms":1787640869000,"timestamp_seconds":1787640869,"priority":1,"record_length":96,"hex_timestamp":"000001a037b2f088"} 
[2026-08-25 12:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 12:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985408001,"66":2253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:26:18] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:26:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985408001,"power":2253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":164231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:26:18] local.INFO: GPS data processed {"connection_id":164231,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:26:18] local.INFO: Acknowledgment sent {"connection_id":164231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:26:22] local.INFO: TCP Data received {"connection_id":162856,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:26:22] local.INFO: Processing buffer {"connection_id":162856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:26:22] local.INFO: IMEI packet received {"connection_id":162856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":162856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:26:22] local.INFO: TCP Data received {"connection_id":162856,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:26:22] local.INFO: Processing buffer {"connection_id":162856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:26:22] local.INFO: IMEI packet received {"connection_id":162856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":162856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:26:27] local.INFO: TCP Data received {"connection_id":162856,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:26:27] local.INFO: Processing buffer {"connection_id":162856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:26:27] local.INFO: IMEI packet received {"connection_id":162856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":162856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:26:28] local.INFO: TCP Data received {"connection_id":162856,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b22950012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b22950012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:26:28] local.INFO: Processing buffer {"connection_id":162856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b22950012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:26:28] local.INFO: Packet analysis {"connection_id":162856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:26:28] local.INFO: Extracted packet for processing {"connection_id":162856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636044032001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787640818000,"timestamp_ms":1787640818000,"timestamp_seconds":1787640818,"priority":1,"record_length":96,"hex_timestamp":"000001a037b22950"} 
[2026-08-25 12:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:26:28] 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-25 12:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-25 12:26:28] 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-25 12:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636044032001,"66":12689,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636044032001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:26:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:26:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636044032001,"power":12689,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":162856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:26:28] local.INFO: GPS data processed {"connection_id":162856,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:26:28] local.INFO: Acknowledgment sent {"connection_id":162856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:26:41] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:26:41] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:26:41] local.INFO: IMEI packet received {"connection_id":161860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":161860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:26:45] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:26:45] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:26:45] local.INFO: IMEI packet received {"connection_id":161861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":161861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:26:46] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:26:46] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:26:46] local.INFO: IMEI packet received {"connection_id":161860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":161860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:26:47] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:26:47] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:26:47] local.INFO: Packet analysis {"connection_id":161860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:26:47] local.INFO: Extracted packet for processing {"connection_id":161860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:26:47] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95834704,"longitude_deg":76.3276928,"latitude_deg":9.5834704,"altitude":8,"angle":168,"satellites":46,"speed":0,"hex_longitude":"2d7eae80","hex_latitude":"05b65250","is_valid_coordinates":true} 
[2026-08-25 12:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787640869000,"timestamp_ms":1787640869000,"timestamp_seconds":1787640869,"priority":1,"record_length":96,"hex_timestamp":"000001a037b2f088"} 
[2026-08-25 12:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 12:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985408001,"66":2253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:26:47] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:26:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985408001,"power":2253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":161860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:26:47] local.INFO: GPS data processed {"connection_id":161860,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:26:47] local.INFO: Acknowledgment sent {"connection_id":161860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:26:50] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:26:50] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:26:50] local.INFO: IMEI packet received {"connection_id":161861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":161861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:26:51] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:26:51] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:26:51] local.INFO: Packet analysis {"connection_id":161861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:26:51] local.INFO: Extracted packet for processing {"connection_id":161861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:26:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635963904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787640785000,"timestamp_ms":1787640785000,"timestamp_seconds":1787640785,"priority":1,"record_length":96,"hex_timestamp":"000001a037b1a868"} 
[2026-08-25 12:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635963904001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635963904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:26:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635963904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":161861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:26:51] local.INFO: GPS data processed {"connection_id":161861,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:26:51] local.INFO: Acknowledgment sent {"connection_id":161861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:26:56] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:26:56] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:26:56] local.INFO: Packet analysis {"connection_id":161861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:26:56] local.INFO: Extracted packet for processing {"connection_id":161861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:26:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635963904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26: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-25 12:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787640785000,"timestamp_ms":1787640785000,"timestamp_seconds":1787640785,"priority":1,"record_length":96,"hex_timestamp":"000001a037b1a868"} 
[2026-08-25 12:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 12:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635963904001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635963904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:26:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:26:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635963904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":161861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:26:56] local.INFO: GPS data processed {"connection_id":161861,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:26:56] local.INFO: Acknowledgment sent {"connection_id":161861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:26:59] local.INFO: TCP Data received {"connection_id":162856,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b27b58012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b27b58012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:26:59] local.INFO: Processing buffer {"connection_id":162856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b27b58012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:26:59] local.INFO: Packet analysis {"connection_id":162856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:26:59] local.INFO: Extracted packet for processing {"connection_id":162856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636049408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787640839000,"timestamp_ms":1787640839000,"timestamp_seconds":1787640839,"priority":1,"record_length":96,"hex_timestamp":"000001a037b27b58"} 
[2026-08-25 12:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:26:59] 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-25 12:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 12:26:59] 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-25 12:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636049408001,"66":12602,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636049408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:26:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636049408001,"power":12602,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":162856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:27:00] local.INFO: GPS data processed {"connection_id":162856,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:27:00] local.INFO: Acknowledgment sent {"connection_id":162856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:27:18] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:27:18] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:27:18] local.INFO: Packet analysis {"connection_id":161860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:27:18] local.INFO: Extracted packet for processing {"connection_id":161860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:27:18] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95834704,"longitude_deg":76.3276928,"latitude_deg":9.5834704,"altitude":8,"angle":168,"satellites":46,"speed":0,"hex_longitude":"2d7eae80","hex_latitude":"05b65250","is_valid_coordinates":true} 
[2026-08-25 12:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640869000,"timestamp_ms":1787640869000,"timestamp_seconds":1787640869,"priority":1,"record_length":96,"hex_timestamp":"000001a037b2f088"} 
[2026-08-25 12:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 12:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985408001,"66":2253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:27:18] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:27:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985408001,"power":2253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":161860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:27:18] local.INFO: GPS data processed {"connection_id":161860,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:27:18] local.INFO: Acknowledgment sent {"connection_id":161860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:27:21] local.INFO: TCP Data received {"connection_id":164232,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:27:21] local.INFO: Processing buffer {"connection_id":164232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:27:21] local.INFO: IMEI packet received {"connection_id":164232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":164232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:27:25] local.INFO: TCP Data received {"connection_id":164232,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:27:25] local.INFO: Processing buffer {"connection_id":164232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:27:25] local.INFO: IMEI packet received {"connection_id":164232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":164232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:27:27] local.INFO: TCP Data received {"connection_id":164232,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:27:27] local.INFO: Processing buffer {"connection_id":164232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:27:27] local.INFO: IMEI packet received {"connection_id":164232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":164232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:27:28] local.INFO: TCP Data received {"connection_id":164232,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b2cd60012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b2cd60012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:27:28] local.INFO: Processing buffer {"connection_id":164232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b2cd60012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:27:28] local.INFO: Packet analysis {"connection_id":164232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:27:28] local.INFO: Extracted packet for processing {"connection_id":164232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636054784001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787640860000,"timestamp_ms":1787640860000,"timestamp_seconds":1787640860,"priority":1,"record_length":96,"hex_timestamp":"000001a037b2cd60"} 
[2026-08-25 12:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:27:28] 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-25 12:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-25 12:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636054784001,"66":12667,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636054784001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:27:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:27:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636054784001,"power":12667,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":164232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:27:29] local.INFO: GPS data processed {"connection_id":164232,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:27:29] local.INFO: Acknowledgment sent {"connection_id":164232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:27:33] local.INFO: TCP Data received {"connection_id":164232,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b31f68012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b31f68012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:27:33] local.INFO: Processing buffer {"connection_id":164232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b31f68012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:27:33] local.INFO: Packet analysis {"connection_id":164232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b3"} 
[2026-08-25 12:27:33] local.INFO: Extracted packet for processing {"connection_id":164232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b3"} 
[2026-08-25 12:27:33] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636060160001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787640881000,"timestamp_ms":1787640881000,"timestamp_seconds":1787640881,"priority":1,"record_length":96,"hex_timestamp":"000001a037b31f68"} 
[2026-08-25 12:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:27:33] 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-25 12:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-25 12:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636060160001,"66":12613,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636060160001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:27:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:27:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636060160001,"power":12613,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":164232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:27:33] local.INFO: GPS data processed {"connection_id":164232,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:27:33] local.INFO: Acknowledgment sent {"connection_id":164232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:27:40] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:27:40] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:27:40] local.INFO: IMEI packet received {"connection_id":161612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":161612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:27:41] local.INFO: TCP Data received {"connection_id":162857,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:27:41] local.INFO: Processing buffer {"connection_id":162857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:27:41] local.INFO: IMEI packet received {"connection_id":162857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":162857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:27:45] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:27:45] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:27:45] local.INFO: IMEI packet received {"connection_id":161612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":161612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:27:46] local.INFO: TCP Data received {"connection_id":162857,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:27:46] local.INFO: Processing buffer {"connection_id":162857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:27:46] local.INFO: IMEI packet received {"connection_id":162857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":162857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:27:46] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:27:46] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:27:46] local.INFO: Packet analysis {"connection_id":161612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:27:46] local.INFO: Extracted packet for processing {"connection_id":161612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635963904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787640785000,"timestamp_ms":1787640785000,"timestamp_seconds":1787640785,"priority":1,"record_length":96,"hex_timestamp":"000001a037b1a868"} 
[2026-08-25 12:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635963904001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635963904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:27:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635963904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":161612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:27:46] local.INFO: GPS data processed {"connection_id":161612,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:27:46] local.INFO: Acknowledgment sent {"connection_id":161612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:27:47] local.INFO: TCP Data received {"connection_id":162857,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:27:47] local.INFO: Processing buffer {"connection_id":162857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:27:47] local.INFO: Packet analysis {"connection_id":162857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:27:47] local.INFO: Extracted packet for processing {"connection_id":162857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:27:47] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95834704,"longitude_deg":76.3276928,"latitude_deg":9.5834704,"altitude":8,"angle":168,"satellites":46,"speed":0,"hex_longitude":"2d7eae80","hex_latitude":"05b65250","is_valid_coordinates":true} 
[2026-08-25 12:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787640869000,"timestamp_ms":1787640869000,"timestamp_seconds":1787640869,"priority":1,"record_length":96,"hex_timestamp":"000001a037b2f088"} 
[2026-08-25 12:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 12:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985408001,"66":2253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:27:47] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:27:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985408001,"power":2253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":162857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:27:47] local.INFO: GPS data processed {"connection_id":162857,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:27:47] local.INFO: Acknowledgment sent {"connection_id":162857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:28:04] local.INFO: TCP Data received {"connection_id":164232,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b37170012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b37170012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:28:04] local.INFO: Processing buffer {"connection_id":164232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b37170012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:28:04] local.INFO: Packet analysis {"connection_id":164232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b3"} 
[2026-08-25 12:28:04] local.INFO: Extracted packet for processing {"connection_id":164232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b3"} 
[2026-08-25 12:28:04] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636065536001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787640902000,"timestamp_ms":1787640902000,"timestamp_seconds":1787640902,"priority":1,"record_length":96,"hex_timestamp":"000001a037b37170"} 
[2026-08-25 12: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-25 12:28:04] 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-25 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-25 12:28:04] 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-25 12: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-25 12: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-25 12:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636065536001,"66":12591,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636065536001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:28:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:28:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636065536001,"power":12591,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":164232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:28:04] local.INFO: GPS data processed {"connection_id":164232,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:28:04] local.INFO: Acknowledgment sent {"connection_id":164232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:28:18] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:28:18] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b1a868012d34c14006aa4820000500e62c..."} 
[2026-08-25 12:28:18] local.INFO: Packet analysis {"connection_id":161612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:28:18] local.INFO: Extracted packet for processing {"connection_id":161612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b1"} 
[2026-08-25 12:28:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635963904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640785000,"timestamp_ms":1787640785000,"timestamp_seconds":1787640785,"priority":1,"record_length":96,"hex_timestamp":"000001a037b1a868"} 
[2026-08-25 12:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635963904001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635963904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:28:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:28:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635963904001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":161612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:28:18] local.INFO: GPS data processed {"connection_id":161612,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:28:18] local.INFO: Acknowledgment sent {"connection_id":161612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:28:19] local.INFO: TCP Data received {"connection_id":162857,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:28:19] local.INFO: Processing buffer {"connection_id":162857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:28:19] local.INFO: Packet analysis {"connection_id":162857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:28:19] local.INFO: Extracted packet for processing {"connection_id":162857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:28:19] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95834704,"longitude_deg":76.3276928,"latitude_deg":9.5834704,"altitude":8,"angle":168,"satellites":46,"speed":0,"hex_longitude":"2d7eae80","hex_latitude":"05b65250","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787640869000,"timestamp_ms":1787640869000,"timestamp_seconds":1787640869,"priority":1,"record_length":96,"hex_timestamp":"000001a037b2f088"} 
[2026-08-25 12: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-25 12:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12: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":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 12:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985408001,"66":2253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:28:19] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:28:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985408001,"power":2253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":162857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:28:19] local.INFO: GPS data processed {"connection_id":162857,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:28:19] local.INFO: Acknowledgment sent {"connection_id":162857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:28:21] local.INFO: TCP Data received {"connection_id":164233,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:28:21] local.INFO: Processing buffer {"connection_id":164233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:28:21] local.INFO: IMEI packet received {"connection_id":164233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":164233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:28:26] local.INFO: TCP Data received {"connection_id":164233,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:28:26] local.INFO: Processing buffer {"connection_id":164233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:28:26] local.INFO: IMEI packet received {"connection_id":164233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":164233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:28:28] local.INFO: TCP Data received {"connection_id":164233,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b3c378012d17cbc007213720003c00ca2f..."} 
[2026-08-25 12:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b3c378012d17cbc007213720003c00ca2f..."} 
[2026-08-25 12:28:28] local.INFO: Processing buffer {"connection_id":164233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b3c378012d17cbc007213720003c00ca2f..."} 
[2026-08-25 12:28:28] local.INFO: Packet analysis {"connection_id":164233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b3"} 
[2026-08-25 12:28:28] local.INFO: Extracted packet for processing {"connection_id":164233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b3"} 
[2026-08-25 12:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":47,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636070912001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787640923000,"timestamp_ms":1787640923000,"timestamp_seconds":1787640923,"priority":1,"record_length":96,"hex_timestamp":"000001a037b3c378"} 
[2026-08-25 12:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:28:28] 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-25 12:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 12:28:28] 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-25 12:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636070912001,"66":12558,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636070912001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:28:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:28:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636070912001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":164233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:28:28] local.INFO: GPS data processed {"connection_id":164233,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:28:28] local.INFO: Acknowledgment sent {"connection_id":164233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:28:40] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:28:40] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:28:40] local.INFO: IMEI packet received {"connection_id":161862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":161862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:28:41] local.INFO: TCP Data received {"connection_id":162858,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:28:41] local.INFO: Processing buffer {"connection_id":162858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:28:41] local.INFO: IMEI packet received {"connection_id":162858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":162858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:28:44] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:28:44] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:28:44] local.INFO: IMEI packet received {"connection_id":161862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":161862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:28:46] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:28:46] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:28:46] local.INFO: Packet analysis {"connection_id":161862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:28:46] local.INFO: Extracted packet for processing {"connection_id":161862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636040960001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641086000,"timestamp_ms":1787641086000,"timestamp_seconds":1787641086,"priority":1,"record_length":96,"hex_timestamp":"000001a037b64030"} 
[2026-08-25 12:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636040960001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636040960001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:28:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636040960001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":161862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:28:46] local.INFO: GPS data processed {"connection_id":161862,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:28:46] local.INFO: Acknowledgment sent {"connection_id":161862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:28:47] local.INFO: TCP Data received {"connection_id":162858,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:28:47] local.INFO: Processing buffer {"connection_id":162858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:28:47] local.INFO: IMEI packet received {"connection_id":162858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":162858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:28:47] local.INFO: TCP Data received {"connection_id":162858,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:28:47] local.INFO: Processing buffer {"connection_id":162858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:28:47] local.INFO: Packet analysis {"connection_id":162858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:28:47] local.INFO: Extracted packet for processing {"connection_id":162858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:28:47] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95834704,"longitude_deg":76.3276928,"latitude_deg":9.5834704,"altitude":8,"angle":168,"satellites":46,"speed":0,"hex_longitude":"2d7eae80","hex_latitude":"05b65250","is_valid_coordinates":true} 
[2026-08-25 12:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787640869000,"timestamp_ms":1787640869000,"timestamp_seconds":1787640869,"priority":1,"record_length":96,"hex_timestamp":"000001a037b2f088"} 
[2026-08-25 12:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 12:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985408001,"66":2253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:28:47] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:28:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985408001,"power":2253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":162858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:28:47] local.INFO: GPS data processed {"connection_id":162858,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:28:47] local.INFO: Acknowledgment sent {"connection_id":162858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:28:59] local.INFO: TCP Data received {"connection_id":164233,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b41580012d17cbc007213720003c00ca2f..."} 
[2026-08-25 12:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b41580012d17cbc007213720003c00ca2f..."} 
[2026-08-25 12:28:59] local.INFO: Processing buffer {"connection_id":164233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b41580012d17cbc007213720003c00ca2f..."} 
[2026-08-25 12:28:59] local.INFO: Packet analysis {"connection_id":164233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b4"} 
[2026-08-25 12:28:59] local.INFO: Extracted packet for processing {"connection_id":164233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b4"} 
[2026-08-25 12:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":47,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636076288001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787640944000,"timestamp_ms":1787640944000,"timestamp_seconds":1787640944,"priority":1,"record_length":96,"hex_timestamp":"000001a037b41580"} 
[2026-08-25 12: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-25 12:28:59] 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-25 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-25 12:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:59] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2994427905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-25 12:28:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249289681784878880,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:59] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3221692727,"corrected_to":0} 
[2026-08-25 12:28:59] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432749031,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:59] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-25 12:28:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,122,28,24,241,158,16,66,160,113,45,192,55,60,10,31,43,205,1,240,123,33,4,41,203,32,44,239,49,2,56,7,231,54,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0},{"io_id":203,"original":3221692727,"validated":0}]} 
[2026-08-25 12:28:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323677945487949824,"timestamp_seconds":4323677945487950.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12: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-25 12:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636076288001,"66":12558,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636076288001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:28:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:28:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636076288001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":164233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:28:59] local.INFO: GPS data processed {"connection_id":164233,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:28:59] local.INFO: Acknowledgment sent {"connection_id":164233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:29:17] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:29:17] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:29:17] local.INFO: Packet analysis {"connection_id":161862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:29:17] local.INFO: Extracted packet for processing {"connection_id":161862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636040960001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787641086000,"timestamp_ms":1787641086000,"timestamp_seconds":1787641086,"priority":1,"record_length":96,"hex_timestamp":"000001a037b64030"} 
[2026-08-25 12:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:29:17] 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-25 12:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636040960001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636040960001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636040960001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":161862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:29:17] local.INFO: GPS data processed {"connection_id":161862,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:29:17] local.INFO: Acknowledgment sent {"connection_id":161862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:29:18] local.INFO: TCP Data received {"connection_id":162858,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:29:18] local.INFO: Processing buffer {"connection_id":162858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b2f088012d7eae8005b65250000800a82e..."} 
[2026-08-25 12:29:18] local.INFO: Packet analysis {"connection_id":162858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:29:18] local.INFO: Extracted packet for processing {"connection_id":162858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b2"} 
[2026-08-25 12:29:18] local.INFO: GPS Element Parsed {"raw_longitude":763276928,"raw_latitude":95834704,"longitude_deg":76.3276928,"latitude_deg":9.5834704,"altitude":8,"angle":168,"satellites":46,"speed":0,"hex_longitude":"2d7eae80","hex_latitude":"05b65250","is_valid_coordinates":true} 
[2026-08-25 12:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457635985408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123431574766092288,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575446220800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787640869000,"timestamp_ms":1787640869000,"timestamp_seconds":1787640869,"priority":1,"record_length":96,"hex_timestamp":"000001a037b2f088"} 
[2026-08-25 12:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 12:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457635985408001,"66":2253,"223":206,"85":12544,"24":0,"16":123431574766092288,"45":9129007575446220800},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 12:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457635985408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:29:18] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 12:29:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123431574766092288,"km_value":123431574766092.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575446220800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457635985408001,"power":2253,"unknown_223":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9129007575446220800}} 
[2026-08-25 12:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":162858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:29:19] local.INFO: GPS data processed {"connection_id":162858,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:29:19] local.INFO: Acknowledgment sent {"connection_id":162858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:29:26] local.INFO: TCP Data received {"connection_id":161863,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:29:26] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:29:26] local.INFO: IMEI packet received {"connection_id":161863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":161863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:29:31] local.INFO: TCP Data received {"connection_id":161863,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:29:31] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:29:31] local.INFO: IMEI packet received {"connection_id":161863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":161863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:29:32] local.INFO: TCP Data received {"connection_id":161863,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b46788012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b46788012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:29:32] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b46788012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:29:32] local.INFO: Packet analysis {"connection_id":161863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b4"} 
[2026-08-25 12:29:32] local.INFO: Extracted packet for processing {"connection_id":161863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b4"} 
[2026-08-25 12:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636081664001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787640965000,"timestamp_ms":1787640965000,"timestamp_seconds":1787640965,"priority":1,"record_length":96,"hex_timestamp":"000001a037b46788"} 
[2026-08-25 12:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:29:32] 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-25 12:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-25 12:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:32] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2999803905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249289681784878880,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-25 12:29:32] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3221692727,"corrected_to":0} 
[2026-08-25 12:29:32] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:32] local.WARNING: Large IO value detected {"io_id":54,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:32] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:32] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,122,28,24,241,158,16,66,160,195,45,192,55,60,47,10,113,31,1,240,69,33,4,205,123,203,32,44,239,49,2,56,7,231,54,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0},{"io_id":203,"original":3221692727,"validated":0}]} 
[2026-08-25 12:29:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323677945487949824,"timestamp_seconds":4323677945487950.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636081664001,"66":12580,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636081664001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:29:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:29:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636081664001,"power":12580,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":161863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:29:32] local.INFO: GPS data processed {"connection_id":161863,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:29:32] local.INFO: Acknowledgment sent {"connection_id":161863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:29:33] local.INFO: TCP Data received {"connection_id":161863,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b4b990012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b4b990012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:29:33] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b4b990012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:29:33] local.INFO: Packet analysis {"connection_id":161863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b4"} 
[2026-08-25 12:29:33] local.INFO: Extracted packet for processing {"connection_id":161863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b4"} 
[2026-08-25 12:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636087040001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787640986000,"timestamp_ms":1787640986000,"timestamp_seconds":1787640986,"priority":1,"record_length":96,"hex_timestamp":"000001a037b4b990"} 
[2026-08-25 12:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:29:33] 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-25 12:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-25 12:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636087040001,"66":12548,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636087040001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:29:33] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:29:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636087040001,"power":12548,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":161863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:29:34] local.INFO: GPS data processed {"connection_id":161863,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:29:34] local.INFO: Acknowledgment sent {"connection_id":161863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:29:40] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:29:40] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:29:40] local.INFO: IMEI packet received {"connection_id":161864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":161864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:29:43] local.INFO: TCP Data received {"connection_id":164234,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:29:43] local.INFO: Processing buffer {"connection_id":164234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:29:43] local.INFO: IMEI packet received {"connection_id":164234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":164234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:29:43] local.INFO: TCP Data received {"connection_id":164234,"ip":"42.109.136.5","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 12:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164234,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 12:29:43] local.INFO: Processing buffer {"connection_id":164234,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 12:29:43] local.INFO: IMEI packet received {"connection_id":164234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":164234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:29:45] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:29:45] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:29:45] local.INFO: IMEI packet received {"connection_id":161864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":161864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:29:46] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:29:46] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:29:46] local.INFO: Packet analysis {"connection_id":161864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:29:46] local.INFO: Extracted packet for processing {"connection_id":161864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636040960001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641086000,"timestamp_ms":1787641086000,"timestamp_seconds":1787641086,"priority":1,"record_length":96,"hex_timestamp":"000001a037b64030"} 
[2026-08-25 12:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636040960001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636040960001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636040960001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":161864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:29:46] local.INFO: GPS data processed {"connection_id":161864,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:29:46] local.INFO: Acknowledgment sent {"connection_id":161864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:30:05] local.INFO: TCP Data received {"connection_id":161863,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b50b98012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b50b98012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:30:05] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b50b98012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:30:05] local.INFO: Packet analysis {"connection_id":161863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b5"} 
[2026-08-25 12:30:05] local.INFO: Extracted packet for processing {"connection_id":161863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b5"} 
[2026-08-25 12:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636092416001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787641007000,"timestamp_ms":1787641007000,"timestamp_seconds":1787641007,"priority":1,"record_length":96,"hex_timestamp":"000001a037b50b98"} 
[2026-08-25 12: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-25 12:30: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-25 12: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 12:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:05] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3010555905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-25 12:30:05] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3221692727,"corrected_to":0} 
[2026-08-25 12:30:05] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:05] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,122,28,24,241,158,16,66,160,103,45,192,55,60,10,21,47,195,1,240,14,33,4,113,205,31,203,32,43,239,49,2,56,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0},{"io_id":203,"original":3221692727,"validated":0}]} 
[2026-08-25 12:30:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323677928308080640,"timestamp_seconds":4323677928308080.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12: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-25 12:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636092416001,"66":12548,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636092416001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:30:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:30:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636092416001,"power":12548,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":161863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:30:05] local.INFO: GPS data processed {"connection_id":161863,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:30:05] local.INFO: Acknowledgment sent {"connection_id":161863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:30:19] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:30:19] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:30:19] local.INFO: Packet analysis {"connection_id":161864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:30:19] local.INFO: Extracted packet for processing {"connection_id":161864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:30:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636040960001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787641086000,"timestamp_ms":1787641086000,"timestamp_seconds":1787641086,"priority":1,"record_length":96,"hex_timestamp":"000001a037b64030"} 
[2026-08-25 12:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636040960001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636040960001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:30:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:30:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636040960001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":161864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:30:19] local.INFO: GPS data processed {"connection_id":161864,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:30:19] local.INFO: Acknowledgment sent {"connection_id":161864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:30:22] local.INFO: TCP Data received {"connection_id":164235,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:30:22] local.INFO: Processing buffer {"connection_id":164235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:30:22] local.INFO: IMEI packet received {"connection_id":164235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":164235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:30:27] local.INFO: TCP Data received {"connection_id":164235,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:30:27] local.INFO: Processing buffer {"connection_id":164235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:30:27] local.INFO: IMEI packet received {"connection_id":164235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":164235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:30:28] local.INFO: TCP Data received {"connection_id":164235,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b55da0012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b55da0012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:30:28] local.INFO: Processing buffer {"connection_id":164235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b55da0012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:30:28] local.INFO: Packet analysis {"connection_id":164235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b5"} 
[2026-08-25 12:30:28] local.INFO: Extracted packet for processing {"connection_id":164235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b5"} 
[2026-08-25 12:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636097792001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787641028000,"timestamp_ms":1787641028000,"timestamp_seconds":1787641028,"priority":1,"record_length":96,"hex_timestamp":"000001a037b55da0"} 
[2026-08-25 12: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-25 12:30:28] 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-25 12: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 12:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:28] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3015931905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-25 12:30:28] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3221692727,"corrected_to":0} 
[2026-08-25 12:30:28] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:28] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,122,28,24,241,158,16,66,160,185,45,192,55,60,43,10,103,21,1,240,14,33,4,113,205,203,32,239,49,2,56,7,231],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0},{"io_id":203,"original":3221692727,"validated":0}]} 
[2026-08-25 12:30:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323677936898015232,"timestamp_seconds":4323677936898015.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12: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-25 12:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636097792001,"66":12526,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636097792001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:30:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:30:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636097792001,"power":12526,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":164235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:30:28] local.INFO: GPS data processed {"connection_id":164235,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:30:28] local.INFO: Acknowledgment sent {"connection_id":164235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:30:45] local.INFO: TCP Data received {"connection_id":161613,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:30:45] local.INFO: Processing buffer {"connection_id":161613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:30:45] local.INFO: IMEI packet received {"connection_id":161613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":161613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:30:50] local.INFO: TCP Data received {"connection_id":161613,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:30:50] local.INFO: Processing buffer {"connection_id":161613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:30:50] local.INFO: IMEI packet received {"connection_id":161613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":161613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:30:51] local.INFO: TCP Data received {"connection_id":161613,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:30:51] local.INFO: Processing buffer {"connection_id":161613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:30:51] local.INFO: Packet analysis {"connection_id":161613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:30:51] local.INFO: Extracted packet for processing {"connection_id":161613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:30:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636040960001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787641086000,"timestamp_ms":1787641086000,"timestamp_seconds":1787641086,"priority":1,"record_length":96,"hex_timestamp":"000001a037b64030"} 
[2026-08-25 12:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636040960001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636040960001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:30:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:30:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636040960001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":161613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:30:51] local.INFO: GPS data processed {"connection_id":161613,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:30:51] local.INFO: Acknowledgment sent {"connection_id":161613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:30:56] local.INFO: TCP Data received {"connection_id":161613,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:30:56] local.INFO: Processing buffer {"connection_id":161613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:30:56] local.INFO: Packet analysis {"connection_id":161613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:30:56] local.INFO: Extracted packet for processing {"connection_id":161613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:30:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 12:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636040960001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:30: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-25 12:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787641086000,"timestamp_ms":1787641086000,"timestamp_seconds":1787641086,"priority":1,"record_length":96,"hex_timestamp":"000001a037b64030"} 
[2026-08-25 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-25 12:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:30:56] 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-25 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-25 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-25 12:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636040960001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636040960001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:30:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:30:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636040960001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":161613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:30:56] local.INFO: GPS data processed {"connection_id":161613,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:30:56] local.INFO: Acknowledgment sent {"connection_id":161613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:31:00] local.INFO: TCP Data received {"connection_id":164235,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b5afa8012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b5afa8012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:31:00] local.INFO: Processing buffer {"connection_id":164235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b5afa8012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:31:00] local.INFO: Packet analysis {"connection_id":164235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b5"} 
[2026-08-25 12:31:00] local.INFO: Extracted packet for processing {"connection_id":164235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b5"} 
[2026-08-25 12:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 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-25 12:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636103168001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787641049000,"timestamp_ms":1787641049000,"timestamp_seconds":1787641049,"priority":1,"record_length":96,"hex_timestamp":"000001a037b5afa8"} 
[2026-08-25 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-25 12:31:00] 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-25 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 12:31:00] 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-25 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-25 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-25 12:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636103168001,"66":12526,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636103168001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:31:00] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636103168001,"power":12526,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":164235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:31:00] local.INFO: GPS data processed {"connection_id":164235,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:31:00] local.INFO: Acknowledgment sent {"connection_id":164235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:31:22] local.INFO: TCP Data received {"connection_id":161866,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:31:22] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:31:22] local.INFO: IMEI packet received {"connection_id":161866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":161866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:31:26] local.INFO: TCP Data received {"connection_id":161866,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:31:26] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:31:26] local.INFO: IMEI packet received {"connection_id":161866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":161866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:31:28] local.INFO: TCP Data received {"connection_id":161866,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b601b0012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b601b0012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:31:28] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b601b0012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:31:28] local.INFO: Packet analysis {"connection_id":161866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:31:28] local.INFO: Extracted packet for processing {"connection_id":161866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636108544001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787641070000,"timestamp_ms":1787641070000,"timestamp_seconds":1787641070,"priority":1,"record_length":96,"hex_timestamp":"000001a037b601b0"} 
[2026-08-25 12:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:31:28] 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-25 12:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 12:31:28] 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-25 12:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636108544001,"66":12461,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636108544001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:31:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:31:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636108544001,"power":12461,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":161866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:31:28] local.INFO: GPS data processed {"connection_id":161866,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:31:28] local.INFO: Acknowledgment sent {"connection_id":161866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:31:40] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:31:40] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:31:40] local.INFO: IMEI packet received {"connection_id":161867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":161867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:31:45] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:31:45] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:31:45] local.INFO: IMEI packet received {"connection_id":161867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":161867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:31:47] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:31:47] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:31:47] local.INFO: Packet analysis {"connection_id":161867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:31:47] local.INFO: Extracted packet for processing {"connection_id":161867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636040960001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787641086000,"timestamp_ms":1787641086000,"timestamp_seconds":1787641086,"priority":1,"record_length":96,"hex_timestamp":"000001a037b64030"} 
[2026-08-25 12:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636040960001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636040960001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:31:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636040960001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":161867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:31:47] local.INFO: GPS data processed {"connection_id":161867,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:31:47] local.INFO: Acknowledgment sent {"connection_id":161867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:31:59] local.INFO: TCP Data received {"connection_id":161866,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b653b8012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b653b8012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:31:59] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b653b8012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:31:59] local.INFO: Packet analysis {"connection_id":161866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:31:59] local.INFO: Extracted packet for processing {"connection_id":161866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636113920001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787641091000,"timestamp_ms":1787641091000,"timestamp_seconds":1787641091,"priority":1,"record_length":96,"hex_timestamp":"000001a037b653b8"} 
[2026-08-25 12: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-25 12:31:59] 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-25 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-25 12:31:59] 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-25 12: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-25 12: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-25 12:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636113920001,"66":12526,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636113920001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:31:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636113920001,"power":12526,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":161866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:31:59] local.INFO: GPS data processed {"connection_id":161866,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:31:59] local.INFO: Acknowledgment sent {"connection_id":161866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:32:03] local.INFO: TCP Data received {"connection_id":164236,"ip":"85.217.149.15","data_length":8,"data_hex":"3030303030303030..."} 
[2026-08-25 12:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164236,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-08-25 12:32:03] local.INFO: Processing buffer {"connection_id":164236,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-08-25 12:32:18] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:32:18] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:32:18] local.INFO: Packet analysis {"connection_id":161867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:32:18] local.INFO: Extracted packet for processing {"connection_id":161867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636040960001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787641086000,"timestamp_ms":1787641086000,"timestamp_seconds":1787641086,"priority":1,"record_length":96,"hex_timestamp":"000001a037b64030"} 
[2026-08-25 12:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:32:18] 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-25 12:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636040960001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636040960001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:32:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636040960001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":161867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:32:18] local.INFO: GPS data processed {"connection_id":161867,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:32:18] local.INFO: Acknowledgment sent {"connection_id":161867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:32:22] local.INFO: TCP Data received {"connection_id":161614,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:32:22] local.INFO: Processing buffer {"connection_id":161614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:32:22] local.INFO: IMEI packet received {"connection_id":161614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":161614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:32:27] local.INFO: TCP Data received {"connection_id":161614,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:32:27] local.INFO: Processing buffer {"connection_id":161614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:32:27] local.INFO: IMEI packet received {"connection_id":161614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":161614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:32:29] local.INFO: TCP Data received {"connection_id":161614,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b6a5c0012d17cbc007213720003c00ca29..."} 
[2026-08-25 12:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b6a5c0012d17cbc007213720003c00ca29..."} 
[2026-08-25 12:32:29] local.INFO: Processing buffer {"connection_id":161614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b6a5c0012d17cbc007213720003c00ca29..."} 
[2026-08-25 12:32:29] local.INFO: Packet analysis {"connection_id":161614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:32:29] local.INFO: Extracted packet for processing {"connection_id":161614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":41,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636119296001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787641112000,"timestamp_ms":1787641112000,"timestamp_seconds":1787641112,"priority":1,"record_length":96,"hex_timestamp":"000001a037b6a5c0"} 
[2026-08-25 12:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:32:29] 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-25 12:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 12:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636119296001,"66":12461,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636119296001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:32:29] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:32:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636119296001,"power":12461,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":161614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:32:29] local.INFO: GPS data processed {"connection_id":161614,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:32:29] local.INFO: Acknowledgment sent {"connection_id":161614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:32:40] local.INFO: TCP Data received {"connection_id":164237,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:32:40] local.INFO: Processing buffer {"connection_id":164237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:32:40] local.INFO: IMEI packet received {"connection_id":164237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":164237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:32:45] local.INFO: TCP Data received {"connection_id":164237,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:32:45] local.INFO: Processing buffer {"connection_id":164237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:32:45] local.INFO: IMEI packet received {"connection_id":164237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":164237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:32:46] local.INFO: TCP Data received {"connection_id":164237,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:32:46] local.INFO: Processing buffer {"connection_id":164237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:32:46] local.INFO: Packet analysis {"connection_id":164237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:32:46] local.INFO: Extracted packet for processing {"connection_id":164237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636040960001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641086000,"timestamp_ms":1787641086000,"timestamp_seconds":1787641086,"priority":1,"record_length":96,"hex_timestamp":"000001a037b64030"} 
[2026-08-25 12:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636040960001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636040960001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636040960001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":164237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:32:46] local.INFO: GPS data processed {"connection_id":164237,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:32:46] local.INFO: Acknowledgment sent {"connection_id":164237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:33:00] local.INFO: TCP Data received {"connection_id":161614,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b6f7c8012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b6f7c8012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:33:00] local.INFO: Processing buffer {"connection_id":161614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b6f7c8012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:33:00] local.INFO: Packet analysis {"connection_id":161614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:33:00] local.INFO: Extracted packet for processing {"connection_id":161614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636124672001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787641133000,"timestamp_ms":1787641133000,"timestamp_seconds":1787641133,"priority":1,"record_length":96,"hex_timestamp":"000001a037b6f7c8"} 
[2026-08-25 12: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-25 12:33:00] 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-25 12:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-25 12:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636124672001,"66":12504,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636124672001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:33:00] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636124672001,"power":12504,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":161614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:33:00] local.INFO: GPS data processed {"connection_id":161614,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:33:00] local.INFO: Acknowledgment sent {"connection_id":161614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:33:17] local.INFO: TCP Data received {"connection_id":164237,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:33:17] local.INFO: Processing buffer {"connection_id":164237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b64030012d34c14006aa4820000500e62e..."} 
[2026-08-25 12:33:17] local.INFO: Packet analysis {"connection_id":164237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:33:17] local.INFO: Extracted packet for processing {"connection_id":164237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b6"} 
[2026-08-25 12:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636040960001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787641086000,"timestamp_ms":1787641086000,"timestamp_seconds":1787641086,"priority":1,"record_length":96,"hex_timestamp":"000001a037b64030"} 
[2026-08-25 12:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:33:17] 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-25 12:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636040960001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636040960001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636040960001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":164237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:33:17] local.INFO: GPS data processed {"connection_id":164237,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:33:17] local.INFO: Acknowledgment sent {"connection_id":164237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:33:22] local.INFO: TCP Data received {"connection_id":162859,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:33:22] local.INFO: Processing buffer {"connection_id":162859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:33:22] local.INFO: IMEI packet received {"connection_id":162859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":162859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:33:23] local.INFO: TCP Data received {"connection_id":162859,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:33:23] local.INFO: Processing buffer {"connection_id":162859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:33:23] local.INFO: IMEI packet received {"connection_id":162859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":162859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:33:27] local.INFO: TCP Data received {"connection_id":162859,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:33:27] local.INFO: Processing buffer {"connection_id":162859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:33:27] local.INFO: IMEI packet received {"connection_id":162859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":162859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:33:28] local.INFO: TCP Data received {"connection_id":162859,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b749d0012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b749d0012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:33:28] local.INFO: Processing buffer {"connection_id":162859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b749d0012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:33:28] local.INFO: Packet analysis {"connection_id":162859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b7"} 
[2026-08-25 12:33:28] local.INFO: Extracted packet for processing {"connection_id":162859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b7"} 
[2026-08-25 12:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636130048001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787641154000,"timestamp_ms":1787641154000,"timestamp_seconds":1787641154,"priority":1,"record_length":96,"hex_timestamp":"000001a037b749d0"} 
[2026-08-25 12:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:33:28] 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-25 12:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 12:33: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-25 12:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636130048001,"66":12504,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636130048001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:33:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:33:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636130048001,"power":12504,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":162859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:33:28] local.INFO: GPS data processed {"connection_id":162859,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:33:28] local.INFO: Acknowledgment sent {"connection_id":162859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:33:40] local.INFO: TCP Data received {"connection_id":161615,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:33:40] local.INFO: Processing buffer {"connection_id":161615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:33:40] local.INFO: IMEI packet received {"connection_id":161615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":161615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:33:45] local.INFO: TCP Data received {"connection_id":161615,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:33:45] local.INFO: Processing buffer {"connection_id":161615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:33:45] local.INFO: IMEI packet received {"connection_id":161615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":161615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:33:46] local.INFO: TCP Data received {"connection_id":161615,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:33:46] local.INFO: Processing buffer {"connection_id":161615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:33:46] local.INFO: Packet analysis {"connection_id":161615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:33:46] local.INFO: Extracted packet for processing {"connection_id":161615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641387000,"timestamp_ms":1787641387000,"timestamp_seconds":1787641387,"priority":1,"record_length":96,"hex_timestamp":"000001a037bad7f8"} 
[2026-08-25 12:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636118016001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:33:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":161615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:33:46] local.INFO: GPS data processed {"connection_id":161615,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:33:46] local.INFO: Acknowledgment sent {"connection_id":161615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:33:59] local.INFO: TCP Data received {"connection_id":162859,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b79bd8012d17cbc007213720003c00ca29..."} 
[2026-08-25 12:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b79bd8012d17cbc007213720003c00ca29..."} 
[2026-08-25 12:33:59] local.INFO: Processing buffer {"connection_id":162859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b79bd8012d17cbc007213720003c00ca29..."} 
[2026-08-25 12:33:59] local.INFO: Packet analysis {"connection_id":162859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b7"} 
[2026-08-25 12:33:59] local.INFO: Extracted packet for processing {"connection_id":162859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b7"} 
[2026-08-25 12:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":41,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636135424001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787641175000,"timestamp_ms":1787641175000,"timestamp_seconds":1787641175,"priority":1,"record_length":96,"hex_timestamp":"000001a037b79bd8"} 
[2026-08-25 12: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-25 12:33:59] 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-25 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 12:33:59] 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-25 12: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-25 12: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-25 12:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636135424001,"66":12504,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636135424001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:33:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:33:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636135424001,"power":12504,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":162859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:33:59] local.INFO: GPS data processed {"connection_id":162859,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:33:59] local.INFO: Acknowledgment sent {"connection_id":162859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:34:18] local.INFO: TCP Data received {"connection_id":161615,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:34:18] local.INFO: Processing buffer {"connection_id":161615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:34:18] local.INFO: Packet analysis {"connection_id":161615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:34:18] local.INFO: Extracted packet for processing {"connection_id":161615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787641387000,"timestamp_ms":1787641387000,"timestamp_seconds":1787641387,"priority":1,"record_length":96,"hex_timestamp":"000001a037bad7f8"} 
[2026-08-25 12:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636118016001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:34:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":161615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:34:18] local.INFO: GPS data processed {"connection_id":161615,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:34:18] local.INFO: Acknowledgment sent {"connection_id":161615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:34:21] local.INFO: TCP Data received {"connection_id":162861,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:34:21] local.INFO: Processing buffer {"connection_id":162861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:34:21] local.INFO: IMEI packet received {"connection_id":162861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":162861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:34:25] local.INFO: TCP Data received {"connection_id":162861,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:34:25] local.INFO: Processing buffer {"connection_id":162861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:34:25] local.INFO: IMEI packet received {"connection_id":162861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":162861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:34:26] local.INFO: TCP Data received {"connection_id":162861,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:34:26] local.INFO: Processing buffer {"connection_id":162861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:34:26] local.INFO: IMEI packet received {"connection_id":162861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":162861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:34:28] local.INFO: TCP Data received {"connection_id":162861,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b7ede0012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b7ede0012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:34:28] local.INFO: Processing buffer {"connection_id":162861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b7ede0012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:34:28] local.INFO: Packet analysis {"connection_id":162861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b7"} 
[2026-08-25 12:34:28] local.INFO: Extracted packet for processing {"connection_id":162861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b7"} 
[2026-08-25 12:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636140800001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787641196000,"timestamp_ms":1787641196000,"timestamp_seconds":1787641196,"priority":1,"record_length":96,"hex_timestamp":"000001a037b7ede0"} 
[2026-08-25 12: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-25 12:34:28] 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-25 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 12:34: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-25 12: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-25 12: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-25 12:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636140800001,"66":12428,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636140800001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:34:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:34:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636140800001,"power":12428,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":162861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:34:28] local.INFO: GPS data processed {"connection_id":162861,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:34:28] local.INFO: Acknowledgment sent {"connection_id":162861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:34:40] local.INFO: TCP Data received {"connection_id":164239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:34:40] local.INFO: Processing buffer {"connection_id":164239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:34:40] local.INFO: IMEI packet received {"connection_id":164239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":164239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:34:45] local.INFO: TCP Data received {"connection_id":164239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:34:45] local.INFO: Processing buffer {"connection_id":164239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:34:45] local.INFO: IMEI packet received {"connection_id":164239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":164239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:34:45] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:34:45] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:34:45] local.INFO: IMEI packet received {"connection_id":161869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":161869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:34:47] local.INFO: TCP Data received {"connection_id":164239,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:34:47] local.INFO: Processing buffer {"connection_id":164239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:34:47] local.INFO: Packet analysis {"connection_id":164239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:34:47] local.INFO: Extracted packet for processing {"connection_id":164239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787641387000,"timestamp_ms":1787641387000,"timestamp_seconds":1787641387,"priority":1,"record_length":96,"hex_timestamp":"000001a037bad7f8"} 
[2026-08-25 12:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636118016001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":164239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:34:47] local.INFO: GPS data processed {"connection_id":164239,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:34:47] local.INFO: Acknowledgment sent {"connection_id":164239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:34:51] local.INFO: TCP Data received {"connection_id":164239,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:34:51] local.INFO: Processing buffer {"connection_id":164239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:34:51] local.INFO: Packet analysis {"connection_id":164239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:34:51] local.INFO: Extracted packet for processing {"connection_id":164239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787641387000,"timestamp_ms":1787641387000,"timestamp_seconds":1787641387,"priority":1,"record_length":96,"hex_timestamp":"000001a037bad7f8"} 
[2026-08-25 12:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636118016001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:34:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":164239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:34:51] local.INFO: GPS data processed {"connection_id":164239,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:34:51] local.INFO: Acknowledgment sent {"connection_id":164239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:34:57] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.109.136.5","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 12:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 12:34:57] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 12:34:57] local.INFO: IMEI packet received {"connection_id":161869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":161869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:34:59] local.INFO: TCP Data received {"connection_id":162861,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037b83fe8012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037b83fe8012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:34:59] local.INFO: Processing buffer {"connection_id":162861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037b83fe8012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:34:59] local.INFO: Packet analysis {"connection_id":162861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037b8"} 
[2026-08-25 12:34:59] local.INFO: Extracted packet for processing {"connection_id":162861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037b8"} 
[2026-08-25 12:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636146176001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787641217000,"timestamp_ms":1787641217000,"timestamp_seconds":1787641217,"priority":1,"record_length":96,"hex_timestamp":"000001a037b83fe8"} 
[2026-08-25 12: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-25 12:34:59] 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-25 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 12:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636146176001,"66":12461,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636146176001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:34:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636146176001,"power":12461,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":162861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:34:59] local.INFO: GPS data processed {"connection_id":162861,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:34:59] local.INFO: Acknowledgment sent {"connection_id":162861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:35:15] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037bc1c30012d7eaac005b18150000c00b730..."} 
[2026-08-25 12:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bc1c30012d7eaac005b18150000c00b730..."} 
[2026-08-25 12:35:16] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a037..."} 
[2026-08-25 12:35:16] local.INFO: IMEI packet received {"connection_id":161869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":161869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:35:17] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037bc3788012d7ea8c005b15b80000a00b62f..."} 
[2026-08-25 12:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bc3788012d7ea8c005b15b80000a00b62f..."} 
[2026-08-25 12:35:17] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a037bc1c30012d7eaac005b18150000c00b730..."} 
[2026-08-25 12:35:17] local.INFO: Packet analysis {"connection_id":161869,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:35:17] local.INFO: Extracted packet for processing {"connection_id":161869,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:35:17] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95519056,"longitude_deg":76.3275968,"latitude_deg":9.5519056,"altitude":12,"angle":183,"satellites":48,"speed":52,"hex_longitude":"2d7eaac0","hex_latitude":"05b18150","is_valid_coordinates":true} 
[2026-08-25 12:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636214528001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123446903504371712,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128022412949235712,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787641470000,"timestamp_ms":1787641470000,"timestamp_seconds":1787641470,"priority":1,"record_length":96,"hex_timestamp":"000001a037bc1c30"} 
[2026-08-25 12:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 12:35:17] 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-25 12:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636214528001,"66":13526,"58":206,"85":12544,"24":52,"16":123446903504371712,"45":9128022412949235712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-08-25 12:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636214528001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:35:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-25 12:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123446903504371712,"km_value":123446903504371.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128022412949235712,"description":"Unknown IO ID 45"} 
[2026-08-25 12:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636214528001,"power":13526,"unknown_58":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":9128022412949235712}} 
[2026-08-25 12:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":161869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:35:17] local.INFO: GPS data processed {"connection_id":161869,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:35:17] local.INFO: Acknowledgment sent {"connection_id":161869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:35:17] local.INFO: Packet analysis {"connection_id":161869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:35:17] local.INFO: Extracted packet for processing {"connection_id":161869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:35:17] local.INFO: GPS Element Parsed {"raw_longitude":763275456,"raw_latitude":95509376,"longitude_deg":76.3275456,"latitude_deg":9.5509376,"altitude":10,"angle":182,"satellites":47,"speed":56,"hex_longitude":"2d7ea8c0","hex_latitude":"05b15b80","is_valid_coordinates":true} 
[2026-08-25 12:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636216320001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123447371655806976,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318725505142784,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787641477000,"timestamp_ms":1787641477000,"timestamp_seconds":1787641477,"priority":1,"record_length":96,"hex_timestamp":"000001a037bc3788"} 
[2026-08-25 12:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 12:35:17] 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-25 12:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636216320001,"66":13493,"58":206,"85":12544,"24":56,"16":123447371655806976,"45":9127318725505142784},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-08-25 12:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636216320001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:35:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-25 12:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123447371655806976,"km_value":123447371655806.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318725505142784,"description":"Unknown IO ID 45"} 
[2026-08-25 12:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636216320001,"power":13493,"unknown_58":206,"unknown_85":12544,"ignition":56,"odometer":null,"unknown_45":9127318725505142784}} 
[2026-08-25 12:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":161869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:35:17] local.INFO: GPS data processed {"connection_id":161869,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:35:17] local.INFO: Acknowledgment sent {"connection_id":161869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:35:17] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037bc4ef8012d7ea78005b13850000700b52f..."} 
[2026-08-25 12:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bc4ef8012d7ea78005b13850000700b52f..."} 
[2026-08-25 12:35:17] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bc4ef8012d7ea78005b13850000700b52f..."} 
[2026-08-25 12:35:17] local.INFO: Packet analysis {"connection_id":161869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:35:17] local.INFO: Extracted packet for processing {"connection_id":161869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:35:17] local.INFO: GPS Element Parsed {"raw_longitude":763275136,"raw_latitude":95500368,"longitude_deg":76.3275136,"latitude_deg":9.5500368,"altitude":7,"angle":181,"satellites":47,"speed":61,"hex_longitude":"2d7ea780","hex_latitude":"05b13850","is_valid_coordinates":true} 
[2026-08-25 12:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636218112001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123447809742471168,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126755775549243392,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787641483000,"timestamp_ms":1787641483000,"timestamp_seconds":1787641483,"priority":1,"record_length":96,"hex_timestamp":"000001a037bc4ef8"} 
[2026-08-25 12:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 12:35:17] 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-25 12:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636218112001,"66":13243,"58":206,"85":12544,"24":61,"16":123447809742471168,"45":9126755775549243392},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-08-25 12:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636218112001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:35:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-25 12:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123447809742471168,"km_value":123447809742471.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126755775549243392,"description":"Unknown IO ID 45"} 
[2026-08-25 12:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636218112001,"power":13243,"unknown_58":206,"unknown_85":12544,"ignition":61,"odometer":null,"unknown_45":9126755775549243392}} 
[2026-08-25 12:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":161869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:35:18] local.INFO: GPS data processed {"connection_id":161869,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:35:18] local.INFO: Acknowledgment sent {"connection_id":161869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:35:23] local.INFO: TCP Data received {"connection_id":164239,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:35:23] local.INFO: Processing buffer {"connection_id":164239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:35:23] local.INFO: Packet analysis {"connection_id":164239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:35:23] local.INFO: Extracted packet for processing {"connection_id":164239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:35:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787641387000,"timestamp_ms":1787641387000,"timestamp_seconds":1787641387,"priority":1,"record_length":96,"hex_timestamp":"000001a037bad7f8"} 
[2026-08-25 12: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-25 12:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:35: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-25 12: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-25 12: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-25 12:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636118016001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:35:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:35:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":164239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:35:23] local.INFO: GPS data processed {"connection_id":164239,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:35:23] local.INFO: Acknowledgment sent {"connection_id":164239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:35:27] local.INFO: TCP Data received {"connection_id":161616,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:35:27] local.INFO: Processing buffer {"connection_id":161616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:35:27] local.INFO: IMEI packet received {"connection_id":161616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":161616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:35:28] local.INFO: TCP Data received {"connection_id":161616,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:35:28] local.INFO: Processing buffer {"connection_id":161616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:35:28] local.INFO: IMEI packet received {"connection_id":161616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":161616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:35:29] local.INFO: TCP Data received {"connection_id":161616,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037bbc640012d17cbc007213720003c00ca2a..."} 
[2026-08-25 12:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bbc640012d17cbc007213720003c00ca2a..."} 
[2026-08-25 12:35:29] local.INFO: Processing buffer {"connection_id":161616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bbc640012d17cbc007213720003c00ca2a..."} 
[2026-08-25 12:35:29] local.INFO: Packet analysis {"connection_id":161616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bb"} 
[2026-08-25 12:35:29] local.INFO: Extracted packet for processing {"connection_id":161616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bb"} 
[2026-08-25 12:35:29] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":42,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636205312001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787641448000,"timestamp_ms":1787641448000,"timestamp_seconds":1787641448,"priority":1,"record_length":96,"hex_timestamp":"000001a037bbc640"} 
[2026-08-25 12:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-25 12:35:29] 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-25 12:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636205312001,"66":12428,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636205312001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:35:29] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:35:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636205312001,"power":12428,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":161616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:35:29] local.INFO: GPS data processed {"connection_id":161616,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:35:29] local.INFO: Acknowledgment sent {"connection_id":161616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:35:32] local.INFO: TCP Data received {"connection_id":161616,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037bc1848012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bc1848012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:35:32] local.INFO: Processing buffer {"connection_id":161616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bc1848012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:35:32] local.INFO: Packet analysis {"connection_id":161616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:35:32] local.INFO: Extracted packet for processing {"connection_id":161616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636210688001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787641469000,"timestamp_ms":1787641469000,"timestamp_seconds":1787641469,"priority":1,"record_length":96,"hex_timestamp":"000001a037bc1848"} 
[2026-08-25 12:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:35:32] 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-25 12:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 12:35:32] 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-25 12:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636210688001,"66":12363,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636210688001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:35:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:35:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636210688001,"power":12363,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":161616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:35:32] local.INFO: GPS data processed {"connection_id":161616,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:35:32] local.INFO: Acknowledgment sent {"connection_id":161616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:35:39] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:35:39] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:35:39] local.INFO: IMEI packet received {"connection_id":161871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":161871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:35:40] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:35:40] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:35:40] local.INFO: IMEI packet received {"connection_id":161870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":161870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:35:41] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:35:41] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:35:41] local.INFO: IMEI packet received {"connection_id":161871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":161871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:35:45] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:35:45] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:35:45] local.INFO: IMEI packet received {"connection_id":161870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":161870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:35:45] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:35:45] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:35:45] local.INFO: IMEI packet received {"connection_id":161871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":161871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:35:46] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037bc6668012d7ea6c005b113b0000600b52f..."} 
[2026-08-25 12:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bc6668012d7ea6c005b113b0000600b52f..."} 
[2026-08-25 12:35:46] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bc6668012d7ea6c005b113b0000600b52f..."} 
[2026-08-25 12:35:46] local.INFO: Packet analysis {"connection_id":161871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:35:46] local.INFO: Extracted packet for processing {"connection_id":161871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:35:46] local.INFO: GPS Element Parsed {"raw_longitude":763274944,"raw_latitude":95490992,"longitude_deg":76.3274944,"latitude_deg":9.5490992,"altitude":6,"angle":181,"satellites":47,"speed":62,"hex_longitude":"2d7ea6c0","hex_latitude":"05b113b0","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636219648001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123448265009004544,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126403931826049024,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641489000,"timestamp_ms":1787641489000,"timestamp_seconds":1787641489,"priority":1,"record_length":96,"hex_timestamp":"000001a037bc6668"} 
[2026-08-25 12: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-25 12:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 12:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636219648001,"66":13298,"58":206,"85":12544,"24":62,"16":123448265009004544,"45":9126403931826049024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-08-25 12:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636219648001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:35:46] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-25 12:35:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123448265009004544,"km_value":123448265009004.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126403931826049024,"description":"Unknown IO ID 45"} 
[2026-08-25 12:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636219648001,"power":13298,"unknown_58":206,"unknown_85":12544,"ignition":62,"odometer":null,"unknown_45":9126403931826049024}} 
[2026-08-25 12:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":161871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:35:46] local.INFO: GPS data processed {"connection_id":161871,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:35:46] local.INFO: Acknowledgment sent {"connection_id":161871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:35:46] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:35:46] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:35:46] local.INFO: Packet analysis {"connection_id":161870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:35:46] local.INFO: Extracted packet for processing {"connection_id":161870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641387000,"timestamp_ms":1787641387000,"timestamp_seconds":1787641387,"priority":1,"record_length":96,"hex_timestamp":"000001a037bad7f8"} 
[2026-08-25 12: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-25 12:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636118016001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":161870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:35:46] local.INFO: GPS data processed {"connection_id":161870,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:35:46] local.INFO: Acknowledgment sent {"connection_id":161870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:36:04] local.INFO: TCP Data received {"connection_id":161616,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037bc6a50012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bc6a50012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:36:04] local.INFO: Processing buffer {"connection_id":161616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bc6a50012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:36:04] local.INFO: Packet analysis {"connection_id":161616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:36:04] local.INFO: Extracted packet for processing {"connection_id":161616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636216064001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787641490000,"timestamp_ms":1787641490000,"timestamp_seconds":1787641490,"priority":1,"record_length":96,"hex_timestamp":"000001a037bc6a50"} 
[2026-08-25 12: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-25 12:36: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-25 12: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 12:36:04] 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-25 12: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-25 12: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-25 12:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636216064001,"66":12428,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636216064001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:36:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:36:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636216064001,"power":12428,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":161616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:36:04] local.INFO: GPS data processed {"connection_id":161616,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:36:04] local.INFO: Acknowledgment sent {"connection_id":161616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:36:17] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037bd8390012d7e9e0005af4f38000b00b12f..."} 
[2026-08-25 12:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bd8390012d7e9e0005af4f38000b00b12f..."} 
[2026-08-25 12:36:17] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bd8390012d7e9e0005af4f38000b00b12f..."} 
[2026-08-25 12:36:17] local.INFO: Packet analysis {"connection_id":161871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:36:17] local.INFO: Extracted packet for processing {"connection_id":161871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:36:17] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":95375160,"longitude_deg":76.3272704,"latitude_deg":9.537516,"altitude":11,"angle":177,"satellites":47,"speed":61,"hex_longitude":"2d7e9e00","hex_latitude":"05af4f38","is_valid_coordinates":true} 
[2026-08-25 12:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636238080001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123453882826227712,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123307707052759040,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787641562000,"timestamp_ms":1787641562000,"timestamp_seconds":1787641562,"priority":1,"record_length":96,"hex_timestamp":"000001a037bd8390"} 
[2026-08-25 12:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 12:36:17] 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-25 12:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636238080001,"66":13189,"27":206,"85":12544,"24":61,"16":123453882826227712,"45":9123307707052759040},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-25 12:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636238080001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:36:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-25 12:36:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123453882826227712,"km_value":123453882826227.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123307707052759040,"description":"Unknown IO ID 45"} 
[2026-08-25 12:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636238080001,"power":13189,"unknown_27":206,"unknown_85":12544,"ignition":61,"odometer":null,"unknown_45":9123307707052759040}} 
[2026-08-25 12:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":161871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:36:17] local.INFO: GPS data processed {"connection_id":161871,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:36:17] local.INFO: Acknowledgment sent {"connection_id":161871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:36:18] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:36:18] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:36:18] local.INFO: Packet analysis {"connection_id":161870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:36:18] local.INFO: Extracted packet for processing {"connection_id":161870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787641387000,"timestamp_ms":1787641387000,"timestamp_seconds":1787641387,"priority":1,"record_length":96,"hex_timestamp":"000001a037bad7f8"} 
[2026-08-25 12:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636118016001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:36:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":161870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:36:18] local.INFO: GPS data processed {"connection_id":161870,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:36:18] local.INFO: Acknowledgment sent {"connection_id":161870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:36:22] local.INFO: TCP Data received {"connection_id":162862,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:36:22] local.INFO: Processing buffer {"connection_id":162862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:36:22] local.INFO: IMEI packet received {"connection_id":162862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":162862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:36:26] local.INFO: TCP Data received {"connection_id":162862,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:36:26] local.INFO: Processing buffer {"connection_id":162862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:36:26] local.INFO: IMEI packet received {"connection_id":162862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":162862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:36:28] local.INFO: TCP Data received {"connection_id":162862,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037bcbc58012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bcbc58012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:36:28] local.INFO: Processing buffer {"connection_id":162862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bcbc58012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:36:28] local.INFO: Packet analysis {"connection_id":162862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:36:28] local.INFO: Extracted packet for processing {"connection_id":162862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bc"} 
[2026-08-25 12:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636221440001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787641511000,"timestamp_ms":1787641511000,"timestamp_seconds":1787641511,"priority":1,"record_length":96,"hex_timestamp":"000001a037bcbc58"} 
[2026-08-25 12:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:36:28] 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-25 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 12:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636221440001,"66":12406,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636221440001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:36:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:36:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636221440001,"power":12406,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":162862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:36:28] local.INFO: GPS data processed {"connection_id":162862,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:36:28] local.INFO: Acknowledgment sent {"connection_id":162862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:36:40] local.INFO: TCP Data received {"connection_id":161617,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:36:40] local.INFO: Processing buffer {"connection_id":161617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:36:40] local.INFO: IMEI packet received {"connection_id":161617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":161617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:36:40] local.INFO: TCP Data received {"connection_id":164240,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:36:40] local.INFO: Processing buffer {"connection_id":164240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:36:40] local.INFO: IMEI packet received {"connection_id":164240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":164240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:36:41] local.INFO: TCP Data received {"connection_id":161617,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:36:41] local.INFO: Processing buffer {"connection_id":161617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:36:41] local.INFO: IMEI packet received {"connection_id":161617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":161617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:36:45] local.INFO: TCP Data received {"connection_id":164240,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:36:45] local.INFO: Processing buffer {"connection_id":164240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:36:45] local.INFO: IMEI packet received {"connection_id":164240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":164240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:36:46] local.INFO: TCP Data received {"connection_id":161617,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:36:46] local.INFO: Processing buffer {"connection_id":161617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:36:46] local.INFO: IMEI packet received {"connection_id":161617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":161617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:36:46] local.INFO: TCP Data received {"connection_id":164240,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:36:46] local.INFO: Processing buffer {"connection_id":164240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:36:46] local.INFO: Packet analysis {"connection_id":164240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:36:46] local.INFO: Extracted packet for processing {"connection_id":164240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641387000,"timestamp_ms":1787641387000,"timestamp_seconds":1787641387,"priority":1,"record_length":96,"hex_timestamp":"000001a037bad7f8"} 
[2026-08-25 12:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636118016001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":164240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:36:46] local.INFO: GPS data processed {"connection_id":164240,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:36:46] local.INFO: Acknowledgment sent {"connection_id":164240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:36:47] local.INFO: TCP Data received {"connection_id":161617,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037bd9b00012d7e9f8005af2948000800b22d..."} 
[2026-08-25 12:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bd9b00012d7e9f8005af2948000800b22d..."} 
[2026-08-25 12:36:47] local.INFO: Processing buffer {"connection_id":161617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bd9b00012d7e9f8005af2948000800b22d..."} 
[2026-08-25 12:36:47] local.INFO: Packet analysis {"connection_id":161617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:36:47] local.INFO: Extracted packet for processing {"connection_id":161617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:36:47] local.INFO: GPS Element Parsed {"raw_longitude":763273088,"raw_latitude":95365448,"longitude_deg":76.3273088,"latitude_deg":9.5365448,"altitude":8,"angle":178,"satellites":45,"speed":66,"hex_longitude":"2d7e9f80","hex_latitude":"05af2948","is_valid_coordinates":true} 
[2026-08-25 12:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636239872001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123454355272630272,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729919515244544,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787641568000,"timestamp_ms":1787641568000,"timestamp_seconds":1787641568,"priority":1,"record_length":96,"hex_timestamp":"000001a037bd9b00"} 
[2026-08-25 12:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 12:36:47] 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-25 12:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636239872001,"66":13559,"27":206,"85":12544,"24":66,"16":123454355272630272,"45":9123729919515244544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-25 12:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636239872001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:36:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-25 12:36:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123454355272630272,"km_value":123454355272630.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729919515244544,"description":"Unknown IO ID 45"} 
[2026-08-25 12:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636239872001,"power":13559,"unknown_27":206,"unknown_85":12544,"ignition":66,"odometer":null,"unknown_45":9123729919515244544}} 
[2026-08-25 12:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":161617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:36:47] local.INFO: GPS data processed {"connection_id":161617,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:36:47] local.INFO: Acknowledgment sent {"connection_id":161617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:36:59] local.INFO: TCP Data received {"connection_id":162862,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037bd0e60012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bd0e60012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:36:59] local.INFO: Processing buffer {"connection_id":162862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bd0e60012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:36:59] local.INFO: Packet analysis {"connection_id":162862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:36:59] local.INFO: Extracted packet for processing {"connection_id":162862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636226816001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787641532000,"timestamp_ms":1787641532000,"timestamp_seconds":1787641532,"priority":1,"record_length":96,"hex_timestamp":"000001a037bd0e60"} 
[2026-08-25 12:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:36:59] 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-25 12:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 12:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636226816001,"66":12385,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636226816001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:36:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636226816001,"power":12385,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":162862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:36:59] local.INFO: GPS data processed {"connection_id":162862,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:36:59] local.INFO: Acknowledgment sent {"connection_id":162862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:37:18] local.INFO: TCP Data received {"connection_id":164240,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:37:18] local.INFO: Processing buffer {"connection_id":164240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:37:18] local.INFO: Packet analysis {"connection_id":164240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:37:18] local.INFO: Extracted packet for processing {"connection_id":164240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:37:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787641387000,"timestamp_ms":1787641387000,"timestamp_seconds":1787641387,"priority":1,"record_length":96,"hex_timestamp":"000001a037bad7f8"} 
[2026-08-25 12: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-25 12:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12: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-25 12: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-25 12:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636118016001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:37:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:37:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":164240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:37:18] local.INFO: GPS data processed {"connection_id":164240,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:37:18] local.INFO: Acknowledgment sent {"connection_id":164240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:37:18] local.INFO: TCP Data received {"connection_id":161617,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037bdb270012d7ea10005af02d8000700b12e..."} 
[2026-08-25 12:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bdb270012d7ea10005af02d8000700b12e..."} 
[2026-08-25 12:37:18] local.INFO: Processing buffer {"connection_id":161617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bdb270012d7ea10005af02d8000700b12e..."} 
[2026-08-25 12:37:18] local.INFO: Packet analysis {"connection_id":161617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:37:18] local.INFO: Extracted packet for processing {"connection_id":161617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:37:18] local.INFO: GPS Element Parsed {"raw_longitude":763273472,"raw_latitude":95355608,"longitude_deg":76.3273472,"latitude_deg":9.5355608,"altitude":7,"angle":177,"satellites":46,"speed":62,"hex_longitude":"2d7ea100","hex_latitude":"05af02d8","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636241408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123454832014000128,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124152131977824256,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787641574000,"timestamp_ms":1787641574000,"timestamp_seconds":1787641574,"priority":1,"record_length":96,"hex_timestamp":"000001a037bdb270"} 
[2026-08-25 12: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-25 12:37: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-25 12: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 12:37: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-25 12: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-25 12: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-25 12:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636241408001,"66":13493,"27":206,"85":12544,"24":62,"16":123454832014000128,"45":9124152131977824256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-25 12:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636241408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:37:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-25 12:37:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123454832014000128,"km_value":123454832014000.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124152131977824256,"description":"Unknown IO ID 45"} 
[2026-08-25 12:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636241408001,"power":13493,"unknown_27":206,"unknown_85":12544,"ignition":62,"odometer":null,"unknown_45":9124152131977824256}} 
[2026-08-25 12:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":161617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:37:18] local.INFO: GPS data processed {"connection_id":161617,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:37:18] local.INFO: Acknowledgment sent {"connection_id":161617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:37:22] local.INFO: TCP Data received {"connection_id":161618,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:37:22] local.INFO: Processing buffer {"connection_id":161618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:37:22] local.INFO: IMEI packet received {"connection_id":161618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":161618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:37:27] local.INFO: TCP Data received {"connection_id":161618,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:37:27] local.INFO: Processing buffer {"connection_id":161618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:37:27] local.INFO: IMEI packet received {"connection_id":161618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":161618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:37:28] local.INFO: TCP Data received {"connection_id":161618,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037bd6068012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bd6068012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:37:28] local.INFO: Processing buffer {"connection_id":161618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bd6068012d17cbc007213720003c00ca2e..."} 
[2026-08-25 12:37:28] local.INFO: Packet analysis {"connection_id":161618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:37:28] local.INFO: Extracted packet for processing {"connection_id":161618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":46,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636232192001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787641553000,"timestamp_ms":1787641553000,"timestamp_seconds":1787641553,"priority":1,"record_length":96,"hex_timestamp":"000001a037bd6068"} 
[2026-08-25 12: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-25 12:37:28] 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-25 12:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 12:37:28] 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-25 12: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-25 12: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-25 12:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636232192001,"66":12385,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636232192001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:37:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:37:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636232192001,"power":12385,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":161618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:37:28] local.INFO: GPS data processed {"connection_id":161618,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:37:28] local.INFO: Acknowledgment sent {"connection_id":161618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:37:40] local.INFO: TCP Data received {"connection_id":164241,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:37:40] local.INFO: Processing buffer {"connection_id":164241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:37:40] local.INFO: IMEI packet received {"connection_id":164241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":164241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:37:41] local.INFO: TCP Data received {"connection_id":162863,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:37:41] local.INFO: Processing buffer {"connection_id":162863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:37:41] local.INFO: IMEI packet received {"connection_id":162863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":162863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:37:42] local.INFO: TCP Data received {"connection_id":162863,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:37:42] local.INFO: Processing buffer {"connection_id":162863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:37:42] local.INFO: IMEI packet received {"connection_id":162863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":162863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:37:45] local.INFO: TCP Data received {"connection_id":164241,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:37:45] local.INFO: Processing buffer {"connection_id":164241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:37:45] local.INFO: IMEI packet received {"connection_id":164241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":164241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:37:46] local.INFO: TCP Data received {"connection_id":162863,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:37:46] local.INFO: Processing buffer {"connection_id":162863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:37:46] local.INFO: IMEI packet received {"connection_id":162863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":162863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:37:46] local.INFO: TCP Data received {"connection_id":164241,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:37:46] local.INFO: Processing buffer {"connection_id":164241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:37:46] local.INFO: Packet analysis {"connection_id":164241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:37:46] local.INFO: Extracted packet for processing {"connection_id":164241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641387000,"timestamp_ms":1787641387000,"timestamp_seconds":1787641387,"priority":1,"record_length":96,"hex_timestamp":"000001a037bad7f8"} 
[2026-08-25 12:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636118016001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:37:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":164241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:37:46] local.INFO: GPS data processed {"connection_id":164241,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:37:46] local.INFO: Acknowledgment sent {"connection_id":164241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:37:59] local.INFO: TCP Data received {"connection_id":162863,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037bdc9e0012d7ea28005aedf28000700b22e..."} 
[2026-08-25 12:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bdc9e0012d7ea28005aedf28000700b22e..."} 
[2026-08-25 12:37:59] local.INFO: Processing buffer {"connection_id":162863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bdc9e0012d7ea28005aedf28000700b22e..."} 
[2026-08-25 12:37:59] local.INFO: Packet analysis {"connection_id":162863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:37:59] local.INFO: Extracted packet for processing {"connection_id":162863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763273856,"raw_latitude":95346472,"longitude_deg":76.3273856,"latitude_deg":9.5346472,"altitude":7,"angle":178,"satellites":46,"speed":60,"hex_longitude":"2d7ea280","hex_latitude":"05aedf28","is_valid_coordinates":true} 
[2026-08-25 12:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636242944001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123455274395631616,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124574344440371200,"note":"Value kept but may cause issues"} 
[2026-08-25 12:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787641580000,"timestamp_ms":1787641580000,"timestamp_seconds":1787641580,"priority":1,"record_length":96,"hex_timestamp":"000001a037bdc9e0"} 
[2026-08-25 12:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 12:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636242944001,"66":13526,"27":206,"85":12544,"24":60,"16":123455274395631616,"45":9124574344440371200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-25 12:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636242944001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:37:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-25 12:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123455274395631616,"km_value":123455274395631.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124574344440371200,"description":"Unknown IO ID 45"} 
[2026-08-25 12:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636242944001,"power":13526,"unknown_27":206,"unknown_85":12544,"ignition":60,"odometer":null,"unknown_45":9124574344440371200}} 
[2026-08-25 12:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":162863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:37:59] local.INFO: GPS data processed {"connection_id":162863,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:37:59] local.INFO: Acknowledgment sent {"connection_id":162863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:38:00] local.INFO: TCP Data received {"connection_id":161618,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037bdb270012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bdb270012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:38:00] local.INFO: Processing buffer {"connection_id":161618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bdb270012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:38:00] local.INFO: Packet analysis {"connection_id":161618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:38:00] local.INFO: Extracted packet for processing {"connection_id":161618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bd"} 
[2026-08-25 12:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636237568001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787641574000,"timestamp_ms":1787641574000,"timestamp_seconds":1787641574,"priority":1,"record_length":96,"hex_timestamp":"000001a037bdb270"} 
[2026-08-25 12: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-25 12:38:00] 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-25 12: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 12:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636237568001,"66":12319,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636237568001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:38:00] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:38:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636237568001,"power":12319,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":161618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:38:00] local.INFO: GPS data processed {"connection_id":161618,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:38:00] local.INFO: Acknowledgment sent {"connection_id":161618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:38:17] local.INFO: TCP Data received {"connection_id":164241,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:38:17] local.INFO: Processing buffer {"connection_id":164241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:38:17] local.INFO: Packet analysis {"connection_id":164241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:38:17] local.INFO: Extracted packet for processing {"connection_id":164241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787641387000,"timestamp_ms":1787641387000,"timestamp_seconds":1787641387,"priority":1,"record_length":96,"hex_timestamp":"000001a037bad7f8"} 
[2026-08-25 12:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636118016001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":164241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:38:17] local.INFO: GPS data processed {"connection_id":164241,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:38:17] local.INFO: Acknowledgment sent {"connection_id":164241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:38:22] local.INFO: TCP Data received {"connection_id":162864,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:38:22] local.INFO: Processing buffer {"connection_id":162864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:38:22] local.INFO: IMEI packet received {"connection_id":162864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":162864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:38:27] local.INFO: TCP Data received {"connection_id":162864,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:38:27] local.INFO: Processing buffer {"connection_id":162864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:38:27] local.INFO: IMEI packet received {"connection_id":162864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":162864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:38:28] local.INFO: TCP Data received {"connection_id":162864,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037be0478012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037be0478012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:38:28] local.INFO: Processing buffer {"connection_id":162864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037be0478012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:38:28] local.INFO: Packet analysis {"connection_id":162864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037be"} 
[2026-08-25 12:38:28] local.INFO: Extracted packet for processing {"connection_id":162864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037be"} 
[2026-08-25 12:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636242944001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787641595000,"timestamp_ms":1787641595000,"timestamp_seconds":1787641595,"priority":1,"record_length":96,"hex_timestamp":"000001a037be0478"} 
[2026-08-25 12:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:38:28] 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-25 12:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 12:38:28] 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-25 12:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636242944001,"66":12385,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636242944001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:38:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:38:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636242944001,"power":12385,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":162864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:38:28] local.INFO: GPS data processed {"connection_id":162864,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:38:28] local.INFO: Acknowledgment sent {"connection_id":162864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:38:40] local.INFO: TCP Data received {"connection_id":161619,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:38:40] local.INFO: Processing buffer {"connection_id":161619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:38:40] local.INFO: IMEI packet received {"connection_id":161619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":161619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:38:45] local.INFO: TCP Data received {"connection_id":161619,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:38:45] local.INFO: Processing buffer {"connection_id":161619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:38:45] local.INFO: IMEI packet received {"connection_id":161619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":161619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:38:46] local.INFO: TCP Data received {"connection_id":161620,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:38:46] local.INFO: Processing buffer {"connection_id":161620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:38:46] local.INFO: IMEI packet received {"connection_id":161620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":161620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:38:46] local.INFO: TCP Data received {"connection_id":161619,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:38:46] local.INFO: Processing buffer {"connection_id":161619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bad7f8012d34c14006aa4820000600e62e..."} 
[2026-08-25 12:38:46] local.INFO: Packet analysis {"connection_id":161619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:38:46] local.INFO: Extracted packet for processing {"connection_id":161619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ba"} 
[2026-08-25 12:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641387000,"timestamp_ms":1787641387000,"timestamp_seconds":1787641387,"priority":1,"record_length":96,"hex_timestamp":"000001a037bad7f8"} 
[2026-08-25 12:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 12:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636118016001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:38:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636118016001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":161619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:38:46] local.INFO: GPS data processed {"connection_id":161619,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:38:46] local.INFO: Acknowledgment sent {"connection_id":161619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:38:51] local.INFO: TCP Data received {"connection_id":161620,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:38:51] local.INFO: Processing buffer {"connection_id":161620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:38:51] local.INFO: IMEI packet received {"connection_id":161620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":161620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:38:54] local.INFO: TCP Data received {"connection_id":161620,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf0260012d7eae0005ad4d88000400b230..."} 
[2026-08-25 12:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf0260012d7eae0005ad4d88000400b230..."} 
[2026-08-25 12:38:54] local.INFO: Processing buffer {"connection_id":161620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf0260012d7eae0005ad4d88000400b230..."} 
[2026-08-25 12:38:54] local.INFO: Packet analysis {"connection_id":161620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:38:54] local.INFO: Extracted packet for processing {"connection_id":161620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763276800,"raw_latitude":95243656,"longitude_deg":76.32768,"latitude_deg":9.5243656,"altitude":4,"angle":178,"satellites":48,"speed":32,"hex_longitude":"2d7eae00","hex_latitude":"05ad4d88","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636262144001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123460265147629568,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318725436997632,"note":"Value kept but may cause issues"} 
[2026-08-25 12:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787641660000,"timestamp_ms":1787641660000,"timestamp_seconds":1787641660,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf0260"} 
[2026-08-25 12: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-25 12:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 12:38:54] 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-25 12: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-25 12: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-25 12:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636262144001,"66":13319,"29":206,"85":12544,"24":32,"16":123460265147629568,"45":9127318725436997632},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-25 12:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636262144001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:38:54] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-25 12:38:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123460265147629568,"km_value":123460265147629.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318725436997632,"description":"Unknown IO ID 45"} 
[2026-08-25 12:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636262144001,"power":13319,"unknown_29":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9127318725436997632}} 
[2026-08-25 12:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":161620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:38:54] local.INFO: GPS data processed {"connection_id":161620,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:38:54] local.INFO: Acknowledgment sent {"connection_id":161620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:38:59] local.INFO: TCP Data received {"connection_id":162864,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037be5680012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037be5680012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:39:00] local.INFO: Processing buffer {"connection_id":162864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037be5680012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:39:00] local.INFO: Packet analysis {"connection_id":162864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037be"} 
[2026-08-25 12:39:00] local.INFO: Extracted packet for processing {"connection_id":162864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037be"} 
[2026-08-25 12:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 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-25 12:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636248320001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787641616000,"timestamp_ms":1787641616000,"timestamp_seconds":1787641616,"priority":1,"record_length":96,"hex_timestamp":"000001a037be5680"} 
[2026-08-25 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-25 12:39:00] 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-25 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 12:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 12:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636248320001,"66":12385,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636248320001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:39:00] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:39:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636248320001,"power":12385,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":162864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:39:00] local.INFO: GPS data processed {"connection_id":162864,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:39:00] local.INFO: Acknowledgment sent {"connection_id":162864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:39:18] local.INFO: TCP Data received {"connection_id":161619,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:39:18] local.INFO: Processing buffer {"connection_id":161619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:39:18] local.INFO: Packet analysis {"connection_id":161619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:39:18] local.INFO: Extracted packet for processing {"connection_id":161619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636195072001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787641688000,"timestamp_ms":1787641688000,"timestamp_seconds":1787641688,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf6fc0"} 
[2026-08-25 12:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 12:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636195072001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636195072001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:39:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636195072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":161619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:39:18] local.INFO: GPS data processed {"connection_id":161619,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:39:18] local.INFO: Acknowledgment sent {"connection_id":161619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:39:21] local.INFO: TCP Data received {"connection_id":161872,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:39:21] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:39:21] local.INFO: IMEI packet received {"connection_id":161872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":161872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:39:25] local.INFO: TCP Data received {"connection_id":161620,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf3cf8012d7eb04005ad2a58000500b02f..."} 
[2026-08-25 12:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf3cf8012d7eb04005ad2a58000500b02f..."} 
[2026-08-25 12:39:25] local.INFO: Processing buffer {"connection_id":161620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf3cf8012d7eb04005ad2a58000500b02f..."} 
[2026-08-25 12:39:25] local.INFO: Packet analysis {"connection_id":161620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:39:25] local.INFO: Extracted packet for processing {"connection_id":161620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:39:25] local.INFO: GPS Element Parsed {"raw_longitude":763277376,"raw_latitude":95234648,"longitude_deg":76.3277376,"latitude_deg":9.5234648,"altitude":5,"angle":176,"satellites":47,"speed":12,"hex_longitude":"2d7eb040","hex_latitude":"05ad2a58","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636264960001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123460703234293760,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128233519108950016,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787641675000,"timestamp_ms":1787641675000,"timestamp_seconds":1787641675,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf3cf8"} 
[2026-08-25 12: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-25 12:39: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-25 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 12:39:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57888312258352433,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3196155905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3748134920,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2837250254,"corrected_to":0} 
[2026-08-25 12:39:25] local.WARNING: Large IO value detected {"io_id":167,"raw_value":3221597700,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827497,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2623799296,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2921994240,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2855283458662973445,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.WARNING: Large IO value detected {"io_id":174,"raw_value":5588967163348201472,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:25] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,29,85,24,241,157,16,158,160,215,45,192,113,4,49,10,66,184,64,148,6,156,1,240,7,227,55,173,205,50,94,167,104,239,52,2,182,5,8,59,190,174],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2837250254,"validated":0}]} 
[2026-08-25 12:39:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288426295381983232,"timestamp_seconds":288426295381983.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12: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-25 12:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636264960001,"66":13374,"28":206,"85":12544,"24":12,"16":123460703234293760,"45":9128233519108950016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-08-25 12:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636264960001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:39:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-25 12:39:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 12:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123460703234293760,"km_value":123460703234293.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128233519108950016,"description":"Unknown IO ID 45"} 
[2026-08-25 12:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636264960001,"power":13374,"unknown_28":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9128233519108950016}} 
[2026-08-25 12:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":161620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:39:25] local.INFO: GPS data processed {"connection_id":161620,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:39:25] local.INFO: Acknowledgment sent {"connection_id":161620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:39:27] local.INFO: TCP Data received {"connection_id":161872,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:39:27] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:39:27] local.INFO: IMEI packet received {"connection_id":161872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":161872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:39:28] local.INFO: TCP Data received {"connection_id":161872,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037bea888012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bea888012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:39:28] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bea888012d17cbc007213720003c00ca2b..."} 
[2026-08-25 12:39:28] local.INFO: Packet analysis {"connection_id":161872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037be"} 
[2026-08-25 12:39:28] local.INFO: Extracted packet for processing {"connection_id":161872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037be"} 
[2026-08-25 12:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":43,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636253696001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787641637000,"timestamp_ms":1787641637000,"timestamp_seconds":1787641637,"priority":1,"record_length":96,"hex_timestamp":"000001a037bea888"} 
[2026-08-25 12:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:39:28] 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-25 12:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 12:39:28] 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-25 12:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636253696001,"66":12363,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636253696001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:39:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:39:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636253696001,"power":12363,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":161872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:39:28] local.INFO: GPS data processed {"connection_id":161872,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:39:28] local.INFO: Acknowledgment sent {"connection_id":161872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:39:40] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:39:40] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:39:40] local.INFO: IMEI packet received {"connection_id":161873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":161873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:39:41] local.INFO: TCP Data received {"connection_id":162865,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:39:41] local.INFO: Processing buffer {"connection_id":162865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:39:41] local.INFO: IMEI packet received {"connection_id":162865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":162865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:39:45] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:39:45] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:39:45] local.INFO: IMEI packet received {"connection_id":161873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":161873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:39:46] local.INFO: TCP Data received {"connection_id":162865,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:39:46] local.INFO: Processing buffer {"connection_id":162865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:39:46] local.INFO: IMEI packet received {"connection_id":162865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":162865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:39:46] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:39:46] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:39:46] local.INFO: Packet analysis {"connection_id":161873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:39:46] local.INFO: Extracted packet for processing {"connection_id":161873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636195072001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641688000,"timestamp_ms":1787641688000,"timestamp_seconds":1787641688,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf6fc0"} 
[2026-08-25 12:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 12:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636195072001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636195072001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636195072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":161873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:39:46] local.INFO: GPS data processed {"connection_id":161873,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:39:46] local.INFO: Acknowledgment sent {"connection_id":161873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:39:47] local.INFO: TCP Data received {"connection_id":162865,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf8348012d7eb2c005ad07d0000700b42c..."} 
[2026-08-25 12:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf8348012d7eb2c005ad07d0000700b42c..."} 
[2026-08-25 12:39:47] local.INFO: Processing buffer {"connection_id":162865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf8348012d7eb2c005ad07d0000700b42c..."} 
[2026-08-25 12:39:47] local.INFO: Packet analysis {"connection_id":162865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:39:47] local.INFO: Extracted packet for processing {"connection_id":162865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:39:47] local.INFO: GPS Element Parsed {"raw_longitude":763278016,"raw_latitude":95225808,"longitude_deg":76.3278016,"latitude_deg":9.5225808,"altitude":7,"angle":180,"satellites":44,"speed":13,"hex_longitude":"2d7eb2c0","hex_latitude":"05ad07d0","is_valid_coordinates":true} 
[2026-08-25 12:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636268800001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123461132731023360,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128866837804242944,"note":"Value kept but may cause issues"} 
[2026-08-25 12:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787641693000,"timestamp_ms":1787641693000,"timestamp_seconds":1787641693,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf8348"} 
[2026-08-25 12:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 12:39:47] 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-25 12:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636268800001,"66":13330,"225":206,"85":14336,"24":13,"16":123461132731023360,"45":9128866837804242944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-08-25 12:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636268800001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:39:47] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-25 12:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123461132731023360,"km_value":123461132731023.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128866837804242944,"description":"Unknown IO ID 45"} 
[2026-08-25 12:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636268800001,"power":13330,"unknown_225":206,"unknown_85":14336,"ignition":13,"odometer":null,"unknown_45":9128866837804242944}} 
[2026-08-25 12:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":162865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:39:47] local.INFO: GPS data processed {"connection_id":162865,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:39:47] local.INFO: Acknowledgment sent {"connection_id":162865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:40:00] local.INFO: TCP Data received {"connection_id":161872,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037befa90012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037befa90012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:40:00] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037befa90012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:40:00] local.INFO: Packet analysis {"connection_id":161872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037be"} 
[2026-08-25 12:40:00] local.INFO: Extracted packet for processing {"connection_id":161872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037be"} 
[2026-08-25 12:40:00] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636259072001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787641658000,"timestamp_ms":1787641658000,"timestamp_seconds":1787641658,"priority":1,"record_length":96,"hex_timestamp":"000001a037befa90"} 
[2026-08-25 12:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:40:00] 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-25 12:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 12:40:00] 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-25 12:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636259072001,"66":12341,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636259072001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:40:00] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:40:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636259072001,"power":12341,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":161872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:40:00] local.INFO: GPS data processed {"connection_id":161872,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:40:00] local.INFO: Acknowledgment sent {"connection_id":161872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:40:18] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:40:18] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:40:18] local.INFO: Packet analysis {"connection_id":161873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:40:18] local.INFO: Extracted packet for processing {"connection_id":161873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636195072001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787641688000,"timestamp_ms":1787641688000,"timestamp_seconds":1787641688,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf6fc0"} 
[2026-08-25 12:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 12:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636195072001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636195072001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:40:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636195072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":161873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:40:18] local.INFO: GPS data processed {"connection_id":161873,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:40:18] local.INFO: Acknowledgment sent {"connection_id":161873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:40:19] local.INFO: TCP Data received {"connection_id":162865,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037bfd168012d7eb34005acf910000900b42b..."} 
[2026-08-25 12:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bfd168012d7eb34005acf910000900b42b..."} 
[2026-08-25 12:40:19] local.INFO: Processing buffer {"connection_id":162865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bfd168012d7eb34005acf910000900b42b..."} 
[2026-08-25 12:40:19] local.INFO: Packet analysis {"connection_id":162865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:40:19] local.INFO: Extracted packet for processing {"connection_id":162865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:40:19] local.INFO: GPS Element Parsed {"raw_longitude":763278144,"raw_latitude":95222032,"longitude_deg":76.3278144,"latitude_deg":9.5222032,"altitude":9,"angle":180,"satellites":43,"speed":9,"hex_longitude":"2d7eb340","hex_latitude":"05acf910","is_valid_coordinates":true} 
[2026-08-25 12:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636273408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123461317414617088,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129570525243756544,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787641713000,"timestamp_ms":1787641713000,"timestamp_seconds":1787641713,"priority":1,"record_length":96,"hex_timestamp":"000001a037bfd168"} 
[2026-08-25 12:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2917099520,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":57888312258352433,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278242571698973208,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3199739905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2492989446,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2837250254,"corrected_to":0} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":156,"raw_value":3489738110,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3221597625,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2638020608,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":190,"raw_value":6795933132612157445,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":174,"raw_value":317503812396069120,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":35,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2089897092389541888,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.WARNING: Large IO value detected {"io_id":89,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:19] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,225,85,24,241,157,16,159,160,60,45,64,42,5,47,10,66,28,158,2,77,4,48,29,215,192,1,240,220,227,55,173,113,205,156,168,56,239,52,182,8,50,190,174,35,169,89],"length":626,"final_offset":756,"validated_count":47,"validation_warnings":[{"io_id":205,"original":2837250254,"validated":0}]} 
[2026-08-25 12:40:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504601259337908224,"timestamp_seconds":504601259337908.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636273408001,"66":13646,"225":206,"85":14336,"24":9,"16":123461317414617088,"45":9129570525243756544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-08-25 12:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636273408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:40:19] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-25 12:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123461317414617088,"km_value":123461317414617.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129570525243756544,"description":"Unknown IO ID 45"} 
[2026-08-25 12:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636273408001,"power":13646,"unknown_225":206,"unknown_85":14336,"ignition":9,"odometer":null,"unknown_45":9129570525243756544}} 
[2026-08-25 12:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":162865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:40:19] local.INFO: GPS data processed {"connection_id":162865,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:40:19] local.INFO: Acknowledgment sent {"connection_id":162865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:40:22] local.INFO: TCP Data received {"connection_id":161621,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:40:22] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:40:22] local.INFO: IMEI packet received {"connection_id":161621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":161621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:40:22] local.INFO: TCP Data received {"connection_id":161621,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:40:22] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:40:22] local.INFO: IMEI packet received {"connection_id":161621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":161621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:40:26] local.INFO: TCP Data received {"connection_id":161621,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:40:26] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:40:26] local.INFO: IMEI packet received {"connection_id":161621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":161621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:40:27] local.INFO: TCP Data received {"connection_id":161621,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf4c98012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf4c98012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:40:27] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf4c98012d17cbc007213720003c00ca2d..."} 
[2026-08-25 12:40:27] local.INFO: Packet analysis {"connection_id":161621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:40:27] local.INFO: Extracted packet for processing {"connection_id":161621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:40:27] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":45,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636264448001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787641679000,"timestamp_ms":1787641679000,"timestamp_seconds":1787641679,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf4c98"} 
[2026-08-25 12:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 12:40:27] 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-25 12:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636264448001,"66":12374,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636264448001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:40:27] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:40:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636264448001,"power":12374,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":161621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:40:27] local.INFO: GPS data processed {"connection_id":161621,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:40:27] local.INFO: Acknowledgment sent {"connection_id":161621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:40:40] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:40:40] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:40:40] local.INFO: IMEI packet received {"connection_id":161622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":161622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:40:41] local.INFO: TCP Data received {"connection_id":164242,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:40:41] local.INFO: Processing buffer {"connection_id":164242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:40:41] local.INFO: IMEI packet received {"connection_id":164242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":164242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:40:42] local.INFO: TCP Data received {"connection_id":164242,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:40:42] local.INFO: Processing buffer {"connection_id":164242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:40:42] local.INFO: IMEI packet received {"connection_id":164242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":164242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:40:45] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:40:45] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:40:45] local.INFO: IMEI packet received {"connection_id":161622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":161622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:40:46] local.INFO: TCP Data received {"connection_id":164242,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:40:46] local.INFO: Processing buffer {"connection_id":164242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:40:46] local.INFO: IMEI packet received {"connection_id":164242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":164242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:40:46] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:40:46] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:40:46] local.INFO: Packet analysis {"connection_id":161622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:40:46] local.INFO: Extracted packet for processing {"connection_id":161622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636195072001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641688000,"timestamp_ms":1787641688000,"timestamp_seconds":1787641688,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf6fc0"} 
[2026-08-25 12:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 12:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636195072001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636195072001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:40:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636195072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":161622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:40:46] local.INFO: GPS data processed {"connection_id":161622,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:40:46] local.INFO: Acknowledgment sent {"connection_id":161622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:40:47] local.INFO: TCP Data received {"connection_id":164242,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c02370012d7eb28005ace1f0000700b32e..."} 
[2026-08-25 12:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c02370012d7eb28005ace1f0000700b32e..."} 
[2026-08-25 12:40:47] local.INFO: Processing buffer {"connection_id":164242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c02370012d7eb28005ace1f0000700b32e..."} 
[2026-08-25 12:40:47] local.INFO: Packet analysis {"connection_id":164242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c0"} 
[2026-08-25 12:40:47] local.INFO: Extracted packet for processing {"connection_id":164242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c0"} 
[2026-08-25 12:40:47] local.INFO: GPS Element Parsed {"raw_longitude":763277952,"raw_latitude":95216112,"longitude_deg":76.3277952,"latitude_deg":9.5216112,"altitude":7,"angle":179,"satellites":46,"speed":11,"hex_longitude":"2d7eb280","hex_latitude":"05ace1f0","is_valid_coordinates":true} 
[2026-08-25 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-25 12:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636278528001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123461605177425920,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129711262731145216,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787641734000,"timestamp_ms":1787641734000,"timestamp_seconds":1787641734,"priority":1,"record_length":96,"hex_timestamp":"000001a037c02370"} 
[2026-08-25 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-25 12:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-25 12:40:47] 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-25 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-25 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-25 12:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636278528001,"66":13526,"168":206,"85":14336,"24":11,"16":123461605177425920,"45":9129711262731145216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 12:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636278528001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:40:47] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 12:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123461605177425920,"km_value":123461605177425.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129711262731145216,"description":"Unknown IO ID 45"} 
[2026-08-25 12:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636278528001,"power":13526,"unknown_168":206,"unknown_85":14336,"ignition":11,"odometer":null,"unknown_45":9129711262731145216}} 
[2026-08-25 12:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":164242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:40:47] local.INFO: GPS data processed {"connection_id":164242,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:40:47] local.INFO: Acknowledgment sent {"connection_id":164242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:40:59] local.INFO: TCP Data received {"connection_id":161621,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf9ea0012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf9ea0012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:40:59] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf9ea0012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:40:59] local.INFO: Packet analysis {"connection_id":161621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:40:59] local.INFO: Extracted packet for processing {"connection_id":161621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:40:59] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636269824001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787641700000,"timestamp_ms":1787641700000,"timestamp_seconds":1787641700,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf9ea0"} 
[2026-08-25 12:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:40:59] 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-25 12:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 12:40:59] 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-25 12:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636269824001,"66":12374,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636269824001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:40:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636269824001,"power":12374,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":161621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:40:59] local.INFO: GPS data processed {"connection_id":161621,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:40:59] local.INFO: Acknowledgment sent {"connection_id":161621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:41:18] local.INFO: TCP Data received {"connection_id":164242,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c07578012d7eb34005acd028000700b42e..."} 
[2026-08-25 12:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c07578012d7eb34005acd028000700b42e..."} 
[2026-08-25 12:41:18] local.INFO: Processing buffer {"connection_id":164242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c07578012d7eb34005acd028000700b42e..."} 
[2026-08-25 12:41:18] local.INFO: Packet analysis {"connection_id":164242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c0"} 
[2026-08-25 12:41:18] local.INFO: Extracted packet for processing {"connection_id":164242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c0"} 
[2026-08-25 12:41:18] local.INFO: GPS Element Parsed {"raw_longitude":763278144,"raw_latitude":95211560,"longitude_deg":76.3278144,"latitude_deg":9.521156,"altitude":7,"angle":180,"satellites":46,"speed":9,"hex_longitude":"2d7eb340","hex_latitude":"05acd028","is_valid_coordinates":true} 
[2026-08-25 12:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636283904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123461828515725312,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129500156497096704,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787641755000,"timestamp_ms":1787641755000,"timestamp_seconds":1787641755,"priority":1,"record_length":96,"hex_timestamp":"000001a037c07578"} 
[2026-08-25 12:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 12:41: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-25 12:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636283904001,"66":13319,"42":206,"85":14336,"24":9,"16":123461828515725312,"45":9129500156497096704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-08-25 12:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636283904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:41:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-25 12:41:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123461828515725312,"km_value":123461828515725.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129500156497096704,"description":"Unknown IO ID 45"} 
[2026-08-25 12:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636283904001,"power":13319,"unknown_42":206,"unknown_85":14336,"ignition":9,"odometer":null,"unknown_45":9129500156497096704}} 
[2026-08-25 12:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":164242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:41:18] local.INFO: GPS data processed {"connection_id":164242,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:41:18] local.INFO: Acknowledgment sent {"connection_id":164242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:41:19] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:41:19] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:41:19] local.INFO: Packet analysis {"connection_id":161622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:41:19] local.INFO: Extracted packet for processing {"connection_id":161622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 12:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636195072001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787641688000,"timestamp_ms":1787641688000,"timestamp_seconds":1787641688,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf6fc0"} 
[2026-08-25 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-25 12:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 12:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 12:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636195072001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636195072001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:41:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636195072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":161622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:41:19] local.INFO: GPS data processed {"connection_id":161622,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:41:19] local.INFO: Acknowledgment sent {"connection_id":161622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:41:21] local.INFO: TCP Data received {"connection_id":161874,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:41:21] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:41:21] local.INFO: IMEI packet received {"connection_id":161874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":161874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:41:25] local.INFO: TCP Data received {"connection_id":161874,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:41:25] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:41:25] local.INFO: IMEI packet received {"connection_id":161874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":161874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:41:26] local.INFO: TCP Data received {"connection_id":161874,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:41:26] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:41:26] local.INFO: IMEI packet received {"connection_id":161874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":161874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:41:28] local.INFO: TCP Data received {"connection_id":161874,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037bff0a8012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bff0a8012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:41:28] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bff0a8012d17cbc007213720003c00ca2c..."} 
[2026-08-25 12:41:28] local.INFO: Packet analysis {"connection_id":161874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:41:28] local.INFO: Extracted packet for processing {"connection_id":161874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756534208,"raw_latitude":119617312,"longitude_deg":75.6534208,"latitude_deg":11.9617312,"altitude":60,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d17cbc0","hex_latitude":"07213720","is_valid_coordinates":true} 
[2026-08-25 12:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636275200001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835432751202304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714675219999170560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787641721000,"timestamp_ms":1787641721000,"timestamp_seconds":1787641721,"priority":1,"record_length":96,"hex_timestamp":"000001a037bff0a8"} 
[2026-08-25 12:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:41:28] 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-25 12:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 12:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636275200001,"66":12341,"122":206,"28":31744,"24":0,"16":15835432751202304,"45":1714675219999170560},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636275200001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:41:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835432751202304,"km_value":15835432751202.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714675219999170560,"description":"Unknown IO ID 45"} 
[2026-08-25 12:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636275200001,"power":12341,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1714675219999170560}} 
[2026-08-25 12:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":161874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:41:28] local.INFO: GPS data processed {"connection_id":161874,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:41:28] local.INFO: Acknowledgment sent {"connection_id":161874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:41:40] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:41:40] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:41:40] local.INFO: IMEI packet received {"connection_id":161623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":161623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:41:41] local.INFO: TCP Data received {"connection_id":164243,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:41:41] local.INFO: Processing buffer {"connection_id":164243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:41:41] local.INFO: IMEI packet received {"connection_id":164243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":164243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:41:44] local.INFO: TCP Data received {"connection_id":164243,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:41:44] local.INFO: Processing buffer {"connection_id":164243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:41:44] local.INFO: IMEI packet received {"connection_id":164243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":164243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:41:45] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:41:45] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:41:45] local.INFO: IMEI packet received {"connection_id":161623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":161623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:41:46] local.INFO: TCP Data received {"connection_id":164243,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:41:46] local.INFO: Processing buffer {"connection_id":164243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:41:46] local.INFO: IMEI packet received {"connection_id":164243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":164243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:41:46] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:41:46] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:41:46] local.INFO: Packet analysis {"connection_id":161623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:41:46] local.INFO: Extracted packet for processing {"connection_id":161623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636195072001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641688000,"timestamp_ms":1787641688000,"timestamp_seconds":1787641688,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf6fc0"} 
[2026-08-25 12:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 12:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636195072001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636195072001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636195072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":161623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:41:46] local.INFO: GPS data processed {"connection_id":161623,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:41:46] local.INFO: Acknowledgment sent {"connection_id":161623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:41:46] local.INFO: TCP Data received {"connection_id":164243,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c0c780012d7eb38005acb8d8000700b230..."} 
[2026-08-25 12:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c0c780012d7eb38005acb8d8000700b230..."} 
[2026-08-25 12:41:46] local.INFO: Processing buffer {"connection_id":164243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c0c780012d7eb38005acb8d8000700b230..."} 
[2026-08-25 12:41:46] local.INFO: Packet analysis {"connection_id":164243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c0"} 
[2026-08-25 12:41:46] local.INFO: Extracted packet for processing {"connection_id":164243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c0"} 
[2026-08-25 12:41:46] local.INFO: GPS Element Parsed {"raw_longitude":763278208,"raw_latitude":95205592,"longitude_deg":76.3278208,"latitude_deg":9.5205592,"altitude":7,"angle":178,"satellites":48,"speed":19,"hex_longitude":"2d7eb380","hex_latitude":"05acb8d8","is_valid_coordinates":true} 
[2026-08-25 12:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636289280001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123462116278534144,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129711262728464384,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641776000,"timestamp_ms":1787641776000,"timestamp_seconds":1787641776,"priority":1,"record_length":96,"hex_timestamp":"000001a037c0c780"} 
[2026-08-25 12:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3208443905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-7739435933854715648,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2837184718,"corrected_to":0} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2658467840,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2909896704,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57888312258352433,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.WARNING: Large IO value detected {"io_id":190,"raw_value":-5176886476752207867,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:46] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,42,85,24,241,157,16,159,160,35,45,128,225,7,46,10,66,168,209,64,249,9,43,131,192,1,240,18,227,55,173,4,113,205,12,2,174,136,48,239,52,29,182,5,37,220,190],"length":527,"final_offset":657,"validated_count":47,"validation_warnings":[{"io_id":205,"original":2837184718,"validated":0}]} 
[2026-08-25 12:41:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504601267927580672,"timestamp_seconds":504601267927580.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636289280001,"66":13515,"42":206,"85":14336,"24":19,"16":123462116278534144,"45":9129711262728464384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-08-25 12:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636289280001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:41:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-25 12:41:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123462116278534144,"km_value":123462116278534.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129711262728464384,"description":"Unknown IO ID 45"} 
[2026-08-25 12:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636289280001,"power":13515,"unknown_42":206,"unknown_85":14336,"ignition":19,"odometer":null,"unknown_45":9129711262728464384}} 
[2026-08-25 12:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":164243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:41:47] local.INFO: GPS data processed {"connection_id":164243,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:41:47] local.INFO: Acknowledgment sent {"connection_id":164243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:41:51] local.INFO: TCP Data received {"connection_id":164243,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c11988012d7eb4c005ac99e8000500b230..."} 
[2026-08-25 12:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c11988012d7eb4c005ac99e8000500b230..."} 
[2026-08-25 12:41:51] local.INFO: Processing buffer {"connection_id":164243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c11988012d7eb4c005ac99e8000500b230..."} 
[2026-08-25 12:41:51] local.INFO: Packet analysis {"connection_id":164243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c1"} 
[2026-08-25 12:41:51] local.INFO: Extracted packet for processing {"connection_id":164243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c1"} 
[2026-08-25 12:41:51] local.INFO: GPS Element Parsed {"raw_longitude":763278528,"raw_latitude":95197672,"longitude_deg":76.3278528,"latitude_deg":9.5197672,"altitude":5,"angle":178,"satellites":48,"speed":9,"hex_longitude":"2d7eb4c0","hex_latitude":"05ac99e8","is_valid_coordinates":true} 
[2026-08-25 12:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636294656001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123462502825590784,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129781631471114240,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787641797000,"timestamp_ms":1787641797000,"timestamp_seconds":1787641797,"priority":1,"record_length":96,"hex_timestamp":"000001a037c11988"} 
[2026-08-25 12:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:41: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-25 12:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 12:41:51] 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-25 12:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636294656001,"66":13526,"42":206,"85":14336,"24":9,"16":123462502825590784,"45":9129781631471114240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-08-25 12:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636294656001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:41:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-25 12:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123462502825590784,"km_value":123462502825590.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129781631471114240,"description":"Unknown IO ID 45"} 
[2026-08-25 12:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636294656001,"power":13526,"unknown_42":206,"unknown_85":14336,"ignition":9,"odometer":null,"unknown_45":9129781631471114240}} 
[2026-08-25 12:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":164243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:41:51] local.INFO: GPS data processed {"connection_id":164243,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:41:51] local.INFO: Acknowledgment sent {"connection_id":164243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:41:59] local.INFO: TCP Data received {"connection_id":161874,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c21f40012d17c88007213828003d00022f..."} 
[2026-08-25 12:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c21f40012d17c88007213828003d00022f..."} 
[2026-08-25 12:41:59] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c21f40012d17c88007213828003d00022f..."} 
[2026-08-25 12:41:59] local.INFO: Packet analysis {"connection_id":161874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c2"} 
[2026-08-25 12:41:59] local.INFO: Extracted packet for processing {"connection_id":161874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c2"} 
[2026-08-25 12:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756533376,"raw_latitude":119617576,"longitude_deg":75.6533376,"latitude_deg":11.9617576,"altitude":61,"angle":2,"satellites":47,"speed":10,"hex_longitude":"2d17c880","hex_latitude":"07213828","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636316928001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835488585777152,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795069046784,"note":"Value kept but may cause issues"} 
[2026-08-25 12:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787641864000,"timestamp_ms":1787641864000,"timestamp_seconds":1787641864,"priority":1,"record_length":96,"hex_timestamp":"000001a037c21f40"} 
[2026-08-25 12: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-25 12:41:59] 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-25 12: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-25 12:41:59] 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-25 12: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-25 12: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-25 12:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636316928001,"66":13852,"122":206,"28":31744,"24":10,"16":15835488585777152,"45":1713830795069046784},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636316928001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:41:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:41:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835488585777152,"km_value":15835488585777.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795069046784,"description":"Unknown IO ID 45"} 
[2026-08-25 12:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636316928001,"power":13852,"unknown_122":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1713830795069046784}} 
[2026-08-25 12:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":161874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:42:00] local.INFO: GPS data processed {"connection_id":161874,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:42:00] local.INFO: Acknowledgment sent {"connection_id":161874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:42:18] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:42:18] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:42:18] local.INFO: Packet analysis {"connection_id":161623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:42:18] local.INFO: Extracted packet for processing {"connection_id":161623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636195072001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787641688000,"timestamp_ms":1787641688000,"timestamp_seconds":1787641688,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf6fc0"} 
[2026-08-25 12: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-25 12:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 12:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636195072001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636195072001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:42:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636195072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":161623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:42:18] local.INFO: GPS data processed {"connection_id":161623,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:42:18] local.INFO: Acknowledgment sent {"connection_id":161623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:42:21] local.INFO: TCP Data received {"connection_id":164244,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:42:21] local.INFO: Processing buffer {"connection_id":164244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:42:21] local.INFO: IMEI packet received {"connection_id":164244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":164244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:42:23] local.INFO: TCP Data received {"connection_id":164243,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c16b90012d7eb58005ac89f8000500b22e..."} 
[2026-08-25 12:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c16b90012d7eb58005ac89f8000500b22e..."} 
[2026-08-25 12:42:23] local.INFO: Processing buffer {"connection_id":164243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c16b90012d7eb58005ac89f8000500b22e..."} 
[2026-08-25 12:42:23] local.INFO: Packet analysis {"connection_id":164243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c1"} 
[2026-08-25 12:42:23] local.INFO: Extracted packet for processing {"connection_id":164243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c1"} 
[2026-08-25 12:42:23] local.INFO: GPS Element Parsed {"raw_longitude":763278720,"raw_latitude":95193592,"longitude_deg":76.327872,"latitude_deg":9.5193592,"altitude":5,"angle":178,"satellites":46,"speed":8,"hex_longitude":"2d7eb580","hex_latitude":"05ac89f8","is_valid_coordinates":true} 
[2026-08-25 12:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636300032001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123462704689053696,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130133475189975040,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787641818000,"timestamp_ms":1787641818000,"timestamp_seconds":1787641818,"priority":1,"record_length":96,"hex_timestamp":"000001a037c16b90"} 
[2026-08-25 12:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:42: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-25 12:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 12:42:23] 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-25 12:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636300032001,"66":13461,"169":206,"85":14336,"24":8,"16":123462704689053696,"45":9130133475189975040},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 12:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636300032001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:42:23] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 12:42:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123462704689053696,"km_value":123462704689053.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130133475189975040,"description":"Unknown IO ID 45"} 
[2026-08-25 12:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636300032001,"power":13461,"unknown_169":206,"unknown_85":14336,"ignition":8,"odometer":null,"unknown_45":9130133475189975040}} 
[2026-08-25 12:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":164243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:42:23] local.INFO: GPS data processed {"connection_id":164243,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:42:23] local.INFO: Acknowledgment sent {"connection_id":164243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:42:25] local.INFO: TCP Data received {"connection_id":164244,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:42:25] local.INFO: Processing buffer {"connection_id":164244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:42:25] local.INFO: IMEI packet received {"connection_id":164244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":164244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:42:26] local.INFO: TCP Data received {"connection_id":164244,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:42:26] local.INFO: Processing buffer {"connection_id":164244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:42:26] local.INFO: IMEI packet received {"connection_id":164244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":164244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:42:28] local.INFO: TCP Data received {"connection_id":164244,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c22328012d17c8c007213948003d00162e..."} 
[2026-08-25 12:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c22328012d17c8c007213948003d00162e..."} 
[2026-08-25 12:42:28] local.INFO: Processing buffer {"connection_id":164244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c22328012d17c8c007213948003d00162e..."} 
[2026-08-25 12:42:28] local.INFO: Packet analysis {"connection_id":164244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c2"} 
[2026-08-25 12:42:28] local.INFO: Extracted packet for processing {"connection_id":164244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c2"} 
[2026-08-25 12:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119617864,"longitude_deg":75.653344,"latitude_deg":11.9617864,"altitude":61,"angle":22,"satellites":46,"speed":12,"hex_longitude":"2d17c8c0","hex_latitude":"07213948","is_valid_coordinates":true} 
[2026-08-25 12:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636317184001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835501470679040,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713760426324928512,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787641865000,"timestamp_ms":1787641865000,"timestamp_seconds":1787641865,"priority":1,"record_length":96,"hex_timestamp":"000001a037c22328"} 
[2026-08-25 12:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:42:28] 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-25 12:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-25 12:42:28] 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-25 12:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636317184001,"66":14102,"122":206,"28":31744,"24":12,"16":15835501470679040,"45":1713760426324928512},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636317184001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:42:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:42:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835501470679040,"km_value":15835501470679.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713760426324928512,"description":"Unknown IO ID 45"} 
[2026-08-25 12:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636317184001,"power":14102,"unknown_122":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1713760426324928512}} 
[2026-08-25 12:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":164244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:42:28] local.INFO: GPS data processed {"connection_id":164244,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:42:28] local.INFO: Acknowledgment sent {"connection_id":164244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:42:40] local.INFO: TCP Data received {"connection_id":164245,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:42:40] local.INFO: Processing buffer {"connection_id":164245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:42:40] local.INFO: IMEI packet received {"connection_id":164245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":164245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:42:41] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:42:41] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:42:41] local.INFO: IMEI packet received {"connection_id":161875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":161875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:42:45] local.INFO: TCP Data received {"connection_id":164245,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:42:45] local.INFO: Processing buffer {"connection_id":164245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:42:45] local.INFO: IMEI packet received {"connection_id":164245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":164245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:42:46] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:42:46] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:42:46] local.INFO: IMEI packet received {"connection_id":161875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":161875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:42:47] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c1bd98012d7eb68005ac77b0000a00b52f..."} 
[2026-08-25 12:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c1bd98012d7eb68005ac77b0000a00b52f..."} 
[2026-08-25 12:42:47] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c1bd98012d7eb68005ac77b0000a00b52f..."} 
[2026-08-25 12:42:47] local.INFO: Packet analysis {"connection_id":161875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c1"} 
[2026-08-25 12:42:47] local.INFO: Extracted packet for processing {"connection_id":161875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c1"} 
[2026-08-25 12:42:47] local.INFO: GPS Element Parsed {"raw_longitude":763278976,"raw_latitude":95188912,"longitude_deg":76.3278976,"latitude_deg":9.5188912,"altitude":10,"angle":181,"satellites":47,"speed":4,"hex_longitude":"2d7eb680","hex_latitude":"05ac77b0","is_valid_coordinates":true} 
[2026-08-25 12:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636305408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123462932322320384,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130344581421463552,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787641839000,"timestamp_ms":1787641839000,"timestamp_seconds":1787641839,"priority":1,"record_length":96,"hex_timestamp":"000001a037c1bd98"} 
[2026-08-25 12:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-25 12:42:47] 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-25 12:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636305408001,"66":13243,"169":206,"85":14336,"24":4,"16":123462932322320384,"45":9130344581421463552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 12:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636305408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:42:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 12:42:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123462932322320384,"km_value":123462932322320.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130344581421463552,"description":"Unknown IO ID 45"} 
[2026-08-25 12:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636305408001,"power":13243,"unknown_169":206,"unknown_85":14336,"ignition":4,"odometer":null,"unknown_45":9130344581421463552}} 
[2026-08-25 12:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":161875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:42:47] local.INFO: GPS data processed {"connection_id":161875,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:42:47] local.INFO: Acknowledgment sent {"connection_id":161875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:42:47] local.INFO: TCP Data received {"connection_id":164245,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:42:47] local.INFO: Processing buffer {"connection_id":164245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:42:47] local.INFO: Packet analysis {"connection_id":164245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:42:47] local.INFO: Extracted packet for processing {"connection_id":164245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636195072001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787641688000,"timestamp_ms":1787641688000,"timestamp_seconds":1787641688,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf6fc0"} 
[2026-08-25 12:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 12:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636195072001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636195072001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:42:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636195072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":164245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:42:47] local.INFO: GPS data processed {"connection_id":164245,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:42:47] local.INFO: Acknowledgment sent {"connection_id":164245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:42:59] local.INFO: TCP Data received {"connection_id":164244,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c22710012d17c94007213a68003e00222e..."} 
[2026-08-25 12:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c22710012d17c94007213a68003e00222e..."} 
[2026-08-25 12:42:59] local.INFO: Processing buffer {"connection_id":164244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c22710012d17c94007213a68003e00222e..."} 
[2026-08-25 12:42:59] local.INFO: Packet analysis {"connection_id":164244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c2"} 
[2026-08-25 12:42:59] local.INFO: Extracted packet for processing {"connection_id":164244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c2"} 
[2026-08-25 12:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756533568,"raw_latitude":119618152,"longitude_deg":75.6533568,"latitude_deg":11.9618152,"altitude":62,"angle":34,"satellites":46,"speed":15,"hex_longitude":"2d17c940","hex_latitude":"07213a68","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636317440001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15835518650548224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795069179904,"note":"Value kept but may cause issues"} 
[2026-08-25 12:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787641866000,"timestamp_ms":1787641866000,"timestamp_seconds":1787641866,"priority":1,"record_length":96,"hex_timestamp":"000001a037c22710"} 
[2026-08-25 12: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-25 12:42:59] 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-25 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 12:42:59] 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-25 12: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-25 12: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-25 12:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636317440001,"66":14102,"122":206,"28":31744,"24":15,"16":15835518650548224,"45":1713830795069179904},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-25 12:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636317440001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:42:59] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-25 12:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15835518650548224,"km_value":15835518650548.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795069179904,"description":"Unknown IO ID 45"} 
[2026-08-25 12:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636317440001,"power":14102,"unknown_122":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1713830795069179904}} 
[2026-08-25 12:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":164244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:42:59] local.INFO: GPS data processed {"connection_id":164244,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:42:59] local.INFO: Acknowledgment sent {"connection_id":164244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:43:18] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c20fa0012d7eb68005ac68b0000800b230..."} 
[2026-08-25 12:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c20fa0012d7eb68005ac68b0000800b230..."} 
[2026-08-25 12:43:18] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c20fa0012d7eb68005ac68b0000800b230..."} 
[2026-08-25 12:43:18] local.INFO: Packet analysis {"connection_id":161875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c2"} 
[2026-08-25 12:43:18] local.INFO: Extracted packet for processing {"connection_id":161875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c2"} 
[2026-08-25 12:43:18] local.INFO: GPS Element Parsed {"raw_longitude":763278976,"raw_latitude":95185072,"longitude_deg":76.3278976,"latitude_deg":9.5185072,"altitude":8,"angle":178,"satellites":48,"speed":7,"hex_longitude":"2d7eb680","hex_latitude":"05ac68b0","is_valid_coordinates":true} 
[2026-08-25 12:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636310784001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123463121300881408,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130626056396976128,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787641860000,"timestamp_ms":1787641860000,"timestamp_seconds":1787641860,"priority":1,"record_length":96,"hex_timestamp":"000001a037c20fa0"} 
[2026-08-25 12:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:43: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-25 12:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 12:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636310784001,"66":13417,"169":206,"85":14336,"24":7,"16":123463121300881408,"45":9130626056396976128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 12:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636310784001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:43:18] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 12:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123463121300881408,"km_value":123463121300881.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130626056396976128,"description":"Unknown IO ID 45"} 
[2026-08-25 12:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636310784001,"power":13417,"unknown_169":206,"unknown_85":14336,"ignition":7,"odometer":null,"unknown_45":9130626056396976128}} 
[2026-08-25 12:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":161875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:43:18] local.INFO: GPS data processed {"connection_id":161875,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:43:18] local.INFO: Acknowledgment sent {"connection_id":161875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:43:18] local.INFO: TCP Data received {"connection_id":164245,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:43:18] local.INFO: Processing buffer {"connection_id":164245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:43:18] local.INFO: Packet analysis {"connection_id":164245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:43:18] local.INFO: Extracted packet for processing {"connection_id":164245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:43:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636195072001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787641688000,"timestamp_ms":1787641688000,"timestamp_seconds":1787641688,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf6fc0"} 
[2026-08-25 12:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 12:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636195072001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636195072001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:43:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636195072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":164245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:43:18] local.INFO: GPS data processed {"connection_id":164245,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:43:18] local.INFO: Acknowledgment sent {"connection_id":164245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:43:23] local.INFO: TCP Data received {"connection_id":161624,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:43:23] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:43:23] local.INFO: IMEI packet received {"connection_id":161624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":161624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:43:27] local.INFO: TCP Data received {"connection_id":161624,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:43:27] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:43:27] local.INFO: IMEI packet received {"connection_id":161624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":161624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:43:31] local.INFO: TCP Data received {"connection_id":161624,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:43:31] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:43:31] local.INFO: IMEI packet received {"connection_id":161624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":161624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:43:32] local.INFO: TCP Data received {"connection_id":161624,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c39258012d182ac007219d38004e00812c..."} 
[2026-08-25 12:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c39258012d182ac007219d38004e00812c..."} 
[2026-08-25 12:43:33] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c39258012d182ac007219d38004e00812c..."} 
[2026-08-25 12:43:33] local.INFO: Packet analysis {"connection_id":161624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c3"} 
[2026-08-25 12:43:33] local.INFO: Extracted packet for processing {"connection_id":161624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c3"} 
[2026-08-25 12:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":78,"angle":129,"satellites":44,"speed":7,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-08-25 12:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636336128001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837464270733312,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180375064576,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787641959000,"timestamp_ms":1787641959000,"timestamp_seconds":1787641959,"priority":1,"record_length":96,"hex_timestamp":"000001a037c39258"} 
[2026-08-25 12:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:43:33] 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-25 12:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 12:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636336128001,"66":14265,"121":206,"28":31744,"24":7,"16":15837464270733312,"45":1740430180375064576},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636336128001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:43:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:43:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837464270733312,"km_value":15837464270733.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180375064576,"description":"Unknown IO ID 45"} 
[2026-08-25 12:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636336128001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1740430180375064576}} 
[2026-08-25 12:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":161624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:43:33] local.INFO: GPS data processed {"connection_id":161624,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:43:33] local.INFO: Acknowledgment sent {"connection_id":161624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:43:38] local.INFO: TCP Data received {"connection_id":161624,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c39258012d182ac007219d38004e00812c..."} 
[2026-08-25 12:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c39258012d182ac007219d38004e00812c..."} 
[2026-08-25 12:43:38] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c39258012d182ac007219d38004e00812c..."} 
[2026-08-25 12:43:38] local.INFO: Packet analysis {"connection_id":161624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c3"} 
[2026-08-25 12:43:38] local.INFO: Extracted packet for processing {"connection_id":161624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c3"} 
[2026-08-25 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":78,"angle":129,"satellites":44,"speed":7,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-08-25 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636341504001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837464270733312,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787641959000,"timestamp_ms":1787641959000,"timestamp_seconds":1787641959,"priority":1,"record_length":96,"hex_timestamp":"000001a037c39258"} 
[2026-08-25 12:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:43: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-25 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 12:43: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-25 12:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636341504001,"66":14265,"121":206,"28":31744,"24":7,"16":15837464270733312,"45":1741415342793373696},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636341504001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:43:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837464270733312,"km_value":15837464270733.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-08-25 12:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636341504001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-08-25 12:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":161624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:43:38] local.INFO: GPS data processed {"connection_id":161624,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:43:38] local.INFO: Acknowledgment sent {"connection_id":161624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:43:40] local.INFO: TCP Data received {"connection_id":162866,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:43:40] local.INFO: Processing buffer {"connection_id":162866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:43:40] local.INFO: IMEI packet received {"connection_id":162866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":162866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:43:41] local.INFO: TCP Data received {"connection_id":162867,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:43:41] local.INFO: Processing buffer {"connection_id":162867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:43:41] local.INFO: IMEI packet received {"connection_id":162867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":162867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:43:45] local.INFO: TCP Data received {"connection_id":162866,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:43:45] local.INFO: Processing buffer {"connection_id":162866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:43:45] local.INFO: IMEI packet received {"connection_id":162866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":162866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:43:46] local.INFO: TCP Data received {"connection_id":162867,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:43:46] local.INFO: Processing buffer {"connection_id":162867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:43:46] local.INFO: IMEI packet received {"connection_id":162867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":162867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:43:46] local.INFO: TCP Data received {"connection_id":162866,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:43:46] local.INFO: Processing buffer {"connection_id":162866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037bf6fc0012d34c14006aa4820000b00e62f..."} 
[2026-08-25 12:43:46] local.INFO: Packet analysis {"connection_id":162866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:43:46] local.INFO: Extracted packet for processing {"connection_id":162866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037bf"} 
[2026-08-25 12:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636195072001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641688000,"timestamp_ms":1787641688000,"timestamp_seconds":1787641688,"priority":1,"record_length":96,"hex_timestamp":"000001a037bf6fc0"} 
[2026-08-25 12:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 12:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636195072001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636195072001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636195072001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":162866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:43:46] local.INFO: GPS data processed {"connection_id":162866,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:43:46] local.INFO: Acknowledgment sent {"connection_id":162866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:43:47] local.INFO: TCP Data received {"connection_id":162867,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c261a8012d7eb68005ac5c40000900b830..."} 
[2026-08-25 12:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c261a8012d7eb68005ac5c40000900b830..."} 
[2026-08-25 12:43:47] local.INFO: Processing buffer {"connection_id":162867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c261a8012d7eb68005ac5c40000900b830..."} 
[2026-08-25 12:43:47] local.INFO: Packet analysis {"connection_id":162867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c2"} 
[2026-08-25 12:43:47] local.INFO: Extracted packet for processing {"connection_id":162867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c2"} 
[2026-08-25 12:43:47] local.INFO: GPS Element Parsed {"raw_longitude":763278976,"raw_latitude":95181888,"longitude_deg":76.3278976,"latitude_deg":9.5181888,"altitude":9,"angle":184,"satellites":48,"speed":6,"hex_longitude":"2d7eb680","hex_latitude":"05ac5c40","is_valid_coordinates":true} 
[2026-08-25 12:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636316160001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123463275919704064,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130626056395993088,"note":"Value kept but may cause issues"} 
[2026-08-25 12:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787641881000,"timestamp_ms":1787641881000,"timestamp_seconds":1787641881,"priority":1,"record_length":96,"hex_timestamp":"000001a037c261a8"} 
[2026-08-25 12:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 12:43:47] 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-25 12:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636316160001,"66":13461,"169":206,"85":14336,"24":6,"16":123463275919704064,"45":9130626056395993088},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 12:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636316160001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:43:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 12:43:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123463275919704064,"km_value":123463275919704.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130626056395993088,"description":"Unknown IO ID 45"} 
[2026-08-25 12:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636316160001,"power":13461,"unknown_169":206,"unknown_85":14336,"ignition":6,"odometer":null,"unknown_45":9130626056395993088}} 
[2026-08-25 12:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":162867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:43:47] local.INFO: GPS data processed {"connection_id":162867,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:43:47] local.INFO: Acknowledgment sent {"connection_id":162867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:44:18] local.INFO: TCP Data received {"connection_id":162866,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:44:18] local.INFO: Processing buffer {"connection_id":162866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:44:18] local.INFO: Packet analysis {"connection_id":162866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:44:18] local.INFO: Extracted packet for processing {"connection_id":162866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:44:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636272128001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787641989000,"timestamp_ms":1787641989000,"timestamp_seconds":1787641989,"priority":1,"record_length":96,"hex_timestamp":"000001a037c40788"} 
[2026-08-25 12:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636272128001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636272128001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:44:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:44:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636272128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":162866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:44:18] local.INFO: GPS data processed {"connection_id":162866,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:44:18] local.INFO: Acknowledgment sent {"connection_id":162866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:44:19] local.INFO: TCP Data received {"connection_id":162868,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:44:19] local.INFO: Processing buffer {"connection_id":162868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:44:19] local.INFO: IMEI packet received {"connection_id":162868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":162868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:44:22] local.INFO: TCP Data received {"connection_id":162868,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:44:22] local.INFO: Processing buffer {"connection_id":162868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:44:22] local.INFO: IMEI packet received {"connection_id":162868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":162868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:44:26] local.INFO: TCP Data received {"connection_id":162868,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:44:26] local.INFO: Processing buffer {"connection_id":162868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:44:26] local.INFO: IMEI packet received {"connection_id":162868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":162868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:44:27] local.INFO: TCP Data received {"connection_id":162868,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c3a9c8012d18318007219898004e00762c..."} 
[2026-08-25 12:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c3a9c8012d18318007219898004e00762c..."} 
[2026-08-25 12:44:27] local.INFO: Processing buffer {"connection_id":162868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c3a9c8012d18318007219898004e00762c..."} 
[2026-08-25 12:44:27] local.INFO: Packet analysis {"connection_id":162868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c3"} 
[2026-08-25 12:44:27] local.INFO: Extracted packet for processing {"connection_id":162868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c3"} 
[2026-08-25 12:44:27] local.INFO: GPS Element Parsed {"raw_longitude":756560256,"raw_latitude":119642264,"longitude_deg":75.6560256,"latitude_deg":11.9642264,"altitude":78,"angle":118,"satellites":44,"speed":18,"hex_longitude":"2d183180","hex_latitude":"07219898","is_valid_coordinates":true} 
[2026-08-25 12:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636341504001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15837567349948416,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787641965000,"timestamp_ms":1787641965000,"timestamp_seconds":1787641965,"priority":1,"record_length":96,"hex_timestamp":"000001a037c3a9c8"} 
[2026-08-25 12:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 12:44:27] 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-25 12:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636341504001,"66":13820,"121":206,"28":31744,"24":18,"16":15837567349948416,"45":1741415342793373696},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636341504001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:44:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:44:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15837567349948416,"km_value":15837567349948.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-08-25 12:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636341504001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-08-25 12:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":162868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:44:27] local.INFO: GPS data processed {"connection_id":162868,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:44:27] local.INFO: Acknowledgment sent {"connection_id":162868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:44:27] local.INFO: TCP Data received {"connection_id":162867,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c2b3b0012d7eb74005ac51f8000b00b32e..."} 
[2026-08-25 12:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c2b3b0012d7eb74005ac51f8000b00b32e..."} 
[2026-08-25 12:44:27] local.INFO: Processing buffer {"connection_id":162867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c2b3b0012d7eb74005ac51f8000b00b32e..."} 
[2026-08-25 12:44:27] local.INFO: Packet analysis {"connection_id":162867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c2"} 
[2026-08-25 12:44:27] local.INFO: Extracted packet for processing {"connection_id":162867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c2"} 
[2026-08-25 12:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763279168,"raw_latitude":95179256,"longitude_deg":76.3279168,"latitude_deg":9.5179256,"altitude":11,"angle":179,"satellites":46,"speed":8,"hex_longitude":"2d7eb740","hex_latitude":"05ac51f8","is_valid_coordinates":true} 
[2026-08-25 12:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636321536001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123463409063690240,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130626056395177984,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787641902000,"timestamp_ms":1787641902000,"timestamp_seconds":1787641902,"priority":1,"record_length":96,"hex_timestamp":"000001a037c2b3b0"} 
[2026-08-25 12:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-25 12:44:27] 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-25 12:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636321536001,"66":13493,"169":206,"85":14336,"24":8,"16":123463409063690240,"45":9130626056395177984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 12:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636321536001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:44:27] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 12:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123463409063690240,"km_value":123463409063690.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130626056395177984,"description":"Unknown IO ID 45"} 
[2026-08-25 12:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636321536001,"power":13493,"unknown_169":206,"unknown_85":14336,"ignition":8,"odometer":null,"unknown_45":9130626056395177984}} 
[2026-08-25 12:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":162867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:44:27] local.INFO: GPS data processed {"connection_id":162867,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:44:27] local.INFO: Acknowledgment sent {"connection_id":162867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:44:40] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:44:40] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:44:40] local.INFO: IMEI packet received {"connection_id":161625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":161625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:44:45] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:44:45] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:44:45] local.INFO: IMEI packet received {"connection_id":161625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":161625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:44:46] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:44:46] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:44:46] local.INFO: Packet analysis {"connection_id":161625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:44:46] local.INFO: Extracted packet for processing {"connection_id":161625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636272128001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641989000,"timestamp_ms":1787641989000,"timestamp_seconds":1787641989,"priority":1,"record_length":96,"hex_timestamp":"000001a037c40788"} 
[2026-08-25 12:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636272128001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636272128001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:44:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636272128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":161625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:44:46] local.INFO: GPS data processed {"connection_id":161625,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:44:46] local.INFO: Acknowledgment sent {"connection_id":161625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:44:58] local.INFO: TCP Data received {"connection_id":162868,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c4ee00012d18d8c00720fe38004000902d..."} 
[2026-08-25 12:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c4ee00012d18d8c00720fe38004000902d..."} 
[2026-08-25 12:44:58] local.INFO: Processing buffer {"connection_id":162868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c4ee00012d18d8c00720fe38004000902d..."} 
[2026-08-25 12:44:58] local.INFO: Packet analysis {"connection_id":162868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:44:58] local.INFO: Extracted packet for processing {"connection_id":162868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756603072,"raw_latitude":119602744,"longitude_deg":75.6603072,"latitude_deg":11.9602744,"altitude":64,"angle":144,"satellites":45,"speed":33,"hex_longitude":"2d18d8c0","hex_latitude":"0720fe38","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636364032001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15840741330780160,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789899407521550336,"note":"Value kept but may cause issues"} 
[2026-08-25 12:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787642048000,"timestamp_ms":1787642048000,"timestamp_seconds":1787642048,"priority":1,"record_length":96,"hex_timestamp":"000001a037c4ee00"} 
[2026-08-25 12: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-25 12:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 12:44:58] 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-25 12: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-25 12: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-25 12:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636364032001,"66":14428,"121":206,"28":31744,"24":33,"16":15840741330780160,"45":1789899407521550336},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636364032001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:44:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:44:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15840741330780160,"km_value":15840741330780.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789899407521550336,"description":"Unknown IO ID 45"} 
[2026-08-25 12:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636364032001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1789899407521550336}} 
[2026-08-25 12:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":162868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:44:58] local.INFO: GPS data processed {"connection_id":162868,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:44:58] local.INFO: Acknowledgment sent {"connection_id":162868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:45:16] local.INFO: TCP Data received {"connection_id":164246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:45:16] local.INFO: Processing buffer {"connection_id":164246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:45:16] local.INFO: IMEI packet received {"connection_id":164246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":164246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:45:17] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:45:17] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:45:17] local.INFO: Packet analysis {"connection_id":161625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:45:17] local.INFO: Extracted packet for processing {"connection_id":161625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636272128001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787641989000,"timestamp_ms":1787641989000,"timestamp_seconds":1787641989,"priority":1,"record_length":96,"hex_timestamp":"000001a037c40788"} 
[2026-08-25 12:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636272128001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636272128001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:45:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636272128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":161625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:45:17] local.INFO: GPS data processed {"connection_id":161625,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:45:17] local.INFO: Acknowledgment sent {"connection_id":161625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:45:20] local.INFO: TCP Data received {"connection_id":161876,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:45:20] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:45:20] local.INFO: IMEI packet received {"connection_id":161876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":161876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:45:21] local.INFO: TCP Data received {"connection_id":164246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:45:21] local.INFO: Processing buffer {"connection_id":164246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:45:21] local.INFO: IMEI packet received {"connection_id":164246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":164246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:45:21] local.INFO: TCP Data received {"connection_id":161876,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:45:21] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:45:21] local.INFO: IMEI packet received {"connection_id":161876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":161876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:45:22] local.INFO: TCP Data received {"connection_id":164246,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c4fda0012d7eab8005abc5f8000900c230..."} 
[2026-08-25 12:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c4fda0012d7eab8005abc5f8000900c230..."} 
[2026-08-25 12:45:22] local.INFO: Processing buffer {"connection_id":164246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c4fda0012d7eab8005abc5f8000900c230..."} 
[2026-08-25 12:45:22] local.INFO: Packet analysis {"connection_id":164246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:45:22] local.INFO: Extracted packet for processing {"connection_id":164246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:45:22] local.INFO: GPS Element Parsed {"raw_longitude":763276160,"raw_latitude":95143416,"longitude_deg":76.327616,"latitude_deg":9.5143416,"altitude":9,"angle":194,"satellites":48,"speed":24,"hex_longitude":"2d7eab80","hex_latitude":"05abc5f8","is_valid_coordinates":true} 
[2026-08-25 12:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636364800001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123465191475118080,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128022412851042304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787642052000,"timestamp_ms":1787642052000,"timestamp_seconds":1787642052,"priority":1,"record_length":96,"hex_timestamp":"000001a037c4fda0"} 
[2026-08-25 12:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:45: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-25 12:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625889,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5286644320881868800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3298811905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3776970759,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807928489,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1319698638,"corrected_to":0} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3623955838,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2723938304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2886701056,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":126,"raw_value":-5260198127900557304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241529054023253,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.WARNING: Large IO value detected {"io_id":56,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:22] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,169,85,24,241,157,16,162,160,226,45,128,208,9,46,10,66,206,64,213,183,192,1,240,227,55,171,4,113,205,15,77,182,216,239,52,2,5,8,22,126,51,56],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1319698638,"validated":0}]} 
[2026-08-25 12:45:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648747246624702464,"timestamp_seconds":648747246624702.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636364800001,"66":13298,"169":206,"85":14336,"24":24,"16":123465191475118080,"45":9128022412851042304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 12:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636364800001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:45:22] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 12:45:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123465191475118080,"km_value":123465191475118.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128022412851042304,"description":"Unknown IO ID 45"} 
[2026-08-25 12:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636364800001,"power":13298,"unknown_169":206,"unknown_85":14336,"ignition":24,"odometer":null,"unknown_45":9128022412851042304}} 
[2026-08-25 12:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":164246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:45:22] local.INFO: GPS data processed {"connection_id":164246,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:45:22] local.INFO: Acknowledgment sent {"connection_id":164246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:45:22] local.INFO: TCP Data received {"connection_id":161876,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:45:22] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:45:22] local.INFO: IMEI packet received {"connection_id":161876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":161876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:45:24] local.INFO: TCP Data received {"connection_id":161876,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:45:25] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:45:25] local.INFO: IMEI packet received {"connection_id":161876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":161876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:45:25] local.INFO: TCP Data received {"connection_id":161876,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c4f9b8012d18dfc00720f740003f00842c..."} 
[2026-08-25 12:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c4f9b8012d18dfc00720f740003f00842c..."} 
[2026-08-25 12:45:25] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c4f9b8012d18dfc00720f740003f00842c..."} 
[2026-08-25 12:45:25] local.INFO: Packet analysis {"connection_id":161876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:45:25] local.INFO: Extracted packet for processing {"connection_id":161876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:45:25] local.INFO: GPS Element Parsed {"raw_longitude":756604864,"raw_latitude":119600960,"longitude_deg":75.6604864,"latitude_deg":11.960096,"altitude":63,"angle":132,"satellites":44,"speed":33,"hex_longitude":"2d18dfc0","hex_latitude":"0720f740","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636364288001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15840861589864448,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790391988730607616,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787642051000,"timestamp_ms":1787642051000,"timestamp_seconds":1787642051,"priority":1,"record_length":96,"hex_timestamp":"000001a037c4f9b8"} 
[2026-08-25 12: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-25 12:45:25] 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-25 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 12:45:25] 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-25 12: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-25 12: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-25 12:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636364288001,"66":14396,"121":206,"28":31744,"24":33,"16":15840861589864448,"45":1790391988730607616},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636364288001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:45:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:45:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15840861589864448,"km_value":15840861589864.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790391988730607616,"description":"Unknown IO ID 45"} 
[2026-08-25 12:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636364288001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1790391988730607616}} 
[2026-08-25 12:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":161876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:45:25] local.INFO: GPS data processed {"connection_id":161876,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:45:25] local.INFO: Acknowledgment sent {"connection_id":161876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:45:40] local.INFO: TCP Data received {"connection_id":164247,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:45:40] local.INFO: Processing buffer {"connection_id":164247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:45:40] local.INFO: IMEI packet received {"connection_id":164247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":164247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:45:45] local.INFO: TCP Data received {"connection_id":164247,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:45:45] local.INFO: Processing buffer {"connection_id":164247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:45:45] local.INFO: IMEI packet received {"connection_id":164247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":164247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:45:48] local.INFO: TCP Data received {"connection_id":164247,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:45:48] local.INFO: Processing buffer {"connection_id":164247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:45:48] local.INFO: Packet analysis {"connection_id":164247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:45:48] local.INFO: Extracted packet for processing {"connection_id":164247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 12:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636272128001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787641989000,"timestamp_ms":1787641989000,"timestamp_seconds":1787641989,"priority":1,"record_length":96,"hex_timestamp":"000001a037c40788"} 
[2026-08-25 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-25 12:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 12:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636272128001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636272128001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:45:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636272128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":164247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:45:48] local.INFO: GPS data processed {"connection_id":164247,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:45:48] local.INFO: Acknowledgment sent {"connection_id":164247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:45:57] local.INFO: TCP Data received {"connection_id":161876,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c5c8c0012d198fc00720b478003a005b2b..."} 
[2026-08-25 12:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c5c8c0012d198fc00720b478003a005b2b..."} 
[2026-08-25 12:45:57] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c5c8c0012d198fc00720b478003a005b2b..."} 
[2026-08-25 12:45:57] local.INFO: Packet analysis {"connection_id":161876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c5"} 
[2026-08-25 12:45:57] local.INFO: Extracted packet for processing {"connection_id":161876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c5"} 
[2026-08-25 12:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756649920,"raw_latitude":119583864,"longitude_deg":75.664992,"latitude_deg":11.9583864,"altitude":58,"angle":91,"satellites":43,"speed":31,"hex_longitude":"2d198fc0","hex_latitude":"0720b478","is_valid_coordinates":true} 
[2026-08-25 12:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636378624001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15843352670896128,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841901909463824384,"note":"Value kept but may cause issues"} 
[2026-08-25 12:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787642104000,"timestamp_ms":1787642104000,"timestamp_seconds":1787642104,"priority":1,"record_length":96,"hex_timestamp":"000001a037c5c8c0"} 
[2026-08-25 12:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:45:57] 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-25 12:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-25 12:45:57] 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-25 12:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636378624001,"66":14624,"121":206,"28":31744,"24":31,"16":15843352670896128,"45":1841901909463824384},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636378624001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:45:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:45:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15843352670896128,"km_value":15843352670896.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841901909463824384,"description":"Unknown IO ID 45"} 
[2026-08-25 12:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636378624001,"power":14624,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1841901909463824384}} 
[2026-08-25 12:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":161876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:45:57] local.INFO: GPS data processed {"connection_id":161876,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:45:57] local.INFO: Acknowledgment sent {"connection_id":161876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:46:01] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:46:01] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:46:01] local.INFO: IMEI packet received {"connection_id":161877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":161877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:46:19] local.INFO: TCP Data received {"connection_id":164247,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:46:19] local.INFO: Processing buffer {"connection_id":164247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:46:19] local.INFO: Packet analysis {"connection_id":164247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:46:19] local.INFO: Extracted packet for processing {"connection_id":164247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636272128001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787641989000,"timestamp_ms":1787641989000,"timestamp_seconds":1787641989,"priority":1,"record_length":96,"hex_timestamp":"000001a037c40788"} 
[2026-08-25 12:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636272128001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636272128001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:46:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636272128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":164247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:46:19] local.INFO: GPS data processed {"connection_id":164247,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:46:19] local.INFO: Acknowledgment sent {"connection_id":164247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:46:34] local.INFO: TCP Data received {"connection_id":162869,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:46:34] local.INFO: Processing buffer {"connection_id":162869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:46:34] local.INFO: IMEI packet received {"connection_id":162869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":162869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:46:37] local.INFO: TCP Data received {"connection_id":162869,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:46:37] local.INFO: Processing buffer {"connection_id":162869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:46:37] local.INFO: IMEI packet received {"connection_id":162869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":162869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:46:38] local.INFO: TCP Data received {"connection_id":162869,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:46:38] local.INFO: Processing buffer {"connection_id":162869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:46:38] local.INFO: IMEI packet received {"connection_id":162869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":162869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:46:40] local.INFO: TCP Data received {"connection_id":161878,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:46:40] local.INFO: Processing buffer {"connection_id":161878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:46:40] local.INFO: IMEI packet received {"connection_id":161878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":161878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:46:42] local.INFO: TCP Data received {"connection_id":162869,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:46:42] local.INFO: Processing buffer {"connection_id":162869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:46:42] local.INFO: IMEI packet received {"connection_id":162869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":162869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:46:43] local.INFO: TCP Data received {"connection_id":164248,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:46:43] local.INFO: Processing buffer {"connection_id":164248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:46:43] local.INFO: IMEI packet received {"connection_id":164248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":164248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:46:44] local.INFO: TCP Data received {"connection_id":162869,"ip":"117.224.198.229","data_length":1360,"data_hex":"000000000000030f8e0a000001a037c66118012d19d9000720b2f0003200462c..."} 
[2026-08-25 12:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162869,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a037c66118012d19d9000720b2f0003200462c..."} 
[2026-08-25 12:46:44] local.INFO: Processing buffer {"connection_id":162869,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a037c66118012d19d9000720b2f0003200462c..."} 
[2026-08-25 12:46:44] local.INFO: Packet analysis {"connection_id":162869,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a037c6"} 
[2026-08-25 12:46:44] local.INFO: Extracted packet for processing {"connection_id":162869,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a037c6"} 
[2026-08-25 12:46:44] local.INFO: GPS Element Parsed {"raw_longitude":756668672,"raw_latitude":119583472,"longitude_deg":75.6668672,"latitude_deg":11.9583472,"altitude":50,"angle":70,"satellites":44,"speed":21,"hex_longitude":"2d19d900","hex_latitude":"0720b2f0","is_valid_coordinates":true} 
[2026-08-25 12:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636388352001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15844353398276096,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861957001554302976,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787642143000,"timestamp_ms":1787642143000,"timestamp_seconds":1787642143,"priority":1,"record_length":96,"hex_timestamp":"000001a037c66118"} 
[2026-08-25 12:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:46:44] 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-25 12:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-25 12:46:44] 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-25 12:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636388352001,"66":14428,"121":206,"28":31744,"24":21,"16":15844353398276096,"45":1861957001554302976},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636388352001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:46:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:46:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15844353398276096,"km_value":15844353398276.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861957001554302976,"description":"Unknown IO ID 45"} 
[2026-08-25 12:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636388352001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1861957001554302976}} 
[2026-08-25 12:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":162869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:46:44] local.INFO: GPS data processed {"connection_id":162869,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:46:44] local.INFO: Acknowledgment sent {"connection_id":162869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:46:44] local.INFO: Packet analysis {"connection_id":162869,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a037c6"} 
[2026-08-25 12:46:44] local.INFO: Incomplete packet, waiting for more data {"connection_id":162869,"needed":795,"available":565} 
[2026-08-25 12:46:45] local.INFO: TCP Data received {"connection_id":161878,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:46:45] local.INFO: Processing buffer {"connection_id":161878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:46:45] local.INFO: IMEI packet received {"connection_id":161878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":161878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:46:46] local.INFO: TCP Data received {"connection_id":161878,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:46:46] local.INFO: Processing buffer {"connection_id":161878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:46:46] local.INFO: Packet analysis {"connection_id":161878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:46:46] local.INFO: Extracted packet for processing {"connection_id":161878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636272128001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787641989000,"timestamp_ms":1787641989000,"timestamp_seconds":1787641989,"priority":1,"record_length":96,"hex_timestamp":"000001a037c40788"} 
[2026-08-25 12:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636272128001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636272128001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:46:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636272128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":161878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:46:46] local.INFO: GPS data processed {"connection_id":161878,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:46:46] local.INFO: Acknowledgment sent {"connection_id":161878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:46:46] local.INFO: TCP Data received {"connection_id":164248,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:46:46] local.INFO: Processing buffer {"connection_id":164248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:46:46] local.INFO: IMEI packet received {"connection_id":164248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":164248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:46:51] local.INFO: TCP Data received {"connection_id":164248,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:46:51] local.INFO: Processing buffer {"connection_id":164248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:46:51] local.INFO: IMEI packet received {"connection_id":164248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":164248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:46:52] local.INFO: TCP Data received {"connection_id":164248,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c63df0012d7e0e0005aab9f8000600d530..."} 
[2026-08-25 12:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c63df0012d7e0e0005aab9f8000600d530..."} 
[2026-08-25 12:46:53] local.INFO: Processing buffer {"connection_id":164248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c63df0012d7e0e0005aab9f8000600d530..."} 
[2026-08-25 12:46:53] local.INFO: Packet analysis {"connection_id":164248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c6"} 
[2026-08-25 12:46:53] local.INFO: Extracted packet for processing {"connection_id":164248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c6"} 
[2026-08-25 12:46:53] local.INFO: GPS Element Parsed {"raw_longitude":763235840,"raw_latitude":95074808,"longitude_deg":76.323584,"latitude_deg":9.5074808,"altitude":6,"angle":213,"satellites":48,"speed":45,"hex_longitude":"2d7e0e00","hex_latitude":"05aab9f8","is_valid_coordinates":true} 
[2026-08-25 12:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636383744001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123469052650717184,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088756653584119808,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787642134000,"timestamp_ms":1787642134000,"timestamp_seconds":1787642134,"priority":1,"record_length":96,"hex_timestamp":"000001a037c63df0"} 
[2026-08-25 12:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:46: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-25 12:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 12:46:53] 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-25 12:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636383744001,"66":13515,"125":206,"85":14336,"24":45,"16":123469052650717184,"45":9088756653584119808},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-08-25 12:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636383744001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:46:53] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-25 12:46:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123469052650717184,"km_value":123469052650717.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088756653584119808,"description":"Unknown IO ID 45"} 
[2026-08-25 12:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636383744001,"power":13515,"unknown_125":206,"unknown_85":14336,"ignition":45,"odometer":null,"unknown_45":9088756653584119808}} 
[2026-08-25 12:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":164248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:46:53] local.INFO: GPS data processed {"connection_id":164248,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:46:53] local.INFO: Acknowledgment sent {"connection_id":164248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:46:54] local.INFO: TCP Data received {"connection_id":164248,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c65948012d7dfc0005aa9c48000600d230..."} 
[2026-08-25 12:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c65948012d7dfc0005aa9c48000600d230..."} 
[2026-08-25 12:46:54] local.INFO: Processing buffer {"connection_id":164248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c65948012d7dfc0005aa9c48000600d230..."} 
[2026-08-25 12:46:54] local.INFO: Packet analysis {"connection_id":164248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c6"} 
[2026-08-25 12:46:54] local.INFO: Extracted packet for processing {"connection_id":164248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c6"} 
[2026-08-25 12:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763231232,"raw_latitude":95067208,"longitude_deg":76.3231232,"latitude_deg":9.5067208,"altitude":6,"angle":210,"satellites":48,"speed":54,"hex_longitude":"2d7dfc00","hex_latitude":"05aa9c48","is_valid_coordinates":true} 
[2026-08-25 12:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636386304001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123469486442414080,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083197522792019968,"note":"Value kept but may cause issues"} 
[2026-08-25 12:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787642141000,"timestamp_ms":1787642141000,"timestamp_seconds":1787642141,"priority":1,"record_length":96,"hex_timestamp":"000001a037c65948"} 
[2026-08-25 12:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:46: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-25 12:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 12:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636386304001,"66":13493,"125":206,"85":14336,"24":54,"16":123469486442414080,"45":9083197522792019968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-08-25 12:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636386304001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:46:54] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-25 12:46:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123469486442414080,"km_value":123469486442414.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083197522792019968,"description":"Unknown IO ID 45"} 
[2026-08-25 12:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636386304001,"power":13493,"unknown_125":206,"unknown_85":14336,"ignition":54,"odometer":null,"unknown_45":9083197522792019968}} 
[2026-08-25 12:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":164248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:46:54] local.INFO: GPS data processed {"connection_id":164248,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:46:54] local.INFO: Acknowledgment sent {"connection_id":164248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:47:00] local.INFO: TCP Data received {"connection_id":162869,"ip":"117.224.198.229","data_length":1025,"data_hex":"2d19bf400720a6780033006a2b00110000000a000400ef0100713b00f0010045..."} 
[2026-08-25 12:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162869,"packet_length":1025,"packet_hex":"2d19bf400720a6780033006a2b00110000000a000400ef0100713b00f0010045..."} 
[2026-08-25 12:47:00] local.INFO: Processing buffer {"connection_id":162869,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a037c66500012d19db400720b358003200552c..."} 
[2026-08-25 12:47:00] local.INFO: Packet analysis {"connection_id":162869,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a037c6"} 
[2026-08-25 12:47:00] local.INFO: Extracted packet for processing {"connection_id":162869,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c6"} 
[2026-08-25 12:47:00] local.INFO: GPS Element Parsed {"raw_longitude":756669248,"raw_latitude":119583576,"longitude_deg":75.6669248,"latitude_deg":11.9583576,"altitude":50,"angle":85,"satellites":44,"speed":23,"hex_longitude":"2d19db40","hex_latitude":"0720b358","is_valid_coordinates":true} 
[2026-08-25 12:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636388608001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15844379168079872,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862519951507779584,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787642144000,"timestamp_ms":1787642144000,"timestamp_seconds":1787642144,"priority":1,"record_length":96,"hex_timestamp":"000001a037c66500"} 
[2026-08-25 12:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:47:00] 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-25 12:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 12:47:00] 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-25 12:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636388608001,"66":14428,"121":206,"28":31744,"24":23,"16":15844379168079872,"45":1862519951507779584},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636388608001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:47:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:47:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15844379168079872,"km_value":15844379168079.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862519951507779584,"description":"Unknown IO ID 45"} 
[2026-08-25 12:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636388608001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1862519951507779584}} 
[2026-08-25 12:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":162869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:47:00] local.INFO: GPS data processed {"connection_id":162869,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:47:00] local.INFO: Acknowledgment sent {"connection_id":162869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:47:00] local.INFO: Packet analysis {"connection_id":162869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c6"} 
[2026-08-25 12:47:00] local.INFO: Extracted packet for processing {"connection_id":162869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c6"} 
[2026-08-25 12:47:00] local.INFO: GPS Element Parsed {"raw_longitude":756670400,"raw_latitude":119583536,"longitude_deg":75.66704,"latitude_deg":11.9583536,"altitude":50,"angle":96,"satellites":44,"speed":22,"hex_longitude":"2d19dfc0","hex_latitude":"0720b330","is_valid_coordinates":true} 
[2026-08-25 12:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636388864001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15844435002654720,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863153270205405184,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787642146000,"timestamp_ms":1787642146000,"timestamp_seconds":1787642146,"priority":1,"record_length":96,"hex_timestamp":"000001a037c66cd0"} 
[2026-08-25 12:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:47:00] 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-25 12:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 12:47:00] 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-25 12:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636388864001,"66":14494,"121":206,"28":31744,"24":22,"16":15844435002654720,"45":1863153270205405184},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636388864001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:47:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:47:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15844435002654720,"km_value":15844435002654.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863153270205405184,"description":"Unknown IO ID 45"} 
[2026-08-25 12:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636388864001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1863153270205405184}} 
[2026-08-25 12:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":162869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:47:00] local.INFO: GPS data processed {"connection_id":162869,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:47:00] local.INFO: Acknowledgment sent {"connection_id":162869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:47:18] local.INFO: TCP Data received {"connection_id":161878,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:47:18] local.INFO: Processing buffer {"connection_id":161878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:47:18] local.INFO: Packet analysis {"connection_id":161878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:47:18] local.INFO: Extracted packet for processing {"connection_id":161878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636272128001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787641989000,"timestamp_ms":1787641989000,"timestamp_seconds":1787641989,"priority":1,"record_length":96,"hex_timestamp":"000001a037c40788"} 
[2026-08-25 12:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636272128001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636272128001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:47:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636272128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":161878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:47:18] local.INFO: GPS data processed {"connection_id":161878,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:47:18] local.INFO: Acknowledgment sent {"connection_id":161878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:47:21] local.INFO: TCP Data received {"connection_id":161626,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:47:21] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:47:21] local.INFO: IMEI packet received {"connection_id":161626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":161626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:47:24] local.INFO: TCP Data received {"connection_id":161626,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:47:24] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:47:24] local.INFO: IMEI packet received {"connection_id":161626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":161626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:47:25] local.INFO: TCP Data received {"connection_id":161626,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c737f0012d1a3e400720f7700042006a2b..."} 
[2026-08-25 12:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c737f0012d1a3e400720f7700042006a2b..."} 
[2026-08-25 12:47:25] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c737f0012d1a3e400720f7700042006a2b..."} 
[2026-08-25 12:47:25] local.INFO: Packet analysis {"connection_id":161626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c7"} 
[2026-08-25 12:47:25] local.INFO: Extracted packet for processing {"connection_id":161626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c7"} 
[2026-08-25 12:47:25] local.INFO: GPS Element Parsed {"raw_longitude":756694592,"raw_latitude":119601008,"longitude_deg":75.6694592,"latitude_deg":11.9601008,"altitude":66,"angle":106,"satellites":43,"speed":8,"hex_longitude":"2d1a3e40","hex_latitude":"0720f770","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636402432001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845951126110208,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890737817927522304,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787642198000,"timestamp_ms":1787642198000,"timestamp_seconds":1787642198,"priority":1,"record_length":96,"hex_timestamp":"000001a037c737f0"} 
[2026-08-25 12: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-25 12:47:25] 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-25 12: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-25 12:47:25] 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-25 12: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-25 12: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-25 12:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636402432001,"66":14243,"121":206,"28":31744,"24":8,"16":15845951126110208,"45":1890737817927522304},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636402432001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:47:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:47:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845951126110208,"km_value":15845951126110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890737817927522304,"description":"Unknown IO ID 45"} 
[2026-08-25 12:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636402432001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1890737817927522304}} 
[2026-08-25 12:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":161626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:47:25] local.INFO: GPS data processed {"connection_id":161626,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:47:25] local.INFO: Acknowledgment sent {"connection_id":161626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:47:26] local.INFO: TCP Data received {"connection_id":164248,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c7b108012d7d2e0005a940b0001200b931..."} 
[2026-08-25 12:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c7b108012d7d2e0005a940b0001200b931..."} 
[2026-08-25 12:47:26] local.INFO: Processing buffer {"connection_id":164248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c7b108012d7d2e0005a940b0001200b931..."} 
[2026-08-25 12:47:26] local.INFO: Packet analysis {"connection_id":164248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c7"} 
[2026-08-25 12:47:26] local.INFO: Extracted packet for processing {"connection_id":164248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c7"} 
[2026-08-25 12:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763178496,"raw_latitude":94978224,"longitude_deg":76.3178496,"latitude_deg":9.4978224,"altitude":18,"angle":185,"satellites":49,"speed":57,"hex_longitude":"2d7d2e00","hex_latitude":"05a940b0","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636409088001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123474507259183104,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117452823246848,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787642229000,"timestamp_ms":1787642229000,"timestamp_seconds":1787642229,"priority":1,"record_length":96,"hex_timestamp":"000001a037c7b108"} 
[2026-08-25 12: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-25 12: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-25 12: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625896,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2952867197,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5284694886765821952,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3343099905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3198681107,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635489448664191,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1427243214,"corrected_to":0} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2147854813,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2842034176,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2851860480,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":125,"raw_value":-6269004453112709108,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093480815243691,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.WARNING: Large IO value detected {"io_id":56,"raw_value":6755601304649969,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:26] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,18,85,24,241,157,16,171,160,153,45,97,21,49,10,66,126,192,131,170,98,64,1,240,230,227,55,169,4,113,205,42,128,112,239,53,2,182,5,13,50,125,52,56],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1427243214,"validated":0}]} 
[2026-08-25 12:47:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513427388555853824,"timestamp_seconds":1513427388555853.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12: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-25 12:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636409088001,"66":13580,"18":206,"85":14336,"24":57,"16":123474507259183104,"45":9022117452823246848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-25 12:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636409088001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:47:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-25 12:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123474507259183104,"km_value":123474507259183.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117452823246848,"description":"Unknown IO ID 45"} 
[2026-08-25 12:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636409088001,"power":13580,"unknown_18":206,"unknown_85":14336,"ignition":57,"odometer":null,"unknown_45":9022117452823246848}} 
[2026-08-25 12:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":164248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:47:26] local.INFO: GPS data processed {"connection_id":164248,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:47:26] local.INFO: Acknowledgment sent {"connection_id":164248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:47:40] local.INFO: TCP Data received {"connection_id":162870,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:47:40] local.INFO: Processing buffer {"connection_id":162870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:47:40] local.INFO: IMEI packet received {"connection_id":162870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":162870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:47:46] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:47:46] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:47:46] local.INFO: IMEI packet received {"connection_id":161879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":161879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:47:47] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:47:47] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:47:47] local.INFO: IMEI packet received {"connection_id":161879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":161879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:47:47] local.INFO: TCP Data received {"connection_id":162870,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:47:47] local.INFO: Processing buffer {"connection_id":162870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:47:47] local.INFO: IMEI packet received {"connection_id":162870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":162870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:47:48] local.INFO: TCP Data received {"connection_id":162870,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:47:48] local.INFO: Processing buffer {"connection_id":162870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:47:48] local.INFO: Packet analysis {"connection_id":162870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:47:48] local.INFO: Extracted packet for processing {"connection_id":162870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636272128001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787641989000,"timestamp_ms":1787641989000,"timestamp_seconds":1787641989,"priority":1,"record_length":96,"hex_timestamp":"000001a037c40788"} 
[2026-08-25 12:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636272128001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636272128001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:47:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636272128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":162870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:47:48] local.INFO: GPS data processed {"connection_id":162870,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:47:48] local.INFO: Acknowledgment sent {"connection_id":162870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:47:54] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:47:54] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:47:54] local.INFO: IMEI packet received {"connection_id":161879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":161879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:47:55] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c7c490012d7d2e8005a92480001200ad30..."} 
[2026-08-25 12:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c7c490012d7d2e8005a92480001200ad30..."} 
[2026-08-25 12:47:55] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c7c490012d7d2e8005a92480001200ad30..."} 
[2026-08-25 12:47:55] local.INFO: Packet analysis {"connection_id":161879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c7"} 
[2026-08-25 12:47:55] local.INFO: Extracted packet for processing {"connection_id":161879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c7"} 
[2026-08-25 12:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763178624,"raw_latitude":94971008,"longitude_deg":76.3178624,"latitude_deg":9.4971008,"altitude":18,"angle":173,"satellites":48,"speed":57,"hex_longitude":"2d7d2e80","hex_latitude":"05a92480","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636410624001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123474859446501376,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020147127984107520,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787642234000,"timestamp_ms":1787642234000,"timestamp_seconds":1787642234,"priority":1,"record_length":96,"hex_timestamp":"000001a037c7c490"} 
[2026-08-25 12: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-25 12: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-25 12: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625896,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5284580537556533248,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3345147905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2697986068,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132239634,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1427243214,"corrected_to":0} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2818649469,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2147854782,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-2233559343146414507,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2848915456,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2849861632,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":125,"raw_value":-7818242725480759283,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.WARNING: Large IO value detected {"io_id":56,"raw_value":6755614189551857,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,18,85,24,241,157,16,171,160,153,45,97,21,49,10,66,126,192,1,240,34,227,170,55,169,4,113,205,67,108,168,239,52,2,182,5,15,125,56],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1427243214,"validated":0}]} 
[2026-08-25 12:47:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297240312790974464,"timestamp_seconds":1297240312790974.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12: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-25 12:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636410624001,"66":13450,"18":206,"85":14336,"24":57,"16":123474859446501376,"45":9020147127984107520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-25 12:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636410624001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:47:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-25 12:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123474859446501376,"km_value":123474859446501.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020147127984107520,"description":"Unknown IO ID 45"} 
[2026-08-25 12:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636410624001,"power":13450,"unknown_18":206,"unknown_85":14336,"ignition":57,"odometer":null,"unknown_45":9020147127984107520}} 
[2026-08-25 12:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":161879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:47:55] local.INFO: GPS data processed {"connection_id":161879,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:47:55] local.INFO: Acknowledgment sent {"connection_id":161879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:47:56] local.INFO: TCP Data received {"connection_id":161626,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c73bd8012d1a3f000720f6f0004200832c..."} 
[2026-08-25 12:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c73bd8012d1a3f000720f6f0004200832c..."} 
[2026-08-25 12:47:56] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c73bd8012d1a3f000720f6f0004200832c..."} 
[2026-08-25 12:47:56] local.INFO: Packet analysis {"connection_id":161626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c7"} 
[2026-08-25 12:47:56] local.INFO: Extracted packet for processing {"connection_id":161626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c7"} 
[2026-08-25 12:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756694784,"raw_latitude":119600880,"longitude_deg":75.6694784,"latitude_deg":11.960088,"altitude":66,"angle":131,"satellites":44,"speed":8,"hex_longitude":"2d1a3f00","hex_latitude":"0720f6f0","is_valid_coordinates":true} 
[2026-08-25 12:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636402688001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845964011012096,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891019292904222720,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787642199000,"timestamp_ms":1787642199000,"timestamp_seconds":1787642199,"priority":1,"record_length":96,"hex_timestamp":"000001a037c73bd8"} 
[2026-08-25 12:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:47:56] 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-25 12:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-25 12:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636402688001,"66":13928,"121":206,"28":31744,"24":8,"16":15845964011012096,"45":1891019292904222720},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636402688001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:47:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:47:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845964011012096,"km_value":15845964011012.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891019292904222720,"description":"Unknown IO ID 45"} 
[2026-08-25 12:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636402688001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1891019292904222720}} 
[2026-08-25 12:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":161626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:47:56] local.INFO: GPS data processed {"connection_id":161626,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:47:56] local.INFO: Acknowledgment sent {"connection_id":161626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:47:57] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c7dfe8012d7d360005a8fd48001200a830..."} 
[2026-08-25 12:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c7dfe8012d7d360005a8fd48001200a830..."} 
[2026-08-25 12:47:57] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c7dfe8012d7d360005a8fd48001200a830..."} 
[2026-08-25 12:47:57] local.INFO: Packet analysis {"connection_id":161879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c7"} 
[2026-08-25 12:47:57] local.INFO: Extracted packet for processing {"connection_id":161879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c7"} 
[2026-08-25 12:47:57] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":94960968,"longitude_deg":76.3180544,"latitude_deg":9.4960968,"altitude":18,"angle":168,"satellites":48,"speed":58,"hex_longitude":"2d7d3600","hex_latitude":"05a8fd48","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636411904001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123475353367740416,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020287865470615552,"note":"Value kept but may cause issues"} 
[2026-08-25 12:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787642241000,"timestamp_ms":1787642241000,"timestamp_seconds":1787642241,"priority":1,"record_length":96,"hex_timestamp":"000001a037c7dfe8"} 
[2026-08-25 12: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-25 12: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-25 12: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 12:47:57] 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-25 12: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-25 12: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-25 12:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636411904001,"66":13493,"18":206,"85":14336,"24":58,"16":123475353367740416,"45":9020287865470615552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-25 12:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636411904001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:47:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-25 12:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123475353367740416,"km_value":123475353367740.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020287865470615552,"description":"Unknown IO ID 45"} 
[2026-08-25 12:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636411904001,"power":13493,"unknown_18":206,"unknown_85":14336,"ignition":58,"odometer":null,"unknown_45":9020287865470615552}} 
[2026-08-25 12:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":161879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:47:57] local.INFO: GPS data processed {"connection_id":161879,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:47:57] local.INFO: Acknowledgment sent {"connection_id":161879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:48:19] local.INFO: TCP Data received {"connection_id":162870,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:48:19] local.INFO: Processing buffer {"connection_id":162870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c40788012d34c14006aa4820000700e62e..."} 
[2026-08-25 12:48:19] local.INFO: Packet analysis {"connection_id":162870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:48:19] local.INFO: Extracted packet for processing {"connection_id":162870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c4"} 
[2026-08-25 12:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636272128001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787641989000,"timestamp_ms":1787641989000,"timestamp_seconds":1787641989,"priority":1,"record_length":96,"hex_timestamp":"000001a037c40788"} 
[2026-08-25 12:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636272128001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636272128001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:48:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636272128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":162870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:48:19] local.INFO: GPS data processed {"connection_id":162870,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:48:19] local.INFO: Acknowledgment sent {"connection_id":162870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:48:22] local.INFO: TCP Data received {"connection_id":164249,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:48:22] local.INFO: Processing buffer {"connection_id":164249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:48:22] local.INFO: IMEI packet received {"connection_id":164249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":164249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:48:27] local.INFO: TCP Data received {"connection_id":164249,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:48:27] local.INFO: Processing buffer {"connection_id":164249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:48:27] local.INFO: IMEI packet received {"connection_id":164249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":164249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:48:28] local.INFO: TCP Data received {"connection_id":164249,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c73fc0012d1a3f400720f6480043008f2c..."} 
[2026-08-25 12:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c73fc0012d1a3f400720f6480043008f2c..."} 
[2026-08-25 12:48:28] local.INFO: Processing buffer {"connection_id":164249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c73fc0012d1a3f400720f6480043008f2c..."} 
[2026-08-25 12:48:28] local.INFO: Packet analysis {"connection_id":164249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c7"} 
[2026-08-25 12:48:28] local.INFO: Extracted packet for processing {"connection_id":164249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c7"} 
[2026-08-25 12:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756694848,"raw_latitude":119600712,"longitude_deg":75.6694848,"latitude_deg":11.9600712,"altitude":67,"angle":143,"satellites":44,"speed":8,"hex_longitude":"2d1a3f40","hex_latitude":"0720f648","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636402944001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845972600946688,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891230399136722944,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787642200000,"timestamp_ms":1787642200000,"timestamp_seconds":1787642200,"priority":1,"record_length":96,"hex_timestamp":"000001a037c73fc0"} 
[2026-08-25 12: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-25 12:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-25 12:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636402944001,"66":13928,"121":206,"28":31744,"24":8,"16":15845972600946688,"45":1891230399136722944},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636402944001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:48:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:48:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845972600946688,"km_value":15845972600946.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891230399136722944,"description":"Unknown IO ID 45"} 
[2026-08-25 12:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636402944001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1891230399136722944}} 
[2026-08-25 12:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":164249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:48:28] local.INFO: GPS data processed {"connection_id":164249,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:48:28] local.INFO: Acknowledgment sent {"connection_id":164249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:48:41] local.INFO: TCP Data received {"connection_id":162871,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:48:41] local.INFO: Processing buffer {"connection_id":162871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:48:41] local.INFO: IMEI packet received {"connection_id":162871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":162871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:48:41] local.INFO: TCP Data received {"connection_id":162871,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:48:41] local.INFO: Processing buffer {"connection_id":162871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:48:41] local.INFO: IMEI packet received {"connection_id":162871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":162871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:48:45] local.INFO: TCP Data received {"connection_id":162872,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:48:45] local.INFO: Processing buffer {"connection_id":162872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:48:45] local.INFO: IMEI packet received {"connection_id":162872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":162872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:48:46] local.INFO: TCP Data received {"connection_id":162871,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:48:46] local.INFO: Processing buffer {"connection_id":162871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:48:46] local.INFO: IMEI packet received {"connection_id":162871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":162871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:48:47] local.INFO: TCP Data received {"connection_id":162871,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c8e1b8012d7d8a4005a77d80000e00a72f..."} 
[2026-08-25 12:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c8e1b8012d7d8a4005a77d80000e00a72f..."} 
[2026-08-25 12:48:47] local.INFO: Processing buffer {"connection_id":162871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c8e1b8012d7d8a4005a77d80000e00a72f..."} 
[2026-08-25 12:48:47] local.INFO: Packet analysis {"connection_id":162871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:48:47] local.INFO: Extracted packet for processing {"connection_id":162871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:48:47] local.INFO: GPS Element Parsed {"raw_longitude":763202112,"raw_latitude":94862720,"longitude_deg":76.3202112,"latitude_deg":9.486272,"altitude":14,"angle":167,"satellites":47,"speed":62,"hex_longitude":"2d7d8a40","hex_latitude":"05a77d80","is_valid_coordinates":true} 
[2026-08-25 12:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636429056001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123480228155621376,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9043931763488903168,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787642307000,"timestamp_ms":1787642307000,"timestamp_seconds":1787642307,"priority":1,"record_length":96,"hex_timestamp":"000001a037c8e1b8"} 
[2026-08-25 12:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:48: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-25 12:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 12:48:47] 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-25 12:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636429056001,"66":13580,"63":206,"85":14336,"24":62,"16":123480228155621376,"45":9043931763488903168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-25 12:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636429056001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:48:47] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-25 12:48:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123480228155621376,"km_value":123480228155621.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9043931763488903168,"description":"Unknown IO ID 45"} 
[2026-08-25 12:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636429056001,"power":13580,"unknown_63":206,"unknown_85":14336,"ignition":62,"odometer":null,"unknown_45":9043931763488903168}} 
[2026-08-25 12:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":162871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:48:47] local.INFO: GPS data processed {"connection_id":162871,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:48:47] local.INFO: Acknowledgment sent {"connection_id":162871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:48:48] local.INFO: TCP Data received {"connection_id":162872,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:48:48] local.INFO: Processing buffer {"connection_id":162872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:48:48] local.INFO: IMEI packet received {"connection_id":162872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":162872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:48:49] local.INFO: TCP Data received {"connection_id":162872,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:48:49] local.INFO: Processing buffer {"connection_id":162872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:48:49] local.INFO: Packet analysis {"connection_id":162872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:48:49] local.INFO: Extracted packet for processing {"connection_id":162872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:48:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636349184001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787642290000,"timestamp_ms":1787642290000,"timestamp_seconds":1787642290,"priority":1,"record_length":96,"hex_timestamp":"000001a037c89f50"} 
[2026-08-25 12: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-25 12:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:48:49] 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-25 12: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-25 12: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-25 12:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636349184001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636349184001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:48:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636349184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":162872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:48:49] local.INFO: GPS data processed {"connection_id":162872,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:48:49] local.INFO: Acknowledgment sent {"connection_id":162872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:48:50] local.INFO: TCP Data received {"connection_id":162872,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:48:50] local.INFO: Processing buffer {"connection_id":162872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:48:50] local.INFO: Packet analysis {"connection_id":162872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:48:50] local.INFO: Extracted packet for processing {"connection_id":162872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:48:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 12:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636349184001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787642290000,"timestamp_ms":1787642290000,"timestamp_seconds":1787642290,"priority":1,"record_length":96,"hex_timestamp":"000001a037c89f50"} 
[2026-08-25 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-25 12:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 12:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636349184001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636349184001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:48:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:48:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636349184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":162872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:48:50] local.INFO: GPS data processed {"connection_id":162872,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:48:50] local.INFO: Acknowledgment sent {"connection_id":162872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:49:00] local.INFO: TCP Data received {"connection_id":164249,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c88010012d1a69000720bba0004a00e12c..."} 
[2026-08-25 12:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c88010012d1a69000720bba0004a00e12c..."} 
[2026-08-25 12:49:00] local.INFO: Processing buffer {"connection_id":164249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c88010012d1a69000720bba0004a00e12c..."} 
[2026-08-25 12:49:00] local.INFO: Packet analysis {"connection_id":164249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:49:00] local.INFO: Extracted packet for processing {"connection_id":164249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:49:00] local.INFO: GPS Element Parsed {"raw_longitude":756705536,"raw_latitude":119585696,"longitude_deg":75.6705536,"latitude_deg":11.9585696,"altitude":74,"angle":225,"satellites":44,"speed":3,"hex_longitude":"2d1a6900","hex_latitude":"0720bba0","is_valid_coordinates":true} 
[2026-08-25 12:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636422912001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15846977623293952,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903333823131504640,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787642282000,"timestamp_ms":1787642282000,"timestamp_seconds":1787642282,"priority":1,"record_length":96,"hex_timestamp":"000001a037c88010"} 
[2026-08-25 12:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:49:00] 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-25 12:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-25 12:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636422912001,"66":12993,"121":206,"28":31744,"24":3,"16":15846977623293952,"45":1903333823131504640},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636422912001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:49:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:49:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15846977623293952,"km_value":15846977623293.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903333823131504640,"description":"Unknown IO ID 45"} 
[2026-08-25 12:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636422912001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1903333823131504640}} 
[2026-08-25 12:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":164249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:49:00] local.INFO: GPS data processed {"connection_id":164249,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:49:00] local.INFO: Acknowledgment sent {"connection_id":164249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:49:18] local.INFO: TCP Data received {"connection_id":162871,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c8f928012d7d928005a759e8000e00a72f..."} 
[2026-08-25 12:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c8f928012d7d928005a759e8000e00a72f..."} 
[2026-08-25 12:49:18] local.INFO: Processing buffer {"connection_id":162871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c8f928012d7d928005a759e8000e00a72f..."} 
[2026-08-25 12:49:18] local.INFO: Packet analysis {"connection_id":162871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:49:18] local.INFO: Extracted packet for processing {"connection_id":162871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:49:18] local.INFO: GPS Element Parsed {"raw_longitude":763204224,"raw_latitude":94853608,"longitude_deg":76.3204224,"latitude_deg":9.4853608,"altitude":14,"angle":167,"satellites":47,"speed":61,"hex_longitude":"2d7d9280","hex_latitude":"05a759e8","is_valid_coordinates":true} 
[2026-08-25 12:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636430592001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123480683422154752,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9046113194556096512,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787642313000,"timestamp_ms":1787642313000,"timestamp_seconds":1787642313,"priority":1,"record_length":96,"hex_timestamp":"000001a037c8f928"} 
[2026-08-25 12:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625901,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":18433,"corrected_to":0} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5283233635812507648,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3364091905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635957600081170,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1427243214,"corrected_to":0} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2281778557,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2929131520,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2823786496,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":125,"raw_value":5926743330661597199,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":8358906673657597525,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":6755661434192113,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:18] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,63,85,24,241,157,16,176,160,202,45,128,14,47,10,66,178,195,13,46,175,155,192,1,240,88,227,55,168,4,113,205,61,108,98,120,239,53,18,2,182,5,125,52,56],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":202,"original":18433,"validated":0},{"io_id":205,"original":1427243214,"validated":0}]} 
[2026-08-25 12:49:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008990136840355840,"timestamp_seconds":1008990136840355.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636430592001,"66":13602,"166":206,"85":14336,"24":61,"16":123480683422154752,"45":9046113194556096512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-25 12:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636430592001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:49:18] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-25 12:49:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123480683422154752,"km_value":123480683422154.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9046113194556096512,"description":"Unknown IO ID 45"} 
[2026-08-25 12:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636430592001,"power":13602,"unknown_166":206,"unknown_85":14336,"ignition":61,"odometer":null,"unknown_45":9046113194556096512}} 
[2026-08-25 12:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":162871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:49:18] local.INFO: GPS data processed {"connection_id":162871,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:49:18] local.INFO: Acknowledgment sent {"connection_id":162871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:49:21] local.INFO: TCP Data received {"connection_id":161627,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:49:21] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:49:21] local.INFO: IMEI packet received {"connection_id":161627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":161627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:49:22] local.INFO: TCP Data received {"connection_id":162872,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:49:22] local.INFO: Processing buffer {"connection_id":162872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:49:22] local.INFO: Packet analysis {"connection_id":162872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:49:22] local.INFO: Extracted packet for processing {"connection_id":162872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:49:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636349184001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787642290000,"timestamp_ms":1787642290000,"timestamp_seconds":1787642290,"priority":1,"record_length":96,"hex_timestamp":"000001a037c89f50"} 
[2026-08-25 12: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-25 12:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:49:22] 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-25 12: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-25 12: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-25 12:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636349184001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636349184001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:49:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:49:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636349184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":162872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:49:22] local.INFO: GPS data processed {"connection_id":162872,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:49:22] local.INFO: Acknowledgment sent {"connection_id":162872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:49:24] local.INFO: TCP Data received {"connection_id":161627,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:49:24] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:49:24] local.INFO: IMEI packet received {"connection_id":161627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":161627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:49:27] local.INFO: TCP Data received {"connection_id":161627,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:49:27] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:49:27] local.INFO: IMEI packet received {"connection_id":161627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":161627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:49:27] local.INFO: TCP Data received {"connection_id":161627,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c883f8012d1a68800720bb70004a00fa2c..."} 
[2026-08-25 12:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c883f8012d1a68800720bb70004a00fa2c..."} 
[2026-08-25 12:49:27] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c883f8012d1a68800720bb70004a00fa2c..."} 
[2026-08-25 12:49:27] local.INFO: Packet analysis {"connection_id":161627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:49:27] local.INFO: Extracted packet for processing {"connection_id":161627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756705408,"raw_latitude":119585648,"longitude_deg":75.6705408,"latitude_deg":11.9585648,"altitude":74,"angle":250,"satellites":44,"speed":4,"hex_longitude":"2d1a6880","hex_latitude":"0720bb70","is_valid_coordinates":true} 
[2026-08-25 12:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636424192001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15846986213228544,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903052348154683392,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787642283000,"timestamp_ms":1787642283000,"timestamp_seconds":1787642283,"priority":1,"record_length":96,"hex_timestamp":"000001a037c883f8"} 
[2026-08-25 12:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 12:49:27] 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-25 12:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636424192001,"66":13004,"121":206,"28":31744,"24":4,"16":15846986213228544,"45":1903052348154683392},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636424192001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:49:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:49:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15846986213228544,"km_value":15846986213228.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903052348154683392,"description":"Unknown IO ID 45"} 
[2026-08-25 12:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636424192001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1903052348154683392}} 
[2026-08-25 12:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":161627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:49:28] local.INFO: GPS data processed {"connection_id":161627,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:49:28] local.INFO: Acknowledgment sent {"connection_id":161627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:49:40] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:49:40] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:49:40] local.INFO: IMEI packet received {"connection_id":161880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":161880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:49:41] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:49:41] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:49:41] local.INFO: IMEI packet received {"connection_id":161628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":161628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:49:45] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:49:45] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:49:45] local.INFO: IMEI packet received {"connection_id":161880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":161880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:49:46] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:49:46] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:49:46] local.INFO: Packet analysis {"connection_id":161880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:49:46] local.INFO: Extracted packet for processing {"connection_id":161880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636349184001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787642290000,"timestamp_ms":1787642290000,"timestamp_seconds":1787642290,"priority":1,"record_length":96,"hex_timestamp":"000001a037c89f50"} 
[2026-08-25 12:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636349184001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636349184001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636349184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:49:46] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:49:46] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:49:46] local.INFO: IMEI packet received {"connection_id":161628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":161628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":161880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:49:46] local.INFO: GPS data processed {"connection_id":161880,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:49:46] local.INFO: Acknowledgment sent {"connection_id":161880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:49:47] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037c91098012d7d9a8005a73810000e00a530..."} 
[2026-08-25 12:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c91098012d7d9a8005a73810000e00a530..."} 
[2026-08-25 12:49:47] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c91098012d7d9a8005a73810000e00a530..."} 
[2026-08-25 12:49:47] local.INFO: Packet analysis {"connection_id":161628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c9"} 
[2026-08-25 12:49:47] local.INFO: Extracted packet for processing {"connection_id":161628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c9"} 
[2026-08-25 12:49:47] local.INFO: GPS Element Parsed {"raw_longitude":763206272,"raw_latitude":94844944,"longitude_deg":76.3206272,"latitude_deg":9.4844944,"altitude":14,"angle":165,"satellites":48,"speed":58,"hex_longitude":"2d7d9a80","hex_latitude":"05a73810","is_valid_coordinates":true} 
[2026-08-25 12:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636432128001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123481112918884352,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9048435363111626752,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787642319000,"timestamp_ms":1787642319000,"timestamp_seconds":1787642319,"priority":1,"record_length":96,"hex_timestamp":"000001a037c91098"} 
[2026-08-25 12:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:49: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-25 12:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 12:49:47] 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-25 12:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636432128001,"66":13515,"166":206,"85":14336,"24":58,"16":123481112918884352,"45":9048435363111626752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-25 12:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636432128001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:49:47] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-25 12:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123481112918884352,"km_value":123481112918884.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9048435363111626752,"description":"Unknown IO ID 45"} 
[2026-08-25 12:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636432128001,"power":13515,"unknown_166":206,"unknown_85":14336,"ignition":58,"odometer":null,"unknown_45":9048435363111626752}} 
[2026-08-25 12:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":161628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:49:47] local.INFO: GPS data processed {"connection_id":161628,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:49:47] local.INFO: Acknowledgment sent {"connection_id":161628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:49:59] local.INFO: TCP Data received {"connection_id":161627,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c887e0012d1a68400720bb50004a011c2c..."} 
[2026-08-25 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c887e0012d1a68400720bb50004a011c2c..."} 
[2026-08-25 12:49:59] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c887e0012d1a68400720bb50004a011c2c..."} 
[2026-08-25 12:49:59] local.INFO: Packet analysis {"connection_id":161627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:49:59] local.INFO: Extracted packet for processing {"connection_id":161627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756705344,"raw_latitude":119585616,"longitude_deg":75.6705344,"latitude_deg":11.9585616,"altitude":74,"angle":284,"satellites":44,"speed":3,"hex_longitude":"2d1a6840","hex_latitude":"0720bb50","is_valid_coordinates":true} 
[2026-08-25 12:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636424448001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15846990508195840,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902911610666315776,"note":"Value kept but may cause issues"} 
[2026-08-25 12:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787642284000,"timestamp_ms":1787642284000,"timestamp_seconds":1787642284,"priority":1,"record_length":96,"hex_timestamp":"000001a037c887e0"} 
[2026-08-25 12:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:49:59] 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-25 12:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 12:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636424448001,"66":13004,"121":206,"28":31744,"24":3,"16":15846990508195840,"45":1902911610666315776},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636424448001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:49:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15846990508195840,"km_value":15846990508195.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902911610666315776,"description":"Unknown IO ID 45"} 
[2026-08-25 12:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636424448001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1902911610666315776}} 
[2026-08-25 12:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":161627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:49:59] local.INFO: GPS data processed {"connection_id":161627,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:49:59] local.INFO: Acknowledgment sent {"connection_id":161627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:50:17] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:50:17] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:50:17] local.INFO: Packet analysis {"connection_id":161880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:50:17] local.INFO: Extracted packet for processing {"connection_id":161880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636349184001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787642290000,"timestamp_ms":1787642290000,"timestamp_seconds":1787642290,"priority":1,"record_length":96,"hex_timestamp":"000001a037c89f50"} 
[2026-08-25 12:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:50:17] 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-25 12:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636349184001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636349184001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:50:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636349184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":161880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:50:17] local.INFO: GPS data processed {"connection_id":161880,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:50:17] local.INFO: Acknowledgment sent {"connection_id":161880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:50:18] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037ca31a8012d7e62c005a5fc10000e007831..."} 
[2026-08-25 12:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ca31a8012d7e62c005a5fc10000e007831..."} 
[2026-08-25 12:50:18] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ca31a8012d7e62c005a5fc10000e007831..."} 
[2026-08-25 12:50:18] local.INFO: Packet analysis {"connection_id":161628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:50:18] local.INFO: Extracted packet for processing {"connection_id":161628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:50:18] local.INFO: GPS Element Parsed {"raw_longitude":763257536,"raw_latitude":94764048,"longitude_deg":76.3257536,"latitude_deg":9.4764048,"altitude":14,"angle":120,"satellites":49,"speed":49,"hex_longitude":"2d7e62c0","hex_latitude":"05a5fc10","is_valid_coordinates":true} 
[2026-08-25 12:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636450560001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123485996296699904,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097904590246852608,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787642393000,"timestamp_ms":1787642393000,"timestamp_seconds":1787642393,"priority":1,"record_length":96,"hex_timestamp":"000001a037ca31a8"} 
[2026-08-25 12:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-25 12:50: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-25 12:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636450560001,"66":13319,"165":206,"85":14336,"24":49,"16":123485996296699904,"45":9097904590246852608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-25 12:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636450560001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:50:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-25 12:50:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123485996296699904,"km_value":123485996296699.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097904590246852608,"description":"Unknown IO ID 45"} 
[2026-08-25 12:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636450560001,"power":13319,"unknown_165":206,"unknown_85":14336,"ignition":49,"odometer":null,"unknown_45":9097904590246852608}} 
[2026-08-25 12:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":161628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:50:18] local.INFO: GPS data processed {"connection_id":161628,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:50:18] local.INFO: Acknowledgment sent {"connection_id":161628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:50:21] local.INFO: TCP Data received {"connection_id":164250,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:50:21] local.INFO: Processing buffer {"connection_id":164250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:50:21] local.INFO: IMEI packet received {"connection_id":164250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":164250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:50:22] local.INFO: TCP Data received {"connection_id":164250,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:50:22] local.INFO: Processing buffer {"connection_id":164250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:50:22] local.INFO: IMEI packet received {"connection_id":164250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":164250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:50:28] local.INFO: TCP Data received {"connection_id":164250,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:50:28] local.INFO: Processing buffer {"connection_id":164250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:50:28] local.INFO: IMEI packet received {"connection_id":164250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":164250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:50:40] local.INFO: TCP Data received {"connection_id":161881,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:50:40] local.INFO: Processing buffer {"connection_id":161881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:50:40] local.INFO: IMEI packet received {"connection_id":161881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":161881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:50:41] local.INFO: TCP Data received {"connection_id":162873,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:50:41] local.INFO: Processing buffer {"connection_id":162873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:50:41] local.INFO: IMEI packet received {"connection_id":162873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":162873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:50:42] local.INFO: TCP Data received {"connection_id":162873,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:50:42] local.INFO: Processing buffer {"connection_id":162873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:50:42] local.INFO: IMEI packet received {"connection_id":162873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":162873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:50:45] local.INFO: TCP Data received {"connection_id":161881,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:50:45] local.INFO: Processing buffer {"connection_id":161881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:50:45] local.INFO: IMEI packet received {"connection_id":161881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":161881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:50:46] local.INFO: TCP Data received {"connection_id":162873,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:50:46] local.INFO: Processing buffer {"connection_id":162873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:50:46] local.INFO: IMEI packet received {"connection_id":162873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":162873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:50:46] local.INFO: TCP Data received {"connection_id":161881,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:50:46] local.INFO: Processing buffer {"connection_id":161881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:50:46] local.INFO: Packet analysis {"connection_id":161881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:50:46] local.INFO: Extracted packet for processing {"connection_id":161881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636349184001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787642290000,"timestamp_ms":1787642290000,"timestamp_seconds":1787642290,"priority":1,"record_length":96,"hex_timestamp":"000001a037c89f50"} 
[2026-08-25 12:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636349184001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636349184001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636349184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":161881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:50:46] local.INFO: GPS data processed {"connection_id":161881,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:50:46] local.INFO: Acknowledgment sent {"connection_id":161881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:50:47] local.INFO: TCP Data received {"connection_id":162873,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037ca50e8012d7e834005a5e858000b007930..."} 
[2026-08-25 12:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ca50e8012d7e834005a5e858000b007930..."} 
[2026-08-25 12:50:47] local.INFO: Processing buffer {"connection_id":162873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ca50e8012d7e834005a5e858000b007930..."} 
[2026-08-25 12:50:47] local.INFO: Packet analysis {"connection_id":162873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:50:47] local.INFO: Extracted packet for processing {"connection_id":162873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:50:47] local.INFO: GPS Element Parsed {"raw_longitude":763265856,"raw_latitude":94759000,"longitude_deg":76.3265856,"latitude_deg":9.4759,"altitude":11,"angle":121,"satellites":48,"speed":52,"hex_longitude":"2d7e8340","hex_latitude":"05a5e858","is_valid_coordinates":true} 
[2026-08-25 12:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636452608001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123486464448135168,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107052526988693504,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787642401000,"timestamp_ms":1787642401000,"timestamp_seconds":1787642401,"priority":1,"record_length":96,"hex_timestamp":"000001a037ca50e8"} 
[2026-08-25 12:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:50: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-25 12:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":56,"raw_value":57771252924699960,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3384827905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-6419881195791437568,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1051066574,"corrected_to":0} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":168,"raw_value":4026609021,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3221595751,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827390,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3017801728,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2793719808,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.WARNING: Large IO value detected {"io_id":201,"raw_value":8514056390438944773,"note":"Value kept but may cause issues"} 
[2026-08-25 12:50:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,165,85,24,241,157,16,181,160,18,45,64,15,48,10,66,243,128,35,47,215,1,240,56,227,180,55,166,4,113,205,168,216,152,239,52,2,182,5,51,201],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1051066574,"validated":0}]} 
[2026-08-25 12:50:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008938468382932992,"timestamp_seconds":1008938468382933.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636452608001,"66":13624,"165":206,"85":14336,"24":52,"16":123486464448135168,"45":9107052526988693504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-25 12:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636452608001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:50:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-25 12:50:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123486464448135168,"km_value":123486464448135.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107052526988693504,"description":"Unknown IO ID 45"} 
[2026-08-25 12:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636452608001,"power":13624,"unknown_165":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":9107052526988693504}} 
[2026-08-25 12:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":162873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:50:47] local.INFO: GPS data processed {"connection_id":162873,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:50:47] local.INFO: Acknowledgment sent {"connection_id":162873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:51:18] local.INFO: TCP Data received {"connection_id":161881,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:51:18] local.INFO: Processing buffer {"connection_id":161881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:51:18] local.INFO: Packet analysis {"connection_id":161881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:51:18] local.INFO: Extracted packet for processing {"connection_id":161881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636349184001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787642290000,"timestamp_ms":1787642290000,"timestamp_seconds":1787642290,"priority":1,"record_length":96,"hex_timestamp":"000001a037c89f50"} 
[2026-08-25 12:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:51:18] 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-25 12:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636349184001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636349184001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:51:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636349184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":161881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:51:18] local.INFO: GPS data processed {"connection_id":161881,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:51:18] local.INFO: Acknowledgment sent {"connection_id":161881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:51:19] local.INFO: TCP Data received {"connection_id":162873,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037ca6c40012d7ea14005a5d5d8000b007930..."} 
[2026-08-25 12:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ca6c40012d7ea14005a5d5d8000b007930..."} 
[2026-08-25 12:51:19] local.INFO: Processing buffer {"connection_id":162873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ca6c40012d7ea14005a5d5d8000b007930..."} 
[2026-08-25 12:51:19] local.INFO: Packet analysis {"connection_id":162873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:51:19] local.INFO: Extracted packet for processing {"connection_id":162873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:51:19] local.INFO: GPS Element Parsed {"raw_longitude":763273536,"raw_latitude":94754264,"longitude_deg":76.3273536,"latitude_deg":9.4754264,"altitude":11,"angle":121,"satellites":48,"speed":52,"hex_longitude":"2d7ea140","hex_latitude":"05a5d5d8","is_valid_coordinates":true} 
[2026-08-25 12:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636454656001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123486898239832064,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116200463730497536,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787642408000,"timestamp_ms":1787642408000,"timestamp_seconds":1787642408,"priority":1,"record_length":96,"hex_timestamp":"000001a037ca6c40"} 
[2026-08-25 12:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 12:51:19] 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-25 12:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636454656001,"66":13472,"165":206,"85":14336,"24":52,"16":123486898239832064,"45":9116200463730497536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-25 12:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636454656001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:51:19] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-25 12:51:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123486898239832064,"km_value":123486898239832.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116200463730497536,"description":"Unknown IO ID 45"} 
[2026-08-25 12:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636454656001,"power":13472,"unknown_165":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":9116200463730497536}} 
[2026-08-25 12:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":162873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:51:19] local.INFO: GPS data processed {"connection_id":162873,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:51:19] local.INFO: Acknowledgment sent {"connection_id":162873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:51:22] local.INFO: TCP Data received {"connection_id":164250,"ip":"117.224.198.229","data_length":795,"data_hex":"000000000000030f8e0a000001a037c8d9e8012d1a67800720bae0004a011b2b..."} 
[2026-08-25 12:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c8d9e8012d1a67800720bae0004a011b2b..."} 
[2026-08-25 12:51:22] local.INFO: Processing buffer {"connection_id":164250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c8d9e8012d1a67800720bae0004a011b2b..."} 
[2026-08-25 12:51:22] local.INFO: Packet analysis {"connection_id":164250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:51:22] local.INFO: Extracted packet for processing {"connection_id":164250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:51:22] local.INFO: GPS Element Parsed {"raw_longitude":756705152,"raw_latitude":119585504,"longitude_deg":75.6705152,"latitude_deg":11.9585504,"altitude":74,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d1a6780","hex_latitude":"0720bae0","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636424704001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15846999098130432,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902841241922129920,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787642305000,"timestamp_ms":1787642305000,"timestamp_seconds":1787642305,"priority":1,"record_length":96,"hex_timestamp":"000001a037c8d9e8"} 
[2026-08-25 12: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-25 12:51:22] 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-25 12: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 12:51:22] 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-25 12: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-25 12: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-25 12:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.229","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636424704001,"66":12982,"121":206,"28":31744,"24":0,"16":15846999098130432,"45":1902841241922129920},"client_ip":"117.224.198.229","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 12:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636424704001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:51:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 12:51:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15846999098130432,"km_value":15846999098130.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902841241922129920,"description":"Unknown IO ID 45"} 
[2026-08-25 12:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636424704001,"power":12982,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1902841241922129920}} 
[2026-08-25 12:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":164250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:51:22] local.INFO: GPS data processed {"connection_id":164250,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:51:22] local.INFO: Acknowledgment sent {"connection_id":164250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:51:40] local.INFO: TCP Data received {"connection_id":161882,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:51:40] local.INFO: Processing buffer {"connection_id":161882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:51:40] local.INFO: IMEI packet received {"connection_id":161882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":161882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:51:40] local.INFO: TCP Data received {"connection_id":164251,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:51:40] local.INFO: Processing buffer {"connection_id":164251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:51:40] local.INFO: IMEI packet received {"connection_id":164251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":164251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:51:43] local.INFO: TCP Data received {"connection_id":164251,"ip":"117.224.198.229","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:51:43] local.INFO: Processing buffer {"connection_id":164251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:51:43] local.INFO: IMEI packet received {"connection_id":164251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":164251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:51:45] local.INFO: TCP Data received {"connection_id":161882,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:51:45] local.INFO: Processing buffer {"connection_id":161882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:51:45] local.INFO: IMEI packet received {"connection_id":161882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":161882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:51:46] local.INFO: TCP Data received {"connection_id":164251,"ip":"117.224.198.229","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 12:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164251,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 12:51:46] local.INFO: Processing buffer {"connection_id":164251,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 12:51:46] local.INFO: IMEI packet received {"connection_id":164251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":164251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:51:48] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:51:48] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:51:48] local.INFO: IMEI packet received {"connection_id":161883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":161883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:51:48] local.INFO: TCP Data received {"connection_id":161882,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:51:48] local.INFO: Processing buffer {"connection_id":161882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:51:48] local.INFO: Packet analysis {"connection_id":161882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:51:48] local.INFO: Extracted packet for processing {"connection_id":161882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636349184001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787642290000,"timestamp_ms":1787642290000,"timestamp_seconds":1787642290,"priority":1,"record_length":96,"hex_timestamp":"000001a037c89f50"} 
[2026-08-25 12:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636349184001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636349184001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:51:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636349184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":161882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:51:48] local.INFO: GPS data processed {"connection_id":161882,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:51:48] local.INFO: Acknowledgment sent {"connection_id":161882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:51:51] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:51:51] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:51:51] local.INFO: IMEI packet received {"connection_id":161883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":161883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:51:52] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037ca8b80012d7ec38005a5c288000c00762e..."} 
[2026-08-25 12:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ca8b80012d7ec38005a5c288000c00762e..."} 
[2026-08-25 12:51:52] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ca8b80012d7ec38005a5c288000c00762e..."} 
[2026-08-25 12:51:52] local.INFO: Packet analysis {"connection_id":161883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:51:52] local.INFO: Extracted packet for processing {"connection_id":161883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:51:52] local.INFO: GPS Element Parsed {"raw_longitude":763282304,"raw_latitude":94749320,"longitude_deg":76.3282304,"latitude_deg":9.474932,"altitude":12,"angle":118,"satellites":46,"speed":46,"hex_longitude":"2d7ec380","hex_latitude":"05a5c288","is_valid_coordinates":true} 
[2026-08-25 12:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636456448001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123487383571136512,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124644713030604800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787642416000,"timestamp_ms":1787642416000,"timestamp_seconds":1787642416,"priority":1,"record_length":96,"hex_timestamp":"000001a037ca8b80"} 
[2026-08-25 12:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:51: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-25 12:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 12:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636456448001,"66":13602,"165":206,"85":14336,"24":46,"16":123487383571136512,"45":9124644713030604800},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-25 12:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636456448001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:51:52] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-25 12:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123487383571136512,"km_value":123487383571136.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124644713030604800,"description":"Unknown IO ID 45"} 
[2026-08-25 12:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636456448001,"power":13602,"unknown_165":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":9124644713030604800}} 
[2026-08-25 12:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":161883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:51:52] local.INFO: GPS data processed {"connection_id":161883,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:51:52] local.INFO: Acknowledgment sent {"connection_id":161883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:51:53] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037caaac0012d7ee38005a5b270000d00732e..."} 
[2026-08-25 12:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037caaac0012d7ee38005a5b270000d00732e..."} 
[2026-08-25 12:51:53] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037caaac0012d7ee38005a5b270000d00732e..."} 
[2026-08-25 12:51:53] local.INFO: Packet analysis {"connection_id":161883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:51:53] local.INFO: Extracted packet for processing {"connection_id":161883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:51:53] local.INFO: GPS Element Parsed {"raw_longitude":763290496,"raw_latitude":94745200,"longitude_deg":76.3290496,"latitude_deg":9.47452,"altitude":13,"angle":115,"satellites":46,"speed":46,"hex_longitude":"2d7ee380","hex_latitude":"05a5b270","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636458496001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123487821657800704,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134285230981679104,"note":"Value kept but may cause issues"} 
[2026-08-25 12:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787642424000,"timestamp_ms":1787642424000,"timestamp_seconds":1787642424,"priority":1,"record_length":96,"hex_timestamp":"000001a037caaac0"} 
[2026-08-25 12: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-25 12:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 12:51:53] 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-25 12: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-25 12: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-25 12:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636458496001,"66":13580,"32":206,"85":14336,"24":46,"16":123487821657800704,"45":9134285230981679104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-25 12:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636458496001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:51:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 12:51:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123487821657800704,"km_value":123487821657800.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134285230981679104,"description":"Unknown IO ID 45"} 
[2026-08-25 12:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636458496001,"power":13580,"unknown_32":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":9134285230981679104}} 
[2026-08-25 12:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":161883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:51:53] local.INFO: GPS data processed {"connection_id":161883,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:51:53] local.INFO: Acknowledgment sent {"connection_id":161883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:52:20] local.INFO: TCP Data received {"connection_id":161882,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:52:20] local.INFO: Processing buffer {"connection_id":161882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:52:20] local.INFO: Packet analysis {"connection_id":161882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:52:20] local.INFO: Extracted packet for processing {"connection_id":161882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636349184001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787642290000,"timestamp_ms":1787642290000,"timestamp_seconds":1787642290,"priority":1,"record_length":96,"hex_timestamp":"000001a037c89f50"} 
[2026-08-25 12: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-25 12:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636349184001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636349184001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:52:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636349184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":161882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:52:20] local.INFO: GPS data processed {"connection_id":161882,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:52:20] local.INFO: Acknowledgment sent {"connection_id":161882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:52:24] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037caca00012d7f058005a5a1b0000d00742d..."} 
[2026-08-25 12:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037caca00012d7f058005a5a1b0000d00742d..."} 
[2026-08-25 12:52:24] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037caca00012d7f058005a5a1b0000d00742d..."} 
[2026-08-25 12:52:24] local.INFO: Packet analysis {"connection_id":161883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:52:24] local.INFO: Extracted packet for processing {"connection_id":161883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:52:24] local.INFO: GPS Element Parsed {"raw_longitude":763299200,"raw_latitude":94740912,"longitude_deg":76.32992,"latitude_deg":9.4740912,"altitude":13,"angle":116,"satellites":45,"speed":50,"hex_longitude":"2d7f0580","hex_latitude":"05a5a1b0","is_valid_coordinates":true} 
[2026-08-25 12:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636460544001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123488285514268672,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143292430235365376,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787642432000,"timestamp_ms":1787642432000,"timestamp_seconds":1787642432,"priority":1,"record_length":96,"hex_timestamp":"000001a037caca00"} 
[2026-08-25 12:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625908,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3044016128,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5281314988022038528,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":56,"raw_value":6755622779486449,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3392251905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635442203999909,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1051001038,"corrected_to":0} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252734,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2787330048,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035450935080701525,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.WARNING: Large IO value detected {"io_id":126,"raw_value":180150196546568210,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,32,85,24,241,157,16,183,160,139,45,128,194,12,46,10,66,165,108,64,213,11,48,182,80,1,240,56,227,55,4,113,205,49,18,239,50,2,5,53,126],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1051001038,"validated":0}]} 
[2026-08-25 12:52:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936875363901767680,"timestamp_seconds":936875363901767.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636460544001,"66":13276,"32":206,"85":14336,"24":50,"16":123488285514268672,"45":9143292430235365376},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-25 12:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636460544001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:52:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 12:52:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123488285514268672,"km_value":123488285514268.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143292430235365376,"description":"Unknown IO ID 45"} 
[2026-08-25 12:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636460544001,"power":13276,"unknown_32":206,"unknown_85":14336,"ignition":50,"odometer":null,"unknown_45":9143292430235365376}} 
[2026-08-25 12:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":161883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:52:24] local.INFO: GPS data processed {"connection_id":161883,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:52:24] local.INFO: Acknowledgment sent {"connection_id":161883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:52:38] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:52:38] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:52:38] local.INFO: IMEI packet received {"connection_id":161630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":161630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:52:40] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:52:40] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:52:40] local.INFO: IMEI packet received {"connection_id":161884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":161884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:52:41] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:52:41] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:52:41] local.INFO: IMEI packet received {"connection_id":161630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":161630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:52:45] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:52:45] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:52:45] local.INFO: IMEI packet received {"connection_id":161630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":161630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:52:45] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:52:45] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:52:45] local.INFO: IMEI packet received {"connection_id":161884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":161884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:52:45] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037cae940012d7f294005a59140000b00722f..."} 
[2026-08-25 12:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cae940012d7f294005a59140000b00722f..."} 
[2026-08-25 12:52:45] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cae940012d7f294005a59140000b00722f..."} 
[2026-08-25 12:52:45] local.INFO: Packet analysis {"connection_id":161630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:52:45] local.INFO: Extracted packet for processing {"connection_id":161630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ca"} 
[2026-08-25 12:52:45] local.INFO: GPS Element Parsed {"raw_longitude":763308352,"raw_latitude":94736704,"longitude_deg":76.3308352,"latitude_deg":9.4736704,"altitude":11,"angle":114,"satellites":47,"speed":47,"hex_longitude":"2d7f2940","hex_latitude":"05a59140","is_valid_coordinates":true} 
[2026-08-25 12:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636462592001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123488766550605824,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152862579442429952,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787642440000,"timestamp_ms":1787642440000,"timestamp_seconds":1787642440,"priority":1,"record_length":96,"hex_timestamp":"000001a037cae940"} 
[2026-08-25 12:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 12:52:45] 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-25 12:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636462592001,"66":13428,"32":206,"85":14336,"24":47,"16":123488766550605824,"45":9152862579442429952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-25 12:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636462592001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:52:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 12:52:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123488766550605824,"km_value":123488766550605.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152862579442429952,"description":"Unknown IO ID 45"} 
[2026-08-25 12:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636462592001,"power":13428,"unknown_32":206,"unknown_85":14336,"ignition":47,"odometer":null,"unknown_45":9152862579442429952}} 
[2026-08-25 12:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":161630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:52:46] local.INFO: GPS data processed {"connection_id":161630,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:52:46] local.INFO: Acknowledgment sent {"connection_id":161630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:52:46] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:52:46] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:52:46] local.INFO: Packet analysis {"connection_id":161884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:52:46] local.INFO: Extracted packet for processing {"connection_id":161884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636349184001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787642290000,"timestamp_ms":1787642290000,"timestamp_seconds":1787642290,"priority":1,"record_length":96,"hex_timestamp":"000001a037c89f50"} 
[2026-08-25 12:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636349184001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636349184001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636349184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":161884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:52:46] local.INFO: GPS data processed {"connection_id":161884,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:52:46] local.INFO: Acknowledgment sent {"connection_id":161884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:53:17] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037cb0c68012d7f4bc005a581b0000a00712f..."} 
[2026-08-25 12:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cb0c68012d7f4bc005a581b0000a00712f..."} 
[2026-08-25 12:53:17] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cb0c68012d7f4bc005a581b0000a00712f..."} 
[2026-08-25 12:53:17] local.INFO: Packet analysis {"connection_id":161630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cb"} 
[2026-08-25 12:53:17] local.INFO: Extracted packet for processing {"connection_id":161630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cb"} 
[2026-08-25 12:53:17] local.INFO: GPS Element Parsed {"raw_longitude":763317184,"raw_latitude":94732720,"longitude_deg":76.3317184,"latitude_deg":9.473272,"altitude":10,"angle":113,"satellites":47,"speed":27,"hex_longitude":"2d7f4bc0","hex_latitude":"05a581b0","is_valid_coordinates":true} 
[2026-08-25 12:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636464640001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123489234702041088,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162925309858758656,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787642449000,"timestamp_ms":1787642449000,"timestamp_seconds":1787642449,"priority":1,"record_length":96,"hex_timestamp":"000001a037cb0c68"} 
[2026-08-25 12:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 12:53:17] 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-25 12:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636464640001,"66":12982,"32":206,"85":14336,"24":27,"16":123489234702041088,"45":9162925309858758656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-25 12:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636464640001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:53:17] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 12:53:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123489234702041088,"km_value":123489234702041.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162925309858758656,"description":"Unknown IO ID 45"} 
[2026-08-25 12:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636464640001,"power":12982,"unknown_32":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":9162925309858758656}} 
[2026-08-25 12:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":161630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:53:17] local.INFO: GPS data processed {"connection_id":161630,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:53:17] local.INFO: Acknowledgment sent {"connection_id":161630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:53:17] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:53:17] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037c89f50012d34c14006aa4820000900e62f..."} 
[2026-08-25 12:53:17] local.INFO: Packet analysis {"connection_id":161884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:53:17] local.INFO: Extracted packet for processing {"connection_id":161884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037c8"} 
[2026-08-25 12:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636349184001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787642290000,"timestamp_ms":1787642290000,"timestamp_seconds":1787642290,"priority":1,"record_length":96,"hex_timestamp":"000001a037c89f50"} 
[2026-08-25 12:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 12:53:17] 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-25 12:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636349184001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636349184001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:53:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636349184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":161884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:53:17] local.INFO: GPS data processed {"connection_id":161884,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:53:17] local.INFO: Acknowledgment sent {"connection_id":161884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:53:41] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:53:41] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:53:41] local.INFO: IMEI packet received {"connection_id":161885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":161885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:53:45] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:53:45] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:53:45] local.INFO: IMEI packet received {"connection_id":161885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":161885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:53:46] local.INFO: TCP Data received {"connection_id":162874,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:53:46] local.INFO: Processing buffer {"connection_id":162874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:53:46] local.INFO: IMEI packet received {"connection_id":162874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":162874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:53:46] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037cb5a88012d7f59c005a57b88000d00732e..."} 
[2026-08-25 12:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cb5a88012d7f59c005a57b88000d00732e..."} 
[2026-08-25 12:53:46] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cb5a88012d7f59c005a57b88000d00732e..."} 
[2026-08-25 12:53:46] local.INFO: Packet analysis {"connection_id":161885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cb"} 
[2026-08-25 12:53:46] local.INFO: Extracted packet for processing {"connection_id":161885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cb"} 
[2026-08-25 12:53:46] local.INFO: GPS Element Parsed {"raw_longitude":763320768,"raw_latitude":94731144,"longitude_deg":76.3320768,"latitude_deg":9.4731144,"altitude":13,"angle":115,"satellites":46,"speed":0,"hex_longitude":"2d7f59c0","hex_latitude":"05a57b88","is_valid_coordinates":true} 
[2026-08-25 12:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636466944001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123489423680602112,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9172636196554256384,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787642469000,"timestamp_ms":1787642469000,"timestamp_seconds":1787642469,"priority":1,"record_length":96,"hex_timestamp":"000001a037cb5a88"} 
[2026-08-25 12:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-25 12:53:46] 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-25 12:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636466944001,"66":13624,"32":206,"85":14336,"24":0,"16":123489423680602112,"45":9172636196554256384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-25 12:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636466944001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:53:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 12:53:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123489423680602112,"km_value":123489423680602.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9172636196554256384,"description":"Unknown IO ID 45"} 
[2026-08-25 12:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636466944001,"power":13624,"unknown_32":206,"unknown_85":14336,"ignition":0,"odometer":null,"unknown_45":9172636196554256384}} 
[2026-08-25 12:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":161885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:53:46] local.INFO: GPS data processed {"connection_id":161885,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:53:46] local.INFO: Acknowledgment sent {"connection_id":161885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:53:49] local.INFO: TCP Data received {"connection_id":162874,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:53:49] local.INFO: Processing buffer {"connection_id":162874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:53:49] local.INFO: IMEI packet received {"connection_id":162874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":162874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:53:51] local.INFO: TCP Data received {"connection_id":162874,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:53:51] local.INFO: Processing buffer {"connection_id":162874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:53:51] local.INFO: Packet analysis {"connection_id":162874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:53:51] local.INFO: Extracted packet for processing {"connection_id":162874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636426240001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787642591000,"timestamp_ms":1787642591000,"timestamp_seconds":1787642591,"priority":1,"record_length":96,"hex_timestamp":"000001a037cd3718"} 
[2026-08-25 12:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636426240001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636426240001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636426240001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":162874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:53:51] local.INFO: GPS data processed {"connection_id":162874,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:53:51] local.INFO: Acknowledgment sent {"connection_id":162874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:53:52] local.INFO: TCP Data received {"connection_id":162874,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:53:52] local.INFO: Processing buffer {"connection_id":162874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:53:52] local.INFO: Packet analysis {"connection_id":162874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:53:52] local.INFO: Extracted packet for processing {"connection_id":162874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636426240001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787642591000,"timestamp_ms":1787642591000,"timestamp_seconds":1787642591,"priority":1,"record_length":96,"hex_timestamp":"000001a037cd3718"} 
[2026-08-25 12:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636426240001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636426240001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:53:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636426240001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":162874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:53:52] local.INFO: GPS data processed {"connection_id":162874,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:53:52] local.INFO: Acknowledgment sent {"connection_id":162874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:54:17] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037ce0238012d80564005a4bd98000a008f29..."} 
[2026-08-25 12:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ce0238012d80564005a4bd98000a008f29..."} 
[2026-08-25 12:54:17] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ce0238012d80564005a4bd98000a008f29..."} 
[2026-08-25 12:54:17] local.INFO: Packet analysis {"connection_id":161885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ce"} 
[2026-08-25 12:54:17] local.INFO: Extracted packet for processing {"connection_id":161885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ce"} 
[2026-08-25 12:54:17] local.INFO: GPS Element Parsed {"raw_longitude":763385408,"raw_latitude":94682520,"longitude_deg":76.3385408,"latitude_deg":9.468252,"altitude":10,"angle":143,"satellites":41,"speed":15,"hex_longitude":"2d805640","hex_latitude":"05a4bd98","is_valid_coordinates":true} 
[2026-08-25 12:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636511488001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123493435180056576,"note":"Value kept but may cause issues"} 
[2026-08-25 12:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9202331758105724928,"note":"Value kept but may cause issues"} 
[2026-08-25 12:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787642643000,"timestamp_ms":1787642643000,"timestamp_seconds":1787642643,"priority":1,"record_length":96,"hex_timestamp":"000001a037ce0238"} 
[2026-08-25 12:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 12:54:17] 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-25 12:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636511488001,"66":13515,"53":206,"85":14336,"24":15,"16":123493435180056576,"45":-9202331758105724928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-25 12:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636511488001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:54:17] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 12:54:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123493435180056576,"km_value":123493435180056.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9202331758105724928,"description":"Unknown IO ID 45"} 
[2026-08-25 12:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636511488001,"power":13515,"unknown_53":206,"unknown_85":14336,"ignition":15,"odometer":null,"unknown_45":-9202331758105724928}} 
[2026-08-25 12:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":161885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:54:17] local.INFO: GPS data processed {"connection_id":161885,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:54:17] local.INFO: Acknowledgment sent {"connection_id":161885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:54:25] local.INFO: TCP Data received {"connection_id":162874,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:54:25] local.INFO: Processing buffer {"connection_id":162874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:54:25] local.INFO: Packet analysis {"connection_id":162874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:54:25] local.INFO: Extracted packet for processing {"connection_id":162874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:54:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636426240001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787642591000,"timestamp_ms":1787642591000,"timestamp_seconds":1787642591,"priority":1,"record_length":96,"hex_timestamp":"000001a037cd3718"} 
[2026-08-25 12: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-25 12:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12: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":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636426240001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636426240001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:54:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:54:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636426240001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":162874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:54:25] local.INFO: GPS data processed {"connection_id":162874,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:54:25] local.INFO: Acknowledgment sent {"connection_id":162874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:54:40] local.INFO: TCP Data received {"connection_id":161632,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:54:40] local.INFO: Processing buffer {"connection_id":161632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:54:40] local.INFO: IMEI packet received {"connection_id":161632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":161632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:54:41] local.INFO: TCP Data received {"connection_id":162875,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:54:41] local.INFO: Processing buffer {"connection_id":162875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:54:41] local.INFO: IMEI packet received {"connection_id":162875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":162875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:54:45] local.INFO: TCP Data received {"connection_id":161632,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:54:45] local.INFO: Processing buffer {"connection_id":161632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:54:45] local.INFO: IMEI packet received {"connection_id":161632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":161632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:54:46] local.INFO: TCP Data received {"connection_id":161632,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:54:46] local.INFO: Processing buffer {"connection_id":161632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:54:46] local.INFO: Packet analysis {"connection_id":161632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:54:46] local.INFO: Extracted packet for processing {"connection_id":161632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636426240001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787642591000,"timestamp_ms":1787642591000,"timestamp_seconds":1787642591,"priority":1,"record_length":96,"hex_timestamp":"000001a037cd3718"} 
[2026-08-25 12:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636426240001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636426240001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636426240001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":161632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:54:46] local.INFO: GPS data processed {"connection_id":161632,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:54:46] local.INFO: Acknowledgment sent {"connection_id":161632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:54:46] local.INFO: TCP Data received {"connection_id":162875,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:54:46] local.INFO: Processing buffer {"connection_id":162875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:54:46] local.INFO: IMEI packet received {"connection_id":162875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":162875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:54:47] local.INFO: TCP Data received {"connection_id":162875,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037ce19a8012d805c4005a4b418000a009d2e..."} 
[2026-08-25 12:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ce19a8012d805c4005a4b418000a009d2e..."} 
[2026-08-25 12:54:47] local.INFO: Processing buffer {"connection_id":162875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ce19a8012d805c4005a4b418000a009d2e..."} 
[2026-08-25 12:54:47] local.INFO: Packet analysis {"connection_id":162875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ce"} 
[2026-08-25 12:54:47] local.INFO: Extracted packet for processing {"connection_id":162875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ce"} 
[2026-08-25 12:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763386944,"raw_latitude":94680088,"longitude_deg":76.3386944,"latitude_deg":9.4680088,"altitude":10,"angle":157,"satellites":46,"speed":20,"hex_longitude":"2d805c40","hex_latitude":"05a4b418","is_valid_coordinates":true} 
[2026-08-25 12:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636516608001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123493576913977344,"note":"Value kept but may cause issues"} 
[2026-08-25 12:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9199094795874756608,"note":"Value kept but may cause issues"} 
[2026-08-25 12:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787642649000,"timestamp_ms":1787642649000,"timestamp_seconds":1787642649,"priority":1,"record_length":96,"hex_timestamp":"000001a037ce19a8"} 
[2026-08-25 12:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 12:54:47] 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-25 12:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636516608001,"66":13646,"53":206,"85":14336,"24":20,"16":123493576913977344,"45":-9199094795874756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-25 12:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636516608001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:54:47] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 12:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123493576913977344,"km_value":123493576913977.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9199094795874756608,"description":"Unknown IO ID 45"} 
[2026-08-25 12:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636516608001,"power":13646,"unknown_53":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":-9199094795874756608}} 
[2026-08-25 12:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":162875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:54:48] local.INFO: GPS data processed {"connection_id":162875,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:54:48] local.INFO: Acknowledgment sent {"connection_id":162875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:55:17] local.INFO: TCP Data received {"connection_id":161632,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:55:17] local.INFO: Processing buffer {"connection_id":161632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:55:17] local.INFO: Packet analysis {"connection_id":161632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:55:17] local.INFO: Extracted packet for processing {"connection_id":161632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636426240001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787642591000,"timestamp_ms":1787642591000,"timestamp_seconds":1787642591,"priority":1,"record_length":96,"hex_timestamp":"000001a037cd3718"} 
[2026-08-25 12:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636426240001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636426240001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636426240001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":161632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:55:17] local.INFO: GPS data processed {"connection_id":161632,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:55:17] local.INFO: Acknowledgment sent {"connection_id":161632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:55:18] local.INFO: TCP Data received {"connection_id":162875,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037ce2948012d805e8005a4acd0000b00a82e..."} 
[2026-08-25 12:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ce2948012d805e8005a4acd0000b00a82e..."} 
[2026-08-25 12:55:18] local.INFO: Processing buffer {"connection_id":162875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ce2948012d805e8005a4acd0000b00a82e..."} 
[2026-08-25 12:55:18] local.INFO: Packet analysis {"connection_id":162875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ce"} 
[2026-08-25 12:55:18] local.INFO: Extracted packet for processing {"connection_id":162875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ce"} 
[2026-08-25 12:55:18] local.INFO: GPS Element Parsed {"raw_longitude":763387520,"raw_latitude":94678224,"longitude_deg":76.338752,"latitude_deg":9.4678224,"altitude":11,"angle":168,"satellites":46,"speed":18,"hex_longitude":"2d805e80","hex_latitude":"05a4acd0","is_valid_coordinates":true} 
[2026-08-25 12:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636518144001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123493671403257856,"note":"Value kept but may cause issues"} 
[2026-08-25 12:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197405946015115264,"note":"Value kept but may cause issues"} 
[2026-08-25 12:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787642653000,"timestamp_ms":1787642653000,"timestamp_seconds":1787642653,"priority":1,"record_length":96,"hex_timestamp":"000001a037ce2948"} 
[2026-08-25 12:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:55: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-25 12:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-25 12:55: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-25 12:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636518144001,"66":13363,"53":206,"85":14336,"24":18,"16":123493671403257856,"45":-9197405946015115264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-25 12:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636518144001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:55:18] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 12:55:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123493671403257856,"km_value":123493671403257.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197405946015115264,"description":"Unknown IO ID 45"} 
[2026-08-25 12:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636518144001,"power":13363,"unknown_53":206,"unknown_85":14336,"ignition":18,"odometer":null,"unknown_45":-9197405946015115264}} 
[2026-08-25 12:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":162875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:55:18] local.INFO: GPS data processed {"connection_id":162875,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:55:18] local.INFO: Acknowledgment sent {"connection_id":162875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:55:40] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:55:40] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:55:40] local.INFO: IMEI packet received {"connection_id":161887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":161887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:55:41] local.INFO: TCP Data received {"connection_id":164253,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:55:41] local.INFO: Processing buffer {"connection_id":164253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:55:41] local.INFO: IMEI packet received {"connection_id":164253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":164253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:55:45] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:55:45] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:55:45] local.INFO: IMEI packet received {"connection_id":161887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":161887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:55:46] local.INFO: TCP Data received {"connection_id":164253,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:55:46] local.INFO: Processing buffer {"connection_id":164253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:55:46] local.INFO: IMEI packet received {"connection_id":164253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":164253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:55:47] local.INFO: TCP Data received {"connection_id":164253,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037ce5c10012d8064c005a48800000a00a92d..."} 
[2026-08-25 12:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ce5c10012d8064c005a48800000a00a92d..."} 
[2026-08-25 12:55:47] local.INFO: Processing buffer {"connection_id":164253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ce5c10012d8064c005a48800000a00a92d..."} 
[2026-08-25 12:55:47] local.INFO: Packet analysis {"connection_id":164253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ce"} 
[2026-08-25 12:55:47] local.INFO: Extracted packet for processing {"connection_id":164253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ce"} 
[2026-08-25 12:55:47] local.INFO: GPS Element Parsed {"raw_longitude":763389120,"raw_latitude":94668800,"longitude_deg":76.338912,"latitude_deg":9.46688,"altitude":10,"angle":169,"satellites":45,"speed":33,"hex_longitude":"2d8064c0","hex_latitude":"05a48800","is_valid_coordinates":true} 
[2026-08-25 12:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636519168001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123494135259725824,"note":"Value kept but may cause issues"} 
[2026-08-25 12:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196772627317993472,"note":"Value kept but may cause issues"} 
[2026-08-25 12:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787642666000,"timestamp_ms":1787642666000,"timestamp_seconds":1787642666,"priority":1,"record_length":96,"hex_timestamp":"000001a037ce5c10"} 
[2026-08-25 12:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:55: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-25 12:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 12:55: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-25 12:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636519168001,"66":13319,"53":206,"85":14336,"24":33,"16":123494135259725824,"45":-9196772627317993472},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-25 12:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636519168001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:55:47] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 12:55:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123494135259725824,"km_value":123494135259725.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196772627317993472,"description":"Unknown IO ID 45"} 
[2026-08-25 12:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636519168001,"power":13319,"unknown_53":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":-9196772627317993472}} 
[2026-08-25 12:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":164253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:55:47] local.INFO: GPS data processed {"connection_id":164253,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:55:47] local.INFO: Acknowledgment sent {"connection_id":164253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:55:48] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:55:48] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:55:48] local.INFO: Packet analysis {"connection_id":161887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:55:48] local.INFO: Extracted packet for processing {"connection_id":161887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636426240001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787642591000,"timestamp_ms":1787642591000,"timestamp_seconds":1787642591,"priority":1,"record_length":96,"hex_timestamp":"000001a037cd3718"} 
[2026-08-25 12:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636426240001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636426240001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:55:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636426240001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":161887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:55:48] local.INFO: GPS data processed {"connection_id":161887,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:55:48] local.INFO: Acknowledgment sent {"connection_id":161887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:56:18] local.INFO: TCP Data received {"connection_id":164253,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037ce7f38012d80694005a475100008009c2f..."} 
[2026-08-25 12:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ce7f38012d80694005a475100008009c2f..."} 
[2026-08-25 12:56:18] local.INFO: Processing buffer {"connection_id":164253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ce7f38012d80694005a475100008009c2f..."} 
[2026-08-25 12:56:18] local.INFO: Packet analysis {"connection_id":164253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ce"} 
[2026-08-25 12:56:18] local.INFO: Extracted packet for processing {"connection_id":164253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ce"} 
[2026-08-25 12:56:18] local.INFO: GPS Element Parsed {"raw_longitude":763390272,"raw_latitude":94663952,"longitude_deg":76.3390272,"latitude_deg":9.4663952,"altitude":8,"angle":156,"satellites":47,"speed":9,"hex_longitude":"2d806940","hex_latitude":"05a47510","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636522496001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123494375777894400,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195013408715964416,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787642675000,"timestamp_ms":1787642675000,"timestamp_seconds":1787642675,"priority":1,"record_length":96,"hex_timestamp":"000001a037ce7f38"} 
[2026-08-25 12: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-25 12:56: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-25 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 12:56:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:18] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:18] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13456437,"corrected_to":0} 
[2026-08-25 12:56:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3221595375,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:18] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3489136651,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2562549482906845189,"corrected_to":0} 
[2026-08-25 12:56:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024916,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:18] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3153657856,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2768932864,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:18] local.WARNING: Large IO value detected {"io_id":192,"raw_value":57794961144173880,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:18] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2587318020292553984,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:18] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,53,85,24,241,157,16,189,160,41,45,128,172,11,46,10,66,188,25,64,180,2,1,240,203,227,55,164,4,113,205,23,125,239,52,54,182,5,7,31,192,165],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":203,"original":13456437,"validated":0},{"io_id":205,"original":2562549482906845189,"validated":0}]} 
[2026-08-25 12:56:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720761951120064512,"timestamp_seconds":720761951120064.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12: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-25 12:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636522496001,"66":13048,"53":206,"85":14336,"24":9,"16":123494375777894400,"45":-9195013408715964416},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-25 12:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636522496001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:56:18] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 12:56:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123494375777894400,"km_value":123494375777894.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195013408715964416,"description":"Unknown IO ID 45"} 
[2026-08-25 12:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636522496001,"power":13048,"unknown_53":206,"unknown_85":14336,"ignition":9,"odometer":null,"unknown_45":-9195013408715964416}} 
[2026-08-25 12:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":164253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:56:18] local.INFO: GPS data processed {"connection_id":164253,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:56:18] local.INFO: Acknowledgment sent {"connection_id":164253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:56:20] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:56:20] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:56:20] local.INFO: Packet analysis {"connection_id":161887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:56:20] local.INFO: Extracted packet for processing {"connection_id":161887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636426240001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787642591000,"timestamp_ms":1787642591000,"timestamp_seconds":1787642591,"priority":1,"record_length":96,"hex_timestamp":"000001a037cd3718"} 
[2026-08-25 12: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-25 12:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636426240001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636426240001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:56:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636426240001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":161887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:56:20] local.INFO: GPS data processed {"connection_id":161887,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:56:20] local.INFO: Acknowledgment sent {"connection_id":161887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:56:45] local.INFO: TCP Data received {"connection_id":162876,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:56:45] local.INFO: Processing buffer {"connection_id":162876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:56:45] local.INFO: IMEI packet received {"connection_id":162876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":162876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:56:45] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:56:45] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:56:45] local.INFO: IMEI packet received {"connection_id":161633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":161633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:56:46] local.INFO: TCP Data received {"connection_id":162876,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:56:46] local.INFO: Processing buffer {"connection_id":162876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:56:46] local.INFO: IMEI packet received {"connection_id":162876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":162876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:56:50] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:56:50] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:56:50] local.INFO: IMEI packet received {"connection_id":161633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":161633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:56:51] local.INFO: TCP Data received {"connection_id":162876,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:56:51] local.INFO: Processing buffer {"connection_id":162876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:56:51] local.INFO: IMEI packet received {"connection_id":162876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":162876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:56:51] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:56:51] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:56:51] local.INFO: Packet analysis {"connection_id":161633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:56:51] local.INFO: Extracted packet for processing {"connection_id":161633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636426240001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787642591000,"timestamp_ms":1787642591000,"timestamp_seconds":1787642591,"priority":1,"record_length":96,"hex_timestamp":"000001a037cd3718"} 
[2026-08-25 12: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-25 12:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636426240001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636426240001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:56:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636426240001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":161633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:56:51] local.INFO: GPS data processed {"connection_id":161633,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:56:51] local.INFO: Acknowledgment sent {"connection_id":161633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:56:52] local.INFO: TCP Data received {"connection_id":162876,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037cec588012d80758005a45a98000a00a82f..."} 
[2026-08-25 12:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cec588012d80758005a45a98000a00a82f..."} 
[2026-08-25 12:56:52] local.INFO: Processing buffer {"connection_id":162876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cec588012d80758005a45a98000a00a82f..."} 
[2026-08-25 12:56:52] local.INFO: Packet analysis {"connection_id":162876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ce"} 
[2026-08-25 12:56:52] local.INFO: Extracted packet for processing {"connection_id":162876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ce"} 
[2026-08-25 12:56:52] local.INFO: GPS Element Parsed {"raw_longitude":763393408,"raw_latitude":94657176,"longitude_deg":76.3393408,"latitude_deg":9.4657176,"altitude":10,"angle":168,"satellites":47,"speed":20,"hex_longitude":"2d807580","hex_latitude":"05a45a98","is_valid_coordinates":true} 
[2026-08-25 12:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636524800001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123494740850114560,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193746771322007552,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787642693000,"timestamp_ms":1787642693000,"timestamp_seconds":1787642693,"priority":1,"record_length":96,"hex_timestamp":"000001a037cec588"} 
[2026-08-25 12:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:56: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-25 12:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 12:56:52] 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-25 12:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636524800001,"66":13526,"53":206,"85":14336,"24":20,"16":123494740850114560,"45":-9193746771322007552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-25 12:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636524800001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:56:52] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 12:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123494740850114560,"km_value":123494740850114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193746771322007552,"description":"Unknown IO ID 45"} 
[2026-08-25 12:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636524800001,"power":13526,"unknown_53":206,"unknown_85":14336,"ignition":20,"odometer":null,"unknown_45":-9193746771322007552}} 
[2026-08-25 12:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":162876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:56:52] local.INFO: GPS data processed {"connection_id":162876,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:56:52] local.INFO: Acknowledgment sent {"connection_id":162876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:56:55] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:56:55] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:56:55] local.INFO: Packet analysis {"connection_id":161633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:56:55] local.INFO: Extracted packet for processing {"connection_id":161633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:56:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636426240001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787642591000,"timestamp_ms":1787642591000,"timestamp_seconds":1787642591,"priority":1,"record_length":96,"hex_timestamp":"000001a037cd3718"} 
[2026-08-25 12:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636426240001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636426240001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:56:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:56:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636426240001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":161633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:56:55] local.INFO: GPS data processed {"connection_id":161633,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:56:55] local.INFO: Acknowledgment sent {"connection_id":161633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:57:23] local.INFO: TCP Data received {"connection_id":162876,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037cf0020012d807c4005a43700000b00a82f..."} 
[2026-08-25 12:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cf0020012d807c4005a43700000b00a82f..."} 
[2026-08-25 12:57:23] local.INFO: Processing buffer {"connection_id":162876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cf0020012d807c4005a43700000b00a82f..."} 
[2026-08-25 12:57:23] local.INFO: Packet analysis {"connection_id":162876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cf"} 
[2026-08-25 12:57:23] local.INFO: Extracted packet for processing {"connection_id":162876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cf"} 
[2026-08-25 12:57:23] local.INFO: GPS Element Parsed {"raw_longitude":763395136,"raw_latitude":94648064,"longitude_deg":76.3395136,"latitude_deg":9.4648064,"altitude":11,"angle":168,"satellites":47,"speed":22,"hex_longitude":"2d807c40","hex_latitude":"05a43700","is_valid_coordinates":true} 
[2026-08-25 12:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636529408001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123495191821680640,"note":"Value kept but may cause issues"} 
[2026-08-25 12:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190298702859036672,"note":"Value kept but may cause issues"} 
[2026-08-25 12:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787642708000,"timestamp_ms":1787642708000,"timestamp_seconds":1787642708,"priority":1,"record_length":96,"hex_timestamp":"000001a037cf0020"} 
[2026-08-25 12:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 12:57:23] 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-25 12:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636529408001,"66":13406,"53":206,"85":14336,"24":22,"16":123495191821680640,"45":-9190298702859036672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-25 12:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636529408001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:57:23] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 12:57:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123495191821680640,"km_value":123495191821680.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190298702859036672,"description":"Unknown IO ID 45"} 
[2026-08-25 12:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636529408001,"power":13406,"unknown_53":206,"unknown_85":14336,"ignition":22,"odometer":null,"unknown_45":-9190298702859036672}} 
[2026-08-25 12:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":162876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:57:23] local.INFO: GPS data processed {"connection_id":162876,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:57:23] local.INFO: Acknowledgment sent {"connection_id":162876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:57:40] local.INFO: TCP Data received {"connection_id":164254,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:57:40] local.INFO: Processing buffer {"connection_id":164254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:57:40] local.INFO: IMEI packet received {"connection_id":164254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":164254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:57:41] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:57:41] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:57:41] local.INFO: IMEI packet received {"connection_id":161634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":161634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:57:45] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:57:45] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:57:45] local.INFO: IMEI packet received {"connection_id":161634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":161634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:57:45] local.INFO: TCP Data received {"connection_id":164254,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:57:45] local.INFO: Processing buffer {"connection_id":164254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:57:45] local.INFO: IMEI packet received {"connection_id":164254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":164254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:57:46] local.INFO: TCP Data received {"connection_id":164254,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:57:46] local.INFO: Processing buffer {"connection_id":164254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:57:46] local.INFO: Packet analysis {"connection_id":164254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:57:46] local.INFO: Extracted packet for processing {"connection_id":164254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636426240001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787642591000,"timestamp_ms":1787642591000,"timestamp_seconds":1787642591,"priority":1,"record_length":96,"hex_timestamp":"000001a037cd3718"} 
[2026-08-25 12:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636426240001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636426240001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636426240001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":164254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:57:46] local.INFO: GPS data processed {"connection_id":164254,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:57:46] local.INFO: Acknowledgment sent {"connection_id":164254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:57:47] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d11748012d80bd4005a2ad08000800a82f..."} 
[2026-08-25 12:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d11748012d80bd4005a2ad08000800a82f..."} 
[2026-08-25 12:57:47] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d11748012d80bd4005a2ad08000800a82f..."} 
[2026-08-25 12:57:47] local.INFO: Packet analysis {"connection_id":161634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:57:47] local.INFO: Extracted packet for processing {"connection_id":161634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763411776,"raw_latitude":94547208,"longitude_deg":76.3411776,"latitude_deg":9.4547208,"altitude":8,"angle":168,"satellites":47,"speed":23,"hex_longitude":"2d80bd40","hex_latitude":"05a2ad08","is_valid_coordinates":true} 
[2026-08-25 12:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636564224001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123500148213940224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9171862091910313984,"note":"Value kept but may cause issues"} 
[2026-08-25 12:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787642845000,"timestamp_ms":1787642845000,"timestamp_seconds":1787642845,"priority":1,"record_length":96,"hex_timestamp":"000001a037d11748"} 
[2026-08-25 12:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 12:57:47] 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-25 12:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636564224001,"66":13678,"17":206,"85":14336,"24":23,"16":123500148213940224,"45":-9171862091910313984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 12:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636564224001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:57:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123500148213940224,"km_value":123500148213940.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9171862091910313984,"description":"Unknown IO ID 45"} 
[2026-08-25 12:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636564224001,"power":13678,"axis_x":206,"unknown_85":14336,"ignition":23,"odometer":null,"unknown_45":-9171862091910313984}} 
[2026-08-25 12:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":161634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:57:47] local.INFO: GPS data processed {"connection_id":161634,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:57:47] local.INFO: Acknowledgment sent {"connection_id":161634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:58:17] local.INFO: TCP Data received {"connection_id":164254,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:58:17] local.INFO: Processing buffer {"connection_id":164254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:58:17] local.INFO: Packet analysis {"connection_id":164254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:58:17] local.INFO: Extracted packet for processing {"connection_id":164254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636426240001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787642591000,"timestamp_ms":1787642591000,"timestamp_seconds":1787642591,"priority":1,"record_length":96,"hex_timestamp":"000001a037cd3718"} 
[2026-08-25 12: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-25 12:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636426240001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636426240001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636426240001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":164254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:58:17] local.INFO: GPS data processed {"connection_id":164254,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:58:17] local.INFO: Acknowledgment sent {"connection_id":164254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:58:18] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d13a70012d80c08005a292c0000900b42f..."} 
[2026-08-25 12:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d13a70012d80c08005a292c0000900b42f..."} 
[2026-08-25 12:58:18] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d13a70012d80c08005a292c0000900b42f..."} 
[2026-08-25 12:58:18] local.INFO: Packet analysis {"connection_id":161634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:58:18] local.INFO: Extracted packet for processing {"connection_id":161634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:58:18] local.INFO: GPS Element Parsed {"raw_longitude":763412608,"raw_latitude":94540480,"longitude_deg":76.3412608,"latitude_deg":9.454048,"altitude":9,"angle":180,"satellites":47,"speed":41,"hex_longitude":"2d80c080","hex_latitude":"05a292c0","is_valid_coordinates":true} 
[2026-08-25 12:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636568320001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123500478926422016,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9170102873308198912,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787642854000,"timestamp_ms":1787642854000,"timestamp_seconds":1787642854,"priority":1,"record_length":96,"hex_timestamp":"000001a037d13a70"} 
[2026-08-25 12:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 12:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636568320001,"66":13559,"17":206,"85":14336,"24":41,"16":123500478926422016,"45":-9170102873308198912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 12:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636568320001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:58:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123500478926422016,"km_value":123500478926422.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9170102873308198912,"description":"Unknown IO ID 45"} 
[2026-08-25 12:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636568320001,"power":13559,"axis_x":206,"unknown_85":14336,"ignition":41,"odometer":null,"unknown_45":-9170102873308198912}} 
[2026-08-25 12:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":161634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:58:18] local.INFO: GPS data processed {"connection_id":161634,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:58:18] local.INFO: Acknowledgment sent {"connection_id":161634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:58:40] local.INFO: TCP Data received {"connection_id":164255,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:58:40] local.INFO: Processing buffer {"connection_id":164255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:58:40] local.INFO: IMEI packet received {"connection_id":164255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":164255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:58:41] local.INFO: TCP Data received {"connection_id":164256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:58:41] local.INFO: Processing buffer {"connection_id":164256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:58:41] local.INFO: IMEI packet received {"connection_id":164256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":164256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:58:45] local.INFO: TCP Data received {"connection_id":164256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:58:45] local.INFO: Processing buffer {"connection_id":164256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:58:45] local.INFO: IMEI packet received {"connection_id":164256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":164256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:58:46] local.INFO: TCP Data received {"connection_id":164256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:58:46] local.INFO: Processing buffer {"connection_id":164256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:58:46] local.INFO: IMEI packet received {"connection_id":164256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":164256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:58:46] local.INFO: TCP Data received {"connection_id":164255,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:58:46] local.INFO: Processing buffer {"connection_id":164255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:58:46] local.INFO: IMEI packet received {"connection_id":164255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":164255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:58:46] local.INFO: TCP Data received {"connection_id":164256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d159b0012d80c48005a26eb8000b00ac30..."} 
[2026-08-25 12:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d159b0012d80c48005a26eb8000b00ac30..."} 
[2026-08-25 12:58:47] local.INFO: Processing buffer {"connection_id":164256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d159b0012d80c48005a26eb8000b00ac30..."} 
[2026-08-25 12:58:47] local.INFO: Packet analysis {"connection_id":164256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:58:47] local.INFO: Extracted packet for processing {"connection_id":164256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:58:47] local.INFO: GPS Element Parsed {"raw_longitude":763413632,"raw_latitude":94531256,"longitude_deg":76.3413632,"latitude_deg":9.4531256,"altitude":11,"angle":172,"satellites":48,"speed":49,"hex_longitude":"2d80c480","hex_latitude":"05a26eb8","is_valid_coordinates":true} 
[2026-08-25 12:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636570624001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123500929897988096,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9169188079635611648,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787642862000,"timestamp_ms":1787642862000,"timestamp_seconds":1787642862,"priority":1,"record_length":96,"hex_timestamp":"000001a037d159b0"} 
[2026-08-25 12:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 12:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636570624001,"66":13515,"17":206,"85":14336,"24":49,"16":123500929897988096,"45":-9169188079635611648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 12:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636570624001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:58:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123500929897988096,"km_value":123500929897988.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9169188079635611648,"description":"Unknown IO ID 45"} 
[2026-08-25 12:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636570624001,"power":13515,"axis_x":206,"unknown_85":14336,"ignition":49,"odometer":null,"unknown_45":-9169188079635611648}} 
[2026-08-25 12:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":164256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:58:47] local.INFO: GPS data processed {"connection_id":164256,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:58:47] local.INFO: Acknowledgment sent {"connection_id":164256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:58:47] local.INFO: TCP Data received {"connection_id":164255,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:58:47] local.INFO: Processing buffer {"connection_id":164255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037cd3718012d34c14006aa4820000700e62d..."} 
[2026-08-25 12:58:47] local.INFO: Packet analysis {"connection_id":164255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:58:47] local.INFO: Extracted packet for processing {"connection_id":164255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037cd"} 
[2026-08-25 12:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636426240001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787642591000,"timestamp_ms":1787642591000,"timestamp_seconds":1787642591,"priority":1,"record_length":96,"hex_timestamp":"000001a037cd3718"} 
[2026-08-25 12:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 12:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636426240001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636426240001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636426240001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":164255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:58:47] local.INFO: GPS data processed {"connection_id":164255,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:58:47] local.INFO: Acknowledgment sent {"connection_id":164255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:58:51] local.INFO: TCP Data received {"connection_id":164256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d17508012d80ca0005a24b98000d00a930..."} 
[2026-08-25 12:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d17508012d80ca0005a24b98000d00a930..."} 
[2026-08-25 12:58:51] local.INFO: Processing buffer {"connection_id":164256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d17508012d80ca0005a24b98000d00a930..."} 
[2026-08-25 12:58:51] local.INFO: Packet analysis {"connection_id":164256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:58:51] local.INFO: Extracted packet for processing {"connection_id":164256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:58:51] local.INFO: GPS Element Parsed {"raw_longitude":763415040,"raw_latitude":94522264,"longitude_deg":76.341504,"latitude_deg":9.4522264,"altitude":13,"angle":169,"satellites":48,"speed":53,"hex_longitude":"2d80ca00","hex_latitude":"05a24b98","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636572672001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123501372279619584,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9168062179731130368,"note":"Value kept but may cause issues"} 
[2026-08-25 12:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787642869000,"timestamp_ms":1787642869000,"timestamp_seconds":1787642869,"priority":1,"record_length":96,"hex_timestamp":"000001a037d17508"} 
[2026-08-25 12: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-25 12:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 12:58:51] 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-25 12: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-25 12: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-25 12:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636572672001,"66":13559,"81":206,"85":14336,"24":53,"16":123501372279619584,"45":-9168062179731130368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-25 12:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636572672001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-25 12:58:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123501372279619584,"km_value":123501372279619.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9168062179731130368,"description":"Unknown IO ID 45"} 
[2026-08-25 12:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636572672001,"power":13559,"unknown_81":206,"unknown_85":14336,"ignition":53,"odometer":null,"unknown_45":-9168062179731130368}} 
[2026-08-25 12:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":164256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:58:51] local.INFO: GPS data processed {"connection_id":164256,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:58:51] local.INFO: Acknowledgment sent {"connection_id":164256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:59:13] local.INFO: TCP Data received {"connection_id":161635,"ip":"117.225.200.154","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:59:13] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:59:13] local.INFO: IMEI packet received {"connection_id":161635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 12:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":161635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:59:14] local.INFO: TCP Data received {"connection_id":161635,"ip":"117.225.200.154","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:59:14] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:59:14] local.INFO: IMEI packet received {"connection_id":161635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":161635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:59:18] local.INFO: TCP Data received {"connection_id":161635,"ip":"117.225.200.154","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:59:18] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 12:59:18] local.INFO: IMEI packet received {"connection_id":161635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 12:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":161635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:59:19] local.INFO: TCP Data received {"connection_id":164255,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 12:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 12:59:19] local.INFO: Processing buffer {"connection_id":164255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 12:59:19] local.INFO: Packet analysis {"connection_id":164255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:59:19] local.INFO: Extracted packet for processing {"connection_id":164255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:59:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12: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-25 12:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636503296001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787642892000,"timestamp_ms":1787642892000,"timestamp_seconds":1787642892,"priority":1,"record_length":96,"hex_timestamp":"000001a037d1cee0"} 
[2026-08-25 12: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-25 12:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 12:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12: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-25 12: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-25 12:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636503296001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636503296001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:59:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:59:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636503296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":164255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:59:19] local.INFO: GPS data processed {"connection_id":164255,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:59:19] local.INFO: Acknowledgment sent {"connection_id":164255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:59:22] local.INFO: TCP Data received {"connection_id":161635,"ip":"117.225.200.154","data_length":795,"data_hex":"000000000000030f8e0a000001a037d22ca0012d17a3400721d2b0004a010a1e..."} 
[2026-08-25 12:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d22ca0012d17a3400721d2b0004a010a1e..."} 
[2026-08-25 12:59:22] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d22ca0012d17a3400721d2b0004a010a1e..."} 
[2026-08-25 12:59:22] local.INFO: Packet analysis {"connection_id":161635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d2"} 
[2026-08-25 12:59:22] local.INFO: Extracted packet for processing {"connection_id":161635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d2"} 
[2026-08-25 12:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756523840,"raw_latitude":119657136,"longitude_deg":75.652384,"latitude_deg":11.9657136,"altitude":74,"angle":266,"satellites":30,"speed":0,"hex_longitude":"2d17a340","hex_latitude":"0721d2b0","is_valid_coordinates":true} 
[2026-08-25 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-25 12:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636580864001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15858685704142848,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704401383359397888,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787642916000,"timestamp_ms":1787642916000,"timestamp_seconds":1787642916,"priority":1,"record_length":96,"hex_timestamp":"000001a037d22ca0"} 
[2026-08-25 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-25 12:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 12:59:22] 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-25 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-25 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-25 12:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.200.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636580864001,"66":12113,"120":206,"28":31744,"24":0,"16":15858685704142848,"45":1704401383359397888},"client_ip":"117.225.200.154","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 12:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636580864001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:59:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:59:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15858685704142848,"km_value":15858685704142.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704401383359397888,"description":"Unknown IO ID 45"} 
[2026-08-25 12:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636580864001,"power":12113,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1704401383359397888}} 
[2026-08-25 12:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":161635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:59:22] local.INFO: GPS data processed {"connection_id":161635,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:59:22] local.INFO: Acknowledgment sent {"connection_id":161635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:59:25] local.INFO: TCP Data received {"connection_id":164256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d19060012d80d18005a22830000e00a72f..."} 
[2026-08-25 12:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d19060012d80d18005a22830000e00a72f..."} 
[2026-08-25 12:59:25] local.INFO: Processing buffer {"connection_id":164256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d19060012d80d18005a22830000e00a72f..."} 
[2026-08-25 12:59:25] local.INFO: Packet analysis {"connection_id":164256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:59:25] local.INFO: Extracted packet for processing {"connection_id":164256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:59:25] local.INFO: GPS Element Parsed {"raw_longitude":763416960,"raw_latitude":94513200,"longitude_deg":76.341696,"latitude_deg":9.45132,"altitude":14,"angle":167,"satellites":47,"speed":52,"hex_longitude":"2d80d180","hex_latitude":"05a22830","is_valid_coordinates":true} 
[2026-08-25 12:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636574464001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123501818956218368,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166514067361523712,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787642876000,"timestamp_ms":1787642876000,"timestamp_seconds":1787642876,"priority":1,"record_length":96,"hex_timestamp":"000001a037d19060"} 
[2026-08-25 12:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 12:59: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-25 12:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636574464001,"66":13319,"81":206,"85":14336,"24":52,"16":123501818956218368,"45":-9166514067361523712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-25 12:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636574464001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:59:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-25 12:59:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123501818956218368,"km_value":123501818956218.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166514067361523712,"description":"Unknown IO ID 45"} 
[2026-08-25 12:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636574464001,"power":13319,"unknown_81":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":-9166514067361523712}} 
[2026-08-25 12:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":164256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:59:25] local.INFO: GPS data processed {"connection_id":164256,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:59:25] local.INFO: Acknowledgment sent {"connection_id":164256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:59:40] local.INFO: TCP Data received {"connection_id":162877,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:59:40] local.INFO: Processing buffer {"connection_id":162877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:59:40] local.INFO: IMEI packet received {"connection_id":162877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 12:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":162877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:59:41] local.INFO: TCP Data received {"connection_id":162878,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:59:41] local.INFO: Processing buffer {"connection_id":162878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:59:41] local.INFO: IMEI packet received {"connection_id":162878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 12:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":162878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 12:59:45] local.INFO: TCP Data received {"connection_id":162878,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:59:45] local.INFO: Processing buffer {"connection_id":162878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:59:45] local.INFO: IMEI packet received {"connection_id":162878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":162878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:59:45] local.INFO: TCP Data received {"connection_id":162877,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:59:45] local.INFO: Processing buffer {"connection_id":162877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 12:59:45] local.INFO: IMEI packet received {"connection_id":162877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 12:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":162877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:59:46] local.INFO: TCP Data received {"connection_id":162878,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:59:46] local.INFO: Processing buffer {"connection_id":162878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 12:59:46] local.INFO: IMEI packet received {"connection_id":162878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 12:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":162878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 12:59:47] local.INFO: TCP Data received {"connection_id":162877,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 12:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 12:59:47] local.INFO: Processing buffer {"connection_id":162877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 12:59:47] local.INFO: Packet analysis {"connection_id":162877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:59:47] local.INFO: Extracted packet for processing {"connection_id":162877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 12:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636503296001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787642892000,"timestamp_ms":1787642892000,"timestamp_seconds":1787642892,"priority":1,"record_length":96,"hex_timestamp":"000001a037d1cee0"} 
[2026-08-25 12:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 12:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 12:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 12:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 12:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 12:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 12:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636503296001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 12:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 12:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 12:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636503296001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:59:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 12:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 12:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 12:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636503296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 12:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":162877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:59:47] local.INFO: GPS data processed {"connection_id":162877,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:59:47] local.INFO: Acknowledgment sent {"connection_id":162877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:59:47] local.INFO: TCP Data received {"connection_id":162878,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d1abb8012d80d94005a20200000d00a930..."} 
[2026-08-25 12:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d1abb8012d80d94005a20200000d00a930..."} 
[2026-08-25 12:59:47] local.INFO: Processing buffer {"connection_id":162878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d1abb8012d80d94005a20200000d00a930..."} 
[2026-08-25 12:59:47] local.INFO: Packet analysis {"connection_id":162878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:59:47] local.INFO: Extracted packet for processing {"connection_id":162878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763418944,"raw_latitude":94503424,"longitude_deg":76.3418944,"latitude_deg":9.4503424,"altitude":13,"angle":169,"satellites":48,"speed":58,"hex_longitude":"2d80d940","hex_latitude":"05a20200","is_valid_coordinates":true} 
[2026-08-25 12:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636576256001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123502304287522816,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9164403005038514176,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787642883000,"timestamp_ms":1787642883000,"timestamp_seconds":1787642883,"priority":1,"record_length":96,"hex_timestamp":"000001a037d1abb8"} 
[2026-08-25 12:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2159886341,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13457937,"corrected_to":0} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3507963905,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2902982664,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1511063758,"corrected_to":0} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3355520384,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3260219392,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2733965312,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57801399300150584,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":208,"raw_value":-7611082075312324603,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.WARNING: Large IO value detected {"io_id":163,"raw_value":1765411088300257280,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:47] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,81,85,24,241,157,16,196,160,117,45,75,13,48,10,66,195,89,128,110,11,17,58,1,240,247,227,55,162,4,113,205,23,216,183,136,239,52,2,182,5,7,46,208,163],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":247,"original":13457937,"validated":0},{"io_id":205,"original":1511063758,"validated":0}]} 
[2026-08-25 12:59:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008990136839700480,"timestamp_seconds":1008990136839700.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 12:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636576256001,"66":13537,"81":206,"85":14336,"24":58,"16":123502304287522816,"45":-9164403005038514176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-25 12:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636576256001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-25 12:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123502304287522816,"km_value":123502304287522.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9164403005038514176,"description":"Unknown IO ID 45"} 
[2026-08-25 12:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636576256001,"power":13537,"unknown_81":206,"unknown_85":14336,"ignition":58,"odometer":null,"unknown_45":-9164403005038514176}} 
[2026-08-25 12:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":162878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:59:47] local.INFO: GPS data processed {"connection_id":162878,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:59:47] local.INFO: Acknowledgment sent {"connection_id":162878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:59:51] local.INFO: TCP Data received {"connection_id":162878,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d1c328012d80df8005a1dff0000a00aa2f..."} 
[2026-08-25 12:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d1c328012d80df8005a1dff0000a00aa2f..."} 
[2026-08-25 12:59:51] local.INFO: Processing buffer {"connection_id":162878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d1c328012d80df8005a1dff0000a00aa2f..."} 
[2026-08-25 12:59:51] local.INFO: Packet analysis {"connection_id":162878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:59:51] local.INFO: Extracted packet for processing {"connection_id":162878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 12:59:51] local.INFO: GPS Element Parsed {"raw_longitude":763420544,"raw_latitude":94494704,"longitude_deg":76.3420544,"latitude_deg":9.4494704,"altitude":10,"angle":170,"satellites":47,"speed":59,"hex_longitude":"2d80df80","hex_latitude":"05a1dff0","is_valid_coordinates":true} 
[2026-08-25 12:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636578048001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123502733784252416,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9162221573971509248,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787642889000,"timestamp_ms":1787642889000,"timestamp_seconds":1787642889,"priority":1,"record_length":96,"hex_timestamp":"000001a037d1c328"} 
[2026-08-25 12:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-25 12:59:51] 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-25 12:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 12:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 12:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 12:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636578048001,"66":13580,"81":206,"85":14336,"24":59,"16":123502733784252416,"45":-9162221573971509248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-25 12:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 12:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 12:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636578048001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-25 12:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 12:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123502733784252416,"km_value":123502733784252.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9162221573971509248,"description":"Unknown IO ID 45"} 
[2026-08-25 12:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636578048001,"power":13580,"unknown_81":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":-9162221573971509248}} 
[2026-08-25 12:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":162878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:59:51] local.INFO: GPS data processed {"connection_id":162878,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:59:51] local.INFO: Acknowledgment sent {"connection_id":162878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 12:59:53] local.INFO: TCP Data received {"connection_id":161635,"ip":"117.225.200.154","data_length":795,"data_hex":"000000000000030f8e0a000001a037d27ea8012d17a3400721d2b0004a010a27..."} 
[2026-08-25 12:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d27ea8012d17a3400721d2b0004a010a27..."} 
[2026-08-25 12:59:53] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d27ea8012d17a3400721d2b0004a010a27..."} 
[2026-08-25 12:59:53] local.INFO: Packet analysis {"connection_id":161635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d2"} 
[2026-08-25 12:59:53] local.INFO: Extracted packet for processing {"connection_id":161635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d2"} 
[2026-08-25 12:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756523840,"raw_latitude":119657136,"longitude_deg":75.652384,"latitude_deg":11.9657136,"altitude":74,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d17a340","hex_latitude":"0721d2b0","is_valid_coordinates":true} 
[2026-08-25 12:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 12:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636586496001,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15858685704142848,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703275483452583936,"note":"Value kept but may cause issues"} 
[2026-08-25 12:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 12:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787642937000,"timestamp_ms":1787642937000,"timestamp_seconds":1787642937,"priority":1,"record_length":96,"hex_timestamp":"000001a037d27ea8"} 
[2026-08-25 12:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 12:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 12:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-25 12:59:53] 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-25 12:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 12:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 12:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 12:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 12:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 12:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.200.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 12:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 12:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 12:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636586496001,"66":13102,"120":206,"28":31744,"24":0,"16":15858685704142848,"45":1703275483452583936},"client_ip":"117.225.200.154","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 12:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 12:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 12:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636586496001,"description":"Unknown IO ID 0"} 
[2026-08-25 12:59:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 12:59:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 12:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15858685704142848,"km_value":15858685704142.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 12:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703275483452583936,"description":"Unknown IO ID 45"} 
[2026-08-25 12:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636586496001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1703275483452583936}} 
[2026-08-25 12:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":161635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 12:59:53] local.INFO: GPS data processed {"connection_id":161635,"processed":1,"errors":0,"total":1} 
[2026-08-25 12:59:53] local.INFO: Acknowledgment sent {"connection_id":161635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:00:20] local.INFO: TCP Data received {"connection_id":162877,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:00:20] local.INFO: Processing buffer {"connection_id":162877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:00:20] local.INFO: Packet analysis {"connection_id":162877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:00:20] local.INFO: Extracted packet for processing {"connection_id":162877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636503296001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787642892000,"timestamp_ms":1787642892000,"timestamp_seconds":1787642892,"priority":1,"record_length":96,"hex_timestamp":"000001a037d1cee0"} 
[2026-08-25 13: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-25 13:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636503296001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636503296001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:00:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636503296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":162877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:00:20] local.INFO: GPS data processed {"connection_id":162877,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:00:20] local.INFO: Acknowledgment sent {"connection_id":162877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:00:23] local.INFO: TCP Data received {"connection_id":162878,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d37c90012d813bc005a03170000900a72f..."} 
[2026-08-25 13:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d37c90012d813bc005a03170000900a72f..."} 
[2026-08-25 13:00:23] local.INFO: Processing buffer {"connection_id":162878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d37c90012d813bc005a03170000900a72f..."} 
[2026-08-25 13:00:23] local.INFO: Packet analysis {"connection_id":162878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:00:23] local.INFO: Extracted packet for processing {"connection_id":162878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:00:23] local.INFO: GPS Element Parsed {"raw_longitude":763444160,"raw_latitude":94384496,"longitude_deg":76.344416,"latitude_deg":9.4384496,"altitude":9,"angle":167,"satellites":47,"speed":37,"hex_longitude":"2d813bc0","hex_latitude":"05a03170","is_valid_coordinates":true} 
[2026-08-25 13:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636605952001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123508196982652928,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136607351118954496,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787643002000,"timestamp_ms":1787643002000,"timestamp_seconds":1787643002,"priority":1,"record_length":96,"hex_timestamp":"000001a037d37c90"} 
[2026-08-25 13:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 13:00:23] 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-25 13:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636605952001,"66":13798,"177":206,"85":14336,"24":37,"16":123508196982652928,"45":-9136607351118954496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 13:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636605952001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:00:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 13:00:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123508196982652928,"km_value":123508196982652.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136607351118954496,"description":"Unknown IO ID 45"} 
[2026-08-25 13:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636605952001,"power":13798,"unknown_177":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":-9136607351118954496}} 
[2026-08-25 13:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":162878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:00:23] local.INFO: GPS data processed {"connection_id":162878,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:00:23] local.INFO: Acknowledgment sent {"connection_id":162878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:00:24] local.INFO: TCP Data received {"connection_id":161635,"ip":"117.225.200.154","data_length":795,"data_hex":"000000000000030f8e0a000001a037d2d0b0012d17a3400721d2b0004a010a26..."} 
[2026-08-25 13:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d2d0b0012d17a3400721d2b0004a010a26..."} 
[2026-08-25 13:00:24] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d2d0b0012d17a3400721d2b0004a010a26..."} 
[2026-08-25 13:00:24] local.INFO: Packet analysis {"connection_id":161635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d2"} 
[2026-08-25 13:00:24] local.INFO: Extracted packet for processing {"connection_id":161635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d2"} 
[2026-08-25 13:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756523840,"raw_latitude":119657136,"longitude_deg":75.652384,"latitude_deg":11.9657136,"altitude":74,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d17a340","hex_latitude":"0721d2b0","is_valid_coordinates":true} 
[2026-08-25 13:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636591872001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15858685704142848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703275483452583936,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787642958000,"timestamp_ms":1787642958000,"timestamp_seconds":1787642958,"priority":1,"record_length":96,"hex_timestamp":"000001a037d2d0b0"} 
[2026-08-25 13:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:00:24] 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-25 13:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 13:00:24] 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-25 13:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.200.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636591872001,"66":12200,"120":206,"28":31744,"24":0,"16":15858685704142848,"45":1703275483452583936},"client_ip":"117.225.200.154","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636591872001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:00:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:00:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15858685704142848,"km_value":15858685704142.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703275483452583936,"description":"Unknown IO ID 45"} 
[2026-08-25 13:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636591872001,"power":12200,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1703275483452583936}} 
[2026-08-25 13:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":161635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:00:24] local.INFO: GPS data processed {"connection_id":161635,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:00:24] local.INFO: Acknowledgment sent {"connection_id":161635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:00:40] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:00:40] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:00:40] local.INFO: IMEI packet received {"connection_id":161888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":161888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:00:45] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:00:45] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:00:45] local.INFO: IMEI packet received {"connection_id":161888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":161888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:00:46] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:00:46] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:00:46] local.INFO: IMEI packet received {"connection_id":161889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":161889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:00:48] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:00:48] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:00:48] local.INFO: Packet analysis {"connection_id":161888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:00:48] local.INFO: Extracted packet for processing {"connection_id":161888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636503296001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787642892000,"timestamp_ms":1787642892000,"timestamp_seconds":1787642892,"priority":1,"record_length":96,"hex_timestamp":"000001a037d1cee0"} 
[2026-08-25 13:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636503296001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636503296001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:00:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636503296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":161888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:00:48] local.INFO: GPS data processed {"connection_id":161888,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:00:48] local.INFO: Acknowledgment sent {"connection_id":161888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:00:51] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:00:51] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:00:51] local.INFO: IMEI packet received {"connection_id":161889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":161889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:00:52] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d39fb8012d81444005a00b30000800a92c..."} 
[2026-08-25 13:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d39fb8012d81444005a00b30000800a92c..."} 
[2026-08-25 13:00:52] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d39fb8012d81444005a00b30000800a92c..."} 
[2026-08-25 13:00:52] local.INFO: Packet analysis {"connection_id":161889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:00:52] local.INFO: Extracted packet for processing {"connection_id":161889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:00:52] local.INFO: GPS Element Parsed {"raw_longitude":763446336,"raw_latitude":94374704,"longitude_deg":76.3446336,"latitude_deg":9.4374704,"altitude":8,"angle":169,"satellites":44,"speed":50,"hex_longitude":"2d814440","hex_latitude":"05a00b30","is_valid_coordinates":true} 
[2026-08-25 13:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636608512001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123508682313957376,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134496288795955200,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787643011000,"timestamp_ms":1787643011000,"timestamp_seconds":1787643011,"priority":1,"record_length":96,"hex_timestamp":"000001a037d39fb8"} 
[2026-08-25 13:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-25 13:00:52] 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-25 13:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636608512001,"66":13472,"177":206,"85":14336,"24":50,"16":123508682313957376,"45":-9134496288795955200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 13:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636608512001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:00:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 13:00:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123508682313957376,"km_value":123508682313957.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134496288795955200,"description":"Unknown IO ID 45"} 
[2026-08-25 13:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636608512001,"power":13472,"unknown_177":206,"unknown_85":14336,"ignition":50,"odometer":null,"unknown_45":-9134496288795955200}} 
[2026-08-25 13:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":161889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:00:52] local.INFO: GPS data processed {"connection_id":161889,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:00:52] local.INFO: Acknowledgment sent {"connection_id":161889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:00:55] local.INFO: TCP Data received {"connection_id":161635,"ip":"117.225.200.154","data_length":795,"data_hex":"000000000000030f8e0a000001a037d322b8012d17a3400721d2b0004a010a27..."} 
[2026-08-25 13:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d322b8012d17a3400721d2b0004a010a27..."} 
[2026-08-25 13:00:55] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d322b8012d17a3400721d2b0004a010a27..."} 
[2026-08-25 13:00:55] local.INFO: Packet analysis {"connection_id":161635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:00:55] local.INFO: Extracted packet for processing {"connection_id":161635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756523840,"raw_latitude":119657136,"longitude_deg":75.652384,"latitude_deg":11.9657136,"altitude":74,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d17a340","hex_latitude":"0721d2b0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636597248001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15858685704142848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703275483452583936,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787642979000,"timestamp_ms":1787642979000,"timestamp_seconds":1787642979,"priority":1,"record_length":96,"hex_timestamp":"000001a037d322b8"} 
[2026-08-25 13: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-25 13:00:55] 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-25 13: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-25 13:00:55] 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-25 13: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-25 13: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-25 13:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.200.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636597248001,"66":13015,"120":206,"28":31744,"24":0,"16":15858685704142848,"45":1703275483452583936},"client_ip":"117.225.200.154","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636597248001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:00:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15858685704142848,"km_value":15858685704142.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703275483452583936,"description":"Unknown IO ID 45"} 
[2026-08-25 13:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636597248001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1703275483452583936}} 
[2026-08-25 13:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":161635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:00:56] local.INFO: GPS data processed {"connection_id":161635,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:00:56] local.INFO: Acknowledgment sent {"connection_id":161635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:00:56] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d3bef8012d814b80059fe898000900a92b..."} 
[2026-08-25 13:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d3bef8012d814b80059fe898000900a92b..."} 
[2026-08-25 13:00:56] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d3bef8012d814b80059fe898000900a92b..."} 
[2026-08-25 13:00:56] local.INFO: Packet analysis {"connection_id":161889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:00:56] local.INFO: Extracted packet for processing {"connection_id":161889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763448192,"raw_latitude":94365848,"longitude_deg":76.3448192,"latitude_deg":9.4365848,"altitude":9,"angle":169,"satellites":43,"speed":42,"hex_longitude":"2d814b80","hex_latitude":"059fe898","is_valid_coordinates":true} 
[2026-08-25 13:00: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-25 13:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636610816001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123509120400621568,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9132103751496421376,"note":"Value kept but may cause issues"} 
[2026-08-25 13:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787643019000,"timestamp_ms":1787643019000,"timestamp_seconds":1787643019,"priority":1,"record_length":96,"hex_timestamp":"000001a037d3bef8"} 
[2026-08-25 13:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 13:00:56] 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-25 13:00: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-25 13:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636610816001,"66":13559,"177":206,"85":14336,"24":42,"16":123509120400621568,"45":-9132103751496421376},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 13:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636610816001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:00:56] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 13:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123509120400621568,"km_value":123509120400621.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9132103751496421376,"description":"Unknown IO ID 45"} 
[2026-08-25 13:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636610816001,"power":13559,"unknown_177":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9132103751496421376}} 
[2026-08-25 13:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":161889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:00:56] local.INFO: GPS data processed {"connection_id":161889,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:00:56] local.INFO: Acknowledgment sent {"connection_id":161889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:01:19] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:01:19] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:01:19] local.INFO: Packet analysis {"connection_id":161888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:01:19] local.INFO: Extracted packet for processing {"connection_id":161888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636503296001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787642892000,"timestamp_ms":1787642892000,"timestamp_seconds":1787642892,"priority":1,"record_length":96,"hex_timestamp":"000001a037d1cee0"} 
[2026-08-25 13:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636503296001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636503296001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636503296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":161888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:01:19] local.INFO: GPS data processed {"connection_id":161888,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:01:19] local.INFO: Acknowledgment sent {"connection_id":161888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:01:27] local.INFO: TCP Data received {"connection_id":161635,"ip":"117.225.200.154","data_length":795,"data_hex":"000000000000030f8e0a000001a037d374c0012d17a3400721d2b0004a010a28..."} 
[2026-08-25 13:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d374c0012d17a3400721d2b0004a010a28..."} 
[2026-08-25 13:01:27] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d374c0012d17a3400721d2b0004a010a28..."} 
[2026-08-25 13:01:27] local.INFO: Packet analysis {"connection_id":161635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:01:27] local.INFO: Extracted packet for processing {"connection_id":161635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756523840,"raw_latitude":119657136,"longitude_deg":75.652384,"latitude_deg":11.9657136,"altitude":74,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d17a340","hex_latitude":"0721d2b0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636602624001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15858685704142848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703275483452583936,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787643000000,"timestamp_ms":1787643000000,"timestamp_seconds":1787643000,"priority":1,"record_length":96,"hex_timestamp":"000001a037d374c0"} 
[2026-08-25 13: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-25 13:01:27] 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-25 13: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-25 13:01:27] 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-25 13: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-25 13: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-25 13:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.200.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636602624001,"66":12961,"120":206,"28":31744,"24":0,"16":15858685704142848,"45":1703275483452583936},"client_ip":"117.225.200.154","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636602624001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:01:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:01:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15858685704142848,"km_value":15858685704142.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703275483452583936,"description":"Unknown IO ID 45"} 
[2026-08-25 13:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636602624001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1703275483452583936}} 
[2026-08-25 13:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":161635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:01:27] local.INFO: GPS data processed {"connection_id":161635,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:01:27] local.INFO: Acknowledgment sent {"connection_id":161635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:01:32] local.INFO: TCP Data received {"connection_id":162879,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:01:32] local.INFO: Processing buffer {"connection_id":162879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:01:32] local.INFO: IMEI packet received {"connection_id":162879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 13:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":162879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:01:36] local.INFO: TCP Data received {"connection_id":162879,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:01:36] local.INFO: Processing buffer {"connection_id":162879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:01:36] local.INFO: IMEI packet received {"connection_id":162879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 13:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":162879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:01:38] local.INFO: TCP Data received {"connection_id":162879,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:01:38] local.INFO: Processing buffer {"connection_id":162879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:01:38] local.INFO: IMEI packet received {"connection_id":162879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 13:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":162879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:01:41] local.INFO: TCP Data received {"connection_id":164257,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:01:41] local.INFO: Processing buffer {"connection_id":164257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:01:41] local.INFO: IMEI packet received {"connection_id":164257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":164257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:01:43] local.INFO: TCP Data received {"connection_id":164257,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:01:43] local.INFO: Processing buffer {"connection_id":164257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:01:43] local.INFO: IMEI packet received {"connection_id":164257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":164257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:01:43] local.INFO: TCP Data received {"connection_id":164257,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d3e220012d815300059fc390000a00a82f..."} 
[2026-08-25 13:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d3e220012d815300059fc390000a00a82f..."} 
[2026-08-25 13:01:43] local.INFO: Processing buffer {"connection_id":164257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d3e220012d815300059fc390000a00a82f..."} 
[2026-08-25 13:01:43] local.INFO: Packet analysis {"connection_id":164257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:01:43] local.INFO: Extracted packet for processing {"connection_id":164257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:01:43] local.INFO: GPS Element Parsed {"raw_longitude":763450112,"raw_latitude":94356368,"longitude_deg":76.3450112,"latitude_deg":9.4356368,"altitude":10,"angle":168,"satellites":47,"speed":40,"hex_longitude":"2d815300","hex_latitude":"059fc390","is_valid_coordinates":true} 
[2026-08-25 13:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636612864001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123509588552056832,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130063057917536256,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787643028000,"timestamp_ms":1787643028000,"timestamp_seconds":1787643028,"priority":1,"record_length":96,"hex_timestamp":"000001a037d3e220"} 
[2026-08-25 13:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 13:01:43] 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-25 13:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636612864001,"66":13319,"177":206,"85":14336,"24":40,"16":123509588552056832,"45":-9130063057917536256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 13:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636612864001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:01:43] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 13:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123509588552056832,"km_value":123509588552056.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130063057917536256,"description":"Unknown IO ID 45"} 
[2026-08-25 13:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636612864001,"power":13319,"unknown_177":206,"unknown_85":14336,"ignition":40,"odometer":null,"unknown_45":-9130063057917536256}} 
[2026-08-25 13:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":164257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:01:43] local.INFO: GPS data processed {"connection_id":164257,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:01:43] local.INFO: Acknowledgment sent {"connection_id":164257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:01:45] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:01:45] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:01:45] local.INFO: IMEI packet received {"connection_id":161890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":161890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:01:50] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:01:50] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:01:50] local.INFO: IMEI packet received {"connection_id":161890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":161890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:01:51] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:01:51] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:01:51] local.INFO: Packet analysis {"connection_id":161890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:01:51] local.INFO: Extracted packet for processing {"connection_id":161890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636503296001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787642892000,"timestamp_ms":1787642892000,"timestamp_seconds":1787642892,"priority":1,"record_length":96,"hex_timestamp":"000001a037d1cee0"} 
[2026-08-25 13:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636503296001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636503296001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636503296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":161890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:01:51] local.INFO: GPS data processed {"connection_id":161890,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:01:51] local.INFO: Acknowledgment sent {"connection_id":161890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:01:56] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:01:56] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:01:56] local.INFO: Packet analysis {"connection_id":161890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:01:56] local.INFO: Extracted packet for processing {"connection_id":161890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:01:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636503296001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01: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-25 13:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787642892000,"timestamp_ms":1787642892000,"timestamp_seconds":1787642892,"priority":1,"record_length":96,"hex_timestamp":"000001a037d1cee0"} 
[2026-08-25 13:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 13:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636503296001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636503296001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:01:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:01:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636503296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":161890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:01:56] local.INFO: GPS data processed {"connection_id":161890,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:01:56] local.INFO: Acknowledgment sent {"connection_id":161890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:01:59] local.INFO: TCP Data received {"connection_id":161635,"ip":"117.225.200.154","data_length":795,"data_hex":"000000000000030f8e0a000001a037d3c6c8012d17a3400721d2b0004a010a28..."} 
[2026-08-25 13:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d3c6c8012d17a3400721d2b0004a010a28..."} 
[2026-08-25 13:01:59] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d3c6c8012d17a3400721d2b0004a010a28..."} 
[2026-08-25 13:01:59] local.INFO: Packet analysis {"connection_id":161635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:01:59] local.INFO: Extracted packet for processing {"connection_id":161635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d3"} 
[2026-08-25 13:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756523840,"raw_latitude":119657136,"longitude_deg":75.652384,"latitude_deg":11.9657136,"altitude":74,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d17a340","hex_latitude":"0721d2b0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636608000001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15858685704142848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703275483452583936,"note":"Value kept but may cause issues"} 
[2026-08-25 13:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787643021000,"timestamp_ms":1787643021000,"timestamp_seconds":1787643021,"priority":1,"record_length":96,"hex_timestamp":"000001a037d3c6c8"} 
[2026-08-25 13: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-25 13:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-25 13:01:59] 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-25 13: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-25 13: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-25 13:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.200.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636608000001,"66":12939,"120":206,"28":31744,"24":0,"16":15858685704142848,"45":1703275483452583936},"client_ip":"117.225.200.154","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636608000001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:01:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15858685704142848,"km_value":15858685704142.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703275483452583936,"description":"Unknown IO ID 45"} 
[2026-08-25 13:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636608000001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1703275483452583936}} 
[2026-08-25 13:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":161635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:01:59] local.INFO: GPS data processed {"connection_id":161635,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:01:59] local.INFO: Acknowledgment sent {"connection_id":161635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:02:18] local.INFO: TCP Data received {"connection_id":164257,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d40930012d815980059fa128000a00a82e..."} 
[2026-08-25 13:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d40930012d815980059fa128000a00a82e..."} 
[2026-08-25 13:02:18] local.INFO: Processing buffer {"connection_id":164257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d40930012d815980059fa128000a00a82e..."} 
[2026-08-25 13:02:18] local.INFO: Packet analysis {"connection_id":164257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d4"} 
[2026-08-25 13:02:18] local.INFO: Extracted packet for processing {"connection_id":164257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d4"} 
[2026-08-25 13:02:18] local.INFO: GPS Element Parsed {"raw_longitude":763451776,"raw_latitude":94347560,"longitude_deg":76.3451776,"latitude_deg":9.434756,"altitude":10,"angle":168,"satellites":46,"speed":36,"hex_longitude":"2d815980","hex_latitude":"059fa128","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636615168001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123510026638721024,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9127951995594633216,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643038000,"timestamp_ms":1787643038000,"timestamp_seconds":1787643038,"priority":1,"record_length":96,"hex_timestamp":"000001a037d40930"} 
[2026-08-25 13: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-25 13:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 13:02:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:18] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":20736,"corrected_to":0} 
[2026-08-25 13:02:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-4451808201579942144,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:18] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":218103808,"corrected_to":0} 
[2026-08-25 13:02:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3545595905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1504772302,"corrected_to":0} 
[2026-08-25 13:02:19] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376874,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:19] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3376283648,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2694645760,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57889639403246904,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:19] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-1438898785993572347,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:19] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,177,85,24,241,157,16,203,160,190,45,128,232,9,43,10,66,202,159,64,11,8,44,124,192,1,240,230,227,55,4,113,205,31,50,120,48,239,52,82,2,182,5,6,46,7,210],"length":527,"final_offset":657,"validated_count":47,"validation_warnings":[{"io_id":203,"original":20736,"validated":0},{"io_id":202,"original":218103808,"validated":0},{"io_id":205,"original":1504772302,"validated":0}]} 
[2026-08-25 13:02:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720760860198830080,"timestamp_seconds":720760860198830.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13: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-25 13:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636615168001,"66":13048,"177":206,"85":14336,"24":36,"16":123510026638721024,"45":-9127951995594633216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 13:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636615168001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:02:19] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 13:02:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123510026638721024,"km_value":123510026638721.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9127951995594633216,"description":"Unknown IO ID 45"} 
[2026-08-25 13:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636615168001,"power":13048,"unknown_177":206,"unknown_85":14336,"ignition":36,"odometer":null,"unknown_45":-9127951995594633216}} 
[2026-08-25 13:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":164257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:02:19] local.INFO: GPS data processed {"connection_id":164257,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:02:19] local.INFO: Acknowledgment sent {"connection_id":164257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:02:39] local.INFO: TCP Data received {"connection_id":164258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:02:39] local.INFO: Processing buffer {"connection_id":164258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:02:39] local.INFO: IMEI packet received {"connection_id":164258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":164258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:02:39] local.INFO: TCP Data received {"connection_id":161635,"ip":"117.225.200.154","data_length":795,"data_hex":"000000000000030f8e0a000001a037d418d0012d17a3400721d2b0004a010a27..."} 
[2026-08-25 13:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d418d0012d17a3400721d2b0004a010a27..."} 
[2026-08-25 13:02:39] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d418d0012d17a3400721d2b0004a010a27..."} 
[2026-08-25 13:02:39] local.INFO: Packet analysis {"connection_id":161635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d4"} 
[2026-08-25 13:02:39] local.INFO: Extracted packet for processing {"connection_id":161635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d4"} 
[2026-08-25 13:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756523840,"raw_latitude":119657136,"longitude_deg":75.652384,"latitude_deg":11.9657136,"altitude":74,"angle":266,"satellites":39,"speed":0,"hex_longitude":"2d17a340","hex_latitude":"0721d2b0","is_valid_coordinates":true} 
[2026-08-25 13:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636613376001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15858685704142848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703275483452583936,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787643042000,"timestamp_ms":1787643042000,"timestamp_seconds":1787643042,"priority":1,"record_length":96,"hex_timestamp":"000001a037d418d0"} 
[2026-08-25 13:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 13:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.200.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636613376001,"66":12852,"120":206,"28":31744,"24":0,"16":15858685704142848,"45":1703275483452583936},"client_ip":"117.225.200.154","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636613376001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:02:39] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:02:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15858685704142848,"km_value":15858685704142.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703275483452583936,"description":"Unknown IO ID 45"} 
[2026-08-25 13:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636613376001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1703275483452583936}} 
[2026-08-25 13:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":161635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:02:40] local.INFO: GPS data processed {"connection_id":161635,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:02:40] local.INFO: Acknowledgment sent {"connection_id":161635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:02:40] local.INFO: TCP Data received {"connection_id":162880,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:02:40] local.INFO: Processing buffer {"connection_id":162880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:02:40] local.INFO: IMEI packet received {"connection_id":162880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":162880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:02:41] local.INFO: TCP Data received {"connection_id":164258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:02:41] local.INFO: Processing buffer {"connection_id":164258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:02:41] local.INFO: IMEI packet received {"connection_id":164258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":164258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:02:45] local.INFO: TCP Data received {"connection_id":162880,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:02:45] local.INFO: Processing buffer {"connection_id":162880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:02:45] local.INFO: IMEI packet received {"connection_id":162880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":162880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:02:46] local.INFO: TCP Data received {"connection_id":162880,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:02:46] local.INFO: Processing buffer {"connection_id":162880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:02:46] local.INFO: Packet analysis {"connection_id":162880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:02:46] local.INFO: Extracted packet for processing {"connection_id":162880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636503296001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787642892000,"timestamp_ms":1787642892000,"timestamp_seconds":1787642892,"priority":1,"record_length":96,"hex_timestamp":"000001a037d1cee0"} 
[2026-08-25 13:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636503296001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636503296001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636503296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":162880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:02:46] local.INFO: GPS data processed {"connection_id":162880,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:02:46] local.INFO: Acknowledgment sent {"connection_id":162880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:02:46] local.INFO: TCP Data received {"connection_id":164258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:02:46] local.INFO: Processing buffer {"connection_id":164258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:02:46] local.INFO: IMEI packet received {"connection_id":164258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":164258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:02:47] local.INFO: TCP Data received {"connection_id":164258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d45b38012d815d40059f8e10000a00a72f..."} 
[2026-08-25 13:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d45b38012d815d40059f8e10000a00a72f..."} 
[2026-08-25 13:02:47] local.INFO: Processing buffer {"connection_id":164258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d45b38012d815d40059f8e10000a00a72f..."} 
[2026-08-25 13:02:47] local.INFO: Packet analysis {"connection_id":164258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d4"} 
[2026-08-25 13:02:47] local.INFO: Extracted packet for processing {"connection_id":164258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d4"} 
[2026-08-25 13:02:47] local.INFO: GPS Element Parsed {"raw_longitude":763452736,"raw_latitude":94342672,"longitude_deg":76.3452736,"latitude_deg":9.4342672,"altitude":10,"angle":167,"satellites":47,"speed":8,"hex_longitude":"2d815d40","hex_latitude":"059f8e10","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636617728001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123510271451856896,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9126122408248268800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787643059000,"timestamp_ms":1787643059000,"timestamp_seconds":1787643059,"priority":1,"record_length":96,"hex_timestamp":"000001a037d45b38"} 
[2026-08-25 13: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-25 13:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 13:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636617728001,"66":13450,"177":206,"85":14336,"24":8,"16":123510271451856896,"45":-9126122408248268800},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 13:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636617728001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:02:47] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 13:02:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123510271451856896,"km_value":123510271451856.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9126122408248268800,"description":"Unknown IO ID 45"} 
[2026-08-25 13:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636617728001,"power":13450,"unknown_177":206,"unknown_85":14336,"ignition":8,"odometer":null,"unknown_45":-9126122408248268800}} 
[2026-08-25 13:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":164258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:02:47] local.INFO: GPS data processed {"connection_id":164258,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:02:47] local.INFO: Acknowledgment sent {"connection_id":164258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:03:03] local.INFO: TCP Data received {"connection_id":161636,"ip":"117.224.124.68","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:03:03] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:03:03] local.INFO: IMEI packet received {"connection_id":161636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":161636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:03:08] local.INFO: TCP Data received {"connection_id":161636,"ip":"117.224.124.68","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:03:08] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:03:08] local.INFO: IMEI packet received {"connection_id":161636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":161636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:03:10] local.INFO: TCP Data received {"connection_id":161636,"ip":"117.224.124.68","data_length":795,"data_hex":"000000000000030f8e0a000001a037d46ad8012d17a3400721d2b0004a010a26..."} 
[2026-08-25 13:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d46ad8012d17a3400721d2b0004a010a26..."} 
[2026-08-25 13:03:10] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d46ad8012d17a3400721d2b0004a010a26..."} 
[2026-08-25 13:03:10] local.INFO: Packet analysis {"connection_id":161636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d4"} 
[2026-08-25 13:03:10] local.INFO: Extracted packet for processing {"connection_id":161636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d4"} 
[2026-08-25 13:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756523840,"raw_latitude":119657136,"longitude_deg":75.652384,"latitude_deg":11.9657136,"altitude":74,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d17a340","hex_latitude":"0721d2b0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636618752001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15858685704142848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703275483452583936,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787643063000,"timestamp_ms":1787643063000,"timestamp_seconds":1787643063,"priority":1,"record_length":96,"hex_timestamp":"000001a037d46ad8"} 
[2026-08-25 13: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-25 13:03:10] 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-25 13:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 13:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.124.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636618752001,"66":12819,"120":206,"28":31744,"24":0,"16":15858685704142848,"45":1703275483452583936},"client_ip":"117.224.124.68","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636618752001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:03:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:03:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15858685704142848,"km_value":15858685704142.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703275483452583936,"description":"Unknown IO ID 45"} 
[2026-08-25 13:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636618752001,"power":12819,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1703275483452583936}} 
[2026-08-25 13:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":161636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:03:10] local.INFO: GPS data processed {"connection_id":161636,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:03:10] local.INFO: Acknowledgment sent {"connection_id":161636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:03:17] local.INFO: TCP Data received {"connection_id":162880,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:03:17] local.INFO: Processing buffer {"connection_id":162880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:03:17] local.INFO: Packet analysis {"connection_id":162880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:03:17] local.INFO: Extracted packet for processing {"connection_id":162880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636503296001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787642892000,"timestamp_ms":1787642892000,"timestamp_seconds":1787642892,"priority":1,"record_length":96,"hex_timestamp":"000001a037d1cee0"} 
[2026-08-25 13:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636503296001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636503296001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:03:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636503296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":162880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:03:17] local.INFO: GPS data processed {"connection_id":162880,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:03:17] local.INFO: Acknowledgment sent {"connection_id":162880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:03:18] local.INFO: TCP Data received {"connection_id":164258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d61888012d81a940059e1fa0000600aa2e..."} 
[2026-08-25 13:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d61888012d81a940059e1fa0000600aa2e..."} 
[2026-08-25 13:03:18] local.INFO: Processing buffer {"connection_id":164258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d61888012d81a940059e1fa0000600aa2e..."} 
[2026-08-25 13:03:18] local.INFO: Packet analysis {"connection_id":164258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:03:18] local.INFO: Extracted packet for processing {"connection_id":164258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:03:18] local.INFO: GPS Element Parsed {"raw_longitude":763472192,"raw_latitude":94248864,"longitude_deg":76.3472192,"latitude_deg":9.4248864,"altitude":6,"angle":170,"satellites":46,"speed":41,"hex_longitude":"2d81a940","hex_latitude":"059e1fa0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636650240001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123514922901438464,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105504366227167232,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643173000,"timestamp_ms":1787643173000,"timestamp_seconds":1787643173,"priority":1,"record_length":96,"hex_timestamp":"000001a037d61888"} 
[2026-08-25 13: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-25 13:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 13:03: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-25 13: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-25 13: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-25 13:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636650240001,"66":13276,"178":206,"85":14336,"24":41,"16":123514922901438464,"45":-9105504366227167232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-25 13:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636650240001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:03:18] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-25 13:03:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123514922901438464,"km_value":123514922901438.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105504366227167232,"description":"Unknown IO ID 45"} 
[2026-08-25 13:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636650240001,"power":13276,"unknown_178":206,"unknown_85":14336,"ignition":41,"odometer":null,"unknown_45":-9105504366227167232}} 
[2026-08-25 13:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":164258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:03:18] local.INFO: GPS data processed {"connection_id":164258,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:03:18] local.INFO: Acknowledgment sent {"connection_id":164258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:03:38] local.INFO: TCP Data received {"connection_id":164260,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:03:38] local.INFO: Processing buffer {"connection_id":164260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:03:38] local.INFO: IMEI packet received {"connection_id":164260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":164260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:03:40] local.INFO: TCP Data received {"connection_id":164259,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:03:40] local.INFO: Processing buffer {"connection_id":164259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:03:40] local.INFO: IMEI packet received {"connection_id":164259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":164259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:03:41] local.INFO: TCP Data received {"connection_id":164260,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:03:41] local.INFO: Processing buffer {"connection_id":164260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:03:41] local.INFO: IMEI packet received {"connection_id":164260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":164260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:03:42] local.INFO: TCP Data received {"connection_id":161636,"ip":"117.224.124.68","data_length":795,"data_hex":"000000000000030f8e0a000001a037d4bce0012d17a3400721d2b0004a010a25..."} 
[2026-08-25 13:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d4bce0012d17a3400721d2b0004a010a25..."} 
[2026-08-25 13:03:42] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d4bce0012d17a3400721d2b0004a010a25..."} 
[2026-08-25 13:03:42] local.INFO: Packet analysis {"connection_id":161636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d4"} 
[2026-08-25 13:03:42] local.INFO: Extracted packet for processing {"connection_id":161636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d4"} 
[2026-08-25 13:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756523840,"raw_latitude":119657136,"longitude_deg":75.652384,"latitude_deg":11.9657136,"altitude":74,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d17a340","hex_latitude":"0721d2b0","is_valid_coordinates":true} 
[2026-08-25 13:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636624128001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15858685704142848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703275483452583936,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787643084000,"timestamp_ms":1787643084000,"timestamp_seconds":1787643084,"priority":1,"record_length":96,"hex_timestamp":"000001a037d4bce0"} 
[2026-08-25 13:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503841611710464,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":64,"raw_value":20548820744013312,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-3302088499857480896,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3534749770,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4467834717441687808,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767661968501768168,"corrected_to":0} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2952867095,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84749975091093970,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182105155567872,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2818624999,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2437203863648930334,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314875719779143196,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194836224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:42] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,87,160,45,64,210,74,39,10,66,198,40,116,1,240,161,55,33,4,113,205,208,163,176,38,239,47,2,56,7,51,124,100,69],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":-1767661968501768168,"validated":0}]} 
[2026-08-25 13:03:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332554592108412928,"timestamp_seconds":5332554592108413.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.124.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636624128001,"66":12798,"120":206,"28":31744,"24":0,"16":15858685704142848,"45":1703275483452583936},"client_ip":"117.224.124.68","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636624128001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:03:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:03:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15858685704142848,"km_value":15858685704142.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703275483452583936,"description":"Unknown IO ID 45"} 
[2026-08-25 13:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636624128001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1703275483452583936}} 
[2026-08-25 13:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":161636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:03:42] local.INFO: GPS data processed {"connection_id":161636,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:03:42] local.INFO: Acknowledgment sent {"connection_id":161636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:03:45] local.INFO: TCP Data received {"connection_id":164259,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:03:45] local.INFO: Processing buffer {"connection_id":164259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:03:45] local.INFO: IMEI packet received {"connection_id":164259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":164259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:03:46] local.INFO: TCP Data received {"connection_id":164260,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:03:46] local.INFO: Processing buffer {"connection_id":164260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:03:46] local.INFO: IMEI packet received {"connection_id":164260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":164260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:03:46] local.INFO: TCP Data received {"connection_id":164259,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:03:46] local.INFO: Processing buffer {"connection_id":164259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d1cee0012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:03:46] local.INFO: Packet analysis {"connection_id":164259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:03:46] local.INFO: Extracted packet for processing {"connection_id":164259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d1"} 
[2026-08-25 13:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636503296001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787642892000,"timestamp_ms":1787642892000,"timestamp_seconds":1787642892,"priority":1,"record_length":96,"hex_timestamp":"000001a037d1cee0"} 
[2026-08-25 13:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636503296001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636503296001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636503296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":164259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:03:46] local.INFO: GPS data processed {"connection_id":164259,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:03:46] local.INFO: Acknowledgment sent {"connection_id":164259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:03:47] local.INFO: TCP Data received {"connection_id":164260,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d63f98012d81af40059dfb28000600aa2b..."} 
[2026-08-25 13:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d63f98012d81af40059dfb28000600aa2b..."} 
[2026-08-25 13:03:47] local.INFO: Processing buffer {"connection_id":164260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d63f98012d81af40059dfb28000600aa2b..."} 
[2026-08-25 13:03:47] local.INFO: Packet analysis {"connection_id":164260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:03:47] local.INFO: Extracted packet for processing {"connection_id":164260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763473728,"raw_latitude":94239528,"longitude_deg":76.3473728,"latitude_deg":9.4239528,"altitude":6,"angle":170,"satellites":43,"speed":35,"hex_longitude":"2d81af40","hex_latitude":"059dfb28","is_valid_coordinates":true} 
[2026-08-25 13:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636652288001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123515382462939136,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9103674778880860160,"note":"Value kept but may cause issues"} 
[2026-08-25 13:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787643183000,"timestamp_ms":1787643183000,"timestamp_seconds":1787643183,"priority":1,"record_length":96,"hex_timestamp":"000001a037d63f98"} 
[2026-08-25 13:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 13:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636652288001,"66":13319,"178":206,"85":14336,"24":35,"16":123515382462939136,"45":-9103674778880860160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-25 13:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636652288001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:03:47] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-25 13:03:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123515382462939136,"km_value":123515382462939.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9103674778880860160,"description":"Unknown IO ID 45"} 
[2026-08-25 13:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636652288001,"power":13319,"unknown_178":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9103674778880860160}} 
[2026-08-25 13:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":164260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:03:47] local.INFO: GPS data processed {"connection_id":164260,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:03:47] local.INFO: Acknowledgment sent {"connection_id":164260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:04:13] local.INFO: TCP Data received {"connection_id":161636,"ip":"117.224.124.68","data_length":795,"data_hex":"000000000000030f8e0a000001a037d50ee8012d17a3400721d2b0004a010a26..."} 
[2026-08-25 13:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d50ee8012d17a3400721d2b0004a010a26..."} 
[2026-08-25 13:04:13] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d50ee8012d17a3400721d2b0004a010a26..."} 
[2026-08-25 13:04:13] local.INFO: Packet analysis {"connection_id":161636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d5"} 
[2026-08-25 13:04:13] local.INFO: Extracted packet for processing {"connection_id":161636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d5"} 
[2026-08-25 13:04:13] local.INFO: GPS Element Parsed {"raw_longitude":756523840,"raw_latitude":119657136,"longitude_deg":75.652384,"latitude_deg":11.9657136,"altitude":74,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d17a340","hex_latitude":"0721d2b0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636629504001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15858685704142848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703275483452583936,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787643105000,"timestamp_ms":1787643105000,"timestamp_seconds":1787643105,"priority":1,"record_length":96,"hex_timestamp":"000001a037d50ee8"} 
[2026-08-25 13: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-25 13:04:13] 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-25 13: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-25 13:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.124.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636629504001,"66":12765,"120":206,"28":31744,"24":0,"16":15858685704142848,"45":1703275483452583936},"client_ip":"117.224.124.68","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636629504001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:04:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:04:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15858685704142848,"km_value":15858685704142.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703275483452583936,"description":"Unknown IO ID 45"} 
[2026-08-25 13:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636629504001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1703275483452583936}} 
[2026-08-25 13:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":161636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:04:13] local.INFO: GPS data processed {"connection_id":161636,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:04:13] local.INFO: Acknowledgment sent {"connection_id":161636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:04:17] local.INFO: TCP Data received {"connection_id":164259,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:04:17] local.INFO: Processing buffer {"connection_id":164259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:04:17] local.INFO: Packet analysis {"connection_id":164259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:04:17] local.INFO: Extracted packet for processing {"connection_id":164259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636580352001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787643193000,"timestamp_ms":1787643193000,"timestamp_seconds":1787643193,"priority":1,"record_length":96,"hex_timestamp":"000001a037d666a8"} 
[2026-08-25 13:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 13:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636580352001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636580352001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:04:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":164259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:04:17] local.INFO: GPS data processed {"connection_id":164259,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:04:17] local.INFO: Acknowledgment sent {"connection_id":164259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:04:18] local.INFO: TCP Data received {"connection_id":164260,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d66e78012d81b440059dd7b0000800ab2f..."} 
[2026-08-25 13:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d66e78012d81b440059dd7b0000800ab2f..."} 
[2026-08-25 13:04:18] local.INFO: Processing buffer {"connection_id":164260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d66e78012d81b440059dd7b0000800ab2f..."} 
[2026-08-25 13:04:18] local.INFO: Packet analysis {"connection_id":164260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:04:18] local.INFO: Extracted packet for processing {"connection_id":164260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:04:18] local.INFO: GPS Element Parsed {"raw_longitude":763475008,"raw_latitude":94230448,"longitude_deg":76.3475008,"latitude_deg":9.4230448,"altitude":8,"angle":171,"satellites":47,"speed":31,"hex_longitude":"2d81b440","hex_latitude":"059dd7b0","is_valid_coordinates":true} 
[2026-08-25 13:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636654848001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123515824844570624,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101985929022986240,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643195000,"timestamp_ms":1787643195000,"timestamp_seconds":1787643195,"priority":1,"record_length":96,"hex_timestamp":"000001a037d66e78"} 
[2026-08-25 13:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 13:04:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2173812741,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3586043905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:18] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-427841930229371392,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1504837838,"corrected_to":0} 
[2026-08-25 13:04:18] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3464495104,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2664792064,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:18] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57800986983290168,"corrected_to":0} 
[2026-08-25 13:04:18] local.WARNING: Large IO value detected {"io_id":213,"raw_value":7548034270430412805,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:18] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,178,85,24,241,157,16,208,160,45,64,31,6,46,10,66,249,192,8,48,207,218,128,1,240,220,227,55,158,4,113,205,52,163,138,47,239,177,2,182,5,9,203,213],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1504837838,"validated":0},{"io_id":203,"original":57800986983290168,"validated":0}]} 
[2026-08-25 13:04:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432532665890177024,"timestamp_seconds":432532665890177.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636654848001,"66":13602,"178":206,"85":14336,"24":31,"16":123515824844570624,"45":-9101985929022986240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-25 13:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636654848001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:04:18] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-25 13:04:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123515824844570624,"km_value":123515824844570.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101985929022986240,"description":"Unknown IO ID 45"} 
[2026-08-25 13:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636654848001,"power":13602,"unknown_178":206,"unknown_85":14336,"ignition":31,"odometer":null,"unknown_45":-9101985929022986240}} 
[2026-08-25 13:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":164260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:04:18] local.INFO: GPS data processed {"connection_id":164260,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:04:18] local.INFO: Acknowledgment sent {"connection_id":164260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:04:40] local.INFO: TCP Data received {"connection_id":161891,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:04:40] local.INFO: Processing buffer {"connection_id":161891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:04:40] local.INFO: IMEI packet received {"connection_id":161891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":161891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:04:41] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:04:41] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:04:41] local.INFO: IMEI packet received {"connection_id":161637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":161637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:04:44] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:04:44] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:04:44] local.INFO: IMEI packet received {"connection_id":161637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":161637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:04:45] local.INFO: TCP Data received {"connection_id":161891,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:04:45] local.INFO: Processing buffer {"connection_id":161891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:04:45] local.INFO: IMEI packet received {"connection_id":161891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":161891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:04:45] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d69588012d81bb00059db528000800a82e..."} 
[2026-08-25 13:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d69588012d81bb00059db528000800a82e..."} 
[2026-08-25 13:04:45] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d69588012d81bb00059db528000800a82e..."} 
[2026-08-25 13:04:45] local.INFO: Packet analysis {"connection_id":161637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:04:45] local.INFO: Extracted packet for processing {"connection_id":161637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:04:45] local.INFO: GPS Element Parsed {"raw_longitude":763476736,"raw_latitude":94221608,"longitude_deg":76.3476736,"latitude_deg":9.4221608,"altitude":8,"angle":168,"satellites":46,"speed":39,"hex_longitude":"2d81bb00","hex_latitude":"059db528","is_valid_coordinates":true} 
[2026-08-25 13:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636657920001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123516262931234816,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100578554141757440,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787643205000,"timestamp_ms":1787643205000,"timestamp_seconds":1787643205,"priority":1,"record_length":96,"hex_timestamp":"000001a037d69588"} 
[2026-08-25 13:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 13:04: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-25 13:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636657920001,"66":13580,"178":206,"85":14336,"24":39,"16":123516262931234816,"45":-9100578554141757440},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-25 13:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636657920001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:04:45] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-25 13:04:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123516262931234816,"km_value":123516262931234.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100578554141757440,"description":"Unknown IO ID 45"} 
[2026-08-25 13:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636657920001,"power":13580,"unknown_178":206,"unknown_85":14336,"ignition":39,"odometer":null,"unknown_45":-9100578554141757440}} 
[2026-08-25 13:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":161637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:04:45] local.INFO: GPS data processed {"connection_id":161637,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:04:45] local.INFO: Acknowledgment sent {"connection_id":161637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:04:45] local.INFO: TCP Data received {"connection_id":161636,"ip":"117.224.124.68","data_length":795,"data_hex":"000000000000030f8e0a000001a037d5c298012d17a3400721d2b0004a010a26..."} 
[2026-08-25 13:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d5c298012d17a3400721d2b0004a010a26..."} 
[2026-08-25 13:04:45] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d5c298012d17a3400721d2b0004a010a26..."} 
[2026-08-25 13:04:45] local.INFO: Packet analysis {"connection_id":161636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d5"} 
[2026-08-25 13:04:45] local.INFO: Extracted packet for processing {"connection_id":161636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d5"} 
[2026-08-25 13:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756523840,"raw_latitude":119657136,"longitude_deg":75.652384,"latitude_deg":11.9657136,"altitude":74,"angle":266,"satellites":38,"speed":0,"hex_longitude":"2d17a340","hex_latitude":"0721d2b0","is_valid_coordinates":true} 
[2026-08-25 13:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636634880001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15858685704142848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703275483452583936,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787643151000,"timestamp_ms":1787643151000,"timestamp_seconds":1787643151,"priority":1,"record_length":96,"hex_timestamp":"000001a037d5c298"} 
[2026-08-25 13:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:04:45] 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-25 13:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-25 13:04:45] 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-25 13:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.124.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636634880001,"66":12689,"120":206,"28":31744,"24":0,"16":15858685704142848,"45":1703275483452583936},"client_ip":"117.224.124.68","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636634880001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:04:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:04:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15858685704142848,"km_value":15858685704142.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703275483452583936,"description":"Unknown IO ID 45"} 
[2026-08-25 13:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636634880001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1703275483452583936}} 
[2026-08-25 13:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":161636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:04:45] local.INFO: GPS data processed {"connection_id":161636,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:04:45] local.INFO: Acknowledgment sent {"connection_id":161636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:04:46] local.INFO: TCP Data received {"connection_id":161891,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:04:46] local.INFO: Processing buffer {"connection_id":161891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:04:46] local.INFO: Packet analysis {"connection_id":161891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:04:46] local.INFO: Extracted packet for processing {"connection_id":161891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636580352001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787643193000,"timestamp_ms":1787643193000,"timestamp_seconds":1787643193,"priority":1,"record_length":96,"hex_timestamp":"000001a037d666a8"} 
[2026-08-25 13:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 13:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636580352001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636580352001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":161891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:04:46] local.INFO: GPS data processed {"connection_id":161891,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:04:46] local.INFO: Acknowledgment sent {"connection_id":161891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:05:16] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d7f900012d820ac0059c3a28000700a330..."} 
[2026-08-25 13:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d7f900012d820ac0059c3a28000700a330..."} 
[2026-08-25 13:05:16] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d7f900012d820ac0059c3a28000700a330..."} 
[2026-08-25 13:05:16] local.INFO: Packet analysis {"connection_id":161637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d7"} 
[2026-08-25 13:05:16] local.INFO: Extracted packet for processing {"connection_id":161637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d7"} 
[2026-08-25 13:05:16] local.INFO: GPS Element Parsed {"raw_longitude":763497152,"raw_latitude":94124584,"longitude_deg":76.3497152,"latitude_deg":9.4124584,"altitude":7,"angle":163,"satellites":48,"speed":42,"hex_longitude":"2d820ac0","hex_latitude":"059c3a28","is_valid_coordinates":true} 
[2026-08-25 13:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636682496001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123521073294606336,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9077286499844841472,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787643296000,"timestamp_ms":1787643296000,"timestamp_seconds":1787643296,"priority":1,"record_length":96,"hex_timestamp":"000001a037d7f900"} 
[2026-08-25 13:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 13:05:16] 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-25 13:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636682496001,"66":13515,"192":206,"85":14336,"24":42,"16":123521073294606336,"45":-9077286499844841472},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-25 13:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636682496001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:05:16] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-25 13:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123521073294606336,"km_value":123521073294606.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9077286499844841472,"description":"Unknown IO ID 45"} 
[2026-08-25 13:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636682496001,"power":13515,"unknown_192":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9077286499844841472}} 
[2026-08-25 13:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":161637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:05:16] local.INFO: GPS data processed {"connection_id":161637,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:05:16] local.INFO: Acknowledgment sent {"connection_id":161637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:05:16] local.INFO: TCP Data received {"connection_id":161636,"ip":"117.224.124.68","data_length":795,"data_hex":"000000000000030f8e0a000001a037d614a0012d17a3400721d2b0004a010a28..."} 
[2026-08-25 13:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d614a0012d17a3400721d2b0004a010a28..."} 
[2026-08-25 13:05:16] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d614a0012d17a3400721d2b0004a010a28..."} 
[2026-08-25 13:05:16] local.INFO: Packet analysis {"connection_id":161636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:05:16] local.INFO: Extracted packet for processing {"connection_id":161636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:05:16] local.INFO: GPS Element Parsed {"raw_longitude":756523840,"raw_latitude":119657136,"longitude_deg":75.652384,"latitude_deg":11.9657136,"altitude":74,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d17a340","hex_latitude":"0721d2b0","is_valid_coordinates":true} 
[2026-08-25 13:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636646656001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15858685704142848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703275483452583936,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787643172000,"timestamp_ms":1787643172000,"timestamp_seconds":1787643172,"priority":1,"record_length":96,"hex_timestamp":"000001a037d614a0"} 
[2026-08-25 13:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 13:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.124.68","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636646656001,"66":12602,"120":206,"28":31744,"24":0,"16":15858685704142848,"45":1703275483452583936},"client_ip":"117.224.124.68","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636646656001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:05:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:05:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15858685704142848,"km_value":15858685704142.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703275483452583936,"description":"Unknown IO ID 45"} 
[2026-08-25 13:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636646656001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1703275483452583936}} 
[2026-08-25 13:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":161636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:05:17] local.INFO: GPS data processed {"connection_id":161636,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:05:17] local.INFO: Acknowledgment sent {"connection_id":161636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:05:18] local.INFO: TCP Data received {"connection_id":161891,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:05:18] local.INFO: Processing buffer {"connection_id":161891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:05:18] local.INFO: Packet analysis {"connection_id":161891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:05:18] local.INFO: Extracted packet for processing {"connection_id":161891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:05:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636580352001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643193000,"timestamp_ms":1787643193000,"timestamp_seconds":1787643193,"priority":1,"record_length":96,"hex_timestamp":"000001a037d666a8"} 
[2026-08-25 13: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-25 13:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 13:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636580352001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636580352001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:05:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":161891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:05:18] local.INFO: GPS data processed {"connection_id":161891,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:05:18] local.INFO: Acknowledgment sent {"connection_id":161891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:05:41] local.INFO: TCP Data received {"connection_id":162881,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:05:41] local.INFO: Processing buffer {"connection_id":162881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:05:41] local.INFO: IMEI packet received {"connection_id":162881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":162881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:05:45] local.INFO: TCP Data received {"connection_id":162882,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:05:45] local.INFO: Processing buffer {"connection_id":162882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:05:45] local.INFO: IMEI packet received {"connection_id":162882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":162882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:05:46] local.INFO: TCP Data received {"connection_id":162881,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:05:46] local.INFO: Processing buffer {"connection_id":162881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:05:46] local.INFO: IMEI packet received {"connection_id":162881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":162881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:05:47] local.INFO: TCP Data received {"connection_id":162881,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d81840012d821600059c1678000800a130..."} 
[2026-08-25 13:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d81840012d821600059c1678000800a130..."} 
[2026-08-25 13:05:47] local.INFO: Processing buffer {"connection_id":162881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d81840012d821600059c1678000800a130..."} 
[2026-08-25 13:05:47] local.INFO: Packet analysis {"connection_id":162881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d8"} 
[2026-08-25 13:05:47] local.INFO: Extracted packet for processing {"connection_id":162881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d8"} 
[2026-08-25 13:05:47] local.INFO: GPS Element Parsed {"raw_longitude":763500032,"raw_latitude":94115448,"longitude_deg":76.3500032,"latitude_deg":9.4115448,"altitude":8,"angle":161,"satellites":48,"speed":51,"hex_longitude":"2d821600","hex_latitude":"059c1678","is_valid_coordinates":true} 
[2026-08-25 13:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636683776001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123521537151074304,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9076230968683386880,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787643304000,"timestamp_ms":1787643304000,"timestamp_seconds":1787643304,"priority":1,"record_length":96,"hex_timestamp":"000001a037d81840"} 
[2026-08-25 13:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 13:05:47] 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-25 13:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636683776001,"66":13319,"192":206,"85":14336,"24":51,"16":123521537151074304,"45":-9076230968683386880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-25 13:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636683776001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:05:47] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-25 13:05:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123521537151074304,"km_value":123521537151074.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9076230968683386880,"description":"Unknown IO ID 45"} 
[2026-08-25 13:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636683776001,"power":13319,"unknown_192":206,"unknown_85":14336,"ignition":51,"odometer":null,"unknown_45":-9076230968683386880}} 
[2026-08-25 13:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":162881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:05:47] local.INFO: GPS data processed {"connection_id":162881,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:05:47] local.INFO: Acknowledgment sent {"connection_id":162881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:05:50] local.INFO: TCP Data received {"connection_id":162882,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:05:50] local.INFO: Processing buffer {"connection_id":162882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:05:50] local.INFO: IMEI packet received {"connection_id":162882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":162882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:05:51] local.INFO: TCP Data received {"connection_id":162882,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:05:51] local.INFO: Processing buffer {"connection_id":162882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:05:51] local.INFO: Packet analysis {"connection_id":162882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:05:51] local.INFO: Extracted packet for processing {"connection_id":162882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:05:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636580352001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787643193000,"timestamp_ms":1787643193000,"timestamp_seconds":1787643193,"priority":1,"record_length":96,"hex_timestamp":"000001a037d666a8"} 
[2026-08-25 13:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 13:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636580352001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636580352001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:05:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:05:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":162882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:05:51] local.INFO: GPS data processed {"connection_id":162882,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:05:51] local.INFO: Acknowledgment sent {"connection_id":162882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:05:56] local.INFO: TCP Data received {"connection_id":162882,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:05:56] local.INFO: Processing buffer {"connection_id":162882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:05:56] local.INFO: Packet analysis {"connection_id":162882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:05:56] local.INFO: Extracted packet for processing {"connection_id":162882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:05:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636580352001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:05: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-25 13:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787643193000,"timestamp_ms":1787643193000,"timestamp_seconds":1787643193,"priority":1,"record_length":96,"hex_timestamp":"000001a037d666a8"} 
[2026-08-25 13: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-25 13:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 13:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636580352001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636580352001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:05:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:05:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":162882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:05:56] local.INFO: GPS data processed {"connection_id":162882,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:05:56] local.INFO: Acknowledgment sent {"connection_id":162882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:06:18] local.INFO: TCP Data received {"connection_id":162881,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d83780012d8221c0059bf508000900a02f..."} 
[2026-08-25 13:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d83780012d8221c0059bf508000900a02f..."} 
[2026-08-25 13:06:18] local.INFO: Processing buffer {"connection_id":162881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d83780012d8221c0059bf508000900a02f..."} 
[2026-08-25 13:06:18] local.INFO: Packet analysis {"connection_id":162881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d8"} 
[2026-08-25 13:06:18] local.INFO: Extracted packet for processing {"connection_id":162881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d8"} 
[2026-08-25 13:06:18] local.INFO: GPS Element Parsed {"raw_longitude":763503040,"raw_latitude":94106888,"longitude_deg":76.350304,"latitude_deg":9.4106888,"altitude":9,"angle":160,"satellites":47,"speed":37,"hex_longitude":"2d8221c0","hex_latitude":"059bf508","is_valid_coordinates":true} 
[2026-08-25 13:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636685824001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123521975237738496,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073064375197730816,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643312000,"timestamp_ms":1787643312000,"timestamp_seconds":1787643312,"priority":1,"record_length":96,"hex_timestamp":"000001a037d83780"} 
[2026-08-25 13: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-25 13:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":110338225241271808,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57890116144616760,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2180300805,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3618043905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2523922440,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2864775374,"corrected_to":0} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2281778561,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144025002,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3561422848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2631737344,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.WARNING: Large IO value detected {"io_id":215,"raw_value":6683343141981765637,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,192,85,24,241,157,16,214,160,249,45,58,7,48,10,66,213,229,76,194,64,1,240,51,227,55,156,4,113,205,60,143,237,40,47,239,52,193,2,182,5,8,215],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2864775374,"validated":0}]} 
[2026-08-25 13:06:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576637979837267968,"timestamp_seconds":576637979837268.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13: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-25 13:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636685824001,"66":13472,"192":206,"85":14336,"24":37,"16":123521975237738496,"45":-9073064375197730816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-25 13:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636685824001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:06:18] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-25 13:06:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123521975237738496,"km_value":123521975237738.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073064375197730816,"description":"Unknown IO ID 45"} 
[2026-08-25 13:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636685824001,"power":13472,"unknown_192":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":-9073064375197730816}} 
[2026-08-25 13:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":162881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:06:18] local.INFO: GPS data processed {"connection_id":162881,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:06:18] local.INFO: Acknowledgment sent {"connection_id":162881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:06:39] local.INFO: TCP Data received {"connection_id":164261,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:06:39] local.INFO: Processing buffer {"connection_id":164261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:06:39] local.INFO: IMEI packet received {"connection_id":164261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":164261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:06:40] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:06:40] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:06:40] local.INFO: IMEI packet received {"connection_id":161892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":161892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:06:41] local.INFO: TCP Data received {"connection_id":164261,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:06:41] local.INFO: Processing buffer {"connection_id":164261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:06:41] local.INFO: IMEI packet received {"connection_id":164261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":164261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:06:45] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:06:45] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:06:45] local.INFO: IMEI packet received {"connection_id":161892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":161892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:06:46] local.INFO: TCP Data received {"connection_id":164261,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:06:46] local.INFO: Processing buffer {"connection_id":164261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:06:46] local.INFO: IMEI packet received {"connection_id":164261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":164261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:06:46] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:06:46] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:06:46] local.INFO: Packet analysis {"connection_id":161892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:06:46] local.INFO: Extracted packet for processing {"connection_id":161892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636580352001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787643193000,"timestamp_ms":1787643193000,"timestamp_seconds":1787643193,"priority":1,"record_length":96,"hex_timestamp":"000001a037d666a8"} 
[2026-08-25 13:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 13:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636580352001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636580352001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:06:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":161892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:06:46] local.INFO: GPS data processed {"connection_id":161892,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:06:46] local.INFO: Acknowledgment sent {"connection_id":161892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:06:47] local.INFO: TCP Data received {"connection_id":164261,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d85e90012d822cc0059bd2a0000800a62f..."} 
[2026-08-25 13:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d85e90012d822cc0059bd2a0000800a62f..."} 
[2026-08-25 13:06:47] local.INFO: Processing buffer {"connection_id":164261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d85e90012d822cc0059bd2a0000800a62f..."} 
[2026-08-25 13:06:47] local.INFO: Packet analysis {"connection_id":164261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d8"} 
[2026-08-25 13:06:47] local.INFO: Extracted packet for processing {"connection_id":164261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d8"} 
[2026-08-25 13:06:47] local.INFO: GPS Element Parsed {"raw_longitude":763505856,"raw_latitude":94098080,"longitude_deg":76.3505856,"latitude_deg":9.409808,"altitude":8,"angle":166,"satellites":47,"speed":33,"hex_longitude":"2d822cc0","hex_latitude":"059bd2a0","is_valid_coordinates":true} 
[2026-08-25 13:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636687872001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123522421914337280,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9069757044223571968,"note":"Value kept but may cause issues"} 
[2026-08-25 13:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787643322000,"timestamp_ms":1787643322000,"timestamp_seconds":1787643322,"priority":1,"record_length":96,"hex_timestamp":"000001a037d85e90"} 
[2026-08-25 13:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 13:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636687872001,"66":13820,"192":206,"85":14336,"24":33,"16":123522421914337280,"45":-9069757044223571968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-25 13:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636687872001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:06:47] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-25 13:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 13:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123522421914337280,"km_value":123522421914337.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9069757044223571968,"description":"Unknown IO ID 45"} 
[2026-08-25 13:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636687872001,"power":13820,"unknown_192":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":-9069757044223571968}} 
[2026-08-25 13:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":164261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:06:47] local.INFO: GPS data processed {"connection_id":164261,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:06:47] local.INFO: Acknowledgment sent {"connection_id":164261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:07:18] local.INFO: TCP Data received {"connection_id":164261,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037d89158012d823380059bae20000800ac30..."} 
[2026-08-25 13:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d89158012d823380059bae20000800ac30..."} 
[2026-08-25 13:07:18] local.INFO: Processing buffer {"connection_id":164261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d89158012d823380059bae20000800ac30..."} 
[2026-08-25 13:07:18] local.INFO: Packet analysis {"connection_id":164261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d8"} 
[2026-08-25 13:07:18] local.INFO: Extracted packet for processing {"connection_id":164261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d8"} 
[2026-08-25 13:07:18] local.INFO: GPS Element Parsed {"raw_longitude":763507584,"raw_latitude":94088736,"longitude_deg":76.3507584,"latitude_deg":9.4088736,"altitude":8,"angle":172,"satellites":48,"speed":28,"hex_longitude":"2d823380","hex_latitude":"059bae20","is_valid_coordinates":true} 
[2026-08-25 13:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636690432001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123522885770805248,"note":"Value kept but may cause issues"} 
[2026-08-25 13:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9066660819482009600,"note":"Value kept but may cause issues"} 
[2026-08-25 13:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643335000,"timestamp_ms":1787643335000,"timestamp_seconds":1787643335,"priority":1,"record_length":96,"hex_timestamp":"000001a037d89158"} 
[2026-08-25 13:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-25 13:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636690432001,"66":13428,"179":206,"85":14592,"24":28,"16":123522885770805248,"45":-9066660819482009600},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-25 13:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636690432001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:07:18] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-25 13:07:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123522885770805248,"km_value":123522885770805.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9066660819482009600,"description":"Unknown IO ID 45"} 
[2026-08-25 13:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636690432001,"power":13428,"unknown_179":206,"unknown_85":14592,"ignition":28,"odometer":null,"unknown_45":-9066660819482009600}} 
[2026-08-25 13:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":164261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:07:18] local.INFO: GPS data processed {"connection_id":164261,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:07:18] local.INFO: Acknowledgment sent {"connection_id":164261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:07:18] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:07:18] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:07:18] local.INFO: Packet analysis {"connection_id":161892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:07:18] local.INFO: Extracted packet for processing {"connection_id":161892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:07:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636580352001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643193000,"timestamp_ms":1787643193000,"timestamp_seconds":1787643193,"priority":1,"record_length":96,"hex_timestamp":"000001a037d666a8"} 
[2026-08-25 13:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 13:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636580352001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636580352001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:07:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:07:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":161892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:07:18] local.INFO: GPS data processed {"connection_id":161892,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:07:18] local.INFO: Acknowledgment sent {"connection_id":161892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:07:41] local.INFO: TCP Data received {"connection_id":161638,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:07:41] local.INFO: Processing buffer {"connection_id":161638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:07:41] local.INFO: IMEI packet received {"connection_id":161638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":161638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:07:41] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:07:41] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:07:41] local.INFO: IMEI packet received {"connection_id":161639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":161639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:07:45] local.INFO: TCP Data received {"connection_id":161638,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:07:45] local.INFO: Processing buffer {"connection_id":161638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:07:45] local.INFO: IMEI packet received {"connection_id":161638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":161638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:07:46] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:07:46] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:07:46] local.INFO: IMEI packet received {"connection_id":161639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":161639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:07:46] local.INFO: TCP Data received {"connection_id":161638,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:07:46] local.INFO: Processing buffer {"connection_id":161638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:07:46] local.INFO: Packet analysis {"connection_id":161638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:07:46] local.INFO: Extracted packet for processing {"connection_id":161638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636580352001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787643193000,"timestamp_ms":1787643193000,"timestamp_seconds":1787643193,"priority":1,"record_length":96,"hex_timestamp":"000001a037d666a8"} 
[2026-08-25 13:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 13:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636580352001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636580352001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":161638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:07:46] local.INFO: GPS data processed {"connection_id":161638,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:07:46] local.INFO: Acknowledgment sent {"connection_id":161638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:07:51] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037da17f8012d826780059a68e8000a00a630..."} 
[2026-08-25 13:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037da17f8012d826780059a68e8000a00a630..."} 
[2026-08-25 13:07:51] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037da17f8012d826780059a68e8000a00a630..."} 
[2026-08-25 13:07:51] local.INFO: Packet analysis {"connection_id":161639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:07:51] local.INFO: Extracted packet for processing {"connection_id":161639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:07:51] local.INFO: GPS Element Parsed {"raw_longitude":763520896,"raw_latitude":94005480,"longitude_deg":76.3520896,"latitude_deg":9.400548,"altitude":10,"angle":166,"satellites":48,"speed":21,"hex_longitude":"2d826780","hex_latitude":"059a68e8","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636716544001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123526983169605632,"note":"Value kept but may cause issues"} 
[2026-08-25 13:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9050476008344137728,"note":"Value kept but may cause issues"} 
[2026-08-25 13:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787643435000,"timestamp_ms":1787643435000,"timestamp_seconds":1787643435,"priority":1,"record_length":96,"hex_timestamp":"000001a037da17f8"} 
[2026-08-25 13: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-25 13:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 13:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636716544001,"66":13319,"177":206,"85":14592,"24":21,"16":123526983169605632,"45":-9050476008344137728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 13:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636716544001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:07:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 13:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123526983169605632,"km_value":123526983169605.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9050476008344137728,"description":"Unknown IO ID 45"} 
[2026-08-25 13:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636716544001,"power":13319,"unknown_177":206,"unknown_85":14592,"ignition":21,"odometer":null,"unknown_45":-9050476008344137728}} 
[2026-08-25 13:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":161639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:07:51] local.INFO: GPS data processed {"connection_id":161639,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:07:51] local.INFO: Acknowledgment sent {"connection_id":161639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:08:18] local.INFO: TCP Data received {"connection_id":161638,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:08:18] local.INFO: Processing buffer {"connection_id":161638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:08:18] local.INFO: Packet analysis {"connection_id":161638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:08:18] local.INFO: Extracted packet for processing {"connection_id":161638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636580352001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643193000,"timestamp_ms":1787643193000,"timestamp_seconds":1787643193,"priority":1,"record_length":96,"hex_timestamp":"000001a037d666a8"} 
[2026-08-25 13: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-25 13:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 13:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636580352001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636580352001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:08:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":161638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:08:18] local.INFO: GPS data processed {"connection_id":161638,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:08:18] local.INFO: Acknowledgment sent {"connection_id":161638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:08:22] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037da46d8012d827140059a43c0000900a430..."} 
[2026-08-25 13:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037da46d8012d827140059a43c0000900a430..."} 
[2026-08-25 13:08:22] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037da46d8012d827140059a43c0000900a430..."} 
[2026-08-25 13:08:22] local.INFO: Packet analysis {"connection_id":161639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:08:22] local.INFO: Extracted packet for processing {"connection_id":161639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:08:22] local.INFO: GPS Element Parsed {"raw_longitude":763523392,"raw_latitude":93995968,"longitude_deg":76.3523392,"latitude_deg":9.3995968,"altitude":9,"angle":164,"satellites":48,"speed":41,"hex_longitude":"2d827140","hex_latitude":"059a43c0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636719360001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123527459910975488,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9050124164623964160,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787643447000,"timestamp_ms":1787643447000,"timestamp_seconds":1787643447,"priority":1,"record_length":96,"hex_timestamp":"000001a037da46d8"} 
[2026-08-25 13: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-25 13:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2186493957,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3649275905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3362783241,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2846949582,"corrected_to":0} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147850988,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728745,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3651076096,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2601467904,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":56,"raw_value":57888956503446841,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3285377223137132549,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3609635148593507840,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:22] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,177,85,24,241,157,16,219,160,237,45,64,115,7,46,10,66,194,131,9,218,158,192,1,240,227,55,154,4,113,205,53,104,75,48,239,52,179,2,182,5,49,56,217,155],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2846949582,"validated":0}]} 
[2026-08-25 13:08:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720758665469296640,"timestamp_seconds":720758665469296.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13: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-25 13:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636719360001,"66":13493,"177":206,"85":14592,"24":41,"16":123527459910975488,"45":-9050124164623964160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 13:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636719360001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:08:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 13:08:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123527459910975488,"km_value":123527459910975.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9050124164623964160,"description":"Unknown IO ID 45"} 
[2026-08-25 13:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636719360001,"power":13493,"unknown_177":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-9050124164623964160}} 
[2026-08-25 13:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":161639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:08:22] local.INFO: GPS data processed {"connection_id":161639,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:08:22] local.INFO: Acknowledgment sent {"connection_id":161639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:08:40] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:08:40] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:08:40] local.INFO: IMEI packet received {"connection_id":161893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":161893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:08:45] local.INFO: TCP Data received {"connection_id":162883,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:08:45] local.INFO: Processing buffer {"connection_id":162883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:08:45] local.INFO: IMEI packet received {"connection_id":162883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":162883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:08:45] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:08:45] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:08:45] local.INFO: IMEI packet received {"connection_id":161893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":161893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:08:46] local.INFO: TCP Data received {"connection_id":162883,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:08:46] local.INFO: Processing buffer {"connection_id":162883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:08:46] local.INFO: IMEI packet received {"connection_id":162883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":162883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:08:46] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:08:46] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037d666a8012d34c14006aa4820000800e62e..."} 
[2026-08-25 13:08:46] local.INFO: Packet analysis {"connection_id":161893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:08:46] local.INFO: Extracted packet for processing {"connection_id":161893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037d6"} 
[2026-08-25 13:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636580352001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787643193000,"timestamp_ms":1787643193000,"timestamp_seconds":1787643193,"priority":1,"record_length":96,"hex_timestamp":"000001a037d666a8"} 
[2026-08-25 13:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 13:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636580352001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636580352001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636580352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":161893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:08:46] local.INFO: GPS data processed {"connection_id":161893,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:08:46] local.INFO: Acknowledgment sent {"connection_id":161893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:08:55] local.INFO: TCP Data received {"connection_id":162883,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:08:55] local.INFO: Processing buffer {"connection_id":162883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:08:55] local.INFO: IMEI packet received {"connection_id":162883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":162883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:08:56] local.INFO: TCP Data received {"connection_id":162883,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037da6a00012d827ac0059a2158000900a230..."} 
[2026-08-25 13:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037da6a00012d827ac0059a2158000900a230..."} 
[2026-08-25 13:08:56] local.INFO: Processing buffer {"connection_id":162883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037da6a00012d827ac0059a2158000900a230..."} 
[2026-08-25 13:08:56] local.INFO: Packet analysis {"connection_id":162883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:08:56] local.INFO: Extracted packet for processing {"connection_id":162883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763525824,"raw_latitude":93987160,"longitude_deg":76.3525824,"latitude_deg":9.398716,"altitude":9,"angle":162,"satellites":48,"speed":35,"hex_longitude":"2d827ac0","hex_latitude":"059a2158","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636722432001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123527902292606976,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9047379783603470336,"note":"Value kept but may cause issues"} 
[2026-08-25 13:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787643456000,"timestamp_ms":1787643456000,"timestamp_seconds":1787643456,"priority":1,"record_length":96,"hex_timestamp":"000001a037da6a00"} 
[2026-08-25 13: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-25 13:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 13:08:56] 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-25 13: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-25 13: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-25 13:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636722432001,"66":13406,"177":206,"85":14592,"24":35,"16":123527902292606976,"45":-9047379783603470336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 13:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636722432001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:08:56] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 13:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123527902292606976,"km_value":123527902292606.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9047379783603470336,"description":"Unknown IO ID 45"} 
[2026-08-25 13:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636722432001,"power":13406,"unknown_177":206,"unknown_85":14592,"ignition":35,"odometer":null,"unknown_45":-9047379783603470336}} 
[2026-08-25 13:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":162883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:08:56] local.INFO: GPS data processed {"connection_id":162883,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:08:56] local.INFO: Acknowledgment sent {"connection_id":162883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:09:17] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:09:17] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:09:17] local.INFO: Packet analysis {"connection_id":161893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:09:17] local.INFO: Extracted packet for processing {"connection_id":161893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636657408001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787643494000,"timestamp_ms":1787643494000,"timestamp_seconds":1787643494,"priority":1,"record_length":96,"hex_timestamp":"000001a037dafe70"} 
[2026-08-25 13:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636657408001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636657408001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:09:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636657408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":161893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:09:17] local.INFO: GPS data processed {"connection_id":161893,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:09:17] local.INFO: Acknowledgment sent {"connection_id":161893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:09:41] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:09:41] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:09:41] local.INFO: IMEI packet received {"connection_id":161894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":161894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:09:41] local.INFO: TCP Data received {"connection_id":164262,"ip":"117.224.192.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:09:41] local.INFO: Processing buffer {"connection_id":164262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:09:41] local.INFO: IMEI packet received {"connection_id":164262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":164262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:09:42] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:09:42] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:09:42] local.INFO: IMEI packet received {"connection_id":161894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":161894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:09:44] local.INFO: TCP Data received {"connection_id":164262,"ip":"117.224.192.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:09:44] local.INFO: Processing buffer {"connection_id":164262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:09:44] local.INFO: IMEI packet received {"connection_id":164262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":164262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:09:45] local.INFO: TCP Data received {"connection_id":164262,"ip":"117.224.192.189","data_length":795,"data_hex":"000000000000030f8e0a000001a037db8b10012d18548007218988005000752b..."} 
[2026-08-25 13:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037db8b10012d18548007218988005000752b..."} 
[2026-08-25 13:09:45] local.INFO: Processing buffer {"connection_id":164262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037db8b10012d18548007218988005000752b..."} 
[2026-08-25 13:09:45] local.INFO: Packet analysis {"connection_id":164262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037db"} 
[2026-08-25 13:09:45] local.INFO: Extracted packet for processing {"connection_id":164262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037db"} 
[2026-08-25 13:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756569216,"raw_latitude":119638408,"longitude_deg":75.6569216,"latitude_deg":11.9638408,"altitude":80,"angle":117,"satellites":43,"speed":30,"hex_longitude":"2d185480","hex_latitude":"07218988","is_valid_coordinates":true} 
[2026-08-25 13:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636740352001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15861653526544384,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743737511350851584,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787643530000,"timestamp_ms":1787643530000,"timestamp_seconds":1787643530,"priority":1,"record_length":96,"hex_timestamp":"000001a037db8b10"} 
[2026-08-25 13:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:09:45] 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-25 13:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 13:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.192.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636740352001,"66":13015,"121":206,"28":31744,"24":30,"16":15861653526544384,"45":1743737511350851584},"client_ip":"117.224.192.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636740352001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:09:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:09:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15861653526544384,"km_value":15861653526544.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743737511350851584,"description":"Unknown IO ID 45"} 
[2026-08-25 13:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636740352001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1743737511350851584}} 
[2026-08-25 13:09:45] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:09:45] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:09:45] local.INFO: IMEI packet received {"connection_id":161895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":161895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":164262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:09:45] local.INFO: GPS data processed {"connection_id":164262,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:09:45] local.INFO: Acknowledgment sent {"connection_id":164262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:09:48] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:09:48] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:09:48] local.INFO: IMEI packet received {"connection_id":161894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":161894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:09:49] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037da94f8012d8285000599fe98000800a22e..."} 
[2026-08-25 13:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037da94f8012d8285000599fe98000800a22e..."} 
[2026-08-25 13:09:49] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037da94f8012d8285000599fe98000800a22e..."} 
[2026-08-25 13:09:49] local.INFO: Packet analysis {"connection_id":161894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:09:49] local.INFO: Extracted packet for processing {"connection_id":161894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:09:49] local.INFO: GPS Element Parsed {"raw_longitude":763528448,"raw_latitude":93978264,"longitude_deg":76.3528448,"latitude_deg":9.3978264,"altitude":8,"angle":162,"satellites":46,"speed":31,"hex_longitude":"2d828500","hex_latitude":"0599fe98","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636724736001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123528353264173056,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044705771326973952,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787643467000,"timestamp_ms":1787643467000,"timestamp_seconds":1787643467,"priority":1,"record_length":96,"hex_timestamp":"000001a037da94f8"} 
[2026-08-25 13: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-25 13:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 13:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636724736001,"66":13276,"177":206,"85":14592,"24":31,"16":123528353264173056,"45":-9044705771326973952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 13:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636724736001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:09:49] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 13:09:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123528353264173056,"km_value":123528353264173.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044705771326973952,"description":"Unknown IO ID 45"} 
[2026-08-25 13:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636724736001,"power":13276,"unknown_177":206,"unknown_85":14592,"ignition":31,"odometer":null,"unknown_45":-9044705771326973952}} 
[2026-08-25 13:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":161894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:09:49] local.INFO: GPS data processed {"connection_id":161894,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:09:49] local.INFO: Acknowledgment sent {"connection_id":161894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:09:50] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:09:50] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:09:50] local.INFO: IMEI packet received {"connection_id":161895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":161895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:09:51] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:09:51] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:09:51] local.INFO: Packet analysis {"connection_id":161895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:09:51] local.INFO: Extracted packet for processing {"connection_id":161895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:09:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636657408001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787643494000,"timestamp_ms":1787643494000,"timestamp_seconds":1787643494,"priority":1,"record_length":96,"hex_timestamp":"000001a037dafe70"} 
[2026-08-25 13: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-25 13:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636657408001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636657408001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:09:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:09:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636657408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":161895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:09:51] local.INFO: GPS data processed {"connection_id":161895,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:09:51] local.INFO: Acknowledgment sent {"connection_id":161895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:09:55] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:09:55] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:09:55] local.INFO: Packet analysis {"connection_id":161895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:09:55] local.INFO: Extracted packet for processing {"connection_id":161895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636657408001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787643494000,"timestamp_ms":1787643494000,"timestamp_seconds":1787643494,"priority":1,"record_length":96,"hex_timestamp":"000001a037dafe70"} 
[2026-08-25 13:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:09: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-25 13:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636657408001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636657408001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:09:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:09:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636657408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":161895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:09:55] local.INFO: GPS data processed {"connection_id":161895,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:09:55] local.INFO: Acknowledgment sent {"connection_id":161895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:10:16] local.INFO: TCP Data received {"connection_id":164262,"ip":"117.224.192.189","data_length":795,"data_hex":"000000000000030f8e0a000001a037dba280012d186480072182d0004e00642b..."} 
[2026-08-25 13:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dba280012d186480072182d0004e00642b..."} 
[2026-08-25 13:10:16] local.INFO: Processing buffer {"connection_id":164262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dba280012d186480072182d0004e00642b..."} 
[2026-08-25 13:10:16] local.INFO: Packet analysis {"connection_id":164262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037db"} 
[2026-08-25 13:10:16] local.INFO: Extracted packet for processing {"connection_id":164262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037db"} 
[2026-08-25 13:10:16] local.INFO: GPS Element Parsed {"raw_longitude":756573312,"raw_latitude":119636688,"longitude_deg":75.6573312,"latitude_deg":11.9636688,"altitude":78,"angle":100,"satellites":43,"speed":29,"hex_longitude":"2d186480","hex_latitude":"072182d0","is_valid_coordinates":true} 
[2026-08-25 13:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636743680001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15861868274909184,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753166923069753344,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787643536000,"timestamp_ms":1787643536000,"timestamp_seconds":1787643536,"priority":1,"record_length":96,"hex_timestamp":"000001a037dba280"} 
[2026-08-25 13:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-25 13:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.192.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636743680001,"66":12885,"121":206,"28":31744,"24":29,"16":15861868274909184,"45":1753166923069753344},"client_ip":"117.224.192.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636743680001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:10:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:10:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15861868274909184,"km_value":15861868274909.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753166923069753344,"description":"Unknown IO ID 45"} 
[2026-08-25 13:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636743680001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1753166923069753344}} 
[2026-08-25 13:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":164262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:10:16] local.INFO: GPS data processed {"connection_id":164262,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:10:16] local.INFO: Acknowledgment sent {"connection_id":164262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:10:20] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037dc4e60012d8298c005989738000a00ac2f..."} 
[2026-08-25 13:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dc4e60012d8298c005989738000a00ac2f..."} 
[2026-08-25 13:10:20] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dc4e60012d8298c005989738000a00ac2f..."} 
[2026-08-25 13:10:20] local.INFO: Packet analysis {"connection_id":161894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037dc"} 
[2026-08-25 13:10:20] local.INFO: Extracted packet for processing {"connection_id":161894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037dc"} 
[2026-08-25 13:10:20] local.INFO: GPS Element Parsed {"raw_longitude":763533504,"raw_latitude":93886264,"longitude_deg":76.3533504,"latitude_deg":9.3886264,"altitude":10,"angle":172,"satellites":47,"speed":28,"hex_longitude":"2d8298c0","hex_latitude":"05989738","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636753408001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123532927404343296,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038724428095348736,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787643580000,"timestamp_ms":1787643580000,"timestamp_seconds":1787643580,"priority":1,"record_length":96,"hex_timestamp":"000001a037dc4e60"} 
[2026-08-25 13: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-25 13:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 13:10:20] 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-25 13: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-25 13: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-25 13:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636753408001,"66":13341,"17":206,"85":14592,"24":28,"16":123532927404343296,"45":-9038724428095348736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 13:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636753408001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123532927404343296,"km_value":123532927404343.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038724428095348736,"description":"Unknown IO ID 45"} 
[2026-08-25 13:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636753408001,"power":13341,"axis_x":206,"unknown_85":14592,"ignition":28,"odometer":null,"unknown_45":-9038724428095348736}} 
[2026-08-25 13:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":161894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:10:20] local.INFO: GPS data processed {"connection_id":161894,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:10:20] local.INFO: Acknowledgment sent {"connection_id":161894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:10:40] local.INFO: TCP Data received {"connection_id":161640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:10:40] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:10:40] local.INFO: IMEI packet received {"connection_id":161640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":161640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:10:41] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:10:41] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:10:41] local.INFO: IMEI packet received {"connection_id":161641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":161641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:10:45] local.INFO: TCP Data received {"connection_id":161640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:10:45] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:10:45] local.INFO: IMEI packet received {"connection_id":161640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":161640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:10:46] local.INFO: TCP Data received {"connection_id":161640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:10:46] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:10:46] local.INFO: Packet analysis {"connection_id":161640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:10:46] local.INFO: Extracted packet for processing {"connection_id":161640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636657408001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787643494000,"timestamp_ms":1787643494000,"timestamp_seconds":1787643494,"priority":1,"record_length":96,"hex_timestamp":"000001a037dafe70"} 
[2026-08-25 13:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636657408001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636657408001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:10:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636657408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":161640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:10:46] local.INFO: GPS data processed {"connection_id":161640,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:10:46] local.INFO: Acknowledgment sent {"connection_id":161640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:10:46] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:10:46] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:10:46] local.INFO: IMEI packet received {"connection_id":161641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":161641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:10:47] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037dc94b0012d829ac0059874a0000800b230..."} 
[2026-08-25 13:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dc94b0012d829ac0059874a0000800b230..."} 
[2026-08-25 13:10:47] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dc94b0012d829ac0059874a0000800b230..."} 
[2026-08-25 13:10:47] local.INFO: Packet analysis {"connection_id":161641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037dc"} 
[2026-08-25 13:10:47] local.INFO: Extracted packet for processing {"connection_id":161641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037dc"} 
[2026-08-25 13:10:47] local.INFO: GPS Element Parsed {"raw_longitude":763534016,"raw_latitude":93877408,"longitude_deg":76.3534016,"latitude_deg":9.3877408,"altitude":8,"angle":178,"satellites":48,"speed":22,"hex_longitude":"2d829ac0","hex_latitude":"059874a0","is_valid_coordinates":true} 
[2026-08-25 13:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636756480001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123533361196040192,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036261522051483648,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787643598000,"timestamp_ms":1787643598000,"timestamp_seconds":1787643598,"priority":1,"record_length":96,"hex_timestamp":"000001a037dc94b0"} 
[2026-08-25 13:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 13:10:47] 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-25 13:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636756480001,"66":13526,"19":206,"85":14592,"24":22,"16":123533361196040192,"45":-9036261522051483648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 13:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636756480001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:10:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 13:10:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123533361196040192,"km_value":123533361196040.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036261522051483648,"description":"Unknown IO ID 45"} 
[2026-08-25 13:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636756480001,"power":13526,"unknown_19":206,"unknown_85":14592,"ignition":22,"odometer":null,"unknown_45":-9036261522051483648}} 
[2026-08-25 13:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":161641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:10:47] local.INFO: GPS data processed {"connection_id":161641,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:10:47] local.INFO: Acknowledgment sent {"connection_id":161641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:10:48] local.INFO: TCP Data received {"connection_id":164262,"ip":"117.224.192.189","data_length":795,"data_hex":"000000000000030f8e0a000001a037dbae38012d186d8007218248004e00592b..."} 
[2026-08-25 13:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dbae38012d186d8007218248004e00592b..."} 
[2026-08-25 13:10:48] local.INFO: Processing buffer {"connection_id":164262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dbae38012d186d8007218248004e00592b..."} 
[2026-08-25 13:10:48] local.INFO: Packet analysis {"connection_id":164262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037db"} 
[2026-08-25 13:10:48] local.INFO: Extracted packet for processing {"connection_id":164262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037db"} 
[2026-08-25 13:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756575616,"raw_latitude":119636552,"longitude_deg":75.6575616,"latitude_deg":11.9636552,"altitude":78,"angle":89,"satellites":43,"speed":30,"hex_longitude":"2d186d80","hex_latitude":"07218248","is_valid_coordinates":true} 
[2026-08-25 13:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636745216001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15861975649091584,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757670522696683520,"note":"Value kept but may cause issues"} 
[2026-08-25 13:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787643539000,"timestamp_ms":1787643539000,"timestamp_seconds":1787643539,"priority":1,"record_length":96,"hex_timestamp":"000001a037dbae38"} 
[2026-08-25 13:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:10:48] 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-25 13:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-25 13:10:48] 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-25 13:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.192.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636745216001,"66":12809,"121":206,"28":31744,"24":30,"16":15861975649091584,"45":1757670522696683520},"client_ip":"117.224.192.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636745216001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:10:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:10:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15861975649091584,"km_value":15861975649091.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757670522696683520,"description":"Unknown IO ID 45"} 
[2026-08-25 13:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636745216001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1757670522696683520}} 
[2026-08-25 13:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":164262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:10:48] local.INFO: GPS data processed {"connection_id":164262,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:10:48] local.INFO: Acknowledgment sent {"connection_id":164262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:10:57] local.INFO: TCP Data received {"connection_id":164263,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:10:57] local.INFO: Processing buffer {"connection_id":164263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:10:57] local.INFO: IMEI packet received {"connection_id":164263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 13:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":164263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:11:01] local.INFO: TCP Data received {"connection_id":164263,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:11:01] local.INFO: Processing buffer {"connection_id":164263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:11:01] local.INFO: IMEI packet received {"connection_id":164263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 13:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":164263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:11:06] local.INFO: TCP Data received {"connection_id":164263,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:11:06] local.INFO: Processing buffer {"connection_id":164263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:11:06] local.INFO: IMEI packet received {"connection_id":164263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 13:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":164263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:11:17] local.INFO: TCP Data received {"connection_id":161640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:11:17] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:11:17] local.INFO: Packet analysis {"connection_id":161640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:11:17] local.INFO: Extracted packet for processing {"connection_id":161640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636657408001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787643494000,"timestamp_ms":1787643494000,"timestamp_seconds":1787643494,"priority":1,"record_length":96,"hex_timestamp":"000001a037dafe70"} 
[2026-08-25 13:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636657408001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636657408001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636657408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":161640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:11:18] local.INFO: GPS data processed {"connection_id":161640,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:11:18] local.INFO: Acknowledgment sent {"connection_id":161640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:11:18] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037dcbbc0012d829d80059858f8000800a52f..."} 
[2026-08-25 13:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dcbbc0012d829d80059858f8000800a52f..."} 
[2026-08-25 13:11:18] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dcbbc0012d829d80059858f8000800a52f..."} 
[2026-08-25 13:11:18] local.INFO: Packet analysis {"connection_id":161641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037dc"} 
[2026-08-25 13:11:18] local.INFO: Extracted packet for processing {"connection_id":161641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037dc"} 
[2026-08-25 13:11:18] local.INFO: GPS Element Parsed {"raw_longitude":763534720,"raw_latitude":93870328,"longitude_deg":76.353472,"latitude_deg":9.3870328,"altitude":8,"angle":165,"satellites":47,"speed":32,"hex_longitude":"2d829d80","hex_latitude":"059858f8","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636761088001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123533704793423872,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035698572100329472,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643608000,"timestamp_ms":1787643608000,"timestamp_seconds":1787643608,"priority":1,"record_length":96,"hex_timestamp":"000001a037dcbbc0"} 
[2026-08-25 13: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-25 13:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 13:11: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-25 13: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-25 13: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-25 13:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636761088001,"66":13363,"19":206,"85":14592,"24":32,"16":123533704793423872,"45":-9035698572100329472},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 13:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636761088001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:11:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 13:11:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123533704793423872,"km_value":123533704793423.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035698572100329472,"description":"Unknown IO ID 45"} 
[2026-08-25 13:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636761088001,"power":13363,"unknown_19":206,"unknown_85":14592,"ignition":32,"odometer":null,"unknown_45":-9035698572100329472}} 
[2026-08-25 13:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":161641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:11:18] local.INFO: GPS data processed {"connection_id":161641,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:11:18] local.INFO: Acknowledgment sent {"connection_id":161641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:11:40] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:11:40] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:11:40] local.INFO: IMEI packet received {"connection_id":161896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":161896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:11:45] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:11:45] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:11:45] local.INFO: IMEI packet received {"connection_id":161896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":161896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:11:46] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:11:46] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:11:46] local.INFO: IMEI packet received {"connection_id":161642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":161642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:11:46] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:11:46] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:11:46] local.INFO: Packet analysis {"connection_id":161896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:11:46] local.INFO: Extracted packet for processing {"connection_id":161896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636657408001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787643494000,"timestamp_ms":1787643494000,"timestamp_seconds":1787643494,"priority":1,"record_length":96,"hex_timestamp":"000001a037dafe70"} 
[2026-08-25 13:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636657408001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636657408001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636657408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":161896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:11:46] local.INFO: GPS data processed {"connection_id":161896,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:11:46] local.INFO: Acknowledgment sent {"connection_id":161896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:11:49] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:11:49] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:11:49] local.INFO: IMEI packet received {"connection_id":161642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":161642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:11:50] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037dcf658012d82a9c005983758000900992e..."} 
[2026-08-25 13:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dcf658012d82a9c005983758000900992e..."} 
[2026-08-25 13:11:50] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dcf658012d82a9c005983758000900992e..."} 
[2026-08-25 13:11:50] local.INFO: Packet analysis {"connection_id":161642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037dc"} 
[2026-08-25 13:11:50] local.INFO: Extracted packet for processing {"connection_id":161642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037dc"} 
[2026-08-25 13:11:50] local.INFO: GPS Element Parsed {"raw_longitude":763537856,"raw_latitude":93861720,"longitude_deg":76.3537856,"latitude_deg":9.386172,"altitude":9,"angle":153,"satellites":46,"speed":30,"hex_longitude":"2d82a9c0","hex_latitude":"05983758","is_valid_coordinates":true} 
[2026-08-25 13:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636763648001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123534151470022656,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034924515916187648,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787643623000,"timestamp_ms":1787643623000,"timestamp_seconds":1787643623,"priority":1,"record_length":96,"hex_timestamp":"000001a037dcf658"} 
[2026-08-25 13:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 13:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636763648001,"66":13472,"19":206,"85":14592,"24":30,"16":123534151470022656,"45":-9034924515916187648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 13:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636763648001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:11:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 13:11:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123534151470022656,"km_value":123534151470022.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034924515916187648,"description":"Unknown IO ID 45"} 
[2026-08-25 13:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636763648001,"power":13472,"unknown_19":206,"unknown_85":14592,"ignition":30,"odometer":null,"unknown_45":-9034924515916187648}} 
[2026-08-25 13:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":161642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:11:50] local.INFO: GPS data processed {"connection_id":161642,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:11:50] local.INFO: Acknowledgment sent {"connection_id":161642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:11:51] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037dcf658012d82a9c005983758000900992e..."} 
[2026-08-25 13:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dcf658012d82a9c005983758000900992e..."} 
[2026-08-25 13:11:51] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dcf658012d82a9c005983758000900992e..."} 
[2026-08-25 13:11:51] local.INFO: Packet analysis {"connection_id":161642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037dc"} 
[2026-08-25 13:11:51] local.INFO: Extracted packet for processing {"connection_id":161642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037dc"} 
[2026-08-25 13:11:51] local.INFO: GPS Element Parsed {"raw_longitude":763537856,"raw_latitude":93861720,"longitude_deg":76.3537856,"latitude_deg":9.386172,"altitude":9,"angle":153,"satellites":46,"speed":30,"hex_longitude":"2d82a9c0","hex_latitude":"05983758","is_valid_coordinates":true} 
[2026-08-25 13:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636767488001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123534151470022656,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031476447453685760,"note":"Value kept but may cause issues"} 
[2026-08-25 13:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787643623000,"timestamp_ms":1787643623000,"timestamp_seconds":1787643623,"priority":1,"record_length":96,"hex_timestamp":"000001a037dcf658"} 
[2026-08-25 13:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 13:11:51] 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-25 13:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636767488001,"66":13472,"19":206,"85":14592,"24":30,"16":123534151470022656,"45":-9031476447453685760},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 13:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636767488001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:11:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 13:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123534151470022656,"km_value":123534151470022.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031476447453685760,"description":"Unknown IO ID 45"} 
[2026-08-25 13:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636767488001,"power":13472,"unknown_19":206,"unknown_85":14592,"ignition":30,"odometer":null,"unknown_45":-9031476447453685760}} 
[2026-08-25 13:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":161642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:11:51] local.INFO: GPS data processed {"connection_id":161642,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:11:51] local.INFO: Acknowledgment sent {"connection_id":161642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:12:18] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:12:18] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:12:18] local.INFO: Packet analysis {"connection_id":161896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:12:18] local.INFO: Extracted packet for processing {"connection_id":161896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:12:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636657408001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643494000,"timestamp_ms":1787643494000,"timestamp_seconds":1787643494,"priority":1,"record_length":96,"hex_timestamp":"000001a037dafe70"} 
[2026-08-25 13:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636657408001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636657408001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:12:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:12:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636657408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":161896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:12:18] local.INFO: GPS data processed {"connection_id":161896,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:12:18] local.INFO: Acknowledgment sent {"connection_id":161896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:12:22] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037dd1d68012d82bb00059817d8000900962e..."} 
[2026-08-25 13:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dd1d68012d82bb00059817d8000900962e..."} 
[2026-08-25 13:12:22] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dd1d68012d82bb00059817d8000900962e..."} 
[2026-08-25 13:12:22] local.INFO: Packet analysis {"connection_id":161642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037dd"} 
[2026-08-25 13:12:22] local.INFO: Extracted packet for processing {"connection_id":161642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037dd"} 
[2026-08-25 13:12:22] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":93853656,"longitude_deg":76.3542272,"latitude_deg":9.3853656,"altitude":9,"angle":150,"satellites":46,"speed":38,"hex_longitude":"2d82bb00","hex_latitude":"059817d8","is_valid_coordinates":true} 
[2026-08-25 13:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636767488001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123534593851654144,"note":"Value kept but may cause issues"} 
[2026-08-25 13:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031476447453685760,"note":"Value kept but may cause issues"} 
[2026-08-25 13:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787643633000,"timestamp_ms":1787643633000,"timestamp_seconds":1787643633,"priority":1,"record_length":96,"hex_timestamp":"000001a037dd1d68"} 
[2026-08-25 13:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13: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-25 13:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 13:12:22] 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-25 13:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636767488001,"66":13363,"19":206,"85":14592,"24":38,"16":123534593851654144,"45":-9031476447453685760},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 13:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636767488001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:12:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 13:12:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123534593851654144,"km_value":123534593851654.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031476447453685760,"description":"Unknown IO ID 45"} 
[2026-08-25 13:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636767488001,"power":13363,"unknown_19":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-9031476447453685760}} 
[2026-08-25 13:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":161642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:12:22] local.INFO: GPS data processed {"connection_id":161642,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:12:22] local.INFO: Acknowledgment sent {"connection_id":161642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:12:40] local.INFO: TCP Data received {"connection_id":164264,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:12:40] local.INFO: Processing buffer {"connection_id":164264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:12:40] local.INFO: IMEI packet received {"connection_id":164264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":164264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:12:41] local.INFO: TCP Data received {"connection_id":162884,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:12:41] local.INFO: Processing buffer {"connection_id":162884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:12:41] local.INFO: IMEI packet received {"connection_id":162884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":162884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:12:45] local.INFO: TCP Data received {"connection_id":164264,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:12:45] local.INFO: Processing buffer {"connection_id":164264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:12:45] local.INFO: IMEI packet received {"connection_id":164264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":164264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:12:46] local.INFO: TCP Data received {"connection_id":162884,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:12:46] local.INFO: Processing buffer {"connection_id":162884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:12:46] local.INFO: IMEI packet received {"connection_id":162884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":162884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:12:46] local.INFO: TCP Data received {"connection_id":164264,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:12:46] local.INFO: Processing buffer {"connection_id":164264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:12:46] local.INFO: Packet analysis {"connection_id":164264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:12:46] local.INFO: Extracted packet for processing {"connection_id":164264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636657408001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787643494000,"timestamp_ms":1787643494000,"timestamp_seconds":1787643494,"priority":1,"record_length":96,"hex_timestamp":"000001a037dafe70"} 
[2026-08-25 13:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636657408001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636657408001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636657408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":164264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:12:46] local.INFO: GPS data processed {"connection_id":164264,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:12:46] local.INFO: Acknowledgment sent {"connection_id":164264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:12:47] local.INFO: TCP Data received {"connection_id":162884,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037dd5030012d82ce800597f948000700962d..."} 
[2026-08-25 13:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dd5030012d82ce800597f948000700962d..."} 
[2026-08-25 13:12:47] local.INFO: Processing buffer {"connection_id":162884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dd5030012d82ce800597f948000700962d..."} 
[2026-08-25 13:12:47] local.INFO: Packet analysis {"connection_id":162884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037dd"} 
[2026-08-25 13:12:47] local.INFO: Extracted packet for processing {"connection_id":162884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037dd"} 
[2026-08-25 13:12:47] local.INFO: GPS Element Parsed {"raw_longitude":763547264,"raw_latitude":93845832,"longitude_deg":76.3547264,"latitude_deg":9.3845832,"altitude":7,"angle":150,"satellites":45,"speed":23,"hex_longitude":"2d82ce80","hex_latitude":"0597f948","is_valid_coordinates":true} 
[2026-08-25 13:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636770048001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123535044823220224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026621004107491328,"note":"Value kept but may cause issues"} 
[2026-08-25 13:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787643646000,"timestamp_ms":1787643646000,"timestamp_seconds":1787643646,"priority":1,"record_length":96,"hex_timestamp":"000001a037dd5030"} 
[2026-08-25 13:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:12: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-25 13:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 13:12: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-25 13:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636770048001,"66":13580,"19":206,"85":14592,"24":23,"16":123535044823220224,"45":-9026621004107491328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 13:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636770048001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:12:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 13:12:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123535044823220224,"km_value":123535044823220.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026621004107491328,"description":"Unknown IO ID 45"} 
[2026-08-25 13:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636770048001,"power":13580,"unknown_19":206,"unknown_85":14592,"ignition":23,"odometer":null,"unknown_45":-9026621004107491328}} 
[2026-08-25 13:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":162884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:12:47] local.INFO: GPS data processed {"connection_id":162884,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:12:47] local.INFO: Acknowledgment sent {"connection_id":162884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:13:18] local.INFO: TCP Data received {"connection_id":164264,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:13:18] local.INFO: Processing buffer {"connection_id":164264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:13:18] local.INFO: Packet analysis {"connection_id":164264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:13:18] local.INFO: Extracted packet for processing {"connection_id":164264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636657408001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643494000,"timestamp_ms":1787643494000,"timestamp_seconds":1787643494,"priority":1,"record_length":96,"hex_timestamp":"000001a037dafe70"} 
[2026-08-25 13:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636657408001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636657408001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:13:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636657408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":164264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:13:18] local.INFO: GPS data processed {"connection_id":164264,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:13:18] local.INFO: Acknowledgment sent {"connection_id":164264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:13:18] local.INFO: TCP Data received {"connection_id":162884,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037dd9680012d82dc000597e428000a008a2d..."} 
[2026-08-25 13:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dd9680012d82dc000597e428000a008a2d..."} 
[2026-08-25 13:13:18] local.INFO: Processing buffer {"connection_id":162884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dd9680012d82dc000597e428000a008a2d..."} 
[2026-08-25 13:13:18] local.INFO: Packet analysis {"connection_id":162884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037dd"} 
[2026-08-25 13:13:18] local.INFO: Extracted packet for processing {"connection_id":162884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037dd"} 
[2026-08-25 13:13:18] local.INFO: GPS Element Parsed {"raw_longitude":763550720,"raw_latitude":93840424,"longitude_deg":76.355072,"latitude_deg":9.3840424,"altitude":10,"angle":138,"satellites":45,"speed":14,"hex_longitude":"2d82dc00","hex_latitude":"0597e428","is_valid_coordinates":true} 
[2026-08-25 13:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636773376001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123535354060865536,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021132242063636480,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643664000,"timestamp_ms":1787643664000,"timestamp_seconds":1787643664,"priority":1,"record_length":96,"hex_timestamp":"000001a037dd9680"} 
[2026-08-25 13:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:13: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-25 13:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625952,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191360005,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":22529,"corrected_to":0} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3703291905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5269058731907219456,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634647635059473,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2836594894,"corrected_to":0} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2952867202,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3221592180,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093727473873323,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3773825024,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2560047104,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-8070444378715324404,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.WARNING: Large IO value detected {"io_id":57,"raw_value":6755549765042417,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:18] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,19,85,24,241,157,16,226,160,29,45,23,9,46,10,66,246,192,55,225,1,240,227,152,4,113,205,32,148,154,48,239,52,2,182,5,28,130,57],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":246,"original":22529,"validated":0},{"io_id":205,"original":2836594894,"validated":0}]} 
[2026-08-25 13:13:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504568278284697600,"timestamp_seconds":504568278284697.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636773376001,"66":13472,"19":206,"85":14592,"24":14,"16":123535354060865536,"45":-9021132242063636480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 13:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636773376001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:13:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 13:13:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123535354060865536,"km_value":123535354060865.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021132242063636480,"description":"Unknown IO ID 45"} 
[2026-08-25 13:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636773376001,"power":13472,"unknown_19":206,"unknown_85":14592,"ignition":14,"odometer":null,"unknown_45":-9021132242063636480}} 
[2026-08-25 13:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":162884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:13:18] local.INFO: GPS data processed {"connection_id":162884,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:13:18] local.INFO: Acknowledgment sent {"connection_id":162884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:13:40] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:13:40] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:13:40] local.INFO: IMEI packet received {"connection_id":161898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":161898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:13:41] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:13:41] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:13:41] local.INFO: IMEI packet received {"connection_id":161897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":161897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:13:43] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:13:43] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:13:43] local.INFO: IMEI packet received {"connection_id":161897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":161897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:13:43] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037df9e08012d8353400596c630000900992d..."} 
[2026-08-25 13:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037df9e08012d8353400596c630000900992d..."} 
[2026-08-25 13:13:43] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037df9e08012d8353400596c630000900992d..."} 
[2026-08-25 13:13:43] local.INFO: Packet analysis {"connection_id":161897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:13:43] local.INFO: Extracted packet for processing {"connection_id":161897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:13:43] local.INFO: GPS Element Parsed {"raw_longitude":763581248,"raw_latitude":93767216,"longitude_deg":76.3581248,"latitude_deg":9.3767216,"altitude":9,"angle":153,"satellites":45,"speed":55,"hex_longitude":"2d835340","hex_latitude":"0596c630","is_valid_coordinates":true} 
[2026-08-25 13:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636810240001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123539210941497344,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8988058932318183424,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787643797000,"timestamp_ms":1787643797000,"timestamp_seconds":1787643797,"priority":1,"record_length":96,"hex_timestamp":"000001a037df9e08"} 
[2026-08-25 13:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 13:13:43] 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-25 13:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636810240001,"66":13406,"18":206,"85":14592,"24":55,"16":123539210941497344,"45":-8988058932318183424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-25 13:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636810240001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:13:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-25 13:13:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123539210941497344,"km_value":123539210941497.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8988058932318183424,"description":"Unknown IO ID 45"} 
[2026-08-25 13:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636810240001,"power":13406,"unknown_18":206,"unknown_85":14592,"ignition":55,"odometer":null,"unknown_45":-8988058932318183424}} 
[2026-08-25 13:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":161897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:13:44] local.INFO: GPS data processed {"connection_id":161897,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:13:44] local.INFO: Acknowledgment sent {"connection_id":161897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:13:45] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:13:45] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:13:45] local.INFO: IMEI packet received {"connection_id":161898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":161898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:13:46] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:13:46] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dafe70012d34c14006aa4820000800e630..."} 
[2026-08-25 13:13:46] local.INFO: Packet analysis {"connection_id":161898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:13:46] local.INFO: Extracted packet for processing {"connection_id":161898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037da"} 
[2026-08-25 13:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636657408001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787643494000,"timestamp_ms":1787643494000,"timestamp_seconds":1787643494,"priority":1,"record_length":96,"hex_timestamp":"000001a037dafe70"} 
[2026-08-25 13:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636657408001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636657408001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636657408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":161898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:13:46] local.INFO: GPS data processed {"connection_id":161898,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:13:46] local.INFO: Acknowledgment sent {"connection_id":161898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:14:12] local.INFO: TCP Data received {"connection_id":164265,"ip":"117.225.227.178","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:14:12] local.INFO: Processing buffer {"connection_id":164265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:14:12] local.INFO: IMEI packet received {"connection_id":164265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":164265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:14:14] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037dfb578012d8363000596a6c80009009a2e..."} 
[2026-08-25 13:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037dfb578012d8363000596a6c80009009a2e..."} 
[2026-08-25 13:14:14] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037dfb578012d8363000596a6c80009009a2e..."} 
[2026-08-25 13:14:14] local.INFO: Packet analysis {"connection_id":161897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:14:14] local.INFO: Extracted packet for processing {"connection_id":161897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:14:14] local.INFO: GPS Element Parsed {"raw_longitude":763585280,"raw_latitude":93759176,"longitude_deg":76.358528,"latitude_deg":9.3759176,"altitude":9,"angle":154,"satellites":46,"speed":63,"hex_longitude":"2d836300","hex_latitude":"0596a6c8","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636812032001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123539644733194240,"note":"Value kept but may cause issues"} 
[2026-08-25 13:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8983766438925422592,"note":"Value kept but may cause issues"} 
[2026-08-25 13:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787643803000,"timestamp_ms":1787643803000,"timestamp_seconds":1787643803,"priority":1,"record_length":96,"hex_timestamp":"000001a037dfb578"} 
[2026-08-25 13: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-25 13:14: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-25 13: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 13:14:14] 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-25 13: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-25 13: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-25 13:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636812032001,"66":13341,"18":206,"85":14592,"24":63,"16":123539644733194240,"45":-8983766438925422592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-25 13:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636812032001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:14:14] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-25 13:14:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123539644733194240,"km_value":123539644733194.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8983766438925422592,"description":"Unknown IO ID 45"} 
[2026-08-25 13:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636812032001,"power":13341,"unknown_18":206,"unknown_85":14592,"ignition":63,"odometer":null,"unknown_45":-8983766438925422592}} 
[2026-08-25 13:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":161897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:14:14] local.INFO: GPS data processed {"connection_id":161897,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:14:14] local.INFO: Acknowledgment sent {"connection_id":161897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:14:16] local.INFO: TCP Data received {"connection_id":164265,"ip":"117.225.227.178","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:14:16] local.INFO: Processing buffer {"connection_id":164265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:14:16] local.INFO: IMEI packet received {"connection_id":164265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":164265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:14:18] local.INFO: TCP Data received {"connection_id":164265,"ip":"117.225.227.178","data_length":639,"data_hex":"00000000000002738e08000001a037df7310012d1a5a400720e590004000802c..."} 
[2026-08-25 13:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164265,"packet_length":639,"packet_hex":"00000000000002738e08000001a037df7310012d1a5a400720e590004000802c..."} 
[2026-08-25 13:14:18] local.INFO: Processing buffer {"connection_id":164265,"buffer_length":639,"buffer_hex":"00000000000002738e08000001a037df7310012d1a5a400720e590004000802c..."} 
[2026-08-25 13:14:18] local.INFO: Packet analysis {"connection_id":164265,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000001a037df"} 
[2026-08-25 13:14:18] local.INFO: Extracted packet for processing {"connection_id":164265,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000001a037df"} 
[2026-08-25 13:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756701760,"raw_latitude":119596432,"longitude_deg":75.670176,"latitude_deg":11.9596432,"altitude":64,"angle":128,"satellites":44,"speed":18,"hex_longitude":"2d1a5a40","hex_latitude":"0720e590","is_valid_coordinates":true} 
[2026-08-25 13: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":639,"current_offset":40} 
[2026-08-25 13:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15869551971401728,"note":"Value kept but may cause issues"} 
[2026-08-25 13:14:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 13:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643786000,"timestamp_ms":1787643786000,"timestamp_seconds":1787643786,"priority":1,"record_length":96,"hex_timestamp":"000001a037df7310"} 
[2026-08-25 13:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:14:18] 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-25 13: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":54,"n8_eight_byte":72,"data_length":639,"current_offset":136} 
[2026-08-25 13:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:14:18] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164265,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-25 13:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14135,"121":206,"28":31744,"24":18,"16":15869551971401728},"client_ip":"117.225.227.178","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16]} 
[2026-08-25 13:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-25 13:14:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:14:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15869551971401728,"km_value":15869551971401.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:14:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null}} 
[2026-08-25 13:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":164265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:14:18] local.INFO: GPS data processed {"connection_id":164265,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:14:18] local.INFO: Acknowledgment sent {"connection_id":164265,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:14:20] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:14:20] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:14:20] local.INFO: Packet analysis {"connection_id":161898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:14:20] local.INFO: Extracted packet for processing {"connection_id":161898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636734464001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787643795000,"timestamp_ms":1787643795000,"timestamp_seconds":1787643795,"priority":1,"record_length":96,"hex_timestamp":"000001a037df9638"} 
[2026-08-25 13: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-25 13:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636734464001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636734464001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:14:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636734464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":161898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:14:20] local.INFO: GPS data processed {"connection_id":161898,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:14:20] local.INFO: Acknowledgment sent {"connection_id":161898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:14:39] local.INFO: TCP Data received {"connection_id":162886,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:14:39] local.INFO: Processing buffer {"connection_id":162886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:14:39] local.INFO: IMEI packet received {"connection_id":162886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":162886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:14:41] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:14:41] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:14:41] local.INFO: IMEI packet received {"connection_id":162885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":162885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:14:41] local.INFO: TCP Data received {"connection_id":162886,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:14:41] local.INFO: Processing buffer {"connection_id":162886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:14:41] local.INFO: IMEI packet received {"connection_id":162886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":162886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:14:45] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:14:45] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:14:45] local.INFO: IMEI packet received {"connection_id":162885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":162885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:14:45] local.INFO: TCP Data received {"connection_id":162886,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:14:45] local.INFO: Processing buffer {"connection_id":162886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:14:45] local.INFO: IMEI packet received {"connection_id":162886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":162886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:14:46] local.INFO: TCP Data received {"connection_id":162886,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e0bb30012d83e740059514e0000500a330..."} 
[2026-08-25 13:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e0bb30012d83e740059514e0000500a330..."} 
[2026-08-25 13:14:46] local.INFO: Processing buffer {"connection_id":162886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e0bb30012d83e740059514e0000500a330..."} 
[2026-08-25 13:14:46] local.INFO: Packet analysis {"connection_id":162886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e0"} 
[2026-08-25 13:14:46] local.INFO: Extracted packet for processing {"connection_id":162886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e0"} 
[2026-08-25 13:14:46] local.INFO: GPS Element Parsed {"raw_longitude":763619136,"raw_latitude":93656288,"longitude_deg":76.3619136,"latitude_deg":9.3656288,"altitude":5,"angle":163,"satellites":48,"speed":48,"hex_longitude":"2d83e740","hex_latitude":"059514e0","is_valid_coordinates":true} 
[2026-08-25 13:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636828928001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123544897478197248,"note":"Value kept but may cause issues"} 
[2026-08-25 13:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8945415473374580736,"note":"Value kept but may cause issues"} 
[2026-08-25 13:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787643870000,"timestamp_ms":1787643870000,"timestamp_seconds":1787643870,"priority":1,"record_length":96,"hex_timestamp":"000001a037e0bb30"} 
[2026-08-25 13:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:14: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-25 13:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 13:14:46] 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-25 13:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636828928001,"66":13472,"217":206,"85":14592,"24":48,"16":123544897478197248,"45":-8945415473374580736},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 13:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636828928001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:14:46] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 13:14:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123544897478197248,"km_value":123544897478197.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8945415473374580736,"description":"Unknown IO ID 45"} 
[2026-08-25 13:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636828928001,"power":13472,"unknown_217":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-8945415473374580736}} 
[2026-08-25 13:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":162886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:14:46] local.INFO: GPS data processed {"connection_id":162886,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:14:46] local.INFO: Acknowledgment sent {"connection_id":162886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:14:47] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:14:47] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:14:47] local.INFO: Packet analysis {"connection_id":162885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:14:47] local.INFO: Extracted packet for processing {"connection_id":162885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636734464001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787643795000,"timestamp_ms":1787643795000,"timestamp_seconds":1787643795,"priority":1,"record_length":96,"hex_timestamp":"000001a037df9638"} 
[2026-08-25 13:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636734464001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636734464001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:14:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636734464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":162885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:14:48] local.INFO: GPS data processed {"connection_id":162885,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:14:48] local.INFO: Acknowledgment sent {"connection_id":162885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:14:49] local.INFO: TCP Data received {"connection_id":164265,"ip":"117.225.227.178","data_length":93,"data_hex":"00000000000000518e01000001a037df8a80012d1a63800720dce00042008c29..."} 
[2026-08-25 13:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164265,"packet_length":93,"packet_hex":"00000000000000518e01000001a037df8a80012d1a63800720dce00042008c29..."} 
[2026-08-25 13:14:49] local.INFO: Processing buffer {"connection_id":164265,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a037df8a80012d1a63800720dce00042008c29..."} 
[2026-08-25 13:14:49] local.INFO: Packet analysis {"connection_id":164265,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a037df"} 
[2026-08-25 13:14:49] local.INFO: Extracted packet for processing {"connection_id":164265,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a037df"} 
[2026-08-25 13:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756704128,"raw_latitude":119594208,"longitude_deg":75.6704128,"latitude_deg":11.9594208,"altitude":66,"angle":140,"satellites":41,"speed":21,"hex_longitude":"2d1a6380","hex_latitude":"0720dce0","is_valid_coordinates":true} 
[2026-08-25 13: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":93,"current_offset":40} 
[2026-08-25 13:14: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-25 13:14: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-25 13:14:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:14:49] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 13:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164265,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 13:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 13:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 13:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 13:14:49] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 13:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":164265,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 13:14:49] local.ERROR: GPS data processing failed {"connection_id":164265,"error":"No valid data to process"} 
[2026-08-25 13:14:49] local.INFO: Acknowledgment sent {"connection_id":164265,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 13:15:18] local.INFO: TCP Data received {"connection_id":162886,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e0d688012d83f3800594f0000006009e30..."} 
[2026-08-25 13:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e0d688012d83f3800594f0000006009e30..."} 
[2026-08-25 13:15:18] local.INFO: Processing buffer {"connection_id":162886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e0d688012d83f3800594f0000006009e30..."} 
[2026-08-25 13:15:18] local.INFO: Packet analysis {"connection_id":162886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e0"} 
[2026-08-25 13:15:18] local.INFO: Extracted packet for processing {"connection_id":162886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e0"} 
[2026-08-25 13:15:18] local.INFO: GPS Element Parsed {"raw_longitude":763622272,"raw_latitude":93646848,"longitude_deg":76.3622272,"latitude_deg":9.3646848,"altitude":6,"angle":158,"satellites":48,"speed":60,"hex_longitude":"2d83f380","hex_latitude":"0594f000","is_valid_coordinates":true} 
[2026-08-25 13:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636830720001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123545378514534400,"note":"Value kept but may cause issues"} 
[2026-08-25 13:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8942108142400643072,"note":"Value kept but may cause issues"} 
[2026-08-25 13:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643877000,"timestamp_ms":1787643877000,"timestamp_seconds":1787643877,"priority":1,"record_length":96,"hex_timestamp":"000001a037e0d688"} 
[2026-08-25 13:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:15: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-25 13:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 13:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636830720001,"66":13461,"217":206,"85":14592,"24":60,"16":123545378514534400,"45":-8942108142400643072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 13:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636830720001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:15:18] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 13:15:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123545378514534400,"km_value":123545378514534.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8942108142400643072,"description":"Unknown IO ID 45"} 
[2026-08-25 13:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636830720001,"power":13461,"unknown_217":206,"unknown_85":14592,"ignition":60,"odometer":null,"unknown_45":-8942108142400643072}} 
[2026-08-25 13:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":162886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:15:18] local.INFO: GPS data processed {"connection_id":162886,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:15:18] local.INFO: Acknowledgment sent {"connection_id":162886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:15:19] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:15:19] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:15:19] local.INFO: Packet analysis {"connection_id":162885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:15:19] local.INFO: Extracted packet for processing {"connection_id":162885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:15:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636734464001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787643795000,"timestamp_ms":1787643795000,"timestamp_seconds":1787643795,"priority":1,"record_length":96,"hex_timestamp":"000001a037df9638"} 
[2026-08-25 13:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636734464001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636734464001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:15:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:15:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636734464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":162885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:15:19] local.INFO: GPS data processed {"connection_id":162885,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:15:19] local.INFO: Acknowledgment sent {"connection_id":162885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:15:19] local.INFO: TCP Data received {"connection_id":164265,"ip":"117.225.227.178","data_length":93,"data_hex":"00000000000000518e01000001a037dfa9c0012d1a6c000720d288004400a32b..."} 
[2026-08-25 13:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164265,"packet_length":93,"packet_hex":"00000000000000518e01000001a037dfa9c0012d1a6c000720d288004400a32b..."} 
[2026-08-25 13:15:19] local.INFO: Processing buffer {"connection_id":164265,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a037dfa9c0012d1a6c000720d288004400a32b..."} 
[2026-08-25 13:15:19] local.INFO: Packet analysis {"connection_id":164265,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a037df"} 
[2026-08-25 13:15:19] local.INFO: Extracted packet for processing {"connection_id":164265,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a037df"} 
[2026-08-25 13:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756706304,"raw_latitude":119591560,"longitude_deg":75.6706304,"latitude_deg":11.959156,"altitude":68,"angle":163,"satellites":43,"speed":9,"hex_longitude":"2d1a6c00","hex_latitude":"0720d288","is_valid_coordinates":true} 
[2026-08-25 13:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-25 13:15:19] 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-25 13:15:19] 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-25 13:15:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:15:19] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 13:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164265,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 13:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 13:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 13:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 13:15:19] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 13:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":164265,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 13:15:19] local.ERROR: GPS data processing failed {"connection_id":164265,"error":"No valid data to process"} 
[2026-08-25 13:15:19] local.INFO: Acknowledgment sent {"connection_id":164265,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 13:15:40] local.INFO: TCP Data received {"connection_id":162887,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:15:40] local.INFO: Processing buffer {"connection_id":162887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:15:40] local.INFO: IMEI packet received {"connection_id":162887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":162887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:15:41] local.INFO: TCP Data received {"connection_id":164266,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:15:41] local.INFO: Processing buffer {"connection_id":164266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:15:41] local.INFO: IMEI packet received {"connection_id":164266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":164266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:15:45] local.INFO: TCP Data received {"connection_id":162887,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:15:45] local.INFO: Processing buffer {"connection_id":162887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:15:45] local.INFO: IMEI packet received {"connection_id":162887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":162887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:15:46] local.INFO: TCP Data received {"connection_id":164266,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:15:46] local.INFO: Processing buffer {"connection_id":164266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:15:46] local.INFO: IMEI packet received {"connection_id":164266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":164266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:15:46] local.INFO: TCP Data received {"connection_id":162887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:15:46] local.INFO: Processing buffer {"connection_id":162887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:15:46] local.INFO: Packet analysis {"connection_id":162887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:15:46] local.INFO: Extracted packet for processing {"connection_id":162887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636734464001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787643795000,"timestamp_ms":1787643795000,"timestamp_seconds":1787643795,"priority":1,"record_length":96,"hex_timestamp":"000001a037df9638"} 
[2026-08-25 13:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636734464001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636734464001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:15:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636734464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":162887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:15:46] local.INFO: GPS data processed {"connection_id":162887,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:15:46] local.INFO: Acknowledgment sent {"connection_id":162887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:15:47] local.INFO: TCP Data received {"connection_id":164266,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e0edf8012d8401800594ce080006009d2f..."} 
[2026-08-25 13:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e0edf8012d8401800594ce080006009d2f..."} 
[2026-08-25 13:15:47] local.INFO: Processing buffer {"connection_id":164266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e0edf8012d8401800594ce080006009d2f..."} 
[2026-08-25 13:15:47] local.INFO: Packet analysis {"connection_id":164266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e0"} 
[2026-08-25 13:15:47] local.INFO: Extracted packet for processing {"connection_id":164266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e0"} 
[2026-08-25 13:15:47] local.INFO: GPS Element Parsed {"raw_longitude":763625856,"raw_latitude":93638152,"longitude_deg":76.3625856,"latitude_deg":9.3638152,"altitude":6,"angle":157,"satellites":47,"speed":60,"hex_longitude":"2d840180","hex_latitude":"0594ce08","is_valid_coordinates":true} 
[2026-08-25 13:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636832512001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123545833781067776,"note":"Value kept but may cause issues"} 
[2026-08-25 13:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8938660073938354176,"note":"Value kept but may cause issues"} 
[2026-08-25 13:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787643883000,"timestamp_ms":1787643883000,"timestamp_seconds":1787643883,"priority":1,"record_length":96,"hex_timestamp":"000001a037e0edf8"} 
[2026-08-25 13:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:15: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-25 13:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-25 13:15:47] 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-25 13:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636832512001,"66":13613,"217":206,"85":14592,"24":60,"16":123545833781067776,"45":-8938660073938354176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 13:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636832512001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:15:47] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 13:15:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123545833781067776,"km_value":123545833781067.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8938660073938354176,"description":"Unknown IO ID 45"} 
[2026-08-25 13:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636832512001,"power":13613,"unknown_217":206,"unknown_85":14592,"ignition":60,"odometer":null,"unknown_45":-8938660073938354176}} 
[2026-08-25 13:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":164266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:15:47] local.INFO: GPS data processed {"connection_id":164266,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:15:47] local.INFO: Acknowledgment sent {"connection_id":164266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:15:51] local.INFO: TCP Data received {"connection_id":164265,"ip":"117.225.227.178","data_length":93,"data_hex":"00000000000000518e01000001a037dfada8012d1a6c000720d190004400bb2a..."} 
[2026-08-25 13:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164265,"packet_length":93,"packet_hex":"00000000000000518e01000001a037dfada8012d1a6c000720d190004400bb2a..."} 
[2026-08-25 13:15:51] local.INFO: Processing buffer {"connection_id":164265,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a037dfada8012d1a6c000720d190004400bb2a..."} 
[2026-08-25 13:15:51] local.INFO: Packet analysis {"connection_id":164265,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a037df"} 
[2026-08-25 13:15:51] local.INFO: Extracted packet for processing {"connection_id":164265,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a037df"} 
[2026-08-25 13:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756706304,"raw_latitude":119591312,"longitude_deg":75.6706304,"latitude_deg":11.9591312,"altitude":68,"angle":187,"satellites":42,"speed":9,"hex_longitude":"2d1a6c00","hex_latitude":"0720d190","is_valid_coordinates":true} 
[2026-08-25 13: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":93,"current_offset":40} 
[2026-08-25 13:15:51] 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-25 13:15:51] 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-25 13:15:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:15:51] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 13:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164265,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 13:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 13:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 13:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 13:15:51] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 13:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":164265,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 13:15:51] local.ERROR: GPS data processing failed {"connection_id":164265,"error":"No valid data to process"} 
[2026-08-25 13:15:51] local.INFO: Acknowledgment sent {"connection_id":164265,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 13:16:17] local.INFO: TCP Data received {"connection_id":162887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:16:17] local.INFO: Processing buffer {"connection_id":162887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:16:17] local.INFO: Packet analysis {"connection_id":162887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:16:17] local.INFO: Extracted packet for processing {"connection_id":162887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636734464001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787643795000,"timestamp_ms":1787643795000,"timestamp_seconds":1787643795,"priority":1,"record_length":96,"hex_timestamp":"000001a037df9638"} 
[2026-08-25 13:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636734464001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636734464001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636734464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":162887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:16:17] local.INFO: GPS data processed {"connection_id":162887,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:16:17] local.INFO: Acknowledgment sent {"connection_id":162887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:16:18] local.INFO: TCP Data received {"connection_id":164266,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e10568012d840f000594ac480005009f2f..."} 
[2026-08-25 13:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e10568012d840f000594ac480005009f2f..."} 
[2026-08-25 13:16:18] local.INFO: Processing buffer {"connection_id":164266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e10568012d840f000594ac480005009f2f..."} 
[2026-08-25 13:16:18] local.INFO: Packet analysis {"connection_id":164266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e1"} 
[2026-08-25 13:16:18] local.INFO: Extracted packet for processing {"connection_id":164266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e1"} 
[2026-08-25 13:16:18] local.INFO: GPS Element Parsed {"raw_longitude":763629312,"raw_latitude":93629512,"longitude_deg":76.3629312,"latitude_deg":9.3629512,"altitude":5,"angle":159,"satellites":47,"speed":64,"hex_longitude":"2d840f00","hex_latitude":"0594ac48","is_valid_coordinates":true} 
[2026-08-25 13:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636834048001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123546284752633856,"note":"Value kept but may cause issues"} 
[2026-08-25 13:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8934719424266631168,"note":"Value kept but may cause issues"} 
[2026-08-25 13:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643889000,"timestamp_ms":1787643889000,"timestamp_seconds":1787643889,"priority":1,"record_length":96,"hex_timestamp":"000001a037e10568"} 
[2026-08-25 13:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:16: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-25 13:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-25 13:16:18] 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-25 13:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636834048001,"66":13559,"217":206,"85":14592,"24":64,"16":123546284752633856,"45":-8934719424266631168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 13:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636834048001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:16:18] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 13:16:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123546284752633856,"km_value":123546284752633.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8934719424266631168,"description":"Unknown IO ID 45"} 
[2026-08-25 13:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636834048001,"power":13559,"unknown_217":206,"unknown_85":14592,"ignition":64,"odometer":null,"unknown_45":-8934719424266631168}} 
[2026-08-25 13:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":164266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:16:18] local.INFO: GPS data processed {"connection_id":164266,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:16:18] local.INFO: Acknowledgment sent {"connection_id":164266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:16:32] local.INFO: TCP Data received {"connection_id":164265,"ip":"117.225.227.178","data_length":93,"data_hex":"00000000000000518e01000001a037e18e20012d1a69000720ba58004a015b2c..."} 
[2026-08-25 13:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164265,"packet_length":93,"packet_hex":"00000000000000518e01000001a037e18e20012d1a69000720ba58004a015b2c..."} 
[2026-08-25 13:16:32] local.INFO: Processing buffer {"connection_id":164265,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a037e18e20012d1a69000720ba58004a015b2c..."} 
[2026-08-25 13:16:32] local.INFO: Packet analysis {"connection_id":164265,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a037e1"} 
[2026-08-25 13:16:32] local.INFO: Extracted packet for processing {"connection_id":164265,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a037e1"} 
[2026-08-25 13:16:32] local.INFO: GPS Element Parsed {"raw_longitude":756705536,"raw_latitude":119585368,"longitude_deg":75.6705536,"latitude_deg":11.9585368,"altitude":74,"angle":347,"satellites":44,"speed":4,"hex_longitude":"2d1a6900","hex_latitude":"0720ba58","is_valid_coordinates":true} 
[2026-08-25 13:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-25 13:16:32] 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-25 13:16:32] 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-25 13:16:32] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:16:32] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 13:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":164265,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 13:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 13:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-25 13:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.178","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 13:16:32] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 13:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":164265,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 13:16:32] local.ERROR: GPS data processing failed {"connection_id":164265,"error":"No valid data to process"} 
[2026-08-25 13:16:32] local.INFO: Acknowledgment sent {"connection_id":164265,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 13:16:40] local.INFO: TCP Data received {"connection_id":162888,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:16:40] local.INFO: Processing buffer {"connection_id":162888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:16:40] local.INFO: IMEI packet received {"connection_id":162888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":162888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:16:45] local.INFO: TCP Data received {"connection_id":162888,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:16:45] local.INFO: Processing buffer {"connection_id":162888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:16:45] local.INFO: IMEI packet received {"connection_id":162888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":162888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:16:45] local.INFO: TCP Data received {"connection_id":162889,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:16:45] local.INFO: Processing buffer {"connection_id":162889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:16:45] local.INFO: IMEI packet received {"connection_id":162889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":162889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:16:46] local.INFO: TCP Data received {"connection_id":162889,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:16:46] local.INFO: Processing buffer {"connection_id":162889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:16:46] local.INFO: IMEI packet received {"connection_id":162889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":162889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:16:46] local.INFO: TCP Data received {"connection_id":162888,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:16:46] local.INFO: Processing buffer {"connection_id":162888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:16:46] local.INFO: Packet analysis {"connection_id":162888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:16:46] local.INFO: Extracted packet for processing {"connection_id":162888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636734464001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787643795000,"timestamp_ms":1787643795000,"timestamp_seconds":1787643795,"priority":1,"record_length":96,"hex_timestamp":"000001a037df9638"} 
[2026-08-25 13:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636734464001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636734464001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:16:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636734464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":162888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:16:46] local.INFO: GPS data processed {"connection_id":162888,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:16:46] local.INFO: Acknowledgment sent {"connection_id":162888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:16:48] local.INFO: TCP Data received {"connection_id":162889,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:16:48] local.INFO: Processing buffer {"connection_id":162889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:16:48] local.INFO: IMEI packet received {"connection_id":162889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":162889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:16:49] local.INFO: TCP Data received {"connection_id":162889,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e27498012d847ac0059322600004009b2f..."} 
[2026-08-25 13:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e27498012d847ac0059322600004009b2f..."} 
[2026-08-25 13:16:49] local.INFO: Processing buffer {"connection_id":162889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e27498012d847ac0059322600004009b2f..."} 
[2026-08-25 13:16:49] local.INFO: Packet analysis {"connection_id":162889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:16:49] local.INFO: Extracted packet for processing {"connection_id":162889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:16:49] local.INFO: GPS Element Parsed {"raw_longitude":763656896,"raw_latitude":93528672,"longitude_deg":76.3656896,"latitude_deg":9.3528672,"altitude":4,"angle":155,"satellites":47,"speed":42,"hex_longitude":"2d847ac0","hex_latitude":"05932260","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636856320001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123551369993912320,"note":"Value kept but may cause issues"} 
[2026-08-25 13:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8904812708016955392,"note":"Value kept but may cause issues"} 
[2026-08-25 13:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787643983000,"timestamp_ms":1787643983000,"timestamp_seconds":1787643983,"priority":1,"record_length":96,"hex_timestamp":"000001a037e27498"} 
[2026-08-25 13: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-25 13:16: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-25 13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 13:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636856320001,"66":13396,"149":206,"85":14592,"24":42,"16":123551369993912320,"45":-8904812708016955392},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-25 13:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636856320001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:16:49] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-25 13:16:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123551369993912320,"km_value":123551369993912.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8904812708016955392,"description":"Unknown IO ID 45"} 
[2026-08-25 13:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636856320001,"power":13396,"unknown_149":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-8904812708016955392}} 
[2026-08-25 13:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":162889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:16:49] local.INFO: GPS data processed {"connection_id":162889,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:16:49] local.INFO: Acknowledgment sent {"connection_id":162889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:17:06] local.INFO: TCP Data received {"connection_id":164265,"ip":"117.225.227.178","data_length":171,"data_hex":"000000000000009f8e02000001a037e19208012d1a69000720bab8004a00002c..."} 
[2026-08-25 13:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164265,"packet_length":171,"packet_hex":"000000000000009f8e02000001a037e19208012d1a69000720bab8004a00002c..."} 
[2026-08-25 13:17:06] local.INFO: Processing buffer {"connection_id":164265,"buffer_length":171,"buffer_hex":"000000000000009f8e02000001a037e19208012d1a69000720bab8004a00002c..."} 
[2026-08-25 13:17:06] local.INFO: Packet analysis {"connection_id":164265,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000001a037e1"} 
[2026-08-25 13:17:06] local.INFO: Extracted packet for processing {"connection_id":164265,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000001a037e1"} 
[2026-08-25 13:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756705536,"raw_latitude":119585464,"longitude_deg":75.6705536,"latitude_deg":11.9585464,"altitude":74,"angle":0,"satellites":44,"speed":4,"hex_longitude":"2d1a6900","hex_latitude":"0720bab8","is_valid_coordinates":true} 
[2026-08-25 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":171,"current_offset":40} 
[2026-08-25 13:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636844544001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15870286410809344,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903052348154599424,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787643925000,"timestamp_ms":1787643925000,"timestamp_seconds":1787643925,"priority":1,"record_length":96,"hex_timestamp":"000001a037e19208"} 
[2026-08-25 13:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:17: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-25 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":54,"n8_eight_byte":246,"data_length":171,"current_offset":136} 
[2026-08-25 13:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:17:06] 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-25 13:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:17:06] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":164265,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-25 13:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636844544001,"66":14048,"121":206,"28":31744,"24":4,"16":15870286410809344,"45":1903052348154599424},"client_ip":"117.225.227.178","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636844544001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:17:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15870286410809344,"km_value":15870286410809.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903052348154599424,"description":"Unknown IO ID 45"} 
[2026-08-25 13:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636844544001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1903052348154599424}} 
[2026-08-25 13:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":164265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:17:06] local.INFO: GPS data processed {"connection_id":164265,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:17:06] local.INFO: Acknowledgment sent {"connection_id":164265,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:17:17] local.INFO: TCP Data received {"connection_id":162888,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:17:17] local.INFO: Processing buffer {"connection_id":162888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:17:17] local.INFO: Packet analysis {"connection_id":162888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:17:17] local.INFO: Extracted packet for processing {"connection_id":162888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636734464001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787643795000,"timestamp_ms":1787643795000,"timestamp_seconds":1787643795,"priority":1,"record_length":96,"hex_timestamp":"000001a037df9638"} 
[2026-08-25 13:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636734464001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636734464001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:17:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636734464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":162888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:17:17] local.INFO: GPS data processed {"connection_id":162888,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:17:17] local.INFO: Acknowledgment sent {"connection_id":162888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:17:20] local.INFO: TCP Data received {"connection_id":162889,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e297c0012d848b40059300b00005009a2c..."} 
[2026-08-25 13:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e297c0012d848b40059300b00005009a2c..."} 
[2026-08-25 13:17:20] local.INFO: Processing buffer {"connection_id":162889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e297c0012d848b40059300b00005009a2c..."} 
[2026-08-25 13:17:20] local.INFO: Packet analysis {"connection_id":162889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:17:20] local.INFO: Extracted packet for processing {"connection_id":162889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:17:20] local.INFO: GPS Element Parsed {"raw_longitude":763661120,"raw_latitude":93520048,"longitude_deg":76.366112,"latitude_deg":9.3520048,"altitude":5,"angle":154,"satellites":44,"speed":42,"hex_longitude":"2d848b40","hex_latitude":"059300b0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636859648001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123551833850380288,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8900590583368491008,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787643992000,"timestamp_ms":1787643992000,"timestamp_seconds":1787643992,"priority":1,"record_length":96,"hex_timestamp":"000001a037e297c0"} 
[2026-08-25 13: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-25 13:17: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-25 13: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-25 13:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636859648001,"66":13363,"149":206,"85":14592,"24":42,"16":123551833850380288,"45":-8900590583368491008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-25 13:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636859648001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:17:20] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-25 13:17:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123551833850380288,"km_value":123551833850380.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8900590583368491008,"description":"Unknown IO ID 45"} 
[2026-08-25 13:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636859648001,"power":13363,"unknown_149":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-8900590583368491008}} 
[2026-08-25 13:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":162889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:17:20] local.INFO: GPS data processed {"connection_id":162889,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:17:20] local.INFO: Acknowledgment sent {"connection_id":162889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:17:38] local.INFO: TCP Data received {"connection_id":164265,"ip":"117.225.227.178","data_length":795,"data_hex":"000000000000030f8e0a000001a037e2bed0012d1a33c0072100d0004801142d..."} 
[2026-08-25 13:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e2bed0012d1a33c0072100d0004801142d..."} 
[2026-08-25 13:17:38] local.INFO: Processing buffer {"connection_id":164265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e2bed0012d1a33c0072100d0004801142d..."} 
[2026-08-25 13:17:38] local.INFO: Packet analysis {"connection_id":164265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:17:38] local.INFO: Extracted packet for processing {"connection_id":164265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756691904,"raw_latitude":119603408,"longitude_deg":75.6691904,"latitude_deg":11.9603408,"altitude":72,"angle":276,"satellites":45,"speed":16,"hex_longitude":"2d1a33c0","hex_latitude":"072100d0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636864000001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15871506181521408,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888908230579458048,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787644002000,"timestamp_ms":1787644002000,"timestamp_seconds":1787644002,"priority":1,"record_length":96,"hex_timestamp":"000001a037e2bed0"} 
[2026-08-25 13: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-25 13:17:38] 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-25 13: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 13:17: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-25 13: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-25 13: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-25 13:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636864000001,"66":13102,"50":206,"28":31744,"24":16,"16":15871506181521408,"45":1888908230579458048},"client_ip":"117.225.227.178","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-25 13:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636864000001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:17:38] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-25 13:17:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15871506181521408,"km_value":15871506181521.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888908230579458048,"description":"Unknown IO ID 45"} 
[2026-08-25 13:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636864000001,"power":13102,"unknown_50":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1888908230579458048}} 
[2026-08-25 13:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":164265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:17:38] local.INFO: GPS data processed {"connection_id":164265,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:17:38] local.INFO: Acknowledgment sent {"connection_id":164265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:17:40] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:17:40] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:17:40] local.INFO: IMEI packet received {"connection_id":161644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":161644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:17:41] local.INFO: TCP Data received {"connection_id":164267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:17:41] local.INFO: Processing buffer {"connection_id":164267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:17:41] local.INFO: IMEI packet received {"connection_id":164267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":164267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:17:44] local.INFO: TCP Data received {"connection_id":164267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:17:44] local.INFO: Processing buffer {"connection_id":164267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:17:44] local.INFO: IMEI packet received {"connection_id":164267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":164267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:17:45] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:17:45] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:17:45] local.INFO: IMEI packet received {"connection_id":161644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":161644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:17:46] local.INFO: TCP Data received {"connection_id":164267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:17:46] local.INFO: Processing buffer {"connection_id":164267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:17:46] local.INFO: IMEI packet received {"connection_id":164267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":164267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:17:46] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:17:46] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:17:46] local.INFO: Packet analysis {"connection_id":161644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:17:46] local.INFO: Extracted packet for processing {"connection_id":161644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636734464001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787643795000,"timestamp_ms":1787643795000,"timestamp_seconds":1787643795,"priority":1,"record_length":96,"hex_timestamp":"000001a037df9638"} 
[2026-08-25 13:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636734464001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636734464001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636734464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":161644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:17:46] local.INFO: GPS data processed {"connection_id":161644,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:17:46] local.INFO: Acknowledgment sent {"connection_id":161644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:17:47] local.INFO: TCP Data received {"connection_id":164267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e2c2b8012d849b000592df900006009a2c..."} 
[2026-08-25 13:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e2c2b8012d849b000592df900006009a2c..."} 
[2026-08-25 13:17:47] local.INFO: Processing buffer {"connection_id":164267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e2c2b8012d849b000592df900006009a2c..."} 
[2026-08-25 13:17:47] local.INFO: Packet analysis {"connection_id":164267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:17:47] local.INFO: Extracted packet for processing {"connection_id":164267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:17:47] local.INFO: GPS Element Parsed {"raw_longitude":763665152,"raw_latitude":93511568,"longitude_deg":76.3665152,"latitude_deg":9.3511568,"altitude":6,"angle":154,"satellites":44,"speed":29,"hex_longitude":"2d849b00","hex_latitude":"0592df90","is_valid_coordinates":true} 
[2026-08-25 13:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636861952001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123552284821946368,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8895946246254972928,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787644003000,"timestamp_ms":1787644003000,"timestamp_seconds":1787644003,"priority":1,"record_length":96,"hex_timestamp":"000001a037e2c2b8"} 
[2026-08-25 13:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:17: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-25 13:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 13:17: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-25 13:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636861952001,"66":13580,"149":206,"85":14592,"24":29,"16":123552284821946368,"45":-8895946246254972928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-25 13:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636861952001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:17:47] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-25 13:17:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123552284821946368,"km_value":123552284821946.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8895946246254972928,"description":"Unknown IO ID 45"} 
[2026-08-25 13:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636861952001,"power":13580,"unknown_149":206,"unknown_85":14592,"ignition":29,"odometer":null,"unknown_45":-8895946246254972928}} 
[2026-08-25 13:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":164267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:17:47] local.INFO: GPS data processed {"connection_id":164267,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:17:47] local.INFO: Acknowledgment sent {"connection_id":164267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:17:50] local.INFO: TCP Data received {"connection_id":164267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e2ce70012d849e000592d630000700a72e..."} 
[2026-08-25 13:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e2ce70012d849e000592d630000700a72e..."} 
[2026-08-25 13:17:50] local.INFO: Processing buffer {"connection_id":164267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e2ce70012d849e000592d630000700a72e..."} 
[2026-08-25 13:17:50] local.INFO: Packet analysis {"connection_id":164267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:17:50] local.INFO: Extracted packet for processing {"connection_id":164267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:17:50] local.INFO: GPS Element Parsed {"raw_longitude":763665920,"raw_latitude":93509168,"longitude_deg":76.366592,"latitude_deg":9.3509168,"altitude":7,"angle":167,"satellites":46,"speed":37,"hex_longitude":"2d849e00","hex_latitude":"0592d630","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636864768001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123552409375997952,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8891513015373950976,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787644006000,"timestamp_ms":1787644006000,"timestamp_seconds":1787644006,"priority":1,"record_length":96,"hex_timestamp":"000001a037e2ce70"} 
[2026-08-25 13: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-25 13:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625967,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2220736517,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635021297232526,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5264799223861215232,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3793147905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2845114574,"corrected_to":0} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":243,"raw_value":2952867204,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6773639612456816213,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":182,"raw_value":4027908096,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":132,"raw_value":4701764143319351302,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.WARNING: Large IO value detected {"io_id":57,"raw_value":6755622779486449,"note":"Value kept but may cause issues"} 
[2026-08-25 13:17:50] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,149,85,24,241,157,16,242,160,151,45,64,5,44,10,66,116,192,34,4,47,65,1,240,35,227,55,147,113,205,36,243,83,239,52,142,2,182,9,132,57],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2845114574,"validated":0}]} 
[2026-08-25 13:17:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432515077998706688,"timestamp_seconds":432515077998706.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13: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-25 13:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636864768001,"66":13319,"149":206,"85":14592,"24":37,"16":123552409375997952,"45":-8891513015373950976},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-25 13:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636864768001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:17:50] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-25 13:17:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123552409375997952,"km_value":123552409375997.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8891513015373950976,"description":"Unknown IO ID 45"} 
[2026-08-25 13:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636864768001,"power":13319,"unknown_149":206,"unknown_85":14592,"ignition":37,"odometer":null,"unknown_45":-8891513015373950976}} 
[2026-08-25 13:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":164267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:17:50] local.INFO: GPS data processed {"connection_id":164267,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:17:50] local.INFO: Acknowledgment sent {"connection_id":164267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:18:16] local.INFO: TCP Data received {"connection_id":164268,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:18:16] local.INFO: Processing buffer {"connection_id":164268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:18:16] local.INFO: IMEI packet received {"connection_id":164268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 13:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":164268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:18:18] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:18:18] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:18:18] local.INFO: Packet analysis {"connection_id":161644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:18:18] local.INFO: Extracted packet for processing {"connection_id":161644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636734464001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787643795000,"timestamp_ms":1787643795000,"timestamp_seconds":1787643795,"priority":1,"record_length":96,"hex_timestamp":"000001a037df9638"} 
[2026-08-25 13: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-25 13:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636734464001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636734464001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:18:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636734464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":161644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:18:18] local.INFO: GPS data processed {"connection_id":161644,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:18:18] local.INFO: Acknowledgment sent {"connection_id":161644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:18:23] local.INFO: TCP Data received {"connection_id":164265,"ip":"117.225.227.178","data_length":795,"data_hex":"000000000000030f8e0a000001a037e2c6a0012d1a30c0072100b0004901032c..."} 
[2026-08-25 13:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e2c6a0012d1a30c0072100b0004901032c..."} 
[2026-08-25 13:18:23] local.INFO: Processing buffer {"connection_id":164265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e2c6a0012d1a30c0072100b0004901032c..."} 
[2026-08-25 13:18:23] local.INFO: Packet analysis {"connection_id":164265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:18:23] local.INFO: Extracted packet for processing {"connection_id":164265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756691136,"raw_latitude":119603376,"longitude_deg":75.6691136,"latitude_deg":11.9603376,"altitude":73,"angle":259,"satellites":44,"speed":15,"hex_longitude":"2d1a30c0","hex_latitude":"072100b0","is_valid_coordinates":true} 
[2026-08-25 13:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636864512001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15871540541259776,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888063805649375232,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787644004000,"timestamp_ms":1787644004000,"timestamp_seconds":1787644004,"priority":1,"record_length":96,"hex_timestamp":"000001a037e2c6a0"} 
[2026-08-25 13:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 13:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636864512001,"66":13287,"50":206,"28":31744,"24":15,"16":15871540541259776,"45":1888063805649375232},"client_ip":"117.225.227.178","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-25 13:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636864512001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:18:23] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-25 13:18:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15871540541259776,"km_value":15871540541259.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888063805649375232,"description":"Unknown IO ID 45"} 
[2026-08-25 13:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636864512001,"power":13287,"unknown_50":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1888063805649375232}} 
[2026-08-25 13:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":164265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:18:23] local.INFO: GPS data processed {"connection_id":164265,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:18:23] local.INFO: Acknowledgment sent {"connection_id":164265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:18:26] local.INFO: TCP Data received {"connection_id":164267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e40308012d855140059127080007009b30..."} 
[2026-08-25 13:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e40308012d855140059127080007009b30..."} 
[2026-08-25 13:18:26] local.INFO: Processing buffer {"connection_id":164267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e40308012d855140059127080007009b30..."} 
[2026-08-25 13:18:26] local.INFO: Packet analysis {"connection_id":164267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:18:26] local.INFO: Extracted packet for processing {"connection_id":164267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763711808,"raw_latitude":93398792,"longitude_deg":76.3711808,"latitude_deg":9.3398792,"altitude":7,"angle":155,"satellites":48,"speed":63,"hex_longitude":"2d855140","hex_latitude":"05912708","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636884224001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123558194696945664,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8844577063034058752,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787644085000,"timestamp_ms":1787644085000,"timestamp_seconds":1787644085,"priority":1,"record_length":96,"hex_timestamp":"000001a037e40308"} 
[2026-08-25 13: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-25 13:18: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-25 13:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 13:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636884224001,"66":13472,"148":206,"85":14592,"24":63,"16":123558194696945664,"45":-8844577063034058752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-25 13:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636884224001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:18:26] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-25 13:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123558194696945664,"km_value":123558194696945.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8844577063034058752,"description":"Unknown IO ID 45"} 
[2026-08-25 13:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636884224001,"power":13472,"unknown_148":206,"unknown_85":14592,"ignition":63,"odometer":null,"unknown_45":-8844577063034058752}} 
[2026-08-25 13:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":164267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:18:26] local.INFO: GPS data processed {"connection_id":164267,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:18:26] local.INFO: Acknowledgment sent {"connection_id":164267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:18:45] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:18:45] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:18:45] local.INFO: IMEI packet received {"connection_id":161645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":161645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:18:50] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:18:50] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:18:50] local.INFO: IMEI packet received {"connection_id":161645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":161645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:18:51] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:18:51] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:18:51] local.INFO: IMEI packet received {"connection_id":161899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":161899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:18:51] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:18:51] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037df9638012d34c14006aa4820000a00e631..."} 
[2026-08-25 13:18:51] local.INFO: Packet analysis {"connection_id":161645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:18:51] local.INFO: Extracted packet for processing {"connection_id":161645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037df"} 
[2026-08-25 13:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636734464001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787643795000,"timestamp_ms":1787643795000,"timestamp_seconds":1787643795,"priority":1,"record_length":96,"hex_timestamp":"000001a037df9638"} 
[2026-08-25 13: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-25 13:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636734464001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636734464001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:18:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636734464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":161645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:18:51] local.INFO: GPS data processed {"connection_id":161645,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:18:51] local.INFO: Acknowledgment sent {"connection_id":161645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:18:52] local.INFO: TCP Data received {"connection_id":164269,"ip":"117.225.227.178","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:18:52] local.INFO: Processing buffer {"connection_id":164269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:18:52] local.INFO: IMEI packet received {"connection_id":164269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":164269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:18:54] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:18:54] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:18:54] local.INFO: Packet analysis {"connection_id":161645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:18:54] local.INFO: Extracted packet for processing {"connection_id":161645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:18:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636811520001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787644096000,"timestamp_ms":1787644096000,"timestamp_seconds":1787644096,"priority":1,"record_length":96,"hex_timestamp":"000001a037e42e00"} 
[2026-08-25 13:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:18: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-25 13:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636811520001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636811520001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:18:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:18:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":161645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:18:54] local.INFO: GPS data processed {"connection_id":161645,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:18:54] local.INFO: Acknowledgment sent {"connection_id":161645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:18:55] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:18:55] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:18:55] local.INFO: IMEI packet received {"connection_id":161899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":161899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:18:56] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e41a78012d856040059104e80008009b30..."} 
[2026-08-25 13:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e41a78012d856040059104e80008009b30..."} 
[2026-08-25 13:18:56] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e41a78012d856040059104e80008009b30..."} 
[2026-08-25 13:18:56] local.INFO: Packet analysis {"connection_id":161899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:18:56] local.INFO: Extracted packet for processing {"connection_id":161899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763715648,"raw_latitude":93390056,"longitude_deg":76.3715648,"latitude_deg":9.3390056,"altitude":8,"angle":155,"satellites":48,"speed":63,"hex_longitude":"2d856040","hex_latitude":"059104e8","is_valid_coordinates":true} 
[2026-08-25 13:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636885760001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123558658553413632,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8840214200897304576,"note":"Value kept but may cause issues"} 
[2026-08-25 13:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787644091000,"timestamp_ms":1787644091000,"timestamp_seconds":1787644091,"priority":1,"record_length":96,"hex_timestamp":"000001a037e41a78"} 
[2026-08-25 13:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:18: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-25 13:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 13:18:56] 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-25 13:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636885760001,"66":13319,"148":206,"85":14592,"24":63,"16":123558658553413632,"45":-8840214200897304576},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-25 13:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636885760001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:18:56] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-25 13:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123558658553413632,"km_value":123558658553413.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8840214200897304576,"description":"Unknown IO ID 45"} 
[2026-08-25 13:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636885760001,"power":13319,"unknown_148":206,"unknown_85":14592,"ignition":63,"odometer":null,"unknown_45":-8840214200897304576}} 
[2026-08-25 13:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":161899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:18:56] local.INFO: GPS data processed {"connection_id":161899,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:18:56] local.INFO: Acknowledgment sent {"connection_id":161899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:18:58] local.INFO: TCP Data received {"connection_id":164269,"ip":"117.225.227.178","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:18:58] local.INFO: Processing buffer {"connection_id":164269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:18:58] local.INFO: IMEI packet received {"connection_id":164269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":164269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:19:00] local.INFO: TCP Data received {"connection_id":164269,"ip":"117.225.227.178","data_length":795,"data_hex":"000000000000030f8e0a000001a037e2f198012d1a23400720fd98004901112c..."} 
[2026-08-25 13:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e2f198012d1a23400720fd98004901112c..."} 
[2026-08-25 13:19:00] local.INFO: Processing buffer {"connection_id":164269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e2f198012d1a23400720fd98004901112c..."} 
[2026-08-25 13:19:00] local.INFO: Packet analysis {"connection_id":164269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:19:00] local.INFO: Extracted packet for processing {"connection_id":164269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e2"} 
[2026-08-25 13:19:00] local.INFO: GPS Element Parsed {"raw_longitude":756687680,"raw_latitude":119602584,"longitude_deg":75.668768,"latitude_deg":11.9602584,"altitude":73,"angle":273,"satellites":44,"speed":8,"hex_longitude":"2d1a2340","hex_latitude":"0720fd98","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636865024001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15871708044984320,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887219380719235072,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787644015000,"timestamp_ms":1787644015000,"timestamp_seconds":1787644015,"priority":1,"record_length":96,"hex_timestamp":"000001a037e2f198"} 
[2026-08-25 13: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-25 13:19:00] 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-25 13: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-08-25 13:19:00] 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-25 13: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-25 13: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-25 13:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.227.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636865024001,"66":13254,"50":206,"28":31744,"24":8,"16":15871708044984320,"45":1887219380719235072},"client_ip":"117.225.227.178","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-25 13:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636865024001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:19:00] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-25 13:19:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15871708044984320,"km_value":15871708044984.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887219380719235072,"description":"Unknown IO ID 45"} 
[2026-08-25 13:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636865024001,"power":13254,"unknown_50":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1887219380719235072}} 
[2026-08-25 13:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":164269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:19:00] local.INFO: GPS data processed {"connection_id":164269,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:19:00] local.INFO: Acknowledgment sent {"connection_id":164269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:19:40] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:19:40] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:19:40] local.INFO: IMEI packet received {"connection_id":161646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":161646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:19:41] local.INFO: TCP Data received {"connection_id":164270,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:19:41] local.INFO: Processing buffer {"connection_id":164270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:19:41] local.INFO: IMEI packet received {"connection_id":164270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":164270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:19:45] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:19:45] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:19:45] local.INFO: IMEI packet received {"connection_id":161646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":161646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:19:45] local.INFO: TCP Data received {"connection_id":164270,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:19:45] local.INFO: Processing buffer {"connection_id":164270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:19:45] local.INFO: IMEI packet received {"connection_id":164270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":164270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:19:46] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:19:46] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:19:46] local.INFO: Packet analysis {"connection_id":161646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:19:46] local.INFO: Extracted packet for processing {"connection_id":161646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636811520001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644096000,"timestamp_ms":1787644096000,"timestamp_seconds":1787644096,"priority":1,"record_length":96,"hex_timestamp":"000001a037e42e00"} 
[2026-08-25 13:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:19:46] local.INFO: TCP Data received {"connection_id":164270,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e431e8012d856f400590e2e00008009d2f..."} 
[2026-08-25 13:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636811520001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636811520001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:19:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e431e8012d856f400590e2e00008009d2f..."} 
[2026-08-25 13:19:46] local.INFO: Processing buffer {"connection_id":164270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e431e8012d856f400590e2e00008009d2f..."} 
[2026-08-25 13:19:46] local.INFO: Packet analysis {"connection_id":164270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:19:46] local.INFO: Extracted packet for processing {"connection_id":164270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:19:46] local.INFO: GPS Element Parsed {"raw_longitude":763719488,"raw_latitude":93381344,"longitude_deg":76.3719488,"latitude_deg":9.3381344,"altitude":8,"angle":157,"satellites":47,"speed":62,"hex_longitude":"2d856f40","hex_latitude":"0590e2e0","is_valid_coordinates":true} 
[2026-08-25 13:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636887296001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123559118114914304,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8835992076248881152,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644097000,"timestamp_ms":1787644097000,"timestamp_seconds":1787644097,"priority":1,"record_length":96,"hex_timestamp":"000001a037e431e8"} 
[2026-08-25 13:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:19: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-25 13:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":6400,"corrected_to":0} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57888823359460665,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":8532070789069471749,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2835349504,"corrected_to":0} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3820795905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":145,"raw_value":-598978716070105600,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2845049038,"corrected_to":0} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":182,"raw_value":4124049408,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2446620672,"note":"Value kept but may cause issues"} 
[2026-08-25 13:19:46] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,148,85,24,241,157,16,247,160,3,45,64,39,7,48,10,66,235,192,73,212,1,240,40,227,246,55,145,4,113,205,62,165,21,72,239,52,2,182,5,61],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":247,"original":6400,"validated":0},{"io_id":246,"original":2835349504,"validated":0},{"io_id":205,"original":2845049038,"validated":0}]} 
[2026-08-25 13:19:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576631382768287744,"timestamp_seconds":576631382768287.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636887296001,"66":13406,"148":206,"85":14592,"24":62,"16":123559118114914304,"45":-8835992076248881152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-25 13:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636887296001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:19:46] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-25 13:19:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123559118114914304,"km_value":123559118114914.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8835992076248881152,"description":"Unknown IO ID 45"} 
[2026-08-25 13:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636887296001,"power":13406,"unknown_148":206,"unknown_85":14592,"ignition":62,"odometer":null,"unknown_45":-8835992076248881152}} 
[2026-08-25 13:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":161646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:19:46] local.INFO: GPS data processed {"connection_id":161646,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:19:46] local.INFO: Acknowledgment sent {"connection_id":161646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":164270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:19:46] local.INFO: GPS data processed {"connection_id":164270,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:19:46] local.INFO: Acknowledgment sent {"connection_id":164270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:20:17] local.INFO: TCP Data received {"connection_id":164270,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e5a8e8012d862340058f5320000900a22b..."} 
[2026-08-25 13:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e5a8e8012d862340058f5320000900a22b..."} 
[2026-08-25 13:20:17] local.INFO: Processing buffer {"connection_id":164270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e5a8e8012d862340058f5320000900a22b..."} 
[2026-08-25 13:20:17] local.INFO: Packet analysis {"connection_id":164270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e5"} 
[2026-08-25 13:20:17] local.INFO: Extracted packet for processing {"connection_id":164270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e5"} 
[2026-08-25 13:20:17] local.INFO: GPS Element Parsed {"raw_longitude":763765568,"raw_latitude":93279008,"longitude_deg":76.3765568,"latitude_deg":9.3279008,"altitude":9,"angle":162,"satellites":43,"speed":43,"hex_longitude":"2d862340","hex_latitude":"058f5320","is_valid_coordinates":true} 
[2026-08-25 13:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636910848001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123564559838478336,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8784904368002048000,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787644193000,"timestamp_ms":1787644193000,"timestamp_seconds":1787644193,"priority":1,"record_length":96,"hex_timestamp":"000001a037e5a8e8"} 
[2026-08-25 13:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:20: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-25 13:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2245083141,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3839739905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":251,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":143,"raw_value":4123525129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2863464654,"corrected_to":0} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2281778565,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":182,"raw_value":4208787456,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2419369984,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":215,"raw_value":57888823359460665,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":228,"raw_value":-8095219035171291131,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":144,"raw_value":6212715716032737024,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,172,85,24,241,157,16,252,160,86,45,128,149,11,49,10,66,55,180,173,20,1,240,138,227,251,143,4,113,205,28,190,193,239,52,148,2,182,5,8,61,215,228,144],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2863464654,"validated":0}]} 
[2026-08-25 13:20:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720750934528491520,"timestamp_seconds":720750934528491.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636910848001,"66":13646,"172":206,"85":14592,"24":43,"16":123564559838478336,"45":-8784904368002048000},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-08-25 13:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636910848001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:20:17] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-25 13:20:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123564559838478336,"km_value":123564559838478.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8784904368002048000,"description":"Unknown IO ID 45"} 
[2026-08-25 13:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636910848001,"power":13646,"unknown_172":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8784904368002048000}} 
[2026-08-25 13:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":164270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:20:17] local.INFO: GPS data processed {"connection_id":164270,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:20:17] local.INFO: Acknowledgment sent {"connection_id":164270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:20:17] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:20:17] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:20:17] local.INFO: Packet analysis {"connection_id":161646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:20:17] local.INFO: Extracted packet for processing {"connection_id":161646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636811520001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787644096000,"timestamp_ms":1787644096000,"timestamp_seconds":1787644096,"priority":1,"record_length":96,"hex_timestamp":"000001a037e42e00"} 
[2026-08-25 13:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636811520001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636811520001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:20:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":161646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:20:17] local.INFO: GPS data processed {"connection_id":161646,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:20:17] local.INFO: Acknowledgment sent {"connection_id":161646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:20:40] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:20:40] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:20:40] local.INFO: IMEI packet received {"connection_id":161900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":161900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:20:41] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:20:41] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:20:41] local.INFO: IMEI packet received {"connection_id":161901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":161901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:20:45] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:20:45] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:20:45] local.INFO: IMEI packet received {"connection_id":161900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":161900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:20:45] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:20:45] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:20:45] local.INFO: IMEI packet received {"connection_id":161901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":161901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:20:46] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:20:46] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:20:46] local.INFO: IMEI packet received {"connection_id":161901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":161901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:20:46] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e5cc10012d862dc0058f30c8000800a330..."} 
[2026-08-25 13:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e5cc10012d862dc0058f30c8000800a330..."} 
[2026-08-25 13:20:46] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e5cc10012d862dc0058f30c8000800a330..."} 
[2026-08-25 13:20:46] local.INFO: Packet analysis {"connection_id":161901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e5"} 
[2026-08-25 13:20:46] local.INFO: Extracted packet for processing {"connection_id":161901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e5"} 
[2026-08-25 13:20:46] local.INFO: GPS Element Parsed {"raw_longitude":763768256,"raw_latitude":93270216,"longitude_deg":76.3768256,"latitude_deg":9.3270216,"altitude":8,"angle":163,"satellites":48,"speed":33,"hex_longitude":"2d862dc0","hex_latitude":"058f30c8","is_valid_coordinates":true} 
[2026-08-25 13:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636913408001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123565006515077120,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8781104455818731520,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644202000,"timestamp_ms":1787644202000,"timestamp_seconds":1787644202,"priority":1,"record_length":96,"hex_timestamp":"000001a037e5cc10"} 
[2026-08-25 13:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-25 13:20:46] 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-25 13:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636913408001,"66":13602,"172":206,"85":14592,"24":33,"16":123565006515077120,"45":-8781104455818731520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-08-25 13:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636913408001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:20:46] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-25 13:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123565006515077120,"km_value":123565006515077.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8781104455818731520,"description":"Unknown IO ID 45"} 
[2026-08-25 13:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636913408001,"power":13602,"unknown_172":206,"unknown_85":14592,"ignition":33,"odometer":null,"unknown_45":-8781104455818731520}} 
[2026-08-25 13:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":161901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:20:46] local.INFO: GPS data processed {"connection_id":161901,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:20:46] local.INFO: Acknowledgment sent {"connection_id":161901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:20:46] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:20:46] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:20:46] local.INFO: Packet analysis {"connection_id":161900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:20:46] local.INFO: Extracted packet for processing {"connection_id":161900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636811520001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644096000,"timestamp_ms":1787644096000,"timestamp_seconds":1787644096,"priority":1,"record_length":96,"hex_timestamp":"000001a037e42e00"} 
[2026-08-25 13:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636811520001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636811520001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:20:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":161900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:20:46] local.INFO: GPS data processed {"connection_id":161900,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:20:46] local.INFO: Acknowledgment sent {"connection_id":161900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:20:51] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e5f320012d863900058f0d10000800a130..."} 
[2026-08-25 13:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e5f320012d863900058f0d10000800a130..."} 
[2026-08-25 13:20:51] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e5f320012d863900058f0d10000800a130..."} 
[2026-08-25 13:20:51] local.INFO: Packet analysis {"connection_id":161901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e5"} 
[2026-08-25 13:20:51] local.INFO: Extracted packet for processing {"connection_id":161901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e5"} 
[2026-08-25 13:20:51] local.INFO: GPS Element Parsed {"raw_longitude":763771136,"raw_latitude":93261072,"longitude_deg":76.3771136,"latitude_deg":9.3261072,"altitude":8,"angle":161,"satellites":48,"speed":43,"hex_longitude":"2d863900","hex_latitude":"058f0d10","is_valid_coordinates":true} 
[2026-08-25 13:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636915712001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123565470371545088,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8778148968565520384,"note":"Value kept but may cause issues"} 
[2026-08-25 13:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787644212000,"timestamp_ms":1787644212000,"timestamp_seconds":1787644212,"priority":1,"record_length":96,"hex_timestamp":"000001a037e5f320"} 
[2026-08-25 13:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13: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-25 13:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 13:20:51] 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-25 13:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636915712001,"66":13417,"172":206,"85":14592,"24":43,"16":123565470371545088,"45":-8778148968565520384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-08-25 13:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636915712001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:20:51] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-25 13:20:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123565470371545088,"km_value":123565470371545.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8778148968565520384,"description":"Unknown IO ID 45"} 
[2026-08-25 13:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636915712001,"power":13417,"unknown_172":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8778148968565520384}} 
[2026-08-25 13:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":161901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:20:51] local.INFO: GPS data processed {"connection_id":161901,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:20:51] local.INFO: Acknowledgment sent {"connection_id":161901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:21:18] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:21:18] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:21:18] local.INFO: Packet analysis {"connection_id":161900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:21:18] local.INFO: Extracted packet for processing {"connection_id":161900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:21:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636811520001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787644096000,"timestamp_ms":1787644096000,"timestamp_seconds":1787644096,"priority":1,"record_length":96,"hex_timestamp":"000001a037e42e00"} 
[2026-08-25 13:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636811520001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636811520001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:21:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:21:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":161900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:21:18] local.INFO: GPS data processed {"connection_id":161900,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:21:18] local.INFO: Acknowledgment sent {"connection_id":161900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:21:23] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e61260012d864540058eebc00008009d2f..."} 
[2026-08-25 13:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e61260012d864540058eebc00008009d2f..."} 
[2026-08-25 13:21:23] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e61260012d864540058eebc00008009d2f..."} 
[2026-08-25 13:21:23] local.INFO: Packet analysis {"connection_id":161901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e6"} 
[2026-08-25 13:21:23] local.INFO: Extracted packet for processing {"connection_id":161901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e6"} 
[2026-08-25 13:21:23] local.INFO: GPS Element Parsed {"raw_longitude":763774272,"raw_latitude":93252544,"longitude_deg":76.3774272,"latitude_deg":9.3252544,"altitude":8,"angle":157,"satellites":47,"speed":47,"hex_longitude":"2d864540","hex_latitude":"058eebc0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636918272001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123565908458209280,"note":"Value kept but may cause issues"} 
[2026-08-25 13:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8774982375079866368,"note":"Value kept but may cause issues"} 
[2026-08-25 13:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787644220000,"timestamp_ms":1787644220000,"timestamp_seconds":1787644220,"priority":1,"record_length":96,"hex_timestamp":"000001a037e61260"} 
[2026-08-25 13: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-25 13:21: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-25 13: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 13:21:23] 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-25 13: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-25 13: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-25 13:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636918272001,"66":13406,"172":206,"85":14592,"24":47,"16":123565908458209280,"45":-8774982375079866368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-08-25 13:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636918272001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:21:23] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-25 13:21:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123565908458209280,"km_value":123565908458209.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8774982375079866368,"description":"Unknown IO ID 45"} 
[2026-08-25 13:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636918272001,"power":13406,"unknown_172":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8774982375079866368}} 
[2026-08-25 13:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":161901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:21:23] local.INFO: GPS data processed {"connection_id":161901,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:21:23] local.INFO: Acknowledgment sent {"connection_id":161901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:21:41] local.INFO: TCP Data received {"connection_id":162891,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:21:41] local.INFO: Processing buffer {"connection_id":162891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:21:41] local.INFO: IMEI packet received {"connection_id":162891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":162891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:21:45] local.INFO: TCP Data received {"connection_id":162890,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:21:45] local.INFO: Processing buffer {"connection_id":162890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:21:45] local.INFO: IMEI packet received {"connection_id":162890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":162890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:21:46] local.INFO: TCP Data received {"connection_id":162891,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:21:46] local.INFO: Processing buffer {"connection_id":162891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:21:46] local.INFO: IMEI packet received {"connection_id":162891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":162891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:21:47] local.INFO: TCP Data received {"connection_id":162891,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e631a0012d865480058ec9780008009a30..."} 
[2026-08-25 13:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e631a0012d865480058ec9780008009a30..."} 
[2026-08-25 13:21:47] local.INFO: Processing buffer {"connection_id":162891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e631a0012d865480058ec9780008009a30..."} 
[2026-08-25 13:21:47] local.INFO: Packet analysis {"connection_id":162891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e6"} 
[2026-08-25 13:21:47] local.INFO: Extracted packet for processing {"connection_id":162891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e6"} 
[2026-08-25 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":763778176,"raw_latitude":93243768,"longitude_deg":76.3778176,"latitude_deg":9.3243768,"altitude":8,"angle":154,"satellites":48,"speed":48,"hex_longitude":"2d865480","hex_latitude":"058ec978","is_valid_coordinates":true} 
[2026-08-25 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636920320001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123566376609644544,"note":"Value kept but may cause issues"} 
[2026-08-25 13:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8771534306617344000,"note":"Value kept but may cause issues"} 
[2026-08-25 13:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787644228000,"timestamp_ms":1787644228000,"timestamp_seconds":1787644228,"priority":1,"record_length":96,"hex_timestamp":"000001a037e631a0"} 
[2026-08-25 13:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 13:21:47] 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-25 13:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636920320001,"66":13559,"172":206,"85":14592,"24":48,"16":123566376609644544,"45":-8771534306617344000},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-08-25 13:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636920320001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:21:47] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-25 13:21:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123566376609644544,"km_value":123566376609644.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8771534306617344000,"description":"Unknown IO ID 45"} 
[2026-08-25 13:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636920320001,"power":13559,"unknown_172":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-8771534306617344000}} 
[2026-08-25 13:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":162891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:21:47] local.INFO: GPS data processed {"connection_id":162891,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:21:47] local.INFO: Acknowledgment sent {"connection_id":162891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:21:50] local.INFO: TCP Data received {"connection_id":162890,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:21:50] local.INFO: Processing buffer {"connection_id":162890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:21:50] local.INFO: IMEI packet received {"connection_id":162890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":162890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:21:51] local.INFO: TCP Data received {"connection_id":162890,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:21:51] local.INFO: Processing buffer {"connection_id":162890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:21:51] local.INFO: Packet analysis {"connection_id":162890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:21:51] local.INFO: Extracted packet for processing {"connection_id":162890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 13:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636811520001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787644096000,"timestamp_ms":1787644096000,"timestamp_seconds":1787644096,"priority":1,"record_length":96,"hex_timestamp":"000001a037e42e00"} 
[2026-08-25 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-25 13:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 13:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636811520001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636811520001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:21:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":162890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:21:51] local.INFO: GPS data processed {"connection_id":162890,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:21:51] local.INFO: Acknowledgment sent {"connection_id":162890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:21:54] local.INFO: TCP Data received {"connection_id":164271,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:21:54] local.INFO: Processing buffer {"connection_id":164271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:21:54] local.INFO: IMEI packet received {"connection_id":164271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":164271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:22:03] local.INFO: TCP Data received {"connection_id":164271,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:22:03] local.INFO: Processing buffer {"connection_id":164271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:22:03] local.INFO: IMEI packet received {"connection_id":164271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":164271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:22:05] local.INFO: TCP Data received {"connection_id":164271,"ip":"117.224.18.74","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 13:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164271,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 13:22:05] local.INFO: Processing buffer {"connection_id":164271,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 13:22:05] local.INFO: IMEI packet received {"connection_id":164271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":164271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:22:19] local.INFO: TCP Data received {"connection_id":162891,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e75e68012d872fc0058e0f18000700772f..."} 
[2026-08-25 13:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e75e68012d872fc0058e0f18000700772f..."} 
[2026-08-25 13:22:19] local.INFO: Processing buffer {"connection_id":162891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e75e68012d872fc0058e0f18000700772f..."} 
[2026-08-25 13:22:19] local.INFO: Packet analysis {"connection_id":162891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e7"} 
[2026-08-25 13:22:19] local.INFO: Extracted packet for processing {"connection_id":162891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e7"} 
[2026-08-25 13:22:19] local.INFO: GPS Element Parsed {"raw_longitude":763834304,"raw_latitude":93196056,"longitude_deg":76.3834304,"latitude_deg":9.3196056,"altitude":7,"angle":119,"satellites":47,"speed":47,"hex_longitude":"2d872fc0","hex_latitude":"058e0f18","is_valid_coordinates":true} 
[2026-08-25 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-25 13:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636940032001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123570027331846144,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8714746730079242240,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787644305000,"timestamp_ms":1787644305000,"timestamp_seconds":1787644305,"priority":1,"record_length":96,"hex_timestamp":"000001a037e75e68"} 
[2026-08-25 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-25 13:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 13:22:19] 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-25 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-25 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-25 13:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636940032001,"66":13319,"87":206,"85":14592,"24":47,"16":123570027331846144,"45":-8714746730079242240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-08-25 13:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636940032001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:22:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-25 13:22:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123570027331846144,"km_value":123570027331846.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8714746730079242240,"description":"Unknown IO ID 45"} 
[2026-08-25 13:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636940032001,"power":13319,"unknown_87":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8714746730079242240}} 
[2026-08-25 13:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":162891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:22:19] local.INFO: GPS data processed {"connection_id":162891,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:22:19] local.INFO: Acknowledgment sent {"connection_id":162891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:22:22] local.INFO: TCP Data received {"connection_id":162890,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:22:22] local.INFO: Processing buffer {"connection_id":162890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:22:22] local.INFO: Packet analysis {"connection_id":162890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:22:22] local.INFO: Extracted packet for processing {"connection_id":162890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:22:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636811520001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787644096000,"timestamp_ms":1787644096000,"timestamp_seconds":1787644096,"priority":1,"record_length":96,"hex_timestamp":"000001a037e42e00"} 
[2026-08-25 13: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-25 13:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13: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-25 13: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-25 13:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636811520001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636811520001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:22:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:22:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":162890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:22:22] local.INFO: GPS data processed {"connection_id":162890,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:22:22] local.INFO: Acknowledgment sent {"connection_id":162890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:22:40] local.INFO: TCP Data received {"connection_id":162892,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:22:40] local.INFO: Processing buffer {"connection_id":162892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:22:40] local.INFO: IMEI packet received {"connection_id":162892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":162892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:22:45] local.INFO: TCP Data received {"connection_id":162892,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:22:45] local.INFO: Processing buffer {"connection_id":162892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:22:45] local.INFO: IMEI packet received {"connection_id":162892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":162892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:22:46] local.INFO: TCP Data received {"connection_id":162892,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:22:46] local.INFO: Processing buffer {"connection_id":162892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:22:46] local.INFO: Packet analysis {"connection_id":162892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:22:46] local.INFO: Extracted packet for processing {"connection_id":162892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636811520001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644096000,"timestamp_ms":1787644096000,"timestamp_seconds":1787644096,"priority":1,"record_length":96,"hex_timestamp":"000001a037e42e00"} 
[2026-08-25 13:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636811520001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636811520001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:22:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":162892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:22:46] local.INFO: GPS data processed {"connection_id":162892,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:22:46] local.INFO: Acknowledgment sent {"connection_id":162892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:22:46] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:22:46] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:22:46] local.INFO: IMEI packet received {"connection_id":161648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":161648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:22:47] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:22:47] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:22:47] local.INFO: IMEI packet received {"connection_id":161648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":161648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:22:48] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e78190012d875080058dfb400008007b30..."} 
[2026-08-25 13:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e78190012d875080058dfb400008007b30..."} 
[2026-08-25 13:22:48] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e78190012d875080058dfb400008007b30..."} 
[2026-08-25 13:22:48] local.INFO: Packet analysis {"connection_id":161648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e7"} 
[2026-08-25 13:22:48] local.INFO: Extracted packet for processing {"connection_id":161648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e7"} 
[2026-08-25 13:22:48] local.INFO: GPS Element Parsed {"raw_longitude":763842688,"raw_latitude":93190976,"longitude_deg":76.3842688,"latitude_deg":9.3190976,"altitude":8,"angle":123,"satellites":48,"speed":38,"hex_longitude":"2d875080","hex_latitude":"058dfb40","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636942080001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123570495483281408,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8705528424593156096,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787644314000,"timestamp_ms":1787644314000,"timestamp_seconds":1787644314,"priority":1,"record_length":96,"hex_timestamp":"000001a037e78190"} 
[2026-08-25 13: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-25 13:22: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-25 13: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 13:22:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2263105541,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:48] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3875579905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:48] local.WARNING: Large IO value detected {"io_id":142,"raw_value":6478428089750532352,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2841051342,"corrected_to":0} 
[2026-08-25 13:22:48] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3221302662,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:48] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3221589562,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:48] local.WARNING: Large IO value detected {"io_id":56,"raw_value":57888569956390201,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:48] local.WARNING: Large IO value detected {"io_id":230,"raw_value":-6426635373213270011,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:48] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,87,85,24,241,157,16,2,160,63,45,33,7,47,10,66,1,48,46,240,227,55,142,4,113,205,21,252,226,239,52,183,5,39,56,230],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2841051342,"validated":0}]} 
[2026-08-25 13:22:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504534202015744000,"timestamp_seconds":504534202015744,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13: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-25 13:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636942080001,"66":13319,"87":206,"85":14592,"24":38,"16":123570495483281408,"45":-8705528424593156096},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-08-25 13:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636942080001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:22:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-25 13:22:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123570495483281408,"km_value":123570495483281.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8705528424593156096,"description":"Unknown IO ID 45"} 
[2026-08-25 13:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636942080001,"power":13319,"unknown_87":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-8705528424593156096}} 
[2026-08-25 13:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":161648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:22:48] local.INFO: GPS data processed {"connection_id":161648,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:22:48] local.INFO: Acknowledgment sent {"connection_id":161648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:22:52] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e7b070012d876dc0058de560000a008230..."} 
[2026-08-25 13:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e7b070012d876dc0058de560000a008230..."} 
[2026-08-25 13:22:52] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e7b070012d876dc0058de560000a008230..."} 
[2026-08-25 13:22:52] local.INFO: Packet analysis {"connection_id":161648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e7"} 
[2026-08-25 13:22:52] local.INFO: Extracted packet for processing {"connection_id":161648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e7"} 
[2026-08-25 13:22:52] local.INFO: GPS Element Parsed {"raw_longitude":763850176,"raw_latitude":93185376,"longitude_deg":76.3850176,"latitude_deg":9.3185376,"altitude":10,"angle":130,"satellites":48,"speed":27,"hex_longitude":"2d876dc0","hex_latitude":"058de560","is_valid_coordinates":true} 
[2026-08-25 13:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636944384001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123570946454847488,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8696310119107182592,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787644326000,"timestamp_ms":1787644326000,"timestamp_seconds":1787644326,"priority":1,"record_length":96,"hex_timestamp":"000001a037e7b070"} 
[2026-08-25 13:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 13:22:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2263482373,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:52] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13478231,"corrected_to":0} 
[2026-08-25 13:22:52] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3876603905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:52] local.WARNING: Large IO value detected {"io_id":142,"raw_value":5219671989604856064,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2841051342,"corrected_to":0} 
[2026-08-25 13:22:52] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407209,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2386206720,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:52] local.WARNING: Large IO value detected {"io_id":40,"raw_value":57888561366455609,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:52] local.WARNING: Large IO value detected {"io_id":230,"raw_value":-2767460675972743163,"note":"Value kept but may cause issues"} 
[2026-08-25 13:22:52] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,87,85,24,241,157,16,2,160,94,45,192,15,7,47,10,66,63,33,1,240,247,227,55,142,4,113,205,22,228,239,52,183,5,6,40,230],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":247,"original":13478231,"validated":0},{"io_id":205,"original":2841051342,"validated":0}]} 
[2026-08-25 13:22:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576596198394560512,"timestamp_seconds":576596198394560.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636944384001,"66":13341,"87":206,"85":14592,"24":27,"16":123570946454847488,"45":-8696310119107182592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-08-25 13:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636944384001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:22:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-25 13:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123570946454847488,"km_value":123570946454847.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8696310119107182592,"description":"Unknown IO ID 45"} 
[2026-08-25 13:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636944384001,"power":13341,"unknown_87":206,"unknown_85":14592,"ignition":27,"odometer":null,"unknown_45":-8696310119107182592}} 
[2026-08-25 13:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":161648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:22:52] local.INFO: GPS data processed {"connection_id":161648,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:22:52] local.INFO: Acknowledgment sent {"connection_id":161648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:23:17] local.INFO: TCP Data received {"connection_id":162892,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:23:17] local.INFO: Processing buffer {"connection_id":162892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:23:17] local.INFO: Packet analysis {"connection_id":162892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:23:17] local.INFO: Extracted packet for processing {"connection_id":162892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636811520001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787644096000,"timestamp_ms":1787644096000,"timestamp_seconds":1787644096,"priority":1,"record_length":96,"hex_timestamp":"000001a037e42e00"} 
[2026-08-25 13:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636811520001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636811520001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:23:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":162892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:23:17] local.INFO: GPS data processed {"connection_id":162892,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:23:17] local.INFO: Acknowledgment sent {"connection_id":162892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:23:23] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e7df50012d878b40058dcd90000a008032..."} 
[2026-08-25 13:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e7df50012d878b40058dcd90000a008032..."} 
[2026-08-25 13:23:23] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e7df50012d878b40058dcd90000a008032..."} 
[2026-08-25 13:23:23] local.INFO: Packet analysis {"connection_id":161648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e7"} 
[2026-08-25 13:23:23] local.INFO: Extracted packet for processing {"connection_id":161648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e7"} 
[2026-08-25 13:23:23] local.INFO: GPS Element Parsed {"raw_longitude":763857728,"raw_latitude":93179280,"longitude_deg":76.3857728,"latitude_deg":9.317928,"altitude":10,"angle":128,"satellites":50,"speed":39,"hex_longitude":"2d878b40","hex_latitude":"058dcd90","is_valid_coordinates":true} 
[2026-08-25 13:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636947456001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123571414606282752,"note":"Value kept but may cause issues"} 
[2026-08-25 13:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8688076976039829504,"note":"Value kept but may cause issues"} 
[2026-08-25 13:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787644338000,"timestamp_ms":1787644338000,"timestamp_seconds":1787644338,"priority":1,"record_length":96,"hex_timestamp":"000001a037e7df50"} 
[2026-08-25 13:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 13:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636947456001,"66":13428,"87":206,"85":14592,"24":39,"16":123571414606282752,"45":-8688076976039829504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-08-25 13:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636947456001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:23:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-25 13:23:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123571414606282752,"km_value":123571414606282.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8688076976039829504,"description":"Unknown IO ID 45"} 
[2026-08-25 13:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636947456001,"power":13428,"unknown_87":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8688076976039829504}} 
[2026-08-25 13:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":161648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:23:23] local.INFO: GPS data processed {"connection_id":161648,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:23:23] local.INFO: Acknowledgment sent {"connection_id":161648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:23:40] local.INFO: TCP Data received {"connection_id":164272,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:23:40] local.INFO: Processing buffer {"connection_id":164272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:23:40] local.INFO: IMEI packet received {"connection_id":164272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":164272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:23:41] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:23:41] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:23:41] local.INFO: IMEI packet received {"connection_id":161902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":161902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:23:44] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:23:44] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:23:44] local.INFO: IMEI packet received {"connection_id":161902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":161902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:23:45] local.INFO: TCP Data received {"connection_id":164272,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:23:45] local.INFO: Processing buffer {"connection_id":164272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:23:45] local.INFO: IMEI packet received {"connection_id":164272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":164272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:23:45] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e80278012d87a9c0058db540000a008031..."} 
[2026-08-25 13:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e80278012d87a9c0058db540000a008031..."} 
[2026-08-25 13:23:45] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e80278012d87a9c0058db540000a008031..."} 
[2026-08-25 13:23:45] local.INFO: Packet analysis {"connection_id":161902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:23:45] local.INFO: Extracted packet for processing {"connection_id":161902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:23:45] local.INFO: GPS Element Parsed {"raw_longitude":763865536,"raw_latitude":93173056,"longitude_deg":76.3865536,"latitude_deg":9.3173056,"altitude":10,"angle":128,"satellites":49,"speed":47,"hex_longitude":"2d87a9c0","hex_latitude":"058db540","is_valid_coordinates":true} 
[2026-08-25 13:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636950528001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123571891347652608,"note":"Value kept but may cause issues"} 
[2026-08-25 13:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8679773464228425728,"note":"Value kept but may cause issues"} 
[2026-08-25 13:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787644347000,"timestamp_ms":1787644347000,"timestamp_seconds":1787644347,"priority":1,"record_length":96,"hex_timestamp":"000001a037e80278"} 
[2026-08-25 13:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:23: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-25 13:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 13:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636950528001,"66":13559,"136":206,"85":14592,"24":47,"16":123571891347652608,"45":-8679773464228425728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,85,24,16,45]} 
[2026-08-25 13:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636950528001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:23:45] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-25 13:23:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 13:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123571891347652608,"km_value":123571891347652.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8679773464228425728,"description":"Unknown IO ID 45"} 
[2026-08-25 13:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636950528001,"power":13559,"unknown_136":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8679773464228425728}} 
[2026-08-25 13:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":161902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:23:45] local.INFO: GPS data processed {"connection_id":161902,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:23:45] local.INFO: Acknowledgment sent {"connection_id":161902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:23:46] local.INFO: TCP Data received {"connection_id":164272,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:23:46] local.INFO: Processing buffer {"connection_id":164272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e42e00012d34c14006aa4820000700e631..."} 
[2026-08-25 13:23:46] local.INFO: Packet analysis {"connection_id":164272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:23:46] local.INFO: Extracted packet for processing {"connection_id":164272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e4"} 
[2026-08-25 13:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636811520001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644096000,"timestamp_ms":1787644096000,"timestamp_seconds":1787644096,"priority":1,"record_length":96,"hex_timestamp":"000001a037e42e00"} 
[2026-08-25 13:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636811520001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636811520001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636811520001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":164272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:23:46] local.INFO: GPS data processed {"connection_id":164272,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:23:46] local.INFO: Acknowledgment sent {"connection_id":164272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:24:16] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e965f0012d892fc0058d7fe00005005233..."} 
[2026-08-25 13:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e965f0012d892fc0058d7fe00005005233..."} 
[2026-08-25 13:24:16] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e965f0012d892fc0058d7fe00005005233..."} 
[2026-08-25 13:24:16] local.INFO: Packet analysis {"connection_id":161902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e9"} 
[2026-08-25 13:24:16] local.INFO: Extracted packet for processing {"connection_id":161902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e9"} 
[2026-08-25 13:24:16] local.INFO: GPS Element Parsed {"raw_longitude":763965376,"raw_latitude":93159392,"longitude_deg":76.3965376,"latitude_deg":9.3159392,"altitude":5,"angle":82,"satellites":51,"speed":53,"hex_longitude":"2d892fc0","hex_latitude":"058d7fe0","is_valid_coordinates":true} 
[2026-08-25 13:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636974080001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123576985178865664,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8572038916897769472,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787644438000,"timestamp_ms":1787644438000,"timestamp_seconds":1787644438,"priority":1,"record_length":96,"hex_timestamp":"000001a037e965f0"} 
[2026-08-25 13:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751625989,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2289434629,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145784711,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2372513792,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5258605674861953024,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":6,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3906299905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2038890702,"corrected_to":0} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303105801367979,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":136,"raw_value":1242999602122588169,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.WARNING: Large IO value detected {"io_id":57,"raw_value":6755605599617265,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:16] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,15,85,24,241,157,16,8,160,39,45,64,119,4,49,10,66,7,12,192,114,5,48,135,240,1,94,227,6,55,141,113,205,51,178,78,47,239,52,2,183,11,136,57],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2038890702,"validated":0}]} 
[2026-08-25 13:24:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360379444405993472,"timestamp_seconds":360379444405993.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636974080001,"66":13526,"15":206,"85":14080,"24":53,"16":123576985178865664,"45":-8572038916897769472},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636974080001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:24:16] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:24:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123576985178865664,"km_value":123576985178865.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8572038916897769472,"description":"Unknown IO ID 45"} 
[2026-08-25 13:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636974080001,"power":13526,"unknown_15":206,"unknown_85":14080,"ignition":53,"odometer":null,"unknown_45":-8572038916897769472}} 
[2026-08-25 13:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":161902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:24:16] local.INFO: GPS data processed {"connection_id":161902,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:24:16] local.INFO: Acknowledgment sent {"connection_id":161902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:24:17] local.INFO: TCP Data received {"connection_id":164272,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:24:17] local.INFO: Processing buffer {"connection_id":164272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:24:17] local.INFO: Packet analysis {"connection_id":164272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:24:17] local.INFO: Extracted packet for processing {"connection_id":164272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636888576001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787644397000,"timestamp_ms":1787644397000,"timestamp_seconds":1787644397,"priority":1,"record_length":96,"hex_timestamp":"000001a037e8c5c8"} 
[2026-08-25 13:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636888576001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636888576001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:24:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636888576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":164272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:24:17] local.INFO: GPS data processed {"connection_id":164272,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:24:17] local.INFO: Acknowledgment sent {"connection_id":164272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:24:41] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:24:41] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:24:41] local.INFO: IMEI packet received {"connection_id":161650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":161650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:24:45] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:24:45] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:24:45] local.INFO: IMEI packet received {"connection_id":161903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":161903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:24:45] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:24:45] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:24:45] local.INFO: IMEI packet received {"connection_id":161650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":161650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:24:46] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e98148012d895400058d84500007005333..."} 
[2026-08-25 13:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e98148012d895400058d84500007005333..."} 
[2026-08-25 13:24:46] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e98148012d895400058d84500007005333..."} 
[2026-08-25 13:24:46] local.INFO: Packet analysis {"connection_id":161650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e9"} 
[2026-08-25 13:24:46] local.INFO: Extracted packet for processing {"connection_id":161650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e9"} 
[2026-08-25 13:24:46] local.INFO: GPS Element Parsed {"raw_longitude":763974656,"raw_latitude":93160528,"longitude_deg":76.3974656,"latitude_deg":9.3160528,"altitude":7,"angle":83,"satellites":51,"speed":51,"hex_longitude":"2d895400","hex_latitude":"058d8450","is_valid_coordinates":true} 
[2026-08-25 13:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636976128001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123577431855464448,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8561413236526686208,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644445000,"timestamp_ms":1787644445000,"timestamp_seconds":1787644445,"priority":1,"record_length":96,"hex_timestamp":"000001a037e98148"} 
[2026-08-25 13:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 13:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636976128001,"66":13374,"15":206,"85":14080,"24":51,"16":123577431855464448,"45":-8561413236526686208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636976128001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:24:46] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:24:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123577431855464448,"km_value":123577431855464.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8561413236526686208,"description":"Unknown IO ID 45"} 
[2026-08-25 13:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636976128001,"power":13374,"unknown_15":206,"unknown_85":14080,"ignition":51,"odometer":null,"unknown_45":-8561413236526686208}} 
[2026-08-25 13:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":161650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:24:46] local.INFO: GPS data processed {"connection_id":161650,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:24:46] local.INFO: Acknowledgment sent {"connection_id":161650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:24:50] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:24:50] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:24:50] local.INFO: IMEI packet received {"connection_id":161903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":161903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:24:51] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:24:51] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:24:51] local.INFO: Packet analysis {"connection_id":161903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:24:51] local.INFO: Extracted packet for processing {"connection_id":161903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 13:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636888576001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787644397000,"timestamp_ms":1787644397000,"timestamp_seconds":1787644397,"priority":1,"record_length":96,"hex_timestamp":"000001a037e8c5c8"} 
[2026-08-25 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-25 13:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 13:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636888576001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636888576001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:24:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636888576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":161903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:24:51] local.INFO: GPS data processed {"connection_id":161903,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:24:51] local.INFO: Acknowledgment sent {"connection_id":161903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:24:55] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:24:55] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:24:55] local.INFO: Packet analysis {"connection_id":161903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:24:55] local.INFO: Extracted packet for processing {"connection_id":161903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:24:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636888576001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787644397000,"timestamp_ms":1787644397000,"timestamp_seconds":1787644397,"priority":1,"record_length":96,"hex_timestamp":"000001a037e8c5c8"} 
[2026-08-25 13:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:24: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-25 13:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636888576001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636888576001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:24:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:24:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636888576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":161903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:24:55] local.INFO: GPS data processed {"connection_id":161903,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:24:55] local.INFO: Acknowledgment sent {"connection_id":161903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:25:16] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037e9a470012d897940058d89000007004d33..."} 
[2026-08-25 13:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e9a470012d897940058d89000007004d33..."} 
[2026-08-25 13:25:16] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e9a470012d897940058d89000007004d33..."} 
[2026-08-25 13:25:16] local.INFO: Packet analysis {"connection_id":161650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e9"} 
[2026-08-25 13:25:16] local.INFO: Extracted packet for processing {"connection_id":161650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e9"} 
[2026-08-25 13:25:16] local.INFO: GPS Element Parsed {"raw_longitude":763984192,"raw_latitude":93161728,"longitude_deg":76.3984192,"latitude_deg":9.3161728,"altitude":7,"angle":77,"satellites":51,"speed":27,"hex_longitude":"2d897940","hex_latitude":"058d8900","is_valid_coordinates":true} 
[2026-08-25 13:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636977920001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123577891416965120,"note":"Value kept but may cause issues"} 
[2026-08-25 13:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8551209768620634112,"note":"Value kept but may cause issues"} 
[2026-08-25 13:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787644454000,"timestamp_ms":1787644454000,"timestamp_seconds":1787644454,"priority":1,"record_length":96,"hex_timestamp":"000001a037e9a470"} 
[2026-08-25 13:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 13:25:16] 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-25 13:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636977920001,"66":13515,"15":206,"85":14080,"24":27,"16":123577891416965120,"45":-8551209768620634112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636977920001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:25:16] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123577891416965120,"km_value":123577891416965.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8551209768620634112,"description":"Unknown IO ID 45"} 
[2026-08-25 13:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636977920001,"power":13515,"unknown_15":206,"unknown_85":14080,"ignition":27,"odometer":null,"unknown_45":-8551209768620634112}} 
[2026-08-25 13:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":161650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:25:16] local.INFO: GPS data processed {"connection_id":161650,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:25:16] local.INFO: Acknowledgment sent {"connection_id":161650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:25:40] local.INFO: TCP Data received {"connection_id":162893,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:25:40] local.INFO: Processing buffer {"connection_id":162893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:25:40] local.INFO: IMEI packet received {"connection_id":162893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":162893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:25:41] local.INFO: TCP Data received {"connection_id":162894,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:25:41] local.INFO: Processing buffer {"connection_id":162894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:25:41] local.INFO: IMEI packet received {"connection_id":162894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":162894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:25:45] local.INFO: TCP Data received {"connection_id":162893,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:25:45] local.INFO: Processing buffer {"connection_id":162893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:25:45] local.INFO: IMEI packet received {"connection_id":162893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":162893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:25:46] local.INFO: TCP Data received {"connection_id":162894,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:25:46] local.INFO: Processing buffer {"connection_id":162894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:25:46] local.INFO: IMEI packet received {"connection_id":162894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":162894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:25:47] local.INFO: TCP Data received {"connection_id":162893,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:25:47] local.INFO: Processing buffer {"connection_id":162893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:25:47] local.INFO: Packet analysis {"connection_id":162893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:25:47] local.INFO: Extracted packet for processing {"connection_id":162893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636888576001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787644397000,"timestamp_ms":1787644397000,"timestamp_seconds":1787644397,"priority":1,"record_length":96,"hex_timestamp":"000001a037e8c5c8"} 
[2026-08-25 13:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636888576001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636888576001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:25:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636888576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":162893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:25:47] local.INFO: GPS data processed {"connection_id":162893,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:25:47] local.INFO: Acknowledgment sent {"connection_id":162893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:25:47] local.INFO: TCP Data received {"connection_id":162894,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037eac580012d8a0d40058da0a80009001332..."} 
[2026-08-25 13:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037eac580012d8a0d40058da0a80009001332..."} 
[2026-08-25 13:25:47] local.INFO: Processing buffer {"connection_id":162894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037eac580012d8a0d40058da0a80009001332..."} 
[2026-08-25 13:25:47] local.INFO: Packet analysis {"connection_id":162894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ea"} 
[2026-08-25 13:25:47] local.INFO: Extracted packet for processing {"connection_id":162894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ea"} 
[2026-08-25 13:25:47] local.INFO: GPS Element Parsed {"raw_longitude":764022080,"raw_latitude":93167784,"longitude_deg":76.402208,"latitude_deg":9.3167784,"altitude":9,"angle":19,"satellites":50,"speed":8,"hex_longitude":"2d8a0d40","hex_latitude":"058da0a8","is_valid_coordinates":true} 
[2026-08-25 13:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636998656001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123579832742182912,"note":"Value kept but may cause issues"} 
[2026-08-25 13:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8499066529183227904,"note":"Value kept but may cause issues"} 
[2026-08-25 13:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787644528000,"timestamp_ms":1787644528000,"timestamp_seconds":1787644528,"priority":1,"record_length":96,"hex_timestamp":"000001a037eac580"} 
[2026-08-25 13:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 13:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636998656001,"66":13428,"15":206,"85":14080,"24":8,"16":123579832742182912,"45":-8499066529183227904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636998656001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:25:47] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123579832742182912,"km_value":123579832742182.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8499066529183227904,"description":"Unknown IO ID 45"} 
[2026-08-25 13:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636998656001,"power":13428,"unknown_15":206,"unknown_85":14080,"ignition":8,"odometer":null,"unknown_45":-8499066529183227904}} 
[2026-08-25 13:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":162894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:25:47] local.INFO: GPS data processed {"connection_id":162894,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:25:47] local.INFO: Acknowledgment sent {"connection_id":162894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:26:18] local.INFO: TCP Data received {"connection_id":162894,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037eac968012d8a0dc0058da150000a002532..."} 
[2026-08-25 13:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037eac968012d8a0dc0058da150000a002532..."} 
[2026-08-25 13:26:18] local.INFO: Processing buffer {"connection_id":162894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037eac968012d8a0dc0058da150000a002532..."} 
[2026-08-25 13:26:18] local.INFO: Packet analysis {"connection_id":162894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ea"} 
[2026-08-25 13:26:18] local.INFO: Extracted packet for processing {"connection_id":162894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ea"} 
[2026-08-25 13:26:18] local.INFO: GPS Element Parsed {"raw_longitude":764022208,"raw_latitude":93167952,"longitude_deg":76.4022208,"latitude_deg":9.3167952,"altitude":10,"angle":37,"satellites":50,"speed":8,"hex_longitude":"2d8a0dc0","hex_latitude":"058da150","is_valid_coordinates":true} 
[2026-08-25 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-25 13:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636999168001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123579845627084800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8499066529183127552,"note":"Value kept but may cause issues"} 
[2026-08-25 13:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787644529000,"timestamp_ms":1787644529000,"timestamp_seconds":1787644529,"priority":1,"record_length":96,"hex_timestamp":"000001a037eac968"} 
[2026-08-25 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-25 13:26: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-25 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 13:26: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-25 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-25 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-25 13:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636999168001,"66":13276,"15":206,"85":14080,"24":8,"16":123579845627084800,"45":-8499066529183127552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636999168001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:26:18] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:26:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123579845627084800,"km_value":123579845627084.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8499066529183127552,"description":"Unknown IO ID 45"} 
[2026-08-25 13:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636999168001,"power":13276,"unknown_15":206,"unknown_85":14080,"ignition":8,"odometer":null,"unknown_45":-8499066529183127552}} 
[2026-08-25 13:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":162894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:26:18] local.INFO: GPS data processed {"connection_id":162894,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:26:18] local.INFO: Acknowledgment sent {"connection_id":162894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:26:18] local.INFO: TCP Data received {"connection_id":162893,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:26:18] local.INFO: Processing buffer {"connection_id":162893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:26:18] local.INFO: Packet analysis {"connection_id":162893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:26:18] local.INFO: Extracted packet for processing {"connection_id":162893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 13:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636888576001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787644397000,"timestamp_ms":1787644397000,"timestamp_seconds":1787644397,"priority":1,"record_length":96,"hex_timestamp":"000001a037e8c5c8"} 
[2026-08-25 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-25 13:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 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-25 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-25 13:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636888576001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636888576001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:26:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636888576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":162893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:26:18] local.INFO: GPS data processed {"connection_id":162893,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:26:18] local.INFO: Acknowledgment sent {"connection_id":162893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:26:40] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:26:40] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:26:40] local.INFO: IMEI packet received {"connection_id":161651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":161651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:26:41] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:26:41] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:26:41] local.INFO: IMEI packet received {"connection_id":161652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":161652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:26:45] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:26:45] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:26:45] local.INFO: IMEI packet received {"connection_id":161651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":161651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:26:46] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:26:46] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:26:46] local.INFO: IMEI packet received {"connection_id":161652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":161652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:26:47] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:26:47] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:26:47] local.INFO: Packet analysis {"connection_id":161651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:26:47] local.INFO: Extracted packet for processing {"connection_id":161651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636888576001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787644397000,"timestamp_ms":1787644397000,"timestamp_seconds":1787644397,"priority":1,"record_length":96,"hex_timestamp":"000001a037e8c5c8"} 
[2026-08-25 13:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636888576001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636888576001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:26:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636888576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":161651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:26:47] local.INFO: GPS data processed {"connection_id":161651,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:26:47] local.INFO: Acknowledgment sent {"connection_id":161651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:26:47] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037eacd50012d8a0e00058da1a8000a004332..."} 
[2026-08-25 13:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037eacd50012d8a0e00058da1a8000a004332..."} 
[2026-08-25 13:26:47] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037eacd50012d8a0e00058da1a8000a004332..."} 
[2026-08-25 13:26:47] local.INFO: Packet analysis {"connection_id":161652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ea"} 
[2026-08-25 13:26:47] local.INFO: Extracted packet for processing {"connection_id":161652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ea"} 
[2026-08-25 13:26:47] local.INFO: GPS Element Parsed {"raw_longitude":764022272,"raw_latitude":93168040,"longitude_deg":76.4022272,"latitude_deg":9.316804,"altitude":10,"angle":67,"satellites":50,"speed":6,"hex_longitude":"2d8a0e00","hex_latitude":"058da1a8","is_valid_coordinates":true} 
[2026-08-25 13:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636999424001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123579849922052096,"note":"Value kept but may cause issues"} 
[2026-08-25 13:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8498925791694729216,"note":"Value kept but may cause issues"} 
[2026-08-25 13:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787644530000,"timestamp_ms":1787644530000,"timestamp_seconds":1787644530,"priority":1,"record_length":96,"hex_timestamp":"000001a037eacd50"} 
[2026-08-25 13:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 13:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636999424001,"66":13276,"15":206,"85":14080,"24":6,"16":123579849922052096,"45":-8498925791694729216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636999424001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:26:47] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:26:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123579849922052096,"km_value":123579849922052.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8498925791694729216,"description":"Unknown IO ID 45"} 
[2026-08-25 13:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636999424001,"power":13276,"unknown_15":206,"unknown_85":14080,"ignition":6,"odometer":null,"unknown_45":-8498925791694729216}} 
[2026-08-25 13:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":161652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:26:47] local.INFO: GPS data processed {"connection_id":161652,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:26:47] local.INFO: Acknowledgment sent {"connection_id":161652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:27:02] local.INFO: TCP Data received {"connection_id":161649,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:27:02] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:27:02] local.INFO: IMEI packet received {"connection_id":161649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":161649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:27:04] local.INFO: TCP Data received {"connection_id":161649,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037ea3110012d18804007218218004b01152b..."} 
[2026-08-25 13:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ea3110012d18804007218218004b01152b..."} 
[2026-08-25 13:27:04] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ea3110012d18804007218218004b01152b..."} 
[2026-08-25 13:27:04] local.INFO: Packet analysis {"connection_id":161649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ea"} 
[2026-08-25 13:27:04] local.INFO: Extracted packet for processing {"connection_id":161649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ea"} 
[2026-08-25 13:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756580416,"raw_latitude":119636504,"longitude_deg":75.6580416,"latitude_deg":11.9636504,"altitude":75,"angle":277,"satellites":43,"speed":31,"hex_longitude":"2d188040","hex_latitude":"07218218","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636989440001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15879606489841664,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765481453300357120,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787644490000,"timestamp_ms":1787644490000,"timestamp_seconds":1787644490,"priority":1,"record_length":96,"hex_timestamp":"000001a037ea3110"} 
[2026-08-25 13: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-25 13:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-25 13:27:04] 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-25 13: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-25 13: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-25 13:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636989440001,"66":14135,"121":206,"28":31744,"24":31,"16":15879606489841664,"45":1765481453300357120},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636989440001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:27:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:27:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15879606489841664,"km_value":15879606489841.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765481453300357120,"description":"Unknown IO ID 45"} 
[2026-08-25 13:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636989440001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1765481453300357120}} 
[2026-08-25 13:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":161649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:27:04] local.INFO: GPS data processed {"connection_id":161649,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:27:04] local.INFO: Acknowledgment sent {"connection_id":161649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:27:18] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037ead138012d8a0ec0058da1b8000a005b32..."} 
[2026-08-25 13:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ead138012d8a0ec0058da1b8000a005b32..."} 
[2026-08-25 13:27:18] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ead138012d8a0ec0058da1b8000a005b32..."} 
[2026-08-25 13:27:18] local.INFO: Packet analysis {"connection_id":161652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ea"} 
[2026-08-25 13:27:18] local.INFO: Extracted packet for processing {"connection_id":161652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ea"} 
[2026-08-25 13:27:18] local.INFO: GPS Element Parsed {"raw_longitude":764022464,"raw_latitude":93168056,"longitude_deg":76.4022464,"latitude_deg":9.3168056,"altitude":10,"angle":91,"satellites":50,"speed":5,"hex_longitude":"2d8a0ec0","hex_latitude":"058da1b8","is_valid_coordinates":true} 
[2026-08-25 13:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636999680001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123579858511986688,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8498855422950529024,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787644531000,"timestamp_ms":1787644531000,"timestamp_seconds":1787644531,"priority":1,"record_length":96,"hex_timestamp":"000001a037ead138"} 
[2026-08-25 13:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 13:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636999680001,"66":12982,"15":206,"85":14080,"24":5,"16":123579858511986688,"45":-8498855422950529024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636999680001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:27:18] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:27:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123579858511986688,"km_value":123579858511986.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8498855422950529024,"description":"Unknown IO ID 45"} 
[2026-08-25 13:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636999680001,"power":12982,"unknown_15":206,"unknown_85":14080,"ignition":5,"odometer":null,"unknown_45":-8498855422950529024}} 
[2026-08-25 13:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":161652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:27:18] local.INFO: GPS data processed {"connection_id":161652,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:27:18] local.INFO: Acknowledgment sent {"connection_id":161652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:27:18] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:27:18] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:27:18] local.INFO: Packet analysis {"connection_id":161651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:27:18] local.INFO: Extracted packet for processing {"connection_id":161651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636888576001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787644397000,"timestamp_ms":1787644397000,"timestamp_seconds":1787644397,"priority":1,"record_length":96,"hex_timestamp":"000001a037e8c5c8"} 
[2026-08-25 13:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636888576001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636888576001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:27:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636888576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":161651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:27:18] local.INFO: GPS data processed {"connection_id":161651,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:27:18] local.INFO: Acknowledgment sent {"connection_id":161651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:27:36] local.INFO: TCP Data received {"connection_id":161649,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037ebcf20012d188bc007225060005c001f2c..."} 
[2026-08-25 13:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ebcf20012d188bc007225060005c001f2c..."} 
[2026-08-25 13:27:36] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ebcf20012d188bc007225060005c001f2c..."} 
[2026-08-25 13:27:36] local.INFO: Packet analysis {"connection_id":161649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037eb"} 
[2026-08-25 13:27:36] local.INFO: Extracted packet for processing {"connection_id":161649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037eb"} 
[2026-08-25 13:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756583360,"raw_latitude":119689312,"longitude_deg":75.658336,"latitude_deg":11.9689312,"altitude":92,"angle":31,"satellites":44,"speed":34,"hex_longitude":"2d188bc0","hex_latitude":"07225060","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637014016001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883441895636992,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762948178521524224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787644596000,"timestamp_ms":1787644596000,"timestamp_seconds":1787644596,"priority":1,"record_length":96,"hex_timestamp":"000001a037ebcf20"} 
[2026-08-25 13: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-25 13:27:36] 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-25 13: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 13:27:36] 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-25 13: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-25 13: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-25 13:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637014016001,"66":14135,"120":206,"28":31744,"24":34,"16":15883441895636992,"45":1762948178521524224},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637014016001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:27:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883441895636992,"km_value":15883441895636.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762948178521524224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637014016001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1762948178521524224}} 
[2026-08-25 13:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":161649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:27:36] local.INFO: GPS data processed {"connection_id":161649,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:27:36] local.INFO: Acknowledgment sent {"connection_id":161649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:27:40] local.INFO: TCP Data received {"connection_id":162895,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:27:40] local.INFO: Processing buffer {"connection_id":162895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:27:40] local.INFO: IMEI packet received {"connection_id":162895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":162895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:27:45] local.INFO: TCP Data received {"connection_id":162895,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:27:45] local.INFO: Processing buffer {"connection_id":162895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:27:45] local.INFO: IMEI packet received {"connection_id":162895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":162895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:27:46] local.INFO: TCP Data received {"connection_id":162895,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:27:46] local.INFO: Processing buffer {"connection_id":162895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:27:46] local.INFO: Packet analysis {"connection_id":162895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:27:46] local.INFO: Extracted packet for processing {"connection_id":162895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636888576001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644397000,"timestamp_ms":1787644397000,"timestamp_seconds":1787644397,"priority":1,"record_length":96,"hex_timestamp":"000001a037e8c5c8"} 
[2026-08-25 13:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636888576001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636888576001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:27:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636888576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":162895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:27:46] local.INFO: GPS data processed {"connection_id":162895,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:27:46] local.INFO: Acknowledgment sent {"connection_id":162895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:28:10] local.INFO: TCP Data received {"connection_id":161649,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037ebfe00012d189dc007226e38006600182b..."} 
[2026-08-25 13:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ebfe00012d189dc007226e38006600182b..."} 
[2026-08-25 13:28:10] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ebfe00012d189dc007226e38006600182b..."} 
[2026-08-25 13:28:10] local.INFO: Packet analysis {"connection_id":161649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037eb"} 
[2026-08-25 13:28:10] local.INFO: Extracted packet for processing {"connection_id":161649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037eb"} 
[2026-08-25 13:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756587968,"raw_latitude":119696952,"longitude_deg":75.6587968,"latitude_deg":11.9696952,"altitude":102,"angle":24,"satellites":43,"speed":25,"hex_longitude":"2d189dc0","hex_latitude":"07226e38","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637016576001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883871392366592,"note":"Value kept but may cause issues"} 
[2026-08-25 13:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768718415546048512,"note":"Value kept but may cause issues"} 
[2026-08-25 13:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787644608000,"timestamp_ms":1787644608000,"timestamp_seconds":1787644608,"priority":1,"record_length":96,"hex_timestamp":"000001a037ebfe00"} 
[2026-08-25 13: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-25 13:28:10] 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-25 13: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-25 13:28: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-25 13: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-25 13: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-25 13:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637016576001,"66":14102,"120":206,"28":31744,"24":25,"16":15883871392366592,"45":1768718415546048512},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637016576001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:28:10] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:28:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883871392366592,"km_value":15883871392366.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768718415546048512,"description":"Unknown IO ID 45"} 
[2026-08-25 13:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637016576001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1768718415546048512}} 
[2026-08-25 13:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":161649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:28:10] local.INFO: GPS data processed {"connection_id":161649,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:28:10] local.INFO: Acknowledgment sent {"connection_id":161649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:28:18] local.INFO: TCP Data received {"connection_id":162895,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:28:18] local.INFO: Processing buffer {"connection_id":162895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:28:18] local.INFO: Packet analysis {"connection_id":162895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:28:18] local.INFO: Extracted packet for processing {"connection_id":162895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:28:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636888576001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787644397000,"timestamp_ms":1787644397000,"timestamp_seconds":1787644397,"priority":1,"record_length":96,"hex_timestamp":"000001a037e8c5c8"} 
[2026-08-25 13:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636888576001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636888576001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:28:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:28:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636888576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":162895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:28:18] local.INFO: GPS data processed {"connection_id":162895,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:28:18] local.INFO: Acknowledgment sent {"connection_id":162895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:28:40] local.INFO: TCP Data received {"connection_id":164273,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:28:40] local.INFO: Processing buffer {"connection_id":164273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:28:40] local.INFO: IMEI packet received {"connection_id":164273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":164273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:28:45] local.INFO: TCP Data received {"connection_id":164273,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:28:45] local.INFO: Processing buffer {"connection_id":164273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:28:45] local.INFO: IMEI packet received {"connection_id":164273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":164273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:28:46] local.INFO: TCP Data received {"connection_id":164273,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:28:46] local.INFO: Processing buffer {"connection_id":164273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037e8c5c8012d34c14006aa4820000900e62f..."} 
[2026-08-25 13:28:46] local.INFO: Packet analysis {"connection_id":164273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:28:46] local.INFO: Extracted packet for processing {"connection_id":164273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037e8"} 
[2026-08-25 13:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636888576001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644397000,"timestamp_ms":1787644397000,"timestamp_seconds":1787644397,"priority":1,"record_length":96,"hex_timestamp":"000001a037e8c5c8"} 
[2026-08-25 13:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636888576001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636888576001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:28:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636888576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":164273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:28:46] local.INFO: GPS data processed {"connection_id":164273,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:28:46] local.INFO: Acknowledgment sent {"connection_id":164273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:28:52] local.INFO: TCP Data received {"connection_id":161653,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:28:52] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:28:52] local.INFO: IMEI packet received {"connection_id":161653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":161653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:28:57] local.INFO: TCP Data received {"connection_id":161653,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:28:57] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:28:57] local.INFO: IMEI packet received {"connection_id":161653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":161653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:28:58] local.INFO: TCP Data received {"connection_id":161653,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037ecf030012d18f8000722fbc0005c003d29..."} 
[2026-08-25 13:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ecf030012d18f8000722fbc0005c003d29..."} 
[2026-08-25 13:28:58] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ecf030012d18f8000722fbc0005c003d29..."} 
[2026-08-25 13:28:58] local.INFO: Packet analysis {"connection_id":161653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ec"} 
[2026-08-25 13:28:58] local.INFO: Extracted packet for processing {"connection_id":161653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ec"} 
[2026-08-25 13:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756611072,"raw_latitude":119733184,"longitude_deg":75.6611072,"latitude_deg":11.9733184,"altitude":92,"angle":61,"satellites":41,"speed":36,"hex_longitude":"2d18f800","hex_latitude":"0722fbc0","is_valid_coordinates":true} 
[2026-08-25 13:28: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-25 13:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637035264001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15886590106664960,"note":"Value kept but may cause issues"} 
[2026-08-25 13:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798273288111802368,"note":"Value kept but may cause issues"} 
[2026-08-25 13:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787644670000,"timestamp_ms":1787644670000,"timestamp_seconds":1787644670,"priority":1,"record_length":96,"hex_timestamp":"000001a037ecf030"} 
[2026-08-25 13:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:28:58] 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-25 13:28: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 13:28:58] 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-25 13:28: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-25 13:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637035264001,"66":14211,"112":206,"28":31744,"24":36,"16":15886590106664960,"45":1798273288111802368},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-25 13:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637035264001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:28:58] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 13:28:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15886590106664960,"km_value":15886590106664.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798273288111802368,"description":"Unknown IO ID 45"} 
[2026-08-25 13:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637035264001,"power":14211,"unknown_112":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1798273288111802368}} 
[2026-08-25 13:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":161653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:28:58] local.INFO: GPS data processed {"connection_id":161653,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:28:58] local.INFO: Acknowledgment sent {"connection_id":161653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:29:17] local.INFO: TCP Data received {"connection_id":164273,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:29:17] local.INFO: Processing buffer {"connection_id":164273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:29:17] local.INFO: Packet analysis {"connection_id":164273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:29:17] local.INFO: Extracted packet for processing {"connection_id":164273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636965632001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787644698000,"timestamp_ms":1787644698000,"timestamp_seconds":1787644698,"priority":1,"record_length":96,"hex_timestamp":"000001a037ed5d90"} 
[2026-08-25 13:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636965632001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636965632001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636965632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":164273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:29:17] local.INFO: GPS data processed {"connection_id":164273,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:29:17] local.INFO: Acknowledgment sent {"connection_id":164273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:29:30] local.INFO: TCP Data received {"connection_id":161653,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037ecf418012d18fb800722fde0005b003228..."} 
[2026-08-25 13:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ecf418012d18fb800722fde0005b003228..."} 
[2026-08-25 13:29:30] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ecf418012d18fb800722fde0005b003228..."} 
[2026-08-25 13:29:30] local.INFO: Packet analysis {"connection_id":161653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ec"} 
[2026-08-25 13:29:30] local.INFO: Extracted packet for processing {"connection_id":161653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ec"} 
[2026-08-25 13:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756611968,"raw_latitude":119733728,"longitude_deg":75.6611968,"latitude_deg":11.9733728,"altitude":91,"angle":50,"satellites":40,"speed":37,"hex_longitude":"2d18fb80","hex_latitude":"0722fde0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637035520001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15886637351305216,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799188081786208256,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787644671000,"timestamp_ms":1787644671000,"timestamp_seconds":1787644671,"priority":1,"record_length":96,"hex_timestamp":"000001a037ecf418"} 
[2026-08-25 13: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-25 13:29:30] 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-25 13: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 13:29:30] 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-25 13: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-25 13: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-25 13:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637035520001,"66":14494,"112":206,"28":31744,"24":37,"16":15886637351305216,"45":1799188081786208256},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-25 13:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637035520001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:29:30] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 13:29:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15886637351305216,"km_value":15886637351305.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799188081786208256,"description":"Unknown IO ID 45"} 
[2026-08-25 13:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637035520001,"power":14494,"unknown_112":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1799188081786208256}} 
[2026-08-25 13:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":161653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:29:30] local.INFO: GPS data processed {"connection_id":161653,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:29:30] local.INFO: Acknowledgment sent {"connection_id":161653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:29:40] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:29:40] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:29:40] local.INFO: IMEI packet received {"connection_id":161904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":161904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:29:45] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:29:45] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:29:45] local.INFO: IMEI packet received {"connection_id":161904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":161904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:29:46] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:29:46] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:29:46] local.INFO: Packet analysis {"connection_id":161904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:29:46] local.INFO: Extracted packet for processing {"connection_id":161904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636965632001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644698000,"timestamp_ms":1787644698000,"timestamp_seconds":1787644698,"priority":1,"record_length":96,"hex_timestamp":"000001a037ed5d90"} 
[2026-08-25 13:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636965632001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636965632001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:29:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636965632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":161904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:29:46] local.INFO: GPS data processed {"connection_id":161904,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:29:46] local.INFO: Acknowledgment sent {"connection_id":161904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:29:51] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:29:51] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:29:51] local.INFO: Packet analysis {"connection_id":161904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:29:51] local.INFO: Extracted packet for processing {"connection_id":161904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:29:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636965632001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787644698000,"timestamp_ms":1787644698000,"timestamp_seconds":1787644698,"priority":1,"record_length":96,"hex_timestamp":"000001a037ed5d90"} 
[2026-08-25 13: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-25 13:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636965632001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636965632001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:29:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:29:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636965632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":161904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:29:51] local.INFO: GPS data processed {"connection_id":161904,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:29:51] local.INFO: Acknowledgment sent {"connection_id":161904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:29:52] local.INFO: TCP Data received {"connection_id":164274,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:29:52] local.INFO: Processing buffer {"connection_id":164274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:29:52] local.INFO: IMEI packet received {"connection_id":164274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":164274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:29:53] local.INFO: TCP Data received {"connection_id":164274,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:29:53] local.INFO: Processing buffer {"connection_id":164274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:29:53] local.INFO: IMEI packet received {"connection_id":164274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":164274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:29:57] local.INFO: TCP Data received {"connection_id":164274,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:29:57] local.INFO: Processing buffer {"connection_id":164274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:29:57] local.INFO: IMEI packet received {"connection_id":164274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":164274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:29:58] local.INFO: TCP Data received {"connection_id":164274,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037ede260012d19d9000723a5f80031005329..."} 
[2026-08-25 13:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ede260012d19d9000723a5f80031005329..."} 
[2026-08-25 13:29:58] local.INFO: Processing buffer {"connection_id":164274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ede260012d19d9000723a5f80031005329..."} 
[2026-08-25 13:29:58] local.INFO: Packet analysis {"connection_id":164274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:29:58] local.INFO: Extracted packet for processing {"connection_id":164274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756668672,"raw_latitude":119776760,"longitude_deg":75.6668672,"latitude_deg":11.977676,"altitude":49,"angle":83,"satellites":41,"speed":52,"hex_longitude":"2d19d900","hex_latitude":"0723a5f8","is_valid_coordinates":true} 
[2026-08-25 13:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637049600001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15890270893637632,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851894271186139136,"note":"Value kept but may cause issues"} 
[2026-08-25 13:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787644732000,"timestamp_ms":1787644732000,"timestamp_seconds":1787644732,"priority":1,"record_length":96,"hex_timestamp":"000001a037ede260"} 
[2026-08-25 13:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 13:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637049600001,"66":14070,"112":206,"28":31744,"24":52,"16":15890270893637632,"45":1851894271186139136},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-25 13:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637049600001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:29:58] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 13:29:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15890270893637632,"km_value":15890270893637.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851894271186139136,"description":"Unknown IO ID 45"} 
[2026-08-25 13:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637049600001,"power":14070,"unknown_112":206,"unknown_28":31744,"ignition":52,"odometer":null,"unknown_45":1851894271186139136}} 
[2026-08-25 13:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":164274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:29:59] local.INFO: GPS data processed {"connection_id":164274,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:29:59] local.INFO: Acknowledgment sent {"connection_id":164274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:30:24] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:30:24] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:30:24] local.INFO: Packet analysis {"connection_id":161904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:30:24] local.INFO: Extracted packet for processing {"connection_id":161904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636965632001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787644698000,"timestamp_ms":1787644698000,"timestamp_seconds":1787644698,"priority":1,"record_length":96,"hex_timestamp":"000001a037ed5d90"} 
[2026-08-25 13:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636965632001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636965632001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:30:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636965632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":161904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:30:24] local.INFO: GPS data processed {"connection_id":161904,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:30:24] local.INFO: Acknowledgment sent {"connection_id":161904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:30:30] local.INFO: TCP Data received {"connection_id":164274,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037ee01a0012d19ffc00723aa88002d005129..."} 
[2026-08-25 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ee01a0012d19ffc00723aa88002d005129..."} 
[2026-08-25 13:30:30] local.INFO: Processing buffer {"connection_id":164274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ee01a0012d19ffc00723aa88002d005129..."} 
[2026-08-25 13:30:30] local.INFO: Packet analysis {"connection_id":164274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ee"} 
[2026-08-25 13:30:30] local.INFO: Extracted packet for processing {"connection_id":164274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ee"} 
[2026-08-25 13:30:30] local.INFO: GPS Element Parsed {"raw_longitude":756678592,"raw_latitude":119777928,"longitude_deg":75.6678592,"latitude_deg":11.9777928,"altitude":45,"angle":81,"satellites":41,"speed":46,"hex_longitude":"2d19ffc0","hex_latitude":"0723aa88","is_valid_coordinates":true} 
[2026-08-25 13:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637051392001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15890743340040192,"note":"Value kept but may cause issues"} 
[2026-08-25 13:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862519951557261312,"note":"Value kept but may cause issues"} 
[2026-08-25 13:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787644740000,"timestamp_ms":1787644740000,"timestamp_seconds":1787644740,"priority":1,"record_length":96,"hex_timestamp":"000001a037ee01a0"} 
[2026-08-25 13:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 13:30:30] 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-25 13:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637051392001,"66":14461,"112":206,"28":31744,"24":46,"16":15890743340040192,"45":1862519951557261312},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-25 13:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637051392001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:30:30] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 13:30:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15890743340040192,"km_value":15890743340040.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862519951557261312,"description":"Unknown IO ID 45"} 
[2026-08-25 13:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637051392001,"power":14461,"unknown_112":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1862519951557261312}} 
[2026-08-25 13:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":164274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:30:30] local.INFO: GPS data processed {"connection_id":164274,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:30:30] local.INFO: Acknowledgment sent {"connection_id":164274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:30:40] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:30:40] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:30:40] local.INFO: IMEI packet received {"connection_id":161654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":161654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:30:46] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:30:46] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:30:46] local.INFO: IMEI packet received {"connection_id":161654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":161654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:30:47] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:30:47] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:30:47] local.INFO: Packet analysis {"connection_id":161654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:30:47] local.INFO: Extracted packet for processing {"connection_id":161654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636965632001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787644698000,"timestamp_ms":1787644698000,"timestamp_seconds":1787644698,"priority":1,"record_length":96,"hex_timestamp":"000001a037ed5d90"} 
[2026-08-25 13:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636965632001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636965632001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:30:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636965632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":161654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:30:47] local.INFO: GPS data processed {"connection_id":161654,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:30:47] local.INFO: Acknowledgment sent {"connection_id":161654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:30:56] local.INFO: TCP Data received {"connection_id":162896,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:30:56] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:30:56] local.INFO: IMEI packet received {"connection_id":162896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":162896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:30:57] local.INFO: TCP Data received {"connection_id":162896,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:30:57] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:30:57] local.INFO: IMEI packet received {"connection_id":162896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":162896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:31:01] local.INFO: TCP Data received {"connection_id":162896,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:31:01] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:31:01] local.INFO: IMEI packet received {"connection_id":162896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":162896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:31:01] local.INFO: TCP Data received {"connection_id":162896,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037ee1910012d1a1a800723b070002d004329..."} 
[2026-08-25 13:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ee1910012d1a1a800723b070002d004329..."} 
[2026-08-25 13:31:01] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ee1910012d1a1a800723b070002d004329..."} 
[2026-08-25 13:31:01] local.INFO: Packet analysis {"connection_id":162896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ee"} 
[2026-08-25 13:31:01] local.INFO: Extracted packet for processing {"connection_id":162896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ee"} 
[2026-08-25 13:31:01] local.INFO: GPS Element Parsed {"raw_longitude":756685440,"raw_latitude":119779440,"longitude_deg":75.668544,"latitude_deg":11.977944,"altitude":45,"angle":67,"satellites":41,"speed":44,"hex_longitude":"2d1a1a80","hex_latitude":"0723b070","is_valid_coordinates":true} 
[2026-08-25 13:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637053440001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15891074052521984,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1873427106905098240,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787644746000,"timestamp_ms":1787644746000,"timestamp_seconds":1787644746,"priority":1,"record_length":96,"hex_timestamp":"000001a037ee1910"} 
[2026-08-25 13:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:31:01] 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-25 13:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-25 13:31:01] 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-25 13:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637053440001,"66":14494,"112":206,"28":31744,"24":44,"16":15891074052521984,"45":1873427106905098240},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-25 13:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637053440001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:31:01] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 13:31:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15891074052521984,"km_value":15891074052521.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1873427106905098240,"description":"Unknown IO ID 45"} 
[2026-08-25 13:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637053440001,"power":14494,"unknown_112":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1873427106905098240}} 
[2026-08-25 13:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":162896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:31:01] local.INFO: GPS data processed {"connection_id":162896,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:31:01] local.INFO: Acknowledgment sent {"connection_id":162896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:31:02] local.INFO: TCP Data received {"connection_id":162896,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037ee28b0012d1a29400723b890002e00382c..."} 
[2026-08-25 13:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ee28b0012d1a29400723b890002e00382c..."} 
[2026-08-25 13:31:02] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ee28b0012d1a29400723b890002e00382c..."} 
[2026-08-25 13:31:02] local.INFO: Packet analysis {"connection_id":162896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ee"} 
[2026-08-25 13:31:02] local.INFO: Extracted packet for processing {"connection_id":162896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ee"} 
[2026-08-25 13:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756689216,"raw_latitude":119781520,"longitude_deg":75.6689216,"latitude_deg":11.978152,"altitude":46,"angle":56,"satellites":44,"speed":41,"hex_longitude":"2d1a2940","hex_latitude":"0723b890","is_valid_coordinates":true} 
[2026-08-25 13:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637054976001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15891280210952192,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880956562532495360,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787644750000,"timestamp_ms":1787644750000,"timestamp_seconds":1787644750,"priority":1,"record_length":96,"hex_timestamp":"000001a037ee28b0"} 
[2026-08-25 13:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-25 13:31:02] 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-25 13:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637054976001,"66":14461,"112":206,"28":31744,"24":41,"16":15891280210952192,"45":1880956562532495360},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-25 13:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637054976001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:31:02] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 13:31:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15891280210952192,"km_value":15891280210952.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880956562532495360,"description":"Unknown IO ID 45"} 
[2026-08-25 13:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637054976001,"power":14461,"unknown_112":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1880956562532495360}} 
[2026-08-25 13:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":162896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:31:03] local.INFO: GPS data processed {"connection_id":162896,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:31:03] local.INFO: Acknowledgment sent {"connection_id":162896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:31:20] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:31:20] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:31:20] local.INFO: Packet analysis {"connection_id":161654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:31:20] local.INFO: Extracted packet for processing {"connection_id":161654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636965632001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787644698000,"timestamp_ms":1787644698000,"timestamp_seconds":1787644698,"priority":1,"record_length":96,"hex_timestamp":"000001a037ed5d90"} 
[2026-08-25 13: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-25 13:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:31: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-25 13: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-25 13: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-25 13:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636965632001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636965632001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:31:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636965632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":161654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:31:20] local.INFO: GPS data processed {"connection_id":161654,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:31:20] local.INFO: Acknowledgment sent {"connection_id":161654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:31:34] local.INFO: TCP Data received {"connection_id":162896,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037ee3850012d1a35400723c240002e002c2d..."} 
[2026-08-25 13:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ee3850012d1a35400723c240002e002c2d..."} 
[2026-08-25 13:31:34] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ee3850012d1a35400723c240002e002c2d..."} 
[2026-08-25 13:31:34] local.INFO: Packet analysis {"connection_id":162896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ee"} 
[2026-08-25 13:31:34] local.INFO: Extracted packet for processing {"connection_id":162896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ee"} 
[2026-08-25 13:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756692288,"raw_latitude":119784000,"longitude_deg":75.6692288,"latitude_deg":11.9784,"altitude":46,"angle":44,"satellites":45,"speed":36,"hex_longitude":"2d1a3540","hex_latitude":"0723c240","is_valid_coordinates":true} 
[2026-08-25 13:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637056000001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15891469189513216,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885108318439510016,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787644754000,"timestamp_ms":1787644754000,"timestamp_seconds":1787644754,"priority":1,"record_length":96,"hex_timestamp":"000001a037ee3850"} 
[2026-08-25 13:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-25 13:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637056000001,"66":14428,"112":206,"28":31744,"24":36,"16":15891469189513216,"45":1885108318439510016},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-25 13:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637056000001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:31:34] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 13:31:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15891469189513216,"km_value":15891469189513.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885108318439510016,"description":"Unknown IO ID 45"} 
[2026-08-25 13:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637056000001,"power":14428,"unknown_112":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1885108318439510016}} 
[2026-08-25 13:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":162896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:31:34] local.INFO: GPS data processed {"connection_id":162896,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:31:34] local.INFO: Acknowledgment sent {"connection_id":162896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:31:40] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:31:40] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:31:40] local.INFO: IMEI packet received {"connection_id":161905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":161905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:31:45] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:31:45] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:31:45] local.INFO: IMEI packet received {"connection_id":161905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":161905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:31:46] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:31:46] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:31:46] local.INFO: Packet analysis {"connection_id":161905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:31:46] local.INFO: Extracted packet for processing {"connection_id":161905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636965632001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644698000,"timestamp_ms":1787644698000,"timestamp_seconds":1787644698,"priority":1,"record_length":96,"hex_timestamp":"000001a037ed5d90"} 
[2026-08-25 13:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636965632001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636965632001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636965632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":161905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:31:46] local.INFO: GPS data processed {"connection_id":161905,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:31:46] local.INFO: Acknowledgment sent {"connection_id":161905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:31:52] local.INFO: TCP Data received {"connection_id":162897,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:31:52] local.INFO: Processing buffer {"connection_id":162897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:31:52] local.INFO: IMEI packet received {"connection_id":162897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":162897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:31:56] local.INFO: TCP Data received {"connection_id":162897,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:31:56] local.INFO: Processing buffer {"connection_id":162897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:31:56] local.INFO: IMEI packet received {"connection_id":162897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":162897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:31:57] local.INFO: TCP Data received {"connection_id":162897,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037efa780012d1b0bc0072482c8002400292c..."} 
[2026-08-25 13:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037efa780012d1b0bc0072482c8002400292c..."} 
[2026-08-25 13:31:57] local.INFO: Processing buffer {"connection_id":162897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037efa780012d1b0bc0072482c8002400292c..."} 
[2026-08-25 13:31:57] local.INFO: Packet analysis {"connection_id":162897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ef"} 
[2026-08-25 13:31:57] local.INFO: Extracted packet for processing {"connection_id":162897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ef"} 
[2026-08-25 13:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756747200,"raw_latitude":119833288,"longitude_deg":75.67472,"latitude_deg":11.9833288,"altitude":36,"angle":41,"satellites":44,"speed":21,"hex_longitude":"2d1b0bc0","hex_latitude":"072482c8","is_valid_coordinates":true} 
[2026-08-25 13:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637077760001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15895115616747520,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941966263746639872,"note":"Value kept but may cause issues"} 
[2026-08-25 13:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787644848000,"timestamp_ms":1787644848000,"timestamp_seconds":1787644848,"priority":1,"record_length":96,"hex_timestamp":"000001a037efa780"} 
[2026-08-25 13:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-25 13:31:57] 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-25 13:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637077760001,"66":14635,"111":206,"28":31744,"24":21,"16":15895115616747520,"45":1941966263746639872},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-08-25 13:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637077760001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:31:57] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-25 13:31:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15895115616747520,"km_value":15895115616747.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941966263746639872,"description":"Unknown IO ID 45"} 
[2026-08-25 13:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637077760001,"power":14635,"unknown_111":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1941966263746639872}} 
[2026-08-25 13:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":162897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:31:57] local.INFO: GPS data processed {"connection_id":162897,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:31:57] local.INFO: Acknowledgment sent {"connection_id":162897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:32:18] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:32:18] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:32:18] local.INFO: Packet analysis {"connection_id":161905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:32:18] local.INFO: Extracted packet for processing {"connection_id":161905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636965632001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787644698000,"timestamp_ms":1787644698000,"timestamp_seconds":1787644698,"priority":1,"record_length":96,"hex_timestamp":"000001a037ed5d90"} 
[2026-08-25 13: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-25 13:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13: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-25 13: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-25 13:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636965632001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636965632001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:32:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636965632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":161905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:32:18] local.INFO: GPS data processed {"connection_id":161905,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:32:18] local.INFO: Acknowledgment sent {"connection_id":161905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:32:29] local.INFO: TCP Data received {"connection_id":162897,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037efc6c0012d1b194007248ed00025003427..."} 
[2026-08-25 13:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037efc6c0012d1b194007248ed00025003427..."} 
[2026-08-25 13:32:29] local.INFO: Processing buffer {"connection_id":162897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037efc6c0012d1b194007248ed00025003427..."} 
[2026-08-25 13:32:29] local.INFO: Packet analysis {"connection_id":162897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ef"} 
[2026-08-25 13:32:29] local.INFO: Extracted packet for processing {"connection_id":162897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ef"} 
[2026-08-25 13:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756750656,"raw_latitude":119836368,"longitude_deg":75.6750656,"latitude_deg":11.9836368,"altitude":37,"angle":52,"satellites":39,"speed":22,"hex_longitude":"2d1b1940","hex_latitude":"07248ed0","is_valid_coordinates":true} 
[2026-08-25 13:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637081088001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15895338955046912,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948862400677726208,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787644856000,"timestamp_ms":1787644856000,"timestamp_seconds":1787644856,"priority":1,"record_length":96,"hex_timestamp":"000001a037efc6c0"} 
[2026-08-25 13:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-25 13:32:29] 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-25 13:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637081088001,"66":14559,"111":206,"28":31744,"24":22,"16":15895338955046912,"45":1948862400677726208},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-08-25 13:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637081088001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:32:29] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-25 13:32:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15895338955046912,"km_value":15895338955046.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948862400677726208,"description":"Unknown IO ID 45"} 
[2026-08-25 13:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637081088001,"power":14559,"unknown_111":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1948862400677726208}} 
[2026-08-25 13:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":162897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:32:29] local.INFO: GPS data processed {"connection_id":162897,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:32:29] local.INFO: Acknowledgment sent {"connection_id":162897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:32:40] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:32:40] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:32:40] local.INFO: IMEI packet received {"connection_id":161906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":161906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:32:45] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:32:45] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:32:45] local.INFO: IMEI packet received {"connection_id":161906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":161906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:32:46] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:32:46] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:32:46] local.INFO: Packet analysis {"connection_id":161906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:32:46] local.INFO: Extracted packet for processing {"connection_id":161906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636965632001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644698000,"timestamp_ms":1787644698000,"timestamp_seconds":1787644698,"priority":1,"record_length":96,"hex_timestamp":"000001a037ed5d90"} 
[2026-08-25 13: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-25 13:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636965632001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636965632001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636965632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":161906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:32:46] local.INFO: GPS data processed {"connection_id":161906,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:32:46] local.INFO: Acknowledgment sent {"connection_id":161906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:32:51] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:32:51] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:32:51] local.INFO: IMEI packet received {"connection_id":161656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":161656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:32:51] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:32:51] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:32:51] local.INFO: IMEI packet received {"connection_id":161656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":161656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:32:53] local.INFO: TCP Data received {"connection_id":161655,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:32:53] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:32:53] local.INFO: IMEI packet received {"connection_id":161655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":161655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:32:56] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:32:56] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:32:56] local.INFO: IMEI packet received {"connection_id":161656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":161656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:32:57] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f11e80012d8a1100058da1b8000a005b2c..."} 
[2026-08-25 13:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f11e80012d8a1100058da1b8000a005b2c..."} 
[2026-08-25 13:32:57] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f11e80012d8a1100058da1b8000a005b2c..."} 
[2026-08-25 13:32:57] local.INFO: Packet analysis {"connection_id":161656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:32:57] local.INFO: Extracted packet for processing {"connection_id":161656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:32:57] local.INFO: GPS Element Parsed {"raw_longitude":764023040,"raw_latitude":93168056,"longitude_deg":76.402304,"latitude_deg":9.3168056,"altitude":10,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d8a1100","hex_latitude":"058da1b8","is_valid_coordinates":true} 
[2026-08-25 13:32:57] 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-25 13:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637105664001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123579875691855872,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8498010998020392960,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787644944000,"timestamp_ms":1787644944000,"timestamp_seconds":1787644944,"priority":1,"record_length":96,"hex_timestamp":"000001a037f11e80"} 
[2026-08-25 13:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 13:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:32:57] 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-25 13:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637105664001,"66":2253,"15":206,"85":14080,"24":0,"16":123579875691855872,"45":-8498010998020392960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637105664001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:32:57] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123579875691855872,"km_value":123579875691855.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8498010998020392960,"description":"Unknown IO ID 45"} 
[2026-08-25 13:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637105664001,"power":2253,"unknown_15":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8498010998020392960}} 
[2026-08-25 13:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":161656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:32:57] local.INFO: GPS data processed {"connection_id":161656,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:32:57] local.INFO: Acknowledgment sent {"connection_id":161656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:32:58] local.INFO: TCP Data received {"connection_id":161655,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:32:58] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:32:58] local.INFO: IMEI packet received {"connection_id":161655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":161655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:32:59] local.INFO: TCP Data received {"connection_id":161655,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f018c8012d1b30800724a090002800362c..."} 
[2026-08-25 13:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f018c8012d1b30800724a090002800362c..."} 
[2026-08-25 13:32:59] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f018c8012d1b30800724a090002800362c..."} 
[2026-08-25 13:32:59] local.INFO: Packet analysis {"connection_id":161655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f0"} 
[2026-08-25 13:32:59] local.INFO: Extracted packet for processing {"connection_id":161655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f0"} 
[2026-08-25 13:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756756608,"raw_latitude":119840912,"longitude_deg":75.6756608,"latitude_deg":11.9840912,"altitude":40,"angle":54,"satellites":44,"speed":11,"hex_longitude":"2d1b3080","hex_latitude":"0724a090","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637083136001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15895695437332480,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1952662312864108544,"note":"Value kept but may cause issues"} 
[2026-08-25 13:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787644877000,"timestamp_ms":1787644877000,"timestamp_seconds":1787644877,"priority":1,"record_length":96,"hex_timestamp":"000001a037f018c8"} 
[2026-08-25 13: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-25 13:32:59] 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-25 13: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-25 13:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637083136001,"66":14494,"91":206,"28":31744,"24":11,"16":15895695437332480,"45":1952662312864108544},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-25 13:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637083136001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:32:59] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-25 13:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15895695437332480,"km_value":15895695437332.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1952662312864108544,"description":"Unknown IO ID 45"} 
[2026-08-25 13:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637083136001,"power":14494,"unknown_91":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1952662312864108544}} 
[2026-08-25 13:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":161655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:32:59] local.INFO: GPS data processed {"connection_id":161655,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:32:59] local.INFO: Acknowledgment sent {"connection_id":161655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:33:17] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:33:17] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:33:17] local.INFO: Packet analysis {"connection_id":161906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:33:17] local.INFO: Extracted packet for processing {"connection_id":161906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636965632001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787644698000,"timestamp_ms":1787644698000,"timestamp_seconds":1787644698,"priority":1,"record_length":96,"hex_timestamp":"000001a037ed5d90"} 
[2026-08-25 13: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-25 13:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636965632001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636965632001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636965632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":161906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:33:17] local.INFO: GPS data processed {"connection_id":161906,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:33:17] local.INFO: Acknowledgment sent {"connection_id":161906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:33:30] local.INFO: TCP Data received {"connection_id":161655,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f06300012d1b4d000724b4f8002b002e2e..."} 
[2026-08-25 13:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f06300012d1b4d000724b4f8002b002e2e..."} 
[2026-08-25 13:33:30] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f06300012d1b4d000724b4f8002b002e2e..."} 
[2026-08-25 13:33:30] local.INFO: Packet analysis {"connection_id":161655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f0"} 
[2026-08-25 13:33:30] local.INFO: Extracted packet for processing {"connection_id":161655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f0"} 
[2026-08-25 13:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756763904,"raw_latitude":119846136,"longitude_deg":75.6763904,"latitude_deg":11.9846136,"altitude":43,"angle":46,"satellites":46,"speed":25,"hex_longitude":"2d1b4d00","hex_latitude":"0724b4f8","is_valid_coordinates":true} 
[2026-08-25 13:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637088512001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15896129229029376,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959206606073794560,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787644896000,"timestamp_ms":1787644896000,"timestamp_seconds":1787644896,"priority":1,"record_length":96,"hex_timestamp":"000001a037f06300"} 
[2026-08-25 13:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:33:30] 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-25 13:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-25 13:33:30] 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-25 13:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637088512001,"66":14515,"91":206,"28":31744,"24":25,"16":15896129229029376,"45":1959206606073794560},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-25 13:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637088512001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:33:30] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-25 13:33:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15896129229029376,"km_value":15896129229029.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959206606073794560,"description":"Unknown IO ID 45"} 
[2026-08-25 13:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637088512001,"power":14515,"unknown_91":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1959206606073794560}} 
[2026-08-25 13:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":161655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:33:30] local.INFO: GPS data processed {"connection_id":161655,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:33:30] local.INFO: Acknowledgment sent {"connection_id":161655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:33:41] local.INFO: TCP Data received {"connection_id":164275,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:33:41] local.INFO: Processing buffer {"connection_id":164275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:33:41] local.INFO: IMEI packet received {"connection_id":164275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":164275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:33:45] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:33:45] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:33:45] local.INFO: IMEI packet received {"connection_id":161657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":161657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:33:46] local.INFO: TCP Data received {"connection_id":164275,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:33:46] local.INFO: Processing buffer {"connection_id":164275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:33:46] local.INFO: IMEI packet received {"connection_id":164275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":164275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:33:47] local.INFO: TCP Data received {"connection_id":164275,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f1c290012d8a1380058da5b0000701272e..."} 
[2026-08-25 13:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f1c290012d8a1380058da5b0000701272e..."} 
[2026-08-25 13:33:47] local.INFO: Processing buffer {"connection_id":164275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f1c290012d8a1380058da5b0000701272e..."} 
[2026-08-25 13:33:47] local.INFO: Packet analysis {"connection_id":164275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:33:47] local.INFO: Extracted packet for processing {"connection_id":164275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:33:47] local.INFO: GPS Element Parsed {"raw_longitude":764023680,"raw_latitude":93169072,"longitude_deg":76.402368,"latitude_deg":9.3169072,"altitude":7,"angle":295,"satellites":46,"speed":6,"hex_longitude":"2d8a1380","hex_latitude":"058da5b0","is_valid_coordinates":true} 
[2026-08-25 13:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637116160001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123579961591201792,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8497236941834199040,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787644986000,"timestamp_ms":1787644986000,"timestamp_seconds":1787644986,"priority":1,"record_length":96,"hex_timestamp":"000001a037f1c290"} 
[2026-08-25 13:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-25 13:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:33:47] 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-25 13:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637116160001,"66":11721,"15":206,"85":14080,"24":6,"16":123579961591201792,"45":-8497236941834199040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637116160001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:33:47] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:33:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123579961591201792,"km_value":123579961591201.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8497236941834199040,"description":"Unknown IO ID 45"} 
[2026-08-25 13:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637116160001,"power":11721,"unknown_15":206,"unknown_85":14080,"ignition":6,"odometer":null,"unknown_45":-8497236941834199040}} 
[2026-08-25 13:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":164275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:33:47] local.INFO: GPS data processed {"connection_id":164275,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:33:47] local.INFO: Acknowledgment sent {"connection_id":164275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:33:50] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:33:50] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:33:50] local.INFO: IMEI packet received {"connection_id":161657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":161657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:33:51] local.INFO: TCP Data received {"connection_id":164276,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:33:51] local.INFO: Processing buffer {"connection_id":164276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:33:51] local.INFO: IMEI packet received {"connection_id":164276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 13:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":164276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:33:51] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:33:51] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:33:51] local.INFO: Packet analysis {"connection_id":161657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:33:51] local.INFO: Extracted packet for processing {"connection_id":161657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636965632001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787644698000,"timestamp_ms":1787644698000,"timestamp_seconds":1787644698,"priority":1,"record_length":96,"hex_timestamp":"000001a037ed5d90"} 
[2026-08-25 13:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636965632001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636965632001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:33:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636965632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":161657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:33:51] local.INFO: GPS data processed {"connection_id":161657,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:33:51] local.INFO: Acknowledgment sent {"connection_id":161657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:33:53] local.INFO: TCP Data received {"connection_id":162898,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:33:53] local.INFO: Processing buffer {"connection_id":162898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:33:53] local.INFO: IMEI packet received {"connection_id":162898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":162898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:33:55] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:33:55] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ed5d90012d34c14006aa4820000700e62f..."} 
[2026-08-25 13:33:55] local.INFO: Packet analysis {"connection_id":161657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:33:55] local.INFO: Extracted packet for processing {"connection_id":161657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ed"} 
[2026-08-25 13:33:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457636965632001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787644698000,"timestamp_ms":1787644698000,"timestamp_seconds":1787644698,"priority":1,"record_length":96,"hex_timestamp":"000001a037ed5d90"} 
[2026-08-25 13:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:33: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-25 13:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457636965632001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457636965632001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:33:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:33:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457636965632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":161657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:33:55] local.INFO: GPS data processed {"connection_id":161657,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:33:55] local.INFO: Acknowledgment sent {"connection_id":161657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:33:58] local.INFO: TCP Data received {"connection_id":162898,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:33:58] local.INFO: Processing buffer {"connection_id":162898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:33:58] local.INFO: IMEI packet received {"connection_id":162898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":162898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:34:13] local.INFO: TCP Data received {"connection_id":162898,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f18028012d1b6000072567c80029014a2d..."} 
[2026-08-25 13:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f18028012d1b6000072567c80029014a2d..."} 
[2026-08-25 13:34:13] local.INFO: Processing buffer {"connection_id":162898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f18028012d1b6000072567c80029014a2d..."} 
[2026-08-25 13:34:13] local.INFO: Packet analysis {"connection_id":162898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:34:13] local.INFO: Extracted packet for processing {"connection_id":162898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756768768,"raw_latitude":119891912,"longitude_deg":75.6768768,"latitude_deg":11.9891912,"altitude":41,"angle":330,"satellites":45,"speed":21,"hex_longitude":"2d1b6000","hex_latitude":"072567c8","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637109760001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15898418446598144,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973984042363361280,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787644969000,"timestamp_ms":1787644969000,"timestamp_seconds":1787644969,"priority":1,"record_length":96,"hex_timestamp":"000001a037f18028"} 
[2026-08-25 13: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-25 13:34:13] 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-25 13: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 13:34: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-25 13: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-25 13: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-25 13:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637109760001,"66":14102,"92":206,"28":31744,"24":21,"16":15898418446598144,"45":1973984042363361280},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-25 13:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637109760001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:34:13] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-25 13:34:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15898418446598144,"km_value":15898418446598.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973984042363361280,"description":"Unknown IO ID 45"} 
[2026-08-25 13:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637109760001,"power":14102,"unknown_92":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1973984042363361280}} 
[2026-08-25 13:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":162898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:34:13] local.INFO: GPS data processed {"connection_id":162898,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:34:13] local.INFO: Acknowledgment sent {"connection_id":162898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:34:17] local.INFO: TCP Data received {"connection_id":164275,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f1ce48012d8a11c0058da618000701182e..."} 
[2026-08-25 13:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f1ce48012d8a11c0058da618000701182e..."} 
[2026-08-25 13:34:17] local.INFO: Processing buffer {"connection_id":164275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f1ce48012d8a11c0058da618000701182e..."} 
[2026-08-25 13:34:17] local.INFO: Packet analysis {"connection_id":164275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:34:17] local.INFO: Extracted packet for processing {"connection_id":164275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:34:17] local.INFO: GPS Element Parsed {"raw_longitude":764023232,"raw_latitude":93169176,"longitude_deg":76.4023232,"latitude_deg":9.3169176,"altitude":7,"angle":280,"satellites":46,"speed":7,"hex_longitude":"2d8a11c0","hex_latitude":"058da618","is_valid_coordinates":true} 
[2026-08-25 13:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637116416001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123579983066038272,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8497307310578356224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787644989000,"timestamp_ms":1787644989000,"timestamp_seconds":1787644989,"priority":1,"record_length":96,"hex_timestamp":"000001a037f1ce48"} 
[2026-08-25 13:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-25 13:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:34: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-25 13:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637116416001,"66":11776,"15":206,"85":14080,"24":7,"16":123579983066038272,"45":-8497307310578356224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637116416001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:34:17] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:34:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123579983066038272,"km_value":123579983066038.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8497307310578356224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637116416001,"power":11776,"unknown_15":206,"unknown_85":14080,"ignition":7,"odometer":null,"unknown_45":-8497307310578356224}} 
[2026-08-25 13:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":164275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:34:17] local.INFO: GPS data processed {"connection_id":164275,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:34:17] local.INFO: Acknowledgment sent {"connection_id":164275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:34:40] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:34:40] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:34:40] local.INFO: IMEI packet received {"connection_id":161907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":161907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:34:43] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:34:43] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:34:43] local.INFO: IMEI packet received {"connection_id":161658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":161658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:34:45] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:34:45] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:34:45] local.INFO: IMEI packet received {"connection_id":161658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":161658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:34:45] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:34:45] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:34:45] local.INFO: IMEI packet received {"connection_id":161907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":161907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:34:46] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:34:46] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:34:46] local.INFO: IMEI packet received {"connection_id":161658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":161658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:34:46] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:34:46] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:34:46] local.INFO: Packet analysis {"connection_id":161907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:34:46] local.INFO: Extracted packet for processing {"connection_id":161907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637042688001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644999000,"timestamp_ms":1787644999000,"timestamp_seconds":1787644999,"priority":1,"record_length":96,"hex_timestamp":"000001a037f1f558"} 
[2026-08-25 13:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637042688001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637042688001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637042688001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":161907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:34:46] local.INFO: GPS data processed {"connection_id":161907,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:34:46] local.INFO: Acknowledgment sent {"connection_id":161907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:34:48] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:34:48] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:34:48] local.INFO: IMEI packet received {"connection_id":161658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":161658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:34:48] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f31a50012d8a0e00058d9e88000500892d..."} 
[2026-08-25 13:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f31a50012d8a0e00058d9e88000500892d..."} 
[2026-08-25 13:34:48] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f31a50012d8a0e00058d9e88000500892d..."} 
[2026-08-25 13:34:48] local.INFO: Packet analysis {"connection_id":161658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f3"} 
[2026-08-25 13:34:48] local.INFO: Extracted packet for processing {"connection_id":161658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f3"} 
[2026-08-25 13:34:48] local.INFO: GPS Element Parsed {"raw_longitude":764022272,"raw_latitude":93167240,"longitude_deg":76.4022272,"latitude_deg":9.316724,"altitude":5,"angle":137,"satellites":45,"speed":3,"hex_longitude":"2d8a0e00","hex_latitude":"058d9e88","is_valid_coordinates":true} 
[2026-08-25 13:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637138176001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123580124799959040,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8499066529183186944,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787645074000,"timestamp_ms":1787645074000,"timestamp_seconds":1787645074,"priority":1,"record_length":96,"hex_timestamp":"000001a037f31a50"} 
[2026-08-25 13:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 13:34:48] 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-25 13:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:34: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-25 13:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637138176001,"66":11580,"15":206,"85":14080,"24":3,"16":123580124799959040,"45":-8499066529183186944},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637138176001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:34:48] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:34:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123580124799959040,"km_value":123580124799959.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8499066529183186944,"description":"Unknown IO ID 45"} 
[2026-08-25 13:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637138176001,"power":11580,"unknown_15":206,"unknown_85":14080,"ignition":3,"odometer":null,"unknown_45":-8499066529183186944}} 
[2026-08-25 13:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":161658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:34:48] local.INFO: GPS data processed {"connection_id":161658,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:34:48] local.INFO: Acknowledgment sent {"connection_id":161658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:34:50] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:34:50] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:34:50] local.INFO: Packet analysis {"connection_id":161907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:34:50] local.INFO: Extracted packet for processing {"connection_id":161907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:34:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637042688001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787644999000,"timestamp_ms":1787644999000,"timestamp_seconds":1787644999,"priority":1,"record_length":96,"hex_timestamp":"000001a037f1f558"} 
[2026-08-25 13: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-25 13:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:34: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-25 13: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-25 13: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-25 13:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637042688001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637042688001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:34:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:34:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637042688001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":161907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:34:50] local.INFO: GPS data processed {"connection_id":161907,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:34:50] local.INFO: Acknowledgment sent {"connection_id":161907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:34:51] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f335a8012d8a1080058d9be0000600792e..."} 
[2026-08-25 13:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f335a8012d8a1080058d9be0000600792e..."} 
[2026-08-25 13:34:51] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f335a8012d8a1080058d9be0000600792e..."} 
[2026-08-25 13:34:51] local.INFO: Packet analysis {"connection_id":161658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f3"} 
[2026-08-25 13:34:51] local.INFO: Extracted packet for processing {"connection_id":161658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f3"} 
[2026-08-25 13:34:51] local.INFO: GPS Element Parsed {"raw_longitude":764022912,"raw_latitude":93166560,"longitude_deg":76.4022912,"latitude_deg":9.316656,"altitude":6,"angle":121,"satellites":46,"speed":4,"hex_longitude":"2d8a1080","hex_latitude":"058d9be0","is_valid_coordinates":true} 
[2026-08-25 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-25 13:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637138944001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123580167749632000,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8498855422950733824,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787645081000,"timestamp_ms":1787645081000,"timestamp_seconds":1787645081,"priority":1,"record_length":96,"hex_timestamp":"000001a037f335a8"} 
[2026-08-25 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-25 13:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-25 13:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 13:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:34:51] 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-25 13:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637138944001,"66":11700,"15":206,"85":14080,"24":4,"16":123580167749632000,"45":-8498855422950733824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637138944001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:34:51] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123580167749632000,"km_value":123580167749632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8498855422950733824,"description":"Unknown IO ID 45"} 
[2026-08-25 13:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637138944001,"power":11700,"unknown_15":206,"unknown_85":14080,"ignition":4,"odometer":null,"unknown_45":-8498855422950733824}} 
[2026-08-25 13:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":161658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:34:51] local.INFO: GPS data processed {"connection_id":161658,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:34:51] local.INFO: Acknowledgment sent {"connection_id":161658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:34:52] local.INFO: TCP Data received {"connection_id":164277,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:34:52] local.INFO: Processing buffer {"connection_id":164277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:34:52] local.INFO: IMEI packet received {"connection_id":164277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":164277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:34:58] local.INFO: TCP Data received {"connection_id":164277,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:34:58] local.INFO: Processing buffer {"connection_id":164277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:34:58] local.INFO: IMEI packet received {"connection_id":164277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":164277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:34:59] local.INFO: TCP Data received {"connection_id":164277,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f18be0012d1b5c0007256d40002a013e2d..."} 
[2026-08-25 13:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f18be0012d1b5c0007256d40002a013e2d..."} 
[2026-08-25 13:34:59] local.INFO: Processing buffer {"connection_id":164277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f18be0012d1b5c0007256d40002a013e2d..."} 
[2026-08-25 13:34:59] local.INFO: Packet analysis {"connection_id":164277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:34:59] local.INFO: Extracted packet for processing {"connection_id":164277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756767744,"raw_latitude":119893312,"longitude_deg":75.6767744,"latitude_deg":11.9893312,"altitude":42,"angle":318,"satellites":45,"speed":22,"hex_longitude":"2d1b5c00","hex_latitude":"07256d40","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637112064001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15898504345944064,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972576667480606720,"note":"Value kept but may cause issues"} 
[2026-08-25 13:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787644972000,"timestamp_ms":1787644972000,"timestamp_seconds":1787644972,"priority":1,"record_length":96,"hex_timestamp":"000001a037f18be0"} 
[2026-08-25 13: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-25 13:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 13:34:59] 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-25 13: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-25 13: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-25 13:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637112064001,"66":14113,"92":206,"28":31744,"24":22,"16":15898504345944064,"45":1972576667480606720},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-25 13:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637112064001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:34:59] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-25 13:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15898504345944064,"km_value":15898504345944.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972576667480606720,"description":"Unknown IO ID 45"} 
[2026-08-25 13:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637112064001,"power":14113,"unknown_92":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1972576667480606720}} 
[2026-08-25 13:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":164277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:34:59] local.INFO: GPS data processed {"connection_id":164277,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:34:59] local.INFO: Acknowledgment sent {"connection_id":164277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:35:22] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:35:22] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:35:22] local.INFO: Packet analysis {"connection_id":161907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:35:22] local.INFO: Extracted packet for processing {"connection_id":161907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:35:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637042688001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787644999000,"timestamp_ms":1787644999000,"timestamp_seconds":1787644999,"priority":1,"record_length":96,"hex_timestamp":"000001a037f1f558"} 
[2026-08-25 13: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-25 13:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:35: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-25 13: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-25 13: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-25 13:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637042688001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637042688001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:35:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:35:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637042688001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":161907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:35:22] local.INFO: GPS data processed {"connection_id":161907,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:35:22] local.INFO: Acknowledgment sent {"connection_id":161907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:35:22] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f33d78012d8a1140058d9b800006006430..."} 
[2026-08-25 13:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f33d78012d8a1140058d9b800006006430..."} 
[2026-08-25 13:35:22] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f33d78012d8a1140058d9b800006006430..."} 
[2026-08-25 13:35:22] local.INFO: Packet analysis {"connection_id":161658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f3"} 
[2026-08-25 13:35:22] local.INFO: Extracted packet for processing {"connection_id":161658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f3"} 
[2026-08-25 13:35:22] local.INFO: GPS Element Parsed {"raw_longitude":764023104,"raw_latitude":93166464,"longitude_deg":76.4023104,"latitude_deg":9.3166464,"altitude":6,"angle":100,"satellites":48,"speed":4,"hex_longitude":"2d8a1140","hex_latitude":"058d9b80","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637140736001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123580180634533888,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8498151735509131264,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787645083000,"timestamp_ms":1787645083000,"timestamp_seconds":1787645083,"priority":1,"record_length":96,"hex_timestamp":"000001a037f33d78"} 
[2026-08-25 13: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-25 13:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-25 13:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:35: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-25 13:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637140736001,"66":11711,"15":206,"85":14080,"24":4,"16":123580180634533888,"45":-8498151735509131264},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637140736001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:35:22] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:35:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123580180634533888,"km_value":123580180634533.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8498151735509131264,"description":"Unknown IO ID 45"} 
[2026-08-25 13:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637140736001,"power":11711,"unknown_15":206,"unknown_85":14080,"ignition":4,"odometer":null,"unknown_45":-8498151735509131264}} 
[2026-08-25 13:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":161658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:35:22] local.INFO: GPS data processed {"connection_id":161658,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:35:22] local.INFO: Acknowledgment sent {"connection_id":161658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:35:31] local.INFO: TCP Data received {"connection_id":164277,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f1c290012d1b498007257fc8002a01322d..."} 
[2026-08-25 13:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f1c290012d1b498007257fc8002a01322d..."} 
[2026-08-25 13:35:31] local.INFO: Processing buffer {"connection_id":164277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f1c290012d1b498007257fc8002a01322d..."} 
[2026-08-25 13:35:31] local.INFO: Packet analysis {"connection_id":164277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:35:31] local.INFO: Extracted packet for processing {"connection_id":164277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:35:31] local.INFO: GPS Element Parsed {"raw_longitude":756763008,"raw_latitude":119898056,"longitude_deg":75.6763008,"latitude_deg":11.9898056,"altitude":42,"angle":306,"satellites":45,"speed":12,"hex_longitude":"2d1b4980","hex_latitude":"07257fc8","is_valid_coordinates":true} 
[2026-08-25 13:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637112832001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15898826468491264,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971450767574122496,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787644986000,"timestamp_ms":1787644986000,"timestamp_seconds":1787644986,"priority":1,"record_length":96,"hex_timestamp":"000001a037f1c290"} 
[2026-08-25 13:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-25 13:35:31] 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-25 13:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637112832001,"66":14624,"92":206,"28":31744,"24":12,"16":15898826468491264,"45":1971450767574122496},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-25 13:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637112832001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:35:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-25 13:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15898826468491264,"km_value":15898826468491.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971450767574122496,"description":"Unknown IO ID 45"} 
[2026-08-25 13:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637112832001,"power":14624,"unknown_92":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1971450767574122496}} 
[2026-08-25 13:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":164277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:35:31] local.INFO: GPS data processed {"connection_id":164277,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:35:31] local.INFO: Acknowledgment sent {"connection_id":164277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:35:40] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:35:40] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:35:40] local.INFO: IMEI packet received {"connection_id":161659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":161659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:35:41] local.INFO: TCP Data received {"connection_id":162899,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:35:41] local.INFO: Processing buffer {"connection_id":162899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:35:41] local.INFO: IMEI packet received {"connection_id":162899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":162899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:35:43] local.INFO: TCP Data received {"connection_id":162899,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:35:43] local.INFO: Processing buffer {"connection_id":162899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:35:43] local.INFO: IMEI packet received {"connection_id":162899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":162899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:35:44] local.INFO: TCP Data received {"connection_id":162899,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f34930012d8a13c0058d9b480007005930..."} 
[2026-08-25 13:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f34930012d8a13c0058d9b480007005930..."} 
[2026-08-25 13:35:44] local.INFO: Processing buffer {"connection_id":162899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f34930012d8a13c0058d9b480007005930..."} 
[2026-08-25 13:35:44] local.INFO: Packet analysis {"connection_id":162899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f3"} 
[2026-08-25 13:35:44] local.INFO: Extracted packet for processing {"connection_id":162899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f3"} 
[2026-08-25 13:35:44] local.INFO: GPS Element Parsed {"raw_longitude":764023744,"raw_latitude":93166408,"longitude_deg":76.4023744,"latitude_deg":9.3166408,"altitude":7,"angle":89,"satellites":48,"speed":12,"hex_longitude":"2d8a13c0","hex_latitude":"058d9b48","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637141248001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123580210699304960,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8497940629276622848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787645086000,"timestamp_ms":1787645086000,"timestamp_seconds":1787645086,"priority":1,"record_length":96,"hex_timestamp":"000001a037f34930"} 
[2026-08-25 13: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-25 13:35: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-25 13: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-25 13:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:35: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-25 13: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-25 13:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13: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-25 13:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637141248001,"66":11515,"15":206,"85":14080,"24":12,"16":123580210699304960,"45":-8497940629276622848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637141248001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:35:44] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:35:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123580210699304960,"km_value":123580210699304.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8497940629276622848,"description":"Unknown IO ID 45"} 
[2026-08-25 13:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637141248001,"power":11515,"unknown_15":206,"unknown_85":14080,"ignition":12,"odometer":null,"unknown_45":-8497940629276622848}} 
[2026-08-25 13:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":162899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:35:44] local.INFO: GPS data processed {"connection_id":162899,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:35:44] local.INFO: Acknowledgment sent {"connection_id":162899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:35:45] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:35:45] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:35:45] local.INFO: IMEI packet received {"connection_id":161659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":161659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:35:46] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:35:46] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:35:46] local.INFO: Packet analysis {"connection_id":161659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:35:46] local.INFO: Extracted packet for processing {"connection_id":161659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637042688001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644999000,"timestamp_ms":1787644999000,"timestamp_seconds":1787644999,"priority":1,"record_length":96,"hex_timestamp":"000001a037f1f558"} 
[2026-08-25 13: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-25 13:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637042688001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637042688001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637042688001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":161659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:35:46] local.INFO: GPS data processed {"connection_id":161659,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:35:46] local.INFO: Acknowledgment sent {"connection_id":161659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:35:52] local.INFO: TCP Data received {"connection_id":161908,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:35:52] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:35:52] local.INFO: IMEI packet received {"connection_id":161908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":161908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:35:58] local.INFO: TCP Data received {"connection_id":161908,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:35:58] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:35:58] local.INFO: IMEI packet received {"connection_id":161908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":161908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:35:59] local.INFO: TCP Data received {"connection_id":161908,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f21498012d1b484007258148002b013d2c..."} 
[2026-08-25 13:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f21498012d1b484007258148002b013d2c..."} 
[2026-08-25 13:35:59] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f21498012d1b484007258148002b013d2c..."} 
[2026-08-25 13:35:59] local.INFO: Packet analysis {"connection_id":161908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f2"} 
[2026-08-25 13:35:59] local.INFO: Extracted packet for processing {"connection_id":161908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f2"} 
[2026-08-25 13:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119898440,"longitude_deg":75.6762688,"latitude_deg":11.989844,"altitude":43,"angle":317,"satellites":44,"speed":0,"hex_longitude":"2d1b4840","hex_latitude":"07258148","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637116416001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15898852238295040,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966243480506189824,"note":"Value kept but may cause issues"} 
[2026-08-25 13:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787645007000,"timestamp_ms":1787645007000,"timestamp_seconds":1787645007,"priority":1,"record_length":96,"hex_timestamp":"000001a037f21498"} 
[2026-08-25 13: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-25 13:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-25 13:35:59] 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-25 13: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-25 13: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-25 13:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637116416001,"66":14070,"92":206,"28":31744,"24":0,"16":15898852238295040,"45":1966243480506189824},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-25 13:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637116416001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:35:59] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-25 13:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15898852238295040,"km_value":15898852238295.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966243480506189824,"description":"Unknown IO ID 45"} 
[2026-08-25 13:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637116416001,"power":14070,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1966243480506189824}} 
[2026-08-25 13:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":161908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:35:59] local.INFO: GPS data processed {"connection_id":161908,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:35:59] local.INFO: Acknowledgment sent {"connection_id":161908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:36:15] local.INFO: TCP Data received {"connection_id":162899,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f37fe0012d8a3880058d9cc8000900572e..."} 
[2026-08-25 13:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f37fe0012d8a3880058d9cc8000900572e..."} 
[2026-08-25 13:36:15] local.INFO: Processing buffer {"connection_id":162899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f37fe0012d8a3880058d9cc8000900572e..."} 
[2026-08-25 13:36:15] local.INFO: Packet analysis {"connection_id":162899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f3"} 
[2026-08-25 13:36:15] local.INFO: Extracted packet for processing {"connection_id":162899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f3"} 
[2026-08-25 13:36:15] local.INFO: GPS Element Parsed {"raw_longitude":764033152,"raw_latitude":93166792,"longitude_deg":76.4033152,"latitude_deg":9.3166792,"altitude":9,"angle":87,"satellites":46,"speed":38,"hex_longitude":"2d8a3880","hex_latitude":"058d9cc8","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637142016001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123580661670871040,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8497236941834860544,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787645100000,"timestamp_ms":1787645100000,"timestamp_seconds":1787645100,"priority":1,"record_length":96,"hex_timestamp":"000001a037f37fe0"} 
[2026-08-25 13: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-25 13:36: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-25 13: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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-25 13:36:15] 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-25 13: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-25 13: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-25 13:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:36: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-25 13:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637142016001,"66":13059,"15":206,"85":14080,"24":38,"16":123580661670871040,"45":-8497236941834860544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637142016001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:36:15] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123580661670871040,"km_value":123580661670871.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8497236941834860544,"description":"Unknown IO ID 45"} 
[2026-08-25 13:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637142016001,"power":13059,"unknown_15":206,"unknown_85":14080,"ignition":38,"odometer":null,"unknown_45":-8497236941834860544}} 
[2026-08-25 13:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":162899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:36:15] local.INFO: GPS data processed {"connection_id":162899,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:36:15] local.INFO: Acknowledgment sent {"connection_id":162899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:36:17] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:36:17] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:36:17] local.INFO: Packet analysis {"connection_id":161659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:36:17] local.INFO: Extracted packet for processing {"connection_id":161659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637042688001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787644999000,"timestamp_ms":1787644999000,"timestamp_seconds":1787644999,"priority":1,"record_length":96,"hex_timestamp":"000001a037f1f558"} 
[2026-08-25 13:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637042688001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637042688001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:36:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:36:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637042688001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":161659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:36:17] local.INFO: GPS data processed {"connection_id":161659,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:36:17] local.INFO: Acknowledgment sent {"connection_id":161659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:36:30] local.INFO: TCP Data received {"connection_id":161908,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f266a0012d1b468007258158002f013d2e..."} 
[2026-08-25 13:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f266a0012d1b468007258158002f013d2e..."} 
[2026-08-25 13:36:30] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f266a0012d1b468007258158002f013d2e..."} 
[2026-08-25 13:36:30] local.INFO: Packet analysis {"connection_id":161908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f2"} 
[2026-08-25 13:36:30] local.INFO: Extracted packet for processing {"connection_id":161908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f2"} 
[2026-08-25 13:36:30] local.INFO: GPS Element Parsed {"raw_longitude":756762240,"raw_latitude":119898456,"longitude_deg":75.676224,"latitude_deg":11.9898456,"altitude":47,"angle":317,"satellites":46,"speed":0,"hex_longitude":"2d1b4680","hex_latitude":"07258158","is_valid_coordinates":true} 
[2026-08-25 13:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637121792001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15898878008098816,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965891636785399808,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787645028000,"timestamp_ms":1787645028000,"timestamp_seconds":1787645028,"priority":1,"record_length":96,"hex_timestamp":"000001a037f266a0"} 
[2026-08-25 13:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 13:36:30] 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-25 13:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637121792001,"66":14070,"92":206,"28":31744,"24":0,"16":15898878008098816,"45":1965891636785399808},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-25 13:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637121792001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:36:30] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-25 13:36:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15898878008098816,"km_value":15898878008098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965891636785399808,"description":"Unknown IO ID 45"} 
[2026-08-25 13:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637121792001,"power":14070,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1965891636785399808}} 
[2026-08-25 13:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":161908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:36:30] local.INFO: GPS data processed {"connection_id":161908,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:36:30] local.INFO: Acknowledgment sent {"connection_id":161908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:36:40] local.INFO: TCP Data received {"connection_id":164279,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:36:40] local.INFO: Processing buffer {"connection_id":164279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:36:40] local.INFO: IMEI packet received {"connection_id":164279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":164279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:36:41] local.INFO: TCP Data received {"connection_id":164280,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:36:41] local.INFO: Processing buffer {"connection_id":164280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:36:41] local.INFO: IMEI packet received {"connection_id":164280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":164280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:36:42] local.INFO: TCP Data received {"connection_id":164280,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:36:42] local.INFO: Processing buffer {"connection_id":164280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:36:42] local.INFO: IMEI packet received {"connection_id":164280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":164280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:36:45] local.INFO: TCP Data received {"connection_id":164279,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:36:45] local.INFO: Processing buffer {"connection_id":164279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:36:45] local.INFO: IMEI packet received {"connection_id":164279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":164279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:36:46] local.INFO: TCP Data received {"connection_id":164280,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:36:46] local.INFO: Processing buffer {"connection_id":164280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:36:46] local.INFO: IMEI packet received {"connection_id":164280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":164280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:36:46] local.INFO: TCP Data received {"connection_id":164279,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:36:46] local.INFO: Processing buffer {"connection_id":164279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:36:46] local.INFO: Packet analysis {"connection_id":164279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:36:46] local.INFO: Extracted packet for processing {"connection_id":164279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637042688001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644999000,"timestamp_ms":1787644999000,"timestamp_seconds":1787644999,"priority":1,"record_length":96,"hex_timestamp":"000001a037f1f558"} 
[2026-08-25 13:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637042688001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637042688001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637042688001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":164279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:36:46] local.INFO: GPS data processed {"connection_id":164279,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:36:46] local.INFO: Acknowledgment sent {"connection_id":164279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:36:46] local.INFO: TCP Data received {"connection_id":164280,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f3a308012d8a5d40058d9e30000900552f..."} 
[2026-08-25 13:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f3a308012d8a5d40058d9e30000900552f..."} 
[2026-08-25 13:36:46] local.INFO: Processing buffer {"connection_id":164280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f3a308012d8a5d40058d9e30000900552f..."} 
[2026-08-25 13:36:46] local.INFO: Packet analysis {"connection_id":164280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f3"} 
[2026-08-25 13:36:46] local.INFO: Extracted packet for processing {"connection_id":164280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f3"} 
[2026-08-25 13:36:46] local.INFO: GPS Element Parsed {"raw_longitude":764042560,"raw_latitude":93167152,"longitude_deg":76.404256,"latitude_deg":9.3167152,"altitude":9,"angle":85,"satellites":47,"speed":45,"hex_longitude":"2d8a5d40","hex_latitude":"058d9e30","is_valid_coordinates":true} 
[2026-08-25 13:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637145600001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123581112642437120,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8486892736440645632,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787645109000,"timestamp_ms":1787645109000,"timestamp_seconds":1787645109,"priority":1,"record_length":96,"hex_timestamp":"000001a037f3a308"} 
[2026-08-25 13:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 13:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303140397174094,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:46] local.WARNING: Large IO value detected {"io_id":15,"raw_value":58077539915530244,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:46] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2181038080,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:46] local.WARNING: Large IO value detected {"io_id":55,"raw_value":4078587905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:46] local.WARNING: Large IO value detected {"io_id":141,"raw_value":2659713029,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309606094,"corrected_to":0} 
[2026-08-25 13:36:46] local.WARNING: Large IO value detected {"io_id":14,"raw_value":2550214026,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,15,85,24,241,157,16,11,160,73,45,192,155,7,48,10,66,61,64,6,53,128,1,240,180,227,55,141,4,113,205,3,14,13,44,239,2,183,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1309606094,"validated":0}]} 
[2026-08-25 13:36:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648614201423953920,"timestamp_seconds":648614201423953.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:36:46] 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-25 13:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637145600001,"66":13243,"15":206,"85":14080,"24":45,"16":123581112642437120,"45":-8486892736440645632},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 13:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637145600001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:36:46] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 13:36:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123581112642437120,"km_value":123581112642437.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8486892736440645632,"description":"Unknown IO ID 45"} 
[2026-08-25 13:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637145600001,"power":13243,"unknown_15":206,"unknown_85":14080,"ignition":45,"odometer":null,"unknown_45":-8486892736440645632}} 
[2026-08-25 13:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":164280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:36:46] local.INFO: GPS data processed {"connection_id":164280,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:36:46] local.INFO: Acknowledgment sent {"connection_id":164280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:36:52] local.INFO: TCP Data received {"connection_id":161909,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:36:52] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:36:52] local.INFO: IMEI packet received {"connection_id":161909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":161909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:36:52] local.INFO: TCP Data received {"connection_id":161909,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:36:52] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:36:52] local.INFO: IMEI packet received {"connection_id":161909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":161909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:36:57] local.INFO: TCP Data received {"connection_id":161909,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:36:57] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:36:57] local.INFO: IMEI packet received {"connection_id":161909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":161909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:36:58] local.INFO: TCP Data received {"connection_id":161909,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f2b8a8012d1b468007258148002f013d2e..."} 
[2026-08-25 13:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f2b8a8012d1b468007258148002f013d2e..."} 
[2026-08-25 13:36:58] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f2b8a8012d1b468007258148002f013d2e..."} 
[2026-08-25 13:36:58] local.INFO: Packet analysis {"connection_id":161909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f2"} 
[2026-08-25 13:36:58] local.INFO: Extracted packet for processing {"connection_id":161909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f2"} 
[2026-08-25 13:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756762240,"raw_latitude":119898440,"longitude_deg":75.676224,"latitude_deg":11.989844,"altitude":47,"angle":317,"satellites":46,"speed":0,"hex_longitude":"2d1b4680","hex_latitude":"07258148","is_valid_coordinates":true} 
[2026-08-25 13:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637127168001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15898878008098816,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965399055576160256,"note":"Value kept but may cause issues"} 
[2026-08-25 13:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787645049000,"timestamp_ms":1787645049000,"timestamp_seconds":1787645049,"priority":1,"record_length":96,"hex_timestamp":"000001a037f2b8a8"} 
[2026-08-25 13:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 13:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637127168001,"66":14135,"92":206,"28":31744,"24":0,"16":15898878008098816,"45":1965399055576160256},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-25 13:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637127168001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:36:58] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-25 13:36:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15898878008098816,"km_value":15898878008098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965399055576160256,"description":"Unknown IO ID 45"} 
[2026-08-25 13:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637127168001,"power":14135,"unknown_92":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1965399055576160256}} 
[2026-08-25 13:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":161909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:36:58] local.INFO: GPS data processed {"connection_id":161909,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:36:58] local.INFO: Acknowledgment sent {"connection_id":161909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:37:17] local.INFO: TCP Data received {"connection_id":164280,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f548e8012d8c0440058d8978000a005132..."} 
[2026-08-25 13:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f548e8012d8c0440058d8978000a005132..."} 
[2026-08-25 13:37:17] local.INFO: Processing buffer {"connection_id":164280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f548e8012d8c0440058d8978000a005132..."} 
[2026-08-25 13:37:17] local.INFO: Packet analysis {"connection_id":164280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f5"} 
[2026-08-25 13:37:17] local.INFO: Extracted packet for processing {"connection_id":164280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f5"} 
[2026-08-25 13:37:17] local.INFO: GPS Element Parsed {"raw_longitude":764150848,"raw_latitude":93161848,"longitude_deg":76.4150848,"latitude_deg":9.3161848,"altitude":10,"angle":81,"satellites":50,"speed":37,"hex_longitude":"2d8c0440","hex_latitude":"058d8978","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637172992001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123586309552865280,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8367406608828340224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787645217000,"timestamp_ms":1787645217000,"timestamp_seconds":1787645217,"priority":1,"record_length":96,"hex_timestamp":"000001a037f548e8"} 
[2026-08-25 13: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-25 13:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 13:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160093625678,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2338406405,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:17] local.WARNING: Large IO value detected {"io_id":15,"raw_value":58077539915530274,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:17] local.WARNING: Large IO value detected {"io_id":55,"raw_value":4103931905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:17] local.WARNING: Large IO value detected {"io_id":141,"raw_value":2351431688,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309606094,"corrected_to":0} 
[2026-08-25 13:37:17] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802126,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2375073792,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:17] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,14,85,24,241,157,16,160,2,45,64,135,10,49,66,227,192,136,15,180,1,240,51,55,141,4,113,205,23,114,60,232,47,239,50,183,5,11,34],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1309606094,"validated":0}]} 
[2026-08-25 13:37:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792731597113524224,"timestamp_seconds":792731597113524.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13: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-25 13:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:37: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-25 13:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637172992001,"66":13363,"14":206,"85":14080,"24":37,"16":123586309552865280,"45":-8367406608828340224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 13:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637172992001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:37:17] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 13:37:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123586309552865280,"km_value":123586309552865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8367406608828340224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637172992001,"power":13363,"unknown_14":206,"unknown_85":14080,"ignition":37,"odometer":null,"unknown_45":-8367406608828340224}} 
[2026-08-25 13:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":164280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:37:17] local.INFO: GPS data processed {"connection_id":164280,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:37:17] local.INFO: Acknowledgment sent {"connection_id":164280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:37:18] local.INFO: TCP Data received {"connection_id":164279,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:37:18] local.INFO: Processing buffer {"connection_id":164279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:37:18] local.INFO: Packet analysis {"connection_id":164279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:37:18] local.INFO: Extracted packet for processing {"connection_id":164279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:37:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637042688001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787644999000,"timestamp_ms":1787644999000,"timestamp_seconds":1787644999,"priority":1,"record_length":96,"hex_timestamp":"000001a037f1f558"} 
[2026-08-25 13:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637042688001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637042688001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:37:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:37:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637042688001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":164279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:37:18] local.INFO: GPS data processed {"connection_id":164279,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:37:18] local.INFO: Acknowledgment sent {"connection_id":164279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:37:30] local.INFO: TCP Data received {"connection_id":161909,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f4bc48012d1b39800725a640003000a22e..."} 
[2026-08-25 13:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f4bc48012d1b39800725a640003000a22e..."} 
[2026-08-25 13:37:30] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f4bc48012d1b39800725a640003000a22e..."} 
[2026-08-25 13:37:30] local.INFO: Packet analysis {"connection_id":161909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f4"} 
[2026-08-25 13:37:30] local.INFO: Extracted packet for processing {"connection_id":161909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f4"} 
[2026-08-25 13:37:30] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":119907904,"longitude_deg":75.6758912,"latitude_deg":11.9907904,"altitude":48,"angle":162,"satellites":46,"speed":12,"hex_longitude":"2d1b3980","hex_latitude":"0725a640","is_valid_coordinates":true} 
[2026-08-25 13:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637166080001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15899466418618368,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961528774648872960,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787645181000,"timestamp_ms":1787645181000,"timestamp_seconds":1787645181,"priority":1,"record_length":96,"hex_timestamp":"000001a037f4bc48"} 
[2026-08-25 13:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 13:37:30] 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-25 13:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637166080001,"66":14515,"92":206,"28":31744,"24":12,"16":15899466418618368,"45":1961528774648872960},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-25 13:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637166080001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:37:30] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-25 13:37:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15899466418618368,"km_value":15899466418618.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961528774648872960,"description":"Unknown IO ID 45"} 
[2026-08-25 13:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637166080001,"power":14515,"unknown_92":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1961528774648872960}} 
[2026-08-25 13:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":161909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:37:30] local.INFO: GPS data processed {"connection_id":161909,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:37:30] local.INFO: Acknowledgment sent {"connection_id":161909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:37:40] local.INFO: TCP Data received {"connection_id":164281,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:37:40] local.INFO: Processing buffer {"connection_id":164281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:37:40] local.INFO: IMEI packet received {"connection_id":164281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":164281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:37:45] local.INFO: TCP Data received {"connection_id":164281,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:37:45] local.INFO: Processing buffer {"connection_id":164281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:37:45] local.INFO: IMEI packet received {"connection_id":164281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":164281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:37:46] local.INFO: TCP Data received {"connection_id":164282,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:37:46] local.INFO: Processing buffer {"connection_id":164282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:37:46] local.INFO: IMEI packet received {"connection_id":164282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":164282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:37:48] local.INFO: TCP Data received {"connection_id":164281,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:37:48] local.INFO: Processing buffer {"connection_id":164281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:37:48] local.INFO: Packet analysis {"connection_id":164281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:37:48] local.INFO: Extracted packet for processing {"connection_id":164281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637042688001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787644999000,"timestamp_ms":1787644999000,"timestamp_seconds":1787644999,"priority":1,"record_length":96,"hex_timestamp":"000001a037f1f558"} 
[2026-08-25 13: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-25 13:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637042688001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637042688001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637042688001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":164281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:37:48] local.INFO: GPS data processed {"connection_id":164281,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:37:48] local.INFO: Acknowledgment sent {"connection_id":164281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:37:52] local.INFO: TCP Data received {"connection_id":164283,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:37:52] local.INFO: Processing buffer {"connection_id":164283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:37:52] local.INFO: IMEI packet received {"connection_id":164283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":164283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:37:53] local.INFO: TCP Data received {"connection_id":164283,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:37:53] local.INFO: Processing buffer {"connection_id":164283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:37:53] local.INFO: IMEI packet received {"connection_id":164283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":164283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:37:55] local.INFO: TCP Data received {"connection_id":164282,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:37:55] local.INFO: Processing buffer {"connection_id":164282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:37:55] local.INFO: IMEI packet received {"connection_id":164282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":164282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:37:56] local.INFO: TCP Data received {"connection_id":164282,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:37:56] local.INFO: Processing buffer {"connection_id":164282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:37:56] local.INFO: IMEI packet received {"connection_id":164282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":164282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:37:56] local.INFO: TCP Data received {"connection_id":164282,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f56c10012d8c2840058d91800008004a30..."} 
[2026-08-25 13:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f56c10012d8c2840058d91800008004a30..."} 
[2026-08-25 13:37:56] local.INFO: Processing buffer {"connection_id":164282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f56c10012d8c2840058d91800008004a30..."} 
[2026-08-25 13:37:56] local.INFO: Packet analysis {"connection_id":164282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f5"} 
[2026-08-25 13:37:56] local.INFO: Extracted packet for processing {"connection_id":164282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f5"} 
[2026-08-25 13:37:56] local.INFO: GPS Element Parsed {"raw_longitude":764160064,"raw_latitude":93163904,"longitude_deg":76.4160064,"latitude_deg":9.3163904,"altitude":8,"angle":74,"satellites":48,"speed":42,"hex_longitude":"2d8c2840","hex_latitude":"058d9180","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637175552001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123586764819398656,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8357484615899187200,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787645226000,"timestamp_ms":1787645226000,"timestamp_seconds":1787645226,"priority":1,"record_length":96,"hex_timestamp":"000001a037f56c10"} 
[2026-08-25 13: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-25 13:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 13:37:56] 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-25 13: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-25 13: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-25 13:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:37:56] 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-25 13:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637175552001,"66":13428,"14":206,"85":14080,"24":42,"16":123586764819398656,"45":-8357484615899187200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 13:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637175552001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:37:56] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 13:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123586764819398656,"km_value":123586764819398.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8357484615899187200,"description":"Unknown IO ID 45"} 
[2026-08-25 13:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637175552001,"power":13428,"unknown_14":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-8357484615899187200}} 
[2026-08-25 13:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":164282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:37:56] local.INFO: GPS data processed {"connection_id":164282,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:37:56] local.INFO: Acknowledgment sent {"connection_id":164282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:37:57] local.INFO: TCP Data received {"connection_id":164282,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f58b50012d8c49c0058d9c600008004432..."} 
[2026-08-25 13:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f58b50012d8c49c0058d9c600008004432..."} 
[2026-08-25 13:37:57] local.INFO: Processing buffer {"connection_id":164282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f58b50012d8c49c0058d9c600008004432..."} 
[2026-08-25 13:37:57] local.INFO: Packet analysis {"connection_id":164282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f5"} 
[2026-08-25 13:37:57] local.INFO: Extracted packet for processing {"connection_id":164282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f5"} 
[2026-08-25 13:37:57] local.INFO: GPS Element Parsed {"raw_longitude":764168640,"raw_latitude":93166688,"longitude_deg":76.416864,"latitude_deg":9.3166688,"altitude":8,"angle":68,"satellites":50,"speed":42,"hex_longitude":"2d8c49c0","hex_latitude":"058d9c60","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637177856001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123587194316128256,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8347351516737077248,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787645234000,"timestamp_ms":1787645234000,"timestamp_seconds":1787645234,"priority":1,"record_length":96,"hex_timestamp":"000001a037f58b50"} 
[2026-08-25 13: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-25 13:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 13:37:57] 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-25 13: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-25 13: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-25 13:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:37:57] 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-25 13:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637177856001,"66":13222,"14":206,"85":14080,"24":42,"16":123587194316128256,"45":-8347351516737077248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 13:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637177856001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:37:57] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 13:37:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123587194316128256,"km_value":123587194316128.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8347351516737077248,"description":"Unknown IO ID 45"} 
[2026-08-25 13:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637177856001,"power":13222,"unknown_14":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-8347351516737077248}} 
[2026-08-25 13:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":164282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:37:57] local.INFO: GPS data processed {"connection_id":164282,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:37:57] local.INFO: Acknowledgment sent {"connection_id":164282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:37:57] local.INFO: TCP Data received {"connection_id":164283,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:37:57] local.INFO: Processing buffer {"connection_id":164283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:37:57] local.INFO: IMEI packet received {"connection_id":164283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":164283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:37:58] local.INFO: TCP Data received {"connection_id":164283,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f4cfd0012d1b3cc007259eb8003100962d..."} 
[2026-08-25 13:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f4cfd0012d1b3cc007259eb8003100962d..."} 
[2026-08-25 13:37:58] local.INFO: Processing buffer {"connection_id":164283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f4cfd0012d1b3cc007259eb8003100962d..."} 
[2026-08-25 13:37:58] local.INFO: Packet analysis {"connection_id":164283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f4"} 
[2026-08-25 13:37:58] local.INFO: Extracted packet for processing {"connection_id":164283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f4"} 
[2026-08-25 13:37:58] local.INFO: GPS Element Parsed {"raw_longitude":756759744,"raw_latitude":119905976,"longitude_deg":75.6759744,"latitude_deg":11.9905976,"altitude":49,"angle":150,"satellites":45,"speed":20,"hex_longitude":"2d1b3cc0","hex_latitude":"07259eb8","is_valid_coordinates":true} 
[2026-08-25 13:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637166336001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15899569497833472,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739880881340416,"note":"Value kept but may cause issues"} 
[2026-08-25 13:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787645186000,"timestamp_ms":1787645186000,"timestamp_seconds":1787645186,"priority":1,"record_length":96,"hex_timestamp":"000001a037f4cfd0"} 
[2026-08-25 13:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:37:58] 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-25 13:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 13:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637166336001,"66":14559,"92":206,"28":31744,"24":20,"16":15899569497833472,"45":1961739880881340416},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-25 13:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637166336001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:37:58] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-25 13:37:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15899569497833472,"km_value":15899569497833.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739880881340416,"description":"Unknown IO ID 45"} 
[2026-08-25 13:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637166336001,"power":14559,"unknown_92":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1961739880881340416}} 
[2026-08-25 13:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":164283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:37:58] local.INFO: GPS data processed {"connection_id":164283,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:37:58] local.INFO: Acknowledgment sent {"connection_id":164283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:38:19] local.INFO: TCP Data received {"connection_id":164281,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:38:19] local.INFO: Processing buffer {"connection_id":164281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:38:19] local.INFO: Packet analysis {"connection_id":164281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:38:19] local.INFO: Extracted packet for processing {"connection_id":164281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637042688001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787644999000,"timestamp_ms":1787644999000,"timestamp_seconds":1787644999,"priority":1,"record_length":96,"hex_timestamp":"000001a037f1f558"} 
[2026-08-25 13: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-25 13:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637042688001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637042688001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:38:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637042688001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":164281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:38:19] local.INFO: GPS data processed {"connection_id":164281,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:38:19] local.INFO: Acknowledgment sent {"connection_id":164281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:38:30] local.INFO: TCP Data received {"connection_id":164283,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f50a68012d1b4dc007258110002e008b2e..."} 
[2026-08-25 13:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f50a68012d1b4dc007258110002e008b2e..."} 
[2026-08-25 13:38:30] local.INFO: Processing buffer {"connection_id":164283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f50a68012d1b4dc007258110002e008b2e..."} 
[2026-08-25 13:38:30] local.INFO: Packet analysis {"connection_id":164283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f5"} 
[2026-08-25 13:38:30] local.INFO: Extracted packet for processing {"connection_id":164283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f5"} 
[2026-08-25 13:38:30] local.INFO: GPS Element Parsed {"raw_longitude":756764096,"raw_latitude":119898384,"longitude_deg":75.6764096,"latitude_deg":11.9898384,"altitude":46,"angle":139,"satellites":46,"speed":22,"hex_longitude":"2d1b4dc0","hex_latitude":"07258110","is_valid_coordinates":true} 
[2026-08-25 13:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637167616001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15899990404628480,"note":"Value kept but may cause issues"} 
[2026-08-25 13:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962654674555156480,"note":"Value kept but may cause issues"} 
[2026-08-25 13:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787645201000,"timestamp_ms":1787645201000,"timestamp_seconds":1787645201,"priority":1,"record_length":96,"hex_timestamp":"000001a037f50a68"} 
[2026-08-25 13:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-25 13:38:30] 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-25 13:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637167616001,"66":14515,"92":206,"28":31744,"24":22,"16":15899990404628480,"45":1962654674555156480},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-25 13:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637167616001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:38:30] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-25 13:38:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15899990404628480,"km_value":15899990404628.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962654674555156480,"description":"Unknown IO ID 45"} 
[2026-08-25 13:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637167616001,"power":14515,"unknown_92":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1962654674555156480}} 
[2026-08-25 13:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":164283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:38:30] local.INFO: GPS data processed {"connection_id":164283,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:38:30] local.INFO: Acknowledgment sent {"connection_id":164283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:38:40] local.INFO: TCP Data received {"connection_id":161660,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:38:40] local.INFO: Processing buffer {"connection_id":161660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:38:40] local.INFO: IMEI packet received {"connection_id":161660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":161660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:38:41] local.INFO: TCP Data received {"connection_id":164284,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:38:41] local.INFO: Processing buffer {"connection_id":164284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:38:41] local.INFO: IMEI packet received {"connection_id":164284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":164284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:38:44] local.INFO: TCP Data received {"connection_id":164284,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:38:44] local.INFO: Processing buffer {"connection_id":164284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:38:44] local.INFO: IMEI packet received {"connection_id":164284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":164284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:38:45] local.INFO: TCP Data received {"connection_id":161660,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:38:45] local.INFO: Processing buffer {"connection_id":161660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:38:45] local.INFO: IMEI packet received {"connection_id":161660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":161660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:38:46] local.INFO: TCP Data received {"connection_id":164284,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:38:46] local.INFO: Processing buffer {"connection_id":164284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:38:46] local.INFO: IMEI packet received {"connection_id":164284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":164284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:38:46] local.INFO: TCP Data received {"connection_id":161660,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:38:46] local.INFO: Processing buffer {"connection_id":161660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f1f558012d34c14006aa4820000700e630..."} 
[2026-08-25 13:38:46] local.INFO: Packet analysis {"connection_id":161660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:38:46] local.INFO: Extracted packet for processing {"connection_id":161660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f1"} 
[2026-08-25 13:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637042688001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787644999000,"timestamp_ms":1787644999000,"timestamp_seconds":1787644999,"priority":1,"record_length":96,"hex_timestamp":"000001a037f1f558"} 
[2026-08-25 13:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637042688001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637042688001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:38:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637042688001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":161660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:38:46] local.INFO: GPS data processed {"connection_id":161660,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:38:46] local.INFO: Acknowledgment sent {"connection_id":161660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:38:47] local.INFO: TCP Data received {"connection_id":164284,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f6c7b8012d8d8d40058df000000c006731..."} 
[2026-08-25 13:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f6c7b8012d8d8d40058df000000c006731..."} 
[2026-08-25 13:38:47] local.INFO: Processing buffer {"connection_id":164284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f6c7b8012d8d8d40058df000000c006731..."} 
[2026-08-25 13:38:47] local.INFO: Packet analysis {"connection_id":164284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:38:47] local.INFO: Extracted packet for processing {"connection_id":164284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:38:47] local.INFO: GPS Element Parsed {"raw_longitude":764251456,"raw_latitude":93188096,"longitude_deg":76.4251456,"latitude_deg":9.3188096,"altitude":12,"angle":103,"satellites":49,"speed":38,"hex_longitude":"2d8d8d40","hex_latitude":"058df000","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637200128001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123591330369634304,"note":"Value kept but may cause issues"} 
[2026-08-25 13:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8248905643626276864,"note":"Value kept but may cause issues"} 
[2026-08-25 13:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787645315000,"timestamp_ms":1787645315000,"timestamp_seconds":1787645315,"priority":1,"record_length":96,"hex_timestamp":"000001a037f6c7b8"} 
[2026-08-25 13: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-25 13:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 13:38:47] 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-25 13: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-25 13: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-25 13:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:38:47] 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-25 13:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637200128001,"66":13319,"213":206,"85":14080,"24":38,"16":123591330369634304,"45":-8248905643626276864},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-08-25 13:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637200128001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:38:47] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-25 13:38:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123591330369634304,"km_value":123591330369634.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8248905643626276864,"description":"Unknown IO ID 45"} 
[2026-08-25 13:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637200128001,"power":13319,"unknown_213":206,"unknown_85":14080,"ignition":38,"odometer":null,"unknown_45":-8248905643626276864}} 
[2026-08-25 13:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":164284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:38:47] local.INFO: GPS data processed {"connection_id":164284,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:38:47] local.INFO: Acknowledgment sent {"connection_id":164284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:38:56] local.INFO: TCP Data received {"connection_id":162900,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:38:56] local.INFO: Processing buffer {"connection_id":162900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:38:56] local.INFO: IMEI packet received {"connection_id":162900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":162900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:38:56] local.INFO: TCP Data received {"connection_id":162900,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:38:56] local.INFO: Processing buffer {"connection_id":162900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:38:56] local.INFO: IMEI packet received {"connection_id":162900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":162900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:38:57] local.INFO: TCP Data received {"connection_id":162900,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:38:57] local.INFO: Processing buffer {"connection_id":162900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:38:57] local.INFO: IMEI packet received {"connection_id":162900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":162900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:39:02] local.INFO: TCP Data received {"connection_id":162900,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:39:02] local.INFO: Processing buffer {"connection_id":162900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:39:02] local.INFO: IMEI packet received {"connection_id":162900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":162900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:39:03] local.INFO: TCP Data received {"connection_id":162900,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f550b8012d1b6500072566a8002b00922e..."} 
[2026-08-25 13:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f550b8012d1b6500072566a8002b00922e..."} 
[2026-08-25 13:39:03] local.INFO: Processing buffer {"connection_id":162900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f550b8012d1b6500072566a8002b00922e..."} 
[2026-08-25 13:39:03] local.INFO: Packet analysis {"connection_id":162900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f5"} 
[2026-08-25 13:39:03] local.INFO: Extracted packet for processing {"connection_id":162900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f5"} 
[2026-08-25 13:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756770048,"raw_latitude":119891624,"longitude_deg":75.6770048,"latitude_deg":11.9891624,"altitude":43,"angle":146,"satellites":46,"speed":10,"hex_longitude":"2d1b6500","hex_latitude":"072566a8","is_valid_coordinates":true} 
[2026-08-25 13:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637171456001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15900424196325376,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967439749157294080,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787645219000,"timestamp_ms":1787645219000,"timestamp_seconds":1787645219,"priority":1,"record_length":96,"hex_timestamp":"000001a037f550b8"} 
[2026-08-25 13:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 13:39:03] 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-25 13:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637171456001,"66":14157,"91":206,"28":31744,"24":10,"16":15900424196325376,"45":1967439749157294080},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-25 13:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637171456001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:39:03] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-25 13:39:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15900424196325376,"km_value":15900424196325.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967439749157294080,"description":"Unknown IO ID 45"} 
[2026-08-25 13:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637171456001,"power":14157,"unknown_91":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1967439749157294080}} 
[2026-08-25 13:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":162900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:39:03] local.INFO: GPS data processed {"connection_id":162900,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:39:03] local.INFO: Acknowledgment sent {"connection_id":162900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:39:17] local.INFO: TCP Data received {"connection_id":161660,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:39:17] local.INFO: Processing buffer {"connection_id":161660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:39:17] local.INFO: Packet analysis {"connection_id":161660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:39:17] local.INFO: Extracted packet for processing {"connection_id":161660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637119744001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787645300000,"timestamp_ms":1787645300000,"timestamp_seconds":1787645300,"priority":1,"record_length":96,"hex_timestamp":"000001a037f68d20"} 
[2026-08-25 13:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637119744001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637119744001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:39:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637119744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":161660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:39:17] local.INFO: GPS data processed {"connection_id":161660,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:39:17] local.INFO: Acknowledgment sent {"connection_id":161660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:39:17] local.INFO: TCP Data received {"connection_id":164284,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f6d370012d8d9940058debe0000b007230..."} 
[2026-08-25 13:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f6d370012d8d9940058debe0000b007230..."} 
[2026-08-25 13:39:17] local.INFO: Processing buffer {"connection_id":164284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f6d370012d8d9940058debe0000b007230..."} 
[2026-08-25 13:39:17] local.INFO: Packet analysis {"connection_id":164284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:39:17] local.INFO: Extracted packet for processing {"connection_id":164284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:39:17] local.INFO: GPS Element Parsed {"raw_longitude":764254528,"raw_latitude":93187040,"longitude_deg":76.4254528,"latitude_deg":9.318704,"altitude":11,"angle":114,"satellites":48,"speed":45,"hex_longitude":"2d8d9940","hex_latitude":"058debe0","is_valid_coordinates":true} 
[2026-08-25 13:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637200640001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123591484988456960,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8246864950045179904,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787645318000,"timestamp_ms":1787645318000,"timestamp_seconds":1787645318,"priority":1,"record_length":96,"hex_timestamp":"000001a037f6d370"} 
[2026-08-25 13:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 13:39:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2369617925,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:17] local.WARNING: Large IO value detected {"io_id":55,"raw_value":4135163905,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:17] local.WARNING: Large IO value detected {"io_id":141,"raw_value":-3515059487683301120,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1188364494,"corrected_to":0} 
[2026-08-25 13:39:17] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57809452363830583,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:17] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2850779859273351173,"corrected_to":0} 
[2026-08-25 13:39:17] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,213,85,24,241,157,16,21,160,191,45,240,12,50,10,66,152,64,47,1,29,227,55,141,4,113,205,48,94,27,239,51,2,183,5,54,122,246],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1188364494,"validated":0},{"io_id":246,"original":2850779859273351173,"validated":0}]} 
[2026-08-25 13:39:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864804588608684032,"timestamp_seconds":864804588608684.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:39: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-25 13:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637200640001,"66":13276,"213":206,"85":14080,"24":45,"16":123591484988456960,"45":-8246864950045179904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-08-25 13:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637200640001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:39:17] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-25 13:39:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123591484988456960,"km_value":123591484988456.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8246864950045179904,"description":"Unknown IO ID 45"} 
[2026-08-25 13:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637200640001,"power":13276,"unknown_213":206,"unknown_85":14080,"ignition":45,"odometer":null,"unknown_45":-8246864950045179904}} 
[2026-08-25 13:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":164284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:39:17] local.INFO: GPS data processed {"connection_id":164284,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:39:17] local.INFO: Acknowledgment sent {"connection_id":164284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:39:34] local.INFO: TCP Data received {"connection_id":162900,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f55888012d1b660007256480002b009d2e..."} 
[2026-08-25 13:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f55888012d1b660007256480002b009d2e..."} 
[2026-08-25 13:39:34] local.INFO: Processing buffer {"connection_id":162900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f55888012d1b660007256480002b009d2e..."} 
[2026-08-25 13:39:34] local.INFO: Packet analysis {"connection_id":162900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f5"} 
[2026-08-25 13:39:34] local.INFO: Extracted packet for processing {"connection_id":162900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f5"} 
[2026-08-25 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756770304,"raw_latitude":119891072,"longitude_deg":75.6770304,"latitude_deg":11.9891072,"altitude":43,"angle":157,"satellites":46,"speed":15,"hex_longitude":"2d1b6600","hex_latitude":"07256480","is_valid_coordinates":true} 
[2026-08-25 13:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637176064001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15900454261096448,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973984042364086272,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787645221000,"timestamp_ms":1787645221000,"timestamp_seconds":1787645221,"priority":1,"record_length":96,"hex_timestamp":"000001a037f55888"} 
[2026-08-25 13:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:39: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-25 13:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-25 13:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637176064001,"66":14515,"91":206,"28":31744,"24":15,"16":15900454261096448,"45":1973984042364086272},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-25 13:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637176064001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:39:34] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-25 13:39:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15900454261096448,"km_value":15900454261096.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973984042364086272,"description":"Unknown IO ID 45"} 
[2026-08-25 13:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637176064001,"power":14515,"unknown_91":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1973984042364086272}} 
[2026-08-25 13:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":162900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:39:35] local.INFO: GPS data processed {"connection_id":162900,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:39:35] local.INFO: Acknowledgment sent {"connection_id":162900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:39:40] local.INFO: TCP Data received {"connection_id":162901,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:39:40] local.INFO: Processing buffer {"connection_id":162901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:39:40] local.INFO: IMEI packet received {"connection_id":162901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":162901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:39:45] local.INFO: TCP Data received {"connection_id":162901,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:39:45] local.INFO: Processing buffer {"connection_id":162901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:39:45] local.INFO: IMEI packet received {"connection_id":162901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":162901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:39:46] local.INFO: TCP Data received {"connection_id":162902,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:39:46] local.INFO: Processing buffer {"connection_id":162902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:39:46] local.INFO: IMEI packet received {"connection_id":162902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":162902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:39:46] local.INFO: TCP Data received {"connection_id":162901,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:39:46] local.INFO: Processing buffer {"connection_id":162901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:39:46] local.INFO: Packet analysis {"connection_id":162901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:39:46] local.INFO: Extracted packet for processing {"connection_id":162901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637119744001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787645300000,"timestamp_ms":1787645300000,"timestamp_seconds":1787645300,"priority":1,"record_length":96,"hex_timestamp":"000001a037f68d20"} 
[2026-08-25 13:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637119744001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637119744001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:39:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637119744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":162901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:39:46] local.INFO: GPS data processed {"connection_id":162901,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:39:46] local.INFO: Acknowledgment sent {"connection_id":162901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:39:47] local.INFO: TCP Data received {"connection_id":162902,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:39:47] local.INFO: Processing buffer {"connection_id":162902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:39:47] local.INFO: IMEI packet received {"connection_id":162902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":162902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:39:48] local.INFO: TCP Data received {"connection_id":162902,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f6e310012d8daa80058de238000a007d31..."} 
[2026-08-25 13:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f6e310012d8daa80058de238000a007d31..."} 
[2026-08-25 13:39:48] local.INFO: Processing buffer {"connection_id":162902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f6e310012d8daa80058de238000a007d31..."} 
[2026-08-25 13:39:48] local.INFO: Packet analysis {"connection_id":162902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:39:48] local.INFO: Extracted packet for processing {"connection_id":162902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:39:48] local.INFO: GPS Element Parsed {"raw_longitude":764258944,"raw_latitude":93184568,"longitude_deg":76.4258944,"latitude_deg":9.3184568,"altitude":10,"angle":125,"satellites":49,"speed":53,"hex_longitude":"2d8daa80","hex_latitude":"058de238","is_valid_coordinates":true} 
[2026-08-25 13:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637201408001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123591729801592832,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8243487250324922368,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787645322000,"timestamp_ms":1787645322000,"timestamp_seconds":1787645322,"priority":1,"record_length":96,"hex_timestamp":"000001a037f6e310"} 
[2026-08-25 13:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 13:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13: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-25 13:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637201408001,"66":13472,"213":206,"85":14080,"24":53,"16":123591729801592832,"45":-8243487250324922368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-08-25 13:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637201408001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:39:48] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-25 13:39:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123591729801592832,"km_value":123591729801592.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8243487250324922368,"description":"Unknown IO ID 45"} 
[2026-08-25 13:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637201408001,"power":13472,"unknown_213":206,"unknown_85":14080,"ignition":53,"odometer":null,"unknown_45":-8243487250324922368}} 
[2026-08-25 13:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":162902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:39:48] local.INFO: GPS data processed {"connection_id":162902,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:39:48] local.INFO: Acknowledgment sent {"connection_id":162902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:39:52] local.INFO: TCP Data received {"connection_id":162902,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f6fa80012d8dc440058dcbe00009008931..."} 
[2026-08-25 13:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f6fa80012d8dc440058dcbe00009008931..."} 
[2026-08-25 13:39:52] local.INFO: Processing buffer {"connection_id":162902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f6fa80012d8dc440058dcbe00009008931..."} 
[2026-08-25 13:39:52] local.INFO: Packet analysis {"connection_id":162902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:39:52] local.INFO: Extracted packet for processing {"connection_id":162902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:39:52] local.INFO: GPS Element Parsed {"raw_longitude":764265536,"raw_latitude":93178848,"longitude_deg":76.4265536,"latitude_deg":9.3178848,"altitude":9,"angle":137,"satellites":49,"speed":58,"hex_longitude":"2d8dc440","hex_latitude":"058dcbe0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637202432001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123592150708387840,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8238631806977296384,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787645328000,"timestamp_ms":1787645328000,"timestamp_seconds":1787645328,"priority":1,"record_length":96,"hex_timestamp":"000001a037f6fa80"} 
[2026-08-25 13: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-25 13:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 13:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:39:52] 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-25 13:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637202432001,"66":13341,"99":206,"85":14080,"24":58,"16":123592150708387840,"45":-8238631806977296384},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-08-25 13:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637202432001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:39:52] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-25 13:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123592150708387840,"km_value":123592150708387.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8238631806977296384,"description":"Unknown IO ID 45"} 
[2026-08-25 13:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637202432001,"power":13341,"unknown_99":206,"unknown_85":14080,"ignition":58,"odometer":null,"unknown_45":-8238631806977296384}} 
[2026-08-25 13:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":162902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:39:52] local.INFO: GPS data processed {"connection_id":162902,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:39:52] local.INFO: Acknowledgment sent {"connection_id":162902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:39:53] local.INFO: TCP Data received {"connection_id":161910,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:39:53] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:39:53] local.INFO: IMEI packet received {"connection_id":161910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":161910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:39:58] local.INFO: TCP Data received {"connection_id":161910,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:39:58] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:39:58] local.INFO: IMEI packet received {"connection_id":161910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":161910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:39:59] local.INFO: TCP Data received {"connection_id":161910,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f711f0012d1b57000724c070002500cb2e..."} 
[2026-08-25 13:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f711f0012d1b57000724c070002500cb2e..."} 
[2026-08-25 13:39:59] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f711f0012d1b57000724c070002500cb2e..."} 
[2026-08-25 13:39:59] local.INFO: Packet analysis {"connection_id":161910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:39:59] local.INFO: Extracted packet for processing {"connection_id":161910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119849072,"longitude_deg":75.6766464,"latitude_deg":11.9849072,"altitude":37,"angle":203,"satellites":46,"speed":24,"hex_longitude":"2d1b5700","hex_latitude":"0724c070","is_valid_coordinates":true} 
[2026-08-25 13:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637204736001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15902528730300416,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711377254400,"note":"Value kept but may cause issues"} 
[2026-08-25 13:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787645334000,"timestamp_ms":1787645334000,"timestamp_seconds":1787645334,"priority":1,"record_length":96,"hex_timestamp":"000001a037f711f0"} 
[2026-08-25 13:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-25 13:39:59] 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-25 13:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637204736001,"66":13798,"91":206,"28":31744,"24":24,"16":15902528730300416,"45":1970676711377254400},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-25 13:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637204736001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:39:59] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-25 13:39:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15902528730300416,"km_value":15902528730300.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711377254400,"description":"Unknown IO ID 45"} 
[2026-08-25 13:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637204736001,"power":13798,"unknown_91":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1970676711377254400}} 
[2026-08-25 13:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":161910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:39:59] local.INFO: GPS data processed {"connection_id":161910,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:39:59] local.INFO: Acknowledgment sent {"connection_id":161910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:40:18] local.INFO: TCP Data received {"connection_id":162901,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:40:18] local.INFO: Processing buffer {"connection_id":162901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:40:18] local.INFO: Packet analysis {"connection_id":162901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:40:18] local.INFO: Extracted packet for processing {"connection_id":162901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637119744001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787645300000,"timestamp_ms":1787645300000,"timestamp_seconds":1787645300,"priority":1,"record_length":96,"hex_timestamp":"000001a037f68d20"} 
[2026-08-25 13:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637119744001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637119744001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:40:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637119744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":162901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:40:18] local.INFO: GPS data processed {"connection_id":162901,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:40:18] local.INFO: Acknowledgment sent {"connection_id":162901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:40:23] local.INFO: TCP Data received {"connection_id":162902,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f711f0012d8dd8c0058db0280009009530..."} 
[2026-08-25 13:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f711f0012d8dd8c0058db0280009009530..."} 
[2026-08-25 13:40:23] local.INFO: Processing buffer {"connection_id":162902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f711f0012d8dd8c0058db0280009009530..."} 
[2026-08-25 13:40:23] local.INFO: Packet analysis {"connection_id":162902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:40:23] local.INFO: Extracted packet for processing {"connection_id":162902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:40:23] local.INFO: GPS Element Parsed {"raw_longitude":764270784,"raw_latitude":93171752,"longitude_deg":76.4270784,"latitude_deg":9.3171752,"altitude":9,"angle":149,"satellites":48,"speed":58,"hex_longitude":"2d8dd8c0","hex_latitude":"058db028","is_valid_coordinates":true} 
[2026-08-25 13:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637203968001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123592575910150144,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8231383826328461312,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787645334000,"timestamp_ms":1787645334000,"timestamp_seconds":1787645334,"priority":1,"record_length":96,"hex_timestamp":"000001a037f711f0"} 
[2026-08-25 13:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 13:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:40: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-25 13:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637203968001,"66":13580,"99":206,"85":14080,"24":58,"16":123592575910150144,"45":-8231383826328461312},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,85,24,16,45]} 
[2026-08-25 13:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637203968001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:40:23] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-25 13:40:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123592575910150144,"km_value":123592575910150.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8231383826328461312,"description":"Unknown IO ID 45"} 
[2026-08-25 13:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637203968001,"power":13580,"unknown_99":206,"unknown_85":14080,"ignition":58,"odometer":null,"unknown_45":-8231383826328461312}} 
[2026-08-25 13:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":162902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:40:23] local.INFO: GPS data processed {"connection_id":162902,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:40:23] local.INFO: Acknowledgment sent {"connection_id":162902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:40:31] local.INFO: TCP Data received {"connection_id":161910,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f71da8012d1b53000724b9e0002500d72d..."} 
[2026-08-25 13:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f71da8012d1b53000724b9e0002500d72d..."} 
[2026-08-25 13:40:31] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f71da8012d1b53000724b9e0002500d72d..."} 
[2026-08-25 13:40:31] local.INFO: Packet analysis {"connection_id":161910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:40:31] local.INFO: Extracted packet for processing {"connection_id":161910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:40:31] local.INFO: GPS Element Parsed {"raw_longitude":756765440,"raw_latitude":119847392,"longitude_deg":75.676544,"latitude_deg":11.9847392,"altitude":37,"angle":215,"satellites":45,"speed":24,"hex_longitude":"2d1b5300","hex_latitude":"0724b9e0","is_valid_coordinates":true} 
[2026-08-25 13:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637205504001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15902623219580928,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970043392679243776,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787645337000,"timestamp_ms":1787645337000,"timestamp_seconds":1787645337,"priority":1,"record_length":96,"hex_timestamp":"000001a037f71da8"} 
[2026-08-25 13:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:40:31] 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-25 13:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-25 13:40:31] 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-25 13:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637205504001,"66":14428,"91":206,"28":31744,"24":24,"16":15902623219580928,"45":1970043392679243776},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-25 13:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637205504001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:40:31] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-25 13:40:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15902623219580928,"km_value":15902623219580.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970043392679243776,"description":"Unknown IO ID 45"} 
[2026-08-25 13:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637205504001,"power":14428,"unknown_91":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1970043392679243776}} 
[2026-08-25 13:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":161910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:40:31] local.INFO: GPS data processed {"connection_id":161910,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:40:31] local.INFO: Acknowledgment sent {"connection_id":161910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:40:37] local.INFO: TCP Data received {"connection_id":164285,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:40:37] local.INFO: Processing buffer {"connection_id":164285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:40:37] local.INFO: IMEI packet received {"connection_id":164285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":164285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:40:40] local.INFO: TCP Data received {"connection_id":164286,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:40:40] local.INFO: Processing buffer {"connection_id":164286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:40:40] local.INFO: IMEI packet received {"connection_id":164286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":164286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:40:41] local.INFO: TCP Data received {"connection_id":164285,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:40:41] local.INFO: Processing buffer {"connection_id":164285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:40:41] local.INFO: IMEI packet received {"connection_id":164285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":164285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:40:45] local.INFO: TCP Data received {"connection_id":164286,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:40:45] local.INFO: Processing buffer {"connection_id":164286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:40:45] local.INFO: IMEI packet received {"connection_id":164286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":164286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:40:46] local.INFO: TCP Data received {"connection_id":164285,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:40:46] local.INFO: Processing buffer {"connection_id":164285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:40:46] local.INFO: IMEI packet received {"connection_id":164285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":164285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:40:47] local.INFO: TCP Data received {"connection_id":164286,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:40:47] local.INFO: Processing buffer {"connection_id":164286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:40:47] local.INFO: Packet analysis {"connection_id":164286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:40:47] local.INFO: Extracted packet for processing {"connection_id":164286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637119744001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787645300000,"timestamp_ms":1787645300000,"timestamp_seconds":1787645300,"priority":1,"record_length":96,"hex_timestamp":"000001a037f68d20"} 
[2026-08-25 13: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-25 13:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637119744001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637119744001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637119744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":164286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:40:47] local.INFO: GPS data processed {"connection_id":164286,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:40:47] local.INFO: Acknowledgment sent {"connection_id":164286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:40:47] local.INFO: TCP Data received {"connection_id":164285,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f83eb8012d8e9200058c4a60000600a931..."} 
[2026-08-25 13:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f83eb8012d8e9200058c4a60000600a931..."} 
[2026-08-25 13:40:47] local.INFO: Processing buffer {"connection_id":164285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f83eb8012d8e9200058c4a60000600a931..."} 
[2026-08-25 13:40:47] local.INFO: Packet analysis {"connection_id":164285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f8"} 
[2026-08-25 13:40:47] local.INFO: Extracted packet for processing {"connection_id":164285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f8"} 
[2026-08-25 13:40:47] local.INFO: GPS Element Parsed {"raw_longitude":764318208,"raw_latitude":93080160,"longitude_deg":76.4318208,"latitude_deg":9.308016,"altitude":6,"angle":169,"satellites":49,"speed":42,"hex_longitude":"2d8e9200","hex_latitude":"058c4a60","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637222912001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123597583842017280,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8175792518450980864,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787645411000,"timestamp_ms":1787645411000,"timestamp_seconds":1787645411,"priority":1,"record_length":96,"hex_timestamp":"000001a037f83eb8"} 
[2026-08-25 13: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-25 13:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 13:40:47] 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-25 13: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-25 13: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-25 13:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:40:47] 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-25 13:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637222912001,"66":13222,"18":206,"85":14080,"24":42,"16":123597583842017280,"45":-8175792518450980864},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-25 13:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637222912001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:40:47] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-25 13:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123597583842017280,"km_value":123597583842017.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8175792518450980864,"description":"Unknown IO ID 45"} 
[2026-08-25 13:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637222912001,"power":13222,"unknown_18":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-8175792518450980864}} 
[2026-08-25 13:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":164285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:40:47] local.INFO: GPS data processed {"connection_id":164285,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:40:47] local.INFO: Acknowledgment sent {"connection_id":164285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:40:48] local.INFO: TCP Data received {"connection_id":164285,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f865c8012d8e97c0058c2750000500a92e..."} 
[2026-08-25 13:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f865c8012d8e97c0058c2750000500a92e..."} 
[2026-08-25 13:40:48] local.INFO: Processing buffer {"connection_id":164285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f865c8012d8e97c0058c2750000500a92e..."} 
[2026-08-25 13:40:48] local.INFO: Packet analysis {"connection_id":164285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f8"} 
[2026-08-25 13:40:48] local.INFO: Extracted packet for processing {"connection_id":164285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f8"} 
[2026-08-25 13:40:48] local.INFO: GPS Element Parsed {"raw_longitude":764319680,"raw_latitude":93071184,"longitude_deg":76.431968,"latitude_deg":9.3071184,"altitude":5,"angle":169,"satellites":46,"speed":31,"hex_longitude":"2d8e97c0","hex_latitude":"058c2750","is_valid_coordinates":true} 
[2026-08-25 13:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637225216001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123598026223648768,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8173470349895507968,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787645421000,"timestamp_ms":1787645421000,"timestamp_seconds":1787645421,"priority":1,"record_length":96,"hex_timestamp":"000001a037f865c8"} 
[2026-08-25 13:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 13:40:48] 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-25 13:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:40: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-25 13:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637225216001,"66":13580,"18":206,"85":14080,"24":31,"16":123598026223648768,"45":-8173470349895507968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-25 13:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637225216001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:40:48] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-25 13:40:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123598026223648768,"km_value":123598026223648.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8173470349895507968,"description":"Unknown IO ID 45"} 
[2026-08-25 13:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637225216001,"power":13580,"unknown_18":206,"unknown_85":14080,"ignition":31,"odometer":null,"unknown_45":-8173470349895507968}} 
[2026-08-25 13:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":164285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:40:48] local.INFO: GPS data processed {"connection_id":164285,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:40:48] local.INFO: Acknowledgment sent {"connection_id":164285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:40:53] local.INFO: TCP Data received {"connection_id":161661,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:40:53] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:40:53] local.INFO: IMEI packet received {"connection_id":161661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":161661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:40:55] local.INFO: TCP Data received {"connection_id":161661,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:40:55] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:40:55] local.INFO: IMEI packet received {"connection_id":161661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":161661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:40:57] local.INFO: TCP Data received {"connection_id":161661,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:40:57] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:40:57] local.INFO: IMEI packet received {"connection_id":161661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":161661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:40:58] local.INFO: TCP Data received {"connection_id":161661,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f73130012d1b4dc00724b310002500e52d..."} 
[2026-08-25 13:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f73130012d1b4dc00724b310002500e52d..."} 
[2026-08-25 13:40:58] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f73130012d1b4dc00724b310002500e52d..."} 
[2026-08-25 13:40:58] local.INFO: Packet analysis {"connection_id":161661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:40:58] local.INFO: Extracted packet for processing {"connection_id":161661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:40:58] local.INFO: GPS Element Parsed {"raw_longitude":756764096,"raw_latitude":119845648,"longitude_deg":75.6764096,"latitude_deg":11.9845648,"altitude":37,"angle":229,"satellites":45,"speed":8,"hex_longitude":"2d1b4dc0","hex_latitude":"0724b310","is_valid_coordinates":true} 
[2026-08-25 13:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637206272001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15902730593763328,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968917492771971072,"note":"Value kept but may cause issues"} 
[2026-08-25 13:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787645342000,"timestamp_ms":1787645342000,"timestamp_seconds":1787645342,"priority":1,"record_length":96,"hex_timestamp":"000001a037f73130"} 
[2026-08-25 13:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:40:58] 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-25 13:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 13:40:58] 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-25 13:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637206272001,"66":14004,"91":206,"28":31744,"24":8,"16":15902730593763328,"45":1968917492771971072},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-25 13:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637206272001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:40:58] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-25 13:40:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15902730593763328,"km_value":15902730593763.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968917492771971072,"description":"Unknown IO ID 45"} 
[2026-08-25 13:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637206272001,"power":14004,"unknown_91":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1968917492771971072}} 
[2026-08-25 13:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":161661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:40:58] local.INFO: GPS data processed {"connection_id":161661,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:40:58] local.INFO: Acknowledgment sent {"connection_id":161661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:41:03] local.INFO: TCP Data received {"connection_id":161661,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f77780012d1b4bc00724b0d0002700f32b..."} 
[2026-08-25 13:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f77780012d1b4bc00724b0d0002700f32b..."} 
[2026-08-25 13:41:03] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f77780012d1b4bc00724b0d0002700f32b..."} 
[2026-08-25 13:41:03] local.INFO: Packet analysis {"connection_id":161661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:41:03] local.INFO: Extracted packet for processing {"connection_id":161661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756763584,"raw_latitude":119845072,"longitude_deg":75.6763584,"latitude_deg":11.9845072,"altitude":39,"angle":243,"satellites":43,"speed":7,"hex_longitude":"2d1b4bc0","hex_latitude":"0724b0d0","is_valid_coordinates":true} 
[2026-08-25 13:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637207552001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15902769248468992,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967439749143793664,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787645360000,"timestamp_ms":1787645360000,"timestamp_seconds":1787645360,"priority":1,"record_length":96,"hex_timestamp":"000001a037f77780"} 
[2026-08-25 13:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-25 13:41:03] 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-25 13:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637207552001,"66":14515,"111":206,"28":31744,"24":7,"16":15902769248468992,"45":1967439749143793664},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-08-25 13:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637207552001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:41:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-25 13:41:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15902769248468992,"km_value":15902769248468.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967439749143793664,"description":"Unknown IO ID 45"} 
[2026-08-25 13:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637207552001,"power":14515,"unknown_111":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1967439749143793664}} 
[2026-08-25 13:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":161661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:41:03] local.INFO: GPS data processed {"connection_id":161661,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:41:03] local.INFO: Acknowledgment sent {"connection_id":161661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:41:19] local.INFO: TCP Data received {"connection_id":164286,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:41:19] local.INFO: Processing buffer {"connection_id":164286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:41:19] local.INFO: Packet analysis {"connection_id":164286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:41:19] local.INFO: Extracted packet for processing {"connection_id":164286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637119744001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787645300000,"timestamp_ms":1787645300000,"timestamp_seconds":1787645300,"priority":1,"record_length":96,"hex_timestamp":"000001a037f68d20"} 
[2026-08-25 13: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-25 13:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637119744001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637119744001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:41:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637119744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":164286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:41:19] local.INFO: GPS data processed {"connection_id":164286,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:41:19] local.INFO: Acknowledgment sent {"connection_id":164286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:41:19] local.INFO: TCP Data received {"connection_id":164285,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f89c78012d8e9f80058c0568000300a731..."} 
[2026-08-25 13:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f89c78012d8e9f80058c0568000300a731..."} 
[2026-08-25 13:41:19] local.INFO: Processing buffer {"connection_id":164285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f89c78012d8e9f80058c0568000300a731..."} 
[2026-08-25 13:41:19] local.INFO: Packet analysis {"connection_id":164285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f8"} 
[2026-08-25 13:41:19] local.INFO: Extracted packet for processing {"connection_id":164285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f8"} 
[2026-08-25 13:41:19] local.INFO: GPS Element Parsed {"raw_longitude":764321664,"raw_latitude":93062504,"longitude_deg":76.4321664,"latitude_deg":9.3062504,"altitude":3,"angle":167,"satellites":49,"speed":26,"hex_longitude":"2d8e9f80","hex_latitude":"058c0568","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637227776001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123598455720378368,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8171851868781719552,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787645435000,"timestamp_ms":1787645435000,"timestamp_seconds":1787645435,"priority":1,"record_length":96,"hex_timestamp":"000001a037f89c78"} 
[2026-08-25 13: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-25 13:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626008,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2389229573,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5253083927467261952,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":55,"raw_value":6755670024126705,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2951217162,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634789368973012,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":991035598,"corrected_to":0} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3892391310,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391942,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2364403712,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":142,"raw_value":3692957797835079692,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163000022552149,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:19] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,18,85,24,241,157,16,27,160,62,45,74,6,49,10,66,192,110,7,50,26,248,128,1,240,227,55,140,4,113,205,40,185,86,120,239,51,212,2,183,5,11,61,142,52],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":991035598,"validated":0}]} 
[2026-08-25 13:41:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360473985225261056,"timestamp_seconds":360473985225261.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13: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-25 13:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:41:19] 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-25 13:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637227776001,"66":13526,"17":206,"85":14080,"24":26,"16":123598455720378368,"45":-8171851868781719552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 13:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637227776001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:41:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123598455720378368,"km_value":123598455720378.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8171851868781719552,"description":"Unknown IO ID 45"} 
[2026-08-25 13:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637227776001,"power":13526,"axis_x":206,"unknown_85":14080,"ignition":26,"odometer":null,"unknown_45":-8171851868781719552}} 
[2026-08-25 13:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":164285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:41:19] local.INFO: GPS data processed {"connection_id":164285,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:41:19] local.INFO: Acknowledgment sent {"connection_id":164285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:41:34] local.INFO: TCP Data received {"connection_id":161661,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f78338012d1b48400724ae88002700e82d..."} 
[2026-08-25 13:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f78338012d1b48400724ae88002700e82d..."} 
[2026-08-25 13:41:34] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f78338012d1b48400724ae88002700e82d..."} 
[2026-08-25 13:41:34] local.INFO: Packet analysis {"connection_id":161661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:41:34] local.INFO: Extracted packet for processing {"connection_id":161661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756762688,"raw_latitude":119844488,"longitude_deg":75.6762688,"latitude_deg":11.9844488,"altitude":39,"angle":232,"satellites":45,"speed":19,"hex_longitude":"2d1b4840","hex_latitude":"0724ae88","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637212160001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15902820788076544,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966876799190224896,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787645363000,"timestamp_ms":1787645363000,"timestamp_seconds":1787645363,"priority":1,"record_length":96,"hex_timestamp":"000001a037f78338"} 
[2026-08-25 13: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-25 13:41: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-25 13: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 13:41:34] 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-25 13: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-25 13: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-25 13:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637212160001,"66":13787,"111":206,"28":31744,"24":19,"16":15902820788076544,"45":1966876799190224896},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-08-25 13:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637212160001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:41:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-25 13:41:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15902820788076544,"km_value":15902820788076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966876799190224896,"description":"Unknown IO ID 45"} 
[2026-08-25 13:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637212160001,"power":13787,"unknown_111":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1966876799190224896}} 
[2026-08-25 13:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":161661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:41:34] local.INFO: GPS data processed {"connection_id":161661,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:41:34] local.INFO: Acknowledgment sent {"connection_id":161661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:41:40] local.INFO: TCP Data received {"connection_id":162904,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:41:40] local.INFO: Processing buffer {"connection_id":162904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:41:40] local.INFO: IMEI packet received {"connection_id":162904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":162904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:41:41] local.INFO: TCP Data received {"connection_id":162903,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:41:41] local.INFO: Processing buffer {"connection_id":162903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:41:41] local.INFO: IMEI packet received {"connection_id":162903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":162903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:41:43] local.INFO: TCP Data received {"connection_id":162903,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:41:43] local.INFO: Processing buffer {"connection_id":162903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:41:43] local.INFO: IMEI packet received {"connection_id":162903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":162903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:41:44] local.INFO: TCP Data received {"connection_id":162903,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f8c770012d8ea900058be058000500a72a..."} 
[2026-08-25 13:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f8c770012d8ea900058be058000500a72a..."} 
[2026-08-25 13:41:44] local.INFO: Processing buffer {"connection_id":162903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f8c770012d8ea900058be058000500a72a..."} 
[2026-08-25 13:41:44] local.INFO: Packet analysis {"connection_id":162903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f8"} 
[2026-08-25 13:41:44] local.INFO: Extracted packet for processing {"connection_id":162903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f8"} 
[2026-08-25 13:41:44] local.INFO: GPS Element Parsed {"raw_longitude":764324096,"raw_latitude":93053016,"longitude_deg":76.4324096,"latitude_deg":9.3053016,"altitude":5,"angle":167,"satellites":42,"speed":42,"hex_longitude":"2d8ea900","hex_latitude":"058be058","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637231360001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123598932461748224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8169670437714434048,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787645446000,"timestamp_ms":1787645446000,"timestamp_seconds":1787645446,"priority":1,"record_length":96,"hex_timestamp":"000001a037f8c770"} 
[2026-08-25 13: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-25 13:41: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-25 13: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":214,"data_length":795,"current_offset":136} 
[2026-08-25 13:41: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-25 13: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-25 13: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-25 13:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13: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-25 13:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637231360001,"66":13015,"17":206,"85":14080,"24":42,"16":123598932461748224,"45":-8169670437714434048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 13:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637231360001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:41:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123598932461748224,"km_value":123598932461748.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8169670437714434048,"description":"Unknown IO ID 45"} 
[2026-08-25 13:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637231360001,"power":13015,"axis_x":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-8169670437714434048}} 
[2026-08-25 13:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":162903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:41:44] local.INFO: GPS data processed {"connection_id":162903,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:41:44] local.INFO: Acknowledgment sent {"connection_id":162903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:41:45] local.INFO: TCP Data received {"connection_id":162904,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:41:45] local.INFO: Processing buffer {"connection_id":162904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:41:45] local.INFO: IMEI packet received {"connection_id":162904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":162904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:41:46] local.INFO: TCP Data received {"connection_id":162904,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:41:46] local.INFO: Processing buffer {"connection_id":162904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:41:46] local.INFO: Packet analysis {"connection_id":162904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:41:46] local.INFO: Extracted packet for processing {"connection_id":162904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637119744001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787645300000,"timestamp_ms":1787645300000,"timestamp_seconds":1787645300,"priority":1,"record_length":96,"hex_timestamp":"000001a037f68d20"} 
[2026-08-25 13:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637119744001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637119744001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:41:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637119744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":162904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:41:46] local.INFO: GPS data processed {"connection_id":162904,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:41:46] local.INFO: Acknowledgment sent {"connection_id":162904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:41:52] local.INFO: TCP Data received {"connection_id":161662,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:41:52] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:41:52] local.INFO: IMEI packet received {"connection_id":161662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":161662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:41:53] local.INFO: TCP Data received {"connection_id":161662,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:41:53] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:41:53] local.INFO: IMEI packet received {"connection_id":161662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":161662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:41:58] local.INFO: TCP Data received {"connection_id":161662,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:41:58] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:41:58] local.INFO: IMEI packet received {"connection_id":161662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":161662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:41:59] local.INFO: TCP Data received {"connection_id":161662,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f7b9e8012d1b2bc007249978002800e52d..."} 
[2026-08-25 13:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f7b9e8012d1b2bc007249978002800e52d..."} 
[2026-08-25 13:41:59] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f7b9e8012d1b2bc007249978002800e52d..."} 
[2026-08-25 13:41:59] local.INFO: Packet analysis {"connection_id":161662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:41:59] local.INFO: Extracted packet for processing {"connection_id":161662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f7"} 
[2026-08-25 13:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756755392,"raw_latitude":119839096,"longitude_deg":75.6755392,"latitude_deg":11.9839096,"altitude":40,"angle":229,"satellites":45,"speed":20,"hex_longitude":"2d1b2bc0","hex_latitude":"07249978","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637212928001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15903254579773440,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965891636771588096,"note":"Value kept but may cause issues"} 
[2026-08-25 13:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787645377000,"timestamp_ms":1787645377000,"timestamp_seconds":1787645377,"priority":1,"record_length":96,"hex_timestamp":"000001a037f7b9e8"} 
[2026-08-25 13: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-25 13:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-25 13:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637212928001,"66":14624,"111":206,"28":31744,"24":20,"16":15903254579773440,"45":1965891636771588096},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-08-25 13:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637212928001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:41:59] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-25 13:41:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15903254579773440,"km_value":15903254579773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965891636771588096,"description":"Unknown IO ID 45"} 
[2026-08-25 13:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637212928001,"power":14624,"unknown_111":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1965891636771588096}} 
[2026-08-25 13:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":161662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:41:59] local.INFO: GPS data processed {"connection_id":161662,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:41:59] local.INFO: Acknowledgment sent {"connection_id":161662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:42:15] local.INFO: TCP Data received {"connection_id":162903,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f8e6b0012d8eb080058bbbd0000600aa2c..."} 
[2026-08-25 13:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f8e6b0012d8eb080058bbbd0000600aa2c..."} 
[2026-08-25 13:42:15] local.INFO: Processing buffer {"connection_id":162903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f8e6b0012d8eb080058bbbd0000600aa2c..."} 
[2026-08-25 13:42:15] local.INFO: Packet analysis {"connection_id":162903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f8"} 
[2026-08-25 13:42:15] local.INFO: Extracted packet for processing {"connection_id":162903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f8"} 
[2026-08-25 13:42:15] local.INFO: GPS Element Parsed {"raw_longitude":764326016,"raw_latitude":93043664,"longitude_deg":76.4326016,"latitude_deg":9.3043664,"altitude":6,"angle":170,"satellites":44,"speed":50,"hex_longitude":"2d8eb080","hex_latitude":"058bbbd0","is_valid_coordinates":true} 
[2026-08-25 13:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637234176001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123599396318216192,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8166996425438111744,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787645454000,"timestamp_ms":1787645454000,"timestamp_seconds":1787645454,"priority":1,"record_length":96,"hex_timestamp":"000001a037f8e6b0"} 
[2026-08-25 13:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:42: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-25 13:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-25 13:42:15] 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-25 13:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:42: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-25 13:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637234176001,"66":13515,"17":206,"85":14080,"24":50,"16":123599396318216192,"45":-8166996425438111744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 13:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637234176001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:42:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123599396318216192,"km_value":123599396318216.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8166996425438111744,"description":"Unknown IO ID 45"} 
[2026-08-25 13:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637234176001,"power":13515,"axis_x":206,"unknown_85":14080,"ignition":50,"odometer":null,"unknown_45":-8166996425438111744}} 
[2026-08-25 13:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":162903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:42:15] local.INFO: GPS data processed {"connection_id":162903,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:42:15] local.INFO: Acknowledgment sent {"connection_id":162903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:42:18] local.INFO: TCP Data received {"connection_id":162904,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:42:18] local.INFO: Processing buffer {"connection_id":162904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:42:18] local.INFO: Packet analysis {"connection_id":162904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:42:18] local.INFO: Extracted packet for processing {"connection_id":162904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637119744001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787645300000,"timestamp_ms":1787645300000,"timestamp_seconds":1787645300,"priority":1,"record_length":96,"hex_timestamp":"000001a037f68d20"} 
[2026-08-25 13: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-25 13:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637119744001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637119744001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:42:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637119744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":162904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:42:18] local.INFO: GPS data processed {"connection_id":162904,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:42:18] local.INFO: Acknowledgment sent {"connection_id":162904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:42:30] local.INFO: TCP Data received {"connection_id":161662,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f80bf0012d1b12c007248708002500e42f..."} 
[2026-08-25 13:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f80bf0012d1b12c007248708002500e42f..."} 
[2026-08-25 13:42:30] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f80bf0012d1b12c007248708002500e42f..."} 
[2026-08-25 13:42:30] local.INFO: Packet analysis {"connection_id":161662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f8"} 
[2026-08-25 13:42:30] local.INFO: Extracted packet for processing {"connection_id":161662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f8"} 
[2026-08-25 13:42:30] local.INFO: GPS Element Parsed {"raw_longitude":756748992,"raw_latitude":119834376,"longitude_deg":75.6748992,"latitude_deg":11.9834376,"altitude":37,"angle":228,"satellites":47,"speed":6,"hex_longitude":"2d1b12c0","hex_latitude":"07248708","is_valid_coordinates":true} 
[2026-08-25 13:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637216512001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15903636831862784,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957869599933954048,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787645398000,"timestamp_ms":1787645398000,"timestamp_seconds":1787645398,"priority":1,"record_length":96,"hex_timestamp":"000001a037f80bf0"} 
[2026-08-25 13:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-25 13:42:30] 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-25 13:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637216512001,"66":14070,"111":206,"28":31744,"24":6,"16":15903636831862784,"45":1957869599933954048},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-08-25 13:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637216512001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:42:30] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-25 13:42:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15903636831862784,"km_value":15903636831862.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957869599933954048,"description":"Unknown IO ID 45"} 
[2026-08-25 13:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637216512001,"power":14070,"unknown_111":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1957869599933954048}} 
[2026-08-25 13:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":161662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:42:30] local.INFO: GPS data processed {"connection_id":161662,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:42:30] local.INFO: Acknowledgment sent {"connection_id":161662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:42:40] local.INFO: TCP Data received {"connection_id":162905,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:42:40] local.INFO: Processing buffer {"connection_id":162905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:42:40] local.INFO: IMEI packet received {"connection_id":162905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":162905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:42:41] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:42:41] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:42:41] local.INFO: IMEI packet received {"connection_id":161911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":161911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:42:45] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:42:45] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:42:45] local.INFO: IMEI packet received {"connection_id":161911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":161911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:42:45] local.INFO: TCP Data received {"connection_id":162905,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:42:45] local.INFO: Processing buffer {"connection_id":162905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:42:45] local.INFO: IMEI packet received {"connection_id":162905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":162905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:42:45] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037f905f0012d8eb700058b95f0000600aa29..."} 
[2026-08-25 13:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f905f0012d8eb700058b95f0000600aa29..."} 
[2026-08-25 13:42:45] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f905f0012d8eb700058b95f0000600aa29..."} 
[2026-08-25 13:42:45] local.INFO: Packet analysis {"connection_id":161911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f9"} 
[2026-08-25 13:42:45] local.INFO: Extracted packet for processing {"connection_id":161911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f9"} 
[2026-08-25 13:42:45] local.INFO: GPS Element Parsed {"raw_longitude":764327680,"raw_latitude":93033968,"longitude_deg":76.432768,"latitude_deg":9.3033968,"altitude":6,"angle":170,"satellites":41,"speed":45,"hex_longitude":"2d8eb700","hex_latitude":"058b95f0","is_valid_coordinates":true} 
[2026-08-25 13:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637236224001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123599873059586048,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8164885363115175936,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787645462000,"timestamp_ms":1787645462000,"timestamp_seconds":1787645462,"priority":1,"record_length":96,"hex_timestamp":"000001a037f905f0"} 
[2026-08-25 13:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:42: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-25 13:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 13:42:45] 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-25 13:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:42: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-25 13:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637236224001,"66":13048,"17":206,"85":14080,"24":45,"16":123599873059586048,"45":-8164885363115175936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 13:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637236224001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123599873059586048,"km_value":123599873059586.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8164885363115175936,"description":"Unknown IO ID 45"} 
[2026-08-25 13:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637236224001,"power":13048,"axis_x":206,"unknown_85":14080,"ignition":45,"odometer":null,"unknown_45":-8164885363115175936}} 
[2026-08-25 13:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":161911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:42:45] local.INFO: GPS data processed {"connection_id":161911,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:42:45] local.INFO: Acknowledgment sent {"connection_id":161911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:42:46] local.INFO: TCP Data received {"connection_id":162905,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:42:46] local.INFO: Processing buffer {"connection_id":162905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:42:46] local.INFO: Packet analysis {"connection_id":162905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:42:46] local.INFO: Extracted packet for processing {"connection_id":162905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637119744001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787645300000,"timestamp_ms":1787645300000,"timestamp_seconds":1787645300,"priority":1,"record_length":96,"hex_timestamp":"000001a037f68d20"} 
[2026-08-25 13:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637119744001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637119744001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:42:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637119744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":162905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:42:46] local.INFO: GPS data processed {"connection_id":162905,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:42:46] local.INFO: Acknowledgment sent {"connection_id":162905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:42:57] local.INFO: TCP Data received {"connection_id":164287,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:42:57] local.INFO: Processing buffer {"connection_id":164287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:42:57] local.INFO: IMEI packet received {"connection_id":164287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":164287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:43:03] local.INFO: TCP Data received {"connection_id":164287,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:03] local.INFO: Processing buffer {"connection_id":164287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:03] local.INFO: IMEI packet received {"connection_id":164287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":164287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:43:04] local.INFO: TCP Data received {"connection_id":164287,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f9d4f8012d1a750007240cb0003300ea29..."} 
[2026-08-25 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f9d4f8012d1a750007240cb0003300ea29..."} 
[2026-08-25 13:43:04] local.INFO: Processing buffer {"connection_id":164287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f9d4f8012d1a750007240cb0003300ea29..."} 
[2026-08-25 13:43:04] local.INFO: Packet analysis {"connection_id":164287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f9"} 
[2026-08-25 13:43:04] local.INFO: Extracted packet for processing {"connection_id":164287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f9"} 
[2026-08-25 13:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756708608,"raw_latitude":119803056,"longitude_deg":75.6708608,"latitude_deg":11.9803056,"altitude":51,"angle":234,"satellites":41,"speed":20,"hex_longitude":"2d1a7500","hex_latitude":"07240cb0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637246976001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15906162272632832,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908470741512271872,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787645515000,"timestamp_ms":1787645515000,"timestamp_seconds":1787645515,"priority":1,"record_length":96,"hex_timestamp":"000001a037f9d4f8"} 
[2026-08-25 13: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-25 13:43: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-25 13:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-25 13:43: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-25 13: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-25 13: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-25 13:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637246976001,"66":14483,"112":206,"28":31744,"24":20,"16":15906162272632832,"45":1908470741512271872},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-25 13:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637246976001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:43:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 13:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15906162272632832,"km_value":15906162272632.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908470741512271872,"description":"Unknown IO ID 45"} 
[2026-08-25 13:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637246976001,"power":14483,"unknown_112":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1908470741512271872}} 
[2026-08-25 13:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":164287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:43:04] local.INFO: GPS data processed {"connection_id":164287,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:43:04] local.INFO: Acknowledgment sent {"connection_id":164287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:43:05] local.INFO: TCP Data received {"connection_id":164287,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037f9f438012d1a63000723fe78003300dd2c..."} 
[2026-08-25 13:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f9f438012d1a63000723fe78003300dd2c..."} 
[2026-08-25 13:43:05] local.INFO: Processing buffer {"connection_id":164287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f9f438012d1a63000723fe78003300dd2c..."} 
[2026-08-25 13:43:05] local.INFO: Packet analysis {"connection_id":164287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f9"} 
[2026-08-25 13:43:05] local.INFO: Extracted packet for processing {"connection_id":164287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f9"} 
[2026-08-25 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756704000,"raw_latitude":119799416,"longitude_deg":75.6704,"latitude_deg":11.9799416,"altitude":51,"angle":221,"satellites":44,"speed":32,"hex_longitude":"2d1a6300","hex_latitude":"0723fe78","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637251840001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15906445740474368,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906430047930855424,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787645523000,"timestamp_ms":1787645523000,"timestamp_seconds":1787645523,"priority":1,"record_length":96,"hex_timestamp":"000001a037f9f438"} 
[2026-08-25 13: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-25 13:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-25 13:43: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-25 13: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-25 13: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-25 13:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":164287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":164287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":164287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637251840001,"66":14102,"112":206,"28":31744,"24":32,"16":15906445740474368,"45":1906430047930855424},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-25 13:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637251840001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:43:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 13:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15906445740474368,"km_value":15906445740474.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906430047930855424,"description":"Unknown IO ID 45"} 
[2026-08-25 13:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637251840001,"power":14102,"unknown_112":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1906430047930855424}} 
[2026-08-25 13:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":164287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:43:05] local.INFO: GPS data processed {"connection_id":164287,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:43:05] local.INFO: Acknowledgment sent {"connection_id":164287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:43:16] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037facb10012d8f15000589e1c80005009033..."} 
[2026-08-25 13:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037facb10012d8f15000589e1c80005009033..."} 
[2026-08-25 13:43:16] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037facb10012d8f15000589e1c80005009033..."} 
[2026-08-25 13:43:16] local.INFO: Packet analysis {"connection_id":161911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fa"} 
[2026-08-25 13:43:16] local.INFO: Extracted packet for processing {"connection_id":161911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fa"} 
[2026-08-25 13:43:16] local.INFO: GPS Element Parsed {"raw_longitude":764351744,"raw_latitude":92922312,"longitude_deg":76.4351744,"latitude_deg":9.2922312,"altitude":5,"angle":144,"satellites":51,"speed":44,"hex_longitude":"2d8f1500","hex_latitude":"0589e1c8","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637267968001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123605456517070848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8136597127986821120,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:16] 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-25 13:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787645578000,"timestamp_ms":1787645578000,"timestamp_seconds":1787645578,"priority":1,"record_length":96,"hex_timestamp":"000001a037facb10"} 
[2026-08-25 13: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-25 13:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 13:43:16] 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-25 13: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-25 13: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-25 13:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:43:16] 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-25 13:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637267968001,"66":13493,"209":206,"85":14080,"24":44,"16":123605456517070848,"45":-8136597127986821120},"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-25 13:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637267968001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:43:16] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-25 13:43:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123605456517070848,"km_value":123605456517070.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8136597127986821120,"description":"Unknown IO ID 45"} 
[2026-08-25 13:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637267968001,"power":13493,"unknown_209":206,"unknown_85":14080,"ignition":44,"odometer":null,"unknown_45":-8136597127986821120}} 
[2026-08-25 13:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":161911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:43:16] local.INFO: GPS data processed {"connection_id":161911,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:43:16] local.INFO: Acknowledgment sent {"connection_id":161911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:43:17] local.INFO: TCP Data received {"connection_id":162905,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:43:17] local.INFO: Processing buffer {"connection_id":162905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:43:17] local.INFO: Packet analysis {"connection_id":162905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:43:17] local.INFO: Extracted packet for processing {"connection_id":162905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637119744001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787645300000,"timestamp_ms":1787645300000,"timestamp_seconds":1787645300,"priority":1,"record_length":96,"hex_timestamp":"000001a037f68d20"} 
[2026-08-25 13:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637119744001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637119744001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:43:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637119744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":162905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:43:17] local.INFO: GPS data processed {"connection_id":162905,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:43:17] local.INFO: Acknowledgment sent {"connection_id":162905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:43:37] local.INFO: TCP Data received {"connection_id":164287,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037fa1f30012d1a4fc00723e540003200d12b..."} 
[2026-08-25 13:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fa1f30012d1a4fc00723e540003200d12b..."} 
[2026-08-25 13:43:37] local.INFO: Processing buffer {"connection_id":164287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fa1f30012d1a4fc00723e540003200d12b..."} 
[2026-08-25 13:43:37] local.INFO: Packet analysis {"connection_id":164287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fa"} 
[2026-08-25 13:43:37] local.INFO: Extracted packet for processing {"connection_id":164287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fa"} 
[2026-08-25 13:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756699072,"raw_latitude":119792960,"longitude_deg":75.6699072,"latitude_deg":11.979296,"altitude":50,"angle":209,"satellites":43,"speed":35,"hex_longitude":"2d1a4fc0","hex_latitude":"0723e540","is_valid_coordinates":true} 
[2026-08-25 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-25 13:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637253888001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15906836582498304,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901363498349131776,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787645534000,"timestamp_ms":1787645534000,"timestamp_seconds":1787645534,"priority":1,"record_length":96,"hex_timestamp":"000001a037fa1f30"} 
[2026-08-25 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-25 13:43: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-25 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 13:43: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-25 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-25 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-25 13:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637253888001,"66":14070,"112":206,"28":31744,"24":35,"16":15906836582498304,"45":1901363498349131776},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-25 13:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637253888001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:43:37] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 13:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15906836582498304,"km_value":15906836582498.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901363498349131776,"description":"Unknown IO ID 45"} 
[2026-08-25 13:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637253888001,"power":14070,"unknown_112":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1901363498349131776}} 
[2026-08-25 13:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":164287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:43:37] local.INFO: GPS data processed {"connection_id":164287,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:43:37] local.INFO: Acknowledgment sent {"connection_id":164287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:43:40] local.INFO: TCP Data received {"connection_id":162906,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:43:40] local.INFO: Processing buffer {"connection_id":162906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:43:40] local.INFO: IMEI packet received {"connection_id":162906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":162906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:43:40] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:43:40] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:43:40] local.INFO: IMEI packet received {"connection_id":161663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":161663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:43:41] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:43:41] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:43:41] local.INFO: IMEI packet received {"connection_id":161663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":161663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:43:45] local.INFO: TCP Data received {"connection_id":162906,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:43:45] local.INFO: Processing buffer {"connection_id":162906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:43:45] local.INFO: IMEI packet received {"connection_id":162906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":162906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:43:46] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:43:46] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:43:46] local.INFO: IMEI packet received {"connection_id":161663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":161663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:43:46] local.INFO: TCP Data received {"connection_id":162906,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:43:46] local.INFO: Processing buffer {"connection_id":162906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037f68d20012d34c14006aa4820000800e630..."} 
[2026-08-25 13:43:46] local.INFO: Packet analysis {"connection_id":162906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:43:46] local.INFO: Extracted packet for processing {"connection_id":162906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037f6"} 
[2026-08-25 13:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637119744001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787645300000,"timestamp_ms":1787645300000,"timestamp_seconds":1787645300,"priority":1,"record_length":96,"hex_timestamp":"000001a037f68d20"} 
[2026-08-25 13:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637119744001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637119744001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:43:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637119744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":162906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:43:46] local.INFO: GPS data processed {"connection_id":162906,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:43:46] local.INFO: Acknowledgment sent {"connection_id":162906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:43:47] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037faea50012d8f2d800589c2800007008e33..."} 
[2026-08-25 13:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037faea50012d8f2d800589c2800007008e33..."} 
[2026-08-25 13:43:47] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037faea50012d8f2d800589c2800007008e33..."} 
[2026-08-25 13:43:47] local.INFO: Packet analysis {"connection_id":161663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fa"} 
[2026-08-25 13:43:47] local.INFO: Extracted packet for processing {"connection_id":161663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fa"} 
[2026-08-25 13:43:47] local.INFO: GPS Element Parsed {"raw_longitude":764358016,"raw_latitude":92914304,"longitude_deg":76.4358016,"latitude_deg":9.2914304,"altitude":7,"angle":142,"satellites":51,"speed":55,"hex_longitude":"2d8f2d80","hex_latitude":"0589c280","is_valid_coordinates":true} 
[2026-08-25 13:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637267968001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123605946143342592,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8136597127986821120,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:47] 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-25 13:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787645586000,"timestamp_ms":1787645586000,"timestamp_seconds":1787645586,"priority":1,"record_length":96,"hex_timestamp":"000001a037faea50"} 
[2026-08-25 13:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 13:43:47] 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-25 13:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:43:47] 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-25 13:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637267968001,"66":13493,"209":206,"85":14080,"24":55,"16":123605946143342592,"45":-8136597127986821120},"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-25 13:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637267968001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:43:47] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-25 13:43:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123605946143342592,"km_value":123605946143342.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8136597127986821120,"description":"Unknown IO ID 45"} 
[2026-08-25 13:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637267968001,"power":13493,"unknown_209":206,"unknown_85":14080,"ignition":55,"odometer":null,"unknown_45":-8136597127986821120}} 
[2026-08-25 13:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":161663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:43:47] local.INFO: GPS data processed {"connection_id":161663,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:43:47] local.INFO: Acknowledgment sent {"connection_id":161663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:43:49] local.INFO: TCP Data received {"connection_id":162907,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:50] local.INFO: Processing buffer {"connection_id":162907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:50] local.INFO: IMEI packet received {"connection_id":162907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":162907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:43:52] local.INFO: TCP Data received {"connection_id":162907,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:52] local.INFO: Processing buffer {"connection_id":162907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:52] local.INFO: IMEI packet received {"connection_id":162907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":162907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:43:54] local.INFO: TCP Data received {"connection_id":162907,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:54] local.INFO: Processing buffer {"connection_id":162907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:54] local.INFO: IMEI packet received {"connection_id":162907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":162907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:43:56] local.INFO: TCP Data received {"connection_id":162907,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:56] local.INFO: Processing buffer {"connection_id":162907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:43:56] local.INFO: IMEI packet received {"connection_id":162907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":162907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:43:59] local.INFO: TCP Data received {"connection_id":162907,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037fa4640012d1a3cc00723c7c0003200dd2b..."} 
[2026-08-25 13:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fa4640012d1a3cc00723c7c0003200dd2b..."} 
[2026-08-25 13:43:59] local.INFO: Processing buffer {"connection_id":162907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fa4640012d1a3cc00723c7c0003200dd2b..."} 
[2026-08-25 13:43:59] local.INFO: Packet analysis {"connection_id":162907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fa"} 
[2026-08-25 13:43:59] local.INFO: Extracted packet for processing {"connection_id":162907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fa"} 
[2026-08-25 13:43:59] local.INFO: GPS Element Parsed {"raw_longitude":756694208,"raw_latitude":119785408,"longitude_deg":75.6694208,"latitude_deg":11.9785408,"altitude":50,"angle":221,"satellites":43,"speed":32,"hex_longitude":"2d1a3cc0","hex_latitude":"0723c7c0","is_valid_coordinates":true} 
[2026-08-25 13:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637256704001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907270374195200,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895945105045798912,"note":"Value kept but may cause issues"} 
[2026-08-25 13:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787645544000,"timestamp_ms":1787645544000,"timestamp_seconds":1787645544,"priority":1,"record_length":96,"hex_timestamp":"000001a037fa4640"} 
[2026-08-25 13:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 13:43:59] 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-25 13:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637256704001,"66":14102,"112":206,"28":31744,"24":32,"16":15907270374195200,"45":1895945105045798912},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-25 13:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637256704001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:43:59] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 13:43:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907270374195200,"km_value":15907270374195.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895945105045798912,"description":"Unknown IO ID 45"} 
[2026-08-25 13:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637256704001,"power":14102,"unknown_112":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1895945105045798912}} 
[2026-08-25 13:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":162907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:43:59] local.INFO: GPS data processed {"connection_id":162907,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:43:59] local.INFO: Acknowledgment sent {"connection_id":162907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:44:07] local.INFO: TCP Data received {"connection_id":162907,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037fa4640012d1a3cc00723c7c0003200dd2b..."} 
[2026-08-25 13:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fa4640012d1a3cc00723c7c0003200dd2b..."} 
[2026-08-25 13:44:07] local.INFO: Processing buffer {"connection_id":162907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fa4640012d1a3cc00723c7c0003200dd2b..."} 
[2026-08-25 13:44:07] local.INFO: Packet analysis {"connection_id":162907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fa"} 
[2026-08-25 13:44:07] local.INFO: Extracted packet for processing {"connection_id":162907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fa"} 
[2026-08-25 13:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756694208,"raw_latitude":119785408,"longitude_deg":75.6694208,"latitude_deg":11.9785408,"altitude":50,"angle":221,"satellites":43,"speed":32,"hex_longitude":"2d1a3cc0","hex_latitude":"0723c7c0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637259264001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907270374195200,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890597080486363136,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787645544000,"timestamp_ms":1787645544000,"timestamp_seconds":1787645544,"priority":1,"record_length":96,"hex_timestamp":"000001a037fa4640"} 
[2026-08-25 13: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-25 13:44: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-25 13: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 13:44:07] 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-25 13: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-25 13: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-25 13:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637259264001,"66":14102,"112":206,"28":31744,"24":32,"16":15907270374195200,"45":1890597080486363136},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-25 13:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637259264001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:44:07] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 13:44:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907270374195200,"km_value":15907270374195.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890597080486363136,"description":"Unknown IO ID 45"} 
[2026-08-25 13:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637259264001,"power":14102,"unknown_112":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1890597080486363136}} 
[2026-08-25 13:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":162907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:44:07] local.INFO: GPS data processed {"connection_id":162907,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:44:07] local.INFO: Acknowledgment sent {"connection_id":162907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:44:17] local.INFO: TCP Data received {"connection_id":162906,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:44:17] local.INFO: Processing buffer {"connection_id":162906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:44:17] local.INFO: Packet analysis {"connection_id":162906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:44:17] local.INFO: Extracted packet for processing {"connection_id":162906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637196800001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787645601000,"timestamp_ms":1787645601000,"timestamp_seconds":1787645601,"priority":1,"record_length":96,"hex_timestamp":"000001a037fb24e8"} 
[2026-08-25 13:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637196800001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637196800001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:44:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":162906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:44:17] local.INFO: GPS data processed {"connection_id":162906,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:44:17] local.INFO: Acknowledgment sent {"connection_id":162906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:44:19] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037fb05a8012d8f45400589a4400008008e33..."} 
[2026-08-25 13:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fb05a8012d8f45400589a4400008008e33..."} 
[2026-08-25 13:44:19] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fb05a8012d8f45400589a4400008008e33..."} 
[2026-08-25 13:44:19] local.INFO: Packet analysis {"connection_id":161663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:44:19] local.INFO: Extracted packet for processing {"connection_id":161663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:44:19] local.INFO: GPS Element Parsed {"raw_longitude":764364096,"raw_latitude":92906560,"longitude_deg":76.4364096,"latitude_deg":9.290656,"altitude":8,"angle":142,"satellites":51,"speed":51,"hex_longitude":"2d8f4540","hex_latitude":"0589a440","is_valid_coordinates":true} 
[2026-08-25 13:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637270016001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123606422884712448,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8129700991059460096,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:19] 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-25 13:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787645593000,"timestamp_ms":1787645593000,"timestamp_seconds":1787645593,"priority":1,"record_length":96,"hex_timestamp":"000001a037fb05a8"} 
[2026-08-25 13:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 13:44:19] 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-25 13:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:44:19] 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-25 13:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637270016001,"66":13428,"209":206,"85":14080,"24":51,"16":123606422884712448,"45":-8129700991059460096},"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-25 13:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637270016001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:44:19] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-25 13:44:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123606422884712448,"km_value":123606422884712.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8129700991059460096,"description":"Unknown IO ID 45"} 
[2026-08-25 13:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637270016001,"power":13428,"unknown_209":206,"unknown_85":14080,"ignition":51,"odometer":null,"unknown_45":-8129700991059460096}} 
[2026-08-25 13:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":161663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:44:19] local.INFO: GPS data processed {"connection_id":161663,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:44:19] local.INFO: Acknowledgment sent {"connection_id":161663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:44:39] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:44:39] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:44:39] local.INFO: IMEI packet received {"connection_id":161913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":161913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:44:40] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:44:40] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:44:40] local.INFO: IMEI packet received {"connection_id":161912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":161912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:44:41] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:44:41] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:44:41] local.INFO: IMEI packet received {"connection_id":161913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":161913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:44:45] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:44:45] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:44:45] local.INFO: IMEI packet received {"connection_id":161912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":161912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:44:46] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:44:46] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:44:46] local.INFO: Packet analysis {"connection_id":161912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:44:46] local.INFO: Extracted packet for processing {"connection_id":161912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637196800001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787645601000,"timestamp_ms":1787645601000,"timestamp_seconds":1787645601,"priority":1,"record_length":96,"hex_timestamp":"000001a037fb24e8"} 
[2026-08-25 13:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637196800001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637196800001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:44:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":161912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:44:46] local.INFO: GPS data processed {"connection_id":161912,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:44:46] local.INFO: Acknowledgment sent {"connection_id":161912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:44:46] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:44:46] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:44:46] local.INFO: IMEI packet received {"connection_id":161913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":161913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:44:47] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037fb1930012d8f5080058992e80009009d33..."} 
[2026-08-25 13:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fb1930012d8f5080058992e80009009d33..."} 
[2026-08-25 13:44:47] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fb1930012d8f5080058992e80009009d33..."} 
[2026-08-25 13:44:47] local.INFO: Packet analysis {"connection_id":161913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:44:47] local.INFO: Extracted packet for processing {"connection_id":161913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:44:47] local.INFO: GPS Element Parsed {"raw_longitude":764366976,"raw_latitude":92902120,"longitude_deg":76.4366976,"latitude_deg":9.290212,"altitude":9,"angle":157,"satellites":51,"speed":32,"hex_longitude":"2d8f5080","hex_latitude":"058992e8","is_valid_coordinates":true} 
[2026-08-25 13:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637271808001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123606676287782912,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8123015960364564480,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:47] 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-25 13:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787645598000,"timestamp_ms":1787645598000,"timestamp_seconds":1787645598,"priority":1,"record_length":96,"hex_timestamp":"000001a037fb1930"} 
[2026-08-25 13:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 13:44:47] 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-25 13:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:44:47] 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-25 13:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637271808001,"66":13091,"209":206,"85":14080,"24":32,"16":123606676287782912,"45":-8123015960364564480},"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-25 13:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637271808001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:44:47] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-25 13:44:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123606676287782912,"km_value":123606676287782.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8123015960364564480,"description":"Unknown IO ID 45"} 
[2026-08-25 13:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637271808001,"power":13091,"unknown_209":206,"unknown_85":14080,"ignition":32,"odometer":null,"unknown_45":-8123015960364564480}} 
[2026-08-25 13:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":161913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:44:47] local.INFO: GPS data processed {"connection_id":161913,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:44:47] local.INFO: Acknowledgment sent {"connection_id":161913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:44:53] local.INFO: TCP Data received {"connection_id":161664,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:44:53] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:44:53] local.INFO: IMEI packet received {"connection_id":161664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":161664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:44:58] local.INFO: TCP Data received {"connection_id":161664,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:44:58] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:44:58] local.INFO: IMEI packet received {"connection_id":161664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":161664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:44:59] local.INFO: TCP Data received {"connection_id":161664,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037fb5f80012d19424007234a68004e00d926..."} 
[2026-08-25 13:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fb5f80012d19424007234a68004e00d926..."} 
[2026-08-25 13:44:59] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fb5f80012d19424007234a68004e00d926..."} 
[2026-08-25 13:44:59] local.INFO: Packet analysis {"connection_id":161664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:44:59] local.INFO: Extracted packet for processing {"connection_id":161664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756630080,"raw_latitude":119753320,"longitude_deg":75.663008,"latitude_deg":11.975332,"altitude":78,"angle":217,"satellites":38,"speed":39,"hex_longitude":"2d194240","hex_latitude":"07234a68","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637275392001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15910929686331392,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825717098348292096,"note":"Value kept but may cause issues"} 
[2026-08-25 13:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787645616000,"timestamp_ms":1787645616000,"timestamp_seconds":1787645616,"priority":1,"record_length":96,"hex_timestamp":"000001a037fb5f80"} 
[2026-08-25 13: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-25 13:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-25 13:44:59] 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-25 13: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-25 13: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-25 13:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637275392001,"66":14102,"112":206,"28":31744,"24":39,"16":15910929686331392,"45":1825717098348292096},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-25 13:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637275392001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:44:59] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 13:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15910929686331392,"km_value":15910929686331.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825717098348292096,"description":"Unknown IO ID 45"} 
[2026-08-25 13:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637275392001,"power":14102,"unknown_112":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1825717098348292096}} 
[2026-08-25 13:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":161664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:45:00] local.INFO: GPS data processed {"connection_id":161664,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:45:00] local.INFO: Acknowledgment sent {"connection_id":161664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:45:18] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:45:18] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:45:18] local.INFO: Packet analysis {"connection_id":161912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:45:18] local.INFO: Extracted packet for processing {"connection_id":161912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637196800001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787645601000,"timestamp_ms":1787645601000,"timestamp_seconds":1787645601,"priority":1,"record_length":96,"hex_timestamp":"000001a037fb24e8"} 
[2026-08-25 13: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-25 13:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637196800001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637196800001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:45:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":161912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:45:18] local.INFO: GPS data processed {"connection_id":161912,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:45:18] local.INFO: Acknowledgment sent {"connection_id":161912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:45:18] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037fc78c0012d9036c0058870b8000d007132..."} 
[2026-08-25 13:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fc78c0012d9036c0058870b8000d007132..."} 
[2026-08-25 13:45:18] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fc78c0012d9036c0058870b8000d007132..."} 
[2026-08-25 13:45:18] local.INFO: Packet analysis {"connection_id":161913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:45:18] local.INFO: Extracted packet for processing {"connection_id":161913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:45:18] local.INFO: GPS Element Parsed {"raw_longitude":764425920,"raw_latitude":92827832,"longitude_deg":76.442592,"latitude_deg":9.2827832,"altitude":13,"angle":113,"satellites":50,"speed":36,"hex_longitude":"2d9036c0","hex_latitude":"058870b8","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637293312001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123611353507168256,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8064398796483745792,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787645688000,"timestamp_ms":1787645688000,"timestamp_seconds":1787645688,"priority":1,"record_length":96,"hex_timestamp":"000001a037fc78c0"} 
[2026-08-25 13: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-25 13:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 13:45: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-25 13: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-25 13: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-25 13:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:45: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-25 13:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637293312001,"66":13613,"208":206,"85":14080,"24":36,"16":123611353507168256,"45":-8064398796483745792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 13:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637293312001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:45:18] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 13:45:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123611353507168256,"km_value":123611353507168.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8064398796483745792,"description":"Unknown IO ID 45"} 
[2026-08-25 13:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637293312001,"power":13613,"unknown_208":206,"unknown_85":14080,"ignition":36,"odometer":null,"unknown_45":-8064398796483745792}} 
[2026-08-25 13:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":161913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:45:18] local.INFO: GPS data processed {"connection_id":161913,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:45:18] local.INFO: Acknowledgment sent {"connection_id":161913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:45:30] local.INFO: TCP Data received {"connection_id":161664,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037fc70f0012d18a2c00722caa0006900ca2c..."} 
[2026-08-25 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fc70f0012d18a2c00722caa0006900ca2c..."} 
[2026-08-25 13:45:30] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fc70f0012d18a2c00722caa0006900ca2c..."} 
[2026-08-25 13:45:30] local.INFO: Packet analysis {"connection_id":161664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:45:30] local.INFO: Extracted packet for processing {"connection_id":161664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":756589248,"raw_latitude":119720608,"longitude_deg":75.6589248,"latitude_deg":11.9720608,"altitude":105,"angle":202,"satellites":44,"speed":32,"hex_longitude":"2d18a2c0","hex_latitude":"0722caa0","is_valid_coordinates":true} 
[2026-08-25 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637294080001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15913785839583232,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458530641920,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787645686000,"timestamp_ms":1787645686000,"timestamp_seconds":1787645686,"priority":1,"record_length":96,"hex_timestamp":"000001a037fc70f0"} 
[2026-08-25 13:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-25 13:45:30] 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-25 13:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637294080001,"66":13156,"120":206,"28":31744,"24":32,"16":15913785839583232,"45":1778077458530641920},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637294080001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:45:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:45:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15913785839583232,"km_value":15913785839583.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458530641920,"description":"Unknown IO ID 45"} 
[2026-08-25 13:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637294080001,"power":13156,"unknown_120":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1778077458530641920}} 
[2026-08-25 13:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":161664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:45:31] local.INFO: GPS data processed {"connection_id":161664,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:45:31] local.INFO: Acknowledgment sent {"connection_id":161664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:45:40] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:45:40] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:45:40] local.INFO: IMEI packet received {"connection_id":161665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":161665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:45:41] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:45:41] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:45:41] local.INFO: IMEI packet received {"connection_id":161666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":161666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:45:41] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:45:41] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:45:41] local.INFO: IMEI packet received {"connection_id":161666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":161666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:45:45] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:45:45] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:45:45] local.INFO: IMEI packet received {"connection_id":161665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":161665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:45:46] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:45:46] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:45:46] local.INFO: IMEI packet received {"connection_id":161666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":161666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:45:47] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037fc9fd0012d90594005886210000e007231..."} 
[2026-08-25 13:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fc9fd0012d90594005886210000e007231..."} 
[2026-08-25 13:45:47] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fc9fd0012d90594005886210000e007231..."} 
[2026-08-25 13:45:47] local.INFO: Packet analysis {"connection_id":161666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:45:47] local.INFO: Extracted packet for processing {"connection_id":161666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:45:47] local.INFO: GPS Element Parsed {"raw_longitude":764434752,"raw_latitude":92824080,"longitude_deg":76.4434752,"latitude_deg":9.282408,"altitude":14,"angle":114,"satellites":49,"speed":34,"hex_longitude":"2d905940","hex_latitude":"05886210","is_valid_coordinates":true} 
[2026-08-25 13:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637296128001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123611813068668928,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8055039753509095424,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787645698000,"timestamp_ms":1787645698000,"timestamp_seconds":1787645698,"priority":1,"record_length":96,"hex_timestamp":"000001a037fc9fd0"} 
[2026-08-25 13:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-25 13:45:47] 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-25 13:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:45:47] 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-25 13:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637296128001,"66":13363,"208":206,"85":14080,"24":34,"16":123611813068668928,"45":-8055039753509095424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 13:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637296128001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:45:47] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 13:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123611813068668928,"km_value":123611813068668.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8055039753509095424,"description":"Unknown IO ID 45"} 
[2026-08-25 13:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637296128001,"power":13363,"unknown_208":206,"unknown_85":14080,"ignition":34,"odometer":null,"unknown_45":-8055039753509095424}} 
[2026-08-25 13:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":161666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:45:47] local.INFO: GPS data processed {"connection_id":161666,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:45:47] local.INFO: Acknowledgment sent {"connection_id":161666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:45:48] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:45:48] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:45:48] local.INFO: Packet analysis {"connection_id":161665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:45:48] local.INFO: Extracted packet for processing {"connection_id":161665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637196800001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787645601000,"timestamp_ms":1787645601000,"timestamp_seconds":1787645601,"priority":1,"record_length":96,"hex_timestamp":"000001a037fb24e8"} 
[2026-08-25 13: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-25 13:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637196800001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637196800001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:45:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":161665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:45:48] local.INFO: GPS data processed {"connection_id":161665,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:45:48] local.INFO: Acknowledgment sent {"connection_id":161665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:45:51] local.INFO: TCP Data received {"connection_id":161667,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:45:51] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:45:51] local.INFO: IMEI packet received {"connection_id":161667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":161667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:45:52] local.INFO: TCP Data received {"connection_id":161667,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:45:52] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:45:52] local.INFO: IMEI packet received {"connection_id":161667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":161667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:45:55] local.INFO: TCP Data received {"connection_id":161667,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:45:55] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:45:55] local.INFO: IMEI packet received {"connection_id":161667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":161667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:45:57] local.INFO: TCP Data received {"connection_id":161667,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:45:57] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:45:57] local.INFO: IMEI packet received {"connection_id":161667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":161667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:45:58] local.INFO: TCP Data received {"connection_id":161667,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037fc78c0012d18a1800722c450006a00ba2b..."} 
[2026-08-25 13:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fc78c0012d18a1800722c450006a00ba2b..."} 
[2026-08-25 13:45:58] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fc78c0012d18a1800722c450006a00ba2b..."} 
[2026-08-25 13:45:58] local.INFO: Packet analysis {"connection_id":161667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:45:58] local.INFO: Extracted packet for processing {"connection_id":161667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756588928,"raw_latitude":119718992,"longitude_deg":75.6588928,"latitude_deg":11.9718992,"altitude":106,"angle":186,"satellites":43,"speed":34,"hex_longitude":"2d18a180","hex_latitude":"0722c450","is_valid_coordinates":true} 
[2026-08-25 13:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637295616001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15913867443961856,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775192340018405376,"note":"Value kept but may cause issues"} 
[2026-08-25 13:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787645688000,"timestamp_ms":1787645688000,"timestamp_seconds":1787645688,"priority":1,"record_length":96,"hex_timestamp":"000001a037fc78c0"} 
[2026-08-25 13:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:45:58] 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-25 13:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-25 13:45:58] 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-25 13:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637295616001,"66":13102,"120":206,"28":31744,"24":34,"16":15913867443961856,"45":1775192340018405376},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637295616001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:45:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:45:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15913867443961856,"km_value":15913867443961.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775192340018405376,"description":"Unknown IO ID 45"} 
[2026-08-25 13:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637295616001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1775192340018405376}} 
[2026-08-25 13:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":161667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:45:58] local.INFO: GPS data processed {"connection_id":161667,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:45:58] local.INFO: Acknowledgment sent {"connection_id":161667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:46:03] local.INFO: TCP Data received {"connection_id":161667,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037fc8090012d18a1800722bdb0006a00aa2c..."} 
[2026-08-25 13:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fc8090012d18a1800722bdb0006a00aa2c..."} 
[2026-08-25 13:46:03] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fc8090012d18a1800722bdb0006a00aa2c..."} 
[2026-08-25 13:46:03] local.INFO: Packet analysis {"connection_id":161667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:46:03] local.INFO: Extracted packet for processing {"connection_id":161667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:46:03] local.INFO: GPS Element Parsed {"raw_longitude":756588928,"raw_latitude":119717296,"longitude_deg":75.6588928,"latitude_deg":11.9717296,"altitude":106,"angle":170,"satellites":44,"speed":31,"hex_longitude":"2d18a180","hex_latitude":"0722bdb0","is_valid_coordinates":true} 
[2026-08-25 13:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637296128001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15913949048340480,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774840496297103360,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787645690000,"timestamp_ms":1787645690000,"timestamp_seconds":1787645690,"priority":1,"record_length":96,"hex_timestamp":"000001a037fc8090"} 
[2026-08-25 13:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:46: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-25 13:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 13:46:03] 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-25 13:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637296128001,"66":13004,"120":206,"28":31744,"24":31,"16":15913949048340480,"45":1774840496297103360},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637296128001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:46:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:46:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15913949048340480,"km_value":15913949048340.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774840496297103360,"description":"Unknown IO ID 45"} 
[2026-08-25 13:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637296128001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1774840496297103360}} 
[2026-08-25 13:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":161667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:46:04] local.INFO: GPS data processed {"connection_id":161667,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:46:04] local.INFO: Acknowledgment sent {"connection_id":161667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:46:18] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037fcc6e0012d907a80058853f0000e007031..."} 
[2026-08-25 13:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fcc6e0012d907a80058853f0000e007031..."} 
[2026-08-25 13:46:18] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fcc6e0012d907a80058853f0000e007031..."} 
[2026-08-25 13:46:18] local.INFO: Packet analysis {"connection_id":161666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:46:18] local.INFO: Extracted packet for processing {"connection_id":161666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:46:18] local.INFO: GPS Element Parsed {"raw_longitude":764443264,"raw_latitude":92820464,"longitude_deg":76.4443264,"latitude_deg":9.2820464,"altitude":14,"angle":112,"satellites":49,"speed":42,"hex_longitude":"2d907a80","hex_latitude":"058853f0","is_valid_coordinates":true} 
[2026-08-25 13:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637298688001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123612259745267712,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8045328866813538304,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:18] 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-25 13:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787645708000,"timestamp_ms":1787645708000,"timestamp_seconds":1787645708,"priority":1,"record_length":96,"hex_timestamp":"000001a037fcc6e0"} 
[2026-08-25 13:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 13:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:46: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-25 13:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637298688001,"66":13319,"195":206,"85":14080,"24":42,"16":123612259745267712,"45":-8045328866813538304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-25 13:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637298688001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:46:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 13:46:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123612259745267712,"km_value":123612259745267.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8045328866813538304,"description":"Unknown IO ID 45"} 
[2026-08-25 13:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637298688001,"power":13319,"unknown_195":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-8045328866813538304}} 
[2026-08-25 13:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":161666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:46:18] local.INFO: GPS data processed {"connection_id":161666,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:46:18] local.INFO: Acknowledgment sent {"connection_id":161666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:46:19] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:46:19] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:46:19] local.INFO: Packet analysis {"connection_id":161665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:46:19] local.INFO: Extracted packet for processing {"connection_id":161665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637196800001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787645601000,"timestamp_ms":1787645601000,"timestamp_seconds":1787645601,"priority":1,"record_length":96,"hex_timestamp":"000001a037fb24e8"} 
[2026-08-25 13:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637196800001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637196800001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:46:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":161665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:46:19] local.INFO: GPS data processed {"connection_id":161665,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:46:19] local.INFO: Acknowledgment sent {"connection_id":161665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:46:35] local.INFO: TCP Data received {"connection_id":161667,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037fcb358012d18a84007229a10006f00ac2a..."} 
[2026-08-25 13:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fcb358012d18a84007229a10006f00ac2a..."} 
[2026-08-25 13:46:35] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fcb358012d18a84007229a10006f00ac2a..."} 
[2026-08-25 13:46:35] local.INFO: Packet analysis {"connection_id":161667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:46:35] local.INFO: Extracted packet for processing {"connection_id":161667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756590656,"raw_latitude":119708176,"longitude_deg":75.6590656,"latitude_deg":11.9708176,"altitude":111,"angle":172,"satellites":42,"speed":30,"hex_longitude":"2d18a840","hex_latitude":"07229a10","is_valid_coordinates":true} 
[2026-08-25 13:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637296640001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914400019906560,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774840496296669184,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787645703000,"timestamp_ms":1787645703000,"timestamp_seconds":1787645703,"priority":1,"record_length":96,"hex_timestamp":"000001a037fcb358"} 
[2026-08-25 13:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:46: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-25 13:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 13:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637296640001,"66":13135,"120":206,"28":31744,"24":30,"16":15914400019906560,"45":1774840496296669184},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637296640001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:46:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:46:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914400019906560,"km_value":15914400019906.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774840496296669184,"description":"Unknown IO ID 45"} 
[2026-08-25 13:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637296640001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1774840496296669184}} 
[2026-08-25 13:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":161667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:46:35] local.INFO: GPS data processed {"connection_id":161667,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:46:35] local.INFO: Acknowledgment sent {"connection_id":161667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:46:40] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:46:40] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:46:40] local.INFO: IMEI packet received {"connection_id":161914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":161914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:46:41] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:46:41] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:46:41] local.INFO: IMEI packet received {"connection_id":161915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":161915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:46:45] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:46:45] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:46:45] local.INFO: IMEI packet received {"connection_id":161914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":161914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:46:46] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:46:46] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:46:46] local.INFO: IMEI packet received {"connection_id":161915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":161915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:46:46] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:46:46] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:46:46] local.INFO: Packet analysis {"connection_id":161914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:46:46] local.INFO: Extracted packet for processing {"connection_id":161914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637196800001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787645601000,"timestamp_ms":1787645601000,"timestamp_seconds":1787645601,"priority":1,"record_length":96,"hex_timestamp":"000001a037fb24e8"} 
[2026-08-25 13:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637196800001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637196800001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:46:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":161914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:46:46] local.INFO: GPS data processed {"connection_id":161914,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:46:46] local.INFO: Acknowledgment sent {"connection_id":161914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:46:47] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037fcea08012d909c8005884658000c006e31..."} 
[2026-08-25 13:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fcea08012d909c8005884658000c006e31..."} 
[2026-08-25 13:46:47] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fcea08012d909c8005884658000c006e31..."} 
[2026-08-25 13:46:47] local.INFO: Packet analysis {"connection_id":161915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:46:47] local.INFO: Extracted packet for processing {"connection_id":161915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:46:47] local.INFO: GPS Element Parsed {"raw_longitude":764451968,"raw_latitude":92816984,"longitude_deg":76.4451968,"latitude_deg":9.2816984,"altitude":12,"angle":110,"satellites":49,"speed":39,"hex_longitude":"2d909c80","hex_latitude":"05884658","is_valid_coordinates":true} 
[2026-08-25 13:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637301248001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123612706421866496,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8035969823838834688,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:47] 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-25 13:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787645717000,"timestamp_ms":1787645717000,"timestamp_seconds":1787645717,"priority":1,"record_length":96,"hex_timestamp":"000001a037fcea08"} 
[2026-08-25 13:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 13:46:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2415820805,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:47] local.WARNING: Large IO value detected {"io_id":136,"raw_value":-2731433139630427392,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1003487438,"corrected_to":0} 
[2026-08-25 13:46:47] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2415996303,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407099,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2294030336,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:47] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57768134778443063,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:47] local.WARNING: Large IO value detected {"io_id":251,"raw_value":-3965418176702365691,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:47] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,195,85,24,241,157,16,40,160,159,45,64,98,14,49,10,66,208,120,192,112,13,50,39,77,128,1,240,116,227,55,136,4,113,205,27,3,56,48,239,52,2,183,5,8,94,251],"length":527,"final_offset":657,"validated_count":47,"validation_warnings":[{"io_id":205,"original":1003487438,"validated":0}]} 
[2026-08-25 13:46:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008929672289452032,"timestamp_seconds":1008929672289452.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:46:47] 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-25 13:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637301248001,"66":13363,"195":206,"85":14080,"24":39,"16":123612706421866496,"45":-8035969823838834688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-25 13:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637301248001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:46:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 13:46:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123612706421866496,"km_value":123612706421866.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8035969823838834688,"description":"Unknown IO ID 45"} 
[2026-08-25 13:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637301248001,"power":13363,"unknown_195":206,"unknown_85":14080,"ignition":39,"odometer":null,"unknown_45":-8035969823838834688}} 
[2026-08-25 13:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":161915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:46:47] local.INFO: GPS data processed {"connection_id":161915,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:46:47] local.INFO: Acknowledgment sent {"connection_id":161915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:46:52] local.INFO: TCP Data received {"connection_id":164288,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:46:52] local.INFO: Processing buffer {"connection_id":164288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:46:52] local.INFO: IMEI packet received {"connection_id":164288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":164288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:46:57] local.INFO: TCP Data received {"connection_id":164288,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:46:57] local.INFO: Processing buffer {"connection_id":164288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:46:57] local.INFO: IMEI packet received {"connection_id":164288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":164288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:46:58] local.INFO: TCP Data received {"connection_id":164288,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037fcc2f8012d18a8c007228d50007000b929..."} 
[2026-08-25 13:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fcc2f8012d18a8c007228d50007000b929..."} 
[2026-08-25 13:46:58] local.INFO: Processing buffer {"connection_id":164288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fcc2f8012d18a8c007228d50007000b929..."} 
[2026-08-25 13:46:58] local.INFO: Packet analysis {"connection_id":164288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:46:58] local.INFO: Extracted packet for processing {"connection_id":164288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:46:58] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119704912,"longitude_deg":75.6590784,"latitude_deg":11.9704912,"altitude":112,"angle":185,"satellites":41,"speed":33,"hex_longitude":"2d18a8c0","hex_latitude":"07228d50","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637299968001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914558933696512,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776740452387131392,"note":"Value kept but may cause issues"} 
[2026-08-25 13:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787645707000,"timestamp_ms":1787645707000,"timestamp_seconds":1787645707,"priority":1,"record_length":96,"hex_timestamp":"000001a037fcc2f8"} 
[2026-08-25 13: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-25 13:46:58] 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-25 13: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 13:46:58] 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-25 13: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-25 13: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-25 13:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637299968001,"66":12776,"120":206,"28":31744,"24":33,"16":15914558933696512,"45":1776740452387131392},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637299968001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:46:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:46:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914558933696512,"km_value":15914558933696.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776740452387131392,"description":"Unknown IO ID 45"} 
[2026-08-25 13:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637299968001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1776740452387131392}} 
[2026-08-25 13:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":164288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:46:58] local.INFO: GPS data processed {"connection_id":164288,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:46:58] local.INFO: Acknowledgment sent {"connection_id":164288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:47:17] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:47:17] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:47:17] local.INFO: Packet analysis {"connection_id":161914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:47:17] local.INFO: Extracted packet for processing {"connection_id":161914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637196800001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787645601000,"timestamp_ms":1787645601000,"timestamp_seconds":1787645601,"priority":1,"record_length":96,"hex_timestamp":"000001a037fb24e8"} 
[2026-08-25 13:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637196800001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637196800001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:47:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":161914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:47:17] local.INFO: GPS data processed {"connection_id":161914,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:47:17] local.INFO: Acknowledgment sent {"connection_id":161914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:47:17] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037fd1500012d90c1c005883d48000b006532..."} 
[2026-08-25 13:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fd1500012d90c1c005883d48000b006532..."} 
[2026-08-25 13:47:17] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fd1500012d90c1c005883d48000b006532..."} 
[2026-08-25 13:47:17] local.INFO: Packet analysis {"connection_id":161915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fd"} 
[2026-08-25 13:47:17] local.INFO: Extracted packet for processing {"connection_id":161915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fd"} 
[2026-08-25 13:47:17] local.INFO: GPS Element Parsed {"raw_longitude":764461504,"raw_latitude":92814664,"longitude_deg":76.4461504,"latitude_deg":9.2814664,"altitude":11,"angle":101,"satellites":50,"speed":38,"hex_longitude":"2d90c1c0","hex_latitude":"05883d48","is_valid_coordinates":true} 
[2026-08-25 13:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637303552001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123613178868269056,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8026399674631563264,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:17] 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-25 13:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787645728000,"timestamp_ms":1787645728000,"timestamp_seconds":1787645728,"priority":1,"record_length":96,"hex_timestamp":"000001a037fd1500"} 
[2026-08-25 13:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 13:47:17] 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-25 13:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:47: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-25 13:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637303552001,"66":13504,"195":206,"85":14080,"24":38,"16":123613178868269056,"45":-8026399674631563264},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-25 13:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637303552001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:47:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 13:47:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123613178868269056,"km_value":123613178868269.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8026399674631563264,"description":"Unknown IO ID 45"} 
[2026-08-25 13:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637303552001,"power":13504,"unknown_195":206,"unknown_85":14080,"ignition":38,"odometer":null,"unknown_45":-8026399674631563264}} 
[2026-08-25 13:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":161915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:47:17] local.INFO: GPS data processed {"connection_id":161915,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:47:17] local.INFO: Acknowledgment sent {"connection_id":161915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:47:30] local.INFO: TCP Data received {"connection_id":164288,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037fcda68012d18a44007227868006d00c62c..."} 
[2026-08-25 13:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fcda68012d18a44007227868006d00c62c..."} 
[2026-08-25 13:47:30] local.INFO: Processing buffer {"connection_id":164288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fcda68012d18a44007227868006d00c62c..."} 
[2026-08-25 13:47:30] local.INFO: Packet analysis {"connection_id":164288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:47:30] local.INFO: Extracted packet for processing {"connection_id":164288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fc"} 
[2026-08-25 13:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756589632,"raw_latitude":119699560,"longitude_deg":75.6589632,"latitude_deg":11.969956,"altitude":109,"angle":198,"satellites":44,"speed":39,"hex_longitude":"2d18a440","hex_latitude":"07227868","is_valid_coordinates":true} 
[2026-08-25 13:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637300992001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914825221668864,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189874651136,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787645713000,"timestamp_ms":1787645713000,"timestamp_seconds":1787645713,"priority":1,"record_length":96,"hex_timestamp":"000001a037fcda68"} 
[2026-08-25 13:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-25 13:47:30] 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-25 13:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637300992001,"66":12189,"120":206,"28":31744,"24":39,"16":15914825221668864,"45":1776881189874651136},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637300992001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:47:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:47:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914825221668864,"km_value":15914825221668.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189874651136,"description":"Unknown IO ID 45"} 
[2026-08-25 13:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637300992001,"power":12189,"unknown_120":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1776881189874651136}} 
[2026-08-25 13:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":164288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:47:30] local.INFO: GPS data processed {"connection_id":164288,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:47:30] local.INFO: Acknowledgment sent {"connection_id":164288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:47:40] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:47:40] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:47:40] local.INFO: IMEI packet received {"connection_id":161668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":161668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:47:41] local.INFO: TCP Data received {"connection_id":162908,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:47:41] local.INFO: Processing buffer {"connection_id":162908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:47:41] local.INFO: IMEI packet received {"connection_id":162908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":162908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:47:45] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:47:45] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:47:45] local.INFO: IMEI packet received {"connection_id":161668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":161668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:47:46] local.INFO: TCP Data received {"connection_id":162908,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:47:46] local.INFO: Processing buffer {"connection_id":162908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:47:46] local.INFO: IMEI packet received {"connection_id":162908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":162908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:47:47] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:47:47] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:47:47] local.INFO: Packet analysis {"connection_id":161668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:47:47] local.INFO: Extracted packet for processing {"connection_id":161668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637196800001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787645601000,"timestamp_ms":1787645601000,"timestamp_seconds":1787645601,"priority":1,"record_length":96,"hex_timestamp":"000001a037fb24e8"} 
[2026-08-25 13:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637196800001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637196800001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":161668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:47:47] local.INFO: GPS data processed {"connection_id":161668,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:47:47] local.INFO: Acknowledgment sent {"connection_id":161668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:47:47] local.INFO: TCP Data received {"connection_id":162908,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037fd3ff8012d90e580058837b0000d006133..."} 
[2026-08-25 13:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fd3ff8012d90e580058837b0000d006133..."} 
[2026-08-25 13:47:47] local.INFO: Processing buffer {"connection_id":162908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fd3ff8012d90e580058837b0000d006133..."} 
[2026-08-25 13:47:47] local.INFO: Packet analysis {"connection_id":162908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fd"} 
[2026-08-25 13:47:47] local.INFO: Extracted packet for processing {"connection_id":162908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fd"} 
[2026-08-25 13:47:47] local.INFO: GPS Element Parsed {"raw_longitude":764470656,"raw_latitude":92813232,"longitude_deg":76.4470656,"latitude_deg":9.2813232,"altitude":13,"angle":97,"satellites":51,"speed":14,"hex_longitude":"2d90e580","hex_latitude":"058837b0","is_valid_coordinates":true} 
[2026-08-25 13:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637306368001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123613621249900544,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8015914731749685248,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:47] 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-25 13:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787645739000,"timestamp_ms":1787645739000,"timestamp_seconds":1787645739,"priority":1,"record_length":96,"hex_timestamp":"000001a037fd3ff8"} 
[2026-08-25 13:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-25 13:47:47] 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-25 13:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:47:47] 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-25 13:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637306368001,"66":13243,"195":206,"85":14080,"24":14,"16":123613621249900544,"45":-8015914731749685248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-25 13:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637306368001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:47:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 13:47:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123613621249900544,"km_value":123613621249900.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8015914731749685248,"description":"Unknown IO ID 45"} 
[2026-08-25 13:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637306368001,"power":13243,"unknown_195":206,"unknown_85":14080,"ignition":14,"odometer":null,"unknown_45":-8015914731749685248}} 
[2026-08-25 13:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":162908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:47:47] local.INFO: GPS data processed {"connection_id":162908,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:47:47] local.INFO: Acknowledgment sent {"connection_id":162908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:47:52] local.INFO: TCP Data received {"connection_id":161916,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:47:52] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:47:52] local.INFO: IMEI packet received {"connection_id":161916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":161916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:47:58] local.INFO: TCP Data received {"connection_id":161916,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:47:58] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:47:58] local.INFO: IMEI packet received {"connection_id":161916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":161916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:47:59] local.INFO: TCP Data received {"connection_id":161916,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037fe2288012d181f800721a7e0004800852c..."} 
[2026-08-25 13:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fe2288012d181f800721a7e0004800852c..."} 
[2026-08-25 13:47:59] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fe2288012d181f800721a7e0004800852c..."} 
[2026-08-25 13:47:59] local.INFO: Packet analysis {"connection_id":161916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fe"} 
[2026-08-25 13:47:59] local.INFO: Extracted packet for processing {"connection_id":161916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fe"} 
[2026-08-25 13:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646176,"longitude_deg":75.6555648,"latitude_deg":11.9646176,"altitude":72,"angle":133,"satellites":44,"speed":9,"hex_longitude":"2d181f80","hex_latitude":"0721a7e0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637323520001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15917917598121984,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585287168,"note":"Value kept but may cause issues"} 
[2026-08-25 13:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787645797000,"timestamp_ms":1787645797000,"timestamp_seconds":1787645797,"priority":1,"record_length":96,"hex_timestamp":"000001a037fe2288"} 
[2026-08-25 13: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-25 13:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-25 13:47:59] 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-25 13: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-25 13: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-25 13:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637323520001,"66":14363,"120":206,"28":31744,"24":9,"16":15917917598121984,"45":1737896905585287168},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637323520001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:47:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15917917598121984,"km_value":15917917598121.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585287168,"description":"Unknown IO ID 45"} 
[2026-08-25 13:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637323520001,"power":14363,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737896905585287168}} 
[2026-08-25 13:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":161916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:47:59] local.INFO: GPS data processed {"connection_id":161916,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:47:59] local.INFO: Acknowledgment sent {"connection_id":161916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:48:18] local.INFO: TCP Data received {"connection_id":162908,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037ff5720012d92200005884708000e00562f..."} 
[2026-08-25 13:48:18] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ff5720012d92200005884708000e00562f..."} 
[2026-08-25 13:48:18] local.INFO: Processing buffer {"connection_id":162908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ff5720012d92200005884708000e00562f..."} 
[2026-08-25 13:48:18] local.INFO: Packet analysis {"connection_id":162908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:48:18] local.INFO: Extracted packet for processing {"connection_id":162908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:48:18] local.INFO: GPS Element Parsed {"raw_longitude":764551168,"raw_latitude":92817160,"longitude_deg":76.4551168,"latitude_deg":9.281716,"altitude":14,"angle":86,"satellites":47,"speed":7,"hex_longitude":"2d922000","hex_latitude":"05884708","is_valid_coordinates":true} 
[2026-08-25 13:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637339136001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123617491015434240,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7923590939387981824,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787645876000,"timestamp_ms":1787645876000,"timestamp_seconds":1787645876,"priority":1,"record_length":96,"hex_timestamp":"000001a037ff5720"} 
[2026-08-25 13:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:48: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-25 13:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-25 13:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:48:18] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:48:18] local.INFO: Packet analysis {"connection_id":161668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:48:18] local.INFO: Extracted packet for processing {"connection_id":161668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637196800001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:48: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-25 13:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787645601000,"timestamp_ms":1787645601000,"timestamp_seconds":1787645601,"priority":1,"record_length":96,"hex_timestamp":"000001a037fb24e8"} 
[2026-08-25 13:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637339136001,"66":13526,"111":206,"85":14080,"24":7,"16":123617491015434240,"45":-7923590939387981824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-25 13:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637196800001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637339136001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:48:18] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-25 13:48:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123617491015434240,"km_value":123617491015434.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7923590939387981824,"description":"Unknown IO ID 45"} 
[2026-08-25 13:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637339136001,"power":13526,"unknown_111":206,"unknown_85":14080,"ignition":7,"odometer":null,"unknown_45":-7923590939387981824}} 
[2026-08-25 13:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637196800001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":161668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:48:18] local.INFO: GPS data processed {"connection_id":161668,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:48:18] local.INFO: Acknowledgment sent {"connection_id":161668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":162908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:48:18] local.INFO: GPS data processed {"connection_id":162908,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:48:18] local.INFO: Acknowledgment sent {"connection_id":162908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:48:30] local.INFO: TCP Data received {"connection_id":161916,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037fe7490012d1820000721a7380048008829..."} 
[2026-08-25 13:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fe7490012d1820000721a7380048008829..."} 
[2026-08-25 13:48:30] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fe7490012d1820000721a7380048008829..."} 
[2026-08-25 13:48:30] local.INFO: Packet analysis {"connection_id":161916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fe"} 
[2026-08-25 13:48:30] local.INFO: Extracted packet for processing {"connection_id":161916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fe"} 
[2026-08-25 13:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119646008,"longitude_deg":75.6555776,"latitude_deg":11.9646008,"altitude":72,"angle":136,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721a738","is_valid_coordinates":true} 
[2026-08-25 13:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637324032001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15917930483023872,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306077184,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787645818000,"timestamp_ms":1787645818000,"timestamp_seconds":1787645818,"priority":1,"record_length":96,"hex_timestamp":"000001a037fe7490"} 
[2026-08-25 13:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 13:48:30] 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-25 13:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637324032001,"66":14374,"120":206,"28":31744,"24":0,"16":15917930483023872,"45":1738248749306077184},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637324032001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:48:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:48:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15917930483023872,"km_value":15917930483023.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306077184,"description":"Unknown IO ID 45"} 
[2026-08-25 13:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637324032001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306077184}} 
[2026-08-25 13:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":161916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:48:30] local.INFO: GPS data processed {"connection_id":161916,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:48:30] local.INFO: Acknowledgment sent {"connection_id":161916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:48:30] local.INFO: TCP Data received {"connection_id":162909,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:48:30] local.INFO: Processing buffer {"connection_id":162909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:48:30] local.INFO: IMEI packet received {"connection_id":162909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 13:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":162909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:48:40] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:48:40] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:48:40] local.INFO: IMEI packet received {"connection_id":161669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":161669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:48:45] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:48:45] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:48:45] local.INFO: IMEI packet received {"connection_id":161669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":161669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:48:46] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:48:46] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037fb24e8012d34c14006aa4820000800e630..."} 
[2026-08-25 13:48:46] local.INFO: Packet analysis {"connection_id":161669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:48:46] local.INFO: Extracted packet for processing {"connection_id":161669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037fb"} 
[2026-08-25 13:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637196800001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787645601000,"timestamp_ms":1787645601000,"timestamp_seconds":1787645601,"priority":1,"record_length":96,"hex_timestamp":"000001a037fb24e8"} 
[2026-08-25 13:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637196800001,"66":25582,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637196800001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:48:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637196800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":161669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:48:46] local.INFO: GPS data processed {"connection_id":161669,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:48:46] local.INFO: Acknowledgment sent {"connection_id":161669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:48:46] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:48:46] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:48:46] local.INFO: IMEI packet received {"connection_id":161917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":161917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:48:49] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:48:49] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:48:49] local.INFO: IMEI packet received {"connection_id":161917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":161917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:48:50] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037ff89e8012d922e4005884738000c00632f..."} 
[2026-08-25 13:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ff89e8012d922e4005884738000c00632f..."} 
[2026-08-25 13:48:50] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ff89e8012d922e4005884738000c00632f..."} 
[2026-08-25 13:48:50] local.INFO: Packet analysis {"connection_id":161917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:48:50] local.INFO: Extracted packet for processing {"connection_id":161917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:48:50] local.INFO: GPS Element Parsed {"raw_longitude":764554816,"raw_latitude":92817208,"longitude_deg":76.4554816,"latitude_deg":9.2817208,"altitude":12,"angle":99,"satellites":47,"speed":14,"hex_longitude":"2d922e40","hex_latitude":"05884738","is_valid_coordinates":true} 
[2026-08-25 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-25 13:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637344256001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123617667109093376,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7917328121156139008,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787645889000,"timestamp_ms":1787645889000,"timestamp_seconds":1787645889,"priority":1,"record_length":96,"hex_timestamp":"000001a037ff89e8"} 
[2026-08-25 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-25 13:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 13:48: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-25 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-25 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-25 13:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:48: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-25 13:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637344256001,"66":13678,"183":206,"85":14080,"24":14,"16":123617667109093376,"45":-7917328121156139008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-25 13:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637344256001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:48:50] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-25 13:48:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123617667109093376,"km_value":123617667109093.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7917328121156139008,"description":"Unknown IO ID 45"} 
[2026-08-25 13:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637344256001,"power":13678,"unknown_183":206,"unknown_85":14080,"ignition":14,"odometer":null,"unknown_45":-7917328121156139008}} 
[2026-08-25 13:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":161917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:48:50] local.INFO: GPS data processed {"connection_id":161917,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:48:50] local.INFO: Acknowledgment sent {"connection_id":161917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:48:51] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037ff91b8012d92318005884630000d007532..."} 
[2026-08-25 13:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ff91b8012d92318005884630000d007532..."} 
[2026-08-25 13:48:51] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ff91b8012d92318005884630000d007532..."} 
[2026-08-25 13:48:51] local.INFO: Packet analysis {"connection_id":161917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:48:51] local.INFO: Extracted packet for processing {"connection_id":161917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:48:51] local.INFO: GPS Element Parsed {"raw_longitude":764555648,"raw_latitude":92816944,"longitude_deg":76.4555648,"latitude_deg":9.2816944,"altitude":13,"angle":117,"satellites":50,"speed":17,"hex_longitude":"2d923180","hex_latitude":"05884630","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637347584001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123617710058766336,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7913317102737999872,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787645891000,"timestamp_ms":1787645891000,"timestamp_seconds":1787645891,"priority":1,"record_length":96,"hex_timestamp":"000001a037ff91b8"} 
[2026-08-25 13: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-25 13:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 13:48:51] 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-25 13: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-25 13: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-25 13:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:48:51] 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-25 13:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637347584001,"66":13472,"183":206,"85":14080,"24":17,"16":123617710058766336,"45":-7913317102737999872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-25 13:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637347584001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:48:51] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-25 13:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123617710058766336,"km_value":123617710058766.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7913317102737999872,"description":"Unknown IO ID 45"} 
[2026-08-25 13:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637347584001,"power":13472,"unknown_183":206,"unknown_85":14080,"ignition":17,"odometer":null,"unknown_45":-7913317102737999872}} 
[2026-08-25 13:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":161917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:48:51] local.INFO: GPS data processed {"connection_id":161917,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:48:51] local.INFO: Acknowledgment sent {"connection_id":161917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:48:52] local.INFO: TCP Data received {"connection_id":161670,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:48:52] local.INFO: Processing buffer {"connection_id":161670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:48:52] local.INFO: IMEI packet received {"connection_id":161670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":161670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:48:53] local.INFO: TCP Data received {"connection_id":161670,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:48:53] local.INFO: Processing buffer {"connection_id":161670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:48:53] local.INFO: IMEI packet received {"connection_id":161670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":161670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:48:58] local.INFO: TCP Data received {"connection_id":161670,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:48:58] local.INFO: Processing buffer {"connection_id":161670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:48:58] local.INFO: IMEI packet received {"connection_id":161670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":161670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:48:59] local.INFO: TCP Data received {"connection_id":161670,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037ff5ef0012d18c44007215100004700a028..."} 
[2026-08-25 13:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ff5ef0012d18c44007215100004700a028..."} 
[2026-08-25 13:48:59] local.INFO: Processing buffer {"connection_id":161670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ff5ef0012d18c44007215100004700a028..."} 
[2026-08-25 13:48:59] local.INFO: Packet analysis {"connection_id":161670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:48:59] local.INFO: Extracted packet for processing {"connection_id":161670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119623936,"longitude_deg":75.6597824,"latitude_deg":11.9623936,"altitude":71,"angle":160,"satellites":40,"speed":42,"hex_longitude":"2d18c440","hex_latitude":"07215100","is_valid_coordinates":true} 
[2026-08-25 13:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637342976001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15920309894905856,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780258889575987200,"note":"Value kept but may cause issues"} 
[2026-08-25 13:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787645878000,"timestamp_ms":1787645878000,"timestamp_seconds":1787645878,"priority":1,"record_length":96,"hex_timestamp":"000001a037ff5ef0"} 
[2026-08-25 13:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 13:48:59] 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-25 13:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637342976001,"66":13102,"121":206,"28":31744,"24":42,"16":15920309894905856,"45":1780258889575987200},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637342976001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:48:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15920309894905856,"km_value":15920309894905.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780258889575987200,"description":"Unknown IO ID 45"} 
[2026-08-25 13:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637342976001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1780258889575987200}} 
[2026-08-25 13:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":161670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:48:59] local.INFO: GPS data processed {"connection_id":161670,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:48:59] local.INFO: Acknowledgment sent {"connection_id":161670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:49:18] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:49:18] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:49:18] local.INFO: Packet analysis {"connection_id":161669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:49:18] local.INFO: Extracted packet for processing {"connection_id":161669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637273856001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787645902000,"timestamp_ms":1787645902000,"timestamp_seconds":1787645902,"priority":1,"record_length":96,"hex_timestamp":"000001a037ffbcb0"} 
[2026-08-25 13:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637273856001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637273856001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:49:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637273856001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":161669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:49:18] local.INFO: GPS data processed {"connection_id":161669,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:49:18] local.INFO: Acknowledgment sent {"connection_id":161669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:49:22] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037ffb4e0012d923e0005883ec0000b006733..."} 
[2026-08-25 13:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ffb4e0012d923e0005883ec0000b006733..."} 
[2026-08-25 13:49:22] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ffb4e0012d923e0005883ec0000b006733..."} 
[2026-08-25 13:49:22] local.INFO: Packet analysis {"connection_id":161917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:49:22] local.INFO: Extracted packet for processing {"connection_id":161917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":764558848,"raw_latitude":92815040,"longitude_deg":76.4558848,"latitude_deg":9.281504,"altitude":11,"angle":103,"satellites":51,"speed":13,"hex_longitude":"2d923e00","hex_latitude":"05883ec0","is_valid_coordinates":true} 
[2026-08-25 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-25 13:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637348096001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123617890447392768,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7912402309063757824,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787645900000,"timestamp_ms":1787645900000,"timestamp_seconds":1787645900,"priority":1,"record_length":96,"hex_timestamp":"000001a037ffb4e0"} 
[2026-08-25 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-25 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 13:49:22] 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-25 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-25 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-25 13:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:49: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-25 13:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637348096001,"66":13537,"183":206,"85":14080,"24":13,"16":123617890447392768,"45":-7912402309063757824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-25 13:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637348096001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:49:22] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-25 13:49:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123617890447392768,"km_value":123617890447392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7912402309063757824,"description":"Unknown IO ID 45"} 
[2026-08-25 13:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637348096001,"power":13537,"unknown_183":206,"unknown_85":14080,"ignition":13,"odometer":null,"unknown_45":-7912402309063757824}} 
[2026-08-25 13:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":161917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:49:22] local.INFO: GPS data processed {"connection_id":161917,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:49:22] local.INFO: Acknowledgment sent {"connection_id":161917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:49:30] local.INFO: TCP Data received {"connection_id":161670,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a037ffef78012d18fa400720d438003900812a..."} 
[2026-08-25 13:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ffef78012d18fa400720d438003900812a..."} 
[2026-08-25 13:49:30] local.INFO: Processing buffer {"connection_id":161670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ffef78012d18fa400720d438003900812a..."} 
[2026-08-25 13:49:30] local.INFO: Packet analysis {"connection_id":161670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:49:30] local.INFO: Extracted packet for processing {"connection_id":161670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:49:30] local.INFO: GPS Element Parsed {"raw_longitude":756611648,"raw_latitude":119591992,"longitude_deg":75.6611648,"latitude_deg":11.9591992,"altitude":57,"angle":129,"satellites":42,"speed":35,"hex_longitude":"2d18fa40","hex_latitude":"0720d438","is_valid_coordinates":true} 
[2026-08-25 13:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637354240001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15922053651628032,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799821400447662080,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787645915000,"timestamp_ms":1787645915000,"timestamp_seconds":1787645915,"priority":1,"record_length":96,"hex_timestamp":"000001a037ffef78"} 
[2026-08-25 13:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 13:49:30] 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-25 13:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637354240001,"66":12211,"121":206,"28":31744,"24":35,"16":15922053651628032,"45":1799821400447662080},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637354240001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:49:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:49:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15922053651628032,"km_value":15922053651628.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799821400447662080,"description":"Unknown IO ID 45"} 
[2026-08-25 13:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637354240001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1799821400447662080}} 
[2026-08-25 13:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":161670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:49:30] local.INFO: GPS data processed {"connection_id":161670,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:49:30] local.INFO: Acknowledgment sent {"connection_id":161670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:49:40] local.INFO: TCP Data received {"connection_id":164289,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:49:40] local.INFO: Processing buffer {"connection_id":164289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:49:40] local.INFO: IMEI packet received {"connection_id":164289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":164289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:49:41] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:49:41] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:49:41] local.INFO: IMEI packet received {"connection_id":161671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":161671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:49:44] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:49:44] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:49:44] local.INFO: IMEI packet received {"connection_id":161671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":161671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:49:45] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a037ffef78012d9262c005883b10000b006533..."} 
[2026-08-25 13:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ffef78012d9262c005883b10000b006533..."} 
[2026-08-25 13:49:45] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ffef78012d9262c005883b10000b006533..."} 
[2026-08-25 13:49:45] local.INFO: Packet analysis {"connection_id":161671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:49:45] local.INFO: Extracted packet for processing {"connection_id":161671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:49:45] local.INFO: GPS Element Parsed {"raw_longitude":764568256,"raw_latitude":92814096,"longitude_deg":76.4568256,"latitude_deg":9.2814096,"altitude":11,"angle":101,"satellites":51,"speed":35,"hex_longitude":"2d9262c0","hex_latitude":"05883b10","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637350400001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123618341418958848,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7908883871855362048,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787645915000,"timestamp_ms":1787645915000,"timestamp_seconds":1787645915,"priority":1,"record_length":96,"hex_timestamp":"000001a037ffef78"} 
[2026-08-25 13: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-25 13:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-25 13: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-25 13:49:45] 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-25 13: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-25 13: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-25 13:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:49: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-25 13:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637350400001,"66":13472,"183":206,"85":14080,"24":35,"16":123618341418958848,"45":-7908883871855362048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-25 13:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637350400001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:49:45] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-25 13:49:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123618341418958848,"km_value":123618341418958.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7908883871855362048,"description":"Unknown IO ID 45"} 
[2026-08-25 13:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637350400001,"power":13472,"unknown_183":206,"unknown_85":14080,"ignition":35,"odometer":null,"unknown_45":-7908883871855362048}} 
[2026-08-25 13:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":161671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:49:45] local.INFO: GPS data processed {"connection_id":161671,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:49:45] local.INFO: Acknowledgment sent {"connection_id":161671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:49:45] local.INFO: TCP Data received {"connection_id":164289,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:49:45] local.INFO: Processing buffer {"connection_id":164289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:49:45] local.INFO: IMEI packet received {"connection_id":164289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":164289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:49:46] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038001e58012d927d00058833e8000b007133..."} 
[2026-08-25 13:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038001e58012d927d00058833e8000b007133..."} 
[2026-08-25 13:49:46] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038001e58012d927d00058833e8000b007133..."} 
[2026-08-25 13:49:46] local.INFO: Packet analysis {"connection_id":161671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:49:46] local.INFO: Extracted packet for processing {"connection_id":161671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:49:46] local.INFO: GPS Element Parsed {"raw_longitude":764574976,"raw_latitude":92812264,"longitude_deg":76.4574976,"latitude_deg":9.2812264,"altitude":11,"angle":113,"satellites":51,"speed":8,"hex_longitude":"2d927d00","hex_latitude":"058833e8","is_valid_coordinates":true} 
[2026-08-25 13:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637354240001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123618672131440640,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7898539666461487104,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787645927000,"timestamp_ms":1787645927000,"timestamp_seconds":1787645927,"priority":1,"record_length":96,"hex_timestamp":"000001a038001e58"} 
[2026-08-25 13:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:49: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-25 13:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 13:49:46] 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-25 13:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:49:46] 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-25 13:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637354240001,"66":13341,"183":206,"85":14080,"24":8,"16":123618672131440640,"45":-7898539666461487104},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-25 13:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637354240001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:49:46] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-25 13:49:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123618672131440640,"km_value":123618672131440.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7898539666461487104,"description":"Unknown IO ID 45"} 
[2026-08-25 13:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637354240001,"power":13341,"unknown_183":206,"unknown_85":14080,"ignition":8,"odometer":null,"unknown_45":-7898539666461487104}} 
[2026-08-25 13:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":161671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:49:46] local.INFO: GPS data processed {"connection_id":161671,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:49:46] local.INFO: Acknowledgment sent {"connection_id":161671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:49:46] local.INFO: TCP Data received {"connection_id":164289,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:49:46] local.INFO: Processing buffer {"connection_id":164289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:49:46] local.INFO: Packet analysis {"connection_id":164289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:49:46] local.INFO: Extracted packet for processing {"connection_id":164289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637273856001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787645902000,"timestamp_ms":1787645902000,"timestamp_seconds":1787645902,"priority":1,"record_length":96,"hex_timestamp":"000001a037ffbcb0"} 
[2026-08-25 13:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637273856001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637273856001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637273856001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":164289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:49:46] local.INFO: GPS data processed {"connection_id":164289,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:49:46] local.INFO: Acknowledgment sent {"connection_id":164289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:49:58] local.INFO: TCP Data received {"connection_id":161672,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:49:58] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:49:58] local.INFO: IMEI packet received {"connection_id":161672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":161672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:50:02] local.INFO: TCP Data received {"connection_id":161672,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:50:02] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:50:02] local.INFO: IMEI packet received {"connection_id":161672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":161672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:50:03] local.INFO: TCP Data received {"connection_id":161672,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038000ad0012d1912000720c648003400752b..."} 
[2026-08-25 13:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038000ad0012d1912000720c648003400752b..."} 
[2026-08-25 13:50:03] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038000ad0012d1912000720c648003400752b..."} 
[2026-08-25 13:50:03] local.INFO: Packet analysis {"connection_id":161672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:50:03] local.INFO: Extracted packet for processing {"connection_id":161672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756617728,"raw_latitude":119588424,"longitude_deg":75.6617728,"latitude_deg":11.9588424,"altitude":52,"angle":117,"satellites":43,"speed":46,"hex_longitude":"2d191200","hex_latitude":"0720c648","is_valid_coordinates":true} 
[2026-08-25 13:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637354240001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15922392954044416,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799821400447662080,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787645922000,"timestamp_ms":1787645922000,"timestamp_seconds":1787645922,"priority":1,"record_length":96,"hex_timestamp":"000001a038000ad0"} 
[2026-08-25 13:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:50: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-25 13:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 13:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637354240001,"66":12678,"121":206,"28":31744,"24":46,"16":15922392954044416,"45":1799821400447662080},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637354240001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:50:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:50:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15922392954044416,"km_value":15922392954044.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799821400447662080,"description":"Unknown IO ID 45"} 
[2026-08-25 13:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637354240001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1799821400447662080}} 
[2026-08-25 13:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":161672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:50:03] local.INFO: GPS data processed {"connection_id":161672,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:50:03] local.INFO: Acknowledgment sent {"connection_id":161672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:50:09] local.INFO: TCP Data received {"connection_id":161672,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038002a10012d1934000720b848002e00792b..."} 
[2026-08-25 13:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038002a10012d1934000720b848002e00792b..."} 
[2026-08-25 13:50:09] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038002a10012d1934000720b848002e00792b..."} 
[2026-08-25 13:50:09] local.INFO: Packet analysis {"connection_id":161672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:50:09] local.INFO: Extracted packet for processing {"connection_id":161672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:50:09] local.INFO: GPS Element Parsed {"raw_longitude":756626432,"raw_latitude":119584840,"longitude_deg":75.6626432,"latitude_deg":11.958484,"altitude":46,"angle":121,"satellites":43,"speed":36,"hex_longitude":"2d193400","hex_latitude":"0720b848","is_valid_coordinates":true} 
[2026-08-25 13:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637356032001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15922839630643200,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806506431143626752,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787645930000,"timestamp_ms":1787645930000,"timestamp_seconds":1787645930,"priority":1,"record_length":96,"hex_timestamp":"000001a038002a10"} 
[2026-08-25 13:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:50: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-25 13:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-25 13:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637356032001,"66":13928,"121":206,"28":31744,"24":36,"16":15922839630643200,"45":1806506431143626752},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637356032001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:50:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:50:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15922839630643200,"km_value":15922839630643.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806506431143626752,"description":"Unknown IO ID 45"} 
[2026-08-25 13:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637356032001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1806506431143626752}} 
[2026-08-25 13:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":161672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:50:09] local.INFO: GPS data processed {"connection_id":161672,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:50:09] local.INFO: Acknowledgment sent {"connection_id":161672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:50:17] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038006c78012d928bc005882bc8000d006e34..."} 
[2026-08-25 13:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038006c78012d928bc005882bc8000d006e34..."} 
[2026-08-25 13:50:17] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038006c78012d928bc005882bc8000d006e34..."} 
[2026-08-25 13:50:17] local.INFO: Packet analysis {"connection_id":161671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:50:17] local.INFO: Extracted packet for processing {"connection_id":161671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:50:17] local.INFO: GPS Element Parsed {"raw_longitude":764578752,"raw_latitude":92810184,"longitude_deg":76.4578752,"latitude_deg":9.2810184,"altitude":13,"angle":110,"satellites":52,"speed":15,"hex_longitude":"2d928bc0","hex_latitude":"05882bc8","is_valid_coordinates":true} 
[2026-08-25 13:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637357312001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123618882584838144,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7891150948323301376,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787645947000,"timestamp_ms":1787645947000,"timestamp_seconds":1787645947,"priority":1,"record_length":96,"hex_timestamp":"000001a038006c78"} 
[2026-08-25 13:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 13:50:17] 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-25 13:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:50: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-25 13:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637357312001,"66":13559,"183":206,"85":14080,"24":15,"16":123618882584838144,"45":-7891150948323301376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-25 13:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637357312001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:50:17] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-25 13:50:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123618882584838144,"km_value":123618882584838.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7891150948323301376,"description":"Unknown IO ID 45"} 
[2026-08-25 13:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637357312001,"power":13559,"unknown_183":206,"unknown_85":14080,"ignition":15,"odometer":null,"unknown_45":-7891150948323301376}} 
[2026-08-25 13:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":161671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:50:17] local.INFO: GPS data processed {"connection_id":161671,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:50:17] local.INFO: Acknowledgment sent {"connection_id":161671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:50:18] local.INFO: TCP Data received {"connection_id":164289,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:50:18] local.INFO: Processing buffer {"connection_id":164289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:50:18] local.INFO: Packet analysis {"connection_id":164289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:50:18] local.INFO: Extracted packet for processing {"connection_id":164289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:50:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637273856001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787645902000,"timestamp_ms":1787645902000,"timestamp_seconds":1787645902,"priority":1,"record_length":96,"hex_timestamp":"000001a037ffbcb0"} 
[2026-08-25 13:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637273856001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637273856001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:50:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:50:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637273856001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":164289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:50:18] local.INFO: GPS data processed {"connection_id":164289,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:50:18] local.INFO: Acknowledgment sent {"connection_id":164289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:50:40] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:50:40] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:50:40] local.INFO: IMEI packet received {"connection_id":161918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":161918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:50:41] local.INFO: TCP Data received {"connection_id":161919,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:50:41] local.INFO: Processing buffer {"connection_id":161919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:50:41] local.INFO: IMEI packet received {"connection_id":161919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":161919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:50:45] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:50:45] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:50:45] local.INFO: IMEI packet received {"connection_id":161918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":161918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:50:46] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:50:46] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:50:46] local.INFO: Packet analysis {"connection_id":161918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:50:46] local.INFO: Extracted packet for processing {"connection_id":161918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637273856001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787645902000,"timestamp_ms":1787645902000,"timestamp_seconds":1787645902,"priority":1,"record_length":96,"hex_timestamp":"000001a037ffbcb0"} 
[2026-08-25 13:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637273856001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637273856001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637273856001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":161918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:50:46] local.INFO: GPS data processed {"connection_id":161918,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:50:46] local.INFO: Acknowledgment sent {"connection_id":161918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:50:46] local.INFO: TCP Data received {"connection_id":161919,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:50:46] local.INFO: Processing buffer {"connection_id":161919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:50:46] local.INFO: IMEI packet received {"connection_id":161919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":161919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:50:47] local.INFO: TCP Data received {"connection_id":161919,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038008000012d9294c005882800000c007934..."} 
[2026-08-25 13:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038008000012d9294c005882800000c007934..."} 
[2026-08-25 13:50:47] local.INFO: Processing buffer {"connection_id":161919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038008000012d9294c005882800000c007934..."} 
[2026-08-25 13:50:47] local.INFO: Packet analysis {"connection_id":161919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:50:47] local.INFO: Extracted packet for processing {"connection_id":161919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:50:47] local.INFO: GPS Element Parsed {"raw_longitude":764581056,"raw_latitude":92809216,"longitude_deg":76.4581056,"latitude_deg":9.2809216,"altitude":12,"angle":121,"satellites":52,"speed":26,"hex_longitude":"2d9294c0","hex_latitude":"05882800","is_valid_coordinates":true} 
[2026-08-25 13:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637362432001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123619002843922432,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7886999192417351680,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787645952000,"timestamp_ms":1787645952000,"timestamp_seconds":1787645952,"priority":1,"record_length":96,"hex_timestamp":"000001a038008000"} 
[2026-08-25 13:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 13:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:50:47] 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-25 13:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637362432001,"66":13341,"183":206,"85":14080,"24":26,"16":123619002843922432,"45":-7886999192417351680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-25 13:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637362432001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:50:47] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-25 13:50:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123619002843922432,"km_value":123619002843922.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7886999192417351680,"description":"Unknown IO ID 45"} 
[2026-08-25 13:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637362432001,"power":13341,"unknown_183":206,"unknown_85":14080,"ignition":26,"odometer":null,"unknown_45":-7886999192417351680}} 
[2026-08-25 13:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":161919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:50:47] local.INFO: GPS data processed {"connection_id":161919,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:50:47] local.INFO: Acknowledgment sent {"connection_id":161919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:50:53] local.INFO: TCP Data received {"connection_id":161673,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:50:53] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:50:53] local.INFO: IMEI packet received {"connection_id":161673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":161673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:50:58] local.INFO: TCP Data received {"connection_id":161673,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:50:58] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:50:58] local.INFO: IMEI packet received {"connection_id":161673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":161673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:50:59] local.INFO: TCP Data received {"connection_id":161673,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038007c18012d193c400720b3a8002d007728..."} 
[2026-08-25 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038007c18012d193c400720b3a8002d007728..."} 
[2026-08-25 13:50:59] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038007c18012d193c400720b3a8002d007728..."} 
[2026-08-25 13:50:59] local.INFO: Packet analysis {"connection_id":161673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:50:59] local.INFO: Extracted packet for processing {"connection_id":161673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119583656,"longitude_deg":75.6628544,"latitude_deg":11.9583656,"altitude":45,"angle":119,"satellites":40,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"0720b3a8","is_valid_coordinates":true} 
[2026-08-25 13:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637358080001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15922968479662080,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816076580350871552,"note":"Value kept but may cause issues"} 
[2026-08-25 13:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787645951000,"timestamp_ms":1787645951000,"timestamp_seconds":1787645951,"priority":1,"record_length":96,"hex_timestamp":"000001a038007c18"} 
[2026-08-25 13:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:50:59] 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-25 13:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-25 13:50:59] 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-25 13:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637358080001,"66":14211,"121":206,"28":31744,"24":0,"16":15922968479662080,"45":1816076580350871552},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637358080001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:50:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15922968479662080,"km_value":15922968479662.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816076580350871552,"description":"Unknown IO ID 45"} 
[2026-08-25 13:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637358080001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1816076580350871552}} 
[2026-08-25 13:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":161673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:50:59] local.INFO: GPS data processed {"connection_id":161673,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:50:59] local.INFO: Acknowledgment sent {"connection_id":161673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:51:17] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:51:17] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:51:17] local.INFO: Packet analysis {"connection_id":161918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:51:17] local.INFO: Extracted packet for processing {"connection_id":161918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637273856001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787645902000,"timestamp_ms":1787645902000,"timestamp_seconds":1787645902,"priority":1,"record_length":96,"hex_timestamp":"000001a037ffbcb0"} 
[2026-08-25 13: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-25 13:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637273856001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637273856001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:51:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637273856001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":161918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:51:17] local.INFO: GPS data processed {"connection_id":161918,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:51:17] local.INFO: Acknowledgment sent {"connection_id":161918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:51:18] local.INFO: TCP Data received {"connection_id":161919,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03800a328012d92a9c005881768000d008432..."} 
[2026-08-25 13:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03800a328012d92a9c005881768000d008432..."} 
[2026-08-25 13:51:18] local.INFO: Processing buffer {"connection_id":161919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03800a328012d92a9c005881768000d008432..."} 
[2026-08-25 13:51:18] local.INFO: Packet analysis {"connection_id":161919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:51:18] local.INFO: Extracted packet for processing {"connection_id":161919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:51:18] local.INFO: GPS Element Parsed {"raw_longitude":764586432,"raw_latitude":92804968,"longitude_deg":76.4586432,"latitude_deg":9.2804968,"altitude":13,"angle":132,"satellites":50,"speed":32,"hex_longitude":"2d92a9c0","hex_latitude":"05881768","is_valid_coordinates":true} 
[2026-08-25 13:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637363712001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123619333556404224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7884465917627203584,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787645961000,"timestamp_ms":1787645961000,"timestamp_seconds":1787645961,"priority":1,"record_length":96,"hex_timestamp":"000001a03800a328"} 
[2026-08-25 13:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 13:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:51: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-25 13:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637363712001,"66":13363,"183":206,"85":14080,"24":32,"16":123619333556404224,"45":-7884465917627203584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-25 13:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637363712001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:51:18] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-25 13:51:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123619333556404224,"km_value":123619333556404.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7884465917627203584,"description":"Unknown IO ID 45"} 
[2026-08-25 13:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637363712001,"power":13363,"unknown_183":206,"unknown_85":14080,"ignition":32,"odometer":null,"unknown_45":-7884465917627203584}} 
[2026-08-25 13:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":161919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:51:18] local.INFO: GPS data processed {"connection_id":161919,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:51:18] local.INFO: Acknowledgment sent {"connection_id":161919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:51:32] local.INFO: TCP Data received {"connection_id":161673,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03800ce20012d193f000720b1f0002d007f29..."} 
[2026-08-25 13:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03800ce20012d193f000720b1f0002d007f29..."} 
[2026-08-25 13:51:32] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03800ce20012d193f000720b1f0002d007f29..."} 
[2026-08-25 13:51:32] local.INFO: Packet analysis {"connection_id":161673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:51:32] local.INFO: Extracted packet for processing {"connection_id":161673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03800"} 
[2026-08-25 13:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119583216,"longitude_deg":75.6629248,"latitude_deg":11.9583216,"altitude":45,"angle":127,"satellites":41,"speed":5,"hex_longitude":"2d193f00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-25 13:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637363456001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15923007134367744,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748908431360,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787645972000,"timestamp_ms":1787645972000,"timestamp_seconds":1787645972,"priority":1,"record_length":96,"hex_timestamp":"000001a03800ce20"} 
[2026-08-25 13:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 13:51:32] 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-25 13:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637363456001,"66":14048,"121":206,"28":31744,"24":5,"16":15923007134367744,"45":1818398748908431360},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637363456001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:51:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:51:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15923007134367744,"km_value":15923007134367.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748908431360,"description":"Unknown IO ID 45"} 
[2026-08-25 13:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637363456001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1818398748908431360}} 
[2026-08-25 13:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":161673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:51:32] local.INFO: GPS data processed {"connection_id":161673,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:51:32] local.INFO: Acknowledgment sent {"connection_id":161673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:51:40] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:51:40] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:51:40] local.INFO: IMEI packet received {"connection_id":161920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":161920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:51:45] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:51:45] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:51:45] local.INFO: IMEI packet received {"connection_id":161920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":161920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:51:45] local.INFO: TCP Data received {"connection_id":162910,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:51:45] local.INFO: Processing buffer {"connection_id":162910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:51:45] local.INFO: IMEI packet received {"connection_id":162910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":162910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:51:45] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:51:45] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:51:45] local.INFO: Packet analysis {"connection_id":161920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:51:45] local.INFO: Extracted packet for processing {"connection_id":161920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637273856001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787645902000,"timestamp_ms":1787645902000,"timestamp_seconds":1787645902,"priority":1,"record_length":96,"hex_timestamp":"000001a037ffbcb0"} 
[2026-08-25 13:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637273856001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637273856001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:51:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637273856001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":161920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:51:46] local.INFO: GPS data processed {"connection_id":161920,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:51:46] local.INFO: Acknowledgment sent {"connection_id":161920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:51:46] local.INFO: TCP Data received {"connection_id":162910,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:51:46] local.INFO: Processing buffer {"connection_id":162910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:51:46] local.INFO: IMEI packet received {"connection_id":162910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":162910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:51:52] local.INFO: TCP Data received {"connection_id":164291,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:51:52] local.INFO: Processing buffer {"connection_id":164291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:51:52] local.INFO: IMEI packet received {"connection_id":164291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":164291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:51:58] local.INFO: TCP Data received {"connection_id":164291,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:51:58] local.INFO: Processing buffer {"connection_id":164291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:51:58] local.INFO: IMEI packet received {"connection_id":164291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":164291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:51:59] local.INFO: TCP Data received {"connection_id":164291,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03801e760012d1980000720b1180036010027..."} 
[2026-08-25 13:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03801e760012d1980000720b1180036010027..."} 
[2026-08-25 13:51:59] local.INFO: Processing buffer {"connection_id":164291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03801e760012d1980000720b1180036010027..."} 
[2026-08-25 13:51:59] local.INFO: Packet analysis {"connection_id":164291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03801"} 
[2026-08-25 13:51:59] local.INFO: Extracted packet for processing {"connection_id":164291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03801"} 
[2026-08-25 13:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756645888,"raw_latitude":119583000,"longitude_deg":75.6645888,"latitude_deg":11.9583,"altitude":54,"angle":256,"satellites":39,"speed":9,"hex_longitude":"2d198000","hex_latitude":"0720b118","is_valid_coordinates":true} 
[2026-08-25 13:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637387008001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15923879012728832,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837609416068786176,"note":"Value kept but may cause issues"} 
[2026-08-25 13:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787646044000,"timestamp_ms":1787646044000,"timestamp_seconds":1787646044,"priority":1,"record_length":96,"hex_timestamp":"000001a03801e760"} 
[2026-08-25 13:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-25 13:51:59] 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-25 13:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637387008001,"66":14461,"121":206,"28":31744,"24":9,"16":15923879012728832,"45":1837609416068786176},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637387008001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:51:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15923879012728832,"km_value":15923879012728.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837609416068786176,"description":"Unknown IO ID 45"} 
[2026-08-25 13:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637387008001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1837609416068786176}} 
[2026-08-25 13:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":164291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:51:59] local.INFO: GPS data processed {"connection_id":164291,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:51:59] local.INFO: Acknowledgment sent {"connection_id":164291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:52:01] local.INFO: TCP Data received {"connection_id":162910,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:52:01] local.INFO: Processing buffer {"connection_id":162910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:52:01] local.INFO: IMEI packet received {"connection_id":162910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":162910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:52:02] local.INFO: TCP Data received {"connection_id":162910,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038026460012d92da4005872328001000b22f..."} 
[2026-08-25 13:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038026460012d92da4005872328001000b22f..."} 
[2026-08-25 13:52:02] local.INFO: Processing buffer {"connection_id":162910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038026460012d92da4005872328001000b22f..."} 
[2026-08-25 13:52:02] local.INFO: Packet analysis {"connection_id":162910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:52:02] local.INFO: Extracted packet for processing {"connection_id":162910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:52:02] local.INFO: GPS Element Parsed {"raw_longitude":764598848,"raw_latitude":92742440,"longitude_deg":76.4598848,"latitude_deg":9.274244,"altitude":16,"angle":178,"satellites":47,"speed":44,"hex_longitude":"2d92da40","hex_latitude":"05872328","is_valid_coordinates":true} 
[2026-08-25 13:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637394176001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123622589141614592,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7864199719319783424,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787646076000,"timestamp_ms":1787646076000,"timestamp_seconds":1787646076,"priority":1,"record_length":96,"hex_timestamp":"000001a038026460"} 
[2026-08-25 13:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-25 13:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:52:02] 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-25 13:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637394176001,"66":13580,"154":206,"85":14080,"24":44,"16":123622589141614592,"45":-7864199719319783424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-25 13:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637394176001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:52:02] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-25 13:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123622589141614592,"km_value":123622589141614.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7864199719319783424,"description":"Unknown IO ID 45"} 
[2026-08-25 13:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637394176001,"power":13580,"unknown_154":206,"unknown_85":14080,"ignition":44,"odometer":null,"unknown_45":-7864199719319783424}} 
[2026-08-25 13:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":162910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:52:02] local.INFO: GPS data processed {"connection_id":162910,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:52:02] local.INFO: Acknowledgment sent {"connection_id":162910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:52:17] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:52:17] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:52:17] local.INFO: Packet analysis {"connection_id":161920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:52:17] local.INFO: Extracted packet for processing {"connection_id":161920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637273856001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787645902000,"timestamp_ms":1787645902000,"timestamp_seconds":1787645902,"priority":1,"record_length":96,"hex_timestamp":"000001a037ffbcb0"} 
[2026-08-25 13:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637273856001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637273856001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:52:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637273856001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":161920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:52:17] local.INFO: GPS data processed {"connection_id":161920,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:52:17] local.INFO: Acknowledgment sent {"connection_id":161920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:52:31] local.INFO: TCP Data received {"connection_id":164291,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038021a28012d195c400720aab80034010a27..."} 
[2026-08-25 13:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038021a28012d195c400720aab80034010a27..."} 
[2026-08-25 13:52:31] local.INFO: Processing buffer {"connection_id":164291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038021a28012d195c400720aab80034010a27..."} 
[2026-08-25 13:52:31] local.INFO: Packet analysis {"connection_id":164291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:52:31] local.INFO: Extracted packet for processing {"connection_id":164291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:52:31] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119581368,"longitude_deg":75.6636736,"latitude_deg":11.9581368,"altitude":52,"angle":266,"satellites":39,"speed":38,"hex_longitude":"2d195c40","hex_latitude":"0720aab8","is_valid_coordinates":true} 
[2026-08-25 13:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637387264001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15924321394360320,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837468678580410368,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787646057000,"timestamp_ms":1787646057000,"timestamp_seconds":1787646057,"priority":1,"record_length":96,"hex_timestamp":"000001a038021a28"} 
[2026-08-25 13:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:52:31] 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-25 13:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-25 13:52:31] 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-25 13:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637387264001,"66":14428,"121":206,"28":31744,"24":38,"16":15924321394360320,"45":1837468678580410368},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637387264001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:52:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15924321394360320,"km_value":15924321394360.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837468678580410368,"description":"Unknown IO ID 45"} 
[2026-08-25 13:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637387264001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1837468678580410368}} 
[2026-08-25 13:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":164291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:52:31] local.INFO: GPS data processed {"connection_id":164291,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:52:31] local.INFO: Acknowledgment sent {"connection_id":164291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:52:40] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:52:40] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:52:40] local.INFO: IMEI packet received {"connection_id":161921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":161921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:52:46] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:52:46] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:52:46] local.INFO: IMEI packet received {"connection_id":161921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":161921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:52:46] local.INFO: TCP Data received {"connection_id":164292,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:52:46] local.INFO: Processing buffer {"connection_id":164292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:52:46] local.INFO: IMEI packet received {"connection_id":164292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":164292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:52:47] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:52:47] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:52:47] local.INFO: Packet analysis {"connection_id":161921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:52:47] local.INFO: Extracted packet for processing {"connection_id":161921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:52:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637273856001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787645902000,"timestamp_ms":1787645902000,"timestamp_seconds":1787645902,"priority":1,"record_length":96,"hex_timestamp":"000001a037ffbcb0"} 
[2026-08-25 13:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637273856001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637273856001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:52:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:52:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637273856001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":161921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:52:47] local.INFO: GPS data processed {"connection_id":161921,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:52:47] local.INFO: Acknowledgment sent {"connection_id":161921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:52:49] local.INFO: TCP Data received {"connection_id":164292,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:52:49] local.INFO: Processing buffer {"connection_id":164292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:52:49] local.INFO: IMEI packet received {"connection_id":164292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":164292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:52:50] local.INFO: TCP Data received {"connection_id":164292,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380375d0012d932e4005858710000f009e31..."} 
[2026-08-25 13:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380375d0012d932e4005858710000f009e31..."} 
[2026-08-25 13:52:50] local.INFO: Processing buffer {"connection_id":164292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380375d0012d932e4005858710000f009e31..."} 
[2026-08-25 13:52:50] local.INFO: Packet analysis {"connection_id":164292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03803"} 
[2026-08-25 13:52:50] local.INFO: Extracted packet for processing {"connection_id":164292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03803"} 
[2026-08-25 13:52:50] local.INFO: GPS Element Parsed {"raw_longitude":764620352,"raw_latitude":92636944,"longitude_deg":76.4620352,"latitude_deg":9.2636944,"altitude":15,"angle":158,"satellites":49,"speed":51,"hex_longitude":"2d932e40","hex_latitude":"05858710","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637411584001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123627820411781120,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7844848314696886272,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787646146000,"timestamp_ms":1787646146000,"timestamp_seconds":1787646146,"priority":1,"record_length":96,"hex_timestamp":"000001a0380375d0"} 
[2026-08-25 13: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-25 13:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 13:52:50] 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-25 13: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-25 13: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-25 13:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:52: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-25 13:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637411584001,"66":12917,"155":206,"85":14080,"24":51,"16":123627820411781120,"45":-7844848314696886272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-25 13:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637411584001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:52:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-25 13:52:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 13:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123627820411781120,"km_value":123627820411781.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7844848314696886272,"description":"Unknown IO ID 45"} 
[2026-08-25 13:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637411584001,"power":12917,"unknown_155":206,"unknown_85":14080,"ignition":51,"odometer":null,"unknown_45":-7844848314696886272}} 
[2026-08-25 13:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":164292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:52:50] local.INFO: GPS data processed {"connection_id":164292,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:52:50] local.INFO: Acknowledgment sent {"connection_id":164292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:52:52] local.INFO: TCP Data received {"connection_id":161922,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:52:52] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:52:52] local.INFO: IMEI packet received {"connection_id":161922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":161922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:52:54] local.INFO: TCP Data received {"connection_id":161922,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:52:54] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:52:54] local.INFO: IMEI packet received {"connection_id":161922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":161922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:52:57] local.INFO: TCP Data received {"connection_id":161922,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:52:57] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:52:57] local.INFO: IMEI packet received {"connection_id":161922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":161922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:52:58] local.INFO: TCP Data received {"connection_id":161922,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0380229c8012d194e000720ab380034011a27..."} 
[2026-08-25 13:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380229c8012d194e000720ab380034011a27..."} 
[2026-08-25 13:52:58] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380229c8012d194e000720ab380034011a27..."} 
[2026-08-25 13:52:58] local.INFO: Packet analysis {"connection_id":161922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:52:58] local.INFO: Extracted packet for processing {"connection_id":161922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756633088,"raw_latitude":119581496,"longitude_deg":75.6633088,"latitude_deg":11.9581496,"altitude":52,"angle":282,"satellites":39,"speed":32,"hex_longitude":"2d194e00","hex_latitude":"0720ab38","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637390592001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15924497488019456,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948162586624,"note":"Value kept but may cause issues"} 
[2026-08-25 13:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787646061000,"timestamp_ms":1787646061000,"timestamp_seconds":1787646061,"priority":1,"record_length":96,"hex_timestamp":"000001a0380229c8"} 
[2026-08-25 13: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-25 13:52:58] 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-25 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 13:52:58] 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-25 13: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-25 13: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-25 13:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637390592001,"66":14396,"121":206,"28":31744,"24":32,"16":15924497488019456,"45":1827405948162586624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637390592001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:52:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:52:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15924497488019456,"km_value":15924497488019.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948162586624,"description":"Unknown IO ID 45"} 
[2026-08-25 13:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637390592001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1827405948162586624}} 
[2026-08-25 13:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":161922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:52:58] local.INFO: GPS data processed {"connection_id":161922,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:52:58] local.INFO: Acknowledgment sent {"connection_id":161922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:53:19] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:53:19] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:53:19] local.INFO: Packet analysis {"connection_id":161921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:53:19] local.INFO: Extracted packet for processing {"connection_id":161921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637273856001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787645902000,"timestamp_ms":1787645902000,"timestamp_seconds":1787645902,"priority":1,"record_length":96,"hex_timestamp":"000001a037ffbcb0"} 
[2026-08-25 13: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-25 13:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637273856001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637273856001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:53:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637273856001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":161921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:53:19] local.INFO: GPS data processed {"connection_id":161921,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:53:19] local.INFO: Acknowledgment sent {"connection_id":161921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:53:23] local.INFO: TCP Data received {"connection_id":164292,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038039510012d933a0005856c90000d00922f..."} 
[2026-08-25 13:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038039510012d933a0005856c90000d00922f..."} 
[2026-08-25 13:53:23] local.INFO: Processing buffer {"connection_id":164292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038039510012d933a0005856c90000d00922f..."} 
[2026-08-25 13:53:23] local.INFO: Packet analysis {"connection_id":164292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03803"} 
[2026-08-25 13:53:23] local.INFO: Extracted packet for processing {"connection_id":164292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03803"} 
[2026-08-25 13:53:23] local.INFO: GPS Element Parsed {"raw_longitude":764623360,"raw_latitude":92630160,"longitude_deg":76.462336,"latitude_deg":9.263016,"altitude":13,"angle":146,"satellites":47,"speed":20,"hex_longitude":"2d933a00","hex_latitude":"05856c90","is_valid_coordinates":true} 
[2026-08-25 13:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637413376001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123628181189033984,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7841259508746219520,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787646154000,"timestamp_ms":1787646154000,"timestamp_seconds":1787646154,"priority":1,"record_length":96,"hex_timestamp":"000001a038039510"} 
[2026-08-25 13:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 13:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:53: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-25 13:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637413376001,"66":13363,"169":206,"85":15360,"24":20,"16":123628181189033984,"45":-7841259508746219520},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 13:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637413376001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:53:23] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 13:53:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123628181189033984,"km_value":123628181189033.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7841259508746219520,"description":"Unknown IO ID 45"} 
[2026-08-25 13:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637413376001,"power":13363,"unknown_169":206,"unknown_85":15360,"ignition":20,"odometer":null,"unknown_45":-7841259508746219520}} 
[2026-08-25 13:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":164292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:53:23] local.INFO: GPS data processed {"connection_id":164292,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:53:23] local.INFO: Acknowledgment sent {"connection_id":164292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:53:30] local.INFO: TCP Data received {"connection_id":161922,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038027bd0012d1943800720ae10003101242b..."} 
[2026-08-25 13:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038027bd0012d1943800720ae10003101242b..."} 
[2026-08-25 13:53:30] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038027bd0012d1943800720ae10003101242b..."} 
[2026-08-25 13:53:30] local.INFO: Packet analysis {"connection_id":161922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:53:30] local.INFO: Extracted packet for processing {"connection_id":161922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756630400,"raw_latitude":119582224,"longitude_deg":75.66304,"latitude_deg":11.9582224,"altitude":49,"angle":292,"satellites":43,"speed":10,"hex_longitude":"2d194380","hex_latitude":"0720ae10","is_valid_coordinates":true} 
[2026-08-25 13:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637391616001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15924639221940224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823394929744492544,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787646082000,"timestamp_ms":1787646082000,"timestamp_seconds":1787646082,"priority":1,"record_length":96,"hex_timestamp":"000001a038027bd0"} 
[2026-08-25 13:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-25 13:53:30] 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-25 13:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637391616001,"66":14450,"121":206,"28":31744,"24":10,"16":15924639221940224,"45":1823394929744492544},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637391616001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:53:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15924639221940224,"km_value":15924639221940.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823394929744492544,"description":"Unknown IO ID 45"} 
[2026-08-25 13:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637391616001,"power":14450,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1823394929744492544}} 
[2026-08-25 13:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":161922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:53:30] local.INFO: GPS data processed {"connection_id":161922,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:53:30] local.INFO: Acknowledgment sent {"connection_id":161922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:53:39] local.INFO: TCP Data received {"connection_id":164293,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:53:39] local.INFO: Processing buffer {"connection_id":164293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:53:39] local.INFO: IMEI packet received {"connection_id":164293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":164293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:53:40] local.INFO: TCP Data received {"connection_id":161923,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:53:40] local.INFO: Processing buffer {"connection_id":161923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:53:40] local.INFO: IMEI packet received {"connection_id":161923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":161923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:53:41] local.INFO: TCP Data received {"connection_id":164293,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:53:41] local.INFO: Processing buffer {"connection_id":164293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:53:41] local.INFO: IMEI packet received {"connection_id":164293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":164293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:53:45] local.INFO: TCP Data received {"connection_id":161923,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:53:45] local.INFO: Processing buffer {"connection_id":161923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:53:45] local.INFO: IMEI packet received {"connection_id":161923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":161923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:53:46] local.INFO: TCP Data received {"connection_id":164293,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:53:46] local.INFO: Processing buffer {"connection_id":164293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:53:46] local.INFO: IMEI packet received {"connection_id":164293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":164293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:53:46] local.INFO: TCP Data received {"connection_id":161923,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:53:46] local.INFO: Processing buffer {"connection_id":161923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a037ffbcb0012d34c14006aa4820000800e630..."} 
[2026-08-25 13:53:46] local.INFO: Packet analysis {"connection_id":161923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:53:46] local.INFO: Extracted packet for processing {"connection_id":161923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a037ff"} 
[2026-08-25 13:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637273856001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787645902000,"timestamp_ms":1787645902000,"timestamp_seconds":1787645902,"priority":1,"record_length":96,"hex_timestamp":"000001a037ffbcb0"} 
[2026-08-25 13:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 13:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637273856001,"66":25604,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637273856001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637273856001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":161923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:53:46] local.INFO: GPS data processed {"connection_id":161923,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:53:46] local.INFO: Acknowledgment sent {"connection_id":161923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:53:47] local.INFO: TCP Data received {"connection_id":164293,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03803a0c8012d933d00058566f0000b009f30..."} 
[2026-08-25 13:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03803a0c8012d933d00058566f0000b009f30..."} 
[2026-08-25 13:53:47] local.INFO: Processing buffer {"connection_id":164293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03803a0c8012d933d00058566f0000b009f30..."} 
[2026-08-25 13:53:47] local.INFO: Packet analysis {"connection_id":164293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03803"} 
[2026-08-25 13:53:47] local.INFO: Extracted packet for processing {"connection_id":164293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03803"} 
[2026-08-25 13:53:47] local.INFO: GPS Element Parsed {"raw_longitude":764624128,"raw_latitude":92628720,"longitude_deg":76.4624128,"latitude_deg":9.262872,"altitude":11,"angle":159,"satellites":48,"speed":24,"hex_longitude":"2d933d00","hex_latitude":"058566f0","is_valid_coordinates":true} 
[2026-08-25 13:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637415424001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123628258498445312,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7837952177771606016,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787646157000,"timestamp_ms":1787646157000,"timestamp_seconds":1787646157,"priority":1,"record_length":96,"hex_timestamp":"000001a03803a0c8"} 
[2026-08-25 13:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 13:53: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-25 13:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:53:47] 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-25 13:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637415424001,"66":13515,"169":206,"85":15360,"24":24,"16":123628258498445312,"45":-7837952177771606016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 13:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637415424001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:53:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 13:53:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123628258498445312,"km_value":123628258498445.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7837952177771606016,"description":"Unknown IO ID 45"} 
[2026-08-25 13:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637415424001,"power":13515,"unknown_169":206,"unknown_85":15360,"ignition":24,"odometer":null,"unknown_45":-7837952177771606016}} 
[2026-08-25 13:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":164293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:53:47] local.INFO: GPS data processed {"connection_id":164293,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:53:47] local.INFO: Acknowledgment sent {"connection_id":164293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:53:51] local.INFO: TCP Data received {"connection_id":164290,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:53:51] local.INFO: Processing buffer {"connection_id":164290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:53:51] local.INFO: IMEI packet received {"connection_id":164290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 13:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":164290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:53:52] local.INFO: TCP Data received {"connection_id":162911,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:53:52] local.INFO: Processing buffer {"connection_id":162911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:53:52] local.INFO: IMEI packet received {"connection_id":162911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":162911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:53:58] local.INFO: TCP Data received {"connection_id":162911,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:53:58] local.INFO: Processing buffer {"connection_id":162911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:53:58] local.INFO: IMEI packet received {"connection_id":162911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":162911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:53:59] local.INFO: TCP Data received {"connection_id":162911,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038028f58012d193a400720b380003101322b..."} 
[2026-08-25 13:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038028f58012d193a400720b380003101322b..."} 
[2026-08-25 13:53:59] local.INFO: Processing buffer {"connection_id":162911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038028f58012d193a400720b380003101322b..."} 
[2026-08-25 13:53:59] local.INFO: Packet analysis {"connection_id":162911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:53:59] local.INFO: Extracted packet for processing {"connection_id":162911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756628032,"raw_latitude":119583616,"longitude_deg":75.6628032,"latitude_deg":11.9583616,"altitude":49,"angle":306,"satellites":43,"speed":28,"hex_longitude":"2d193a40","hex_latitude":"0720b380","is_valid_coordinates":true} 
[2026-08-25 13:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637396992001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15924768070959104,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820439442489217024,"note":"Value kept but may cause issues"} 
[2026-08-25 13:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787646087000,"timestamp_ms":1787646087000,"timestamp_seconds":1787646087,"priority":1,"record_length":96,"hex_timestamp":"000001a038028f58"} 
[2026-08-25 13:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:53:59] 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-25 13:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-25 13:53:59] 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-25 13:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637396992001,"66":14515,"121":206,"28":31744,"24":28,"16":15924768070959104,"45":1820439442489217024},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637396992001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:53:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:53:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15924768070959104,"km_value":15924768070959.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820439442489217024,"description":"Unknown IO ID 45"} 
[2026-08-25 13:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637396992001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1820439442489217024}} 
[2026-08-25 13:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":162911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:53:59] local.INFO: GPS data processed {"connection_id":162911,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:53:59] local.INFO: Acknowledgment sent {"connection_id":162911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:54:17] local.INFO: TCP Data received {"connection_id":161923,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:54:17] local.INFO: Processing buffer {"connection_id":161923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:54:17] local.INFO: Packet analysis {"connection_id":161923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:54:17] local.INFO: Extracted packet for processing {"connection_id":161923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":16,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637350912001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787646203000,"timestamp_ms":1787646203000,"timestamp_seconds":1787646203,"priority":1,"record_length":96,"hex_timestamp":"000001a038045478"} 
[2026-08-25 13:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637350912001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637350912001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:54:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637350912001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":161923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:54:17] local.INFO: GPS data processed {"connection_id":161923,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:54:17] local.INFO: Acknowledgment sent {"connection_id":161923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:54:18] local.INFO: TCP Data received {"connection_id":164293,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03803c7d8012d93490005854548000c00a12f..."} 
[2026-08-25 13:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03803c7d8012d93490005854548000c00a12f..."} 
[2026-08-25 13:54:18] local.INFO: Processing buffer {"connection_id":164293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03803c7d8012d93490005854548000c00a12f..."} 
[2026-08-25 13:54:18] local.INFO: Packet analysis {"connection_id":164293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03803"} 
[2026-08-25 13:54:18] local.INFO: Extracted packet for processing {"connection_id":164293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03803"} 
[2026-08-25 13:54:18] local.INFO: GPS Element Parsed {"raw_longitude":764627200,"raw_latitude":92620104,"longitude_deg":76.46272,"latitude_deg":9.2620104,"altitude":12,"angle":161,"satellites":47,"speed":44,"hex_longitude":"2d934900","hex_latitude":"05854548","is_valid_coordinates":true} 
[2026-08-25 13:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637416192001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123628700880076800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7837107752841842688,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787646167000,"timestamp_ms":1787646167000,"timestamp_seconds":1787646167,"priority":1,"record_length":96,"hex_timestamp":"000001a03803c7d8"} 
[2026-08-25 13:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 13:54:18] 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-25 13:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:54: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-25 13:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637416192001,"66":13493,"169":206,"85":15360,"24":44,"16":123628700880076800,"45":-7837107752841842688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 13:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637416192001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:54:18] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 13:54:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123628700880076800,"km_value":123628700880076.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7837107752841842688,"description":"Unknown IO ID 45"} 
[2026-08-25 13:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637416192001,"power":13493,"unknown_169":206,"unknown_85":15360,"ignition":44,"odometer":null,"unknown_45":-7837107752841842688}} 
[2026-08-25 13:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":164293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:54:18] local.INFO: GPS data processed {"connection_id":164293,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:54:18] local.INFO: Acknowledgment sent {"connection_id":164293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:54:31] local.INFO: TCP Data received {"connection_id":162911,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038029ef8012d1930400720b9d8003001262b..."} 
[2026-08-25 13:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038029ef8012d1930400720b9d8003001262b..."} 
[2026-08-25 13:54:31] local.INFO: Processing buffer {"connection_id":162911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038029ef8012d1930400720b9d8003001262b..."} 
[2026-08-25 13:54:31] local.INFO: Packet analysis {"connection_id":162911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:54:31] local.INFO: Extracted packet for processing {"connection_id":162911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:54:31] local.INFO: GPS Element Parsed {"raw_longitude":756625472,"raw_latitude":119585240,"longitude_deg":75.6625472,"latitude_deg":11.958524,"altitude":48,"angle":294,"satellites":43,"speed":31,"hex_longitude":"2d193040","hex_latitude":"0720b9d8","is_valid_coordinates":true} 
[2026-08-25 13:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637398272001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15924914099847168,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817835798954999808,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787646091000,"timestamp_ms":1787646091000,"timestamp_seconds":1787646091,"priority":1,"record_length":96,"hex_timestamp":"000001a038029ef8"} 
[2026-08-25 13:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:54:31] 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-25 13:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 13:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637398272001,"66":14048,"121":206,"28":31744,"24":31,"16":15924914099847168,"45":1817835798954999808},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637398272001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:54:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15924914099847168,"km_value":15924914099847.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817835798954999808,"description":"Unknown IO ID 45"} 
[2026-08-25 13:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637398272001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1817835798954999808}} 
[2026-08-25 13:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":162911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:54:31] local.INFO: GPS data processed {"connection_id":162911,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:54:31] local.INFO: Acknowledgment sent {"connection_id":162911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:54:40] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:54:40] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:54:40] local.INFO: IMEI packet received {"connection_id":161674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":161674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:54:41] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:54:41] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:54:41] local.INFO: IMEI packet received {"connection_id":161675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":161675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:54:44] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:54:44] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:54:44] local.INFO: IMEI packet received {"connection_id":161675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":161675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:54:45] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:54:45] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:54:45] local.INFO: IMEI packet received {"connection_id":161674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":161674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:54:46] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:54:46] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:54:46] local.INFO: Packet analysis {"connection_id":161674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:54:46] local.INFO: Extracted packet for processing {"connection_id":161674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":16,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637350912001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646203000,"timestamp_ms":1787646203000,"timestamp_seconds":1787646203,"priority":1,"record_length":96,"hex_timestamp":"000001a038045478"} 
[2026-08-25 13:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637350912001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637350912001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637350912001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":161674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:54:46] local.INFO: GPS data processed {"connection_id":161674,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:54:46] local.INFO: Acknowledgment sent {"connection_id":161674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:54:46] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:54:46] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:54:46] local.INFO: IMEI packet received {"connection_id":161675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":161675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:54:47] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03803e718012d9354c0058522f8000b00a231..."} 
[2026-08-25 13:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03803e718012d9354c0058522f8000b00a231..."} 
[2026-08-25 13:54:47] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03803e718012d9354c0058522f8000b00a231..."} 
[2026-08-25 13:54:47] local.INFO: Packet analysis {"connection_id":161675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03803"} 
[2026-08-25 13:54:47] local.INFO: Extracted packet for processing {"connection_id":161675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03803"} 
[2026-08-25 13:54:47] local.INFO: GPS Element Parsed {"raw_longitude":764630208,"raw_latitude":92611320,"longitude_deg":76.4630208,"latitude_deg":9.261132,"altitude":11,"angle":162,"satellites":49,"speed":44,"hex_longitude":"2d9354c0","hex_latitude":"058522f8","is_valid_coordinates":true} 
[2026-08-25 13:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637418752001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123629151851642880,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7833730053123520512,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787646175000,"timestamp_ms":1787646175000,"timestamp_seconds":1787646175,"priority":1,"record_length":96,"hex_timestamp":"000001a03803e718"} 
[2026-08-25 13:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 13:54:47] 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-25 13:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:54:47] 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-25 13:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637418752001,"66":13450,"169":206,"85":15360,"24":44,"16":123629151851642880,"45":-7833730053123520512},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 13:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637418752001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:54:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 13:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123629151851642880,"km_value":123629151851642.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7833730053123520512,"description":"Unknown IO ID 45"} 
[2026-08-25 13:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637418752001,"power":13450,"unknown_169":206,"unknown_85":15360,"ignition":44,"odometer":null,"unknown_45":-7833730053123520512}} 
[2026-08-25 13:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":161675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:54:47] local.INFO: GPS data processed {"connection_id":161675,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:54:47] local.INFO: Acknowledgment sent {"connection_id":161675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:54:50] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038040e28012d935f400584fec8000b00a830..."} 
[2026-08-25 13:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038040e28012d935f400584fec8000b00a830..."} 
[2026-08-25 13:54:50] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038040e28012d935f400584fec8000b00a830..."} 
[2026-08-25 13:54:50] local.INFO: Packet analysis {"connection_id":161675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:54:50] local.INFO: Extracted packet for processing {"connection_id":161675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:54:50] local.INFO: GPS Element Parsed {"raw_longitude":764632896,"raw_latitude":92602056,"longitude_deg":76.4632896,"latitude_deg":9.2602056,"altitude":11,"angle":168,"satellites":48,"speed":33,"hex_longitude":"2d935f40","hex_latitude":"0584fec8","is_valid_coordinates":true} 
[2026-08-25 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-25 13:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637420800001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123629620003078144,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7830422722149419008,"note":"Value kept but may cause issues"} 
[2026-08-25 13:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787646185000,"timestamp_ms":1787646185000,"timestamp_seconds":1787646185,"priority":1,"record_length":96,"hex_timestamp":"000001a038040e28"} 
[2026-08-25 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-25 13:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 13:54:50] 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-25 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-25 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-25 13:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:54: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-25 13:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637420800001,"66":13059,"169":206,"85":15360,"24":33,"16":123629620003078144,"45":-7830422722149419008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 13:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637420800001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:54:50] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 13:54:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123629620003078144,"km_value":123629620003078.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7830422722149419008,"description":"Unknown IO ID 45"} 
[2026-08-25 13:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637420800001,"power":13059,"unknown_169":206,"unknown_85":15360,"ignition":33,"odometer":null,"unknown_45":-7830422722149419008}} 
[2026-08-25 13:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":161675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:54:50] local.INFO: GPS data processed {"connection_id":161675,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:54:50] local.INFO: Acknowledgment sent {"connection_id":161675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:54:57] local.INFO: TCP Data received {"connection_id":162912,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:54:57] local.INFO: Processing buffer {"connection_id":162912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:54:57] local.INFO: IMEI packet received {"connection_id":162912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":162912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:55:01] local.INFO: TCP Data received {"connection_id":162912,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:55:01] local.INFO: Processing buffer {"connection_id":162912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:55:01] local.INFO: IMEI packet received {"connection_id":162912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":162912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:55:02] local.INFO: TCP Data received {"connection_id":162912,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03802c9f0012d190dc00720c8500032012927..."} 
[2026-08-25 13:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03802c9f0012d190dc00720c8500032012927..."} 
[2026-08-25 13:55:02] local.INFO: Processing buffer {"connection_id":162912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03802c9f0012d190dc00720c8500032012927..."} 
[2026-08-25 13:55:02] local.INFO: Packet analysis {"connection_id":162912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:55:02] local.INFO: Extracted packet for processing {"connection_id":162912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03802"} 
[2026-08-25 13:55:02] local.INFO: GPS Element Parsed {"raw_longitude":756616640,"raw_latitude":119588944,"longitude_deg":75.661664,"latitude_deg":11.9588944,"altitude":50,"angle":297,"satellites":39,"speed":28,"hex_longitude":"2d190dc0","hex_latitude":"0720c850","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637399296001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15925369366380544,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815021049188308992,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787646102000,"timestamp_ms":1787646102000,"timestamp_seconds":1787646102,"priority":1,"record_length":96,"hex_timestamp":"000001a03802c9f0"} 
[2026-08-25 13: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-25 13:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-25 13:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637399296001,"66":14080,"121":206,"28":31744,"24":28,"16":15925369366380544,"45":1815021049188308992},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637399296001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:55:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:55:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15925369366380544,"km_value":15925369366380.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815021049188308992,"description":"Unknown IO ID 45"} 
[2026-08-25 13:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637399296001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1815021049188308992}} 
[2026-08-25 13:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":162912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:55:02] local.INFO: GPS data processed {"connection_id":162912,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:55:02] local.INFO: Acknowledgment sent {"connection_id":162912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:55:17] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:55:17] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:55:17] local.INFO: Packet analysis {"connection_id":161674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:55:17] local.INFO: Extracted packet for processing {"connection_id":161674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":16,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637350912001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787646203000,"timestamp_ms":1787646203000,"timestamp_seconds":1787646203,"priority":1,"record_length":96,"hex_timestamp":"000001a038045478"} 
[2026-08-25 13:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637350912001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637350912001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637350912001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":161674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:55:17] local.INFO: GPS data processed {"connection_id":161674,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:55:17] local.INFO: Acknowledgment sent {"connection_id":161674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:55:21] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03805cf60012d93ee4005836228000c00a033..."} 
[2026-08-25 13:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03805cf60012d93ee4005836228000c00a033..."} 
[2026-08-25 13:55:21] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03805cf60012d93ee4005836228000c00a033..."} 
[2026-08-25 13:55:21] local.INFO: Packet analysis {"connection_id":161675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03805"} 
[2026-08-25 13:55:21] local.INFO: Extracted packet for processing {"connection_id":161675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03805"} 
[2026-08-25 13:55:21] local.INFO: GPS Element Parsed {"raw_longitude":764669504,"raw_latitude":92496424,"longitude_deg":76.4669504,"latitude_deg":9.2496424,"altitude":12,"angle":160,"satellites":51,"speed":66,"hex_longitude":"2d93ee40","hex_latitude":"05836228","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637451264001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123635040251805696,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7790945856692725760,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787646300000,"timestamp_ms":1787646300000,"timestamp_seconds":1787646300,"priority":1,"record_length":96,"hex_timestamp":"000001a03805cf60"} 
[2026-08-25 13: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-25 13:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 13:55:21] 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-25 13: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-25 13: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-25 13:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:55: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-25 13:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637451264001,"66":13656,"168":206,"85":15360,"24":66,"16":123635040251805696,"45":-7790945856692725760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 13:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637451264001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:55:21] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 13:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123635040251805696,"km_value":123635040251805.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7790945856692725760,"description":"Unknown IO ID 45"} 
[2026-08-25 13:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637451264001,"power":13656,"unknown_168":206,"unknown_85":15360,"ignition":66,"odometer":null,"unknown_45":-7790945856692725760}} 
[2026-08-25 13:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":161675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:55:21] local.INFO: GPS data processed {"connection_id":161675,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:55:21] local.INFO: Acknowledgment sent {"connection_id":161675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:55:34] local.INFO: TCP Data received {"connection_id":162912,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03805a080012d18cf0007212d400041015127..."} 
[2026-08-25 13:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03805a080012d18cf0007212d400041015127..."} 
[2026-08-25 13:55:34] local.INFO: Processing buffer {"connection_id":162912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03805a080012d18cf0007212d400041015127..."} 
[2026-08-25 13:55:34] local.INFO: Packet analysis {"connection_id":162912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03805"} 
[2026-08-25 13:55:34] local.INFO: Extracted packet for processing {"connection_id":162912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03805"} 
[2026-08-25 13:55:34] local.INFO: GPS Element Parsed {"raw_longitude":756600576,"raw_latitude":119614784,"longitude_deg":75.6600576,"latitude_deg":11.9614784,"altitude":65,"angle":337,"satellites":39,"speed":34,"hex_longitude":"2d18cf00","hex_latitude":"07212d40","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637447680001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15926937029443584,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926406557696,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787646288000,"timestamp_ms":1787646288000,"timestamp_seconds":1787646288,"priority":1,"record_length":96,"hex_timestamp":"000001a03805a080"} 
[2026-08-25 13: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-25 13:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 13:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637447680001,"66":14189,"121":206,"28":31744,"24":34,"16":15926937029443584,"45":1788280926406557696},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637447680001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:55:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:55:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15926937029443584,"km_value":15926937029443.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926406557696,"description":"Unknown IO ID 45"} 
[2026-08-25 13:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637447680001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1788280926406557696}} 
[2026-08-25 13:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":162912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:55:34] local.INFO: GPS data processed {"connection_id":162912,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:55:34] local.INFO: Acknowledgment sent {"connection_id":162912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:55:40] local.INFO: TCP Data received {"connection_id":164294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:55:40] local.INFO: Processing buffer {"connection_id":164294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:55:40] local.INFO: IMEI packet received {"connection_id":164294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":164294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:55:41] local.INFO: TCP Data received {"connection_id":164295,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:55:41] local.INFO: Processing buffer {"connection_id":164295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:55:41] local.INFO: IMEI packet received {"connection_id":164295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":164295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:55:41] local.INFO: TCP Data received {"connection_id":164295,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:55:41] local.INFO: Processing buffer {"connection_id":164295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:55:41] local.INFO: IMEI packet received {"connection_id":164295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":164295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:55:45] local.INFO: TCP Data received {"connection_id":164294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:55:45] local.INFO: Processing buffer {"connection_id":164294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:55:45] local.INFO: IMEI packet received {"connection_id":164294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":164294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:55:46] local.INFO: TCP Data received {"connection_id":164294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:55:46] local.INFO: Processing buffer {"connection_id":164294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:55:46] local.INFO: Packet analysis {"connection_id":164294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:55:46] local.INFO: Extracted packet for processing {"connection_id":164294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":16,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637350912001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646203000,"timestamp_ms":1787646203000,"timestamp_seconds":1787646203,"priority":1,"record_length":96,"hex_timestamp":"000001a038045478"} 
[2026-08-25 13:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637350912001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637350912001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637350912001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":164294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:55:46] local.INFO: GPS data processed {"connection_id":164294,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:55:46] local.INFO: Acknowledgment sent {"connection_id":164294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:55:46] local.INFO: TCP Data received {"connection_id":164295,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:55:46] local.INFO: Processing buffer {"connection_id":164295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:55:46] local.INFO: IMEI packet received {"connection_id":164295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":164295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:55:47] local.INFO: TCP Data received {"connection_id":164295,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03805e6d0012d93f9c005834178000b00a232..."} 
[2026-08-25 13:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03805e6d0012d93f9c005834178000b00a232..."} 
[2026-08-25 13:55:47] local.INFO: Processing buffer {"connection_id":164295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03805e6d0012d93f9c005834178000b00a232..."} 
[2026-08-25 13:55:47] local.INFO: Packet analysis {"connection_id":164295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03805"} 
[2026-08-25 13:55:47] local.INFO: Extracted packet for processing {"connection_id":164295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03805"} 
[2026-08-25 13:55:47] local.INFO: GPS Element Parsed {"raw_longitude":764672448,"raw_latitude":92488056,"longitude_deg":76.4672448,"latitude_deg":9.2488056,"altitude":11,"angle":162,"satellites":50,"speed":47,"hex_longitude":"2d93f9c0","hex_latitude":"05834178","is_valid_coordinates":true} 
[2026-08-25 13:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637452800001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123635469748535296,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7787216313253746688,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787646306000,"timestamp_ms":1787646306000,"timestamp_seconds":1787646306,"priority":1,"record_length":96,"hex_timestamp":"000001a03805e6d0"} 
[2026-08-25 13:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 13:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:55:47] 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-25 13:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637452800001,"66":13048,"168":206,"85":15360,"24":47,"16":123635469748535296,"45":-7787216313253746688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 13:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637452800001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:55:47] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 13:55:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123635469748535296,"km_value":123635469748535.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7787216313253746688,"description":"Unknown IO ID 45"} 
[2026-08-25 13:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637452800001,"power":13048,"unknown_168":206,"unknown_85":15360,"ignition":47,"odometer":null,"unknown_45":-7787216313253746688}} 
[2026-08-25 13:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":164295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:55:47] local.INFO: GPS data processed {"connection_id":164295,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:55:47] local.INFO: Acknowledgment sent {"connection_id":164295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:55:52] local.INFO: TCP Data received {"connection_id":162913,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:55:52] local.INFO: Processing buffer {"connection_id":162913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:55:52] local.INFO: IMEI packet received {"connection_id":162913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":162913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:55:57] local.INFO: TCP Data received {"connection_id":162913,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:55:57] local.INFO: Processing buffer {"connection_id":162913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:55:57] local.INFO: IMEI packet received {"connection_id":162913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":162913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:55:58] local.INFO: TCP Data received {"connection_id":162913,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03805a850012d18cb00072133800041014528..."} 
[2026-08-25 13:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03805a850012d18cb00072133800041014528..."} 
[2026-08-25 13:55:58] local.INFO: Processing buffer {"connection_id":162913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03805a850012d18cb00072133800041014528..."} 
[2026-08-25 13:55:58] local.INFO: Packet analysis {"connection_id":162913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03805"} 
[2026-08-25 13:55:58] local.INFO: Extracted packet for processing {"connection_id":162913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03805"} 
[2026-08-25 13:55:58] local.INFO: GPS Element Parsed {"raw_longitude":756599552,"raw_latitude":119616384,"longitude_deg":75.6599552,"latitude_deg":11.9616384,"altitude":65,"angle":325,"satellites":40,"speed":38,"hex_longitude":"2d18cb00","hex_latitude":"07213380","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637449728001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15927031518724096,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787647607710760960,"note":"Value kept but may cause issues"} 
[2026-08-25 13:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787646290000,"timestamp_ms":1787646290000,"timestamp_seconds":1787646290,"priority":1,"record_length":96,"hex_timestamp":"000001a03805a850"} 
[2026-08-25 13: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-25 13:55:58] 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-25 13: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-25 13:55:58] 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-25 13: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-25 13: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-25 13:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637449728001,"66":14135,"121":206,"28":31744,"24":38,"16":15927031518724096,"45":1787647607710760960},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 13:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637449728001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:55:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 13:55:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15927031518724096,"km_value":15927031518724.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787647607710760960,"description":"Unknown IO ID 45"} 
[2026-08-25 13:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637449728001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1787647607710760960}} 
[2026-08-25 13:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":162913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:55:59] local.INFO: GPS data processed {"connection_id":162913,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:55:59] local.INFO: Acknowledgment sent {"connection_id":162913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:56:18] local.INFO: TCP Data received {"connection_id":164294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:56:18] local.INFO: Processing buffer {"connection_id":164294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:56:18] local.INFO: Packet analysis {"connection_id":164294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:56:18] local.INFO: Extracted packet for processing {"connection_id":164294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":16,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637350912001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787646203000,"timestamp_ms":1787646203000,"timestamp_seconds":1787646203,"priority":1,"record_length":96,"hex_timestamp":"000001a038045478"} 
[2026-08-25 13: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-25 13:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637350912001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637350912001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:56:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637350912001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":164294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:56:18] local.INFO: GPS data processed {"connection_id":164294,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:56:18] local.INFO: Acknowledgment sent {"connection_id":164294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:56:18] local.INFO: TCP Data received {"connection_id":164295,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038060610012d94088005831f18000b00a231..."} 
[2026-08-25 13:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038060610012d94088005831f18000b00a231..."} 
[2026-08-25 13:56:18] local.INFO: Processing buffer {"connection_id":164295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038060610012d94088005831f18000b00a231..."} 
[2026-08-25 13:56:18] local.INFO: Packet analysis {"connection_id":164295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03806"} 
[2026-08-25 13:56:18] local.INFO: Extracted packet for processing {"connection_id":164295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03806"} 
[2026-08-25 13:56:18] local.INFO: GPS Element Parsed {"raw_longitude":764676224,"raw_latitude":92479256,"longitude_deg":76.4676224,"latitude_deg":9.2479256,"altitude":11,"angle":162,"satellites":49,"speed":52,"hex_longitude":"2d940880","hex_latitude":"05831f18","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637454336001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123635933605003264,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7783979351023716352,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787646314000,"timestamp_ms":1787646314000,"timestamp_seconds":1787646314,"priority":1,"record_length":96,"hex_timestamp":"000001a038060610"} 
[2026-08-25 13: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-25 13:56: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-25 13: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":248,"data_length":795,"current_offset":136} 
[2026-08-25 13:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13: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-25 13:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637454336001,"66":13515,"168":206,"85":15360,"24":52,"16":123635933605003264,"45":-7783979351023716352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 13:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637454336001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:56:18] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 13:56:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123635933605003264,"km_value":123635933605003.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7783979351023716352,"description":"Unknown IO ID 45"} 
[2026-08-25 13:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637454336001,"power":13515,"unknown_168":206,"unknown_85":15360,"ignition":52,"odometer":null,"unknown_45":-7783979351023716352}} 
[2026-08-25 13:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":164295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:56:18] local.INFO: GPS data processed {"connection_id":164295,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:56:18] local.INFO: Acknowledgment sent {"connection_id":164295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:56:30] local.INFO: TCP Data received {"connection_id":162913,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038064490012d185f40072183680052012328..."} 
[2026-08-25 13:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038064490012d185f40072183680052012328..."} 
[2026-08-25 13:56:30] local.INFO: Processing buffer {"connection_id":162913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038064490012d185f40072183680052012328..."} 
[2026-08-25 13:56:30] local.INFO: Packet analysis {"connection_id":162913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03806"} 
[2026-08-25 13:56:30] local.INFO: Extracted packet for processing {"connection_id":162913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03806"} 
[2026-08-25 13:56:30] local.INFO: GPS Element Parsed {"raw_longitude":756571968,"raw_latitude":119636840,"longitude_deg":75.6571968,"latitude_deg":11.963684,"altitude":82,"angle":291,"satellites":40,"speed":43,"hex_longitude":"2d185f40","hex_latitude":"07218368","is_valid_coordinates":true} 
[2026-08-25 13:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637459968001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15928882649628672,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758514947626717184,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787646330000,"timestamp_ms":1787646330000,"timestamp_seconds":1787646330,"priority":1,"record_length":96,"hex_timestamp":"000001a038064490"} 
[2026-08-25 13:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-25 13:56:30] 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-25 13:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637459968001,"66":13928,"120":206,"28":31744,"24":43,"16":15928882649628672,"45":1758514947626717184},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637459968001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:56:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:56:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15928882649628672,"km_value":15928882649628.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758514947626717184,"description":"Unknown IO ID 45"} 
[2026-08-25 13:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637459968001,"power":13928,"unknown_120":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1758514947626717184}} 
[2026-08-25 13:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":162913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:56:30] local.INFO: GPS data processed {"connection_id":162913,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:56:30] local.INFO: Acknowledgment sent {"connection_id":162913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:56:40] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:56:40] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:56:40] local.INFO: IMEI packet received {"connection_id":161676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":161676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:56:41] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:56:41] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:56:41] local.INFO: IMEI packet received {"connection_id":161677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":161677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:56:45] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:56:45] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:56:45] local.INFO: IMEI packet received {"connection_id":161676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":161676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:56:46] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:56:46] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:56:46] local.INFO: IMEI packet received {"connection_id":161677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":161677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:56:46] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:56:46] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:56:46] local.INFO: Packet analysis {"connection_id":161676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:56:46] local.INFO: Extracted packet for processing {"connection_id":161676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":16,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637350912001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646203000,"timestamp_ms":1787646203000,"timestamp_seconds":1787646203,"priority":1,"record_length":96,"hex_timestamp":"000001a038045478"} 
[2026-08-25 13:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637350912001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637350912001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:56:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637350912001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":161676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:56:46] local.INFO: GPS data processed {"connection_id":161676,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:56:46] local.INFO: Acknowledgment sent {"connection_id":161676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:56:46] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038062168012d9413c00582fac8000b00a430..."} 
[2026-08-25 13:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038062168012d9413c00582fac8000b00a430..."} 
[2026-08-25 13:56:46] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038062168012d9413c00582fac8000b00a430..."} 
[2026-08-25 13:56:46] local.INFO: Packet analysis {"connection_id":161677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03806"} 
[2026-08-25 13:56:46] local.INFO: Extracted packet for processing {"connection_id":161677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03806"} 
[2026-08-25 13:56:46] local.INFO: GPS Element Parsed {"raw_longitude":764679104,"raw_latitude":92469960,"longitude_deg":76.4679104,"latitude_deg":9.246996,"altitude":11,"angle":164,"satellites":48,"speed":57,"hex_longitude":"2d9413c0","hex_latitude":"0582fac8","is_valid_coordinates":true} 
[2026-08-25 13:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637456384001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123636406051405824,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7779827595119486976,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646321000,"timestamp_ms":1787646321000,"timestamp_seconds":1787646321,"priority":1,"record_length":96,"hex_timestamp":"000001a038062168"} 
[2026-08-25 13:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 13:56:46] 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-25 13:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:56:46] 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-25 13:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637456384001,"66":13374,"168":206,"85":15360,"24":57,"16":123636406051405824,"45":-7779827595119486976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 13:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637456384001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:56:46] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 13:56:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123636406051405824,"km_value":123636406051405.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7779827595119486976,"description":"Unknown IO ID 45"} 
[2026-08-25 13:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637456384001,"power":13374,"unknown_168":206,"unknown_85":15360,"ignition":57,"odometer":null,"unknown_45":-7779827595119486976}} 
[2026-08-25 13:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":161677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:56:46] local.INFO: GPS data processed {"connection_id":161677,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:56:46] local.INFO: Acknowledgment sent {"connection_id":161677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:56:52] local.INFO: TCP Data received {"connection_id":161924,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:56:52] local.INFO: Processing buffer {"connection_id":161924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:56:52] local.INFO: IMEI packet received {"connection_id":161924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":161924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:56:58] local.INFO: TCP Data received {"connection_id":161924,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:56:58] local.INFO: Processing buffer {"connection_id":161924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:56:58] local.INFO: IMEI packet received {"connection_id":161924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":161924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:56:59] local.INFO: TCP Data received {"connection_id":161924,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038066ba0012d183c40072193180053012526..."} 
[2026-08-25 13:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038066ba0012d183c40072193180053012526..."} 
[2026-08-25 13:56:59] local.INFO: Processing buffer {"connection_id":161924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038066ba0012d183c40072193180053012526..."} 
[2026-08-25 13:56:59] local.INFO: Packet analysis {"connection_id":161924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03806"} 
[2026-08-25 13:56:59] local.INFO: Extracted packet for processing {"connection_id":161924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03806"} 
[2026-08-25 13:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756563008,"raw_latitude":119640856,"longitude_deg":75.6563008,"latitude_deg":11.9640856,"altitude":83,"angle":293,"satellites":38,"speed":35,"hex_longitude":"2d183c40","hex_latitude":"07219318","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637460480001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929346506096640,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756192779068991488,"note":"Value kept but may cause issues"} 
[2026-08-25 13:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787646340000,"timestamp_ms":1787646340000,"timestamp_seconds":1787646340,"priority":1,"record_length":96,"hex_timestamp":"000001a038066ba0"} 
[2026-08-25 13: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-25 13:56:59] 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-25 13: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-25 13:56:59] 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-25 13: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-25 13: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-25 13:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637460480001,"66":13820,"120":206,"28":31744,"24":35,"16":15929346506096640,"45":1756192779068991488},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637460480001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:56:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:56:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929346506096640,"km_value":15929346506096.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756192779068991488,"description":"Unknown IO ID 45"} 
[2026-08-25 13:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637460480001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1756192779068991488}} 
[2026-08-25 13:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":161924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:56:59] local.INFO: GPS data processed {"connection_id":161924,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:56:59] local.INFO: Acknowledgment sent {"connection_id":161924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:57:17] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:57:17] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:57:17] local.INFO: Packet analysis {"connection_id":161676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:57:17] local.INFO: Extracted packet for processing {"connection_id":161676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":16,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637350912001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787646203000,"timestamp_ms":1787646203000,"timestamp_seconds":1787646203,"priority":1,"record_length":96,"hex_timestamp":"000001a038045478"} 
[2026-08-25 13:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637350912001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637350912001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:57:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637350912001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":161676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:57:17] local.INFO: GPS data processed {"connection_id":161676,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:57:17] local.INFO: Acknowledgment sent {"connection_id":161676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:57:17] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038077540012d9486400581acc8000a00aa30..."} 
[2026-08-25 13:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038077540012d9486400581acc8000a00aa30..."} 
[2026-08-25 13:57:17] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038077540012d9486400581acc8000a00aa30..."} 
[2026-08-25 13:57:17] local.INFO: Packet analysis {"connection_id":161677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03807"} 
[2026-08-25 13:57:17] local.INFO: Extracted packet for processing {"connection_id":161677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03807"} 
[2026-08-25 13:57:17] local.INFO: GPS Element Parsed {"raw_longitude":764708416,"raw_latitude":92384456,"longitude_deg":76.4708416,"latitude_deg":9.2384456,"altitude":10,"angle":170,"satellites":48,"speed":15,"hex_longitude":"2d948640","hex_latitude":"0581acc8","is_valid_coordinates":true} 
[2026-08-25 13:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637476608001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123640812687851520,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7743939535611959296,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787646408000,"timestamp_ms":1787646408000,"timestamp_seconds":1787646408,"priority":1,"record_length":96,"hex_timestamp":"000001a038077540"} 
[2026-08-25 13:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-25 13:57:17] 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-25 13:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:57: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-25 13:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637476608001,"66":13406,"17":206,"85":15360,"24":15,"16":123640812687851520,"45":-7743939535611959296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 13:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637476608001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:57:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123640812687851520,"km_value":123640812687851.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7743939535611959296,"description":"Unknown IO ID 45"} 
[2026-08-25 13:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637476608001,"power":13406,"axis_x":206,"unknown_85":15360,"ignition":15,"odometer":null,"unknown_45":-7743939535611959296}} 
[2026-08-25 13:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":161677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:57:17] local.INFO: GPS data processed {"connection_id":161677,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:57:17] local.INFO: Acknowledgment sent {"connection_id":161677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:57:30] local.INFO: TCP Data received {"connection_id":161924,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0380686f8012d182a8007219c380051013627..."} 
[2026-08-25 13:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380686f8012d182a8007219c380051013627..."} 
[2026-08-25 13:57:30] local.INFO: Processing buffer {"connection_id":161924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380686f8012d182a8007219c380051013627..."} 
[2026-08-25 13:57:30] local.INFO: Packet analysis {"connection_id":161924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03806"} 
[2026-08-25 13:57:30] local.INFO: Extracted packet for processing {"connection_id":161924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03806"} 
[2026-08-25 13:57:30] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643192,"longitude_deg":75.6558464,"latitude_deg":11.9643192,"altitude":81,"angle":310,"satellites":39,"speed":17,"hex_longitude":"2d182a80","hex_latitude":"07219c38","is_valid_coordinates":true} 
[2026-08-25 13:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637463040001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929595614199808,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746341154885146624,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787646347000,"timestamp_ms":1787646347000,"timestamp_seconds":1787646347,"priority":1,"record_length":96,"hex_timestamp":"000001a0380686f8"} 
[2026-08-25 13:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-25 13:57:30] 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-25 13:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637463040001,"66":13993,"120":206,"28":31744,"24":17,"16":15929595614199808,"45":1746341154885146624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637463040001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:57:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:57:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929595614199808,"km_value":15929595614199.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746341154885146624,"description":"Unknown IO ID 45"} 
[2026-08-25 13:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637463040001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1746341154885146624}} 
[2026-08-25 13:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":161924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:57:30] local.INFO: GPS data processed {"connection_id":161924,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:57:30] local.INFO: Acknowledgment sent {"connection_id":161924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:57:40] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:57:40] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:57:40] local.INFO: IMEI packet received {"connection_id":161925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":161925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:57:45] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:57:45] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:57:45] local.INFO: IMEI packet received {"connection_id":161925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":161925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:57:46] local.INFO: TCP Data received {"connection_id":161926,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:57:46] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:57:46] local.INFO: IMEI packet received {"connection_id":161926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":161926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:57:46] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:57:46] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:57:46] local.INFO: Packet analysis {"connection_id":161925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:57:46] local.INFO: Extracted packet for processing {"connection_id":161925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":16,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637350912001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646203000,"timestamp_ms":1787646203000,"timestamp_seconds":1787646203,"priority":1,"record_length":96,"hex_timestamp":"000001a038045478"} 
[2026-08-25 13:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637350912001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637350912001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637350912001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":161925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:57:46] local.INFO: GPS data processed {"connection_id":161925,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:57:46] local.INFO: Acknowledgment sent {"connection_id":161925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:57:48] local.INFO: TCP Data received {"connection_id":161926,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:57:48] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:57:48] local.INFO: IMEI packet received {"connection_id":161926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":161926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:57:49] local.INFO: TCP Data received {"connection_id":161926,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380784e0012d9488400581a598000b009d30..."} 
[2026-08-25 13:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380784e0012d9488400581a598000b009d30..."} 
[2026-08-25 13:57:49] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380784e0012d9488400581a598000b009d30..."} 
[2026-08-25 13:57:49] local.INFO: Packet analysis {"connection_id":161926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03807"} 
[2026-08-25 13:57:49] local.INFO: Extracted packet for processing {"connection_id":161926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03807"} 
[2026-08-25 13:57:49] local.INFO: GPS Element Parsed {"raw_longitude":764708928,"raw_latitude":92382616,"longitude_deg":76.4708928,"latitude_deg":9.2382616,"altitude":11,"angle":157,"satellites":48,"speed":20,"hex_longitude":"2d948840","hex_latitude":"0581a598","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637480448001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123640907177132032,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7744432116822390784,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787646412000,"timestamp_ms":1787646412000,"timestamp_seconds":1787646412,"priority":1,"record_length":96,"hex_timestamp":"000001a0380784e0"} 
[2026-08-25 13: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-25 13:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 13:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13: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-25 13:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637480448001,"66":13472,"17":206,"85":15360,"24":20,"16":123640907177132032,"45":-7744432116822390784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 13:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637480448001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:57:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123640907177132032,"km_value":123640907177132.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7744432116822390784,"description":"Unknown IO ID 45"} 
[2026-08-25 13:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637480448001,"power":13472,"axis_x":206,"unknown_85":15360,"ignition":20,"odometer":null,"unknown_45":-7744432116822390784}} 
[2026-08-25 13:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":161926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:57:49] local.INFO: GPS data processed {"connection_id":161926,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:57:49] local.INFO: Acknowledgment sent {"connection_id":161926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:57:51] local.INFO: TCP Data received {"connection_id":161926,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03807cb30012d9494c0058183e0000d00a02f..."} 
[2026-08-25 13:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03807cb30012d9494c0058183e0000d00a02f..."} 
[2026-08-25 13:57:51] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03807cb30012d9494c0058183e0000d00a02f..."} 
[2026-08-25 13:57:51] local.INFO: Packet analysis {"connection_id":161926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03807"} 
[2026-08-25 13:57:51] local.INFO: Extracted packet for processing {"connection_id":161926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03807"} 
[2026-08-25 13:57:51] local.INFO: GPS Element Parsed {"raw_longitude":764712128,"raw_latitude":92373984,"longitude_deg":76.4712128,"latitude_deg":9.2373984,"altitude":13,"angle":160,"satellites":47,"speed":14,"hex_longitude":"2d9494c0","hex_latitude":"058183e0","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637481472001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123641353853730816,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7743869166869440512,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787646430000,"timestamp_ms":1787646430000,"timestamp_seconds":1787646430,"priority":1,"record_length":96,"hex_timestamp":"000001a03807cb30"} 
[2026-08-25 13: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-25 13:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 13:57:51] 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-25 13: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-25 13: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-25 13:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:57:51] 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-25 13:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637481472001,"66":13580,"20":206,"85":15360,"24":14,"16":123641353853730816,"45":-7743869166869440512},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,85,24,16,45]} 
[2026-08-25 13:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637481472001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:57:51] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-25 13:57:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123641353853730816,"km_value":123641353853730.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7743869166869440512,"description":"Unknown IO ID 45"} 
[2026-08-25 13:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637481472001,"power":13580,"unknown_20":206,"unknown_85":15360,"ignition":14,"odometer":null,"unknown_45":-7743869166869440512}} 
[2026-08-25 13:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":161926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:57:51] local.INFO: GPS data processed {"connection_id":161926,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:57:51] local.INFO: Acknowledgment sent {"connection_id":161926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:57:52] local.INFO: TCP Data received {"connection_id":162915,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:57:52] local.INFO: Processing buffer {"connection_id":162915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:57:52] local.INFO: IMEI packet received {"connection_id":162915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":162915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:57:58] local.INFO: TCP Data received {"connection_id":162915,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:57:58] local.INFO: Processing buffer {"connection_id":162915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:57:58] local.INFO: IMEI packet received {"connection_id":162915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":162915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:57:59] local.INFO: TCP Data received {"connection_id":162915,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03806d900012d1821000721a3c80051013127..."} 
[2026-08-25 13:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03806d900012d1821000721a3c80051013127..."} 
[2026-08-25 13:57:59] local.INFO: Processing buffer {"connection_id":162915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03806d900012d1821000721a3c80051013127..."} 
[2026-08-25 13:57:59] local.INFO: Packet analysis {"connection_id":162915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03806"} 
[2026-08-25 13:57:59] local.INFO: Extracted packet for processing {"connection_id":162915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03806"} 
[2026-08-25 13:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119645128,"longitude_deg":75.6556032,"latitude_deg":11.9645128,"altitude":81,"angle":305,"satellites":39,"speed":7,"hex_longitude":"2d182100","hex_latitude":"0721a3c8","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637464832001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929745938055168,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049130496,"note":"Value kept but may cause issues"} 
[2026-08-25 13:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787646368000,"timestamp_ms":1787646368000,"timestamp_seconds":1787646368,"priority":1,"record_length":96,"hex_timestamp":"000001a03806d900"} 
[2026-08-25 13: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-25 13:57:59] 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-25 13: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-25 13:57:59] 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-25 13: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-25 13: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-25 13:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637464832001,"66":14070,"120":206,"28":31744,"24":7,"16":15929745938055168,"45":1741344974049130496},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637464832001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:57:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929745938055168,"km_value":15929745938055.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049130496,"description":"Unknown IO ID 45"} 
[2026-08-25 13:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637464832001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1741344974049130496}} 
[2026-08-25 13:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":162915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:57:59] local.INFO: GPS data processed {"connection_id":162915,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:57:59] local.INFO: Acknowledgment sent {"connection_id":162915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:58:18] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:58:18] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:58:18] local.INFO: Packet analysis {"connection_id":161925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:58:18] local.INFO: Extracted packet for processing {"connection_id":161925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":16,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637350912001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787646203000,"timestamp_ms":1787646203000,"timestamp_seconds":1787646203,"priority":1,"record_length":96,"hex_timestamp":"000001a038045478"} 
[2026-08-25 13:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637350912001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637350912001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:58:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637350912001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":161925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:58:18] local.INFO: GPS data processed {"connection_id":161925,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:58:18] local.INFO: Acknowledgment sent {"connection_id":161925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:58:23] local.INFO: TCP Data received {"connection_id":161926,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038081950012d94a20005816680000d00912f..."} 
[2026-08-25 13:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038081950012d94a20005816680000d00912f..."} 
[2026-08-25 13:58:23] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038081950012d94a20005816680000d00912f..."} 
[2026-08-25 13:58:23] local.INFO: Packet analysis {"connection_id":161926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:58:23] local.INFO: Extracted packet for processing {"connection_id":161926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:58:23] local.INFO: GPS Element Parsed {"raw_longitude":764715520,"raw_latitude":92366464,"longitude_deg":76.471552,"latitude_deg":9.2366464,"altitude":13,"angle":145,"satellites":47,"speed":16,"hex_longitude":"2d94a200","hex_latitude":"05816680","is_valid_coordinates":true} 
[2026-08-25 13:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637486080001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123641753285689344,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7740350729662767104,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787646450000,"timestamp_ms":1787646450000,"timestamp_seconds":1787646450,"priority":1,"record_length":96,"hex_timestamp":"000001a038081950"} 
[2026-08-25 13:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626049,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2491924485,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5241717176259313664,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":129,"raw_value":3241148422,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634273972911121,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2081489102,"corrected_to":0} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2550214036,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847450087141803,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2180956160,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":148,"raw_value":6917535084115918855,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.WARNING: Large IO value detected {"io_id":60,"raw_value":6755635664388337,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,20,85,24,241,157,16,67,160,132,45,64,165,11,48,10,66,17,117,172,58,1,240,192,227,56,129,4,113,205,19,125,46,239,51,2,183,5,7,148,60],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2081489102,"validated":0}]} 
[2026-08-25 13:58:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936924846217887744,"timestamp_seconds":936924846217887.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 13:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:58: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-25 13:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637486080001,"66":13613,"19":206,"85":15360,"24":16,"16":123641753285689344,"45":-7740350729662767104},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 13:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637486080001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:58:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 13:58:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123641753285689344,"km_value":123641753285689.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7740350729662767104,"description":"Unknown IO ID 45"} 
[2026-08-25 13:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637486080001,"power":13613,"unknown_19":206,"unknown_85":15360,"ignition":16,"odometer":null,"unknown_45":-7740350729662767104}} 
[2026-08-25 13:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":161926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:58:23] local.INFO: GPS data processed {"connection_id":161926,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:58:23] local.INFO: Acknowledgment sent {"connection_id":161926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:58:31] local.INFO: TCP Data received {"connection_id":162915,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038072b08012d181fc00721a4c80051013125..."} 
[2026-08-25 13:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038072b08012d181fc00721a4c80051013125..."} 
[2026-08-25 13:58:31] local.INFO: Processing buffer {"connection_id":162915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038072b08012d181fc00721a4c80051013125..."} 
[2026-08-25 13:58:31] local.INFO: Packet analysis {"connection_id":162915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03807"} 
[2026-08-25 13:58:31] local.INFO: Extracted packet for processing {"connection_id":162915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03807"} 
[2026-08-25 13:58:31] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645384,"longitude_deg":75.6555712,"latitude_deg":11.9645384,"altitude":81,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721a4c8","is_valid_coordinates":true} 
[2026-08-25 13:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637470208001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929767412891648,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961770874880,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787646389000,"timestamp_ms":1787646389000,"timestamp_seconds":1787646389,"priority":1,"record_length":96,"hex_timestamp":"000001a038072b08"} 
[2026-08-25 13:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:58:31] 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-25 13:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 13:58:31] 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-25 13:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637470208001,"66":14548,"120":206,"28":31744,"24":0,"16":15929767412891648,"45":1738670961770874880},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637470208001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:58:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929767412891648,"km_value":15929767412891.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961770874880,"description":"Unknown IO ID 45"} 
[2026-08-25 13:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637470208001,"power":14548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961770874880}} 
[2026-08-25 13:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":162915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:58:31] local.INFO: GPS data processed {"connection_id":162915,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:58:31] local.INFO: Acknowledgment sent {"connection_id":162915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:58:37] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:58:37] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:58:37] local.INFO: IMEI packet received {"connection_id":161678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":161678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:58:39] local.INFO: TCP Data received {"connection_id":164296,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:58:39] local.INFO: Processing buffer {"connection_id":164296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:58:39] local.INFO: IMEI packet received {"connection_id":164296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":164296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:58:41] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:58:41] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:58:41] local.INFO: IMEI packet received {"connection_id":161678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":161678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:58:45] local.INFO: TCP Data received {"connection_id":164296,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:58:45] local.INFO: Processing buffer {"connection_id":164296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:58:45] local.INFO: IMEI packet received {"connection_id":164296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":164296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:58:46] local.INFO: TCP Data received {"connection_id":164296,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:58:46] local.INFO: Processing buffer {"connection_id":164296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038045478012d34c14006aa4820001000e62f..."} 
[2026-08-25 13:58:46] local.INFO: Packet analysis {"connection_id":164296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:58:46] local.INFO: Extracted packet for processing {"connection_id":164296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03804"} 
[2026-08-25 13:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":16,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637350912001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646203000,"timestamp_ms":1787646203000,"timestamp_seconds":1787646203,"priority":1,"record_length":96,"hex_timestamp":"000001a038045478"} 
[2026-08-25 13:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 13:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637350912001,"66":25593,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637350912001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:58:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637350912001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":164296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:58:46] local.INFO: GPS data processed {"connection_id":164296,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:58:46] local.INFO: Acknowledgment sent {"connection_id":164296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:58:46] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:58:46] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:58:46] local.INFO: IMEI packet received {"connection_id":161678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":161678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:58:47] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380834a8012d94ab8005815a40000d009d2c..."} 
[2026-08-25 13:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380834a8012d94ab8005815a40000d009d2c..."} 
[2026-08-25 13:58:47] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380834a8012d94ab8005815a40000d009d2c..."} 
[2026-08-25 13:58:47] local.INFO: Packet analysis {"connection_id":161678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:58:47] local.INFO: Extracted packet for processing {"connection_id":161678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:58:47] local.INFO: GPS Element Parsed {"raw_longitude":764717952,"raw_latitude":92363328,"longitude_deg":76.4717952,"latitude_deg":9.2363328,"altitude":13,"angle":157,"satellites":44,"speed":28,"hex_longitude":"2d94ab80","hex_latitude":"05815a40","is_valid_coordinates":true} 
[2026-08-25 13:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637491200001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123641946559217664,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7736621186223276032,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787646457000,"timestamp_ms":1787646457000,"timestamp_seconds":1787646457,"priority":1,"record_length":96,"hex_timestamp":"000001a0380834a8"} 
[2026-08-25 13:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-25 13:58:47] 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-25 13:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:58:47] 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-25 13:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637491200001,"66":13537,"19":206,"85":15360,"24":28,"16":123641946559217664,"45":-7736621186223276032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 13:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637491200001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:58:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 13:58:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123641946559217664,"km_value":123641946559217.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7736621186223276032,"description":"Unknown IO ID 45"} 
[2026-08-25 13:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637491200001,"power":13537,"unknown_19":206,"unknown_85":15360,"ignition":28,"odometer":null,"unknown_45":-7736621186223276032}} 
[2026-08-25 13:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":161678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:58:47] local.INFO: GPS data processed {"connection_id":161678,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:58:47] local.INFO: Acknowledgment sent {"connection_id":161678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:58:47] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380857d0012d94b84005813970000e009d24..."} 
[2026-08-25 13:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380857d0012d94b84005813970000e009d24..."} 
[2026-08-25 13:58:47] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380857d0012d94b84005813970000e009d24..."} 
[2026-08-25 13:58:47] local.INFO: Packet analysis {"connection_id":161678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:58:47] local.INFO: Extracted packet for processing {"connection_id":161678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:58:47] local.INFO: GPS Element Parsed {"raw_longitude":764721216,"raw_latitude":92354928,"longitude_deg":76.4721216,"latitude_deg":9.2354928,"altitude":14,"angle":157,"satellites":36,"speed":46,"hex_longitude":"2d94b840","hex_latitude":"05813970","is_valid_coordinates":true} 
[2026-08-25 13:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637492992001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123642380350914560,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7733947173945327616,"note":"Value kept but may cause issues"} 
[2026-08-25 13:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787646466000,"timestamp_ms":1787646466000,"timestamp_seconds":1787646466,"priority":1,"record_length":96,"hex_timestamp":"000001a0380857d0"} 
[2026-08-25 13:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-25 13:58:47] 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-25 13:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:58:47] 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-25 13:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637492992001,"66":13515,"19":206,"85":15360,"24":46,"16":123642380350914560,"45":-7733947173945327616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 13:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637492992001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:58:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 13:58:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123642380350914560,"km_value":123642380350914.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7733947173945327616,"description":"Unknown IO ID 45"} 
[2026-08-25 13:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637492992001,"power":13515,"unknown_19":206,"unknown_85":15360,"ignition":46,"odometer":null,"unknown_45":-7733947173945327616}} 
[2026-08-25 13:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":161678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:58:47] local.INFO: GPS data processed {"connection_id":161678,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:58:47] local.INFO: Acknowledgment sent {"connection_id":161678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:58:57] local.INFO: TCP Data received {"connection_id":162916,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:58:58] local.INFO: Processing buffer {"connection_id":162916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:58:58] local.INFO: IMEI packet received {"connection_id":162916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":162916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:59:02] local.INFO: TCP Data received {"connection_id":162916,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:59:02] local.INFO: Processing buffer {"connection_id":162916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:59:02] local.INFO: IMEI packet received {"connection_id":162916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":162916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:59:03] local.INFO: TCP Data received {"connection_id":162916,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038077d10012d181fc00721a4c80051013126..."} 
[2026-08-25 13:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038077d10012d181fc00721a4c80051013126..."} 
[2026-08-25 13:59:03] local.INFO: Processing buffer {"connection_id":162916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038077d10012d181fc00721a4c80051013126..."} 
[2026-08-25 13:59:03] local.INFO: Packet analysis {"connection_id":162916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03807"} 
[2026-08-25 13:59:03] local.INFO: Extracted packet for processing {"connection_id":162916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03807"} 
[2026-08-25 13:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645384,"longitude_deg":75.6555712,"latitude_deg":11.9645384,"altitude":81,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721a4c8","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637475584001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929767412891648,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050052096,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787646410000,"timestamp_ms":1787646410000,"timestamp_seconds":1787646410,"priority":1,"record_length":96,"hex_timestamp":"000001a038077d10"} 
[2026-08-25 13: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-25 13:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-25 13:59:03] 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-25 13: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-25 13: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-25 13:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637475584001,"66":14363,"120":206,"28":31744,"24":0,"16":15929767412891648,"45":1738319118050052096},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637475584001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:59:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:59:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929767412891648,"km_value":15929767412891.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050052096,"description":"Unknown IO ID 45"} 
[2026-08-25 13:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637475584001,"power":14363,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050052096}} 
[2026-08-25 13:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":162916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:59:03] local.INFO: GPS data processed {"connection_id":162916,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:59:03] local.INFO: Acknowledgment sent {"connection_id":162916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:59:04] local.INFO: TCP Data received {"connection_id":162916,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03807cf18012d181ec00721a6880050013428..."} 
[2026-08-25 13:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03807cf18012d181ec00721a6880050013428..."} 
[2026-08-25 13:59:04] local.INFO: Processing buffer {"connection_id":162916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03807cf18012d181ec00721a6880050013428..."} 
[2026-08-25 13:59:04] local.INFO: Packet analysis {"connection_id":162916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03807"} 
[2026-08-25 13:59:04] local.INFO: Extracted packet for processing {"connection_id":162916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03807"} 
[2026-08-25 13:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119645832,"longitude_deg":75.6555456,"latitude_deg":11.9645832,"altitude":80,"angle":308,"satellites":40,"speed":4,"hex_longitude":"2d181ec0","hex_latitude":"0721a688","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637480960001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929788887728128,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050052096,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787646431000,"timestamp_ms":1787646431000,"timestamp_seconds":1787646431,"priority":1,"record_length":96,"hex_timestamp":"000001a03807cf18"} 
[2026-08-25 13: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-25 13:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 13:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13: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-25 13: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-25 13:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637480960001,"66":14494,"120":206,"28":31744,"24":4,"16":15929788887728128,"45":1738319118050052096},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637480960001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:59:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929788887728128,"km_value":15929788887728.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050052096,"description":"Unknown IO ID 45"} 
[2026-08-25 13:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637480960001,"power":14494,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1738319118050052096}} 
[2026-08-25 13:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":162916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:59:04] local.INFO: GPS data processed {"connection_id":162916,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:59:04] local.INFO: Acknowledgment sent {"connection_id":162916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:59:12] local.INFO: TCP Data received {"connection_id":161679,"ip":"85.217.149.36","data_length":8,"data_hex":"3030303030303030..."} 
[2026-08-25 13:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161679,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-08-25 13:59:12] local.INFO: Processing buffer {"connection_id":161679,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-08-25 13:59:17] local.INFO: TCP Data received {"connection_id":164296,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 13:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 13:59:17] local.INFO: Processing buffer {"connection_id":164296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 13:59:17] local.INFO: Packet analysis {"connection_id":164296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:59:17] local.INFO: Extracted packet for processing {"connection_id":164296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637427968001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787646504000,"timestamp_ms":1787646504000,"timestamp_seconds":1787646504,"priority":1,"record_length":96,"hex_timestamp":"000001a03808ec40"} 
[2026-08-25 13:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637427968001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637427968001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637427968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":164296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:59:17] local.INFO: GPS data processed {"connection_id":164296,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:59:17] local.INFO: Acknowledgment sent {"connection_id":164296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:59:19] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380882c8012d94c58005811918000d009f23..."} 
[2026-08-25 13:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380882c8012d94c58005811918000d009f23..."} 
[2026-08-25 13:59:19] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380882c8012d94c58005811918000d009f23..."} 
[2026-08-25 13:59:19] local.INFO: Packet analysis {"connection_id":161678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:59:19] local.INFO: Extracted packet for processing {"connection_id":161678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:59:19] local.INFO: GPS Element Parsed {"raw_longitude":764724608,"raw_latitude":92346648,"longitude_deg":76.4724608,"latitude_deg":9.2346648,"altitude":13,"angle":159,"satellites":35,"speed":15,"hex_longitude":"2d94c580","hex_latitude":"05811918","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637495296001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123642814142611456,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7730358367994417152,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787646477000,"timestamp_ms":1787646477000,"timestamp_seconds":1787646477,"priority":1,"record_length":96,"hex_timestamp":"000001a0380882c8"} 
[2026-08-25 13: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-25 13:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 13:59:19] 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-25 13: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-25 13: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-25 13:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:59:19] 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-25 13:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637495296001,"66":13276,"19":206,"85":15360,"24":15,"16":123642814142611456,"45":-7730358367994417152},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 13:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637495296001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:59:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 13:59:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123642814142611456,"km_value":123642814142611.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7730358367994417152,"description":"Unknown IO ID 45"} 
[2026-08-25 13:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637495296001,"power":13276,"unknown_19":206,"unknown_85":15360,"ignition":15,"odometer":null,"unknown_45":-7730358367994417152}} 
[2026-08-25 13:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":161678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:59:19] local.INFO: GPS data processed {"connection_id":161678,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:59:19] local.INFO: Acknowledgment sent {"connection_id":161678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:59:26] local.INFO: TCP Data received {"connection_id":162914,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:59:26] local.INFO: Processing buffer {"connection_id":162914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 13:59:26] local.INFO: IMEI packet received {"connection_id":162914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 13:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":162914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:59:35] local.INFO: TCP Data received {"connection_id":162916,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038081950012d181d400721a788004f01592a..."} 
[2026-08-25 13:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038081950012d181d400721a788004f01592a..."} 
[2026-08-25 13:59:35] local.INFO: Processing buffer {"connection_id":162916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038081950012d181d400721a788004f01592a..."} 
[2026-08-25 13:59:35] local.INFO: Packet analysis {"connection_id":162916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:59:35] local.INFO: Extracted packet for processing {"connection_id":162916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646088,"longitude_deg":75.6555072,"latitude_deg":11.9646088,"altitude":79,"angle":345,"satellites":42,"speed":8,"hex_longitude":"2d181d40","hex_latitude":"0721a788","is_valid_coordinates":true} 
[2026-08-25 13: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-25 13:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637486336001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929814657531904,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073456128,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787646450000,"timestamp_ms":1787646450000,"timestamp_seconds":1787646450,"priority":1,"record_length":96,"hex_timestamp":"000001a038081950"} 
[2026-08-25 13: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-25 13:59: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-25 13: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-25 13:59:35] 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-25 13: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-25 13: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-25 13:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637486336001,"66":14102,"120":206,"28":31744,"24":8,"16":15929814657531904,"45":1738037643073456128},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637486336001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:59:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:59:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929814657531904,"km_value":15929814657531.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073456128,"description":"Unknown IO ID 45"} 
[2026-08-25 13:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637486336001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1738037643073456128}} 
[2026-08-25 13:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":162916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:59:35] local.INFO: GPS data processed {"connection_id":162916,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:59:35] local.INFO: Acknowledgment sent {"connection_id":162916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:59:40] local.INFO: TCP Data received {"connection_id":164297,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:59:40] local.INFO: Processing buffer {"connection_id":164297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:59:40] local.INFO: IMEI packet received {"connection_id":164297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 13:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":164297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:59:41] local.INFO: TCP Data received {"connection_id":162917,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:59:41] local.INFO: Processing buffer {"connection_id":162917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:59:41] local.INFO: IMEI packet received {"connection_id":162917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 13:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":162917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:59:42] local.INFO: TCP Data received {"connection_id":162917,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:59:42] local.INFO: Processing buffer {"connection_id":162917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:59:42] local.INFO: IMEI packet received {"connection_id":162917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":162917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:59:45] local.INFO: TCP Data received {"connection_id":164297,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:59:45] local.INFO: Processing buffer {"connection_id":164297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 13:59:45] local.INFO: IMEI packet received {"connection_id":164297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 13:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":164297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:59:46] local.INFO: TCP Data received {"connection_id":162917,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:59:46] local.INFO: Processing buffer {"connection_id":162917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 13:59:46] local.INFO: IMEI packet received {"connection_id":162917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 13:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":162917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:59:46] local.INFO: TCP Data received {"connection_id":164297,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 13:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 13:59:46] local.INFO: Processing buffer {"connection_id":164297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 13:59:46] local.INFO: Packet analysis {"connection_id":164297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:59:46] local.INFO: Extracted packet for processing {"connection_id":164297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 13:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637427968001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646504000,"timestamp_ms":1787646504000,"timestamp_seconds":1787646504,"priority":1,"record_length":96,"hex_timestamp":"000001a03808ec40"} 
[2026-08-25 13:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 13:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 13:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 13:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 13:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 13:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 13:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637427968001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 13:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 13:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 13:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637427968001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:59:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 13:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 13:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 13:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637427968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 13:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":164297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:59:46] local.INFO: GPS data processed {"connection_id":164297,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:59:46] local.INFO: Acknowledgment sent {"connection_id":164297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:59:47] local.INFO: TCP Data received {"connection_id":162917,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03809bf30012d95328005800e60000900982c..."} 
[2026-08-25 13:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03809bf30012d95328005800e60000900982c..."} 
[2026-08-25 13:59:47] local.INFO: Processing buffer {"connection_id":162917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03809bf30012d95328005800e60000900982c..."} 
[2026-08-25 13:59:47] local.INFO: Packet analysis {"connection_id":162917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03809"} 
[2026-08-25 13:59:47] local.INFO: Extracted packet for processing {"connection_id":162917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03809"} 
[2026-08-25 13:59:47] local.INFO: GPS Element Parsed {"raw_longitude":764752512,"raw_latitude":92278368,"longitude_deg":76.4752512,"latitude_deg":9.2278368,"altitude":9,"angle":152,"satellites":44,"speed":48,"hex_longitude":"2d953280","hex_latitude":"05800e60","is_valid_coordinates":true} 
[2026-08-25 13:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637517056001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123646400440303616,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7700522020480573440,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:47] 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-25 13:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787646558000,"timestamp_ms":1787646558000,"timestamp_seconds":1787646558,"priority":1,"record_length":96,"hex_timestamp":"000001a03809bf30"} 
[2026-08-25 13:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 13:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 13:59:47] 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-25 13:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 13:59:47] 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-25 13:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 13:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 13:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637517056001,"66":13580,"237":206,"85":15360,"24":48,"16":123646400440303616,"45":-7700522020480573440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-25 13:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 13:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 13:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637517056001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:59:47] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-25 13:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 13:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123646400440303616,"km_value":123646400440303.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7700522020480573440,"description":"Unknown IO ID 45"} 
[2026-08-25 13:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637517056001,"power":13580,"unknown_237":206,"unknown_85":15360,"ignition":48,"odometer":null,"unknown_45":-7700522020480573440}} 
[2026-08-25 13:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":162917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:59:47] local.INFO: GPS data processed {"connection_id":162917,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:59:47] local.INFO: Acknowledgment sent {"connection_id":162917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 13:59:52] local.INFO: TCP Data received {"connection_id":161927,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:59:52] local.INFO: Processing buffer {"connection_id":161927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:59:52] local.INFO: IMEI packet received {"connection_id":161927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 13:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":161927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 13:59:57] local.INFO: TCP Data received {"connection_id":161927,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:59:58] local.INFO: Processing buffer {"connection_id":161927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 13:59:58] local.INFO: IMEI packet received {"connection_id":161927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 13:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":161927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 13:59:59] local.INFO: TCP Data received {"connection_id":161927,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038082120012d181d000721a938004f000e2a..."} 
[2026-08-25 13:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038082120012d181d000721a938004f000e2a..."} 
[2026-08-25 13:59:59] local.INFO: Processing buffer {"connection_id":161927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038082120012d181d000721a938004f000e2a..."} 
[2026-08-25 13:59:59] local.INFO: Packet analysis {"connection_id":161927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:59:59] local.INFO: Extracted packet for processing {"connection_id":161927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 13:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646520,"longitude_deg":75.6555008,"latitude_deg":11.964652,"altitude":79,"angle":14,"satellites":42,"speed":9,"hex_longitude":"2d181d00","hex_latitude":"0721a938","is_valid_coordinates":true} 
[2026-08-25 13:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 13:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637491200001,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929836132368384,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608455680,"note":"Value kept but may cause issues"} 
[2026-08-25 13:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 13:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787646452000,"timestamp_ms":1787646452000,"timestamp_seconds":1787646452,"priority":1,"record_length":96,"hex_timestamp":"000001a038082120"} 
[2026-08-25 13:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 13:59:59] 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-25 13:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 13:59:59] 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-25 13:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 13:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 13:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 13:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 13:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 13:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 13:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 13:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 13:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637491200001,"66":13319,"120":206,"28":31744,"24":9,"16":15929836132368384,"45":1737615430608455680},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 13:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 13:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 13:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637491200001,"description":"Unknown IO ID 0"} 
[2026-08-25 13:59:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 13:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 13:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929836132368384,"km_value":15929836132368.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 13:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608455680,"description":"Unknown IO ID 45"} 
[2026-08-25 13:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637491200001,"power":13319,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737615430608455680}} 
[2026-08-25 13:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":161927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 13:59:59] local.INFO: GPS data processed {"connection_id":161927,"processed":1,"errors":0,"total":1} 
[2026-08-25 13:59:59] local.INFO: Acknowledgment sent {"connection_id":161927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:00:18] local.INFO: TCP Data received {"connection_id":164297,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:00:18] local.INFO: Processing buffer {"connection_id":164297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:00:18] local.INFO: Packet analysis {"connection_id":164297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:00:18] local.INFO: Extracted packet for processing {"connection_id":164297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:00:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637427968001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787646504000,"timestamp_ms":1787646504000,"timestamp_seconds":1787646504,"priority":1,"record_length":96,"hex_timestamp":"000001a03808ec40"} 
[2026-08-25 14:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 14:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637427968001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637427968001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:00:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:00:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637427968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":164297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:00:18] local.INFO: GPS data processed {"connection_id":164297,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:00:18] local.INFO: Acknowledgment sent {"connection_id":164297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:00:18] local.INFO: TCP Data received {"connection_id":162917,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03809de70012d954400057fee08000a00972f..."} 
[2026-08-25 14:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03809de70012d954400057fee08000a00972f..."} 
[2026-08-25 14:00:18] local.INFO: Processing buffer {"connection_id":162917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03809de70012d954400057fee08000a00972f..."} 
[2026-08-25 14:00:18] local.INFO: Packet analysis {"connection_id":162917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03809"} 
[2026-08-25 14:00:18] local.INFO: Extracted packet for processing {"connection_id":162917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03809"} 
[2026-08-25 14:00:18] local.INFO: GPS Element Parsed {"raw_longitude":764756992,"raw_latitude":92270088,"longitude_deg":76.4756992,"latitude_deg":9.2270088,"altitude":10,"angle":151,"satellites":47,"speed":50,"hex_longitude":"2d954400","hex_latitude":"057fee08","is_valid_coordinates":true} 
[2026-08-25 14:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637518848001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123646855706836992,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7695948052111138816,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] 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-25 14:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787646566000,"timestamp_ms":1787646566000,"timestamp_seconds":1787646566,"priority":1,"record_length":96,"hex_timestamp":"000001a03809de70"} 
[2026-08-25 14:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626052,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2495610895,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5240712222631526400,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635442204015635,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2081620174,"corrected_to":0} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2161940480,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":148,"raw_value":-3044427296519749618,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744279119810133,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.WARNING: Large IO value detected {"io_id":60,"raw_value":6755502520402161,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:18] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,237,85,24,241,157,16,71,160,163,45,64,46,11,44,10,66,136,80,12,19,70,109,128,1,240,227,56,4,113,205,57,58,72,239,53,2,183,5,14,35,148,50,60],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2081620174,"validated":0}]} 
[2026-08-25 14:00:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648685661090480128,"timestamp_seconds":648685661090480.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:00: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-25 14:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637518848001,"66":13526,"236":206,"85":15360,"24":50,"16":123646855706836992,"45":-7695948052111138816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 14:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637518848001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:00:18] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 14:00:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123646855706836992,"km_value":123646855706836.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7695948052111138816,"description":"Unknown IO ID 45"} 
[2026-08-25 14:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637518848001,"power":13526,"unknown_236":206,"unknown_85":15360,"ignition":50,"odometer":null,"unknown_45":-7695948052111138816}} 
[2026-08-25 14:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":162917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:00:18] local.INFO: GPS data processed {"connection_id":162917,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:00:18] local.INFO: Acknowledgment sent {"connection_id":162917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:00:31] local.INFO: TCP Data received {"connection_id":161927,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038082508012d181dc00721aa10004f002029..."} 
[2026-08-25 14:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038082508012d181dc00721aa10004f002029..."} 
[2026-08-25 14:00:31] local.INFO: Processing buffer {"connection_id":161927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038082508012d181dc00721aa10004f002029..."} 
[2026-08-25 14:00:31] local.INFO: Packet analysis {"connection_id":161927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:00:31] local.INFO: Extracted packet for processing {"connection_id":161927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:00:31] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646736,"longitude_deg":75.65552,"latitude_deg":11.9646736,"altitude":79,"angle":32,"satellites":41,"speed":11,"hex_longitude":"2d181dc0","hex_latitude":"0721aa10","is_valid_coordinates":true} 
[2026-08-25 14:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637491712001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929849017270272,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864388608,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787646453000,"timestamp_ms":1787646453000,"timestamp_seconds":1787646453,"priority":1,"record_length":96,"hex_timestamp":"000001a038082508"} 
[2026-08-25 14:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:00:31] 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-25 14:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 14:00:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:31] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2550464512,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-7847521994191591936,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-25 14:00:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":5308721,"corrected_to":0} 
[2026-08-25 14:00:31] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247847,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:31] local.WARNING: Large IO value detected {"io_id":169,"raw_value":57956872821283964,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:31] local.WARNING: Large IO value detected {"io_id":6,"raw_value":7755199851523751943,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,120,28,24,241,158,16,152,160,25,45,64,167,79,42,10,66,207,192,166,80,40,125,1,240,27,56,33,4,113,205,217,200,39,239,54,2,7,81,17,169,6],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0},{"io_id":200,"original":5308721,"validated":0}]} 
[2026-08-25 14:00:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692565502548312064,"timestamp_seconds":5692565502548312.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637491712001,"66":13243,"120":206,"28":31744,"24":11,"16":15929849017270272,"45":1737545061864388608},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637491712001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:00:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929849017270272,"km_value":15929849017270.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864388608,"description":"Unknown IO ID 45"} 
[2026-08-25 14:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637491712001,"power":13243,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737545061864388608}} 
[2026-08-25 14:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":161927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:00:31] local.INFO: GPS data processed {"connection_id":161927,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:00:31] local.INFO: Acknowledgment sent {"connection_id":161927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:00:40] local.INFO: TCP Data received {"connection_id":162918,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:00:40] local.INFO: Processing buffer {"connection_id":162918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:00:40] local.INFO: IMEI packet received {"connection_id":162918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":162918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:00:41] local.INFO: TCP Data received {"connection_id":162919,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:00:41] local.INFO: Processing buffer {"connection_id":162919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:00:41] local.INFO: IMEI packet received {"connection_id":162919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":162919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:00:45] local.INFO: TCP Data received {"connection_id":162918,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:00:45] local.INFO: Processing buffer {"connection_id":162918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:00:45] local.INFO: IMEI packet received {"connection_id":162918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":162918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:00:46] local.INFO: TCP Data received {"connection_id":162919,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:00:46] local.INFO: Processing buffer {"connection_id":162919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:00:46] local.INFO: IMEI packet received {"connection_id":162919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":162919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:00:46] local.INFO: TCP Data received {"connection_id":162919,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03809f9c8012d9554c0057fce18000a009a2f..."} 
[2026-08-25 14:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03809f9c8012d9554c0057fce18000a009a2f..."} 
[2026-08-25 14:00:46] local.INFO: Processing buffer {"connection_id":162919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03809f9c8012d9554c0057fce18000a009a2f..."} 
[2026-08-25 14:00:46] local.INFO: Packet analysis {"connection_id":162919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03809"} 
[2026-08-25 14:00:46] local.INFO: Extracted packet for processing {"connection_id":162919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03809"} 
[2026-08-25 14:00:46] local.INFO: GPS Element Parsed {"raw_longitude":764761280,"raw_latitude":92261912,"longitude_deg":76.476128,"latitude_deg":9.2261912,"altitude":10,"angle":154,"satellites":47,"speed":52,"hex_longitude":"2d9554c0","hex_latitude":"057fce18","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637520896001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123647302383435776,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7691022240020822016,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:46] 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-25 14:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646573000,"timestamp_ms":1787646573000,"timestamp_seconds":1787646573,"priority":1,"record_length":96,"hex_timestamp":"000001a03809f9c8"} 
[2026-08-25 14: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-25 14:00: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-25 14: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":214,"data_length":795,"current_offset":136} 
[2026-08-25 14:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:00:46] 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-25 14:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637520896001,"66":13352,"236":206,"85":15360,"24":52,"16":123647302383435776,"45":-7691022240020822016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 14:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637520896001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:00:46] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 14:00:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123647302383435776,"km_value":123647302383435.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7691022240020822016,"description":"Unknown IO ID 45"} 
[2026-08-25 14:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637520896001,"power":13352,"unknown_236":206,"unknown_85":15360,"ignition":52,"odometer":null,"unknown_45":-7691022240020822016}} 
[2026-08-25 14:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":162919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:00:46] local.INFO: GPS data processed {"connection_id":162919,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:00:46] local.INFO: Acknowledgment sent {"connection_id":162919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:00:48] local.INFO: TCP Data received {"connection_id":162918,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:00:48] local.INFO: Processing buffer {"connection_id":162918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:00:48] local.INFO: Packet analysis {"connection_id":162918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:00:48] local.INFO: Extracted packet for processing {"connection_id":162918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637427968001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787646504000,"timestamp_ms":1787646504000,"timestamp_seconds":1787646504,"priority":1,"record_length":96,"hex_timestamp":"000001a03808ec40"} 
[2026-08-25 14:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 14:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637427968001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637427968001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:00:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637427968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":162918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:00:48] local.INFO: GPS data processed {"connection_id":162918,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:00:48] local.INFO: Acknowledgment sent {"connection_id":162918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:00:53] local.INFO: TCP Data received {"connection_id":161928,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:00:53] local.INFO: Processing buffer {"connection_id":161928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:00:53] local.INFO: IMEI packet received {"connection_id":161928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":161928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:00:58] local.INFO: TCP Data received {"connection_id":161928,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:00:58] local.INFO: Processing buffer {"connection_id":161928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:00:58] local.INFO: IMEI packet received {"connection_id":161928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":161928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:00:59] local.INFO: TCP Data received {"connection_id":161928,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038083890012d1820000721ae78004f01612c..."} 
[2026-08-25 14:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038083890012d1820000721ae78004f01612c..."} 
[2026-08-25 14:00:59] local.INFO: Processing buffer {"connection_id":161928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038083890012d1820000721ae78004f01612c..."} 
[2026-08-25 14:00:59] local.INFO: Packet analysis {"connection_id":161928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:00:59] local.INFO: Extracted packet for processing {"connection_id":161928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119647864,"longitude_deg":75.6555776,"latitude_deg":11.9647864,"altitude":79,"angle":353,"satellites":44,"speed":4,"hex_longitude":"2d182000","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637491968001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929913441779712,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096976896,"note":"Value kept but may cause issues"} 
[2026-08-25 14:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787646458000,"timestamp_ms":1787646458000,"timestamp_seconds":1787646458,"priority":1,"record_length":96,"hex_timestamp":"000001a038083890"} 
[2026-08-25 14: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-25 14:00:59] 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-25 14: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 14:00:59] 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-25 14: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-25 14: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-25 14:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637491968001,"66":13124,"120":206,"28":31744,"24":4,"16":15929913441779712,"45":1737756168096976896},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637491968001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:00:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929913441779712,"km_value":15929913441779.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096976896,"description":"Unknown IO ID 45"} 
[2026-08-25 14:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637491968001,"power":13124,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1737756168096976896}} 
[2026-08-25 14:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":161928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:00:59] local.INFO: GPS data processed {"connection_id":161928,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:00:59] local.INFO: Acknowledgment sent {"connection_id":161928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:01:17] local.INFO: TCP Data received {"connection_id":162919,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380a1520012d9563c0057fad80000a009c2e..."} 
[2026-08-25 14:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380a1520012d9563c0057fad80000a009c2e..."} 
[2026-08-25 14:01:17] local.INFO: Processing buffer {"connection_id":162919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380a1520012d9563c0057fad80000a009c2e..."} 
[2026-08-25 14:01:17] local.INFO: Packet analysis {"connection_id":162919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380a"} 
[2026-08-25 14:01:17] local.INFO: Extracted packet for processing {"connection_id":162919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380a"} 
[2026-08-25 14:01:17] local.INFO: GPS Element Parsed {"raw_longitude":764765120,"raw_latitude":92253568,"longitude_deg":76.476512,"latitude_deg":9.2253568,"altitude":10,"angle":156,"satellites":46,"speed":53,"hex_longitude":"2d9563c0","hex_latitude":"057fad80","is_valid_coordinates":true} 
[2026-08-25 14:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637522688001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123647744765067264,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7686307534163011584,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:17] 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-25 14:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787646580000,"timestamp_ms":1787646580000,"timestamp_seconds":1787646580,"priority":1,"record_length":96,"hex_timestamp":"000001a0380a1520"} 
[2026-08-25 14:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-25 14:01:17] 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-25 14:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:01: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-25 14:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637522688001,"66":13352,"236":206,"85":15360,"24":53,"16":123647744765067264,"45":-7686307534163011584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 14:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637522688001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:01:17] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 14:01:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123647744765067264,"km_value":123647744765067.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7686307534163011584,"description":"Unknown IO ID 45"} 
[2026-08-25 14:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637522688001,"power":13352,"unknown_236":206,"unknown_85":15360,"ignition":53,"odometer":null,"unknown_45":-7686307534163011584}} 
[2026-08-25 14:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":162919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:01:17] local.INFO: GPS data processed {"connection_id":162919,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:01:17] local.INFO: Acknowledgment sent {"connection_id":162919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:01:20] local.INFO: TCP Data received {"connection_id":162918,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:01:20] local.INFO: Processing buffer {"connection_id":162918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:01:20] local.INFO: Packet analysis {"connection_id":162918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:01:20] local.INFO: Extracted packet for processing {"connection_id":162918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637427968001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787646504000,"timestamp_ms":1787646504000,"timestamp_seconds":1787646504,"priority":1,"record_length":96,"hex_timestamp":"000001a03808ec40"} 
[2026-08-25 14:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 14:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637427968001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637427968001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:01:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637427968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":162918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:01:20] local.INFO: GPS data processed {"connection_id":162918,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:01:20] local.INFO: Acknowledgment sent {"connection_id":162918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:01:31] local.INFO: TCP Data received {"connection_id":161928,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038083c78012d181fc00721aed0004f01412b..."} 
[2026-08-25 14:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038083c78012d181fc00721aed0004f01412b..."} 
[2026-08-25 14:01:31] local.INFO: Processing buffer {"connection_id":161928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038083c78012d181fc00721aed0004f01412b..."} 
[2026-08-25 14:01:31] local.INFO: Packet analysis {"connection_id":161928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:01:31] local.INFO: Extracted packet for processing {"connection_id":161928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119647952,"longitude_deg":75.6555712,"latitude_deg":11.9647952,"altitude":79,"angle":321,"satellites":43,"speed":4,"hex_longitude":"2d181fc0","hex_latitude":"0721aed0","is_valid_coordinates":true} 
[2026-08-25 14:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637493248001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929917736747008,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794864640,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787646459000,"timestamp_ms":1787646459000,"timestamp_seconds":1787646459,"priority":1,"record_length":96,"hex_timestamp":"000001a038083c78"} 
[2026-08-25 14:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:01:31] 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-25 14:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-25 14:01:31] 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-25 14:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637493248001,"66":12776,"120":206,"28":31744,"24":4,"16":15929917736747008,"45":1738389486794864640},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637493248001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:01:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929917736747008,"km_value":15929917736747.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794864640,"description":"Unknown IO ID 45"} 
[2026-08-25 14:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637493248001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1738389486794864640}} 
[2026-08-25 14:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":161928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:01:31] local.INFO: GPS data processed {"connection_id":161928,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:01:31] local.INFO: Acknowledgment sent {"connection_id":161928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:01:39] local.INFO: TCP Data received {"connection_id":164298,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:01:39] local.INFO: Processing buffer {"connection_id":164298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:01:39] local.INFO: IMEI packet received {"connection_id":164298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":164298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:01:42] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:01:42] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:01:42] local.INFO: IMEI packet received {"connection_id":161680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":161680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:01:42] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:01:42] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:01:42] local.INFO: IMEI packet received {"connection_id":161680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":161680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:01:45] local.INFO: TCP Data received {"connection_id":164298,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:01:45] local.INFO: Processing buffer {"connection_id":164298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:01:45] local.INFO: IMEI packet received {"connection_id":164298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":164298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:01:46] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:01:46] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:01:46] local.INFO: IMEI packet received {"connection_id":161680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":161680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:01:47] local.INFO: TCP Data received {"connection_id":164298,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:01:47] local.INFO: Processing buffer {"connection_id":164298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:01:47] local.INFO: Packet analysis {"connection_id":164298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:01:47] local.INFO: Extracted packet for processing {"connection_id":164298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637427968001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787646504000,"timestamp_ms":1787646504000,"timestamp_seconds":1787646504,"priority":1,"record_length":96,"hex_timestamp":"000001a03808ec40"} 
[2026-08-25 14: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-25 14:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 14:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637427968001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637427968001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:01:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637427968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":164298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:01:47] local.INFO: GPS data processed {"connection_id":164298,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:01:47] local.INFO: Acknowledgment sent {"connection_id":164298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:01:47] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380b97d8012d95d0c0057e4640000d00a32e..."} 
[2026-08-25 14:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380b97d8012d95d0c0057e4640000d00a32e..."} 
[2026-08-25 14:01:47] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380b97d8012d95d0c0057e4640000d00a32e..."} 
[2026-08-25 14:01:47] local.INFO: Packet analysis {"connection_id":161680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380b"} 
[2026-08-25 14:01:47] local.INFO: Extracted packet for processing {"connection_id":161680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380b"} 
[2026-08-25 14:01:47] local.INFO: GPS Element Parsed {"raw_longitude":764793024,"raw_latitude":92161600,"longitude_deg":76.4793024,"latitude_deg":9.21616,"altitude":13,"angle":163,"satellites":46,"speed":44,"hex_longitude":"2d95d0c0","hex_latitude":"057e4640","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637548288001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123652409099550720,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7652389799493609472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:47] 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-25 14:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787646679000,"timestamp_ms":1787646679000,"timestamp_seconds":1787646679,"priority":1,"record_length":96,"hex_timestamp":"000001a0380b97d8"} 
[2026-08-25 14: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-25 14:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-25 14:01:47] 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-25 14: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-25 14: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-25 14:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:01:47] 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-25 14:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637548288001,"66":13722,"236":206,"85":15360,"24":44,"16":123652409099550720,"45":-7652389799493609472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 14:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637548288001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:01:47] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 14:01:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123652409099550720,"km_value":123652409099550.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7652389799493609472,"description":"Unknown IO ID 45"} 
[2026-08-25 14:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637548288001,"power":13722,"unknown_236":206,"unknown_85":15360,"ignition":44,"odometer":null,"unknown_45":-7652389799493609472}} 
[2026-08-25 14:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":161680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:01:47] local.INFO: GPS data processed {"connection_id":161680,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:01:47] local.INFO: Acknowledgment sent {"connection_id":161680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:01:52] local.INFO: TCP Data received {"connection_id":162921,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:01:52] local.INFO: Processing buffer {"connection_id":162921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:01:52] local.INFO: IMEI packet received {"connection_id":162921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":162921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:01:58] local.INFO: TCP Data received {"connection_id":162921,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:01:58] local.INFO: Processing buffer {"connection_id":162921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:01:58] local.INFO: IMEI packet received {"connection_id":162921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":162921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:01:59] local.INFO: TCP Data received {"connection_id":162921,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038084060012d181f800721af00004f01232b..."} 
[2026-08-25 14:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038084060012d181f800721af00004f01232b..."} 
[2026-08-25 14:01:59] local.INFO: Processing buffer {"connection_id":162921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038084060012d181f800721af00004f01232b..."} 
[2026-08-25 14:01:59] local.INFO: Packet analysis {"connection_id":162921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:01:59] local.INFO: Extracted packet for processing {"connection_id":162921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648000,"longitude_deg":75.6555648,"latitude_deg":11.9648,"altitude":79,"angle":291,"satellites":43,"speed":4,"hex_longitude":"2d181f80","hex_latitude":"0721af00","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637493504001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929922031714304,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050709504,"note":"Value kept but may cause issues"} 
[2026-08-25 14:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787646460000,"timestamp_ms":1787646460000,"timestamp_seconds":1787646460,"priority":1,"record_length":96,"hex_timestamp":"000001a038084060"} 
[2026-08-25 14: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-25 14:01:59] 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-25 14: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-25 14:01:59] 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-25 14: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-25 14: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-25 14:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637493504001,"66":12776,"120":206,"28":31744,"24":4,"16":15929922031714304,"45":1738319118050709504},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637493504001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:01:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929922031714304,"km_value":15929922031714.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050709504,"description":"Unknown IO ID 45"} 
[2026-08-25 14:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637493504001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1738319118050709504}} 
[2026-08-25 14:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":162921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:01:59] local.INFO: GPS data processed {"connection_id":162921,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:01:59] local.INFO: Acknowledgment sent {"connection_id":162921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:02:19] local.INFO: TCP Data received {"connection_id":164298,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:02:19] local.INFO: Processing buffer {"connection_id":164298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:02:19] local.INFO: Packet analysis {"connection_id":164298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:02:19] local.INFO: Extracted packet for processing {"connection_id":164298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:02:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637427968001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787646504000,"timestamp_ms":1787646504000,"timestamp_seconds":1787646504,"priority":1,"record_length":96,"hex_timestamp":"000001a03808ec40"} 
[2026-08-25 14: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-25 14:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 14:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637427968001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637427968001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:02:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:02:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637427968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":164298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:02:19] local.INFO: GPS data processed {"connection_id":164298,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:02:19] local.INFO: Acknowledgment sent {"connection_id":164298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:02:19] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380bb718012d95dd40057e2130000f00a12f..."} 
[2026-08-25 14:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380bb718012d95dd40057e2130000f00a12f..."} 
[2026-08-25 14:02:19] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380bb718012d95dd40057e2130000f00a12f..."} 
[2026-08-25 14:02:19] local.INFO: Packet analysis {"connection_id":161680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380b"} 
[2026-08-25 14:02:19] local.INFO: Extracted packet for processing {"connection_id":161680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380b"} 
[2026-08-25 14:02:19] local.INFO: GPS Element Parsed {"raw_longitude":764796224,"raw_latitude":92152112,"longitude_deg":76.4796224,"latitude_deg":9.2152112,"altitude":15,"angle":161,"satellites":47,"speed":55,"hex_longitude":"2d95dd40","hex_latitude":"057e2130","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637549824001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123652894430855168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7651404637076570112,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:19] 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-25 14:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787646687000,"timestamp_ms":1787646687000,"timestamp_seconds":1787646687,"priority":1,"record_length":96,"hex_timestamp":"000001a0380bb718"} 
[2026-08-25 14: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-25 14:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-25 14:02:19] 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-25 14: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-25 14: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-25 14:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:02:19] 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-25 14:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637549824001,"66":13678,"236":206,"85":15360,"24":55,"16":123652894430855168,"45":-7651404637076570112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 14:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637549824001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:02:19] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 14:02:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123652894430855168,"km_value":123652894430855.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7651404637076570112,"description":"Unknown IO ID 45"} 
[2026-08-25 14:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637549824001,"power":13678,"unknown_236":206,"unknown_85":15360,"ignition":55,"odometer":null,"unknown_45":-7651404637076570112}} 
[2026-08-25 14:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":161680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:02:19] local.INFO: GPS data processed {"connection_id":161680,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:02:19] local.INFO: Acknowledgment sent {"connection_id":161680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:02:31] local.INFO: TCP Data received {"connection_id":162921,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038088e80012d181ec00721aec0004c00d82b..."} 
[2026-08-25 14:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038088e80012d181ec00721aec0004c00d82b..."} 
[2026-08-25 14:02:31] local.INFO: Processing buffer {"connection_id":162921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038088e80012d181ec00721aec0004c00d82b..."} 
[2026-08-25 14:02:31] local.INFO: Packet analysis {"connection_id":162921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:02:31] local.INFO: Extracted packet for processing {"connection_id":162921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647936,"longitude_deg":75.6555456,"latitude_deg":11.9647936,"altitude":76,"angle":216,"satellites":43,"speed":1,"hex_longitude":"2d181ec0","hex_latitude":"0721aec0","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637493760001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929934916616192,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306544128,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787646480000,"timestamp_ms":1787646480000,"timestamp_seconds":1787646480,"priority":1,"record_length":96,"hex_timestamp":"000001a038088e80"} 
[2026-08-25 14: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-25 14:02:31] 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-25 14: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-25 14:02:31] 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-25 14: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-25 14: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-25 14:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637493760001,"66":13167,"120":206,"28":31744,"24":1,"16":15929934916616192,"45":1738248749306544128},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637493760001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:02:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929934916616192,"km_value":15929934916616.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306544128,"description":"Unknown IO ID 45"} 
[2026-08-25 14:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637493760001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738248749306544128}} 
[2026-08-25 14:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":162921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:02:31] local.INFO: GPS data processed {"connection_id":162921,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:02:31] local.INFO: Acknowledgment sent {"connection_id":162921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:02:40] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:02:40] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:02:40] local.INFO: IMEI packet received {"connection_id":161929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":161929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:02:41] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:02:41] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:02:41] local.INFO: IMEI packet received {"connection_id":161681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":161681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:02:42] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:02:42] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:02:42] local.INFO: IMEI packet received {"connection_id":161681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":161681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:02:45] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:02:45] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:02:45] local.INFO: IMEI packet received {"connection_id":161929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":161929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:02:46] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:02:46] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:02:46] local.INFO: IMEI packet received {"connection_id":161681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":161681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:02:46] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:02:46] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:02:46] local.INFO: Packet analysis {"connection_id":161929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:02:46] local.INFO: Extracted packet for processing {"connection_id":161929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637427968001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646504000,"timestamp_ms":1787646504000,"timestamp_seconds":1787646504,"priority":1,"record_length":96,"hex_timestamp":"000001a03808ec40"} 
[2026-08-25 14:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 14:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637427968001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637427968001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637427968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":161929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:02:46] local.INFO: GPS data processed {"connection_id":161929,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:02:46] local.INFO: Acknowledgment sent {"connection_id":161929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:02:47] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380bd270012d95ea40057dfc08000e00a12f..."} 
[2026-08-25 14:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380bd270012d95ea40057dfc08000e00a12f..."} 
[2026-08-25 14:02:47] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380bd270012d95ea40057dfc08000e00a12f..."} 
[2026-08-25 14:02:47] local.INFO: Packet analysis {"connection_id":161681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380b"} 
[2026-08-25 14:02:47] local.INFO: Extracted packet for processing {"connection_id":161681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380b"} 
[2026-08-25 14:02:47] local.INFO: GPS Element Parsed {"raw_longitude":764799552,"raw_latitude":92142600,"longitude_deg":76.4799552,"latitude_deg":9.21426,"altitude":14,"angle":161,"satellites":47,"speed":57,"hex_longitude":"2d95ea40","hex_latitude":"057dfc08","is_valid_coordinates":true} 
[2026-08-25 14:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637551872001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123653379762159616,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7647886199870115840,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:47] 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-25 14:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787646694000,"timestamp_ms":1787646694000,"timestamp_seconds":1787646694,"priority":1,"record_length":96,"hex_timestamp":"000001a0380bd270"} 
[2026-08-25 14:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 14:02:47] 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-25 14:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:02:47] 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-25 14:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637551872001,"66":13526,"236":206,"85":15360,"24":57,"16":123653379762159616,"45":-7647886199870115840},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 14:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637551872001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:02:47] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 14:02:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123653379762159616,"km_value":123653379762159.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7647886199870115840,"description":"Unknown IO ID 45"} 
[2026-08-25 14:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637551872001,"power":13526,"unknown_236":206,"unknown_85":15360,"ignition":57,"odometer":null,"unknown_45":-7647886199870115840}} 
[2026-08-25 14:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":161681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:02:47] local.INFO: GPS data processed {"connection_id":161681,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:02:47] local.INFO: Acknowledgment sent {"connection_id":161681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:02:52] local.INFO: TCP Data received {"connection_id":161930,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:02:52] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:02:52] local.INFO: IMEI packet received {"connection_id":161930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":161930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:02:53] local.INFO: TCP Data received {"connection_id":161930,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:02:53] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:02:53] local.INFO: IMEI packet received {"connection_id":161930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":161930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:02:58] local.INFO: TCP Data received {"connection_id":161930,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:02:58] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:02:58] local.INFO: IMEI packet received {"connection_id":161930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":161930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:02:59] local.INFO: TCP Data received {"connection_id":161930,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0380bcaa0012d181e400721ad20004c00cb2b..."} 
[2026-08-25 14:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380bcaa0012d181e400721ad20004c00cb2b..."} 
[2026-08-25 14:02:59] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380bcaa0012d181e400721ad20004c00cb2b..."} 
[2026-08-25 14:02:59] local.INFO: Packet analysis {"connection_id":161930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380b"} 
[2026-08-25 14:02:59] local.INFO: Extracted packet for processing {"connection_id":161930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380b"} 
[2026-08-25 14:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647520,"longitude_deg":75.6555328,"latitude_deg":11.964752,"altitude":76,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-25 14:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637547776001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929956391452672,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585532928,"note":"Value kept but may cause issues"} 
[2026-08-25 14:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787646692000,"timestamp_ms":1787646692000,"timestamp_seconds":1787646692,"priority":1,"record_length":96,"hex_timestamp":"000001a0380bcaa0"} 
[2026-08-25 14:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:02:59] 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-25 14:02:59] local.INFO: IO Element 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-25 14:02:59] 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-25 14:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637547776001,"66":12689,"120":206,"28":31744,"24":0,"16":15929956391452672,"45":1737896905585532928},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637547776001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:02:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:02:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929956391452672,"km_value":15929956391452.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585532928,"description":"Unknown IO ID 45"} 
[2026-08-25 14:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637547776001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585532928}} 
[2026-08-25 14:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":161930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:02:59] local.INFO: GPS data processed {"connection_id":161930,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:02:59] local.INFO: Acknowledgment sent {"connection_id":161930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:03:18] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:03:18] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:03:18] local.INFO: Packet analysis {"connection_id":161929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:03:18] local.INFO: Extracted packet for processing {"connection_id":161929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:03:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637427968001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787646504000,"timestamp_ms":1787646504000,"timestamp_seconds":1787646504,"priority":1,"record_length":96,"hex_timestamp":"000001a03808ec40"} 
[2026-08-25 14:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 14:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637427968001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637427968001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:03:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:03:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637427968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":161929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:03:18] local.INFO: GPS data processed {"connection_id":161929,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:03:18] local.INFO: Acknowledgment sent {"connection_id":161929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:03:19] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d1a90012d969500057bfe68000f00a62f..."} 
[2026-08-25 14:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d1a90012d969500057bfe68000f00a62f..."} 
[2026-08-25 14:03:19] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d1a90012d969500057bfe68000f00a62f..."} 
[2026-08-25 14:03:19] local.INFO: Packet analysis {"connection_id":161681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:03:19] local.INFO: Extracted packet for processing {"connection_id":161681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:03:19] local.INFO: GPS Element Parsed {"raw_longitude":764843264,"raw_latitude":92012136,"longitude_deg":76.4843264,"latitude_deg":9.2012136,"altitude":15,"angle":166,"satellites":47,"speed":64,"hex_longitude":"2d969500","hex_latitude":"057bfe68","is_valid_coordinates":true} 
[2026-08-25 14:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637573632001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123660045551403008,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7598909553955870720,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787646778000,"timestamp_ms":1787646778000,"timestamp_seconds":1787646778,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d1a90"} 
[2026-08-25 14:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 14:03:19] 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-25 14:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:03:19] 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-25 14:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637573632001,"66":13678,"19":206,"85":15360,"24":64,"16":123660045551403008,"45":-7598909553955870720},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 14:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637573632001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:03:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 14:03:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123660045551403008,"km_value":123660045551403.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7598909553955870720,"description":"Unknown IO ID 45"} 
[2026-08-25 14:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637573632001,"power":13678,"unknown_19":206,"unknown_85":15360,"ignition":64,"odometer":null,"unknown_45":-7598909553955870720}} 
[2026-08-25 14:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":161681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:03:19] local.INFO: GPS data processed {"connection_id":161681,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:03:19] local.INFO: Acknowledgment sent {"connection_id":161681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:03:30] local.INFO: TCP Data received {"connection_id":161930,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0380c1ca8012d181e400721ad20004c00cb2a..."} 
[2026-08-25 14:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380c1ca8012d181e400721ad20004c00cb2a..."} 
[2026-08-25 14:03:30] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380c1ca8012d181e400721ad20004c00cb2a..."} 
[2026-08-25 14:03:30] local.INFO: Packet analysis {"connection_id":161930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380c"} 
[2026-08-25 14:03:30] local.INFO: Extracted packet for processing {"connection_id":161930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380c"} 
[2026-08-25 14:03:30] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647520,"longitude_deg":75.6555328,"latitude_deg":11.964752,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-25 14:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637553152001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929956391452672,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585532928,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787646713000,"timestamp_ms":1787646713000,"timestamp_seconds":1787646713,"priority":1,"record_length":96,"hex_timestamp":"000001a0380c1ca8"} 
[2026-08-25 14:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:03:30] 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-25 14:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 14:03:30] 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-25 14:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637553152001,"66":12602,"120":206,"28":31744,"24":0,"16":15929956391452672,"45":1737896905585532928},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637553152001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:03:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:03:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929956391452672,"km_value":15929956391452.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585532928,"description":"Unknown IO ID 45"} 
[2026-08-25 14:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637553152001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585532928}} 
[2026-08-25 14:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":161930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:03:30] local.INFO: GPS data processed {"connection_id":161930,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:03:30] local.INFO: Acknowledgment sent {"connection_id":161930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:03:39] local.INFO: TCP Data received {"connection_id":164299,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:03:39] local.INFO: Processing buffer {"connection_id":164299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:03:39] local.INFO: IMEI packet received {"connection_id":164299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":164299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:03:44] local.INFO: TCP Data received {"connection_id":161682,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:03:44] local.INFO: Processing buffer {"connection_id":161682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:03:44] local.INFO: IMEI packet received {"connection_id":161682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":161682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:03:45] local.INFO: TCP Data received {"connection_id":164299,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:03:45] local.INFO: Processing buffer {"connection_id":164299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:03:45] local.INFO: IMEI packet received {"connection_id":164299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":164299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:03:46] local.INFO: TCP Data received {"connection_id":161682,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:03:46] local.INFO: Processing buffer {"connection_id":161682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:03:46] local.INFO: IMEI packet received {"connection_id":161682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":161682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:03:46] local.INFO: TCP Data received {"connection_id":164299,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:03:46] local.INFO: Processing buffer {"connection_id":164299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03808ec40012d34c14006aa4820000800e630..."} 
[2026-08-25 14:03:46] local.INFO: Packet analysis {"connection_id":164299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:03:46] local.INFO: Extracted packet for processing {"connection_id":164299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03808"} 
[2026-08-25 14:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637427968001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646504000,"timestamp_ms":1787646504000,"timestamp_seconds":1787646504,"priority":1,"record_length":96,"hex_timestamp":"000001a03808ec40"} 
[2026-08-25 14:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 14:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637427968001,"66":25615,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637427968001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:03:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637427968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":164299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:03:46] local.INFO: GPS data processed {"connection_id":164299,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:03:46] local.INFO: Acknowledgment sent {"connection_id":164299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:03:51] local.INFO: TCP Data received {"connection_id":161682,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:03:51] local.INFO: Processing buffer {"connection_id":161682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:03:51] local.INFO: IMEI packet received {"connection_id":161682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":161682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:03:52] local.INFO: TCP Data received {"connection_id":161682,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d3200012d969ec0057bd988000f00a42d..."} 
[2026-08-25 14:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d3200012d969ec0057bd988000f00a42d..."} 
[2026-08-25 14:03:52] local.INFO: Processing buffer {"connection_id":161682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d3200012d969ec0057bd988000f00a42d..."} 
[2026-08-25 14:03:52] local.INFO: Packet analysis {"connection_id":161682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:03:52] local.INFO: Extracted packet for processing {"connection_id":161682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:03:52] local.INFO: GPS Element Parsed {"raw_longitude":764845760,"raw_latitude":92002696,"longitude_deg":76.484576,"latitude_deg":9.2002696,"altitude":15,"angle":164,"satellites":45,"speed":65,"hex_longitude":"2d969ec0","hex_latitude":"057bd988","is_valid_coordinates":true} 
[2026-08-25 14:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637575168001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123660517997805568,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7596165172935366656,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787646784000,"timestamp_ms":1787646784000,"timestamp_seconds":1787646784,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d3200"} 
[2026-08-25 14:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 14:03:52] 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-25 14:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:03:52] 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-25 14:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637575168001,"66":13580,"19":206,"85":15360,"24":65,"16":123660517997805568,"45":-7596165172935366656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 14:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637575168001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:03:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 14:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123660517997805568,"km_value":123660517997805.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7596165172935366656,"description":"Unknown IO ID 45"} 
[2026-08-25 14:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637575168001,"power":13580,"unknown_19":206,"unknown_85":15360,"ignition":65,"odometer":null,"unknown_45":-7596165172935366656}} 
[2026-08-25 14:03:52] local.INFO: TCP Data received {"connection_id":162922,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:03:52] local.INFO: Processing buffer {"connection_id":162922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:03:52] local.INFO: IMEI packet received {"connection_id":162922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":162922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":161682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:03:52] local.INFO: GPS data processed {"connection_id":161682,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:03:52] local.INFO: Acknowledgment sent {"connection_id":161682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:03:56] local.INFO: TCP Data received {"connection_id":162922,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:03:56] local.INFO: Processing buffer {"connection_id":162922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:03:56] local.INFO: IMEI packet received {"connection_id":162922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":162922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:03:57] local.INFO: TCP Data received {"connection_id":162922,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:03:57] local.INFO: Processing buffer {"connection_id":162922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:03:57] local.INFO: IMEI packet received {"connection_id":162922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":162922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:03:58] local.INFO: TCP Data received {"connection_id":162922,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0380c6eb0012d181e400721ad20004c00cb2a..."} 
[2026-08-25 14:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380c6eb0012d181e400721ad20004c00cb2a..."} 
[2026-08-25 14:03:58] local.INFO: Processing buffer {"connection_id":162922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380c6eb0012d181e400721ad20004c00cb2a..."} 
[2026-08-25 14:03:58] local.INFO: Packet analysis {"connection_id":162922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380c"} 
[2026-08-25 14:03:58] local.INFO: Extracted packet for processing {"connection_id":162922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380c"} 
[2026-08-25 14:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647520,"longitude_deg":75.6555328,"latitude_deg":11.964752,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637558528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929956391452672,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585532928,"note":"Value kept but may cause issues"} 
[2026-08-25 14:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787646734000,"timestamp_ms":1787646734000,"timestamp_seconds":1787646734,"priority":1,"record_length":96,"hex_timestamp":"000001a0380c6eb0"} 
[2026-08-25 14: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-25 14:03:58] 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-25 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-25 14:03:58] 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-25 14: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-25 14: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-25 14:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637558528001,"66":12580,"120":206,"28":31744,"24":0,"16":15929956391452672,"45":1737896905585532928},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637558528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:03:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:03:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929956391452672,"km_value":15929956391452.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585532928,"description":"Unknown IO ID 45"} 
[2026-08-25 14:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637558528001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585532928}} 
[2026-08-25 14:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":162922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:03:58] local.INFO: GPS data processed {"connection_id":162922,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:03:58] local.INFO: Acknowledgment sent {"connection_id":162922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:04:18] local.INFO: TCP Data received {"connection_id":164299,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:04:18] local.INFO: Processing buffer {"connection_id":164299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:04:18] local.INFO: Packet analysis {"connection_id":164299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:04:18] local.INFO: Extracted packet for processing {"connection_id":164299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637505024001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787646805000,"timestamp_ms":1787646805000,"timestamp_seconds":1787646805,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d8408"} 
[2026-08-25 14:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 14:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637505024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637505024001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:04:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637505024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":164299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:04:18] local.INFO: GPS data processed {"connection_id":164299,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:04:18] local.INFO: Acknowledgment sent {"connection_id":164299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:04:23] local.INFO: TCP Data received {"connection_id":161682,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d4970012d96a980057bb3d8000f00a52d..."} 
[2026-08-25 14:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d4970012d96a980057bb3d8000f00a52d..."} 
[2026-08-25 14:04:23] local.INFO: Processing buffer {"connection_id":161682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d4970012d96a980057bb3d8000f00a52d..."} 
[2026-08-25 14:04:23] local.INFO: Packet analysis {"connection_id":161682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:04:23] local.INFO: Extracted packet for processing {"connection_id":161682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:04:23] local.INFO: GPS Element Parsed {"raw_longitude":764848512,"raw_latitude":91993048,"longitude_deg":76.4848512,"latitude_deg":9.1993048,"altitude":15,"angle":165,"satellites":45,"speed":67,"hex_longitude":"2d96a980","hex_latitude":"057bb3d8","is_valid_coordinates":true} 
[2026-08-25 14:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637576704001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123661003329110016,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7593420791914854400,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787646790000,"timestamp_ms":1787646790000,"timestamp_seconds":1787646790,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d4970"} 
[2026-08-25 14:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:04: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-25 14:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626065,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2524135429,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5237130013748232192,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13466131,"corrected_to":0} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635957600090643,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2048065742,"corrected_to":0} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3489738134,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221585041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292422807138731,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":150,"raw_value":5368296789630255119,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.WARNING: Large IO value detected {"io_id":60,"raw_value":6755691498963185,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:23] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,19,85,24,241,157,16,84,160,26,45,254,15,47,10,66,3,64,35,83,235,1,240,247,227,56,124,4,113,205,188,101,152,239,52,2,183,5,13,65,150,60],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":247,"original":13466131,"validated":0},{"io_id":205,"original":2048065742,"validated":0}]} 
[2026-08-25 14:04:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081044423753662464,"timestamp_seconds":1081044423753662.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:04: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-25 14:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637576704001,"66":13526,"19":206,"85":15360,"24":67,"16":123661003329110016,"45":-7593420791914854400},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 14:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637576704001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:04:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 14:04:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123661003329110016,"km_value":123661003329110.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7593420791914854400,"description":"Unknown IO ID 45"} 
[2026-08-25 14:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637576704001,"power":13526,"unknown_19":206,"unknown_85":15360,"ignition":67,"odometer":null,"unknown_45":-7593420791914854400}} 
[2026-08-25 14:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":161682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:04:23] local.INFO: GPS data processed {"connection_id":161682,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:04:23] local.INFO: Acknowledgment sent {"connection_id":161682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:04:30] local.INFO: TCP Data received {"connection_id":162922,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0380cc0b8012d181e400721ad20004c00cb2a..."} 
[2026-08-25 14:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380cc0b8012d181e400721ad20004c00cb2a..."} 
[2026-08-25 14:04:30] local.INFO: Processing buffer {"connection_id":162922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380cc0b8012d181e400721ad20004c00cb2a..."} 
[2026-08-25 14:04:30] local.INFO: Packet analysis {"connection_id":162922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380c"} 
[2026-08-25 14:04:30] local.INFO: Extracted packet for processing {"connection_id":162922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380c"} 
[2026-08-25 14:04:30] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647520,"longitude_deg":75.6555328,"latitude_deg":11.964752,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-25 14:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637563904001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929956391452672,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585532928,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787646755000,"timestamp_ms":1787646755000,"timestamp_seconds":1787646755,"priority":1,"record_length":96,"hex_timestamp":"000001a0380cc0b8"} 
[2026-08-25 14:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:04:30] 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-25 14:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-25 14:04:30] 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-25 14:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637563904001,"66":12580,"120":206,"28":31744,"24":0,"16":15929956391452672,"45":1737896905585532928},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637563904001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:04:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:04:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929956391452672,"km_value":15929956391452.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585532928,"description":"Unknown IO ID 45"} 
[2026-08-25 14:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637563904001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585532928}} 
[2026-08-25 14:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":162922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:04:30] local.INFO: GPS data processed {"connection_id":162922,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:04:30] local.INFO: Acknowledgment sent {"connection_id":162922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:04:40] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:04:40] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:04:40] local.INFO: IMEI packet received {"connection_id":161931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":161931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:04:41] local.INFO: TCP Data received {"connection_id":162923,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:04:41] local.INFO: Processing buffer {"connection_id":162923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:04:41] local.INFO: IMEI packet received {"connection_id":162923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":162923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:04:45] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:04:45] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:04:45] local.INFO: IMEI packet received {"connection_id":161931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":161931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:04:46] local.INFO: TCP Data received {"connection_id":162923,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:04:46] local.INFO: Processing buffer {"connection_id":162923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:04:46] local.INFO: IMEI packet received {"connection_id":162923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":162923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:04:46] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:04:46] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:04:46] local.INFO: Packet analysis {"connection_id":161931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:04:46] local.INFO: Extracted packet for processing {"connection_id":161931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637505024001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646805000,"timestamp_ms":1787646805000,"timestamp_seconds":1787646805,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d8408"} 
[2026-08-25 14:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 14:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637505024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637505024001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637505024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":161931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:04:46] local.INFO: GPS data processed {"connection_id":161931,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:04:46] local.INFO: Acknowledgment sent {"connection_id":161931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:04:47] local.INFO: TCP Data received {"connection_id":162923,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d60e0012d96b340057b8e98000e00a42d..."} 
[2026-08-25 14:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d60e0012d96b340057b8e98000e00a42d..."} 
[2026-08-25 14:04:47] local.INFO: Processing buffer {"connection_id":162923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d60e0012d96b340057b8e98000e00a42d..."} 
[2026-08-25 14:04:47] local.INFO: Packet analysis {"connection_id":162923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:04:47] local.INFO: Extracted packet for processing {"connection_id":162923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:04:47] local.INFO: GPS Element Parsed {"raw_longitude":764851008,"raw_latitude":91983512,"longitude_deg":76.4851008,"latitude_deg":9.1983512,"altitude":14,"angle":164,"satellites":45,"speed":60,"hex_longitude":"2d96b340","hex_latitude":"057b8e98","is_valid_coordinates":true} 
[2026-08-25 14:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637578240001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123661484365447168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7590394935917684736,"note":"Value kept but may cause issues"} 
[2026-08-25 14:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787646796000,"timestamp_ms":1787646796000,"timestamp_seconds":1787646796,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d60e0"} 
[2026-08-25 14:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 14:04:47] 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-25 14:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:04:47] 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-25 14:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637578240001,"66":13406,"19":206,"85":15360,"24":60,"16":123661484365447168,"45":-7590394935917684736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 14:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637578240001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:04:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 14:04:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123661484365447168,"km_value":123661484365447.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7590394935917684736,"description":"Unknown IO ID 45"} 
[2026-08-25 14:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637578240001,"power":13406,"unknown_19":206,"unknown_85":15360,"ignition":60,"odometer":null,"unknown_45":-7590394935917684736}} 
[2026-08-25 14:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":162923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:04:47] local.INFO: GPS data processed {"connection_id":162923,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:04:47] local.INFO: Acknowledgment sent {"connection_id":162923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:04:53] local.INFO: TCP Data received {"connection_id":161683,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:04:53] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:04:53] local.INFO: IMEI packet received {"connection_id":161683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":161683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:04:55] local.INFO: TCP Data received {"connection_id":161683,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:04:55] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:04:55] local.INFO: IMEI packet received {"connection_id":161683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":161683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:04:57] local.INFO: TCP Data received {"connection_id":161683,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:04:57] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:04:57] local.INFO: IMEI packet received {"connection_id":161683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":161683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:04:58] local.INFO: TCP Data received {"connection_id":161683,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:04:58] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:04:58] local.INFO: IMEI packet received {"connection_id":161683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":161683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:05:00] local.INFO: TCP Data received {"connection_id":162920,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:05:00] local.INFO: Processing buffer {"connection_id":162920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:05:00] local.INFO: IMEI packet received {"connection_id":162920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 14:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":162920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:05:18] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:05:18] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:05:18] local.INFO: Packet analysis {"connection_id":161931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:05:18] local.INFO: Extracted packet for processing {"connection_id":161931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:05:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637505024001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787646805000,"timestamp_ms":1787646805000,"timestamp_seconds":1787646805,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d8408"} 
[2026-08-25 14: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-25 14:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 14:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637505024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637505024001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:05:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637505024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":161931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:05:18] local.INFO: GPS data processed {"connection_id":161931,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:05:18] local.INFO: Acknowledgment sent {"connection_id":161931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:05:29] local.INFO: TCP Data received {"connection_id":162923,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d8408012d96be40057b6d18000c00992c..."} 
[2026-08-25 14:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d8408012d96be40057b6d18000c00992c..."} 
[2026-08-25 14:05:29] local.INFO: Processing buffer {"connection_id":162923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d8408012d96be40057b6d18000c00992c..."} 
[2026-08-25 14:05:29] local.INFO: Packet analysis {"connection_id":162923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:05:29] local.INFO: Extracted packet for processing {"connection_id":162923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:05:29] local.INFO: GPS Element Parsed {"raw_longitude":764853824,"raw_latitude":91974936,"longitude_deg":76.4853824,"latitude_deg":9.1974936,"altitude":12,"angle":153,"satellites":44,"speed":18,"hex_longitude":"2d96be40","hex_latitude":"057b6d18","is_valid_coordinates":true} 
[2026-08-25 14:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637579776001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123661922452111360,"note":"Value kept but may cause issues"} 
[2026-08-25 14:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7587650554897197056,"note":"Value kept but may cause issues"} 
[2026-08-25 14:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787646805000,"timestamp_ms":1787646805000,"timestamp_seconds":1787646805,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d8408"} 
[2026-08-25 14:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 14:05:29] 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-25 14:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637579776001,"66":13580,"119":206,"85":15360,"24":18,"16":123661922452111360,"45":-7587650554897197056},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-25 14:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637579776001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:05:29] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-25 14:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123661922452111360,"km_value":123661922452111.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7587650554897197056,"description":"Unknown IO ID 45"} 
[2026-08-25 14:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637579776001,"power":13580,"unknown_119":206,"unknown_85":15360,"ignition":18,"odometer":null,"unknown_45":-7587650554897197056}} 
[2026-08-25 14:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":162923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:05:29] local.INFO: GPS data processed {"connection_id":162923,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:05:29] local.INFO: Acknowledgment sent {"connection_id":162923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:05:40] local.INFO: TCP Data received {"connection_id":164300,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:05:40] local.INFO: Processing buffer {"connection_id":164300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:05:40] local.INFO: IMEI packet received {"connection_id":164300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":164300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:05:41] local.INFO: TCP Data received {"connection_id":162924,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:05:41] local.INFO: Processing buffer {"connection_id":162924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:05:41] local.INFO: IMEI packet received {"connection_id":162924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":162924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:05:43] local.INFO: TCP Data received {"connection_id":162924,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:05:43] local.INFO: Processing buffer {"connection_id":162924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:05:43] local.INFO: IMEI packet received {"connection_id":162924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":162924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:05:45] local.INFO: TCP Data received {"connection_id":164300,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:05:45] local.INFO: Processing buffer {"connection_id":164300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:05:45] local.INFO: IMEI packet received {"connection_id":164300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":164300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:05:46] local.INFO: TCP Data received {"connection_id":164300,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:05:46] local.INFO: Processing buffer {"connection_id":164300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:05:46] local.INFO: Packet analysis {"connection_id":164300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:05:46] local.INFO: Extracted packet for processing {"connection_id":164300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637505024001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646805000,"timestamp_ms":1787646805000,"timestamp_seconds":1787646805,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d8408"} 
[2026-08-25 14:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 14:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637505024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637505024001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637505024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":164300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:05:46] local.INFO: GPS data processed {"connection_id":164300,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:05:46] local.INFO: Acknowledgment sent {"connection_id":164300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:05:46] local.INFO: TCP Data received {"connection_id":162924,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:05:46] local.INFO: Processing buffer {"connection_id":162924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:05:46] local.INFO: IMEI packet received {"connection_id":162924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":162924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:05:47] local.INFO: TCP Data received {"connection_id":162924,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380f31b8012d971240057a31c0000e00a230..."} 
[2026-08-25 14:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380f31b8012d971240057a31c0000e00a230..."} 
[2026-08-25 14:05:47] local.INFO: Processing buffer {"connection_id":162924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380f31b8012d971240057a31c0000e00a230..."} 
[2026-08-25 14:05:47] local.INFO: Packet analysis {"connection_id":162924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380f"} 
[2026-08-25 14:05:47] local.INFO: Extracted packet for processing {"connection_id":162924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380f"} 
[2026-08-25 14:05:47] local.INFO: GPS Element Parsed {"raw_longitude":764875328,"raw_latitude":91894208,"longitude_deg":76.4875328,"latitude_deg":9.1894208,"altitude":14,"angle":162,"satellites":48,"speed":53,"hex_longitude":"2d971240","hex_latitude":"057a31c0","is_valid_coordinates":true} 
[2026-08-25 14:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637608192001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123665985491173376,"note":"Value kept but may cause issues"} 
[2026-08-25 14:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7563443706920515584,"note":"Value kept but may cause issues"} 
[2026-08-25 14:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787646915000,"timestamp_ms":1787646915000,"timestamp_seconds":1787646915,"priority":1,"record_length":96,"hex_timestamp":"000001a0380f31b8"} 
[2026-08-25 14:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 14:05:47] 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-25 14:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:05:47] 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-25 14:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637608192001,"66":13319,"120":206,"85":15360,"24":53,"16":123665985491173376,"45":-7563443706920515584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-25 14:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637608192001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:05:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:05:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123665985491173376,"km_value":123665985491173.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7563443706920515584,"description":"Unknown IO ID 45"} 
[2026-08-25 14:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637608192001,"power":13319,"unknown_120":206,"unknown_85":15360,"ignition":53,"odometer":null,"unknown_45":-7563443706920515584}} 
[2026-08-25 14:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":162924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:05:47] local.INFO: GPS data processed {"connection_id":162924,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:05:47] local.INFO: Acknowledgment sent {"connection_id":162924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:06:18] local.INFO: TCP Data received {"connection_id":164300,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:06:18] local.INFO: Processing buffer {"connection_id":164300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:06:18] local.INFO: Packet analysis {"connection_id":164300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:06:18] local.INFO: Extracted packet for processing {"connection_id":164300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637505024001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787646805000,"timestamp_ms":1787646805000,"timestamp_seconds":1787646805,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d8408"} 
[2026-08-25 14: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-25 14:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 14:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637505024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637505024001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:06:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637505024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":164300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:06:18] local.INFO: GPS data processed {"connection_id":164300,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:06:18] local.INFO: Acknowledgment sent {"connection_id":164300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:06:19] local.INFO: TCP Data received {"connection_id":162924,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380f4d10012d972180057a0c90000f009a2f..."} 
[2026-08-25 14:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380f4d10012d972180057a0c90000f009a2f..."} 
[2026-08-25 14:06:19] local.INFO: Processing buffer {"connection_id":162924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380f4d10012d972180057a0c90000f009a2f..."} 
[2026-08-25 14:06:19] local.INFO: Packet analysis {"connection_id":162924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380f"} 
[2026-08-25 14:06:19] local.INFO: Extracted packet for processing {"connection_id":162924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380f"} 
[2026-08-25 14:06:19] local.INFO: GPS Element Parsed {"raw_longitude":764879232,"raw_latitude":91884688,"longitude_deg":76.4879232,"latitude_deg":9.1884688,"altitude":15,"angle":154,"satellites":47,"speed":62,"hex_longitude":"2d972180","hex_latitude":"057a0c90","is_valid_coordinates":true} 
[2026-08-25 14:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637610240001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123666483707379712,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7560910432132546560,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787646922000,"timestamp_ms":1787646922000,"timestamp_seconds":1787646922,"priority":1,"record_length":96,"hex_timestamp":"000001a0380f4d10"} 
[2026-08-25 14:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 14:06:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:19] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3051880460,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2054684878,"corrected_to":0} 
[2026-08-25 14:06:19] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3758173590,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57837026053870908,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:19] local.WARNING: Large IO value detected {"io_id":13,"raw_value":-1333064194385805307,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:19] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2017612676022283776,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:19] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,120,85,24,241,157,16,89,160,18,45,64,86,14,48,10,66,235,192,125,88,128,1,240,227,56,122,4,113,205,38,90,237,184,239,52,2,183,5,21,7,13,123],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2054684878,"validated":0}]} 
[2026-08-25 14:06:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008984643576594432,"timestamp_seconds":1008984643576594.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:06:19] 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-25 14:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637610240001,"66":13374,"120":206,"85":15360,"24":62,"16":123666483707379712,"45":-7560910432132546560},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-25 14:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637610240001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:06:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:06:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123666483707379712,"km_value":123666483707379.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7560910432132546560,"description":"Unknown IO ID 45"} 
[2026-08-25 14:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637610240001,"power":13374,"unknown_120":206,"unknown_85":15360,"ignition":62,"odometer":null,"unknown_45":-7560910432132546560}} 
[2026-08-25 14:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":162924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:06:19] local.INFO: GPS data processed {"connection_id":162924,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:06:19] local.INFO: Acknowledgment sent {"connection_id":162924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:06:40] local.INFO: TCP Data received {"connection_id":164301,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:06:40] local.INFO: Processing buffer {"connection_id":164301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:06:40] local.INFO: IMEI packet received {"connection_id":164301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":164301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:06:41] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:06:41] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:06:41] local.INFO: IMEI packet received {"connection_id":161932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":161932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:06:45] local.INFO: TCP Data received {"connection_id":164301,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:06:45] local.INFO: Processing buffer {"connection_id":164301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:06:45] local.INFO: IMEI packet received {"connection_id":164301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":164301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:06:46] local.INFO: TCP Data received {"connection_id":164301,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:06:46] local.INFO: Processing buffer {"connection_id":164301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:06:46] local.INFO: Packet analysis {"connection_id":164301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:06:46] local.INFO: Extracted packet for processing {"connection_id":164301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637505024001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646805000,"timestamp_ms":1787646805000,"timestamp_seconds":1787646805,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d8408"} 
[2026-08-25 14:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 14:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637505024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637505024001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:06:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:06:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637505024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":164301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:06:46] local.INFO: GPS data processed {"connection_id":164301,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:06:46] local.INFO: Acknowledgment sent {"connection_id":164301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:06:46] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:06:46] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:06:46] local.INFO: IMEI packet received {"connection_id":161932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":161932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:06:47] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380f6480012d9731c00579ec60000e00972f..."} 
[2026-08-25 14:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380f6480012d9731c00579ec60000e00972f..."} 
[2026-08-25 14:06:47] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380f6480012d9731c00579ec60000e00972f..."} 
[2026-08-25 14:06:47] local.INFO: Packet analysis {"connection_id":161932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380f"} 
[2026-08-25 14:06:47] local.INFO: Extracted packet for processing {"connection_id":161932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380f"} 
[2026-08-25 14:06:47] local.INFO: GPS Element Parsed {"raw_longitude":764883392,"raw_latitude":91876448,"longitude_deg":76.4883392,"latitude_deg":9.1876448,"altitude":14,"angle":151,"satellites":47,"speed":58,"hex_longitude":"2d9731c0","hex_latitude":"0579ec60","is_valid_coordinates":true} 
[2026-08-25 14:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637612032001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123666930383978496,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7556617938740146176,"note":"Value kept but may cause issues"} 
[2026-08-25 14:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787646928000,"timestamp_ms":1787646928000,"timestamp_seconds":1787646928,"priority":1,"record_length":96,"hex_timestamp":"000001a0380f6480"} 
[2026-08-25 14:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 14:06:47] 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-25 14:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:06:47] 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-25 14:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637612032001,"66":13656,"120":206,"85":15360,"24":58,"16":123666930383978496,"45":-7556617938740146176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-25 14:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637612032001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:06:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 14:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123666930383978496,"km_value":123666930383978.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7556617938740146176,"description":"Unknown IO ID 45"} 
[2026-08-25 14:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637612032001,"power":13656,"unknown_120":206,"unknown_85":15360,"ignition":58,"odometer":null,"unknown_45":-7556617938740146176}} 
[2026-08-25 14:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":161932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:06:47] local.INFO: GPS data processed {"connection_id":161932,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:06:47] local.INFO: Acknowledgment sent {"connection_id":161932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:07:17] local.INFO: TCP Data received {"connection_id":164301,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:07:17] local.INFO: Processing buffer {"connection_id":164301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:07:17] local.INFO: Packet analysis {"connection_id":164301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:07:17] local.INFO: Extracted packet for processing {"connection_id":164301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:07:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637505024001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787646805000,"timestamp_ms":1787646805000,"timestamp_seconds":1787646805,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d8408"} 
[2026-08-25 14:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 14:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637505024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637505024001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:07:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:07:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637505024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":164301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:07:17] local.INFO: GPS data processed {"connection_id":164301,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:07:17] local.INFO: Acknowledgment sent {"connection_id":164301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:07:18] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0380f7bf0012d9742c00579cdc0000e00972d..."} 
[2026-08-25 14:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380f7bf0012d9742c00579cdc0000e00972d..."} 
[2026-08-25 14:07:18] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380f7bf0012d9742c00579cdc0000e00972d..."} 
[2026-08-25 14:07:18] local.INFO: Packet analysis {"connection_id":161932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380f"} 
[2026-08-25 14:07:18] local.INFO: Extracted packet for processing {"connection_id":161932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380f"} 
[2026-08-25 14:07:18] local.INFO: GPS Element Parsed {"raw_longitude":764887744,"raw_latitude":91868608,"longitude_deg":76.4887744,"latitude_deg":9.1868608,"altitude":14,"angle":151,"satellites":45,"speed":57,"hex_longitude":"2d9742c0","hex_latitude":"0579cdc0","is_valid_coordinates":true} 
[2026-08-25 14:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637613568001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123667364175675392,"note":"Value kept but may cause issues"} 
[2026-08-25 14:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7552043970370707456,"note":"Value kept but may cause issues"} 
[2026-08-25 14:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787646934000,"timestamp_ms":1787646934000,"timestamp_seconds":1787646934,"priority":1,"record_length":96,"hex_timestamp":"000001a0380f7bf0"} 
[2026-08-25 14:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 14:07: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-25 14:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:07: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-25 14:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637613568001,"66":13189,"13":206,"85":15872,"24":57,"16":123667364175675392,"45":-7552043970370707456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,85,24,16,45]} 
[2026-08-25 14:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637613568001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:07:18] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-25 14:07:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123667364175675392,"km_value":123667364175675.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7552043970370707456,"description":"Unknown IO ID 45"} 
[2026-08-25 14:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637613568001,"power":13189,"unknown_13":206,"unknown_85":15872,"ignition":57,"odometer":null,"unknown_45":-7552043970370707456}} 
[2026-08-25 14:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":161932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:07:18] local.INFO: GPS data processed {"connection_id":161932,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:07:18] local.INFO: Acknowledgment sent {"connection_id":161932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:07:39] local.INFO: TCP Data received {"connection_id":162926,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:07:39] local.INFO: Processing buffer {"connection_id":162926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:07:39] local.INFO: IMEI packet received {"connection_id":162926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":162926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:07:41] local.INFO: TCP Data received {"connection_id":164302,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:07:41] local.INFO: Processing buffer {"connection_id":164302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:07:41] local.INFO: IMEI packet received {"connection_id":164302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":164302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:07:42] local.INFO: TCP Data received {"connection_id":164302,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:07:42] local.INFO: Processing buffer {"connection_id":164302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:07:42] local.INFO: IMEI packet received {"connection_id":164302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":164302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:07:45] local.INFO: TCP Data received {"connection_id":162926,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:07:45] local.INFO: Processing buffer {"connection_id":162926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:07:45] local.INFO: IMEI packet received {"connection_id":162926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":162926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:07:46] local.INFO: TCP Data received {"connection_id":164302,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:07:46] local.INFO: Processing buffer {"connection_id":164302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:07:46] local.INFO: IMEI packet received {"connection_id":164302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":164302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:07:46] local.INFO: TCP Data received {"connection_id":162926,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:07:46] local.INFO: Processing buffer {"connection_id":162926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:07:46] local.INFO: Packet analysis {"connection_id":162926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:07:46] local.INFO: Extracted packet for processing {"connection_id":162926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637505024001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646805000,"timestamp_ms":1787646805000,"timestamp_seconds":1787646805,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d8408"} 
[2026-08-25 14:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 14:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637505024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637505024001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637505024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":162926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:07:46] local.INFO: GPS data processed {"connection_id":162926,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:07:46] local.INFO: Acknowledgment sent {"connection_id":162926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:07:47] local.INFO: TCP Data received {"connection_id":164302,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381129a0012d97e5000578a448000a009230..."} 
[2026-08-25 14:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381129a0012d97e5000578a448000a009230..."} 
[2026-08-25 14:07:47] local.INFO: Processing buffer {"connection_id":164302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381129a0012d97e5000578a448000a009230..."} 
[2026-08-25 14:07:47] local.INFO: Packet analysis {"connection_id":164302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03811"} 
[2026-08-25 14:07:47] local.INFO: Extracted packet for processing {"connection_id":164302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03811"} 
[2026-08-25 14:07:47] local.INFO: GPS Element Parsed {"raw_longitude":764929280,"raw_latitude":91792456,"longitude_deg":76.492928,"latitude_deg":9.1792456,"altitude":10,"angle":146,"satellites":48,"speed":45,"hex_longitude":"2d97e500","hex_latitude":"0578a448","is_valid_coordinates":true} 
[2026-08-25 14:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637640960001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123671564653690880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7507078342860564480,"note":"Value kept but may cause issues"} 
[2026-08-25 14:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787647044000,"timestamp_ms":1787647044000,"timestamp_seconds":1787647044,"priority":1,"record_length":96,"hex_timestamp":"000001a0381129a0"} 
[2026-08-25 14:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 14:07:47] 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-25 14:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:07:47] 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-25 14:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637640960001,"66":13374,"190":206,"85":15872,"24":45,"16":123671564653690880,"45":-7507078342860564480},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-25 14:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637640960001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:07:47] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-25 14:07:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123671564653690880,"km_value":123671564653690.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7507078342860564480,"description":"Unknown IO ID 45"} 
[2026-08-25 14:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637640960001,"power":13374,"unknown_190":206,"unknown_85":15872,"ignition":45,"odometer":null,"unknown_45":-7507078342860564480}} 
[2026-08-25 14:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":164302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:07:47] local.INFO: GPS data processed {"connection_id":164302,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:07:47] local.INFO: Acknowledgment sent {"connection_id":164302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:08:17] local.INFO: TCP Data received {"connection_id":162926,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:08:17] local.INFO: Processing buffer {"connection_id":162926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:08:17] local.INFO: Packet analysis {"connection_id":162926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:08:17] local.INFO: Extracted packet for processing {"connection_id":162926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637505024001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787646805000,"timestamp_ms":1787646805000,"timestamp_seconds":1787646805,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d8408"} 
[2026-08-25 14:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 14:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637505024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637505024001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:08:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637505024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":162926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:08:17] local.INFO: GPS data processed {"connection_id":162926,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:08:17] local.INFO: Acknowledgment sent {"connection_id":162926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:08:18] local.INFO: TCP Data received {"connection_id":164302,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381148e0012d97f840057885e8000900942f..."} 
[2026-08-25 14:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381148e0012d97f840057885e8000900942f..."} 
[2026-08-25 14:08:18] local.INFO: Processing buffer {"connection_id":164302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381148e0012d97f840057885e8000900942f..."} 
[2026-08-25 14:08:18] local.INFO: Packet analysis {"connection_id":164302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03811"} 
[2026-08-25 14:08:18] local.INFO: Extracted packet for processing {"connection_id":164302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03811"} 
[2026-08-25 14:08:18] local.INFO: GPS Element Parsed {"raw_longitude":764934208,"raw_latitude":91784680,"longitude_deg":76.4934208,"latitude_deg":9.178468,"altitude":9,"angle":148,"satellites":47,"speed":45,"hex_longitude":"2d97f840","hex_latitude":"057885e8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637643264001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123672011330289664,"note":"Value kept but may cause issues"} 
[2026-08-25 14:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7501589580816824320,"note":"Value kept but may cause issues"} 
[2026-08-25 14:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787647052000,"timestamp_ms":1787647052000,"timestamp_seconds":1787647052,"priority":1,"record_length":96,"hex_timestamp":"000001a0381148e0"} 
[2026-08-25 14: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-25 14: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-25 14: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":62,"data_length":795,"current_offset":136} 
[2026-08-25 14:08: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-25 14: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-25 14: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-25 14:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:08: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-25 14:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637643264001,"66":13515,"190":206,"85":15872,"24":45,"16":123672011330289664,"45":-7501589580816824320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-25 14:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637643264001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:08:18] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-25 14:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123672011330289664,"km_value":123672011330289.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7501589580816824320,"description":"Unknown IO ID 45"} 
[2026-08-25 14:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637643264001,"power":13515,"unknown_190":206,"unknown_85":15872,"ignition":45,"odometer":null,"unknown_45":-7501589580816824320}} 
[2026-08-25 14:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":164302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:08:18] local.INFO: GPS data processed {"connection_id":164302,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:08:18] local.INFO: Acknowledgment sent {"connection_id":164302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:08:40] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:08:40] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:08:40] local.INFO: IMEI packet received {"connection_id":161933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":161933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:08:43] local.INFO: TCP Data received {"connection_id":162927,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:08:43] local.INFO: Processing buffer {"connection_id":162927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:08:43] local.INFO: IMEI packet received {"connection_id":162927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":162927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:08:45] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:08:45] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:08:45] local.INFO: IMEI packet received {"connection_id":161933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":161933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:08:46] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:08:46] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0380d8408012d34c14006aa4820000b00e62e..."} 
[2026-08-25 14:08:46] local.INFO: Packet analysis {"connection_id":161933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:08:46] local.INFO: Extracted packet for processing {"connection_id":161933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0380d"} 
[2026-08-25 14:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637505024001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787646805000,"timestamp_ms":1787646805000,"timestamp_seconds":1787646805,"priority":1,"record_length":96,"hex_timestamp":"000001a0380d8408"} 
[2026-08-25 14:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 14:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637505024001,"66":25625,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637505024001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637505024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":161933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:08:46] local.INFO: GPS data processed {"connection_id":161933,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:08:46] local.INFO: Acknowledgment sent {"connection_id":161933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:08:46] local.INFO: TCP Data received {"connection_id":162927,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:08:46] local.INFO: Processing buffer {"connection_id":162927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:08:46] local.INFO: IMEI packet received {"connection_id":162927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":162927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:08:51] local.INFO: TCP Data received {"connection_id":162927,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:08:51] local.INFO: Processing buffer {"connection_id":162927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:08:51] local.INFO: IMEI packet received {"connection_id":162927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":162927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:08:51] local.INFO: TCP Data received {"connection_id":162927,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038116820012d980c00057866f0000900942e..."} 
[2026-08-25 14:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038116820012d980c00057866f0000900942e..."} 
[2026-08-25 14:08:51] local.INFO: Processing buffer {"connection_id":162927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038116820012d980c00057866f0000900942e..."} 
[2026-08-25 14:08:51] local.INFO: Packet analysis {"connection_id":162927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03811"} 
[2026-08-25 14:08:51] local.INFO: Extracted packet for processing {"connection_id":162927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03811"} 
[2026-08-25 14:08:51] local.INFO: GPS Element Parsed {"raw_longitude":764939264,"raw_latitude":91776752,"longitude_deg":76.4939264,"latitude_deg":9.1776752,"altitude":9,"angle":148,"satellites":46,"speed":46,"hex_longitude":"2d980c00","hex_latitude":"057866f0","is_valid_coordinates":true} 
[2026-08-25 14:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637645312001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123672462301855744,"note":"Value kept but may cause issues"} 
[2026-08-25 14:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7496171187517134848,"note":"Value kept but may cause issues"} 
[2026-08-25 14:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787647060000,"timestamp_ms":1787647060000,"timestamp_seconds":1787647060,"priority":1,"record_length":96,"hex_timestamp":"000001a038116820"} 
[2026-08-25 14:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 14:08:51] 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-25 14:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:08:51] 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-25 14:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637645312001,"66":13243,"190":206,"85":15872,"24":46,"16":123672462301855744,"45":-7496171187517134848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-25 14:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637645312001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:08:51] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-25 14:08:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123672462301855744,"km_value":123672462301855.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7496171187517134848,"description":"Unknown IO ID 45"} 
[2026-08-25 14:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637645312001,"power":13243,"unknown_190":206,"unknown_85":15872,"ignition":46,"odometer":null,"unknown_45":-7496171187517134848}} 
[2026-08-25 14:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":162927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:08:51] local.INFO: GPS data processed {"connection_id":162927,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:08:51] local.INFO: Acknowledgment sent {"connection_id":162927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:09:17] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:09:17] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:09:17] local.INFO: Packet analysis {"connection_id":161933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:09:17] local.INFO: Extracted packet for processing {"connection_id":161933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637582080001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787647106000,"timestamp_ms":1787647106000,"timestamp_seconds":1787647106,"priority":1,"record_length":96,"hex_timestamp":"000001a038121bd0"} 
[2026-08-25 14:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 14:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637582080001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637582080001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:09:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637582080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":161933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:09:17] local.INFO: GPS data processed {"connection_id":161933,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:09:17] local.INFO: Acknowledgment sent {"connection_id":161933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:09:28] local.INFO: TCP Data received {"connection_id":162927,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038118b48012d981fc005784700000a00932f..."} 
[2026-08-25 14:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038118b48012d981fc005784700000a00932f..."} 
[2026-08-25 14:09:28] local.INFO: Processing buffer {"connection_id":162927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038118b48012d981fc005784700000a00932f..."} 
[2026-08-25 14:09:28] local.INFO: Packet analysis {"connection_id":162927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03811"} 
[2026-08-25 14:09:28] local.INFO: Extracted packet for processing {"connection_id":162927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03811"} 
[2026-08-25 14:09:28] local.INFO: GPS Element Parsed {"raw_longitude":764944320,"raw_latitude":91768576,"longitude_deg":76.494432,"latitude_deg":9.1768576,"altitude":10,"angle":147,"satellites":47,"speed":34,"hex_longitude":"2d981fc0","hex_latitude":"05784700","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637647360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123672926158323712,"note":"Value kept but may cause issues"} 
[2026-08-25 14:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7490612056729128960,"note":"Value kept but may cause issues"} 
[2026-08-25 14:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787647069000,"timestamp_ms":1787647069000,"timestamp_seconds":1787647069,"priority":1,"record_length":96,"hex_timestamp":"000001a038118b48"} 
[2026-08-25 14: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-25 14:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 14:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:09:28] 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-25 14:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637647360001,"66":13298,"190":206,"85":15872,"24":34,"16":123672926158323712,"45":-7490612056729128960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-25 14:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637647360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:09:28] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-25 14:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123672926158323712,"km_value":123672926158323.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7490612056729128960,"description":"Unknown IO ID 45"} 
[2026-08-25 14:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637647360001,"power":13298,"unknown_190":206,"unknown_85":15872,"ignition":34,"odometer":null,"unknown_45":-7490612056729128960}} 
[2026-08-25 14:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":162927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:09:28] local.INFO: GPS data processed {"connection_id":162927,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:09:28] local.INFO: Acknowledgment sent {"connection_id":162927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:09:40] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:09:40] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:09:40] local.INFO: IMEI packet received {"connection_id":161687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":161687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:09:45] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:09:45] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:09:45] local.INFO: IMEI packet received {"connection_id":161687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":161687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:09:46] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:09:46] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:09:46] local.INFO: Packet analysis {"connection_id":161687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:09:46] local.INFO: Extracted packet for processing {"connection_id":161687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637582080001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787647106000,"timestamp_ms":1787647106000,"timestamp_seconds":1787647106,"priority":1,"record_length":96,"hex_timestamp":"000001a038121bd0"} 
[2026-08-25 14:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 14:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637582080001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637582080001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:09:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637582080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":161687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:09:46] local.INFO: GPS data processed {"connection_id":161687,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:09:46] local.INFO: Acknowledgment sent {"connection_id":161687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:09:51] local.INFO: TCP Data received {"connection_id":164303,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:09:51] local.INFO: Processing buffer {"connection_id":164303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:09:51] local.INFO: IMEI packet received {"connection_id":164303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":164303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:09:52] local.INFO: TCP Data received {"connection_id":164303,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:09:52] local.INFO: Processing buffer {"connection_id":164303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:09:52] local.INFO: IMEI packet received {"connection_id":164303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":164303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:09:53] local.INFO: TCP Data received {"connection_id":164303,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:09:53] local.INFO: Processing buffer {"connection_id":164303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:09:53] local.INFO: IMEI packet received {"connection_id":164303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":164303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:09:56] local.INFO: TCP Data received {"connection_id":164303,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:09:56] local.INFO: Processing buffer {"connection_id":164303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:09:56] local.INFO: IMEI packet received {"connection_id":164303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":164303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:10:02] local.INFO: TCP Data received {"connection_id":162928,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:10:02] local.INFO: Processing buffer {"connection_id":162928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:10:02] local.INFO: IMEI packet received {"connection_id":162928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":162928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:10:04] local.INFO: TCP Data received {"connection_id":162928,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038112d88012d18d3c007210498004001552b..."} 
[2026-08-25 14:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038112d88012d18d3c007210498004001552b..."} 
[2026-08-25 14:10:04] local.INFO: Processing buffer {"connection_id":162928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038112d88012d18d3c007210498004001552b..."} 
[2026-08-25 14:10:04] local.INFO: Packet analysis {"connection_id":162928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03811"} 
[2026-08-25 14:10:04] local.INFO: Extracted packet for processing {"connection_id":162928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03811"} 
[2026-08-25 14:10:04] local.INFO: GPS Element Parsed {"raw_longitude":756601792,"raw_latitude":119604376,"longitude_deg":75.6601792,"latitude_deg":11.9604376,"altitude":64,"angle":341,"satellites":43,"speed":30,"hex_longitude":"2d18d3c0","hex_latitude":"07210498","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637643008001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15935621453316096,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789758670033068032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787647045000,"timestamp_ms":1787647045000,"timestamp_seconds":1787647045,"priority":1,"record_length":96,"hex_timestamp":"000001a038112d88"} 
[2026-08-25 14: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-25 14:10: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-25 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 14:10:04] 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-25 14: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-25 14: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-25 14:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637643008001,"66":14428,"121":206,"28":31744,"24":30,"16":15935621453316096,"45":1789758670033068032},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637643008001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:10:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:10:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15935621453316096,"km_value":15935621453316.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789758670033068032,"description":"Unknown IO ID 45"} 
[2026-08-25 14:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637643008001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1789758670033068032}} 
[2026-08-25 14:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":162928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:10:04] local.INFO: GPS data processed {"connection_id":162928,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:10:04] local.INFO: Acknowledgment sent {"connection_id":162928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:10:07] local.INFO: TCP Data received {"connection_id":164303,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03811d968012d982e4005782fc8000900962d..."} 
[2026-08-25 14:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03811d968012d982e4005782fc8000900962d..."} 
[2026-08-25 14:10:07] local.INFO: Processing buffer {"connection_id":164303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03811d968012d982e4005782fc8000900962d..."} 
[2026-08-25 14:10:07] local.INFO: Packet analysis {"connection_id":164303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03811"} 
[2026-08-25 14:10:07] local.INFO: Extracted packet for processing {"connection_id":164303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03811"} 
[2026-08-25 14:10:07] local.INFO: GPS Element Parsed {"raw_longitude":764948032,"raw_latitude":91762632,"longitude_deg":76.4948032,"latitude_deg":9.1762632,"altitude":9,"angle":150,"satellites":45,"speed":6,"hex_longitude":"2d982e40","hex_latitude":"05782fc8","is_valid_coordinates":true} 
[2026-08-25 14:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637649664001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123673269755707392,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7485052925941186560,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787647089000,"timestamp_ms":1787647089000,"timestamp_seconds":1787647089,"priority":1,"record_length":96,"hex_timestamp":"000001a03811d968"} 
[2026-08-25 14:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:10:07] local.INFO: IO Element 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-25 14:10:07] 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-25 14:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:10:07] 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-25 14:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637649664001,"66":13493,"190":206,"85":15872,"24":6,"16":123673269755707392,"45":-7485052925941186560},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-25 14:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637649664001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:10:07] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-25 14:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123673269755707392,"km_value":123673269755707.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7485052925941186560,"description":"Unknown IO ID 45"} 
[2026-08-25 14:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637649664001,"power":13493,"unknown_190":206,"unknown_85":15872,"ignition":6,"odometer":null,"unknown_45":-7485052925941186560}} 
[2026-08-25 14:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":164303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:10:07] local.INFO: GPS data processed {"connection_id":164303,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:10:07] local.INFO: Acknowledgment sent {"connection_id":164303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:10:17] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:10:17] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:10:17] local.INFO: Packet analysis {"connection_id":161687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:10:17] local.INFO: Extracted packet for processing {"connection_id":161687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637582080001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787647106000,"timestamp_ms":1787647106000,"timestamp_seconds":1787647106,"priority":1,"record_length":96,"hex_timestamp":"000001a038121bd0"} 
[2026-08-25 14:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 14:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637582080001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637582080001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:10:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637582080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":161687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:10:17] local.INFO: GPS data processed {"connection_id":161687,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:10:17] local.INFO: Acknowledgment sent {"connection_id":161687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:10:35] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:10:35] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:10:35] local.INFO: IMEI packet received {"connection_id":161685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 14:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":161685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:10:36] local.INFO: TCP Data received {"connection_id":162928,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03812cb98012d18abc007216fd8004a013428..."} 
[2026-08-25 14:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03812cb98012d18abc007216fd8004a013428..."} 
[2026-08-25 14:10:36] local.INFO: Processing buffer {"connection_id":162928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03812cb98012d18abc007216fd8004a013428..."} 
[2026-08-25 14:10:36] local.INFO: Packet analysis {"connection_id":162928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:10:36] local.INFO: Extracted packet for processing {"connection_id":162928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637665280001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787647151000,"timestamp_ms":1787647151000,"timestamp_seconds":1787647151,"priority":1,"record_length":96,"hex_timestamp":"000001a03812cb98"} 
[2026-08-25 14: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-25 14:10: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-25 14: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 14:10: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-25 14: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-25 14: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-25 14:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637665280001,"66":12211,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637665280001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:10:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637665280001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":162928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:10:36] local.INFO: GPS data processed {"connection_id":162928,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:10:36] local.INFO: Acknowledgment sent {"connection_id":162928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:10:40] local.INFO: TCP Data received {"connection_id":164304,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:10:40] local.INFO: Processing buffer {"connection_id":164304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:10:40] local.INFO: IMEI packet received {"connection_id":164304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":164304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:10:41] local.INFO: TCP Data received {"connection_id":162929,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:10:41] local.INFO: Processing buffer {"connection_id":162929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:10:41] local.INFO: IMEI packet received {"connection_id":162929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":162929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:10:41] local.INFO: TCP Data received {"connection_id":162929,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:10:41] local.INFO: Processing buffer {"connection_id":162929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:10:41] local.INFO: IMEI packet received {"connection_id":162929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":162929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:10:45] local.INFO: TCP Data received {"connection_id":164304,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:10:45] local.INFO: Processing buffer {"connection_id":164304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:10:45] local.INFO: IMEI packet received {"connection_id":164304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":164304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:10:46] local.INFO: TCP Data received {"connection_id":164304,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:10:46] local.INFO: Processing buffer {"connection_id":164304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:10:46] local.INFO: Packet analysis {"connection_id":164304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:10:46] local.INFO: Extracted packet for processing {"connection_id":164304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637582080001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787647106000,"timestamp_ms":1787647106000,"timestamp_seconds":1787647106,"priority":1,"record_length":96,"hex_timestamp":"000001a038121bd0"} 
[2026-08-25 14:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 14:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637582080001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637582080001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:10:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637582080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":164304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:10:46] local.INFO: GPS data processed {"connection_id":164304,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:10:46] local.INFO: Acknowledgment sent {"connection_id":164304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:10:47] local.INFO: TCP Data received {"connection_id":162929,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:10:47] local.INFO: Processing buffer {"connection_id":162929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:10:47] local.INFO: IMEI packet received {"connection_id":162929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":162929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:10:48] local.INFO: TCP Data received {"connection_id":162929,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038120c30012d9838c005781e30000900a22c..."} 
[2026-08-25 14:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038120c30012d9838c005781e30000900a22c..."} 
[2026-08-25 14:10:48] local.INFO: Processing buffer {"connection_id":162929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038120c30012d9838c005781e30000900a22c..."} 
[2026-08-25 14:10:48] local.INFO: Packet analysis {"connection_id":162929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:10:48] local.INFO: Extracted packet for processing {"connection_id":162929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:10:48] local.INFO: GPS Element Parsed {"raw_longitude":764950720,"raw_latitude":91758128,"longitude_deg":76.495072,"latitude_deg":9.1758128,"altitude":9,"angle":162,"satellites":44,"speed":19,"hex_longitude":"2d9838c0","hex_latitude":"05781e30","is_valid_coordinates":true} 
[2026-08-25 14:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637654784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123673523158777856,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7480971538780403712,"note":"Value kept but may cause issues"} 
[2026-08-25 14:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787647102000,"timestamp_ms":1787647102000,"timestamp_seconds":1787647102,"priority":1,"record_length":96,"hex_timestamp":"000001a038120c30"} 
[2026-08-25 14:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 14:10:48] 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-25 14:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:10: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-25 14:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637654784001,"66":13559,"190":206,"85":15872,"24":19,"16":123673523158777856,"45":-7480971538780403712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-25 14:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637654784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:10:48] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-25 14:10:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123673523158777856,"km_value":123673523158777.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7480971538780403712,"description":"Unknown IO ID 45"} 
[2026-08-25 14:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637654784001,"power":13559,"unknown_190":206,"unknown_85":15872,"ignition":19,"odometer":null,"unknown_45":-7480971538780403712}} 
[2026-08-25 14:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":162929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:10:48] local.INFO: GPS data processed {"connection_id":162929,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:10:48] local.INFO: Acknowledgment sent {"connection_id":162929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:10:57] local.INFO: TCP Data received {"connection_id":161688,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:10:57] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:10:57] local.INFO: IMEI packet received {"connection_id":161688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":161688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:11:03] local.INFO: TCP Data received {"connection_id":161688,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:11:03] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:11:03] local.INFO: IMEI packet received {"connection_id":161688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":161688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:11:04] local.INFO: TCP Data received {"connection_id":161688,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038131da0012d18abc007216fd8004a013429..."} 
[2026-08-25 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038131da0012d18abc007216fd8004a013429..."} 
[2026-08-25 14:11:04] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038131da0012d18abc007216fd8004a013429..."} 
[2026-08-25 14:11:04] local.INFO: Packet analysis {"connection_id":161688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03813"} 
[2026-08-25 14:11:04] local.INFO: Extracted packet for processing {"connection_id":161688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03813"} 
[2026-08-25 14:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 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-25 14:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637670656001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787647172000,"timestamp_ms":1787647172000,"timestamp_seconds":1787647172,"priority":1,"record_length":96,"hex_timestamp":"000001a038131da0"} 
[2026-08-25 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-25 14:11: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-25 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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 14:11:04] 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-25 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-25 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-25 14:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637670656001,"66":12939,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637670656001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:11:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:11:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637670656001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":161688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:11:04] local.INFO: GPS data processed {"connection_id":161688,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:11:04] local.INFO: Acknowledgment sent {"connection_id":161688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:11:06] local.INFO: TCP Data received {"connection_id":161689,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:11:06] local.INFO: Processing buffer {"connection_id":161689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:11:06] local.INFO: IMEI packet received {"connection_id":161689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 14:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":161689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:11:17] local.INFO: TCP Data received {"connection_id":164304,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:11:17] local.INFO: Processing buffer {"connection_id":164304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:11:17] local.INFO: Packet analysis {"connection_id":164304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:11:17] local.INFO: Extracted packet for processing {"connection_id":164304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637582080001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787647106000,"timestamp_ms":1787647106000,"timestamp_seconds":1787647106,"priority":1,"record_length":96,"hex_timestamp":"000001a038121bd0"} 
[2026-08-25 14:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 14:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637582080001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637582080001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:11:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637582080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":164304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:11:17] local.INFO: GPS data processed {"connection_id":164304,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:11:17] local.INFO: Acknowledgment sent {"connection_id":164304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:11:19] local.INFO: TCP Data received {"connection_id":162929,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038147178012d990d000576eaa8000800912d..."} 
[2026-08-25 14:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038147178012d990d000576eaa8000800912d..."} 
[2026-08-25 14:11:19] local.INFO: Processing buffer {"connection_id":162929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038147178012d990d000576eaa8000800912d..."} 
[2026-08-25 14:11:19] local.INFO: Packet analysis {"connection_id":162929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:11:19] local.INFO: Extracted packet for processing {"connection_id":162929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:11:19] local.INFO: GPS Element Parsed {"raw_longitude":765005056,"raw_latitude":91679400,"longitude_deg":76.5005056,"latitude_deg":9.16794,"altitude":8,"angle":145,"satellites":45,"speed":36,"hex_longitude":"2d990d00","hex_latitude":"0576eaa8","is_valid_coordinates":true} 
[2026-08-25 14:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637695744001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123678161723457536,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7424324699736662016,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787647259000,"timestamp_ms":1787647259000,"timestamp_seconds":1787647259,"priority":1,"record_length":96,"hex_timestamp":"000001a038147178"} 
[2026-08-25 14:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:11:19] 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-25 14:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:11:19] 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-25 14:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637695744001,"66":13450,"110":206,"85":15872,"24":36,"16":123678161723457536,"45":-7424324699736662016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-25 14:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637695744001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:11:19] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-25 14:11:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123678161723457536,"km_value":123678161723457.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7424324699736662016,"description":"Unknown IO ID 45"} 
[2026-08-25 14:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637695744001,"power":13450,"unknown_110":206,"unknown_85":15872,"ignition":36,"odometer":null,"unknown_45":-7424324699736662016}} 
[2026-08-25 14:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":162929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:11:19] local.INFO: GPS data processed {"connection_id":162929,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:11:19] local.INFO: Acknowledgment sent {"connection_id":162929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:11:35] local.INFO: TCP Data received {"connection_id":161688,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038136fa8012d18abc007216fd8004a013426..."} 
[2026-08-25 14:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038136fa8012d18abc007216fd8004a013426..."} 
[2026-08-25 14:11:35] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038136fa8012d18abc007216fd8004a013426..."} 
[2026-08-25 14:11:35] local.INFO: Packet analysis {"connection_id":161688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03813"} 
[2026-08-25 14:11:35] local.INFO: Extracted packet for processing {"connection_id":161688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03813"} 
[2026-08-25 14:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 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-25 14:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637676032001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787647193000,"timestamp_ms":1787647193000,"timestamp_seconds":1787647193,"priority":1,"record_length":96,"hex_timestamp":"000001a038136fa8"} 
[2026-08-25 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-25 14:11: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-25 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 14:11: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-25 14: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-25 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-25 14:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637676032001,"66":12885,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637676032001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:11:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:11:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637676032001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":161688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:11:35] local.INFO: GPS data processed {"connection_id":161688,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:11:35] local.INFO: Acknowledgment sent {"connection_id":161688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:11:40] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:11:40] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:11:40] local.INFO: IMEI packet received {"connection_id":161935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":161935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:11:44] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:11:44] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:11:44] local.INFO: IMEI packet received {"connection_id":161935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":161935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:11:46] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:11:46] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:11:46] local.INFO: Packet analysis {"connection_id":161935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:11:46] local.INFO: Extracted packet for processing {"connection_id":161935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637582080001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787647106000,"timestamp_ms":1787647106000,"timestamp_seconds":1787647106,"priority":1,"record_length":96,"hex_timestamp":"000001a038121bd0"} 
[2026-08-25 14:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 14:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637582080001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637582080001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637582080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":161935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:11:46] local.INFO: GPS data processed {"connection_id":161935,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:11:46] local.INFO: Acknowledgment sent {"connection_id":161935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:11:46] local.INFO: TCP Data received {"connection_id":162930,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:11:46] local.INFO: Processing buffer {"connection_id":162930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:11:46] local.INFO: IMEI packet received {"connection_id":162930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":162930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:11:47] local.INFO: TCP Data received {"connection_id":162930,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:11:47] local.INFO: Processing buffer {"connection_id":162930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:11:47] local.INFO: IMEI packet received {"connection_id":162930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":162930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:11:51] local.INFO: TCP Data received {"connection_id":162930,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:11:51] local.INFO: Processing buffer {"connection_id":162930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:11:51] local.INFO: IMEI packet received {"connection_id":162930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":162930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:11:52] local.INFO: TCP Data received {"connection_id":162930,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381494a0012d9921400576cd00000700912e..."} 
[2026-08-25 14:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381494a0012d9921400576cd00000700912e..."} 
[2026-08-25 14:11:52] local.INFO: Processing buffer {"connection_id":162930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381494a0012d9921400576cd00000700912e..."} 
[2026-08-25 14:11:52] local.INFO: Packet analysis {"connection_id":162930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:11:52] local.INFO: Extracted packet for processing {"connection_id":162930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:11:52] local.INFO: GPS Element Parsed {"raw_longitude":765010240,"raw_latitude":91671808,"longitude_deg":76.501024,"latitude_deg":9.1671808,"altitude":7,"angle":145,"satellites":46,"speed":41,"hex_longitude":"2d992140","hex_latitude":"0576cd00","is_valid_coordinates":true} 
[2026-08-25 14:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637698304001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123678604105089024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7418272987739412480,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787647268000,"timestamp_ms":1787647268000,"timestamp_seconds":1787647268,"priority":1,"record_length":96,"hex_timestamp":"000001a0381494a0"} 
[2026-08-25 14:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 14:11:52] 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-25 14:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:11:52] 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-25 14:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637698304001,"66":13450,"110":206,"85":15872,"24":41,"16":123678604105089024,"45":-7418272987739412480},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-25 14:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637698304001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:11:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-25 14:11:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123678604105089024,"km_value":123678604105089.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7418272987739412480,"description":"Unknown IO ID 45"} 
[2026-08-25 14:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637698304001,"power":13450,"unknown_110":206,"unknown_85":15872,"ignition":41,"odometer":null,"unknown_45":-7418272987739412480}} 
[2026-08-25 14:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":162930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:11:52] local.INFO: GPS data processed {"connection_id":162930,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:11:52] local.INFO: Acknowledgment sent {"connection_id":162930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:11:52] local.INFO: TCP Data received {"connection_id":164305,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:11:52] local.INFO: Processing buffer {"connection_id":164305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:11:52] local.INFO: IMEI packet received {"connection_id":164305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":164305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:11:55] local.INFO: TCP Data received {"connection_id":162930,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03814b7c8012d9935c00576aef0000800912d..."} 
[2026-08-25 14:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03814b7c8012d9935c00576aef0000800912d..."} 
[2026-08-25 14:11:55] local.INFO: Processing buffer {"connection_id":162930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03814b7c8012d9935c00576aef0000800912d..."} 
[2026-08-25 14:11:55] local.INFO: Packet analysis {"connection_id":162930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:11:55] local.INFO: Extracted packet for processing {"connection_id":162930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:11:55] local.INFO: GPS Element Parsed {"raw_longitude":765015488,"raw_latitude":91664112,"longitude_deg":76.5015488,"latitude_deg":9.1664112,"altitude":8,"angle":145,"satellites":45,"speed":39,"hex_longitude":"2d9935c0","hex_latitude":"0576aef0","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637700608001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123679055076655104,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7412573119462965248,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787647277000,"timestamp_ms":1787647277000,"timestamp_seconds":1787647277,"priority":1,"record_length":96,"hex_timestamp":"000001a03814b7c8"} 
[2026-08-25 14: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-25 14:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 14:11: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-25 14: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-25 14: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-25 14:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:11: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-25 14:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637700608001,"66":13504,"110":206,"85":15872,"24":39,"16":123679055076655104,"45":-7412573119462965248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-25 14:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637700608001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:11:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-25 14:11:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123679055076655104,"km_value":123679055076655.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7412573119462965248,"description":"Unknown IO ID 45"} 
[2026-08-25 14:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637700608001,"power":13504,"unknown_110":206,"unknown_85":15872,"ignition":39,"odometer":null,"unknown_45":-7412573119462965248}} 
[2026-08-25 14:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":162930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:11:55] local.INFO: GPS data processed {"connection_id":162930,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:11:55] local.INFO: Acknowledgment sent {"connection_id":162930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:11:56] local.INFO: TCP Data received {"connection_id":164305,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:11:56] local.INFO: Processing buffer {"connection_id":164305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:11:56] local.INFO: IMEI packet received {"connection_id":164305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":164305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:11:57] local.INFO: TCP Data received {"connection_id":164305,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:11:57] local.INFO: Processing buffer {"connection_id":164305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:11:57] local.INFO: IMEI packet received {"connection_id":164305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":164305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:11:58] local.INFO: TCP Data received {"connection_id":164305,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03813c1b0012d18abc007216fd8004a013429..."} 
[2026-08-25 14:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03813c1b0012d18abc007216fd8004a013429..."} 
[2026-08-25 14:11:58] local.INFO: Processing buffer {"connection_id":164305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03813c1b0012d18abc007216fd8004a013429..."} 
[2026-08-25 14:11:58] local.INFO: Packet analysis {"connection_id":164305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03813"} 
[2026-08-25 14:11:58] local.INFO: Extracted packet for processing {"connection_id":164305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03813"} 
[2026-08-25 14:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:11: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-25 14:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637681408001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787647214000,"timestamp_ms":1787647214000,"timestamp_seconds":1787647214,"priority":1,"record_length":96,"hex_timestamp":"000001a03813c1b0"} 
[2026-08-25 14:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:11:58] 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-25 14:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-25 14:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:11: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-25 14:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637681408001,"66":12852,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637681408001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:11:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:11:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637681408001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":164305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:11:58] local.INFO: GPS data processed {"connection_id":164305,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:11:58] local.INFO: Acknowledgment sent {"connection_id":164305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:12:17] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:12:17] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:12:17] local.INFO: Packet analysis {"connection_id":161935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:12:17] local.INFO: Extracted packet for processing {"connection_id":161935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637582080001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787647106000,"timestamp_ms":1787647106000,"timestamp_seconds":1787647106,"priority":1,"record_length":96,"hex_timestamp":"000001a038121bd0"} 
[2026-08-25 14: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-25 14:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 14:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637582080001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637582080001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637582080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":161935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:12:17] local.INFO: GPS data processed {"connection_id":161935,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:12:17] local.INFO: Acknowledgment sent {"connection_id":161935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:12:29] local.INFO: TCP Data received {"connection_id":164305,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381413b8012d18abc007216fd8004a013429..."} 
[2026-08-25 14:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381413b8012d18abc007216fd8004a013429..."} 
[2026-08-25 14:12:29] local.INFO: Processing buffer {"connection_id":164305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381413b8012d18abc007216fd8004a013429..."} 
[2026-08-25 14:12:29] local.INFO: Packet analysis {"connection_id":164305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:12:29] local.INFO: Extracted packet for processing {"connection_id":164305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637686784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787647235000,"timestamp_ms":1787647235000,"timestamp_seconds":1787647235,"priority":1,"record_length":96,"hex_timestamp":"000001a0381413b8"} 
[2026-08-25 14:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 14:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637686784001,"66":12841,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637686784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:12:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:12:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637686784001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":164305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:12:30] local.INFO: GPS data processed {"connection_id":164305,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:12:30] local.INFO: Acknowledgment sent {"connection_id":164305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:12:39] local.INFO: TCP Data received {"connection_id":161690,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:12:39] local.INFO: Processing buffer {"connection_id":161690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:12:39] local.INFO: IMEI packet received {"connection_id":161690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":161690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:12:39] local.INFO: TCP Data received {"connection_id":161690,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:12:39] local.INFO: Processing buffer {"connection_id":161690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:12:39] local.INFO: IMEI packet received {"connection_id":161690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":161690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:12:39] local.INFO: TCP Data received {"connection_id":162931,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:12:39] local.INFO: Processing buffer {"connection_id":162931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:12:39] local.INFO: IMEI packet received {"connection_id":162931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":162931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:12:41] local.INFO: TCP Data received {"connection_id":161690,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:12:41] local.INFO: Processing buffer {"connection_id":161690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:12:41] local.INFO: IMEI packet received {"connection_id":161690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":161690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:12:45] local.INFO: TCP Data received {"connection_id":162931,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:12:45] local.INFO: Processing buffer {"connection_id":162931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:12:45] local.INFO: IMEI packet received {"connection_id":162931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":162931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:12:46] local.INFO: TCP Data received {"connection_id":162931,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:12:46] local.INFO: Processing buffer {"connection_id":162931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:12:46] local.INFO: Packet analysis {"connection_id":162931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:12:46] local.INFO: Extracted packet for processing {"connection_id":162931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637582080001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787647106000,"timestamp_ms":1787647106000,"timestamp_seconds":1787647106,"priority":1,"record_length":96,"hex_timestamp":"000001a038121bd0"} 
[2026-08-25 14:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 14:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637582080001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637582080001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:12:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637582080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":162931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:12:46] local.INFO: GPS data processed {"connection_id":162931,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:12:46] local.INFO: Acknowledgment sent {"connection_id":162931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:12:47] local.INFO: TCP Data received {"connection_id":161690,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:12:47] local.INFO: Processing buffer {"connection_id":161690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:12:47] local.INFO: IMEI packet received {"connection_id":161690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":161690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:12:49] local.INFO: TCP Data received {"connection_id":161690,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03814daf0012d994a0005769238000800902e..."} 
[2026-08-25 14:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03814daf0012d994a0005769238000800902e..."} 
[2026-08-25 14:12:49] local.INFO: Processing buffer {"connection_id":161690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03814daf0012d994a0005769238000800902e..."} 
[2026-08-25 14:12:49] local.INFO: Packet analysis {"connection_id":161690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:12:49] local.INFO: Extracted packet for processing {"connection_id":161690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:12:49] local.INFO: GPS Element Parsed {"raw_longitude":765020672,"raw_latitude":91656760,"longitude_deg":76.5020672,"latitude_deg":9.165676,"altitude":8,"angle":144,"satellites":46,"speed":42,"hex_longitude":"2d994a00","hex_latitude":"05769238","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637702912001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123679488868352000,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7406802882442366976,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787647286000,"timestamp_ms":1787647286000,"timestamp_seconds":1787647286,"priority":1,"record_length":96,"hex_timestamp":"000001a03814daf0"} 
[2026-08-25 14: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-25 14:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-25 14:12:49] 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-25 14: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-25 14: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-25 14:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:12: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-25 14:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637702912001,"66":13580,"110":206,"85":15872,"24":42,"16":123679488868352000,"45":-7406802882442366976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-25 14:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637702912001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:12:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-25 14:12:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123679488868352000,"km_value":123679488868352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7406802882442366976,"description":"Unknown IO ID 45"} 
[2026-08-25 14:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637702912001,"power":13580,"unknown_110":206,"unknown_85":15872,"ignition":42,"odometer":null,"unknown_45":-7406802882442366976}} 
[2026-08-25 14:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":161690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:12:49] local.INFO: GPS data processed {"connection_id":161690,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:12:49] local.INFO: Acknowledgment sent {"connection_id":161690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:12:57] local.INFO: TCP Data received {"connection_id":161691,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:12:57] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:12:57] local.INFO: IMEI packet received {"connection_id":161691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":161691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:12:58] local.INFO: TCP Data received {"connection_id":161691,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:12:58] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:12:58] local.INFO: IMEI packet received {"connection_id":161691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":161691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:12:59] local.INFO: TCP Data received {"connection_id":161691,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381465c0012d18abc007216fd8004a013429..."} 
[2026-08-25 14:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381465c0012d18abc007216fd8004a013429..."} 
[2026-08-25 14:12:59] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381465c0012d18abc007216fd8004a013429..."} 
[2026-08-25 14:12:59] local.INFO: Packet analysis {"connection_id":161691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:12:59] local.INFO: Extracted packet for processing {"connection_id":161691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637692160001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787647256000,"timestamp_ms":1787647256000,"timestamp_seconds":1787647256,"priority":1,"record_length":96,"hex_timestamp":"000001a0381465c0"} 
[2026-08-25 14: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-25 14:12:59] 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-25 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 14:12:59] 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-25 14: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-25 14: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-25 14:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637692160001,"66":12798,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637692160001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:12:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637692160001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":161691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:12:59] local.INFO: GPS data processed {"connection_id":161691,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:12:59] local.INFO: Acknowledgment sent {"connection_id":161691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:13:04] local.INFO: TCP Data received {"connection_id":161691,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03814b7c8012d18abc007216fd8004a013427..."} 
[2026-08-25 14:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03814b7c8012d18abc007216fd8004a013427..."} 
[2026-08-25 14:13:04] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03814b7c8012d18abc007216fd8004a013427..."} 
[2026-08-25 14:13:04] local.INFO: Packet analysis {"connection_id":161691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:13:04] local.INFO: Extracted packet for processing {"connection_id":161691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637697536001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787647277000,"timestamp_ms":1787647277000,"timestamp_seconds":1787647277,"priority":1,"record_length":96,"hex_timestamp":"000001a03814b7c8"} 
[2026-08-25 14: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-25 14:13: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-25 14: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-25 14:13:04] 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-25 14: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-25 14: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-25 14:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637697536001,"66":12722,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637697536001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:13:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637697536001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":161691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:13:04] local.INFO: GPS data processed {"connection_id":161691,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:13:04] local.INFO: Acknowledgment sent {"connection_id":161691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:13:17] local.INFO: TCP Data received {"connection_id":162931,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:13:17] local.INFO: Processing buffer {"connection_id":162931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:13:17] local.INFO: Packet analysis {"connection_id":162931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:13:17] local.INFO: Extracted packet for processing {"connection_id":162931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637582080001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787647106000,"timestamp_ms":1787647106000,"timestamp_seconds":1787647106,"priority":1,"record_length":96,"hex_timestamp":"000001a038121bd0"} 
[2026-08-25 14: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-25 14:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 14:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637582080001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637582080001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:13:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637582080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":162931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:13:17] local.INFO: GPS data processed {"connection_id":162931,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:13:17] local.INFO: Acknowledgment sent {"connection_id":162931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:13:20] local.INFO: TCP Data received {"connection_id":161690,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03814fe18012d9960c0057674100009008d30..."} 
[2026-08-25 14:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03814fe18012d9960c0057674100009008d30..."} 
[2026-08-25 14:13:20] local.INFO: Processing buffer {"connection_id":161690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03814fe18012d9960c0057674100009008d30..."} 
[2026-08-25 14:13:20] local.INFO: Packet analysis {"connection_id":161690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:13:20] local.INFO: Extracted packet for processing {"connection_id":161690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03814"} 
[2026-08-25 14:13:20] local.INFO: GPS Element Parsed {"raw_longitude":765026496,"raw_latitude":91649040,"longitude_deg":76.5026496,"latitude_deg":9.164904,"altitude":9,"angle":141,"satellites":48,"speed":43,"hex_longitude":"2d9960c0","hex_latitude":"05767410","is_valid_coordinates":true} 
[2026-08-25 14:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637705216001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123679957019787264,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7401103014165858304,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787647295000,"timestamp_ms":1787647295000,"timestamp_seconds":1787647295,"priority":1,"record_length":96,"hex_timestamp":"000001a03814fe18"} 
[2026-08-25 14:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626083,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2566356997,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2054029518,"corrected_to":0} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5232229490423234560,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634226728266421,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-4539622414278983669,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916986642091605,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.WARNING: Large IO value detected {"io_id":62,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:20] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,110,85,24,241,157,16,101,160,183,45,192,174,8,10,66,148,64,205,7,46,113,1,240,138,227,100,56,119,4,38,35,226,144,239,52,2,5,18,152,53,62],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2054029518,"validated":0}]} 
[2026-08-25 14:13:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576619279549071360,"timestamp_seconds":576619279549071.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:13:20] 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-25 14:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637705216001,"66":13559,"110":206,"85":15872,"24":43,"16":123679957019787264,"45":-7401103014165858304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-25 14:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637705216001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:13:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-25 14:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123679957019787264,"km_value":123679957019787.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7401103014165858304,"description":"Unknown IO ID 45"} 
[2026-08-25 14:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637705216001,"power":13559,"unknown_110":206,"unknown_85":15872,"ignition":43,"odometer":null,"unknown_45":-7401103014165858304}} 
[2026-08-25 14:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":161690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:13:20] local.INFO: GPS data processed {"connection_id":161690,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:13:20] local.INFO: Acknowledgment sent {"connection_id":161690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:13:35] local.INFO: TCP Data received {"connection_id":161691,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381509d0012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381509d0012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:13:35] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381509d0012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:13:35] local.INFO: Packet analysis {"connection_id":161691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03815"} 
[2026-08-25 14:13:35] local.INFO: Extracted packet for processing {"connection_id":161691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03815"} 
[2026-08-25 14:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":42,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637702912001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787647298000,"timestamp_ms":1787647298000,"timestamp_seconds":1787647298,"priority":1,"record_length":96,"hex_timestamp":"000001a0381509d0"} 
[2026-08-25 14: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-25 14:13: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-25 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 14:13: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-25 14: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-25 14: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-25 14:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637702912001,"66":12711,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637702912001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:13:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:13:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637702912001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":161691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:13:35] local.INFO: GPS data processed {"connection_id":161691,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:13:35] local.INFO: Acknowledgment sent {"connection_id":161691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:13:40] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:13:40] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:13:40] local.INFO: IMEI packet received {"connection_id":161692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":161692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:13:41] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:13:41] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:13:41] local.INFO: IMEI packet received {"connection_id":161692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":161692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:13:46] local.INFO: TCP Data received {"connection_id":162932,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:13:46] local.INFO: Processing buffer {"connection_id":162932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:13:46] local.INFO: IMEI packet received {"connection_id":162932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":162932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:13:46] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:13:46] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:13:46] local.INFO: IMEI packet received {"connection_id":161692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":161692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:13:48] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038152140012d99760005765868000b008e30..."} 
[2026-08-25 14:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038152140012d99760005765868000b008e30..."} 
[2026-08-25 14:13:48] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038152140012d99760005765868000b008e30..."} 
[2026-08-25 14:13:48] local.INFO: Packet analysis {"connection_id":161692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03815"} 
[2026-08-25 14:13:48] local.INFO: Extracted packet for processing {"connection_id":161692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03815"} 
[2026-08-25 14:13:48] local.INFO: GPS Element Parsed {"raw_longitude":765031936,"raw_latitude":91641960,"longitude_deg":76.5031936,"latitude_deg":9.164196,"altitude":11,"angle":142,"satellites":48,"speed":39,"hex_longitude":"2d997600","hex_latitude":"05765868","is_valid_coordinates":true} 
[2026-08-25 14:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637707520001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123680386516516864,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7394699458447667200,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:48] 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-25 14:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787647304000,"timestamp_ms":1787647304000,"timestamp_seconds":1787647304,"priority":1,"record_length":96,"hex_timestamp":"000001a038152140"} 
[2026-08-25 14:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 14:13:48] 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-25 14:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:13: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-25 14:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637707520001,"66":13646,"109":206,"85":15872,"24":39,"16":123680386516516864,"45":-7394699458447667200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-25 14:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637707520001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:13:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 14:13:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123680386516516864,"km_value":123680386516516.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7394699458447667200,"description":"Unknown IO ID 45"} 
[2026-08-25 14:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637707520001,"power":13646,"unknown_109":206,"unknown_85":15872,"ignition":39,"odometer":null,"unknown_45":-7394699458447667200}} 
[2026-08-25 14:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":161692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:13:48] local.INFO: GPS data processed {"connection_id":161692,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:13:48] local.INFO: Acknowledgment sent {"connection_id":161692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:13:50] local.INFO: TCP Data received {"connection_id":162932,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:13:50] local.INFO: Processing buffer {"connection_id":162932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:13:50] local.INFO: IMEI packet received {"connection_id":162932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":162932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:13:51] local.INFO: TCP Data received {"connection_id":162932,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:13:51] local.INFO: Processing buffer {"connection_id":162932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:13:51] local.INFO: Packet analysis {"connection_id":162932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:13:51] local.INFO: Extracted packet for processing {"connection_id":162932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:13:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 14:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637582080001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787647106000,"timestamp_ms":1787647106000,"timestamp_seconds":1787647106,"priority":1,"record_length":96,"hex_timestamp":"000001a038121bd0"} 
[2026-08-25 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-25 14:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 14:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 14:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637582080001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637582080001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:13:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637582080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":162932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:13:51] local.INFO: GPS data processed {"connection_id":162932,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:13:51] local.INFO: Acknowledgment sent {"connection_id":162932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:13:52] local.INFO: TCP Data received {"connection_id":162933,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:13:52] local.INFO: Processing buffer {"connection_id":162933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:13:52] local.INFO: IMEI packet received {"connection_id":162933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":162933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:13:55] local.INFO: TCP Data received {"connection_id":162932,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:13:55] local.INFO: Processing buffer {"connection_id":162932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038121bd0012d34c14006aa4820000800e630..."} 
[2026-08-25 14:13:55] local.INFO: Packet analysis {"connection_id":162932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:13:55] local.INFO: Extracted packet for processing {"connection_id":162932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03812"} 
[2026-08-25 14:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637582080001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787647106000,"timestamp_ms":1787647106000,"timestamp_seconds":1787647106,"priority":1,"record_length":96,"hex_timestamp":"000001a038121bd0"} 
[2026-08-25 14:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 14:13: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-25 14:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637582080001,"66":25647,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-25 14:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637582080001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:13:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-25 14:13:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637582080001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":162932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:13:55] local.INFO: GPS data processed {"connection_id":162932,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:13:55] local.INFO: Acknowledgment sent {"connection_id":162932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:13:57] local.INFO: TCP Data received {"connection_id":162933,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:13:58] local.INFO: Processing buffer {"connection_id":162933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:13:58] local.INFO: IMEI packet received {"connection_id":162933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":162933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:13:59] local.INFO: TCP Data received {"connection_id":162933,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038155bd8012d18abc007216fd8004a01342b..."} 
[2026-08-25 14:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038155bd8012d18abc007216fd8004a01342b..."} 
[2026-08-25 14:13:59] local.INFO: Processing buffer {"connection_id":162933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038155bd8012d18abc007216fd8004a01342b..."} 
[2026-08-25 14:13:59] local.INFO: Packet analysis {"connection_id":162933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03815"} 
[2026-08-25 14:13:59] local.INFO: Extracted packet for processing {"connection_id":162933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03815"} 
[2026-08-25 14:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637708288001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787647319000,"timestamp_ms":1787647319000,"timestamp_seconds":1787647319,"priority":1,"record_length":96,"hex_timestamp":"000001a038155bd8"} 
[2026-08-25 14: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-25 14:13:59] 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-25 14: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-25 14:13:59] 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-25 14: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-25 14: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-25 14:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637708288001,"66":12667,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637708288001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:13:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637708288001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":162933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:13:59] local.INFO: GPS data processed {"connection_id":162933,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:13:59] local.INFO: Acknowledgment sent {"connection_id":162933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:14:02] local.INFO: TCP Data received {"connection_id":162933,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03815ade0012d18abc007216fd8004a01342b..."} 
[2026-08-25 14:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03815ade0012d18abc007216fd8004a01342b..."} 
[2026-08-25 14:14:02] local.INFO: Processing buffer {"connection_id":162933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03815ade0012d18abc007216fd8004a01342b..."} 
[2026-08-25 14:14:02] local.INFO: Packet analysis {"connection_id":162933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03815"} 
[2026-08-25 14:14:02] local.INFO: Extracted packet for processing {"connection_id":162933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03815"} 
[2026-08-25 14:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637713664001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787647340000,"timestamp_ms":1787647340000,"timestamp_seconds":1787647340,"priority":1,"record_length":96,"hex_timestamp":"000001a03815ade0"} 
[2026-08-25 14:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-25 14:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637713664001,"66":12613,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637713664001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:14:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:14:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637713664001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":162933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:14:02] local.INFO: GPS data processed {"connection_id":162933,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:14:02] local.INFO: Acknowledgment sent {"connection_id":162933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:14:19] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03816de90012d9a5c0005755ce0000c009e2f..."} 
[2026-08-25 14:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03816de90012d9a5c0005755ce0000c009e2f..."} 
[2026-08-25 14:14:19] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03816de90012d9a5c0005755ce0000c009e2f..."} 
[2026-08-25 14:14:19] local.INFO: Packet analysis {"connection_id":161692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:14:19] local.INFO: Extracted packet for processing {"connection_id":161692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:14:19] local.INFO: GPS Element Parsed {"raw_longitude":765090816,"raw_latitude":91577568,"longitude_deg":76.5090816,"latitude_deg":9.1577568,"altitude":12,"angle":158,"satellites":47,"speed":15,"hex_longitude":"2d9a5c00","hex_latitude":"05755ce0","is_valid_coordinates":true} 
[2026-08-25 14:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637733632001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123684698663682048,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7327497307774193664,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787647418000,"timestamp_ms":1787647418000,"timestamp_seconds":1787647418,"priority":1,"record_length":96,"hex_timestamp":"000001a03816de90"} 
[2026-08-25 14:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 14:14:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2585755653,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:19] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3447717904,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2053963982,"corrected_to":0} 
[2026-08-25 14:14:19] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827450,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:19] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57836978809230654,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:19] local.WARNING: Large IO value detected {"io_id":21,"raw_value":-8732478382106329083,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:19] local.WARNING: Large IO value detected {"io_id":118,"raw_value":1092122969775026176,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:19] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,151,85,24,241,157,16,106,160,62,45,142,12,46,10,66,105,23,64,175,14,109,240,128,1,214,227,56,117,4,113,205,41,201,2,96,47,239,52,183,5,39,181,21,118],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2053963982,"validated":0}]} 
[2026-08-25 14:14:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792807463413481472,"timestamp_seconds":792807463413481.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:14:19] 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-25 14:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637733632001,"66":13472,"151":206,"85":15872,"24":15,"16":123684698663682048,"45":-7327497307774193664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-25 14:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637733632001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:14:19] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-25 14:14:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123684698663682048,"km_value":123684698663682.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7327497307774193664,"description":"Unknown IO ID 45"} 
[2026-08-25 14:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637733632001,"power":13472,"unknown_151":206,"unknown_85":15872,"ignition":15,"odometer":null,"unknown_45":-7327497307774193664}} 
[2026-08-25 14:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":161692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:14:19] local.INFO: GPS data processed {"connection_id":161692,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:14:19] local.INFO: Acknowledgment sent {"connection_id":161692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:14:34] local.INFO: TCP Data received {"connection_id":162933,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03815ffe8012d18abc007216fd8004a013426..."} 
[2026-08-25 14:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03815ffe8012d18abc007216fd8004a013426..."} 
[2026-08-25 14:14:34] local.INFO: Processing buffer {"connection_id":162933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03815ffe8012d18abc007216fd8004a013426..."} 
[2026-08-25 14:14:34] local.INFO: Packet analysis {"connection_id":162933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03815"} 
[2026-08-25 14:14:34] local.INFO: Extracted packet for processing {"connection_id":162933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03815"} 
[2026-08-25 14:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637719040001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787647361000,"timestamp_ms":1787647361000,"timestamp_seconds":1787647361,"priority":1,"record_length":96,"hex_timestamp":"000001a03815ffe8"} 
[2026-08-25 14: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-25 14:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-25 14:14: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-25 14: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-25 14: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-25 14:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637719040001,"66":12580,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637719040001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:14:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:14:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637719040001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":162933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:14:34] local.INFO: GPS data processed {"connection_id":162933,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:14:34] local.INFO: Acknowledgment sent {"connection_id":162933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:14:40] local.INFO: TCP Data received {"connection_id":162934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:14:40] local.INFO: Processing buffer {"connection_id":162934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:14:40] local.INFO: IMEI packet received {"connection_id":162934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":162934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:14:41] local.INFO: TCP Data received {"connection_id":164306,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:14:41] local.INFO: Processing buffer {"connection_id":164306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:14:41] local.INFO: IMEI packet received {"connection_id":164306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":164306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:14:42] local.INFO: TCP Data received {"connection_id":164306,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:14:42] local.INFO: Processing buffer {"connection_id":164306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:14:42] local.INFO: IMEI packet received {"connection_id":164306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":164306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:14:45] local.INFO: TCP Data received {"connection_id":162934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:14:45] local.INFO: Processing buffer {"connection_id":162934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:14:45] local.INFO: IMEI packet received {"connection_id":162934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":162934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:14:46] local.INFO: TCP Data received {"connection_id":162934,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:14:46] local.INFO: Processing buffer {"connection_id":162934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:14:46] local.INFO: Packet analysis {"connection_id":162934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:14:46] local.INFO: Extracted packet for processing {"connection_id":162934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637659136001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787647407000,"timestamp_ms":1787647407000,"timestamp_seconds":1787647407,"priority":1,"record_length":96,"hex_timestamp":"000001a03816b398"} 
[2026-08-25 14:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637659136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637659136001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637659136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":162934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:14:46] local.INFO: GPS data processed {"connection_id":162934,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:14:46] local.INFO: Acknowledgment sent {"connection_id":162934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:14:46] local.INFO: TCP Data received {"connection_id":164306,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:14:46] local.INFO: Processing buffer {"connection_id":164306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:14:46] local.INFO: IMEI packet received {"connection_id":164306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":164306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:14:47] local.INFO: TCP Data received {"connection_id":164306,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381720f8012d9a674005753a48000c00a330..."} 
[2026-08-25 14:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381720f8012d9a674005753a48000c00a330..."} 
[2026-08-25 14:14:47] local.INFO: Processing buffer {"connection_id":164306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381720f8012d9a674005753a48000c00a330..."} 
[2026-08-25 14:14:47] local.INFO: Packet analysis {"connection_id":164306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:14:47] local.INFO: Extracted packet for processing {"connection_id":164306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:14:47] local.INFO: GPS Element Parsed {"raw_longitude":765093696,"raw_latitude":91568712,"longitude_deg":76.5093696,"latitude_deg":9.1568712,"altitude":12,"angle":163,"satellites":48,"speed":31,"hex_longitude":"2d9a6740","hex_latitude":"05753a48","is_valid_coordinates":true} 
[2026-08-25 14:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637739008001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123685153930215424,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7323978870567411712,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787647435000,"timestamp_ms":1787647435000,"timestamp_seconds":1787647435,"priority":1,"record_length":96,"hex_timestamp":"000001a0381720f8"} 
[2026-08-25 14:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 14:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:14:47] 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-25 14:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637739008001,"66":13341,"150":206,"85":15872,"24":31,"16":123685153930215424,"45":-7323978870567411712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-25 14:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637739008001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:14:47] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-25 14:14:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123685153930215424,"km_value":123685153930215.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7323978870567411712,"description":"Unknown IO ID 45"} 
[2026-08-25 14:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637739008001,"power":13341,"unknown_150":206,"unknown_85":15872,"ignition":31,"odometer":null,"unknown_45":-7323978870567411712}} 
[2026-08-25 14:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":164306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:14:47] local.INFO: GPS data processed {"connection_id":164306,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:14:47] local.INFO: Acknowledgment sent {"connection_id":164306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:14:53] local.INFO: TCP Data received {"connection_id":161936,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:14:53] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:14:53] local.INFO: IMEI packet received {"connection_id":161936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":161936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:14:57] local.INFO: TCP Data received {"connection_id":161936,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:14:57] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:14:57] local.INFO: IMEI packet received {"connection_id":161936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":161936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:14:59] local.INFO: TCP Data received {"connection_id":161936,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381651f0012d18abc007216fd8004a013427..."} 
[2026-08-25 14:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381651f0012d18abc007216fd8004a013427..."} 
[2026-08-25 14:14:59] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381651f0012d18abc007216fd8004a013427..."} 
[2026-08-25 14:14:59] local.INFO: Packet analysis {"connection_id":161936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:14:59] local.INFO: Extracted packet for processing {"connection_id":161936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637724416001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787647382000,"timestamp_ms":1787647382000,"timestamp_seconds":1787647382,"priority":1,"record_length":96,"hex_timestamp":"000001a0381651f0"} 
[2026-08-25 14: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-25 14:14:59] 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-25 14: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-25 14:14:59] 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-25 14: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-25 14: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-25 14:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637724416001,"66":12504,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637724416001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:14:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637724416001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":161936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:14:59] local.INFO: GPS data processed {"connection_id":161936,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:14:59] local.INFO: Acknowledgment sent {"connection_id":161936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:15:03] local.INFO: TCP Data received {"connection_id":161936,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03816a3f8012d18abc007216fd8004a013429..."} 
[2026-08-25 14:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03816a3f8012d18abc007216fd8004a013429..."} 
[2026-08-25 14:15:03] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03816a3f8012d18abc007216fd8004a013429..."} 
[2026-08-25 14:15:03] local.INFO: Packet analysis {"connection_id":161936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:15:03] local.INFO: Extracted packet for processing {"connection_id":161936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637729792001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787647403000,"timestamp_ms":1787647403000,"timestamp_seconds":1787647403,"priority":1,"record_length":96,"hex_timestamp":"000001a03816a3f8"} 
[2026-08-25 14: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-25 14:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 14:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637729792001,"66":12504,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637729792001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:15:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637729792001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":161936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:15:03] local.INFO: GPS data processed {"connection_id":161936,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:15:03] local.INFO: Acknowledgment sent {"connection_id":161936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:15:18] local.INFO: TCP Data received {"connection_id":162934,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:15:18] local.INFO: Processing buffer {"connection_id":162934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:15:18] local.INFO: Packet analysis {"connection_id":162934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:15:18] local.INFO: Extracted packet for processing {"connection_id":162934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637659136001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787647407000,"timestamp_ms":1787647407000,"timestamp_seconds":1787647407,"priority":1,"record_length":96,"hex_timestamp":"000001a03816b398"} 
[2026-08-25 14:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637659136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637659136001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637659136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":162934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:15:18] local.INFO: GPS data processed {"connection_id":162934,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:15:18] local.INFO: Acknowledgment sent {"connection_id":162934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:15:18] local.INFO: TCP Data received {"connection_id":164306,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038174fd8012d9a71c005751838000c00a030..."} 
[2026-08-25 14:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038174fd8012d9a71c005751838000c00a030..."} 
[2026-08-25 14:15:18] local.INFO: Processing buffer {"connection_id":164306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038174fd8012d9a71c005751838000c00a030..."} 
[2026-08-25 14:15:18] local.INFO: Packet analysis {"connection_id":164306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:15:18] local.INFO: Extracted packet for processing {"connection_id":164306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:15:18] local.INFO: GPS Element Parsed {"raw_longitude":765096384,"raw_latitude":91559992,"longitude_deg":76.5096384,"latitude_deg":9.1559992,"altitude":12,"angle":160,"satellites":48,"speed":21,"hex_longitude":"2d9a71c0","hex_latitude":"05751838","is_valid_coordinates":true} 
[2026-08-25 14:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637743360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123685592016879616,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7320812277081683968,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787647447000,"timestamp_ms":1787647447000,"timestamp_seconds":1787647447,"priority":1,"record_length":96,"hex_timestamp":"000001a038174fd8"} 
[2026-08-25 14:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:15: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-25 14:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:15: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-25 14:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637743360001,"66":13559,"150":206,"85":15872,"24":21,"16":123685592016879616,"45":-7320812277081683968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-25 14:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637743360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:15:18] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-25 14:15:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123685592016879616,"km_value":123685592016879.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7320812277081683968,"description":"Unknown IO ID 45"} 
[2026-08-25 14:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637743360001,"power":13559,"unknown_150":206,"unknown_85":15872,"ignition":21,"odometer":null,"unknown_45":-7320812277081683968}} 
[2026-08-25 14:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":164306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:15:19] local.INFO: GPS data processed {"connection_id":164306,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:15:19] local.INFO: Acknowledgment sent {"connection_id":164306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:15:35] local.INFO: TCP Data received {"connection_id":161936,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03816f600012d18abc007216fd8004a013427..."} 
[2026-08-25 14:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03816f600012d18abc007216fd8004a013427..."} 
[2026-08-25 14:15:35] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03816f600012d18abc007216fd8004a013427..."} 
[2026-08-25 14:15:35] local.INFO: Packet analysis {"connection_id":161936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:15:35] local.INFO: Extracted packet for processing {"connection_id":161936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637735168001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787647424000,"timestamp_ms":1787647424000,"timestamp_seconds":1787647424,"priority":1,"record_length":96,"hex_timestamp":"000001a03816f600"} 
[2026-08-25 14: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-25 14:15: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-25 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 14:15:35] 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-25 14: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-25 14: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-25 14:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637735168001,"66":12504,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637735168001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:15:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:15:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637735168001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":161936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:15:35] local.INFO: GPS data processed {"connection_id":161936,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:15:35] local.INFO: Acknowledgment sent {"connection_id":161936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:15:39] local.INFO: TCP Data received {"connection_id":164307,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:15:39] local.INFO: Processing buffer {"connection_id":164307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:15:39] local.INFO: IMEI packet received {"connection_id":164307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":164307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:15:41] local.INFO: TCP Data received {"connection_id":162935,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:15:41] local.INFO: Processing buffer {"connection_id":162935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:15:41] local.INFO: IMEI packet received {"connection_id":162935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":162935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:15:45] local.INFO: TCP Data received {"connection_id":164307,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:15:45] local.INFO: Processing buffer {"connection_id":164307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:15:45] local.INFO: IMEI packet received {"connection_id":164307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":164307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:15:46] local.INFO: TCP Data received {"connection_id":162935,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:15:46] local.INFO: Processing buffer {"connection_id":162935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:15:46] local.INFO: IMEI packet received {"connection_id":162935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":162935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:15:46] local.INFO: TCP Data received {"connection_id":164307,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:15:46] local.INFO: Processing buffer {"connection_id":164307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:15:46] local.INFO: Packet analysis {"connection_id":164307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:15:46] local.INFO: Extracted packet for processing {"connection_id":164307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637659136001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787647407000,"timestamp_ms":1787647407000,"timestamp_seconds":1787647407,"priority":1,"record_length":96,"hex_timestamp":"000001a03816b398"} 
[2026-08-25 14:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637659136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637659136001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637659136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":164307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:15:46] local.INFO: GPS data processed {"connection_id":164307,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:15:46] local.INFO: Acknowledgment sent {"connection_id":164307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:15:47] local.INFO: TCP Data received {"connection_id":162935,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038177eb8012d9a7dc00574f3c8000c009f2f..."} 
[2026-08-25 14:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038177eb8012d9a7dc00574f3c8000c009f2f..."} 
[2026-08-25 14:15:47] local.INFO: Processing buffer {"connection_id":162935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038177eb8012d9a7dc00574f3c8000c009f2f..."} 
[2026-08-25 14:15:47] local.INFO: Packet analysis {"connection_id":162935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:15:47] local.INFO: Extracted packet for processing {"connection_id":162935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:15:47] local.INFO: GPS Element Parsed {"raw_longitude":765099456,"raw_latitude":91550664,"longitude_deg":76.5099456,"latitude_deg":9.1550664,"altitude":12,"angle":159,"satellites":47,"speed":40,"hex_longitude":"2d9a7dc0","hex_latitude":"0574f3c8","is_valid_coordinates":true} 
[2026-08-25 14:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637746432001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123686068758249472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7317856789828454400,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787647459000,"timestamp_ms":1787647459000,"timestamp_seconds":1787647459,"priority":1,"record_length":96,"hex_timestamp":"000001a038177eb8"} 
[2026-08-25 14:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 14:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:15:47] 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-25 14:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637746432001,"66":13178,"150":206,"85":15872,"24":40,"16":123686068758249472,"45":-7317856789828454400},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-25 14:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637746432001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:15:47] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-25 14:15:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123686068758249472,"km_value":123686068758249.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7317856789828454400,"description":"Unknown IO ID 45"} 
[2026-08-25 14:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637746432001,"power":13178,"unknown_150":206,"unknown_85":15872,"ignition":40,"odometer":null,"unknown_45":-7317856789828454400}} 
[2026-08-25 14:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":162935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:15:47] local.INFO: GPS data processed {"connection_id":162935,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:15:47] local.INFO: Acknowledgment sent {"connection_id":162935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:15:52] local.INFO: TCP Data received {"connection_id":161937,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:15:52] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:15:52] local.INFO: IMEI packet received {"connection_id":161937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":161937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:15:57] local.INFO: TCP Data received {"connection_id":161937,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:15:57] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:15:57] local.INFO: IMEI packet received {"connection_id":161937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":161937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:15:59] local.INFO: TCP Data received {"connection_id":161937,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038174808012d18abc007216fd8004a013429..."} 
[2026-08-25 14:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038174808012d18abc007216fd8004a013429..."} 
[2026-08-25 14:15:59] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038174808012d18abc007216fd8004a013429..."} 
[2026-08-25 14:15:59] local.INFO: Packet analysis {"connection_id":161937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:15:59] local.INFO: Extracted packet for processing {"connection_id":161937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637740544001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787647445000,"timestamp_ms":1787647445000,"timestamp_seconds":1787647445,"priority":1,"record_length":96,"hex_timestamp":"000001a038174808"} 
[2026-08-25 14: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-25 14:15:59] 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-25 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 14:15:59] 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-25 14: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-25 14: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-25 14:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637740544001,"66":12461,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637740544001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:15:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:15:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637740544001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":161937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:15:59] local.INFO: GPS data processed {"connection_id":161937,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:15:59] local.INFO: Acknowledgment sent {"connection_id":161937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:16:18] local.INFO: TCP Data received {"connection_id":164307,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:16:18] local.INFO: Processing buffer {"connection_id":164307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:16:18] local.INFO: Packet analysis {"connection_id":164307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:16:18] local.INFO: Extracted packet for processing {"connection_id":164307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:16:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637659136001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787647407000,"timestamp_ms":1787647407000,"timestamp_seconds":1787647407,"priority":1,"record_length":96,"hex_timestamp":"000001a03816b398"} 
[2026-08-25 14:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637659136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637659136001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:16:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637659136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":164307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:16:18] local.INFO: GPS data processed {"connection_id":164307,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:16:18] local.INFO: Acknowledgment sent {"connection_id":164307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:16:18] local.INFO: TCP Data received {"connection_id":162935,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03817a5c8012d9a8b000574d578000c00ac2f..."} 
[2026-08-25 14:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03817a5c8012d9a8b000574d578000c00ac2f..."} 
[2026-08-25 14:16:18] local.INFO: Processing buffer {"connection_id":162935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03817a5c8012d9a8b000574d578000c00ac2f..."} 
[2026-08-25 14:16:18] local.INFO: Packet analysis {"connection_id":162935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:16:18] local.INFO: Extracted packet for processing {"connection_id":162935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:16:18] local.INFO: GPS Element Parsed {"raw_longitude":765102848,"raw_latitude":91542904,"longitude_deg":76.5102848,"latitude_deg":9.1542904,"altitude":12,"angle":172,"satellites":47,"speed":19,"hex_longitude":"2d9a8b00","hex_latitude":"0574d578","is_valid_coordinates":true} 
[2026-08-25 14:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637749504001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123686481075109888,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7314479090110314496,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787647469000,"timestamp_ms":1787647469000,"timestamp_seconds":1787647469,"priority":1,"record_length":96,"hex_timestamp":"000001a03817a5c8"} 
[2026-08-25 14:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-25 14:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:16: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-25 14:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637749504001,"66":13189,"150":206,"85":15872,"24":19,"16":123686481075109888,"45":-7314479090110314496},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-25 14:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637749504001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:16:18] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-25 14:16:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123686481075109888,"km_value":123686481075109.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7314479090110314496,"description":"Unknown IO ID 45"} 
[2026-08-25 14:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637749504001,"power":13189,"unknown_150":206,"unknown_85":15872,"ignition":19,"odometer":null,"unknown_45":-7314479090110314496}} 
[2026-08-25 14:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":162935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:16:18] local.INFO: GPS data processed {"connection_id":162935,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:16:18] local.INFO: Acknowledgment sent {"connection_id":162935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:16:30] local.INFO: TCP Data received {"connection_id":161937,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038179a10012d18abc007216fd8004a013428..."} 
[2026-08-25 14:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038179a10012d18abc007216fd8004a013428..."} 
[2026-08-25 14:16:30] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038179a10012d18abc007216fd8004a013428..."} 
[2026-08-25 14:16:30] local.INFO: Packet analysis {"connection_id":161937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:16:30] local.INFO: Extracted packet for processing {"connection_id":161937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:16:30] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637745920001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787647466000,"timestamp_ms":1787647466000,"timestamp_seconds":1787647466,"priority":1,"record_length":96,"hex_timestamp":"000001a038179a10"} 
[2026-08-25 14:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-25 14:16:30] 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-25 14:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637745920001,"66":12254,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637745920001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:16:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637745920001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":161937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:16:30] local.INFO: GPS data processed {"connection_id":161937,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:16:30] local.INFO: Acknowledgment sent {"connection_id":161937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:16:30] local.INFO: TCP Data received {"connection_id":162936,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:16:30] local.INFO: Processing buffer {"connection_id":162936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:16:30] local.INFO: IMEI packet received {"connection_id":162936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 14:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":162936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:16:39] local.INFO: TCP Data received {"connection_id":164308,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:16:39] local.INFO: Processing buffer {"connection_id":164308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:16:39] local.INFO: IMEI packet received {"connection_id":164308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":164308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:16:45] local.INFO: TCP Data received {"connection_id":164309,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:16:45] local.INFO: Processing buffer {"connection_id":164309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:16:45] local.INFO: IMEI packet received {"connection_id":164309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":164309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:16:45] local.INFO: TCP Data received {"connection_id":164308,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:16:45] local.INFO: Processing buffer {"connection_id":164308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:16:45] local.INFO: IMEI packet received {"connection_id":164308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":164308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:16:46] local.INFO: TCP Data received {"connection_id":164309,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:16:46] local.INFO: Processing buffer {"connection_id":164309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:16:46] local.INFO: IMEI packet received {"connection_id":164309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":164309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:16:46] local.INFO: TCP Data received {"connection_id":164308,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:16:46] local.INFO: Processing buffer {"connection_id":164308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:16:46] local.INFO: Packet analysis {"connection_id":164308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:16:46] local.INFO: Extracted packet for processing {"connection_id":164308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637659136001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787647407000,"timestamp_ms":1787647407000,"timestamp_seconds":1787647407,"priority":1,"record_length":96,"hex_timestamp":"000001a03816b398"} 
[2026-08-25 14:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637659136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637659136001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637659136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":164308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:16:46] local.INFO: GPS data processed {"connection_id":164308,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:16:46] local.INFO: Acknowledgment sent {"connection_id":164308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:16:51] local.INFO: TCP Data received {"connection_id":164309,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:16:51] local.INFO: Processing buffer {"connection_id":164309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:16:51] local.INFO: IMEI packet received {"connection_id":164309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":164309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:16:52] local.INFO: TCP Data received {"connection_id":164309,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03817b180012d9a8c400574cfb8000c009f2f..."} 
[2026-08-25 14:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03817b180012d9a8c400574cfb8000c009f2f..."} 
[2026-08-25 14:16:52] local.INFO: Processing buffer {"connection_id":164309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03817b180012d9a8c400574cfb8000c009f2f..."} 
[2026-08-25 14:16:52] local.INFO: Packet analysis {"connection_id":164309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:16:52] local.INFO: Extracted packet for processing {"connection_id":164309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:16:52] local.INFO: GPS Element Parsed {"raw_longitude":765103168,"raw_latitude":91541432,"longitude_deg":76.5103168,"latitude_deg":9.1541432,"altitude":12,"angle":159,"satellites":47,"speed":23,"hex_longitude":"2d9a8c40","hex_latitude":"0574cfb8","is_valid_coordinates":true} 
[2026-08-25 14:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637752064001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123686554089553920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7310749546670884864,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787647472000,"timestamp_ms":1787647472000,"timestamp_seconds":1787647472,"priority":1,"record_length":96,"hex_timestamp":"000001a03817b180"} 
[2026-08-25 14:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 14:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:16:52] 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-25 14:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637752064001,"66":13656,"150":206,"85":15872,"24":23,"16":123686554089553920,"45":-7310749546670884864},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-25 14:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637752064001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:16:52] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-25 14:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123686554089553920,"km_value":123686554089553.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7310749546670884864,"description":"Unknown IO ID 45"} 
[2026-08-25 14:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637752064001,"power":13656,"unknown_150":206,"unknown_85":15872,"ignition":23,"odometer":null,"unknown_45":-7310749546670884864}} 
[2026-08-25 14:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":164309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:16:52] local.INFO: GPS data processed {"connection_id":164309,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:16:52] local.INFO: Acknowledgment sent {"connection_id":164309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:16:53] local.INFO: TCP Data received {"connection_id":161693,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:16:53] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:16:53] local.INFO: IMEI packet received {"connection_id":161693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":161693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:16:57] local.INFO: TCP Data received {"connection_id":161693,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:16:57] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:16:57] local.INFO: IMEI packet received {"connection_id":161693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":161693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:16:58] local.INFO: TCP Data received {"connection_id":161693,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03817ec18012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03817ec18012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:16:58] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03817ec18012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:16:58] local.INFO: Packet analysis {"connection_id":161693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:16:58] local.INFO: Extracted packet for processing {"connection_id":161693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03817"} 
[2026-08-25 14:16:58] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":42,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:16: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-25 14:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637751296001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787647487000,"timestamp_ms":1787647487000,"timestamp_seconds":1787647487,"priority":1,"record_length":96,"hex_timestamp":"000001a03817ec18"} 
[2026-08-25 14:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:16:58] 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-25 14:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-25 14:16:58] 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-25 14:16: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-25 14:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637751296001,"66":12428,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637751296001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:16:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:16:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637751296001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":161693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:16:58] local.INFO: GPS data processed {"connection_id":161693,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:16:58] local.INFO: Acknowledgment sent {"connection_id":161693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:17:18] local.INFO: TCP Data received {"connection_id":164308,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:17:18] local.INFO: Processing buffer {"connection_id":164308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:17:18] local.INFO: Packet analysis {"connection_id":164308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:17:18] local.INFO: Extracted packet for processing {"connection_id":164308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637659136001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787647407000,"timestamp_ms":1787647407000,"timestamp_seconds":1787647407,"priority":1,"record_length":96,"hex_timestamp":"000001a03816b398"} 
[2026-08-25 14:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637659136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637659136001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637659136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":164308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:17:18] local.INFO: GPS data processed {"connection_id":164308,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:17:18] local.INFO: Acknowledgment sent {"connection_id":164308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:17:23] local.INFO: TCP Data received {"connection_id":164309,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03819f788012d9aea4005738be0000b00d42c..."} 
[2026-08-25 14:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03819f788012d9aea4005738be0000b00d42c..."} 
[2026-08-25 14:17:23] local.INFO: Processing buffer {"connection_id":164309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03819f788012d9aea4005738be0000b00d42c..."} 
[2026-08-25 14:17:23] local.INFO: Packet analysis {"connection_id":164309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03819"} 
[2026-08-25 14:17:23] local.INFO: Extracted packet for processing {"connection_id":164309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03819"} 
[2026-08-25 14:17:23] local.INFO: GPS Element Parsed {"raw_longitude":765127232,"raw_latitude":91458528,"longitude_deg":76.5127232,"latitude_deg":9.1458528,"altitude":11,"angle":212,"satellites":44,"speed":19,"hex_longitude":"2d9aea40","hex_latitude":"05738be0","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637790976001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123691188359266304,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7283939055160795136,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787647621000,"timestamp_ms":1787647621000,"timestamp_seconds":1787647621,"priority":1,"record_length":96,"hex_timestamp":"000001a03819f788"} 
[2026-08-25 14: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-25 14:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 14:17: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-25 14: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-25 14: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-25 14:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:17: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-25 14:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637790976001,"66":13450,"162":206,"85":15872,"24":19,"16":123691188359266304,"45":-7283939055160795136},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 14:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637790976001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:17:23] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 14:17:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123691188359266304,"km_value":123691188359266.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7283939055160795136,"description":"Unknown IO ID 45"} 
[2026-08-25 14:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637790976001,"power":13450,"unknown_162":206,"unknown_85":15872,"ignition":19,"odometer":null,"unknown_45":-7283939055160795136}} 
[2026-08-25 14:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":164309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:17:23] local.INFO: GPS data processed {"connection_id":164309,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:17:23] local.INFO: Acknowledgment sent {"connection_id":164309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:17:30] local.INFO: TCP Data received {"connection_id":161693,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038183e20012d18abc007216fd8004a013428..."} 
[2026-08-25 14:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038183e20012d18abc007216fd8004a013428..."} 
[2026-08-25 14:17:30] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038183e20012d18abc007216fd8004a013428..."} 
[2026-08-25 14:17:30] local.INFO: Packet analysis {"connection_id":161693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03818"} 
[2026-08-25 14:17:30] local.INFO: Extracted packet for processing {"connection_id":161693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03818"} 
[2026-08-25 14:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637756672001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787647508000,"timestamp_ms":1787647508000,"timestamp_seconds":1787647508,"priority":1,"record_length":96,"hex_timestamp":"000001a038183e20"} 
[2026-08-25 14: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-25 14:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 14:17:30] 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-25 14: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-25 14: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-25 14:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637756672001,"66":12428,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637756672001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:17:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637756672001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":161693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:17:30] local.INFO: GPS data processed {"connection_id":161693,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:17:30] local.INFO: Acknowledgment sent {"connection_id":161693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:17:41] local.INFO: TCP Data received {"connection_id":162938,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:17:41] local.INFO: Processing buffer {"connection_id":162938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:17:41] local.INFO: IMEI packet received {"connection_id":162938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":162938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:17:41] local.INFO: TCP Data received {"connection_id":162938,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:17:41] local.INFO: Processing buffer {"connection_id":162938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:17:41] local.INFO: IMEI packet received {"connection_id":162938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":162938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:17:44] local.INFO: TCP Data received {"connection_id":162938,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:17:44] local.INFO: Processing buffer {"connection_id":162938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:17:44] local.INFO: IMEI packet received {"connection_id":162938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":162938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:17:45] local.INFO: TCP Data received {"connection_id":162937,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:17:45] local.INFO: Processing buffer {"connection_id":162937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:17:45] local.INFO: IMEI packet received {"connection_id":162937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":162937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:17:46] local.INFO: TCP Data received {"connection_id":162938,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:17:46] local.INFO: Processing buffer {"connection_id":162938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:17:46] local.INFO: IMEI packet received {"connection_id":162938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":162938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:17:46] local.INFO: TCP Data received {"connection_id":162938,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381a16c8012d9ade8005737ab8000c00c72f..."} 
[2026-08-25 14:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381a16c8012d9ade8005737ab8000c00c72f..."} 
[2026-08-25 14:17:46] local.INFO: Processing buffer {"connection_id":162938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381a16c8012d9ade8005737ab8000c00c72f..."} 
[2026-08-25 14:17:46] local.INFO: Packet analysis {"connection_id":162938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:17:46] local.INFO: Extracted packet for processing {"connection_id":162938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:17:46] local.INFO: GPS Element Parsed {"raw_longitude":765124224,"raw_latitude":91454136,"longitude_deg":76.5124224,"latitude_deg":9.1454136,"altitude":12,"angle":199,"satellites":47,"speed":36,"hex_longitude":"2d9ade80","hex_latitude":"05737ab8","is_valid_coordinates":true} 
[2026-08-25 14:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637790976001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123691450352271360,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7283939055160795136,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787647629000,"timestamp_ms":1787647629000,"timestamp_seconds":1787647629,"priority":1,"record_length":96,"hex_timestamp":"000001a0381a16c8"} 
[2026-08-25 14:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 14:17:46] 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-25 14:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:17:46] 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-25 14:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637790976001,"66":13526,"162":206,"85":15872,"24":36,"16":123691450352271360,"45":-7283939055160795136},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 14:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637790976001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:17:46] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 14:17:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123691450352271360,"km_value":123691450352271.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7283939055160795136,"description":"Unknown IO ID 45"} 
[2026-08-25 14:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637790976001,"power":13526,"unknown_162":206,"unknown_85":15872,"ignition":36,"odometer":null,"unknown_45":-7283939055160795136}} 
[2026-08-25 14:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":162938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:17:46] local.INFO: GPS data processed {"connection_id":162938,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:17:46] local.INFO: Acknowledgment sent {"connection_id":162938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:17:51] local.INFO: TCP Data received {"connection_id":162937,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:17:51] local.INFO: Processing buffer {"connection_id":162937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:17:51] local.INFO: IMEI packet received {"connection_id":162937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":162937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:17:52] local.INFO: TCP Data received {"connection_id":162937,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:17:52] local.INFO: Processing buffer {"connection_id":162937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:17:52] local.INFO: Packet analysis {"connection_id":162937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:17:52] local.INFO: Extracted packet for processing {"connection_id":162937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637659136001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787647407000,"timestamp_ms":1787647407000,"timestamp_seconds":1787647407,"priority":1,"record_length":96,"hex_timestamp":"000001a03816b398"} 
[2026-08-25 14:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637659136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637659136001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637659136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":162937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:17:52] local.INFO: GPS data processed {"connection_id":162937,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:17:52] local.INFO: Acknowledgment sent {"connection_id":162937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:17:52] local.INFO: TCP Data received {"connection_id":161694,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:17:52] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:17:52] local.INFO: IMEI packet received {"connection_id":161694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":161694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:17:53] local.INFO: TCP Data received {"connection_id":161694,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:17:53] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:17:53] local.INFO: IMEI packet received {"connection_id":161694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":161694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:17:57] local.INFO: TCP Data received {"connection_id":161694,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:17:57] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:17:57] local.INFO: IMEI packet received {"connection_id":161694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":161694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:17:59] local.INFO: TCP Data received {"connection_id":161694,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038189028012d18abc007216fd8004a013428..."} 
[2026-08-25 14:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038189028012d18abc007216fd8004a013428..."} 
[2026-08-25 14:17:59] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038189028012d18abc007216fd8004a013428..."} 
[2026-08-25 14:17:59] local.INFO: Packet analysis {"connection_id":161694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03818"} 
[2026-08-25 14:17:59] local.INFO: Extracted packet for processing {"connection_id":161694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03818"} 
[2026-08-25 14:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637762048001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787647529000,"timestamp_ms":1787647529000,"timestamp_seconds":1787647529,"priority":1,"record_length":96,"hex_timestamp":"000001a038189028"} 
[2026-08-25 14: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-25 14:17:59] 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-25 14:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 14:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637762048001,"66":12385,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637762048001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:17:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:17:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637762048001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":161694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:17:59] local.INFO: GPS data processed {"connection_id":161694,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:17:59] local.INFO: Acknowledgment sent {"connection_id":161694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:18:01] local.INFO: TCP Data received {"connection_id":162937,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:18:01] local.INFO: Processing buffer {"connection_id":162937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:18:01] local.INFO: Packet analysis {"connection_id":162937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:18:01] local.INFO: Extracted packet for processing {"connection_id":162937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:18:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637659136001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787647407000,"timestamp_ms":1787647407000,"timestamp_seconds":1787647407,"priority":1,"record_length":96,"hex_timestamp":"000001a03816b398"} 
[2026-08-25 14: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-25 14:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637659136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637659136001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:18:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637659136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":162937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:18:01] local.INFO: GPS data processed {"connection_id":162937,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:18:01] local.INFO: Acknowledgment sent {"connection_id":162937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:18:17] local.INFO: TCP Data received {"connection_id":162938,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381a3608012d9ad580057358c8000e00be2e..."} 
[2026-08-25 14:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381a3608012d9ad580057358c8000e00be2e..."} 
[2026-08-25 14:18:17] local.INFO: Processing buffer {"connection_id":162938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381a3608012d9ad580057358c8000e00be2e..."} 
[2026-08-25 14:18:17] local.INFO: Packet analysis {"connection_id":162938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:18:17] local.INFO: Extracted packet for processing {"connection_id":162938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:18:17] local.INFO: GPS Element Parsed {"raw_longitude":765121920,"raw_latitude":91445448,"longitude_deg":76.512192,"latitude_deg":9.1445448,"altitude":14,"angle":190,"satellites":46,"speed":49,"hex_longitude":"2d9ad580","hex_latitude":"057358c8","is_valid_coordinates":true} 
[2026-08-25 14:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637793024001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123691884143968256,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7287246386138269696,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787647637000,"timestamp_ms":1787647637000,"timestamp_seconds":1787647637,"priority":1,"record_length":96,"hex_timestamp":"000001a0381a3608"} 
[2026-08-25 14:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 14:18:17] 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-25 14:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:18: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-25 14:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637793024001,"66":13374,"162":206,"85":15872,"24":49,"16":123691884143968256,"45":-7287246386138269696},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 14:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637793024001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:18:17] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 14:18:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123691884143968256,"km_value":123691884143968.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7287246386138269696,"description":"Unknown IO ID 45"} 
[2026-08-25 14:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637793024001,"power":13374,"unknown_162":206,"unknown_85":15872,"ignition":49,"odometer":null,"unknown_45":-7287246386138269696}} 
[2026-08-25 14:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":162938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:18:17] local.INFO: GPS data processed {"connection_id":162938,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:18:17] local.INFO: Acknowledgment sent {"connection_id":162938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:18:30] local.INFO: TCP Data received {"connection_id":161694,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03818e230012d18abc007216fd8004a013428..."} 
[2026-08-25 14:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03818e230012d18abc007216fd8004a013428..."} 
[2026-08-25 14:18:30] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03818e230012d18abc007216fd8004a013428..."} 
[2026-08-25 14:18:30] local.INFO: Packet analysis {"connection_id":161694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03818"} 
[2026-08-25 14:18:30] local.INFO: Extracted packet for processing {"connection_id":161694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03818"} 
[2026-08-25 14:18:30] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637767424001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787647550000,"timestamp_ms":1787647550000,"timestamp_seconds":1787647550,"priority":1,"record_length":96,"hex_timestamp":"000001a03818e230"} 
[2026-08-25 14:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 14:18:30] 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-25 14:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637767424001,"66":12341,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637767424001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:18:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:18:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637767424001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":161694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:18:30] local.INFO: GPS data processed {"connection_id":161694,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:18:30] local.INFO: Acknowledgment sent {"connection_id":161694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:18:40] local.INFO: TCP Data received {"connection_id":164310,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:18:40] local.INFO: Processing buffer {"connection_id":164310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:18:40] local.INFO: IMEI packet received {"connection_id":164310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":164310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:18:45] local.INFO: TCP Data received {"connection_id":164310,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:18:45] local.INFO: Processing buffer {"connection_id":164310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:18:45] local.INFO: IMEI packet received {"connection_id":164310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":164310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:18:46] local.INFO: TCP Data received {"connection_id":164310,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:18:46] local.INFO: Processing buffer {"connection_id":164310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03816b398012d34c14006aa4820000700e631..."} 
[2026-08-25 14:18:46] local.INFO: Packet analysis {"connection_id":164310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:18:46] local.INFO: Extracted packet for processing {"connection_id":164310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03816"} 
[2026-08-25 14:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637659136001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787647407000,"timestamp_ms":1787647407000,"timestamp_seconds":1787647407,"priority":1,"record_length":96,"hex_timestamp":"000001a03816b398"} 
[2026-08-25 14:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637659136001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637659136001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637659136001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":164310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:18:46] local.INFO: GPS data processed {"connection_id":164310,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:18:46] local.INFO: Acknowledgment sent {"connection_id":164310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:18:46] local.INFO: TCP Data received {"connection_id":164311,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:18:46] local.INFO: Processing buffer {"connection_id":164311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:18:46] local.INFO: IMEI packet received {"connection_id":164311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":164311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:18:47] local.INFO: TCP Data received {"connection_id":164311,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:18:47] local.INFO: Processing buffer {"connection_id":164311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:18:47] local.INFO: IMEI packet received {"connection_id":164311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":164311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:18:47] local.INFO: TCP Data received {"connection_id":164311,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381a5160012d9ad3c0057335c8000e00b32f..."} 
[2026-08-25 14:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381a5160012d9ad3c0057335c8000e00b32f..."} 
[2026-08-25 14:18:47] local.INFO: Processing buffer {"connection_id":164311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381a5160012d9ad3c0057335c8000e00b32f..."} 
[2026-08-25 14:18:47] local.INFO: Packet analysis {"connection_id":164311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:18:47] local.INFO: Extracted packet for processing {"connection_id":164311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:18:47] local.INFO: GPS Element Parsed {"raw_longitude":765121472,"raw_latitude":91436488,"longitude_deg":76.5121472,"latitude_deg":9.1436488,"altitude":14,"angle":179,"satellites":47,"speed":51,"hex_longitude":"2d9ad3c0","hex_latitude":"057335c8","is_valid_coordinates":true} 
[2026-08-25 14:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637795072001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123692322230632448,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7289779660930889728,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787647644000,"timestamp_ms":1787647644000,"timestamp_seconds":1787647644,"priority":1,"record_length":96,"hex_timestamp":"000001a0381a5160"} 
[2026-08-25 14:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 14:18:47] 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-25 14:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:18:47] 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-25 14:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637795072001,"66":13276,"162":206,"85":15872,"24":51,"16":123692322230632448,"45":-7289779660930889728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 14:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637795072001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:18:47] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 14:18:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123692322230632448,"km_value":123692322230632.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7289779660930889728,"description":"Unknown IO ID 45"} 
[2026-08-25 14:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637795072001,"power":13276,"unknown_162":206,"unknown_85":15872,"ignition":51,"odometer":null,"unknown_45":-7289779660930889728}} 
[2026-08-25 14:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":164311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:18:47] local.INFO: GPS data processed {"connection_id":164311,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:18:47] local.INFO: Acknowledgment sent {"connection_id":164311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:18:51] local.INFO: TCP Data received {"connection_id":164311,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381a68d0012d9ad5c005731ec8000d00a830..."} 
[2026-08-25 14:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381a68d0012d9ad5c005731ec8000d00a830..."} 
[2026-08-25 14:18:51] local.INFO: Processing buffer {"connection_id":164311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381a68d0012d9ad5c005731ec8000d00a830..."} 
[2026-08-25 14:18:51] local.INFO: Packet analysis {"connection_id":164311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:18:51] local.INFO: Extracted packet for processing {"connection_id":164311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:18:51] local.INFO: GPS Element Parsed {"raw_longitude":765121984,"raw_latitude":91430600,"longitude_deg":76.5121984,"latitude_deg":9.14306,"altitude":13,"angle":168,"satellites":48,"speed":28,"hex_longitude":"2d9ad5c0","hex_latitude":"05731ec8","is_valid_coordinates":true} 
[2026-08-25 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-25 14:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637796864001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123692609993441280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7290272242142427136,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787647650000,"timestamp_ms":1787647650000,"timestamp_seconds":1787647650,"priority":1,"record_length":96,"hex_timestamp":"000001a0381a68d0"} 
[2026-08-25 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-25 14:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 14:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 14:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:18:51] 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-25 14:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637796864001,"66":13406,"162":206,"85":15872,"24":28,"16":123692609993441280,"45":-7290272242142427136},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 14:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637796864001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:18:51] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 14:18:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123692609993441280,"km_value":123692609993441.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7290272242142427136,"description":"Unknown IO ID 45"} 
[2026-08-25 14:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637796864001,"power":13406,"unknown_162":206,"unknown_85":15872,"ignition":28,"odometer":null,"unknown_45":-7290272242142427136}} 
[2026-08-25 14:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":164311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:18:51] local.INFO: GPS data processed {"connection_id":164311,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:18:51] local.INFO: Acknowledgment sent {"connection_id":164311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:18:52] local.INFO: TCP Data received {"connection_id":161695,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:18:52] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:18:52] local.INFO: IMEI packet received {"connection_id":161695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":161695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:18:56] local.INFO: TCP Data received {"connection_id":161695,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:18:56] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:18:56] local.INFO: IMEI packet received {"connection_id":161695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":161695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:18:57] local.INFO: TCP Data received {"connection_id":161695,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:18:57] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:18:57] local.INFO: IMEI packet received {"connection_id":161695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":161695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:18:58] local.INFO: TCP Data received {"connection_id":161695,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038193438012d18abc007216fd8004a013429..."} 
[2026-08-25 14:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038193438012d18abc007216fd8004a013429..."} 
[2026-08-25 14:18:58] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038193438012d18abc007216fd8004a013429..."} 
[2026-08-25 14:18:58] local.INFO: Packet analysis {"connection_id":161695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03819"} 
[2026-08-25 14:18:58] local.INFO: Extracted packet for processing {"connection_id":161695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03819"} 
[2026-08-25 14:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637772800001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787647571000,"timestamp_ms":1787647571000,"timestamp_seconds":1787647571,"priority":1,"record_length":96,"hex_timestamp":"000001a038193438"} 
[2026-08-25 14:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:18:58] 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-25 14:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 14:18:58] 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-25 14:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637772800001,"66":12298,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637772800001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:18:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:18:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637772800001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":161695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:18:58] local.INFO: GPS data processed {"connection_id":161695,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:18:58] local.INFO: Acknowledgment sent {"connection_id":161695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:19:03] local.INFO: TCP Data received {"connection_id":161695,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038198640012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038198640012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:19:03] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038198640012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:19:03] local.INFO: Packet analysis {"connection_id":161695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03819"} 
[2026-08-25 14:19:03] local.INFO: Extracted packet for processing {"connection_id":161695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03819"} 
[2026-08-25 14:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":42,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637778176001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787647592000,"timestamp_ms":1787647592000,"timestamp_seconds":1787647592,"priority":1,"record_length":96,"hex_timestamp":"000001a038198640"} 
[2026-08-25 14:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452344,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-5620492334958379007,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4041688195491764395,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513814806005416244,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":74,"raw_value":86739372803620864,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460569143247054,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2662465536,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3221692783,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594663,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:03] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,160,226,45,192,111,74,40,10,66,144,62,1,240,140,56,33,4,113,205,154,171,216,239,47,2,7,39],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-25 14:19:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332600784481681408,"timestamp_seconds":5332600784481681.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637778176001,"66":12298,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637778176001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:19:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:19:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637778176001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":161695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:19:03] local.INFO: GPS data processed {"connection_id":161695,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:19:03] local.INFO: Acknowledgment sent {"connection_id":161695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:19:17] local.INFO: TCP Data received {"connection_id":164310,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:19:17] local.INFO: Processing buffer {"connection_id":164310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:19:17] local.INFO: Packet analysis {"connection_id":164310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:19:17] local.INFO: Extracted packet for processing {"connection_id":164310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637736192001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787647708000,"timestamp_ms":1787647708000,"timestamp_seconds":1787647708,"priority":1,"record_length":96,"hex_timestamp":"000001a0381b4b60"} 
[2026-08-25 14: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-25 14:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637736192001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637736192001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637736192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":164310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:19:17] local.INFO: GPS data processed {"connection_id":164310,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:19:17] local.INFO: Acknowledgment sent {"connection_id":164310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:19:22] local.INFO: TCP Data received {"connection_id":164311,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381a8bf8012d9ad9c005730660000d00b330..."} 
[2026-08-25 14:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381a8bf8012d9ad9c005730660000d00b330..."} 
[2026-08-25 14:19:22] local.INFO: Processing buffer {"connection_id":164311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381a8bf8012d9ad9c005730660000d00b330..."} 
[2026-08-25 14:19:22] local.INFO: Packet analysis {"connection_id":164311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:19:22] local.INFO: Extracted packet for processing {"connection_id":164311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:19:22] local.INFO: GPS Element Parsed {"raw_longitude":765123008,"raw_latitude":91424352,"longitude_deg":76.5123008,"latitude_deg":9.1424352,"altitude":13,"angle":179,"satellites":48,"speed":37,"hex_longitude":"2d9ad9c0","hex_latitude":"05730660","is_valid_coordinates":true} 
[2026-08-25 14:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637798400001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123692919231086592,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7289709292190513152,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787647659000,"timestamp_ms":1787647659000,"timestamp_seconds":1787647659,"priority":1,"record_length":96,"hex_timestamp":"000001a0381a8bf8"} 
[2026-08-25 14:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 14:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:19: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-25 14:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637798400001,"66":13319,"162":206,"85":15872,"24":37,"16":123692919231086592,"45":-7289709292190513152},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 14:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637798400001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:19:22] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 14:19:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123692919231086592,"km_value":123692919231086.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7289709292190513152,"description":"Unknown IO ID 45"} 
[2026-08-25 14:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637798400001,"power":13319,"unknown_162":206,"unknown_85":15872,"ignition":37,"odometer":null,"unknown_45":-7289709292190513152}} 
[2026-08-25 14:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":164311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:19:22] local.INFO: GPS data processed {"connection_id":164311,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:19:22] local.INFO: Acknowledgment sent {"connection_id":164311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:19:35] local.INFO: TCP Data received {"connection_id":161695,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03819d848012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03819d848012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:19:35] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03819d848012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:19:35] local.INFO: Packet analysis {"connection_id":161695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03819"} 
[2026-08-25 14:19:35] local.INFO: Extracted packet for processing {"connection_id":161695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03819"} 
[2026-08-25 14:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":42,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637783552001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787647613000,"timestamp_ms":1787647613000,"timestamp_seconds":1787647613,"priority":1,"record_length":96,"hex_timestamp":"000001a03819d848"} 
[2026-08-25 14: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-25 14:19: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-25 14: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452344,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-5620492334958379007,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4041778389804980395,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513814806005416244,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":74,"raw_value":86738273291993088,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195248964141262,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2662465536,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3221692783,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862951,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:35] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,160,52,45,192,111,74,41,10,66,226,40,144,1,240,97,56,33,4,113,205,236,171,216,42,239,48,2,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-25 14:19:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332600788776648704,"timestamp_seconds":5332600788776649.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14: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-25 14:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637783552001,"66":12298,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637783552001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:19:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:19:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637783552001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":161695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:19:35] local.INFO: GPS data processed {"connection_id":161695,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:19:35] local.INFO: Acknowledgment sent {"connection_id":161695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:19:40] local.INFO: TCP Data received {"connection_id":162939,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:19:40] local.INFO: Processing buffer {"connection_id":162939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:19:40] local.INFO: IMEI packet received {"connection_id":162939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":162939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:19:41] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:19:41] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:19:41] local.INFO: IMEI packet received {"connection_id":161938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":161938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:19:45] local.INFO: TCP Data received {"connection_id":162939,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:19:45] local.INFO: Processing buffer {"connection_id":162939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:19:45] local.INFO: IMEI packet received {"connection_id":162939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":162939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:19:46] local.INFO: TCP Data received {"connection_id":162939,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:19:46] local.INFO: Processing buffer {"connection_id":162939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:19:46] local.INFO: Packet analysis {"connection_id":162939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:19:46] local.INFO: Extracted packet for processing {"connection_id":162939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637736192001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787647708000,"timestamp_ms":1787647708000,"timestamp_seconds":1787647708,"priority":1,"record_length":96,"hex_timestamp":"000001a0381b4b60"} 
[2026-08-25 14: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-25 14:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14: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-25 14:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637736192001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637736192001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637736192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":162939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:19:46] local.INFO: GPS data processed {"connection_id":162939,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:19:46] local.INFO: Acknowledgment sent {"connection_id":162939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:19:46] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:19:46] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:19:46] local.INFO: IMEI packet received {"connection_id":161938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":161938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:19:47] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381a97b0012d9ad9000572fcb0000d00c030..."} 
[2026-08-25 14:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381a97b0012d9ad9000572fcb0000d00c030..."} 
[2026-08-25 14:19:47] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381a97b0012d9ad9000572fcb0000d00c030..."} 
[2026-08-25 14:19:47] local.INFO: Packet analysis {"connection_id":161938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:19:47] local.INFO: Extracted packet for processing {"connection_id":161938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:19:47] local.INFO: GPS Element Parsed {"raw_longitude":765122816,"raw_latitude":91421872,"longitude_deg":76.5122816,"latitude_deg":9.1421872,"altitude":13,"angle":192,"satellites":48,"speed":26,"hex_longitude":"2d9ad900","hex_latitude":"0572fcb0","is_valid_coordinates":true} 
[2026-08-25 14:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637800704001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123693039490170880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7288583392285270016,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787647662000,"timestamp_ms":1787647662000,"timestamp_seconds":1787647662,"priority":1,"record_length":96,"hex_timestamp":"000001a0381a97b0"} 
[2026-08-25 14:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 14:19:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598273029,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:47] local.WARNING: Large IO value detected {"io_id":115,"raw_value":-5888456448349689856,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1185022158,"corrected_to":0} 
[2026-08-25 14:19:47] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2281778586,"corrected_to":0} 
[2026-08-25 14:19:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308358,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:47] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57780031837852990,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:47] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-3424986221230374907,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:47] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,162,85,24,241,157,16,114,160,104,45,192,30,13,48,10,66,113,81,53,14,47,54,128,1,240,62,227,56,115,4,205,36,247,234,224,44,239,52,2,183,5,11,19,138,25],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1185022158,"validated":0},{"io_id":247,"original":2281778586,"validated":0}]} 
[2026-08-25 14:19:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936945741235290112,"timestamp_seconds":936945741235290.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:19:47] 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-25 14:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637800704001,"66":13124,"162":206,"85":15872,"24":26,"16":123693039490170880,"45":-7288583392285270016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 14:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637800704001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:19:47] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 14:19:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123693039490170880,"km_value":123693039490170.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7288583392285270016,"description":"Unknown IO ID 45"} 
[2026-08-25 14:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637800704001,"power":13124,"unknown_162":206,"unknown_85":15872,"ignition":26,"odometer":null,"unknown_45":-7288583392285270016}} 
[2026-08-25 14:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":161938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:19:47] local.INFO: GPS data processed {"connection_id":161938,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:19:47] local.INFO: Acknowledgment sent {"connection_id":161938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:19:52] local.INFO: TCP Data received {"connection_id":164312,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:19:52] local.INFO: Processing buffer {"connection_id":164312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:19:52] local.INFO: IMEI packet received {"connection_id":164312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":164312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:19:57] local.INFO: TCP Data received {"connection_id":164312,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:19:57] local.INFO: Processing buffer {"connection_id":164312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:19:57] local.INFO: IMEI packet received {"connection_id":164312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":164312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:19:58] local.INFO: TCP Data received {"connection_id":164312,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381a2a50012d18abc007216fd8004a013428..."} 
[2026-08-25 14:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381a2a50012d18abc007216fd8004a013428..."} 
[2026-08-25 14:19:58] local.INFO: Processing buffer {"connection_id":164312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381a2a50012d18abc007216fd8004a013428..."} 
[2026-08-25 14:19:58] local.INFO: Packet analysis {"connection_id":164312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:19:58] local.INFO: Extracted packet for processing {"connection_id":164312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:19:58] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637788928001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787647634000,"timestamp_ms":1787647634000,"timestamp_seconds":1787647634,"priority":1,"record_length":96,"hex_timestamp":"000001a0381a2a50"} 
[2026-08-25 14:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:19:58] 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-25 14:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452344,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-5620492334958379007,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4041868584118196395,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513814806005416244,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":74,"raw_value":86740472315248640,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498171894911795406,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2662465536,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3221692783,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862951,"note":"Value kept but may cause issues"} 
[2026-08-25 14:19:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,160,134,45,192,111,74,42,10,66,52,41,226,1,240,53,56,33,4,113,205,62,171,216,40,239,48,2,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-25 14:19:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332600788776648704,"timestamp_seconds":5332600788776649.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637788928001,"66":12319,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637788928001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:19:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:19:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637788928001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":164312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":695999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:19:58] local.INFO: GPS data processed {"connection_id":164312,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:19:58] local.INFO: Acknowledgment sent {"connection_id":164312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:20:17] local.INFO: TCP Data received {"connection_id":162939,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:20:17] local.INFO: Processing buffer {"connection_id":162939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:20:17] local.INFO: Packet analysis {"connection_id":162939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:20:17] local.INFO: Extracted packet for processing {"connection_id":162939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637736192001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787647708000,"timestamp_ms":1787647708000,"timestamp_seconds":1787647708,"priority":1,"record_length":96,"hex_timestamp":"000001a0381b4b60"} 
[2026-08-25 14:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637736192001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637736192001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637736192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":162939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:20:17] local.INFO: GPS data processed {"connection_id":162939,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:20:17] local.INFO: Acknowledgment sent {"connection_id":162939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:20:18] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381ae5d0012d9ad4800572ee58000a00c42f..."} 
[2026-08-25 14:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381ae5d0012d9ad4800572ee58000a00c42f..."} 
[2026-08-25 14:20:18] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381ae5d0012d9ad4800572ee58000a00c42f..."} 
[2026-08-25 14:20:18] local.INFO: Packet analysis {"connection_id":161938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:20:18] local.INFO: Extracted packet for processing {"connection_id":161938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":765121664,"raw_latitude":91418200,"longitude_deg":76.5121664,"latitude_deg":9.14182,"altitude":10,"angle":196,"satellites":47,"speed":7,"hex_longitude":"2d9ad480","hex_latitude":"0572ee58","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637801472001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123693228468731904,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7288794498518437888,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787647682000,"timestamp_ms":1787647682000,"timestamp_seconds":1787647682,"priority":1,"record_length":96,"hex_timestamp":"000001a0381ae5d0"} 
[2026-08-25 14: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-25 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-25 14:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14: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-25 14:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637801472001,"66":13526,"162":206,"85":15872,"24":7,"16":123693228468731904,"45":-7288794498518437888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 14:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637801472001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:20:18] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 14:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123693228468731904,"km_value":123693228468731.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7288794498518437888,"description":"Unknown IO ID 45"} 
[2026-08-25 14:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637801472001,"power":13526,"unknown_162":206,"unknown_85":15872,"ignition":7,"odometer":null,"unknown_45":-7288794498518437888}} 
[2026-08-25 14:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":161938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:20:18] local.INFO: GPS data processed {"connection_id":161938,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:20:18] local.INFO: Acknowledgment sent {"connection_id":161938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:20:30] local.INFO: TCP Data received {"connection_id":164312,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381a7c58012d18abc007216fd8004a013424..."} 
[2026-08-25 14:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381a7c58012d18abc007216fd8004a013424..."} 
[2026-08-25 14:20:30] local.INFO: Processing buffer {"connection_id":164312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381a7c58012d18abc007216fd8004a013424..."} 
[2026-08-25 14:20:30] local.INFO: Packet analysis {"connection_id":164312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:20:30] local.INFO: Extracted packet for processing {"connection_id":164312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:20:30] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637794304001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787647655000,"timestamp_ms":1787647655000,"timestamp_seconds":1787647655,"priority":1,"record_length":96,"hex_timestamp":"000001a0381a7c58"} 
[2026-08-25 14:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 14:20:30] 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-25 14:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637794304001,"66":12319,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637794304001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:20:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:20:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637794304001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":164312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:20:30] local.INFO: GPS data processed {"connection_id":164312,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:20:30] local.INFO: Acknowledgment sent {"connection_id":164312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:20:39] local.INFO: TCP Data received {"connection_id":164313,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:20:39] local.INFO: Processing buffer {"connection_id":164313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:20:39] local.INFO: IMEI packet received {"connection_id":164313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":164313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:20:41] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:20:41] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:20:41] local.INFO: IMEI packet received {"connection_id":161939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":161939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:20:45] local.INFO: TCP Data received {"connection_id":164313,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:20:45] local.INFO: Processing buffer {"connection_id":164313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:20:45] local.INFO: IMEI packet received {"connection_id":164313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":164313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:20:46] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:20:46] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:20:46] local.INFO: IMEI packet received {"connection_id":161939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":161939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:20:46] local.INFO: TCP Data received {"connection_id":164313,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:20:46] local.INFO: Processing buffer {"connection_id":164313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:20:46] local.INFO: Packet analysis {"connection_id":164313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:20:46] local.INFO: Extracted packet for processing {"connection_id":164313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637736192001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787647708000,"timestamp_ms":1787647708000,"timestamp_seconds":1787647708,"priority":1,"record_length":96,"hex_timestamp":"000001a0381b4b60"} 
[2026-08-25 14:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637736192001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637736192001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637736192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":164313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:20:46] local.INFO: GPS data processed {"connection_id":164313,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:20:46] local.INFO: Acknowledgment sent {"connection_id":164313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:20:47] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381aeda0012d9ad4400572eca8000b00b02f..."} 
[2026-08-25 14:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381aeda0012d9ad4400572eca8000b00b02f..."} 
[2026-08-25 14:20:47] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381aeda0012d9ad4400572eca8000b00b02f..."} 
[2026-08-25 14:20:47] local.INFO: Packet analysis {"connection_id":161939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:20:47] local.INFO: Extracted packet for processing {"connection_id":161939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:20:47] local.INFO: GPS Element Parsed {"raw_longitude":765121600,"raw_latitude":91417768,"longitude_deg":76.51216,"latitude_deg":9.1417768,"altitude":11,"angle":176,"satellites":47,"speed":10,"hex_longitude":"2d9ad440","hex_latitude":"0572eca8","is_valid_coordinates":true} 
[2026-08-25 14:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637806592001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123693249943568384,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7290061135914575872,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787647684000,"timestamp_ms":1787647684000,"timestamp_seconds":1787647684,"priority":1,"record_length":96,"hex_timestamp":"000001a0381aeda0"} 
[2026-08-25 14:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 14:20:47] 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-25 14:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:20:47] 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-25 14:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637806592001,"66":13559,"162":206,"85":15872,"24":10,"16":123693249943568384,"45":-7290061135914575872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 14:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637806592001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:20:47] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 14:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 14:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123693249943568384,"km_value":123693249943568.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7290061135914575872,"description":"Unknown IO ID 45"} 
[2026-08-25 14:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637806592001,"power":13559,"unknown_162":206,"unknown_85":15872,"ignition":10,"odometer":null,"unknown_45":-7290061135914575872}} 
[2026-08-25 14:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":161939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:20:47] local.INFO: GPS data processed {"connection_id":161939,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:20:47] local.INFO: Acknowledgment sent {"connection_id":161939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:20:52] local.INFO: TCP Data received {"connection_id":162940,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:20:52] local.INFO: Processing buffer {"connection_id":162940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:20:52] local.INFO: IMEI packet received {"connection_id":162940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":162940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:20:57] local.INFO: TCP Data received {"connection_id":162940,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:20:57] local.INFO: Processing buffer {"connection_id":162940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:20:57] local.INFO: IMEI packet received {"connection_id":162940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":162940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:20:58] local.INFO: TCP Data received {"connection_id":162940,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381ace60012d18abc007216fd8004a01342b..."} 
[2026-08-25 14:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381ace60012d18abc007216fd8004a01342b..."} 
[2026-08-25 14:20:58] local.INFO: Processing buffer {"connection_id":162940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381ace60012d18abc007216fd8004a01342b..."} 
[2026-08-25 14:20:58] local.INFO: Packet analysis {"connection_id":162940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:20:58] local.INFO: Extracted packet for processing {"connection_id":162940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381a"} 
[2026-08-25 14:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637799680001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787647676000,"timestamp_ms":1787647676000,"timestamp_seconds":1787647676,"priority":1,"record_length":96,"hex_timestamp":"000001a0381ace60"} 
[2026-08-25 14: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-25 14:20:58] 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-25 14: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 14:20:58] 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-25 14: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-25 14: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-25 14:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637799680001,"66":12298,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637799680001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:20:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637799680001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":162940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:20:58] local.INFO: GPS data processed {"connection_id":162940,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:20:58] local.INFO: Acknowledgment sent {"connection_id":162940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:21:18] local.INFO: TCP Data received {"connection_id":164313,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:21:18] local.INFO: Processing buffer {"connection_id":164313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:21:18] local.INFO: Packet analysis {"connection_id":164313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:21:18] local.INFO: Extracted packet for processing {"connection_id":164313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:21:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637736192001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787647708000,"timestamp_ms":1787647708000,"timestamp_seconds":1787647708,"priority":1,"record_length":96,"hex_timestamp":"000001a0381b4b60"} 
[2026-08-25 14:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637736192001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637736192001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:21:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637736192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":164313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:21:18] local.INFO: GPS data processed {"connection_id":164313,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:21:18] local.INFO: Acknowledgment sent {"connection_id":164313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:21:19] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381db878012d9b244005718ad8000d00852e..."} 
[2026-08-25 14:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381db878012d9b244005718ad8000d00852e..."} 
[2026-08-25 14:21:19] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381db878012d9b244005718ad8000d00852e..."} 
[2026-08-25 14:21:19] local.INFO: Packet analysis {"connection_id":161939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:21:19] local.INFO: Extracted packet for processing {"connection_id":161939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:21:19] local.INFO: GPS Element Parsed {"raw_longitude":765142080,"raw_latitude":91327192,"longitude_deg":76.514208,"latitude_deg":9.1327192,"altitude":13,"angle":133,"satellites":46,"speed":28,"hex_longitude":"2d9b2440","hex_latitude":"05718ad8","is_valid_coordinates":true} 
[2026-08-25 14:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637853440001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123697841263607808,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7268528300219254784,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787647867000,"timestamp_ms":1787647867000,"timestamp_seconds":1787647867,"priority":1,"record_length":96,"hex_timestamp":"000001a0381db878"} 
[2026-08-25 14:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 14:21:19] 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-25 14:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:21:19] 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-25 14:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637853440001,"66":12765,"192":206,"84":8448,"24":28,"16":123697841263607808,"45":-7268528300219254784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,84,24,16,45]} 
[2026-08-25 14:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637853440001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:21:19] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-25 14:21:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123697841263607808,"km_value":123697841263607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7268528300219254784,"description":"Unknown IO ID 45"} 
[2026-08-25 14:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637853440001,"power":12765,"unknown_192":206,"unknown_84":8448,"ignition":28,"odometer":null,"unknown_45":-7268528300219254784}} 
[2026-08-25 14:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":161939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:21:20] local.INFO: GPS data processed {"connection_id":161939,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:21:20] local.INFO: Acknowledgment sent {"connection_id":161939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:21:30] local.INFO: TCP Data received {"connection_id":162940,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381b2068012d18abc007216fd8004a01342c..."} 
[2026-08-25 14:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381b2068012d18abc007216fd8004a01342c..."} 
[2026-08-25 14:21:30] local.INFO: Processing buffer {"connection_id":162940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381b2068012d18abc007216fd8004a01342c..."} 
[2026-08-25 14:21:30] local.INFO: Packet analysis {"connection_id":162940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:21:30] local.INFO: Extracted packet for processing {"connection_id":162940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637805056001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787647697000,"timestamp_ms":1787647697000,"timestamp_seconds":1787647697,"priority":1,"record_length":96,"hex_timestamp":"000001a0381b2068"} 
[2026-08-25 14:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452344,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-5620492334958379007,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4042139167057844395,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513814806005416244,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":74,"raw_value":86738273291993088,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937968334,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2662465536,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-25 14:21:30] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3221692783,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:30] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,121,28,24,241,158,16,160,124,45,192,111,74,36,10,66,42,40,216,1,240,56,33,4,113,205,52,171,41,239,48,2,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-25 14:21:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332600793071616000,"timestamp_seconds":5332600793071616,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637805056001,"66":12265,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637805056001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:21:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637805056001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":162940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:21:30] local.INFO: GPS data processed {"connection_id":162940,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:21:30] local.INFO: Acknowledgment sent {"connection_id":162940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:21:41] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:21:41] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:21:41] local.INFO: IMEI packet received {"connection_id":161940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":161940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:21:45] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:21:45] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:21:45] local.INFO: IMEI packet received {"connection_id":161696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":161696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:21:46] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:21:46] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:21:46] local.INFO: IMEI packet received {"connection_id":161940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":161940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:21:47] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381dc818012d9b2ac0057183b8000d00972e..."} 
[2026-08-25 14:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381dc818012d9b2ac0057183b8000d00972e..."} 
[2026-08-25 14:21:47] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381dc818012d9b2ac0057183b8000d00972e..."} 
[2026-08-25 14:21:47] local.INFO: Packet analysis {"connection_id":161940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:21:47] local.INFO: Extracted packet for processing {"connection_id":161940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:21:47] local.INFO: GPS Element Parsed {"raw_longitude":765143744,"raw_latitude":91325368,"longitude_deg":76.5143744,"latitude_deg":9.1325368,"altitude":13,"angle":151,"satellites":46,"speed":23,"hex_longitude":"2d9b2ac0","hex_latitude":"057183b8","is_valid_coordinates":true} 
[2026-08-25 14:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637853952001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123697957227724800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7267613506545199104,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787647871000,"timestamp_ms":1787647871000,"timestamp_seconds":1787647871,"priority":1,"record_length":96,"hex_timestamp":"000001a0381dc818"} 
[2026-08-25 14:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-25 14:21:47] 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-25 14:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:21:47] 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-25 14:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637853952001,"66":13319,"192":206,"84":8448,"24":23,"16":123697957227724800,"45":-7267613506545199104},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,84,24,16,45]} 
[2026-08-25 14:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637853952001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:21:47] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-25 14:21:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123697957227724800,"km_value":123697957227724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7267613506545199104,"description":"Unknown IO ID 45"} 
[2026-08-25 14:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637853952001,"power":13319,"unknown_192":206,"unknown_84":8448,"ignition":23,"odometer":null,"unknown_45":-7267613506545199104}} 
[2026-08-25 14:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":161940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:21:47] local.INFO: GPS data processed {"connection_id":161940,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:21:47] local.INFO: Acknowledgment sent {"connection_id":161940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:21:50] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:21:50] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:21:50] local.INFO: IMEI packet received {"connection_id":161696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":161696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:21:51] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:21:51] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:21:51] local.INFO: Packet analysis {"connection_id":161696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:21:51] local.INFO: Extracted packet for processing {"connection_id":161696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637736192001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787647708000,"timestamp_ms":1787647708000,"timestamp_seconds":1787647708,"priority":1,"record_length":96,"hex_timestamp":"000001a0381b4b60"} 
[2026-08-25 14:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637736192001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637736192001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637736192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":161696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:21:51] local.INFO: GPS data processed {"connection_id":161696,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:21:51] local.INFO: Acknowledgment sent {"connection_id":161696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:21:56] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:21:56] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:21:56] local.INFO: Packet analysis {"connection_id":161696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:21:56] local.INFO: Extracted packet for processing {"connection_id":161696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:21:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637736192001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787647708000,"timestamp_ms":1787647708000,"timestamp_seconds":1787647708,"priority":1,"record_length":96,"hex_timestamp":"000001a0381b4b60"} 
[2026-08-25 14:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637736192001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637736192001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:21:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637736192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":161696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:21:56] local.INFO: GPS data processed {"connection_id":161696,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:21:56] local.INFO: Acknowledgment sent {"connection_id":161696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:21:57] local.INFO: TCP Data received {"connection_id":164315,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:21:57] local.INFO: Processing buffer {"connection_id":164315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:21:57] local.INFO: IMEI packet received {"connection_id":164315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":164315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:22:02] local.INFO: TCP Data received {"connection_id":164315,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:22:02] local.INFO: Processing buffer {"connection_id":164315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:22:02] local.INFO: IMEI packet received {"connection_id":164315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":164315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:22:03] local.INFO: TCP Data received {"connection_id":164315,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381b7270012d18abc007216fd8004a01342c..."} 
[2026-08-25 14:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381b7270012d18abc007216fd8004a01342c..."} 
[2026-08-25 14:22:03] local.INFO: Processing buffer {"connection_id":164315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381b7270012d18abc007216fd8004a01342c..."} 
[2026-08-25 14:22:03] local.INFO: Packet analysis {"connection_id":164315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:22:03] local.INFO: Extracted packet for processing {"connection_id":164315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:22:03] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637810432001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787647718000,"timestamp_ms":1787647718000,"timestamp_seconds":1787647718,"priority":1,"record_length":96,"hex_timestamp":"000001a0381b7270"} 
[2026-08-25 14:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 14:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637810432001,"66":12287,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637810432001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:22:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:22:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637810432001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":164315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:22:03] local.INFO: GPS data processed {"connection_id":164315,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:22:03] local.INFO: Acknowledgment sent {"connection_id":164315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:22:05] local.INFO: TCP Data received {"connection_id":164315,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381bc478012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381bc478012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:22:05] local.INFO: Processing buffer {"connection_id":164315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381bc478012d18abc007216fd8004a01342a..."} 
[2026-08-25 14:22:05] local.INFO: Packet analysis {"connection_id":164315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:22:05] local.INFO: Extracted packet for processing {"connection_id":164315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":42,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637815808001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787647739000,"timestamp_ms":1787647739000,"timestamp_seconds":1787647739,"priority":1,"record_length":96,"hex_timestamp":"000001a0381bc478"} 
[2026-08-25 14: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-25 14:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:22: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-25 14: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-25 14: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-25 14:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":164315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":164315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":164315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637815808001,"66":12287,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637815808001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:22:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:22:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637815808001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":164315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:22:05] local.INFO: GPS data processed {"connection_id":164315,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:22:05] local.INFO: Acknowledgment sent {"connection_id":164315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:22:06] local.INFO: TCP Data received {"connection_id":164314,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:22:06] local.INFO: Processing buffer {"connection_id":164314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:22:06] local.INFO: IMEI packet received {"connection_id":164314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 14:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":164314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:22:19] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381dd7b8012d9b2e8005717938000d00a32f..."} 
[2026-08-25 14:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381dd7b8012d9b2e8005717938000d00a32f..."} 
[2026-08-25 14:22:19] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381dd7b8012d9b2e8005717938000d00a32f..."} 
[2026-08-25 14:22:19] local.INFO: Packet analysis {"connection_id":161940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:22:19] local.INFO: Extracted packet for processing {"connection_id":161940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:22:19] local.INFO: GPS Element Parsed {"raw_longitude":765144704,"raw_latitude":91322680,"longitude_deg":76.5144704,"latitude_deg":9.132268,"altitude":13,"angle":163,"satellites":47,"speed":33,"hex_longitude":"2d9b2e80","hex_latitude":"05717938","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637854976001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123698098961645568,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7265783919197046784,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787647875000,"timestamp_ms":1787647875000,"timestamp_seconds":1787647875,"priority":1,"record_length":96,"hex_timestamp":"000001a0381dd7b8"} 
[2026-08-25 14: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-25 14:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 14:22:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2601435141,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1019216078,"corrected_to":0} 
[2026-08-25 14:22:19] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57769169865561121,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:19] local.WARNING: Large IO value detected {"io_id":28,"raw_value":-3596123007071502331,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:19] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3019663605996923392,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:19] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,192,84,24,241,157,16,118,160,184,45,64,138,13,46,10,66,176,142,47,149,1,240,29,227,56,113,4,205,30,59,2,168,40,239,53,183,5,14,26,116,28,114],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1019216078,"validated":0}]} 
[2026-08-25 14:22:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936914946318860288,"timestamp_seconds":936914946318860.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14: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-25 14:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:22:19] 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-25 14:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637854976001,"66":13526,"192":206,"84":8448,"24":33,"16":123698098961645568,"45":-7265783919197046784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,84,24,16,45]} 
[2026-08-25 14:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637854976001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:22:19] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-25 14:22:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123698098961645568,"km_value":123698098961645.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7265783919197046784,"description":"Unknown IO ID 45"} 
[2026-08-25 14:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637854976001,"power":13526,"unknown_192":206,"unknown_84":8448,"ignition":33,"odometer":null,"unknown_45":-7265783919197046784}} 
[2026-08-25 14:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":161940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:22:19] local.INFO: GPS data processed {"connection_id":161940,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:22:19] local.INFO: Acknowledgment sent {"connection_id":161940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:22:36] local.INFO: TCP Data received {"connection_id":164315,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381c1680012d18abc007216fd8004a01342b..."} 
[2026-08-25 14:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381c1680012d18abc007216fd8004a01342b..."} 
[2026-08-25 14:22:36] local.INFO: Processing buffer {"connection_id":164315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381c1680012d18abc007216fd8004a01342b..."} 
[2026-08-25 14:22:36] local.INFO: Packet analysis {"connection_id":164315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381c"} 
[2026-08-25 14:22:36] local.INFO: Extracted packet for processing {"connection_id":164315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381c"} 
[2026-08-25 14:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119631832,"longitude_deg":75.6591552,"latitude_deg":11.9631832,"altitude":74,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d18abc0","hex_latitude":"07216fd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637821184001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937086037164032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787647760000,"timestamp_ms":1787647760000,"timestamp_seconds":1787647760,"priority":1,"record_length":96,"hex_timestamp":"000001a0381c1680"} 
[2026-08-25 14: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-25 14:22: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-25 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:22: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-25 14: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-25 14: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-25 14:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637821184001,"66":12287,"121":206,"28":31744,"24":0,"16":15937086037164032,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637821184001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:22:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937086037164032,"km_value":15937086037164.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637821184001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":164315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:22:36] local.INFO: GPS data processed {"connection_id":164315,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:22:36] local.INFO: Acknowledgment sent {"connection_id":164315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:22:40] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:22:40] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:22:40] local.INFO: IMEI packet received {"connection_id":161941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":161941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:22:41] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:22:41] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:22:41] local.INFO: IMEI packet received {"connection_id":161942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":161942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:22:42] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:22:42] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:22:42] local.INFO: IMEI packet received {"connection_id":161942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":161942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:22:45] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:22:45] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:22:45] local.INFO: IMEI packet received {"connection_id":161941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":161941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:22:46] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:22:46] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:22:46] local.INFO: IMEI packet received {"connection_id":161942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":161942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:22:46] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:22:46] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:22:46] local.INFO: Packet analysis {"connection_id":161941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:22:46] local.INFO: Extracted packet for processing {"connection_id":161941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637736192001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787647708000,"timestamp_ms":1787647708000,"timestamp_seconds":1787647708,"priority":1,"record_length":96,"hex_timestamp":"000001a0381b4b60"} 
[2026-08-25 14:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637736192001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637736192001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637736192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":161941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:22:46] local.INFO: GPS data processed {"connection_id":161941,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:22:46] local.INFO: Acknowledgment sent {"connection_id":161941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:22:47] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381dfae0012d9b3a8005715530000f00a22e..."} 
[2026-08-25 14:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381dfae0012d9b3a8005715530000f00a22e..."} 
[2026-08-25 14:22:47] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381dfae0012d9b3a8005715530000f00a22e..."} 
[2026-08-25 14:22:47] local.INFO: Packet analysis {"connection_id":161942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:22:47] local.INFO: Extracted packet for processing {"connection_id":161942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:22:47] local.INFO: GPS Element Parsed {"raw_longitude":765147776,"raw_latitude":91313456,"longitude_deg":76.5147776,"latitude_deg":9.1313456,"altitude":15,"angle":162,"satellites":46,"speed":43,"hex_longitude":"2d9b3a80","hex_latitude":"05715530","is_valid_coordinates":true} 
[2026-08-25 14:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637856000001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123698567113080832,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7264728388035069952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787647884000,"timestamp_ms":1787647884000,"timestamp_seconds":1787647884,"priority":1,"record_length":96,"hex_timestamp":"000001a0381dfae0"} 
[2026-08-25 14:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 14:22:47] 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-25 14:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:22:47] 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-25 14:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637856000001,"66":13222,"93":206,"84":8448,"24":43,"16":123698567113080832,"45":-7264728388035069952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637856000001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:22:47] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:22:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123698567113080832,"km_value":123698567113080.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7264728388035069952,"description":"Unknown IO ID 45"} 
[2026-08-25 14:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637856000001,"power":13222,"unknown_93":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7264728388035069952}} 
[2026-08-25 14:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":161942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:22:47] local.INFO: GPS data processed {"connection_id":161942,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:22:47] local.INFO: Acknowledgment sent {"connection_id":161942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:22:52] local.INFO: TCP Data received {"connection_id":161697,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:22:52] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:22:52] local.INFO: IMEI packet received {"connection_id":161697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":161697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:22:57] local.INFO: TCP Data received {"connection_id":161697,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:22:57] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:22:57] local.INFO: IMEI packet received {"connection_id":161697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":161697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:22:58] local.INFO: TCP Data received {"connection_id":161697,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381c6888012d18af00072171980052013429..."} 
[2026-08-25 14:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381c6888012d18af00072171980052013429..."} 
[2026-08-25 14:22:58] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381c6888012d18af00072171980052013429..."} 
[2026-08-25 14:22:58] local.INFO: Packet analysis {"connection_id":161697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381c"} 
[2026-08-25 14:22:58] local.INFO: Extracted packet for processing {"connection_id":161697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381c"} 
[2026-08-25 14:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637826560001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786074624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787647781000,"timestamp_ms":1787647781000,"timestamp_seconds":1787647781,"priority":1,"record_length":96,"hex_timestamp":"000001a0381c6888"} 
[2026-08-25 14:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:22:58] 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-25 14:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637826560001,"66":12287,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1777725614786074624},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637826560001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:22:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:22:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786074624,"description":"Unknown IO ID 45"} 
[2026-08-25 14:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637826560001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777725614786074624}} 
[2026-08-25 14:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":161697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:22:58] local.INFO: GPS data processed {"connection_id":161697,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:22:58] local.INFO: Acknowledgment sent {"connection_id":161697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:23:03] local.INFO: TCP Data received {"connection_id":161697,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381cba90012d18af00072171980052013429..."} 
[2026-08-25 14:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381cba90012d18af00072171980052013429..."} 
[2026-08-25 14:23:03] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381cba90012d18af00072171980052013429..."} 
[2026-08-25 14:23:03] local.INFO: Packet analysis {"connection_id":161697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381c"} 
[2026-08-25 14:23:03] local.INFO: Extracted packet for processing {"connection_id":161697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381c"} 
[2026-08-25 14:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637831936001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787647802000,"timestamp_ms":1787647802000,"timestamp_seconds":1787647802,"priority":1,"record_length":96,"hex_timestamp":"000001a0381cba90"} 
[2026-08-25 14: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-25 14:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637831936001,"66":12113,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637831936001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:23:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:23:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637831936001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":161697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:23:03] local.INFO: GPS data processed {"connection_id":161697,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:23:03] local.INFO: Acknowledgment sent {"connection_id":161697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:23:18] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:23:18] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:23:18] local.INFO: Packet analysis {"connection_id":161941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:23:18] local.INFO: Extracted packet for processing {"connection_id":161941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637736192001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787647708000,"timestamp_ms":1787647708000,"timestamp_seconds":1787647708,"priority":1,"record_length":96,"hex_timestamp":"000001a0381b4b60"} 
[2026-08-25 14:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637736192001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637736192001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637736192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":161941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:23:18] local.INFO: GPS data processed {"connection_id":161941,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:23:18] local.INFO: Acknowledgment sent {"connection_id":161941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:23:20] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381e21f0012d9b4540057133c0000d00a030..."} 
[2026-08-25 14:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381e21f0012d9b4540057133c0000d00a030..."} 
[2026-08-25 14:23:20] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381e21f0012d9b4540057133c0000d00a030..."} 
[2026-08-25 14:23:20] local.INFO: Packet analysis {"connection_id":161942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:23:20] local.INFO: Extracted packet for processing {"connection_id":161942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:23:20] local.INFO: GPS Element Parsed {"raw_longitude":765150528,"raw_latitude":91304896,"longitude_deg":76.5150528,"latitude_deg":9.1304896,"altitude":13,"angle":160,"satellites":48,"speed":27,"hex_longitude":"2d9b4540","hex_latitude":"057133c0","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637858304001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123699005199745024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7261350688316903424,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787647894000,"timestamp_ms":1787647894000,"timestamp_seconds":1787647894,"priority":1,"record_length":96,"hex_timestamp":"000001a0381e21f0"} 
[2026-08-25 14: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-25 14:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 14:23:20] 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-25 14: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-25 14: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-25 14:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:23:20] 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-25 14:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637858304001,"66":13276,"93":206,"84":8448,"24":27,"16":123699005199745024,"45":-7261350688316903424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637858304001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:23:20] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:23:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123699005199745024,"km_value":123699005199745.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7261350688316903424,"description":"Unknown IO ID 45"} 
[2026-08-25 14:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637858304001,"power":13276,"unknown_93":206,"unknown_84":8448,"ignition":27,"odometer":null,"unknown_45":-7261350688316903424}} 
[2026-08-25 14:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":161942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:23:20] local.INFO: GPS data processed {"connection_id":161942,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:23:20] local.INFO: Acknowledgment sent {"connection_id":161942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:23:35] local.INFO: TCP Data received {"connection_id":161697,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381d0c98012d18af0007217198005201342b..."} 
[2026-08-25 14:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381d0c98012d18af0007217198005201342b..."} 
[2026-08-25 14:23:35] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381d0c98012d18af0007217198005201342b..."} 
[2026-08-25 14:23:35] local.INFO: Packet analysis {"connection_id":161697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:23:35] local.INFO: Extracted packet for processing {"connection_id":161697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 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-25 14:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637837312001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787647823000,"timestamp_ms":1787647823000,"timestamp_seconds":1787647823,"priority":1,"record_length":96,"hex_timestamp":"000001a0381d0c98"} 
[2026-08-25 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-25 14:23: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-25 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-25 14:23:35] 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-25 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-25 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-25 14:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637837312001,"66":12265,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637837312001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:23:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:23:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637837312001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":161697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:23:36] local.INFO: GPS data processed {"connection_id":161697,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:23:36] local.INFO: Acknowledgment sent {"connection_id":161697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:23:41] local.INFO: TCP Data received {"connection_id":164317,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:23:41] local.INFO: Processing buffer {"connection_id":164317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:23:41] local.INFO: IMEI packet received {"connection_id":164317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":164317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:23:42] local.INFO: TCP Data received {"connection_id":164316,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:23:42] local.INFO: Processing buffer {"connection_id":164316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:23:42] local.INFO: IMEI packet received {"connection_id":164316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":164316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:23:44] local.INFO: TCP Data received {"connection_id":164316,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:23:44] local.INFO: Processing buffer {"connection_id":164316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:23:44] local.INFO: IMEI packet received {"connection_id":164316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":164316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:23:45] local.INFO: TCP Data received {"connection_id":164316,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:23:45] local.INFO: Processing buffer {"connection_id":164316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:23:45] local.INFO: Packet analysis {"connection_id":164316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:23:45] local.INFO: Extracted packet for processing {"connection_id":164316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637736192001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787647708000,"timestamp_ms":1787647708000,"timestamp_seconds":1787647708,"priority":1,"record_length":96,"hex_timestamp":"000001a0381b4b60"} 
[2026-08-25 14:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637736192001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637736192001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637736192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":164316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:23:45] local.INFO: GPS data processed {"connection_id":164316,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:23:45] local.INFO: Acknowledgment sent {"connection_id":164316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:23:46] local.INFO: TCP Data received {"connection_id":164317,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:23:46] local.INFO: Processing buffer {"connection_id":164317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:23:46] local.INFO: IMEI packet received {"connection_id":164317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":164317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:23:47] local.INFO: TCP Data received {"connection_id":164317,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381e6458012d9b51c005711358000e009c30..."} 
[2026-08-25 14:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381e6458012d9b51c005711358000e009c30..."} 
[2026-08-25 14:23:47] local.INFO: Processing buffer {"connection_id":164317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381e6458012d9b51c005711358000e009c30..."} 
[2026-08-25 14:23:47] local.INFO: Packet analysis {"connection_id":164317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:23:47] local.INFO: Extracted packet for processing {"connection_id":164317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:23:47] local.INFO: GPS Element Parsed {"raw_longitude":765153728,"raw_latitude":91296600,"longitude_deg":76.5153728,"latitude_deg":9.12966,"altitude":14,"angle":156,"satellites":48,"speed":7,"hex_longitude":"2d9b51c0","hex_latitude":"05711358","is_valid_coordinates":true} 
[2026-08-25 14:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637860864001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123699434696474624,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7258324832319455232,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787647911000,"timestamp_ms":1787647911000,"timestamp_seconds":1787647911,"priority":1,"record_length":96,"hex_timestamp":"000001a0381e6458"} 
[2026-08-25 14:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 14:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:23:47] 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-25 14:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637860864001,"66":13059,"93":206,"84":8448,"24":7,"16":123699434696474624,"45":-7258324832319455232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637860864001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:23:47] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:23:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123699434696474624,"km_value":123699434696474.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7258324832319455232,"description":"Unknown IO ID 45"} 
[2026-08-25 14:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637860864001,"power":13059,"unknown_93":206,"unknown_84":8448,"ignition":7,"odometer":null,"unknown_45":-7258324832319455232}} 
[2026-08-25 14:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":164317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:23:47] local.INFO: GPS data processed {"connection_id":164317,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:23:47] local.INFO: Acknowledgment sent {"connection_id":164317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:23:49] local.INFO: TCP Data received {"connection_id":161943,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:23:49] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:23:49] local.INFO: IMEI packet received {"connection_id":161943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":161943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:23:50] local.INFO: TCP Data received {"connection_id":164316,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:23:50] local.INFO: Processing buffer {"connection_id":164316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381b4b60012d34c14006aa4820000900e62f..."} 
[2026-08-25 14:23:50] local.INFO: Packet analysis {"connection_id":164316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:23:50] local.INFO: Extracted packet for processing {"connection_id":164316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381b"} 
[2026-08-25 14:23:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637736192001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787647708000,"timestamp_ms":1787647708000,"timestamp_seconds":1787647708,"priority":1,"record_length":96,"hex_timestamp":"000001a0381b4b60"} 
[2026-08-25 14:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637736192001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637736192001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:23:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637736192001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":164316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:23:50] local.INFO: GPS data processed {"connection_id":164316,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:23:50] local.INFO: Acknowledgment sent {"connection_id":164316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:23:52] local.INFO: TCP Data received {"connection_id":161943,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:23:52] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:23:52] local.INFO: IMEI packet received {"connection_id":161943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":161943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:23:57] local.INFO: TCP Data received {"connection_id":161943,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:23:57] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:23:57] local.INFO: IMEI packet received {"connection_id":161943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":161943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:23:58] local.INFO: TCP Data received {"connection_id":161943,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381d5ea0012d18af00072171980052013429..."} 
[2026-08-25 14:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381d5ea0012d18af00072171980052013429..."} 
[2026-08-25 14:23:58] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381d5ea0012d18af00072171980052013429..."} 
[2026-08-25 14:23:58] local.INFO: Packet analysis {"connection_id":161943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:23:58] local.INFO: Extracted packet for processing {"connection_id":161943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637842688001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787647844000,"timestamp_ms":1787647844000,"timestamp_seconds":1787647844,"priority":1,"record_length":96,"hex_timestamp":"000001a0381d5ea0"} 
[2026-08-25 14:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:23:58] 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-25 14:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 14:23:58] 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-25 14:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637842688001,"66":12232,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637842688001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:23:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:23:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637842688001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":161943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:23:58] local.INFO: GPS data processed {"connection_id":161943,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:23:58] local.INFO: Acknowledgment sent {"connection_id":161943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:24:18] local.INFO: TCP Data received {"connection_id":164317,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381e6c28012d9b52c005711238000d008a2f..."} 
[2026-08-25 14:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381e6c28012d9b52c005711238000d008a2f..."} 
[2026-08-25 14:24:18] local.INFO: Processing buffer {"connection_id":164317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381e6c28012d9b52c005711238000d008a2f..."} 
[2026-08-25 14:24:18] local.INFO: Packet analysis {"connection_id":164317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:24:18] local.INFO: Extracted packet for processing {"connection_id":164317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:24:18] local.INFO: GPS Element Parsed {"raw_longitude":765153984,"raw_latitude":91296312,"longitude_deg":76.5153984,"latitude_deg":9.1296312,"altitude":13,"angle":138,"satellites":47,"speed":7,"hex_longitude":"2d9b52c0","hex_latitude":"05711238","is_valid_coordinates":true} 
[2026-08-25 14:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637865216001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123699451876343808,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7254806395112695808,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787647913000,"timestamp_ms":1787647913000,"timestamp_seconds":1787647913,"priority":1,"record_length":96,"hex_timestamp":"000001a0381e6c28"} 
[2026-08-25 14:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:24: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-25 14:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 14:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173028859196,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2603270149,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:18] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1019216078,"corrected_to":0} 
[2026-08-25 14:24:18] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817276,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:18] local.WARNING: Large IO value detected {"io_id":192,"raw_value":58076345914621976,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:18] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,93,84,24,241,157,16,119,160,33,45,64,51,13,48,10,66,250,128,85,15,46,215,1,240,214,227,118,56,113,4,205,23,184,36,216,239,49,192,2,183,5],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1019216078,"validated":0}]} 
[2026-08-25 14:24:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008978046503813120,"timestamp_seconds":1008978046503813.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:24: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-25 14:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637865216001,"66":13374,"93":206,"84":8448,"24":7,"16":123699451876343808,"45":-7254806395112695808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637865216001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:24:18] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:24:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123699451876343808,"km_value":123699451876343.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7254806395112695808,"description":"Unknown IO ID 45"} 
[2026-08-25 14:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637865216001,"power":13374,"unknown_93":206,"unknown_84":8448,"ignition":7,"odometer":null,"unknown_45":-7254806395112695808}} 
[2026-08-25 14:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":164317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:24:19] local.INFO: GPS data processed {"connection_id":164317,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:24:19] local.INFO: Acknowledgment sent {"connection_id":164317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:24:26] local.INFO: TCP Data received {"connection_id":164316,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:24:26] local.INFO: Processing buffer {"connection_id":164316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:24:26] local.INFO: Packet analysis {"connection_id":164316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:24:26] local.INFO: Extracted packet for processing {"connection_id":164316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637813248001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787648009000,"timestamp_ms":1787648009000,"timestamp_seconds":1787648009,"priority":1,"record_length":96,"hex_timestamp":"000001a0381fe328"} 
[2026-08-25 14: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-25 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637813248001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637813248001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:24:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637813248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":164316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:24:26] local.INFO: GPS data processed {"connection_id":164316,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:24:26] local.INFO: Acknowledgment sent {"connection_id":164316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:24:30] local.INFO: TCP Data received {"connection_id":161943,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381db0a8012d18af0007217198005201342a..."} 
[2026-08-25 14:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381db0a8012d18af0007217198005201342a..."} 
[2026-08-25 14:24:30] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381db0a8012d18af0007217198005201342a..."} 
[2026-08-25 14:24:30] local.INFO: Packet analysis {"connection_id":161943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:24:30] local.INFO: Extracted packet for processing {"connection_id":161943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381d"} 
[2026-08-25 14:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":42,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637848064001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787647865000,"timestamp_ms":1787647865000,"timestamp_seconds":1787647865,"priority":1,"record_length":96,"hex_timestamp":"000001a0381db0a8"} 
[2026-08-25 14:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 14:24:30] 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-25 14:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637848064001,"66":12287,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637848064001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:24:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:24:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637848064001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":161943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:24:30] local.INFO: GPS data processed {"connection_id":161943,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:24:30] local.INFO: Acknowledgment sent {"connection_id":161943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:24:45] local.INFO: TCP Data received {"connection_id":164318,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:24:45] local.INFO: Processing buffer {"connection_id":164318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:24:45] local.INFO: IMEI packet received {"connection_id":164318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":164318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:24:46] local.INFO: TCP Data received {"connection_id":161698,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:24:46] local.INFO: Processing buffer {"connection_id":161698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:24:46] local.INFO: IMEI packet received {"connection_id":161698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":161698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:24:50] local.INFO: TCP Data received {"connection_id":164318,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:24:50] local.INFO: Processing buffer {"connection_id":164318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:24:50] local.INFO: IMEI packet received {"connection_id":164318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":164318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:24:51] local.INFO: TCP Data received {"connection_id":164318,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:24:51] local.INFO: Processing buffer {"connection_id":164318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:24:51] local.INFO: Packet analysis {"connection_id":164318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:24:51] local.INFO: Extracted packet for processing {"connection_id":164318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637813248001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787648009000,"timestamp_ms":1787648009000,"timestamp_seconds":1787648009,"priority":1,"record_length":96,"hex_timestamp":"000001a0381fe328"} 
[2026-08-25 14: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-25 14:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637813248001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637813248001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637813248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":164318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:24:51] local.INFO: GPS data processed {"connection_id":164318,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:24:51] local.INFO: Acknowledgment sent {"connection_id":164318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:24:51] local.INFO: TCP Data received {"connection_id":161698,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:24:51] local.INFO: Processing buffer {"connection_id":161698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:24:51] local.INFO: IMEI packet received {"connection_id":161698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":161698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:24:52] local.INFO: TCP Data received {"connection_id":161698,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381e7bc8012d9b548005710f18000d009630..."} 
[2026-08-25 14:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381e7bc8012d9b548005710f18000d009630..."} 
[2026-08-25 14:24:52] local.INFO: Processing buffer {"connection_id":161698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381e7bc8012d9b548005710f18000d009630..."} 
[2026-08-25 14:24:52] local.INFO: Packet analysis {"connection_id":161698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:24:52] local.INFO: Extracted packet for processing {"connection_id":161698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:24:52] local.INFO: GPS Element Parsed {"raw_longitude":765154432,"raw_latitude":91295512,"longitude_deg":76.5154432,"latitude_deg":9.1295512,"altitude":13,"angle":150,"satellites":48,"speed":11,"hex_longitude":"2d9b5480","hex_latitude":"05710f18","is_valid_coordinates":true} 
[2026-08-25 14:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637865728001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123699499120984064,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7254524920136058880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787647917000,"timestamp_ms":1787647917000,"timestamp_seconds":1787647917,"priority":1,"record_length":96,"hex_timestamp":"000001a0381e7bc8"} 
[2026-08-25 14:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 14:24:52] 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-25 14:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:24:52] 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-25 14:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637865728001,"66":13602,"93":206,"84":8448,"24":11,"16":123699499120984064,"45":-7254524920136058880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637865728001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:24:52] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:24:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123699499120984064,"km_value":123699499120984.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7254524920136058880,"description":"Unknown IO ID 45"} 
[2026-08-25 14:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637865728001,"power":13602,"unknown_93":206,"unknown_84":8448,"ignition":11,"odometer":null,"unknown_45":-7254524920136058880}} 
[2026-08-25 14:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":161698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:24:52] local.INFO: GPS data processed {"connection_id":161698,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:24:52] local.INFO: Acknowledgment sent {"connection_id":161698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:24:52] local.INFO: TCP Data received {"connection_id":161944,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:24:52] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:24:52] local.INFO: IMEI packet received {"connection_id":161944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":161944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:24:53] local.INFO: TCP Data received {"connection_id":161944,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:24:53] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:24:53] local.INFO: IMEI packet received {"connection_id":161944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":161944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:24:55] local.INFO: TCP Data received {"connection_id":164318,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:24:55] local.INFO: Processing buffer {"connection_id":164318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:24:55] local.INFO: Packet analysis {"connection_id":164318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:24:55] local.INFO: Extracted packet for processing {"connection_id":164318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:24:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637813248001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787648009000,"timestamp_ms":1787648009000,"timestamp_seconds":1787648009,"priority":1,"record_length":96,"hex_timestamp":"000001a0381fe328"} 
[2026-08-25 14:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637813248001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637813248001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:24:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637813248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":164318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:24:55] local.INFO: GPS data processed {"connection_id":164318,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:24:55] local.INFO: Acknowledgment sent {"connection_id":164318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:24:56] local.INFO: TCP Data received {"connection_id":161698,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0381e8b68012d9b568005710a70000e00a330..."} 
[2026-08-25 14:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381e8b68012d9b568005710a70000e00a330..."} 
[2026-08-25 14:24:56] local.INFO: Processing buffer {"connection_id":161698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381e8b68012d9b568005710a70000e00a330..."} 
[2026-08-25 14:24:56] local.INFO: Packet analysis {"connection_id":161698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:24:56] local.INFO: Extracted packet for processing {"connection_id":161698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:24:56] local.INFO: GPS Element Parsed {"raw_longitude":765154944,"raw_latitude":91294320,"longitude_deg":76.5154944,"latitude_deg":9.129432,"altitude":14,"angle":163,"satellites":48,"speed":17,"hex_longitude":"2d9b5680","hex_latitude":"05710a70","is_valid_coordinates":true} 
[2026-08-25 14:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637866752001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123699563545493504,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7254032338927020032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787647921000,"timestamp_ms":1787647921000,"timestamp_seconds":1787647921,"priority":1,"record_length":96,"hex_timestamp":"000001a0381e8b68"} 
[2026-08-25 14:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-25 14:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 14:24:56] 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-25 14:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:24:56] 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-25 14:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637866752001,"66":13059,"93":206,"84":8448,"24":17,"16":123699563545493504,"45":-7254032338927020032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637866752001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:24:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:24:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123699563545493504,"km_value":123699563545493.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7254032338927020032,"description":"Unknown IO ID 45"} 
[2026-08-25 14:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637866752001,"power":13059,"unknown_93":206,"unknown_84":8448,"ignition":17,"odometer":null,"unknown_45":-7254032338927020032}} 
[2026-08-25 14:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":161698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:24:56] local.INFO: GPS data processed {"connection_id":161698,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:24:56] local.INFO: Acknowledgment sent {"connection_id":161698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:24:57] local.INFO: TCP Data received {"connection_id":161944,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:24:57] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:24:57] local.INFO: IMEI packet received {"connection_id":161944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":161944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:24:59] local.INFO: TCP Data received {"connection_id":161944,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381e02b0012d18af00072171980052013428..."} 
[2026-08-25 14:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381e02b0012d18af00072171980052013428..."} 
[2026-08-25 14:24:59] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381e02b0012d18af00072171980052013428..."} 
[2026-08-25 14:24:59] local.INFO: Packet analysis {"connection_id":161944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:24:59] local.INFO: Extracted packet for processing {"connection_id":161944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:24:59] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637853440001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787647886000,"timestamp_ms":1787647886000,"timestamp_seconds":1787647886,"priority":1,"record_length":96,"hex_timestamp":"000001a0381e02b0"} 
[2026-08-25 14: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-25 14:24:59] 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-25 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14: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-25 14: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-25 14:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637853440001,"66":12211,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637853440001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:24:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:24:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637853440001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":161944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:24:59] local.INFO: GPS data processed {"connection_id":161944,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:24:59] local.INFO: Acknowledgment sent {"connection_id":161944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:25:30] local.INFO: TCP Data received {"connection_id":161944,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381e54b8012d18af00072171980052013429..."} 
[2026-08-25 14:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381e54b8012d18af00072171980052013429..."} 
[2026-08-25 14:25:30] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381e54b8012d18af00072171980052013429..."} 
[2026-08-25 14:25:30] local.INFO: Packet analysis {"connection_id":161944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:25:30] local.INFO: Extracted packet for processing {"connection_id":161944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:25:30] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637858816001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787647907000,"timestamp_ms":1787647907000,"timestamp_seconds":1787647907,"priority":1,"record_length":96,"hex_timestamp":"000001a0381e54b8"} 
[2026-08-25 14:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 14:25:30] 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-25 14:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637858816001,"66":12254,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637858816001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:25:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:25:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637858816001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":161944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:25:30] local.INFO: GPS data processed {"connection_id":161944,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:25:30] local.INFO: Acknowledgment sent {"connection_id":161944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:25:40] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:25:40] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:25:40] local.INFO: IMEI packet received {"connection_id":161699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":161699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:25:41] local.INFO: TCP Data received {"connection_id":164319,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:25:41] local.INFO: Processing buffer {"connection_id":164319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:25:41] local.INFO: IMEI packet received {"connection_id":164319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":164319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:25:44] local.INFO: TCP Data received {"connection_id":164319,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:25:44] local.INFO: Processing buffer {"connection_id":164319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:25:44] local.INFO: IMEI packet received {"connection_id":164319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":164319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:25:45] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:25:45] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:25:45] local.INFO: IMEI packet received {"connection_id":161699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":161699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:25:45] local.INFO: TCP Data received {"connection_id":164319,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0382146a0012d9b74000570b7a8000d00e82d..."} 
[2026-08-25 14:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382146a0012d9b74000570b7a8000d00e82d..."} 
[2026-08-25 14:25:45] local.INFO: Processing buffer {"connection_id":164319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382146a0012d9b74000570b7a8000d00e82d..."} 
[2026-08-25 14:25:45] local.INFO: Packet analysis {"connection_id":164319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03821"} 
[2026-08-25 14:25:45] local.INFO: Extracted packet for processing {"connection_id":164319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03821"} 
[2026-08-25 14:25:45] local.INFO: GPS Element Parsed {"raw_longitude":765162496,"raw_latitude":91273128,"longitude_deg":76.5162496,"latitude_deg":9.1273128,"altitude":13,"angle":232,"satellites":45,"speed":0,"hex_longitude":"2d9b7400","hex_latitude":"0570b7a8","is_valid_coordinates":true} 
[2026-08-25 14:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637908224001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123700783316205568,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7245165877166364672,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787648100000,"timestamp_ms":1787648100000,"timestamp_seconds":1787648100,"priority":1,"record_length":96,"hex_timestamp":"000001a0382146a0"} 
[2026-08-25 14:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:25: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-25 14:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 14:25: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-25 14:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:25: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-25 14:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637908224001,"66":13319,"93":206,"84":8448,"24":0,"16":123700783316205568,"45":-7245165877166364672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637908224001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:25:45] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:25:45] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123700783316205568,"km_value":123700783316205.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7245165877166364672,"description":"Unknown IO ID 45"} 
[2026-08-25 14:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637908224001,"power":13319,"unknown_93":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7245165877166364672}} 
[2026-08-25 14:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":164319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:25:45] local.INFO: GPS data processed {"connection_id":164319,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:25:45] local.INFO: Acknowledgment sent {"connection_id":164319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:25:46] local.INFO: TCP Data received {"connection_id":164319,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0382198a8012d9b74000570b7a8000d00e82f..."} 
[2026-08-25 14:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382198a8012d9b74000570b7a8000d00e82f..."} 
[2026-08-25 14:25:46] local.INFO: Processing buffer {"connection_id":164319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382198a8012d9b74000570b7a8000d00e82f..."} 
[2026-08-25 14:25:46] local.INFO: Packet analysis {"connection_id":164319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03821"} 
[2026-08-25 14:25:46] local.INFO: Extracted packet for processing {"connection_id":164319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03821"} 
[2026-08-25 14:25:46] local.INFO: GPS Element Parsed {"raw_longitude":765162496,"raw_latitude":91273128,"longitude_deg":76.5162496,"latitude_deg":9.1273128,"altitude":13,"angle":232,"satellites":47,"speed":0,"hex_longitude":"2d9b7400","hex_latitude":"0570b7a8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637913600001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123700783316205568,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7245165877166364672,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787648121000,"timestamp_ms":1787648121000,"timestamp_seconds":1787648121,"priority":1,"record_length":96,"hex_timestamp":"000001a0382198a8"} 
[2026-08-25 14: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-25 14:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 14:25:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2608070661,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.WARNING: Large IO value detected {"io_id":112,"raw_value":-4935945144343187456,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2522677454,"corrected_to":0} 
[2026-08-25 14:25:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3221582009,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376854,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57867696415331361,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":8205559816462680069,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,93,84,24,241,157,16,121,160,244,45,183,13,10,66,162,80,1,240,94,227,56,112,4,113,205,176,120,224,48,239,52,2,5,11,214,31],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2522677454,"validated":0}]} 
[2026-08-25 14:25:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937004002464235520,"timestamp_seconds":937004002464235.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14: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-25 14:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:25:46] 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-25 14:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637913600001,"66":13319,"93":206,"84":8448,"24":0,"16":123700783316205568,"45":-7245165877166364672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637913600001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:25:46] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:25:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123700783316205568,"km_value":123700783316205.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7245165877166364672,"description":"Unknown IO ID 45"} 
[2026-08-25 14:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637913600001,"power":13319,"unknown_93":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7245165877166364672}} 
[2026-08-25 14:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":164319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:25:46] local.INFO: GPS data processed {"connection_id":164319,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:25:46] local.INFO: Acknowledgment sent {"connection_id":164319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:25:46] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:25:46] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:25:46] local.INFO: Packet analysis {"connection_id":161699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:25:46] local.INFO: Extracted packet for processing {"connection_id":161699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637813248001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787648009000,"timestamp_ms":1787648009000,"timestamp_seconds":1787648009,"priority":1,"record_length":96,"hex_timestamp":"000001a0381fe328"} 
[2026-08-25 14: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-25 14:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637813248001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637813248001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637813248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":161699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:25:46] local.INFO: GPS data processed {"connection_id":161699,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:25:46] local.INFO: Acknowledgment sent {"connection_id":161699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:25:52] local.INFO: TCP Data received {"connection_id":161945,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:25:52] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:25:52] local.INFO: IMEI packet received {"connection_id":161945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":161945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:25:56] local.INFO: TCP Data received {"connection_id":161945,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:25:56] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:25:56] local.INFO: IMEI packet received {"connection_id":161945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":161945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:25:57] local.INFO: TCP Data received {"connection_id":161945,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381ea6c0012d18af0007217198005201342a..."} 
[2026-08-25 14:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381ea6c0012d18af0007217198005201342a..."} 
[2026-08-25 14:25:57] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381ea6c0012d18af0007217198005201342a..."} 
[2026-08-25 14:25:57] local.INFO: Packet analysis {"connection_id":161945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:25:57] local.INFO: Extracted packet for processing {"connection_id":161945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":42,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637864192001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787647928000,"timestamp_ms":1787647928000,"timestamp_seconds":1787647928,"priority":1,"record_length":96,"hex_timestamp":"000001a0381ea6c0"} 
[2026-08-25 14:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:25:57] 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-25 14:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-25 14:25:57] 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-25 14:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637864192001,"66":12287,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637864192001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:25:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:25:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637864192001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":161945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:25:57] local.INFO: GPS data processed {"connection_id":161945,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:25:57] local.INFO: Acknowledgment sent {"connection_id":161945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:26:18] local.INFO: TCP Data received {"connection_id":164319,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03821eab0012d9b74000570b7a8000d00e82e..."} 
[2026-08-25 14:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03821eab0012d9b74000570b7a8000d00e82e..."} 
[2026-08-25 14:26:18] local.INFO: Processing buffer {"connection_id":164319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03821eab0012d9b74000570b7a8000d00e82e..."} 
[2026-08-25 14:26:18] local.INFO: Packet analysis {"connection_id":164319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03821"} 
[2026-08-25 14:26:18] local.INFO: Extracted packet for processing {"connection_id":164319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03821"} 
[2026-08-25 14:26:18] local.INFO: GPS Element Parsed {"raw_longitude":765162496,"raw_latitude":91273128,"longitude_deg":76.5162496,"latitude_deg":9.1273128,"altitude":13,"angle":232,"satellites":46,"speed":0,"hex_longitude":"2d9b7400","hex_latitude":"0570b7a8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637918976001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123700783316205568,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7245165877166364672,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787648142000,"timestamp_ms":1787648142000,"timestamp_seconds":1787648142,"priority":1,"record_length":96,"hex_timestamp":"000001a03821eab0"} 
[2026-08-25 14: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-25 14:26: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-25 14: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 14:26:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2608070661,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:18] local.WARNING: Large IO value detected {"io_id":112,"raw_value":-5023765337072390144,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2522677454,"corrected_to":0} 
[2026-08-25 14:26:18] local.WARNING: Large IO value detected {"io_id":254,"raw_value":2147560859,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:18] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57867696415331361,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-6019059606587080699,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:18] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,93,84,24,241,157,16,121,160,70,45,183,13,10,66,244,162,1,240,227,56,112,4,113,205,254,116,168,47,239,52,2,5,12,9,214,31],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2522677454,"validated":0}]} 
[2026-08-25 14:26:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937004011054170112,"timestamp_seconds":937004011054170.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14: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-25 14:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:26: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-25 14:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637918976001,"66":13406,"93":206,"84":8448,"24":0,"16":123700783316205568,"45":-7245165877166364672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637918976001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:26:18] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:26:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123700783316205568,"km_value":123700783316205.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7245165877166364672,"description":"Unknown IO ID 45"} 
[2026-08-25 14:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637918976001,"power":13406,"unknown_93":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7245165877166364672}} 
[2026-08-25 14:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":164319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:26:18] local.INFO: GPS data processed {"connection_id":164319,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:26:18] local.INFO: Acknowledgment sent {"connection_id":164319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:26:19] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:26:19] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:26:19] local.INFO: Packet analysis {"connection_id":161699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:26:19] local.INFO: Extracted packet for processing {"connection_id":161699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637813248001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787648009000,"timestamp_ms":1787648009000,"timestamp_seconds":1787648009,"priority":1,"record_length":96,"hex_timestamp":"000001a0381fe328"} 
[2026-08-25 14: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-25 14:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637813248001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637813248001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637813248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":161699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:26:19] local.INFO: GPS data processed {"connection_id":161699,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:26:19] local.INFO: Acknowledgment sent {"connection_id":161699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:26:29] local.INFO: TCP Data received {"connection_id":161945,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381ef8c8012d18af00072171980052013429..."} 
[2026-08-25 14:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381ef8c8012d18af00072171980052013429..."} 
[2026-08-25 14:26:29] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381ef8c8012d18af00072171980052013429..."} 
[2026-08-25 14:26:29] local.INFO: Packet analysis {"connection_id":161945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:26:29] local.INFO: Extracted packet for processing {"connection_id":161945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381e"} 
[2026-08-25 14:26:29] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637869568001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787647949000,"timestamp_ms":1787647949000,"timestamp_seconds":1787647949,"priority":1,"record_length":96,"hex_timestamp":"000001a0381ef8c8"} 
[2026-08-25 14:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:26:29] 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-25 14:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637869568001,"66":12232,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637869568001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:26:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:26:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637869568001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":161945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:26:29] local.INFO: GPS data processed {"connection_id":161945,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:26:29] local.INFO: Acknowledgment sent {"connection_id":161945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:26:40] local.INFO: TCP Data received {"connection_id":164320,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:26:40] local.INFO: Processing buffer {"connection_id":164320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:26:40] local.INFO: IMEI packet received {"connection_id":164320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":164320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:26:41] local.INFO: TCP Data received {"connection_id":164320,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:26:41] local.INFO: Processing buffer {"connection_id":164320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:26:41] local.INFO: IMEI packet received {"connection_id":164320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":164320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:26:41] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:26:41] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:26:41] local.INFO: IMEI packet received {"connection_id":161700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":161700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:26:45] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:26:45] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:26:45] local.INFO: IMEI packet received {"connection_id":161700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":161700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:26:46] local.INFO: TCP Data received {"connection_id":164320,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:26:46] local.INFO: Processing buffer {"connection_id":164320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:26:46] local.INFO: IMEI packet received {"connection_id":164320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":164320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:26:46] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:26:46] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:26:46] local.INFO: Packet analysis {"connection_id":161700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:26:46] local.INFO: Extracted packet for processing {"connection_id":161700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637813248001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787648009000,"timestamp_ms":1787648009000,"timestamp_seconds":1787648009,"priority":1,"record_length":96,"hex_timestamp":"000001a0381fe328"} 
[2026-08-25 14:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637813248001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637813248001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637813248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":161700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:26:46] local.INFO: GPS data processed {"connection_id":161700,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:26:46] local.INFO: Acknowledgment sent {"connection_id":161700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:26:47] local.INFO: TCP Data received {"connection_id":164320,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038223cb8012d9b75000570b680000c00e830..."} 
[2026-08-25 14:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038223cb8012d9b75000570b680000c00e830..."} 
[2026-08-25 14:26:47] local.INFO: Processing buffer {"connection_id":164320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038223cb8012d9b75000570b680000c00e830..."} 
[2026-08-25 14:26:47] local.INFO: Packet analysis {"connection_id":164320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03822"} 
[2026-08-25 14:26:47] local.INFO: Extracted packet for processing {"connection_id":164320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03822"} 
[2026-08-25 14:26:47] local.INFO: GPS Element Parsed {"raw_longitude":765162752,"raw_latitude":91272832,"longitude_deg":76.5162752,"latitude_deg":9.1272832,"altitude":12,"angle":232,"satellites":48,"speed":0,"hex_longitude":"2d9b7500","hex_latitude":"0570b680","is_valid_coordinates":true} 
[2026-08-25 14:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637924352001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123700826265878528,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7245165877166364672,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787648163000,"timestamp_ms":1787648163000,"timestamp_seconds":1787648163,"priority":1,"record_length":96,"hex_timestamp":"000001a038223cb8"} 
[2026-08-25 14:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 14:26:47] 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-25 14:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:26:47] 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-25 14:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637924352001,"66":13319,"93":206,"84":8448,"24":0,"16":123700826265878528,"45":-7245165877166364672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637924352001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:26:47] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:26:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123700826265878528,"km_value":123700826265878.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7245165877166364672,"description":"Unknown IO ID 45"} 
[2026-08-25 14:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637924352001,"power":13319,"unknown_93":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7245165877166364672}} 
[2026-08-25 14:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":164320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:26:47] local.INFO: GPS data processed {"connection_id":164320,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:26:47] local.INFO: Acknowledgment sent {"connection_id":164320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:26:52] local.INFO: TCP Data received {"connection_id":164321,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:26:52] local.INFO: Processing buffer {"connection_id":164321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:26:52] local.INFO: IMEI packet received {"connection_id":164321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":164321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:26:57] local.INFO: TCP Data received {"connection_id":164321,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:26:57] local.INFO: Processing buffer {"connection_id":164321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:26:57] local.INFO: IMEI packet received {"connection_id":164321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":164321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:26:59] local.INFO: TCP Data received {"connection_id":164321,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381f4ad0012d18af0007217198005201342a..."} 
[2026-08-25 14:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381f4ad0012d18af0007217198005201342a..."} 
[2026-08-25 14:26:59] local.INFO: Processing buffer {"connection_id":164321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381f4ad0012d18af0007217198005201342a..."} 
[2026-08-25 14:26:59] local.INFO: Packet analysis {"connection_id":164321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:26:59] local.INFO: Extracted packet for processing {"connection_id":164321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":42,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637874944001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787647970000,"timestamp_ms":1787647970000,"timestamp_seconds":1787647970,"priority":1,"record_length":96,"hex_timestamp":"000001a0381f4ad0"} 
[2026-08-25 14:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:26:59] 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-25 14:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 14:26:59] 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-25 14:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637874944001,"66":12232,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637874944001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:26:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637874944001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":164321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:26:59] local.INFO: GPS data processed {"connection_id":164321,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:26:59] local.INFO: Acknowledgment sent {"connection_id":164321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:27:18] local.INFO: TCP Data received {"connection_id":164320,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038228ec0012d9b75c00570b598000d00a231..."} 
[2026-08-25 14:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038228ec0012d9b75c00570b598000d00a231..."} 
[2026-08-25 14:27:18] local.INFO: Processing buffer {"connection_id":164320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038228ec0012d9b75c00570b598000d00a231..."} 
[2026-08-25 14:27:18] local.INFO: Packet analysis {"connection_id":164320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03822"} 
[2026-08-25 14:27:18] local.INFO: Extracted packet for processing {"connection_id":164320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03822"} 
[2026-08-25 14:27:18] local.INFO: GPS Element Parsed {"raw_longitude":765162944,"raw_latitude":91272600,"longitude_deg":76.5162944,"latitude_deg":9.12726,"altitude":13,"angle":162,"satellites":49,"speed":6,"hex_longitude":"2d9b75c0","hex_latitude":"0570b598","is_valid_coordinates":true} 
[2026-08-25 14:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637929728001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123700843445747712,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7244884402189729792,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787648184000,"timestamp_ms":1787648184000,"timestamp_seconds":1787648184,"priority":1,"record_length":96,"hex_timestamp":"000001a038228ec0"} 
[2026-08-25 14:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:27: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-25 14:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 14:27:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:18] local.WARNING: Large IO value detected {"io_id":112,"raw_value":-5212916512831557888,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2522677454,"corrected_to":0} 
[2026-08-25 14:27:18] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2415996315,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407190,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:18] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57867696415331361,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-108085095663665147,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:18] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,93,84,24,241,157,16,121,160,234,45,183,13,46,10,66,152,47,70,1,240,7,227,56,112,4,113,205,162,116,168,239,52,2,5,94,31],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2522677454,"validated":0}]} 
[2026-08-25 14:27:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864946421311209472,"timestamp_seconds":864946421311209.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:27: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-25 14:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637929728001,"66":13396,"93":206,"84":8448,"24":6,"16":123700843445747712,"45":-7244884402189729792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637929728001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:27:18] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:27:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123700843445747712,"km_value":123700843445747.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7244884402189729792,"description":"Unknown IO ID 45"} 
[2026-08-25 14:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637929728001,"power":13396,"unknown_93":206,"unknown_84":8448,"ignition":6,"odometer":null,"unknown_45":-7244884402189729792}} 
[2026-08-25 14:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":164320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:27:18] local.INFO: GPS data processed {"connection_id":164320,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:27:18] local.INFO: Acknowledgment sent {"connection_id":164320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:27:31] local.INFO: TCP Data received {"connection_id":164321,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381f9cd8012d18af0007217198005201342b..."} 
[2026-08-25 14:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381f9cd8012d18af0007217198005201342b..."} 
[2026-08-25 14:27:31] local.INFO: Processing buffer {"connection_id":164321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381f9cd8012d18af0007217198005201342b..."} 
[2026-08-25 14:27:31] local.INFO: Packet analysis {"connection_id":164321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:27:31] local.INFO: Extracted packet for processing {"connection_id":164321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:27:31] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637880320001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787647991000,"timestamp_ms":1787647991000,"timestamp_seconds":1787647991,"priority":1,"record_length":96,"hex_timestamp":"000001a0381f9cd8"} 
[2026-08-25 14:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:27:31] 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-25 14:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 14:27:31] 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-25 14:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637880320001,"66":11928,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637880320001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:27:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637880320001,"power":11928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":164321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:27:31] local.INFO: GPS data processed {"connection_id":164321,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:27:31] local.INFO: Acknowledgment sent {"connection_id":164321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:27:41] local.INFO: TCP Data received {"connection_id":162942,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:27:41] local.INFO: Processing buffer {"connection_id":162942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:27:41] local.INFO: IMEI packet received {"connection_id":162942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":162942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:27:41] local.INFO: TCP Data received {"connection_id":162941,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:27:41] local.INFO: Processing buffer {"connection_id":162941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:27:41] local.INFO: IMEI packet received {"connection_id":162941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 14:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":162941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:27:44] local.INFO: TCP Data received {"connection_id":162942,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:27:44] local.INFO: Processing buffer {"connection_id":162942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:27:44] local.INFO: IMEI packet received {"connection_id":162942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":162942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:27:46] local.INFO: TCP Data received {"connection_id":162942,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:27:46] local.INFO: Processing buffer {"connection_id":162942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:27:46] local.INFO: IMEI packet received {"connection_id":162942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":162942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:27:47] local.INFO: TCP Data received {"connection_id":162942,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038228ec0012d9b75c00570b598000d00a231..."} 
[2026-08-25 14:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038228ec0012d9b75c00570b598000d00a231..."} 
[2026-08-25 14:27:47] local.INFO: Processing buffer {"connection_id":162942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038228ec0012d9b75c00570b598000d00a231..."} 
[2026-08-25 14:27:47] local.INFO: Packet analysis {"connection_id":162942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03822"} 
[2026-08-25 14:27:47] local.INFO: Extracted packet for processing {"connection_id":162942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03822"} 
[2026-08-25 14:27:47] local.INFO: GPS Element Parsed {"raw_longitude":765162944,"raw_latitude":91272600,"longitude_deg":76.5162944,"latitude_deg":9.12726,"altitude":13,"angle":162,"satellites":49,"speed":6,"hex_longitude":"2d9b75c0","hex_latitude":"0570b598","is_valid_coordinates":true} 
[2026-08-25 14:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637935104001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123700843445747712,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7244673295957256192,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787648184000,"timestamp_ms":1787648184000,"timestamp_seconds":1787648184,"priority":1,"record_length":96,"hex_timestamp":"000001a038228ec0"} 
[2026-08-25 14:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-25 14:27:47] 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-25 14:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:27:47] 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-25 14:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637935104001,"66":13396,"93":206,"84":8448,"24":6,"16":123700843445747712,"45":-7244673295957256192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637935104001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:27:47] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:27:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123700843445747712,"km_value":123700843445747.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7244673295957256192,"description":"Unknown IO ID 45"} 
[2026-08-25 14:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637935104001,"power":13396,"unknown_93":206,"unknown_84":8448,"ignition":6,"odometer":null,"unknown_45":-7244673295957256192}} 
[2026-08-25 14:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":162942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:27:47] local.INFO: GPS data processed {"connection_id":162942,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:27:47] local.INFO: Acknowledgment sent {"connection_id":162942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:27:52] local.INFO: TCP Data received {"connection_id":161946,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:27:52] local.INFO: Processing buffer {"connection_id":161946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:27:52] local.INFO: IMEI packet received {"connection_id":161946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":161946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:27:53] local.INFO: TCP Data received {"connection_id":162942,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0382292a8012d9b76400570b4c8000d009231..."} 
[2026-08-25 14:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382292a8012d9b76400570b4c8000d009231..."} 
[2026-08-25 14:27:53] local.INFO: Processing buffer {"connection_id":162942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382292a8012d9b76400570b4c8000d009231..."} 
[2026-08-25 14:27:53] local.INFO: Packet analysis {"connection_id":162942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03822"} 
[2026-08-25 14:27:53] local.INFO: Extracted packet for processing {"connection_id":162942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03822"} 
[2026-08-25 14:27:53] local.INFO: GPS Element Parsed {"raw_longitude":765163072,"raw_latitude":91272392,"longitude_deg":76.5163072,"latitude_deg":9.1272392,"altitude":13,"angle":146,"satellites":49,"speed":11,"hex_longitude":"2d9b7640","hex_latitude":"0570b4c8","is_valid_coordinates":true} 
[2026-08-25 14:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637935104001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123700856330649600,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7244673295957256192,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787648185000,"timestamp_ms":1787648185000,"timestamp_seconds":1787648185,"priority":1,"record_length":96,"hex_timestamp":"000001a0382292a8"} 
[2026-08-25 14:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-25 14:27:53] 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-25 14:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:27:53] 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-25 14:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637935104001,"66":13396,"93":206,"84":8448,"24":11,"16":123700856330649600,"45":-7244673295957256192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637935104001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:27:53] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:27:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123700856330649600,"km_value":123700856330649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7244673295957256192,"description":"Unknown IO ID 45"} 
[2026-08-25 14:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637935104001,"power":13396,"unknown_93":206,"unknown_84":8448,"ignition":11,"odometer":null,"unknown_45":-7244673295957256192}} 
[2026-08-25 14:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":162942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:27:53] local.INFO: GPS data processed {"connection_id":162942,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:27:53] local.INFO: Acknowledgment sent {"connection_id":162942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:27:55] local.INFO: TCP Data received {"connection_id":164322,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:27:55] local.INFO: Processing buffer {"connection_id":164322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:27:55] local.INFO: IMEI packet received {"connection_id":164322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":164322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:27:57] local.INFO: TCP Data received {"connection_id":161946,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:27:57] local.INFO: Processing buffer {"connection_id":161946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:27:57] local.INFO: IMEI packet received {"connection_id":161946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":161946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:27:58] local.INFO: TCP Data received {"connection_id":164322,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:27:58] local.INFO: Processing buffer {"connection_id":164322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:27:58] local.INFO: IMEI packet received {"connection_id":164322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":164322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:27:59] local.INFO: TCP Data received {"connection_id":161946,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0381feee0012d18af00072171980052013429..."} 
[2026-08-25 14:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381feee0012d18af00072171980052013429..."} 
[2026-08-25 14:27:59] local.INFO: Processing buffer {"connection_id":161946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381feee0012d18af00072171980052013429..."} 
[2026-08-25 14:27:59] local.INFO: Packet analysis {"connection_id":161946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:27:59] local.INFO: Extracted packet for processing {"connection_id":161946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637885696001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787648012000,"timestamp_ms":1787648012000,"timestamp_seconds":1787648012,"priority":1,"record_length":96,"hex_timestamp":"000001a0381feee0"} 
[2026-08-25 14:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-25 14:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637885696001,"66":12232,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637885696001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:27:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637885696001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:27:59] local.INFO: TCP Data received {"connection_id":164322,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:27:59] local.INFO: Processing buffer {"connection_id":164322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:27:59] local.INFO: Packet analysis {"connection_id":164322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:27:59] local.INFO: Extracted packet for processing {"connection_id":164322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637813248001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787648009000,"timestamp_ms":1787648009000,"timestamp_seconds":1787648009,"priority":1,"record_length":96,"hex_timestamp":"000001a0381fe328"} 
[2026-08-25 14:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:27: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-25 14:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637813248001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637813248001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:27:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637813248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":164322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:27:59] local.INFO: GPS data processed {"connection_id":164322,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:27:59] local.INFO: Acknowledgment sent {"connection_id":164322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":161946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:27:59] local.INFO: GPS data processed {"connection_id":161946,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:27:59] local.INFO: Acknowledgment sent {"connection_id":161946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:28:00] local.INFO: TCP Data received {"connection_id":164322,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:28:00] local.INFO: Processing buffer {"connection_id":164322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:28:00] local.INFO: Packet analysis {"connection_id":164322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:28:00] local.INFO: Extracted packet for processing {"connection_id":164322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:28:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637813248001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:28:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787648009000,"timestamp_ms":1787648009000,"timestamp_seconds":1787648009,"priority":1,"record_length":96,"hex_timestamp":"000001a0381fe328"} 
[2026-08-25 14:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637813248001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637813248001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:28:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637813248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":164322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:28:00] local.INFO: GPS data processed {"connection_id":164322,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:28:00] local.INFO: Acknowledgment sent {"connection_id":164322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:28:30] local.INFO: TCP Data received {"connection_id":161946,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382040e8012d18af0007217198005201342c..."} 
[2026-08-25 14:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382040e8012d18af0007217198005201342c..."} 
[2026-08-25 14:28:30] local.INFO: Processing buffer {"connection_id":161946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382040e8012d18af0007217198005201342c..."} 
[2026-08-25 14:28:30] local.INFO: Packet analysis {"connection_id":161946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03820"} 
[2026-08-25 14:28:30] local.INFO: Extracted packet for processing {"connection_id":161946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03820"} 
[2026-08-25 14:28:30] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637891072001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787648033000,"timestamp_ms":1787648033000,"timestamp_seconds":1787648033,"priority":1,"record_length":96,"hex_timestamp":"000001a0382040e8"} 
[2026-08-25 14:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 14:28:30] 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-25 14:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637891072001,"66":12232,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637891072001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:28:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:28:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637891072001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":161946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:28:30] local.INFO: GPS data processed {"connection_id":161946,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:28:30] local.INFO: Acknowledgment sent {"connection_id":161946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:28:32] local.INFO: TCP Data received {"connection_id":162942,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03822c570012d9b8ac005709630000e009931..."} 
[2026-08-25 14:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03822c570012d9b8ac005709630000e009931..."} 
[2026-08-25 14:28:32] local.INFO: Processing buffer {"connection_id":162942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03822c570012d9b8ac005709630000e009931..."} 
[2026-08-25 14:28:32] local.INFO: Packet analysis {"connection_id":162942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03822"} 
[2026-08-25 14:28:32] local.INFO: Extracted packet for processing {"connection_id":162942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03822"} 
[2026-08-25 14:28:32] local.INFO: GPS Element Parsed {"raw_longitude":765168320,"raw_latitude":91264560,"longitude_deg":76.516832,"latitude_deg":9.126456,"altitude":14,"angle":153,"satellites":49,"speed":39,"hex_longitude":"2d9b8ac0","hex_latitude":"05709630","is_valid_coordinates":true} 
[2026-08-25 14:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637935360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123701311597182976,"note":"Value kept but may cause issues"} 
[2026-08-25 14:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7244532558468954112,"note":"Value kept but may cause issues"} 
[2026-08-25 14:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787648198000,"timestamp_ms":1787648198000,"timestamp_seconds":1787648198,"priority":1,"record_length":96,"hex_timestamp":"000001a03822c570"} 
[2026-08-25 14:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-25 14:28:32] 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-25 14:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:28:32] 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-25 14:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637935360001,"66":13580,"93":206,"84":8448,"24":39,"16":123701311597182976,"45":-7244532558468954112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 14:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637935360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:28:32] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 14:28:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123701311597182976,"km_value":123701311597182.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7244532558468954112,"description":"Unknown IO ID 45"} 
[2026-08-25 14:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637935360001,"power":13580,"unknown_93":206,"unknown_84":8448,"ignition":39,"odometer":null,"unknown_45":-7244532558468954112}} 
[2026-08-25 14:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":162942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:28:32] local.INFO: GPS data processed {"connection_id":162942,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:28:32] local.INFO: Acknowledgment sent {"connection_id":162942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:28:40] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:28:40] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:28:40] local.INFO: IMEI packet received {"connection_id":161701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":161701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:28:45] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:28:45] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:28:45] local.INFO: IMEI packet received {"connection_id":161701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":161701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:28:46] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:28:46] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0381fe328012d34c14006aa4820000100e62e..."} 
[2026-08-25 14:28:46] local.INFO: Packet analysis {"connection_id":161701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:28:46] local.INFO: Extracted packet for processing {"connection_id":161701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0381f"} 
[2026-08-25 14:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637813248001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:28:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787648009000,"timestamp_ms":1787648009000,"timestamp_seconds":1787648009,"priority":1,"record_length":96,"hex_timestamp":"000001a0381fe328"} 
[2026-08-25 14:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637813248001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637813248001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637813248001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":161701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:28:46] local.INFO: GPS data processed {"connection_id":161701,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:28:46] local.INFO: Acknowledgment sent {"connection_id":161701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:28:58] local.INFO: TCP Data received {"connection_id":162943,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:28:58] local.INFO: Processing buffer {"connection_id":162943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:28:58] local.INFO: IMEI packet received {"connection_id":162943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":162943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:29:02] local.INFO: TCP Data received {"connection_id":162943,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:29:02] local.INFO: Processing buffer {"connection_id":162943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:29:02] local.INFO: IMEI packet received {"connection_id":162943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":162943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:29:03] local.INFO: TCP Data received {"connection_id":162943,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382092f0012d18af0007217198005201342c..."} 
[2026-08-25 14:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382092f0012d18af0007217198005201342c..."} 
[2026-08-25 14:29:03] local.INFO: Processing buffer {"connection_id":162943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382092f0012d18af0007217198005201342c..."} 
[2026-08-25 14:29:03] local.INFO: Packet analysis {"connection_id":162943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03820"} 
[2026-08-25 14:29:03] local.INFO: Extracted packet for processing {"connection_id":162943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03820"} 
[2026-08-25 14:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637896448001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787648054000,"timestamp_ms":1787648054000,"timestamp_seconds":1787648054,"priority":1,"record_length":96,"hex_timestamp":"000001a0382092f0"} 
[2026-08-25 14: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-25 14:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 14:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637896448001,"66":12287,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637896448001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:29:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:29:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637896448001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":162943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:29:03] local.INFO: GPS data processed {"connection_id":162943,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:29:03] local.INFO: Acknowledgment sent {"connection_id":162943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:29:05] local.INFO: TCP Data received {"connection_id":162943,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03820e4f8012d18af00072171980052013429..."} 
[2026-08-25 14:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03820e4f8012d18af00072171980052013429..."} 
[2026-08-25 14:29:05] local.INFO: Processing buffer {"connection_id":162943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03820e4f8012d18af00072171980052013429..."} 
[2026-08-25 14:29:05] local.INFO: Packet analysis {"connection_id":162943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03820"} 
[2026-08-25 14:29:05] local.INFO: Extracted packet for processing {"connection_id":162943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03820"} 
[2026-08-25 14:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637901824001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787648075000,"timestamp_ms":1787648075000,"timestamp_seconds":1787648075,"priority":1,"record_length":96,"hex_timestamp":"000001a03820e4f8"} 
[2026-08-25 14: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-25 14:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:29: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-25 14: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-25 14: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-25 14:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637901824001,"66":12265,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637901824001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:29:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637901824001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":162943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:29:05] local.INFO: GPS data processed {"connection_id":162943,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:29:05] local.INFO: Acknowledgment sent {"connection_id":162943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:29:22] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:29:22] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:29:22] local.INFO: Packet analysis {"connection_id":161701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:29:22] local.INFO: Extracted packet for processing {"connection_id":161701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:29:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 14:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637890304001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787648310000,"timestamp_ms":1787648310000,"timestamp_seconds":1787648310,"priority":1,"record_length":96,"hex_timestamp":"000001a038247af0"} 
[2026-08-25 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-25 14:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 14:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637890304001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637890304001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:29:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637890304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":161701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:29:22] local.INFO: GPS data processed {"connection_id":161701,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:29:22] local.INFO: Acknowledgment sent {"connection_id":161701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:29:37] local.INFO: TCP Data received {"connection_id":162943,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038213700012d18af0007217198005201342a..."} 
[2026-08-25 14:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038213700012d18af0007217198005201342a..."} 
[2026-08-25 14:29:37] local.INFO: Processing buffer {"connection_id":162943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038213700012d18af0007217198005201342a..."} 
[2026-08-25 14:29:37] local.INFO: Packet analysis {"connection_id":162943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03821"} 
[2026-08-25 14:29:37] local.INFO: Extracted packet for processing {"connection_id":162943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03821"} 
[2026-08-25 14:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":42,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637907200001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787648096000,"timestamp_ms":1787648096000,"timestamp_seconds":1787648096,"priority":1,"record_length":96,"hex_timestamp":"000001a038213700"} 
[2026-08-25 14: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-25 14:29: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-25 14: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 14:29: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-25 14: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-25 14: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-25 14:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637907200001,"66":12211,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637907200001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:29:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637907200001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":162943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:29:37] local.INFO: GPS data processed {"connection_id":162943,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:29:37] local.INFO: Acknowledgment sent {"connection_id":162943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:29:40] local.INFO: TCP Data received {"connection_id":162944,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:29:40] local.INFO: Processing buffer {"connection_id":162944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:29:40] local.INFO: IMEI packet received {"connection_id":162944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":162944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:29:45] local.INFO: TCP Data received {"connection_id":162944,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:29:45] local.INFO: Processing buffer {"connection_id":162944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:29:45] local.INFO: IMEI packet received {"connection_id":162944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":162944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:29:46] local.INFO: TCP Data received {"connection_id":162944,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:29:46] local.INFO: Processing buffer {"connection_id":162944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:29:46] local.INFO: Packet analysis {"connection_id":162944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:29:46] local.INFO: Extracted packet for processing {"connection_id":162944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637890304001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787648310000,"timestamp_ms":1787648310000,"timestamp_seconds":1787648310,"priority":1,"record_length":96,"hex_timestamp":"000001a038247af0"} 
[2026-08-25 14:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:29:46] 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-25 14:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637890304001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637890304001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637890304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":162944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:29:46] local.INFO: GPS data processed {"connection_id":162944,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:29:46] local.INFO: Acknowledgment sent {"connection_id":162944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:29:52] local.INFO: TCP Data received {"connection_id":161947,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:29:52] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:29:52] local.INFO: IMEI packet received {"connection_id":161947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":161947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:29:57] local.INFO: TCP Data received {"connection_id":161947,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:29:57] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:29:57] local.INFO: IMEI packet received {"connection_id":161947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":161947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:29:59] local.INFO: TCP Data received {"connection_id":161947,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038218908012d18af00072171980052013429..."} 
[2026-08-25 14:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038218908012d18af00072171980052013429..."} 
[2026-08-25 14:29:59] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038218908012d18af00072171980052013429..."} 
[2026-08-25 14:29:59] local.INFO: Packet analysis {"connection_id":161947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03821"} 
[2026-08-25 14:29:59] local.INFO: Extracted packet for processing {"connection_id":161947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03821"} 
[2026-08-25 14:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637912576001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787648117000,"timestamp_ms":1787648117000,"timestamp_seconds":1787648117,"priority":1,"record_length":96,"hex_timestamp":"000001a038218908"} 
[2026-08-25 14: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-25 14:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 14:29:59] 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-25 14: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-25 14: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-25 14:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637912576001,"66":12265,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637912576001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:29:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637912576001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":161947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:29:59] local.INFO: GPS data processed {"connection_id":161947,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:29:59] local.INFO: Acknowledgment sent {"connection_id":161947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:30:18] local.INFO: TCP Data received {"connection_id":162944,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:30:18] local.INFO: Processing buffer {"connection_id":162944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:30:18] local.INFO: Packet analysis {"connection_id":162944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:30:18] local.INFO: Extracted packet for processing {"connection_id":162944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637890304001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787648310000,"timestamp_ms":1787648310000,"timestamp_seconds":1787648310,"priority":1,"record_length":96,"hex_timestamp":"000001a038247af0"} 
[2026-08-25 14:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:30:18] 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-25 14:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637890304001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637890304001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637890304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":162944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:30:18] local.INFO: GPS data processed {"connection_id":162944,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:30:18] local.INFO: Acknowledgment sent {"connection_id":162944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:30:21] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:30:21] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:30:21] local.INFO: IMEI packet received {"connection_id":161948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":161948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:30:22] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:30:22] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:30:22] local.INFO: IMEI packet received {"connection_id":161948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":161948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:30:30] local.INFO: TCP Data received {"connection_id":161947,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038250f60012d18af00072171980052013429..."} 
[2026-08-25 14:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038250f60012d18af00072171980052013429..."} 
[2026-08-25 14:30:30] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038250f60012d18af00072171980052013429..."} 
[2026-08-25 14:30:30] local.INFO: Packet analysis {"connection_id":161947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03825"} 
[2026-08-25 14:30:30] local.INFO: Extracted packet for processing {"connection_id":161947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03825"} 
[2026-08-25 14:30:30] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637971712001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787648348000,"timestamp_ms":1787648348000,"timestamp_seconds":1787648348,"priority":1,"record_length":96,"hex_timestamp":"000001a038250f60"} 
[2026-08-25 14:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:30:30] 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-25 14:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-25 14:30:30] 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-25 14:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637971712001,"66":12287,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637971712001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:30:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:30:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637971712001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":161947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:30:30] local.INFO: GPS data processed {"connection_id":161947,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:30:30] local.INFO: Acknowledgment sent {"connection_id":161947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:30:45] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:30:45] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:30:45] local.INFO: IMEI packet received {"connection_id":161702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":161702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:30:49] local.INFO: TCP Data received {"connection_id":161703,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:30:49] local.INFO: Processing buffer {"connection_id":161703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:30:49] local.INFO: IMEI packet received {"connection_id":161703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":161703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:30:50] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:30:50] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:30:50] local.INFO: IMEI packet received {"connection_id":161702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":161702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:30:51] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:30:51] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:30:51] local.INFO: Packet analysis {"connection_id":161702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:30:51] local.INFO: Extracted packet for processing {"connection_id":161702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:30:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637890304001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787648310000,"timestamp_ms":1787648310000,"timestamp_seconds":1787648310,"priority":1,"record_length":96,"hex_timestamp":"000001a038247af0"} 
[2026-08-25 14: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-25 14:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:30: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-25 14:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637890304001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637890304001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:30:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637890304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":161702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:30:51] local.INFO: GPS data processed {"connection_id":161702,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:30:51] local.INFO: Acknowledgment sent {"connection_id":161702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:30:51] local.INFO: TCP Data received {"connection_id":161704,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:30:51] local.INFO: Processing buffer {"connection_id":161704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:30:51] local.INFO: IMEI packet received {"connection_id":161704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":161704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:30:53] local.INFO: TCP Data received {"connection_id":161704,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:30:53] local.INFO: Processing buffer {"connection_id":161704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:30:53] local.INFO: IMEI packet received {"connection_id":161704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":161704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:30:53] local.INFO: TCP Data received {"connection_id":161703,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:30:53] local.INFO: Processing buffer {"connection_id":161703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:30:53] local.INFO: IMEI packet received {"connection_id":161703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":161703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:30:55] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:30:55] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:30:55] local.INFO: Packet analysis {"connection_id":161702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:30:55] local.INFO: Extracted packet for processing {"connection_id":161702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:30:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637890304001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787648310000,"timestamp_ms":1787648310000,"timestamp_seconds":1787648310,"priority":1,"record_length":96,"hex_timestamp":"000001a038247af0"} 
[2026-08-25 14:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:30: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-25 14:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637890304001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637890304001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:30:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637890304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":161702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:30:55] local.INFO: GPS data processed {"connection_id":161702,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:30:55] local.INFO: Acknowledgment sent {"connection_id":161702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:30:57] local.INFO: TCP Data received {"connection_id":161703,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:30:57] local.INFO: Processing buffer {"connection_id":161703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:30:57] local.INFO: IMEI packet received {"connection_id":161703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":161703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:30:59] local.INFO: TCP Data received {"connection_id":161703,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038256168012d18af0007217198005201342c..."} 
[2026-08-25 14:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038256168012d18af0007217198005201342c..."} 
[2026-08-25 14:30:59] local.INFO: Processing buffer {"connection_id":161703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038256168012d18af0007217198005201342c..."} 
[2026-08-25 14:30:59] local.INFO: Packet analysis {"connection_id":161703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03825"} 
[2026-08-25 14:30:59] local.INFO: Extracted packet for processing {"connection_id":161703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03825"} 
[2026-08-25 14:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637977088001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787648369000,"timestamp_ms":1787648369000,"timestamp_seconds":1787648369,"priority":1,"record_length":96,"hex_timestamp":"000001a038256168"} 
[2026-08-25 14:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637977088001,"66":12265,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637977088001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:30:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:30:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637977088001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":161703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:30:59] local.INFO: GPS data processed {"connection_id":161703,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:30:59] local.INFO: Acknowledgment sent {"connection_id":161703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:31:03] local.INFO: TCP Data received {"connection_id":161703,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03825b370012d18af00072171980052013429..."} 
[2026-08-25 14:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03825b370012d18af00072171980052013429..."} 
[2026-08-25 14:31:03] local.INFO: Processing buffer {"connection_id":161703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03825b370012d18af00072171980052013429..."} 
[2026-08-25 14:31:03] local.INFO: Packet analysis {"connection_id":161703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03825"} 
[2026-08-25 14:31:03] local.INFO: Extracted packet for processing {"connection_id":161703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03825"} 
[2026-08-25 14:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637982464001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787648390000,"timestamp_ms":1787648390000,"timestamp_seconds":1787648390,"priority":1,"record_length":96,"hex_timestamp":"000001a03825b370"} 
[2026-08-25 14: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-25 14:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 14:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637982464001,"66":12232,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637982464001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:31:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637982464001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":161703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:31:03] local.INFO: GPS data processed {"connection_id":161703,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:31:03] local.INFO: Acknowledgment sent {"connection_id":161703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:31:35] local.INFO: TCP Data received {"connection_id":161703,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038260578012d18af0007217198005201342c..."} 
[2026-08-25 14:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038260578012d18af0007217198005201342c..."} 
[2026-08-25 14:31:35] local.INFO: Processing buffer {"connection_id":161703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038260578012d18af0007217198005201342c..."} 
[2026-08-25 14:31:35] local.INFO: Packet analysis {"connection_id":161703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03826"} 
[2026-08-25 14:31:35] local.INFO: Extracted packet for processing {"connection_id":161703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03826"} 
[2026-08-25 14:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637987840001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787648411000,"timestamp_ms":1787648411000,"timestamp_seconds":1787648411,"priority":1,"record_length":96,"hex_timestamp":"000001a038260578"} 
[2026-08-25 14:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:31: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-25 14:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 14:31:35] 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-25 14:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637987840001,"66":12232,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637987840001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:31:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:31:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637987840001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":161703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:31:35] local.INFO: GPS data processed {"connection_id":161703,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:31:35] local.INFO: Acknowledgment sent {"connection_id":161703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:31:40] local.INFO: TCP Data received {"connection_id":162946,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:31:40] local.INFO: Processing buffer {"connection_id":162946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:31:40] local.INFO: IMEI packet received {"connection_id":162946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":162946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:31:45] local.INFO: TCP Data received {"connection_id":162946,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:31:45] local.INFO: Processing buffer {"connection_id":162946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:31:45] local.INFO: IMEI packet received {"connection_id":162946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":162946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:31:46] local.INFO: TCP Data received {"connection_id":162946,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:31:46] local.INFO: Processing buffer {"connection_id":162946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:31:46] local.INFO: Packet analysis {"connection_id":162946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:31:46] local.INFO: Extracted packet for processing {"connection_id":162946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637890304001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:31:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787648310000,"timestamp_ms":1787648310000,"timestamp_seconds":1787648310,"priority":1,"record_length":96,"hex_timestamp":"000001a038247af0"} 
[2026-08-25 14:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637890304001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637890304001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637890304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":162946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:31:46] local.INFO: GPS data processed {"connection_id":162946,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:31:46] local.INFO: Acknowledgment sent {"connection_id":162946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:31:53] local.INFO: TCP Data received {"connection_id":161705,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:31:53] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:31:53] local.INFO: IMEI packet received {"connection_id":161705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":161705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:31:53] local.INFO: TCP Data received {"connection_id":161705,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:31:53] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:31:53] local.INFO: IMEI packet received {"connection_id":161705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":161705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:31:57] local.INFO: TCP Data received {"connection_id":161705,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:31:57] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:31:57] local.INFO: IMEI packet received {"connection_id":161705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":161705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:31:59] local.INFO: TCP Data received {"connection_id":161705,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038265780012d18af0007217198005201342a..."} 
[2026-08-25 14:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038265780012d18af0007217198005201342a..."} 
[2026-08-25 14:31:59] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038265780012d18af0007217198005201342a..."} 
[2026-08-25 14:31:59] local.INFO: Packet analysis {"connection_id":161705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03826"} 
[2026-08-25 14:31:59] local.INFO: Extracted packet for processing {"connection_id":161705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03826"} 
[2026-08-25 14:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":42,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637993216001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787648432000,"timestamp_ms":1787648432000,"timestamp_seconds":1787648432,"priority":1,"record_length":96,"hex_timestamp":"000001a038265780"} 
[2026-08-25 14: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-25 14:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 14:31:59] 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-25 14: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-25 14: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-25 14:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637993216001,"66":12156,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637993216001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:31:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637993216001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":161705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:31:59] local.INFO: GPS data processed {"connection_id":161705,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:31:59] local.INFO: Acknowledgment sent {"connection_id":161705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:32:18] local.INFO: TCP Data received {"connection_id":162946,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:32:18] local.INFO: Processing buffer {"connection_id":162946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:32:18] local.INFO: Packet analysis {"connection_id":162946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:32:18] local.INFO: Extracted packet for processing {"connection_id":162946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637890304001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:32:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787648310000,"timestamp_ms":1787648310000,"timestamp_seconds":1787648310,"priority":1,"record_length":96,"hex_timestamp":"000001a038247af0"} 
[2026-08-25 14: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-25 14:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:32:18] 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-25 14:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637890304001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637890304001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637890304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":162946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:32:18] local.INFO: GPS data processed {"connection_id":162946,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:32:18] local.INFO: Acknowledgment sent {"connection_id":162946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:32:30] local.INFO: TCP Data received {"connection_id":161705,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03826a988012d18af00072171980052013429..."} 
[2026-08-25 14:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03826a988012d18af00072171980052013429..."} 
[2026-08-25 14:32:30] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03826a988012d18af00072171980052013429..."} 
[2026-08-25 14:32:30] local.INFO: Packet analysis {"connection_id":161705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03826"} 
[2026-08-25 14:32:30] local.INFO: Extracted packet for processing {"connection_id":161705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03826"} 
[2026-08-25 14:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":41,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637998592001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787648453000,"timestamp_ms":1787648453000,"timestamp_seconds":1787648453,"priority":1,"record_length":96,"hex_timestamp":"000001a03826a988"} 
[2026-08-25 14:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:32:30] 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-25 14:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 14:32:30] 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-25 14:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637998592001,"66":12287,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637998592001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:32:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637998592001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":161705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:32:30] local.INFO: GPS data processed {"connection_id":161705,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:32:30] local.INFO: Acknowledgment sent {"connection_id":161705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:32:40] local.INFO: TCP Data received {"connection_id":164323,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:32:40] local.INFO: Processing buffer {"connection_id":164323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:32:40] local.INFO: IMEI packet received {"connection_id":164323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":164323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:32:46] local.INFO: TCP Data received {"connection_id":164323,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:32:46] local.INFO: Processing buffer {"connection_id":164323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:32:46] local.INFO: IMEI packet received {"connection_id":164323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":164323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:32:47] local.INFO: TCP Data received {"connection_id":164323,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:32:47] local.INFO: Processing buffer {"connection_id":164323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:32:47] local.INFO: Packet analysis {"connection_id":164323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:32:47] local.INFO: Extracted packet for processing {"connection_id":164323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637890304001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:32:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787648310000,"timestamp_ms":1787648310000,"timestamp_seconds":1787648310,"priority":1,"record_length":96,"hex_timestamp":"000001a038247af0"} 
[2026-08-25 14:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:32:47] 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-25 14:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637890304001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637890304001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637890304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":164323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:32:47] local.INFO: GPS data processed {"connection_id":164323,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:32:47] local.INFO: Acknowledgment sent {"connection_id":164323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:32:53] local.INFO: TCP Data received {"connection_id":164324,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:32:53] local.INFO: Processing buffer {"connection_id":164324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:32:53] local.INFO: IMEI packet received {"connection_id":164324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":164324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:32:55] local.INFO: TCP Data received {"connection_id":164324,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:32:55] local.INFO: Processing buffer {"connection_id":164324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:32:55] local.INFO: IMEI packet received {"connection_id":164324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":164324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:32:57] local.INFO: TCP Data received {"connection_id":164324,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03826fb90012d18af00072171980052013428..."} 
[2026-08-25 14:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03826fb90012d18af00072171980052013428..."} 
[2026-08-25 14:32:57] local.INFO: Processing buffer {"connection_id":164324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03826fb90012d18af00072171980052013428..."} 
[2026-08-25 14:32:57] local.INFO: Packet analysis {"connection_id":164324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03826"} 
[2026-08-25 14:32:57] local.INFO: Extracted packet for processing {"connection_id":164324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03826"} 
[2026-08-25 14:32:57] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":40,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638003968001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787648474000,"timestamp_ms":1787648474000,"timestamp_seconds":1787648474,"priority":1,"record_length":96,"hex_timestamp":"000001a03826fb90"} 
[2026-08-25 14:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:32:57] 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-25 14:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638003968001,"66":12232,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638003968001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:32:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:32:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638003968001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":164324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:32:57] local.INFO: GPS data processed {"connection_id":164324,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:32:57] local.INFO: Acknowledgment sent {"connection_id":164324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:33:16] local.INFO: TCP Data received {"connection_id":162945,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:33:16] local.INFO: Processing buffer {"connection_id":162945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:33:16] local.INFO: IMEI packet received {"connection_id":162945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 14:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":162945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:33:19] local.INFO: TCP Data received {"connection_id":164323,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:33:19] local.INFO: Processing buffer {"connection_id":164323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:33:19] local.INFO: Packet analysis {"connection_id":164323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:33:19] local.INFO: Extracted packet for processing {"connection_id":164323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637890304001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:33:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787648310000,"timestamp_ms":1787648310000,"timestamp_seconds":1787648310,"priority":1,"record_length":96,"hex_timestamp":"000001a038247af0"} 
[2026-08-25 14:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:33:19] 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-25 14:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637890304001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637890304001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637890304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":164323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:33:19] local.INFO: GPS data processed {"connection_id":164323,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:33:19] local.INFO: Acknowledgment sent {"connection_id":164323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:33:29] local.INFO: TCP Data received {"connection_id":164324,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038274d98012d18af0007217198005201342b..."} 
[2026-08-25 14:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038274d98012d18af0007217198005201342b..."} 
[2026-08-25 14:33:29] local.INFO: Processing buffer {"connection_id":164324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038274d98012d18af0007217198005201342b..."} 
[2026-08-25 14:33:29] local.INFO: Packet analysis {"connection_id":164324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03827"} 
[2026-08-25 14:33:29] local.INFO: Extracted packet for processing {"connection_id":164324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03827"} 
[2026-08-25 14:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638009344001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787648495000,"timestamp_ms":1787648495000,"timestamp_seconds":1787648495,"priority":1,"record_length":96,"hex_timestamp":"000001a038274d98"} 
[2026-08-25 14:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:33:29] 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-25 14:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 14:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638009344001,"66":12254,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638009344001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:33:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:33:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638009344001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":164324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:33:29] local.INFO: GPS data processed {"connection_id":164324,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:33:29] local.INFO: Acknowledgment sent {"connection_id":164324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:33:40] local.INFO: TCP Data received {"connection_id":164325,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:33:40] local.INFO: Processing buffer {"connection_id":164325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:33:40] local.INFO: IMEI packet received {"connection_id":164325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":164325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:33:42] local.INFO: TCP Data received {"connection_id":162950,"ip":"88.214.25.125","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-25 14:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162950,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-25 14:33:42] local.INFO: Processing buffer {"connection_id":162950,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-25 14:33:42] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162950,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-08-25 14:33:45] local.INFO: TCP Data received {"connection_id":164325,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:33:45] local.INFO: Processing buffer {"connection_id":164325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:33:45] local.INFO: IMEI packet received {"connection_id":164325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":164325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:33:45] local.INFO: TCP Data received {"connection_id":164325,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:33:45] local.INFO: Processing buffer {"connection_id":164325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038247af0012d34c14006aa4820000800e62e..."} 
[2026-08-25 14:33:45] local.INFO: Packet analysis {"connection_id":164325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:33:45] local.INFO: Extracted packet for processing {"connection_id":164325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03824"} 
[2026-08-25 14:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637890304001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:33:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787648310000,"timestamp_ms":1787648310000,"timestamp_seconds":1787648310,"priority":1,"record_length":96,"hex_timestamp":"000001a038247af0"} 
[2026-08-25 14:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637890304001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637890304001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637890304001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":164325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:33:45] local.INFO: GPS data processed {"connection_id":164325,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:33:45] local.INFO: Acknowledgment sent {"connection_id":164325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:33:52] local.INFO: TCP Data received {"connection_id":161706,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:33:52] local.INFO: Processing buffer {"connection_id":161706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:33:52] local.INFO: IMEI packet received {"connection_id":161706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":161706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:33:57] local.INFO: TCP Data received {"connection_id":161706,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:33:57] local.INFO: Processing buffer {"connection_id":161706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:33:57] local.INFO: IMEI packet received {"connection_id":161706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":161706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:33:59] local.INFO: TCP Data received {"connection_id":161706,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038279fa0012d18af0007217198005201342a..."} 
[2026-08-25 14:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038279fa0012d18af0007217198005201342a..."} 
[2026-08-25 14:33:59] local.INFO: Processing buffer {"connection_id":161706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038279fa0012d18af0007217198005201342a..."} 
[2026-08-25 14:33:59] local.INFO: Packet analysis {"connection_id":161706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03827"} 
[2026-08-25 14:33:59] local.INFO: Extracted packet for processing {"connection_id":161706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03827"} 
[2026-08-25 14:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":42,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638014720001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787648516000,"timestamp_ms":1787648516000,"timestamp_seconds":1787648516,"priority":1,"record_length":96,"hex_timestamp":"000001a038279fa0"} 
[2026-08-25 14: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-25 14:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-25 14:33:59] 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-25 14: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-25 14: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-25 14:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638014720001,"66":12265,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638014720001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:33:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:33:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638014720001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":161706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:33:59] local.INFO: GPS data processed {"connection_id":161706,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:33:59] local.INFO: Acknowledgment sent {"connection_id":161706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:34:17] local.INFO: TCP Data received {"connection_id":164325,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:34:17] local.INFO: Processing buffer {"connection_id":164325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:34:17] local.INFO: Packet analysis {"connection_id":164325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:34:17] local.INFO: Extracted packet for processing {"connection_id":164325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637967360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787648611000,"timestamp_ms":1787648611000,"timestamp_seconds":1787648611,"priority":1,"record_length":96,"hex_timestamp":"000001a0382912b8"} 
[2026-08-25 14:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637967360001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637967360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637967360001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":164325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:34:17] local.INFO: GPS data processed {"connection_id":164325,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:34:17] local.INFO: Acknowledgment sent {"connection_id":164325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:34:30] local.INFO: TCP Data received {"connection_id":161706,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03827f1a8012d18af0007217198005201342b..."} 
[2026-08-25 14:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03827f1a8012d18af0007217198005201342b..."} 
[2026-08-25 14:34:30] local.INFO: Processing buffer {"connection_id":161706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03827f1a8012d18af0007217198005201342b..."} 
[2026-08-25 14:34:30] local.INFO: Packet analysis {"connection_id":161706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03827"} 
[2026-08-25 14:34:30] local.INFO: Extracted packet for processing {"connection_id":161706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03827"} 
[2026-08-25 14:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638020096001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787648537000,"timestamp_ms":1787648537000,"timestamp_seconds":1787648537,"priority":1,"record_length":96,"hex_timestamp":"000001a03827f1a8"} 
[2026-08-25 14:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:34:30] 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-25 14:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 14:34:30] 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-25 14:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638020096001,"66":12232,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638020096001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:34:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:34:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638020096001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":161706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:34:30] local.INFO: GPS data processed {"connection_id":161706,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:34:30] local.INFO: Acknowledgment sent {"connection_id":161706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:34:45] local.INFO: TCP Data received {"connection_id":164326,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:34:45] local.INFO: Processing buffer {"connection_id":164326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:34:45] local.INFO: IMEI packet received {"connection_id":164326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":164326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:34:50] local.INFO: TCP Data received {"connection_id":164326,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:34:50] local.INFO: Processing buffer {"connection_id":164326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:34:50] local.INFO: IMEI packet received {"connection_id":164326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":164326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:34:52] local.INFO: TCP Data received {"connection_id":164326,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:34:52] local.INFO: Processing buffer {"connection_id":164326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:34:52] local.INFO: Packet analysis {"connection_id":164326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:34:52] local.INFO: Extracted packet for processing {"connection_id":164326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637967360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787648611000,"timestamp_ms":1787648611000,"timestamp_seconds":1787648611,"priority":1,"record_length":96,"hex_timestamp":"000001a0382912b8"} 
[2026-08-25 14:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637967360001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637967360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637967360001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":164326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:34:52] local.INFO: GPS data processed {"connection_id":164326,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:34:52] local.INFO: Acknowledgment sent {"connection_id":164326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:34:52] local.INFO: TCP Data received {"connection_id":162952,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:34:52] local.INFO: Processing buffer {"connection_id":162952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:34:52] local.INFO: IMEI packet received {"connection_id":162952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":162952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:34:56] local.INFO: TCP Data received {"connection_id":164326,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:34:56] local.INFO: Processing buffer {"connection_id":164326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:34:56] local.INFO: Packet analysis {"connection_id":164326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:34:56] local.INFO: Extracted packet for processing {"connection_id":164326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:34:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637967360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787648611000,"timestamp_ms":1787648611000,"timestamp_seconds":1787648611,"priority":1,"record_length":96,"hex_timestamp":"000001a0382912b8"} 
[2026-08-25 14: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-25 14:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637967360001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637967360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:34:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637967360001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":164326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:34:56] local.INFO: GPS data processed {"connection_id":164326,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:34:56] local.INFO: Acknowledgment sent {"connection_id":164326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:34:57] local.INFO: TCP Data received {"connection_id":162952,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:34:57] local.INFO: Processing buffer {"connection_id":162952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:34:57] local.INFO: IMEI packet received {"connection_id":162952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":162952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:34:59] local.INFO: TCP Data received {"connection_id":162952,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382843b0012d18af0007217198005201342d..."} 
[2026-08-25 14:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382843b0012d18af0007217198005201342d..."} 
[2026-08-25 14:34:59] local.INFO: Processing buffer {"connection_id":162952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382843b0012d18af0007217198005201342d..."} 
[2026-08-25 14:34:59] local.INFO: Packet analysis {"connection_id":162952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03828"} 
[2026-08-25 14:34:59] local.INFO: Extracted packet for processing {"connection_id":162952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03828"} 
[2026-08-25 14:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":45,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638025472001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787648558000,"timestamp_ms":1787648558000,"timestamp_seconds":1787648558,"priority":1,"record_length":96,"hex_timestamp":"000001a0382843b0"} 
[2026-08-25 14: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-25 14:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 14:34:59] 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-25 14: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-25 14: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-25 14:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638025472001,"66":12287,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638025472001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:34:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638025472001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":162952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:35:00] local.INFO: GPS data processed {"connection_id":162952,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:35:00] local.INFO: Acknowledgment sent {"connection_id":162952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:35:31] local.INFO: TCP Data received {"connection_id":162952,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382895b8012d18af0007217198005201342c..."} 
[2026-08-25 14:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382895b8012d18af0007217198005201342c..."} 
[2026-08-25 14:35:31] local.INFO: Processing buffer {"connection_id":162952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382895b8012d18af0007217198005201342c..."} 
[2026-08-25 14:35:31] local.INFO: Packet analysis {"connection_id":162952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03828"} 
[2026-08-25 14:35:31] local.INFO: Extracted packet for processing {"connection_id":162952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03828"} 
[2026-08-25 14:35:31] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638030848001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787648579000,"timestamp_ms":1787648579000,"timestamp_seconds":1787648579,"priority":1,"record_length":96,"hex_timestamp":"000001a0382895b8"} 
[2026-08-25 14:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:35:31] 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-25 14:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638030848001,"66":12287,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638030848001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:35:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638030848001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":162952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:35:31] local.INFO: GPS data processed {"connection_id":162952,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:35:31] local.INFO: Acknowledgment sent {"connection_id":162952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:35:40] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:35:40] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:35:40] local.INFO: IMEI packet received {"connection_id":161949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":161949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:35:45] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:35:45] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:35:45] local.INFO: IMEI packet received {"connection_id":161949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":161949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:35:46] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:35:46] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:35:46] local.INFO: Packet analysis {"connection_id":161949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:35:46] local.INFO: Extracted packet for processing {"connection_id":161949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637967360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:35:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787648611000,"timestamp_ms":1787648611000,"timestamp_seconds":1787648611,"priority":1,"record_length":96,"hex_timestamp":"000001a0382912b8"} 
[2026-08-25 14:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637967360001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637967360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637967360001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":161949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:35:46] local.INFO: GPS data processed {"connection_id":161949,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:35:46] local.INFO: Acknowledgment sent {"connection_id":161949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:35:52] local.INFO: TCP Data received {"connection_id":164328,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:35:52] local.INFO: Processing buffer {"connection_id":164328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:35:52] local.INFO: IMEI packet received {"connection_id":164328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":164328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:35:56] local.INFO: TCP Data received {"connection_id":164327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:35:56] local.INFO: Processing buffer {"connection_id":164327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:35:56] local.INFO: IMEI packet received {"connection_id":164327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":164327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:35:57] local.INFO: TCP Data received {"connection_id":164328,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:35:57] local.INFO: Processing buffer {"connection_id":164328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:35:57] local.INFO: IMEI packet received {"connection_id":164328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":164328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:35:58] local.INFO: TCP Data received {"connection_id":164327,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0382a2bf8012d9c7140056c9e28000a003031..."} 
[2026-08-25 14:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382a2bf8012d9c7140056c9e28000a003031..."} 
[2026-08-25 14:35:58] local.INFO: Processing buffer {"connection_id":164327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382a2bf8012d9c7140056c9e28000a003031..."} 
[2026-08-25 14:35:58] local.INFO: Packet analysis {"connection_id":164327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382a"} 
[2026-08-25 14:35:58] local.INFO: Extracted packet for processing {"connection_id":164327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382a"} 
[2026-08-25 14:35:58] local.INFO: GPS Element Parsed {"raw_longitude":765227328,"raw_latitude":91004456,"longitude_deg":76.5227328,"latitude_deg":9.1004456,"altitude":10,"angle":48,"satellites":49,"speed":1,"hex_longitude":"2d9c7140","hex_latitude":"056c9e28","is_valid_coordinates":true} 
[2026-08-25 14:35: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-25 14:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638060544001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123714578751160320,"note":"Value kept but may cause issues"} 
[2026-08-25 14:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7174445289336674304,"note":"Value kept but may cause issues"} 
[2026-08-25 14:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787648683000,"timestamp_ms":1787648683000,"timestamp_seconds":1787648683,"priority":1,"record_length":96,"hex_timestamp":"000001a0382a2bf8"} 
[2026-08-25 14:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 14:35:58] 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-25 14:35: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-25 14:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638060544001,"66":13417,"53":206,"84":8448,"24":1,"16":123714578751160320,"45":-7174445289336674304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-25 14:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638060544001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:35:58] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 14:35:58] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123714578751160320,"km_value":123714578751160.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7174445289336674304,"description":"Unknown IO ID 45"} 
[2026-08-25 14:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638060544001,"power":13417,"unknown_53":206,"unknown_84":8448,"ignition":1,"odometer":null,"unknown_45":-7174445289336674304}} 
[2026-08-25 14:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":164327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:35:58] local.INFO: GPS data processed {"connection_id":164327,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:35:58] local.INFO: Acknowledgment sent {"connection_id":164327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:35:59] local.INFO: TCP Data received {"connection_id":164328,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03828e7c0012d18af0007217198005201342c..."} 
[2026-08-25 14:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03828e7c0012d18af0007217198005201342c..."} 
[2026-08-25 14:35:59] local.INFO: Processing buffer {"connection_id":164328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03828e7c0012d18af0007217198005201342c..."} 
[2026-08-25 14:35:59] local.INFO: Packet analysis {"connection_id":164328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03828"} 
[2026-08-25 14:35:59] local.INFO: Extracted packet for processing {"connection_id":164328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03828"} 
[2026-08-25 14:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638036224001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787648600000,"timestamp_ms":1787648600000,"timestamp_seconds":1787648600,"priority":1,"record_length":96,"hex_timestamp":"000001a03828e7c0"} 
[2026-08-25 14: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-25 14:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14: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-25 14: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-25 14:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638036224001,"66":12287,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638036224001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:35:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638036224001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":164328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:35:59] local.INFO: GPS data processed {"connection_id":164328,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:35:59] local.INFO: Acknowledgment sent {"connection_id":164328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:36:17] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:36:17] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:36:17] local.INFO: Packet analysis {"connection_id":161949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:36:17] local.INFO: Extracted packet for processing {"connection_id":161949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637967360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787648611000,"timestamp_ms":1787648611000,"timestamp_seconds":1787648611,"priority":1,"record_length":96,"hex_timestamp":"000001a0382912b8"} 
[2026-08-25 14:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637967360001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637967360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:36:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637967360001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":161949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:36:17] local.INFO: GPS data processed {"connection_id":161949,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:36:17] local.INFO: Acknowledgment sent {"connection_id":161949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:36:30] local.INFO: TCP Data received {"connection_id":164328,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382939c8012d18af0007217198005201342c..."} 
[2026-08-25 14:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382939c8012d18af0007217198005201342c..."} 
[2026-08-25 14:36:30] local.INFO: Processing buffer {"connection_id":164328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382939c8012d18af0007217198005201342c..."} 
[2026-08-25 14:36:30] local.INFO: Packet analysis {"connection_id":164328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:36:30] local.INFO: Extracted packet for processing {"connection_id":164328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:36:30] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638041600001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787648621000,"timestamp_ms":1787648621000,"timestamp_seconds":1787648621,"priority":1,"record_length":96,"hex_timestamp":"000001a0382939c8"} 
[2026-08-25 14:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:36:30] 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-25 14:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638041600001,"66":12287,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638041600001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:36:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:36:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638041600001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":164328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:36:30] local.INFO: GPS data processed {"connection_id":164328,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:36:30] local.INFO: Acknowledgment sent {"connection_id":164328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:36:40] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:36:40] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:36:40] local.INFO: IMEI packet received {"connection_id":161707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":161707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:36:41] local.INFO: TCP Data received {"connection_id":161708,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:36:41] local.INFO: Processing buffer {"connection_id":161708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:36:41] local.INFO: IMEI packet received {"connection_id":161708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":161708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:36:45] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:36:45] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:36:45] local.INFO: IMEI packet received {"connection_id":161707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":161707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:36:46] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:36:46] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:36:46] local.INFO: Packet analysis {"connection_id":161707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:36:46] local.INFO: Extracted packet for processing {"connection_id":161707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637967360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787648611000,"timestamp_ms":1787648611000,"timestamp_seconds":1787648611,"priority":1,"record_length":96,"hex_timestamp":"000001a0382912b8"} 
[2026-08-25 14:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637967360001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637967360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637967360001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":161707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:36:46] local.INFO: GPS data processed {"connection_id":161707,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:36:46] local.INFO: Acknowledgment sent {"connection_id":161707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:36:46] local.INFO: TCP Data received {"connection_id":161708,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:36:46] local.INFO: Processing buffer {"connection_id":161708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:36:46] local.INFO: IMEI packet received {"connection_id":161708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":161708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:36:47] local.INFO: TCP Data received {"connection_id":161708,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0382a3b98012d9c7200056c9e98000b003c31..."} 
[2026-08-25 14:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382a3b98012d9c7200056c9e98000b003c31..."} 
[2026-08-25 14:36:47] local.INFO: Processing buffer {"connection_id":161708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382a3b98012d9c7200056c9e98000b003c31..."} 
[2026-08-25 14:36:47] local.INFO: Packet analysis {"connection_id":161708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382a"} 
[2026-08-25 14:36:47] local.INFO: Extracted packet for processing {"connection_id":161708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382a"} 
[2026-08-25 14:36:47] local.INFO: GPS Element Parsed {"raw_longitude":765227520,"raw_latitude":91004568,"longitude_deg":76.522752,"latitude_deg":9.1004568,"altitude":11,"angle":60,"satellites":49,"speed":2,"hex_longitude":"2d9c7200","hex_latitude":"056c9e98","is_valid_coordinates":true} 
[2026-08-25 14:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638062848001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123714591636062208,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7173882339383171072,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787648687000,"timestamp_ms":1787648687000,"timestamp_seconds":1787648687,"priority":1,"record_length":96,"hex_timestamp":"000001a0382a3b98"} 
[2026-08-25 14:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 14:36:47] 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-25 14:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638062848001,"66":13319,"53":206,"84":8448,"24":2,"16":123714591636062208,"45":-7173882339383171072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-25 14:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638062848001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:36:47] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 14:36:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123714591636062208,"km_value":123714591636062.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7173882339383171072,"description":"Unknown IO ID 45"} 
[2026-08-25 14:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638062848001,"power":13319,"unknown_53":206,"unknown_84":8448,"ignition":2,"odometer":null,"unknown_45":-7173882339383171072}} 
[2026-08-25 14:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":161708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:36:47] local.INFO: GPS data processed {"connection_id":161708,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:36:47] local.INFO: Acknowledgment sent {"connection_id":161708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:36:52] local.INFO: TCP Data received {"connection_id":162953,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:36:52] local.INFO: Processing buffer {"connection_id":162953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:36:52] local.INFO: IMEI packet received {"connection_id":162953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":162953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:36:57] local.INFO: TCP Data received {"connection_id":162953,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:36:57] local.INFO: Processing buffer {"connection_id":162953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:36:57] local.INFO: IMEI packet received {"connection_id":162953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":162953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:36:59] local.INFO: TCP Data received {"connection_id":162953,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038298bd0012d18af0007217198005201342c..."} 
[2026-08-25 14:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038298bd0012d18af0007217198005201342c..."} 
[2026-08-25 14:36:59] local.INFO: Processing buffer {"connection_id":162953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038298bd0012d18af0007217198005201342c..."} 
[2026-08-25 14:36:59] local.INFO: Packet analysis {"connection_id":162953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:36:59] local.INFO: Extracted packet for processing {"connection_id":162953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638046976001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787648642000,"timestamp_ms":1787648642000,"timestamp_seconds":1787648642,"priority":1,"record_length":96,"hex_timestamp":"000001a038298bd0"} 
[2026-08-25 14:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638046976001,"66":12287,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638046976001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:36:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638046976001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":162953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:36:59] local.INFO: GPS data processed {"connection_id":162953,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:36:59] local.INFO: Acknowledgment sent {"connection_id":162953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:37:17] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:37:17] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:37:17] local.INFO: Packet analysis {"connection_id":161707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:37:17] local.INFO: Extracted packet for processing {"connection_id":161707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637967360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787648611000,"timestamp_ms":1787648611000,"timestamp_seconds":1787648611,"priority":1,"record_length":96,"hex_timestamp":"000001a0382912b8"} 
[2026-08-25 14:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637967360001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637967360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637967360001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":161707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:37:17] local.INFO: GPS data processed {"connection_id":161707,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:37:17] local.INFO: Acknowledgment sent {"connection_id":161707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:37:30] local.INFO: TCP Data received {"connection_id":162953,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03829ddd8012d18af0007217198005201342c..."} 
[2026-08-25 14:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03829ddd8012d18af0007217198005201342c..."} 
[2026-08-25 14:37:30] local.INFO: Processing buffer {"connection_id":162953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03829ddd8012d18af0007217198005201342c..."} 
[2026-08-25 14:37:30] local.INFO: Packet analysis {"connection_id":162953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:37:30] local.INFO: Extracted packet for processing {"connection_id":162953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:37:30] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638052352001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787648663000,"timestamp_ms":1787648663000,"timestamp_seconds":1787648663,"priority":1,"record_length":96,"hex_timestamp":"000001a03829ddd8"} 
[2026-08-25 14:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638052352001,"66":12211,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638052352001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:37:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:37:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638052352001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":162953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:37:30] local.INFO: GPS data processed {"connection_id":162953,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:37:30] local.INFO: Acknowledgment sent {"connection_id":162953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:37:36] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:37:36] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:37:36] local.INFO: IMEI packet received {"connection_id":161950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":161950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:37:39] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:37:39] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:37:39] local.INFO: IMEI packet received {"connection_id":161950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":161950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:37:40] local.INFO: TCP Data received {"connection_id":164330,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:37:40] local.INFO: Processing buffer {"connection_id":164330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:37:40] local.INFO: IMEI packet received {"connection_id":164330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":164330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:37:41] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:37:41] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:37:41] local.INFO: IMEI packet received {"connection_id":161950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":161950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:37:41] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0382c8d58012d9c8c40056c6938000f008e30..."} 
[2026-08-25 14:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382c8d58012d9c8c40056c6938000f008e30..."} 
[2026-08-25 14:37:41] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382c8d58012d9c8c40056c6938000f008e30..."} 
[2026-08-25 14:37:41] local.INFO: Packet analysis {"connection_id":161950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382c"} 
[2026-08-25 14:37:41] local.INFO: Extracted packet for processing {"connection_id":161950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382c"} 
[2026-08-25 14:37:41] local.INFO: GPS Element Parsed {"raw_longitude":765234240,"raw_latitude":90990904,"longitude_deg":76.523424,"latitude_deg":9.0990904,"altitude":15,"angle":142,"satellites":48,"speed":39,"hex_longitude":"2d9c8c40","hex_latitude":"056c6938","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638100224001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123715510759063552,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7172756439478022144,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787648839000,"timestamp_ms":1787648839000,"timestamp_seconds":1787648839,"priority":1,"record_length":96,"hex_timestamp":"000001a0382c8d58"} 
[2026-08-25 14: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-25 14:37: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-25 14: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626117,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2624061445,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5222525200796483584,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2578448396,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633247475734069,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2520056014,"corrected_to":0} 
[2026-08-25 14:37:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":655593,"corrected_to":0} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796875369565780,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2245853184,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":156,"raw_value":7710168526069694474,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.WARNING: Large IO value detected {"io_id":33,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:41] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,53,84,24,241,157,16,134,160,67,45,149,13,47,10,66,133,63,128,59,1,240,34,227,56,108,4,113,205,6,229,107,200,44,239,52,2,183,5,156,33],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2520056014,"validated":0},{"io_id":200,"original":655593,"validated":0}]} 
[2026-08-25 14:37:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081013646015922176,"timestamp_seconds":1081013646015922.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14: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-25 14:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638100224001,"66":13428,"13":206,"84":8448,"24":39,"16":123715510759063552,"45":-7172756439478022144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,84,24,16,45]} 
[2026-08-25 14:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638100224001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:37:41] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-25 14:37:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123715510759063552,"km_value":123715510759063.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7172756439478022144,"description":"Unknown IO ID 45"} 
[2026-08-25 14:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638100224001,"power":13428,"unknown_13":206,"unknown_84":8448,"ignition":39,"odometer":null,"unknown_45":-7172756439478022144}} 
[2026-08-25 14:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":161950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:37:41] local.INFO: GPS data processed {"connection_id":161950,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:37:41] local.INFO: Acknowledgment sent {"connection_id":161950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:37:47] local.INFO: TCP Data received {"connection_id":164330,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:37:47] local.INFO: Processing buffer {"connection_id":164330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:37:47] local.INFO: IMEI packet received {"connection_id":164330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":164330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:37:48] local.INFO: TCP Data received {"connection_id":164330,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:37:48] local.INFO: Processing buffer {"connection_id":164330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:37:48] local.INFO: Packet analysis {"connection_id":164330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:37:48] local.INFO: Extracted packet for processing {"connection_id":164330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 14:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637967360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787648611000,"timestamp_ms":1787648611000,"timestamp_seconds":1787648611,"priority":1,"record_length":96,"hex_timestamp":"000001a0382912b8"} 
[2026-08-25 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-25 14:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 14:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637967360001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637967360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637967360001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":164330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:37:48] local.INFO: GPS data processed {"connection_id":164330,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:37:48] local.INFO: Acknowledgment sent {"connection_id":164330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:37:57] local.INFO: TCP Data received {"connection_id":161709,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:37:57] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:37:57] local.INFO: IMEI packet received {"connection_id":161709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":161709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:38:02] local.INFO: TCP Data received {"connection_id":161709,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:38:02] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:38:02] local.INFO: IMEI packet received {"connection_id":161709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":161709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:38:04] local.INFO: TCP Data received {"connection_id":161709,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382a2fe0012d18af0007217198005201342f..."} 
[2026-08-25 14:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382a2fe0012d18af0007217198005201342f..."} 
[2026-08-25 14:38:04] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382a2fe0012d18af0007217198005201342f..."} 
[2026-08-25 14:38:04] local.INFO: Packet analysis {"connection_id":161709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382a"} 
[2026-08-25 14:38:04] local.INFO: Extracted packet for processing {"connection_id":161709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382a"} 
[2026-08-25 14:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":47,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638057728001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787648684000,"timestamp_ms":1787648684000,"timestamp_seconds":1787648684,"priority":1,"record_length":96,"hex_timestamp":"000001a0382a2fe0"} 
[2026-08-25 14: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-25 14:38: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-25 14: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 14:38:04] 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-25 14: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-25 14: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-25 14:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638057728001,"66":12287,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638057728001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:38:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638057728001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":161709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:38:04] local.INFO: GPS data processed {"connection_id":161709,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:38:04] local.INFO: Acknowledgment sent {"connection_id":161709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:38:08] local.INFO: TCP Data received {"connection_id":161709,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382a81e8012d18af0007217198005201342e..."} 
[2026-08-25 14:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382a81e8012d18af0007217198005201342e..."} 
[2026-08-25 14:38:08] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382a81e8012d18af0007217198005201342e..."} 
[2026-08-25 14:38:08] local.INFO: Packet analysis {"connection_id":161709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382a"} 
[2026-08-25 14:38:08] local.INFO: Extracted packet for processing {"connection_id":161709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382a"} 
[2026-08-25 14:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":46,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638063104001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787648705000,"timestamp_ms":1787648705000,"timestamp_seconds":1787648705,"priority":1,"record_length":96,"hex_timestamp":"000001a0382a81e8"} 
[2026-08-25 14:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:38: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-25 14:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638063104001,"66":12113,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638063104001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:38:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:38:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638063104001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":161709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:38:08] local.INFO: GPS data processed {"connection_id":161709,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:38:08] local.INFO: Acknowledgment sent {"connection_id":161709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:38:13] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0382cb468012d9ca280056c4b78000e00912f..."} 
[2026-08-25 14:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382cb468012d9ca280056c4b78000e00912f..."} 
[2026-08-25 14:38:13] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382cb468012d9ca280056c4b78000e00912f..."} 
[2026-08-25 14:38:13] local.INFO: Packet analysis {"connection_id":161950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382c"} 
[2026-08-25 14:38:13] local.INFO: Extracted packet for processing {"connection_id":161950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382c"} 
[2026-08-25 14:38:13] local.INFO: GPS Element Parsed {"raw_longitude":765239936,"raw_latitude":90983288,"longitude_deg":76.5239936,"latitude_deg":9.0983288,"altitude":14,"angle":145,"satellites":47,"speed":40,"hex_longitude":"2d9ca280","hex_latitude":"056c4b78","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638102784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123715970320564224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7166282515015452672,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787648849000,"timestamp_ms":1787648849000,"timestamp_seconds":1787648849,"priority":1,"record_length":96,"hex_timestamp":"000001a0382cb468"} 
[2026-08-25 14: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-25 14:38: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-25 14: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 14:38: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-25 14: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-25 14: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-25 14:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638102784001,"66":13678,"13":206,"84":8448,"24":40,"16":123715970320564224,"45":-7166282515015452672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,84,24,16,45]} 
[2026-08-25 14:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638102784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:38:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-25 14:38:13] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123715970320564224,"km_value":123715970320564.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7166282515015452672,"description":"Unknown IO ID 45"} 
[2026-08-25 14:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638102784001,"power":13678,"unknown_13":206,"unknown_84":8448,"ignition":40,"odometer":null,"unknown_45":-7166282515015452672}} 
[2026-08-25 14:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":161950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:38:13] local.INFO: GPS data processed {"connection_id":161950,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:38:13] local.INFO: Acknowledgment sent {"connection_id":161950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:38:20] local.INFO: TCP Data received {"connection_id":164330,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:38:20] local.INFO: Processing buffer {"connection_id":164330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:38:20] local.INFO: Packet analysis {"connection_id":164330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:38:20] local.INFO: Extracted packet for processing {"connection_id":164330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637967360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787648611000,"timestamp_ms":1787648611000,"timestamp_seconds":1787648611,"priority":1,"record_length":96,"hex_timestamp":"000001a0382912b8"} 
[2026-08-25 14: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-25 14:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:38: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-25 14:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637967360001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637967360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637967360001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":164330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:38:20] local.INFO: GPS data processed {"connection_id":164330,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:38:20] local.INFO: Acknowledgment sent {"connection_id":164330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:38:39] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:38:39] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:38:39] local.INFO: IMEI packet received {"connection_id":161710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":161710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:38:45] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:38:45] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:38:45] local.INFO: IMEI packet received {"connection_id":161710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":161710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:38:46] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:38:46] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382912b8012d34c14006aa4820000300e62e..."} 
[2026-08-25 14:38:46] local.INFO: Packet analysis {"connection_id":161710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:38:46] local.INFO: Extracted packet for processing {"connection_id":161710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03829"} 
[2026-08-25 14:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457637967360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787648611000,"timestamp_ms":1787648611000,"timestamp_seconds":1787648611,"priority":1,"record_length":96,"hex_timestamp":"000001a0382912b8"} 
[2026-08-25 14:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457637967360001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457637967360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457637967360001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":161710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:38:46] local.INFO: GPS data processed {"connection_id":161710,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:38:46] local.INFO: Acknowledgment sent {"connection_id":161710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:38:51] local.INFO: TCP Data received {"connection_id":164329,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:38:51] local.INFO: Processing buffer {"connection_id":164329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:38:51] local.INFO: IMEI packet received {"connection_id":164329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 14:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":164329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:38:53] local.INFO: TCP Data received {"connection_id":161951,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:38:53] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:38:53] local.INFO: IMEI packet received {"connection_id":161951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":161951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:38:53] local.INFO: TCP Data received {"connection_id":161951,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:38:53] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:38:53] local.INFO: IMEI packet received {"connection_id":161951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":161951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:38:57] local.INFO: TCP Data received {"connection_id":161951,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:38:57] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:38:57] local.INFO: IMEI packet received {"connection_id":161951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":161951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:38:59] local.INFO: TCP Data received {"connection_id":161951,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382ad3f0012d18af0007217198005201342d..."} 
[2026-08-25 14:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382ad3f0012d18af0007217198005201342d..."} 
[2026-08-25 14:38:59] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382ad3f0012d18af0007217198005201342d..."} 
[2026-08-25 14:38:59] local.INFO: Packet analysis {"connection_id":161951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382a"} 
[2026-08-25 14:38:59] local.INFO: Extracted packet for processing {"connection_id":161951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382a"} 
[2026-08-25 14:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":45,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638068480001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787648726000,"timestamp_ms":1787648726000,"timestamp_seconds":1787648726,"priority":1,"record_length":96,"hex_timestamp":"000001a0382ad3f0"} 
[2026-08-25 14:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-25 14:38:59] 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-25 14:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638068480001,"66":12287,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638068480001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:38:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638068480001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":161951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:38:59] local.INFO: GPS data processed {"connection_id":161951,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:38:59] local.INFO: Acknowledgment sent {"connection_id":161951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:39:03] local.INFO: TCP Data received {"connection_id":161951,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382b25f8012d18af0007217198005201342d..."} 
[2026-08-25 14:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382b25f8012d18af0007217198005201342d..."} 
[2026-08-25 14:39:03] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382b25f8012d18af0007217198005201342d..."} 
[2026-08-25 14:39:03] local.INFO: Packet analysis {"connection_id":161951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382b"} 
[2026-08-25 14:39:03] local.INFO: Extracted packet for processing {"connection_id":161951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382b"} 
[2026-08-25 14:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":45,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638073856001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787648747000,"timestamp_ms":1787648747000,"timestamp_seconds":1787648747,"priority":1,"record_length":96,"hex_timestamp":"000001a0382b25f8"} 
[2026-08-25 14: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-25 14:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 14:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638073856001,"66":12254,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638073856001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:39:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:39:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638073856001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":161951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:39:03] local.INFO: GPS data processed {"connection_id":161951,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:39:03] local.INFO: Acknowledgment sent {"connection_id":161951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:39:16] local.INFO: TCP Data received {"connection_id":162954,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:16] local.INFO: Processing buffer {"connection_id":162954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:16] local.INFO: IMEI packet received {"connection_id":162954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":162954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:39:17] local.INFO: TCP Data received {"connection_id":162954,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:17] local.INFO: Processing buffer {"connection_id":162954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:17] local.INFO: IMEI packet received {"connection_id":162954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":162954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:39:18] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:39:18] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:39:18] local.INFO: Packet analysis {"connection_id":161710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:39:18] local.INFO: Extracted packet for processing {"connection_id":161710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638044416001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787648912000,"timestamp_ms":1787648912000,"timestamp_seconds":1787648912,"priority":1,"record_length":96,"hex_timestamp":"000001a0382daa80"} 
[2026-08-25 14:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 14:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638044416001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638044416001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638044416001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":161710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:39:18] local.INFO: GPS data processed {"connection_id":161710,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:39:18] local.INFO: Acknowledgment sent {"connection_id":161710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:39:21] local.INFO: TCP Data received {"connection_id":162954,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:21] local.INFO: Processing buffer {"connection_id":162954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:21] local.INFO: IMEI packet received {"connection_id":162954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":162954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:39:22] local.INFO: TCP Data received {"connection_id":162954,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0382e2398012d9d2d00056b0028000c009e31..."} 
[2026-08-25 14:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382e2398012d9d2d00056b0028000c009e31..."} 
[2026-08-25 14:39:22] local.INFO: Processing buffer {"connection_id":162954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382e2398012d9d2d00056b0028000c009e31..."} 
[2026-08-25 14:39:22] local.INFO: Packet analysis {"connection_id":162954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382e"} 
[2026-08-25 14:39:22] local.INFO: Extracted packet for processing {"connection_id":162954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382e"} 
[2026-08-25 14:39:22] local.INFO: GPS Element Parsed {"raw_longitude":765275392,"raw_latitude":90898472,"longitude_deg":76.5275392,"latitude_deg":9.0898472,"altitude":12,"angle":158,"satellites":49,"speed":65,"hex_longitude":"2d9d2d00","hex_latitude":"056b0028","is_valid_coordinates":true} 
[2026-08-25 14:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638127872001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123720437086552064,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7125187168437002240,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787648943000,"timestamp_ms":1787648943000,"timestamp_seconds":1787648943,"priority":1,"record_length":96,"hex_timestamp":"000001a0382e2398"} 
[2026-08-25 14:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 14:39:22] 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-25 14:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638127872001,"66":13406,"51":206,"84":8448,"24":65,"16":123720437086552064,"45":-7125187168437002240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-25 14:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638127872001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:39:22] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-25 14:39:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123720437086552064,"km_value":123720437086552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7125187168437002240,"description":"Unknown IO ID 45"} 
[2026-08-25 14:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638127872001,"power":13406,"unknown_51":206,"unknown_84":8448,"ignition":65,"odometer":null,"unknown_45":-7125187168437002240}} 
[2026-08-25 14:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":162954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:39:22] local.INFO: GPS data processed {"connection_id":162954,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:39:22] local.INFO: Acknowledgment sent {"connection_id":162954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:39:35] local.INFO: TCP Data received {"connection_id":161951,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382b7800012d18af0007217198005201342d..."} 
[2026-08-25 14:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382b7800012d18af0007217198005201342d..."} 
[2026-08-25 14:39:35] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382b7800012d18af0007217198005201342d..."} 
[2026-08-25 14:39:35] local.INFO: Packet analysis {"connection_id":161951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382b"} 
[2026-08-25 14:39:35] local.INFO: Extracted packet for processing {"connection_id":161951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382b"} 
[2026-08-25 14:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":45,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638079232001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787648768000,"timestamp_ms":1787648768000,"timestamp_seconds":1787648768,"priority":1,"record_length":96,"hex_timestamp":"000001a0382b7800"} 
[2026-08-25 14: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-25 14:39: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-25 14: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-25 14:39: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-25 14: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-25 14: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-25 14:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638079232001,"66":12265,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638079232001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:39:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:39:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638079232001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":161951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:39:35] local.INFO: GPS data processed {"connection_id":161951,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:39:35] local.INFO: Acknowledgment sent {"connection_id":161951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:39:45] local.INFO: TCP Data received {"connection_id":161952,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:39:45] local.INFO: Processing buffer {"connection_id":161952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:39:45] local.INFO: IMEI packet received {"connection_id":161952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":161952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:39:46] local.INFO: TCP Data received {"connection_id":164331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:46] local.INFO: Processing buffer {"connection_id":164331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:46] local.INFO: IMEI packet received {"connection_id":164331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":164331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:39:46] local.INFO: TCP Data received {"connection_id":164331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:46] local.INFO: Processing buffer {"connection_id":164331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:46] local.INFO: IMEI packet received {"connection_id":164331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":164331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:39:50] local.INFO: TCP Data received {"connection_id":161952,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:39:50] local.INFO: Processing buffer {"connection_id":161952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:39:50] local.INFO: IMEI packet received {"connection_id":161952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":161952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:39:50] local.INFO: TCP Data received {"connection_id":161952,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:39:50] local.INFO: Processing buffer {"connection_id":161952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:39:50] local.INFO: Packet analysis {"connection_id":161952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:39:50] local.INFO: Extracted packet for processing {"connection_id":161952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:39:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 14:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638044416001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787648912000,"timestamp_ms":1787648912000,"timestamp_seconds":1787648912,"priority":1,"record_length":96,"hex_timestamp":"000001a0382daa80"} 
[2026-08-25 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-25 14:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 14:39: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-25 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-25 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-25 14:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14: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-25 14:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638044416001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638044416001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:39:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638044416001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":161952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:39:51] local.INFO: GPS data processed {"connection_id":161952,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:39:51] local.INFO: Acknowledgment sent {"connection_id":161952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:39:51] local.INFO: TCP Data received {"connection_id":164331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:51] local.INFO: Processing buffer {"connection_id":164331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:39:51] local.INFO: IMEI packet received {"connection_id":164331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":164331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:39:52] local.INFO: TCP Data received {"connection_id":164331,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0382e3b08012d9d3b80056adc00000b009e31..."} 
[2026-08-25 14:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382e3b08012d9d3b80056adc00000b009e31..."} 
[2026-08-25 14:39:52] local.INFO: Processing buffer {"connection_id":164331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382e3b08012d9d3b80056adc00000b009e31..."} 
[2026-08-25 14:39:52] local.INFO: Packet analysis {"connection_id":164331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382e"} 
[2026-08-25 14:39:52] local.INFO: Extracted packet for processing {"connection_id":164331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382e"} 
[2026-08-25 14:39:52] local.INFO: GPS Element Parsed {"raw_longitude":765279104,"raw_latitude":90889216,"longitude_deg":76.5279104,"latitude_deg":9.0889216,"altitude":11,"angle":158,"satellites":49,"speed":65,"hex_longitude":"2d9d3b80","hex_latitude":"056adc00","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638129408001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123720918122889216,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7121035412532877312,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787648949000,"timestamp_ms":1787648949000,"timestamp_seconds":1787648949,"priority":1,"record_length":96,"hex_timestamp":"000001a0382e3b08"} 
[2026-08-25 14: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-25 14:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 14:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638129408001,"66":13363,"51":206,"84":8448,"24":65,"16":123720918122889216,"45":-7121035412532877312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-25 14:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638129408001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:39:52] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-25 14:39:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123720918122889216,"km_value":123720918122889.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7121035412532877312,"description":"Unknown IO ID 45"} 
[2026-08-25 14:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638129408001,"power":13363,"unknown_51":206,"unknown_84":8448,"ignition":65,"odometer":null,"unknown_45":-7121035412532877312}} 
[2026-08-25 14:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":164331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:39:52] local.INFO: GPS data processed {"connection_id":164331,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:39:52] local.INFO: Acknowledgment sent {"connection_id":164331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:39:52] local.INFO: TCP Data received {"connection_id":164332,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:39:52] local.INFO: Processing buffer {"connection_id":164332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:39:52] local.INFO: IMEI packet received {"connection_id":164332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":164332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:39:55] local.INFO: TCP Data received {"connection_id":161952,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:39:55] local.INFO: Processing buffer {"connection_id":161952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:39:55] local.INFO: Packet analysis {"connection_id":161952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:39:55] local.INFO: Extracted packet for processing {"connection_id":161952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:39:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638044416001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787648912000,"timestamp_ms":1787648912000,"timestamp_seconds":1787648912,"priority":1,"record_length":96,"hex_timestamp":"000001a0382daa80"} 
[2026-08-25 14:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 14:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 14:39: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-25 14:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:39: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-25 14:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638044416001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638044416001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:39:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638044416001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":161952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:39:55] local.INFO: GPS data processed {"connection_id":161952,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:39:55] local.INFO: Acknowledgment sent {"connection_id":161952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:39:55] local.INFO: TCP Data received {"connection_id":164332,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:39:55] local.INFO: Processing buffer {"connection_id":164332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:39:55] local.INFO: IMEI packet received {"connection_id":164332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":164332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:39:57] local.INFO: TCP Data received {"connection_id":164332,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382bca08012d18af0007217198005201342b..."} 
[2026-08-25 14:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382bca08012d18af0007217198005201342b..."} 
[2026-08-25 14:39:57] local.INFO: Processing buffer {"connection_id":164332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382bca08012d18af0007217198005201342b..."} 
[2026-08-25 14:39:57] local.INFO: Packet analysis {"connection_id":164332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382b"} 
[2026-08-25 14:39:57] local.INFO: Extracted packet for processing {"connection_id":164332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382b"} 
[2026-08-25 14:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638084608001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787648789000,"timestamp_ms":1787648789000,"timestamp_seconds":1787648789,"priority":1,"record_length":96,"hex_timestamp":"000001a0382bca08"} 
[2026-08-25 14:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 14:39:57] 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-25 14:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638084608001,"66":12254,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638084608001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:39:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:39:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638084608001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":164332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:39:57] local.INFO: GPS data processed {"connection_id":164332,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:39:57] local.INFO: Acknowledgment sent {"connection_id":164332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:40:28] local.INFO: TCP Data received {"connection_id":164332,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382c1c10012d18af0007217198005201342a..."} 
[2026-08-25 14:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382c1c10012d18af0007217198005201342a..."} 
[2026-08-25 14:40:28] local.INFO: Processing buffer {"connection_id":164332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382c1c10012d18af0007217198005201342a..."} 
[2026-08-25 14:40:28] local.INFO: Packet analysis {"connection_id":164332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382c"} 
[2026-08-25 14:40:28] local.INFO: Extracted packet for processing {"connection_id":164332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382c"} 
[2026-08-25 14:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":42,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638089984001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787648810000,"timestamp_ms":1787648810000,"timestamp_seconds":1787648810,"priority":1,"record_length":96,"hex_timestamp":"000001a0382c1c10"} 
[2026-08-25 14:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-25 14:40:28] 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-25 14:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638089984001,"66":11852,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638089984001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:40:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:40:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638089984001,"power":11852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":164332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:40:28] local.INFO: GPS data processed {"connection_id":164332,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:40:28] local.INFO: Acknowledgment sent {"connection_id":164332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:40:40] local.INFO: TCP Data received {"connection_id":161953,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:40:40] local.INFO: Processing buffer {"connection_id":161953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:40:40] local.INFO: IMEI packet received {"connection_id":161953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":161953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:40:45] local.INFO: TCP Data received {"connection_id":161953,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:40:45] local.INFO: Processing buffer {"connection_id":161953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:40:45] local.INFO: IMEI packet received {"connection_id":161953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":161953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:40:46] local.INFO: TCP Data received {"connection_id":162955,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:40:46] local.INFO: Processing buffer {"connection_id":162955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:40:46] local.INFO: IMEI packet received {"connection_id":162955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":162955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:40:46] local.INFO: TCP Data received {"connection_id":161953,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:40:46] local.INFO: Processing buffer {"connection_id":161953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:40:46] local.INFO: Packet analysis {"connection_id":161953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:40:46] local.INFO: Extracted packet for processing {"connection_id":161953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638044416001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:40:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787648912000,"timestamp_ms":1787648912000,"timestamp_seconds":1787648912,"priority":1,"record_length":96,"hex_timestamp":"000001a0382daa80"} 
[2026-08-25 14:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 14:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638044416001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638044416001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638044416001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":161953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:40:46] local.INFO: GPS data processed {"connection_id":161953,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:40:46] local.INFO: Acknowledgment sent {"connection_id":161953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:40:48] local.INFO: TCP Data received {"connection_id":162955,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:40:48] local.INFO: Processing buffer {"connection_id":162955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:40:48] local.INFO: IMEI packet received {"connection_id":162955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":162955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:40:51] local.INFO: TCP Data received {"connection_id":162955,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:40:51] local.INFO: Processing buffer {"connection_id":162955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:40:51] local.INFO: IMEI packet received {"connection_id":162955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":162955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:40:53] local.INFO: TCP Data received {"connection_id":162956,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:40:53] local.INFO: Processing buffer {"connection_id":162956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:40:53] local.INFO: IMEI packet received {"connection_id":162956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":162956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:40:56] local.INFO: TCP Data received {"connection_id":162955,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:40:56] local.INFO: Processing buffer {"connection_id":162955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:40:56] local.INFO: IMEI packet received {"connection_id":162955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":162955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:40:57] local.INFO: TCP Data received {"connection_id":162955,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0382f67d0012d9dbdc005697db8000d00a02e..."} 
[2026-08-25 14:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382f67d0012d9dbdc005697db8000d00a02e..."} 
[2026-08-25 14:40:57] local.INFO: Processing buffer {"connection_id":162955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382f67d0012d9dbdc005697db8000d00a02e..."} 
[2026-08-25 14:40:57] local.INFO: Packet analysis {"connection_id":162955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382f"} 
[2026-08-25 14:40:57] local.INFO: Extracted packet for processing {"connection_id":162955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382f"} 
[2026-08-25 14:40:57] local.INFO: GPS Element Parsed {"raw_longitude":765312448,"raw_latitude":90799544,"longitude_deg":76.5312448,"latitude_deg":9.0799544,"altitude":13,"angle":160,"satellites":46,"speed":46,"hex_longitude":"2d9dbdc0","hex_latitude":"05697db8","is_valid_coordinates":true} 
[2026-08-25 14:40: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-25 14:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638148608001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725556687568896,"note":"Value kept but may cause issues"} 
[2026-08-25 14:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7083739978141632512,"note":"Value kept but may cause issues"} 
[2026-08-25 14:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787649026000,"timestamp_ms":1787649026000,"timestamp_seconds":1787649026,"priority":1,"record_length":96,"hex_timestamp":"000001a0382f67d0"} 
[2026-08-25 14:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-25 14:40:57] 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-25 14:40: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-25 14:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638148608001,"66":13319,"193":206,"84":8448,"24":46,"16":123725556687568896,"45":-7083739978141632512},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-08-25 14:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638148608001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:40:57] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-25 14:40:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725556687568896,"km_value":123725556687568.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7083739978141632512,"description":"Unknown IO ID 45"} 
[2026-08-25 14:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638148608001,"power":13319,"unknown_193":206,"unknown_84":8448,"ignition":46,"odometer":null,"unknown_45":-7083739978141632512}} 
[2026-08-25 14:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":162955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:40:57] local.INFO: GPS data processed {"connection_id":162955,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:40:57] local.INFO: Acknowledgment sent {"connection_id":162955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:40:57] local.INFO: TCP Data received {"connection_id":162956,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:40:57] local.INFO: Processing buffer {"connection_id":162956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:40:57] local.INFO: IMEI packet received {"connection_id":162956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":162956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:40:59] local.INFO: TCP Data received {"connection_id":162956,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382c6e18012d18af0007217198005201342c..."} 
[2026-08-25 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382c6e18012d18af0007217198005201342c..."} 
[2026-08-25 14:40:59] local.INFO: Processing buffer {"connection_id":162956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382c6e18012d18af0007217198005201342c..."} 
[2026-08-25 14:40:59] local.INFO: Packet analysis {"connection_id":162956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382c"} 
[2026-08-25 14:40:59] local.INFO: Extracted packet for processing {"connection_id":162956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382c"} 
[2026-08-25 14:40:59] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638095360001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787648831000,"timestamp_ms":1787648831000,"timestamp_seconds":1787648831,"priority":1,"record_length":96,"hex_timestamp":"000001a0382c6e18"} 
[2026-08-25 14:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-25 14:40:59] 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-25 14:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638095360001,"66":12232,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638095360001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:40:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638095360001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":162956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:40:59] local.INFO: GPS data processed {"connection_id":162956,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:40:59] local.INFO: Acknowledgment sent {"connection_id":162956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:41:01] local.INFO: TCP Data received {"connection_id":162955,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0382fb5f0012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382fb5f0012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:41:01] local.INFO: Processing buffer {"connection_id":162955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382fb5f0012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:41:01] local.INFO: Packet analysis {"connection_id":162955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382f"} 
[2026-08-25 14:41:01] local.INFO: Extracted packet for processing {"connection_id":162955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382f"} 
[2026-08-25 14:41:01] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638150656001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7080291909679335424,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787649046000,"timestamp_ms":1787649046000,"timestamp_seconds":1787649046,"priority":1,"record_length":96,"hex_timestamp":"000001a0382fb5f0"} 
[2026-08-25 14:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 14:41:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2643558405,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:01] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-9126543349440446459,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:01] local.WARNING: Large IO value detected {"io_id":106,"raw_value":8138004573913427968,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2327904462,"corrected_to":0} 
[2026-08-25 14:41:01] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3221302685,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:01] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2376531968,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:01] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57854931772527649,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:01] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,193,84,24,241,157,16,143,160,72,45,128,162,13,46,10,66,37,197,48,142,250,1,240,7,227,56,106,4,113,205,55,195,133,232,239,52,2,183,5,11,36,12],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2327904462,"validated":0}]} 
[2026-08-25 14:41:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936924841925017600,"timestamp_seconds":936924841925017.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638150656001,"66":12982,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7080291909679335424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638150656001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:41:01] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:41:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7080291909679335424,"description":"Unknown IO ID 45"} 
[2026-08-25 14:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638150656001,"power":12982,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7080291909679335424}} 
[2026-08-25 14:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":162955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:41:01] local.INFO: GPS data processed {"connection_id":162955,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:41:01] local.INFO: Acknowledgment sent {"connection_id":162955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:41:18] local.INFO: TCP Data received {"connection_id":161953,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:41:18] local.INFO: Processing buffer {"connection_id":161953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:41:18] local.INFO: Packet analysis {"connection_id":161953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:41:18] local.INFO: Extracted packet for processing {"connection_id":161953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:41:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638044416001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787648912000,"timestamp_ms":1787648912000,"timestamp_seconds":1787648912,"priority":1,"record_length":96,"hex_timestamp":"000001a0382daa80"} 
[2026-08-25 14:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 14:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:41:18] 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-25 14:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638044416001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638044416001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:41:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638044416001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":161953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:41:18] local.INFO: GPS data processed {"connection_id":161953,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:41:18] local.INFO: Acknowledgment sent {"connection_id":161953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:41:31] local.INFO: TCP Data received {"connection_id":162956,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382cc020012d18af0007217198005201342b..."} 
[2026-08-25 14:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382cc020012d18af0007217198005201342b..."} 
[2026-08-25 14:41:31] local.INFO: Processing buffer {"connection_id":162956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382cc020012d18af0007217198005201342b..."} 
[2026-08-25 14:41:31] local.INFO: Packet analysis {"connection_id":162956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382c"} 
[2026-08-25 14:41:31] local.INFO: Extracted packet for processing {"connection_id":162956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382c"} 
[2026-08-25 14:41:31] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632280,"longitude_deg":75.6592384,"latitude_deg":11.963228,"altitude":82,"angle":308,"satellites":43,"speed":0,"hex_longitude":"2d18af00","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-25 14:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638100736001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937133281804288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460498944,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787648852000,"timestamp_ms":1787648852000,"timestamp_seconds":1787648852,"priority":1,"record_length":96,"hex_timestamp":"000001a0382cc020"} 
[2026-08-25 14:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:41:31] 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-25 14:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 14:41:31] 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-25 14:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638100736001,"66":12232,"121":206,"28":31744,"24":0,"16":15937133281804288,"45":1778640408460498944},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638100736001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:41:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937133281804288,"km_value":15937133281804.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460498944,"description":"Unknown IO ID 45"} 
[2026-08-25 14:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638100736001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778640408460498944}} 
[2026-08-25 14:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":162956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:41:31] local.INFO: GPS data processed {"connection_id":162956,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:41:31] local.INFO: Acknowledgment sent {"connection_id":162956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:41:40] local.INFO: TCP Data received {"connection_id":161712,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:41:40] local.INFO: Processing buffer {"connection_id":161712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:41:40] local.INFO: IMEI packet received {"connection_id":161712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":161712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:41:41] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:41:41] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:41:41] local.INFO: IMEI packet received {"connection_id":161954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":161954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:41:45] local.INFO: TCP Data received {"connection_id":161712,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:41:45] local.INFO: Processing buffer {"connection_id":161712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:41:45] local.INFO: IMEI packet received {"connection_id":161712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":161712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:41:45] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:41:45] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:41:45] local.INFO: IMEI packet received {"connection_id":161954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":161954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:41:46] local.INFO: TCP Data received {"connection_id":161712,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:41:46] local.INFO: Processing buffer {"connection_id":161712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:41:46] local.INFO: Packet analysis {"connection_id":161712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:41:46] local.INFO: Extracted packet for processing {"connection_id":161712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638044416001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787648912000,"timestamp_ms":1787648912000,"timestamp_seconds":1787648912,"priority":1,"record_length":96,"hex_timestamp":"000001a0382daa80"} 
[2026-08-25 14:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 14:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638044416001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638044416001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638044416001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":161712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:41:46] local.INFO: GPS data processed {"connection_id":161712,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:41:46] local.INFO: Acknowledgment sent {"connection_id":161712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:41:46] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0383007f8012d9dc800056963a0000c00a52b..."} 
[2026-08-25 14:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383007f8012d9dc800056963a0000c00a52b..."} 
[2026-08-25 14:41:46] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383007f8012d9dc800056963a0000c00a52b..."} 
[2026-08-25 14:41:46] local.INFO: Packet analysis {"connection_id":161954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:41:46] local.INFO: Extracted packet for processing {"connection_id":161954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:41:46] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638155776001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649067000,"timestamp_ms":1787649067000,"timestamp_seconds":1787649067,"priority":1,"record_length":96,"hex_timestamp":"000001a0383007f8"} 
[2026-08-25 14:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-25 14:41:46] 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-25 14:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638155776001,"66":13276,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638155776001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:41:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:41:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638155776001,"power":13276,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":161954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:41:46] local.INFO: GPS data processed {"connection_id":161954,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:41:46] local.INFO: Acknowledgment sent {"connection_id":161954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:41:52] local.INFO: TCP Data received {"connection_id":162957,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:41:52] local.INFO: Processing buffer {"connection_id":162957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:41:52] local.INFO: IMEI packet received {"connection_id":162957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":162957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:41:58] local.INFO: TCP Data received {"connection_id":162957,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:41:58] local.INFO: Processing buffer {"connection_id":162957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:41:58] local.INFO: IMEI packet received {"connection_id":162957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":162957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:41:59] local.INFO: TCP Data received {"connection_id":162957,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0382ff858012d18ac8007217028004a01432d..."} 
[2026-08-25 14:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382ff858012d18ac8007217028004a01432d..."} 
[2026-08-25 14:41:59] local.INFO: Processing buffer {"connection_id":162957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382ff858012d18ac8007217028004a01432d..."} 
[2026-08-25 14:41:59] local.INFO: Packet analysis {"connection_id":162957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382f"} 
[2026-08-25 14:41:59] local.INFO: Extracted packet for processing {"connection_id":162957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382f"} 
[2026-08-25 14:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119631912,"longitude_deg":75.6591744,"latitude_deg":11.9631912,"altitude":74,"angle":323,"satellites":45,"speed":1,"hex_longitude":"2d18ac80","hex_latitude":"07217028","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638159872001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937189116379136,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530252288,"note":"Value kept but may cause issues"} 
[2026-08-25 14:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787649063000,"timestamp_ms":1787649063000,"timestamp_seconds":1787649063,"priority":1,"record_length":96,"hex_timestamp":"000001a0382ff858"} 
[2026-08-25 14: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-25 14:41:59] 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-25 14: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-25 14:41:59] 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-25 14: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-25 14: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-25 14:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638159872001,"66":13537,"121":206,"28":31744,"24":1,"16":15937189116379136,"45":1777795983530252288},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638159872001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:41:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:41:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937189116379136,"km_value":15937189116379.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530252288,"description":"Unknown IO ID 45"} 
[2026-08-25 14:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638159872001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1777795983530252288}} 
[2026-08-25 14:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":162957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:42:00] local.INFO: GPS data processed {"connection_id":162957,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:42:00] local.INFO: Acknowledgment sent {"connection_id":162957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:42:17] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a038305a00012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038305a00012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:42:17] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038305a00012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:42:17] local.INFO: Packet analysis {"connection_id":161954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:42:17] local.INFO: Extracted packet for processing {"connection_id":161954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:42:17] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638161152001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787649088000,"timestamp_ms":1787649088000,"timestamp_seconds":1787649088,"priority":1,"record_length":96,"hex_timestamp":"000001a038305a00"} 
[2026-08-25 14:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 14:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638161152001,"66":13243,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638161152001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:42:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:42:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638161152001,"power":13243,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":161954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:42:17] local.INFO: GPS data processed {"connection_id":161954,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:42:17] local.INFO: Acknowledgment sent {"connection_id":161954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:42:18] local.INFO: TCP Data received {"connection_id":161712,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:42:18] local.INFO: Processing buffer {"connection_id":161712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:42:18] local.INFO: Packet analysis {"connection_id":161712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:42:18] local.INFO: Extracted packet for processing {"connection_id":161712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638044416001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787648912000,"timestamp_ms":1787648912000,"timestamp_seconds":1787648912,"priority":1,"record_length":96,"hex_timestamp":"000001a0382daa80"} 
[2026-08-25 14:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 14:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:42:18] 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-25 14:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638044416001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638044416001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638044416001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":161712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:42:18] local.INFO: GPS data processed {"connection_id":161712,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:42:18] local.INFO: Acknowledgment sent {"connection_id":161712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:42:31] local.INFO: TCP Data received {"connection_id":162957,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038300028012d18ac80072170b8004a01532f..."} 
[2026-08-25 14:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038300028012d18ac80072170b8004a01532f..."} 
[2026-08-25 14:42:31] local.INFO: Processing buffer {"connection_id":162957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038300028012d18ac80072170b8004a01532f..."} 
[2026-08-25 14:42:31] local.INFO: Packet analysis {"connection_id":162957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:42:31] local.INFO: Extracted packet for processing {"connection_id":162957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:42:31] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632056,"longitude_deg":75.6591744,"latitude_deg":11.9632056,"altitude":74,"angle":339,"satellites":47,"speed":3,"hex_longitude":"2d18ac80","hex_latitude":"072170b8","is_valid_coordinates":true} 
[2026-08-25 14:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638160128001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937193411346432,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018628096,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787649065000,"timestamp_ms":1787649065000,"timestamp_seconds":1787649065,"priority":1,"record_length":96,"hex_timestamp":"000001a038300028"} 
[2026-08-25 14:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:42:31] 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-25 14:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-25 14:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638160128001,"66":14048,"121":206,"28":31744,"24":3,"16":15937193411346432,"45":1777936721018628096},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638160128001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:42:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937193411346432,"km_value":15937193411346.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018628096,"description":"Unknown IO ID 45"} 
[2026-08-25 14:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638160128001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1777936721018628096}} 
[2026-08-25 14:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":162957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:42:31] local.INFO: GPS data processed {"connection_id":162957,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:42:31] local.INFO: Acknowledgment sent {"connection_id":162957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:42:39] local.INFO: TCP Data received {"connection_id":162958,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:42:39] local.INFO: Processing buffer {"connection_id":162958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:42:39] local.INFO: IMEI packet received {"connection_id":162958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":162958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:42:41] local.INFO: TCP Data received {"connection_id":161955,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:42:41] local.INFO: Processing buffer {"connection_id":161955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:42:41] local.INFO: IMEI packet received {"connection_id":161955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":161955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:42:45] local.INFO: TCP Data received {"connection_id":162958,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:42:45] local.INFO: Processing buffer {"connection_id":162958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:42:45] local.INFO: IMEI packet received {"connection_id":162958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":162958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:42:45] local.INFO: TCP Data received {"connection_id":161955,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:42:45] local.INFO: Processing buffer {"connection_id":161955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:42:45] local.INFO: IMEI packet received {"connection_id":161955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":161955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:42:46] local.INFO: TCP Data received {"connection_id":162958,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:42:46] local.INFO: Processing buffer {"connection_id":162958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:42:46] local.INFO: Packet analysis {"connection_id":162958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:42:46] local.INFO: Extracted packet for processing {"connection_id":162958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638044416001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787648912000,"timestamp_ms":1787648912000,"timestamp_seconds":1787648912,"priority":1,"record_length":96,"hex_timestamp":"000001a0382daa80"} 
[2026-08-25 14:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 14:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638044416001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638044416001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638044416001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":162958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:42:46] local.INFO: GPS data processed {"connection_id":162958,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:42:46] local.INFO: Acknowledgment sent {"connection_id":162958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:42:46] local.INFO: TCP Data received {"connection_id":161955,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03830ac08012d9dc800056963a0000c00a52b..."} 
[2026-08-25 14:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03830ac08012d9dc800056963a0000c00a52b..."} 
[2026-08-25 14:42:46] local.INFO: Processing buffer {"connection_id":161955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03830ac08012d9dc800056963a0000c00a52b..."} 
[2026-08-25 14:42:46] local.INFO: Packet analysis {"connection_id":161955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:42:46] local.INFO: Extracted packet for processing {"connection_id":161955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:42:46] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638166528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649109000,"timestamp_ms":1787649109000,"timestamp_seconds":1787649109,"priority":1,"record_length":96,"hex_timestamp":"000001a03830ac08"} 
[2026-08-25 14:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 14:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638166528001,"66":13319,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638166528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:42:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:42:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638166528001,"power":13319,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":161955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:42:46] local.INFO: GPS data processed {"connection_id":161955,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:42:46] local.INFO: Acknowledgment sent {"connection_id":161955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:42:57] local.INFO: TCP Data received {"connection_id":161713,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:42:57] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:42:57] local.INFO: IMEI packet received {"connection_id":161713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":161713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:43:02] local.INFO: TCP Data received {"connection_id":161713,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:43:02] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:43:02] local.INFO: IMEI packet received {"connection_id":161713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":161713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:43:04] local.INFO: TCP Data received {"connection_id":161713,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0383007f8012d18abc0072171c0004a01412f..."} 
[2026-08-25 14:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383007f8012d18abc0072171c0004a01412f..."} 
[2026-08-25 14:43:04] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383007f8012d18abc0072171c0004a01412f..."} 
[2026-08-25 14:43:04] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:43:04] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119632320,"longitude_deg":75.6591552,"latitude_deg":11.963232,"altitude":74,"angle":321,"satellites":47,"speed":7,"hex_longitude":"2d18abc0","hex_latitude":"072171c0","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638160640001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937210591215616,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018664960,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787649067000,"timestamp_ms":1787649067000,"timestamp_seconds":1787649067,"priority":1,"record_length":96,"hex_timestamp":"000001a0383007f8"} 
[2026-08-25 14: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-25 14:43: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-25 14: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-25 14:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638160640001,"66":13993,"121":206,"28":31744,"24":7,"16":15937210591215616,"45":1777936721018664960},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638160640001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:43:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937210591215616,"km_value":15937210591215.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018664960,"description":"Unknown IO ID 45"} 
[2026-08-25 14:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638160640001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1777936721018664960}} 
[2026-08-25 14:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:43:04] local.INFO: GPS data processed {"connection_id":161713,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:43:04] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:43:07] local.INFO: TCP Data received {"connection_id":161713,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038300fc8012d18aa80072172d8004a012d2e..."} 
[2026-08-25 14:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038300fc8012d18aa80072172d8004a012d2e..."} 
[2026-08-25 14:43:07] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038300fc8012d18aa80072172d8004a012d2e..."} 
[2026-08-25 14:43:07] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:43:07] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632600,"longitude_deg":75.6591232,"latitude_deg":11.96326,"altitude":74,"angle":301,"satellites":46,"speed":11,"hex_longitude":"2d18aa80","hex_latitude":"072172d8","is_valid_coordinates":true} 
[2026-08-25 14:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638161152001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937227771084800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786199552,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787649069000,"timestamp_ms":1787649069000,"timestamp_seconds":1787649069,"priority":1,"record_length":96,"hex_timestamp":"000001a038300fc8"} 
[2026-08-25 14:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:43: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-25 14:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-25 14:43:07] 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-25 14:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638161152001,"66":13276,"121":206,"28":31744,"24":11,"16":15937227771084800,"45":1777725614786199552},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638161152001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:43:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:43:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937227771084800,"km_value":15937227771084.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786199552,"description":"Unknown IO ID 45"} 
[2026-08-25 14:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638161152001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1777725614786199552}} 
[2026-08-25 14:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:43:08] local.INFO: GPS data processed {"connection_id":161713,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:43:08] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:43:17] local.INFO: TCP Data received {"connection_id":162958,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:43:17] local.INFO: Processing buffer {"connection_id":162958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:43:17] local.INFO: Packet analysis {"connection_id":162958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:43:17] local.INFO: Extracted packet for processing {"connection_id":162958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638044416001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787648912000,"timestamp_ms":1787648912000,"timestamp_seconds":1787648912,"priority":1,"record_length":96,"hex_timestamp":"000001a0382daa80"} 
[2026-08-25 14:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 14:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:43:17] 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-25 14:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638044416001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638044416001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638044416001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":162958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:43:17] local.INFO: GPS data processed {"connection_id":162958,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:43:17] local.INFO: Acknowledgment sent {"connection_id":162958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:43:17] local.INFO: TCP Data received {"connection_id":161955,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03830fe10012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03830fe10012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:43:17] local.INFO: Processing buffer {"connection_id":161955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03830fe10012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:43:17] local.INFO: Packet analysis {"connection_id":161955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:43:17] local.INFO: Extracted packet for processing {"connection_id":161955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:43:17] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638171904001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787649130000,"timestamp_ms":1787649130000,"timestamp_seconds":1787649130,"priority":1,"record_length":96,"hex_timestamp":"000001a03830fe10"} 
[2026-08-25 14:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2646458373,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":105,"raw_value":-1709116002741768192,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2327904462,"corrected_to":0} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-400819071406604283,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2415996317,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2147838370,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2404188160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57854931772527649,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:17] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,195,84,24,241,157,16,144,160,90,45,99,12,10,66,7,43,181,1,240,182,227,56,105,4,113,205,46,72,177,120,239,53,193,2,183,5,13,30,214],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2327904462,"validated":0}]} 
[2026-08-25 14:43:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872732557312000,"timestamp_seconds":864872732557312,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638171904001,"66":13037,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638171904001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:43:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:43:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638171904001,"power":13037,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":161955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:43:18] local.INFO: GPS data processed {"connection_id":161955,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:43:18] local.INFO: Acknowledgment sent {"connection_id":161955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:43:39] local.INFO: TCP Data received {"connection_id":164333,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:43:39] local.INFO: Processing buffer {"connection_id":164333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:43:39] local.INFO: IMEI packet received {"connection_id":164333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":164333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:43:47] local.INFO: TCP Data received {"connection_id":164333,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:43:47] local.INFO: Processing buffer {"connection_id":164333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:43:47] local.INFO: IMEI packet received {"connection_id":164333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":164333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:43:48] local.INFO: TCP Data received {"connection_id":164333,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:43:48] local.INFO: Processing buffer {"connection_id":164333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0382daa80012d34c14006aa4820000500e62e..."} 
[2026-08-25 14:43:48] local.INFO: Packet analysis {"connection_id":164333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:43:48] local.INFO: Extracted packet for processing {"connection_id":164333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0382d"} 
[2026-08-25 14:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638044416001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787648912000,"timestamp_ms":1787648912000,"timestamp_seconds":1787648912,"priority":1,"record_length":96,"hex_timestamp":"000001a0382daa80"} 
[2026-08-25 14:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 14:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638044416001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638044416001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638044416001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":164333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:43:48] local.INFO: GPS data processed {"connection_id":164333,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:43:48] local.INFO: Acknowledgment sent {"connection_id":164333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:43:49] local.INFO: TCP Data received {"connection_id":164334,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:43:49] local.INFO: Processing buffer {"connection_id":164334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:43:49] local.INFO: IMEI packet received {"connection_id":164334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":164334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:43:52] local.INFO: TCP Data received {"connection_id":164334,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:43:52] local.INFO: Processing buffer {"connection_id":164334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:43:52] local.INFO: IMEI packet received {"connection_id":164334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":164334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:43:57] local.INFO: TCP Data received {"connection_id":164334,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:43:57] local.INFO: Processing buffer {"connection_id":164334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:43:57] local.INFO: IMEI packet received {"connection_id":164334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":164334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:43:59] local.INFO: TCP Data received {"connection_id":164334,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038301798012d18a80007217400004a01212f..."} 
[2026-08-25 14:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038301798012d18a80007217400004a01212f..."} 
[2026-08-25 14:43:59] local.INFO: Processing buffer {"connection_id":164334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038301798012d18a80007217400004a01212f..."} 
[2026-08-25 14:43:59] local.INFO: Packet analysis {"connection_id":164334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:43:59] local.INFO: Extracted packet for processing {"connection_id":164334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:43:59] local.INFO: GPS Element Parsed {"raw_longitude":756590592,"raw_latitude":119632896,"longitude_deg":75.6590592,"latitude_deg":11.9632896,"altitude":74,"angle":289,"satellites":47,"speed":17,"hex_longitude":"2d18a800","hex_latitude":"07217400","is_valid_coordinates":true} 
[2026-08-25 14:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638161664001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937266425790464,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065382912,"note":"Value kept but may cause issues"} 
[2026-08-25 14:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787649071000,"timestamp_ms":1787649071000,"timestamp_seconds":1787649071,"priority":1,"record_length":96,"hex_timestamp":"000001a038301798"} 
[2026-08-25 14:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:43:59] 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-25 14:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 14:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638161664001,"66":14070,"121":206,"28":31744,"24":17,"16":15937266425790464,"45":1777373771065382912},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638161664001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:43:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:43:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937266425790464,"km_value":15937266425790.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065382912,"description":"Unknown IO ID 45"} 
[2026-08-25 14:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638161664001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1777373771065382912}} 
[2026-08-25 14:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":164334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:43:59] local.INFO: GPS data processed {"connection_id":164334,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:43:59] local.INFO: Acknowledgment sent {"connection_id":164334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:44:20] local.INFO: TCP Data received {"connection_id":164333,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:44:20] local.INFO: Processing buffer {"connection_id":164333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:44:20] local.INFO: Packet analysis {"connection_id":164333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:44:20] local.INFO: Extracted packet for processing {"connection_id":164333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:44:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638121472001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:44:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787649213000,"timestamp_ms":1787649213000,"timestamp_seconds":1787649213,"priority":1,"record_length":96,"hex_timestamp":"000001a038324248"} 
[2026-08-25 14: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-25 14:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638121472001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638121472001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:44:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638121472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":164333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:44:20] local.INFO: GPS data processed {"connection_id":164333,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:44:20] local.INFO: Acknowledgment sent {"connection_id":164333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:44:26] local.INFO: TCP Data received {"connection_id":161711,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:44:26] local.INFO: Processing buffer {"connection_id":161711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:44:26] local.INFO: IMEI packet received {"connection_id":161711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 14:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":161711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:44:30] local.INFO: TCP Data received {"connection_id":164334,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038305a00012d18860007218040004c011e2d..."} 
[2026-08-25 14:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038305a00012d18860007218040004c011e2d..."} 
[2026-08-25 14:44:30] local.INFO: Processing buffer {"connection_id":164334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038305a00012d18860007218040004c011e2d..."} 
[2026-08-25 14:44:30] local.INFO: Packet analysis {"connection_id":164334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:44:30] local.INFO: Extracted packet for processing {"connection_id":164334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03830"} 
[2026-08-25 14:44:30] local.INFO: GPS Element Parsed {"raw_longitude":756581888,"raw_latitude":119636032,"longitude_deg":75.6581888,"latitude_deg":11.9636032,"altitude":76,"angle":286,"satellites":45,"speed":24,"hex_longitude":"2d188600","hex_latitude":"07218040","is_valid_coordinates":true} 
[2026-08-25 14:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638162176001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15937704512454656,"note":"Value kept but may cause issues"} 
[2026-08-25 14:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776670083623682048,"note":"Value kept but may cause issues"} 
[2026-08-25 14:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787649088000,"timestamp_ms":1787649088000,"timestamp_seconds":1787649088,"priority":1,"record_length":96,"hex_timestamp":"000001a038305a00"} 
[2026-08-25 14:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 14:44:30] 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-25 14:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638162176001,"66":14004,"121":206,"28":31744,"24":24,"16":15937704512454656,"45":1776670083623682048},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638162176001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:44:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:44:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15937704512454656,"km_value":15937704512454.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776670083623682048,"description":"Unknown IO ID 45"} 
[2026-08-25 14:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638162176001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1776670083623682048}} 
[2026-08-25 14:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":164334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:44:30] local.INFO: GPS data processed {"connection_id":164334,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:44:30] local.INFO: Acknowledgment sent {"connection_id":164334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:44:45] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:44:45] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:44:45] local.INFO: IMEI packet received {"connection_id":161714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":161714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:44:51] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:44:51] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:44:51] local.INFO: IMEI packet received {"connection_id":161714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":161714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:44:52] local.INFO: TCP Data received {"connection_id":162959,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:44:52] local.INFO: Processing buffer {"connection_id":162959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:44:52] local.INFO: IMEI packet received {"connection_id":162959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":162959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:44:52] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:44:52] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:44:52] local.INFO: Packet analysis {"connection_id":161714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:44:52] local.INFO: Extracted packet for processing {"connection_id":161714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638121472001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:44:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787649213000,"timestamp_ms":1787649213000,"timestamp_seconds":1787649213,"priority":1,"record_length":96,"hex_timestamp":"000001a038324248"} 
[2026-08-25 14:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638121472001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638121472001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638121472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":161714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:44:52] local.INFO: GPS data processed {"connection_id":161714,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:44:52] local.INFO: Acknowledgment sent {"connection_id":161714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:44:53] local.INFO: TCP Data received {"connection_id":162959,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:44:53] local.INFO: Processing buffer {"connection_id":162959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:44:53] local.INFO: IMEI packet received {"connection_id":162959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":162959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:44:57] local.INFO: TCP Data received {"connection_id":162959,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:44:57] local.INFO: Processing buffer {"connection_id":162959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:44:57] local.INFO: IMEI packet received {"connection_id":162959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":162959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:44:59] local.INFO: TCP Data received {"connection_id":162959,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038323e60012d18290007219be8004f01382a..."} 
[2026-08-25 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038323e60012d18290007219be8004f01382a..."} 
[2026-08-25 14:44:59] local.INFO: Processing buffer {"connection_id":162959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038323e60012d18290007219be8004f01382a..."} 
[2026-08-25 14:44:59] local.INFO: Packet analysis {"connection_id":162959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:44:59] local.INFO: Extracted packet for processing {"connection_id":162959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643112,"longitude_deg":75.655808,"latitude_deg":11.9643112,"altitude":79,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638192896001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938911398264832,"note":"Value kept but may cause issues"} 
[2026-08-25 14:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584044032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787649212000,"timestamp_ms":1787649212000,"timestamp_seconds":1787649212,"priority":1,"record_length":96,"hex_timestamp":"000001a038323e60"} 
[2026-08-25 14: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-25 14:44:59] 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-25 14: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-25 14:44:59] 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-25 14: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-25 14: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-25 14:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638192896001,"66":12917,"120":206,"28":31744,"24":0,"16":15938911398264832,"45":1740922761584044032},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638192896001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:44:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938911398264832,"km_value":15938911398264.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584044032,"description":"Unknown IO ID 45"} 
[2026-08-25 14:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638192896001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584044032}} 
[2026-08-25 14:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":162959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:44:59] local.INFO: GPS data processed {"connection_id":162959,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:44:59] local.INFO: Acknowledgment sent {"connection_id":162959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:45:24] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:45:24] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:45:24] local.INFO: Packet analysis {"connection_id":161714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:45:24] local.INFO: Extracted packet for processing {"connection_id":161714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638121472001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:45:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787649213000,"timestamp_ms":1787649213000,"timestamp_seconds":1787649213,"priority":1,"record_length":96,"hex_timestamp":"000001a038324248"} 
[2026-08-25 14:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638121472001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638121472001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638121472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":161714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:45:24] local.INFO: GPS data processed {"connection_id":161714,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:45:24] local.INFO: Acknowledgment sent {"connection_id":161714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:45:31] local.INFO: TCP Data received {"connection_id":162959,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038329068012d18290007219be8004f013829..."} 
[2026-08-25 14:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038329068012d18290007219be8004f013829..."} 
[2026-08-25 14:45:31] local.INFO: Processing buffer {"connection_id":162959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038329068012d18290007219be8004f013829..."} 
[2026-08-25 14:45:31] local.INFO: Packet analysis {"connection_id":162959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:45:31] local.INFO: Extracted packet for processing {"connection_id":162959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643112,"longitude_deg":75.655808,"latitude_deg":11.9643112,"altitude":79,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-08-25 14:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198272001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938911398264832,"note":"Value kept but may cause issues"} 
[2026-08-25 14:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584044032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787649233000,"timestamp_ms":1787649233000,"timestamp_seconds":1787649233,"priority":1,"record_length":96,"hex_timestamp":"000001a038329068"} 
[2026-08-25 14:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:45:31] 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-25 14:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 14:45:31] 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-25 14:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198272001,"66":12863,"120":206,"28":31744,"24":0,"16":15938911398264832,"45":1740922761584044032},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198272001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:45:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938911398264832,"km_value":15938911398264.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584044032,"description":"Unknown IO ID 45"} 
[2026-08-25 14:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198272001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584044032}} 
[2026-08-25 14:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":162959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:45:31] local.INFO: GPS data processed {"connection_id":162959,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:45:31] local.INFO: Acknowledgment sent {"connection_id":162959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:45:41] local.INFO: TCP Data received {"connection_id":164335,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:45:41] local.INFO: Processing buffer {"connection_id":164335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:45:41] local.INFO: IMEI packet received {"connection_id":164335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":164335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:45:45] local.INFO: TCP Data received {"connection_id":164335,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:45:45] local.INFO: Processing buffer {"connection_id":164335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:45:45] local.INFO: IMEI packet received {"connection_id":164335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":164335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:45:45] local.INFO: TCP Data received {"connection_id":164335,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:45:45] local.INFO: Processing buffer {"connection_id":164335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:45:45] local.INFO: Packet analysis {"connection_id":164335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:45:45] local.INFO: Extracted packet for processing {"connection_id":164335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638121472001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:45:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787649213000,"timestamp_ms":1787649213000,"timestamp_seconds":1787649213,"priority":1,"record_length":96,"hex_timestamp":"000001a038324248"} 
[2026-08-25 14:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638121472001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638121472001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638121472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":164335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:45:46] local.INFO: GPS data processed {"connection_id":164335,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:45:46] local.INFO: Acknowledgment sent {"connection_id":164335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:45:52] local.INFO: TCP Data received {"connection_id":161956,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:45:52] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:45:52] local.INFO: IMEI packet received {"connection_id":161956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":161956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:45:55] local.INFO: TCP Data received {"connection_id":161956,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:45:55] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:45:55] local.INFO: IMEI packet received {"connection_id":161956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":161956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:45:57] local.INFO: TCP Data received {"connection_id":161956,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03832e270012d18290007219be8004f013828..."} 
[2026-08-25 14:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03832e270012d18290007219be8004f013828..."} 
[2026-08-25 14:45:57] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03832e270012d18290007219be8004f013828..."} 
[2026-08-25 14:45:57] local.INFO: Packet analysis {"connection_id":161956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:45:57] local.INFO: Extracted packet for processing {"connection_id":161956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643112,"longitude_deg":75.655808,"latitude_deg":11.9643112,"altitude":79,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-08-25 14:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638203648001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938911398264832,"note":"Value kept but may cause issues"} 
[2026-08-25 14:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584044032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787649254000,"timestamp_ms":1787649254000,"timestamp_seconds":1787649254,"priority":1,"record_length":96,"hex_timestamp":"000001a03832e270"} 
[2026-08-25 14:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-25 14:45:57] 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-25 14:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638203648001,"66":12841,"120":206,"28":31744,"24":0,"16":15938911398264832,"45":1740922761584044032},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638203648001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:45:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:45:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938911398264832,"km_value":15938911398264.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584044032,"description":"Unknown IO ID 45"} 
[2026-08-25 14:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638203648001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584044032}} 
[2026-08-25 14:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":161956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:45:57] local.INFO: GPS data processed {"connection_id":161956,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:45:57] local.INFO: Acknowledgment sent {"connection_id":161956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:46:17] local.INFO: TCP Data received {"connection_id":164335,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:46:17] local.INFO: Processing buffer {"connection_id":164335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:46:17] local.INFO: Packet analysis {"connection_id":164335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:46:17] local.INFO: Extracted packet for processing {"connection_id":164335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638121472001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:46:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787649213000,"timestamp_ms":1787649213000,"timestamp_seconds":1787649213,"priority":1,"record_length":96,"hex_timestamp":"000001a038324248"} 
[2026-08-25 14:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638121472001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638121472001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638121472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":164335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:46:17] local.INFO: GPS data processed {"connection_id":164335,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:46:17] local.INFO: Acknowledgment sent {"connection_id":164335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:46:28] local.INFO: TCP Data received {"connection_id":161956,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038333478012d18290007219be8004f01382b..."} 
[2026-08-25 14:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038333478012d18290007219be8004f01382b..."} 
[2026-08-25 14:46:28] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038333478012d18290007219be8004f01382b..."} 
[2026-08-25 14:46:28] local.INFO: Packet analysis {"connection_id":161956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03833"} 
[2026-08-25 14:46:28] local.INFO: Extracted packet for processing {"connection_id":161956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03833"} 
[2026-08-25 14:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643112,"longitude_deg":75.655808,"latitude_deg":11.9643112,"altitude":79,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638209024001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938911398264832,"note":"Value kept but may cause issues"} 
[2026-08-25 14:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584044032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787649275000,"timestamp_ms":1787649275000,"timestamp_seconds":1787649275,"priority":1,"record_length":96,"hex_timestamp":"000001a038333478"} 
[2026-08-25 14: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-25 14:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 14:46:28] 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-25 14: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-25 14: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-25 14:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638209024001,"66":12798,"120":206,"28":31744,"24":0,"16":15938911398264832,"45":1740922761584044032},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638209024001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:46:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:46:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938911398264832,"km_value":15938911398264.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584044032,"description":"Unknown IO ID 45"} 
[2026-08-25 14:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638209024001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584044032}} 
[2026-08-25 14:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":161956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:46:28] local.INFO: GPS data processed {"connection_id":161956,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:46:28] local.INFO: Acknowledgment sent {"connection_id":161956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:46:40] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:46:40] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:46:40] local.INFO: IMEI packet received {"connection_id":161716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":161716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:46:45] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:46:45] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:46:45] local.INFO: IMEI packet received {"connection_id":161716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":161716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:46:46] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:46:46] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:46:46] local.INFO: Packet analysis {"connection_id":161716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:46:46] local.INFO: Extracted packet for processing {"connection_id":161716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638121472001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:46:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649213000,"timestamp_ms":1787649213000,"timestamp_seconds":1787649213,"priority":1,"record_length":96,"hex_timestamp":"000001a038324248"} 
[2026-08-25 14:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:46:46] 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-25 14:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638121472001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638121472001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638121472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":161716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:46:46] local.INFO: GPS data processed {"connection_id":161716,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:46:46] local.INFO: Acknowledgment sent {"connection_id":161716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:46:52] local.INFO: TCP Data received {"connection_id":161957,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:46:52] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:46:52] local.INFO: IMEI packet received {"connection_id":161957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":161957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:46:57] local.INFO: TCP Data received {"connection_id":161957,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:46:57] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:46:57] local.INFO: IMEI packet received {"connection_id":161957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":161957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:47:00] local.INFO: TCP Data received {"connection_id":161957,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038338680012d18290007219be8004f01382a..."} 
[2026-08-25 14:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038338680012d18290007219be8004f01382a..."} 
[2026-08-25 14:47:00] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038338680012d18290007219be8004f01382a..."} 
[2026-08-25 14:47:00] local.INFO: Packet analysis {"connection_id":161957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03833"} 
[2026-08-25 14:47:00] local.INFO: Extracted packet for processing {"connection_id":161957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03833"} 
[2026-08-25 14:47:00] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643112,"longitude_deg":75.655808,"latitude_deg":11.9643112,"altitude":79,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-08-25 14:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638214400001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938911398264832,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584044032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787649296000,"timestamp_ms":1787649296000,"timestamp_seconds":1787649296,"priority":1,"record_length":96,"hex_timestamp":"000001a038338680"} 
[2026-08-25 14:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:47:00] 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-25 14:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-25 14:47:00] 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-25 14:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638214400001,"66":12765,"120":206,"28":31744,"24":0,"16":15938911398264832,"45":1740922761584044032},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638214400001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:47:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:47:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938911398264832,"km_value":15938911398264.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584044032,"description":"Unknown IO ID 45"} 
[2026-08-25 14:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638214400001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584044032}} 
[2026-08-25 14:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":161957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:47:00] local.INFO: GPS data processed {"connection_id":161957,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:47:00] local.INFO: Acknowledgment sent {"connection_id":161957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:47:18] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:47:18] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:47:18] local.INFO: Packet analysis {"connection_id":161716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:47:18] local.INFO: Extracted packet for processing {"connection_id":161716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638121472001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787649213000,"timestamp_ms":1787649213000,"timestamp_seconds":1787649213,"priority":1,"record_length":96,"hex_timestamp":"000001a038324248"} 
[2026-08-25 14:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:47:18] 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-25 14:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638121472001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638121472001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638121472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":161716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:47:18] local.INFO: GPS data processed {"connection_id":161716,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:47:18] local.INFO: Acknowledgment sent {"connection_id":161716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:47:31] local.INFO: TCP Data received {"connection_id":161957,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03833d888012d18290007219be8004f013829..."} 
[2026-08-25 14:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03833d888012d18290007219be8004f013829..."} 
[2026-08-25 14:47:31] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03833d888012d18290007219be8004f013829..."} 
[2026-08-25 14:47:31] local.INFO: Packet analysis {"connection_id":161957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03833"} 
[2026-08-25 14:47:31] local.INFO: Extracted packet for processing {"connection_id":161957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03833"} 
[2026-08-25 14:47:31] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643112,"longitude_deg":75.655808,"latitude_deg":11.9643112,"altitude":79,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-08-25 14:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638219776001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938911398264832,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584044032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787649317000,"timestamp_ms":1787649317000,"timestamp_seconds":1787649317,"priority":1,"record_length":96,"hex_timestamp":"000001a03833d888"} 
[2026-08-25 14:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:47:31] 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-25 14:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-25 14:47:31] 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-25 14:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638219776001,"66":12711,"120":206,"28":31744,"24":0,"16":15938911398264832,"45":1740922761584044032},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638219776001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:47:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:47:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938911398264832,"km_value":15938911398264.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584044032,"description":"Unknown IO ID 45"} 
[2026-08-25 14:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638219776001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584044032}} 
[2026-08-25 14:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":161957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:47:32] local.INFO: GPS data processed {"connection_id":161957,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:47:32] local.INFO: Acknowledgment sent {"connection_id":161957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:47:39] local.INFO: TCP Data received {"connection_id":164336,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:47:39] local.INFO: Processing buffer {"connection_id":164336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:47:39] local.INFO: IMEI packet received {"connection_id":164336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":164336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:47:49] local.INFO: TCP Data received {"connection_id":164336,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:47:49] local.INFO: Processing buffer {"connection_id":164336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:47:49] local.INFO: IMEI packet received {"connection_id":164336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":164336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:47:50] local.INFO: TCP Data received {"connection_id":164336,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:47:50] local.INFO: Processing buffer {"connection_id":164336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:47:50] local.INFO: Packet analysis {"connection_id":164336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:47:50] local.INFO: Extracted packet for processing {"connection_id":164336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:47:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 14:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638121472001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787649213000,"timestamp_ms":1787649213000,"timestamp_seconds":1787649213,"priority":1,"record_length":96,"hex_timestamp":"000001a038324248"} 
[2026-08-25 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-25 14:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 14:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:47: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-25 14:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638121472001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638121472001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:47:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638121472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":164336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:47:50] local.INFO: GPS data processed {"connection_id":164336,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:47:50] local.INFO: Acknowledgment sent {"connection_id":164336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:47:52] local.INFO: TCP Data received {"connection_id":161958,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:47:52] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:47:52] local.INFO: IMEI packet received {"connection_id":161958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":161958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:47:57] local.INFO: TCP Data received {"connection_id":161958,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:47:57] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:47:57] local.INFO: IMEI packet received {"connection_id":161958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":161958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:47:59] local.INFO: TCP Data received {"connection_id":161958,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038342a90012d18290007219be8004f01382a..."} 
[2026-08-25 14:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038342a90012d18290007219be8004f01382a..."} 
[2026-08-25 14:47:59] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038342a90012d18290007219be8004f01382a..."} 
[2026-08-25 14:47:59] local.INFO: Packet analysis {"connection_id":161958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03834"} 
[2026-08-25 14:47:59] local.INFO: Extracted packet for processing {"connection_id":161958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03834"} 
[2026-08-25 14:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643112,"longitude_deg":75.655808,"latitude_deg":11.9643112,"altitude":79,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638225152001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938911398264832,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584044032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787649338000,"timestamp_ms":1787649338000,"timestamp_seconds":1787649338,"priority":1,"record_length":96,"hex_timestamp":"000001a038342a90"} 
[2026-08-25 14: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-25 14:47:59] 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-25 14: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-25 14:47:59] 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-25 14: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-25 14: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-25 14:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638225152001,"66":12645,"120":206,"28":31744,"24":0,"16":15938911398264832,"45":1740922761584044032},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638225152001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:47:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938911398264832,"km_value":15938911398264.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584044032,"description":"Unknown IO ID 45"} 
[2026-08-25 14:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638225152001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584044032}} 
[2026-08-25 14:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":161958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:47:59] local.INFO: GPS data processed {"connection_id":161958,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:47:59] local.INFO: Acknowledgment sent {"connection_id":161958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:48:11] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:48:11] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:48:11] local.INFO: IMEI packet received {"connection_id":161717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":161717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:48:16] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:48:16] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:48:16] local.INFO: IMEI packet received {"connection_id":161717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":161717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:48:17] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a038315018012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038315018012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:48:17] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038315018012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:48:17] local.INFO: Packet analysis {"connection_id":161717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03831"} 
[2026-08-25 14:48:17] local.INFO: Extracted packet for processing {"connection_id":161717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03831"} 
[2026-08-25 14:48:17] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638177280001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787649151000,"timestamp_ms":1787649151000,"timestamp_seconds":1787649151,"priority":1,"record_length":96,"hex_timestamp":"000001a038315018"} 
[2026-08-25 14:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-25 14:48:17] 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-25 14:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638177280001,"66":13319,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638177280001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:48:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:48:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638177280001,"power":13319,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":161717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:48:17] local.INFO: GPS data processed {"connection_id":161717,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:48:17] local.INFO: Acknowledgment sent {"connection_id":161717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:48:22] local.INFO: TCP Data received {"connection_id":164336,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:48:22] local.INFO: Processing buffer {"connection_id":164336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:48:22] local.INFO: Packet analysis {"connection_id":164336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:48:22] local.INFO: Extracted packet for processing {"connection_id":164336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:48:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638121472001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787649213000,"timestamp_ms":1787649213000,"timestamp_seconds":1787649213,"priority":1,"record_length":96,"hex_timestamp":"000001a038324248"} 
[2026-08-25 14: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-25 14:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:48:22] local.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-25 14:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638121472001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638121472001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:48:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638121472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":164336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:48:22] local.INFO: GPS data processed {"connection_id":164336,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:48:22] local.INFO: Acknowledgment sent {"connection_id":164336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:48:31] local.INFO: TCP Data received {"connection_id":161958,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038347c98012d18290007219be8004f013828..."} 
[2026-08-25 14:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038347c98012d18290007219be8004f013828..."} 
[2026-08-25 14:48:31] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038347c98012d18290007219be8004f013828..."} 
[2026-08-25 14:48:31] local.INFO: Packet analysis {"connection_id":161958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03834"} 
[2026-08-25 14:48:31] local.INFO: Extracted packet for processing {"connection_id":161958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03834"} 
[2026-08-25 14:48:31] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643112,"longitude_deg":75.655808,"latitude_deg":11.9643112,"altitude":79,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-08-25 14:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638230528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938911398264832,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584044032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787649359000,"timestamp_ms":1787649359000,"timestamp_seconds":1787649359,"priority":1,"record_length":96,"hex_timestamp":"000001a038347c98"} 
[2026-08-25 14:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:48:31] 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-25 14:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-25 14:48:31] 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-25 14:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638230528001,"66":12645,"120":206,"28":31744,"24":0,"16":15938911398264832,"45":1740922761584044032},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638230528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:48:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:48:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938911398264832,"km_value":15938911398264.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584044032,"description":"Unknown IO ID 45"} 
[2026-08-25 14:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638230528001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584044032}} 
[2026-08-25 14:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":161958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:48:31] local.INFO: GPS data processed {"connection_id":161958,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:48:31] local.INFO: Acknowledgment sent {"connection_id":161958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:48:39] local.INFO: TCP Data received {"connection_id":161718,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:48:39] local.INFO: Processing buffer {"connection_id":161718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:48:39] local.INFO: IMEI packet received {"connection_id":161718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":161718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:48:41] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:48:41] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:48:41] local.INFO: IMEI packet received {"connection_id":161959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":161959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:48:45] local.INFO: TCP Data received {"connection_id":161718,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:48:45] local.INFO: Processing buffer {"connection_id":161718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:48:45] local.INFO: IMEI packet received {"connection_id":161718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":161718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:48:46] local.INFO: TCP Data received {"connection_id":161718,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:48:46] local.INFO: Processing buffer {"connection_id":161718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324248012d34c14006aa4820000500e62f..."} 
[2026-08-25 14:48:46] local.INFO: Packet analysis {"connection_id":161718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:48:46] local.INFO: Extracted packet for processing {"connection_id":161718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638121472001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649213000,"timestamp_ms":1787649213000,"timestamp_seconds":1787649213,"priority":1,"record_length":96,"hex_timestamp":"000001a038324248"} 
[2026-08-25 14:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 14:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638121472001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638121472001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638121472001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":161718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:48:46] local.INFO: GPS data processed {"connection_id":161718,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:48:46] local.INFO: Acknowledgment sent {"connection_id":161718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:48:46] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:48:46] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:48:46] local.INFO: IMEI packet received {"connection_id":161959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":161959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:48:47] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03831a220012d9dc800056963a0000c00a52a..."} 
[2026-08-25 14:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03831a220012d9dc800056963a0000c00a52a..."} 
[2026-08-25 14:48:47] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03831a220012d9dc800056963a0000c00a52a..."} 
[2026-08-25 14:48:47] local.INFO: Packet analysis {"connection_id":161959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03831"} 
[2026-08-25 14:48:47] local.INFO: Extracted packet for processing {"connection_id":161959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03831"} 
[2026-08-25 14:48:47] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":42,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638182656001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787649172000,"timestamp_ms":1787649172000,"timestamp_seconds":1787649172,"priority":1,"record_length":96,"hex_timestamp":"000001a03831a220"} 
[2026-08-25 14:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 14:48:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:47] local.WARNING: Large IO value detected {"io_id":105,"raw_value":-6739636786514678272,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2328035534,"corrected_to":0} 
[2026-08-25 14:48:47] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4026609053,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":354659,"corrected_to":0} 
[2026-08-25 14:48:47] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505930,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:47] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2416902144,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57854931772527649,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:47] local.WARNING: Large IO value detected {"io_id":47,"raw_value":5228680462807957509,"note":"Value kept but may cause issues"} 
[2026-08-25 14:48:47] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,195,84,24,241,157,16,144,160,254,45,99,12,10,66,172,43,90,1,240,187,227,56,105,4,113,205,181,200,239,50,2,183,5,13,46,7,47],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2328035534,"validated":0},{"io_id":200,"original":354659,"validated":0}]} 
[2026-08-25 14:48:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872741147246592,"timestamp_seconds":864872741147246.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638182656001,"66":13450,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638182656001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:48:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:48:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638182656001,"power":13450,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":161959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:48:47] local.INFO: GPS data processed {"connection_id":161959,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:48:47] local.INFO: Acknowledgment sent {"connection_id":161959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:48:57] local.INFO: TCP Data received {"connection_id":161960,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:48:57] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:48:57] local.INFO: IMEI packet received {"connection_id":161960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":161960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:49:02] local.INFO: TCP Data received {"connection_id":161960,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:49:02] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:49:02] local.INFO: IMEI packet received {"connection_id":161960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":161960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:49:03] local.INFO: TCP Data received {"connection_id":161960,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a03834cea0012d18290007219be8004f013827..."} 
[2026-08-25 14:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03834cea0012d18290007219be8004f013827..."} 
[2026-08-25 14:49:03] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03834cea0012d18290007219be8004f013827..."} 
[2026-08-25 14:49:03] local.INFO: Packet analysis {"connection_id":161960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03834"} 
[2026-08-25 14:49:03] local.INFO: Extracted packet for processing {"connection_id":161960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03834"} 
[2026-08-25 14:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643112,"longitude_deg":75.655808,"latitude_deg":11.9643112,"altitude":79,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638235904001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938911398264832,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584044032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787649380000,"timestamp_ms":1787649380000,"timestamp_seconds":1787649380,"priority":1,"record_length":96,"hex_timestamp":"000001a03834cea0"} 
[2026-08-25 14: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-25 14:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-25 14:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638235904001,"66":12613,"120":206,"28":31744,"24":0,"16":15938911398264832,"45":1740922761584044032},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638235904001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:49:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:49:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938911398264832,"km_value":15938911398264.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584044032,"description":"Unknown IO ID 45"} 
[2026-08-25 14:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638235904001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584044032}} 
[2026-08-25 14:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":161960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:49:03] local.INFO: GPS data processed {"connection_id":161960,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:49:03] local.INFO: Acknowledgment sent {"connection_id":161960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:49:05] local.INFO: TCP Data received {"connection_id":161960,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0383520a8012d18290007219be8004f013825..."} 
[2026-08-25 14:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383520a8012d18290007219be8004f013825..."} 
[2026-08-25 14:49:05] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383520a8012d18290007219be8004f013825..."} 
[2026-08-25 14:49:05] local.INFO: Packet analysis {"connection_id":161960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03835"} 
[2026-08-25 14:49:05] local.INFO: Extracted packet for processing {"connection_id":161960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03835"} 
[2026-08-25 14:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643112,"longitude_deg":75.655808,"latitude_deg":11.9643112,"altitude":79,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219be8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638241280001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938911398264832,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584044032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787649401000,"timestamp_ms":1787649401000,"timestamp_seconds":1787649401,"priority":1,"record_length":96,"hex_timestamp":"000001a0383520a8"} 
[2026-08-25 14: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-25 14:49: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-25 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-25 14:49:05] 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-25 14: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-25 14: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-25 14:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638241280001,"66":13820,"120":206,"28":31744,"24":0,"16":15938911398264832,"45":1740922761584044032},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638241280001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:49:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938911398264832,"km_value":15938911398264.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584044032,"description":"Unknown IO ID 45"} 
[2026-08-25 14:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638241280001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584044032}} 
[2026-08-25 14:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":161960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:49:05] local.INFO: GPS data processed {"connection_id":161960,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:49:05] local.INFO: Acknowledgment sent {"connection_id":161960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:49:17] local.INFO: TCP Data received {"connection_id":161718,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:49:17] local.INFO: Processing buffer {"connection_id":161718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:49:17] local.INFO: Packet analysis {"connection_id":161718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:49:17] local.INFO: Extracted packet for processing {"connection_id":161718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787649514000,"timestamp_ms":1787649514000,"timestamp_seconds":1787649514,"priority":1,"record_length":96,"hex_timestamp":"000001a03836da10"} 
[2026-08-25 14:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 14:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198528001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":161718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:49:17] local.INFO: GPS data processed {"connection_id":161718,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:49:17] local.INFO: Acknowledgment sent {"connection_id":161718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:49:18] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03831f428012d9dc800056963a0000c00a527..."} 
[2026-08-25 14:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03831f428012d9dc800056963a0000c00a527..."} 
[2026-08-25 14:49:18] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03831f428012d9dc800056963a0000c00a527..."} 
[2026-08-25 14:49:18] local.INFO: Packet analysis {"connection_id":161959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03831"} 
[2026-08-25 14:49:18] local.INFO: Extracted packet for processing {"connection_id":161959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03831"} 
[2026-08-25 14:49:18] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":39,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638188032001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787649193000,"timestamp_ms":1787649193000,"timestamp_seconds":1787649193,"priority":1,"record_length":96,"hex_timestamp":"000001a03831f428"} 
[2026-08-25 14:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:49: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-25 14:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 14:49:18] 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-25 14:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638188032001,"66":13243,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638188032001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:49:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:49:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638188032001,"power":13243,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":161959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:49:18] local.INFO: GPS data processed {"connection_id":161959,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:49:18] local.INFO: Acknowledgment sent {"connection_id":161959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:49:37] local.INFO: TCP Data received {"connection_id":161960,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038356ec8012d18280007219d30004901472a..."} 
[2026-08-25 14:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038356ec8012d18280007219d30004901472a..."} 
[2026-08-25 14:49:37] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038356ec8012d18280007219d30004901472a..."} 
[2026-08-25 14:49:37] local.INFO: Packet analysis {"connection_id":161960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03835"} 
[2026-08-25 14:49:37] local.INFO: Extracted packet for processing {"connection_id":161960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03835"} 
[2026-08-25 14:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119643440,"longitude_deg":75.6557824,"latitude_deg":11.964344,"altitude":73,"angle":327,"satellites":42,"speed":3,"hex_longitude":"2d182800","hex_latitude":"07219d30","is_valid_coordinates":true} 
[2026-08-25 14:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638246656001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938932873101312,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584044032,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787649421000,"timestamp_ms":1787649421000,"timestamp_seconds":1787649421,"priority":1,"record_length":96,"hex_timestamp":"000001a038356ec8"} 
[2026-08-25 14:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:49: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-25 14:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-25 14:49:37] 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-25 14:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638246656001,"66":13580,"120":206,"28":31744,"24":3,"16":15938932873101312,"45":1740922761584044032},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-25 14:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638246656001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:49:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 14:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938932873101312,"km_value":15938932873101.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584044032,"description":"Unknown IO ID 45"} 
[2026-08-25 14:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638246656001,"power":13580,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1740922761584044032}} 
[2026-08-25 14:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":161960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:49:37] local.INFO: GPS data processed {"connection_id":161960,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:49:37] local.INFO: Acknowledgment sent {"connection_id":161960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:49:41] local.INFO: TCP Data received {"connection_id":164337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:49:41] local.INFO: Processing buffer {"connection_id":164337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:49:41] local.INFO: IMEI packet received {"connection_id":164337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":164337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:49:44] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:49:44] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:49:44] local.INFO: IMEI packet received {"connection_id":161961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":161961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:49:45] local.INFO: TCP Data received {"connection_id":164337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:49:46] local.INFO: Processing buffer {"connection_id":164337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:49:46] local.INFO: IMEI packet received {"connection_id":164337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":164337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:49:46] local.INFO: TCP Data received {"connection_id":164337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a038323690012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038323690012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:49:46] local.INFO: Processing buffer {"connection_id":164337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038323690012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:49:46] local.INFO: Packet analysis {"connection_id":164337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:49:46] local.INFO: Extracted packet for processing {"connection_id":164337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:49:46] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638193408001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649210000,"timestamp_ms":1787649210000,"timestamp_seconds":1787649210,"priority":1,"record_length":96,"hex_timestamp":"000001a038323690"} 
[2026-08-25 14:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 14:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638193408001,"66":13276,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638193408001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:49:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:49:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638193408001,"power":13276,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":164337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:49:46] local.INFO: GPS data processed {"connection_id":164337,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:49:46] local.INFO: Acknowledgment sent {"connection_id":164337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:49:48] local.INFO: TCP Data received {"connection_id":161719,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:49:48] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:49:48] local.INFO: IMEI packet received {"connection_id":161719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":161719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:49:50] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:49:50] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:49:50] local.INFO: IMEI packet received {"connection_id":161961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":161961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:49:51] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:49:51] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:49:51] local.INFO: Packet analysis {"connection_id":161961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:49:51] local.INFO: Extracted packet for processing {"connection_id":161961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787649514000,"timestamp_ms":1787649514000,"timestamp_seconds":1787649514,"priority":1,"record_length":96,"hex_timestamp":"000001a03836da10"} 
[2026-08-25 14: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-25 14:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 14:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198528001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":161961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:49:51] local.INFO: GPS data processed {"connection_id":161961,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:49:51] local.INFO: Acknowledgment sent {"connection_id":161961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:49:53] local.INFO: TCP Data received {"connection_id":161719,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:49:53] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:49:53] local.INFO: IMEI packet received {"connection_id":161719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":161719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:49:58] local.INFO: TCP Data received {"connection_id":161719,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:49:58] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:49:58] local.INFO: IMEI packet received {"connection_id":161719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":161719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:49:59] local.INFO: TCP Data received {"connection_id":161719,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038373000012d18828007218258004d00632d..."} 
[2026-08-25 14:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038373000012d18828007218258004d00632d..."} 
[2026-08-25 14:49:59] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038373000012d18828007218258004d00632d..."} 
[2026-08-25 14:49:59] local.INFO: Packet analysis {"connection_id":161719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03837"} 
[2026-08-25 14:49:59] local.INFO: Extracted packet for processing {"connection_id":161719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03837"} 
[2026-08-25 14:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756580992,"raw_latitude":119636568,"longitude_deg":75.6580992,"latitude_deg":11.9636568,"altitude":77,"angle":99,"satellites":45,"speed":34,"hex_longitude":"2d188280","hex_latitude":"07218258","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638279424001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15940474766360576,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760555641207941120,"note":"Value kept but may cause issues"} 
[2026-08-25 14:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787649536000,"timestamp_ms":1787649536000,"timestamp_seconds":1787649536,"priority":1,"record_length":96,"hex_timestamp":"000001a038373000"} 
[2026-08-25 14: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-25 14:49:59] 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-25 14: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 14:49:59] 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-25 14: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-25 14: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-25 14:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638279424001,"66":14135,"121":206,"28":31744,"24":34,"16":15940474766360576,"45":1760555641207941120},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638279424001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:49:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15940474766360576,"km_value":15940474766360.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760555641207941120,"description":"Unknown IO ID 45"} 
[2026-08-25 14:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638279424001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1760555641207941120}} 
[2026-08-25 14:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":161719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:49:59] local.INFO: GPS data processed {"connection_id":161719,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:49:59] local.INFO: Acknowledgment sent {"connection_id":161719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:50:00] local.INFO: TCP Data received {"connection_id":161719,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038373bb8012d188c8007217f60004d00702d..."} 
[2026-08-25 14:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038373bb8012d188c8007217f60004d00702d..."} 
[2026-08-25 14:50:00] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038373bb8012d188c8007217f60004d00702d..."} 
[2026-08-25 14:50:00] local.INFO: Packet analysis {"connection_id":161719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03837"} 
[2026-08-25 14:50:00] local.INFO: Extracted packet for processing {"connection_id":161719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03837"} 
[2026-08-25 14:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756583552,"raw_latitude":119635808,"longitude_deg":75.6583552,"latitude_deg":11.9635808,"altitude":77,"angle":112,"satellites":45,"speed":37,"hex_longitude":"2d188c80","hex_latitude":"07217f60","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638281216001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15940603615379456,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766114771997972480,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787649539000,"timestamp_ms":1787649539000,"timestamp_seconds":1787649539,"priority":1,"record_length":96,"hex_timestamp":"000001a038373bb8"} 
[2026-08-25 14: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-25 14:50:00] 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-25 14: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-25 14:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638281216001,"66":13906,"121":206,"28":31744,"24":37,"16":15940603615379456,"45":1766114771997972480},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638281216001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:50:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:50:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15940603615379456,"km_value":15940603615379.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766114771997972480,"description":"Unknown IO ID 45"} 
[2026-08-25 14:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638281216001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1766114771997972480}} 
[2026-08-25 14:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":161719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:50:00] local.INFO: GPS data processed {"connection_id":161719,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:50:00] local.INFO: Acknowledgment sent {"connection_id":161719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:50:01] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:50:01] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 14:50:01] local.INFO: IMEI packet received {"connection_id":161715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 14:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":161715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:50:17] local.INFO: TCP Data received {"connection_id":164337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a038323690012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038323690012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:50:17] local.INFO: Processing buffer {"connection_id":164337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038323690012d9dc800056963a0000c00a52d..."} 
[2026-08-25 14:50:17] local.INFO: Packet analysis {"connection_id":164337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:50:17] local.INFO: Extracted packet for processing {"connection_id":164337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:50:17] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638197760001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787649210000,"timestamp_ms":1787649210000,"timestamp_seconds":1787649210,"priority":1,"record_length":96,"hex_timestamp":"000001a038323690"} 
[2026-08-25 14:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 14:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638197760001,"66":13276,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638197760001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:50:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:50:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638197760001,"power":13276,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":164337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:50:17] local.INFO: GPS data processed {"connection_id":164337,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:50:17] local.INFO: Acknowledgment sent {"connection_id":164337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:50:24] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:50:24] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:50:24] local.INFO: Packet analysis {"connection_id":161961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:50:24] local.INFO: Extracted packet for processing {"connection_id":161961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787649514000,"timestamp_ms":1787649514000,"timestamp_seconds":1787649514,"priority":1,"record_length":96,"hex_timestamp":"000001a03836da10"} 
[2026-08-25 14: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-25 14:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 14:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:50:24] 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-25 14:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198528001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":161961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:50:24] local.INFO: GPS data processed {"connection_id":161961,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:50:24] local.INFO: Acknowledgment sent {"connection_id":161961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:50:33] local.INFO: TCP Data received {"connection_id":161719,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038375ee0012d18ab80072172a8004c007e2e..."} 
[2026-08-25 14:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038375ee0012d18ab80072172a8004c007e2e..."} 
[2026-08-25 14:50:33] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038375ee0012d18ab80072172a8004c007e2e..."} 
[2026-08-25 14:50:33] local.INFO: Packet analysis {"connection_id":161719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03837"} 
[2026-08-25 14:50:33] local.INFO: Extracted packet for processing {"connection_id":161719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03837"} 
[2026-08-25 14:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119632552,"longitude_deg":75.6591488,"latitude_deg":11.9632552,"altitude":76,"angle":126,"satellites":46,"speed":33,"hex_longitude":"2d18ab80","hex_latitude":"072172a8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638281984001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15941015932239872,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768929521764884480,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787649548000,"timestamp_ms":1787649548000,"timestamp_seconds":1787649548,"priority":1,"record_length":96,"hex_timestamp":"000001a038375ee0"} 
[2026-08-25 14: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-25 14:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-25 14:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638281984001,"66":14211,"121":206,"28":31744,"24":33,"16":15941015932239872,"45":1768929521764884480},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638281984001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:50:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:50:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15941015932239872,"km_value":15941015932239.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768929521764884480,"description":"Unknown IO ID 45"} 
[2026-08-25 14:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638281984001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1768929521764884480}} 
[2026-08-25 14:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":161719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:50:33] local.INFO: GPS data processed {"connection_id":161719,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:50:33] local.INFO: Acknowledgment sent {"connection_id":161719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:50:39] local.INFO: TCP Data received {"connection_id":164338,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:50:39] local.INFO: Processing buffer {"connection_id":164338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:50:39] local.INFO: IMEI packet received {"connection_id":164338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":164338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:50:45] local.INFO: TCP Data received {"connection_id":164338,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:50:45] local.INFO: Processing buffer {"connection_id":164338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:50:45] local.INFO: IMEI packet received {"connection_id":164338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":164338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:50:46] local.INFO: TCP Data received {"connection_id":164338,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:50:46] local.INFO: Processing buffer {"connection_id":164338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:50:46] local.INFO: Packet analysis {"connection_id":164338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:50:46] local.INFO: Extracted packet for processing {"connection_id":164338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649514000,"timestamp_ms":1787649514000,"timestamp_seconds":1787649514,"priority":1,"record_length":96,"hex_timestamp":"000001a03836da10"} 
[2026-08-25 14:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 14:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198528001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":164338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:50:46] local.INFO: GPS data processed {"connection_id":164338,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:50:46] local.INFO: Acknowledgment sent {"connection_id":164338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:50:46] local.INFO: TCP Data received {"connection_id":161720,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:50:46] local.INFO: Processing buffer {"connection_id":161720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:50:46] local.INFO: IMEI packet received {"connection_id":161720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":161720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:50:51] local.INFO: TCP Data received {"connection_id":161720,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:50:51] local.INFO: Processing buffer {"connection_id":161720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:50:51] local.INFO: IMEI packet received {"connection_id":161720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":161720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:50:52] local.INFO: TCP Data received {"connection_id":161720,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:50:52] local.INFO: Processing buffer {"connection_id":161720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:50:52] local.INFO: Packet analysis {"connection_id":161720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:50:52] local.INFO: Extracted packet for processing {"connection_id":161720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:50:52] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":44,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:50:52] 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-25 14:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638197760001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787649214000,"timestamp_ms":1787649214000,"timestamp_seconds":1787649214,"priority":1,"record_length":96,"hex_timestamp":"000001a038324630"} 
[2026-08-25 14:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 14:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638197760001,"66":5405,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638197760001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:50:52] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:50:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638197760001,"power":5405,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":161720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:50:52] local.INFO: GPS data processed {"connection_id":161720,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:50:52] local.INFO: Acknowledgment sent {"connection_id":161720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:50:52] local.INFO: TCP Data received {"connection_id":162960,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:50:52] local.INFO: Processing buffer {"connection_id":162960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:50:52] local.INFO: IMEI packet received {"connection_id":162960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":162960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:50:52] local.INFO: TCP Data received {"connection_id":162960,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:50:52] local.INFO: Processing buffer {"connection_id":162960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:50:52] local.INFO: IMEI packet received {"connection_id":162960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":162960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:50:56] local.INFO: TCP Data received {"connection_id":161720,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:50:56] local.INFO: Processing buffer {"connection_id":161720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:50:56] local.INFO: Packet analysis {"connection_id":161720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:50:56] local.INFO: Extracted packet for processing {"connection_id":161720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:50:56] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":44,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:50:56] 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-25 14:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787649214000,"timestamp_ms":1787649214000,"timestamp_seconds":1787649214,"priority":1,"record_length":96,"hex_timestamp":"000001a038324630"} 
[2026-08-25 14:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4048925215385558472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730358784,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3669590154173153486,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.WARNING: Large IO value detected {"io_id":80,"raw_value":1729713887575541097,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:56] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,195,84,24,241,157,16,144,160,54,45,99,12,10,66,244,1,240,187,227,56,105,4,113,80,43],"length":570,"final_offset":700,"validated_count":26,"validation_warnings":[]} 
[2026-08-25 14:50:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279327,"timestamp_seconds":864872736852279.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":5405,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:50:56] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:50:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":5405,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":161720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:50:56] local.INFO: GPS data processed {"connection_id":161720,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:50:56] local.INFO: Acknowledgment sent {"connection_id":161720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:50:58] local.INFO: TCP Data received {"connection_id":162960,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:50:58] local.INFO: Processing buffer {"connection_id":162960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:50:58] local.INFO: IMEI packet received {"connection_id":162960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":162960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:50:59] local.INFO: TCP Data received {"connection_id":162960,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038382230012d18fb000720d4000038008030..."} 
[2026-08-25 14:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038382230012d18fb000720d4000038008030..."} 
[2026-08-25 14:50:59] local.INFO: Processing buffer {"connection_id":162960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038382230012d18fb000720d4000038008030..."} 
[2026-08-25 14:50:59] local.INFO: Packet analysis {"connection_id":162960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03838"} 
[2026-08-25 14:50:59] local.INFO: Extracted packet for processing {"connection_id":162960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03838"} 
[2026-08-25 14:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756611840,"raw_latitude":119591936,"longitude_deg":75.661184,"latitude_deg":11.9591936,"altitude":56,"angle":128,"satellites":48,"speed":37,"hex_longitude":"2d18fb00","hex_latitude":"0720d400","is_valid_coordinates":true} 
[2026-08-25 14:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638294528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15943283674972160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793840057194475520,"note":"Value kept but may cause issues"} 
[2026-08-25 14:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787649598000,"timestamp_ms":1787649598000,"timestamp_seconds":1787649598,"priority":1,"record_length":96,"hex_timestamp":"000001a038382230"} 
[2026-08-25 14:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:50:59] 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-25 14:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-25 14:50:59] 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-25 14:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638294528001,"66":14135,"121":206,"28":31744,"24":37,"16":15943283674972160,"45":1793840057194475520},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638294528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:50:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15943283674972160,"km_value":15943283674972.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793840057194475520,"description":"Unknown IO ID 45"} 
[2026-08-25 14:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638294528001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1793840057194475520}} 
[2026-08-25 14:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":162960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:51:00] local.INFO: GPS data processed {"connection_id":162960,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:51:00] local.INFO: Acknowledgment sent {"connection_id":162960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:51:17] local.INFO: TCP Data received {"connection_id":164338,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:51:17] local.INFO: Processing buffer {"connection_id":164338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:51:17] local.INFO: Packet analysis {"connection_id":164338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:51:17] local.INFO: Extracted packet for processing {"connection_id":164338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787649514000,"timestamp_ms":1787649514000,"timestamp_seconds":1787649514,"priority":1,"record_length":96,"hex_timestamp":"000001a03836da10"} 
[2026-08-25 14:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 14:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198528001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":164338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:51:17] local.INFO: GPS data processed {"connection_id":164338,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:51:17] local.INFO: Acknowledgment sent {"connection_id":164338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:51:41] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:51:41] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:51:41] local.INFO: IMEI packet received {"connection_id":161721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":161721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:51:46] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:51:46] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:51:46] local.INFO: IMEI packet received {"connection_id":161721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":161721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:51:46] local.INFO: TCP Data received {"connection_id":162960,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a038382230012d18fb000720d4000038008030..."} 
[2026-08-25 14:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038382230012d18fb000720d4000038008030..."} 
[2026-08-25 14:51:46] local.INFO: Processing buffer {"connection_id":162960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038382230012d18fb000720d4000038008030..."} 
[2026-08-25 14:51:46] local.INFO: Packet analysis {"connection_id":162960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03838"} 
[2026-08-25 14:51:46] local.INFO: Extracted packet for processing {"connection_id":162960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03838"} 
[2026-08-25 14:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756611840,"raw_latitude":119591936,"longitude_deg":75.661184,"latitude_deg":11.9591936,"altitude":56,"angle":128,"satellites":48,"speed":37,"hex_longitude":"2d18fb00","hex_latitude":"0720d400","is_valid_coordinates":true} 
[2026-08-25 14:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638297088001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15943283674972160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800032506680180736,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649598000,"timestamp_ms":1787649598000,"timestamp_seconds":1787649598,"priority":1,"record_length":96,"hex_timestamp":"000001a038382230"} 
[2026-08-25 14:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-25 14:51:46] 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-25 14:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638297088001,"66":14135,"121":206,"28":31744,"24":37,"16":15943283674972160,"45":1800032506680180736},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638297088001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:51:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:51:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15943283674972160,"km_value":15943283674972.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800032506680180736,"description":"Unknown IO ID 45"} 
[2026-08-25 14:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638297088001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1800032506680180736}} 
[2026-08-25 14:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":162960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:51:46] local.INFO: GPS data processed {"connection_id":162960,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:51:46] local.INFO: Acknowledgment sent {"connection_id":162960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:51:46] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:51:46] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:51:46] local.INFO: IMEI packet received {"connection_id":161722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":161722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:51:46] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:51:46] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:51:46] local.INFO: Packet analysis {"connection_id":161721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:51:46] local.INFO: Extracted packet for processing {"connection_id":161721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:51:46] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":44,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649214000,"timestamp_ms":1787649214000,"timestamp_seconds":1787649214,"priority":1,"record_length":96,"hex_timestamp":"000001a038324630"} 
[2026-08-25 14:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4048925215385558472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730358784,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3669590154173153486,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.WARNING: Large IO value detected {"io_id":80,"raw_value":1729713887575541097,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:46] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,195,84,24,241,157,16,144,160,54,45,99,12,10,66,244,1,240,187,227,56,105,4,113,80,43],"length":570,"final_offset":700,"validated_count":26,"validation_warnings":[]} 
[2026-08-25 14:51:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279327,"timestamp_seconds":864872736852279.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":5405,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:51:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:51:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":5405,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":161721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:51:46] local.INFO: GPS data processed {"connection_id":161721,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:51:46] local.INFO: Acknowledgment sent {"connection_id":161721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:51:50] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:51:50] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:51:50] local.INFO: IMEI packet received {"connection_id":161722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":161722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:51:52] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:51:52] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:51:52] local.INFO: Packet analysis {"connection_id":161722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:51:52] local.INFO: Extracted packet for processing {"connection_id":161722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787649514000,"timestamp_ms":1787649514000,"timestamp_seconds":1787649514,"priority":1,"record_length":96,"hex_timestamp":"000001a03836da10"} 
[2026-08-25 14:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 14:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198528001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":161722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:51:52] local.INFO: GPS data processed {"connection_id":161722,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:51:52] local.INFO: Acknowledgment sent {"connection_id":161722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:51:52] local.INFO: TCP Data received {"connection_id":162961,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:51:52] local.INFO: Processing buffer {"connection_id":162961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:51:52] local.INFO: IMEI packet received {"connection_id":162961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":162961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:51:53] local.INFO: TCP Data received {"connection_id":162961,"ip":"117.224.18.74","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 14:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162961,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 14:51:53] local.INFO: Processing buffer {"connection_id":162961,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 14:51:53] local.INFO: IMEI packet received {"connection_id":162961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":162961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:51:56] local.INFO: TCP Data received {"connection_id":162961,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:51:56] local.INFO: Processing buffer {"connection_id":162961,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 14:51:56] local.INFO: IMEI packet received {"connection_id":162961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":162961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:51:59] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:51:59] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:51:59] local.INFO: Packet analysis {"connection_id":161722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:51:59] local.INFO: Extracted packet for processing {"connection_id":161722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787649514000,"timestamp_ms":1787649514000,"timestamp_seconds":1787649514,"priority":1,"record_length":96,"hex_timestamp":"000001a03836da10"} 
[2026-08-25 14:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 14:51: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-25 14:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:51: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-25 14:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198528001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:51:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":161722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:51:59] local.INFO: GPS data processed {"connection_id":161722,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:51:59] local.INFO: Acknowledgment sent {"connection_id":161722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:52:17] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:52:17] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:52:17] local.INFO: Packet analysis {"connection_id":161721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:52:17] local.INFO: Extracted packet for processing {"connection_id":161721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:52:17] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":44,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:52:17] 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-25 14:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787649214000,"timestamp_ms":1787649214000,"timestamp_seconds":1787649214,"priority":1,"record_length":96,"hex_timestamp":"000001a038324630"} 
[2026-08-25 14:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4048925215385558472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730358784,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3669590154173153486,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.WARNING: Large IO value detected {"io_id":80,"raw_value":1729713887575541097,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:17] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,195,84,24,241,157,16,144,160,54,45,99,12,10,66,244,1,240,187,227,56,105,4,113,80,43],"length":570,"final_offset":700,"validated_count":26,"validation_warnings":[]} 
[2026-08-25 14:52:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279327,"timestamp_seconds":864872736852279.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":5405,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:52:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:52:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":5405,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":161721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:52:17] local.INFO: GPS data processed {"connection_id":161721,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:52:17] local.INFO: Acknowledgment sent {"connection_id":161721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:52:40] local.INFO: TCP Data received {"connection_id":164339,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:52:40] local.INFO: Processing buffer {"connection_id":164339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:52:40] local.INFO: IMEI packet received {"connection_id":164339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":164339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:52:41] local.INFO: TCP Data received {"connection_id":164340,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:52:41] local.INFO: Processing buffer {"connection_id":164340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:52:41] local.INFO: IMEI packet received {"connection_id":164340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":164340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:52:45] local.INFO: TCP Data received {"connection_id":164339,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:52:45] local.INFO: Processing buffer {"connection_id":164339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:52:45] local.INFO: IMEI packet received {"connection_id":164339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":164339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:52:46] local.INFO: TCP Data received {"connection_id":164340,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:52:46] local.INFO: Processing buffer {"connection_id":164340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:52:46] local.INFO: IMEI packet received {"connection_id":164340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":164340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:52:46] local.INFO: TCP Data received {"connection_id":164339,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:52:46] local.INFO: Processing buffer {"connection_id":164339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:52:46] local.INFO: Packet analysis {"connection_id":164339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:52:46] local.INFO: Extracted packet for processing {"connection_id":164339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649514000,"timestamp_ms":1787649514000,"timestamp_seconds":1787649514,"priority":1,"record_length":96,"hex_timestamp":"000001a03836da10"} 
[2026-08-25 14:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 14:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:52:46] 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-25 14:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198528001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":164339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:52:46] local.INFO: GPS data processed {"connection_id":164339,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:52:46] local.INFO: Acknowledgment sent {"connection_id":164339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:52:47] local.INFO: TCP Data received {"connection_id":164340,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:52:47] local.INFO: Processing buffer {"connection_id":164340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038324630012d9dc800056963a0000c00a52c..."} 
[2026-08-25 14:52:47] local.INFO: Packet analysis {"connection_id":164340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:52:47] local.INFO: Extracted packet for processing {"connection_id":164340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03832"} 
[2026-08-25 14:52:47] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":44,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 14:52:47] 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-25 14:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787649214000,"timestamp_ms":1787649214000,"timestamp_seconds":1787649214,"priority":1,"record_length":96,"hex_timestamp":"000001a038324630"} 
[2026-08-25 14:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4048925215385558472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730358784,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3669590154173153486,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.WARNING: Large IO value detected {"io_id":80,"raw_value":1729713887575541097,"note":"Value kept but may cause issues"} 
[2026-08-25 14:52:47] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,195,84,24,241,157,16,144,160,54,45,99,12,10,66,244,1,240,187,227,56,105,4,113,80,43],"length":570,"final_offset":700,"validated_count":26,"validation_warnings":[]} 
[2026-08-25 14:52:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279327,"timestamp_seconds":864872736852279.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":5405,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:52:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:52:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":5405,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":164340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:52:47] local.INFO: GPS data processed {"connection_id":164340,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:52:47] local.INFO: Acknowledgment sent {"connection_id":164340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:53:17] local.INFO: TCP Data received {"connection_id":164339,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:53:17] local.INFO: Processing buffer {"connection_id":164339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:53:17] local.INFO: Packet analysis {"connection_id":164339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:53:17] local.INFO: Extracted packet for processing {"connection_id":164339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787649514000,"timestamp_ms":1787649514000,"timestamp_seconds":1787649514,"priority":1,"record_length":96,"hex_timestamp":"000001a03836da10"} 
[2026-08-25 14:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 14:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:53:17] 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-25 14:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198528001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":164339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:53:17] local.INFO: GPS data processed {"connection_id":164339,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:53:17] local.INFO: Acknowledgment sent {"connection_id":164339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:53:18] local.INFO: TCP Data received {"connection_id":164340,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:53:18] local.INFO: Processing buffer {"connection_id":164340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:53:18] local.INFO: Packet analysis {"connection_id":164340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:53:18] local.INFO: Extracted packet for processing {"connection_id":164340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:53:18] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 14:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787649769000,"timestamp_ms":1787649769000,"timestamp_seconds":1787649769,"priority":1,"record_length":96,"hex_timestamp":"000001a0383abe28"} 
[2026-08-25 14:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4049015409698774472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730555392,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3748966097605558478,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2306174639878964585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:18] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,195,84,24,241,157,16,144,160,70,45,99,12,44,10,66,54,240,220,227,56,105,4,113,162],"length":570,"final_offset":700,"validated_count":25,"validation_warnings":[]} 
[2026-08-25 14:53:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279362,"timestamp_seconds":864872736852279.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":2253,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:53:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:53:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":2253,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":164340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:53:18] local.INFO: GPS data processed {"connection_id":164340,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:53:18] local.INFO: Acknowledgment sent {"connection_id":164340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:53:39] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:53:39] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:53:39] local.INFO: IMEI packet received {"connection_id":161962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":161962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:53:41] local.INFO: TCP Data received {"connection_id":162962,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:53:41] local.INFO: Processing buffer {"connection_id":162962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:53:41] local.INFO: IMEI packet received {"connection_id":162962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":162962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:53:45] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:53:45] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:53:45] local.INFO: IMEI packet received {"connection_id":161962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":161962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:53:45] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:53:45] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03836da10012d34c14006aa4820000900e630..."} 
[2026-08-25 14:53:45] local.INFO: Packet analysis {"connection_id":161962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:53:45] local.INFO: Extracted packet for processing {"connection_id":161962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03836"} 
[2026-08-25 14:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198528001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787649514000,"timestamp_ms":1787649514000,"timestamp_seconds":1787649514,"priority":1,"record_length":96,"hex_timestamp":"000001a03836da10"} 
[2026-08-25 14:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 14:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198528001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198528001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198528001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":161962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:53:45] local.INFO: GPS data processed {"connection_id":161962,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:53:45] local.INFO: Acknowledgment sent {"connection_id":161962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:53:46] local.INFO: TCP Data received {"connection_id":162962,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:53:46] local.INFO: Processing buffer {"connection_id":162962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:53:46] local.INFO: IMEI packet received {"connection_id":162962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":162962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:53:47] local.INFO: TCP Data received {"connection_id":162962,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:53:47] local.INFO: Processing buffer {"connection_id":162962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:53:47] local.INFO: Packet analysis {"connection_id":162962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:53:47] local.INFO: Extracted packet for processing {"connection_id":162962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:53:47] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 14:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787649769000,"timestamp_ms":1787649769000,"timestamp_seconds":1787649769,"priority":1,"record_length":96,"hex_timestamp":"000001a0383abe28"} 
[2026-08-25 14:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4049015409698774472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730555392,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3748966097605558478,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2306174639878964585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:53:47] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,195,84,24,241,157,16,144,160,70,45,99,12,44,10,66,54,240,220,227,56,105,4,113,162],"length":570,"final_offset":700,"validated_count":25,"validation_warnings":[]} 
[2026-08-25 14:53:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279362,"timestamp_seconds":864872736852279.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":2253,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:53:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:53:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":2253,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":162962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:53:47] local.INFO: GPS data processed {"connection_id":162962,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:53:47] local.INFO: Acknowledgment sent {"connection_id":162962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:54:18] local.INFO: TCP Data received {"connection_id":162962,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:54:18] local.INFO: Processing buffer {"connection_id":162962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:54:18] local.INFO: Packet analysis {"connection_id":162962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:54:18] local.INFO: Extracted packet for processing {"connection_id":162962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:54:18] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 14:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787649769000,"timestamp_ms":1787649769000,"timestamp_seconds":1787649769,"priority":1,"record_length":96,"hex_timestamp":"000001a0383abe28"} 
[2026-08-25 14:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4049015409698774472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730555392,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3748966097605558478,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2306174639878964585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,195,84,24,241,157,16,144,160,70,45,99,12,44,10,66,54,240,220,227,56,105,4,113,162],"length":570,"final_offset":700,"validated_count":25,"validation_warnings":[]} 
[2026-08-25 14:54:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279362,"timestamp_seconds":864872736852279.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":2253,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:54:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:54:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":2253,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":162962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:54:18] local.INFO: GPS data processed {"connection_id":162962,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:54:18] local.INFO: Acknowledgment sent {"connection_id":162962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:54:18] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:54:18] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:54:18] local.INFO: Packet analysis {"connection_id":161962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:54:18] local.INFO: Extracted packet for processing {"connection_id":161962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638275584001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787649815000,"timestamp_ms":1787649815000,"timestamp_seconds":1787649815,"priority":1,"record_length":96,"hex_timestamp":"000001a0383b71d8"} 
[2026-08-25 14:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 14:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:54:18] 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-25 14:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638275584001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638275584001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638275584001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":161962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:54:18] local.INFO: GPS data processed {"connection_id":161962,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:54:18] local.INFO: Acknowledgment sent {"connection_id":161962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:54:45] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:54:45] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:54:45] local.INFO: IMEI packet received {"connection_id":161963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":161963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:54:46] local.INFO: TCP Data received {"connection_id":164343,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:54:46] local.INFO: Processing buffer {"connection_id":164343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:54:46] local.INFO: IMEI packet received {"connection_id":164343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":164343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:54:50] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:54:50] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:54:50] local.INFO: IMEI packet received {"connection_id":161963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":161963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:54:51] local.INFO: TCP Data received {"connection_id":164343,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:54:51] local.INFO: Processing buffer {"connection_id":164343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:54:51] local.INFO: IMEI packet received {"connection_id":164343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":164343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:54:51] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:54:51] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:54:51] local.INFO: Packet analysis {"connection_id":161963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:54:51] local.INFO: Extracted packet for processing {"connection_id":161963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638275584001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787649815000,"timestamp_ms":1787649815000,"timestamp_seconds":1787649815,"priority":1,"record_length":96,"hex_timestamp":"000001a0383b71d8"} 
[2026-08-25 14:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 14:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638275584001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638275584001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638275584001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":161963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:54:51] local.INFO: GPS data processed {"connection_id":161963,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:54:51] local.INFO: Acknowledgment sent {"connection_id":161963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:54:51] local.INFO: TCP Data received {"connection_id":164343,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:54:51] local.INFO: Processing buffer {"connection_id":164343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:54:51] local.INFO: Packet analysis {"connection_id":164343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:54:51] local.INFO: Extracted packet for processing {"connection_id":164343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:54:51] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 14:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787649769000,"timestamp_ms":1787649769000,"timestamp_seconds":1787649769,"priority":1,"record_length":96,"hex_timestamp":"000001a0383abe28"} 
[2026-08-25 14:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4049015409698774472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730555392,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3748966097605558478,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2306174639878964585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:51] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,195,84,24,241,157,16,144,160,70,45,99,12,44,10,66,54,240,220,227,56,105,4,113,162],"length":570,"final_offset":700,"validated_count":25,"validation_warnings":[]} 
[2026-08-25 14:54:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279362,"timestamp_seconds":864872736852279.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":2253,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:54:51] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:54:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":2253,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":164343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:54:51] local.INFO: GPS data processed {"connection_id":164343,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:54:51] local.INFO: Acknowledgment sent {"connection_id":164343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:54:55] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:54:55] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:54:55] local.INFO: Packet analysis {"connection_id":161963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:54:55] local.INFO: Extracted packet for processing {"connection_id":161963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638275584001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787649815000,"timestamp_ms":1787649815000,"timestamp_seconds":1787649815,"priority":1,"record_length":96,"hex_timestamp":"000001a0383b71d8"} 
[2026-08-25 14: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-25 14:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 14:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:54:55] 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-25 14:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638275584001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638275584001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638275584001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":161963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:54:55] local.INFO: GPS data processed {"connection_id":161963,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:54:55] local.INFO: Acknowledgment sent {"connection_id":161963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:54:56] local.INFO: TCP Data received {"connection_id":164343,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:54:56] local.INFO: Processing buffer {"connection_id":164343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:54:56] local.INFO: Packet analysis {"connection_id":164343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:54:56] local.INFO: Extracted packet for processing {"connection_id":164343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:54:56] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 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-25 14:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787649769000,"timestamp_ms":1787649769000,"timestamp_seconds":1787649769,"priority":1,"record_length":96,"hex_timestamp":"000001a0383abe28"} 
[2026-08-25 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-25 14:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4049015409698774472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730555392,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3748966097605558478,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2306174639878964585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:54:56] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,195,84,24,241,157,16,144,160,70,45,99,12,44,10,66,54,240,220,227,56,105,4,113,162],"length":570,"final_offset":700,"validated_count":25,"validation_warnings":[]} 
[2026-08-25 14:54:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279362,"timestamp_seconds":864872736852279.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 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-25 14:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":2253,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:54:56] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:54:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":2253,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":164343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:54:56] local.INFO: GPS data processed {"connection_id":164343,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:54:56] local.INFO: Acknowledgment sent {"connection_id":164343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:55:40] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:55:40] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:55:40] local.INFO: IMEI packet received {"connection_id":161964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":161964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:55:41] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:55:41] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:55:41] local.INFO: IMEI packet received {"connection_id":161965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":161965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:55:44] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:55:44] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:55:44] local.INFO: IMEI packet received {"connection_id":161964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":161964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:55:46] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:55:46] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:55:46] local.INFO: IMEI packet received {"connection_id":161965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":161965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:55:46] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:55:46] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:55:46] local.INFO: Packet analysis {"connection_id":161964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:55:46] local.INFO: Extracted packet for processing {"connection_id":161964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638275584001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649815000,"timestamp_ms":1787649815000,"timestamp_seconds":1787649815,"priority":1,"record_length":96,"hex_timestamp":"000001a0383b71d8"} 
[2026-08-25 14:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 14:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638275584001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638275584001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638275584001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":161964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:55:46] local.INFO: GPS data processed {"connection_id":161964,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:55:46] local.INFO: Acknowledgment sent {"connection_id":161964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:55:46] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:55:46] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:55:46] local.INFO: Packet analysis {"connection_id":161965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:55:46] local.INFO: Extracted packet for processing {"connection_id":161965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:55:46] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 14:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649769000,"timestamp_ms":1787649769000,"timestamp_seconds":1787649769,"priority":1,"record_length":96,"hex_timestamp":"000001a0383abe28"} 
[2026-08-25 14:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4049015409698774472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730555392,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3748966097605558478,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2306174639878964585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:55:46] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,195,84,24,241,157,16,144,160,70,45,99,12,44,10,66,54,240,220,227,56,105,4,113,162],"length":570,"final_offset":700,"validated_count":25,"validation_warnings":[]} 
[2026-08-25 14:55:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279362,"timestamp_seconds":864872736852279.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":2253,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:55:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:55:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":2253,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":161965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:55:46] local.INFO: GPS data processed {"connection_id":161965,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:55:46] local.INFO: Acknowledgment sent {"connection_id":161965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:56:17] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:56:17] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:56:17] local.INFO: Packet analysis {"connection_id":161964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:56:17] local.INFO: Extracted packet for processing {"connection_id":161964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638275584001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787649815000,"timestamp_ms":1787649815000,"timestamp_seconds":1787649815,"priority":1,"record_length":96,"hex_timestamp":"000001a0383b71d8"} 
[2026-08-25 14:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 14:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638275584001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638275584001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638275584001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":161964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:56:17] local.INFO: GPS data processed {"connection_id":161964,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:56:17] local.INFO: Acknowledgment sent {"connection_id":161964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:56:17] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:56:17] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:56:17] local.INFO: Packet analysis {"connection_id":161965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:56:17] local.INFO: Extracted packet for processing {"connection_id":161965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:56:17] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 14:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787649769000,"timestamp_ms":1787649769000,"timestamp_seconds":1787649769,"priority":1,"record_length":96,"hex_timestamp":"000001a0383abe28"} 
[2026-08-25 14:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4049015409698774472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730555392,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3748966097605558478,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2306174639878964585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:17] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,195,84,24,241,157,16,144,160,70,45,99,12,44,10,66,54,240,220,227,56,105,4,113,162],"length":570,"final_offset":700,"validated_count":25,"validation_warnings":[]} 
[2026-08-25 14:56:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279362,"timestamp_seconds":864872736852279.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":2253,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:56:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:56:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":2253,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":161965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:56:18] local.INFO: GPS data processed {"connection_id":161965,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:56:18] local.INFO: Acknowledgment sent {"connection_id":161965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:56:40] local.INFO: TCP Data received {"connection_id":162963,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:56:40] local.INFO: Processing buffer {"connection_id":162963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:56:40] local.INFO: IMEI packet received {"connection_id":162963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":162963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:56:41] local.INFO: TCP Data received {"connection_id":162964,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:56:41] local.INFO: Processing buffer {"connection_id":162964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:56:41] local.INFO: IMEI packet received {"connection_id":162964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":162964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:56:45] local.INFO: TCP Data received {"connection_id":162963,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:56:45] local.INFO: Processing buffer {"connection_id":162963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:56:45] local.INFO: IMEI packet received {"connection_id":162963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":162963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:56:46] local.INFO: TCP Data received {"connection_id":162964,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:56:46] local.INFO: Processing buffer {"connection_id":162964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:56:46] local.INFO: IMEI packet received {"connection_id":162964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":162964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:56:46] local.INFO: TCP Data received {"connection_id":162963,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:56:46] local.INFO: Processing buffer {"connection_id":162963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:56:46] local.INFO: Packet analysis {"connection_id":162963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:56:46] local.INFO: Extracted packet for processing {"connection_id":162963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638275584001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649815000,"timestamp_ms":1787649815000,"timestamp_seconds":1787649815,"priority":1,"record_length":96,"hex_timestamp":"000001a0383b71d8"} 
[2026-08-25 14:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 14:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638275584001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638275584001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638275584001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":162963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:56:46] local.INFO: GPS data processed {"connection_id":162963,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:56:46] local.INFO: Acknowledgment sent {"connection_id":162963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:56:46] local.INFO: TCP Data received {"connection_id":162964,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:56:46] local.INFO: Processing buffer {"connection_id":162964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:56:46] local.INFO: Packet analysis {"connection_id":162964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:56:46] local.INFO: Extracted packet for processing {"connection_id":162964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:56:46] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 14:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649769000,"timestamp_ms":1787649769000,"timestamp_seconds":1787649769,"priority":1,"record_length":96,"hex_timestamp":"000001a0383abe28"} 
[2026-08-25 14:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4049015409698774472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730555392,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3748966097605558478,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2306174639878964585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:56:46] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,195,84,24,241,157,16,144,160,70,45,99,12,44,10,66,54,240,220,227,56,105,4,113,162],"length":570,"final_offset":700,"validated_count":25,"validation_warnings":[]} 
[2026-08-25 14:56:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279362,"timestamp_seconds":864872736852279.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":2253,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:56:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:56:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":2253,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":162964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:56:46] local.INFO: GPS data processed {"connection_id":162964,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:56:46] local.INFO: Acknowledgment sent {"connection_id":162964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:56:57] local.INFO: TCP Data received {"connection_id":161966,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:56:57] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:56:57] local.INFO: IMEI packet received {"connection_id":161966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":161966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:56:59] local.INFO: TCP Data received {"connection_id":161966,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:56:59] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:56:59] local.INFO: IMEI packet received {"connection_id":161966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":161966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:57:00] local.INFO: TCP Data received {"connection_id":161966,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0383dd338012d19d080072013f8002f00872f..."} 
[2026-08-25 14:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383dd338012d19d080072013f8002f00872f..."} 
[2026-08-25 14:57:00] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383dd338012d19d080072013f8002f00872f..."} 
[2026-08-25 14:57:00] local.INFO: Packet analysis {"connection_id":161966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383d"} 
[2026-08-25 14:57:00] local.INFO: Extracted packet for processing {"connection_id":161966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383d"} 
[2026-08-25 14:57:00] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119542776,"longitude_deg":75.6666496,"latitude_deg":11.9542776,"altitude":47,"angle":135,"satellites":47,"speed":29,"hex_longitude":"2d19d080","hex_latitude":"072013f8","is_valid_coordinates":true} 
[2026-08-25 14:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638392064001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15952543624462336,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777155072,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787649971000,"timestamp_ms":1787649971000,"timestamp_seconds":1787649971,"priority":1,"record_length":96,"hex_timestamp":"000001a0383dd338"} 
[2026-08-25 14:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 14:57:00] 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-25 14:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638392064001,"66":14428,"121":206,"28":31744,"24":29,"16":15952543624462336,"45":1859142251777155072},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638392064001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:57:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15952543624462336,"km_value":15952543624462.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777155072,"description":"Unknown IO ID 45"} 
[2026-08-25 14:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638392064001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1859142251777155072}} 
[2026-08-25 14:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":161966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:57:00] local.INFO: GPS data processed {"connection_id":161966,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:57:00] local.INFO: Acknowledgment sent {"connection_id":161966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:57:02] local.INFO: TCP Data received {"connection_id":161966,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0383ddb08012d19d54007201070003000792e..."} 
[2026-08-25 14:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383ddb08012d19d54007201070003000792e..."} 
[2026-08-25 14:57:02] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383ddb08012d19d54007201070003000792e..."} 
[2026-08-25 14:57:02] local.INFO: Packet analysis {"connection_id":161966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383d"} 
[2026-08-25 14:57:02] local.INFO: Extracted packet for processing {"connection_id":161966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383d"} 
[2026-08-25 14:57:02] local.INFO: GPS Element Parsed {"raw_longitude":756667712,"raw_latitude":119541872,"longitude_deg":75.6667712,"latitude_deg":11.9541872,"altitude":48,"angle":121,"satellites":46,"speed":29,"hex_longitude":"2d19d540","hex_latitude":"07201070","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638392576001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15952616638906368,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195320832,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787649973000,"timestamp_ms":1787649973000,"timestamp_seconds":1787649973,"priority":1,"record_length":96,"hex_timestamp":"000001a0383ddb08"} 
[2026-08-25 14: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-25 14:57:02] 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-25 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 14:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638392576001,"66":14428,"121":206,"28":31744,"24":29,"16":15952616638906368,"45":1860127414195320832},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638392576001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:57:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:57:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15952616638906368,"km_value":15952616638906.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195320832,"description":"Unknown IO ID 45"} 
[2026-08-25 14:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638392576001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1860127414195320832}} 
[2026-08-25 14:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":161966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:57:02] local.INFO: GPS data processed {"connection_id":161966,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:57:02] local.INFO: Acknowledgment sent {"connection_id":161966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:57:17] local.INFO: TCP Data received {"connection_id":162964,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:57:17] local.INFO: Processing buffer {"connection_id":162964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:57:17] local.INFO: Packet analysis {"connection_id":162964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:57:17] local.INFO: Extracted packet for processing {"connection_id":162964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:57:17] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 14:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787649769000,"timestamp_ms":1787649769000,"timestamp_seconds":1787649769,"priority":1,"record_length":96,"hex_timestamp":"000001a0383abe28"} 
[2026-08-25 14:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4049015409698774472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730555392,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3748966097605558478,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2306174639878964585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:17] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,195,84,24,241,157,16,144,160,70,45,99,12,44,10,66,54,240,220,227,56,105,4,113,162],"length":570,"final_offset":700,"validated_count":25,"validation_warnings":[]} 
[2026-08-25 14:57:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279362,"timestamp_seconds":864872736852279.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":2253,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:57:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:57:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":2253,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":162964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:57:17] local.INFO: GPS data processed {"connection_id":162964,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:57:17] local.INFO: Acknowledgment sent {"connection_id":162964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:57:19] local.INFO: TCP Data received {"connection_id":162963,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:57:19] local.INFO: Processing buffer {"connection_id":162963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:57:19] local.INFO: Packet analysis {"connection_id":162963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:57:19] local.INFO: Extracted packet for processing {"connection_id":162963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638275584001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787649815000,"timestamp_ms":1787649815000,"timestamp_seconds":1787649815,"priority":1,"record_length":96,"hex_timestamp":"000001a0383b71d8"} 
[2026-08-25 14:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 14:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638275584001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638275584001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638275584001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":162963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:57:19] local.INFO: GPS data processed {"connection_id":162963,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:57:19] local.INFO: Acknowledgment sent {"connection_id":162963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:57:33] local.INFO: TCP Data received {"connection_id":161966,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0383e7748012d19a3c0071ff1a00036010b28..."} 
[2026-08-25 14:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383e7748012d19a3c0071ff1a00036010b28..."} 
[2026-08-25 14:57:33] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383e7748012d19a3c0071ff1a00036010b28..."} 
[2026-08-25 14:57:33] local.INFO: Packet analysis {"connection_id":161966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383e"} 
[2026-08-25 14:57:33] local.INFO: Extracted packet for processing {"connection_id":161966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383e"} 
[2026-08-25 14:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756655040,"raw_latitude":119533984,"longitude_deg":75.665504,"latitude_deg":11.9533984,"altitude":54,"angle":267,"satellites":40,"speed":13,"hex_longitude":"2d19a3c0","hex_latitude":"071ff1a0","is_valid_coordinates":true} 
[2026-08-25 14:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638403072001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15953625956220928,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847953621450342400,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787650013000,"timestamp_ms":1787650013000,"timestamp_seconds":1787650013,"priority":1,"record_length":96,"hex_timestamp":"000001a0383e7748"} 
[2026-08-25 14:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 14:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638403072001,"66":14298,"121":206,"28":31744,"24":13,"16":15953625956220928,"45":1847953621450342400},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638403072001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:57:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:57:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15953625956220928,"km_value":15953625956220.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847953621450342400,"description":"Unknown IO ID 45"} 
[2026-08-25 14:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638403072001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1847953621450342400}} 
[2026-08-25 14:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":161966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:57:34] local.INFO: GPS data processed {"connection_id":161966,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:57:34] local.INFO: Acknowledgment sent {"connection_id":161966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:57:40] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:57:40] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:57:40] local.INFO: IMEI packet received {"connection_id":161967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":161967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:57:41] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:57:41] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:57:41] local.INFO: IMEI packet received {"connection_id":161968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":161968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:57:44] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:57:44] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:57:44] local.INFO: IMEI packet received {"connection_id":161967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":161967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:57:45] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:57:45] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:57:45] local.INFO: Packet analysis {"connection_id":161967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:57:45] local.INFO: Extracted packet for processing {"connection_id":161967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638275584001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787649815000,"timestamp_ms":1787649815000,"timestamp_seconds":1787649815,"priority":1,"record_length":96,"hex_timestamp":"000001a0383b71d8"} 
[2026-08-25 14:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 14:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:57:45] 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-25 14:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638275584001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638275584001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638275584001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":161967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:57:45] local.INFO: GPS data processed {"connection_id":161967,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:57:45] local.INFO: Acknowledgment sent {"connection_id":161967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:57:46] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:57:46] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:57:46] local.INFO: IMEI packet received {"connection_id":161968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":161968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:57:47] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:57:47] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383abe28012d9dc8c005696398000c00a52d..."} 
[2026-08-25 14:57:47] local.INFO: Packet analysis {"connection_id":161968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:57:47] local.INFO: Extracted packet for processing {"connection_id":161968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383a"} 
[2026-08-25 14:57:47] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 14:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638198784001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787649769000,"timestamp_ms":1787649769000,"timestamp_seconds":1787649769,"priority":1,"record_length":96,"hex_timestamp":"000001a0383abe28"} 
[2026-08-25 14:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":21,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3635879340919217920,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914621952,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926991530689024,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186039,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627539226880,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1080863910568919041,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4049015409698774472,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6917515830730555392,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":12,"raw_value":46492849180508160,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3748966097605558478,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2306174639878964585,"note":"Value kept but may cause issues"} 
[2026-08-25 14:57:47] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,195,84,24,241,157,16,144,160,70,45,99,12,44,10,66,54,240,220,227,56,105,4,113,162],"length":570,"final_offset":700,"validated_count":25,"validation_warnings":[]} 
[2026-08-25 14:57:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864872736852279362,"timestamp_seconds":864872736852279.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 14:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638198784001,"66":2253,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077406791169761280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638198784001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:57:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:57:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 14:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638198784001,"power":2253,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 14:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":161968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:57:47] local.INFO: GPS data processed {"connection_id":161968,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:57:47] local.INFO: Acknowledgment sent {"connection_id":161968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:57:54] local.INFO: TCP Data received {"connection_id":161969,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:57:54] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:57:54] local.INFO: IMEI packet received {"connection_id":161969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":161969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:57:58] local.INFO: TCP Data received {"connection_id":161969,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:57:58] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:57:58] local.INFO: IMEI packet received {"connection_id":161969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":161969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:57:58] local.INFO: TCP Data received {"connection_id":161969,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:57:58] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:57:58] local.INFO: IMEI packet received {"connection_id":161969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":161969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:58:02] local.INFO: TCP Data received {"connection_id":161969,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:58:02] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:58:02] local.INFO: IMEI packet received {"connection_id":161969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":161969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:58:03] local.INFO: TCP Data received {"connection_id":161969,"ip":"117.224.18.74","data_length":1360,"data_hex":"000000000000030f8e0a000001a0383e7b30012d19a2c0071ff160003600fc27..."} 
[2026-08-25 14:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a0383e7b30012d19a2c0071ff160003600fc27..."} 
[2026-08-25 14:58:03] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a0383e7b30012d19a2c0071ff160003600fc27..."} 
[2026-08-25 14:58:03] local.INFO: Packet analysis {"connection_id":161969,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a0383e"} 
[2026-08-25 14:58:03] local.INFO: Extracted packet for processing {"connection_id":161969,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0383e"} 
[2026-08-25 14:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119533920,"longitude_deg":75.6654784,"latitude_deg":11.953392,"altitude":54,"angle":252,"satellites":39,"speed":9,"hex_longitude":"2d19a2c0","hex_latitude":"071ff160","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638403328001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15953638841122816,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531408985268224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787650014000,"timestamp_ms":1787650014000,"timestamp_seconds":1787650014,"priority":1,"record_length":96,"hex_timestamp":"000001a0383e7b30"} 
[2026-08-25 14: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-25 14:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-25 14:58: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-25 14: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-25 14: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-25 14:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638403328001,"66":14298,"121":206,"28":31744,"24":9,"16":15953638841122816,"45":1847531408985268224},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638403328001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:58:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:58:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15953638841122816,"km_value":15953638841122.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531408985268224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638403328001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1847531408985268224}} 
[2026-08-25 14:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":161969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:58:03] local.INFO: GPS data processed {"connection_id":161969,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:58:03] local.INFO: Acknowledgment sent {"connection_id":161969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:58:03] local.INFO: Packet analysis {"connection_id":161969,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0383e"} 
[2026-08-25 14:58:03] local.INFO: Incomplete packet, waiting for more data {"connection_id":161969,"needed":795,"available":565} 
[2026-08-25 14:58:03] local.INFO: TCP Data received {"connection_id":161969,"ip":"117.224.18.74","data_length":230,"data_hex":"2d19c780071ff170002f00fc3000120000000a000400ef0100714c00f0010045..."} 
[2026-08-25 14:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":230,"packet_hex":"2d19c780071ff170002f00fc3000120000000a000400ef0100714c00f0010045..."} 
[2026-08-25 14:58:03] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383e7f18012d19a200071ff0d8003600ee28..."} 
[2026-08-25 14:58:03] local.INFO: Packet analysis {"connection_id":161969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383e"} 
[2026-08-25 14:58:03] local.INFO: Extracted packet for processing {"connection_id":161969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383e"} 
[2026-08-25 14:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756654592,"raw_latitude":119533784,"longitude_deg":75.6654592,"latitude_deg":11.9533784,"altitude":54,"angle":238,"satellites":40,"speed":11,"hex_longitude":"2d19a200","hex_latitude":"071ff0d8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638403584001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15953651726024704,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934008541184,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787650015000,"timestamp_ms":1787650015000,"timestamp_seconds":1787650015,"priority":1,"record_length":96,"hex_timestamp":"000001a0383e7f18"} 
[2026-08-25 14: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-25 14:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-25 14:58: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-25 14: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-25 14: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-25 14:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638403584001,"66":13537,"121":206,"28":31744,"24":11,"16":15953651726024704,"45":1847249934008541184},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638403584001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:58:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:58:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15953651726024704,"km_value":15953651726024.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934008541184,"description":"Unknown IO ID 45"} 
[2026-08-25 14:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638403584001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1847249934008541184}} 
[2026-08-25 14:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":161969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:58:04] local.INFO: GPS data processed {"connection_id":161969,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:58:04] local.INFO: Acknowledgment sent {"connection_id":161969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:58:07] local.INFO: TCP Data received {"connection_id":161969,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0383e86e8012d199f80071fefd8003700fe29..."} 
[2026-08-25 14:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383e86e8012d199f80071fefd8003700fe29..."} 
[2026-08-25 14:58:07] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383e86e8012d199f80071fefd8003700fe29..."} 
[2026-08-25 14:58:07] local.INFO: Packet analysis {"connection_id":161969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383e"} 
[2026-08-25 14:58:07] local.INFO: Extracted packet for processing {"connection_id":161969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383e"} 
[2026-08-25 14:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756653952,"raw_latitude":119533528,"longitude_deg":75.6653952,"latitude_deg":11.9533528,"altitude":55,"angle":254,"satellites":41,"speed":14,"hex_longitude":"2d199f80","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638403840001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15953681790795776,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827775973376,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787650017000,"timestamp_ms":1787650017000,"timestamp_seconds":1787650017,"priority":1,"record_length":96,"hex_timestamp":"000001a0383e86e8"} 
[2026-08-25 14: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-25 14:58: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-25 14: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-25 14:58:07] 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-25 14: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-25 14: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-25 14:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638403840001,"66":14450,"121":206,"28":31744,"24":14,"16":15953681790795776,"45":1847038827775973376},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638403840001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:58:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:58:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15953681790795776,"km_value":15953681790795.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827775973376,"description":"Unknown IO ID 45"} 
[2026-08-25 14:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638403840001,"power":14450,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1847038827775973376}} 
[2026-08-25 14:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":161969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:58:07] local.INFO: GPS data processed {"connection_id":161969,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:58:07] local.INFO: Acknowledgment sent {"connection_id":161969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:58:17] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:58:17] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:58:17] local.INFO: Packet analysis {"connection_id":161967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:58:17] local.INFO: Extracted packet for processing {"connection_id":161967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 14:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638275584001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787649815000,"timestamp_ms":1787649815000,"timestamp_seconds":1787649815,"priority":1,"record_length":96,"hex_timestamp":"000001a0383b71d8"} 
[2026-08-25 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-25 14:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 14:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 14:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:58:17] 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-25 14:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638275584001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638275584001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638275584001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":161967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:58:17] local.INFO: GPS data processed {"connection_id":161967,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:58:17] local.INFO: Acknowledgment sent {"connection_id":161967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:58:18] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 14:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 14:58:18] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 14:58:18] local.INFO: Packet analysis {"connection_id":161968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 14:58:18] local.INFO: Extracted packet for processing {"connection_id":161968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 14:58:18] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 14:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638340864001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650070000,"timestamp_ms":1787650070000,"timestamp_seconds":1787650070,"priority":1,"record_length":96,"hex_timestamp":"000001a0383f55f0"} 
[2026-08-25 14:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:58:18] 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-25 14:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 14:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638340864001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638340864001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:58:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:58:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 14:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638340864001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 14:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":161968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:58:18] local.INFO: GPS data processed {"connection_id":161968,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:58:18] local.INFO: Acknowledgment sent {"connection_id":161968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:58:39] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:58:39] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:58:39] local.INFO: IMEI packet received {"connection_id":161970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":161970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:58:41] local.INFO: TCP Data received {"connection_id":162965,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:58:41] local.INFO: Processing buffer {"connection_id":162965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:58:41] local.INFO: IMEI packet received {"connection_id":162965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":162965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:58:45] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:58:45] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:58:45] local.INFO: IMEI packet received {"connection_id":161970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":161970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:58:46] local.INFO: TCP Data received {"connection_id":162965,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:58:46] local.INFO: Processing buffer {"connection_id":162965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:58:46] local.INFO: IMEI packet received {"connection_id":162965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":162965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:58:46] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:58:46] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383b71d8012d34c14006aa4820000800e631..."} 
[2026-08-25 14:58:46] local.INFO: Packet analysis {"connection_id":161970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:58:46] local.INFO: Extracted packet for processing {"connection_id":161970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383b"} 
[2026-08-25 14:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638275584001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787649815000,"timestamp_ms":1787649815000,"timestamp_seconds":1787649815,"priority":1,"record_length":96,"hex_timestamp":"000001a0383b71d8"} 
[2026-08-25 14:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 14:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638275584001,"66":25680,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638275584001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638275584001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":161970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:58:46] local.INFO: GPS data processed {"connection_id":161970,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:58:46] local.INFO: Acknowledgment sent {"connection_id":161970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:58:46] local.INFO: TCP Data received {"connection_id":162965,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 14:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 14:58:46] local.INFO: Processing buffer {"connection_id":162965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 14:58:46] local.INFO: Packet analysis {"connection_id":162965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 14:58:46] local.INFO: Extracted packet for processing {"connection_id":162965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 14:58:46] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 14:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638340864001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650070000,"timestamp_ms":1787650070000,"timestamp_seconds":1787650070,"priority":1,"record_length":96,"hex_timestamp":"000001a0383f55f0"} 
[2026-08-25 14:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:58:46] 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-25 14:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 14:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638340864001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638340864001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:58:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:58:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 14:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638340864001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 14:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":162965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:58:47] local.INFO: GPS data processed {"connection_id":162965,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:58:47] local.INFO: Acknowledgment sent {"connection_id":162965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:58:51] local.INFO: TCP Data received {"connection_id":162966,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:58:51] local.INFO: Processing buffer {"connection_id":162966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:58:51] local.INFO: IMEI packet received {"connection_id":162966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 14:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":162966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:58:52] local.INFO: TCP Data received {"connection_id":162966,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:58:52] local.INFO: Processing buffer {"connection_id":162966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:58:52] local.INFO: IMEI packet received {"connection_id":162966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":162966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:58:57] local.INFO: TCP Data received {"connection_id":162966,"ip":"117.224.18.74","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:58:57] local.INFO: Processing buffer {"connection_id":162966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 14:58:57] local.INFO: IMEI packet received {"connection_id":162966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 14:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":162966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:58:59] local.INFO: TCP Data received {"connection_id":162966,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0383e8ad0012d199dc0071fefd80038010f29..."} 
[2026-08-25 14:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383e8ad0012d199dc0071fefd80038010f29..."} 
[2026-08-25 14:58:59] local.INFO: Processing buffer {"connection_id":162966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383e8ad0012d199dc0071fefd80038010f29..."} 
[2026-08-25 14:58:59] local.INFO: Packet analysis {"connection_id":162966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383e"} 
[2026-08-25 14:58:59] local.INFO: Extracted packet for processing {"connection_id":162966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383e"} 
[2026-08-25 14:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756653504,"raw_latitude":119533528,"longitude_deg":75.6653504,"latitude_deg":11.9533528,"altitude":56,"angle":271,"satellites":41,"speed":16,"hex_longitude":"2d199dc0","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-25 14:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638404352001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15953703265632256,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846335140334131200,"note":"Value kept but may cause issues"} 
[2026-08-25 14:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787650018000,"timestamp_ms":1787650018000,"timestamp_seconds":1787650018,"priority":1,"record_length":96,"hex_timestamp":"000001a0383e8ad0"} 
[2026-08-25 14:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-25 14:58:59] 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-25 14:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638404352001,"66":14450,"121":206,"28":31744,"24":16,"16":15953703265632256,"45":1846335140334131200},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638404352001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:58:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:58:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15953703265632256,"km_value":15953703265632.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846335140334131200,"description":"Unknown IO ID 45"} 
[2026-08-25 14:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638404352001,"power":14450,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1846335140334131200}} 
[2026-08-25 14:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":162966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:58:59] local.INFO: GPS data processed {"connection_id":162966,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:58:59] local.INFO: Acknowledgment sent {"connection_id":162966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:59:18] local.INFO: TCP Data received {"connection_id":162965,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 14:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 14:59:18] local.INFO: Processing buffer {"connection_id":162965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 14:59:18] local.INFO: Packet analysis {"connection_id":162965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 14:59:18] local.INFO: Extracted packet for processing {"connection_id":162965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 14:59:18] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638340864001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650070000,"timestamp_ms":1787650070000,"timestamp_seconds":1787650070,"priority":1,"record_length":96,"hex_timestamp":"000001a0383f55f0"} 
[2026-08-25 14: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-25 14:59:18] 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-25 14:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 14:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638340864001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638340864001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:59:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:59:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 14:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638340864001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 14:59:18] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 14:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 14:59:18] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 14:59:18] local.INFO: Packet analysis {"connection_id":161970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 14:59:18] local.INFO: Extracted packet for processing {"connection_id":161970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 14:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638352640001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650116000,"timestamp_ms":1787650116000,"timestamp_seconds":1787650116,"priority":1,"record_length":96,"hex_timestamp":"000001a0384009a0"} 
[2026-08-25 14: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-25 14:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 14:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14: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-25 14: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-25 14:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:59:18] 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-25 14:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638352640001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638352640001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638352640001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":162965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:59:18] local.INFO: GPS data processed {"connection_id":162965,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:59:18] local.INFO: Acknowledgment sent {"connection_id":162965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":161970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:59:18] local.INFO: GPS data processed {"connection_id":161970,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:59:18] local.INFO: Acknowledgment sent {"connection_id":161970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:59:30] local.INFO: TCP Data received {"connection_id":162966,"ip":"117.224.18.74","data_length":795,"data_hex":"000000000000030f8e0a000001a0383ebd98012d1985c0071ff068003c01032d..."} 
[2026-08-25 14:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383ebd98012d1985c0071ff068003c01032d..."} 
[2026-08-25 14:59:30] local.INFO: Processing buffer {"connection_id":162966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383ebd98012d1985c0071ff068003c01032d..."} 
[2026-08-25 14:59:30] local.INFO: Packet analysis {"connection_id":162966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383e"} 
[2026-08-25 14:59:30] local.INFO: Extracted packet for processing {"connection_id":162966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383e"} 
[2026-08-25 14:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756647360,"raw_latitude":119533672,"longitude_deg":75.664736,"latitude_deg":11.9533672,"altitude":60,"angle":259,"satellites":45,"speed":20,"hex_longitude":"2d1985c0","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-25 14:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638404608001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15953999618375680,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845842559124887552,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787650031000,"timestamp_ms":1787650031000,"timestamp_seconds":1787650031,"priority":1,"record_length":96,"hex_timestamp":"000001a0383ebd98"} 
[2026-08-25 14:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 14:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-25 14:59:30] 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-25 14:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 14:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.18.74","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 14:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 14:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638404608001,"66":13156,"121":206,"28":31744,"24":20,"16":15953999618375680,"45":1845842559124887552},"client_ip":"117.224.18.74","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 14:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 14:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 14:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638404608001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:59:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 14:59:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 14:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15953999618375680,"km_value":15953999618375.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845842559124887552,"description":"Unknown IO ID 45"} 
[2026-08-25 14:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638404608001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1845842559124887552}} 
[2026-08-25 14:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":162966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:59:30] local.INFO: GPS data processed {"connection_id":162966,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:59:30] local.INFO: Acknowledgment sent {"connection_id":162966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:59:46] local.INFO: TCP Data received {"connection_id":161724,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:59:46] local.INFO: Processing buffer {"connection_id":161724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:59:46] local.INFO: IMEI packet received {"connection_id":161724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 14:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":161724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:59:47] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:59:47] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:59:47] local.INFO: IMEI packet received {"connection_id":161725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 14:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":161725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 14:59:49] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:59:49] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 14:59:49] local.INFO: IMEI packet received {"connection_id":161725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 14:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":161725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:59:51] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 14:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 14:59:51] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 14:59:51] local.INFO: Packet analysis {"connection_id":161725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 14:59:51] local.INFO: Extracted packet for processing {"connection_id":161725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 14:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638352640001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787650116000,"timestamp_ms":1787650116000,"timestamp_seconds":1787650116,"priority":1,"record_length":96,"hex_timestamp":"000001a0384009a0"} 
[2026-08-25 14: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-25 14:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 14:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:59: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-25 14:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638352640001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638352640001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638352640001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":161725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:59:51] local.INFO: GPS data processed {"connection_id":161725,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:59:51] local.INFO: Acknowledgment sent {"connection_id":161725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:59:51] local.INFO: TCP Data received {"connection_id":161724,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:59:51] local.INFO: Processing buffer {"connection_id":161724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 14:59:51] local.INFO: IMEI packet received {"connection_id":161724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 14:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":161724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 14:59:52] local.INFO: TCP Data received {"connection_id":161724,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 14:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 14:59:52] local.INFO: Processing buffer {"connection_id":161724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 14:59:52] local.INFO: Packet analysis {"connection_id":161724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 14:59:52] local.INFO: Extracted packet for processing {"connection_id":161724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 14:59:52] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 14:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 14:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638340864001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 14:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787650070000,"timestamp_ms":1787650070000,"timestamp_seconds":1787650070,"priority":1,"record_length":96,"hex_timestamp":"000001a0383f55f0"} 
[2026-08-25 14:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 14:59:52] 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-25 14:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 14:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 14:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 14:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 14:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 14:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 14:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 14:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638340864001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 14:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 14:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 14:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638340864001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:59:52] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 14:59:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 14:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 14:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638340864001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 14:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":161724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:59:52] local.INFO: GPS data processed {"connection_id":161724,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:59:52] local.INFO: Acknowledgment sent {"connection_id":161724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 14:59:55] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 14:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 14:59:55] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 14:59:55] local.INFO: Packet analysis {"connection_id":161725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 14:59:55] local.INFO: Extracted packet for processing {"connection_id":161725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 14:59:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 14: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-25 14:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638352640001,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 14:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 14:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 14:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787650116000,"timestamp_ms":1787650116000,"timestamp_seconds":1787650116,"priority":1,"record_length":96,"hex_timestamp":"000001a0384009a0"} 
[2026-08-25 14: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-25 14:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 14:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 14: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-25 14: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-25 14:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 14:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 14:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 14:59: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-25 14:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 14:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 14:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638352640001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 14:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 14:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 14:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638352640001,"description":"Unknown IO ID 0"} 
[2026-08-25 14:59:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 14:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 14:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 14:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638352640001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 14:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":161725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 14:59:55] local.INFO: GPS data processed {"connection_id":161725,"processed":1,"errors":0,"total":1} 
[2026-08-25 14:59:55] local.INFO: Acknowledgment sent {"connection_id":161725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:00:23] local.INFO: TCP Data received {"connection_id":161724,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:00:23] local.INFO: Processing buffer {"connection_id":161724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:00:23] local.INFO: Packet analysis {"connection_id":161724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 15:00:23] local.INFO: Extracted packet for processing {"connection_id":161724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 15:00:23] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638340864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787650070000,"timestamp_ms":1787650070000,"timestamp_seconds":1787650070,"priority":1,"record_length":96,"hex_timestamp":"000001a0383f55f0"} 
[2026-08-25 15:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:00:23] 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-25 15:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 15:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638340864001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638340864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:00:23] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:00:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638340864001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":161724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:00:23] local.INFO: GPS data processed {"connection_id":161724,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:00:23] local.INFO: Acknowledgment sent {"connection_id":161724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:00:23] local.INFO: TCP Data received {"connection_id":161971,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:00:23] local.INFO: Processing buffer {"connection_id":161971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:00:23] local.INFO: IMEI packet received {"connection_id":161971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":161971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:00:39] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:00:39] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:00:39] local.INFO: IMEI packet received {"connection_id":161973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":161973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:00:41] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:00:41] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:00:41] local.INFO: IMEI packet received {"connection_id":161972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":161972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:00:45] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:00:45] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:00:45] local.INFO: IMEI packet received {"connection_id":161973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":161973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:00:46] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:00:46] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:00:46] local.INFO: IMEI packet received {"connection_id":161972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":161972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:00:46] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:00:46] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:00:46] local.INFO: Packet analysis {"connection_id":161973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:00:46] local.INFO: Extracted packet for processing {"connection_id":161973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638352640001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:00:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650116000,"timestamp_ms":1787650116000,"timestamp_seconds":1787650116,"priority":1,"record_length":96,"hex_timestamp":"000001a0384009a0"} 
[2026-08-25 15:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 15:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:00: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-25 15:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638352640001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638352640001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638352640001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":161973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:00:46] local.INFO: GPS data processed {"connection_id":161973,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:00:46] local.INFO: Acknowledgment sent {"connection_id":161973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:00:46] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:00:46] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:00:46] local.INFO: Packet analysis {"connection_id":161972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 15:00:46] local.INFO: Extracted packet for processing {"connection_id":161972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 15:00:46] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638340864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650070000,"timestamp_ms":1787650070000,"timestamp_seconds":1787650070,"priority":1,"record_length":96,"hex_timestamp":"000001a0383f55f0"} 
[2026-08-25 15:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:00:46] 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-25 15:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 15:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638340864001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638340864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:00:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:00:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638340864001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":161972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:00:47] local.INFO: GPS data processed {"connection_id":161972,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:00:47] local.INFO: Acknowledgment sent {"connection_id":161972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:01:18] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:01:18] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:01:18] local.INFO: Packet analysis {"connection_id":161972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 15:01:18] local.INFO: Extracted packet for processing {"connection_id":161972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 15:01:18] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638340864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650070000,"timestamp_ms":1787650070000,"timestamp_seconds":1787650070,"priority":1,"record_length":96,"hex_timestamp":"000001a0383f55f0"} 
[2026-08-25 15: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-25 15:01:18] 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-25 15: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 15:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638340864001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638340864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:01:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:01:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638340864001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":161972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:01:18] local.INFO: GPS data processed {"connection_id":161972,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:01:18] local.INFO: Acknowledgment sent {"connection_id":161972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:01:19] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:01:19] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:01:19] local.INFO: Packet analysis {"connection_id":161973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:01:19] local.INFO: Extracted packet for processing {"connection_id":161973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638352640001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:01:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787650116000,"timestamp_ms":1787650116000,"timestamp_seconds":1787650116,"priority":1,"record_length":96,"hex_timestamp":"000001a0384009a0"} 
[2026-08-25 15:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 15:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 15:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:01:19] 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-25 15:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638352640001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638352640001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638352640001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":161973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:01:19] local.INFO: GPS data processed {"connection_id":161973,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:01:19] local.INFO: Acknowledgment sent {"connection_id":161973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:01:39] local.INFO: TCP Data received {"connection_id":161727,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:01:39] local.INFO: Processing buffer {"connection_id":161727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:01:39] local.INFO: IMEI packet received {"connection_id":161727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":161727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:01:41] local.INFO: TCP Data received {"connection_id":162967,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:01:41] local.INFO: Processing buffer {"connection_id":162967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:01:41] local.INFO: IMEI packet received {"connection_id":162967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":162967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:01:44] local.INFO: TCP Data received {"connection_id":161727,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:01:44] local.INFO: Processing buffer {"connection_id":161727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:01:44] local.INFO: IMEI packet received {"connection_id":161727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":161727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:01:45] local.INFO: TCP Data received {"connection_id":161727,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:01:45] local.INFO: Processing buffer {"connection_id":161727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:01:45] local.INFO: Packet analysis {"connection_id":161727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:01:45] local.INFO: Extracted packet for processing {"connection_id":161727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638352640001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:01:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787650116000,"timestamp_ms":1787650116000,"timestamp_seconds":1787650116,"priority":1,"record_length":96,"hex_timestamp":"000001a0384009a0"} 
[2026-08-25 15:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 15:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638352640001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638352640001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:01:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638352640001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":161727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:01:45] local.INFO: GPS data processed {"connection_id":161727,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:01:45] local.INFO: Acknowledgment sent {"connection_id":161727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:01:46] local.INFO: TCP Data received {"connection_id":162967,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:01:46] local.INFO: Processing buffer {"connection_id":162967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:01:46] local.INFO: IMEI packet received {"connection_id":162967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":162967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:01:46] local.INFO: TCP Data received {"connection_id":162967,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:01:46] local.INFO: Processing buffer {"connection_id":162967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:01:46] local.INFO: Packet analysis {"connection_id":162967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 15:01:46] local.INFO: Extracted packet for processing {"connection_id":162967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 15:01:46] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638340864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650070000,"timestamp_ms":1787650070000,"timestamp_seconds":1787650070,"priority":1,"record_length":96,"hex_timestamp":"000001a0383f55f0"} 
[2026-08-25 15:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:01:46] 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-25 15:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 15:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638340864001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638340864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:01:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:01:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638340864001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":162967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:01:46] local.INFO: GPS data processed {"connection_id":162967,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:01:46] local.INFO: Acknowledgment sent {"connection_id":162967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:02:17] local.INFO: TCP Data received {"connection_id":162967,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:02:17] local.INFO: Processing buffer {"connection_id":162967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:02:17] local.INFO: Packet analysis {"connection_id":162967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 15:02:17] local.INFO: Extracted packet for processing {"connection_id":162967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 15:02:17] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638340864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787650070000,"timestamp_ms":1787650070000,"timestamp_seconds":1787650070,"priority":1,"record_length":96,"hex_timestamp":"000001a0383f55f0"} 
[2026-08-25 15:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:02:17] 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-25 15:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 15:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638340864001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638340864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:02:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:02:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638340864001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":162967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:02:17] local.INFO: GPS data processed {"connection_id":162967,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:02:17] local.INFO: Acknowledgment sent {"connection_id":162967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:02:18] local.INFO: TCP Data received {"connection_id":161727,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:02:18] local.INFO: Processing buffer {"connection_id":161727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:02:18] local.INFO: Packet analysis {"connection_id":161727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:02:18] local.INFO: Extracted packet for processing {"connection_id":161727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638352640001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650116000,"timestamp_ms":1787650116000,"timestamp_seconds":1787650116,"priority":1,"record_length":96,"hex_timestamp":"000001a0384009a0"} 
[2026-08-25 15: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-25 15:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 15:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15: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-25 15: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-25 15:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638352640001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638352640001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638352640001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":161727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:02:18] local.INFO: GPS data processed {"connection_id":161727,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:02:18] local.INFO: Acknowledgment sent {"connection_id":161727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:02:41] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:02:41] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:02:41] local.INFO: IMEI packet received {"connection_id":161728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":161728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:02:45] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:02:45] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:02:45] local.INFO: IMEI packet received {"connection_id":161729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":161729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:02:46] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:02:46] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:02:46] local.INFO: IMEI packet received {"connection_id":161728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":161728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:02:46] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:02:46] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0383f55f0012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:02:46] local.INFO: Packet analysis {"connection_id":161728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 15:02:46] local.INFO: Extracted packet for processing {"connection_id":161728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0383f"} 
[2026-08-25 15:02:46] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638340864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650070000,"timestamp_ms":1787650070000,"timestamp_seconds":1787650070,"priority":1,"record_length":96,"hex_timestamp":"000001a0383f55f0"} 
[2026-08-25 15:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:02:46] 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-25 15:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 15:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638340864001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638340864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:02:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:02:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638340864001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":161728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:02:46] local.INFO: GPS data processed {"connection_id":161728,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:02:46] local.INFO: Acknowledgment sent {"connection_id":161728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:02:50] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:02:50] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:02:50] local.INFO: IMEI packet received {"connection_id":161729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":161729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:02:51] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:02:51] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:02:51] local.INFO: Packet analysis {"connection_id":161729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:02:51] local.INFO: Extracted packet for processing {"connection_id":161729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638352640001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787650116000,"timestamp_ms":1787650116000,"timestamp_seconds":1787650116,"priority":1,"record_length":96,"hex_timestamp":"000001a0384009a0"} 
[2026-08-25 15:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 15:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:02: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-25 15:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638352640001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638352640001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638352640001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":161729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:02:51] local.INFO: GPS data processed {"connection_id":161729,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:02:51] local.INFO: Acknowledgment sent {"connection_id":161729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:02:55] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:02:55] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:02:55] local.INFO: Packet analysis {"connection_id":161729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:02:55] local.INFO: Extracted packet for processing {"connection_id":161729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:02:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638352640001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787650116000,"timestamp_ms":1787650116000,"timestamp_seconds":1787650116,"priority":1,"record_length":96,"hex_timestamp":"000001a0384009a0"} 
[2026-08-25 15: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-25 15:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 15:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 15:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15: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-25 15:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638352640001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638352640001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:02:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638352640001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":161729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:02:55] local.INFO: GPS data processed {"connection_id":161729,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:02:55] local.INFO: Acknowledgment sent {"connection_id":161729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:03:18] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:03:18] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:03:18] local.INFO: Packet analysis {"connection_id":161728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:03:18] local.INFO: Extracted packet for processing {"connection_id":161728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:03:18] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638417920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650371000,"timestamp_ms":1787650371000,"timestamp_seconds":1787650371,"priority":1,"record_length":96,"hex_timestamp":"000001a03843edb8"} 
[2026-08-25 15: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-25 15:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 15:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638417920001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638417920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:03:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:03:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638417920001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":161728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:03:18] local.INFO: GPS data processed {"connection_id":161728,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:03:18] local.INFO: Acknowledgment sent {"connection_id":161728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:03:40] local.INFO: TCP Data received {"connection_id":164345,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:03:40] local.INFO: Processing buffer {"connection_id":164345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:03:40] local.INFO: IMEI packet received {"connection_id":164345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":164345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:03:41] local.INFO: TCP Data received {"connection_id":162968,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:03:41] local.INFO: Processing buffer {"connection_id":162968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:03:41] local.INFO: IMEI packet received {"connection_id":162968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":162968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:03:46] local.INFO: TCP Data received {"connection_id":162968,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:03:46] local.INFO: Processing buffer {"connection_id":162968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:03:46] local.INFO: IMEI packet received {"connection_id":162968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":162968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:03:46] local.INFO: TCP Data received {"connection_id":164345,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:03:46] local.INFO: Processing buffer {"connection_id":164345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:03:46] local.INFO: IMEI packet received {"connection_id":164345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":164345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:03:46] local.INFO: TCP Data received {"connection_id":162968,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:03:46] local.INFO: Processing buffer {"connection_id":162968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:03:46] local.INFO: Packet analysis {"connection_id":162968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:03:46] local.INFO: Extracted packet for processing {"connection_id":162968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:03:46] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638417920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650371000,"timestamp_ms":1787650371000,"timestamp_seconds":1787650371,"priority":1,"record_length":96,"hex_timestamp":"000001a03843edb8"} 
[2026-08-25 15:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:03:46] 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-25 15:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 15:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638417920001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638417920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:03:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:03:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638417920001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":162968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:03:46] local.INFO: GPS data processed {"connection_id":162968,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:03:46] local.INFO: Acknowledgment sent {"connection_id":162968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:03:47] local.INFO: TCP Data received {"connection_id":164345,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:03:47] local.INFO: Processing buffer {"connection_id":164345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384009a0012d34c14006aa4820000400e630..."} 
[2026-08-25 15:03:47] local.INFO: Packet analysis {"connection_id":164345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:03:47] local.INFO: Extracted packet for processing {"connection_id":164345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638352640001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787650116000,"timestamp_ms":1787650116000,"timestamp_seconds":1787650116,"priority":1,"record_length":96,"hex_timestamp":"000001a0384009a0"} 
[2026-08-25 15:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 15:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:03:47] 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-25 15:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638352640001,"66":25702,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638352640001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638352640001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":164345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:03:47] local.INFO: GPS data processed {"connection_id":164345,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:03:47] local.INFO: Acknowledgment sent {"connection_id":164345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:04:17] local.INFO: TCP Data received {"connection_id":162968,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:04:17] local.INFO: Processing buffer {"connection_id":162968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:04:17] local.INFO: Packet analysis {"connection_id":162968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:04:17] local.INFO: Extracted packet for processing {"connection_id":162968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:04:17] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638417920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787650371000,"timestamp_ms":1787650371000,"timestamp_seconds":1787650371,"priority":1,"record_length":96,"hex_timestamp":"000001a03843edb8"} 
[2026-08-25 15:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:04:17] 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-25 15:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 15:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638417920001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638417920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:04:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:04:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638417920001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":162968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:04:17] local.INFO: GPS data processed {"connection_id":162968,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:04:17] local.INFO: Acknowledgment sent {"connection_id":162968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:04:18] local.INFO: TCP Data received {"connection_id":164345,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:04:18] local.INFO: Processing buffer {"connection_id":164345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:04:18] local.INFO: Packet analysis {"connection_id":164345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:04:18] local.INFO: Extracted packet for processing {"connection_id":164345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638429696001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:04:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650417000,"timestamp_ms":1787650417000,"timestamp_seconds":1787650417,"priority":1,"record_length":96,"hex_timestamp":"000001a03844a168"} 
[2026-08-25 15:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 15:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:04:18] 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-25 15:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638429696001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638429696001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638429696001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":164345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:04:18] local.INFO: GPS data processed {"connection_id":164345,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:04:18] local.INFO: Acknowledgment sent {"connection_id":164345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:04:39] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:04:39] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:04:39] local.INFO: IMEI packet received {"connection_id":161730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":161730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:04:41] local.INFO: TCP Data received {"connection_id":164347,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:04:41] local.INFO: Processing buffer {"connection_id":164347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:04:41] local.INFO: IMEI packet received {"connection_id":164347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":164347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:04:46] local.INFO: TCP Data received {"connection_id":164347,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:04:46] local.INFO: Processing buffer {"connection_id":164347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:04:46] local.INFO: IMEI packet received {"connection_id":164347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":164347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:04:46] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:04:46] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:04:46] local.INFO: IMEI packet received {"connection_id":161730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":161730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:04:47] local.INFO: TCP Data received {"connection_id":164347,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:04:47] local.INFO: Processing buffer {"connection_id":164347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:04:47] local.INFO: Packet analysis {"connection_id":164347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:04:47] local.INFO: Extracted packet for processing {"connection_id":164347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:04:47] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638417920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787650371000,"timestamp_ms":1787650371000,"timestamp_seconds":1787650371,"priority":1,"record_length":96,"hex_timestamp":"000001a03843edb8"} 
[2026-08-25 15:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:04:47] 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-25 15:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 15:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638417920001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638417920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:04:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:04:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638417920001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":164347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:04:47] local.INFO: GPS data processed {"connection_id":164347,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:04:47] local.INFO: Acknowledgment sent {"connection_id":164347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:04:47] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:04:47] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:04:47] local.INFO: Packet analysis {"connection_id":161730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:04:47] local.INFO: Extracted packet for processing {"connection_id":161730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638429696001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:04:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787650417000,"timestamp_ms":1787650417000,"timestamp_seconds":1787650417,"priority":1,"record_length":96,"hex_timestamp":"000001a03844a168"} 
[2026-08-25 15:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 15:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638429696001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638429696001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638429696001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":161730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:04:47] local.INFO: GPS data processed {"connection_id":161730,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:04:47] local.INFO: Acknowledgment sent {"connection_id":161730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:05:02] local.INFO: TCP Data received {"connection_id":162969,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:05:02] local.INFO: Processing buffer {"connection_id":162969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:05:02] local.INFO: IMEI packet received {"connection_id":162969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":162969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:05:07] local.INFO: TCP Data received {"connection_id":162969,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:05:07] local.INFO: Processing buffer {"connection_id":162969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:05:07] local.INFO: IMEI packet received {"connection_id":162969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":162969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:05:08] local.INFO: TCP Data received {"connection_id":162969,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0384001d0012d196540071ff130003f014030..."} 
[2026-08-25 15:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384001d0012d196540071ff130003f014030..."} 
[2026-08-25 15:05:08] local.INFO: Processing buffer {"connection_id":162969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384001d0012d196540071ff130003f014030..."} 
[2026-08-25 15:05:08] local.INFO: Packet analysis {"connection_id":162969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:05:08] local.INFO: Extracted packet for processing {"connection_id":162969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533872,"longitude_deg":75.663904,"latitude_deg":11.9533872,"altitude":63,"angle":320,"satellites":48,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-08-25 15:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638423808001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787650114000,"timestamp_ms":1787650114000,"timestamp_seconds":1787650114,"priority":1,"record_length":96,"hex_timestamp":"000001a0384001d0"} 
[2026-08-25 15:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-25 15:05:08] 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-25 15:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638423808001,"66":12950,"121":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 15:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638423808001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:05:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 15:05:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638423808001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":162969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:05:08] local.INFO: GPS data processed {"connection_id":162969,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:05:08] local.INFO: Acknowledgment sent {"connection_id":162969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:05:18] local.INFO: TCP Data received {"connection_id":164347,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:05:18] local.INFO: Processing buffer {"connection_id":164347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:05:18] local.INFO: Packet analysis {"connection_id":164347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:05:18] local.INFO: Extracted packet for processing {"connection_id":164347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:05:18] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638417920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650371000,"timestamp_ms":1787650371000,"timestamp_seconds":1787650371,"priority":1,"record_length":96,"hex_timestamp":"000001a03843edb8"} 
[2026-08-25 15: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-25 15:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 15:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638417920001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638417920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:05:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:05:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638417920001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":164347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:05:18] local.INFO: GPS data processed {"connection_id":164347,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:05:18] local.INFO: Acknowledgment sent {"connection_id":164347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:05:19] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:05:19] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:05:19] local.INFO: Packet analysis {"connection_id":161730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:05:19] local.INFO: Extracted packet for processing {"connection_id":161730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638429696001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787650417000,"timestamp_ms":1787650417000,"timestamp_seconds":1787650417,"priority":1,"record_length":96,"hex_timestamp":"000001a03844a168"} 
[2026-08-25 15:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 15:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 15:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:05:19] 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-25 15:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638429696001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638429696001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638429696001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":161730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:05:19] local.INFO: GPS data processed {"connection_id":161730,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:05:19] local.INFO: Acknowledgment sent {"connection_id":161730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:05:39] local.INFO: TCP Data received {"connection_id":162970,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:05:39] local.INFO: Processing buffer {"connection_id":162970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:05:39] local.INFO: IMEI packet received {"connection_id":162970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":162970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:05:41] local.INFO: TCP Data received {"connection_id":162971,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:05:41] local.INFO: Processing buffer {"connection_id":162971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:05:41] local.INFO: IMEI packet received {"connection_id":162971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":162971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:05:46] local.INFO: TCP Data received {"connection_id":162971,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:05:46] local.INFO: Processing buffer {"connection_id":162971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:05:46] local.INFO: IMEI packet received {"connection_id":162971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":162971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:05:46] local.INFO: TCP Data received {"connection_id":162971,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:05:46] local.INFO: Processing buffer {"connection_id":162971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:05:46] local.INFO: Packet analysis {"connection_id":162971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:05:46] local.INFO: Extracted packet for processing {"connection_id":162971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:05:46] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638417920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650371000,"timestamp_ms":1787650371000,"timestamp_seconds":1787650371,"priority":1,"record_length":96,"hex_timestamp":"000001a03843edb8"} 
[2026-08-25 15:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:05:46] 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-25 15:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 15:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638417920001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638417920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:05:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:05:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638417920001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":162971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:05:46] local.INFO: GPS data processed {"connection_id":162971,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:05:46] local.INFO: Acknowledgment sent {"connection_id":162971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:05:48] local.INFO: TCP Data received {"connection_id":162970,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:05:48] local.INFO: Processing buffer {"connection_id":162970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:05:48] local.INFO: IMEI packet received {"connection_id":162970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":162970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:05:49] local.INFO: TCP Data received {"connection_id":162970,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:05:49] local.INFO: Processing buffer {"connection_id":162970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:05:49] local.INFO: Packet analysis {"connection_id":162970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:05:49] local.INFO: Extracted packet for processing {"connection_id":162970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:05:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638429696001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787650417000,"timestamp_ms":1787650417000,"timestamp_seconds":1787650417,"priority":1,"record_length":96,"hex_timestamp":"000001a03844a168"} 
[2026-08-25 15: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-25 15:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15: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-25 15: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-25 15: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-25 15:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:05: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-25 15:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638429696001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638429696001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:05:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638429696001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":162970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:05:49] local.INFO: GPS data processed {"connection_id":162970,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:05:49] local.INFO: Acknowledgment sent {"connection_id":162970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:05:52] local.INFO: TCP Data received {"connection_id":161731,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:05:52] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:05:52] local.INFO: IMEI packet received {"connection_id":161731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":161731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:05:57] local.INFO: TCP Data received {"connection_id":161731,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:05:57] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:05:57] local.INFO: IMEI packet received {"connection_id":161731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":161731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:05:59] local.INFO: TCP Data received {"connection_id":161731,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0384053d8012d196540071ff130003f014025..."} 
[2026-08-25 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384053d8012d196540071ff130003f014025..."} 
[2026-08-25 15:05:59] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384053d8012d196540071ff130003f014025..."} 
[2026-08-25 15:05:59] local.INFO: Packet analysis {"connection_id":161731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:05:59] local.INFO: Extracted packet for processing {"connection_id":161731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533872,"longitude_deg":75.663904,"latitude_deg":11.9533872,"altitude":63,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-08-25 15:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638429184001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787650135000,"timestamp_ms":1787650135000,"timestamp_seconds":1787650135,"priority":1,"record_length":96,"hex_timestamp":"000001a0384053d8"} 
[2026-08-25 15:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 15:05:59] 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-25 15:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638429184001,"66":12863,"121":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 15:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638429184001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:05:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 15:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638429184001,"power":12863,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":161731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:05:59] local.INFO: GPS data processed {"connection_id":161731,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:05:59] local.INFO: Acknowledgment sent {"connection_id":161731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:06:01] local.INFO: TCP Data received {"connection_id":161732,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:06:01] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:06:01] local.INFO: IMEI packet received {"connection_id":161732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":161732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:06:08] local.INFO: TCP Data received {"connection_id":161732,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:06:08] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:06:08] local.INFO: IMEI packet received {"connection_id":161732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":161732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:06:17] local.INFO: TCP Data received {"connection_id":162971,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:06:17] local.INFO: Processing buffer {"connection_id":162971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:06:17] local.INFO: Packet analysis {"connection_id":162971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:06:17] local.INFO: Extracted packet for processing {"connection_id":162971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:06:17] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638417920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787650371000,"timestamp_ms":1787650371000,"timestamp_seconds":1787650371,"priority":1,"record_length":96,"hex_timestamp":"000001a03843edb8"} 
[2026-08-25 15:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:06:17] 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-25 15:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 15:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638417920001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638417920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:06:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:06:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638417920001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":162971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:06:17] local.INFO: GPS data processed {"connection_id":162971,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:06:17] local.INFO: Acknowledgment sent {"connection_id":162971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:06:28] local.INFO: TCP Data received {"connection_id":162970,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:06:28] local.INFO: Processing buffer {"connection_id":162970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:06:28] local.INFO: Packet analysis {"connection_id":162970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:06:28] local.INFO: Extracted packet for processing {"connection_id":162970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:06:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638429696001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787650417000,"timestamp_ms":1787650417000,"timestamp_seconds":1787650417,"priority":1,"record_length":96,"hex_timestamp":"000001a03844a168"} 
[2026-08-25 15: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-25 15:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 15:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638429696001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638429696001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:06:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638429696001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":162970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:06:28] local.INFO: GPS data processed {"connection_id":162970,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:06:28] local.INFO: Acknowledgment sent {"connection_id":162970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:06:32] local.INFO: TCP Data received {"connection_id":161731,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038409258012d196540071ff130003f01402c..."} 
[2026-08-25 15:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038409258012d196540071ff130003f01402c..."} 
[2026-08-25 15:06:32] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038409258012d196540071ff130003f01402c..."} 
[2026-08-25 15:06:32] local.INFO: Packet analysis {"connection_id":161731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:06:32] local.INFO: Extracted packet for processing {"connection_id":161731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533872,"longitude_deg":75.663904,"latitude_deg":11.9533872,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-08-25 15:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638434560001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787650151000,"timestamp_ms":1787650151000,"timestamp_seconds":1787650151,"priority":1,"record_length":96,"hex_timestamp":"000001a038409258"} 
[2026-08-25 15:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-25 15:06:32] 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-25 15:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638434560001,"66":12841,"121":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 15:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638434560001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:06:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 15:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638434560001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":161731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:06:32] local.INFO: GPS data processed {"connection_id":161731,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:06:32] local.INFO: Acknowledgment sent {"connection_id":161731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:06:41] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:06:41] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:06:41] local.INFO: IMEI packet received {"connection_id":161974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":161974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:06:46] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:06:46] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:06:46] local.INFO: IMEI packet received {"connection_id":161974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":161974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:06:46] local.INFO: TCP Data received {"connection_id":162972,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:06:46] local.INFO: Processing buffer {"connection_id":162972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:06:46] local.INFO: IMEI packet received {"connection_id":162972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":162972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:06:46] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:06:46] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03843edb8012d9dc8c005696398000c00a52e..."} 
[2026-08-25 15:06:46] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:06:46] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03843"} 
[2026-08-25 15:06:46] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638417920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650371000,"timestamp_ms":1787650371000,"timestamp_seconds":1787650371,"priority":1,"record_length":96,"hex_timestamp":"000001a03843edb8"} 
[2026-08-25 15:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:06:46] 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-25 15:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 15:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638417920001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638417920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:06:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:06:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638417920001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:06:47] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:06:47] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:06:50] local.INFO: TCP Data received {"connection_id":162972,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:06:50] local.INFO: Processing buffer {"connection_id":162972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:06:50] local.INFO: IMEI packet received {"connection_id":162972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":162972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:06:51] local.INFO: TCP Data received {"connection_id":162972,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:06:51] local.INFO: Processing buffer {"connection_id":162972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:06:51] local.INFO: Packet analysis {"connection_id":162972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:06:51] local.INFO: Extracted packet for processing {"connection_id":162972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 15:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638429696001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787650417000,"timestamp_ms":1787650417000,"timestamp_seconds":1787650417,"priority":1,"record_length":96,"hex_timestamp":"000001a03844a168"} 
[2026-08-25 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-25 15:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 15:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:06: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-25 15:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638429696001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638429696001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638429696001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":162972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:06:51] local.INFO: GPS data processed {"connection_id":162972,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:06:51] local.INFO: Acknowledgment sent {"connection_id":162972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:06:52] local.INFO: TCP Data received {"connection_id":161975,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:06:52] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:06:52] local.INFO: IMEI packet received {"connection_id":161975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":161975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:06:55] local.INFO: TCP Data received {"connection_id":162972,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:06:55] local.INFO: Processing buffer {"connection_id":162972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:06:55] local.INFO: Packet analysis {"connection_id":162972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:06:55] local.INFO: Extracted packet for processing {"connection_id":162972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:06:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638429696001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787650417000,"timestamp_ms":1787650417000,"timestamp_seconds":1787650417,"priority":1,"record_length":96,"hex_timestamp":"000001a03844a168"} 
[2026-08-25 15: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-25 15:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 15:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:06: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-25 15:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638429696001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638429696001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:06:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638429696001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":162972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:06:55] local.INFO: GPS data processed {"connection_id":162972,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:06:55] local.INFO: Acknowledgment sent {"connection_id":162972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:06:57] local.INFO: TCP Data received {"connection_id":161975,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:06:57] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:06:57] local.INFO: IMEI packet received {"connection_id":161975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":161975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:06:59] local.INFO: TCP Data received {"connection_id":161975,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:06:59] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:06:59] local.INFO: Packet analysis {"connection_id":161975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:06:59] local.INFO: Extracted packet for processing {"connection_id":161975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533872,"longitude_deg":75.663904,"latitude_deg":11.9533872,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-08-25 15:06:59] 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-25 15:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438656001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787650152000,"timestamp_ms":1787650152000,"timestamp_seconds":1787650152,"priority":1,"record_length":96,"hex_timestamp":"000001a038409640"} 
[2026-08-25 15:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:06:59] 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-25 15:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:06:59] 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-25 15:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438656001,"66":12841,"121":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 15:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438656001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:06:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 15:06:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438656001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":161975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:06:59] local.INFO: GPS data processed {"connection_id":161975,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:06:59] local.INFO: Acknowledgment sent {"connection_id":161975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:07:09] local.INFO: TCP Data received {"connection_id":161732,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:07:09] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:07:09] local.INFO: IMEI packet received {"connection_id":161732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":161732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:07:13] local.INFO: TCP Data received {"connection_id":161732,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:07:13] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:07:13] local.INFO: IMEI packet received {"connection_id":161732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":161732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:07:15] local.INFO: TCP Data received {"connection_id":161732,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038453da8012d6ee48006828528002b00b52f..."} 
[2026-08-25 15:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038453da8012d6ee48006828528002b00b52f..."} 
[2026-08-25 15:07:15] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038453da8012d6ee48006828528002b00b52f..."} 
[2026-08-25 15:07:15] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03845"} 
[2026-08-25 15:07:15] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03845"} 
[2026-08-25 15:07:15] local.INFO: GPS Element Parsed {"raw_longitude":762242176,"raw_latitude":109217064,"longitude_deg":76.2242176,"latitude_deg":10.9217064,"altitude":43,"angle":181,"satellites":47,"speed":38,"hex_longitude":"2d6ee480","hex_latitude":"06828528","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 15:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787650457000,"timestamp_ms":1787650457000,"timestamp_seconds":1787650457,"priority":1,"record_length":96,"hex_timestamp":"000001a038453da8"} 
[2026-08-25 15: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-25 15:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-08-25 15:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28202,"217":206,"28":24320,"24":38,"16":794568949760},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,28,24,16]} 
[2026-08-25 15:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-25 15:07:15] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 15:07:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:07:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28202,"unknown_217":206,"unknown_28":24320,"ignition":38,"odometer":null}} 
[2026-08-25 15:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696246,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:07:15] local.INFO: GPS data processed {"connection_id":161732,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:07:15] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:07:16] local.INFO: TCP Data received {"connection_id":161732,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038458fb0012d6ef64006824858002800a12d..."} 
[2026-08-25 15:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038458fb0012d6ef64006824858002800a12d..."} 
[2026-08-25 15:07:16] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038458fb0012d6ef64006824858002800a12d..."} 
[2026-08-25 15:07:16] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03845"} 
[2026-08-25 15:07:16] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03845"} 
[2026-08-25 15:07:16] local.INFO: GPS Element Parsed {"raw_longitude":762246720,"raw_latitude":109201496,"longitude_deg":76.224672,"latitude_deg":10.9201496,"altitude":40,"angle":161,"satellites":45,"speed":27,"hex_longitude":"2d6ef640","hex_latitude":"06824858","is_valid_coordinates":true} 
[2026-08-25 15:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638516992001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7990652404310026240,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787650478000,"timestamp_ms":1787650478000,"timestamp_seconds":1787650478,"priority":1,"record_length":96,"hex_timestamp":"000001a038458fb0"} 
[2026-08-25 15:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 15:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638516992001,"66":28104,"217":206,"28":24320,"24":27,"16":794568949760,"45":7990652404310026240},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,28,24,16,45]} 
[2026-08-25 15:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638516992001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:07:16] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 15:07:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":7990652404310026240,"description":"Unknown IO ID 45"} 
[2026-08-25 15:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638516992001,"power":28104,"unknown_217":206,"unknown_28":24320,"ignition":27,"odometer":null,"unknown_45":7990652404310026240}} 
[2026-08-25 15:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:07:16] local.INFO: GPS data processed {"connection_id":161732,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:07:16] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:07:18] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03847c230012d9dc8c005696398000c00a52f..."} 
[2026-08-25 15:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03847c230012d9dc8c005696398000c00a52f..."} 
[2026-08-25 15:07:18] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03847c230012d9dc8c005696398000c00a52f..."} 
[2026-08-25 15:07:18] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03847"} 
[2026-08-25 15:07:18] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03847"} 
[2026-08-25 15:07:18] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":47,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638494976001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650622000,"timestamp_ms":1787650622000,"timestamp_seconds":1787650622,"priority":1,"record_length":96,"hex_timestamp":"000001a03847c230"} 
[2026-08-25 15:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:07:18] 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-25 15:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 15:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638494976001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638494976001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:07:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:07:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638494976001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:07:18] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:07:18] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:07:31] local.INFO: TCP Data received {"connection_id":161975,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:07:31] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:07:31] local.INFO: Packet analysis {"connection_id":161975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:07:31] local.INFO: Extracted packet for processing {"connection_id":161975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:07:31] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533872,"longitude_deg":75.663904,"latitude_deg":11.9533872,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-08-25 15:07:31] 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-25 15:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787650152000,"timestamp_ms":1787650152000,"timestamp_seconds":1787650152,"priority":1,"record_length":96,"hex_timestamp":"000001a038409640"} 
[2026-08-25 15:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:07:31] 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-25 15:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:07:31] 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-25 15:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":12841,"121":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 15:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:07:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 15:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":161975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:07:31] local.INFO: GPS data processed {"connection_id":161975,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:07:31] local.INFO: Acknowledgment sent {"connection_id":161975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:07:40] local.INFO: TCP Data received {"connection_id":161976,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:07:40] local.INFO: Processing buffer {"connection_id":161976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:07:40] local.INFO: IMEI packet received {"connection_id":161976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":161976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:07:44] local.INFO: TCP Data received {"connection_id":161976,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:07:44] local.INFO: Processing buffer {"connection_id":161976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:07:44] local.INFO: IMEI packet received {"connection_id":161976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":161976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:07:45] local.INFO: TCP Data received {"connection_id":161976,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:07:45] local.INFO: Processing buffer {"connection_id":161976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:07:45] local.INFO: Packet analysis {"connection_id":161976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:07:45] local.INFO: Extracted packet for processing {"connection_id":161976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638429696001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787650417000,"timestamp_ms":1787650417000,"timestamp_seconds":1787650417,"priority":1,"record_length":96,"hex_timestamp":"000001a03844a168"} 
[2026-08-25 15:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 15:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:07:45] 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-25 15:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638429696001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638429696001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638429696001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":161976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:07:45] local.INFO: GPS data processed {"connection_id":161976,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:07:45] local.INFO: Acknowledgment sent {"connection_id":161976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:07:46] local.INFO: TCP Data received {"connection_id":162973,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:07:46] local.INFO: Processing buffer {"connection_id":162973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:07:46] local.INFO: IMEI packet received {"connection_id":162973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":162973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:07:47] local.INFO: TCP Data received {"connection_id":162973,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:07:47] local.INFO: Processing buffer {"connection_id":162973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:07:47] local.INFO: IMEI packet received {"connection_id":162973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":162973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:07:48] local.INFO: TCP Data received {"connection_id":162973,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03847c230012d9dc8c005696398000c00a52f..."} 
[2026-08-25 15:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03847c230012d9dc8c005696398000c00a52f..."} 
[2026-08-25 15:07:48] local.INFO: Processing buffer {"connection_id":162973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03847c230012d9dc8c005696398000c00a52f..."} 
[2026-08-25 15:07:48] local.INFO: Packet analysis {"connection_id":162973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03847"} 
[2026-08-25 15:07:48] local.INFO: Extracted packet for processing {"connection_id":162973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03847"} 
[2026-08-25 15:07:48] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":47,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:07:48] 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-25 15:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638559232001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787650622000,"timestamp_ms":1787650622000,"timestamp_seconds":1787650622,"priority":1,"record_length":96,"hex_timestamp":"000001a03847c230"} 
[2026-08-25 15: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-25 15:07:48] 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-25 15: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 15:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638559232001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638559232001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:07:48] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:07:48] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638559232001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":162973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:07:48] local.INFO: GPS data processed {"connection_id":162973,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:07:48] local.INFO: Acknowledgment sent {"connection_id":162973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:07:49] local.INFO: TCP Data received {"connection_id":161732,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038458fb0012d6ef64006824858002800a12d..."} 
[2026-08-25 15:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038458fb0012d6ef64006824858002800a12d..."} 
[2026-08-25 15:07:49] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038458fb0012d6ef64006824858002800a12d..."} 
[2026-08-25 15:07:49] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03845"} 
[2026-08-25 15:07:49] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03845"} 
[2026-08-25 15:07:49] local.INFO: GPS Element Parsed {"raw_longitude":762246720,"raw_latitude":109201496,"longitude_deg":76.224672,"latitude_deg":10.9201496,"altitude":40,"angle":161,"satellites":45,"speed":27,"hex_longitude":"2d6ef640","hex_latitude":"06824858","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638522368001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7995648585142654976,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787650478000,"timestamp_ms":1787650478000,"timestamp_seconds":1787650478,"priority":1,"record_length":96,"hex_timestamp":"000001a038458fb0"} 
[2026-08-25 15: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-25 15:07: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-25 15: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 15:07:49] 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-25 15: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-25 15: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-25 15:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638522368001,"66":28104,"217":206,"28":24320,"24":27,"16":794568949760,"45":7995648585142654976},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,28,24,16,45]} 
[2026-08-25 15:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638522368001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:07:49] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 15:07:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7995648585142654976,"description":"Unknown IO ID 45"} 
[2026-08-25 15:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638522368001,"power":28104,"unknown_217":206,"unknown_28":24320,"ignition":27,"odometer":null,"unknown_45":7995648585142654976}} 
[2026-08-25 15:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:07:49] local.INFO: GPS data processed {"connection_id":161732,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:07:49] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:07:51] local.INFO: TCP Data received {"connection_id":162973,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03847c230012d9dc8c005696398000c00a52f..."} 
[2026-08-25 15:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03847c230012d9dc8c005696398000c00a52f..."} 
[2026-08-25 15:07:51] local.INFO: Processing buffer {"connection_id":162973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03847c230012d9dc8c005696398000c00a52f..."} 
[2026-08-25 15:07:51] local.INFO: Packet analysis {"connection_id":162973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03847"} 
[2026-08-25 15:07:51] local.INFO: Extracted packet for processing {"connection_id":162973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03847"} 
[2026-08-25 15:07:51] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":47,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:07: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-25 15:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638559232001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787650622000,"timestamp_ms":1787650622000,"timestamp_seconds":1787650622,"priority":1,"record_length":96,"hex_timestamp":"000001a03847c230"} 
[2026-08-25 15:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 15:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638559232001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638559232001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:07:51] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:07:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638559232001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":162973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:07:51] local.INFO: GPS data processed {"connection_id":162973,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:07:51] local.INFO: Acknowledgment sent {"connection_id":162973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:07:57] local.INFO: TCP Data received {"connection_id":164348,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:07:57] local.INFO: Processing buffer {"connection_id":164348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:07:57] local.INFO: IMEI packet received {"connection_id":164348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":164348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:08:02] local.INFO: TCP Data received {"connection_id":164348,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:08:02] local.INFO: Processing buffer {"connection_id":164348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:08:02] local.INFO: IMEI packet received {"connection_id":164348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":164348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:08:04] local.INFO: TCP Data received {"connection_id":164348,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:08:04] local.INFO: Processing buffer {"connection_id":164348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:08:04] local.INFO: Packet analysis {"connection_id":164348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:08:04] local.INFO: Extracted packet for processing {"connection_id":164348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533872,"longitude_deg":75.663904,"latitude_deg":11.9533872,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-08-25 15:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787650152000,"timestamp_ms":1787650152000,"timestamp_seconds":1787650152,"priority":1,"record_length":96,"hex_timestamp":"000001a038409640"} 
[2026-08-25 15:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:08:04] 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-25 15:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:08:04] 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-25 15:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":12841,"121":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 15:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:08:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 15:08:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":164348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:08:04] local.INFO: GPS data processed {"connection_id":164348,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:08:04] local.INFO: Acknowledgment sent {"connection_id":164348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:08:08] local.INFO: TCP Data received {"connection_id":164348,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:08:08] local.INFO: Processing buffer {"connection_id":164348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:08:08] local.INFO: Packet analysis {"connection_id":164348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:08:08] local.INFO: Extracted packet for processing {"connection_id":164348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533872,"longitude_deg":75.663904,"latitude_deg":11.9533872,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-08-25 15:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787650152000,"timestamp_ms":1787650152000,"timestamp_seconds":1787650152,"priority":1,"record_length":96,"hex_timestamp":"000001a038409640"} 
[2026-08-25 15: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-25 15:08:08] 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-25 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:08: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-25 15: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-25 15: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-25 15:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":12841,"121":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 15:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:08:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 15:08:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":164348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:08:08] local.INFO: GPS data processed {"connection_id":164348,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:08:08] local.INFO: Acknowledgment sent {"connection_id":164348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:08:17] local.INFO: TCP Data received {"connection_id":161976,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:08:17] local.INFO: Processing buffer {"connection_id":161976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:08:17] local.INFO: Packet analysis {"connection_id":161976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:08:17] local.INFO: Extracted packet for processing {"connection_id":161976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638429696001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787650417000,"timestamp_ms":1787650417000,"timestamp_seconds":1787650417,"priority":1,"record_length":96,"hex_timestamp":"000001a03844a168"} 
[2026-08-25 15:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 15:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638429696001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638429696001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638429696001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":161976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:08:17] local.INFO: GPS data processed {"connection_id":161976,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:08:17] local.INFO: Acknowledgment sent {"connection_id":161976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:08:22] local.INFO: TCP Data received {"connection_id":162973,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03847c230012d9dc8c005696398000c00a52f..."} 
[2026-08-25 15:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03847c230012d9dc8c005696398000c00a52f..."} 
[2026-08-25 15:08:22] local.INFO: Processing buffer {"connection_id":162973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03847c230012d9dc8c005696398000c00a52f..."} 
[2026-08-25 15:08:22] local.INFO: Packet analysis {"connection_id":162973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03847"} 
[2026-08-25 15:08:22] local.INFO: Extracted packet for processing {"connection_id":162973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03847"} 
[2026-08-25 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":765315264,"raw_latitude":90792856,"longitude_deg":76.5315264,"latitude_deg":9.0792856,"altitude":12,"angle":165,"satellites":47,"speed":0,"hex_longitude":"2d9dc8c0","hex_latitude":"05696398","is_valid_coordinates":true} 
[2026-08-25 15:08:22] 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-25 15:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638559232001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787650622000,"timestamp_ms":1787650622000,"timestamp_seconds":1787650622,"priority":1,"record_length":96,"hex_timestamp":"000001a03847c230"} 
[2026-08-25 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-25 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 15:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638559232001,"66":2242,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638559232001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:08:22] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:08:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638559232001,"power":2242,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":162973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:08:22] local.INFO: GPS data processed {"connection_id":162973,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:08:22] local.INFO: Acknowledgment sent {"connection_id":162973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:08:23] local.INFO: TCP Data received {"connection_id":161732,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384672400100000000000000000000000000..."} 
[2026-08-25 15:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384672400100000000000000000000000000..."} 
[2026-08-25 15:08:23] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384672400100000000000000000000000000..."} 
[2026-08-25 15:08:23] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03846"} 
[2026-08-25 15:08:23] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03846"} 
[2026-08-25 15:08:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638522368001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7995648585142654976,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787650536000,"timestamp_ms":1787650536000,"timestamp_seconds":1787650536,"priority":1,"record_length":96,"hex_timestamp":"000001a038467240"} 
[2026-08-25 15: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-25 15:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 15:08:23] 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-25 15: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-25 15: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-25 15:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 15:08:23] local.INFO: GPS data processed {"connection_id":161732,"processed":0,"errors":0,"total":1} 
[2026-08-25 15:08:23] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:08:39] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:08:39] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:08:39] local.INFO: IMEI packet received {"connection_id":161734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":161734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:08:41] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:08:41] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:08:41] local.INFO: IMEI packet received {"connection_id":161733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":161733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:08:44] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:08:44] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:08:44] local.INFO: IMEI packet received {"connection_id":161733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":161733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:08:45] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:08:45] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:08:45] local.INFO: IMEI packet received {"connection_id":161734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":161734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:08:45] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038481820012d9dc800056963a0000c00a52f..."} 
[2026-08-25 15:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038481820012d9dc800056963a0000c00a52f..."} 
[2026-08-25 15:08:45] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038481820012d9dc800056963a0000c00a52f..."} 
[2026-08-25 15:08:45] local.INFO: Packet analysis {"connection_id":161733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:08:45] local.INFO: Extracted packet for processing {"connection_id":161733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:08:45] local.INFO: GPS Element Parsed {"raw_longitude":765315072,"raw_latitude":90792864,"longitude_deg":76.5315072,"latitude_deg":9.0792864,"altitude":12,"angle":165,"satellites":47,"speed":0,"hex_longitude":"2d9dc800","hex_latitude":"056963a0","is_valid_coordinates":true} 
[2026-08-25 15:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638559232001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725908874887168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077195684937230336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787650644000,"timestamp_ms":1787650644000,"timestamp_seconds":1787650644,"priority":1,"record_length":96,"hex_timestamp":"000001a038481820"} 
[2026-08-25 15:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:08:45] 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-25 15:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 15:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638559232001,"66":11547,"195":206,"84":8448,"24":0,"16":123725908874887168,"45":-7077195684937230336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638559232001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:08:45] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:08:45] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725908874887168,"km_value":123725908874887.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077195684937230336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638559232001,"power":11547,"unknown_195":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7077195684937230336}} 
[2026-08-25 15:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":161733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:08:45] local.INFO: GPS data processed {"connection_id":161733,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:08:45] local.INFO: Acknowledgment sent {"connection_id":161733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:08:46] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:08:46] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03844a168012d34c14006aa4820000700e630..."} 
[2026-08-25 15:08:46] local.INFO: Packet analysis {"connection_id":161734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:08:46] local.INFO: Extracted packet for processing {"connection_id":161734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03844"} 
[2026-08-25 15:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638429696001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650417000,"timestamp_ms":1787650417000,"timestamp_seconds":1787650417,"priority":1,"record_length":96,"hex_timestamp":"000001a03844a168"} 
[2026-08-25 15:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-25 15:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:08:46] 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-25 15:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638429696001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638429696001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638429696001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":161734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:08:46] local.INFO: GPS data processed {"connection_id":161734,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:08:46] local.INFO: Acknowledgment sent {"connection_id":161734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:08:52] local.INFO: TCP Data received {"connection_id":161735,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:08:52] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:08:52] local.INFO: IMEI packet received {"connection_id":161735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":161735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:08:57] local.INFO: TCP Data received {"connection_id":161735,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:08:57] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:08:57] local.INFO: IMEI packet received {"connection_id":161735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":161735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:08:59] local.INFO: TCP Data received {"connection_id":161735,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:08:59] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038409640012d196540071ff130003f01402c..."} 
[2026-08-25 15:08:59] local.INFO: Packet analysis {"connection_id":161735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:08:59] local.INFO: Extracted packet for processing {"connection_id":161735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03840"} 
[2026-08-25 15:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533872,"longitude_deg":75.663904,"latitude_deg":11.9533872,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-08-25 15:08:59] 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-25 15:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787650152000,"timestamp_ms":1787650152000,"timestamp_seconds":1787650152,"priority":1,"record_length":96,"hex_timestamp":"000001a038409640"} 
[2026-08-25 15:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:08:59] 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-25 15:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:08:59] 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-25 15:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":12841,"121":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-25 15:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:08:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 15:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":161735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:08:59] local.INFO: GPS data processed {"connection_id":161735,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:08:59] local.INFO: Acknowledgment sent {"connection_id":161735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:08:59] local.INFO: TCP Data received {"connection_id":161732,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038486258012d6f04800680f108002500772a..."} 
[2026-08-25 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038486258012d6f04800680f108002500772a..."} 
[2026-08-25 15:08:59] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038486258012d6f04800680f108002500772a..."} 
[2026-08-25 15:08:59] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:08:59] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:08:59] local.INFO: GPS Element Parsed {"raw_longitude":762250368,"raw_latitude":109113608,"longitude_deg":76.2250368,"latitude_deg":10.9113608,"altitude":37,"angle":119,"satellites":42,"speed":13,"hex_longitude":"2d6f0480","hex_latitude":"0680f108","is_valid_coordinates":true} 
[2026-08-25 15:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638566912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7996141166332026880,"note":"Value kept but may cause issues"} 
[2026-08-25 15:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787650663000,"timestamp_ms":1787650663000,"timestamp_seconds":1787650663,"priority":1,"record_length":96,"hex_timestamp":"000001a038486258"} 
[2026-08-25 15:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-25 15:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638566912001,"66":27887,"204":206,"28":24320,"24":13,"16":794568949760,"45":7996141166332026880},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638566912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7996141166332026880,"description":"Unknown IO ID 45"} 
[2026-08-25 15:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638566912001,"power":27887,"lac":206,"unknown_28":24320,"ignition":13,"odometer":null,"unknown_45":7996141166332026880}} 
[2026-08-25 15:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696261,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:08:59] local.INFO: GPS data processed {"connection_id":161732,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:08:59] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:09:16] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384827c0012d9dc900056963a8000c00932e..."} 
[2026-08-25 15:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384827c0012d9dc900056963a8000c00932e..."} 
[2026-08-25 15:09:16] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384827c0012d9dc900056963a8000c00932e..."} 
[2026-08-25 15:09:16] local.INFO: Packet analysis {"connection_id":161733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:09:16] local.INFO: Extracted packet for processing {"connection_id":161733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:09:16] local.INFO: GPS Element Parsed {"raw_longitude":765315328,"raw_latitude":90792872,"longitude_deg":76.5315328,"latitude_deg":9.0792872,"altitude":12,"angle":147,"satellites":46,"speed":4,"hex_longitude":"2d9dc900","hex_latitude":"056963a8","is_valid_coordinates":true} 
[2026-08-25 15:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638564864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725921759789056,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077406791169761280,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787650648000,"timestamp_ms":1787650648000,"timestamp_seconds":1787650648,"priority":1,"record_length":96,"hex_timestamp":"000001a0384827c0"} 
[2026-08-25 15:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 15:09:16] 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-25 15:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638564864001,"66":11711,"195":206,"84":8448,"24":4,"16":123725921759789056,"45":-7077406791169761280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638564864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:09:16] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:09:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725921759789056,"km_value":123725921759789.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077406791169761280,"description":"Unknown IO ID 45"} 
[2026-08-25 15:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638564864001,"power":11711,"unknown_195":206,"unknown_84":8448,"ignition":4,"odometer":null,"unknown_45":-7077406791169761280}} 
[2026-08-25 15:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":161733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:09:16] local.INFO: GPS data processed {"connection_id":161733,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:09:16] local.INFO: Acknowledgment sent {"connection_id":161733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:09:17] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:09:17] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:09:17] local.INFO: Packet analysis {"connection_id":161734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:09:17] local.INFO: Extracted packet for processing {"connection_id":161734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638506752001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787650718000,"timestamp_ms":1787650718000,"timestamp_seconds":1787650718,"priority":1,"record_length":96,"hex_timestamp":"000001a038493930"} 
[2026-08-25 15:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638506752001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638506752001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638506752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":161734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:09:17] local.INFO: GPS data processed {"connection_id":161734,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:09:17] local.INFO: Acknowledgment sent {"connection_id":161734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:09:31] local.INFO: TCP Data received {"connection_id":161735,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:09:31] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:09:31] local.INFO: Packet analysis {"connection_id":161735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:09:31] local.INFO: Extracted packet for processing {"connection_id":161735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:09:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787650715000,"timestamp_ms":1787650715000,"timestamp_seconds":1787650715,"priority":1,"record_length":96,"hex_timestamp":"000001a038492d78"} 
[2026-08-25 15:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:09:31] 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-25 15:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:09:31] 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-25 15:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":161735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:09:31] local.INFO: GPS data processed {"connection_id":161735,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:09:31] local.INFO: Acknowledgment sent {"connection_id":161735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:09:39] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:09:39] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:09:39] local.INFO: IMEI packet received {"connection_id":161978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":161978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:09:42] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:09:42] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:09:42] local.INFO: IMEI packet received {"connection_id":161977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":161977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:09:45] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:09:45] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:09:45] local.INFO: IMEI packet received {"connection_id":161977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":161977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:09:47] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038483378012d9dc9c005696180000c00a230..."} 
[2026-08-25 15:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038483378012d9dc9c005696180000c00a230..."} 
[2026-08-25 15:09:47] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038483378012d9dc9c005696180000c00a230..."} 
[2026-08-25 15:09:47] local.INFO: Packet analysis {"connection_id":161977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:09:47] local.INFO: Extracted packet for processing {"connection_id":161977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:09:47] local.INFO: GPS Element Parsed {"raw_longitude":765315520,"raw_latitude":90792320,"longitude_deg":76.531552,"latitude_deg":9.079232,"altitude":12,"angle":162,"satellites":48,"speed":12,"hex_longitude":"2d9dc9c0","hex_latitude":"05696180","is_valid_coordinates":true} 
[2026-08-25 15:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638565888001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123725951824560128,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7077125316193048576,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787650651000,"timestamp_ms":1787650651000,"timestamp_seconds":1787650651,"priority":1,"record_length":96,"hex_timestamp":"000001a038483378"} 
[2026-08-25 15:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-25 15:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638565888001,"66":12526,"195":206,"84":8448,"24":12,"16":123725951824560128,"45":-7077125316193048576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638565888001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:09:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:09:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123725951824560128,"km_value":123725951824560.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7077125316193048576,"description":"Unknown IO ID 45"} 
[2026-08-25 15:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638565888001,"power":12526,"unknown_195":206,"unknown_84":8448,"ignition":12,"odometer":null,"unknown_45":-7077125316193048576}} 
[2026-08-25 15:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":161977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:09:47] local.INFO: GPS data processed {"connection_id":161977,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:09:47] local.INFO: Acknowledgment sent {"connection_id":161977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:09:48] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038486a28012d9dd58005693e48000b00a22f..."} 
[2026-08-25 15:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038486a28012d9dd58005693e48000b00a22f..."} 
[2026-08-25 15:09:48] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038486a28012d9dd58005693e48000b00a22f..."} 
[2026-08-25 15:09:48] local.INFO: Packet analysis {"connection_id":161977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:09:48] local.INFO: Extracted packet for processing {"connection_id":161977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:09:48] local.INFO: GPS Element Parsed {"raw_longitude":765318528,"raw_latitude":90783304,"longitude_deg":76.5318528,"latitude_deg":9.0783304,"altitude":11,"angle":162,"satellites":47,"speed":33,"hex_longitude":"2d9dd580","hex_latitude":"05693e48","is_valid_coordinates":true} 
[2026-08-25 15:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638566656001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123726411386060800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7076914209960656896,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787650665000,"timestamp_ms":1787650665000,"timestamp_seconds":1787650665,"priority":1,"record_length":96,"hex_timestamp":"000001a038486a28"} 
[2026-08-25 15:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:09:48] 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-25 15:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 15:09:48] 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-25 15:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638566656001,"66":12874,"195":206,"84":8448,"24":33,"16":123726411386060800,"45":-7076914209960656896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638566656001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:09:48] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:09:48] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123726411386060800,"km_value":123726411386060.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7076914209960656896,"description":"Unknown IO ID 45"} 
[2026-08-25 15:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638566656001,"power":12874,"unknown_195":206,"unknown_84":8448,"ignition":33,"odometer":null,"unknown_45":-7076914209960656896}} 
[2026-08-25 15:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":161977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:09:48] local.INFO: GPS data processed {"connection_id":161977,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:09:48] local.INFO: Acknowledgment sent {"connection_id":161977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:09:52] local.INFO: TCP Data received {"connection_id":161736,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:09:52] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:09:52] local.INFO: IMEI packet received {"connection_id":161736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":161736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:09:57] local.INFO: TCP Data received {"connection_id":161736,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:09:57] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:09:57] local.INFO: IMEI packet received {"connection_id":161736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":161736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:09:58] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:09:58] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:09:58] local.INFO: IMEI packet received {"connection_id":161978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":161978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:09:59] local.INFO: TCP Data received {"connection_id":161736,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:09:59] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:09:59] local.INFO: Packet analysis {"connection_id":161736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:09:59] local.INFO: Extracted packet for processing {"connection_id":161736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787650715000,"timestamp_ms":1787650715000,"timestamp_seconds":1787650715,"priority":1,"record_length":96,"hex_timestamp":"000001a038492d78"} 
[2026-08-25 15: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-25 15:09:59] 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-25 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:09:59] 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-25 15: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-25 15: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-25 15:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:09:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":161736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:09:59] local.INFO: GPS data processed {"connection_id":161736,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:09:59] local.INFO: Acknowledgment sent {"connection_id":161736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:09:59] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:09:59] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:09:59] local.INFO: Packet analysis {"connection_id":161978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:09:59] local.INFO: Extracted packet for processing {"connection_id":161978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638506752001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787650718000,"timestamp_ms":1787650718000,"timestamp_seconds":1787650718,"priority":1,"record_length":96,"hex_timestamp":"000001a038493930"} 
[2026-08-25 15: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-25 15:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:09: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-25 15: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-25 15: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-25 15:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638506752001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638506752001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:09:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638506752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":161978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:09:59] local.INFO: GPS data processed {"connection_id":161978,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:09:59] local.INFO: Acknowledgment sent {"connection_id":161978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:10:00] local.INFO: TCP Data received {"connection_id":161732,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384944e80100000000000000000000000000..."} 
[2026-08-25 15:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384944e80100000000000000000000000000..."} 
[2026-08-25 15:10:00] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384944e80100000000000000000000000000..."} 
[2026-08-25 15:10:00] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:10:00] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:10:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 15:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638569728001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7999659603538282496,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787650721000,"timestamp_ms":1787650721000,"timestamp_seconds":1787650721,"priority":1,"record_length":96,"hex_timestamp":"000001a0384944e8"} 
[2026-08-25 15:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-25 15:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-25 15:10: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-25 15:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 15:10:00] local.INFO: GPS data processed {"connection_id":161732,"processed":0,"errors":0,"total":1} 
[2026-08-25 15:10:00] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:10:05] local.INFO: TCP Data received {"connection_id":161732,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03848c018012d6f2e400680c4d00025009c2c..."} 
[2026-08-25 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03848c018012d6f2e400680c4d00025009c2c..."} 
[2026-08-25 15:10:05] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03848c018012d6f2e400680c4d00025009c2c..."} 
[2026-08-25 15:10:05] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:10:05] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:10:05] local.INFO: GPS Element Parsed {"raw_longitude":762261056,"raw_latitude":109102288,"longitude_deg":76.2261056,"latitude_deg":10.9102288,"altitude":37,"angle":156,"satellites":44,"speed":21,"hex_longitude":"2d6f2e40","hex_latitude":"0680c4d0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,204,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 15:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787650687000,"timestamp_ms":1787650687000,"timestamp_seconds":1787650687,"priority":1,"record_length":96,"hex_timestamp":"000001a03848c018"} 
[2026-08-25 15: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-25 15:10: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 15:10:05] 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-25 15: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-25 15: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-25 15:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"204":206,"28":24320,"24":21,"16":794568949760},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16]} 
[2026-08-25 15:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-25 15:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:10:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"lac":206,"unknown_28":24320,"ignition":21,"odometer":null}} 
[2026-08-25 15:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696269,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:10:05] local.INFO: GPS data processed {"connection_id":161732,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:10:05] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:10:19] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03848a0d8012d9de00005691ca8000a00a228..."} 
[2026-08-25 15:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03848a0d8012d9de00005691ca8000a00a228..."} 
[2026-08-25 15:10:19] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03848a0d8012d9de00005691ca8000a00a228..."} 
[2026-08-25 15:10:19] local.INFO: Packet analysis {"connection_id":161977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:10:19] local.INFO: Extracted packet for processing {"connection_id":161977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03848"} 
[2026-08-25 15:10:19] local.INFO: GPS Element Parsed {"raw_longitude":765321216,"raw_latitude":90774696,"longitude_deg":76.5321216,"latitude_deg":9.0774696,"altitude":10,"angle":162,"satellites":40,"speed":8,"hex_longitude":"2d9de000","hex_latitude":"05691ca8","is_valid_coordinates":true} 
[2026-08-25 15:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638570240001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123726845177757696,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7073606878986614784,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787650679000,"timestamp_ms":1787650679000,"timestamp_seconds":1787650679,"priority":1,"record_length":96,"hex_timestamp":"000001a03848a0d8"} 
[2026-08-25 15:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-25 15:10:19] 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-25 15:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638570240001,"66":12961,"195":206,"84":8448,"24":8,"16":123726845177757696,"45":-7073606878986614784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 15:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638570240001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:10:19] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 15:10:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123726845177757696,"km_value":123726845177757.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7073606878986614784,"description":"Unknown IO ID 45"} 
[2026-08-25 15:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638570240001,"power":12961,"unknown_195":206,"unknown_84":8448,"ignition":8,"odometer":null,"unknown_45":-7073606878986614784}} 
[2026-08-25 15:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":161977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:10:19] local.INFO: GPS data processed {"connection_id":161977,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:10:19] local.INFO: Acknowledgment sent {"connection_id":161977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:10:31] local.INFO: TCP Data received {"connection_id":161736,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:10:31] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:10:31] local.INFO: Packet analysis {"connection_id":161736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:10:31] local.INFO: Extracted packet for processing {"connection_id":161736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:10:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787650715000,"timestamp_ms":1787650715000,"timestamp_seconds":1787650715,"priority":1,"record_length":96,"hex_timestamp":"000001a038492d78"} 
[2026-08-25 15:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:10:31] 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-25 15:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:10:31] 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-25 15:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:10:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":161736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:10:31] local.INFO: GPS data processed {"connection_id":161736,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:10:31] local.INFO: Acknowledgment sent {"connection_id":161736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:10:38] local.INFO: TCP Data received {"connection_id":161732,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038491220012d6f2e400680c4d00025009c2c..."} 
[2026-08-25 15:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038491220012d6f2e400680c4d00025009c2c..."} 
[2026-08-25 15:10:38] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038491220012d6f2e400680c4d00025009c2c..."} 
[2026-08-25 15:10:38] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:10:38] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:10:38] local.INFO: GPS Element Parsed {"raw_longitude":762261056,"raw_latitude":109102288,"longitude_deg":76.2261056,"latitude_deg":10.9102288,"altitude":37,"angle":156,"satellites":44,"speed":0,"hex_longitude":"2d6f2e40","hex_latitude":"0680c4d0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638575872001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8011411183813054464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787650708000,"timestamp_ms":1787650708000,"timestamp_seconds":1787650708,"priority":1,"record_length":96,"hex_timestamp":"000001a038491220"} 
[2026-08-25 15: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-25 15:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-25 15:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638575872001,"66":28104,"204":206,"28":24320,"24":0,"16":794568949760,"45":8011411183813054464},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638575872001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:10:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8011411183813054464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638575872001,"power":28104,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8011411183813054464}} 
[2026-08-25 15:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696272,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:10:38] local.INFO: GPS data processed {"connection_id":161732,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:10:38] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:10:41] local.INFO: TCP Data received {"connection_id":162974,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:10:41] local.INFO: Processing buffer {"connection_id":162974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:10:41] local.INFO: IMEI packet received {"connection_id":162974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":162974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:10:46] local.INFO: TCP Data received {"connection_id":162974,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:10:46] local.INFO: Processing buffer {"connection_id":162974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:10:46] local.INFO: IMEI packet received {"connection_id":162974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":162974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:10:46] local.INFO: TCP Data received {"connection_id":162974,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384a8538012d9e3d000567af40000600b130..."} 
[2026-08-25 15:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384a8538012d9e3d000567af40000600b130..."} 
[2026-08-25 15:10:46] local.INFO: Processing buffer {"connection_id":162974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384a8538012d9e3d000567af40000600b130..."} 
[2026-08-25 15:10:46] local.INFO: Packet analysis {"connection_id":162974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384a"} 
[2026-08-25 15:10:46] local.INFO: Extracted packet for processing {"connection_id":162974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384a"} 
[2026-08-25 15:10:46] local.INFO: GPS Element Parsed {"raw_longitude":765345024,"raw_latitude":90681152,"longitude_deg":76.5345024,"latitude_deg":9.0681152,"altitude":6,"angle":177,"satellites":48,"speed":34,"hex_longitude":"2d9e3d00","hex_latitude":"0567af40","is_valid_coordinates":true} 
[2026-08-25 15:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638603008001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123731621181390848,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7044755693897598976,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650803000,"timestamp_ms":1787650803000,"timestamp_seconds":1787650803,"priority":1,"record_length":96,"hex_timestamp":"000001a0384a8538"} 
[2026-08-25 15:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 15:10:46] 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-25 15:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638603008001,"66":13243,"119":206,"84":8448,"24":34,"16":123731621181390848,"45":-7044755693897598976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-25 15:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638603008001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:10:46] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-25 15:10:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123731621181390848,"km_value":123731621181390.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7044755693897598976,"description":"Unknown IO ID 45"} 
[2026-08-25 15:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638603008001,"power":13243,"unknown_119":206,"unknown_84":8448,"ignition":34,"odometer":null,"unknown_45":-7044755693897598976}} 
[2026-08-25 15:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":162974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:10:46] local.INFO: GPS data processed {"connection_id":162974,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:10:46] local.INFO: Acknowledgment sent {"connection_id":162974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:10:51] local.INFO: TCP Data received {"connection_id":162975,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:10:51] local.INFO: Processing buffer {"connection_id":162975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:10:51] local.INFO: IMEI packet received {"connection_id":162975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":162975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:10:52] local.INFO: TCP Data received {"connection_id":161979,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:10:52] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:10:52] local.INFO: IMEI packet received {"connection_id":161979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":161979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:10:52] local.INFO: TCP Data received {"connection_id":162975,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:10:52] local.INFO: Processing buffer {"connection_id":162975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:10:52] local.INFO: IMEI packet received {"connection_id":162975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":162975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:10:53] local.INFO: TCP Data received {"connection_id":162975,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:10:53] local.INFO: Processing buffer {"connection_id":162975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:10:53] local.INFO: Packet analysis {"connection_id":162975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:10:53] local.INFO: Extracted packet for processing {"connection_id":162975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638506752001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787650718000,"timestamp_ms":1787650718000,"timestamp_seconds":1787650718,"priority":1,"record_length":96,"hex_timestamp":"000001a038493930"} 
[2026-08-25 15:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:10:53] 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-25 15:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638506752001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638506752001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638506752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":162975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:10:53] local.INFO: GPS data processed {"connection_id":162975,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:10:53] local.INFO: Acknowledgment sent {"connection_id":162975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:10:56] local.INFO: TCP Data received {"connection_id":162975,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:10:56] local.INFO: Processing buffer {"connection_id":162975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:10:56] local.INFO: Packet analysis {"connection_id":162975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:10:56] local.INFO: Extracted packet for processing {"connection_id":162975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:10:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638506752001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787650718000,"timestamp_ms":1787650718000,"timestamp_seconds":1787650718,"priority":1,"record_length":96,"hex_timestamp":"000001a038493930"} 
[2026-08-25 15: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-25 15:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 15:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:10:56] 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-25 15:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638506752001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638506752001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:10:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638506752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":162975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:10:56] local.INFO: GPS data processed {"connection_id":162975,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:10:56] local.INFO: Acknowledgment sent {"connection_id":162975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:10:58] local.INFO: TCP Data received {"connection_id":161979,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:10:58] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:10:58] local.INFO: IMEI packet received {"connection_id":161979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":161979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:10:59] local.INFO: TCP Data received {"connection_id":161979,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:10:59] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:10:59] local.INFO: Packet analysis {"connection_id":161979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:10:59] local.INFO: Extracted packet for processing {"connection_id":161979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787650715000,"timestamp_ms":1787650715000,"timestamp_seconds":1787650715,"priority":1,"record_length":96,"hex_timestamp":"000001a038492d78"} 
[2026-08-25 15: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-25 15:10:59] 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-25 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:10:59] 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-25 15: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-25 15: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-25 15:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:10:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":161979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:10:59] local.INFO: GPS data processed {"connection_id":161979,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:10:59] local.INFO: Acknowledgment sent {"connection_id":161979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:11:06] local.INFO: TCP Data received {"connection_id":161737,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:11:06] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:11:06] local.INFO: IMEI packet received {"connection_id":161737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":161737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:11:11] local.INFO: TCP Data received {"connection_id":161737,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:11:11] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:11:11] local.INFO: IMEI packet received {"connection_id":161737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":161737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:11:14] local.INFO: TCP Data received {"connection_id":161737,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384948d0012d6f4f400680a2d0002200c52f..."} 
[2026-08-25 15:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384948d0012d6f4f400680a2d0002200c52f..."} 
[2026-08-25 15:11:14] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384948d0012d6f4f400680a2d0002200c52f..."} 
[2026-08-25 15:11:14] local.INFO: Packet analysis {"connection_id":161737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:11:14] local.INFO: Extracted packet for processing {"connection_id":161737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:11:14] local.INFO: GPS Element Parsed {"raw_longitude":762269504,"raw_latitude":109093584,"longitude_deg":76.2269504,"latitude_deg":10.9093584,"altitude":34,"angle":197,"satellites":47,"speed":17,"hex_longitude":"2d6f4f40","hex_latitude":"0680a2d0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638581248001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8011411183813054464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787650722000,"timestamp_ms":1787650722000,"timestamp_seconds":1787650722,"priority":1,"record_length":96,"hex_timestamp":"000001a0384948d0"} 
[2026-08-25 15: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-25 15:11: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-25 15: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 15:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638581248001,"66":27876,"204":206,"28":24320,"24":17,"16":794568949760,"45":8011411183813054464},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638581248001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:11:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8011411183813054464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638581248001,"power":27876,"lac":206,"unknown_28":24320,"ignition":17,"odometer":null,"unknown_45":8011411183813054464}} 
[2026-08-25 15:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":161737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:11:14] local.INFO: GPS data processed {"connection_id":161737,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:11:14] local.INFO: Acknowledgment sent {"connection_id":161737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:11:18] local.INFO: TCP Data received {"connection_id":162974,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384abbe8012d9e3f8005678b18000800ab2f..."} 
[2026-08-25 15:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384abbe8012d9e3f8005678b18000800ab2f..."} 
[2026-08-25 15:11:18] local.INFO: Processing buffer {"connection_id":162974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384abbe8012d9e3f8005678b18000800ab2f..."} 
[2026-08-25 15:11:18] local.INFO: Packet analysis {"connection_id":162974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384a"} 
[2026-08-25 15:11:18] local.INFO: Extracted packet for processing {"connection_id":162974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384a"} 
[2026-08-25 15:11:18] local.INFO: GPS Element Parsed {"raw_longitude":765345664,"raw_latitude":90671896,"longitude_deg":76.5345664,"latitude_deg":9.0671896,"altitude":8,"angle":171,"satellites":47,"speed":23,"hex_longitude":"2d9e3f80","hex_latitude":"05678b18","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638605568001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123732072152956928,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7044474218923212800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650817000,"timestamp_ms":1787650817000,"timestamp_seconds":1787650817,"priority":1,"record_length":96,"hex_timestamp":"000001a0384abbe8"} 
[2026-08-25 15: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-25 15:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 15:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638605568001,"66":13428,"119":206,"84":8448,"24":23,"16":123732072152956928,"45":-7044474218923212800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-25 15:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638605568001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:11:18] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-25 15:11:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123732072152956928,"km_value":123732072152956.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7044474218923212800,"description":"Unknown IO ID 45"} 
[2026-08-25 15:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638605568001,"power":13428,"unknown_119":206,"unknown_84":8448,"ignition":23,"odometer":null,"unknown_45":-7044474218923212800}} 
[2026-08-25 15:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":162974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:11:18] local.INFO: GPS data processed {"connection_id":162974,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:11:18] local.INFO: Acknowledgment sent {"connection_id":162974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:11:31] local.INFO: TCP Data received {"connection_id":161979,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:11:31] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:11:31] local.INFO: Packet analysis {"connection_id":161979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:11:31] local.INFO: Extracted packet for processing {"connection_id":161979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:11:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787650715000,"timestamp_ms":1787650715000,"timestamp_seconds":1787650715,"priority":1,"record_length":96,"hex_timestamp":"000001a038492d78"} 
[2026-08-25 15:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:11:31] 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-25 15:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:11:31] 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-25 15:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:11:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":161979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:11:31] local.INFO: GPS data processed {"connection_id":161979,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:11:31] local.INFO: Acknowledgment sent {"connection_id":161979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:11:40] local.INFO: TCP Data received {"connection_id":164349,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:11:40] local.INFO: Processing buffer {"connection_id":164349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:11:40] local.INFO: IMEI packet received {"connection_id":164349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":164349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:11:41] local.INFO: TCP Data received {"connection_id":164350,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:11:41] local.INFO: Processing buffer {"connection_id":164350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:11:41] local.INFO: IMEI packet received {"connection_id":164350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":164350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:11:45] local.INFO: TCP Data received {"connection_id":164349,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:11:45] local.INFO: Processing buffer {"connection_id":164349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:11:45] local.INFO: IMEI packet received {"connection_id":164349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":164349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:11:46] local.INFO: TCP Data received {"connection_id":164349,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:11:46] local.INFO: Processing buffer {"connection_id":164349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:11:46] local.INFO: Packet analysis {"connection_id":164349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:11:46] local.INFO: Extracted packet for processing {"connection_id":164349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638506752001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650718000,"timestamp_ms":1787650718000,"timestamp_seconds":1787650718,"priority":1,"record_length":96,"hex_timestamp":"000001a038493930"} 
[2026-08-25 15:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:11:46] 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-25 15:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638506752001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638506752001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638506752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":164349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:11:46] local.INFO: GPS data processed {"connection_id":164349,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:11:46] local.INFO: Acknowledgment sent {"connection_id":164349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:11:47] local.INFO: TCP Data received {"connection_id":161737,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038499ad8012d6f4f400680a2d0002200c52f..."} 
[2026-08-25 15:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038499ad8012d6f4f400680a2d0002200c52f..."} 
[2026-08-25 15:11:47] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038499ad8012d6f4f400680a2d0002200c52f..."} 
[2026-08-25 15:11:47] local.INFO: Packet analysis {"connection_id":161737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:11:47] local.INFO: Extracted packet for processing {"connection_id":161737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:11:47] local.INFO: GPS Element Parsed {"raw_longitude":762269504,"raw_latitude":109093584,"longitude_deg":76.2269504,"latitude_deg":10.9093584,"altitude":34,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2d6f4f40","hex_latitude":"0680a2d0","is_valid_coordinates":true} 
[2026-08-25 15:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638584832001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8020699858042277888,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787650743000,"timestamp_ms":1787650743000,"timestamp_seconds":1787650743,"priority":1,"record_length":96,"hex_timestamp":"000001a038499ad8"} 
[2026-08-25 15:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-25 15:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638584832001,"66":28104,"204":206,"28":24320,"24":0,"16":794568949760,"45":8020699858042277888},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638584832001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:11:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8020699858042277888,"description":"Unknown IO ID 45"} 
[2026-08-25 15:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638584832001,"power":28104,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8020699858042277888}} 
[2026-08-25 15:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":161737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696281,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:11:47] local.INFO: GPS data processed {"connection_id":161737,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:11:47] local.INFO: Acknowledgment sent {"connection_id":161737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:11:48] local.INFO: TCP Data received {"connection_id":164350,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:11:48] local.INFO: Processing buffer {"connection_id":164350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:11:48] local.INFO: IMEI packet received {"connection_id":164350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":164350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:11:51] local.INFO: TCP Data received {"connection_id":164350,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384afe50012d9e43c005676728000900ab31..."} 
[2026-08-25 15:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384afe50012d9e43c005676728000900ab31..."} 
[2026-08-25 15:11:51] local.INFO: Processing buffer {"connection_id":164350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384afe50012d9e43c005676728000900ab31..."} 
[2026-08-25 15:11:51] local.INFO: Packet analysis {"connection_id":164350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384a"} 
[2026-08-25 15:11:51] local.INFO: Extracted packet for processing {"connection_id":164350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384a"} 
[2026-08-25 15:11:51] local.INFO: GPS Element Parsed {"raw_longitude":765346752,"raw_latitude":90662696,"longitude_deg":76.5346752,"latitude_deg":9.0662696,"altitude":9,"angle":171,"satellites":49,"speed":22,"hex_longitude":"2d9e43c0","hex_latitude":"05676728","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638609152001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123732518829555712,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043770531483805696,"note":"Value kept but may cause issues"} 
[2026-08-25 15:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787650834000,"timestamp_ms":1787650834000,"timestamp_seconds":1787650834,"priority":1,"record_length":96,"hex_timestamp":"000001a0384afe50"} 
[2026-08-25 15: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-25 15:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 15:11:51] 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-25 15: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-25 15: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-25 15:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638609152001,"66":13515,"119":206,"84":8448,"24":22,"16":123732518829555712,"45":-7043770531483805696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-25 15:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638609152001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:11:51] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-25 15:11:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123732518829555712,"km_value":123732518829555.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043770531483805696,"description":"Unknown IO ID 45"} 
[2026-08-25 15:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638609152001,"power":13515,"unknown_119":206,"unknown_84":8448,"ignition":22,"odometer":null,"unknown_45":-7043770531483805696}} 
[2026-08-25 15:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":164350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:11:51] local.INFO: GPS data processed {"connection_id":164350,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:11:51] local.INFO: Acknowledgment sent {"connection_id":164350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:11:58] local.INFO: TCP Data received {"connection_id":161980,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:11:58] local.INFO: Processing buffer {"connection_id":161980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:11:58] local.INFO: IMEI packet received {"connection_id":161980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":161980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:12:04] local.INFO: TCP Data received {"connection_id":161980,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:12:04] local.INFO: Processing buffer {"connection_id":161980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:12:04] local.INFO: IMEI packet received {"connection_id":161980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":161980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:12:05] local.INFO: TCP Data received {"connection_id":161980,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:12:05] local.INFO: Processing buffer {"connection_id":161980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:12:05] local.INFO: Packet analysis {"connection_id":161980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:12:05] local.INFO: Extracted packet for processing {"connection_id":161980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787650715000,"timestamp_ms":1787650715000,"timestamp_seconds":1787650715,"priority":1,"record_length":96,"hex_timestamp":"000001a038492d78"} 
[2026-08-25 15: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-25 15:12: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-25 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:12: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-25 15: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-25 15: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-25 15:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:12:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":161980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:12:05] local.INFO: GPS data processed {"connection_id":161980,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:12:05] local.INFO: Acknowledgment sent {"connection_id":161980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:12:19] local.INFO: TCP Data received {"connection_id":161737,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03849c9b8012d6f6f8006808310001e00ad2a..."} 
[2026-08-25 15:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03849c9b8012d6f6f8006808310001e00ad2a..."} 
[2026-08-25 15:12:19] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03849c9b8012d6f6f8006808310001e00ad2a..."} 
[2026-08-25 15:12:19] local.INFO: Packet analysis {"connection_id":161737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:12:19] local.INFO: Extracted packet for processing {"connection_id":161737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:12:19] local.INFO: GPS Element Parsed {"raw_longitude":762277760,"raw_latitude":109085456,"longitude_deg":76.227776,"latitude_deg":10.9085456,"altitude":30,"angle":173,"satellites":42,"speed":14,"hex_longitude":"2d6f6f80","hex_latitude":"06808310","is_valid_coordinates":true} 
[2026-08-25 15:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638590208001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8020699858042277888,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787650755000,"timestamp_ms":1787650755000,"timestamp_seconds":1787650755,"priority":1,"record_length":96,"hex_timestamp":"000001a03849c9b8"} 
[2026-08-25 15:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 15:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638590208001,"66":27767,"204":206,"28":24320,"24":14,"16":794568949760,"45":8020699858042277888},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638590208001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:12:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8020699858042277888,"description":"Unknown IO ID 45"} 
[2026-08-25 15:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638590208001,"power":27767,"lac":206,"unknown_28":24320,"ignition":14,"odometer":null,"unknown_45":8020699858042277888}} 
[2026-08-25 15:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":161737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:12:20] local.INFO: GPS data processed {"connection_id":161737,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:12:20] local.INFO: Acknowledgment sent {"connection_id":161737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:12:22] local.INFO: TCP Data received {"connection_id":164350,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384c65b0012d9e670005667010000b009831..."} 
[2026-08-25 15:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384c65b0012d9e670005667010000b009831..."} 
[2026-08-25 15:12:22] local.INFO: Processing buffer {"connection_id":164350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384c65b0012d9e670005667010000b009831..."} 
[2026-08-25 15:12:22] local.INFO: Packet analysis {"connection_id":164350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384c"} 
[2026-08-25 15:12:22] local.INFO: Extracted packet for processing {"connection_id":164350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384c"} 
[2026-08-25 15:12:22] local.INFO: GPS Element Parsed {"raw_longitude":765355776,"raw_latitude":90599440,"longitude_deg":76.5355776,"latitude_deg":9.059944,"altitude":11,"angle":152,"satellites":49,"speed":15,"hex_longitude":"2d9e6700","hex_latitude":"05667010","is_valid_coordinates":true} 
[2026-08-25 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-25 15:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638636032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123735658450649088,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033074482387083264,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787650926000,"timestamp_ms":1787650926000,"timestamp_seconds":1787650926,"priority":1,"record_length":96,"hex_timestamp":"000001a0384c65b0"} 
[2026-08-25 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-25 15:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 15:12:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2657058821,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3623955870,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-4152318783410130944,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1360920782,"corrected_to":0} 
[2026-08-25 15:12:22] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2147837603,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070422,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2555379712,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57797409275532321,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.WARNING: Large IO value detected {"io_id":75,"raw_value":-1116891412146700283,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:22] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,30,84,24,241,157,16,152,160,82,45,64,116,11,46,10,66,74,118,12,47,62,1,240,187,227,56,102,4,113,205,27,86,88,239,51,112,2,183,5,17,48,181,75],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1360920782,"validated":0}]} 
[2026-08-25 15:12:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792816250916438016,"timestamp_seconds":792816250916438.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 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-25 15:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638636032001,"66":13178,"30":206,"84":8448,"24":15,"16":123735658450649088,"45":-7033074482387083264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,84,24,16,45]} 
[2026-08-25 15:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638636032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:12:22] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-25 15:12:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123735658450649088,"km_value":123735658450649.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033074482387083264,"description":"Unknown IO ID 45"} 
[2026-08-25 15:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638636032001,"power":13178,"unknown_30":206,"unknown_84":8448,"ignition":15,"odometer":null,"unknown_45":-7033074482387083264}} 
[2026-08-25 15:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":164350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:12:22] local.INFO: GPS data processed {"connection_id":164350,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:12:22] local.INFO: Acknowledgment sent {"connection_id":164350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:12:27] local.INFO: TCP Data received {"connection_id":164349,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:12:27] local.INFO: Processing buffer {"connection_id":164349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:12:27] local.INFO: Packet analysis {"connection_id":164349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:12:27] local.INFO: Extracted packet for processing {"connection_id":164349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:12:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638506752001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787650718000,"timestamp_ms":1787650718000,"timestamp_seconds":1787650718,"priority":1,"record_length":96,"hex_timestamp":"000001a038493930"} 
[2026-08-25 15: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-25 15:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:12:27] 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-25 15:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638506752001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638506752001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:12:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638506752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":164349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:12:27] local.INFO: GPS data processed {"connection_id":164349,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:12:27] local.INFO: Acknowledgment sent {"connection_id":164349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:12:37] local.INFO: TCP Data received {"connection_id":161980,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:12:37] local.INFO: Processing buffer {"connection_id":161980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:12:37] local.INFO: Packet analysis {"connection_id":161980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:12:37] local.INFO: Extracted packet for processing {"connection_id":161980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 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-25 15:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787650715000,"timestamp_ms":1787650715000,"timestamp_seconds":1787650715,"priority":1,"record_length":96,"hex_timestamp":"000001a038492d78"} 
[2026-08-25 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-25 15:12:37] 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-25 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:12: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-25 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-25 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-25 15:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:12:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":161980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:12:37] local.INFO: GPS data processed {"connection_id":161980,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:12:37] local.INFO: Acknowledgment sent {"connection_id":161980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:12:39] local.INFO: TCP Data received {"connection_id":164351,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:12:39] local.INFO: Processing buffer {"connection_id":164351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:12:39] local.INFO: IMEI packet received {"connection_id":164351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":164351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:12:40] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:12:40] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:12:40] local.INFO: IMEI packet received {"connection_id":161738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":161738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:12:45] local.INFO: TCP Data received {"connection_id":164351,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:12:45] local.INFO: Processing buffer {"connection_id":164351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:12:45] local.INFO: IMEI packet received {"connection_id":164351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":164351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:12:45] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:12:45] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:12:45] local.INFO: IMEI packet received {"connection_id":161738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":161738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:12:46] local.INFO: TCP Data received {"connection_id":164351,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:12:46] local.INFO: Processing buffer {"connection_id":164351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:12:46] local.INFO: Packet analysis {"connection_id":164351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:12:46] local.INFO: Extracted packet for processing {"connection_id":164351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638506752001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650718000,"timestamp_ms":1787650718000,"timestamp_seconds":1787650718,"priority":1,"record_length":96,"hex_timestamp":"000001a038493930"} 
[2026-08-25 15:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:12:46] 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-25 15:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638506752001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638506752001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638506752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":164351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:12:46] local.INFO: GPS data processed {"connection_id":164351,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:12:46] local.INFO: Acknowledgment sent {"connection_id":164351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:12:46] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384c7938012d9e6b8005666840000b00a432..."} 
[2026-08-25 15:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384c7938012d9e6b8005666840000b00a432..."} 
[2026-08-25 15:12:46] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384c7938012d9e6b8005666840000b00a432..."} 
[2026-08-25 15:12:46] local.INFO: Packet analysis {"connection_id":161738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384c"} 
[2026-08-25 15:12:46] local.INFO: Extracted packet for processing {"connection_id":161738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384c"} 
[2026-08-25 15:12:46] local.INFO: GPS Element Parsed {"raw_longitude":765356928,"raw_latitude":90597440,"longitude_deg":76.5356928,"latitude_deg":9.059744,"altitude":11,"angle":164,"satellites":50,"speed":24,"hex_longitude":"2d9e6b80","hex_latitude":"05666840","is_valid_coordinates":true} 
[2026-08-25 15:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638637056001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123735770119798784,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7032652269922283520,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650931000,"timestamp_ms":1787650931000,"timestamp_seconds":1787650931,"priority":1,"record_length":96,"hex_timestamp":"000001a0384c7938"} 
[2026-08-25 15:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-25 15:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638637056001,"66":13319,"30":206,"84":8448,"24":24,"16":123735770119798784,"45":-7032652269922283520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,84,24,16,45]} 
[2026-08-25 15:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638637056001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:12:46] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-25 15:12:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123735770119798784,"km_value":123735770119798.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7032652269922283520,"description":"Unknown IO ID 45"} 
[2026-08-25 15:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638637056001,"power":13319,"unknown_30":206,"unknown_84":8448,"ignition":24,"odometer":null,"unknown_45":-7032652269922283520}} 
[2026-08-25 15:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":161738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:12:46] local.INFO: GPS data processed {"connection_id":161738,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:12:46] local.INFO: Acknowledgment sent {"connection_id":161738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:12:52] local.INFO: TCP Data received {"connection_id":161981,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:12:52] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:12:52] local.INFO: IMEI packet received {"connection_id":161981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":161981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:12:52] local.INFO: TCP Data received {"connection_id":161737,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384a1bc0012d6f6f8006808310001e00ad2a..."} 
[2026-08-25 15:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384a1bc0012d6f6f8006808310001e00ad2a..."} 
[2026-08-25 15:12:52] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384a1bc0012d6f6f8006808310001e00ad2a..."} 
[2026-08-25 15:12:52] local.INFO: Packet analysis {"connection_id":161737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384a"} 
[2026-08-25 15:12:52] local.INFO: Extracted packet for processing {"connection_id":161737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384a"} 
[2026-08-25 15:12:52] local.INFO: GPS Element Parsed {"raw_longitude":762277760,"raw_latitude":109085456,"longitude_deg":76.227776,"latitude_deg":10.9085456,"altitude":30,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d6f6f80","hex_latitude":"06808310","is_valid_coordinates":true} 
[2026-08-25 15:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638593280001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8029777426039115776,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787650776000,"timestamp_ms":1787650776000,"timestamp_seconds":1787650776,"priority":1,"record_length":96,"hex_timestamp":"000001a0384a1bc0"} 
[2026-08-25 15:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 15:12: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-25 15:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638593280001,"66":28137,"65":206,"18":2048,"24":0,"16":794568949760,"45":8029777426039115776},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,18,24,16,45]} 
[2026-08-25 15:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638593280001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:12:52] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-25 15:12:52] local.INFO: Unknown IO ID detected {"io_id":18,"value":2048,"description":"Unknown IO ID 18"} 
[2026-08-25 15:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8029777426039115776,"description":"Unknown IO ID 45"} 
[2026-08-25 15:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638593280001,"power":28137,"unknown_65":206,"unknown_18":2048,"ignition":0,"odometer":null,"unknown_45":8029777426039115776}} 
[2026-08-25 15:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":161737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:12:53] local.INFO: GPS data processed {"connection_id":161737,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:12:53] local.INFO: Acknowledgment sent {"connection_id":161737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:12:57] local.INFO: TCP Data received {"connection_id":161981,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:12:57] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:12:57] local.INFO: IMEI packet received {"connection_id":161981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":161981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:12:59] local.INFO: TCP Data received {"connection_id":161981,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:12:59] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:12:59] local.INFO: Packet analysis {"connection_id":161981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:12:59] local.INFO: Extracted packet for processing {"connection_id":161981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787650715000,"timestamp_ms":1787650715000,"timestamp_seconds":1787650715,"priority":1,"record_length":96,"hex_timestamp":"000001a038492d78"} 
[2026-08-25 15: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-25 15:12:59] 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-25 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:12:59] 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-25 15: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-25 15: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-25 15:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:12:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":161981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:12:59] local.INFO: GPS data processed {"connection_id":161981,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:12:59] local.INFO: Acknowledgment sent {"connection_id":161981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:13:18] local.INFO: TCP Data received {"connection_id":164351,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:13:18] local.INFO: Processing buffer {"connection_id":164351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:13:18] local.INFO: Packet analysis {"connection_id":164351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:13:18] local.INFO: Extracted packet for processing {"connection_id":164351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638506752001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650718000,"timestamp_ms":1787650718000,"timestamp_seconds":1787650718,"priority":1,"record_length":96,"hex_timestamp":"000001a038493930"} 
[2026-08-25 15:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:13:18] 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-25 15:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638506752001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638506752001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638506752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":164351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:13:18] local.INFO: GPS data processed {"connection_id":164351,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:13:18] local.INFO: Acknowledgment sent {"connection_id":164351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:13:18] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384c8cc0012d9e6d8005665ba0000c00af30..."} 
[2026-08-25 15:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384c8cc0012d9e6d8005665ba0000c00af30..."} 
[2026-08-25 15:13:18] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384c8cc0012d9e6d8005665ba0000c00af30..."} 
[2026-08-25 15:13:18] local.INFO: Packet analysis {"connection_id":161738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384c"} 
[2026-08-25 15:13:18] local.INFO: Extracted packet for processing {"connection_id":161738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384c"} 
[2026-08-25 15:13:18] local.INFO: GPS Element Parsed {"raw_longitude":765357440,"raw_latitude":90594208,"longitude_deg":76.535744,"latitude_deg":9.0594208,"altitude":12,"angle":175,"satellites":48,"speed":25,"hex_longitude":"2d9e6d80","hex_latitude":"05665ba0","is_valid_coordinates":true} 
[2026-08-25 15:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638638336001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123735929033588736,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7031385632527597568,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650936000,"timestamp_ms":1787650936000,"timestamp_seconds":1787650936,"priority":1,"record_length":96,"hex_timestamp":"000001a0384c8cc0"} 
[2026-08-25 15:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2657353733,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57791559530075169,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-6676586374551359744,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1360920782,"corrected_to":0} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2684431774,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391953,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2563833856,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.WARNING: Large IO value detected {"io_id":76,"raw_value":853433424828334085,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:18] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,30,84,24,241,157,16,153,160,101,45,112,11,49,10,66,152,86,128,116,46,82,64,1,240,7,227,56,102,4,113,205,8,62,98,80,48,239,51,2,183,5,13,27,76],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1360920782,"validated":0}]} 
[2026-08-25 15:13:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792814069074100224,"timestamp_seconds":792814069074100.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 15:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638638336001,"66":13341,"30":206,"84":8448,"24":25,"16":123735929033588736,"45":-7031385632527597568},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,84,24,16,45]} 
[2026-08-25 15:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638638336001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:13:18] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-25 15:13:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123735929033588736,"km_value":123735929033588.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7031385632527597568,"description":"Unknown IO ID 45"} 
[2026-08-25 15:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638638336001,"power":13341,"unknown_30":206,"unknown_84":8448,"ignition":25,"odometer":null,"unknown_45":-7031385632527597568}} 
[2026-08-25 15:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":161738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:13:18] local.INFO: GPS data processed {"connection_id":161738,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:13:18] local.INFO: Acknowledgment sent {"connection_id":161738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:13:26] local.INFO: TCP Data received {"connection_id":161737,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384afe500100000000000000000000000000..."} 
[2026-08-25 15:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384afe500100000000000000000000000000..."} 
[2026-08-25 15:13:26] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384afe500100000000000000000000000000..."} 
[2026-08-25 15:13:26] local.INFO: Packet analysis {"connection_id":161737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384a"} 
[2026-08-25 15:13:26] local.INFO: Extracted packet for processing {"connection_id":161737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384a"} 
[2026-08-25 15:13: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-25 15:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638598656001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8029777426039115776,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787650834000,"timestamp_ms":1787650834000,"timestamp_seconds":1787650834,"priority":1,"record_length":96,"hex_timestamp":"000001a0384afe50"} 
[2026-08-25 15:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 15:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":161737,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 15:13:26] local.INFO: GPS data processed {"connection_id":161737,"processed":0,"errors":0,"total":1} 
[2026-08-25 15:13:26] local.INFO: Acknowledgment sent {"connection_id":161737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:13:31] local.INFO: TCP Data received {"connection_id":161981,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:13:31] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:13:31] local.INFO: Packet analysis {"connection_id":161981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:13:31] local.INFO: Extracted packet for processing {"connection_id":161981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787650715000,"timestamp_ms":1787650715000,"timestamp_seconds":1787650715,"priority":1,"record_length":96,"hex_timestamp":"000001a038492d78"} 
[2026-08-25 15:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:13:31] 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-25 15:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:13:31] 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-25 15:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":161981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:13:31] local.INFO: GPS data processed {"connection_id":161981,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:13:31] local.INFO: Acknowledgment sent {"connection_id":161981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:13:39] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:13:39] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:13:39] local.INFO: IMEI packet received {"connection_id":161739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":161739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:13:41] local.INFO: TCP Data received {"connection_id":164352,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:13:41] local.INFO: Processing buffer {"connection_id":164352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:13:41] local.INFO: IMEI packet received {"connection_id":164352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":164352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:13:45] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:13:45] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:13:45] local.INFO: IMEI packet received {"connection_id":161739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":161739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:13:46] local.INFO: TCP Data received {"connection_id":164352,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:13:46] local.INFO: Processing buffer {"connection_id":164352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:13:46] local.INFO: IMEI packet received {"connection_id":164352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":164352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:13:46] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:13:46] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:13:46] local.INFO: Packet analysis {"connection_id":161739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:13:46] local.INFO: Extracted packet for processing {"connection_id":161739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638506752001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787650718000,"timestamp_ms":1787650718000,"timestamp_seconds":1787650718,"priority":1,"record_length":96,"hex_timestamp":"000001a038493930"} 
[2026-08-25 15:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638506752001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638506752001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638506752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":161739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:13:46] local.INFO: GPS data processed {"connection_id":161739,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:13:46] local.INFO: Acknowledgment sent {"connection_id":161739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:13:47] local.INFO: TCP Data received {"connection_id":164352,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384cbf88012d9e6e8005663868000a00b82b..."} 
[2026-08-25 15:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384cbf88012d9e6e8005663868000a00b82b..."} 
[2026-08-25 15:13:47] local.INFO: Processing buffer {"connection_id":164352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384cbf88012d9e6e8005663868000a00b82b..."} 
[2026-08-25 15:13:47] local.INFO: Packet analysis {"connection_id":164352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384c"} 
[2026-08-25 15:13:47] local.INFO: Extracted packet for processing {"connection_id":164352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384c"} 
[2026-08-25 15:13:47] local.INFO: GPS Element Parsed {"raw_longitude":765357696,"raw_latitude":90585192,"longitude_deg":76.5357696,"latitude_deg":9.0585192,"altitude":10,"angle":184,"satellites":43,"speed":16,"hex_longitude":"2d9e6e80","hex_latitude":"05663868","is_valid_coordinates":true} 
[2026-08-25 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-25 15:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638639616001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123736367120252928,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7030822682575003648,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787650949000,"timestamp_ms":1787650949000,"timestamp_seconds":1787650949,"priority":1,"record_length":96,"hex_timestamp":"000001a0384cbf88"} 
[2026-08-25 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-25 15:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 15:13:47] 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-25 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-25 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-25 15:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638639616001,"66":13102,"30":206,"84":8448,"24":16,"16":123736367120252928,"45":-7030822682575003648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,84,24,16,45]} 
[2026-08-25 15:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638639616001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:13:47] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-25 15:13:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123736367120252928,"km_value":123736367120252.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7030822682575003648,"description":"Unknown IO ID 45"} 
[2026-08-25 15:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638639616001,"power":13102,"unknown_30":206,"unknown_84":8448,"ignition":16,"odometer":null,"unknown_45":-7030822682575003648}} 
[2026-08-25 15:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":164352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:13:47] local.INFO: GPS data processed {"connection_id":164352,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:13:47] local.INFO: Acknowledgment sent {"connection_id":164352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:13:52] local.INFO: TCP Data received {"connection_id":162976,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:13:52] local.INFO: Processing buffer {"connection_id":162976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:13:52] local.INFO: IMEI packet received {"connection_id":162976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":162976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:13:57] local.INFO: TCP Data received {"connection_id":162976,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:13:57] local.INFO: Processing buffer {"connection_id":162976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:13:57] local.INFO: IMEI packet received {"connection_id":162976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":162976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:13:59] local.INFO: TCP Data received {"connection_id":162976,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:13:59] local.INFO: Processing buffer {"connection_id":162976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038492d78012d196480071ff120003f01402c..."} 
[2026-08-25 15:13:59] local.INFO: Packet analysis {"connection_id":162976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:13:59] local.INFO: Extracted packet for processing {"connection_id":162976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638438912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940823552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787650715000,"timestamp_ms":1787650715000,"timestamp_seconds":1787650715,"priority":1,"record_length":96,"hex_timestamp":"000001a038492d78"} 
[2026-08-25 15:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:13:59] 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-25 15:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 15:13:59] 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-25 15:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638438912001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829939222940823552},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638438912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:13:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940823552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638438912001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829939222940823552}} 
[2026-08-25 15:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":162976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:13:59] local.INFO: GPS data processed {"connection_id":162976,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:13:59] local.INFO: Acknowledgment sent {"connection_id":162976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:14:13] local.INFO: TCP Data received {"connection_id":161982,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:14:13] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:14:13] local.INFO: IMEI packet received {"connection_id":161982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":161982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:14:16] local.INFO: TCP Data received {"connection_id":161982,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:14:16] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:14:16] local.INFO: IMEI packet received {"connection_id":161982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":161982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:14:18] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:14:18] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038493930012d34c14006aa4820000800e631..."} 
[2026-08-25 15:14:18] local.INFO: Packet analysis {"connection_id":161739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:14:18] local.INFO: Extracted packet for processing {"connection_id":161739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03849"} 
[2026-08-25 15:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 15:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638506752001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650718000,"timestamp_ms":1787650718000,"timestamp_seconds":1787650718,"priority":1,"record_length":96,"hex_timestamp":"000001a038493930"} 
[2026-08-25 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-25 15:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638506752001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638506752001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638506752001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":161739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:14:18] local.INFO: GPS data processed {"connection_id":161739,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:14:18] local.INFO: Acknowledgment sent {"connection_id":161739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:14:18] local.INFO: TCP Data received {"connection_id":164352,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384d09c0012d9e6ac005661488000d00bb31..."} 
[2026-08-25 15:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384d09c0012d9e6ac005661488000d00bb31..."} 
[2026-08-25 15:14:18] local.INFO: Processing buffer {"connection_id":164352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384d09c0012d9e6ac005661488000d00bb31..."} 
[2026-08-25 15:14:18] local.INFO: Packet analysis {"connection_id":164352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:18] local.INFO: Extracted packet for processing {"connection_id":164352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:18] local.INFO: GPS Element Parsed {"raw_longitude":765356736,"raw_latitude":90576008,"longitude_deg":76.5356736,"latitude_deg":9.0576008,"altitude":13,"angle":187,"satellites":49,"speed":41,"hex_longitude":"2d9e6ac0","hex_latitude":"05661488","is_valid_coordinates":true} 
[2026-08-25 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-25 15:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638642944001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123736818091819008,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7030541207600601088,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787650968000,"timestamp_ms":1787650968000,"timestamp_seconds":1787650968,"priority":1,"record_length":96,"hex_timestamp":"000001a0384d09c0"} 
[2026-08-25 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-25 15:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 15:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638642944001,"66":13406,"30":206,"84":8448,"24":41,"16":123736818091819008,"45":-7030541207600601088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,84,24,16,45]} 
[2026-08-25 15:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638642944001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:14:18] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-25 15:14:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123736818091819008,"km_value":123736818091819.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7030541207600601088,"description":"Unknown IO ID 45"} 
[2026-08-25 15:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638642944001,"power":13406,"unknown_30":206,"unknown_84":8448,"ignition":41,"odometer":null,"unknown_45":-7030541207600601088}} 
[2026-08-25 15:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":164352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:14:18] local.INFO: GPS data processed {"connection_id":164352,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:14:18] local.INFO: Acknowledgment sent {"connection_id":164352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:14:19] local.INFO: TCP Data received {"connection_id":161982,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384cd310012d709780068034e0002800b62d..."} 
[2026-08-25 15:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384cd310012d709780068034e0002800b62d..."} 
[2026-08-25 15:14:19] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384cd310012d709780068034e0002800b62d..."} 
[2026-08-25 15:14:19] local.INFO: Packet analysis {"connection_id":161982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384c"} 
[2026-08-25 15:14:19] local.INFO: Extracted packet for processing {"connection_id":161982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384c"} 
[2026-08-25 15:14:19] local.INFO: GPS Element Parsed {"raw_longitude":762353536,"raw_latitude":109065440,"longitude_deg":76.2353536,"latitude_deg":10.906544,"altitude":40,"angle":182,"satellites":45,"speed":20,"hex_longitude":"2d709780","hex_latitude":"068034e0","is_valid_coordinates":true} 
[2026-08-25 15:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,65,18,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 15:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787650954000,"timestamp_ms":1787650954000,"timestamp_seconds":1787650954,"priority":1,"record_length":96,"hex_timestamp":"000001a0384cd310"} 
[2026-08-25 15:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-25 15:14:19] 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-25 15:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"65":206,"18":2048,"24":20,"16":794568949760},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,18,24,16]} 
[2026-08-25 15:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-25 15:14:19] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-25 15:14:19] local.INFO: Unknown IO ID detected {"io_id":18,"value":2048,"description":"Unknown IO ID 18"} 
[2026-08-25 15:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:14:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_65":206,"unknown_18":2048,"ignition":20,"odometer":null}} 
[2026-08-25 15:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":161982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:14:19] local.INFO: GPS data processed {"connection_id":161982,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:14:19] local.INFO: Acknowledgment sent {"connection_id":161982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:14:23] local.INFO: TCP Data received {"connection_id":161982,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384db5a00100000000000000000000000000..."} 
[2026-08-25 15:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384db5a00100000000000000000000000000..."} 
[2026-08-25 15:14:23] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384db5a00100000000000000000000000000..."} 
[2026-08-25 15:14:23] local.INFO: Packet analysis {"connection_id":161982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:23] local.INFO: Extracted packet for processing {"connection_id":161982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638644224001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8113094019140345856,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787651012000,"timestamp_ms":1787651012000,"timestamp_seconds":1787651012,"priority":1,"record_length":96,"hex_timestamp":"000001a0384db5a0"} 
[2026-08-25 15: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-25 15:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-25 15:14:23] 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-25 15: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-25 15: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-25 15:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":161982,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 15:14:23] local.INFO: GPS data processed {"connection_id":161982,"processed":0,"errors":0,"total":1} 
[2026-08-25 15:14:23] local.INFO: Acknowledgment sent {"connection_id":161982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:14:31] local.INFO: TCP Data received {"connection_id":162976,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:14:31] local.INFO: Processing buffer {"connection_id":162976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:14:31] local.INFO: Packet analysis {"connection_id":162976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:31] local.INFO: Extracted packet for processing {"connection_id":162976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":46,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583040001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787651016000,"timestamp_ms":1787651016000,"timestamp_seconds":1787651016,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dc540"} 
[2026-08-25 15:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:14:31] 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-25 15:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583040001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583040001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583040001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":162976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:14:31] local.INFO: GPS data processed {"connection_id":162976,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:14:31] local.INFO: Acknowledgment sent {"connection_id":162976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:14:44] local.INFO: TCP Data received {"connection_id":164353,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:14:44] local.INFO: Processing buffer {"connection_id":164353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:14:44] local.INFO: IMEI packet received {"connection_id":164353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":164353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:14:46] local.INFO: TCP Data received {"connection_id":161983,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:14:46] local.INFO: Processing buffer {"connection_id":161983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:14:46] local.INFO: IMEI packet received {"connection_id":161983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":161983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:14:50] local.INFO: TCP Data received {"connection_id":164353,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:14:50] local.INFO: Processing buffer {"connection_id":164353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:14:50] local.INFO: IMEI packet received {"connection_id":164353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":164353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:14:51] local.INFO: TCP Data received {"connection_id":161983,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:14:51] local.INFO: Processing buffer {"connection_id":161983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:14:51] local.INFO: IMEI packet received {"connection_id":161983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":161983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:14:51] local.INFO: TCP Data received {"connection_id":164353,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:14:51] local.INFO: Processing buffer {"connection_id":164353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:14:51] local.INFO: Packet analysis {"connection_id":164353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:51] local.INFO: Extracted packet for processing {"connection_id":164353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583808001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787651019000,"timestamp_ms":1787651019000,"timestamp_seconds":1787651019,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dd0f8"} 
[2026-08-25 15:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583808001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583808001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":164353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:14:51] local.INFO: GPS data processed {"connection_id":164353,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:14:51] local.INFO: Acknowledgment sent {"connection_id":164353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:14:52] local.INFO: TCP Data received {"connection_id":161983,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384d2900012d9e67000565f1f8000b00b72d..."} 
[2026-08-25 15:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384d2900012d9e67000565f1f8000b00b72d..."} 
[2026-08-25 15:14:52] local.INFO: Processing buffer {"connection_id":161983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384d2900012d9e67000565f1f8000b00b72d..."} 
[2026-08-25 15:14:52] local.INFO: Packet analysis {"connection_id":161983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:52] local.INFO: Extracted packet for processing {"connection_id":161983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:52] local.INFO: GPS Element Parsed {"raw_longitude":765355776,"raw_latitude":90567160,"longitude_deg":76.5355776,"latitude_deg":9.056716,"altitude":11,"angle":183,"satellites":45,"speed":43,"hex_longitude":"2d9e6700","hex_latitude":"0565f1f8","is_valid_coordinates":true} 
[2026-08-25 15:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638647808001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123737251883515904,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7031596738765617152,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787650976000,"timestamp_ms":1787650976000,"timestamp_seconds":1787650976,"priority":1,"record_length":96,"hex_timestamp":"000001a0384d2900"} 
[2026-08-25 15:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 15:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638647808001,"66":12906,"30":206,"84":8448,"24":43,"16":123737251883515904,"45":-7031596738765617152},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,84,24,16,45]} 
[2026-08-25 15:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638647808001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:14:52] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-25 15:14:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123737251883515904,"km_value":123737251883515.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7031596738765617152,"description":"Unknown IO ID 45"} 
[2026-08-25 15:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638647808001,"power":12906,"unknown_30":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7031596738765617152}} 
[2026-08-25 15:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":161983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:14:52] local.INFO: GPS data processed {"connection_id":161983,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:14:52] local.INFO: Acknowledgment sent {"connection_id":161983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:14:52] local.INFO: TCP Data received {"connection_id":161740,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:14:52] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:14:52] local.INFO: IMEI packet received {"connection_id":161740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":161740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:14:57] local.INFO: TCP Data received {"connection_id":161983,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384d6780012d9e65400565cfa8000c00b52d..."} 
[2026-08-25 15:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384d6780012d9e65400565cfa8000c00b52d..."} 
[2026-08-25 15:14:57] local.INFO: Processing buffer {"connection_id":161983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384d6780012d9e65400565cfa8000c00b52d..."} 
[2026-08-25 15:14:57] local.INFO: Packet analysis {"connection_id":161983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:57] local.INFO: Extracted packet for processing {"connection_id":161983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:57] local.INFO: GPS Element Parsed {"raw_longitude":765355328,"raw_latitude":90558376,"longitude_deg":76.5355328,"latitude_deg":9.0558376,"altitude":12,"angle":181,"satellites":45,"speed":0,"hex_longitude":"2d9e6540","hex_latitude":"0565cfa8","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638649856001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123737681380245504,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7032652269930547200,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787650992000,"timestamp_ms":1787650992000,"timestamp_seconds":1787650992,"priority":1,"record_length":96,"hex_timestamp":"000001a0384d6780"} 
[2026-08-25 15: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-25 15:14:57] 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-25 15:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-25 15:14:57] 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-25 15: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-25 15: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-25 15:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638649856001,"66":13319,"96":206,"84":8448,"24":0,"16":123737681380245504,"45":-7032652269930547200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 15:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638649856001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:14:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 15:14:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123737681380245504,"km_value":123737681380245.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7032652269930547200,"description":"Unknown IO ID 45"} 
[2026-08-25 15:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638649856001,"power":13319,"unknown_96":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7032652269930547200}} 
[2026-08-25 15:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":161983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:14:57] local.INFO: GPS data processed {"connection_id":161983,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:14:57] local.INFO: Acknowledgment sent {"connection_id":161983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:14:57] local.INFO: TCP Data received {"connection_id":161740,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:14:57] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:14:57] local.INFO: IMEI packet received {"connection_id":161740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":161740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:14:59] local.INFO: TCP Data received {"connection_id":161740,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:14:59] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:14:59] local.INFO: Packet analysis {"connection_id":161740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:59] local.INFO: Extracted packet for processing {"connection_id":161740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":46,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583040001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787651016000,"timestamp_ms":1787651016000,"timestamp_seconds":1787651016,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dc540"} 
[2026-08-25 15: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-25 15:14:59] 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-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583040001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583040001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:14:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583040001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":161740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:14:59] local.INFO: GPS data processed {"connection_id":161740,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:14:59] local.INFO: Acknowledgment sent {"connection_id":161740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:15:10] local.INFO: TCP Data received {"connection_id":164354,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:15:10] local.INFO: Processing buffer {"connection_id":164354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:15:10] local.INFO: IMEI packet received {"connection_id":164354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":164354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:15:16] local.INFO: TCP Data received {"connection_id":164354,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:15:16] local.INFO: Processing buffer {"connection_id":164354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:15:16] local.INFO: IMEI packet received {"connection_id":164354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":164354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:15:19] local.INFO: TCP Data received {"connection_id":164354,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384d4c28012d70d500068026b80026005f2d..."} 
[2026-08-25 15:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384d4c28012d70d500068026b80026005f2d..."} 
[2026-08-25 15:15:19] local.INFO: Processing buffer {"connection_id":164354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384d4c28012d70d500068026b80026005f2d..."} 
[2026-08-25 15:15:19] local.INFO: Packet analysis {"connection_id":164354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:15:19] local.INFO: Extracted packet for processing {"connection_id":164354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:15:19] local.INFO: GPS Element Parsed {"raw_longitude":762369280,"raw_latitude":109061816,"longitude_deg":76.236928,"latitude_deg":10.9061816,"altitude":38,"angle":95,"satellites":45,"speed":32,"hex_longitude":"2d70d500","hex_latitude":"068026b8","is_valid_coordinates":true} 
[2026-08-25 15:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,65,18,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 15:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787650985000,"timestamp_ms":1787650985000,"timestamp_seconds":1787650985,"priority":1,"record_length":96,"hex_timestamp":"000001a0384d4c28"} 
[2026-08-25 15:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 15:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28093,"65":206,"18":2048,"24":32,"16":794568949760},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,18,24,16]} 
[2026-08-25 15:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-25 15:15:19] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-25 15:15:19] local.INFO: Unknown IO ID detected {"io_id":18,"value":2048,"description":"Unknown IO ID 18"} 
[2026-08-25 15:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:15:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28093,"unknown_65":206,"unknown_18":2048,"ignition":32,"odometer":null}} 
[2026-08-25 15:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":164354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:15:20] local.INFO: GPS data processed {"connection_id":164354,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:15:20] local.INFO: Acknowledgment sent {"connection_id":164354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:15:24] local.INFO: TCP Data received {"connection_id":164353,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:15:24] local.INFO: Processing buffer {"connection_id":164353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:15:24] local.INFO: Packet analysis {"connection_id":164353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:15:24] local.INFO: Extracted packet for processing {"connection_id":164353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583808001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787651019000,"timestamp_ms":1787651019000,"timestamp_seconds":1787651019,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dd0f8"} 
[2026-08-25 15: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-25 15:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:15:24] 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-25 15:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583808001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583808001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":164353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:15:24] local.INFO: GPS data processed {"connection_id":164353,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:15:24] local.INFO: Acknowledgment sent {"connection_id":164353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:15:31] local.INFO: TCP Data received {"connection_id":161740,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:15:31] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:15:31] local.INFO: Packet analysis {"connection_id":161740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:15:31] local.INFO: Extracted packet for processing {"connection_id":161740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:15:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":46,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583040001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787651016000,"timestamp_ms":1787651016000,"timestamp_seconds":1787651016,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dc540"} 
[2026-08-25 15:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:15:31] 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-25 15:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583040001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583040001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:15:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583040001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":161740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:15:31] local.INFO: GPS data processed {"connection_id":161740,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:15:31] local.INFO: Acknowledgment sent {"connection_id":161740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:15:40] local.INFO: TCP Data received {"connection_id":164355,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:15:40] local.INFO: Processing buffer {"connection_id":164355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:15:40] local.INFO: IMEI packet received {"connection_id":164355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":164355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:15:40] local.INFO: TCP Data received {"connection_id":162977,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:15:40] local.INFO: Processing buffer {"connection_id":162977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:15:40] local.INFO: IMEI packet received {"connection_id":162977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":162977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:15:41] local.INFO: TCP Data received {"connection_id":164355,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:15:41] local.INFO: Processing buffer {"connection_id":164355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:15:41] local.INFO: IMEI packet received {"connection_id":164355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":164355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:15:45] local.INFO: TCP Data received {"connection_id":162977,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:15:45] local.INFO: Processing buffer {"connection_id":162977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:15:45] local.INFO: IMEI packet received {"connection_id":162977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":162977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:15:46] local.INFO: TCP Data received {"connection_id":164355,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:15:46] local.INFO: Processing buffer {"connection_id":164355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:15:46] local.INFO: IMEI packet received {"connection_id":164355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":164355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:15:46] local.INFO: TCP Data received {"connection_id":162977,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:15:46] local.INFO: Processing buffer {"connection_id":162977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:15:46] local.INFO: Packet analysis {"connection_id":162977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:15:46] local.INFO: Extracted packet for processing {"connection_id":162977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583808001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787651019000,"timestamp_ms":1787651019000,"timestamp_seconds":1787651019,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dd0f8"} 
[2026-08-25 15:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583808001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583808001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":162977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:15:46] local.INFO: GPS data processed {"connection_id":162977,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:15:46] local.INFO: Acknowledgment sent {"connection_id":162977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:15:46] local.INFO: TCP Data received {"connection_id":164355,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384db988012d9e64400565c3b0000c00b530..."} 
[2026-08-25 15:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384db988012d9e64400565c3b0000c00b530..."} 
[2026-08-25 15:15:46] local.INFO: Processing buffer {"connection_id":164355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384db988012d9e64400565c3b0000c00b530..."} 
[2026-08-25 15:15:46] local.INFO: Packet analysis {"connection_id":164355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:15:46] local.INFO: Extracted packet for processing {"connection_id":164355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":765355072,"raw_latitude":90555312,"longitude_deg":76.5355072,"latitude_deg":9.0555312,"altitude":12,"angle":181,"satellites":48,"speed":10,"hex_longitude":"2d9e6440","hex_latitude":"0565c3b0","is_valid_coordinates":true} 
[2026-08-25 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638653952001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123737831704100864,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033144851142039552,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787651013000,"timestamp_ms":1787651013000,"timestamp_seconds":1787651013,"priority":1,"record_length":96,"hex_timestamp":"000001a0384db988"} 
[2026-08-25 15:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2657976325,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":102,"raw_value":8367688154909912576,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1360920782,"corrected_to":0} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2147837544,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2567372800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57791559530075169,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.WARNING: Large IO value detected {"io_id":76,"raw_value":6201457982331781125,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:46] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,96,84,24,241,157,16,154,160,41,45,11,10,66,30,9,192,20,13,49,153,191,128,1,240,46,227,56,102,4,113,205,25,121,107,64,50,239,52,2,183,5,15,122,76],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1360920782,"validated":0}]} 
[2026-08-25 15:15:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864890333333291008,"timestamp_seconds":864890333333291.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 15:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638653952001,"66":13059,"96":206,"84":8448,"24":10,"16":123737831704100864,"45":-7033144851142039552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 15:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638653952001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:15:46] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 15:15:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123737831704100864,"km_value":123737831704100.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033144851142039552,"description":"Unknown IO ID 45"} 
[2026-08-25 15:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638653952001,"power":13059,"unknown_96":206,"unknown_84":8448,"ignition":10,"odometer":null,"unknown_45":-7033144851142039552}} 
[2026-08-25 15:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":164355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:15:47] local.INFO: GPS data processed {"connection_id":164355,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:15:47] local.INFO: Acknowledgment sent {"connection_id":164355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:15:52] local.INFO: TCP Data received {"connection_id":164356,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:15:52] local.INFO: Processing buffer {"connection_id":164356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:15:52] local.INFO: IMEI packet received {"connection_id":164356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":164356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:15:57] local.INFO: TCP Data received {"connection_id":164354,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384e2eb80100000000000000000000000000..."} 
[2026-08-25 15:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384e2eb80100000000000000000000000000..."} 
[2026-08-25 15:15:57] local.INFO: Processing buffer {"connection_id":164354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384e2eb80100000000000000000000000000..."} 
[2026-08-25 15:15:57] local.INFO: Packet analysis {"connection_id":164354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:15:57] local.INFO: Extracted packet for processing {"connection_id":164354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:15:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 15:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638652160001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8130404730207123456,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787651043000,"timestamp_ms":1787651043000,"timestamp_seconds":1787651043,"priority":1,"record_length":96,"hex_timestamp":"000001a0384e2eb8"} 
[2026-08-25 15:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-25 15:15:57] 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-25 15:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":164354,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 15:15:57] local.INFO: GPS data processed {"connection_id":164354,"processed":0,"errors":0,"total":1} 
[2026-08-25 15:15:57] local.INFO: Acknowledgment sent {"connection_id":164354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:15:58] local.INFO: TCP Data received {"connection_id":164356,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:15:58] local.INFO: Processing buffer {"connection_id":164356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:15:58] local.INFO: IMEI packet received {"connection_id":164356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":164356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:15:59] local.INFO: TCP Data received {"connection_id":164356,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:15:59] local.INFO: Processing buffer {"connection_id":164356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:15:59] local.INFO: Packet analysis {"connection_id":164356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:15:59] local.INFO: Extracted packet for processing {"connection_id":164356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":46,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583040001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787651016000,"timestamp_ms":1787651016000,"timestamp_seconds":1787651016,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dc540"} 
[2026-08-25 15: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-25 15:15:59] 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-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583040001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583040001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:15:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:15:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583040001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":164356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:15:59] local.INFO: GPS data processed {"connection_id":164356,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:15:59] local.INFO: Acknowledgment sent {"connection_id":164356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:16:05] local.INFO: TCP Data received {"connection_id":161741,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:16:05] local.INFO: Processing buffer {"connection_id":161741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:16:05] local.INFO: IMEI packet received {"connection_id":161741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":161741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:16:07] local.INFO: TCP Data received {"connection_id":161741,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:16:07] local.INFO: Processing buffer {"connection_id":161741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:16:07] local.INFO: IMEI packet received {"connection_id":161741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":161741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:16:11] local.INFO: TCP Data received {"connection_id":161741,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:16:11] local.INFO: Processing buffer {"connection_id":161741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:16:11] local.INFO: IMEI packet received {"connection_id":161741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":161741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:16:14] local.INFO: TCP Data received {"connection_id":161741,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384da218012d70fbc006801380002f00832e..."} 
[2026-08-25 15:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384da218012d70fbc006801380002f00832e..."} 
[2026-08-25 15:16:14] local.INFO: Processing buffer {"connection_id":161741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384da218012d70fbc006801380002f00832e..."} 
[2026-08-25 15:16:14] local.INFO: Packet analysis {"connection_id":161741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:16:14] local.INFO: Extracted packet for processing {"connection_id":161741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:16:14] local.INFO: GPS Element Parsed {"raw_longitude":762379200,"raw_latitude":109056896,"longitude_deg":76.23792,"latitude_deg":10.9056896,"altitude":47,"angle":131,"satellites":46,"speed":8,"hex_longitude":"2d70fbc0","hex_latitude":"06801380","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,204,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 15:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787651007000,"timestamp_ms":1787651007000,"timestamp_seconds":1787651007,"priority":1,"record_length":96,"hex_timestamp":"000001a0384da218"} 
[2026-08-25 15: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-25 15:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-25 15:16:14] 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-25 15: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-25 15: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-25 15:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"204":206,"28":24320,"24":8,"16":794568949760},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16]} 
[2026-08-25 15:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-25 15:16:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:16:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"lac":206,"unknown_28":24320,"ignition":8,"odometer":null}} 
[2026-08-25 15:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":161741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:16:14] local.INFO: GPS data processed {"connection_id":161741,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:16:14] local.INFO: Acknowledgment sent {"connection_id":161741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:16:18] local.INFO: TCP Data received {"connection_id":162977,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:16:18] local.INFO: Processing buffer {"connection_id":162977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:16:18] local.INFO: Packet analysis {"connection_id":162977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:16:18] local.INFO: Extracted packet for processing {"connection_id":162977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:16:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583808001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787651019000,"timestamp_ms":1787651019000,"timestamp_seconds":1787651019,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dd0f8"} 
[2026-08-25 15:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583808001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583808001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:16:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":162977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:16:18] local.INFO: GPS data processed {"connection_id":162977,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:16:18] local.INFO: Acknowledgment sent {"connection_id":162977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:16:18] local.INFO: TCP Data received {"connection_id":164355,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384e0b90012d9e63c00565a418000d00b62f..."} 
[2026-08-25 15:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384e0b90012d9e63c00565a418000d00b62f..."} 
[2026-08-25 15:16:18] local.INFO: Processing buffer {"connection_id":164355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384e0b90012d9e63c00565a418000d00b62f..."} 
[2026-08-25 15:16:18] local.INFO: Packet analysis {"connection_id":164355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:16:18] local.INFO: Extracted packet for processing {"connection_id":164355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:16:18] local.INFO: GPS Element Parsed {"raw_longitude":765354944,"raw_latitude":90547224,"longitude_deg":76.5354944,"latitude_deg":9.0547224,"altitude":13,"angle":182,"satellites":47,"speed":0,"hex_longitude":"2d9e63c0","hex_latitude":"0565a418","is_valid_coordinates":true} 
[2026-08-25 15:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638659328001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123738231136059392,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033426326119534592,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787651034000,"timestamp_ms":1787651034000,"timestamp_seconds":1787651034,"priority":1,"record_length":96,"hex_timestamp":"000001a0384e0b90"} 
[2026-08-25 15:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937425,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2658041861,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":30,"raw_value":58076345914621976,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":153,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1360920782,"corrected_to":0} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3221302686,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2147837531,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2569797632,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:18] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,96,84,24,241,157,16,154,160,103,45,64,207,12,10,66,41,11,30,9,192,1,240,94,227,153,56,102,4,113,205,140,109,48,239,52,2,183,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1360920782,"validated":0}]} 
[2026-08-25 15:16:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864890346218848256,"timestamp_seconds":864890346218848.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 15:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638659328001,"66":13189,"96":206,"84":8448,"24":0,"16":123738231136059392,"45":-7033426326119534592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 15:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638659328001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:16:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 15:16:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123738231136059392,"km_value":123738231136059.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033426326119534592,"description":"Unknown IO ID 45"} 
[2026-08-25 15:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638659328001,"power":13189,"unknown_96":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7033426326119534592}} 
[2026-08-25 15:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":164355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:16:18] local.INFO: GPS data processed {"connection_id":164355,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:16:18] local.INFO: Acknowledgment sent {"connection_id":164355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:16:30] local.INFO: TCP Data received {"connection_id":164356,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:16:30] local.INFO: Processing buffer {"connection_id":164356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:16:30] local.INFO: Packet analysis {"connection_id":164356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:16:30] local.INFO: Extracted packet for processing {"connection_id":164356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:16:30] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":46,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583040001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787651016000,"timestamp_ms":1787651016000,"timestamp_seconds":1787651016,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dc540"} 
[2026-08-25 15:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583040001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583040001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:16:30] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583040001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":164356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:16:31] local.INFO: GPS data processed {"connection_id":164356,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:16:31] local.INFO: Acknowledgment sent {"connection_id":164356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:16:39] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:16:39] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:16:39] local.INFO: IMEI packet received {"connection_id":161742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":161742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:16:41] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:16:41] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:16:41] local.INFO: IMEI packet received {"connection_id":161742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":161742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:16:44] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:16:44] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:16:44] local.INFO: IMEI packet received {"connection_id":161743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":161743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:16:45] local.INFO: TCP Data received {"connection_id":161741,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384df420012d70fbc006801380002f00832e..."} 
[2026-08-25 15:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384df420012d70fbc006801380002f00832e..."} 
[2026-08-25 15:16:45] local.INFO: Processing buffer {"connection_id":161741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384df420012d70fbc006801380002f00832e..."} 
[2026-08-25 15:16:45] local.INFO: Packet analysis {"connection_id":161741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:16:45] local.INFO: Extracted packet for processing {"connection_id":161741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:16:45] local.INFO: GPS Element Parsed {"raw_longitude":762379200,"raw_latitude":109056896,"longitude_deg":76.23792,"latitude_deg":10.9056896,"altitude":47,"angle":131,"satellites":46,"speed":0,"hex_longitude":"2d70fbc0","hex_latitude":"06801380","is_valid_coordinates":true} 
[2026-08-25 15:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638657792001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8141311885553401856,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787651028000,"timestamp_ms":1787651028000,"timestamp_seconds":1787651028,"priority":1,"record_length":96,"hex_timestamp":"000001a0384df420"} 
[2026-08-25 15:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-25 15:16:45] 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-25 15:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638657792001,"66":28137,"204":206,"28":24320,"24":0,"16":794568949760,"45":8141311885553401856},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638657792001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:16:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8141311885553401856,"description":"Unknown IO ID 45"} 
[2026-08-25 15:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638657792001,"power":28137,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8141311885553401856}} 
[2026-08-25 15:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":161741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696316,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:16:45] local.INFO: GPS data processed {"connection_id":161741,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:16:45] local.INFO: Acknowledgment sent {"connection_id":161741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:16:48] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:16:48] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:16:48] local.INFO: IMEI packet received {"connection_id":161742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":161742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:16:49] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384e5d98012d9e6400056596d8000f00b430..."} 
[2026-08-25 15:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384e5d98012d9e6400056596d8000f00b430..."} 
[2026-08-25 15:16:49] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384e5d98012d9e6400056596d8000f00b430..."} 
[2026-08-25 15:16:49] local.INFO: Packet analysis {"connection_id":161742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:16:49] local.INFO: Extracted packet for processing {"connection_id":161742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:16:49] local.INFO: GPS Element Parsed {"raw_longitude":765355008,"raw_latitude":90543832,"longitude_deg":76.5355008,"latitude_deg":9.0543832,"altitude":15,"angle":180,"satellites":48,"speed":9,"hex_longitude":"2d9e6400","hex_latitude":"056596d8","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638664704001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123738398639783936,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033567063609960448,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787651055000,"timestamp_ms":1787651055000,"timestamp_seconds":1787651055,"priority":1,"record_length":96,"hex_timestamp":"000001a0384e5d98"} 
[2026-08-25 15: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-25 15:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 15:16:49] 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-25 15: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-25 15: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-25 15:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638664704001,"66":13450,"96":206,"84":8448,"24":9,"16":123738398639783936,"45":-7033567063609960448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 15:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638664704001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:16:49] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 15:16:49] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123738398639783936,"km_value":123738398639783.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033567063609960448,"description":"Unknown IO ID 45"} 
[2026-08-25 15:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638664704001,"power":13450,"unknown_96":206,"unknown_84":8448,"ignition":9,"odometer":null,"unknown_45":-7033567063609960448}} 
[2026-08-25 15:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":161742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:16:49] local.INFO: GPS data processed {"connection_id":161742,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:16:49] local.INFO: Acknowledgment sent {"connection_id":161742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:16:50] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:16:50] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:16:50] local.INFO: IMEI packet received {"connection_id":161743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":161743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:16:51] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:16:51] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:16:51] local.INFO: Packet analysis {"connection_id":161743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:16:51] local.INFO: Extracted packet for processing {"connection_id":161743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583808001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787651019000,"timestamp_ms":1787651019000,"timestamp_seconds":1787651019,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dd0f8"} 
[2026-08-25 15:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583808001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583808001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":161743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:16:51] local.INFO: GPS data processed {"connection_id":161743,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:16:51] local.INFO: Acknowledgment sent {"connection_id":161743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:16:52] local.INFO: TCP Data received {"connection_id":162978,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:16:52] local.INFO: Processing buffer {"connection_id":162978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:16:52] local.INFO: IMEI packet received {"connection_id":162978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":162978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:16:57] local.INFO: TCP Data received {"connection_id":162978,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:16:57] local.INFO: Processing buffer {"connection_id":162978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:16:57] local.INFO: IMEI packet received {"connection_id":162978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":162978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:16:59] local.INFO: TCP Data received {"connection_id":162978,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:16:59] local.INFO: Processing buffer {"connection_id":162978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:16:59] local.INFO: Packet analysis {"connection_id":162978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:16:59] local.INFO: Extracted packet for processing {"connection_id":162978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":46,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583040001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787651016000,"timestamp_ms":1787651016000,"timestamp_seconds":1787651016,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dc540"} 
[2026-08-25 15: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-25 15:16:59] 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-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583040001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583040001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:16:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583040001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":162978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:16:59] local.INFO: GPS data processed {"connection_id":162978,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:16:59] local.INFO: Acknowledgment sent {"connection_id":162978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:17:06] local.INFO: TCP Data received {"connection_id":161984,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:17:06] local.INFO: Processing buffer {"connection_id":161984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:17:06] local.INFO: IMEI packet received {"connection_id":161984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":161984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:17:11] local.INFO: TCP Data received {"connection_id":161984,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:17:11] local.INFO: Processing buffer {"connection_id":161984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:17:11] local.INFO: IMEI packet received {"connection_id":161984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":161984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:17:15] local.INFO: TCP Data received {"connection_id":161984,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384e3688012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384e3688012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:17:15] local.INFO: Processing buffer {"connection_id":161984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384e3688012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:17:15] local.INFO: Packet analysis {"connection_id":161984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:17:15] local.INFO: Extracted packet for processing {"connection_id":161984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:17:15] local.INFO: GPS Element Parsed {"raw_longitude":762373504,"raw_latitude":109044960,"longitude_deg":76.2373504,"latitude_deg":10.904496,"altitude":47,"angle":198,"satellites":43,"speed":19,"hex_longitude":"2d70e580","hex_latitude":"067fe4e0","is_valid_coordinates":true} 
[2026-08-25 15:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638663168001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8141311885553401856,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787651045000,"timestamp_ms":1787651045000,"timestamp_seconds":1787651045,"priority":1,"record_length":96,"hex_timestamp":"000001a0384e3688"} 
[2026-08-25 15:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:17: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-25 15:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 15:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638663168001,"66":28082,"204":206,"28":24320,"24":19,"16":794568949760,"45":8141311885553401856},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638663168001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:17:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8141311885553401856,"description":"Unknown IO ID 45"} 
[2026-08-25 15:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638663168001,"power":28082,"lac":206,"unknown_28":24320,"ignition":19,"odometer":null,"unknown_45":8141311885553401856}} 
[2026-08-25 15:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":161984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:17:15] local.INFO: GPS data processed {"connection_id":161984,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:17:15] local.INFO: Acknowledgment sent {"connection_id":161984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:17:22] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384eafa0012d9e63c005658e20000e00b332..."} 
[2026-08-25 15:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384eafa0012d9e63c005658e20000e00b332..."} 
[2026-08-25 15:17:22] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384eafa0012d9e63c005658e20000e00b332..."} 
[2026-08-25 15:17:22] local.INFO: Packet analysis {"connection_id":161742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:17:22] local.INFO: Extracted packet for processing {"connection_id":161742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:17:22] local.INFO: GPS Element Parsed {"raw_longitude":765354944,"raw_latitude":90541600,"longitude_deg":76.5354944,"latitude_deg":9.05416,"altitude":14,"angle":179,"satellites":50,"speed":0,"hex_longitude":"2d9e63c0","hex_latitude":"05658e20","is_valid_coordinates":true} 
[2026-08-25 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-25 15:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638670080001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123738514603900928,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033496694866651136,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787651076000,"timestamp_ms":1787651076000,"timestamp_seconds":1787651076,"priority":1,"record_length":96,"hex_timestamp":"000001a0384eafa0"} 
[2026-08-25 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-25 15:17:22] 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-25 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 15:17:22] 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-25 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-25 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-25 15:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638670080001,"66":13363,"96":206,"84":8448,"24":0,"16":123738514603900928,"45":-7033496694866651136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 15:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638670080001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:17:22] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 15:17:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123738514603900928,"km_value":123738514603900.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033496694866651136,"description":"Unknown IO ID 45"} 
[2026-08-25 15:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638670080001,"power":13363,"unknown_96":206,"unknown_84":8448,"ignition":0,"odometer":null,"unknown_45":-7033496694866651136}} 
[2026-08-25 15:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":161742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:17:22] local.INFO: GPS data processed {"connection_id":161742,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:17:22] local.INFO: Acknowledgment sent {"connection_id":161742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:17:23] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:17:23] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:17:23] local.INFO: Packet analysis {"connection_id":161743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:17:23] local.INFO: Extracted packet for processing {"connection_id":161743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:17:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583808001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787651019000,"timestamp_ms":1787651019000,"timestamp_seconds":1787651019,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dd0f8"} 
[2026-08-25 15:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:17:23] 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-25 15:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583808001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583808001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:17:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":161743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:17:23] local.INFO: GPS data processed {"connection_id":161743,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:17:23] local.INFO: Acknowledgment sent {"connection_id":161743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:17:31] local.INFO: TCP Data received {"connection_id":162978,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:17:31] local.INFO: Processing buffer {"connection_id":162978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:17:31] local.INFO: Packet analysis {"connection_id":162978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:17:31] local.INFO: Extracted packet for processing {"connection_id":162978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:17:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":46,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583040001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787651016000,"timestamp_ms":1787651016000,"timestamp_seconds":1787651016,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dc540"} 
[2026-08-25 15:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:17:31] 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-25 15:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583040001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583040001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583040001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":162978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:17:31] local.INFO: GPS data processed {"connection_id":162978,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:17:31] local.INFO: Acknowledgment sent {"connection_id":162978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:17:39] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:17:39] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:17:39] local.INFO: IMEI packet received {"connection_id":161745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":161745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:17:41] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:17:41] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:17:41] local.INFO: IMEI packet received {"connection_id":161744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":161744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:17:46] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:17:46] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:17:46] local.INFO: IMEI packet received {"connection_id":161744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":161744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:17:47] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0384f01a8012d9e67c0056572e0000f00aa2d..."} 
[2026-08-25 15:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384f01a8012d9e67c0056572e0000f00aa2d..."} 
[2026-08-25 15:17:47] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384f01a8012d9e67c0056572e0000f00aa2d..."} 
[2026-08-25 15:17:47] local.INFO: Packet analysis {"connection_id":161744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384f"} 
[2026-08-25 15:17:47] local.INFO: Extracted packet for processing {"connection_id":161744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384f"} 
[2026-08-25 15:17:47] local.INFO: GPS Element Parsed {"raw_longitude":765355968,"raw_latitude":90534624,"longitude_deg":76.5355968,"latitude_deg":9.0534624,"altitude":15,"angle":170,"satellites":45,"speed":20,"hex_longitude":"2d9e67c0","hex_latitude":"056572e0","is_valid_coordinates":true} 
[2026-08-25 15:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638675456001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123738858201284608,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033567063611400192,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787651097000,"timestamp_ms":1787651097000,"timestamp_seconds":1787651097,"priority":1,"record_length":96,"hex_timestamp":"000001a0384f01a8"} 
[2026-08-25 15:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 15:17: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-25 15:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638675456001,"66":13319,"94":206,"84":8448,"24":20,"16":123738858201284608,"45":-7033567063611400192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,84,24,16,45]} 
[2026-08-25 15:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638675456001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:17:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-25 15:17:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 15:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123738858201284608,"km_value":123738858201284.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033567063611400192,"description":"Unknown IO ID 45"} 
[2026-08-25 15:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638675456001,"power":13319,"unknown_94":206,"unknown_84":8448,"ignition":20,"odometer":null,"unknown_45":-7033567063611400192}} 
[2026-08-25 15:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":161744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:17:47] local.INFO: GPS data processed {"connection_id":161744,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:17:47] local.INFO: Acknowledgment sent {"connection_id":161744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:17:47] local.INFO: TCP Data received {"connection_id":161984,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384e8890012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384e8890012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:17:47] local.INFO: Processing buffer {"connection_id":161984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384e8890012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:17:47] local.INFO: Packet analysis {"connection_id":161984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:17:47] local.INFO: Extracted packet for processing {"connection_id":161984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:17:47] local.INFO: GPS Element Parsed {"raw_longitude":762373504,"raw_latitude":109044960,"longitude_deg":76.2373504,"latitude_deg":10.904496,"altitude":47,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d70e580","hex_latitude":"067fe4e0","is_valid_coordinates":true} 
[2026-08-25 15:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638667520001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8135049067318534144,"note":"Value kept but may cause issues"} 
[2026-08-25 15:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787651066000,"timestamp_ms":1787651066000,"timestamp_seconds":1787651066,"priority":1,"record_length":96,"hex_timestamp":"000001a0384e8890"} 
[2026-08-25 15:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 15:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638667520001,"66":28234,"204":206,"28":24320,"24":0,"16":794568949760,"45":8135049067318534144},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638667520001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:17:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8135049067318534144,"description":"Unknown IO ID 45"} 
[2026-08-25 15:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638667520001,"power":28234,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8135049067318534144}} 
[2026-08-25 15:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":161984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:17:48] local.INFO: GPS data processed {"connection_id":161984,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:17:48] local.INFO: Acknowledgment sent {"connection_id":161984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:17:57] local.INFO: TCP Data received {"connection_id":161985,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:17:57] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:17:57] local.INFO: IMEI packet received {"connection_id":161985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":161985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:17:59] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:17:59] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:17:59] local.INFO: IMEI packet received {"connection_id":161745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":161745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:18:02] local.INFO: TCP Data received {"connection_id":161985,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:18:02] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:18:02] local.INFO: IMEI packet received {"connection_id":161985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":161985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:18:04] local.INFO: TCP Data received {"connection_id":161985,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:18:04] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:18:04] local.INFO: Packet analysis {"connection_id":161985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:18:04] local.INFO: Extracted packet for processing {"connection_id":161985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":46,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583040001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787651016000,"timestamp_ms":1787651016000,"timestamp_seconds":1787651016,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dc540"} 
[2026-08-25 15: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-25 15:18:04] 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-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:18: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-25 15: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-25 15: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-25 15:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583040001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583040001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:18:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:18:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583040001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":161985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:18:04] local.INFO: GPS data processed {"connection_id":161985,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:18:04] local.INFO: Acknowledgment sent {"connection_id":161985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:18:05] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:18:05] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dd0f8012d34c14006aa4820000500e632..."} 
[2026-08-25 15:18:05] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:18:05] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583808001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787651019000,"timestamp_ms":1787651019000,"timestamp_seconds":1787651019,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dd0f8"} 
[2026-08-25 15: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-25 15:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583808001,"66":25604,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583808001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583808001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:18:05] local.INFO: GPS data processed {"connection_id":161745,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:18:05] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:18:09] local.INFO: TCP Data received {"connection_id":161985,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:18:09] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:18:09] local.INFO: Packet analysis {"connection_id":161985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:18:09] local.INFO: Extracted packet for processing {"connection_id":161985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:18:09] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":46,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583040001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787651016000,"timestamp_ms":1787651016000,"timestamp_seconds":1787651016,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dc540"} 
[2026-08-25 15:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:18:09] 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-25 15:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583040001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583040001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:18:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:18:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583040001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":161985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:18:09] local.INFO: GPS data processed {"connection_id":161985,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:18:09] local.INFO: Acknowledgment sent {"connection_id":161985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:18:18] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03851d450012d9e6e0005641238000c00af31..."} 
[2026-08-25 15:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03851d450012d9e6e0005641238000c00af31..."} 
[2026-08-25 15:18:18] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03851d450012d9e6e0005641238000c00af31..."} 
[2026-08-25 15:18:18] local.INFO: Packet analysis {"connection_id":161744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03851"} 
[2026-08-25 15:18:18] local.INFO: Extracted packet for processing {"connection_id":161744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03851"} 
[2026-08-25 15:18:18] local.INFO: GPS Element Parsed {"raw_longitude":765357568,"raw_latitude":90444344,"longitude_deg":76.5357568,"latitude_deg":9.0444344,"altitude":12,"angle":175,"satellites":49,"speed":43,"hex_longitude":"2d9e6e00","hex_latitude":"05641238","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638725632001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123743294902501376,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7030048626425171968,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787651282000,"timestamp_ms":1787651282000,"timestamp_seconds":1787651282,"priority":1,"record_length":96,"hex_timestamp":"000001a03851d450"} 
[2026-08-25 15: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-25 15:18: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-25 15: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-25 15:18:18] 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-25 15: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-25 15: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-25 15:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638725632001,"66":13189,"108":206,"84":7168,"24":43,"16":123743294902501376,"45":-7030048626425171968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-25 15:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638725632001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:18:19] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 15:18:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123743294902501376,"km_value":123743294902501.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7030048626425171968,"description":"Unknown IO ID 45"} 
[2026-08-25 15:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638725632001,"power":13189,"unknown_108":206,"unknown_84":7168,"ignition":43,"odometer":null,"unknown_45":-7030048626425171968}} 
[2026-08-25 15:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":161744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:18:19] local.INFO: GPS data processed {"connection_id":161744,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:18:19] local.INFO: Acknowledgment sent {"connection_id":161744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:18:40] local.INFO: TCP Data received {"connection_id":162979,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:18:40] local.INFO: Processing buffer {"connection_id":162979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:18:40] local.INFO: IMEI packet received {"connection_id":162979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":162979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:18:40] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:18:40] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:18:40] local.INFO: IMEI packet received {"connection_id":161746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":161746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:18:41] local.INFO: TCP Data received {"connection_id":162979,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:18:41] local.INFO: Processing buffer {"connection_id":162979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:18:41] local.INFO: IMEI packet received {"connection_id":162979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":162979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:18:45] local.INFO: TCP Data received {"connection_id":162979,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:18:45] local.INFO: Processing buffer {"connection_id":162979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:18:45] local.INFO: IMEI packet received {"connection_id":162979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":162979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:18:46] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:18:46] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:18:46] local.INFO: IMEI packet received {"connection_id":161746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":161746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:18:46] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03851e3f0012d9e7200056400e8000d00a330..."} 
[2026-08-25 15:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03851e3f0012d9e7200056400e8000d00a330..."} 
[2026-08-25 15:18:46] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03851e3f0012d9e7200056400e8000d00a330..."} 
[2026-08-25 15:18:46] local.INFO: Packet analysis {"connection_id":161746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03851"} 
[2026-08-25 15:18:46] local.INFO: Extracted packet for processing {"connection_id":161746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03851"} 
[2026-08-25 15:18:46] local.INFO: GPS Element Parsed {"raw_longitude":765358592,"raw_latitude":90439912,"longitude_deg":76.5358592,"latitude_deg":9.0439912,"altitude":13,"angle":163,"satellites":48,"speed":47,"hex_longitude":"2d9e7200","hex_latitude":"056400e8","is_valid_coordinates":true} 
[2026-08-25 15:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638728192001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123743513945833472,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7030681945125013504,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787651286000,"timestamp_ms":1787651286000,"timestamp_seconds":1787651286,"priority":1,"record_length":96,"hex_timestamp":"000001a03851e3f0"} 
[2026-08-25 15:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 15:18:46] 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-25 15:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638728192001,"66":13472,"108":206,"84":7168,"24":47,"16":123743513945833472,"45":-7030681945125013504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-25 15:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638728192001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:18:46] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 15:18:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123743513945833472,"km_value":123743513945833.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7030681945125013504,"description":"Unknown IO ID 45"} 
[2026-08-25 15:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638728192001,"power":13472,"unknown_108":206,"unknown_84":7168,"ignition":47,"odometer":null,"unknown_45":-7030681945125013504}} 
[2026-08-25 15:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":161746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:18:47] local.INFO: GPS data processed {"connection_id":161746,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:18:47] local.INFO: Acknowledgment sent {"connection_id":161746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:18:47] local.INFO: TCP Data received {"connection_id":162979,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384eda98012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384eda98012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:18:47] local.INFO: Processing buffer {"connection_id":162979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384eda98012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:18:47] local.INFO: Packet analysis {"connection_id":162979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:18:47] local.INFO: Extracted packet for processing {"connection_id":162979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384e"} 
[2026-08-25 15:18:47] local.INFO: GPS Element Parsed {"raw_longitude":762373504,"raw_latitude":109044960,"longitude_deg":76.2373504,"latitude_deg":10.904496,"altitude":47,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d70e580","hex_latitude":"067fe4e0","is_valid_coordinates":true} 
[2026-08-25 15:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638672896001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8135049067318534144,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787651087000,"timestamp_ms":1787651087000,"timestamp_seconds":1787651087,"priority":1,"record_length":96,"hex_timestamp":"000001a0384eda98"} 
[2026-08-25 15:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-25 15:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638672896001,"66":28234,"204":206,"28":24320,"24":0,"16":794568949760,"45":8135049067318534144},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638672896001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:18:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8135049067318534144,"description":"Unknown IO ID 45"} 
[2026-08-25 15:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638672896001,"power":28234,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8135049067318534144}} 
[2026-08-25 15:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":162979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:18:47] local.INFO: GPS data processed {"connection_id":162979,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:18:47] local.INFO: Acknowledgment sent {"connection_id":162979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:18:52] local.INFO: TCP Data received {"connection_id":161747,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:18:52] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:18:52] local.INFO: IMEI packet received {"connection_id":161747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":161747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:18:57] local.INFO: TCP Data received {"connection_id":161747,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:18:57] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:18:57] local.INFO: IMEI packet received {"connection_id":161747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":161747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:18:59] local.INFO: TCP Data received {"connection_id":161747,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:18:59] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384dc540012d196480071ff120003f01402e..."} 
[2026-08-25 15:18:59] local.INFO: Packet analysis {"connection_id":161747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:18:59] local.INFO: Extracted packet for processing {"connection_id":161747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384d"} 
[2026-08-25 15:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":46,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638583040001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787651016000,"timestamp_ms":1787651016000,"timestamp_seconds":1787651016,"priority":1,"record_length":96,"hex_timestamp":"000001a0384dc540"} 
[2026-08-25 15:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:18:59] 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-25 15:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638583040001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638583040001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:18:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:18:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638583040001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":161747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:18:59] local.INFO: GPS data processed {"connection_id":161747,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:18:59] local.INFO: Acknowledgment sent {"connection_id":161747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:19:16] local.INFO: TCP Data received {"connection_id":164357,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:19:16] local.INFO: Processing buffer {"connection_id":164357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:19:16] local.INFO: IMEI packet received {"connection_id":164357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":164357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:19:18] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03851f778012d9e7b800563eba8000d00972e..."} 
[2026-08-25 15:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03851f778012d9e7b800563eba8000d00972e..."} 
[2026-08-25 15:19:18] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03851f778012d9e7b800563eba8000d00972e..."} 
[2026-08-25 15:19:18] local.INFO: Packet analysis {"connection_id":161746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03851"} 
[2026-08-25 15:19:18] local.INFO: Extracted packet for processing {"connection_id":161746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03851"} 
[2026-08-25 15:19:18] local.INFO: GPS Element Parsed {"raw_longitude":765361024,"raw_latitude":90434472,"longitude_deg":76.5361024,"latitude_deg":9.0434472,"altitude":13,"angle":151,"satellites":46,"speed":44,"hex_longitude":"2d9e7b80","hex_latitude":"0563eba8","is_valid_coordinates":true} 
[2026-08-25 15:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638729216001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123743801708642304,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7029556045219305472,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787651291000,"timestamp_ms":1787651291000,"timestamp_seconds":1787651291,"priority":1,"record_length":96,"hex_timestamp":"000001a03851f778"} 
[2026-08-25 15:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:19: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-25 15:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 15:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638729216001,"66":13406,"108":206,"84":7168,"24":44,"16":123743801708642304,"45":-7029556045219305472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-25 15:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638729216001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:19:18] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 15:19:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123743801708642304,"km_value":123743801708642.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7029556045219305472,"description":"Unknown IO ID 45"} 
[2026-08-25 15:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638729216001,"power":13406,"unknown_108":206,"unknown_84":7168,"ignition":44,"odometer":null,"unknown_45":-7029556045219305472}} 
[2026-08-25 15:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":161746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:19:18] local.INFO: GPS data processed {"connection_id":161746,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:19:18] local.INFO: Acknowledgment sent {"connection_id":161746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:19:22] local.INFO: TCP Data received {"connection_id":164357,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:19:22] local.INFO: Processing buffer {"connection_id":164357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:19:22] local.INFO: IMEI packet received {"connection_id":164357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":164357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:19:26] local.INFO: TCP Data received {"connection_id":164357,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384f28b8012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384f28b8012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:19:26] local.INFO: Processing buffer {"connection_id":164357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384f28b8012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:19:26] local.INFO: Packet analysis {"connection_id":164357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384f"} 
[2026-08-25 15:19:26] local.INFO: Extracted packet for processing {"connection_id":164357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384f"} 
[2026-08-25 15:19:26] local.INFO: GPS Element Parsed {"raw_longitude":762373504,"raw_latitude":109044960,"longitude_deg":76.2373504,"latitude_deg":10.904496,"altitude":47,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d70e580","hex_latitude":"067fe4e0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638678272001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8135049067318534144,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787651107000,"timestamp_ms":1787651107000,"timestamp_seconds":1787651107,"priority":1,"record_length":96,"hex_timestamp":"000001a0384f28b8"} 
[2026-08-25 15: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-25 15:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-25 15:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638678272001,"66":28104,"204":206,"28":24320,"24":0,"16":794568949760,"45":8135049067318534144},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638678272001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:19:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8135049067318534144,"description":"Unknown IO ID 45"} 
[2026-08-25 15:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638678272001,"power":28104,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8135049067318534144}} 
[2026-08-25 15:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":164357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696334,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:19:26] local.INFO: GPS data processed {"connection_id":164357,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:19:26] local.INFO: Acknowledgment sent {"connection_id":164357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:19:28] local.INFO: TCP Data received {"connection_id":164357,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384f7ac0012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384f7ac0012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:19:28] local.INFO: Processing buffer {"connection_id":164357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384f7ac0012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:19:28] local.INFO: Packet analysis {"connection_id":164357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384f"} 
[2026-08-25 15:19:28] local.INFO: Extracted packet for processing {"connection_id":164357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384f"} 
[2026-08-25 15:19:28] local.INFO: GPS Element Parsed {"raw_longitude":762373504,"raw_latitude":109044960,"longitude_deg":76.2373504,"latitude_deg":10.904496,"altitude":47,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d70e580","hex_latitude":"067fe4e0","is_valid_coordinates":true} 
[2026-08-25 15:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638683392001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8135049067318534144,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787651128000,"timestamp_ms":1787651128000,"timestamp_seconds":1787651128,"priority":1,"record_length":96,"hex_timestamp":"000001a0384f7ac0"} 
[2026-08-25 15:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 15:19:28] 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-25 15:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638683392001,"66":28082,"204":206,"28":24320,"24":0,"16":794568949760,"45":8135049067318534144},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638683392001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8135049067318534144,"description":"Unknown IO ID 45"} 
[2026-08-25 15:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638683392001,"power":28082,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8135049067318534144}} 
[2026-08-25 15:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":164357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:19:28] local.INFO: GPS data processed {"connection_id":164357,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:19:28] local.INFO: Acknowledgment sent {"connection_id":164357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:19:31] local.INFO: TCP Data received {"connection_id":161747,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:19:31] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:19:31] local.INFO: Packet analysis {"connection_id":161747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:19:31] local.INFO: Extracted packet for processing {"connection_id":161747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:19:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":47,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660096001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787651317000,"timestamp_ms":1787651317000,"timestamp_seconds":1787651317,"priority":1,"record_length":96,"hex_timestamp":"000001a038525d08"} 
[2026-08-25 15:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:19:31] 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-25 15:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660096001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660096001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660096001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":161747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:19:31] local.INFO: GPS data processed {"connection_id":161747,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:19:31] local.INFO: Acknowledgment sent {"connection_id":161747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:19:40] local.INFO: TCP Data received {"connection_id":161986,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:19:40] local.INFO: Processing buffer {"connection_id":161986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:19:40] local.INFO: IMEI packet received {"connection_id":161986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":161986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:19:45] local.INFO: TCP Data received {"connection_id":161986,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:19:45] local.INFO: Processing buffer {"connection_id":161986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:19:45] local.INFO: IMEI packet received {"connection_id":161986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":161986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:19:46] local.INFO: TCP Data received {"connection_id":161986,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385212d0012d9e8a800563d620000d008b2f..."} 
[2026-08-25 15:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385212d0012d9e8a800563d620000d008b2f..."} 
[2026-08-25 15:19:46] local.INFO: Processing buffer {"connection_id":161986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385212d0012d9e8a800563d620000d008b2f..."} 
[2026-08-25 15:19:46] local.INFO: Packet analysis {"connection_id":161986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:19:46] local.INFO: Extracted packet for processing {"connection_id":161986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:19:46] local.INFO: GPS Element Parsed {"raw_longitude":765364864,"raw_latitude":90428960,"longitude_deg":76.5364864,"latitude_deg":9.042896,"altitude":13,"angle":139,"satellites":47,"speed":24,"hex_longitude":"2d9e8a80","hex_latitude":"0563d620","is_valid_coordinates":true} 
[2026-08-25 15:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638730496001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123744128126156800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7026882032941946880,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787651298000,"timestamp_ms":1787651298000,"timestamp_seconds":1787651298,"priority":1,"record_length":96,"hex_timestamp":"000001a0385212d0"} 
[2026-08-25 15:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 15:19:46] 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-25 15:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638730496001,"66":13472,"108":206,"84":7168,"24":24,"16":123744128126156800,"45":-7026882032941946880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-25 15:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638730496001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:19:46] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 15:19:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123744128126156800,"km_value":123744128126156.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7026882032941946880,"description":"Unknown IO ID 45"} 
[2026-08-25 15:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638730496001,"power":13472,"unknown_108":206,"unknown_84":7168,"ignition":24,"odometer":null,"unknown_45":-7026882032941946880}} 
[2026-08-25 15:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":161986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:19:46] local.INFO: GPS data processed {"connection_id":161986,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:19:46] local.INFO: Acknowledgment sent {"connection_id":161986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:19:52] local.INFO: TCP Data received {"connection_id":161988,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:19:52] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:19:52] local.INFO: IMEI packet received {"connection_id":161988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":161988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:19:55] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:19:55] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:19:55] local.INFO: IMEI packet received {"connection_id":161987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":161987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:19:57] local.INFO: TCP Data received {"connection_id":161988,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:19:57] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:19:57] local.INFO: IMEI packet received {"connection_id":161988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":161988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:19:59] local.INFO: TCP Data received {"connection_id":161988,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:19:59] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:19:59] local.INFO: Packet analysis {"connection_id":161988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:19:59] local.INFO: Extracted packet for processing {"connection_id":161988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":47,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660096001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787651317000,"timestamp_ms":1787651317000,"timestamp_seconds":1787651317,"priority":1,"record_length":96,"hex_timestamp":"000001a038525d08"} 
[2026-08-25 15: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-25 15:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660096001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660096001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:19:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660096001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":161988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:19:59] local.INFO: GPS data processed {"connection_id":161988,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:19:59] local.INFO: Acknowledgment sent {"connection_id":161988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:20:00] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:20:00] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:20:00] local.INFO: IMEI packet received {"connection_id":161987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":161987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:20:00] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:20:00] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:20:00] local.INFO: Packet analysis {"connection_id":161987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:20:00] local.INFO: Extracted packet for processing {"connection_id":161987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:20:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787651320000,"timestamp_ms":1787651320000,"timestamp_seconds":1787651320,"priority":1,"record_length":96,"hex_timestamp":"000001a0385268c0"} 
[2026-08-25 15: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-25 15:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 15:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660864001,"66":25647,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-25 15:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:20:00] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 15:20:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660864001,"power":25647,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":161987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:20:00] local.INFO: GPS data processed {"connection_id":161987,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:20:00] local.INFO: Acknowledgment sent {"connection_id":161987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:20:05] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:20:05] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:20:05] local.INFO: Packet analysis {"connection_id":161987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:20:05] local.INFO: Extracted packet for processing {"connection_id":161987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787651320000,"timestamp_ms":1787651320000,"timestamp_seconds":1787651320,"priority":1,"record_length":96,"hex_timestamp":"000001a0385268c0"} 
[2026-08-25 15:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 15:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:20:05] 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-25 15:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660864001,"66":25647,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-25 15:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:20:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 15:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660864001,"power":25647,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":161987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:20:05] local.INFO: GPS data processed {"connection_id":161987,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:20:05] local.INFO: Acknowledgment sent {"connection_id":161987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:20:06] local.INFO: TCP Data received {"connection_id":161748,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:20:06] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:20:06] local.INFO: IMEI packet received {"connection_id":161748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":161748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:20:11] local.INFO: TCP Data received {"connection_id":161748,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:20:11] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:20:11] local.INFO: IMEI packet received {"connection_id":161748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":161748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:20:13] local.INFO: TCP Data received {"connection_id":161748,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0384fccc8012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0384fccc8012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:20:13] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0384fccc8012d70e580067fe4e0002f00c62b..."} 
[2026-08-25 15:20:13] local.INFO: Packet analysis {"connection_id":161748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0384f"} 
[2026-08-25 15:20:13] local.INFO: Extracted packet for processing {"connection_id":161748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0384f"} 
[2026-08-25 15:20:13] local.INFO: GPS Element Parsed {"raw_longitude":762373504,"raw_latitude":109044960,"longitude_deg":76.2373504,"latitude_deg":10.904496,"altitude":47,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d70e580","hex_latitude":"067fe4e0","is_valid_coordinates":true} 
[2026-08-25 15:20: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-25 15:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638688768001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8135049067318534144,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787651149000,"timestamp_ms":1787651149000,"timestamp_seconds":1787651149,"priority":1,"record_length":96,"hex_timestamp":"000001a0384fccc8"} 
[2026-08-25 15:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:20: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-25 15:20: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":178,"data_length":795,"current_offset":136} 
[2026-08-25 15:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:20: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-25 15:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638688768001,"66":28148,"204":206,"28":24320,"24":0,"16":794568949760,"45":8135049067318534144},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638688768001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:20:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8135049067318534144,"description":"Unknown IO ID 45"} 
[2026-08-25 15:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638688768001,"power":28148,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8135049067318534144}} 
[2026-08-25 15:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":161748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696341,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:20:13] local.INFO: GPS data processed {"connection_id":161748,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:20:13] local.INFO: Acknowledgment sent {"connection_id":161748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:20:18] local.INFO: TCP Data received {"connection_id":161986,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038539d58012d9f5a000562ca80000500a22b..."} 
[2026-08-25 15:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038539d58012d9f5a000562ca80000500a22b..."} 
[2026-08-25 15:20:18] local.INFO: Processing buffer {"connection_id":161986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038539d58012d9f5a000562ca80000500a22b..."} 
[2026-08-25 15:20:18] local.INFO: Packet analysis {"connection_id":161986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03853"} 
[2026-08-25 15:20:18] local.INFO: Extracted packet for processing {"connection_id":161986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03853"} 
[2026-08-25 15:20:18] local.INFO: GPS Element Parsed {"raw_longitude":765417984,"raw_latitude":90360448,"longitude_deg":76.5417984,"latitude_deg":9.0360448,"altitude":5,"angle":162,"satellites":43,"speed":54,"hex_longitude":"2d9f5a00","hex_latitude":"0562ca80","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638756352001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123748461748158464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6967772287849238528,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787651399000,"timestamp_ms":1787651399000,"timestamp_seconds":1787651399,"priority":1,"record_length":96,"hex_timestamp":"000001a038539d58"} 
[2026-08-25 15: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-25 15:20: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-25 15: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":203,"data_length":795,"current_offset":136} 
[2026-08-25 15:20:18] 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-25 15: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-25 15: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-25 15:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638756352001,"66":13341,"207":206,"84":7168,"24":54,"16":123748461748158464,"45":-6967772287849238528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,84,24,16,45]} 
[2026-08-25 15:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638756352001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:20:18] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 15:20:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123748461748158464,"km_value":123748461748158.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6967772287849238528,"description":"Unknown IO ID 45"} 
[2026-08-25 15:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638756352001,"power":13341,"unknown_207":206,"unknown_84":7168,"ignition":54,"odometer":null,"unknown_45":-6967772287849238528}} 
[2026-08-25 15:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":161986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:20:18] local.INFO: GPS data processed {"connection_id":161986,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:20:18] local.INFO: Acknowledgment sent {"connection_id":161986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:20:31] local.INFO: TCP Data received {"connection_id":161988,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:20:31] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:20:31] local.INFO: Packet analysis {"connection_id":161988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:20:31] local.INFO: Extracted packet for processing {"connection_id":161988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":47,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660096001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787651317000,"timestamp_ms":1787651317000,"timestamp_seconds":1787651317,"priority":1,"record_length":96,"hex_timestamp":"000001a038525d08"} 
[2026-08-25 15:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:20:31] 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-25 15:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660096001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660096001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:20:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660096001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":161988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:20:31] local.INFO: GPS data processed {"connection_id":161988,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:20:31] local.INFO: Acknowledgment sent {"connection_id":161988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:20:41] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:20:41] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:20:41] local.INFO: IMEI packet received {"connection_id":161749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":161749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:20:43] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:20:43] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:20:43] local.INFO: IMEI packet received {"connection_id":161989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":161989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:20:45] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:20:45] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:20:45] local.INFO: IMEI packet received {"connection_id":161749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":161749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:20:45] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:20:45] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:20:45] local.INFO: IMEI packet received {"connection_id":161989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":161989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:20:46] local.INFO: TCP Data received {"connection_id":161748,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03850b3400100000000000000000000000000..."} 
[2026-08-25 15:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03850b3400100000000000000000000000000..."} 
[2026-08-25 15:20:46] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03850b3400100000000000000000000000000..."} 
[2026-08-25 15:20:46] local.INFO: Packet analysis {"connection_id":161748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03850"} 
[2026-08-25 15:20:46] local.INFO: Extracted packet for processing {"connection_id":161748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03850"} 
[2026-08-25 15:20:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 15:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638694144001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8135049067318534144,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787651208000,"timestamp_ms":1787651208000,"timestamp_seconds":1787651208,"priority":1,"record_length":96,"hex_timestamp":"000001a03850b340"} 
[2026-08-25 15:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-25 15:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":161748,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 15:20:46] local.INFO: GPS data processed {"connection_id":161748,"processed":0,"errors":0,"total":1} 
[2026-08-25 15:20:46] local.INFO: Acknowledgment sent {"connection_id":161748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:20:51] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:20:51] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:20:51] local.INFO: Packet analysis {"connection_id":161749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:20:51] local.INFO: Extracted packet for processing {"connection_id":161749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787651320000,"timestamp_ms":1787651320000,"timestamp_seconds":1787651320,"priority":1,"record_length":96,"hex_timestamp":"000001a0385268c0"} 
[2026-08-25 15: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-25 15:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 15:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:20: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-25 15:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660864001,"66":25647,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-25 15:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:20:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 15:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660864001,"power":25647,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":161749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:20:51] local.INFO: GPS data processed {"connection_id":161749,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:20:51] local.INFO: Acknowledgment sent {"connection_id":161749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:20:51] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:20:51] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:20:51] local.INFO: IMEI packet received {"connection_id":161989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":161989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:20:52] local.INFO: TCP Data received {"connection_id":162980,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:20:52] local.INFO: Processing buffer {"connection_id":162980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:20:52] local.INFO: IMEI packet received {"connection_id":162980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":162980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:20:52] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03853b8b0012d9f64c00562a8d8000500a22e..."} 
[2026-08-25 15:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03853b8b0012d9f64c00562a8d8000500a22e..."} 
[2026-08-25 15:20:52] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03853b8b0012d9f64c00562a8d8000500a22e..."} 
[2026-08-25 15:20:52] local.INFO: Packet analysis {"connection_id":161989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03853"} 
[2026-08-25 15:20:52] local.INFO: Extracted packet for processing {"connection_id":161989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03853"} 
[2026-08-25 15:20:52] local.INFO: GPS Element Parsed {"raw_longitude":765420736,"raw_latitude":90351832,"longitude_deg":76.5420736,"latitude_deg":9.0351832,"altitude":5,"angle":162,"satellites":46,"speed":52,"hex_longitude":"2d9f64c0","hex_latitude":"0562a8d8","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638758144001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123748899834822656,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6964253850642776064,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787651406000,"timestamp_ms":1787651406000,"timestamp_seconds":1787651406,"priority":1,"record_length":96,"hex_timestamp":"000001a03853b8b0"} 
[2026-08-25 15: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-25 15:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 15:20:52] 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-25 15: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-25 15: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-25 15:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638758144001,"66":13504,"207":206,"84":7168,"24":52,"16":123748899834822656,"45":-6964253850642776064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,84,24,16,45]} 
[2026-08-25 15:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638758144001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:20:52] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 15:20:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123748899834822656,"km_value":123748899834822.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6964253850642776064,"description":"Unknown IO ID 45"} 
[2026-08-25 15:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638758144001,"power":13504,"unknown_207":206,"unknown_84":7168,"ignition":52,"odometer":null,"unknown_45":-6964253850642776064}} 
[2026-08-25 15:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":161989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:20:52] local.INFO: GPS data processed {"connection_id":161989,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:20:52] local.INFO: Acknowledgment sent {"connection_id":161989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:20:53] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03853d408012d9f7040056287a80005009f2d..."} 
[2026-08-25 15:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03853d408012d9f7040056287a80005009f2d..."} 
[2026-08-25 15:20:53] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03853d408012d9f7040056287a80005009f2d..."} 
[2026-08-25 15:20:53] local.INFO: Packet analysis {"connection_id":161989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03853"} 
[2026-08-25 15:20:53] local.INFO: Extracted packet for processing {"connection_id":161989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03853"} 
[2026-08-25 15:20:53] local.INFO: GPS Element Parsed {"raw_longitude":765423680,"raw_latitude":90343336,"longitude_deg":76.542368,"latitude_deg":9.0343336,"altitude":5,"angle":159,"satellites":45,"speed":51,"hex_longitude":"2d9f7040","hex_latitude":"056287a8","is_valid_coordinates":true} 
[2026-08-25 15:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638759936001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123749337921486848,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6961227994645342208,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787651413000,"timestamp_ms":1787651413000,"timestamp_seconds":1787651413,"priority":1,"record_length":96,"hex_timestamp":"000001a03853d408"} 
[2026-08-25 15:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-25 15:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-25 15:20:53] 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-25 15: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-25 15:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638759936001,"66":12993,"245":206,"84":7168,"24":51,"16":123749337921486848,"45":-6961227994645342208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-25 15:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638759936001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:20:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123749337921486848,"km_value":123749337921486.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6961227994645342208,"description":"Unknown IO ID 45"} 
[2026-08-25 15:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638759936001,"power":12993,"geofence_id":206,"unknown_84":7168,"ignition":51,"odometer":null,"unknown_45":-6961227994645342208}} 
[2026-08-25 15:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":161989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:20:53] local.INFO: GPS data processed {"connection_id":161989,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:20:53] local.INFO: Acknowledgment sent {"connection_id":161989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:20:57] local.INFO: TCP Data received {"connection_id":162980,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:20:57] local.INFO: Processing buffer {"connection_id":162980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:20:57] local.INFO: IMEI packet received {"connection_id":162980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":162980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:20:59] local.INFO: TCP Data received {"connection_id":162980,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:20:59] local.INFO: Processing buffer {"connection_id":162980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:20:59] local.INFO: Packet analysis {"connection_id":162980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:20:59] local.INFO: Extracted packet for processing {"connection_id":162980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":47,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660096001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787651317000,"timestamp_ms":1787651317000,"timestamp_seconds":1787651317,"priority":1,"record_length":96,"hex_timestamp":"000001a038525d08"} 
[2026-08-25 15:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660096001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660096001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:20:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:20:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660096001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":162980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:20:59] local.INFO: GPS data processed {"connection_id":162980,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:20:59] local.INFO: Acknowledgment sent {"connection_id":162980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:21:23] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:21:23] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:21:23] local.INFO: Packet analysis {"connection_id":161749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:21:23] local.INFO: Extracted packet for processing {"connection_id":161749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787651320000,"timestamp_ms":1787651320000,"timestamp_seconds":1787651320,"priority":1,"record_length":96,"hex_timestamp":"000001a0385268c0"} 
[2026-08-25 15: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-25 15:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 15:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:21: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-25 15:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660864001,"66":25647,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-25 15:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:21:23] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 15:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660864001,"power":25647,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":161749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:21:23] local.INFO: GPS data processed {"connection_id":161749,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:21:23] local.INFO: Acknowledgment sent {"connection_id":161749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:21:24] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03853f348012d9f7e80056265980006009b31..."} 
[2026-08-25 15:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03853f348012d9f7e80056265980006009b31..."} 
[2026-08-25 15:21:24] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03853f348012d9f7e80056265980006009b31..."} 
[2026-08-25 15:21:24] local.INFO: Packet analysis {"connection_id":161989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03853"} 
[2026-08-25 15:21:24] local.INFO: Extracted packet for processing {"connection_id":161989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03853"} 
[2026-08-25 15:21:24] local.INFO: GPS Element Parsed {"raw_longitude":765427328,"raw_latitude":90334616,"longitude_deg":76.5427328,"latitude_deg":9.0334616,"altitude":6,"angle":155,"satellites":49,"speed":42,"hex_longitude":"2d9f7e80","hex_latitude":"05626598","is_valid_coordinates":true} 
[2026-08-25 15:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638761728001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123749793188020224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6957991032415344640,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787651421000,"timestamp_ms":1787651421000,"timestamp_seconds":1787651421,"priority":1,"record_length":96,"hex_timestamp":"000001a03853f348"} 
[2026-08-25 15:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 15:21:24] 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-25 15: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-25 15:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638761728001,"66":13276,"245":206,"84":7168,"24":42,"16":123749793188020224,"45":-6957991032415344640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-25 15:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638761728001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:21:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123749793188020224,"km_value":123749793188020.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6957991032415344640,"description":"Unknown IO ID 45"} 
[2026-08-25 15:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638761728001,"power":13276,"geofence_id":206,"unknown_84":7168,"ignition":42,"odometer":null,"unknown_45":-6957991032415344640}} 
[2026-08-25 15:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":161989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:21:24] local.INFO: GPS data processed {"connection_id":161989,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:21:24] local.INFO: Acknowledgment sent {"connection_id":161989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:21:30] local.INFO: TCP Data received {"connection_id":162980,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:21:30] local.INFO: Processing buffer {"connection_id":162980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:21:30] local.INFO: Packet analysis {"connection_id":162980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:21:30] local.INFO: Extracted packet for processing {"connection_id":162980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":47,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660096001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787651317000,"timestamp_ms":1787651317000,"timestamp_seconds":1787651317,"priority":1,"record_length":96,"hex_timestamp":"000001a038525d08"} 
[2026-08-25 15:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660096001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660096001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:21:30] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660096001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":162980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:21:31] local.INFO: GPS data processed {"connection_id":162980,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:21:31] local.INFO: Acknowledgment sent {"connection_id":162980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:21:39] local.INFO: TCP Data received {"connection_id":161991,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:21:39] local.INFO: Processing buffer {"connection_id":161991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:21:39] local.INFO: IMEI packet received {"connection_id":161991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":161991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:21:40] local.INFO: TCP Data received {"connection_id":161990,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:21:40] local.INFO: Processing buffer {"connection_id":161990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:21:40] local.INFO: IMEI packet received {"connection_id":161990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":161990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:21:41] local.INFO: TCP Data received {"connection_id":164358,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:21:41] local.INFO: Processing buffer {"connection_id":164358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:21:41] local.INFO: IMEI packet received {"connection_id":164358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":164358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:21:46] local.INFO: TCP Data received {"connection_id":161990,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:21:46] local.INFO: Processing buffer {"connection_id":161990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:21:46] local.INFO: IMEI packet received {"connection_id":161990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":161990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:21:46] local.INFO: TCP Data received {"connection_id":161991,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:21:46] local.INFO: Processing buffer {"connection_id":161991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:21:46] local.INFO: IMEI packet received {"connection_id":161991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":161991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:21:47] local.INFO: TCP Data received {"connection_id":161990,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038503a28012d70c980067fd3d80032011629..."} 
[2026-08-25 15:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038503a28012d70c980067fd3d80032011629..."} 
[2026-08-25 15:21:47] local.INFO: Processing buffer {"connection_id":161990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038503a28012d70c980067fd3d80032011629..."} 
[2026-08-25 15:21:47] local.INFO: Packet analysis {"connection_id":161990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03850"} 
[2026-08-25 15:21:47] local.INFO: Extracted packet for processing {"connection_id":161990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03850"} 
[2026-08-25 15:21:47] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 15:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,204,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 15:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787651177000,"timestamp_ms":1787651177000,"timestamp_seconds":1787651177,"priority":1,"record_length":96,"hex_timestamp":"000001a038503a28"} 
[2026-08-25 15:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-08-25 15:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28104,"204":206,"28":24320,"24":0,"16":794568949760},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16]} 
[2026-08-25 15:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-25 15:21:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:21:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28104,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null}} 
[2026-08-25 15:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":161990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:21:48] local.INFO: GPS data processed {"connection_id":161990,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:21:48] local.INFO: Acknowledgment sent {"connection_id":161990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:21:48] local.INFO: TCP Data received {"connection_id":164358,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:21:48] local.INFO: Processing buffer {"connection_id":164358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:21:48] local.INFO: IMEI packet received {"connection_id":164358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":164358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:21:50] local.INFO: TCP Data received {"connection_id":164358,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038541670012d9f8c80056244d8000400a031..."} 
[2026-08-25 15:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038541670012d9f8c80056244d8000400a031..."} 
[2026-08-25 15:21:50] local.INFO: Processing buffer {"connection_id":164358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038541670012d9f8c80056244d8000400a031..."} 
[2026-08-25 15:21:50] local.INFO: Packet analysis {"connection_id":164358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03854"} 
[2026-08-25 15:21:50] local.INFO: Extracted packet for processing {"connection_id":164358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03854"} 
[2026-08-25 15:21:50] local.INFO: GPS Element Parsed {"raw_longitude":765430912,"raw_latitude":90326232,"longitude_deg":76.5430912,"latitude_deg":9.0326232,"altitude":4,"angle":160,"satellites":49,"speed":38,"hex_longitude":"2d9f8c80","hex_latitude":"056244d8","is_valid_coordinates":true} 
[2026-08-25 15:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638763776001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123750235569651712,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6953980013999450112,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787651430000,"timestamp_ms":1787651430000,"timestamp_seconds":1787651430,"priority":1,"record_length":96,"hex_timestamp":"000001a038541670"} 
[2026-08-25 15:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:21: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-25 15:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 15:21:50] 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-25 15:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638763776001,"66":13319,"245":206,"84":7168,"24":38,"16":123750235569651712,"45":-6953980013999450112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-25 15:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638763776001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:21:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123750235569651712,"km_value":123750235569651.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6953980013999450112,"description":"Unknown IO ID 45"} 
[2026-08-25 15:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638763776001,"power":13319,"geofence_id":206,"unknown_84":7168,"ignition":38,"odometer":null,"unknown_45":-6953980013999450112}} 
[2026-08-25 15:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":164358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:21:50] local.INFO: GPS data processed {"connection_id":164358,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:21:50] local.INFO: Acknowledgment sent {"connection_id":164358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:21:51] local.INFO: TCP Data received {"connection_id":164358,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038544168012d9f960005622338000400aa2f..."} 
[2026-08-25 15:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038544168012d9f960005622338000400aa2f..."} 
[2026-08-25 15:21:51] local.INFO: Processing buffer {"connection_id":164358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038544168012d9f960005622338000400aa2f..."} 
[2026-08-25 15:21:51] local.INFO: Packet analysis {"connection_id":164358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03854"} 
[2026-08-25 15:21:51] local.INFO: Extracted packet for processing {"connection_id":164358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03854"} 
[2026-08-25 15:21:51] local.INFO: GPS Element Parsed {"raw_longitude":765433344,"raw_latitude":90317624,"longitude_deg":76.5433344,"latitude_deg":9.0317624,"altitude":4,"angle":170,"satellites":47,"speed":27,"hex_longitude":"2d9f9600","hex_latitude":"05622338","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638766080001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123750669361348608,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6950039364327647232,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787651441000,"timestamp_ms":1787651441000,"timestamp_seconds":1787651441,"priority":1,"record_length":96,"hex_timestamp":"000001a038544168"} 
[2026-08-25 15: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-25 15:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 15:21:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2673475589,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.WARNING: Large IO value detected {"io_id":164,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3397386245,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1456406734,"corrected_to":0} 
[2026-08-25 15:21:51] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2147836655,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827414,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2753691648,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.WARNING: Large IO value detected {"io_id":215,"raw_value":57797817297425436,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":5145363869726638085,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3659174718723404032,"note":"Value kept but may cause issues"} 
[2026-08-25 15:21:51] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,245,84,24,241,157,16,166,160,243,45,128,101,6,49,10,66,165,212,64,135,5,184,192,1,240,227,164,56,98,4,113,205,54,130,77,112,43,239,52,207,2,183,48,215,83,99],"length":527,"final_offset":657,"validated_count":47,"validation_warnings":[{"io_id":205,"original":1456406734,"validated":0}]} 
[2026-08-25 15:21:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288406508468043776,"timestamp_seconds":288406508468043.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 15: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-25 15:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638766080001,"66":13276,"245":206,"84":7168,"24":27,"16":123750669361348608,"45":-6950039364327647232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-25 15:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638766080001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:21:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123750669361348608,"km_value":123750669361348.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6950039364327647232,"description":"Unknown IO ID 45"} 
[2026-08-25 15:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638766080001,"power":13276,"geofence_id":206,"unknown_84":7168,"ignition":27,"odometer":null,"unknown_45":-6950039364327647232}} 
[2026-08-25 15:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":164358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:21:51] local.INFO: GPS data processed {"connection_id":164358,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:21:51] local.INFO: Acknowledgment sent {"connection_id":164358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:21:57] local.INFO: TCP Data received {"connection_id":164359,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:21:57] local.INFO: Processing buffer {"connection_id":164359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:21:57] local.INFO: IMEI packet received {"connection_id":164359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":164359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:22:01] local.INFO: TCP Data received {"connection_id":161991,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:22:01] local.INFO: Processing buffer {"connection_id":161991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:22:01] local.INFO: Packet analysis {"connection_id":161991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:22:01] local.INFO: Extracted packet for processing {"connection_id":161991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:22:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787651320000,"timestamp_ms":1787651320000,"timestamp_seconds":1787651320,"priority":1,"record_length":96,"hex_timestamp":"000001a0385268c0"} 
[2026-08-25 15:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 15:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660864001,"66":25647,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-25 15:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:22:01] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 15:22:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660864001,"power":25647,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":161991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:22:01] local.INFO: GPS data processed {"connection_id":161991,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:22:01] local.INFO: Acknowledgment sent {"connection_id":161991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:22:02] local.INFO: TCP Data received {"connection_id":164359,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:22:02] local.INFO: Processing buffer {"connection_id":164359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:22:02] local.INFO: IMEI packet received {"connection_id":164359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":164359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:22:04] local.INFO: TCP Data received {"connection_id":164359,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:22:04] local.INFO: Processing buffer {"connection_id":164359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:22:04] local.INFO: Packet analysis {"connection_id":164359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:22:04] local.INFO: Extracted packet for processing {"connection_id":164359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":47,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660096001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787651317000,"timestamp_ms":1787651317000,"timestamp_seconds":1787651317,"priority":1,"record_length":96,"hex_timestamp":"000001a038525d08"} 
[2026-08-25 15: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-25 15:22:04] 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-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:22: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-25 15: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-25 15: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-25 15:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660096001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660096001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:22:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660096001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":164359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:22:04] local.INFO: GPS data processed {"connection_id":164359,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:22:04] local.INFO: Acknowledgment sent {"connection_id":164359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:22:05] local.INFO: TCP Data received {"connection_id":161750,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:22:05] local.INFO: Processing buffer {"connection_id":161750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:22:05] local.INFO: IMEI packet received {"connection_id":161750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":161750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:22:08] local.INFO: TCP Data received {"connection_id":164359,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:22:08] local.INFO: Processing buffer {"connection_id":164359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:22:08] local.INFO: Packet analysis {"connection_id":164359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:22:08] local.INFO: Extracted packet for processing {"connection_id":164359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":47,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660096001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787651317000,"timestamp_ms":1787651317000,"timestamp_seconds":1787651317,"priority":1,"record_length":96,"hex_timestamp":"000001a038525d08"} 
[2026-08-25 15: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-25 15:22:08] 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-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660096001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660096001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:22:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:22:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660096001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":164359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:22:08] local.INFO: GPS data processed {"connection_id":164359,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:22:08] local.INFO: Acknowledgment sent {"connection_id":164359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:22:10] local.INFO: TCP Data received {"connection_id":161750,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:22:10] local.INFO: Processing buffer {"connection_id":161750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:22:10] local.INFO: IMEI packet received {"connection_id":161750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":161750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:22:16] local.INFO: TCP Data received {"connection_id":161750,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:22:16] local.INFO: Processing buffer {"connection_id":161750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:22:16] local.INFO: IMEI packet received {"connection_id":161750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":161750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:22:19] local.INFO: TCP Data received {"connection_id":161750,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038509018012d70c980067fd3d80032011629..."} 
[2026-08-25 15:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038509018012d70c980067fd3d80032011629..."} 
[2026-08-25 15:22:19] local.INFO: Processing buffer {"connection_id":161750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038509018012d70c980067fd3d80032011629..."} 
[2026-08-25 15:22:19] local.INFO: Packet analysis {"connection_id":161750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03850"} 
[2026-08-25 15:22:19] local.INFO: Extracted packet for processing {"connection_id":161750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03850"} 
[2026-08-25 15:22:19] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638701312001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787651199000,"timestamp_ms":1787651199000,"timestamp_seconds":1787651199,"priority":1,"record_length":96,"hex_timestamp":"000001a038509018"} 
[2026-08-25 15: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-25 15:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 15:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638701312001,"66":28202,"204":206,"28":24320,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638701312001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:22:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638701312001,"power":28202,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":161750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696357,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:22:19] local.INFO: GPS data processed {"connection_id":161750,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:22:19] local.INFO: Acknowledgment sent {"connection_id":161750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:22:21] local.INFO: TCP Data received {"connection_id":161750,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03850e220012d70c980067fd3d80032011629..."} 
[2026-08-25 15:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03850e220012d70c980067fd3d80032011629..."} 
[2026-08-25 15:22:21] local.INFO: Processing buffer {"connection_id":161750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03850e220012d70c980067fd3d80032011629..."} 
[2026-08-25 15:22:21] local.INFO: Packet analysis {"connection_id":161750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03850"} 
[2026-08-25 15:22:21] local.INFO: Extracted packet for processing {"connection_id":161750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03850"} 
[2026-08-25 15:22:21] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 15:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638706944001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787651220000,"timestamp_ms":1787651220000,"timestamp_seconds":1787651220,"priority":1,"record_length":96,"hex_timestamp":"000001a03850e220"} 
[2026-08-25 15:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 15:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638706944001,"66":27952,"204":206,"28":24320,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638706944001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:22:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638706944001,"power":27952,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":161750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:22:21] local.INFO: GPS data processed {"connection_id":161750,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:22:21] local.INFO: Acknowledgment sent {"connection_id":161750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:22:23] local.INFO: TCP Data received {"connection_id":164358,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038546878012d9f980005621018000500b52e..."} 
[2026-08-25 15:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038546878012d9f980005621018000500b52e..."} 
[2026-08-25 15:22:23] local.INFO: Processing buffer {"connection_id":164358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038546878012d9f980005621018000500b52e..."} 
[2026-08-25 15:22:23] local.INFO: Packet analysis {"connection_id":164358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03854"} 
[2026-08-25 15:22:23] local.INFO: Extracted packet for processing {"connection_id":164358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03854"} 
[2026-08-25 15:22:23] local.INFO: GPS Element Parsed {"raw_longitude":765433856,"raw_latitude":90312728,"longitude_deg":76.5433856,"latitude_deg":9.0312728,"altitude":5,"angle":181,"satellites":46,"speed":12,"hex_longitude":"2d9f9800","hex_latitude":"05621018","is_valid_coordinates":true} 
[2026-08-25 15:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638768896001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123750909879517184,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6947365352051099648,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787651451000,"timestamp_ms":1787651451000,"timestamp_seconds":1787651451,"priority":1,"record_length":96,"hex_timestamp":"000001a038546878"} 
[2026-08-25 15:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:22: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-25 15:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 15:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638768896001,"66":13363,"245":206,"84":7168,"24":12,"16":123750909879517184,"45":-6947365352051099648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-25 15:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638768896001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:22:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123750909879517184,"km_value":123750909879517.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6947365352051099648,"description":"Unknown IO ID 45"} 
[2026-08-25 15:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638768896001,"power":13363,"geofence_id":206,"unknown_84":7168,"ignition":12,"odometer":null,"unknown_45":-6947365352051099648}} 
[2026-08-25 15:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":164358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:22:23] local.INFO: GPS data processed {"connection_id":164358,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:22:23] local.INFO: Acknowledgment sent {"connection_id":164358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:22:39] local.INFO: TCP Data received {"connection_id":162981,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:22:39] local.INFO: Processing buffer {"connection_id":162981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:22:39] local.INFO: IMEI packet received {"connection_id":162981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":162981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:22:45] local.INFO: TCP Data received {"connection_id":162981,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:22:45] local.INFO: Processing buffer {"connection_id":162981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:22:45] local.INFO: IMEI packet received {"connection_id":162981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":162981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:22:46] local.INFO: TCP Data received {"connection_id":162981,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:22:46] local.INFO: Processing buffer {"connection_id":162981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:22:46] local.INFO: Packet analysis {"connection_id":162981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:22:46] local.INFO: Extracted packet for processing {"connection_id":162981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787651320000,"timestamp_ms":1787651320000,"timestamp_seconds":1787651320,"priority":1,"record_length":96,"hex_timestamp":"000001a0385268c0"} 
[2026-08-25 15:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 15:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660864001,"66":25647,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-25 15:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:22:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 15:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660864001,"power":25647,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":162981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:22:46] local.INFO: GPS data processed {"connection_id":162981,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:22:46] local.INFO: Acknowledgment sent {"connection_id":162981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:22:52] local.INFO: TCP Data received {"connection_id":164360,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:22:52] local.INFO: Processing buffer {"connection_id":164360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:22:52] local.INFO: IMEI packet received {"connection_id":164360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":164360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:22:53] local.INFO: TCP Data received {"connection_id":161992,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:22:53] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:22:53] local.INFO: IMEI packet received {"connection_id":161992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":161992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:22:56] local.INFO: TCP Data received {"connection_id":164360,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:22:56] local.INFO: Processing buffer {"connection_id":164360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:22:56] local.INFO: IMEI packet received {"connection_id":164360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":164360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:22:57] local.INFO: TCP Data received {"connection_id":164360,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03855cbf0012d9f76400560eef8000500c72f..."} 
[2026-08-25 15:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03855cbf0012d9f76400560eef8000500c72f..."} 
[2026-08-25 15:22:57] local.INFO: Processing buffer {"connection_id":164360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03855cbf0012d9f76400560eef8000500c72f..."} 
[2026-08-25 15:22:57] local.INFO: Packet analysis {"connection_id":164360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03855"} 
[2026-08-25 15:22:57] local.INFO: Extracted packet for processing {"connection_id":164360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03855"} 
[2026-08-25 15:22:57] local.INFO: GPS Element Parsed {"raw_longitude":765425216,"raw_latitude":90238712,"longitude_deg":76.5425216,"latitude_deg":9.0238712,"altitude":5,"angle":199,"satellites":47,"speed":43,"hex_longitude":"2d9f7640","hex_latitude":"0560eef8","is_valid_coordinates":true} 
[2026-08-25 15:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638794752001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123754534831915008,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6956302182581864448,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787651542000,"timestamp_ms":1787651542000,"timestamp_seconds":1787651542,"priority":1,"record_length":96,"hex_timestamp":"000001a03855cbf0"} 
[2026-08-25 15:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 15:22:57] 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-25 15:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638794752001,"66":13428,"206":206,"84":7168,"24":43,"16":123754534831915008,"45":-6956302182581864448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,84,24,16,45]} 
[2026-08-25 15:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638794752001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:22:57] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-25 15:22:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123754534831915008,"km_value":123754534831915.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6956302182581864448,"description":"Unknown IO ID 45"} 
[2026-08-25 15:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638794752001,"power":13428,"unknown_206":206,"unknown_84":7168,"ignition":43,"odometer":null,"unknown_45":-6956302182581864448}} 
[2026-08-25 15:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":164360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:22:57] local.INFO: GPS data processed {"connection_id":164360,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:22:57] local.INFO: Acknowledgment sent {"connection_id":164360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:22:57] local.INFO: TCP Data received {"connection_id":161992,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:22:57] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:22:57] local.INFO: IMEI packet received {"connection_id":161992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":161992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:22:59] local.INFO: TCP Data received {"connection_id":161992,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:22:59] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:22:59] local.INFO: Packet analysis {"connection_id":161992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:22:59] local.INFO: Extracted packet for processing {"connection_id":161992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":47,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660096001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787651317000,"timestamp_ms":1787651317000,"timestamp_seconds":1787651317,"priority":1,"record_length":96,"hex_timestamp":"000001a038525d08"} 
[2026-08-25 15: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-25 15:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660096001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660096001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:22:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660096001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":161992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:22:59] local.INFO: GPS data processed {"connection_id":161992,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:22:59] local.INFO: Acknowledgment sent {"connection_id":161992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:23:06] local.INFO: TCP Data received {"connection_id":164361,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:23:06] local.INFO: Processing buffer {"connection_id":164361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:23:06] local.INFO: IMEI packet received {"connection_id":164361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":164361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:23:11] local.INFO: TCP Data received {"connection_id":164361,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:23:11] local.INFO: Processing buffer {"connection_id":164361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:23:11] local.INFO: IMEI packet received {"connection_id":164361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":164361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:23:13] local.INFO: TCP Data received {"connection_id":164361,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038513428012d70c980067fd3d80032011629..."} 
[2026-08-25 15:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038513428012d70c980067fd3d80032011629..."} 
[2026-08-25 15:23:13] local.INFO: Processing buffer {"connection_id":164361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038513428012d70c980067fd3d80032011629..."} 
[2026-08-25 15:23:13] local.INFO: Packet analysis {"connection_id":164361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03851"} 
[2026-08-25 15:23:13] local.INFO: Extracted packet for processing {"connection_id":164361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03851"} 
[2026-08-25 15:23:13] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638712320001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787651241000,"timestamp_ms":1787651241000,"timestamp_seconds":1787651241,"priority":1,"record_length":96,"hex_timestamp":"000001a038513428"} 
[2026-08-25 15: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-25 15:23: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-25 15: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-25 15:23:13] 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-25 15: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-25 15: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-25 15:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638712320001,"66":27930,"204":206,"28":24320,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638712320001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:23:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638712320001,"power":27930,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":164361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696363,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:23:13] local.INFO: GPS data processed {"connection_id":164361,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:23:13] local.INFO: Acknowledgment sent {"connection_id":164361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:23:18] local.INFO: TCP Data received {"connection_id":162981,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:23:18] local.INFO: Processing buffer {"connection_id":162981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:23:18] local.INFO: Packet analysis {"connection_id":162981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:23:18] local.INFO: Extracted packet for processing {"connection_id":162981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787651320000,"timestamp_ms":1787651320000,"timestamp_seconds":1787651320,"priority":1,"record_length":96,"hex_timestamp":"000001a0385268c0"} 
[2026-08-25 15:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 15:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:23:18] 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-25 15:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660864001,"66":25647,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-25 15:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:23:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 15:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660864001,"power":25647,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":162981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:23:18] local.INFO: GPS data processed {"connection_id":162981,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:23:18] local.INFO: Acknowledgment sent {"connection_id":162981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:23:31] local.INFO: TCP Data received {"connection_id":161992,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:23:31] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:23:31] local.INFO: Packet analysis {"connection_id":161992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:23:31] local.INFO: Extracted packet for processing {"connection_id":161992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:23:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":47,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660096001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787651317000,"timestamp_ms":1787651317000,"timestamp_seconds":1787651317,"priority":1,"record_length":96,"hex_timestamp":"000001a038525d08"} 
[2026-08-25 15:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:23:31] 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-25 15:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660096001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660096001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:23:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:23:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660096001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":161992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:23:31] local.INFO: GPS data processed {"connection_id":161992,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:23:31] local.INFO: Acknowledgment sent {"connection_id":161992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:23:44] local.INFO: TCP Data received {"connection_id":164362,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:23:44] local.INFO: Processing buffer {"connection_id":164362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:23:44] local.INFO: IMEI packet received {"connection_id":164362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":164362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:23:45] local.INFO: TCP Data received {"connection_id":164361,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038518630012d70c980067fd3d80032011629..."} 
[2026-08-25 15:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038518630012d70c980067fd3d80032011629..."} 
[2026-08-25 15:23:45] local.INFO: Processing buffer {"connection_id":164361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038518630012d70c980067fd3d80032011629..."} 
[2026-08-25 15:23:45] local.INFO: Packet analysis {"connection_id":164361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03851"} 
[2026-08-25 15:23:45] local.INFO: Extracted packet for processing {"connection_id":164361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03851"} 
[2026-08-25 15:23:45] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 15:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638717696001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787651262000,"timestamp_ms":1787651262000,"timestamp_seconds":1787651262,"priority":1,"record_length":96,"hex_timestamp":"000001a038518630"} 
[2026-08-25 15:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 15:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638717696001,"66":27952,"204":206,"28":24320,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638717696001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638717696001,"power":27952,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":164361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696366,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:23:45] local.INFO: GPS data processed {"connection_id":164361,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:23:45] local.INFO: Acknowledgment sent {"connection_id":164361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:23:46] local.INFO: TCP Data received {"connection_id":161993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:23:46] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:23:46] local.INFO: IMEI packet received {"connection_id":161993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":161993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:23:49] local.INFO: TCP Data received {"connection_id":161993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:23:49] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:23:49] local.INFO: IMEI packet received {"connection_id":161993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":161993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:23:50] local.INFO: TCP Data received {"connection_id":164362,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:23:50] local.INFO: Processing buffer {"connection_id":164362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:23:50] local.INFO: IMEI packet received {"connection_id":164362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":164362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:23:50] local.INFO: TCP Data received {"connection_id":161993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03855eb30012d9f66400560ce30000600d22f..."} 
[2026-08-25 15:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03855eb30012d9f66400560ce30000600d22f..."} 
[2026-08-25 15:23:50] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03855eb30012d9f66400560ce30000600d22f..."} 
[2026-08-25 15:23:50] local.INFO: Packet analysis {"connection_id":161993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03855"} 
[2026-08-25 15:23:50] local.INFO: Extracted packet for processing {"connection_id":161993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03855"} 
[2026-08-25 15:23:50] local.INFO: GPS Element Parsed {"raw_longitude":765421120,"raw_latitude":90230320,"longitude_deg":76.542112,"latitude_deg":9.023032,"altitude":6,"angle":210,"satellites":47,"speed":48,"hex_longitude":"2d9f6640","hex_latitude":"0560ce30","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638794752001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123754985803481088,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6956302182581864448,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787651550000,"timestamp_ms":1787651550000,"timestamp_seconds":1787651550,"priority":1,"record_length":96,"hex_timestamp":"000001a03855eb30"} 
[2026-08-25 15: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-25 15:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 15:23:50] 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-25 15: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-25 15: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-25 15:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638794752001,"66":13417,"206":206,"84":7168,"24":48,"16":123754985803481088,"45":-6956302182581864448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,84,24,16,45]} 
[2026-08-25 15:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638794752001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:23:50] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-25 15:23:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123754985803481088,"km_value":123754985803481.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6956302182581864448,"description":"Unknown IO ID 45"} 
[2026-08-25 15:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638794752001,"power":13417,"unknown_206":206,"unknown_84":7168,"ignition":48,"odometer":null,"unknown_45":-6956302182581864448}} 
[2026-08-25 15:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":161993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:23:50] local.INFO: GPS data processed {"connection_id":161993,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:23:50] local.INFO: Acknowledgment sent {"connection_id":161993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:23:51] local.INFO: TCP Data received {"connection_id":164362,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:23:51] local.INFO: Processing buffer {"connection_id":164362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:23:51] local.INFO: Packet analysis {"connection_id":164362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:23:51] local.INFO: Extracted packet for processing {"connection_id":164362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787651320000,"timestamp_ms":1787651320000,"timestamp_seconds":1787651320,"priority":1,"record_length":96,"hex_timestamp":"000001a0385268c0"} 
[2026-08-25 15:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 15:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660864001,"66":25647,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-25 15:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:23:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 15:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660864001,"power":25647,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":164362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:23:51] local.INFO: GPS data processed {"connection_id":164362,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:23:51] local.INFO: Acknowledgment sent {"connection_id":164362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:23:51] local.INFO: TCP Data received {"connection_id":161993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038560a70012d9f50000560b0e8000700dd2e..."} 
[2026-08-25 15:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038560a70012d9f50000560b0e8000700dd2e..."} 
[2026-08-25 15:23:51] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038560a70012d9f50000560b0e8000700dd2e..."} 
[2026-08-25 15:23:51] local.INFO: Packet analysis {"connection_id":161993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:23:51] local.INFO: Extracted packet for processing {"connection_id":161993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:23:51] local.INFO: GPS Element Parsed {"raw_longitude":765415424,"raw_latitude":90222824,"longitude_deg":76.5415424,"latitude_deg":9.0222824,"altitude":7,"angle":221,"satellites":46,"speed":38,"hex_longitude":"2d9f5000","hex_latitude":"0560b0e8","is_valid_coordinates":true} 
[2026-08-25 15:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638796800001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123755445364981760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6960805782211383296,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787651558000,"timestamp_ms":1787651558000,"timestamp_seconds":1787651558,"priority":1,"record_length":96,"hex_timestamp":"000001a038560a70"} 
[2026-08-25 15:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 15:23:51] 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-25 15:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638796800001,"66":13319,"206":206,"84":7168,"24":38,"16":123755445364981760,"45":-6960805782211383296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,84,24,16,45]} 
[2026-08-25 15:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638796800001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:23:51] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-25 15:23:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123755445364981760,"km_value":123755445364981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6960805782211383296,"description":"Unknown IO ID 45"} 
[2026-08-25 15:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638796800001,"power":13319,"unknown_206":206,"unknown_84":7168,"ignition":38,"odometer":null,"unknown_45":-6960805782211383296}} 
[2026-08-25 15:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":161993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:23:51] local.INFO: GPS data processed {"connection_id":161993,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:23:51] local.INFO: Acknowledgment sent {"connection_id":161993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:23:52] local.INFO: TCP Data received {"connection_id":162982,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:23:52] local.INFO: Processing buffer {"connection_id":162982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:23:52] local.INFO: IMEI packet received {"connection_id":162982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":162982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:23:55] local.INFO: TCP Data received {"connection_id":164362,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:23:55] local.INFO: Processing buffer {"connection_id":164362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385268c0012d34c14006aa4820000500e631..."} 
[2026-08-25 15:23:55] local.INFO: Packet analysis {"connection_id":164362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:23:55] local.INFO: Extracted packet for processing {"connection_id":164362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":5,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787651320000,"timestamp_ms":1787651320000,"timestamp_seconds":1787651320,"priority":1,"record_length":96,"hex_timestamp":"000001a0385268c0"} 
[2026-08-25 15: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-25 15:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 15:23: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-25 15: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-25 15: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-25 15:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660864001,"66":25647,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-25 15:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:23:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 15:23:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660864001,"power":25647,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":164362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:23:55] local.INFO: GPS data processed {"connection_id":164362,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:23:55] local.INFO: Acknowledgment sent {"connection_id":164362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:23:57] local.INFO: TCP Data received {"connection_id":162982,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:23:57] local.INFO: Processing buffer {"connection_id":162982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:23:57] local.INFO: IMEI packet received {"connection_id":162982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":162982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:23:59] local.INFO: TCP Data received {"connection_id":162982,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:23:59] local.INFO: Processing buffer {"connection_id":162982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038525d08012d196480071ff120003f01402f..."} 
[2026-08-25 15:23:59] local.INFO: Packet analysis {"connection_id":162982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:23:59] local.INFO: Extracted packet for processing {"connection_id":162982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":47,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638660096001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787651317000,"timestamp_ms":1787651317000,"timestamp_seconds":1787651317,"priority":1,"record_length":96,"hex_timestamp":"000001a038525d08"} 
[2026-08-25 15: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-25 15:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638660096001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638660096001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:23:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:23:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638660096001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":162982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:23:59] local.INFO: GPS data processed {"connection_id":162982,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:23:59] local.INFO: Acknowledgment sent {"connection_id":162982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:24:05] local.INFO: TCP Data received {"connection_id":161994,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:24:05] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:24:05] local.INFO: IMEI packet received {"connection_id":161994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":161994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:24:11] local.INFO: TCP Data received {"connection_id":161994,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:24:11] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:24:11] local.INFO: IMEI packet received {"connection_id":161994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":161994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:24:13] local.INFO: TCP Data received {"connection_id":161994,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03851d838012d70c980067fd3d80032011629..."} 
[2026-08-25 15:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03851d838012d70c980067fd3d80032011629..."} 
[2026-08-25 15:24:13] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03851d838012d70c980067fd3d80032011629..."} 
[2026-08-25 15:24:13] local.INFO: Packet analysis {"connection_id":161994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03851"} 
[2026-08-25 15:24:13] local.INFO: Extracted packet for processing {"connection_id":161994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03851"} 
[2026-08-25 15:24:13] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 15:24: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-25 15:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638723072001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787651283000,"timestamp_ms":1787651283000,"timestamp_seconds":1787651283,"priority":1,"record_length":96,"hex_timestamp":"000001a03851d838"} 
[2026-08-25 15:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:24: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-25 15:24: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":48,"data_length":795,"current_offset":136} 
[2026-08-25 15:24:13] 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-25 15:24: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-25 15:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638723072001,"66":28115,"204":206,"28":24320,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638723072001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:24:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638723072001,"power":28115,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":161994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696372,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:24:13] local.INFO: GPS data processed {"connection_id":161994,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:24:13] local.INFO: Acknowledgment sent {"connection_id":161994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:24:22] local.INFO: TCP Data received {"connection_id":161993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038576a00012d9e9740055fcd40000800ca31..."} 
[2026-08-25 15:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038576a00012d9e9740055fcd40000800ca31..."} 
[2026-08-25 15:24:22] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038576a00012d9e9740055fcd40000800ca31..."} 
[2026-08-25 15:24:22] local.INFO: Packet analysis {"connection_id":161993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:24:22] local.INFO: Extracted packet for processing {"connection_id":161993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:24:22] local.INFO: GPS Element Parsed {"raw_longitude":765368128,"raw_latitude":90164544,"longitude_deg":76.5368128,"latitude_deg":9.0164544,"altitude":8,"angle":202,"satellites":49,"speed":65,"hex_longitude":"2d9e9740","hex_latitude":"055fcd40","is_valid_coordinates":true} 
[2026-08-25 15:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638820352001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123759139036856320,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014919346498549760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787651648000,"timestamp_ms":1787651648000,"timestamp_seconds":1787651648,"priority":1,"record_length":96,"hex_timestamp":"000001a038576a00"} 
[2026-08-25 15:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:24: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-25 15:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 15:24:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2666381317,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:22] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:22] local.WARNING: Large IO value detected {"io_id":96,"raw_value":7081910439824535040,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2377056462,"corrected_to":0} 
[2026-08-25 15:24:22] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2889678848,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:22] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57858152997999644,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:22] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-6435642572059410427,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:22] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,176,84,24,241,157,16,173,160,55,45,128,19,9,49,10,66,175,23,64,47,172,229,1,240,51,227,56,96,4,113,205,25,182,254,40,46,239,52,2,183,5,6,20,116,86],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2377056462,"validated":0}]} 
[2026-08-25 15:24:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648742861465780224,"timestamp_seconds":648742861465780.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 15:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638820352001,"66":13374,"176":206,"84":7168,"24":65,"16":123759139036856320,"45":-7014919346498549760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,84,24,16,45]} 
[2026-08-25 15:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638820352001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:24:22] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-25 15:24:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123759139036856320,"km_value":123759139036856.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014919346498549760,"description":"Unknown IO ID 45"} 
[2026-08-25 15:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638820352001,"power":13374,"unknown_176":206,"unknown_84":7168,"ignition":65,"odometer":null,"unknown_45":-7014919346498549760}} 
[2026-08-25 15:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":161993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:24:22] local.INFO: GPS data processed {"connection_id":161993,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:24:22] local.INFO: Acknowledgment sent {"connection_id":161993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:24:31] local.INFO: TCP Data received {"connection_id":162982,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:24:31] local.INFO: Processing buffer {"connection_id":162982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:24:31] local.INFO: Packet analysis {"connection_id":162982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:24:31] local.INFO: Extracted packet for processing {"connection_id":162982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:24:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737152001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787651618000,"timestamp_ms":1787651618000,"timestamp_seconds":1787651618,"priority":1,"record_length":96,"hex_timestamp":"000001a03856f4d0"} 
[2026-08-25 15:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:24:31] 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-25 15:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737152001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737152001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:24:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:24:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737152001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":162982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:24:31] local.INFO: GPS data processed {"connection_id":162982,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:24:31] local.INFO: Acknowledgment sent {"connection_id":162982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:24:37] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:24:37] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:24:37] local.INFO: IMEI packet received {"connection_id":161751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":161751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:24:39] local.INFO: TCP Data received {"connection_id":161752,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:24:39] local.INFO: Processing buffer {"connection_id":161752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:24:39] local.INFO: IMEI packet received {"connection_id":161752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":161752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:24:41] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:24:41] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:24:41] local.INFO: IMEI packet received {"connection_id":161751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":161751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:24:44] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:24:44] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:24:44] local.INFO: IMEI packet received {"connection_id":161751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":161751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:24:45] local.INFO: TCP Data received {"connection_id":161752,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:24:45] local.INFO: Processing buffer {"connection_id":161752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:24:45] local.INFO: IMEI packet received {"connection_id":161752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":161752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:24:45] local.INFO: TCP Data received {"connection_id":161994,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038522a40012d70c980067fd3d80032011629..."} 
[2026-08-25 15:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038522a40012d70c980067fd3d80032011629..."} 
[2026-08-25 15:24:45] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038522a40012d70c980067fd3d80032011629..."} 
[2026-08-25 15:24:45] local.INFO: Packet analysis {"connection_id":161994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:24:45] local.INFO: Extracted packet for processing {"connection_id":161994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:24:45] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638728448001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787651304000,"timestamp_ms":1787651304000,"timestamp_seconds":1787651304,"priority":1,"record_length":96,"hex_timestamp":"000001a038522a40"} 
[2026-08-25 15: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-25 15:24: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-25 15: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":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-25 15:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638728448001,"66":28126,"204":206,"28":24320,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638728448001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:24:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638728448001,"power":28126,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":161994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:24:45] local.INFO: GPS data processed {"connection_id":161994,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:24:45] local.INFO: Acknowledgment sent {"connection_id":161994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:24:45] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038578170012d9e8a00055fa988000700c531..."} 
[2026-08-25 15:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038578170012d9e8a00055fa988000700c531..."} 
[2026-08-25 15:24:45] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038578170012d9e8a00055fa988000700c531..."} 
[2026-08-25 15:24:45] local.INFO: Packet analysis {"connection_id":161751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:24:45] local.INFO: Extracted packet for processing {"connection_id":161751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:24:45] local.INFO: GPS Element Parsed {"raw_longitude":765364736,"raw_latitude":90155400,"longitude_deg":76.5364736,"latitude_deg":9.01554,"altitude":7,"angle":197,"satellites":49,"speed":62,"hex_longitude":"2d9e8a00","hex_latitude":"055fa988","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638821888001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123759611483258880,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7019071102407327744,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787651654000,"timestamp_ms":1787651654000,"timestamp_seconds":1787651654,"priority":1,"record_length":96,"hex_timestamp":"000001a038578170"} 
[2026-08-25 15: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-25 15:24: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-25 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:24:45] 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-25 15: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-25 15: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-25 15:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638821888001,"66":13406,"176":206,"84":7168,"24":62,"16":123759611483258880,"45":-7019071102407327744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,84,24,16,45]} 
[2026-08-25 15:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638821888001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:24:45] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-25 15:24:45] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123759611483258880,"km_value":123759611483258.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7019071102407327744,"description":"Unknown IO ID 45"} 
[2026-08-25 15:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638821888001,"power":13406,"unknown_176":206,"unknown_84":7168,"ignition":62,"odometer":null,"unknown_45":-7019071102407327744}} 
[2026-08-25 15:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":161751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:24:46] local.INFO: GPS data processed {"connection_id":161751,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:24:46] local.INFO: Acknowledgment sent {"connection_id":161751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:24:46] local.INFO: TCP Data received {"connection_id":161752,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:24:46] local.INFO: Processing buffer {"connection_id":161752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:24:46] local.INFO: Packet analysis {"connection_id":161752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:24:46] local.INFO: Extracted packet for processing {"connection_id":161752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:24:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":2,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787651621000,"timestamp_ms":1787651621000,"timestamp_seconds":1787651621,"priority":1,"record_length":96,"hex_timestamp":"000001a038570088"} 
[2026-08-25 15:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:24:46] 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-25 15:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737920001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:24:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":161752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:24:46] local.INFO: GPS data processed {"connection_id":161752,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:24:46] local.INFO: Acknowledgment sent {"connection_id":161752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:24:57] local.INFO: TCP Data received {"connection_id":164363,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:24:57] local.INFO: Processing buffer {"connection_id":164363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:24:57] local.INFO: IMEI packet received {"connection_id":164363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":164363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:25:02] local.INFO: TCP Data received {"connection_id":164363,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:25:02] local.INFO: Processing buffer {"connection_id":164363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:25:02] local.INFO: IMEI packet received {"connection_id":164363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":164363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:25:04] local.INFO: TCP Data received {"connection_id":164363,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:25:04] local.INFO: Processing buffer {"connection_id":164363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:25:04] local.INFO: Packet analysis {"connection_id":164363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:25:04] local.INFO: Extracted packet for processing {"connection_id":164363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737152001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787651618000,"timestamp_ms":1787651618000,"timestamp_seconds":1787651618,"priority":1,"record_length":96,"hex_timestamp":"000001a03856f4d0"} 
[2026-08-25 15:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:25: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-25 15:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737152001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737152001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:25:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:25:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737152001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":164363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:25:04] local.INFO: GPS data processed {"connection_id":164363,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:25:04] local.INFO: Acknowledgment sent {"connection_id":164363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:25:05] local.INFO: TCP Data received {"connection_id":161753,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:25:05] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:25:05] local.INFO: IMEI packet received {"connection_id":161753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":161753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:25:08] local.INFO: TCP Data received {"connection_id":164363,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:25:08] local.INFO: Processing buffer {"connection_id":164363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:25:08] local.INFO: Packet analysis {"connection_id":164363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:25:08] local.INFO: Extracted packet for processing {"connection_id":164363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 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-25 15:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737152001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787651618000,"timestamp_ms":1787651618000,"timestamp_seconds":1787651618,"priority":1,"record_length":96,"hex_timestamp":"000001a03856f4d0"} 
[2026-08-25 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-25 15:25:08] 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-25 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737152001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737152001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:25:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:25:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737152001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":164363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:25:08] local.INFO: GPS data processed {"connection_id":164363,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:25:08] local.INFO: Acknowledgment sent {"connection_id":164363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:25:10] local.INFO: TCP Data received {"connection_id":161753,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:25:10] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:25:10] local.INFO: IMEI packet received {"connection_id":161753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":161753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:25:12] local.INFO: TCP Data received {"connection_id":161753,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038527c48012d70c980067fd3d80032011629..."} 
[2026-08-25 15:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038527c48012d70c980067fd3d80032011629..."} 
[2026-08-25 15:25:12] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038527c48012d70c980067fd3d80032011629..."} 
[2026-08-25 15:25:12] local.INFO: Packet analysis {"connection_id":161753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:25:12] local.INFO: Extracted packet for processing {"connection_id":161753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:25:12] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638733824001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787651325000,"timestamp_ms":1787651325000,"timestamp_seconds":1787651325,"priority":1,"record_length":96,"hex_timestamp":"000001a038527c48"} 
[2026-08-25 15: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-25 15:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-25 15:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638733824001,"66":27930,"204":206,"28":24320,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638733824001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:25:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638733824001,"power":27930,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":161753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:25:12] local.INFO: GPS data processed {"connection_id":161753,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:25:12] local.INFO: Acknowledgment sent {"connection_id":161753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:25:16] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385798e0012d9e8180055f8610000700bb32..."} 
[2026-08-25 15:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385798e0012d9e8180055f8610000700bb32..."} 
[2026-08-25 15:25:16] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385798e0012d9e8180055f8610000700bb32..."} 
[2026-08-25 15:25:16] local.INFO: Packet analysis {"connection_id":161751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:25:16] local.INFO: Extracted packet for processing {"connection_id":161751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:25:16] local.INFO: GPS Element Parsed {"raw_longitude":765362560,"raw_latitude":90146320,"longitude_deg":76.536256,"latitude_deg":9.014632,"altitude":7,"angle":187,"satellites":50,"speed":60,"hex_longitude":"2d9e8180","hex_latitude":"055f8610","is_valid_coordinates":true} 
[2026-08-25 15:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638823424001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123760066749792256,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7022800645851084800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787651660000,"timestamp_ms":1787651660000,"timestamp_seconds":1787651660,"priority":1,"record_length":96,"hex_timestamp":"000001a0385798e0"} 
[2026-08-25 15:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 15:25:16] 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-25 15:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638823424001,"66":13341,"176":206,"84":7168,"24":60,"16":123760066749792256,"45":-7022800645851084800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,84,24,16,45]} 
[2026-08-25 15:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638823424001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:25:16] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-25 15:25:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123760066749792256,"km_value":123760066749792.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7022800645851084800,"description":"Unknown IO ID 45"} 
[2026-08-25 15:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638823424001,"power":13341,"unknown_176":206,"unknown_84":7168,"ignition":60,"odometer":null,"unknown_45":-7022800645851084800}} 
[2026-08-25 15:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":161751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:25:16] local.INFO: GPS data processed {"connection_id":161751,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:25:16] local.INFO: Acknowledgment sent {"connection_id":161751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:25:19] local.INFO: TCP Data received {"connection_id":161752,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:25:19] local.INFO: Processing buffer {"connection_id":161752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:25:19] local.INFO: Packet analysis {"connection_id":161752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:25:19] local.INFO: Extracted packet for processing {"connection_id":161752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:25:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":2,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787651621000,"timestamp_ms":1787651621000,"timestamp_seconds":1787651621,"priority":1,"record_length":96,"hex_timestamp":"000001a038570088"} 
[2026-08-25 15:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:25:19] 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-25 15:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737920001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:25:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":161752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:25:19] local.INFO: GPS data processed {"connection_id":161752,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:25:19] local.INFO: Acknowledgment sent {"connection_id":161752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:25:39] local.INFO: TCP Data received {"connection_id":162983,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:25:39] local.INFO: Processing buffer {"connection_id":162983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:25:39] local.INFO: IMEI packet received {"connection_id":162983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":162983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:25:41] local.INFO: TCP Data received {"connection_id":161995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:25:41] local.INFO: Processing buffer {"connection_id":161995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:25:41] local.INFO: IMEI packet received {"connection_id":161995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":161995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:25:43] local.INFO: TCP Data received {"connection_id":161753,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03852ce50012d70c980067fd3d80032011629..."} 
[2026-08-25 15:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03852ce50012d70c980067fd3d80032011629..."} 
[2026-08-25 15:25:43] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03852ce50012d70c980067fd3d80032011629..."} 
[2026-08-25 15:25:43] local.INFO: Packet analysis {"connection_id":161753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:25:43] local.INFO: Extracted packet for processing {"connection_id":161753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:25:43] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638739200001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787651346000,"timestamp_ms":1787651346000,"timestamp_seconds":1787651346,"priority":1,"record_length":96,"hex_timestamp":"000001a03852ce50"} 
[2026-08-25 15: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-25 15:25: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-25 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 15:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638739200001,"66":27952,"204":206,"28":24320,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638739200001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638739200001,"power":27952,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":161753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696383,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:25:43] local.INFO: GPS data processed {"connection_id":161753,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:25:43] local.INFO: Acknowledgment sent {"connection_id":161753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:25:43] local.INFO: TCP Data received {"connection_id":161995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:25:43] local.INFO: Processing buffer {"connection_id":161995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:25:43] local.INFO: IMEI packet received {"connection_id":161995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":161995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:25:44] local.INFO: TCP Data received {"connection_id":161995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03857b050012d9e8080055f6690000800ae32..."} 
[2026-08-25 15:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03857b050012d9e8080055f6690000800ae32..."} 
[2026-08-25 15:25:44] local.INFO: Processing buffer {"connection_id":161995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03857b050012d9e8080055f6690000800ae32..."} 
[2026-08-25 15:25:44] local.INFO: Packet analysis {"connection_id":161995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:25:44] local.INFO: Extracted packet for processing {"connection_id":161995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:25:44] local.INFO: GPS Element Parsed {"raw_longitude":765362304,"raw_latitude":90138256,"longitude_deg":76.5362304,"latitude_deg":9.0138256,"altitude":8,"angle":174,"satellites":50,"speed":43,"hex_longitude":"2d9e8080","hex_latitude":"055f6690","is_valid_coordinates":true} 
[2026-08-25 15:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638824960001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123760457591816192,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7025193183155449856,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787651666000,"timestamp_ms":1787651666000,"timestamp_seconds":1787651666,"priority":1,"record_length":96,"hex_timestamp":"000001a03857b050"} 
[2026-08-25 15:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:25: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-25 15:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 15:25: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-25 15:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638824960001,"66":13254,"176":206,"84":7168,"24":43,"16":123760457591816192,"45":-7025193183155449856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,84,24,16,45]} 
[2026-08-25 15:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638824960001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:25:44] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-25 15:25:44] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123760457591816192,"km_value":123760457591816.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7025193183155449856,"description":"Unknown IO ID 45"} 
[2026-08-25 15:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638824960001,"power":13254,"unknown_176":206,"unknown_84":7168,"ignition":43,"odometer":null,"unknown_45":-7025193183155449856}} 
[2026-08-25 15:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":161995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:25:44] local.INFO: GPS data processed {"connection_id":161995,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:25:44] local.INFO: Acknowledgment sent {"connection_id":161995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:25:45] local.INFO: TCP Data received {"connection_id":162983,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:25:45] local.INFO: Processing buffer {"connection_id":162983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:25:45] local.INFO: IMEI packet received {"connection_id":162983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":162983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:25:46] local.INFO: TCP Data received {"connection_id":162983,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:25:46] local.INFO: Processing buffer {"connection_id":162983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:25:46] local.INFO: Packet analysis {"connection_id":162983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:25:46] local.INFO: Extracted packet for processing {"connection_id":162983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":2,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 15:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787651621000,"timestamp_ms":1787651621000,"timestamp_seconds":1787651621,"priority":1,"record_length":96,"hex_timestamp":"000001a038570088"} 
[2026-08-25 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-25 15:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:25:46] 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-25 15:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737920001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":162983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:25:46] local.INFO: GPS data processed {"connection_id":162983,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:25:46] local.INFO: Acknowledgment sent {"connection_id":162983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:25:52] local.INFO: TCP Data received {"connection_id":161996,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:25:52] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:25:52] local.INFO: IMEI packet received {"connection_id":161996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":161996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:25:57] local.INFO: TCP Data received {"connection_id":161996,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:25:57] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:25:57] local.INFO: IMEI packet received {"connection_id":161996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":161996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:25:59] local.INFO: TCP Data received {"connection_id":161996,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:25:59] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:25:59] local.INFO: Packet analysis {"connection_id":161996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:25:59] local.INFO: Extracted packet for processing {"connection_id":161996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737152001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787651618000,"timestamp_ms":1787651618000,"timestamp_seconds":1787651618,"priority":1,"record_length":96,"hex_timestamp":"000001a03856f4d0"} 
[2026-08-25 15:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737152001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737152001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:25:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737152001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":161996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:25:59] local.INFO: GPS data processed {"connection_id":161996,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:25:59] local.INFO: Acknowledgment sent {"connection_id":161996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:26:12] local.INFO: TCP Data received {"connection_id":161997,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:26:12] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:26:12] local.INFO: IMEI packet received {"connection_id":161997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":161997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:26:16] local.INFO: TCP Data received {"connection_id":161995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03858f870012d9e9880055e78e0000800ca31..."} 
[2026-08-25 15:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03858f870012d9e9880055e78e0000800ca31..."} 
[2026-08-25 15:26:16] local.INFO: Processing buffer {"connection_id":161995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03858f870012d9e9880055e78e0000800ca31..."} 
[2026-08-25 15:26:16] local.INFO: Packet analysis {"connection_id":161995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03858"} 
[2026-08-25 15:26:16] local.INFO: Extracted packet for processing {"connection_id":161995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03858"} 
[2026-08-25 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":765368448,"raw_latitude":90077408,"longitude_deg":76.5368448,"latitude_deg":9.0077408,"altitude":8,"angle":202,"satellites":49,"speed":38,"hex_longitude":"2d9e9880","hex_latitude":"055e78e0","is_valid_coordinates":true} 
[2026-08-25 15:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638845696001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123763532788400128,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7015834140195198976,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787651750000,"timestamp_ms":1787651750000,"timestamp_seconds":1787651750,"priority":1,"record_length":96,"hex_timestamp":"000001a03858f870"} 
[2026-08-25 15:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 15:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169019104661,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:16] local.WARNING: Large IO value detected {"io_id":128,"raw_value":58076324439785486,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2660925445,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:16] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2508193998,"corrected_to":0} 
[2026-08-25 15:26:16] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2281778590,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:16] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2951544832,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,128,84,24,241,157,16,177,160,182,45,191,10,48,66,142,229,11,119,1,240,116,227,176,56,95,4,113,205,14,250,145,184,47,239,52,2,183,5,7],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2508193998,"validated":0}]} 
[2026-08-25 15:26:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648729667325067264,"timestamp_seconds":648729667325067.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 15:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638845696001,"66":13559,"128":206,"84":7168,"24":38,"16":123763532788400128,"45":-7015834140195198976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-08-25 15:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638845696001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:26:16] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-25 15:26:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123763532788400128,"km_value":123763532788400.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7015834140195198976,"description":"Unknown IO ID 45"} 
[2026-08-25 15:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638845696001,"power":13559,"unknown_128":206,"unknown_84":7168,"ignition":38,"odometer":null,"unknown_45":-7015834140195198976}} 
[2026-08-25 15:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":161995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:26:16] local.INFO: GPS data processed {"connection_id":161995,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:26:16] local.INFO: Acknowledgment sent {"connection_id":161995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:26:16] local.INFO: TCP Data received {"connection_id":161997,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:26:16] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:26:16] local.INFO: IMEI packet received {"connection_id":161997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":161997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:26:18] local.INFO: TCP Data received {"connection_id":162983,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:26:18] local.INFO: Processing buffer {"connection_id":162983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:26:18] local.INFO: Packet analysis {"connection_id":162983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:26:18] local.INFO: Extracted packet for processing {"connection_id":162983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":2,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787651621000,"timestamp_ms":1787651621000,"timestamp_seconds":1787651621,"priority":1,"record_length":96,"hex_timestamp":"000001a038570088"} 
[2026-08-25 15: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-25 15:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:26:18] 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-25 15:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737920001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:26:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":162983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:26:18] local.INFO: GPS data processed {"connection_id":162983,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:26:18] local.INFO: Acknowledgment sent {"connection_id":162983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:26:30] local.INFO: TCP Data received {"connection_id":161997,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03852fd30012d70c980067fd3d80032011629..."} 
[2026-08-25 15:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03852fd30012d70c980067fd3d80032011629..."} 
[2026-08-25 15:26:30] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03852fd30012d70c980067fd3d80032011629..."} 
[2026-08-25 15:26:30] local.INFO: Packet analysis {"connection_id":161997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:26:30] local.INFO: Extracted packet for processing {"connection_id":161997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03852"} 
[2026-08-25 15:26:30] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 15:26: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-25 15:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638744576001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787651358000,"timestamp_ms":1787651358000,"timestamp_seconds":1787651358,"priority":1,"record_length":96,"hex_timestamp":"000001a03852fd30"} 
[2026-08-25 15: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-25 15:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-25 15:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638744576001,"66":27974,"204":206,"28":24320,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 15:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638744576001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:26:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 15:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638744576001,"power":27974,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":161997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:26:30] local.INFO: GPS data processed {"connection_id":161997,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:26:30] local.INFO: Acknowledgment sent {"connection_id":161997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:26:31] local.INFO: TCP Data received {"connection_id":161996,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:26:31] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:26:31] local.INFO: Packet analysis {"connection_id":161996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:26:31] local.INFO: Extracted packet for processing {"connection_id":161996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:26:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737152001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787651618000,"timestamp_ms":1787651618000,"timestamp_seconds":1787651618,"priority":1,"record_length":96,"hex_timestamp":"000001a03856f4d0"} 
[2026-08-25 15:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:26:31] 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-25 15:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737152001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737152001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737152001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":161996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:26:31] local.INFO: GPS data processed {"connection_id":161996,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:26:31] local.INFO: Acknowledgment sent {"connection_id":161996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:26:33] local.INFO: TCP Data received {"connection_id":161997,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:26:33] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:26:33] local.INFO: Packet analysis {"connection_id":161997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:26:33] local.INFO: Extracted packet for processing {"connection_id":161997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:26:33] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638747648001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787651663000,"timestamp_ms":1787651663000,"timestamp_seconds":1787651663,"priority":1,"record_length":96,"hex_timestamp":"000001a03857a498"} 
[2026-08-25 15:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-25 15:26:33] 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-25 15:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638747648001,"66":26832,"102":206,"9":2048,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638747648001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:26:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:26:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638747648001,"power":26832,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":161997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696391,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:26:33] local.INFO: GPS data processed {"connection_id":161997,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:26:33] local.INFO: Acknowledgment sent {"connection_id":161997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:26:41] local.INFO: TCP Data received {"connection_id":164364,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:26:41] local.INFO: Processing buffer {"connection_id":164364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:26:41] local.INFO: IMEI packet received {"connection_id":164364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":164364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:26:41] local.INFO: TCP Data received {"connection_id":164364,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:26:41] local.INFO: Processing buffer {"connection_id":164364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:26:41] local.INFO: IMEI packet received {"connection_id":164364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":164364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:26:45] local.INFO: TCP Data received {"connection_id":164365,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:26:45] local.INFO: Processing buffer {"connection_id":164365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:26:45] local.INFO: IMEI packet received {"connection_id":164365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":164365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:26:46] local.INFO: TCP Data received {"connection_id":164364,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:26:46] local.INFO: Processing buffer {"connection_id":164364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:26:46] local.INFO: IMEI packet received {"connection_id":164364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":164364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:26:47] local.INFO: TCP Data received {"connection_id":164364,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038592750012d9e8a00055e5790000800c732..."} 
[2026-08-25 15:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038592750012d9e8a00055e5790000800c732..."} 
[2026-08-25 15:26:47] local.INFO: Processing buffer {"connection_id":164364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038592750012d9e8a00055e5790000800c732..."} 
[2026-08-25 15:26:47] local.INFO: Packet analysis {"connection_id":164364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03859"} 
[2026-08-25 15:26:47] local.INFO: Extracted packet for processing {"connection_id":164364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03859"} 
[2026-08-25 15:26:47] local.INFO: GPS Element Parsed {"raw_longitude":765364736,"raw_latitude":90068880,"longitude_deg":76.5364736,"latitude_deg":9.006888,"altitude":8,"angle":199,"satellites":50,"speed":38,"hex_longitude":"2d9e8a00","hex_latitude":"055e5790","is_valid_coordinates":true} 
[2026-08-25 15:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638848000001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123763983759966208,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7018719258708746240,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787651762000,"timestamp_ms":1787651762000,"timestamp_seconds":1787651762,"priority":1,"record_length":96,"hex_timestamp":"000001a038592750"} 
[2026-08-25 15:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 15:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638848000001,"66":13472,"128":206,"84":7168,"24":38,"16":123763983759966208,"45":-7018719258708746240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-08-25 15:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638848000001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:26:47] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-25 15:26:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123763983759966208,"km_value":123763983759966.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7018719258708746240,"description":"Unknown IO ID 45"} 
[2026-08-25 15:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638848000001,"power":13472,"unknown_128":206,"unknown_84":7168,"ignition":38,"odometer":null,"unknown_45":-7018719258708746240}} 
[2026-08-25 15:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":164364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:26:47] local.INFO: GPS data processed {"connection_id":164364,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:26:47] local.INFO: Acknowledgment sent {"connection_id":164364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:26:50] local.INFO: TCP Data received {"connection_id":164365,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:26:50] local.INFO: Processing buffer {"connection_id":164365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:26:50] local.INFO: IMEI packet received {"connection_id":164365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":164365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:26:52] local.INFO: TCP Data received {"connection_id":164366,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:26:52] local.INFO: Processing buffer {"connection_id":164366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:26:52] local.INFO: IMEI packet received {"connection_id":164366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":164366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:26:53] local.INFO: TCP Data received {"connection_id":164365,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:26:53] local.INFO: Processing buffer {"connection_id":164365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:26:53] local.INFO: Packet analysis {"connection_id":164365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:26:53] local.INFO: Extracted packet for processing {"connection_id":164365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":2,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787651621000,"timestamp_ms":1787651621000,"timestamp_seconds":1787651621,"priority":1,"record_length":96,"hex_timestamp":"000001a038570088"} 
[2026-08-25 15:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:26:53] 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-25 15:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737920001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":164365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:26:53] local.INFO: GPS data processed {"connection_id":164365,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:26:53] local.INFO: Acknowledgment sent {"connection_id":164365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:26:56] local.INFO: TCP Data received {"connection_id":164365,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:26:56] local.INFO: Processing buffer {"connection_id":164365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:26:56] local.INFO: Packet analysis {"connection_id":164365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:26:56] local.INFO: Extracted packet for processing {"connection_id":164365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:26:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":2,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787651621000,"timestamp_ms":1787651621000,"timestamp_seconds":1787651621,"priority":1,"record_length":96,"hex_timestamp":"000001a038570088"} 
[2026-08-25 15:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:26: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-25 15:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737920001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:26:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":164365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:26:56] local.INFO: GPS data processed {"connection_id":164365,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:26:56] local.INFO: Acknowledgment sent {"connection_id":164365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:26:57] local.INFO: TCP Data received {"connection_id":164366,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:26:57] local.INFO: Processing buffer {"connection_id":164366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:26:57] local.INFO: IMEI packet received {"connection_id":164366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":164366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:26:59] local.INFO: TCP Data received {"connection_id":164366,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:26:59] local.INFO: Processing buffer {"connection_id":164366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:26:59] local.INFO: Packet analysis {"connection_id":164366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:26:59] local.INFO: Extracted packet for processing {"connection_id":164366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737152001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787651618000,"timestamp_ms":1787651618000,"timestamp_seconds":1787651618,"priority":1,"record_length":96,"hex_timestamp":"000001a03856f4d0"} 
[2026-08-25 15:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737152001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737152001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:26:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737152001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":164366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:26:59] local.INFO: GPS data processed {"connection_id":164366,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:26:59] local.INFO: Acknowledgment sent {"connection_id":164366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:27:05] local.INFO: TCP Data received {"connection_id":162984,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:27:05] local.INFO: Processing buffer {"connection_id":162984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:27:05] local.INFO: IMEI packet received {"connection_id":162984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":162984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:27:11] local.INFO: TCP Data received {"connection_id":162984,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:27:11] local.INFO: Processing buffer {"connection_id":162984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:27:11] local.INFO: IMEI packet received {"connection_id":162984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":162984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:27:12] local.INFO: TCP Data received {"connection_id":162984,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:27:12] local.INFO: Processing buffer {"connection_id":162984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:27:12] local.INFO: Packet analysis {"connection_id":162984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:27:12] local.INFO: Extracted packet for processing {"connection_id":162984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638747648001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787651663000,"timestamp_ms":1787651663000,"timestamp_seconds":1787651663,"priority":1,"record_length":96,"hex_timestamp":"000001a03857a498"} 
[2026-08-25 15:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-25 15:27:12] 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-25 15:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638747648001,"66":26832,"102":206,"9":2048,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638747648001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:27:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:27:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638747648001,"power":26832,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":162984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696396,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:27:12] local.INFO: GPS data processed {"connection_id":162984,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:27:12] local.INFO: Acknowledgment sent {"connection_id":162984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:27:17] local.INFO: TCP Data received {"connection_id":164364,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038594e60012d9e7f00055e35d0000800c331..."} 
[2026-08-25 15:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038594e60012d9e7f00055e35d0000800c331..."} 
[2026-08-25 15:27:17] local.INFO: Processing buffer {"connection_id":164364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038594e60012d9e7f00055e35d0000800c331..."} 
[2026-08-25 15:27:17] local.INFO: Packet analysis {"connection_id":164364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03859"} 
[2026-08-25 15:27:17] local.INFO: Extracted packet for processing {"connection_id":164364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03859"} 
[2026-08-25 15:27:17] local.INFO: GPS Element Parsed {"raw_longitude":765361920,"raw_latitude":90060240,"longitude_deg":76.536192,"latitude_deg":9.006024,"altitude":8,"angle":195,"satellites":49,"speed":38,"hex_longitude":"2d9e7f00","hex_latitude":"055e35d0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638851072001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123764421846630400,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7022800645873233920,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787651772000,"timestamp_ms":1787651772000,"timestamp_seconds":1787651772,"priority":1,"record_length":96,"hex_timestamp":"000001a038594e60"} 
[2026-08-25 15: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-25 15:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 15:27:17] 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-25 15: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-25 15: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-25 15:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638851072001,"66":13526,"143":206,"84":7168,"24":38,"16":123764421846630400,"45":-7022800645873233920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-08-25 15:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638851072001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:27:17] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 15:27:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123764421846630400,"km_value":123764421846630.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7022800645873233920,"description":"Unknown IO ID 45"} 
[2026-08-25 15:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638851072001,"power":13526,"unknown_143":206,"unknown_84":7168,"ignition":38,"odometer":null,"unknown_45":-7022800645873233920}} 
[2026-08-25 15:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":164364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:27:18] local.INFO: GPS data processed {"connection_id":164364,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:27:18] local.INFO: Acknowledgment sent {"connection_id":164364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:27:31] local.INFO: TCP Data received {"connection_id":164366,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:27:31] local.INFO: Processing buffer {"connection_id":164366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:27:31] local.INFO: Packet analysis {"connection_id":164366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:27:31] local.INFO: Extracted packet for processing {"connection_id":164366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:27:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737152001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787651618000,"timestamp_ms":1787651618000,"timestamp_seconds":1787651618,"priority":1,"record_length":96,"hex_timestamp":"000001a03856f4d0"} 
[2026-08-25 15:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:27:31] 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-25 15:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737152001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737152001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:27:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737152001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":164366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:27:31] local.INFO: GPS data processed {"connection_id":164366,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:27:31] local.INFO: Acknowledgment sent {"connection_id":164366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:27:40] local.INFO: TCP Data received {"connection_id":164367,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:27:40] local.INFO: Processing buffer {"connection_id":164367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:27:40] local.INFO: IMEI packet received {"connection_id":164367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":164367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:27:41] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:27:41] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:27:41] local.INFO: IMEI packet received {"connection_id":161998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":161998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:27:42] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:27:42] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:27:42] local.INFO: IMEI packet received {"connection_id":161998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":161998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:27:44] local.INFO: TCP Data received {"connection_id":162984,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:27:44] local.INFO: Processing buffer {"connection_id":162984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:27:44] local.INFO: Packet analysis {"connection_id":162984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:27:44] local.INFO: Extracted packet for processing {"connection_id":162984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:27:44] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638747648001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787651663000,"timestamp_ms":1787651663000,"timestamp_seconds":1787651663,"priority":1,"record_length":96,"hex_timestamp":"000001a03857a498"} 
[2026-08-25 15:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-25 15:27:44] 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-25 15:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638747648001,"66":26832,"102":206,"9":2048,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638747648001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:27:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:27:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638747648001,"power":26832,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":162984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696399,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:27:44] local.INFO: GPS data processed {"connection_id":162984,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:27:44] local.INFO: Acknowledgment sent {"connection_id":162984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:27:45] local.INFO: TCP Data received {"connection_id":164367,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:27:45] local.INFO: Processing buffer {"connection_id":164367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:27:45] local.INFO: IMEI packet received {"connection_id":164367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":164367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:27:46] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:27:46] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:27:46] local.INFO: IMEI packet received {"connection_id":161998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":161998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:27:46] local.INFO: TCP Data received {"connection_id":164367,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:27:46] local.INFO: Processing buffer {"connection_id":164367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:27:46] local.INFO: Packet analysis {"connection_id":164367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:27:46] local.INFO: Extracted packet for processing {"connection_id":164367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":2,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787651621000,"timestamp_ms":1787651621000,"timestamp_seconds":1787651621,"priority":1,"record_length":96,"hex_timestamp":"000001a038570088"} 
[2026-08-25 15:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737920001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":164367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:27:46] local.INFO: GPS data processed {"connection_id":164367,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:27:46] local.INFO: Acknowledgment sent {"connection_id":164367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:27:47] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385961e8012d9e7c00055e25d8000800b531..."} 
[2026-08-25 15:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385961e8012d9e7c00055e25d8000800b531..."} 
[2026-08-25 15:27:47] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385961e8012d9e7c00055e25d8000800b531..."} 
[2026-08-25 15:27:47] local.INFO: Packet analysis {"connection_id":161998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03859"} 
[2026-08-25 15:27:47] local.INFO: Extracted packet for processing {"connection_id":161998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03859"} 
[2026-08-25 15:27:47] local.INFO: GPS Element Parsed {"raw_longitude":765361152,"raw_latitude":90056152,"longitude_deg":76.5361152,"latitude_deg":9.0056152,"altitude":8,"angle":181,"satellites":49,"speed":28,"hex_longitude":"2d9e7c00","hex_latitude":"055e25d8","is_valid_coordinates":true} 
[2026-08-25 15:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638853632001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123764623710093312,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7025896870619262976,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787651777000,"timestamp_ms":1787651777000,"timestamp_seconds":1787651777,"priority":1,"record_length":96,"hex_timestamp":"000001a0385961e8"} 
[2026-08-25 15:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 15:27:47] 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-25 15:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638853632001,"66":13276,"143":206,"84":7168,"24":28,"16":123764623710093312,"45":-7025896870619262976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-08-25 15:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638853632001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:27:47] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 15:27:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123764623710093312,"km_value":123764623710093.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7025896870619262976,"description":"Unknown IO ID 45"} 
[2026-08-25 15:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638853632001,"power":13276,"unknown_143":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-7025896870619262976}} 
[2026-08-25 15:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":161998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:27:47] local.INFO: GPS data processed {"connection_id":161998,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:27:47] local.INFO: Acknowledgment sent {"connection_id":161998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:27:52] local.INFO: TCP Data received {"connection_id":161754,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:27:52] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:27:52] local.INFO: IMEI packet received {"connection_id":161754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":161754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:27:58] local.INFO: TCP Data received {"connection_id":161754,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:27:58] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:27:58] local.INFO: IMEI packet received {"connection_id":161754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":161754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:27:59] local.INFO: TCP Data received {"connection_id":161754,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:27:59] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:27:59] local.INFO: Packet analysis {"connection_id":161754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:27:59] local.INFO: Extracted packet for processing {"connection_id":161754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737152001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787651618000,"timestamp_ms":1787651618000,"timestamp_seconds":1787651618,"priority":1,"record_length":96,"hex_timestamp":"000001a03856f4d0"} 
[2026-08-25 15:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737152001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737152001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:27:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737152001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":161754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:27:59] local.INFO: GPS data processed {"connection_id":161754,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:27:59] local.INFO: Acknowledgment sent {"connection_id":161754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:28:05] local.INFO: TCP Data received {"connection_id":162985,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:28:05] local.INFO: Processing buffer {"connection_id":162985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:28:05] local.INFO: IMEI packet received {"connection_id":162985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":162985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:28:11] local.INFO: TCP Data received {"connection_id":162985,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:28:11] local.INFO: Processing buffer {"connection_id":162985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:28:11] local.INFO: IMEI packet received {"connection_id":162985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":162985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:28:12] local.INFO: TCP Data received {"connection_id":162985,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:28:12] local.INFO: Processing buffer {"connection_id":162985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:28:12] local.INFO: Packet analysis {"connection_id":162985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:28:12] local.INFO: Extracted packet for processing {"connection_id":162985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:28:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638747648001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787651663000,"timestamp_ms":1787651663000,"timestamp_seconds":1787651663,"priority":1,"record_length":96,"hex_timestamp":"000001a03857a498"} 
[2026-08-25 15: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-25 15:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-25 15:28:12] 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-25 15: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-25 15: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-25 15:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638747648001,"66":26832,"102":206,"9":2048,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638747648001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:28:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:28:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638747648001,"power":26832,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":162985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:28:12] local.INFO: GPS data processed {"connection_id":162985,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:28:12] local.INFO: Acknowledgment sent {"connection_id":162985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:28:17] local.INFO: TCP Data received {"connection_id":164367,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:28:17] local.INFO: Processing buffer {"connection_id":164367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:28:17] local.INFO: Packet analysis {"connection_id":164367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:28:17] local.INFO: Extracted packet for processing {"connection_id":164367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":2,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787651621000,"timestamp_ms":1787651621000,"timestamp_seconds":1787651621,"priority":1,"record_length":96,"hex_timestamp":"000001a038570088"} 
[2026-08-25 15:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737920001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":164367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:28:17] local.INFO: GPS data processed {"connection_id":164367,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:28:17] local.INFO: Acknowledgment sent {"connection_id":164367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:28:18] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385969b8012d9e7d00055e20c0000700a232..."} 
[2026-08-25 15:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385969b8012d9e7d00055e20c0000700a232..."} 
[2026-08-25 15:28:18] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385969b8012d9e7d00055e20c0000700a232..."} 
[2026-08-25 15:28:18] local.INFO: Packet analysis {"connection_id":161998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03859"} 
[2026-08-25 15:28:18] local.INFO: Extracted packet for processing {"connection_id":161998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03859"} 
[2026-08-25 15:28:18] local.INFO: GPS Element Parsed {"raw_longitude":765361408,"raw_latitude":90054848,"longitude_deg":76.5361408,"latitude_deg":9.0054848,"altitude":7,"angle":162,"satellites":50,"speed":24,"hex_longitude":"2d9e7d00","hex_latitude":"055e20c0","is_valid_coordinates":true} 
[2026-08-25 15:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638854912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123764688134602752,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7026741295550441472,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787651779000,"timestamp_ms":1787651779000,"timestamp_seconds":1787651779,"priority":1,"record_length":96,"hex_timestamp":"000001a0385969b8"} 
[2026-08-25 15:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:28: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-25 15:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 15:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638854912001,"66":13200,"143":206,"84":7168,"24":24,"16":123764688134602752,"45":-7026741295550441472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-08-25 15:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638854912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:28:18] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 15:28:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123764688134602752,"km_value":123764688134602.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7026741295550441472,"description":"Unknown IO ID 45"} 
[2026-08-25 15:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638854912001,"power":13200,"unknown_143":206,"unknown_84":7168,"ignition":24,"odometer":null,"unknown_45":-7026741295550441472}} 
[2026-08-25 15:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":161998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:28:18] local.INFO: GPS data processed {"connection_id":161998,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:28:18] local.INFO: Acknowledgment sent {"connection_id":161998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:28:32] local.INFO: TCP Data received {"connection_id":161754,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:28:32] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:28:32] local.INFO: Packet analysis {"connection_id":161754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:28:32] local.INFO: Extracted packet for processing {"connection_id":161754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737152001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787651618000,"timestamp_ms":1787651618000,"timestamp_seconds":1787651618,"priority":1,"record_length":96,"hex_timestamp":"000001a03856f4d0"} 
[2026-08-25 15:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737152001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737152001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:28:32] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:28:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737152001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":161754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:28:32] local.INFO: GPS data processed {"connection_id":161754,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:28:32] local.INFO: Acknowledgment sent {"connection_id":161754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:28:41] local.INFO: TCP Data received {"connection_id":164368,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:28:41] local.INFO: Processing buffer {"connection_id":164368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:28:41] local.INFO: IMEI packet received {"connection_id":164368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":164368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:28:42] local.INFO: TCP Data received {"connection_id":164368,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:28:42] local.INFO: Processing buffer {"connection_id":164368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:28:42] local.INFO: IMEI packet received {"connection_id":164368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":164368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:28:42] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:28:42] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:28:42] local.INFO: IMEI packet received {"connection_id":161999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":161999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:28:44] local.INFO: TCP Data received {"connection_id":162985,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:28:44] local.INFO: Processing buffer {"connection_id":162985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:28:44] local.INFO: Packet analysis {"connection_id":162985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:28:44] local.INFO: Extracted packet for processing {"connection_id":162985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:28:44] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638747648001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787651663000,"timestamp_ms":1787651663000,"timestamp_seconds":1787651663,"priority":1,"record_length":96,"hex_timestamp":"000001a03857a498"} 
[2026-08-25 15: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-25 15:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-25 15:28:44] 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-25 15: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-25 15: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-25 15:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638747648001,"66":26832,"102":206,"9":2048,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638747648001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:28:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:28:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638747648001,"power":26832,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:28:44] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:28:44] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:28:44] local.INFO: IMEI packet received {"connection_id":161999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":161999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":162985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696407,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:28:44] local.INFO: GPS data processed {"connection_id":162985,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:28:44] local.INFO: Acknowledgment sent {"connection_id":162985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:28:45] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:28:45] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:28:45] local.INFO: Packet analysis {"connection_id":161999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:28:45] local.INFO: Extracted packet for processing {"connection_id":161999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":2,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787651621000,"timestamp_ms":1787651621000,"timestamp_seconds":1787651621,"priority":1,"record_length":96,"hex_timestamp":"000001a038570088"} 
[2026-08-25 15: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-25 15:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737920001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":161999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:28:45] local.INFO: GPS data processed {"connection_id":161999,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:28:45] local.INFO: Acknowledgment sent {"connection_id":161999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:28:46] local.INFO: TCP Data received {"connection_id":164368,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:28:46] local.INFO: Processing buffer {"connection_id":164368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:28:46] local.INFO: IMEI packet received {"connection_id":164368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":164368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:28:47] local.INFO: TCP Data received {"connection_id":164368,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b1768012d9e1000055cf1d8000a00c72f..."} 
[2026-08-25 15:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b1768012d9e1000055cf1d8000a00c72f..."} 
[2026-08-25 15:28:47] local.INFO: Processing buffer {"connection_id":164368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b1768012d9e1000055cf1d8000a00c72f..."} 
[2026-08-25 15:28:47] local.INFO: Packet analysis {"connection_id":164368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:28:47] local.INFO: Extracted packet for processing {"connection_id":164368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:28:47] local.INFO: GPS Element Parsed {"raw_longitude":765333504,"raw_latitude":89977304,"longitude_deg":76.5333504,"latitude_deg":8.9977304,"altitude":10,"angle":199,"satellites":47,"speed":45,"hex_longitude":"2d9e1000","hex_latitude":"055cf1d8","is_valid_coordinates":true} 
[2026-08-25 15:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638881280001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123768759763599360,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7052988837146597376,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787651889000,"timestamp_ms":1787651889000,"timestamp_seconds":1787651889,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b1768"} 
[2026-08-25 15:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-25 15:28:47] 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-25 15:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638881280001,"66":13243,"145":206,"84":7168,"24":45,"16":123768759763599360,"45":-7052988837146597376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-08-25 15:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638881280001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:28:47] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-25 15:28:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123768759763599360,"km_value":123768759763599.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7052988837146597376,"description":"Unknown IO ID 45"} 
[2026-08-25 15:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638881280001,"power":13243,"unknown_145":206,"unknown_84":7168,"ignition":45,"odometer":null,"unknown_45":-7052988837146597376}} 
[2026-08-25 15:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":164368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:28:47] local.INFO: GPS data processed {"connection_id":164368,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:28:47] local.INFO: Acknowledgment sent {"connection_id":164368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:28:50] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:28:50] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038570088012d34c14006aa4820000200e631..."} 
[2026-08-25 15:28:50] local.INFO: Packet analysis {"connection_id":161999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:28:50] local.INFO: Extracted packet for processing {"connection_id":161999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":2,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 15:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737920001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787651621000,"timestamp_ms":1787651621000,"timestamp_seconds":1787651621,"priority":1,"record_length":96,"hex_timestamp":"000001a038570088"} 
[2026-08-25 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-25 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737920001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737920001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:28:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737920001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":161999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:28:50] local.INFO: GPS data processed {"connection_id":161999,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:28:50] local.INFO: Acknowledgment sent {"connection_id":161999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:28:52] local.INFO: TCP Data received {"connection_id":161755,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:28:52] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:28:52] local.INFO: IMEI packet received {"connection_id":161755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":161755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:28:57] local.INFO: TCP Data received {"connection_id":161755,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:28:57] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:28:57] local.INFO: IMEI packet received {"connection_id":161755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":161755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:28:59] local.INFO: TCP Data received {"connection_id":161755,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:28:59] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03856f4d0012d196480071ff120003f01402d..."} 
[2026-08-25 15:28:59] local.INFO: Packet analysis {"connection_id":161755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:28:59] local.INFO: Extracted packet for processing {"connection_id":161755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03856"} 
[2026-08-25 15:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":45,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638737152001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787651618000,"timestamp_ms":1787651618000,"timestamp_seconds":1787651618,"priority":1,"record_length":96,"hex_timestamp":"000001a03856f4d0"} 
[2026-08-25 15: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-25 15:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638737152001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638737152001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:28:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:28:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638737152001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":161755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:28:59] local.INFO: GPS data processed {"connection_id":161755,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:28:59] local.INFO: Acknowledgment sent {"connection_id":161755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:29:11] local.INFO: TCP Data received {"connection_id":164369,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:29:11] local.INFO: Processing buffer {"connection_id":164369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:29:11] local.INFO: IMEI packet received {"connection_id":164369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":164369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:29:16] local.INFO: TCP Data received {"connection_id":164369,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:29:16] local.INFO: Processing buffer {"connection_id":164369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:29:16] local.INFO: IMEI packet received {"connection_id":164369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":164369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:29:17] local.INFO: TCP Data received {"connection_id":164369,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:29:17] local.INFO: Processing buffer {"connection_id":164369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:29:17] local.INFO: Packet analysis {"connection_id":164369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:29:17] local.INFO: Extracted packet for processing {"connection_id":164369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:29:17] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638747648001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787651663000,"timestamp_ms":1787651663000,"timestamp_seconds":1787651663,"priority":1,"record_length":96,"hex_timestamp":"000001a03857a498"} 
[2026-08-25 15:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-25 15:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638747648001,"66":26832,"102":206,"9":2048,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638747648001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:29:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:29:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638747648001,"power":26832,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":164369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696412,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:29:17] local.INFO: GPS data processed {"connection_id":164369,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:29:17] local.INFO: Acknowledgment sent {"connection_id":164369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:29:18] local.INFO: TCP Data received {"connection_id":164368,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b36a8012d9e0700055ccff0000800be2f..."} 
[2026-08-25 15:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b36a8012d9e0700055ccff0000800be2f..."} 
[2026-08-25 15:29:18] local.INFO: Processing buffer {"connection_id":164368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b36a8012d9e0700055ccff0000800be2f..."} 
[2026-08-25 15:29:18] local.INFO: Packet analysis {"connection_id":164368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:29:18] local.INFO: Extracted packet for processing {"connection_id":164368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:29:18] local.INFO: GPS Element Parsed {"raw_longitude":765331200,"raw_latitude":89968624,"longitude_deg":76.53312,"latitude_deg":8.9968624,"altitude":8,"angle":190,"satellites":47,"speed":44,"hex_longitude":"2d9e0700","hex_latitude":"055ccff0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638883584001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123769193555296256,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7057140593055377408,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787651897000,"timestamp_ms":1787651897000,"timestamp_seconds":1787651897,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b36a8"} 
[2026-08-25 15: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-25 15: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-25 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 15:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638883584001,"66":13254,"145":206,"84":7168,"24":44,"16":123769193555296256,"45":-7057140593055377408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-08-25 15:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638883584001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:29:18] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-25 15:29:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123769193555296256,"km_value":123769193555296.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7057140593055377408,"description":"Unknown IO ID 45"} 
[2026-08-25 15:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638883584001,"power":13254,"unknown_145":206,"unknown_84":7168,"ignition":44,"odometer":null,"unknown_45":-7057140593055377408}} 
[2026-08-25 15:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":164368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:29:18] local.INFO: GPS data processed {"connection_id":164368,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:29:18] local.INFO: Acknowledgment sent {"connection_id":164368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:29:22] local.INFO: TCP Data received {"connection_id":164369,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:29:22] local.INFO: Processing buffer {"connection_id":164369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03857a498012d70c880067fd3a00032011629..."} 
[2026-08-25 15:29:22] local.INFO: Packet analysis {"connection_id":164369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:29:22] local.INFO: Extracted packet for processing {"connection_id":164369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03857"} 
[2026-08-25 15:29:22] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638747648001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787651663000,"timestamp_ms":1787651663000,"timestamp_seconds":1787651663,"priority":1,"record_length":96,"hex_timestamp":"000001a03857a498"} 
[2026-08-25 15: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-25 15:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-25 15:29: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-25 15: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-25 15: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-25 15:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638747648001,"66":26832,"102":206,"9":2048,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638747648001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:29:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:29:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 15:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638747648001,"power":26832,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 15:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":164369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:29:22] local.INFO: GPS data processed {"connection_id":164369,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:29:22] local.INFO: Acknowledgment sent {"connection_id":164369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:29:28] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:29:28] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:29:28] local.INFO: Packet analysis {"connection_id":161999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:29:28] local.INFO: Extracted packet for processing {"connection_id":161999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:29:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814976001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787651922000,"timestamp_ms":1787651922000,"timestamp_seconds":1787651922,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b9850"} 
[2026-08-25 15:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814976001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814976001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:29:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814976001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":161999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:29:28] local.INFO: GPS data processed {"connection_id":161999,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:29:28] local.INFO: Acknowledgment sent {"connection_id":161999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:29:35] local.INFO: TCP Data received {"connection_id":161755,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:29:35] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:29:35] local.INFO: Packet analysis {"connection_id":161755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:29:35] local.INFO: Extracted packet for processing {"connection_id":161755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814208001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787651919000,"timestamp_ms":1787651919000,"timestamp_seconds":1787651919,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b8c98"} 
[2026-08-25 15: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-25 15:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:29: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-25 15: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-25 15: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-25 15:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814208001,"66":2155,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814208001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:29:35] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:29:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814208001,"power":2155,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":161755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:29:35] local.INFO: GPS data processed {"connection_id":161755,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:29:35] local.INFO: Acknowledgment sent {"connection_id":161755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:29:39] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:29:39] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:29:39] local.INFO: IMEI packet received {"connection_id":162000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":162000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:29:40] local.INFO: TCP Data received {"connection_id":162986,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:29:40] local.INFO: Processing buffer {"connection_id":162986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:29:40] local.INFO: IMEI packet received {"connection_id":162986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":162986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:29:42] local.INFO: TCP Data received {"connection_id":162986,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:29:42] local.INFO: Processing buffer {"connection_id":162986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:29:42] local.INFO: IMEI packet received {"connection_id":162986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":162986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:29:46] local.INFO: TCP Data received {"connection_id":162986,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:29:46] local.INFO: Processing buffer {"connection_id":162986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:29:46] local.INFO: IMEI packet received {"connection_id":162986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":162986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:29:46] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:29:46] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:29:46] local.INFO: IMEI packet received {"connection_id":162000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":162000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:29:47] local.INFO: TCP Data received {"connection_id":162986,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b59d0012d9e0280055cac30000600b82f..."} 
[2026-08-25 15:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b59d0012d9e0280055cac30000600b82f..."} 
[2026-08-25 15:29:47] local.INFO: Processing buffer {"connection_id":162986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b59d0012d9e0280055cac30000600b82f..."} 
[2026-08-25 15:29:47] local.INFO: Packet analysis {"connection_id":162986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:29:47] local.INFO: Extracted packet for processing {"connection_id":162986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:29:47] local.INFO: GPS Element Parsed {"raw_longitude":765330048,"raw_latitude":89959472,"longitude_deg":76.5330048,"latitude_deg":8.9959472,"altitude":6,"angle":184,"satellites":47,"speed":39,"hex_longitude":"2d9e0280","hex_latitude":"055cac30","is_valid_coordinates":true} 
[2026-08-25 15:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638885632001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123769640231895040,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7059673867847995392,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787651906000,"timestamp_ms":1787651906000,"timestamp_seconds":1787651906,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b59d0"} 
[2026-08-25 15:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 15:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638885632001,"66":13189,"145":206,"84":7168,"24":39,"16":123769640231895040,"45":-7059673867847995392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-08-25 15:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638885632001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:29:47] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-25 15:29:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123769640231895040,"km_value":123769640231895.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7059673867847995392,"description":"Unknown IO ID 45"} 
[2026-08-25 15:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638885632001,"power":13189,"unknown_145":206,"unknown_84":7168,"ignition":39,"odometer":null,"unknown_45":-7059673867847995392}} 
[2026-08-25 15:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":162986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:29:47] local.INFO: GPS data processed {"connection_id":162986,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:29:47] local.INFO: Acknowledgment sent {"connection_id":162986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:29:47] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:29:47] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:29:47] local.INFO: Packet analysis {"connection_id":162000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:29:47] local.INFO: Extracted packet for processing {"connection_id":162000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814976001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787651922000,"timestamp_ms":1787651922000,"timestamp_seconds":1787651922,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b9850"} 
[2026-08-25 15:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814976001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814976001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814976001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":162000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:29:47] local.INFO: GPS data processed {"connection_id":162000,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:29:47] local.INFO: Acknowledgment sent {"connection_id":162000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:29:52] local.INFO: TCP Data received {"connection_id":162987,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:29:52] local.INFO: Processing buffer {"connection_id":162987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:29:52] local.INFO: IMEI packet received {"connection_id":162987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":162987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:29:57] local.INFO: TCP Data received {"connection_id":162987,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:29:57] local.INFO: Processing buffer {"connection_id":162987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:29:57] local.INFO: IMEI packet received {"connection_id":162987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":162987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:30:01] local.INFO: TCP Data received {"connection_id":162987,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:30:01] local.INFO: Processing buffer {"connection_id":162987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:30:01] local.INFO: Packet analysis {"connection_id":162987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:30:01] local.INFO: Extracted packet for processing {"connection_id":162987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:30:01] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814208001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787651919000,"timestamp_ms":1787651919000,"timestamp_seconds":1787651919,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b8c98"} 
[2026-08-25 15:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814208001,"66":2155,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814208001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:30:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:30:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814208001,"power":2155,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":162987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:30:01] local.INFO: GPS data processed {"connection_id":162987,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:30:01] local.INFO: Acknowledgment sent {"connection_id":162987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:30:02] local.INFO: TCP Data received {"connection_id":162988,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:30:02] local.INFO: Processing buffer {"connection_id":162988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:30:02] local.INFO: IMEI packet received {"connection_id":162988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":162988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:30:05] local.INFO: TCP Data received {"connection_id":162988,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:30:05] local.INFO: Processing buffer {"connection_id":162988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:30:05] local.INFO: IMEI packet received {"connection_id":162988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":162988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:30:11] local.INFO: TCP Data received {"connection_id":162988,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:30:11] local.INFO: Processing buffer {"connection_id":162988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:30:11] local.INFO: IMEI packet received {"connection_id":162988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":162988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:30:12] local.INFO: TCP Data received {"connection_id":162988,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:30:12] local.INFO: Processing buffer {"connection_id":162988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:30:12] local.INFO: Packet analysis {"connection_id":162988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:30:12] local.INFO: Extracted packet for processing {"connection_id":162988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:30:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638825728001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787651964000,"timestamp_ms":1787651964000,"timestamp_seconds":1787651964,"priority":1,"record_length":96,"hex_timestamp":"000001a0385c3c60"} 
[2026-08-25 15:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-25 15:30:12] 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-25 15:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638825728001,"66":26615,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638825728001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:30:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:30:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638825728001,"power":26615,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":162988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696420,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:30:12] local.INFO: GPS data processed {"connection_id":162988,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:30:12] local.INFO: Acknowledgment sent {"connection_id":162988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:30:18] local.INFO: TCP Data received {"connection_id":162986,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b9080012d9e00c0055c8980000400b52e..."} 
[2026-08-25 15:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b9080012d9e00c0055c8980000400b52e..."} 
[2026-08-25 15:30:18] local.INFO: Processing buffer {"connection_id":162986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b9080012d9e00c0055c8980000400b52e..."} 
[2026-08-25 15:30:18] local.INFO: Packet analysis {"connection_id":162986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:30:18] local.INFO: Extracted packet for processing {"connection_id":162986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:30:18] local.INFO: GPS Element Parsed {"raw_longitude":765329600,"raw_latitude":89950592,"longitude_deg":76.53296,"latitude_deg":8.9950592,"altitude":4,"angle":181,"satellites":46,"speed":11,"hex_longitude":"2d9e00c0","hex_latitude":"055c8980","is_valid_coordinates":true} 
[2026-08-25 15:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638887936001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123770074023591936,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7060940505245536256,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787651920000,"timestamp_ms":1787651920000,"timestamp_seconds":1787651920,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b9080"} 
[2026-08-25 15:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:30: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-25 15:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 15:30: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-25 15:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638887936001,"66":13276,"249":206,"84":7168,"24":11,"16":123770074023591936,"45":-7060940505245536256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-25 15:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638887936001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:30:18] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-25 15:30:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123770074023591936,"km_value":123770074023591.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7060940505245536256,"description":"Unknown IO ID 45"} 
[2026-08-25 15:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638887936001,"power":13276,"unknown_249":206,"unknown_84":7168,"ignition":11,"odometer":null,"unknown_45":-7060940505245536256}} 
[2026-08-25 15:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":162986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:30:18] local.INFO: GPS data processed {"connection_id":162986,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:30:18] local.INFO: Acknowledgment sent {"connection_id":162986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:30:19] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:30:19] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:30:19] local.INFO: Packet analysis {"connection_id":162000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:30:19] local.INFO: Extracted packet for processing {"connection_id":162000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:30:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814976001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787651922000,"timestamp_ms":1787651922000,"timestamp_seconds":1787651922,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b9850"} 
[2026-08-25 15:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:30:19] 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-25 15:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814976001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814976001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:30:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814976001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":162000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:30:19] local.INFO: GPS data processed {"connection_id":162000,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:30:19] local.INFO: Acknowledgment sent {"connection_id":162000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:30:33] local.INFO: TCP Data received {"connection_id":162987,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:30:33] local.INFO: Processing buffer {"connection_id":162987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:30:33] local.INFO: Packet analysis {"connection_id":162987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:30:33] local.INFO: Extracted packet for processing {"connection_id":162987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814208001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787651919000,"timestamp_ms":1787651919000,"timestamp_seconds":1787651919,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b8c98"} 
[2026-08-25 15:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814208001,"66":2155,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814208001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:30:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:30:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814208001,"power":2155,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":162987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:30:33] local.INFO: GPS data processed {"connection_id":162987,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:30:33] local.INFO: Acknowledgment sent {"connection_id":162987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:30:39] local.INFO: TCP Data received {"connection_id":164370,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:30:39] local.INFO: Processing buffer {"connection_id":164370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:30:39] local.INFO: IMEI packet received {"connection_id":164370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":164370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:30:44] local.INFO: TCP Data received {"connection_id":162988,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:30:44] local.INFO: Processing buffer {"connection_id":162988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:30:44] local.INFO: Packet analysis {"connection_id":162988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:30:44] local.INFO: Extracted packet for processing {"connection_id":162988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:30:44] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638825728001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787651964000,"timestamp_ms":1787651964000,"timestamp_seconds":1787651964,"priority":1,"record_length":96,"hex_timestamp":"000001a0385c3c60"} 
[2026-08-25 15: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-25 15:30:44] 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-25 15: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-25 15:30:44] 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-25 15: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-25 15: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-25 15:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638825728001,"66":26615,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638825728001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:30:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:30:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638825728001,"power":26615,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":162988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696424,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:30:44] local.INFO: GPS data processed {"connection_id":162988,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:30:44] local.INFO: Acknowledgment sent {"connection_id":162988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:30:45] local.INFO: TCP Data received {"connection_id":164370,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:30:45] local.INFO: Processing buffer {"connection_id":164370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:30:45] local.INFO: IMEI packet received {"connection_id":164370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":164370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:30:45] local.INFO: TCP Data received {"connection_id":164370,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:30:45] local.INFO: Processing buffer {"connection_id":164370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:30:45] local.INFO: Packet analysis {"connection_id":164370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:30:45] local.INFO: Extracted packet for processing {"connection_id":164370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814976001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787651922000,"timestamp_ms":1787651922000,"timestamp_seconds":1787651922,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b9850"} 
[2026-08-25 15:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:30:45] 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-25 15:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814976001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814976001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814976001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":164370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:30:45] local.INFO: GPS data processed {"connection_id":164370,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:30:45] local.INFO: Acknowledgment sent {"connection_id":164370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:30:46] local.INFO: TCP Data received {"connection_id":164371,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:30:46] local.INFO: Processing buffer {"connection_id":164371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:30:46] local.INFO: IMEI packet received {"connection_id":164371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":164371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:30:49] local.INFO: TCP Data received {"connection_id":164371,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:30:49] local.INFO: Processing buffer {"connection_id":164371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:30:49] local.INFO: IMEI packet received {"connection_id":164371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":164371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:30:50] local.INFO: TCP Data received {"connection_id":164371,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385d1338012d9e3bc0055b5378000800a72e..."} 
[2026-08-25 15:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385d1338012d9e3bc0055b5378000800a72e..."} 
[2026-08-25 15:30:50] local.INFO: Processing buffer {"connection_id":164371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385d1338012d9e3bc0055b5378000800a72e..."} 
[2026-08-25 15:30:50] local.INFO: Packet analysis {"connection_id":164371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385d"} 
[2026-08-25 15:30:50] local.INFO: Extracted packet for processing {"connection_id":164371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385d"} 
[2026-08-25 15:30:50] local.INFO: GPS Element Parsed {"raw_longitude":765344704,"raw_latitude":89871224,"longitude_deg":76.5344704,"latitude_deg":8.9871224,"altitude":8,"angle":167,"satellites":46,"speed":59,"hex_longitude":"2d9e3bc0","hex_latitude":"055b5378","is_valid_coordinates":true} 
[2026-08-25 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-25 15:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638915072001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123774016803569664,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047218600150939648,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787652019000,"timestamp_ms":1787652019000,"timestamp_seconds":1787652019,"priority":1,"record_length":96,"hex_timestamp":"000001a0385d1338"} 
[2026-08-25 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-25 15:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 15:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638915072001,"66":13406,"249":206,"84":7168,"24":59,"16":123774016803569664,"45":-7047218600150939648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-25 15:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638915072001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:30:50] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-25 15:30:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123774016803569664,"km_value":123774016803569.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047218600150939648,"description":"Unknown IO ID 45"} 
[2026-08-25 15:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638915072001,"power":13406,"unknown_249":206,"unknown_84":7168,"ignition":59,"odometer":null,"unknown_45":-7047218600150939648}} 
[2026-08-25 15:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":164371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:30:50] local.INFO: GPS data processed {"connection_id":164371,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:30:50] local.INFO: Acknowledgment sent {"connection_id":164371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:30:51] local.INFO: TCP Data received {"connection_id":164371,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385d2e90012d9e4340055b2c38000700ab2e..."} 
[2026-08-25 15:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385d2e90012d9e4340055b2c38000700ab2e..."} 
[2026-08-25 15:30:51] local.INFO: Processing buffer {"connection_id":164371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385d2e90012d9e4340055b2c38000700ab2e..."} 
[2026-08-25 15:30:51] local.INFO: Packet analysis {"connection_id":164371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385d"} 
[2026-08-25 15:30:51] local.INFO: Extracted packet for processing {"connection_id":164371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385d"} 
[2026-08-25 15:30:51] local.INFO: GPS Element Parsed {"raw_longitude":765346624,"raw_latitude":89861176,"longitude_deg":76.5346624,"latitude_deg":8.9861176,"altitude":7,"angle":171,"satellites":46,"speed":55,"hex_longitude":"2d9e4340","hex_latitude":"055b2c38","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638916864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123774510724808704,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7044826062851442688,"note":"Value kept but may cause issues"} 
[2026-08-25 15:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787652026000,"timestamp_ms":1787652026000,"timestamp_seconds":1787652026,"priority":1,"record_length":96,"hex_timestamp":"000001a0385d2e90"} 
[2026-08-25 15: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-25 15:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 15:30:51] 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-25 15: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-25 15: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-25 15:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638916864001,"66":13276,"248":206,"84":7168,"24":55,"16":123774510724808704,"45":-7044826062851442688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-25 15:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638916864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:30:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123774510724808704,"km_value":123774510724808.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7044826062851442688,"description":"Unknown IO ID 45"} 
[2026-08-25 15:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638916864001,"power":13276,"tamper_alert":206,"unknown_84":7168,"ignition":55,"odometer":null,"unknown_45":-7044826062851442688}} 
[2026-08-25 15:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":164371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:30:51] local.INFO: GPS data processed {"connection_id":164371,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:30:51] local.INFO: Acknowledgment sent {"connection_id":164371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:30:52] local.INFO: TCP Data received {"connection_id":164372,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:30:52] local.INFO: Processing buffer {"connection_id":164372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:30:52] local.INFO: IMEI packet received {"connection_id":164372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":164372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:30:57] local.INFO: TCP Data received {"connection_id":164372,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:30:57] local.INFO: Processing buffer {"connection_id":164372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:30:57] local.INFO: IMEI packet received {"connection_id":164372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":164372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:31:01] local.INFO: TCP Data received {"connection_id":164372,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:31:01] local.INFO: Processing buffer {"connection_id":164372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:31:01] local.INFO: Packet analysis {"connection_id":164372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:31:01] local.INFO: Extracted packet for processing {"connection_id":164372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:31:01] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814208001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787651919000,"timestamp_ms":1787651919000,"timestamp_seconds":1787651919,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b8c98"} 
[2026-08-25 15: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-25 15:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":164372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":164372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":164372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814208001,"66":2155,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814208001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:31:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:31:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814208001,"power":2155,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":164372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:31:01] local.INFO: GPS data processed {"connection_id":164372,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:31:01] local.INFO: Acknowledgment sent {"connection_id":164372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:31:05] local.INFO: TCP Data received {"connection_id":162989,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:31:05] local.INFO: Processing buffer {"connection_id":162989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:31:05] local.INFO: IMEI packet received {"connection_id":162989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":162989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:31:11] local.INFO: TCP Data received {"connection_id":162989,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:31:11] local.INFO: Processing buffer {"connection_id":162989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:31:11] local.INFO: IMEI packet received {"connection_id":162989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":162989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:31:13] local.INFO: TCP Data received {"connection_id":162989,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:31:13] local.INFO: Processing buffer {"connection_id":162989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:31:13] local.INFO: Packet analysis {"connection_id":162989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:31:13] local.INFO: Extracted packet for processing {"connection_id":162989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:31:13] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638825728001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787651964000,"timestamp_ms":1787651964000,"timestamp_seconds":1787651964,"priority":1,"record_length":96,"hex_timestamp":"000001a0385c3c60"} 
[2026-08-25 15: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-25 15:31:13] 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-25 15: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-25 15:31:13] 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-25 15: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-25 15: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-25 15:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638825728001,"66":26615,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638825728001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:31:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:31:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638825728001,"power":26615,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":162989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:31:13] local.INFO: GPS data processed {"connection_id":162989,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:31:13] local.INFO: Acknowledgment sent {"connection_id":162989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:31:17] local.INFO: TCP Data received {"connection_id":164370,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:31:17] local.INFO: Processing buffer {"connection_id":164370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:31:17] local.INFO: Packet analysis {"connection_id":164370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:31:17] local.INFO: Extracted packet for processing {"connection_id":164370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814976001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787651922000,"timestamp_ms":1787651922000,"timestamp_seconds":1787651922,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b9850"} 
[2026-08-25 15:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814976001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814976001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814976001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":164370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:31:17] local.INFO: GPS data processed {"connection_id":164370,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:31:17] local.INFO: Acknowledgment sent {"connection_id":164370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:31:22] local.INFO: TCP Data received {"connection_id":164371,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385d4600012d9e4580055b0900000700b32e..."} 
[2026-08-25 15:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385d4600012d9e4580055b0900000700b32e..."} 
[2026-08-25 15:31:22] local.INFO: Processing buffer {"connection_id":164371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385d4600012d9e4580055b0900000700b32e..."} 
[2026-08-25 15:31:22] local.INFO: Packet analysis {"connection_id":164371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385d"} 
[2026-08-25 15:31:22] local.INFO: Extracted packet for processing {"connection_id":164371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385d"} 
[2026-08-25 15:31:22] local.INFO: GPS Element Parsed {"raw_longitude":765347200,"raw_latitude":89852160,"longitude_deg":76.53472,"latitude_deg":8.985216,"altitude":7,"angle":179,"satellites":46,"speed":61,"hex_longitude":"2d9e4580","hex_latitude":"055b0900","is_valid_coordinates":true} 
[2026-08-25 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-25 15:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638918656001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123774948811472896,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042715000528685056,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787652032000,"timestamp_ms":1787652032000,"timestamp_seconds":1787652032,"priority":1,"record_length":96,"hex_timestamp":"000001a0385d4600"} 
[2026-08-25 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-25 15:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 15:31:22] 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-25 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-25 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-25 15:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638918656001,"66":13472,"248":206,"84":7168,"24":61,"16":123774948811472896,"45":-7042715000528685056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-25 15:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638918656001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:31:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123774948811472896,"km_value":123774948811472.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042715000528685056,"description":"Unknown IO ID 45"} 
[2026-08-25 15:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638918656001,"power":13472,"tamper_alert":206,"unknown_84":7168,"ignition":61,"odometer":null,"unknown_45":-7042715000528685056}} 
[2026-08-25 15:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":164371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:31:22] local.INFO: GPS data processed {"connection_id":164371,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:31:22] local.INFO: Acknowledgment sent {"connection_id":164371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:31:33] local.INFO: TCP Data received {"connection_id":164372,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:31:33] local.INFO: Processing buffer {"connection_id":164372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:31:33] local.INFO: Packet analysis {"connection_id":164372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:31:33] local.INFO: Extracted packet for processing {"connection_id":164372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814208001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787651919000,"timestamp_ms":1787651919000,"timestamp_seconds":1787651919,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b8c98"} 
[2026-08-25 15:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814208001,"66":2155,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814208001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:31:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:31:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814208001,"power":2155,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":164372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:31:33] local.INFO: GPS data processed {"connection_id":164372,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:31:33] local.INFO: Acknowledgment sent {"connection_id":164372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:31:41] local.INFO: TCP Data received {"connection_id":162990,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:31:41] local.INFO: Processing buffer {"connection_id":162990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:31:41] local.INFO: IMEI packet received {"connection_id":162990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":162990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:31:44] local.INFO: TCP Data received {"connection_id":164373,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:31:44] local.INFO: Processing buffer {"connection_id":164373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:31:44] local.INFO: IMEI packet received {"connection_id":164373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":164373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:31:45] local.INFO: TCP Data received {"connection_id":162989,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:31:45] local.INFO: Processing buffer {"connection_id":162989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:31:45] local.INFO: Packet analysis {"connection_id":162989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:31:45] local.INFO: Extracted packet for processing {"connection_id":162989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:31:45] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638825728001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787651964000,"timestamp_ms":1787651964000,"timestamp_seconds":1787651964,"priority":1,"record_length":96,"hex_timestamp":"000001a0385c3c60"} 
[2026-08-25 15:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:31:45] 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-25 15:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-25 15:31:45] 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-25 15:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638825728001,"66":26615,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638825728001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:31:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:31:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638825728001,"power":26615,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":162989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:31:45] local.INFO: GPS data processed {"connection_id":162989,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:31:45] local.INFO: Acknowledgment sent {"connection_id":162989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:31:46] local.INFO: TCP Data received {"connection_id":162990,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:31:46] local.INFO: Processing buffer {"connection_id":162990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:31:46] local.INFO: IMEI packet received {"connection_id":162990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":162990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:31:47] local.INFO: TCP Data received {"connection_id":162990,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385d5d70012d9e4580055ae4f8000800b32b..."} 
[2026-08-25 15:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385d5d70012d9e4580055ae4f8000800b32b..."} 
[2026-08-25 15:31:47] local.INFO: Processing buffer {"connection_id":162990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385d5d70012d9e4580055ae4f8000800b32b..."} 
[2026-08-25 15:31:47] local.INFO: Packet analysis {"connection_id":162990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385d"} 
[2026-08-25 15:31:47] local.INFO: Extracted packet for processing {"connection_id":162990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385d"} 
[2026-08-25 15:31:47] local.INFO: GPS Element Parsed {"raw_longitude":765347200,"raw_latitude":89842936,"longitude_deg":76.53472,"latitude_deg":8.9842936,"altitude":8,"angle":179,"satellites":43,"speed":60,"hex_longitude":"2d9e4580","hex_latitude":"055ae4f8","is_valid_coordinates":true} 
[2026-08-25 15:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638920192001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123775395488071680,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042081681833394176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787652038000,"timestamp_ms":1787652038000,"timestamp_seconds":1787652038,"priority":1,"record_length":96,"hex_timestamp":"000001a0385d5d70"} 
[2026-08-25 15:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 15:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638920192001,"66":13276,"248":206,"84":7168,"24":60,"16":123775395488071680,"45":-7042081681833394176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-25 15:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638920192001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:31:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123775395488071680,"km_value":123775395488071.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042081681833394176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638920192001,"power":13276,"tamper_alert":206,"unknown_84":7168,"ignition":60,"odometer":null,"unknown_45":-7042081681833394176}} 
[2026-08-25 15:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":162990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:31:47] local.INFO: GPS data processed {"connection_id":162990,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:31:47] local.INFO: Acknowledgment sent {"connection_id":162990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:31:50] local.INFO: TCP Data received {"connection_id":164373,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:31:50] local.INFO: Processing buffer {"connection_id":164373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:31:50] local.INFO: IMEI packet received {"connection_id":164373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":164373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:31:51] local.INFO: TCP Data received {"connection_id":164373,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:31:51] local.INFO: Processing buffer {"connection_id":164373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:31:51] local.INFO: Packet analysis {"connection_id":164373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:31:51] local.INFO: Extracted packet for processing {"connection_id":164373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814976001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787651922000,"timestamp_ms":1787651922000,"timestamp_seconds":1787651922,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b9850"} 
[2026-08-25 15:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:31: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-25 15:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814976001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814976001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814976001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":164373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:31:51] local.INFO: GPS data processed {"connection_id":164373,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:31:51] local.INFO: Acknowledgment sent {"connection_id":164373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:31:57] local.INFO: TCP Data received {"connection_id":161756,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:31:57] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:31:57] local.INFO: IMEI packet received {"connection_id":161756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":161756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:32:03] local.INFO: TCP Data received {"connection_id":161756,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:32:03] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:32:03] local.INFO: IMEI packet received {"connection_id":161756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":161756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:32:04] local.INFO: TCP Data received {"connection_id":161756,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:32:04] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:32:04] local.INFO: Packet analysis {"connection_id":161756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:32:04] local.INFO: Extracted packet for processing {"connection_id":161756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814208001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787651919000,"timestamp_ms":1787651919000,"timestamp_seconds":1787651919,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b8c98"} 
[2026-08-25 15: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-25 15:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15: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-25 15: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-25 15: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-25 15:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814208001,"66":2155,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814208001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:32:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814208001,"power":2155,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":161756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:32:04] local.INFO: GPS data processed {"connection_id":161756,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:32:04] local.INFO: Acknowledgment sent {"connection_id":161756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:32:06] local.INFO: TCP Data received {"connection_id":162991,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:32:06] local.INFO: Processing buffer {"connection_id":162991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:32:06] local.INFO: IMEI packet received {"connection_id":162991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":162991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:32:08] local.INFO: TCP Data received {"connection_id":161756,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:32:08] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:32:08] local.INFO: Packet analysis {"connection_id":161756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:32:08] local.INFO: Extracted packet for processing {"connection_id":161756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:32:08] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814208001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787651919000,"timestamp_ms":1787651919000,"timestamp_seconds":1787651919,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b8c98"} 
[2026-08-25 15:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814208001,"66":2155,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814208001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:32:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:32:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814208001,"power":2155,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":161756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:32:08] local.INFO: GPS data processed {"connection_id":161756,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:32:08] local.INFO: Acknowledgment sent {"connection_id":161756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:32:11] local.INFO: TCP Data received {"connection_id":162991,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:32:11] local.INFO: Processing buffer {"connection_id":162991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:32:11] local.INFO: IMEI packet received {"connection_id":162991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":162991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:32:12] local.INFO: TCP Data received {"connection_id":162991,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:32:12] local.INFO: Processing buffer {"connection_id":162991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:32:12] local.INFO: Packet analysis {"connection_id":162991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:32:12] local.INFO: Extracted packet for processing {"connection_id":162991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:32:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638825728001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787651964000,"timestamp_ms":1787651964000,"timestamp_seconds":1787651964,"priority":1,"record_length":96,"hex_timestamp":"000001a0385c3c60"} 
[2026-08-25 15:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-25 15:32:12] 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-25 15:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638825728001,"66":26615,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638825728001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:32:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:32:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638825728001,"power":26615,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":162991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696438,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:32:12] local.INFO: GPS data processed {"connection_id":162991,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:32:12] local.INFO: Acknowledgment sent {"connection_id":162991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:32:13] local.INFO: TCP Data received {"connection_id":161756,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:32:13] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:32:13] local.INFO: Packet analysis {"connection_id":161756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:32:13] local.INFO: Extracted packet for processing {"connection_id":161756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:32:13] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814208001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787651919000,"timestamp_ms":1787651919000,"timestamp_seconds":1787651919,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b8c98"} 
[2026-08-25 15: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-25 15:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15: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-25 15: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-25 15:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814208001,"66":2155,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814208001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:32:13] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:32:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814208001,"power":2155,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":161756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:32:13] local.INFO: GPS data processed {"connection_id":161756,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:32:13] local.INFO: Acknowledgment sent {"connection_id":161756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:32:17] local.INFO: TCP Data received {"connection_id":162990,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385d8098012d9e4740055ac0e0000900ab2d..."} 
[2026-08-25 15:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385d8098012d9e4740055ac0e0000900ab2d..."} 
[2026-08-25 15:32:17] local.INFO: Processing buffer {"connection_id":162990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385d8098012d9e4740055ac0e0000900ab2d..."} 
[2026-08-25 15:32:17] local.INFO: Packet analysis {"connection_id":162990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385d"} 
[2026-08-25 15:32:17] local.INFO: Extracted packet for processing {"connection_id":162990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385d"} 
[2026-08-25 15:32:17] local.INFO: GPS Element Parsed {"raw_longitude":765347648,"raw_latitude":89833696,"longitude_deg":76.5347648,"latitude_deg":8.9833696,"altitude":9,"angle":171,"satellites":45,"speed":23,"hex_longitude":"2d9e4740","hex_latitude":"055ac0e0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638921728001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123775846459637760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042081681835755520,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787652047000,"timestamp_ms":1787652047000,"timestamp_seconds":1787652047,"priority":1,"record_length":96,"hex_timestamp":"000001a0385d8098"} 
[2026-08-25 15: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-25 15:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 15:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638921728001,"66":13276,"248":206,"84":7168,"24":23,"16":123775846459637760,"45":-7042081681835755520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-25 15:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638921728001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:32:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123775846459637760,"km_value":123775846459637.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042081681835755520,"description":"Unknown IO ID 45"} 
[2026-08-25 15:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638921728001,"power":13276,"tamper_alert":206,"unknown_84":7168,"ignition":23,"odometer":null,"unknown_45":-7042081681835755520}} 
[2026-08-25 15:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":162990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:32:18] local.INFO: GPS data processed {"connection_id":162990,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:32:18] local.INFO: Acknowledgment sent {"connection_id":162990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:32:22] local.INFO: TCP Data received {"connection_id":164373,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:32:22] local.INFO: Processing buffer {"connection_id":164373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:32:22] local.INFO: Packet analysis {"connection_id":164373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:32:22] local.INFO: Extracted packet for processing {"connection_id":164373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:32:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 15:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814976001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787651922000,"timestamp_ms":1787651922000,"timestamp_seconds":1787651922,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b9850"} 
[2026-08-25 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-25 15:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814976001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814976001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:32:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814976001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":164373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:32:22] local.INFO: GPS data processed {"connection_id":164373,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:32:22] local.INFO: Acknowledgment sent {"connection_id":164373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:32:39] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:32:39] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:32:39] local.INFO: IMEI packet received {"connection_id":161757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":161757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:32:40] local.INFO: TCP Data received {"connection_id":164374,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:32:40] local.INFO: Processing buffer {"connection_id":164374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:32:40] local.INFO: IMEI packet received {"connection_id":164374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":164374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:32:40] local.INFO: TCP Data received {"connection_id":164374,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:32:40] local.INFO: Processing buffer {"connection_id":164374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:32:40] local.INFO: IMEI packet received {"connection_id":164374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":164374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:32:45] local.INFO: TCP Data received {"connection_id":162991,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:32:45] local.INFO: Processing buffer {"connection_id":162991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:32:45] local.INFO: Packet analysis {"connection_id":162991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:32:45] local.INFO: Extracted packet for processing {"connection_id":162991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:32:45] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638825728001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787651964000,"timestamp_ms":1787651964000,"timestamp_seconds":1787651964,"priority":1,"record_length":96,"hex_timestamp":"000001a0385c3c60"} 
[2026-08-25 15:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:32:45] 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-25 15:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-25 15:32:45] 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-25 15:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638825728001,"66":26615,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638825728001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:32:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:32:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638825728001,"power":26615,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:32:45] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:32:45] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:32:45] local.INFO: IMEI packet received {"connection_id":161757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":161757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":162991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696442,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:32:45] local.INFO: GPS data processed {"connection_id":162991,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:32:45] local.INFO: Acknowledgment sent {"connection_id":162991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:32:45] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:32:45] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:32:45] local.INFO: Packet analysis {"connection_id":161757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:32:45] local.INFO: Extracted packet for processing {"connection_id":161757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814976001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787651922000,"timestamp_ms":1787651922000,"timestamp_seconds":1787651922,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b9850"} 
[2026-08-25 15:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814976001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814976001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814976001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":161757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:32:45] local.INFO: GPS data processed {"connection_id":161757,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:32:45] local.INFO: Acknowledgment sent {"connection_id":161757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:32:46] local.INFO: TCP Data received {"connection_id":164374,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:32:46] local.INFO: Processing buffer {"connection_id":164374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:32:46] local.INFO: IMEI packet received {"connection_id":164374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":164374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:32:47] local.INFO: TCP Data received {"connection_id":164374,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385d9bf0012d9e4800055ab1d8000900b62d..."} 
[2026-08-25 15:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385d9bf0012d9e4800055ab1d8000900b62d..."} 
[2026-08-25 15:32:47] local.INFO: Processing buffer {"connection_id":164374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385d9bf0012d9e4800055ab1d8000900b62d..."} 
[2026-08-25 15:32:47] local.INFO: Packet analysis {"connection_id":164374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385d"} 
[2026-08-25 15:32:47] local.INFO: Extracted packet for processing {"connection_id":164374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385d"} 
[2026-08-25 15:32:47] local.INFO: GPS Element Parsed {"raw_longitude":765347840,"raw_latitude":89829848,"longitude_deg":76.534784,"latitude_deg":8.9829848,"altitude":9,"angle":182,"satellites":45,"speed":24,"hex_longitude":"2d9e4800","hex_latitude":"055ab1d8","is_valid_coordinates":true} 
[2026-08-25 15:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638924032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123776035438198784,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7041589100628877312,"note":"Value kept but may cause issues"} 
[2026-08-25 15:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787652054000,"timestamp_ms":1787652054000,"timestamp_seconds":1787652054,"priority":1,"record_length":96,"hex_timestamp":"000001a0385d9bf0"} 
[2026-08-25 15:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 15:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638924032001,"66":13493,"248":206,"84":7168,"24":24,"16":123776035438198784,"45":-7041589100628877312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-25 15:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638924032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:32:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123776035438198784,"km_value":123776035438198.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7041589100628877312,"description":"Unknown IO ID 45"} 
[2026-08-25 15:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638924032001,"power":13493,"tamper_alert":206,"unknown_84":7168,"ignition":24,"odometer":null,"unknown_45":-7041589100628877312}} 
[2026-08-25 15:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":164374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:32:47] local.INFO: GPS data processed {"connection_id":164374,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:32:47] local.INFO: Acknowledgment sent {"connection_id":164374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:32:52] local.INFO: TCP Data received {"connection_id":162001,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:32:52] local.INFO: Processing buffer {"connection_id":162001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:32:52] local.INFO: IMEI packet received {"connection_id":162001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":162001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:32:57] local.INFO: TCP Data received {"connection_id":162001,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:32:57] local.INFO: Processing buffer {"connection_id":162001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:32:57] local.INFO: IMEI packet received {"connection_id":162001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":162001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:33:05] local.INFO: TCP Data received {"connection_id":162992,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:33:05] local.INFO: Processing buffer {"connection_id":162992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:33:05] local.INFO: IMEI packet received {"connection_id":162992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":162992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:33:06] local.INFO: TCP Data received {"connection_id":162001,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:33:06] local.INFO: Processing buffer {"connection_id":162001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:33:06] local.INFO: Packet analysis {"connection_id":162001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:33:06] local.INFO: Extracted packet for processing {"connection_id":162001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 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-25 15:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814208001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787651919000,"timestamp_ms":1787651919000,"timestamp_seconds":1787651919,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b8c98"} 
[2026-08-25 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-25 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:33: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-25 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-25 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-25 15:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814208001,"66":2155,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814208001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:33:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:33:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814208001,"power":2155,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":162001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:33:06] local.INFO: GPS data processed {"connection_id":162001,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:33:06] local.INFO: Acknowledgment sent {"connection_id":162001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:33:11] local.INFO: TCP Data received {"connection_id":162992,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:33:11] local.INFO: Processing buffer {"connection_id":162992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:33:11] local.INFO: IMEI packet received {"connection_id":162992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":162992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:33:12] local.INFO: TCP Data received {"connection_id":162992,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:33:12] local.INFO: Processing buffer {"connection_id":162992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:33:12] local.INFO: Packet analysis {"connection_id":162992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:33:12] local.INFO: Extracted packet for processing {"connection_id":162992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:33:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638825728001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787651964000,"timestamp_ms":1787651964000,"timestamp_seconds":1787651964,"priority":1,"record_length":96,"hex_timestamp":"000001a0385c3c60"} 
[2026-08-25 15:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-25 15:33:12] 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-25 15:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638825728001,"66":26615,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638825728001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:33:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:33:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638825728001,"power":26615,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":162992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:33:12] local.INFO: GPS data processed {"connection_id":162992,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:33:12] local.INFO: Acknowledgment sent {"connection_id":162992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:33:17] local.INFO: TCP Data received {"connection_id":162001,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:33:17] local.INFO: Processing buffer {"connection_id":162001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:33:17] local.INFO: Packet analysis {"connection_id":162001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:33:17] local.INFO: Extracted packet for processing {"connection_id":162001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814208001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787651919000,"timestamp_ms":1787651919000,"timestamp_seconds":1787651919,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b8c98"} 
[2026-08-25 15:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814208001,"66":2155,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814208001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:33:17] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:33:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814208001,"power":2155,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:33:17] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:33:17] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:33:17] local.INFO: Packet analysis {"connection_id":161757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:33:17] local.INFO: Extracted packet for processing {"connection_id":161757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814976001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787651922000,"timestamp_ms":1787651922000,"timestamp_seconds":1787651922,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b9850"} 
[2026-08-25 15:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814976001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814976001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814976001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":162001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:33:17] local.INFO: GPS data processed {"connection_id":162001,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:33:17] local.INFO: Acknowledgment sent {"connection_id":162001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":161757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:33:17] local.INFO: GPS data processed {"connection_id":161757,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:33:17] local.INFO: Acknowledgment sent {"connection_id":161757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:33:18] local.INFO: TCP Data received {"connection_id":164374,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385f68e0012d9e5940055986b0000900bc2c..."} 
[2026-08-25 15:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385f68e0012d9e5940055986b0000900bc2c..."} 
[2026-08-25 15:33:18] local.INFO: Processing buffer {"connection_id":164374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385f68e0012d9e5940055986b0000900bc2c..."} 
[2026-08-25 15:33:18] local.INFO: Packet analysis {"connection_id":164374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385f"} 
[2026-08-25 15:33:18] local.INFO: Extracted packet for processing {"connection_id":164374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385f"} 
[2026-08-25 15:33:18] local.INFO: GPS Element Parsed {"raw_longitude":765352256,"raw_latitude":89753264,"longitude_deg":76.5352256,"latitude_deg":8.9753264,"altitude":9,"angle":188,"satellites":44,"speed":24,"hex_longitude":"2d9e5940","hex_latitude":"055986b0","is_valid_coordinates":true} 
[2026-08-25 15:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638952448001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123779784944648192,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7036944763532197888,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652172000,"timestamp_ms":1787652172000,"timestamp_seconds":1787652172,"priority":1,"record_length":96,"hex_timestamp":"000001a0385f68e0"} 
[2026-08-25 15:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 15:33: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-25 15:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638952448001,"66":13559,"118":206,"84":7168,"24":24,"16":123779784944648192,"45":-7036944763532197888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-25 15:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638952448001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:33:18] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-25 15:33:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123779784944648192,"km_value":123779784944648.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7036944763532197888,"description":"Unknown IO ID 45"} 
[2026-08-25 15:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638952448001,"power":13559,"unknown_118":206,"unknown_84":7168,"ignition":24,"odometer":null,"unknown_45":-7036944763532197888}} 
[2026-08-25 15:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":164374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:33:18] local.INFO: GPS data processed {"connection_id":164374,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:33:18] local.INFO: Acknowledgment sent {"connection_id":164374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:33:39] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:33:39] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:33:39] local.INFO: IMEI packet received {"connection_id":162002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":162002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:33:44] local.INFO: TCP Data received {"connection_id":162992,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:33:44] local.INFO: Processing buffer {"connection_id":162992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:33:44] local.INFO: Packet analysis {"connection_id":162992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:33:44] local.INFO: Extracted packet for processing {"connection_id":162992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:33:44] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638825728001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787651964000,"timestamp_ms":1787651964000,"timestamp_seconds":1787651964,"priority":1,"record_length":96,"hex_timestamp":"000001a0385c3c60"} 
[2026-08-25 15: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-25 15:33:44] 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-25 15: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-25 15:33:44] 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-25 15: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-25 15: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-25 15:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638825728001,"66":26615,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638825728001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:33:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:33:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638825728001,"power":26615,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":162992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:33:44] local.INFO: GPS data processed {"connection_id":162992,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:33:44] local.INFO: Acknowledgment sent {"connection_id":162992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:33:45] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:33:45] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:33:45] local.INFO: IMEI packet received {"connection_id":162002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":162002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:33:46] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:33:46] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:33:46] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:33:46] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814976001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787651922000,"timestamp_ms":1787651922000,"timestamp_seconds":1787651922,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b9850"} 
[2026-08-25 15:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814976001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814976001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814976001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:33:46] local.INFO: GPS data processed {"connection_id":162002,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:33:46] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:33:50] local.INFO: TCP Data received {"connection_id":162993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:33:50] local.INFO: Processing buffer {"connection_id":162993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:33:50] local.INFO: IMEI packet received {"connection_id":162993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":162993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:33:51] local.INFO: TCP Data received {"connection_id":162993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:33:51] local.INFO: Processing buffer {"connection_id":162993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:33:51] local.INFO: IMEI packet received {"connection_id":162993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":162993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:33:52] local.INFO: TCP Data received {"connection_id":164375,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:33:52] local.INFO: Processing buffer {"connection_id":164375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:33:52] local.INFO: IMEI packet received {"connection_id":164375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":164375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:33:56] local.INFO: TCP Data received {"connection_id":162993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:33:56] local.INFO: Processing buffer {"connection_id":162993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:33:56] local.INFO: IMEI packet received {"connection_id":162993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":162993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:33:57] local.INFO: TCP Data received {"connection_id":162993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385f70b0012d9e580005598220000900cb2b..."} 
[2026-08-25 15:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385f70b0012d9e580005598220000900cb2b..."} 
[2026-08-25 15:33:57] local.INFO: Processing buffer {"connection_id":162993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385f70b0012d9e580005598220000900cb2b..."} 
[2026-08-25 15:33:57] local.INFO: Packet analysis {"connection_id":162993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385f"} 
[2026-08-25 15:33:57] local.INFO: Extracted packet for processing {"connection_id":162993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385f"} 
[2026-08-25 15:33:57] local.INFO: GPS Element Parsed {"raw_longitude":765351936,"raw_latitude":89752096,"longitude_deg":76.5351936,"latitude_deg":8.9752096,"altitude":9,"angle":203,"satellites":43,"speed":23,"hex_longitude":"2d9e5800","hex_latitude":"05598220","is_valid_coordinates":true} 
[2026-08-25 15:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638956032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123779845074190336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7036522551068676096,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787652174000,"timestamp_ms":1787652174000,"timestamp_seconds":1787652174,"priority":1,"record_length":96,"hex_timestamp":"000001a0385f70b0"} 
[2026-08-25 15:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:33:57] 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-25 15:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 15:33:57] 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-25 15:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638956032001,"66":13461,"118":206,"84":7168,"24":23,"16":123779845074190336,"45":-7036522551068676096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-25 15:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638956032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:33:57] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-25 15:33:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123779845074190336,"km_value":123779845074190.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7036522551068676096,"description":"Unknown IO ID 45"} 
[2026-08-25 15:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638956032001,"power":13461,"unknown_118":206,"unknown_84":7168,"ignition":23,"odometer":null,"unknown_45":-7036522551068676096}} 
[2026-08-25 15:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":162993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:33:57] local.INFO: GPS data processed {"connection_id":162993,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:33:57] local.INFO: Acknowledgment sent {"connection_id":162993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:33:58] local.INFO: TCP Data received {"connection_id":164375,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:33:58] local.INFO: Processing buffer {"connection_id":164375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:33:58] local.INFO: IMEI packet received {"connection_id":164375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":164375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:33:59] local.INFO: TCP Data received {"connection_id":162993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0385f93d8012d9e5300055976e0000700bb2e..."} 
[2026-08-25 15:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385f93d8012d9e5300055976e0000700bb2e..."} 
[2026-08-25 15:33:59] local.INFO: Processing buffer {"connection_id":162993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385f93d8012d9e5300055976e0000700bb2e..."} 
[2026-08-25 15:33:59] local.INFO: Packet analysis {"connection_id":162993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385f"} 
[2026-08-25 15:33:59] local.INFO: Extracted packet for processing {"connection_id":162993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385f"} 
[2026-08-25 15:33:59] local.INFO: GPS Element Parsed {"raw_longitude":765350656,"raw_latitude":89749216,"longitude_deg":76.5350656,"latitude_deg":8.9749216,"altitude":7,"angle":187,"satellites":46,"speed":12,"hex_longitude":"2d9e5300","hex_latitude":"055976e0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638956544001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123779995398045696,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7036874394789863424,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787652183000,"timestamp_ms":1787652183000,"timestamp_seconds":1787652183,"priority":1,"record_length":96,"hex_timestamp":"000001a0385f93d8"} 
[2026-08-25 15: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-25 15:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-25 15:33:59] 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-25 15: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-25 15: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-25 15:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638956544001,"66":13559,"118":206,"84":7168,"24":12,"16":123779995398045696,"45":-7036874394789863424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-25 15:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638956544001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:33:59] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-25 15:33:59] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123779995398045696,"km_value":123779995398045.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7036874394789863424,"description":"Unknown IO ID 45"} 
[2026-08-25 15:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638956544001,"power":13559,"unknown_118":206,"unknown_84":7168,"ignition":12,"odometer":null,"unknown_45":-7036874394789863424}} 
[2026-08-25 15:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":162993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:33:59] local.INFO: GPS data processed {"connection_id":162993,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:33:59] local.INFO: Acknowledgment sent {"connection_id":162993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:33:59] local.INFO: TCP Data received {"connection_id":164375,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:33:59] local.INFO: Processing buffer {"connection_id":164375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b8c98012d196480071ff120003f01402c..."} 
[2026-08-25 15:33:59] local.INFO: Packet analysis {"connection_id":164375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:33:59] local.INFO: Extracted packet for processing {"connection_id":164375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814208001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787651919000,"timestamp_ms":1787651919000,"timestamp_seconds":1787651919,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b8c98"} 
[2026-08-25 15: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-25 15:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814208001,"66":2155,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814208001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:33:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:33:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814208001,"power":2155,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":164375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:34:00] local.INFO: GPS data processed {"connection_id":164375,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:34:00] local.INFO: Acknowledgment sent {"connection_id":164375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:34:11] local.INFO: TCP Data received {"connection_id":161758,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:34:11] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:34:11] local.INFO: IMEI packet received {"connection_id":161758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":161758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:34:16] local.INFO: TCP Data received {"connection_id":161758,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:34:16] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:34:16] local.INFO: IMEI packet received {"connection_id":161758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":161758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:34:17] local.INFO: TCP Data received {"connection_id":161758,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:34:17] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:34:17] local.INFO: Packet analysis {"connection_id":161758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:34:17] local.INFO: Extracted packet for processing {"connection_id":161758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:34:17] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638825728001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787651964000,"timestamp_ms":1787651964000,"timestamp_seconds":1787651964,"priority":1,"record_length":96,"hex_timestamp":"000001a0385c3c60"} 
[2026-08-25 15:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:34:17] 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-25 15:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-25 15:34:17] 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-25 15:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638825728001,"66":26615,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638825728001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:34:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:34:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638825728001,"power":26615,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:34:17] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:34:17] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385b9850012d34c14006aa4820000400e630..."} 
[2026-08-25 15:34:17] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:34:17] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385b"} 
[2026-08-25 15:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638814976001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787651922000,"timestamp_ms":1787651922000,"timestamp_seconds":1787651922,"priority":1,"record_length":96,"hex_timestamp":"000001a0385b9850"} 
[2026-08-25 15:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638814976001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638814976001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638814976001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":161758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:34:17] local.INFO: GPS data processed {"connection_id":161758,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:34:17] local.INFO: Acknowledgment sent {"connection_id":161758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:34:17] local.INFO: GPS data processed {"connection_id":162002,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:34:17] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:34:21] local.INFO: TCP Data received {"connection_id":161758,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:34:21] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0385c3c60012d70c880067fd3a00032011629..."} 
[2026-08-25 15:34:21] local.INFO: Packet analysis {"connection_id":161758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:34:21] local.INFO: Extracted packet for processing {"connection_id":161758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0385c"} 
[2026-08-25 15:34:21] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638825728001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787651964000,"timestamp_ms":1787651964000,"timestamp_seconds":1787651964,"priority":1,"record_length":96,"hex_timestamp":"000001a0385c3c60"} 
[2026-08-25 15:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:34:21] 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-25 15:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-25 15:34: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-25 15:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638825728001,"66":26615,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638825728001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:34:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:34:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638825728001,"power":26615,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":161758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:34:21] local.INFO: GPS data processed {"connection_id":161758,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:34:21] local.INFO: Acknowledgment sent {"connection_id":161758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:34:36] local.INFO: TCP Data received {"connection_id":164375,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:34:36] local.INFO: Processing buffer {"connection_id":164375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:34:36] local.INFO: Packet analysis {"connection_id":164375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:34:36] local.INFO: Extracted packet for processing {"connection_id":164375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":41,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638891264001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787652220000,"timestamp_ms":1787652220000,"timestamp_seconds":1787652220,"priority":1,"record_length":96,"hex_timestamp":"000001a038602460"} 
[2026-08-25 15: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-25 15:34: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-25 15: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":107,"data_length":795,"current_offset":136} 
[2026-08-25 15:34: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-25 15: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-25 15: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-25 15:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638891264001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638891264001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:34:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638891264001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":164375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:34:36] local.INFO: GPS data processed {"connection_id":164375,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:34:36] local.INFO: Acknowledgment sent {"connection_id":164375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:34:39] local.INFO: TCP Data received {"connection_id":162994,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:34:39] local.INFO: Processing buffer {"connection_id":162994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:34:39] local.INFO: IMEI packet received {"connection_id":162994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":162994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:34:41] local.INFO: TCP Data received {"connection_id":162994,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:34:41] local.INFO: Processing buffer {"connection_id":162994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:34:41] local.INFO: IMEI packet received {"connection_id":162994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":162994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:34:41] local.INFO: TCP Data received {"connection_id":161759,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:34:41] local.INFO: Processing buffer {"connection_id":161759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:34:41] local.INFO: IMEI packet received {"connection_id":161759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":161759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:34:44] local.INFO: TCP Data received {"connection_id":162994,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:34:44] local.INFO: Processing buffer {"connection_id":162994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:34:44] local.INFO: IMEI packet received {"connection_id":162994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":162994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:34:45] local.INFO: TCP Data received {"connection_id":162994,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03860c870012d9de20005587a50000100d129..."} 
[2026-08-25 15:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03860c870012d9de20005587a50000100d129..."} 
[2026-08-25 15:34:45] local.INFO: Processing buffer {"connection_id":162994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03860c870012d9de20005587a50000100d129..."} 
[2026-08-25 15:34:45] local.INFO: Packet analysis {"connection_id":162994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:34:45] local.INFO: Extracted packet for processing {"connection_id":162994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:34:45] local.INFO: GPS Element Parsed {"raw_longitude":765321728,"raw_latitude":89684560,"longitude_deg":76.5321728,"latitude_deg":8.968456,"altitude":1,"angle":209,"satellites":41,"speed":50,"hex_longitude":"2d9de200","hex_latitude":"05587a50","is_valid_coordinates":true} 
[2026-08-25 15:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638976768001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123783452846718976,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7064810786243426304,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787652262000,"timestamp_ms":1787652262000,"timestamp_seconds":1787652262,"priority":1,"record_length":96,"hex_timestamp":"000001a03860c870"} 
[2026-08-25 15:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:34:45] 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-25 15:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 15:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638976768001,"66":13624,"162":206,"84":7168,"24":50,"16":123783452846718976,"45":-7064810786243426304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-25 15:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638976768001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:34:45] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 15:34:45] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123783452846718976,"km_value":123783452846718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7064810786243426304,"description":"Unknown IO ID 45"} 
[2026-08-25 15:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638976768001,"power":13624,"unknown_162":206,"unknown_84":7168,"ignition":50,"odometer":null,"unknown_45":-7064810786243426304}} 
[2026-08-25 15:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":162994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:34:45] local.INFO: GPS data processed {"connection_id":162994,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:34:45] local.INFO: Acknowledgment sent {"connection_id":162994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:34:49] local.INFO: TCP Data received {"connection_id":161759,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:34:49] local.INFO: Processing buffer {"connection_id":161759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:34:49] local.INFO: IMEI packet received {"connection_id":161759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":161759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:34:50] local.INFO: TCP Data received {"connection_id":161759,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:34:50] local.INFO: Processing buffer {"connection_id":161759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:34:50] local.INFO: Packet analysis {"connection_id":161759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:34:50] local.INFO: Extracted packet for processing {"connection_id":161759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:34:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 15:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638892032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787652222000,"timestamp_ms":1787652222000,"timestamp_seconds":1787652222,"priority":1,"record_length":96,"hex_timestamp":"000001a038602c30"} 
[2026-08-25 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-25 15:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:34: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-25 15:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638892032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638892032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:34:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638892032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":161759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:34:50] local.INFO: GPS data processed {"connection_id":161759,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:34:50] local.INFO: Acknowledgment sent {"connection_id":161759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:34:53] local.INFO: TCP Data received {"connection_id":162003,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:34:53] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:34:53] local.INFO: IMEI packet received {"connection_id":162003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":162003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:34:57] local.INFO: TCP Data received {"connection_id":162003,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:34:58] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:34:58] local.INFO: IMEI packet received {"connection_id":162003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":162003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:35:03] local.INFO: TCP Data received {"connection_id":164376,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:35:03] local.INFO: Processing buffer {"connection_id":164376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:35:03] local.INFO: IMEI packet received {"connection_id":164376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":164376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:35:05] local.INFO: TCP Data received {"connection_id":164376,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:35:05] local.INFO: Processing buffer {"connection_id":164376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:35:05] local.INFO: IMEI packet received {"connection_id":164376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":164376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:35:11] local.INFO: TCP Data received {"connection_id":164376,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:35:11] local.INFO: Processing buffer {"connection_id":164376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:35:11] local.INFO: IMEI packet received {"connection_id":164376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":164376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:35:13] local.INFO: TCP Data received {"connection_id":164376,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:35:13] local.INFO: Processing buffer {"connection_id":164376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:35:13] local.INFO: Packet analysis {"connection_id":164376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:35:13] local.INFO: Extracted packet for processing {"connection_id":164376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:35:13] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638902784001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787652265000,"timestamp_ms":1787652265000,"timestamp_seconds":1787652265,"priority":1,"record_length":96,"hex_timestamp":"000001a03860d428"} 
[2026-08-25 15: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-25 15:35:13] 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-25 15: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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 15:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638902784001,"66":26473,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638902784001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:35:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:35:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638902784001,"power":26473,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":164376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696461,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:35:13] local.INFO: GPS data processed {"connection_id":164376,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:35:13] local.INFO: Acknowledgment sent {"connection_id":164376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:35:15] local.INFO: TCP Data received {"connection_id":162003,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:35:15] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:35:15] local.INFO: Packet analysis {"connection_id":162003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:35:15] local.INFO: Extracted packet for processing {"connection_id":162003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":41,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638891264001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787652220000,"timestamp_ms":1787652220000,"timestamp_seconds":1787652220,"priority":1,"record_length":96,"hex_timestamp":"000001a038602460"} 
[2026-08-25 15:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:35: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-25 15:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 15:35: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-25 15:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638891264001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638891264001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:35:15] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:35:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638891264001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":162003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:35:15] local.INFO: GPS data processed {"connection_id":162003,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:35:15] local.INFO: Acknowledgment sent {"connection_id":162003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:35:16] local.INFO: TCP Data received {"connection_id":162994,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03860e3c8012d9dcf0005585c58000000d42c..."} 
[2026-08-25 15:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03860e3c8012d9dcf0005585c58000000d42c..."} 
[2026-08-25 15:35:16] local.INFO: Processing buffer {"connection_id":162994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03860e3c8012d9dcf0005585c58000000d42c..."} 
[2026-08-25 15:35:16] local.INFO: Packet analysis {"connection_id":162994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:35:16] local.INFO: Extracted packet for processing {"connection_id":162994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:35:16] local.INFO: GPS Element Parsed {"raw_longitude":765316864,"raw_latitude":89676888,"longitude_deg":76.5316864,"latitude_deg":8.9676888,"altitude":0,"angle":212,"satellites":44,"speed":48,"hex_longitude":"2d9dcf00","hex_latitude":"05585c58","is_valid_coordinates":true} 
[2026-08-25 15:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638979072001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123783895228350464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7070088442059010048,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787652269000,"timestamp_ms":1787652269000,"timestamp_seconds":1787652269,"priority":1,"record_length":96,"hex_timestamp":"000001a03860e3c8"} 
[2026-08-25 15:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 15:35:16] 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-25 15:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638979072001,"66":13656,"162":206,"84":7168,"24":48,"16":123783895228350464,"45":-7070088442059010048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-25 15:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638979072001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:35:16] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 15:35:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123783895228350464,"km_value":123783895228350.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7070088442059010048,"description":"Unknown IO ID 45"} 
[2026-08-25 15:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638979072001,"power":13656,"unknown_162":206,"unknown_84":7168,"ignition":48,"odometer":null,"unknown_45":-7070088442059010048}} 
[2026-08-25 15:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":162994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:35:16] local.INFO: GPS data processed {"connection_id":162994,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:35:16] local.INFO: Acknowledgment sent {"connection_id":162994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:35:24] local.INFO: TCP Data received {"connection_id":161759,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:35:24] local.INFO: Processing buffer {"connection_id":161759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:35:24] local.INFO: Packet analysis {"connection_id":161759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:35:24] local.INFO: Extracted packet for processing {"connection_id":161759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638892032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787652222000,"timestamp_ms":1787652222000,"timestamp_seconds":1787652222,"priority":1,"record_length":96,"hex_timestamp":"000001a038602c30"} 
[2026-08-25 15: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-25 15:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:35:24] 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-25 15:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638892032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638892032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638892032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":161759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:35:24] local.INFO: GPS data processed {"connection_id":161759,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:35:24] local.INFO: Acknowledgment sent {"connection_id":161759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:35:41] local.INFO: TCP Data received {"connection_id":164377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:35:41] local.INFO: Processing buffer {"connection_id":164377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:35:41] local.INFO: IMEI packet received {"connection_id":164377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":164377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:35:44] local.INFO: TCP Data received {"connection_id":164378,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:35:44] local.INFO: Processing buffer {"connection_id":164378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:35:44] local.INFO: IMEI packet received {"connection_id":164378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":164378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:35:45] local.INFO: TCP Data received {"connection_id":164376,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:35:45] local.INFO: Processing buffer {"connection_id":164376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:35:45] local.INFO: Packet analysis {"connection_id":164376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:35:45] local.INFO: Extracted packet for processing {"connection_id":164376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:35:45] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:35: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-25 15:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638902784001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787652265000,"timestamp_ms":1787652265000,"timestamp_seconds":1787652265,"priority":1,"record_length":96,"hex_timestamp":"000001a03860d428"} 
[2026-08-25 15:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:35:45] 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-25 15:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 15:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:35: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-25 15:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638902784001,"66":26473,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638902784001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:35:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:35:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638902784001,"power":26473,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":164376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:35:45] local.INFO: GPS data processed {"connection_id":164376,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:35:45] local.INFO: Acknowledgment sent {"connection_id":164376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:35:46] local.INFO: TCP Data received {"connection_id":164377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:35:46] local.INFO: Processing buffer {"connection_id":164377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:35:46] local.INFO: IMEI packet received {"connection_id":164377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":164377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:35:47] local.INFO: TCP Data received {"connection_id":164377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038610308012d9dbb4005583bb0000000cf2a..."} 
[2026-08-25 15:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038610308012d9dbb4005583bb0000000cf2a..."} 
[2026-08-25 15:35:47] local.INFO: Processing buffer {"connection_id":164377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038610308012d9dbb4005583bb0000000cf2a..."} 
[2026-08-25 15:35:47] local.INFO: Packet analysis {"connection_id":164377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03861"} 
[2026-08-25 15:35:47] local.INFO: Extracted packet for processing {"connection_id":164377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03861"} 
[2026-08-25 15:35:47] local.INFO: GPS Element Parsed {"raw_longitude":765311808,"raw_latitude":89668528,"longitude_deg":76.5311808,"latitude_deg":8.9668528,"altitude":0,"angle":207,"satellites":42,"speed":46,"hex_longitude":"2d9dbb40","hex_latitude":"05583bb0","is_valid_coordinates":true} 
[2026-08-25 15:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638980864001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123784363379785728,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7075436466618476544,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787652277000,"timestamp_ms":1787652277000,"timestamp_seconds":1787652277,"priority":1,"record_length":96,"hex_timestamp":"000001a038610308"} 
[2026-08-25 15:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 15:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638980864001,"66":12765,"162":206,"84":7168,"24":46,"16":123784363379785728,"45":-7075436466618476544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-25 15:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638980864001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:35:47] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 15:35:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123784363379785728,"km_value":123784363379785.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7075436466618476544,"description":"Unknown IO ID 45"} 
[2026-08-25 15:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638980864001,"power":12765,"unknown_162":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-7075436466618476544}} 
[2026-08-25 15:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":164377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:35:47] local.INFO: GPS data processed {"connection_id":164377,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:35:47] local.INFO: Acknowledgment sent {"connection_id":164377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:35:50] local.INFO: TCP Data received {"connection_id":164378,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:35:50] local.INFO: Processing buffer {"connection_id":164378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:35:50] local.INFO: IMEI packet received {"connection_id":164378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":164378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:35:52] local.INFO: TCP Data received {"connection_id":164378,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:35:52] local.INFO: Processing buffer {"connection_id":164378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:35:52] local.INFO: Packet analysis {"connection_id":164378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:35:52] local.INFO: Extracted packet for processing {"connection_id":164378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638892032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787652222000,"timestamp_ms":1787652222000,"timestamp_seconds":1787652222,"priority":1,"record_length":96,"hex_timestamp":"000001a038602c30"} 
[2026-08-25 15: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-25 15:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:35:52] 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-25 15:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638892032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638892032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638892032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":164378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:35:52] local.INFO: GPS data processed {"connection_id":164378,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:35:52] local.INFO: Acknowledgment sent {"connection_id":164378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:35:52] local.INFO: TCP Data received {"connection_id":164379,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:35:52] local.INFO: Processing buffer {"connection_id":164379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:35:52] local.INFO: IMEI packet received {"connection_id":164379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":164379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:35:58] local.INFO: TCP Data received {"connection_id":164379,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:35:58] local.INFO: Processing buffer {"connection_id":164379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:35:58] local.INFO: IMEI packet received {"connection_id":164379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":164379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:36:00] local.INFO: TCP Data received {"connection_id":164379,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:36:00] local.INFO: Processing buffer {"connection_id":164379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:36:00] local.INFO: Packet analysis {"connection_id":164379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:00] local.INFO: Extracted packet for processing {"connection_id":164379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:00] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":41,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638891264001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787652220000,"timestamp_ms":1787652220000,"timestamp_seconds":1787652220,"priority":1,"record_length":96,"hex_timestamp":"000001a038602460"} 
[2026-08-25 15:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:36:00] 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-25 15:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 15:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638891264001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638891264001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638891264001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":164379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:36:00] local.INFO: GPS data processed {"connection_id":164379,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:36:00] local.INFO: Acknowledgment sent {"connection_id":164379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:36:05] local.INFO: TCP Data received {"connection_id":161760,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:36:05] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:36:05] local.INFO: IMEI packet received {"connection_id":161760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":161760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:36:12] local.INFO: TCP Data received {"connection_id":161760,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:36:12] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:36:12] local.INFO: IMEI packet received {"connection_id":161760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":161760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:36:13] local.INFO: TCP Data received {"connection_id":161760,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:36:13] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:36:13] local.INFO: Packet analysis {"connection_id":161760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:13] local.INFO: Extracted packet for processing {"connection_id":161760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:13] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638902784001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787652265000,"timestamp_ms":1787652265000,"timestamp_seconds":1787652265,"priority":1,"record_length":96,"hex_timestamp":"000001a03860d428"} 
[2026-08-25 15: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-25 15:36:13] 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-25 15: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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 15:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638902784001,"66":26473,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638902784001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:36:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:36:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638902784001,"power":26473,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":161760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:36:13] local.INFO: GPS data processed {"connection_id":161760,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:36:13] local.INFO: Acknowledgment sent {"connection_id":161760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:36:18] local.INFO: TCP Data received {"connection_id":164377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038611690012d9db30005582588000000c32e..."} 
[2026-08-25 15:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038611690012d9db30005582588000000c32e..."} 
[2026-08-25 15:36:18] local.INFO: Processing buffer {"connection_id":164377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038611690012d9db30005582588000000c32e..."} 
[2026-08-25 15:36:18] local.INFO: Packet analysis {"connection_id":164377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03861"} 
[2026-08-25 15:36:18] local.INFO: Extracted packet for processing {"connection_id":164377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03861"} 
[2026-08-25 15:36:18] local.INFO: GPS Element Parsed {"raw_longitude":765309696,"raw_latitude":89662856,"longitude_deg":76.5309696,"latitude_deg":8.9662856,"altitude":0,"angle":195,"satellites":46,"speed":49,"hex_longitude":"2d9db300","hex_latitude":"05582588","is_valid_coordinates":true} 
[2026-08-25 15:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638982912001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123784659732529152,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7080995597410652160,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652282000,"timestamp_ms":1787652282000,"timestamp_seconds":1787652282,"priority":1,"record_length":96,"hex_timestamp":"000001a038611690"} 
[2026-08-25 15:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:36: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-25 15:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-25 15:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638982912001,"66":13276,"162":206,"84":7168,"24":49,"16":123784659732529152,"45":-7080995597410652160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-25 15:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638982912001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:36:18] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 15:36:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123784659732529152,"km_value":123784659732529.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7080995597410652160,"description":"Unknown IO ID 45"} 
[2026-08-25 15:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638982912001,"power":13276,"unknown_162":206,"unknown_84":7168,"ignition":49,"odometer":null,"unknown_45":-7080995597410652160}} 
[2026-08-25 15:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":164377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:36:18] local.INFO: GPS data processed {"connection_id":164377,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:36:18] local.INFO: Acknowledgment sent {"connection_id":164377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:36:24] local.INFO: TCP Data received {"connection_id":164378,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:36:24] local.INFO: Processing buffer {"connection_id":164378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:36:24] local.INFO: Packet analysis {"connection_id":164378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:24] local.INFO: Extracted packet for processing {"connection_id":164378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638892032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787652222000,"timestamp_ms":1787652222000,"timestamp_seconds":1787652222,"priority":1,"record_length":96,"hex_timestamp":"000001a038602c30"} 
[2026-08-25 15: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-25 15:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:36:24] 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-25 15:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638892032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638892032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638892032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":164378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:36:24] local.INFO: GPS data processed {"connection_id":164378,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:36:24] local.INFO: Acknowledgment sent {"connection_id":164378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:36:31] local.INFO: TCP Data received {"connection_id":164379,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:36:31] local.INFO: Processing buffer {"connection_id":164379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:36:31] local.INFO: Packet analysis {"connection_id":164379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:31] local.INFO: Extracted packet for processing {"connection_id":164379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":41,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:36: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-25 15:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638891264001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787652220000,"timestamp_ms":1787652220000,"timestamp_seconds":1787652220,"priority":1,"record_length":96,"hex_timestamp":"000001a038602460"} 
[2026-08-25 15:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:36:31] 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-25 15:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 15:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:36: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-25 15:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":164379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":164379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":164379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638891264001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638891264001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:36:32] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638891264001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":164379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:36:32] local.INFO: GPS data processed {"connection_id":164379,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:36:32] local.INFO: Acknowledgment sent {"connection_id":164379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:36:40] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:36:40] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:36:40] local.INFO: IMEI packet received {"connection_id":161761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":161761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:36:40] local.INFO: TCP Data received {"connection_id":164380,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:36:40] local.INFO: Processing buffer {"connection_id":164380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:36:40] local.INFO: IMEI packet received {"connection_id":164380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":164380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:36:45] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:36:45] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:36:45] local.INFO: IMEI packet received {"connection_id":161761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":161761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:36:45] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:36:45] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:36:45] local.INFO: Packet analysis {"connection_id":161761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:45] local.INFO: Extracted packet for processing {"connection_id":161761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638892032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787652222000,"timestamp_ms":1787652222000,"timestamp_seconds":1787652222,"priority":1,"record_length":96,"hex_timestamp":"000001a038602c30"} 
[2026-08-25 15:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638892032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638892032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638892032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":161761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:36:46] local.INFO: GPS data processed {"connection_id":161761,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:36:46] local.INFO: Acknowledgment sent {"connection_id":161761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:36:46] local.INFO: TCP Data received {"connection_id":161760,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:36:46] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:36:46] local.INFO: Packet analysis {"connection_id":161760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:46] local.INFO: Extracted packet for processing {"connection_id":161760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:46] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638902784001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787652265000,"timestamp_ms":1787652265000,"timestamp_seconds":1787652265,"priority":1,"record_length":96,"hex_timestamp":"000001a03860d428"} 
[2026-08-25 15:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:36:46] 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-25 15:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 15:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638902784001,"66":26473,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638902784001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:36:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:36:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638902784001,"power":26473,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":161760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:36:46] local.INFO: GPS data processed {"connection_id":161760,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:36:46] local.INFO: Acknowledgment sent {"connection_id":161760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:36:46] local.INFO: TCP Data received {"connection_id":164380,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:36:46] local.INFO: Processing buffer {"connection_id":164380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:36:46] local.INFO: IMEI packet received {"connection_id":164380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":164380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:36:47] local.INFO: TCP Data received {"connection_id":164380,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386131e8012d9dad40055804f8000000b72d..."} 
[2026-08-25 15:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386131e8012d9dad40055804f8000000b72d..."} 
[2026-08-25 15:36:47] local.INFO: Processing buffer {"connection_id":164380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386131e8012d9dad40055804f8000000b72d..."} 
[2026-08-25 15:36:47] local.INFO: Packet analysis {"connection_id":164380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03861"} 
[2026-08-25 15:36:47] local.INFO: Extracted packet for processing {"connection_id":164380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03861"} 
[2026-08-25 15:36:47] local.INFO: GPS Element Parsed {"raw_longitude":765308224,"raw_latitude":89654520,"longitude_deg":76.5308224,"latitude_deg":8.965452,"altitude":0,"angle":183,"satellites":45,"speed":49,"hex_longitude":"2d9dad40","hex_latitude":"055804f8","is_valid_coordinates":true} 
[2026-08-25 15:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638984192001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123785072049389568,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7083317765969967104,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787652289000,"timestamp_ms":1787652289000,"timestamp_seconds":1787652289,"priority":1,"record_length":96,"hex_timestamp":"000001a0386131e8"} 
[2026-08-25 15:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 15:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638984192001,"66":13646,"162":206,"84":7168,"24":49,"16":123785072049389568,"45":-7083317765969967104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-25 15:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638984192001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:36:47] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 15:36:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123785072049389568,"km_value":123785072049389.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7083317765969967104,"description":"Unknown IO ID 45"} 
[2026-08-25 15:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638984192001,"power":13646,"unknown_162":206,"unknown_84":7168,"ignition":49,"odometer":null,"unknown_45":-7083317765969967104}} 
[2026-08-25 15:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":164380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:36:47] local.INFO: GPS data processed {"connection_id":164380,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:36:47] local.INFO: Acknowledgment sent {"connection_id":164380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:36:50] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:36:50] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:36:50] local.INFO: Packet analysis {"connection_id":161761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:50] local.INFO: Extracted packet for processing {"connection_id":161761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 15:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638892032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787652222000,"timestamp_ms":1787652222000,"timestamp_seconds":1787652222,"priority":1,"record_length":96,"hex_timestamp":"000001a038602c30"} 
[2026-08-25 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-25 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:36: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-25 15:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638892032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638892032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:36:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638892032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":161761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:36:50] local.INFO: GPS data processed {"connection_id":161761,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:36:50] local.INFO: Acknowledgment sent {"connection_id":161761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:36:52] local.INFO: TCP Data received {"connection_id":164381,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:36:52] local.INFO: Processing buffer {"connection_id":164381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:36:52] local.INFO: IMEI packet received {"connection_id":164381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":164381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:36:58] local.INFO: TCP Data received {"connection_id":164381,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:36:58] local.INFO: Processing buffer {"connection_id":164381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:36:58] local.INFO: IMEI packet received {"connection_id":164381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":164381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:36:59] local.INFO: TCP Data received {"connection_id":164381,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:36:59] local.INFO: Processing buffer {"connection_id":164381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:36:59] local.INFO: Packet analysis {"connection_id":164381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:59] local.INFO: Extracted packet for processing {"connection_id":164381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":41,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638891264001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787652220000,"timestamp_ms":1787652220000,"timestamp_seconds":1787652220,"priority":1,"record_length":96,"hex_timestamp":"000001a038602460"} 
[2026-08-25 15:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:36:59] 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-25 15:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 15:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638891264001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638891264001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:36:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638891264001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":164381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:36:59] local.INFO: GPS data processed {"connection_id":164381,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:36:59] local.INFO: Acknowledgment sent {"connection_id":164381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:37:11] local.INFO: TCP Data received {"connection_id":164382,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:37:11] local.INFO: Processing buffer {"connection_id":164382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:37:11] local.INFO: IMEI packet received {"connection_id":164382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":164382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:37:16] local.INFO: TCP Data received {"connection_id":164382,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:37:16] local.INFO: Processing buffer {"connection_id":164382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:37:16] local.INFO: IMEI packet received {"connection_id":164382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":164382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:37:17] local.INFO: TCP Data received {"connection_id":164382,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:37:17] local.INFO: Processing buffer {"connection_id":164382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:37:17] local.INFO: Packet analysis {"connection_id":164382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:37:17] local.INFO: Extracted packet for processing {"connection_id":164382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:37:17] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638902784001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787652265000,"timestamp_ms":1787652265000,"timestamp_seconds":1787652265,"priority":1,"record_length":96,"hex_timestamp":"000001a03860d428"} 
[2026-08-25 15:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:37:17] 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-25 15:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 15:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638902784001,"66":26473,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638902784001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:37:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:37:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638902784001,"power":26473,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":164382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:37:17] local.INFO: GPS data processed {"connection_id":164382,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:37:17] local.INFO: Acknowledgment sent {"connection_id":164382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:37:18] local.INFO: TCP Data received {"connection_id":164380,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038614958012d9daec00557e8d8000000ab2d..."} 
[2026-08-25 15:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038614958012d9daec00557e8d8000000ab2d..."} 
[2026-08-25 15:37:18] local.INFO: Processing buffer {"connection_id":164380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038614958012d9daec00557e8d8000000ab2d..."} 
[2026-08-25 15:37:18] local.INFO: Packet analysis {"connection_id":164380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03861"} 
[2026-08-25 15:37:18] local.INFO: Extracted packet for processing {"connection_id":164380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03861"} 
[2026-08-25 15:37:18] local.INFO: GPS Element Parsed {"raw_longitude":765308608,"raw_latitude":89647320,"longitude_deg":76.5308608,"latitude_deg":8.964732,"altitude":0,"angle":171,"satellites":45,"speed":40,"hex_longitude":"2d9daec0","hex_latitude":"0557e8d8","is_valid_coordinates":true} 
[2026-08-25 15:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638985984001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123785419941740544,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7084936247088187392,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652295000,"timestamp_ms":1787652295000,"timestamp_seconds":1787652295,"priority":1,"record_length":96,"hex_timestamp":"000001a038614958"} 
[2026-08-25 15: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-25 15:37: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-25 15: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-25 15: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-25 15: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-25 15: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-25 15:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638985984001,"66":13298,"162":206,"84":7168,"24":40,"16":123785419941740544,"45":-7084936247088187392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-25 15:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638985984001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:37:18] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 15:37:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123785419941740544,"km_value":123785419941740.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7084936247088187392,"description":"Unknown IO ID 45"} 
[2026-08-25 15:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638985984001,"power":13298,"unknown_162":206,"unknown_84":7168,"ignition":40,"odometer":null,"unknown_45":-7084936247088187392}} 
[2026-08-25 15:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":164380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:37:18] local.INFO: GPS data processed {"connection_id":164380,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:37:18] local.INFO: Acknowledgment sent {"connection_id":164380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:37:21] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:37:21] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:37:21] local.INFO: Packet analysis {"connection_id":161761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:37:21] local.INFO: Extracted packet for processing {"connection_id":161761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 15:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638892032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787652222000,"timestamp_ms":1787652222000,"timestamp_seconds":1787652222,"priority":1,"record_length":96,"hex_timestamp":"000001a038602c30"} 
[2026-08-25 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-25 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:37: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-25 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-25 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-25 15:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:37: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-25 15:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638892032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638892032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:37:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638892032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":161761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:37:21] local.INFO: GPS data processed {"connection_id":161761,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:37:21] local.INFO: Acknowledgment sent {"connection_id":161761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:37:21] local.INFO: TCP Data received {"connection_id":164382,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:37:21] local.INFO: Processing buffer {"connection_id":164382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:37:21] local.INFO: Packet analysis {"connection_id":164382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:37:21] local.INFO: Extracted packet for processing {"connection_id":164382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 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-25 15:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638902784001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787652265000,"timestamp_ms":1787652265000,"timestamp_seconds":1787652265,"priority":1,"record_length":96,"hex_timestamp":"000001a03860d428"} 
[2026-08-25 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-25 15:37:21] 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-25 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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 15:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638902784001,"66":26473,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638902784001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:37:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:37:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638902784001,"power":26473,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":164382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:37:22] local.INFO: GPS data processed {"connection_id":164382,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:37:22] local.INFO: Acknowledgment sent {"connection_id":164382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:37:31] local.INFO: TCP Data received {"connection_id":164381,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:37:31] local.INFO: Processing buffer {"connection_id":164381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:37:31] local.INFO: Packet analysis {"connection_id":164381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:37:31] local.INFO: Extracted packet for processing {"connection_id":164381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":41,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638891264001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787652220000,"timestamp_ms":1787652220000,"timestamp_seconds":1787652220,"priority":1,"record_length":96,"hex_timestamp":"000001a038602460"} 
[2026-08-25 15:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:37:31] 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-25 15:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 15:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638891264001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638891264001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638891264001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":164381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:37:31] local.INFO: GPS data processed {"connection_id":164381,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:37:31] local.INFO: Acknowledgment sent {"connection_id":164381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:37:41] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:37:41] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:37:41] local.INFO: IMEI packet received {"connection_id":162004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":162004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:37:41] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:37:41] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:37:41] local.INFO: IMEI packet received {"connection_id":162004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":162004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:37:42] local.INFO: TCP Data received {"connection_id":162995,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:37:42] local.INFO: Processing buffer {"connection_id":162995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:37:42] local.INFO: IMEI packet received {"connection_id":162995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":162995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:37:44] local.INFO: TCP Data received {"connection_id":162995,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:37:44] local.INFO: Processing buffer {"connection_id":162995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:37:44] local.INFO: IMEI packet received {"connection_id":162995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":162995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:37:45] local.INFO: TCP Data received {"connection_id":162995,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:37:45] local.INFO: Processing buffer {"connection_id":162995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:37:45] local.INFO: Packet analysis {"connection_id":162995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:37:45] local.INFO: Extracted packet for processing {"connection_id":162995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638892032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787652222000,"timestamp_ms":1787652222000,"timestamp_seconds":1787652222,"priority":1,"record_length":96,"hex_timestamp":"000001a038602c30"} 
[2026-08-25 15:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638892032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638892032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638892032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":162995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:37:45] local.INFO: GPS data processed {"connection_id":162995,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:37:45] local.INFO: Acknowledgment sent {"connection_id":162995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:37:46] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:37:46] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:37:46] local.INFO: IMEI packet received {"connection_id":162004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":162004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:37:47] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386187d8012d9db6c00557c6d8000000a82b..."} 
[2026-08-25 15:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386187d8012d9db6c00557c6d8000000a82b..."} 
[2026-08-25 15:37:47] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386187d8012d9db6c00557c6d8000000a82b..."} 
[2026-08-25 15:37:47] local.INFO: Packet analysis {"connection_id":162004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03861"} 
[2026-08-25 15:37:47] local.INFO: Extracted packet for processing {"connection_id":162004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03861"} 
[2026-08-25 15:37:47] local.INFO: GPS Element Parsed {"raw_longitude":765310656,"raw_latitude":89638616,"longitude_deg":76.5310656,"latitude_deg":8.9638616,"altitude":0,"angle":168,"satellites":43,"speed":8,"hex_longitude":"2d9db6c0","hex_latitude":"0557c6d8","is_valid_coordinates":true} 
[2026-08-25 15:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638987520001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123785853733437440,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7084514034624964608,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787652311000,"timestamp_ms":1787652311000,"timestamp_seconds":1787652311,"priority":1,"record_length":96,"hex_timestamp":"000001a0386187d8"} 
[2026-08-25 15:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-25 15:37:47] 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-25 15:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638987520001,"66":13276,"162":206,"84":7168,"24":8,"16":123785853733437440,"45":-7084514034624964608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-25 15:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638987520001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:37:47] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 15:37:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123785853733437440,"km_value":123785853733437.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7084514034624964608,"description":"Unknown IO ID 45"} 
[2026-08-25 15:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638987520001,"power":13276,"unknown_162":206,"unknown_84":7168,"ignition":8,"odometer":null,"unknown_45":-7084514034624964608}} 
[2026-08-25 15:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":162004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:37:47] local.INFO: GPS data processed {"connection_id":162004,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:37:47] local.INFO: Acknowledgment sent {"connection_id":162004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:37:51] local.INFO: TCP Data received {"connection_id":162995,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:37:51] local.INFO: Processing buffer {"connection_id":162995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:37:51] local.INFO: Packet analysis {"connection_id":162995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:37:51] local.INFO: Extracted packet for processing {"connection_id":162995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638892032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787652222000,"timestamp_ms":1787652222000,"timestamp_seconds":1787652222,"priority":1,"record_length":96,"hex_timestamp":"000001a038602c30"} 
[2026-08-25 15: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-25 15:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:37: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-25 15:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638892032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638892032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638892032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":162995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:37:51] local.INFO: GPS data processed {"connection_id":162995,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:37:51] local.INFO: Acknowledgment sent {"connection_id":162995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:37:57] local.INFO: TCP Data received {"connection_id":164383,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:37:57] local.INFO: Processing buffer {"connection_id":164383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:37:57] local.INFO: IMEI packet received {"connection_id":164383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":164383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:38:02] local.INFO: TCP Data received {"connection_id":164383,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:38:02] local.INFO: Processing buffer {"connection_id":164383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:38:02] local.INFO: IMEI packet received {"connection_id":164383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":164383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:38:04] local.INFO: TCP Data received {"connection_id":164383,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:38:04] local.INFO: Processing buffer {"connection_id":164383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:38:04] local.INFO: Packet analysis {"connection_id":164383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:38:04] local.INFO: Extracted packet for processing {"connection_id":164383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":41,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638891264001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787652220000,"timestamp_ms":1787652220000,"timestamp_seconds":1787652220,"priority":1,"record_length":96,"hex_timestamp":"000001a038602460"} 
[2026-08-25 15: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-25 15:38:04] 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-25 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 15:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15: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-25 15: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-25 15:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638891264001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638891264001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:38:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638891264001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":164383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:38:04] local.INFO: GPS data processed {"connection_id":164383,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:38:04] local.INFO: Acknowledgment sent {"connection_id":164383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:38:06] local.INFO: TCP Data received {"connection_id":164384,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:38:06] local.INFO: Processing buffer {"connection_id":164384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:38:06] local.INFO: IMEI packet received {"connection_id":164384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":164384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:38:08] local.INFO: TCP Data received {"connection_id":164383,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:38:08] local.INFO: Processing buffer {"connection_id":164383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:38:08] local.INFO: Packet analysis {"connection_id":164383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:38:08] local.INFO: Extracted packet for processing {"connection_id":164383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":41,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638891264001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787652220000,"timestamp_ms":1787652220000,"timestamp_seconds":1787652220,"priority":1,"record_length":96,"hex_timestamp":"000001a038602460"} 
[2026-08-25 15:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:38:08] 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-25 15:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 15:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638891264001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638891264001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:38:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:38:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638891264001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":164383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:38:08] local.INFO: GPS data processed {"connection_id":164383,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:38:08] local.INFO: Acknowledgment sent {"connection_id":164383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:38:10] local.INFO: TCP Data received {"connection_id":164384,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:38:10] local.INFO: Processing buffer {"connection_id":164384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:38:10] local.INFO: IMEI packet received {"connection_id":164384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":164384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:38:12] local.INFO: TCP Data received {"connection_id":164384,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:38:12] local.INFO: Processing buffer {"connection_id":164384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:38:12] local.INFO: Packet analysis {"connection_id":164384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:38:12] local.INFO: Extracted packet for processing {"connection_id":164384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:38:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638902784001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787652265000,"timestamp_ms":1787652265000,"timestamp_seconds":1787652265,"priority":1,"record_length":96,"hex_timestamp":"000001a03860d428"} 
[2026-08-25 15:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 15:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638902784001,"66":26473,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638902784001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:38:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:38:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638902784001,"power":26473,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":164384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696488,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:38:12] local.INFO: GPS data processed {"connection_id":164384,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:38:12] local.INFO: Acknowledgment sent {"connection_id":164384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:38:18] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038641c00012d9e3900055660280009009e2c..."} 
[2026-08-25 15:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038641c00012d9e3900055660280009009e2c..."} 
[2026-08-25 15:38:18] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038641c00012d9e3900055660280009009e2c..."} 
[2026-08-25 15:38:18] local.INFO: Packet analysis {"connection_id":162004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:38:18] local.INFO: Extracted packet for processing {"connection_id":162004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:38:18] local.INFO: GPS Element Parsed {"raw_longitude":765344000,"raw_latitude":89546792,"longitude_deg":76.5344,"latitude_deg":8.9546792,"altitude":9,"angle":158,"satellites":44,"speed":60,"hex_longitude":"2d9e3900","hex_latitude":"05566028","is_valid_coordinates":true} 
[2026-08-25 15:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639033344001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123790603967266816,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7049259293815568384,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652480000,"timestamp_ms":1787652480000,"timestamp_seconds":1787652480,"priority":1,"record_length":96,"hex_timestamp":"000001a038641c00"} 
[2026-08-25 15:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:38: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-25 15:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-25 15:38: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-25 15:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639033344001,"66":13624,"179":206,"84":7168,"24":60,"16":123790603967266816,"45":-7049259293815568384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-25 15:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639033344001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:38:18] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-25 15:38:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123790603967266816,"km_value":123790603967266.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7049259293815568384,"description":"Unknown IO ID 45"} 
[2026-08-25 15:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639033344001,"power":13624,"unknown_179":206,"unknown_84":7168,"ignition":60,"odometer":null,"unknown_45":-7049259293815568384}} 
[2026-08-25 15:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":162004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:38:18] local.INFO: GPS data processed {"connection_id":162004,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:38:18] local.INFO: Acknowledgment sent {"connection_id":162004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:38:22] local.INFO: TCP Data received {"connection_id":162995,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:38:22] local.INFO: Processing buffer {"connection_id":162995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:38:22] local.INFO: Packet analysis {"connection_id":162995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:38:22] local.INFO: Extracted packet for processing {"connection_id":162995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:38:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638892032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787652222000,"timestamp_ms":1787652222000,"timestamp_seconds":1787652222,"priority":1,"record_length":96,"hex_timestamp":"000001a038602c30"} 
[2026-08-25 15: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-25 15:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638892032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638892032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:38:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638892032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":162995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:38:22] local.INFO: GPS data processed {"connection_id":162995,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:38:22] local.INFO: Acknowledgment sent {"connection_id":162995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:38:40] local.INFO: TCP Data received {"connection_id":161762,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:38:40] local.INFO: Processing buffer {"connection_id":161762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:38:40] local.INFO: IMEI packet received {"connection_id":161762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":161762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:38:44] local.INFO: TCP Data received {"connection_id":164384,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:38:44] local.INFO: Processing buffer {"connection_id":164384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:38:44] local.INFO: Packet analysis {"connection_id":164384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:38:44] local.INFO: Extracted packet for processing {"connection_id":164384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:38:44] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638902784001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787652265000,"timestamp_ms":1787652265000,"timestamp_seconds":1787652265,"priority":1,"record_length":96,"hex_timestamp":"000001a03860d428"} 
[2026-08-25 15:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:38:44] 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-25 15:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 15:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638902784001,"66":26473,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638902784001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:38:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:38:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638902784001,"power":26473,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":164384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696491,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:38:44] local.INFO: GPS data processed {"connection_id":164384,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:38:44] local.INFO: Acknowledgment sent {"connection_id":164384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:38:45] local.INFO: TCP Data received {"connection_id":164385,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:38:45] local.INFO: Processing buffer {"connection_id":164385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:38:45] local.INFO: IMEI packet received {"connection_id":164385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":164385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:38:46] local.INFO: TCP Data received {"connection_id":161762,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:38:46] local.INFO: Processing buffer {"connection_id":161762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:38:46] local.INFO: IMEI packet received {"connection_id":161762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":161762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:38:47] local.INFO: TCP Data received {"connection_id":161762,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038643370012d9e45c005563f18000900a02b..."} 
[2026-08-25 15:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038643370012d9e45c005563f18000900a02b..."} 
[2026-08-25 15:38:47] local.INFO: Processing buffer {"connection_id":161762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038643370012d9e45c005563f18000900a02b..."} 
[2026-08-25 15:38:47] local.INFO: Packet analysis {"connection_id":161762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:38:47] local.INFO: Extracted packet for processing {"connection_id":161762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:38:47] local.INFO: GPS Element Parsed {"raw_longitude":765347264,"raw_latitude":89538328,"longitude_deg":76.5347264,"latitude_deg":8.9538328,"altitude":9,"angle":160,"satellites":43,"speed":56,"hex_longitude":"2d9e45c0","hex_latitude":"05563f18","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639034880001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123791046348898304,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7045600119120451584,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787652486000,"timestamp_ms":1787652486000,"timestamp_seconds":1787652486,"priority":1,"record_length":96,"hex_timestamp":"000001a038643370"} 
[2026-08-25 15: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-25 15:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 15:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639034880001,"66":13352,"229":206,"84":7168,"24":56,"16":123791046348898304,"45":-7045600119120451584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,84,24,16,45]} 
[2026-08-25 15:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639034880001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:38:47] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-25 15:38:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123791046348898304,"km_value":123791046348898.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7045600119120451584,"description":"Unknown IO ID 45"} 
[2026-08-25 15:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639034880001,"power":13352,"unknown_229":206,"unknown_84":7168,"ignition":56,"odometer":null,"unknown_45":-7045600119120451584}} 
[2026-08-25 15:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":161762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:38:47] local.INFO: GPS data processed {"connection_id":161762,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:38:47] local.INFO: Acknowledgment sent {"connection_id":161762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:38:50] local.INFO: TCP Data received {"connection_id":164385,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:38:50] local.INFO: Processing buffer {"connection_id":164385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:38:50] local.INFO: IMEI packet received {"connection_id":164385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":164385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:38:50] local.INFO: TCP Data received {"connection_id":164385,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:38:50] local.INFO: Processing buffer {"connection_id":164385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:38:50] local.INFO: Packet analysis {"connection_id":164385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:38:50] local.INFO: Extracted packet for processing {"connection_id":164385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:38:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638892032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787652222000,"timestamp_ms":1787652222000,"timestamp_seconds":1787652222,"priority":1,"record_length":96,"hex_timestamp":"000001a038602c30"} 
[2026-08-25 15:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:38: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-25 15:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638892032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638892032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:38:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638892032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":164385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:38:50] local.INFO: GPS data processed {"connection_id":164385,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:38:50] local.INFO: Acknowledgment sent {"connection_id":164385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:38:53] local.INFO: TCP Data received {"connection_id":162996,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:38:53] local.INFO: Processing buffer {"connection_id":162996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:38:53] local.INFO: IMEI packet received {"connection_id":162996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":162996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:38:57] local.INFO: TCP Data received {"connection_id":162996,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:38:57] local.INFO: Processing buffer {"connection_id":162996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:38:57] local.INFO: IMEI packet received {"connection_id":162996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":162996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:39:00] local.INFO: TCP Data received {"connection_id":162996,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:39:00] local.INFO: Processing buffer {"connection_id":162996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602460012d196480071ff120003f014029..."} 
[2026-08-25 15:39:00] local.INFO: Packet analysis {"connection_id":162996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:39:00] local.INFO: Extracted packet for processing {"connection_id":162996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":41,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638891264001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787652220000,"timestamp_ms":1787652220000,"timestamp_seconds":1787652220,"priority":1,"record_length":96,"hex_timestamp":"000001a038602460"} 
[2026-08-25 15: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-25 15:39:00] 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-25 15:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 15:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15: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-25 15: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-25 15:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638891264001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638891264001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:39:00] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:39:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638891264001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":162996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:39:00] local.INFO: GPS data processed {"connection_id":162996,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:39:00] local.INFO: Acknowledgment sent {"connection_id":162996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:39:05] local.INFO: TCP Data received {"connection_id":162005,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:39:05] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:39:05] local.INFO: IMEI packet received {"connection_id":162005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":162005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:39:11] local.INFO: TCP Data received {"connection_id":162005,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:39:11] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:39:11] local.INFO: IMEI packet received {"connection_id":162005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":162005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:39:18] local.INFO: TCP Data received {"connection_id":161762,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038644ec8012d9e510005561c90000800a32b..."} 
[2026-08-25 15:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038644ec8012d9e510005561c90000800a32b..."} 
[2026-08-25 15:39:18] local.INFO: Processing buffer {"connection_id":161762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038644ec8012d9e510005561c90000800a32b..."} 
[2026-08-25 15:39:18] local.INFO: Packet analysis {"connection_id":161762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:39:18] local.INFO: Extracted packet for processing {"connection_id":161762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:39:18] local.INFO: GPS Element Parsed {"raw_longitude":765350144,"raw_latitude":89529488,"longitude_deg":76.5350144,"latitude_deg":8.9529488,"altitude":8,"angle":163,"satellites":43,"speed":48,"hex_longitude":"2d9e5100","hex_latitude":"05561c90","is_valid_coordinates":true} 
[2026-08-25 15:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639036416001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123791493025497088,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042011313169557504,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652493000,"timestamp_ms":1787652493000,"timestamp_seconds":1787652493,"priority":1,"record_length":96,"hex_timestamp":"000001a038644ec8"} 
[2026-08-25 15:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:39: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-25 15:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-25 15:39: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-25 15:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639036416001,"66":13526,"229":206,"84":7168,"24":48,"16":123791493025497088,"45":-7042011313169557504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,84,24,16,45]} 
[2026-08-25 15:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639036416001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:39:18] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-25 15:39:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123791493025497088,"km_value":123791493025497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042011313169557504,"description":"Unknown IO ID 45"} 
[2026-08-25 15:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639036416001,"power":13526,"unknown_229":206,"unknown_84":7168,"ignition":48,"odometer":null,"unknown_45":-7042011313169557504}} 
[2026-08-25 15:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":161762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:39:18] local.INFO: GPS data processed {"connection_id":161762,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:39:18] local.INFO: Acknowledgment sent {"connection_id":161762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:39:22] local.INFO: TCP Data received {"connection_id":162005,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:39:22] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03860d428012d70c880067fd3a00032011629..."} 
[2026-08-25 15:39:22] local.INFO: Packet analysis {"connection_id":162005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:39:22] local.INFO: Extracted packet for processing {"connection_id":162005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:39:22] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638902784001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787652265000,"timestamp_ms":1787652265000,"timestamp_seconds":1787652265,"priority":1,"record_length":96,"hex_timestamp":"000001a03860d428"} 
[2026-08-25 15: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-25 15:39:22] 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-25 15: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":103,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 15:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2936,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638902784001,"66":26473,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638902784001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:39:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:39:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638902784001,"power":26473,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":162005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:39:23] local.INFO: GPS data processed {"connection_id":162005,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:39:23] local.INFO: Acknowledgment sent {"connection_id":162005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:39:29] local.INFO: TCP Data received {"connection_id":164385,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:39:29] local.INFO: Processing buffer {"connection_id":164385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038602c30012d34c14006aa4820000800e62f..."} 
[2026-08-25 15:39:29] local.INFO: Packet analysis {"connection_id":164385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:39:29] local.INFO: Extracted packet for processing {"connection_id":164385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03860"} 
[2026-08-25 15:39:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638892032001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787652222000,"timestamp_ms":1787652222000,"timestamp_seconds":1787652222,"priority":1,"record_length":96,"hex_timestamp":"000001a038602c30"} 
[2026-08-25 15:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638892032001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638892032001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:39:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638892032001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":164385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:39:29] local.INFO: GPS data processed {"connection_id":164385,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:39:29] local.INFO: Acknowledgment sent {"connection_id":164385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:39:31] local.INFO: TCP Data received {"connection_id":162996,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:39:31] local.INFO: Processing buffer {"connection_id":162996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:39:31] local.INFO: Packet analysis {"connection_id":162996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:39:31] local.INFO: Extracted packet for processing {"connection_id":162996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968320001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787652521000,"timestamp_ms":1787652521000,"timestamp_seconds":1787652521,"priority":1,"record_length":96,"hex_timestamp":"000001a03864bc28"} 
[2026-08-25 15:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:39:31] 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-25 15:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968320001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968320001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968320001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":162996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:39:31] local.INFO: GPS data processed {"connection_id":162996,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:39:31] local.INFO: Acknowledgment sent {"connection_id":162996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:39:40] local.INFO: TCP Data received {"connection_id":164386,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:39:40] local.INFO: Processing buffer {"connection_id":164386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:39:40] local.INFO: IMEI packet received {"connection_id":164386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":164386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:39:41] local.INFO: TCP Data received {"connection_id":162006,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:39:41] local.INFO: Processing buffer {"connection_id":162006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:39:41] local.INFO: IMEI packet received {"connection_id":162006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":162006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:39:46] local.INFO: TCP Data received {"connection_id":162006,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:39:46] local.INFO: Processing buffer {"connection_id":162006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:39:46] local.INFO: IMEI packet received {"connection_id":162006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":162006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:39:47] local.INFO: TCP Data received {"connection_id":162006,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038646e08012d9e5b400555f770000700a62d..."} 
[2026-08-25 15:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038646e08012d9e5b400555f770000700a62d..."} 
[2026-08-25 15:39:47] local.INFO: Processing buffer {"connection_id":162006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038646e08012d9e5b400555f770000700a62d..."} 
[2026-08-25 15:39:47] local.INFO: Packet analysis {"connection_id":162006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:39:47] local.INFO: Extracted packet for processing {"connection_id":162006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:39:47] local.INFO: GPS Element Parsed {"raw_longitude":765352768,"raw_latitude":89519984,"longitude_deg":76.5352768,"latitude_deg":8.9519984,"altitude":7,"angle":166,"satellites":45,"speed":46,"hex_longitude":"2d9e5b40","hex_latitude":"0555f770","is_valid_coordinates":true} 
[2026-08-25 15:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639038208001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123791974061834240,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7038844719683825664,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787652501000,"timestamp_ms":1787652501000,"timestamp_seconds":1787652501,"priority":1,"record_length":96,"hex_timestamp":"000001a038646e08"} 
[2026-08-25 15:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 15:39:47] 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-25 15:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639038208001,"66":13428,"178":206,"84":7168,"24":46,"16":123791974061834240,"45":-7038844719683825664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,84,24,16,45]} 
[2026-08-25 15:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639038208001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:39:47] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-25 15:39:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123791974061834240,"km_value":123791974061834.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7038844719683825664,"description":"Unknown IO ID 45"} 
[2026-08-25 15:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639038208001,"power":13428,"unknown_178":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-7038844719683825664}} 
[2026-08-25 15:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":162006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:39:47] local.INFO: GPS data processed {"connection_id":162006,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:39:47] local.INFO: Acknowledgment sent {"connection_id":162006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:39:48] local.INFO: TCP Data received {"connection_id":164386,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:39:48] local.INFO: Processing buffer {"connection_id":164386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:39:48] local.INFO: IMEI packet received {"connection_id":164386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":164386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:39:49] local.INFO: TCP Data received {"connection_id":164386,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:39:49] local.INFO: Processing buffer {"connection_id":164386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:39:49] local.INFO: Packet analysis {"connection_id":164386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:39:49] local.INFO: Extracted packet for processing {"connection_id":164386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968832001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787652523000,"timestamp_ms":1787652523000,"timestamp_seconds":1787652523,"priority":1,"record_length":96,"hex_timestamp":"000001a03864c3f8"} 
[2026-08-25 15:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 15:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:39: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-25 15:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968832001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968832001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:39:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968832001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":164386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:39:49] local.INFO: GPS data processed {"connection_id":164386,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:39:49] local.INFO: Acknowledgment sent {"connection_id":164386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:39:53] local.INFO: TCP Data received {"connection_id":162007,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:39:53] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:39:53] local.INFO: IMEI packet received {"connection_id":162007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":162007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:39:57] local.INFO: TCP Data received {"connection_id":162007,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:39:57] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:39:57] local.INFO: IMEI packet received {"connection_id":162007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":162007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:40:01] local.INFO: TCP Data received {"connection_id":162007,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:40:01] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:40:01] local.INFO: Packet analysis {"connection_id":162007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:40:01] local.INFO: Extracted packet for processing {"connection_id":162007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:40:01] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968320001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787652521000,"timestamp_ms":1787652521000,"timestamp_seconds":1787652521,"priority":1,"record_length":96,"hex_timestamp":"000001a03864bc28"} 
[2026-08-25 15:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:40:01] 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-25 15:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968320001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968320001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:40:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:40:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968320001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":162007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:40:01] local.INFO: GPS data processed {"connection_id":162007,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:40:01] local.INFO: Acknowledgment sent {"connection_id":162007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:40:11] local.INFO: TCP Data received {"connection_id":162997,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:40:11] local.INFO: Processing buffer {"connection_id":162997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:40:11] local.INFO: IMEI packet received {"connection_id":162997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":162997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:40:16] local.INFO: TCP Data received {"connection_id":162997,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:40:16] local.INFO: Processing buffer {"connection_id":162997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:40:16] local.INFO: IMEI packet received {"connection_id":162997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":162997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:40:17] local.INFO: TCP Data received {"connection_id":162997,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:40:17] local.INFO: Processing buffer {"connection_id":162997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:40:17] local.INFO: Packet analysis {"connection_id":162997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:40:17] local.INFO: Extracted packet for processing {"connection_id":162997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:40:17] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638979840001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787652566000,"timestamp_ms":1787652566000,"timestamp_seconds":1787652566,"priority":1,"record_length":96,"hex_timestamp":"000001a038656bf0"} 
[2026-08-25 15:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:40:17] 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-25 15:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 15:40:17] 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-25 15:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638979840001,"66":26430,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638979840001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:40:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:40:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638979840001,"power":26430,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":162997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:40:17] local.INFO: GPS data processed {"connection_id":162997,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:40:17] local.INFO: Acknowledgment sent {"connection_id":162997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:40:18] local.INFO: TCP Data received {"connection_id":162006,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03865ecd8012d9f110005544ec80000007c2b..."} 
[2026-08-25 15:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03865ecd8012d9f110005544ec80000007c2b..."} 
[2026-08-25 15:40:18] local.INFO: Processing buffer {"connection_id":162006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03865ecd8012d9f110005544ec80000007c2b..."} 
[2026-08-25 15:40:18] local.INFO: Packet analysis {"connection_id":162006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:40:18] local.INFO: Extracted packet for processing {"connection_id":162006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:40:18] local.INFO: GPS Element Parsed {"raw_longitude":765399296,"raw_latitude":89411272,"longitude_deg":76.5399296,"latitude_deg":8.9411272,"altitude":0,"angle":124,"satellites":43,"speed":48,"hex_longitude":"2d9f1100","hex_latitude":"05544ec8","is_valid_coordinates":true} 
[2026-08-25 15:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639063296001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123797823807291392,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6993316142229544960,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652599000,"timestamp_ms":1787652599000,"timestamp_seconds":1787652599,"priority":1,"record_length":96,"hex_timestamp":"000001a03865ecd8"} 
[2026-08-25 15:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 15:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639063296001,"66":12906,"196":206,"84":7168,"24":48,"16":123797823807291392,"45":-6993316142229544960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-25 15:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639063296001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:40:18] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-25 15:40:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123797823807291392,"km_value":123797823807291.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6993316142229544960,"description":"Unknown IO ID 45"} 
[2026-08-25 15:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639063296001,"power":12906,"unknown_196":206,"unknown_84":7168,"ignition":48,"odometer":null,"unknown_45":-6993316142229544960}} 
[2026-08-25 15:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":162006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:40:18] local.INFO: GPS data processed {"connection_id":162006,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:40:18] local.INFO: Acknowledgment sent {"connection_id":162006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:40:21] local.INFO: TCP Data received {"connection_id":164386,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:40:21] local.INFO: Processing buffer {"connection_id":164386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:40:21] local.INFO: Packet analysis {"connection_id":164386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:40:21] local.INFO: Extracted packet for processing {"connection_id":164386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:40:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 15:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968832001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787652523000,"timestamp_ms":1787652523000,"timestamp_seconds":1787652523,"priority":1,"record_length":96,"hex_timestamp":"000001a03864c3f8"} 
[2026-08-25 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-25 15:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 15:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968832001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968832001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:40:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968832001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":164386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:40:21] local.INFO: GPS data processed {"connection_id":164386,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:40:21] local.INFO: Acknowledgment sent {"connection_id":164386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:40:21] local.INFO: TCP Data received {"connection_id":162997,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:40:21] local.INFO: Processing buffer {"connection_id":162997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:40:21] local.INFO: Packet analysis {"connection_id":162997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:40:21] local.INFO: Extracted packet for processing {"connection_id":162997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:40:21] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 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-25 15:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638979840001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787652566000,"timestamp_ms":1787652566000,"timestamp_seconds":1787652566,"priority":1,"record_length":96,"hex_timestamp":"000001a038656bf0"} 
[2026-08-25 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-25 15:40:21] 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-25 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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 15:40: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-25 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-25 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-25 15:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638979840001,"66":26430,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638979840001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:40:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:40:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638979840001,"power":26430,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":162997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696505,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:40:21] local.INFO: GPS data processed {"connection_id":162997,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:40:21] local.INFO: Acknowledgment sent {"connection_id":162997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:40:35] local.INFO: TCP Data received {"connection_id":162007,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:40:35] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:40:35] local.INFO: Packet analysis {"connection_id":162007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:40:35] local.INFO: Extracted packet for processing {"connection_id":162007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:40:35] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968320001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787652521000,"timestamp_ms":1787652521000,"timestamp_seconds":1787652521,"priority":1,"record_length":96,"hex_timestamp":"000001a03864bc28"} 
[2026-08-25 15: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-25 15:40:35] 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-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:40: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-25 15: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-25 15: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-25 15:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968320001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968320001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:40:35] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:40:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968320001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":162007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:40:35] local.INFO: GPS data processed {"connection_id":162007,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:40:35] local.INFO: Acknowledgment sent {"connection_id":162007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:40:45] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:40:45] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:40:45] local.INFO: IMEI packet received {"connection_id":161763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":161763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:40:46] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:40:46] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:40:46] local.INFO: IMEI packet received {"connection_id":161764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":161764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:40:50] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:40:50] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:40:50] local.INFO: IMEI packet received {"connection_id":161763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":161763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:40:50] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:40:50] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:40:50] local.INFO: Packet analysis {"connection_id":161763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:40:50] local.INFO: Extracted packet for processing {"connection_id":161763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:40:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 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-25 15:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968832001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787652523000,"timestamp_ms":1787652523000,"timestamp_seconds":1787652523,"priority":1,"record_length":96,"hex_timestamp":"000001a03864c3f8"} 
[2026-08-25 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-25 15:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 15:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 15:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:40: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-25 15:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968832001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968832001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:40:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968832001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":161763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:40:50] local.INFO: GPS data processed {"connection_id":161763,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:40:50] local.INFO: Acknowledgment sent {"connection_id":161763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:40:52] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:40:52] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:40:52] local.INFO: IMEI packet received {"connection_id":161764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":161764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:40:53] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038660830012d9f310005543c80000100752c..."} 
[2026-08-25 15:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038660830012d9f310005543c80000100752c..."} 
[2026-08-25 15:40:53] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038660830012d9f310005543c80000100752c..."} 
[2026-08-25 15:40:53] local.INFO: Packet analysis {"connection_id":161764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03866"} 
[2026-08-25 15:40:53] local.INFO: Extracted packet for processing {"connection_id":161764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03866"} 
[2026-08-25 15:40:53] local.INFO: GPS Element Parsed {"raw_longitude":765407488,"raw_latitude":89406592,"longitude_deg":76.5407488,"latitude_deg":8.9406592,"altitude":1,"angle":117,"satellites":44,"speed":58,"hex_longitude":"2d9f3100","hex_latitude":"05543c80","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639065344001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123798279073824768,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6984801524185643008,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787652606000,"timestamp_ms":1787652606000,"timestamp_seconds":1787652606,"priority":1,"record_length":96,"hex_timestamp":"000001a038660830"} 
[2026-08-25 15: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-25 15:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-25 15:40:53] 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-25 15: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-25 15: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-25 15:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639065344001,"66":12765,"196":206,"84":7168,"24":58,"16":123798279073824768,"45":-6984801524185643008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-25 15:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639065344001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:40:53] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-25 15:40:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123798279073824768,"km_value":123798279073824.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6984801524185643008,"description":"Unknown IO ID 45"} 
[2026-08-25 15:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639065344001,"power":12765,"unknown_196":206,"unknown_84":7168,"ignition":58,"odometer":null,"unknown_45":-6984801524185643008}} 
[2026-08-25 15:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":161764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:40:53] local.INFO: GPS data processed {"connection_id":161764,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:40:53] local.INFO: Acknowledgment sent {"connection_id":161764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:40:55] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:40:55] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:40:55] local.INFO: Packet analysis {"connection_id":161763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:40:55] local.INFO: Extracted packet for processing {"connection_id":161763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:40:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968832001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787652523000,"timestamp_ms":1787652523000,"timestamp_seconds":1787652523,"priority":1,"record_length":96,"hex_timestamp":"000001a03864c3f8"} 
[2026-08-25 15:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 15:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:40:55] 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-25 15:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968832001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968832001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:40:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968832001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":161763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:40:55] local.INFO: GPS data processed {"connection_id":161763,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:40:55] local.INFO: Acknowledgment sent {"connection_id":161763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:40:57] local.INFO: TCP Data received {"connection_id":161765,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:40:57] local.INFO: Processing buffer {"connection_id":161765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:40:57] local.INFO: IMEI packet received {"connection_id":161765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":161765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:41:05] local.INFO: TCP Data received {"connection_id":161765,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:41:05] local.INFO: Processing buffer {"connection_id":161765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:41:05] local.INFO: IMEI packet received {"connection_id":161765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":161765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:41:05] local.INFO: TCP Data received {"connection_id":164387,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:41:05] local.INFO: Processing buffer {"connection_id":164387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:41:05] local.INFO: IMEI packet received {"connection_id":164387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":164387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:41:07] local.INFO: TCP Data received {"connection_id":161765,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:41:07] local.INFO: Processing buffer {"connection_id":161765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:41:07] local.INFO: Packet analysis {"connection_id":161765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:41:07] local.INFO: Extracted packet for processing {"connection_id":161765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968320001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787652521000,"timestamp_ms":1787652521000,"timestamp_seconds":1787652521,"priority":1,"record_length":96,"hex_timestamp":"000001a03864bc28"} 
[2026-08-25 15: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-25 15:41:07] 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-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:41: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-25 15: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-25 15: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-25 15:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968320001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968320001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:41:07] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968320001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":161765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:41:07] local.INFO: GPS data processed {"connection_id":161765,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:41:07] local.INFO: Acknowledgment sent {"connection_id":161765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:41:10] local.INFO: TCP Data received {"connection_id":164387,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:41:10] local.INFO: Processing buffer {"connection_id":164387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:41:10] local.INFO: IMEI packet received {"connection_id":164387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":164387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:41:12] local.INFO: TCP Data received {"connection_id":164387,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:41:12] local.INFO: Processing buffer {"connection_id":164387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:41:12] local.INFO: Packet analysis {"connection_id":164387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:41:12] local.INFO: Extracted packet for processing {"connection_id":164387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:41:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638979840001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787652566000,"timestamp_ms":1787652566000,"timestamp_seconds":1787652566,"priority":1,"record_length":96,"hex_timestamp":"000001a038656bf0"} 
[2026-08-25 15: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-25 15:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 15:41:12] 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-25 15: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-25 15: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-25 15:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638979840001,"66":26430,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638979840001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:41:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:41:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638979840001,"power":26430,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":164387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696511,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:41:12] local.INFO: GPS data processed {"connection_id":164387,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:41:12] local.INFO: Acknowledgment sent {"connection_id":164387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:41:13] local.INFO: TCP Data received {"connection_id":161765,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:41:13] local.INFO: Processing buffer {"connection_id":161765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:41:13] local.INFO: Packet analysis {"connection_id":161765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:41:13] local.INFO: Extracted packet for processing {"connection_id":161765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:41:13] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968320001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787652521000,"timestamp_ms":1787652521000,"timestamp_seconds":1787652521,"priority":1,"record_length":96,"hex_timestamp":"000001a03864bc28"} 
[2026-08-25 15: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-25 15:41:13] 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-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15: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-25 15: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-25 15:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968320001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968320001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:41:13] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:41:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968320001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":161765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:41:13] local.INFO: GPS data processed {"connection_id":161765,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:41:13] local.INFO: Acknowledgment sent {"connection_id":161765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:41:24] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038662770012d9f530005542d28000000722c..."} 
[2026-08-25 15:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038662770012d9f530005542d28000000722c..."} 
[2026-08-25 15:41:24] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038662770012d9f530005542d28000000722c..."} 
[2026-08-25 15:41:24] local.INFO: Packet analysis {"connection_id":161764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03866"} 
[2026-08-25 15:41:24] local.INFO: Extracted packet for processing {"connection_id":161764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03866"} 
[2026-08-25 15:41:24] local.INFO: GPS Element Parsed {"raw_longitude":765416192,"raw_latitude":89402664,"longitude_deg":76.5416192,"latitude_deg":8.9402664,"altitude":0,"angle":114,"satellites":44,"speed":32,"hex_longitude":"2d9f5300","hex_latitude":"05542d28","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639067136001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123798734340358144,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6975794324932100096,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787652614000,"timestamp_ms":1787652614000,"timestamp_seconds":1787652614,"priority":1,"record_length":96,"hex_timestamp":"000001a038662770"} 
[2026-08-25 15:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-25 15:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639067136001,"66":13276,"196":206,"84":7168,"24":32,"16":123798734340358144,"45":-6975794324932100096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-25 15:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639067136001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:41:24] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-25 15:41:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123798734340358144,"km_value":123798734340358.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6975794324932100096,"description":"Unknown IO ID 45"} 
[2026-08-25 15:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639067136001,"power":13276,"unknown_196":206,"unknown_84":7168,"ignition":32,"odometer":null,"unknown_45":-6975794324932100096}} 
[2026-08-25 15:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":161764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:41:24] local.INFO: GPS data processed {"connection_id":161764,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:41:24] local.INFO: Acknowledgment sent {"connection_id":161764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:41:40] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:41:40] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:41:40] local.INFO: IMEI packet received {"connection_id":162008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":162008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:41:43] local.INFO: TCP Data received {"connection_id":164387,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:41:43] local.INFO: Processing buffer {"connection_id":164387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:41:43] local.INFO: Packet analysis {"connection_id":164387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:41:43] local.INFO: Extracted packet for processing {"connection_id":164387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:41:43] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638979840001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787652566000,"timestamp_ms":1787652566000,"timestamp_seconds":1787652566,"priority":1,"record_length":96,"hex_timestamp":"000001a038656bf0"} 
[2026-08-25 15:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:41:43] 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-25 15:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 15:41:43] 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-25 15:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638979840001,"66":26430,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638979840001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:41:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:41:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638979840001,"power":26430,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":164387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696514,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:41:43] local.INFO: GPS data processed {"connection_id":164387,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:41:43] local.INFO: Acknowledgment sent {"connection_id":164387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:41:45] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:41:45] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:41:45] local.INFO: IMEI packet received {"connection_id":162008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":162008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:41:45] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:41:45] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:41:45] local.INFO: IMEI packet received {"connection_id":162009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":162009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:41:46] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:41:46] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:41:46] local.INFO: IMEI packet received {"connection_id":162009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":162009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:41:46] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:41:46] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:41:46] local.INFO: Packet analysis {"connection_id":162008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:41:46] local.INFO: Extracted packet for processing {"connection_id":162008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968832001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787652523000,"timestamp_ms":1787652523000,"timestamp_seconds":1787652523,"priority":1,"record_length":96,"hex_timestamp":"000001a03864c3f8"} 
[2026-08-25 15:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 15:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968832001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968832001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968832001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":162008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:41:46] local.INFO: GPS data processed {"connection_id":162008,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:41:46] local.INFO: Acknowledgment sent {"connection_id":162008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:41:50] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:41:50] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:41:50] local.INFO: IMEI packet received {"connection_id":162009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":162009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:41:51] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038665e20012d9f72c005541e88000000742b..."} 
[2026-08-25 15:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038665e20012d9f72c005541e88000000742b..."} 
[2026-08-25 15:41:51] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038665e20012d9f72c005541e88000000742b..."} 
[2026-08-25 15:41:51] local.INFO: Packet analysis {"connection_id":162009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03866"} 
[2026-08-25 15:41:51] local.INFO: Extracted packet for processing {"connection_id":162009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03866"} 
[2026-08-25 15:41:51] local.INFO: GPS Element Parsed {"raw_longitude":765424320,"raw_latitude":89398920,"longitude_deg":76.542432,"latitude_deg":8.939892,"altitude":0,"angle":116,"satellites":43,"speed":28,"hex_longitude":"2d9f72c0","hex_latitude":"05541e88","is_valid_coordinates":true} 
[2026-08-25 15:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639069184001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123799168132055040,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6966224175724943360,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787652628000,"timestamp_ms":1787652628000,"timestamp_seconds":1787652628,"priority":1,"record_length":96,"hex_timestamp":"000001a038665e20"} 
[2026-08-25 15:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:41: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-25 15:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 15:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639069184001,"66":13374,"196":206,"84":7168,"24":28,"16":123799168132055040,"45":-6966224175724943360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-25 15:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639069184001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:41:51] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-25 15:41:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123799168132055040,"km_value":123799168132055.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6966224175724943360,"description":"Unknown IO ID 45"} 
[2026-08-25 15:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639069184001,"power":13374,"unknown_196":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-6966224175724943360}} 
[2026-08-25 15:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":162009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:41:51] local.INFO: GPS data processed {"connection_id":162009,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:41:51] local.INFO: Acknowledgment sent {"connection_id":162009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:41:53] local.INFO: TCP Data received {"connection_id":161766,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:41:53] local.INFO: Processing buffer {"connection_id":161766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:41:53] local.INFO: IMEI packet received {"connection_id":161766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":161766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:41:57] local.INFO: TCP Data received {"connection_id":161766,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:41:57] local.INFO: Processing buffer {"connection_id":161766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:41:57] local.INFO: IMEI packet received {"connection_id":161766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":161766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:41:59] local.INFO: TCP Data received {"connection_id":161766,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:41:59] local.INFO: Processing buffer {"connection_id":161766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:41:59] local.INFO: Packet analysis {"connection_id":161766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:41:59] local.INFO: Extracted packet for processing {"connection_id":161766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968320001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787652521000,"timestamp_ms":1787652521000,"timestamp_seconds":1787652521,"priority":1,"record_length":96,"hex_timestamp":"000001a03864bc28"} 
[2026-08-25 15:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:41:59] 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-25 15:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968320001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968320001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:41:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:41:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968320001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":161766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:41:59] local.INFO: GPS data processed {"connection_id":161766,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:41:59] local.INFO: Acknowledgment sent {"connection_id":161766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:42:05] local.INFO: TCP Data received {"connection_id":161767,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:42:05] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:42:05] local.INFO: IMEI packet received {"connection_id":161767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":161767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:42:11] local.INFO: TCP Data received {"connection_id":161767,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:42:11] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:42:11] local.INFO: IMEI packet received {"connection_id":161767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":161767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:42:12] local.INFO: TCP Data received {"connection_id":161767,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:42:12] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:42:12] local.INFO: Packet analysis {"connection_id":161767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:42:12] local.INFO: Extracted packet for processing {"connection_id":161767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638979840001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787652566000,"timestamp_ms":1787652566000,"timestamp_seconds":1787652566,"priority":1,"record_length":96,"hex_timestamp":"000001a038656bf0"} 
[2026-08-25 15:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 15:42:12] 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-25 15:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638979840001,"66":26430,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638979840001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:42:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:42:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638979840001,"power":26430,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":161767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:42:12] local.INFO: GPS data processed {"connection_id":161767,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:42:12] local.INFO: Acknowledgment sent {"connection_id":161767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:42:17] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:42:17] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:42:17] local.INFO: Packet analysis {"connection_id":162008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:42:17] local.INFO: Extracted packet for processing {"connection_id":162008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968832001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787652523000,"timestamp_ms":1787652523000,"timestamp_seconds":1787652523,"priority":1,"record_length":96,"hex_timestamp":"000001a03864c3f8"} 
[2026-08-25 15:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 15:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968832001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968832001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968832001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":162008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:42:17] local.INFO: GPS data processed {"connection_id":162008,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:42:17] local.INFO: Acknowledgment sent {"connection_id":162008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:42:22] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386690e8012d9f930005540da80002007e2c..."} 
[2026-08-25 15:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386690e8012d9f930005540da80002007e2c..."} 
[2026-08-25 15:42:22] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386690e8012d9f930005540da80002007e2c..."} 
[2026-08-25 15:42:22] local.INFO: Packet analysis {"connection_id":162009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03866"} 
[2026-08-25 15:42:22] local.INFO: Extracted packet for processing {"connection_id":162009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03866"} 
[2026-08-25 15:42:22] local.INFO: GPS Element Parsed {"raw_longitude":765432576,"raw_latitude":89394600,"longitude_deg":76.5432576,"latitude_deg":8.93946,"altitude":2,"angle":126,"satellites":44,"speed":25,"hex_longitude":"2d9f9300","hex_latitude":"05540da8","is_valid_coordinates":true} 
[2026-08-25 15:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639072768001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123799614808653824,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6957287345215338496,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787652641000,"timestamp_ms":1787652641000,"timestamp_seconds":1787652641,"priority":1,"record_length":96,"hex_timestamp":"000001a0386690e8"} 
[2026-08-25 15:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:42:22] 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-25 15:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639072768001,"66":13178,"196":206,"84":7168,"24":25,"16":123799614808653824,"45":-6957287345215338496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-25 15:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639072768001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:42:22] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-25 15:42:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123799614808653824,"km_value":123799614808653.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6957287345215338496,"description":"Unknown IO ID 45"} 
[2026-08-25 15:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639072768001,"power":13178,"unknown_196":206,"unknown_84":7168,"ignition":25,"odometer":null,"unknown_45":-6957287345215338496}} 
[2026-08-25 15:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":162009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:42:22] local.INFO: GPS data processed {"connection_id":162009,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:42:22] local.INFO: Acknowledgment sent {"connection_id":162009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:42:31] local.INFO: TCP Data received {"connection_id":161766,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:42:31] local.INFO: Processing buffer {"connection_id":161766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:42:31] local.INFO: Packet analysis {"connection_id":161766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:42:31] local.INFO: Extracted packet for processing {"connection_id":161766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:42:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968320001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787652521000,"timestamp_ms":1787652521000,"timestamp_seconds":1787652521,"priority":1,"record_length":96,"hex_timestamp":"000001a03864bc28"} 
[2026-08-25 15:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:42:31] 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-25 15:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968320001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968320001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:42:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968320001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":161766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:42:31] local.INFO: GPS data processed {"connection_id":161766,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:42:31] local.INFO: Acknowledgment sent {"connection_id":161766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:42:40] local.INFO: TCP Data received {"connection_id":162010,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:42:40] local.INFO: Processing buffer {"connection_id":162010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:42:40] local.INFO: IMEI packet received {"connection_id":162010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":162010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:42:41] local.INFO: TCP Data received {"connection_id":161768,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:42:41] local.INFO: Processing buffer {"connection_id":161768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:42:41] local.INFO: IMEI packet received {"connection_id":161768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":161768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:42:44] local.INFO: TCP Data received {"connection_id":161767,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:42:44] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:42:44] local.INFO: Packet analysis {"connection_id":161767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:42:44] local.INFO: Extracted packet for processing {"connection_id":161767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:42:44] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638979840001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787652566000,"timestamp_ms":1787652566000,"timestamp_seconds":1787652566,"priority":1,"record_length":96,"hex_timestamp":"000001a038656bf0"} 
[2026-08-25 15:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:42:44] 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-25 15:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 15:42:44] 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-25 15:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638979840001,"66":26430,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638979840001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:42:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:42:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638979840001,"power":26430,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":161767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:42:44] local.INFO: GPS data processed {"connection_id":161767,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:42:44] local.INFO: Acknowledgment sent {"connection_id":161767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:42:45] local.INFO: TCP Data received {"connection_id":162010,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:42:45] local.INFO: Processing buffer {"connection_id":162010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:42:45] local.INFO: IMEI packet received {"connection_id":162010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":162010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:42:45] local.INFO: TCP Data received {"connection_id":162010,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:42:45] local.INFO: Processing buffer {"connection_id":162010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:42:45] local.INFO: Packet analysis {"connection_id":162010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:42:45] local.INFO: Extracted packet for processing {"connection_id":162010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968832001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787652523000,"timestamp_ms":1787652523000,"timestamp_seconds":1787652523,"priority":1,"record_length":96,"hex_timestamp":"000001a03864c3f8"} 
[2026-08-25 15:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 15:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968832001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968832001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968832001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":162010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:42:45] local.INFO: GPS data processed {"connection_id":162010,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:42:45] local.INFO: Acknowledgment sent {"connection_id":162010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:42:45] local.INFO: TCP Data received {"connection_id":161768,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:42:45] local.INFO: Processing buffer {"connection_id":161768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:42:45] local.INFO: IMEI packet received {"connection_id":161768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":161768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:42:46] local.INFO: TCP Data received {"connection_id":161768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386698b8012d9f964005540a900002008a2c..."} 
[2026-08-25 15:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386698b8012d9f964005540a900002008a2c..."} 
[2026-08-25 15:42:46] local.INFO: Processing buffer {"connection_id":161768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386698b8012d9f964005540a900002008a2c..."} 
[2026-08-25 15:42:46] local.INFO: Packet analysis {"connection_id":161768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03866"} 
[2026-08-25 15:42:46] local.INFO: Extracted packet for processing {"connection_id":161768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03866"} 
[2026-08-25 15:42:46] local.INFO: GPS Element Parsed {"raw_longitude":765433408,"raw_latitude":89393808,"longitude_deg":76.5433408,"latitude_deg":8.9393808,"altitude":2,"angle":138,"satellites":44,"speed":21,"hex_longitude":"2d9f9640","hex_latitude":"05540a90","is_valid_coordinates":true} 
[2026-08-25 15:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639076096001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123799670643228672,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6948209777217525760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787652643000,"timestamp_ms":1787652643000,"timestamp_seconds":1787652643,"priority":1,"record_length":96,"hex_timestamp":"000001a0386698b8"} 
[2026-08-25 15:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-25 15:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639076096001,"66":13472,"196":206,"84":7168,"24":21,"16":123799670643228672,"45":-6948209777217525760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-25 15:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639076096001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:42:46] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-25 15:42:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123799670643228672,"km_value":123799670643228.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6948209777217525760,"description":"Unknown IO ID 45"} 
[2026-08-25 15:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639076096001,"power":13472,"unknown_196":206,"unknown_84":7168,"ignition":21,"odometer":null,"unknown_45":-6948209777217525760}} 
[2026-08-25 15:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":161768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:42:46] local.INFO: GPS data processed {"connection_id":161768,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:42:46] local.INFO: Acknowledgment sent {"connection_id":161768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:42:52] local.INFO: TCP Data received {"connection_id":164388,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:42:52] local.INFO: Processing buffer {"connection_id":164388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:42:52] local.INFO: IMEI packet received {"connection_id":164388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":164388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:42:57] local.INFO: TCP Data received {"connection_id":164388,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:42:57] local.INFO: Processing buffer {"connection_id":164388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:42:57] local.INFO: IMEI packet received {"connection_id":164388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":164388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:42:59] local.INFO: TCP Data received {"connection_id":164388,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:42:59] local.INFO: Processing buffer {"connection_id":164388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:42:59] local.INFO: Packet analysis {"connection_id":164388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:42:59] local.INFO: Extracted packet for processing {"connection_id":164388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968320001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787652521000,"timestamp_ms":1787652521000,"timestamp_seconds":1787652521,"priority":1,"record_length":96,"hex_timestamp":"000001a03864bc28"} 
[2026-08-25 15: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-25 15:42:59] 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-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968320001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968320001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:42:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968320001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":164388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:42:59] local.INFO: GPS data processed {"connection_id":164388,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:42:59] local.INFO: Acknowledgment sent {"connection_id":164388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:43:05] local.INFO: TCP Data received {"connection_id":162998,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:43:05] local.INFO: Processing buffer {"connection_id":162998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:43:05] local.INFO: IMEI packet received {"connection_id":162998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":162998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:43:11] local.INFO: TCP Data received {"connection_id":162998,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:43:11] local.INFO: Processing buffer {"connection_id":162998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:43:11] local.INFO: IMEI packet received {"connection_id":162998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":162998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:43:12] local.INFO: TCP Data received {"connection_id":162998,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:43:12] local.INFO: Processing buffer {"connection_id":162998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:43:12] local.INFO: Packet analysis {"connection_id":162998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:43:12] local.INFO: Extracted packet for processing {"connection_id":162998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:43:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638979840001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787652566000,"timestamp_ms":1787652566000,"timestamp_seconds":1787652566,"priority":1,"record_length":96,"hex_timestamp":"000001a038656bf0"} 
[2026-08-25 15: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-25 15:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 15:43:12] 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-25 15: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-25 15: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-25 15:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638979840001,"66":26430,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638979840001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:43:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:43:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638979840001,"power":26430,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":162998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696526,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:43:12] local.INFO: GPS data processed {"connection_id":162998,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:43:12] local.INFO: Acknowledgment sent {"connection_id":162998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:43:17] local.INFO: TCP Data received {"connection_id":162010,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:43:17] local.INFO: Processing buffer {"connection_id":162010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:43:17] local.INFO: Packet analysis {"connection_id":162010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:43:17] local.INFO: Extracted packet for processing {"connection_id":162010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968832001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787652523000,"timestamp_ms":1787652523000,"timestamp_seconds":1787652523,"priority":1,"record_length":96,"hex_timestamp":"000001a03864c3f8"} 
[2026-08-25 15:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 15:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968832001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968832001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968832001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":162010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:43:17] local.INFO: GPS data processed {"connection_id":162010,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:43:17] local.INFO: Acknowledgment sent {"connection_id":162010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:43:17] local.INFO: TCP Data received {"connection_id":161768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03866d738012d9fabc00553ee20000300922d..."} 
[2026-08-25 15:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03866d738012d9fabc00553ee20000300922d..."} 
[2026-08-25 15:43:17] local.INFO: Processing buffer {"connection_id":161768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03866d738012d9fabc00553ee20000300922d..."} 
[2026-08-25 15:43:17] local.INFO: Packet analysis {"connection_id":161768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03866"} 
[2026-08-25 15:43:17] local.INFO: Extracted packet for processing {"connection_id":161768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03866"} 
[2026-08-25 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":765438912,"raw_latitude":89386528,"longitude_deg":76.5438912,"latitude_deg":8.9386528,"altitude":3,"angle":146,"satellites":45,"speed":29,"hex_longitude":"2d9fabc0","hex_latitude":"0553ee20","is_valid_coordinates":true} 
[2026-08-25 15:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639076608001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123800113024860160,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6947294983543418880,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787652659000,"timestamp_ms":1787652659000,"timestamp_seconds":1787652659,"priority":1,"record_length":96,"hex_timestamp":"000001a03866d738"} 
[2026-08-25 15:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 15:43:17] 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-25 15:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639076608001,"66":13515,"196":206,"84":7168,"24":29,"16":123800113024860160,"45":-6947294983543418880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-25 15:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639076608001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:43:17] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-25 15:43:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 15:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123800113024860160,"km_value":123800113024860.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6947294983543418880,"description":"Unknown IO ID 45"} 
[2026-08-25 15:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639076608001,"power":13515,"unknown_196":206,"unknown_84":7168,"ignition":29,"odometer":null,"unknown_45":-6947294983543418880}} 
[2026-08-25 15:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":161768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:43:18] local.INFO: GPS data processed {"connection_id":161768,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:43:18] local.INFO: Acknowledgment sent {"connection_id":161768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:43:31] local.INFO: TCP Data received {"connection_id":164388,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:43:31] local.INFO: Processing buffer {"connection_id":164388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:43:31] local.INFO: Packet analysis {"connection_id":164388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:43:31] local.INFO: Extracted packet for processing {"connection_id":164388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:43:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968320001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787652521000,"timestamp_ms":1787652521000,"timestamp_seconds":1787652521,"priority":1,"record_length":96,"hex_timestamp":"000001a03864bc28"} 
[2026-08-25 15:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:43:31] 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-25 15:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968320001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968320001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:43:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968320001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":164388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:43:31] local.INFO: GPS data processed {"connection_id":164388,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:43:31] local.INFO: Acknowledgment sent {"connection_id":164388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:43:39] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:43:39] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:43:39] local.INFO: IMEI packet received {"connection_id":161769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":161769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:43:41] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:43:41] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:43:41] local.INFO: IMEI packet received {"connection_id":162011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":162011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:43:42] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:43:42] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:43:42] local.INFO: IMEI packet received {"connection_id":162011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":162011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:43:44] local.INFO: TCP Data received {"connection_id":162998,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:43:44] local.INFO: Processing buffer {"connection_id":162998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:43:44] local.INFO: Packet analysis {"connection_id":162998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:43:44] local.INFO: Extracted packet for processing {"connection_id":162998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:43:44] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638979840001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787652566000,"timestamp_ms":1787652566000,"timestamp_seconds":1787652566,"priority":1,"record_length":96,"hex_timestamp":"000001a038656bf0"} 
[2026-08-25 15:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:43:44] 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-25 15:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 15:43:44] 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-25 15:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638979840001,"66":26430,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:43:44] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638979840001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:43:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:43:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638979840001,"power":26430,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:43:44] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:43:44] local.INFO: IMEI packet received {"connection_id":162011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":162011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":162998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:43:44] local.INFO: GPS data processed {"connection_id":162998,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:43:44] local.INFO: Acknowledgment sent {"connection_id":162998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:43:44] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386905d0012d9fdf000552dc60000300852d..."} 
[2026-08-25 15:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386905d0012d9fdf000552dc60000300852d..."} 
[2026-08-25 15:43:44] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386905d0012d9fdf000552dc60000300852d..."} 
[2026-08-25 15:43:44] local.INFO: Packet analysis {"connection_id":162011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:43:44] local.INFO: Extracted packet for processing {"connection_id":162011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:43:44] local.INFO: GPS Element Parsed {"raw_longitude":765452032,"raw_latitude":89316448,"longitude_deg":76.5452032,"latitude_deg":8.9316448,"altitude":3,"angle":133,"satellites":45,"speed":19,"hex_longitude":"2d9fdf00","hex_latitude":"0552dc60","is_valid_coordinates":true} 
[2026-08-25 15:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639116800001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123803617718173696,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6927450997704951808,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787652802000,"timestamp_ms":1787652802000,"timestamp_seconds":1787652802,"priority":1,"record_length":96,"hex_timestamp":"000001a0386905d0"} 
[2026-08-25 15:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 15:43: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-25 15:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639116800001,"66":13363,"115":206,"84":6144,"24":19,"16":123803617718173696,"45":-6927450997704951808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 15:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639116800001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:43:44] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 15:43:44] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123803617718173696,"km_value":123803617718173.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6927450997704951808,"description":"Unknown IO ID 45"} 
[2026-08-25 15:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639116800001,"power":13363,"unknown_115":206,"unknown_84":6144,"ignition":19,"odometer":null,"unknown_45":-6927450997704951808}} 
[2026-08-25 15:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":162011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:43:44] local.INFO: GPS data processed {"connection_id":162011,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:43:44] local.INFO: Acknowledgment sent {"connection_id":162011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:43:45] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:43:45] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:43:45] local.INFO: IMEI packet received {"connection_id":161769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":161769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:43:46] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:43:46] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:43:46] local.INFO: Packet analysis {"connection_id":161769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:43:46] local.INFO: Extracted packet for processing {"connection_id":161769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968832001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787652523000,"timestamp_ms":1787652523000,"timestamp_seconds":1787652523,"priority":1,"record_length":96,"hex_timestamp":"000001a03864c3f8"} 
[2026-08-25 15:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 15:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968832001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968832001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968832001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":161769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:43:46] local.INFO: GPS data processed {"connection_id":161769,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:43:46] local.INFO: Acknowledgment sent {"connection_id":161769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:43:52] local.INFO: TCP Data received {"connection_id":164389,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:43:52] local.INFO: Processing buffer {"connection_id":164389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:43:52] local.INFO: IMEI packet received {"connection_id":164389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":164389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:43:57] local.INFO: TCP Data received {"connection_id":164389,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:43:57] local.INFO: Processing buffer {"connection_id":164389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:43:57] local.INFO: IMEI packet received {"connection_id":164389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":164389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:43:59] local.INFO: TCP Data received {"connection_id":164389,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:43:59] local.INFO: Processing buffer {"connection_id":164389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864bc28012d196480071ff120003f01402c..."} 
[2026-08-25 15:43:59] local.INFO: Packet analysis {"connection_id":164389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:43:59] local.INFO: Extracted packet for processing {"connection_id":164389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:43:59] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":44,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968320001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787652521000,"timestamp_ms":1787652521000,"timestamp_seconds":1787652521,"priority":1,"record_length":96,"hex_timestamp":"000001a03864bc28"} 
[2026-08-25 15:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:43:59] 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-25 15:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968320001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968320001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:43:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:43:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968320001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":164389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:43:59] local.INFO: GPS data processed {"connection_id":164389,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:43:59] local.INFO: Acknowledgment sent {"connection_id":164389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:44:11] local.INFO: TCP Data received {"connection_id":164390,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:44:11] local.INFO: Processing buffer {"connection_id":164390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:44:11] local.INFO: IMEI packet received {"connection_id":164390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":164390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:44:16] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038692128012d9feb000552d0c0000400922b..."} 
[2026-08-25 15:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038692128012d9feb000552d0c0000400922b..."} 
[2026-08-25 15:44:16] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038692128012d9feb000552d0c0000400922b..."} 
[2026-08-25 15:44:16] local.INFO: Packet analysis {"connection_id":162011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:44:16] local.INFO: Extracted packet for processing {"connection_id":162011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:44:16] local.INFO: GPS Element Parsed {"raw_longitude":765455104,"raw_latitude":89313472,"longitude_deg":76.5455104,"latitude_deg":8.9313472,"altitude":4,"angle":146,"satellites":43,"speed":23,"hex_longitude":"2d9feb00","hex_latitude":"0552d0c0","is_valid_coordinates":true} 
[2026-08-25 15:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639117312001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123803823876603904,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6926817679007522816,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787652809000,"timestamp_ms":1787652809000,"timestamp_seconds":1787652809,"priority":1,"record_length":96,"hex_timestamp":"000001a038692128"} 
[2026-08-25 15:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 15:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639117312001,"66":13189,"116":206,"84":6144,"24":23,"16":123803823876603904,"45":-6926817679007522816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-25 15:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639117312001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:44:16] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-25 15:44:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123803823876603904,"km_value":123803823876603.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6926817679007522816,"description":"Unknown IO ID 45"} 
[2026-08-25 15:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639117312001,"power":13189,"unknown_116":206,"unknown_84":6144,"ignition":23,"odometer":null,"unknown_45":-6926817679007522816}} 
[2026-08-25 15:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":162011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:44:16] local.INFO: GPS data processed {"connection_id":162011,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:44:16] local.INFO: Acknowledgment sent {"connection_id":162011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:44:16] local.INFO: TCP Data received {"connection_id":164390,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:44:16] local.INFO: Processing buffer {"connection_id":164390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:44:16] local.INFO: IMEI packet received {"connection_id":164390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":164390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:44:17] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:44:17] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03864c3f8012d34c14006aa4820000a00e62e..."} 
[2026-08-25 15:44:17] local.INFO: Packet analysis {"connection_id":161769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:44:17] local.INFO: Extracted packet for processing {"connection_id":161769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03864"} 
[2026-08-25 15:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822880,"longitude_deg":75.8432064,"latitude_deg":11.182288,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4820","is_valid_coordinates":true} 
[2026-08-25 15:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638968832001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787652523000,"timestamp_ms":1787652523000,"timestamp_seconds":1787652523,"priority":1,"record_length":96,"hex_timestamp":"000001a03864c3f8"} 
[2026-08-25 15:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 15:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638968832001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638968832001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638968832001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":161769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:44:17] local.INFO: GPS data processed {"connection_id":161769,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:44:17] local.INFO: Acknowledgment sent {"connection_id":161769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:44:18] local.INFO: TCP Data received {"connection_id":164390,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:44:18] local.INFO: Processing buffer {"connection_id":164390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:44:18] local.INFO: Packet analysis {"connection_id":164390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:44:18] local.INFO: Extracted packet for processing {"connection_id":164390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:44:18] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638979840001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652566000,"timestamp_ms":1787652566000,"timestamp_seconds":1787652566,"priority":1,"record_length":96,"hex_timestamp":"000001a038656bf0"} 
[2026-08-25 15:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:44:18] 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-25 15:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-25 15:44:18] 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-25 15:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638979840001,"66":26430,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638979840001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:44:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:44:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638979840001,"power":26430,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":164390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696536,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:44:18] local.INFO: GPS data processed {"connection_id":164390,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:44:18] local.INFO: Acknowledgment sent {"connection_id":164390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:44:21] local.INFO: TCP Data received {"connection_id":164390,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:44:21] local.INFO: Processing buffer {"connection_id":164390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038656bf0012d70c880067fd3a00032011629..."} 
[2026-08-25 15:44:21] local.INFO: Packet analysis {"connection_id":164390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:44:21] local.INFO: Extracted packet for processing {"connection_id":164390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03865"} 
[2026-08-25 15:44:21] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457638979840001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787652566000,"timestamp_ms":1787652566000,"timestamp_seconds":1787652566,"priority":1,"record_length":96,"hex_timestamp":"000001a038656bf0"} 
[2026-08-25 15: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-25 15:44:21] 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-25 15: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":105,"data_length":795,"current_offset":136} 
[2026-08-25 15:44: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-25 15: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-25 15: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-25 15:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457638979840001,"66":26430,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457638979840001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:44:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:44:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457638979840001,"power":26430,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":164390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696537,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:44:21] local.INFO: GPS data processed {"connection_id":164390,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:44:21] local.INFO: Acknowledgment sent {"connection_id":164390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:44:31] local.INFO: TCP Data received {"connection_id":164389,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:44:31] local.INFO: Processing buffer {"connection_id":164389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:44:31] local.INFO: Packet analysis {"connection_id":164389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:44:31] local.INFO: Extracted packet for processing {"connection_id":164389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:44:31] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":43,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045376001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787652822000,"timestamp_ms":1787652822000,"timestamp_seconds":1787652822,"priority":1,"record_length":96,"hex_timestamp":"000001a0386953f0"} 
[2026-08-25 15:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:44:31] 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-25 15:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045376001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045376001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:44:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045376001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":164389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:44:31] local.INFO: GPS data processed {"connection_id":164389,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:44:31] local.INFO: Acknowledgment sent {"connection_id":164389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:44:39] local.INFO: TCP Data received {"connection_id":161770,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:44:39] local.INFO: Processing buffer {"connection_id":161770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:44:39] local.INFO: IMEI packet received {"connection_id":161770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":161770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:44:41] local.INFO: TCP Data received {"connection_id":162999,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:44:41] local.INFO: Processing buffer {"connection_id":162999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:44:41] local.INFO: IMEI packet received {"connection_id":162999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":162999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:44:41] local.INFO: TCP Data received {"connection_id":162999,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:44:41] local.INFO: Processing buffer {"connection_id":162999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:44:41] local.INFO: IMEI packet received {"connection_id":162999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":162999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:44:45] local.INFO: TCP Data received {"connection_id":161770,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:44:45] local.INFO: Processing buffer {"connection_id":161770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:44:45] local.INFO: IMEI packet received {"connection_id":161770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":161770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:44:46] local.INFO: TCP Data received {"connection_id":161770,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:44:46] local.INFO: Processing buffer {"connection_id":161770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:44:46] local.INFO: Packet analysis {"connection_id":161770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:44:46] local.INFO: Extracted packet for processing {"connection_id":161770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111822792,"longitude_deg":75.8431488,"latitude_deg":11.1822792,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa47c8","is_valid_coordinates":true} 
[2026-08-25 15:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045888001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787652824000,"timestamp_ms":1787652824000,"timestamp_seconds":1787652824,"priority":1,"record_length":96,"hex_timestamp":"000001a038695bc0"} 
[2026-08-25 15:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045888001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045888001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045888001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:44:46] local.INFO: TCP Data received {"connection_id":162999,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:44:46] local.INFO: Processing buffer {"connection_id":162999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:44:46] local.INFO: IMEI packet received {"connection_id":162999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":162999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":161770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:44:46] local.INFO: GPS data processed {"connection_id":161770,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:44:46] local.INFO: Acknowledgment sent {"connection_id":161770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:44:47] local.INFO: TCP Data received {"connection_id":162999,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386930c8012d9fee800552ca880004009e2d..."} 
[2026-08-25 15:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386930c8012d9fee800552ca880004009e2d..."} 
[2026-08-25 15:44:47] local.INFO: Processing buffer {"connection_id":162999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386930c8012d9fee800552ca880004009e2d..."} 
[2026-08-25 15:44:47] local.INFO: Packet analysis {"connection_id":162999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:44:47] local.INFO: Extracted packet for processing {"connection_id":162999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:44:47] local.INFO: GPS Element Parsed {"raw_longitude":765456000,"raw_latitude":89311880,"longitude_deg":76.5456,"latitude_deg":8.931188,"altitude":4,"angle":158,"satellites":45,"speed":18,"hex_longitude":"2d9fee80","hex_latitude":"0552ca88","is_valid_coordinates":true} 
[2026-08-25 15:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639119104001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123803914070917120,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6923439979287756800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787652813000,"timestamp_ms":1787652813000,"timestamp_seconds":1787652813,"priority":1,"record_length":96,"hex_timestamp":"000001a0386930c8"} 
[2026-08-25 15:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:44: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-25 15:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 15:44:47] 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-25 15:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639119104001,"66":13276,"116":206,"84":6144,"24":18,"16":123803914070917120,"45":-6923439979287756800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-25 15:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639119104001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:44:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-25 15:44:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123803914070917120,"km_value":123803914070917.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6923439979287756800,"description":"Unknown IO ID 45"} 
[2026-08-25 15:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639119104001,"power":13276,"unknown_116":206,"unknown_84":6144,"ignition":18,"odometer":null,"unknown_45":-6923439979287756800}} 
[2026-08-25 15:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":162999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:44:47] local.INFO: GPS data processed {"connection_id":162999,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:44:47] local.INFO: Acknowledgment sent {"connection_id":162999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:44:52] local.INFO: TCP Data received {"connection_id":161771,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:44:52] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:44:52] local.INFO: IMEI packet received {"connection_id":161771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":161771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:44:58] local.INFO: TCP Data received {"connection_id":161771,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:44:58] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:44:58] local.INFO: IMEI packet received {"connection_id":161771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":161771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:45:00] local.INFO: TCP Data received {"connection_id":161771,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:45:00] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:45:00] local.INFO: Packet analysis {"connection_id":161771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:45:00] local.INFO: Extracted packet for processing {"connection_id":161771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":43,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045376001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787652822000,"timestamp_ms":1787652822000,"timestamp_seconds":1787652822,"priority":1,"record_length":96,"hex_timestamp":"000001a0386953f0"} 
[2026-08-25 15: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-25 15:45:00] 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-25 15:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045376001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045376001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:45:00] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045376001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":161771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:45:00] local.INFO: GPS data processed {"connection_id":161771,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:45:00] local.INFO: Acknowledgment sent {"connection_id":161771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:45:05] local.INFO: TCP Data received {"connection_id":161772,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:45:05] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:45:05] local.INFO: IMEI packet received {"connection_id":161772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":161772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:45:06] local.INFO: TCP Data received {"connection_id":161772,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:45:06] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:45:06] local.INFO: IMEI packet received {"connection_id":161772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":161772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:45:11] local.INFO: TCP Data received {"connection_id":161772,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:45:11] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:45:11] local.INFO: IMEI packet received {"connection_id":161772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":161772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:45:12] local.INFO: TCP Data received {"connection_id":161772,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:45:12] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:45:12] local.INFO: Packet analysis {"connection_id":161772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:45:12] local.INFO: Extracted packet for processing {"connection_id":161772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:45:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639056896001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787652867000,"timestamp_ms":1787652867000,"timestamp_seconds":1787652867,"priority":1,"record_length":96,"hex_timestamp":"000001a0386a03b8"} 
[2026-08-25 15: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-25 15:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:45:12] 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-25 15: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-25 15: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-25 15:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639056896001,"66":26006,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639056896001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:45:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:45:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639056896001,"power":26006,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":161772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696542,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:45:12] local.INFO: GPS data processed {"connection_id":161772,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:45:12] local.INFO: Acknowledgment sent {"connection_id":161772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:45:18] local.INFO: TCP Data received {"connection_id":161770,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:45:18] local.INFO: Processing buffer {"connection_id":161770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:45:18] local.INFO: Packet analysis {"connection_id":161770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:45:18] local.INFO: Extracted packet for processing {"connection_id":161770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111822792,"longitude_deg":75.8431488,"latitude_deg":11.1822792,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa47c8","is_valid_coordinates":true} 
[2026-08-25 15:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045888001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652824000,"timestamp_ms":1787652824000,"timestamp_seconds":1787652824,"priority":1,"record_length":96,"hex_timestamp":"000001a038695bc0"} 
[2026-08-25 15:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:45:18] 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-25 15:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045888001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045888001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045888001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":161770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:45:18] local.INFO: GPS data processed {"connection_id":161770,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:45:18] local.INFO: Acknowledgment sent {"connection_id":161770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:45:18] local.INFO: TCP Data received {"connection_id":162999,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038694838012d9ff3400552c170000400902a..."} 
[2026-08-25 15:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038694838012d9ff3400552c170000400902a..."} 
[2026-08-25 15:45:18] local.INFO: Processing buffer {"connection_id":162999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038694838012d9ff3400552c170000400902a..."} 
[2026-08-25 15:45:18] local.INFO: Packet analysis {"connection_id":162999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:45:18] local.INFO: Extracted packet for processing {"connection_id":162999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:45:18] local.INFO: GPS Element Parsed {"raw_longitude":765457216,"raw_latitude":89309552,"longitude_deg":76.5457216,"latitude_deg":8.9309552,"altitude":4,"angle":144,"satellites":42,"speed":15,"hex_longitude":"2d9ff340","hex_latitude":"0552c170","is_valid_coordinates":true} 
[2026-08-25 15:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639120128001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123804042919936000,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6922454816869677056,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652819000,"timestamp_ms":1787652819000,"timestamp_seconds":1787652819,"priority":1,"record_length":96,"hex_timestamp":"000001a038694838"} 
[2026-08-25 15:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 15:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639120128001,"66":13580,"116":206,"84":6144,"24":15,"16":123804042919936000,"45":-6922454816869677056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-25 15:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639120128001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:45:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-25 15:45:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123804042919936000,"km_value":123804042919936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6922454816869677056,"description":"Unknown IO ID 45"} 
[2026-08-25 15:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639120128001,"power":13580,"unknown_116":206,"unknown_84":6144,"ignition":15,"odometer":null,"unknown_45":-6922454816869677056}} 
[2026-08-25 15:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":162999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:45:18] local.INFO: GPS data processed {"connection_id":162999,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:45:18] local.INFO: Acknowledgment sent {"connection_id":162999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:45:32] local.INFO: TCP Data received {"connection_id":161771,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:45:32] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:45:32] local.INFO: Packet analysis {"connection_id":161771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:45:32] local.INFO: Extracted packet for processing {"connection_id":161771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":43,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045376001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787652822000,"timestamp_ms":1787652822000,"timestamp_seconds":1787652822,"priority":1,"record_length":96,"hex_timestamp":"000001a0386953f0"} 
[2026-08-25 15:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045376001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045376001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:45:32] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045376001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":161771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:45:32] local.INFO: GPS data processed {"connection_id":161771,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:45:32] local.INFO: Acknowledgment sent {"connection_id":161771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:45:40] local.INFO: TCP Data received {"connection_id":163000,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:45:40] local.INFO: Processing buffer {"connection_id":163000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:45:40] local.INFO: IMEI packet received {"connection_id":163000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":163000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:45:43] local.INFO: TCP Data received {"connection_id":163000,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:45:43] local.INFO: Processing buffer {"connection_id":163000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:45:43] local.INFO: IMEI packet received {"connection_id":163000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":163000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:45:43] local.INFO: TCP Data received {"connection_id":161772,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:45:43] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:45:43] local.INFO: Packet analysis {"connection_id":161772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:45:43] local.INFO: Extracted packet for processing {"connection_id":161772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:45:43] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 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-25 15:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639056896001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787652867000,"timestamp_ms":1787652867000,"timestamp_seconds":1787652867,"priority":1,"record_length":96,"hex_timestamp":"000001a0386a03b8"} 
[2026-08-25 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-25 15:45:43] 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-25 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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:45:43] 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-25 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-25 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-25 15:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639056896001,"66":26006,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639056896001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:45:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:45:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639056896001,"power":26006,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":161772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696546,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:45:43] local.INFO: GPS data processed {"connection_id":161772,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:45:43] local.INFO: Acknowledgment sent {"connection_id":161772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:45:45] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:45:45] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:45:45] local.INFO: IMEI packet received {"connection_id":162012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":162012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:45:46] local.INFO: TCP Data received {"connection_id":163000,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:45:46] local.INFO: Processing buffer {"connection_id":163000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:45:46] local.INFO: IMEI packet received {"connection_id":163000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":163000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:45:47] local.INFO: TCP Data received {"connection_id":163000,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386ab380012da0e40005523f98000500802a..."} 
[2026-08-25 15:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386ab380012da0e40005523f98000500802a..."} 
[2026-08-25 15:45:47] local.INFO: Processing buffer {"connection_id":163000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386ab380012da0e40005523f98000500802a..."} 
[2026-08-25 15:45:47] local.INFO: Packet analysis {"connection_id":163000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:45:47] local.INFO: Extracted packet for processing {"connection_id":163000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:45:47] local.INFO: GPS Element Parsed {"raw_longitude":765518848,"raw_latitude":89276312,"longitude_deg":76.5518848,"latitude_deg":8.9276312,"altitude":5,"angle":128,"satellites":42,"speed":53,"hex_longitude":"2da0e400","hex_latitude":"05523f98","is_valid_coordinates":true} 
[2026-08-25 15:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639143680001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123807478893772800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6861234009442701312,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787652912000,"timestamp_ms":1787652912000,"timestamp_seconds":1787652912,"priority":1,"record_length":96,"hex_timestamp":"000001a0386ab380"} 
[2026-08-25 15:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:45: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-25 15:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 15:45:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2689597445,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57841406920512536,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:47] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3221302688,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:47] local.WARNING: Large IO value detected {"io_id":82,"raw_value":-5604729723370525952,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2121531598,"corrected_to":0} 
[2026-08-25 15:45:47] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3221574314,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:47] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3620798464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:47] local.WARNING: Large IO value detected {"io_id":105,"raw_value":-7894808851310362619,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:47] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,116,84,24,241,157,16,217,160,120,45,64,109,7,10,66,81,128,134,6,216,50,1,240,227,56,82,4,113,205,37,43,44,239,52,2,183,5,105],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2121531598,"validated":0}]} 
[2026-08-25 15:45:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360427788558467072,"timestamp_seconds":360427788558467.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 15:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639143680001,"66":13602,"116":206,"84":6144,"24":53,"16":123807478893772800,"45":-6861234009442701312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-25 15:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639143680001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:45:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-25 15:45:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123807478893772800,"km_value":123807478893772.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6861234009442701312,"description":"Unknown IO ID 45"} 
[2026-08-25 15:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639143680001,"power":13602,"unknown_116":206,"unknown_84":6144,"ignition":53,"odometer":null,"unknown_45":-6861234009442701312}} 
[2026-08-25 15:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":163000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:45:47] local.INFO: GPS data processed {"connection_id":163000,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:45:47] local.INFO: Acknowledgment sent {"connection_id":163000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:45:50] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:45:50] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:45:50] local.INFO: IMEI packet received {"connection_id":162012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":162012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:45:51] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:45:51] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:45:51] local.INFO: Packet analysis {"connection_id":162012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:45:51] local.INFO: Extracted packet for processing {"connection_id":162012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111822792,"longitude_deg":75.8431488,"latitude_deg":11.1822792,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa47c8","is_valid_coordinates":true} 
[2026-08-25 15:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045888001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787652824000,"timestamp_ms":1787652824000,"timestamp_seconds":1787652824,"priority":1,"record_length":96,"hex_timestamp":"000001a038695bc0"} 
[2026-08-25 15:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:45: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-25 15:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045888001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045888001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045888001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":162012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:45:51] local.INFO: GPS data processed {"connection_id":162012,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:45:51] local.INFO: Acknowledgment sent {"connection_id":162012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:45:52] local.INFO: TCP Data received {"connection_id":163001,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:45:52] local.INFO: Processing buffer {"connection_id":163001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:45:52] local.INFO: IMEI packet received {"connection_id":163001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":163001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:45:55] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:45:55] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:45:55] local.INFO: Packet analysis {"connection_id":162012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:45:55] local.INFO: Extracted packet for processing {"connection_id":162012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:45:55] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111822792,"longitude_deg":75.8431488,"latitude_deg":11.1822792,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa47c8","is_valid_coordinates":true} 
[2026-08-25 15:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045888001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787652824000,"timestamp_ms":1787652824000,"timestamp_seconds":1787652824,"priority":1,"record_length":96,"hex_timestamp":"000001a038695bc0"} 
[2026-08-25 15:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:45: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-25 15:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:45:55] 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-25 15:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045888001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045888001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:45:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045888001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":162012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:45:55] local.INFO: GPS data processed {"connection_id":162012,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:45:55] local.INFO: Acknowledgment sent {"connection_id":162012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:45:58] local.INFO: TCP Data received {"connection_id":163001,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:45:58] local.INFO: Processing buffer {"connection_id":163001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:45:58] local.INFO: IMEI packet received {"connection_id":163001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":163001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:46:00] local.INFO: TCP Data received {"connection_id":163001,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:46:00] local.INFO: Processing buffer {"connection_id":163001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:46:00] local.INFO: Packet analysis {"connection_id":163001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:46:00] local.INFO: Extracted packet for processing {"connection_id":163001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:46:00] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":43,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045376001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787652822000,"timestamp_ms":1787652822000,"timestamp_seconds":1787652822,"priority":1,"record_length":96,"hex_timestamp":"000001a0386953f0"} 
[2026-08-25 15:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:46:00] 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-25 15:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045376001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045376001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:46:00] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045376001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":163001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:46:00] local.INFO: GPS data processed {"connection_id":163001,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:46:00] local.INFO: Acknowledgment sent {"connection_id":163001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:46:11] local.INFO: TCP Data received {"connection_id":164391,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:46:11] local.INFO: Processing buffer {"connection_id":164391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:46:11] local.INFO: IMEI packet received {"connection_id":164391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":164391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:46:16] local.INFO: TCP Data received {"connection_id":164391,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:46:16] local.INFO: Processing buffer {"connection_id":164391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:46:16] local.INFO: IMEI packet received {"connection_id":164391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":164391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:46:18] local.INFO: TCP Data received {"connection_id":163000,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386aced8012da10480055228c00004007b25..."} 
[2026-08-25 15:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386aced8012da10480055228c00004007b25..."} 
[2026-08-25 15:46:18] local.INFO: Processing buffer {"connection_id":163000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386aced8012da10480055228c00004007b25..."} 
[2026-08-25 15:46:18] local.INFO: Packet analysis {"connection_id":163000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:46:18] local.INFO: Extracted packet for processing {"connection_id":163000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:46:18] local.INFO: GPS Element Parsed {"raw_longitude":765527168,"raw_latitude":89270464,"longitude_deg":76.5527168,"latitude_deg":8.9270464,"altitude":4,"angle":123,"satellites":37,"speed":58,"hex_longitude":"2da10480","hex_latitude":"055228c0","is_valid_coordinates":true} 
[2026-08-25 15:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639145472001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123807964225077248,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6853352710096316416,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652919000,"timestamp_ms":1787652919000,"timestamp_seconds":1787652919,"priority":1,"record_length":96,"hex_timestamp":"000001a0386aced8"} 
[2026-08-25 15:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 15:46: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-25 15:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639145472001,"66":13319,"125":206,"84":6144,"24":58,"16":123807964225077248,"45":-6853352710096316416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-25 15:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639145472001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:46:18] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-25 15:46:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123807964225077248,"km_value":123807964225077.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6853352710096316416,"description":"Unknown IO ID 45"} 
[2026-08-25 15:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639145472001,"power":13319,"unknown_125":206,"unknown_84":6144,"ignition":58,"odometer":null,"unknown_45":-6853352710096316416}} 
[2026-08-25 15:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":163000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:46:18] local.INFO: GPS data processed {"connection_id":163000,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:46:18] local.INFO: Acknowledgment sent {"connection_id":163000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:46:21] local.INFO: TCP Data received {"connection_id":164391,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:46:21] local.INFO: Processing buffer {"connection_id":164391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:46:21] local.INFO: IMEI packet received {"connection_id":164391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":164391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:46:30] local.INFO: TCP Data received {"connection_id":164391,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:46:30] local.INFO: Processing buffer {"connection_id":164391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:46:30] local.INFO: Packet analysis {"connection_id":164391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:46:30] local.INFO: Extracted packet for processing {"connection_id":164391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:46:30] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639056896001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787652867000,"timestamp_ms":1787652867000,"timestamp_seconds":1787652867,"priority":1,"record_length":96,"hex_timestamp":"000001a0386a03b8"} 
[2026-08-25 15:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:46:30] 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-25 15:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639056896001,"66":26006,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639056896001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:46:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:46:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639056896001,"power":26006,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":164391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696552,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:46:30] local.INFO: GPS data processed {"connection_id":164391,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:46:30] local.INFO: Acknowledgment sent {"connection_id":164391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:46:32] local.INFO: TCP Data received {"connection_id":164391,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:46:32] local.INFO: Processing buffer {"connection_id":164391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:46:32] local.INFO: Packet analysis {"connection_id":164391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:46:32] local.INFO: Extracted packet for processing {"connection_id":164391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:46:32] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639056896001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787652867000,"timestamp_ms":1787652867000,"timestamp_seconds":1787652867,"priority":1,"record_length":96,"hex_timestamp":"000001a0386a03b8"} 
[2026-08-25 15:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:46:32] 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-25 15:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:46:32] 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-25 15:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":164391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":164391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":164391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639056896001,"66":26006,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639056896001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:46:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:46:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639056896001,"power":26006,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":164391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:46:32] local.INFO: GPS data processed {"connection_id":164391,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:46:32] local.INFO: Acknowledgment sent {"connection_id":164391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:46:34] local.INFO: TCP Data received {"connection_id":163001,"ip":"117.224.255.124","data_length":795,"data_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:46:34] local.INFO: Processing buffer {"connection_id":163001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386953f0012d196480071ff120003f01402b..."} 
[2026-08-25 15:46:34] local.INFO: Packet analysis {"connection_id":163001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:46:34] local.INFO: Extracted packet for processing {"connection_id":163001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533856,"longitude_deg":75.6638848,"latitude_deg":11.9533856,"altitude":63,"angle":320,"satellites":43,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045376001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954437705039872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708286464,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787652822000,"timestamp_ms":1787652822000,"timestamp_seconds":1787652822,"priority":1,"record_length":96,"hex_timestamp":"000001a0386953f0"} 
[2026-08-25 15: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-25 15:46:34] 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-25 15:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 15:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.255.124","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045376001,"66":2166,"131":206,"28":31744,"24":0,"16":15954437705039872,"45":1829728116708286464},"client_ip":"117.224.255.124","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-25 15:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045376001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:46:34] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 15:46:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-25 15:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954437705039872,"km_value":15954437705039.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708286464,"description":"Unknown IO ID 45"} 
[2026-08-25 15:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045376001,"power":2166,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829728116708286464}} 
[2026-08-25 15:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":163001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:46:34] local.INFO: GPS data processed {"connection_id":163001,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:46:34] local.INFO: Acknowledgment sent {"connection_id":163001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:46:40] local.INFO: TCP Data received {"connection_id":164392,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:46:40] local.INFO: Processing buffer {"connection_id":164392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:46:40] local.INFO: IMEI packet received {"connection_id":164392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":164392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:46:45] local.INFO: TCP Data received {"connection_id":164392,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:46:45] local.INFO: Processing buffer {"connection_id":164392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:46:45] local.INFO: IMEI packet received {"connection_id":164392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":164392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:46:46] local.INFO: TCP Data received {"connection_id":164393,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:46:46] local.INFO: Processing buffer {"connection_id":164393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:46:46] local.INFO: IMEI packet received {"connection_id":164393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":164393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:46:46] local.INFO: TCP Data received {"connection_id":164392,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:46:46] local.INFO: Processing buffer {"connection_id":164392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:46:46] local.INFO: Packet analysis {"connection_id":164392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:46:46] local.INFO: Extracted packet for processing {"connection_id":164392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111822792,"longitude_deg":75.8431488,"latitude_deg":11.1822792,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa47c8","is_valid_coordinates":true} 
[2026-08-25 15:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045888001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787652824000,"timestamp_ms":1787652824000,"timestamp_seconds":1787652824,"priority":1,"record_length":96,"hex_timestamp":"000001a038695bc0"} 
[2026-08-25 15:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045888001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045888001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045888001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":164392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:46:46] local.INFO: GPS data processed {"connection_id":164392,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:46:46] local.INFO: Acknowledgment sent {"connection_id":164392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:46:51] local.INFO: TCP Data received {"connection_id":164393,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:46:51] local.INFO: Processing buffer {"connection_id":164393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:46:51] local.INFO: IMEI packet received {"connection_id":164393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":164393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:46:52] local.INFO: TCP Data received {"connection_id":163002,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:46:52] local.INFO: Processing buffer {"connection_id":163002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:46:52] local.INFO: IMEI packet received {"connection_id":163002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":163002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:46:52] local.INFO: TCP Data received {"connection_id":164393,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386aea30012da12780055215d80004007228..."} 
[2026-08-25 15:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386aea30012da12780055215d80004007228..."} 
[2026-08-25 15:46:52] local.INFO: Processing buffer {"connection_id":164393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386aea30012da12780055215d80004007228..."} 
[2026-08-25 15:46:52] local.INFO: Packet analysis {"connection_id":164393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:46:52] local.INFO: Extracted packet for processing {"connection_id":164393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:46:52] local.INFO: GPS Element Parsed {"raw_longitude":765536128,"raw_latitude":89265624,"longitude_deg":76.5536128,"latitude_deg":8.9265624,"altitude":4,"angle":114,"satellites":40,"speed":56,"hex_longitude":"2da12780","hex_latitude":"055215d8","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639147264001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123808453851348992,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6844204773354717184,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787652926000,"timestamp_ms":1787652926000,"timestamp_seconds":1787652926,"priority":1,"record_length":96,"hex_timestamp":"000001a0386aea30"} 
[2026-08-25 15: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-25 15: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-25 15:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 15:46:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2693365765,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:52] local.WARNING: Large IO value detected {"io_id":82,"raw_value":-6196953070075565056,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2121531598,"corrected_to":0} 
[2026-08-25 15:46:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2550214048,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:52] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2147832471,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:52] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3633840128,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:52] local.WARNING: Large IO value detected {"io_id":149,"raw_value":57841406920512536,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:52] local.WARNING: Large IO value detected {"io_id":105,"raw_value":-2828259270516293627,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:52] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,125,84,24,241,157,16,218,160,179,45,63,5,42,10,66,116,152,86,217,120,64,1,240,220,227,56,82,4,113,205,36,50,110,112,44,239,52,2,183,6,37,149,105],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2121531598,"validated":0}]} 
[2026-08-25 15:46:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288365774999519232,"timestamp_seconds":288365774999519.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 15: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-25 15:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639147264001,"66":13363,"125":206,"84":6144,"24":56,"16":123808453851348992,"45":-6844204773354717184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-25 15:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639147264001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:46:52] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-25 15:46:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123808453851348992,"km_value":123808453851348.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6844204773354717184,"description":"Unknown IO ID 45"} 
[2026-08-25 15:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639147264001,"power":13363,"unknown_125":206,"unknown_84":6144,"ignition":56,"odometer":null,"unknown_45":-6844204773354717184}} 
[2026-08-25 15:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":164393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:46:52] local.INFO: GPS data processed {"connection_id":164393,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:46:52] local.INFO: Acknowledgment sent {"connection_id":164393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:46:53] local.INFO: TCP Data received {"connection_id":164393,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386b0588012da14a00055206300003007124..."} 
[2026-08-25 15:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386b0588012da14a00055206300003007124..."} 
[2026-08-25 15:46:53] local.INFO: Processing buffer {"connection_id":164393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386b0588012da14a00055206300003007124..."} 
[2026-08-25 15:46:53] local.INFO: Packet analysis {"connection_id":164393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386b"} 
[2026-08-25 15:46:53] local.INFO: Extracted packet for processing {"connection_id":164393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386b"} 
[2026-08-25 15:46:53] local.INFO: GPS Element Parsed {"raw_longitude":765544960,"raw_latitude":89261616,"longitude_deg":76.554496,"latitude_deg":8.9261616,"altitude":3,"angle":113,"satellites":36,"speed":54,"hex_longitude":"2da14a00","hex_latitude":"05520630","is_valid_coordinates":true} 
[2026-08-25 15:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639149056001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123808922002784256,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834353149171083264,"note":"Value kept but may cause issues"} 
[2026-08-25 15:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787652933000,"timestamp_ms":1787652933000,"timestamp_seconds":1787652933,"priority":1,"record_length":96,"hex_timestamp":"000001a0386b0588"} 
[2026-08-25 15:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:46: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-25 15:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 15:46:53] 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-25 15:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639149056001,"66":12939,"125":206,"84":6144,"24":54,"16":123808922002784256,"45":-6834353149171083264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-25 15:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639149056001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:46:53] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-25 15:46:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123808922002784256,"km_value":123808922002784.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834353149171083264,"description":"Unknown IO ID 45"} 
[2026-08-25 15:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639149056001,"power":12939,"unknown_125":206,"unknown_84":6144,"ignition":54,"odometer":null,"unknown_45":-6834353149171083264}} 
[2026-08-25 15:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":164393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:46:53] local.INFO: GPS data processed {"connection_id":164393,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:46:53] local.INFO: Acknowledgment sent {"connection_id":164393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:46:58] local.INFO: TCP Data received {"connection_id":163002,"ip":"117.224.255.124","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:46:58] local.INFO: Processing buffer {"connection_id":163002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:46:58] local.INFO: IMEI packet received {"connection_id":163002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":163002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:46:59] local.INFO: TCP Data received {"connection_id":163002,"ip":"117.224.255.124","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 15:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163002,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 15:46:59] local.INFO: Processing buffer {"connection_id":163002,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 15:46:59] local.INFO: IMEI packet received {"connection_id":163002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":163002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:47:09] local.INFO: TCP Data received {"connection_id":163003,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:47:09] local.INFO: Processing buffer {"connection_id":163003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:47:09] local.INFO: IMEI packet received {"connection_id":163003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":163003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:47:10] local.INFO: TCP Data received {"connection_id":163003,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:47:10] local.INFO: Processing buffer {"connection_id":163003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:47:10] local.INFO: IMEI packet received {"connection_id":163003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":163003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:47:18] local.INFO: TCP Data received {"connection_id":164392,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:47:18] local.INFO: Processing buffer {"connection_id":164392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:47:18] local.INFO: Packet analysis {"connection_id":164392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:47:18] local.INFO: Extracted packet for processing {"connection_id":164392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111822792,"longitude_deg":75.8431488,"latitude_deg":11.1822792,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa47c8","is_valid_coordinates":true} 
[2026-08-25 15:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045888001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652824000,"timestamp_ms":1787652824000,"timestamp_seconds":1787652824,"priority":1,"record_length":96,"hex_timestamp":"000001a038695bc0"} 
[2026-08-25 15:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:47:18] 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-25 15:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045888001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045888001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045888001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":164392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:47:18] local.INFO: GPS data processed {"connection_id":164392,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:47:18] local.INFO: Acknowledgment sent {"connection_id":164392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:47:24] local.INFO: TCP Data received {"connection_id":164393,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386c78a0012da1e08005516250000600942b..."} 
[2026-08-25 15:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386c78a0012da1e08005516250000600942b..."} 
[2026-08-25 15:47:24] local.INFO: Processing buffer {"connection_id":164393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386c78a0012da1e08005516250000600942b..."} 
[2026-08-25 15:47:24] local.INFO: Packet analysis {"connection_id":164393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386c"} 
[2026-08-25 15:47:24] local.INFO: Extracted packet for processing {"connection_id":164393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386c"} 
[2026-08-25 15:47:24] local.INFO: GPS Element Parsed {"raw_longitude":765583488,"raw_latitude":89219664,"longitude_deg":76.5583488,"latitude_deg":8.9219664,"altitude":6,"angle":148,"satellites":43,"speed":46,"hex_longitude":"2da1e080","hex_latitude":"05516250","is_valid_coordinates":true} 
[2026-08-25 15:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639173120001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123811833990610944,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6787276459326025728,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787653028000,"timestamp_ms":1787653028000,"timestamp_seconds":1787653028,"priority":1,"record_length":96,"hex_timestamp":"000001a0386c78a0"} 
[2026-08-25 15:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:47: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-25 15:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 15:47:24] 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-25 15:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639173120001,"66":13450,"124":206,"84":6144,"24":46,"16":123811833990610944,"45":-6787276459326025728},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,84,24,16,45]} 
[2026-08-25 15:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639173120001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:47:24] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-25 15:47:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123811833990610944,"km_value":123811833990610.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6787276459326025728,"description":"Unknown IO ID 45"} 
[2026-08-25 15:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639173120001,"power":13450,"unknown_124":206,"unknown_84":6144,"ignition":46,"odometer":null,"unknown_45":-6787276459326025728}} 
[2026-08-25 15:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":164393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:47:24] local.INFO: GPS data processed {"connection_id":164393,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:47:24] local.INFO: Acknowledgment sent {"connection_id":164393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:47:27] local.INFO: TCP Data received {"connection_id":163003,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:47:27] local.INFO: Processing buffer {"connection_id":163003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:47:27] local.INFO: Packet analysis {"connection_id":163003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:47:27] local.INFO: Extracted packet for processing {"connection_id":163003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:47:27] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639056896001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787652867000,"timestamp_ms":1787652867000,"timestamp_seconds":1787652867,"priority":1,"record_length":96,"hex_timestamp":"000001a0386a03b8"} 
[2026-08-25 15:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:47:27] 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-25 15:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:47:27] 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-25 15:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639056896001,"66":26006,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639056896001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:47:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:47:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639056896001,"power":26006,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":163003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696560,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:47:27] local.INFO: GPS data processed {"connection_id":163003,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:47:27] local.INFO: Acknowledgment sent {"connection_id":163003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:47:28] local.INFO: TCP Data received {"connection_id":163003,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:47:28] local.INFO: Processing buffer {"connection_id":163003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:47:28] local.INFO: Packet analysis {"connection_id":163003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:47:28] local.INFO: Extracted packet for processing {"connection_id":163003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:47:28] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639056896001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787652867000,"timestamp_ms":1787652867000,"timestamp_seconds":1787652867,"priority":1,"record_length":96,"hex_timestamp":"000001a0386a03b8"} 
[2026-08-25 15:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:47:28] 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-25 15:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:47:28] 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-25 15:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639056896001,"66":26006,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639056896001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:47:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:47:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639056896001,"power":26006,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":163003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696561,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:47:28] local.INFO: GPS data processed {"connection_id":163003,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:47:28] local.INFO: Acknowledgment sent {"connection_id":163003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:47:40] local.INFO: TCP Data received {"connection_id":163004,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:47:40] local.INFO: Processing buffer {"connection_id":163004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:47:40] local.INFO: IMEI packet received {"connection_id":163004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":163004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:47:41] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:47:41] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:47:41] local.INFO: IMEI packet received {"connection_id":161773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":161773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:47:42] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:47:42] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:47:42] local.INFO: IMEI packet received {"connection_id":161773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":161773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:47:45] local.INFO: TCP Data received {"connection_id":163004,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:47:45] local.INFO: Processing buffer {"connection_id":163004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:47:45] local.INFO: IMEI packet received {"connection_id":163004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":163004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:47:46] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:47:46] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:47:46] local.INFO: IMEI packet received {"connection_id":161773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":161773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:47:46] local.INFO: TCP Data received {"connection_id":163004,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:47:46] local.INFO: Processing buffer {"connection_id":163004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:47:46] local.INFO: Packet analysis {"connection_id":163004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:47:46] local.INFO: Extracted packet for processing {"connection_id":163004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111822792,"longitude_deg":75.8431488,"latitude_deg":11.1822792,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa47c8","is_valid_coordinates":true} 
[2026-08-25 15:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045888001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787652824000,"timestamp_ms":1787652824000,"timestamp_seconds":1787652824,"priority":1,"record_length":96,"hex_timestamp":"000001a038695bc0"} 
[2026-08-25 15:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045888001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045888001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045888001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":163004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:47:46] local.INFO: GPS data processed {"connection_id":163004,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:47:46] local.INFO: Acknowledgment sent {"connection_id":163004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:47:47] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386c9bc8012da1f200055142800006009b2d..."} 
[2026-08-25 15:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386c9bc8012da1f200055142800006009b2d..."} 
[2026-08-25 15:47:47] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386c9bc8012da1f200055142800006009b2d..."} 
[2026-08-25 15:47:47] local.INFO: Packet analysis {"connection_id":161773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386c"} 
[2026-08-25 15:47:47] local.INFO: Extracted packet for processing {"connection_id":161773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386c"} 
[2026-08-25 15:47:47] local.INFO: GPS Element Parsed {"raw_longitude":765587968,"raw_latitude":89211520,"longitude_deg":76.5587968,"latitude_deg":8.921152,"altitude":6,"angle":155,"satellites":45,"speed":29,"hex_longitude":"2da1f200","hex_latitude":"05514280","is_valid_coordinates":true} 
[2026-08-25 15:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639175168001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123812284962177024,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6782280278491377664,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787653037000,"timestamp_ms":1787653037000,"timestamp_seconds":1787653037,"priority":1,"record_length":96,"hex_timestamp":"000001a0386c9bc8"} 
[2026-08-25 15:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:47: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-25 15:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 15:47:47] 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-25 15:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639175168001,"66":13243,"124":206,"84":6144,"24":29,"16":123812284962177024,"45":-6782280278491377664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,84,24,16,45]} 
[2026-08-25 15:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639175168001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:47:47] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-25 15:47:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123812284962177024,"km_value":123812284962177.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6782280278491377664,"description":"Unknown IO ID 45"} 
[2026-08-25 15:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639175168001,"power":13243,"unknown_124":206,"unknown_84":6144,"ignition":29,"odometer":null,"unknown_45":-6782280278491377664}} 
[2026-08-25 15:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":161773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:47:47] local.INFO: GPS data processed {"connection_id":161773,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:47:47] local.INFO: Acknowledgment sent {"connection_id":161773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:47:51] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386cab68012da1f48005513b50000700a82c..."} 
[2026-08-25 15:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386cab68012da1f48005513b50000700a82c..."} 
[2026-08-25 15:47:51] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386cab68012da1f48005513b50000700a82c..."} 
[2026-08-25 15:47:51] local.INFO: Packet analysis {"connection_id":161773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386c"} 
[2026-08-25 15:47:51] local.INFO: Extracted packet for processing {"connection_id":161773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386c"} 
[2026-08-25 15:47:51] local.INFO: GPS Element Parsed {"raw_longitude":765588608,"raw_latitude":89209680,"longitude_deg":76.5588608,"latitude_deg":8.920968,"altitude":7,"angle":168,"satellites":44,"speed":15,"hex_longitude":"2da1f480","hex_latitude":"05513b50","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639177472001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123812379451457536,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6777354466401026048,"note":"Value kept but may cause issues"} 
[2026-08-25 15:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787653041000,"timestamp_ms":1787653041000,"timestamp_seconds":1787653041,"priority":1,"record_length":96,"hex_timestamp":"000001a0386cab68"} 
[2026-08-25 15: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-25 15: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-25 15:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 15:47:51] 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-25 15: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-25 15: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-25 15:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639177472001,"66":13352,"124":206,"84":6144,"24":15,"16":123812379451457536,"45":-6777354466401026048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,84,24,16,45]} 
[2026-08-25 15:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639177472001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:47:51] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-25 15:47:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123812379451457536,"km_value":123812379451457.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6777354466401026048,"description":"Unknown IO ID 45"} 
[2026-08-25 15:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639177472001,"power":13352,"unknown_124":206,"unknown_84":6144,"ignition":15,"odometer":null,"unknown_45":-6777354466401026048}} 
[2026-08-25 15:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":161773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:47:52] local.INFO: GPS data processed {"connection_id":161773,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:47:52] local.INFO: Acknowledgment sent {"connection_id":161773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:48:05] local.INFO: TCP Data received {"connection_id":164394,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:48:05] local.INFO: Processing buffer {"connection_id":164394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:48:05] local.INFO: IMEI packet received {"connection_id":164394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":164394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:48:10] local.INFO: TCP Data received {"connection_id":164394,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:48:10] local.INFO: Processing buffer {"connection_id":164394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:48:10] local.INFO: IMEI packet received {"connection_id":164394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":164394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:48:18] local.INFO: TCP Data received {"connection_id":163004,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:48:18] local.INFO: Processing buffer {"connection_id":163004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:48:18] local.INFO: Packet analysis {"connection_id":163004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:48:18] local.INFO: Extracted packet for processing {"connection_id":163004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111822792,"longitude_deg":75.8431488,"latitude_deg":11.1822792,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa47c8","is_valid_coordinates":true} 
[2026-08-25 15:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045888001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652824000,"timestamp_ms":1787652824000,"timestamp_seconds":1787652824,"priority":1,"record_length":96,"hex_timestamp":"000001a038695bc0"} 
[2026-08-25 15:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:48:18] 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-25 15:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045888001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045888001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045888001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":163004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:48:18] local.INFO: GPS data processed {"connection_id":163004,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:48:18] local.INFO: Acknowledgment sent {"connection_id":163004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:48:18] local.INFO: TCP Data received {"connection_id":164394,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:48:18] local.INFO: Processing buffer {"connection_id":164394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:48:18] local.INFO: Packet analysis {"connection_id":164394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:48:18] local.INFO: Extracted packet for processing {"connection_id":164394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:48:18] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639056896001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652867000,"timestamp_ms":1787652867000,"timestamp_seconds":1787652867,"priority":1,"record_length":96,"hex_timestamp":"000001a0386a03b8"} 
[2026-08-25 15:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:48:18] 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-25 15:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:48:18] 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-25 15:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639056896001,"66":26006,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639056896001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:48:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:48:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639056896001,"power":26006,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":164394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696566,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:48:18] local.INFO: GPS data processed {"connection_id":164394,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:48:18] local.INFO: Acknowledgment sent {"connection_id":164394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:48:22] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386cf5a0012da1f8c0055118c0000800b228..."} 
[2026-08-25 15:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386cf5a0012da1f8c0055118c0000800b228..."} 
[2026-08-25 15:48:22] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386cf5a0012da1f8c0055118c0000800b228..."} 
[2026-08-25 15:48:22] local.INFO: Packet analysis {"connection_id":161773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386c"} 
[2026-08-25 15:48:22] local.INFO: Extracted packet for processing {"connection_id":161773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386c"} 
[2026-08-25 15:48:22] local.INFO: GPS Element Parsed {"raw_longitude":765589696,"raw_latitude":89200832,"longitude_deg":76.5589696,"latitude_deg":8.9200832,"altitude":8,"angle":178,"satellites":40,"speed":27,"hex_longitude":"2da1f8c0","hex_latitude":"055118c0","is_valid_coordinates":true} 
[2026-08-25 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-25 15:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639178496001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123812813243154432,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6776650778959720448,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787653060000,"timestamp_ms":1787653060000,"timestamp_seconds":1787653060,"priority":1,"record_length":96,"hex_timestamp":"000001a0386cf5a0"} 
[2026-08-25 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-25 15:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-25 15:48:22] 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-25 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-25 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-25 15:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639178496001,"66":13472,"237":206,"84":6144,"24":27,"16":123812813243154432,"45":-6776650778959720448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,84,24,16,45]} 
[2026-08-25 15:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639178496001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:48:22] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-25 15:48:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123812813243154432,"km_value":123812813243154.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6776650778959720448,"description":"Unknown IO ID 45"} 
[2026-08-25 15:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639178496001,"power":13472,"unknown_237":206,"unknown_84":6144,"ignition":27,"odometer":null,"unknown_45":-6776650778959720448}} 
[2026-08-25 15:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":161773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:48:23] local.INFO: GPS data processed {"connection_id":161773,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:48:23] local.INFO: Acknowledgment sent {"connection_id":161773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:48:39] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:48:39] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:48:39] local.INFO: IMEI packet received {"connection_id":161774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":161774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:48:41] local.INFO: TCP Data received {"connection_id":163005,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:48:41] local.INFO: Processing buffer {"connection_id":163005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:48:41] local.INFO: IMEI packet received {"connection_id":163005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":163005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:48:45] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:48:45] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:48:45] local.INFO: IMEI packet received {"connection_id":161774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":161774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:48:46] local.INFO: TCP Data received {"connection_id":163005,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:48:46] local.INFO: Processing buffer {"connection_id":163005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:48:46] local.INFO: IMEI packet received {"connection_id":163005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":163005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:48:46] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:48:46] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:48:46] local.INFO: Packet analysis {"connection_id":161774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:48:46] local.INFO: Extracted packet for processing {"connection_id":161774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111822792,"longitude_deg":75.8431488,"latitude_deg":11.1822792,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa47c8","is_valid_coordinates":true} 
[2026-08-25 15:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045888001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787652824000,"timestamp_ms":1787652824000,"timestamp_seconds":1787652824,"priority":1,"record_length":96,"hex_timestamp":"000001a038695bc0"} 
[2026-08-25 15:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045888001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045888001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:48:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045888001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":161774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:48:46] local.INFO: GPS data processed {"connection_id":161774,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:48:46] local.INFO: Acknowledgment sent {"connection_id":161774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:48:46] local.INFO: TCP Data received {"connection_id":163005,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386d2098012da1f9c00550f5a0000700ad2b..."} 
[2026-08-25 15:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386d2098012da1f9c00550f5a0000700ad2b..."} 
[2026-08-25 15:48:46] local.INFO: Processing buffer {"connection_id":163005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386d2098012da1f9c00550f5a0000700ad2b..."} 
[2026-08-25 15:48:46] local.INFO: Packet analysis {"connection_id":163005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:48:46] local.INFO: Extracted packet for processing {"connection_id":163005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:48:46] local.INFO: GPS Element Parsed {"raw_longitude":765589952,"raw_latitude":89191840,"longitude_deg":76.5589952,"latitude_deg":8.919184,"altitude":7,"angle":173,"satellites":43,"speed":37,"hex_longitude":"2da1f9c0","hex_latitude":"0550f5a0","is_valid_coordinates":true} 
[2026-08-25 15:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639183360001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123813247034851328,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6775454510310965248,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787653071000,"timestamp_ms":1787653071000,"timestamp_seconds":1787653071,"priority":1,"record_length":96,"hex_timestamp":"000001a0386d2098"} 
[2026-08-25 15:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 15:48:46] 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-25 15:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639183360001,"66":13526,"237":206,"84":6144,"24":37,"16":123813247034851328,"45":-6775454510310965248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,84,24,16,45]} 
[2026-08-25 15:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639183360001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:48:46] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-25 15:48:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123813247034851328,"km_value":123813247034851.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6775454510310965248,"description":"Unknown IO ID 45"} 
[2026-08-25 15:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639183360001,"power":13526,"unknown_237":206,"unknown_84":6144,"ignition":37,"odometer":null,"unknown_45":-6775454510310965248}} 
[2026-08-25 15:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":163005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:48:47] local.INFO: GPS data processed {"connection_id":163005,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:48:47] local.INFO: Acknowledgment sent {"connection_id":163005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:48:51] local.INFO: TCP Data received {"connection_id":164394,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:48:51] local.INFO: Processing buffer {"connection_id":164394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:48:51] local.INFO: Packet analysis {"connection_id":164394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:48:51] local.INFO: Extracted packet for processing {"connection_id":164394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:48:51] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639056896001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787652867000,"timestamp_ms":1787652867000,"timestamp_seconds":1787652867,"priority":1,"record_length":96,"hex_timestamp":"000001a0386a03b8"} 
[2026-08-25 15: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-25 15:48:51] 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-25 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:48:51] 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-25 15: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-25 15: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-25 15:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639056896001,"66":26006,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639056896001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:48:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:48:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639056896001,"power":26006,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":164394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:48:51] local.INFO: GPS data processed {"connection_id":164394,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:48:51] local.INFO: Acknowledgment sent {"connection_id":164394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:49:05] local.INFO: TCP Data received {"connection_id":161775,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:49:05] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:49:05] local.INFO: IMEI packet received {"connection_id":161775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":161775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:49:11] local.INFO: TCP Data received {"connection_id":161775,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:49:11] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:49:11] local.INFO: IMEI packet received {"connection_id":161775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":161775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:49:14] local.INFO: TCP Data received {"connection_id":161775,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:49:14] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:49:14] local.INFO: Packet analysis {"connection_id":161775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:49:14] local.INFO: Extracted packet for processing {"connection_id":161775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:49:14] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639056896001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787652867000,"timestamp_ms":1787652867000,"timestamp_seconds":1787652867,"priority":1,"record_length":96,"hex_timestamp":"000001a0386a03b8"} 
[2026-08-25 15: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-25 15:49:14] 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-25 15: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:49:14] 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-25 15: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-25 15: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-25 15:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639056896001,"66":26006,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639056896001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:49:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:49:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639056896001,"power":26006,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":161775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696571,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:49:14] local.INFO: GPS data processed {"connection_id":161775,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:49:14] local.INFO: Acknowledgment sent {"connection_id":161775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:49:17] local.INFO: TCP Data received {"connection_id":163005,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0386d43c0012da1fcc00550cfd8000800af2a..."} 
[2026-08-25 15:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386d43c0012da1fcc00550cfd8000800af2a..."} 
[2026-08-25 15:49:17] local.INFO: Processing buffer {"connection_id":163005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386d43c0012da1fcc00550cfd8000800af2a..."} 
[2026-08-25 15:49:17] local.INFO: Packet analysis {"connection_id":163005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:49:17] local.INFO: Extracted packet for processing {"connection_id":163005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:49:17] local.INFO: GPS Element Parsed {"raw_longitude":765590720,"raw_latitude":89182168,"longitude_deg":76.559072,"latitude_deg":8.9182168,"altitude":8,"angle":175,"satellites":42,"speed":45,"hex_longitude":"2da1fcc0","hex_latitude":"0550cfd8","is_valid_coordinates":true} 
[2026-08-25 15:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639186176001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123813719481253888,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6775173035336556544,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787653080000,"timestamp_ms":1787653080000,"timestamp_seconds":1787653080,"priority":1,"record_length":96,"hex_timestamp":"000001a0386d43c0"} 
[2026-08-25 15:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:49: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-25 15:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 15:49:17] 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-25 15:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639186176001,"66":13276,"237":206,"84":6144,"24":45,"16":123813719481253888,"45":-6775173035336556544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,84,24,16,45]} 
[2026-08-25 15:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639186176001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:49:17] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-25 15:49:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123813719481253888,"km_value":123813719481253.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6775173035336556544,"description":"Unknown IO ID 45"} 
[2026-08-25 15:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639186176001,"power":13276,"unknown_237":206,"unknown_84":6144,"ignition":45,"odometer":null,"unknown_45":-6775173035336556544}} 
[2026-08-25 15:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":163005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:49:17] local.INFO: GPS data processed {"connection_id":163005,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:49:17] local.INFO: Acknowledgment sent {"connection_id":163005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:49:18] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:49:18] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038695bc0012d34bf0006aa47c8000200e62d..."} 
[2026-08-25 15:49:18] local.INFO: Packet analysis {"connection_id":161774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:49:18] local.INFO: Extracted packet for processing {"connection_id":161774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03869"} 
[2026-08-25 15:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111822792,"longitude_deg":75.8431488,"latitude_deg":11.1822792,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa47c8","is_valid_coordinates":true} 
[2026-08-25 15:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639045888001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848244224,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787652824000,"timestamp_ms":1787652824000,"timestamp_seconds":1787652824,"priority":1,"record_length":96,"hex_timestamp":"000001a038695bc0"} 
[2026-08-25 15:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:49:18] 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-25 15:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639045888001,"66":25647,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848244224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639045888001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848244224,"description":"Unknown IO ID 45"} 
[2026-08-25 15:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639045888001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848244224}} 
[2026-08-25 15:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":161774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:49:18] local.INFO: GPS data processed {"connection_id":161774,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:49:18] local.INFO: Acknowledgment sent {"connection_id":161774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:49:39] local.INFO: TCP Data received {"connection_id":163007,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:49:39] local.INFO: Processing buffer {"connection_id":163007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:49:39] local.INFO: IMEI packet received {"connection_id":163007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":163007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:49:40] local.INFO: TCP Data received {"connection_id":163006,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:49:40] local.INFO: Processing buffer {"connection_id":163006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:49:40] local.INFO: IMEI packet received {"connection_id":163006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":163006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:49:45] local.INFO: TCP Data received {"connection_id":163007,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:49:45] local.INFO: Processing buffer {"connection_id":163007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:49:45] local.INFO: IMEI packet received {"connection_id":163007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":163007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:49:45] local.INFO: TCP Data received {"connection_id":163007,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:49:45] local.INFO: Processing buffer {"connection_id":163007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:49:45] local.INFO: Packet analysis {"connection_id":163007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:49:45] local.INFO: Extracted packet for processing {"connection_id":163007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639122944001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150622720,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787653126000,"timestamp_ms":1787653126000,"timestamp_seconds":1787653126,"priority":1,"record_length":96,"hex_timestamp":"000001a0386df770"} 
[2026-08-25 15: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-25 15:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639122944001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3800756639150622720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639122944001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150622720,"description":"Unknown IO ID 45"} 
[2026-08-25 15:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639122944001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150622720}} 
[2026-08-25 15:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":163007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:49:45] local.INFO: GPS data processed {"connection_id":163007,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:49:45] local.INFO: Acknowledgment sent {"connection_id":163007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:49:54] local.INFO: TCP Data received {"connection_id":161775,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:49:54] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386a03b8012d70c880067fd3a00032011629..."} 
[2026-08-25 15:49:54] local.INFO: Packet analysis {"connection_id":161775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:49:54] local.INFO: Extracted packet for processing {"connection_id":161775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386a"} 
[2026-08-25 15:49:54] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639056896001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787652867000,"timestamp_ms":1787652867000,"timestamp_seconds":1787652867,"priority":1,"record_length":96,"hex_timestamp":"000001a0386a03b8"} 
[2026-08-25 15:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:49:54] 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-25 15:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:49: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-25 15:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639056896001,"66":26006,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639056896001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:49:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:49:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639056896001,"power":26006,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":161775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696575,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:49:54] local.INFO: GPS data processed {"connection_id":161775,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:49:54] local.INFO: Acknowledgment sent {"connection_id":161775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:50:07] local.INFO: TCP Data received {"connection_id":164396,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:50:07] local.INFO: Processing buffer {"connection_id":164396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:50:07] local.INFO: IMEI packet received {"connection_id":164396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":164396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:50:10] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:50:10] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:50:10] local.INFO: IMEI packet received {"connection_id":162014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":162014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:50:13] local.INFO: TCP Data received {"connection_id":164396,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:50:13] local.INFO: Processing buffer {"connection_id":164396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:50:13] local.INFO: IMEI packet received {"connection_id":164396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":164396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:50:15] local.INFO: TCP Data received {"connection_id":164396,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:50:15] local.INFO: Processing buffer {"connection_id":164396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:50:15] local.INFO: IMEI packet received {"connection_id":164396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":164396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:50:17] local.INFO: TCP Data received {"connection_id":164396,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:50:17] local.INFO: Processing buffer {"connection_id":164396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:50:17] local.INFO: Packet analysis {"connection_id":164396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:50:17] local.INFO: Extracted packet for processing {"connection_id":164396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:50:17] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639133952001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787653168000,"timestamp_ms":1787653168000,"timestamp_seconds":1787653168,"priority":1,"record_length":96,"hex_timestamp":"000001a0386e9b80"} 
[2026-08-25 15:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:50:17] 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-25 15:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 15:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639133952001,"66":26223,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639133952001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:50:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:50:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639133952001,"power":26223,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":164396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:50:17] local.INFO: GPS data processed {"connection_id":164396,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:50:17] local.INFO: Acknowledgment sent {"connection_id":164396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:50:18] local.INFO: TCP Data received {"connection_id":163007,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:50:18] local.INFO: Processing buffer {"connection_id":163007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:50:18] local.INFO: Packet analysis {"connection_id":163007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:50:18] local.INFO: Extracted packet for processing {"connection_id":163007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:50:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639122944001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150622720,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787653126000,"timestamp_ms":1787653126000,"timestamp_seconds":1787653126,"priority":1,"record_length":96,"hex_timestamp":"000001a0386df770"} 
[2026-08-25 15:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:50:18] 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-25 15:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639122944001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3800756639150622720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639122944001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:50:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150622720,"description":"Unknown IO ID 45"} 
[2026-08-25 15:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639122944001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150622720}} 
[2026-08-25 15:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":163007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:50:18] local.INFO: GPS data processed {"connection_id":163007,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:50:18] local.INFO: Acknowledgment sent {"connection_id":163007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:50:23] local.INFO: TCP Data received {"connection_id":164396,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:50:23] local.INFO: Processing buffer {"connection_id":164396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:50:23] local.INFO: Packet analysis {"connection_id":164396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:50:23] local.INFO: Extracted packet for processing {"connection_id":164396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:50:23] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639133952001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787653168000,"timestamp_ms":1787653168000,"timestamp_seconds":1787653168,"priority":1,"record_length":96,"hex_timestamp":"000001a0386e9b80"} 
[2026-08-25 15:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 15:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639133952001,"66":26223,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639133952001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:50:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:50:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639133952001,"power":26223,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":164396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696578,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:50:23] local.INFO: GPS data processed {"connection_id":164396,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:50:23] local.INFO: Acknowledgment sent {"connection_id":164396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:50:45] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:50:45] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:50:45] local.INFO: IMEI packet received {"connection_id":162015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":162015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:50:50] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:50:50] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:50:50] local.INFO: IMEI packet received {"connection_id":162015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":162015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:50:51] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:50:51] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:50:51] local.INFO: Packet analysis {"connection_id":162015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:50:51] local.INFO: Extracted packet for processing {"connection_id":162015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639122944001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150622720,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787653126000,"timestamp_ms":1787653126000,"timestamp_seconds":1787653126,"priority":1,"record_length":96,"hex_timestamp":"000001a0386df770"} 
[2026-08-25 15: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-25 15:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:50: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-25 15:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639122944001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3800756639150622720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639122944001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150622720,"description":"Unknown IO ID 45"} 
[2026-08-25 15:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639122944001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150622720}} 
[2026-08-25 15:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":162015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:50:51] local.INFO: GPS data processed {"connection_id":162015,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:50:51] local.INFO: Acknowledgment sent {"connection_id":162015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:50:55] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:50:55] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:50:55] local.INFO: Packet analysis {"connection_id":162015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:50:55] local.INFO: Extracted packet for processing {"connection_id":162015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:50:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639122944001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150622720,"note":"Value kept but may cause issues"} 
[2026-08-25 15:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787653126000,"timestamp_ms":1787653126000,"timestamp_seconds":1787653126,"priority":1,"record_length":96,"hex_timestamp":"000001a0386df770"} 
[2026-08-25 15: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-25 15:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:50:55] 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-25 15:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639122944001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3800756639150622720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639122944001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:50:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150622720,"description":"Unknown IO ID 45"} 
[2026-08-25 15:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639122944001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150622720}} 
[2026-08-25 15:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":162015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:50:55] local.INFO: GPS data processed {"connection_id":162015,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:50:55] local.INFO: Acknowledgment sent {"connection_id":162015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:51:05] local.INFO: TCP Data received {"connection_id":163010,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:51:05] local.INFO: Processing buffer {"connection_id":163010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:51:05] local.INFO: IMEI packet received {"connection_id":163010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":163010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:51:11] local.INFO: TCP Data received {"connection_id":163010,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:51:11] local.INFO: Processing buffer {"connection_id":163010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:51:11] local.INFO: IMEI packet received {"connection_id":163010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":163010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:51:12] local.INFO: TCP Data received {"connection_id":163010,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:51:12] local.INFO: Processing buffer {"connection_id":163010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:51:12] local.INFO: Packet analysis {"connection_id":163010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:51:12] local.INFO: Extracted packet for processing {"connection_id":163010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:51:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639133952001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787653168000,"timestamp_ms":1787653168000,"timestamp_seconds":1787653168,"priority":1,"record_length":96,"hex_timestamp":"000001a0386e9b80"} 
[2026-08-25 15:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 15:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639133952001,"66":26223,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639133952001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:51:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:51:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639133952001,"power":26223,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":163010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:51:12] local.INFO: GPS data processed {"connection_id":163010,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:51:12] local.INFO: Acknowledgment sent {"connection_id":163010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:51:40] local.INFO: TCP Data received {"connection_id":163011,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:51:40] local.INFO: Processing buffer {"connection_id":163011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:51:40] local.INFO: IMEI packet received {"connection_id":163011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":163011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:51:44] local.INFO: TCP Data received {"connection_id":163011,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:51:44] local.INFO: Processing buffer {"connection_id":163011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:51:44] local.INFO: IMEI packet received {"connection_id":163011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":163011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:51:45] local.INFO: TCP Data received {"connection_id":163010,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:51:45] local.INFO: Processing buffer {"connection_id":163010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:51:45] local.INFO: Packet analysis {"connection_id":163010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:51:45] local.INFO: Extracted packet for processing {"connection_id":163010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:51:45] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639133952001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787653168000,"timestamp_ms":1787653168000,"timestamp_seconds":1787653168,"priority":1,"record_length":96,"hex_timestamp":"000001a0386e9b80"} 
[2026-08-25 15:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:51:45] 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-25 15:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 15:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639133952001,"66":26223,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639133952001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:51:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:51:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639133952001,"power":26223,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":163010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696582,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:51:45] local.INFO: GPS data processed {"connection_id":163010,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:51:45] local.INFO: Acknowledgment sent {"connection_id":163010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:51:45] local.INFO: TCP Data received {"connection_id":163011,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:51:45] local.INFO: Processing buffer {"connection_id":163011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:51:45] local.INFO: Packet analysis {"connection_id":163011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:51:45] local.INFO: Extracted packet for processing {"connection_id":163011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639122944001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:51:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150622720,"note":"Value kept but may cause issues"} 
[2026-08-25 15:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787653126000,"timestamp_ms":1787653126000,"timestamp_seconds":1787653126,"priority":1,"record_length":96,"hex_timestamp":"000001a0386df770"} 
[2026-08-25 15:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639122944001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3800756639150622720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639122944001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150622720,"description":"Unknown IO ID 45"} 
[2026-08-25 15:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639122944001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150622720}} 
[2026-08-25 15:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":163011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:51:45] local.INFO: GPS data processed {"connection_id":163011,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:51:45] local.INFO: Acknowledgment sent {"connection_id":163011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:52:05] local.INFO: TCP Data received {"connection_id":164397,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:52:05] local.INFO: Processing buffer {"connection_id":164397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:52:05] local.INFO: IMEI packet received {"connection_id":164397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":164397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:52:11] local.INFO: TCP Data received {"connection_id":164397,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:52:11] local.INFO: Processing buffer {"connection_id":164397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:52:11] local.INFO: IMEI packet received {"connection_id":164397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":164397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:52:12] local.INFO: TCP Data received {"connection_id":164397,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:52:13] local.INFO: Processing buffer {"connection_id":164397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:52:13] local.INFO: Packet analysis {"connection_id":164397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:52:13] local.INFO: Extracted packet for processing {"connection_id":164397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:52:13] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639133952001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787653168000,"timestamp_ms":1787653168000,"timestamp_seconds":1787653168,"priority":1,"record_length":96,"hex_timestamp":"000001a0386e9b80"} 
[2026-08-25 15: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-25 15:52:13] 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-25 15: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 15:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639133952001,"66":26223,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639133952001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:52:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:52:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639133952001,"power":26223,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":164397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696584,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:52:13] local.INFO: GPS data processed {"connection_id":164397,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:52:13] local.INFO: Acknowledgment sent {"connection_id":164397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:52:17] local.INFO: TCP Data received {"connection_id":163011,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:52:17] local.INFO: Processing buffer {"connection_id":163011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:52:17] local.INFO: Packet analysis {"connection_id":163011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:52:17] local.INFO: Extracted packet for processing {"connection_id":163011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639122944001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:52:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150622720,"note":"Value kept but may cause issues"} 
[2026-08-25 15:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787653126000,"timestamp_ms":1787653126000,"timestamp_seconds":1787653126,"priority":1,"record_length":96,"hex_timestamp":"000001a0386df770"} 
[2026-08-25 15:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639122944001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3800756639150622720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639122944001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150622720,"description":"Unknown IO ID 45"} 
[2026-08-25 15:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639122944001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150622720}} 
[2026-08-25 15:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":163011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:52:17] local.INFO: GPS data processed {"connection_id":163011,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:52:17] local.INFO: Acknowledgment sent {"connection_id":163011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:52:39] local.INFO: TCP Data received {"connection_id":164398,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:52:39] local.INFO: Processing buffer {"connection_id":164398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:52:39] local.INFO: IMEI packet received {"connection_id":164398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":164398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:52:44] local.INFO: TCP Data received {"connection_id":164397,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:52:44] local.INFO: Processing buffer {"connection_id":164397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:52:44] local.INFO: Packet analysis {"connection_id":164397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:52:44] local.INFO: Extracted packet for processing {"connection_id":164397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:52:44] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639133952001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787653168000,"timestamp_ms":1787653168000,"timestamp_seconds":1787653168,"priority":1,"record_length":96,"hex_timestamp":"000001a0386e9b80"} 
[2026-08-25 15:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:52:44] 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-25 15:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 15:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639133952001,"66":26223,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639133952001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:52:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:52:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639133952001,"power":26223,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":164397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:52:44] local.INFO: GPS data processed {"connection_id":164397,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:52:44] local.INFO: Acknowledgment sent {"connection_id":164397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:52:45] local.INFO: TCP Data received {"connection_id":164398,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:52:45] local.INFO: Processing buffer {"connection_id":164398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:52:45] local.INFO: IMEI packet received {"connection_id":164398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":164398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:52:45] local.INFO: TCP Data received {"connection_id":164398,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:52:45] local.INFO: Processing buffer {"connection_id":164398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:52:45] local.INFO: Packet analysis {"connection_id":164398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:52:45] local.INFO: Extracted packet for processing {"connection_id":164398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639122944001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:52:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150622720,"note":"Value kept but may cause issues"} 
[2026-08-25 15:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787653126000,"timestamp_ms":1787653126000,"timestamp_seconds":1787653126,"priority":1,"record_length":96,"hex_timestamp":"000001a0386df770"} 
[2026-08-25 15: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-25 15:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639122944001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3800756639150622720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639122944001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150622720,"description":"Unknown IO ID 45"} 
[2026-08-25 15:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639122944001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150622720}} 
[2026-08-25 15:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":164398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:52:45] local.INFO: GPS data processed {"connection_id":164398,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:52:45] local.INFO: Acknowledgment sent {"connection_id":164398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:53:05] local.INFO: TCP Data received {"connection_id":161778,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:53:05] local.INFO: Processing buffer {"connection_id":161778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:53:05] local.INFO: IMEI packet received {"connection_id":161778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":161778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:53:11] local.INFO: TCP Data received {"connection_id":161778,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:53:11] local.INFO: Processing buffer {"connection_id":161778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:53:11] local.INFO: IMEI packet received {"connection_id":161778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":161778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:53:12] local.INFO: TCP Data received {"connection_id":161778,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:53:12] local.INFO: Processing buffer {"connection_id":161778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:53:12] local.INFO: Packet analysis {"connection_id":161778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:53:12] local.INFO: Extracted packet for processing {"connection_id":161778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:53:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639133952001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787653168000,"timestamp_ms":1787653168000,"timestamp_seconds":1787653168,"priority":1,"record_length":96,"hex_timestamp":"000001a0386e9b80"} 
[2026-08-25 15: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-25 15:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 15:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639133952001,"66":26223,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639133952001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:53:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:53:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639133952001,"power":26223,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":161778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:53:12] local.INFO: GPS data processed {"connection_id":161778,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:53:12] local.INFO: Acknowledgment sent {"connection_id":161778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:53:17] local.INFO: TCP Data received {"connection_id":164398,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:53:17] local.INFO: Processing buffer {"connection_id":164398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:53:17] local.INFO: Packet analysis {"connection_id":164398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:53:17] local.INFO: Extracted packet for processing {"connection_id":164398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639122944001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:53:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150622720,"note":"Value kept but may cause issues"} 
[2026-08-25 15:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787653126000,"timestamp_ms":1787653126000,"timestamp_seconds":1787653126,"priority":1,"record_length":96,"hex_timestamp":"000001a0386df770"} 
[2026-08-25 15:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639122944001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3800756639150622720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639122944001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150622720,"description":"Unknown IO ID 45"} 
[2026-08-25 15:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639122944001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150622720}} 
[2026-08-25 15:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":164398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:53:17] local.INFO: GPS data processed {"connection_id":164398,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:53:17] local.INFO: Acknowledgment sent {"connection_id":164398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:53:39] local.INFO: TCP Data received {"connection_id":163015,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:53:39] local.INFO: Processing buffer {"connection_id":163015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:53:39] local.INFO: IMEI packet received {"connection_id":163015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":163015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:53:42] local.INFO: TCP Data received {"connection_id":161779,"ip":"117.225.134.108","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:53:42] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:53:42] local.INFO: IMEI packet received {"connection_id":161779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":161779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:53:43] local.INFO: TCP Data received {"connection_id":161779,"ip":"117.225.134.108","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:53:43] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:53:43] local.INFO: IMEI packet received {"connection_id":161779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":161779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:53:45] local.INFO: TCP Data received {"connection_id":163015,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:53:45] local.INFO: Processing buffer {"connection_id":163015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:53:45] local.INFO: IMEI packet received {"connection_id":163015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":163015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:53:45] local.INFO: TCP Data received {"connection_id":161778,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:53:45] local.INFO: Processing buffer {"connection_id":161778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:53:45] local.INFO: Packet analysis {"connection_id":161778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:53:45] local.INFO: Extracted packet for processing {"connection_id":161778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:53:45] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639133952001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787653168000,"timestamp_ms":1787653168000,"timestamp_seconds":1787653168,"priority":1,"record_length":96,"hex_timestamp":"000001a0386e9b80"} 
[2026-08-25 15:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:53:45] 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-25 15:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 15:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639133952001,"66":26223,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639133952001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:53:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:53:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639133952001,"power":26223,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":161778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696590,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:53:45] local.INFO: GPS data processed {"connection_id":161778,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:53:45] local.INFO: Acknowledgment sent {"connection_id":161778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:53:45] local.INFO: TCP Data received {"connection_id":163015,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:53:45] local.INFO: Processing buffer {"connection_id":163015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:53:45] local.INFO: Packet analysis {"connection_id":163015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:53:45] local.INFO: Extracted packet for processing {"connection_id":163015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639122944001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:53:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150622720,"note":"Value kept but may cause issues"} 
[2026-08-25 15:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787653126000,"timestamp_ms":1787653126000,"timestamp_seconds":1787653126,"priority":1,"record_length":96,"hex_timestamp":"000001a0386df770"} 
[2026-08-25 15:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639122944001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3800756639150622720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639122944001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150622720,"description":"Unknown IO ID 45"} 
[2026-08-25 15:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639122944001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150622720}} 
[2026-08-25 15:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":163015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:53:45] local.INFO: GPS data processed {"connection_id":163015,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:53:45] local.INFO: Acknowledgment sent {"connection_id":163015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:54:05] local.INFO: TCP Data received {"connection_id":162016,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:54:05] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:54:05] local.INFO: IMEI packet received {"connection_id":162016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":162016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:54:11] local.INFO: TCP Data received {"connection_id":162016,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:54:11] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:54:11] local.INFO: IMEI packet received {"connection_id":162016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":162016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:54:12] local.INFO: TCP Data received {"connection_id":162016,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:54:12] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:54:12] local.INFO: Packet analysis {"connection_id":162016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:54:12] local.INFO: Extracted packet for processing {"connection_id":162016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:54:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639133952001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787653168000,"timestamp_ms":1787653168000,"timestamp_seconds":1787653168,"priority":1,"record_length":96,"hex_timestamp":"000001a0386e9b80"} 
[2026-08-25 15: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-25 15:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 15:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639133952001,"66":26223,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639133952001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:54:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:54:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639133952001,"power":26223,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":162016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:54:12] local.INFO: GPS data processed {"connection_id":162016,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:54:12] local.INFO: Acknowledgment sent {"connection_id":162016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:54:17] local.INFO: TCP Data received {"connection_id":163015,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:54:17] local.INFO: Processing buffer {"connection_id":163015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386df770012d34c14006aa4818000400e62e..."} 
[2026-08-25 15:54:17] local.INFO: Packet analysis {"connection_id":163015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:54:17] local.INFO: Extracted packet for processing {"connection_id":163015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386d"} 
[2026-08-25 15:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639122944001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150622720,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787653126000,"timestamp_ms":1787653126000,"timestamp_seconds":1787653126,"priority":1,"record_length":96,"hex_timestamp":"000001a0386df770"} 
[2026-08-25 15:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-25 15:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639122944001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3800756639150622720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639122944001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150622720,"description":"Unknown IO ID 45"} 
[2026-08-25 15:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639122944001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150622720}} 
[2026-08-25 15:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":163015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:54:17] local.INFO: GPS data processed {"connection_id":163015,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:54:17] local.INFO: Acknowledgment sent {"connection_id":163015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:54:44] local.INFO: TCP Data received {"connection_id":162016,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:54:44] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0386e9b80012d70c880067fd3a00032011629..."} 
[2026-08-25 15:54:44] local.INFO: Packet analysis {"connection_id":162016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:54:44] local.INFO: Extracted packet for processing {"connection_id":162016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0386e"} 
[2026-08-25 15:54:44] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639133952001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787653168000,"timestamp_ms":1787653168000,"timestamp_seconds":1787653168,"priority":1,"record_length":96,"hex_timestamp":"000001a0386e9b80"} 
[2026-08-25 15: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-25 15:54:44] 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-25 15: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 15:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639133952001,"66":26223,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639133952001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:54:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:54:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639133952001,"power":26223,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":162016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696594,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:54:44] local.INFO: GPS data processed {"connection_id":162016,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:54:44] local.INFO: Acknowledgment sent {"connection_id":162016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:54:45] local.INFO: TCP Data received {"connection_id":163016,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:54:45] local.INFO: Processing buffer {"connection_id":163016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:54:45] local.INFO: IMEI packet received {"connection_id":163016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":163016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:54:50] local.INFO: TCP Data received {"connection_id":163016,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:54:50] local.INFO: Processing buffer {"connection_id":163016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:54:50] local.INFO: IMEI packet received {"connection_id":163016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":163016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:54:51] local.INFO: TCP Data received {"connection_id":163016,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:54:51] local.INFO: Processing buffer {"connection_id":163016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:54:51] local.INFO: Packet analysis {"connection_id":163016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:54:51] local.INFO: Extracted packet for processing {"connection_id":163016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639200256001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787653426000,"timestamp_ms":1787653426000,"timestamp_seconds":1787653426,"priority":1,"record_length":96,"hex_timestamp":"000001a038728b50"} 
[2026-08-25 15:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:54:51] 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-25 15:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639200256001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639200256001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639200256001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 15:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":163016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:54:51] local.INFO: GPS data processed {"connection_id":163016,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:54:51] local.INFO: Acknowledgment sent {"connection_id":163016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:54:55] local.INFO: TCP Data received {"connection_id":163016,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:54:55] local.INFO: Processing buffer {"connection_id":163016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:54:55] local.INFO: Packet analysis {"connection_id":163016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:54:55] local.INFO: Extracted packet for processing {"connection_id":163016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639200256001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787653426000,"timestamp_ms":1787653426000,"timestamp_seconds":1787653426,"priority":1,"record_length":96,"hex_timestamp":"000001a038728b50"} 
[2026-08-25 15:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:54: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-25 15:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639200256001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639200256001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639200256001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 15:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":163016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:54:55] local.INFO: GPS data processed {"connection_id":163016,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:54:55] local.INFO: Acknowledgment sent {"connection_id":163016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:55:07] local.INFO: TCP Data received {"connection_id":163018,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:55:07] local.INFO: Processing buffer {"connection_id":163018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:55:07] local.INFO: IMEI packet received {"connection_id":163018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":163018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:55:10] local.INFO: TCP Data received {"connection_id":163018,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:55:10] local.INFO: Processing buffer {"connection_id":163018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:55:10] local.INFO: IMEI packet received {"connection_id":163018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":163018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:55:13] local.INFO: TCP Data received {"connection_id":164399,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:13] local.INFO: Processing buffer {"connection_id":164399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:13] local.INFO: IMEI packet received {"connection_id":164399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":164399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:55:14] local.INFO: TCP Data received {"connection_id":164399,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03873a0a8012da3d680054bf738000800c428..."} 
[2026-08-25 15:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03873a0a8012da3d680054bf738000800c428..."} 
[2026-08-25 15:55:14] local.INFO: Processing buffer {"connection_id":164399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03873a0a8012da3d680054bf738000800c428..."} 
[2026-08-25 15:55:14] local.INFO: Packet analysis {"connection_id":164399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:55:14] local.INFO: Extracted packet for processing {"connection_id":164399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:55:14] local.INFO: GPS Element Parsed {"raw_longitude":765712000,"raw_latitude":88864568,"longitude_deg":76.5712,"latitude_deg":8.8864568,"altitude":8,"angle":196,"satellites":40,"speed":8,"hex_longitude":"2da3d680","hex_latitude":"054bf738","is_valid_coordinates":true} 
[2026-08-25 15:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639291648001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123830590112792576,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6640276152829747200,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787653497000,"timestamp_ms":1787653497000,"timestamp_seconds":1787653497,"priority":1,"record_length":96,"hex_timestamp":"000001a03873a0a8"} 
[2026-08-25 15:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:55: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-25 15:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 15:55:14] 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-25 15:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639291648001,"66":12917,"34":206,"84":6144,"24":8,"16":123830590112792576,"45":-6640276152829747200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-08-25 15:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639291648001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:55:14] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-25 15:55:14] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123830590112792576,"km_value":123830590112792.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6640276152829747200,"description":"Unknown IO ID 45"} 
[2026-08-25 15:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639291648001,"power":12917,"unknown_34":206,"unknown_84":6144,"ignition":8,"odometer":null,"unknown_45":-6640276152829747200}} 
[2026-08-25 15:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":164399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:55:14] local.INFO: GPS data processed {"connection_id":164399,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:55:14] local.INFO: Acknowledgment sent {"connection_id":164399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:55:16] local.INFO: TCP Data received {"connection_id":163018,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:55:16] local.INFO: Processing buffer {"connection_id":163018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:55:16] local.INFO: IMEI packet received {"connection_id":163018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":163018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:55:17] local.INFO: TCP Data received {"connection_id":163018,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:55:17] local.INFO: Processing buffer {"connection_id":163018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:55:17] local.INFO: Packet analysis {"connection_id":163018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:55:17] local.INFO: Extracted packet for processing {"connection_id":163018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:55:17] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639211008001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787653469000,"timestamp_ms":1787653469000,"timestamp_seconds":1787653469,"priority":1,"record_length":96,"hex_timestamp":"000001a038733348"} 
[2026-08-25 15:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:55:17] 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-25 15:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-25 15:55:17] 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-25 15:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639211008001,"66":26169,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639211008001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:55:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:55:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639211008001,"power":26169,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":163018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696598,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:55:18] local.INFO: GPS data processed {"connection_id":163018,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:55:18] local.INFO: Acknowledgment sent {"connection_id":163018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:55:39] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:39] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:39] local.INFO: IMEI packet received {"connection_id":161780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":161780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:55:40] local.INFO: TCP Data received {"connection_id":163019,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:55:40] local.INFO: Processing buffer {"connection_id":163019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:55:40] local.INFO: IMEI packet received {"connection_id":163019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":163019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:55:41] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:41] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:41] local.INFO: IMEI packet received {"connection_id":161780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":161780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:55:42] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:42] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:42] local.INFO: IMEI packet received {"connection_id":161780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":161780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:55:44] local.INFO: TCP Data received {"connection_id":163019,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:55:44] local.INFO: Processing buffer {"connection_id":163019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:55:44] local.INFO: IMEI packet received {"connection_id":163019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":163019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:55:45] local.INFO: TCP Data received {"connection_id":163019,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:55:45] local.INFO: Processing buffer {"connection_id":163019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:55:45] local.INFO: Packet analysis {"connection_id":163019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:55:45] local.INFO: Extracted packet for processing {"connection_id":163019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639200256001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787653426000,"timestamp_ms":1787653426000,"timestamp_seconds":1787653426,"priority":1,"record_length":96,"hex_timestamp":"000001a038728b50"} 
[2026-08-25 15:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:55:45] 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-25 15:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639200256001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639200256001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:55:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639200256001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 15:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":163019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:55:45] local.INFO: GPS data processed {"connection_id":163019,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:55:45] local.INFO: Acknowledgment sent {"connection_id":163019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:55:46] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:46] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:55:46] local.INFO: IMEI packet received {"connection_id":161780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":161780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:55:47] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03873a878012da3d680054bf500000800b228..."} 
[2026-08-25 15:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03873a878012da3d680054bf500000800b228..."} 
[2026-08-25 15:55:47] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03873a878012da3d680054bf500000800b228..."} 
[2026-08-25 15:55:47] local.INFO: Packet analysis {"connection_id":161780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:55:47] local.INFO: Extracted packet for processing {"connection_id":161780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:55:47] local.INFO: GPS Element Parsed {"raw_longitude":765712000,"raw_latitude":88864000,"longitude_deg":76.5712,"latitude_deg":8.8864,"altitude":8,"angle":178,"satellites":40,"speed":11,"hex_longitude":"2da3d680","hex_latitude":"054bf500","is_valid_coordinates":true} 
[2026-08-25 15:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639295232001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123830620177563648,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6640979840273532928,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787653499000,"timestamp_ms":1787653499000,"timestamp_seconds":1787653499,"priority":1,"record_length":96,"hex_timestamp":"000001a03873a878"} 
[2026-08-25 15:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:55: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-25 15:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 15:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639295232001,"66":13330,"34":206,"84":6144,"24":11,"16":123830620177563648,"45":-6640979840273532928},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-08-25 15:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639295232001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:55:47] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-25 15:55:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123830620177563648,"km_value":123830620177563.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6640979840273532928,"description":"Unknown IO ID 45"} 
[2026-08-25 15:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639295232001,"power":13330,"unknown_34":206,"unknown_84":6144,"ignition":11,"odometer":null,"unknown_45":-6640979840273532928}} 
[2026-08-25 15:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":161780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:55:47] local.INFO: GPS data processed {"connection_id":161780,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:55:47] local.INFO: Acknowledgment sent {"connection_id":161780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:55:49] local.INFO: TCP Data received {"connection_id":163018,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:55:49] local.INFO: Processing buffer {"connection_id":163018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:55:49] local.INFO: Packet analysis {"connection_id":163018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:55:49] local.INFO: Extracted packet for processing {"connection_id":163018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:55:49] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639211008001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787653469000,"timestamp_ms":1787653469000,"timestamp_seconds":1787653469,"priority":1,"record_length":96,"hex_timestamp":"000001a038733348"} 
[2026-08-25 15: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-25 15:55:49] 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-25 15: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-25 15:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639211008001,"66":26169,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639211008001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:55:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:55:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639211008001,"power":26169,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":163018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696601,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:55:49] local.INFO: GPS data processed {"connection_id":163018,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:55:49] local.INFO: Acknowledgment sent {"connection_id":163018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:56:11] local.INFO: TCP Data received {"connection_id":163020,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:56:11] local.INFO: Processing buffer {"connection_id":163020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:56:11] local.INFO: IMEI packet received {"connection_id":163020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":163020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:56:16] local.INFO: TCP Data received {"connection_id":163020,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:56:16] local.INFO: Processing buffer {"connection_id":163020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:56:16] local.INFO: IMEI packet received {"connection_id":163020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":163020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:56:17] local.INFO: TCP Data received {"connection_id":163019,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:56:17] local.INFO: Processing buffer {"connection_id":163019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:56:17] local.INFO: Packet analysis {"connection_id":163019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:56:17] local.INFO: Extracted packet for processing {"connection_id":163019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639200256001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787653426000,"timestamp_ms":1787653426000,"timestamp_seconds":1787653426,"priority":1,"record_length":96,"hex_timestamp":"000001a038728b50"} 
[2026-08-25 15:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639200256001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639200256001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:56:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639200256001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 15:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":163019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:56:17] local.INFO: GPS data processed {"connection_id":163019,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:56:17] local.INFO: Acknowledgment sent {"connection_id":163019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:56:17] local.INFO: TCP Data received {"connection_id":163020,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:56:17] local.INFO: Processing buffer {"connection_id":163020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:56:17] local.INFO: Packet analysis {"connection_id":163020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:56:17] local.INFO: Extracted packet for processing {"connection_id":163020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:56:17] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639211008001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787653469000,"timestamp_ms":1787653469000,"timestamp_seconds":1787653469,"priority":1,"record_length":96,"hex_timestamp":"000001a038733348"} 
[2026-08-25 15:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:56:17] 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-25 15:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-25 15:56:17] 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-25 15:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639211008001,"66":26169,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639211008001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:56:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:56:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639211008001,"power":26169,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":163020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696603,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:56:17] local.INFO: GPS data processed {"connection_id":163020,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:56:17] local.INFO: Acknowledgment sent {"connection_id":163020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:56:18] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03873d758012da3d5c0054bf0b00008009b2c..."} 
[2026-08-25 15:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03873d758012da3d5c0054bf0b00008009b2c..."} 
[2026-08-25 15:56:18] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03873d758012da3d5c0054bf0b00008009b2c..."} 
[2026-08-25 15:56:18] local.INFO: Packet analysis {"connection_id":161780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:56:18] local.INFO: Extracted packet for processing {"connection_id":161780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:56:18] local.INFO: GPS Element Parsed {"raw_longitude":765711808,"raw_latitude":88862896,"longitude_deg":76.5711808,"latitude_deg":8.8862896,"altitude":8,"angle":155,"satellites":44,"speed":1,"hex_longitude":"2da3d5c0","hex_latitude":"054bf0b0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639295744001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123830676012138496,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6640979840273678336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787653511000,"timestamp_ms":1787653511000,"timestamp_seconds":1787653511,"priority":1,"record_length":96,"hex_timestamp":"000001a03873d758"} 
[2026-08-25 15: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-25 15:56: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-25 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":24,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2748776453,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":14336,"corrected_to":0} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57781681105294360,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3288696453371537704,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2821505213801899008,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1210187982,"corrected_to":0} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2281778595,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827400,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4005494784,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":115,"raw_value":5102579673344065541,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2450185057864783872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.WARNING: Large IO value detected {"io_id":95,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:18] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,34,84,24,241,157,16,239,160,45,128,247,8,40,10,66,105,21,11,35,238,98,192,1,240,110,227,56,76,4,113,205,82,211,184,37,52,2,183,5,25,115,72,95],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":247,"original":14336,"validated":0},{"io_id":205,"original":1210187982,"validated":0}]} 
[2026-08-25 15:56:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576656637172580352,"timestamp_seconds":576656637172580.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 15: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-25 15:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639295744001,"66":13493,"34":206,"84":6144,"24":1,"16":123830676012138496,"45":-6640979840273678336},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-08-25 15:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639295744001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:56:18] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-25 15:56:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123830676012138496,"km_value":123830676012138.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6640979840273678336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639295744001,"power":13493,"unknown_34":206,"unknown_84":6144,"ignition":1,"odometer":null,"unknown_45":-6640979840273678336}} 
[2026-08-25 15:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":161780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:56:18] local.INFO: GPS data processed {"connection_id":161780,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:56:18] local.INFO: Acknowledgment sent {"connection_id":161780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:56:21] local.INFO: TCP Data received {"connection_id":163020,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:56:21] local.INFO: Processing buffer {"connection_id":163020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:56:21] local.INFO: Packet analysis {"connection_id":163020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:56:21] local.INFO: Extracted packet for processing {"connection_id":163020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:56:21] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639211008001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787653469000,"timestamp_ms":1787653469000,"timestamp_seconds":1787653469,"priority":1,"record_length":96,"hex_timestamp":"000001a038733348"} 
[2026-08-25 15:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:56:21] 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-25 15:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-25 15:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639211008001,"66":26169,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639211008001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:56:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:56:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639211008001,"power":26169,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":163020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696605,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:56:21] local.INFO: GPS data processed {"connection_id":163020,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:56:21] local.INFO: Acknowledgment sent {"connection_id":163020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:56:39] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:56:39] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:56:39] local.INFO: IMEI packet received {"connection_id":162017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":162017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:56:39] local.INFO: TCP Data received {"connection_id":161781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:56:39] local.INFO: Processing buffer {"connection_id":161781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:56:39] local.INFO: IMEI packet received {"connection_id":161781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":161781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:56:41] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:56:41] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:56:41] local.INFO: IMEI packet received {"connection_id":162017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":162017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:56:45] local.INFO: TCP Data received {"connection_id":161781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:56:45] local.INFO: Processing buffer {"connection_id":161781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:56:45] local.INFO: IMEI packet received {"connection_id":161781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":161781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:56:45] local.INFO: TCP Data received {"connection_id":161781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:56:45] local.INFO: Processing buffer {"connection_id":161781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:56:45] local.INFO: Packet analysis {"connection_id":161781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:56:45] local.INFO: Extracted packet for processing {"connection_id":161781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639200256001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787653426000,"timestamp_ms":1787653426000,"timestamp_seconds":1787653426,"priority":1,"record_length":96,"hex_timestamp":"000001a038728b50"} 
[2026-08-25 15: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-25 15:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639200256001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639200256001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639200256001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 15:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":161781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:56:45] local.INFO: GPS data processed {"connection_id":161781,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:56:45] local.INFO: Acknowledgment sent {"connection_id":161781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:56:46] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:56:46] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:56:46] local.INFO: IMEI packet received {"connection_id":162017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":162017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:57:05] local.INFO: TCP Data received {"connection_id":163021,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:57:05] local.INFO: Processing buffer {"connection_id":163021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:57:05] local.INFO: IMEI packet received {"connection_id":163021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":163021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:57:07] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03873e310012da3d600054bf010000900a72c..."} 
[2026-08-25 15:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03873e310012da3d600054bf010000900a72c..."} 
[2026-08-25 15:57:07] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03873e310012da3d600054bf010000900a72c..."} 
[2026-08-25 15:57:07] local.INFO: Packet analysis {"connection_id":162017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:57:07] local.INFO: Extracted packet for processing {"connection_id":162017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:57:07] local.INFO: GPS Element Parsed {"raw_longitude":765711872,"raw_latitude":88862736,"longitude_deg":76.5711872,"latitude_deg":8.8862736,"altitude":9,"angle":167,"satellites":44,"speed":2,"hex_longitude":"2da3d600","hex_latitude":"054bf010","is_valid_coordinates":true} 
[2026-08-25 15:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639298816001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123830688897040384,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6641190946506493952,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787653514000,"timestamp_ms":1787653514000,"timestamp_seconds":1787653514,"priority":1,"record_length":96,"hex_timestamp":"000001a03873e310"} 
[2026-08-25 15:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 15:57:07] 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-25 15:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639298816001,"66":13374,"34":206,"84":6144,"24":2,"16":123830688897040384,"45":-6641190946506493952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-08-25 15:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639298816001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:57:07] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-25 15:57:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123830688897040384,"km_value":123830688897040.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6641190946506493952,"description":"Unknown IO ID 45"} 
[2026-08-25 15:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639298816001,"power":13374,"unknown_34":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6641190946506493952}} 
[2026-08-25 15:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":162017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:57:07] local.INFO: GPS data processed {"connection_id":162017,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:57:07] local.INFO: Acknowledgment sent {"connection_id":162017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:57:11] local.INFO: TCP Data received {"connection_id":163021,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:57:11] local.INFO: Processing buffer {"connection_id":163021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:57:11] local.INFO: IMEI packet received {"connection_id":163021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":163021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:57:16] local.INFO: TCP Data received {"connection_id":163021,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:57:16] local.INFO: Processing buffer {"connection_id":163021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:57:16] local.INFO: Packet analysis {"connection_id":163021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:57:16] local.INFO: Extracted packet for processing {"connection_id":163021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:57:16] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639211008001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787653469000,"timestamp_ms":1787653469000,"timestamp_seconds":1787653469,"priority":1,"record_length":96,"hex_timestamp":"000001a038733348"} 
[2026-08-25 15: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-25 15:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-25 15:57:16] 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-25 15: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-25 15: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-25 15:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639211008001,"66":26169,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639211008001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:57:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:57:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639211008001,"power":26169,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":163021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696608,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:57:16] local.INFO: GPS data processed {"connection_id":163021,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:57:16] local.INFO: Acknowledgment sent {"connection_id":163021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:57:17] local.INFO: TCP Data received {"connection_id":161781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:57:17] local.INFO: Processing buffer {"connection_id":161781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:57:17] local.INFO: Packet analysis {"connection_id":161781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:57:17] local.INFO: Extracted packet for processing {"connection_id":161781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639200256001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787653426000,"timestamp_ms":1787653426000,"timestamp_seconds":1787653426,"priority":1,"record_length":96,"hex_timestamp":"000001a038728b50"} 
[2026-08-25 15:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639200256001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639200256001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639200256001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 15:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":161781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:57:17] local.INFO: GPS data processed {"connection_id":161781,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:57:17] local.INFO: Acknowledgment sent {"connection_id":161781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:57:39] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:57:39] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:57:39] local.INFO: IMEI packet received {"connection_id":162019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":162019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:57:40] local.INFO: TCP Data received {"connection_id":162018,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:57:40] local.INFO: Processing buffer {"connection_id":162018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:57:40] local.INFO: IMEI packet received {"connection_id":162018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":162018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:57:42] local.INFO: TCP Data received {"connection_id":162018,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:57:42] local.INFO: Processing buffer {"connection_id":162018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:57:42] local.INFO: IMEI packet received {"connection_id":162018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":162018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:57:45] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:57:45] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:57:45] local.INFO: IMEI packet received {"connection_id":162019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":162019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:57:45] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:57:45] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:57:45] local.INFO: Packet analysis {"connection_id":162019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:57:45] local.INFO: Extracted packet for processing {"connection_id":162019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639200256001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787653426000,"timestamp_ms":1787653426000,"timestamp_seconds":1787653426,"priority":1,"record_length":96,"hex_timestamp":"000001a038728b50"} 
[2026-08-25 15:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639200256001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639200256001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639200256001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 15:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":162019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:57:45] local.INFO: GPS data processed {"connection_id":162019,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:57:45] local.INFO: Acknowledgment sent {"connection_id":162019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:57:45] local.INFO: TCP Data received {"connection_id":162018,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:57:45] local.INFO: Processing buffer {"connection_id":162018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:57:45] local.INFO: IMEI packet received {"connection_id":162018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":162018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:57:46] local.INFO: TCP Data received {"connection_id":162018,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03873e6f8012da3d600054bef90000900b92d..."} 
[2026-08-25 15:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03873e6f8012da3d600054bef90000900b92d..."} 
[2026-08-25 15:57:46] local.INFO: Processing buffer {"connection_id":162018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03873e6f8012da3d600054bef90000900b92d..."} 
[2026-08-25 15:57:46] local.INFO: Packet analysis {"connection_id":162018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:57:46] local.INFO: Extracted packet for processing {"connection_id":162018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:57:46] local.INFO: GPS Element Parsed {"raw_longitude":765711872,"raw_latitude":88862608,"longitude_deg":76.5711872,"latitude_deg":8.8862608,"altitude":9,"angle":185,"satellites":45,"speed":3,"hex_longitude":"2da3d600","hex_latitude":"054bef90","is_valid_coordinates":true} 
[2026-08-25 15:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639299584001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123830693192007680,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6641120577762357248,"note":"Value kept but may cause issues"} 
[2026-08-25 15:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787653515000,"timestamp_ms":1787653515000,"timestamp_seconds":1787653515,"priority":1,"record_length":96,"hex_timestamp":"000001a03873e6f8"} 
[2026-08-25 15:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:57:46] 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-25 15:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639299584001,"66":13374,"34":206,"84":6144,"24":3,"16":123830693192007680,"45":-6641120577762357248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-08-25 15:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639299584001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:57:46] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-25 15:57:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123830693192007680,"km_value":123830693192007.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6641120577762357248,"description":"Unknown IO ID 45"} 
[2026-08-25 15:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639299584001,"power":13374,"unknown_34":206,"unknown_84":6144,"ignition":3,"odometer":null,"unknown_45":-6641120577762357248}} 
[2026-08-25 15:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":162018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:57:46] local.INFO: GPS data processed {"connection_id":162018,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:57:46] local.INFO: Acknowledgment sent {"connection_id":162018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:58:11] local.INFO: TCP Data received {"connection_id":161782,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:58:11] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:58:11] local.INFO: IMEI packet received {"connection_id":161782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":161782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:58:16] local.INFO: TCP Data received {"connection_id":161782,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:58:16] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:58:16] local.INFO: IMEI packet received {"connection_id":161782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":161782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:58:17] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:58:17] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:58:17] local.INFO: Packet analysis {"connection_id":162019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:58:17] local.INFO: Extracted packet for processing {"connection_id":162019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639200256001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787653426000,"timestamp_ms":1787653426000,"timestamp_seconds":1787653426,"priority":1,"record_length":96,"hex_timestamp":"000001a038728b50"} 
[2026-08-25 15:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:58:17] 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-25 15:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639200256001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639200256001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639200256001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 15:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":162019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:58:17] local.INFO: GPS data processed {"connection_id":162019,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:58:17] local.INFO: Acknowledgment sent {"connection_id":162019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:58:18] local.INFO: TCP Data received {"connection_id":162018,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03873eec8012da3d5c0054bee38000900c62c..."} 
[2026-08-25 15:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03873eec8012da3d5c0054bee38000900c62c..."} 
[2026-08-25 15:58:18] local.INFO: Processing buffer {"connection_id":162018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03873eec8012da3d5c0054bee38000900c62c..."} 
[2026-08-25 15:58:18] local.INFO: Packet analysis {"connection_id":162018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:58:18] local.INFO: Extracted packet for processing {"connection_id":162018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:58:18] local.INFO: GPS Element Parsed {"raw_longitude":765711808,"raw_latitude":88862264,"longitude_deg":76.5711808,"latitude_deg":8.8862264,"altitude":9,"angle":198,"satellites":44,"speed":9,"hex_longitude":"2da3d5c0","hex_latitude":"054bee38","is_valid_coordinates":true} 
[2026-08-25 15:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639299840001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123830710371876864,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6641120577762390016,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787653517000,"timestamp_ms":1787653517000,"timestamp_seconds":1787653517,"priority":1,"record_length":96,"hex_timestamp":"000001a03873eec8"} 
[2026-08-25 15:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 15:58: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-25 15:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639299840001,"66":13319,"34":206,"84":6144,"24":9,"16":123830710371876864,"45":-6641120577762390016},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-08-25 15:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639299840001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:58:18] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-25 15:58:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123830710371876864,"km_value":123830710371876.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6641120577762390016,"description":"Unknown IO ID 45"} 
[2026-08-25 15:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639299840001,"power":13319,"unknown_34":206,"unknown_84":6144,"ignition":9,"odometer":null,"unknown_45":-6641120577762390016}} 
[2026-08-25 15:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":162018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:58:18] local.INFO: GPS data processed {"connection_id":162018,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:58:18] local.INFO: Acknowledgment sent {"connection_id":162018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:58:19] local.INFO: TCP Data received {"connection_id":161782,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:58:19] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:58:19] local.INFO: Packet analysis {"connection_id":161782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:58:19] local.INFO: Extracted packet for processing {"connection_id":161782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:58:19] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639211008001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787653469000,"timestamp_ms":1787653469000,"timestamp_seconds":1787653469,"priority":1,"record_length":96,"hex_timestamp":"000001a038733348"} 
[2026-08-25 15:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:58:19] 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-25 15:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-25 15:58:19] 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-25 15:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639211008001,"66":26169,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639211008001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:58:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:58:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639211008001,"power":26169,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":161782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:58:19] local.INFO: GPS data processed {"connection_id":161782,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:58:19] local.INFO: Acknowledgment sent {"connection_id":161782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:58:21] local.INFO: TCP Data received {"connection_id":161782,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:58:21] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:58:21] local.INFO: Packet analysis {"connection_id":161782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:58:21] local.INFO: Extracted packet for processing {"connection_id":161782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:58:21] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639211008001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787653469000,"timestamp_ms":1787653469000,"timestamp_seconds":1787653469,"priority":1,"record_length":96,"hex_timestamp":"000001a038733348"} 
[2026-08-25 15: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-25 15:58:21] 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-25 15: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-25 15:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15: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-25 15: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-25 15:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639211008001,"66":26169,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639211008001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:58:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:58:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639211008001,"power":26169,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":161782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696615,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:58:21] local.INFO: GPS data processed {"connection_id":161782,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:58:21] local.INFO: Acknowledgment sent {"connection_id":161782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:58:40] local.INFO: TCP Data received {"connection_id":163023,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:58:40] local.INFO: Processing buffer {"connection_id":163023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:58:40] local.INFO: IMEI packet received {"connection_id":163023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":163023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:58:44] local.INFO: TCP Data received {"connection_id":163022,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:58:44] local.INFO: Processing buffer {"connection_id":163022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:58:44] local.INFO: IMEI packet received {"connection_id":163022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":163022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:58:45] local.INFO: TCP Data received {"connection_id":163023,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:58:45] local.INFO: Processing buffer {"connection_id":163023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:58:45] local.INFO: IMEI packet received {"connection_id":163023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":163023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:58:46] local.INFO: TCP Data received {"connection_id":163023,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:58:46] local.INFO: Processing buffer {"connection_id":163023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:58:46] local.INFO: IMEI packet received {"connection_id":163023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":163023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:58:47] local.INFO: TCP Data received {"connection_id":163023,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a038766f68012da38780054b72e8000500d12b..."} 
[2026-08-25 15:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038766f68012da38780054b72e8000500d12b..."} 
[2026-08-25 15:58:47] local.INFO: Processing buffer {"connection_id":163023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038766f68012da38780054b72e8000500d12b..."} 
[2026-08-25 15:58:47] local.INFO: Packet analysis {"connection_id":163023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03876"} 
[2026-08-25 15:58:47] local.INFO: Extracted packet for processing {"connection_id":163023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03876"} 
[2026-08-25 15:58:47] local.INFO: GPS Element Parsed {"raw_longitude":765691776,"raw_latitude":88830696,"longitude_deg":76.5691776,"latitude_deg":8.8830696,"altitude":5,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2da38780","hex_latitude":"054b72e8","is_valid_coordinates":true} 
[2026-08-25 15:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639336960001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123832557207814144,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6663216363442345984,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787653681000,"timestamp_ms":1787653681000,"timestamp_seconds":1787653681,"priority":1,"record_length":96,"hex_timestamp":"000001a038766f68"} 
[2026-08-25 15:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:58: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-25 15:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-25 15:58:47] 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-25 15:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639336960001,"66":13254,"35":206,"84":6144,"24":0,"16":123832557207814144,"45":-6663216363442345984},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 15:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639336960001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:58:47] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 15:58:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123832557207814144,"km_value":123832557207814.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6663216363442345984,"description":"Unknown IO ID 45"} 
[2026-08-25 15:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639336960001,"power":13254,"unknown_35":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6663216363442345984}} 
[2026-08-25 15:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":163023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:58:47] local.INFO: GPS data processed {"connection_id":163023,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:58:47] local.INFO: Acknowledgment sent {"connection_id":163023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:58:48] local.INFO: TCP Data received {"connection_id":163023,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03876c170012da38780054b72e8000500d12c..."} 
[2026-08-25 15:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03876c170012da38780054b72e8000500d12c..."} 
[2026-08-25 15:58:48] local.INFO: Processing buffer {"connection_id":163023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03876c170012da38780054b72e8000500d12c..."} 
[2026-08-25 15:58:48] local.INFO: Packet analysis {"connection_id":163023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03876"} 
[2026-08-25 15:58:48] local.INFO: Extracted packet for processing {"connection_id":163023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03876"} 
[2026-08-25 15:58:48] local.INFO: GPS Element Parsed {"raw_longitude":765691776,"raw_latitude":88830696,"longitude_deg":76.5691776,"latitude_deg":8.8830696,"altitude":5,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2da38780","hex_latitude":"054b72e8","is_valid_coordinates":true} 
[2026-08-25 15:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639342336001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123832557207814144,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6663216363442345984,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787653702000,"timestamp_ms":1787653702000,"timestamp_seconds":1787653702,"priority":1,"record_length":96,"hex_timestamp":"000001a03876c170"} 
[2026-08-25 15:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 15:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639342336001,"66":13319,"35":206,"84":6144,"24":0,"16":123832557207814144,"45":-6663216363442345984},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 15:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639342336001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:58:48] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 15:58:48] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123832557207814144,"km_value":123832557207814.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6663216363442345984,"description":"Unknown IO ID 45"} 
[2026-08-25 15:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639342336001,"power":13319,"unknown_35":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6663216363442345984}} 
[2026-08-25 15:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":163023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:58:48] local.INFO: GPS data processed {"connection_id":163023,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:58:48] local.INFO: Acknowledgment sent {"connection_id":163023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:58:50] local.INFO: TCP Data received {"connection_id":163022,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:58:50] local.INFO: Processing buffer {"connection_id":163022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:58:50] local.INFO: IMEI packet received {"connection_id":163022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":163022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:58:51] local.INFO: TCP Data received {"connection_id":163022,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:58:51] local.INFO: Processing buffer {"connection_id":163022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:58:51] local.INFO: Packet analysis {"connection_id":163022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:58:51] local.INFO: Extracted packet for processing {"connection_id":163022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639200256001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787653426000,"timestamp_ms":1787653426000,"timestamp_seconds":1787653426,"priority":1,"record_length":96,"hex_timestamp":"000001a038728b50"} 
[2026-08-25 15:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:58:51] 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-25 15:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639200256001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639200256001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639200256001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 15:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":163022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:58:51] local.INFO: GPS data processed {"connection_id":163022,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:58:51] local.INFO: Acknowledgment sent {"connection_id":163022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:58:52] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:58:52] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:58:52] local.INFO: IMEI packet received {"connection_id":161783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":161783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:58:55] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:58:55] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:58:55] local.INFO: IMEI packet received {"connection_id":161783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":161783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:58:55] local.INFO: TCP Data received {"connection_id":163022,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:58:55] local.INFO: Processing buffer {"connection_id":163022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038728b50012d34c14006aa4818000500e62d..."} 
[2026-08-25 15:58:55] local.INFO: Packet analysis {"connection_id":163022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:58:55] local.INFO: Extracted packet for processing {"connection_id":163022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03872"} 
[2026-08-25 15:58:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639200256001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787653426000,"timestamp_ms":1787653426000,"timestamp_seconds":1787653426,"priority":1,"record_length":96,"hex_timestamp":"000001a038728b50"} 
[2026-08-25 15:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:58: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-25 15:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:58:55] 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-25 15:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639200256001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639200256001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:58:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639200256001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 15:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":163022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:58:55] local.INFO: GPS data processed {"connection_id":163022,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:58:55] local.INFO: Acknowledgment sent {"connection_id":163022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:58:56] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0387569b0012d1d0200071dfee8005e00cd26..."} 
[2026-08-25 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387569b0012d1d0200071dfee8005e00cd26..."} 
[2026-08-25 15:58:56] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387569b0012d1d0200071dfee8005e00cd26..."} 
[2026-08-25 15:58:56] local.INFO: Packet analysis {"connection_id":161783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03875"} 
[2026-08-25 15:58:56] local.INFO: Extracted packet for processing {"connection_id":161783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03875"} 
[2026-08-25 15:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756875776,"raw_latitude":119406312,"longitude_deg":75.6875776,"latitude_deg":11.9406312,"altitude":94,"angle":205,"satellites":38,"speed":28,"hex_longitude":"2d1d0200","hex_latitude":"071dfee8","is_valid_coordinates":true} 
[2026-08-25 15:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639322112001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15971080703311872,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2092836851157782528,"note":"Value kept but may cause issues"} 
[2026-08-25 15:58:56] 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-25 15:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787653614000,"timestamp_ms":1787653614000,"timestamp_seconds":1787653614,"priority":1,"record_length":96,"hex_timestamp":"000001a0387569b0"} 
[2026-08-25 15:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:58:56] 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-25 15:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 15:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:58:56] 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-25 15:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639322112001,"66":14157,"109":206,"83":41984,"24":28,"16":15971080703311872,"45":2092836851157782528},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-25 15:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639322112001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:58:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 15:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 15:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15971080703311872,"km_value":15971080703311.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2092836851157782528,"description":"Unknown IO ID 45"} 
[2026-08-25 15:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639322112001,"power":14157,"unknown_109":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":2092836851157782528}} 
[2026-08-25 15:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":161783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:58:56] local.INFO: GPS data processed {"connection_id":161783,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:58:56] local.INFO: Acknowledgment sent {"connection_id":161783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:59:05] local.INFO: TCP Data received {"connection_id":161784,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:59:05] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:59:05] local.INFO: IMEI packet received {"connection_id":161784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 15:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":161784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:59:11] local.INFO: TCP Data received {"connection_id":161784,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:59:11] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 15:59:11] local.INFO: IMEI packet received {"connection_id":161784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 15:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":161784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:59:16] local.INFO: TCP Data received {"connection_id":161784,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:59:16] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038733348012d70c880067fd3a00032011629..."} 
[2026-08-25 15:59:16] local.INFO: Packet analysis {"connection_id":161784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:59:16] local.INFO: Extracted packet for processing {"connection_id":161784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03873"} 
[2026-08-25 15:59:16] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 15:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639211008001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787653469000,"timestamp_ms":1787653469000,"timestamp_seconds":1787653469,"priority":1,"record_length":96,"hex_timestamp":"000001a038733348"} 
[2026-08-25 15:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-25 15:59:16] 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-25 15:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 15:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 15:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 15:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639211008001,"66":26169,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 15:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 15:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 15:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639211008001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:59:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 15:59:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 15:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 15:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639211008001,"power":26169,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 15:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":161784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696621,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:59:16] local.INFO: GPS data processed {"connection_id":161784,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:59:16] local.INFO: Acknowledgment sent {"connection_id":161784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:59:20] local.INFO: TCP Data received {"connection_id":163023,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a038777908012da39340054b65a0000600ac2e..."} 
[2026-08-25 15:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038777908012da39340054b65a0000600ac2e..."} 
[2026-08-25 15:59:20] local.INFO: Processing buffer {"connection_id":163023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038777908012da39340054b65a0000600ac2e..."} 
[2026-08-25 15:59:20] local.INFO: Packet analysis {"connection_id":163023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 15:59:20] local.INFO: Extracted packet for processing {"connection_id":163023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 15:59:20] local.INFO: GPS Element Parsed {"raw_longitude":765694784,"raw_latitude":88827296,"longitude_deg":76.5694784,"latitude_deg":8.8827296,"altitude":6,"angle":172,"satellites":46,"speed":6,"hex_longitude":"2da39340","hex_latitude":"054b65a0","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639359232001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123832952344805376,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6659979401210966016,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787653749000,"timestamp_ms":1787653749000,"timestamp_seconds":1787653749,"priority":1,"record_length":96,"hex_timestamp":"000001a038777908"} 
[2026-08-25 15: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-25 15:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 15:59:20] 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-25 15: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-25 15: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-25 15:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639359232001,"66":13428,"35":206,"84":6144,"24":6,"16":123832952344805376,"45":-6659979401210966016},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 15:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639359232001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:59:20] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 15:59:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123832952344805376,"km_value":123832952344805.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6659979401210966016,"description":"Unknown IO ID 45"} 
[2026-08-25 15:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639359232001,"power":13428,"unknown_35":206,"unknown_84":6144,"ignition":6,"odometer":null,"unknown_45":-6659979401210966016}} 
[2026-08-25 15:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":163023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:59:20] local.INFO: GPS data processed {"connection_id":163023,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:59:20] local.INFO: Acknowledgment sent {"connection_id":163023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:59:27] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03876ade8012d1d2cc0071dafc80057005425..."} 
[2026-08-25 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03876ade8012d1d2cc0071dafc80057005425..."} 
[2026-08-25 15:59:27] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03876ade8012d1d2cc0071dafc80057005425..."} 
[2026-08-25 15:59:27] local.INFO: Packet analysis {"connection_id":161783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03876"} 
[2026-08-25 15:59:27] local.INFO: Extracted packet for processing {"connection_id":161783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03876"} 
[2026-08-25 15:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756886720,"raw_latitude":119386056,"longitude_deg":75.688672,"latitude_deg":11.9386056,"altitude":87,"angle":84,"satellites":37,"speed":32,"hex_longitude":"2d1d2cc0","hex_latitude":"071dafc8","is_valid_coordinates":true} 
[2026-08-25 15:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639346432001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15972790100295680,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2102266262870542336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:27] 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-25 15:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787653697000,"timestamp_ms":1787653697000,"timestamp_seconds":1787653697,"priority":1,"record_length":96,"hex_timestamp":"000001a03876ade8"} 
[2026-08-25 15:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:59:27] 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-25 15:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 15:59:27] 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-25 15:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:59:27] 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-25 15:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639346432001,"66":13091,"109":206,"83":41984,"24":32,"16":15972790100295680,"45":2102266262870542336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-25 15:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639346432001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:59:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 15:59:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 15:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15972790100295680,"km_value":15972790100295.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2102266262870542336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639346432001,"power":13091,"unknown_109":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":2102266262870542336}} 
[2026-08-25 15:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":161783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:59:27] local.INFO: GPS data processed {"connection_id":161783,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:59:27] local.INFO: Acknowledgment sent {"connection_id":161783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:59:40] local.INFO: TCP Data received {"connection_id":161785,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:59:40] local.INFO: Processing buffer {"connection_id":161785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:59:40] local.INFO: IMEI packet received {"connection_id":161785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 15:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":161785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:59:45] local.INFO: TCP Data received {"connection_id":161785,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:59:45] local.INFO: Processing buffer {"connection_id":161785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 15:59:45] local.INFO: IMEI packet received {"connection_id":161785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 15:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":161785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:59:46] local.INFO: TCP Data received {"connection_id":161785,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 15:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 15:59:46] local.INFO: Processing buffer {"connection_id":161785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 15:59:46] local.INFO: Packet analysis {"connection_id":161785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 15:59:46] local.INFO: Extracted packet for processing {"connection_id":161785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 15:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639277056001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787653727000,"timestamp_ms":1787653727000,"timestamp_seconds":1787653727,"priority":1,"record_length":96,"hex_timestamp":"000001a038772318"} 
[2026-08-25 15:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 15:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:59:46] 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-25 15:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639277056001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639277056001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639277056001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 15:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":161785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:59:46] local.INFO: GPS data processed {"connection_id":161785,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:59:46] local.INFO: Acknowledgment sent {"connection_id":161785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:59:46] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:59:46] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:59:46] local.INFO: IMEI packet received {"connection_id":162021,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 15:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":162021,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:59:50] local.INFO: TCP Data received {"connection_id":161785,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 15:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 15:59:50] local.INFO: Processing buffer {"connection_id":161785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 15:59:50] local.INFO: Packet analysis {"connection_id":161785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 15:59:50] local.INFO: Extracted packet for processing {"connection_id":161785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 15:59:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639277056001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 15:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 15:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787653727000,"timestamp_ms":1787653727000,"timestamp_seconds":1787653727,"priority":1,"record_length":96,"hex_timestamp":"000001a038772318"} 
[2026-08-25 15: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-25 15:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 15: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 15:59: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-25 15: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-25 15: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-25 15:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 15:59: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-25 15:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 15:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 15:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639277056001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 15:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 15:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 15:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639277056001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:59:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 15:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639277056001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 15:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":161785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:59:50] local.INFO: GPS data processed {"connection_id":161785,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:59:50] local.INFO: Acknowledgment sent {"connection_id":161785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:59:51] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:59:51] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 15:59:51] local.INFO: IMEI packet received {"connection_id":162021,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 15:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":162021,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:59:52] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0387780d8012da39340054b6468000500c02e..."} 
[2026-08-25 15:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387780d8012da39340054b6468000500c02e..."} 
[2026-08-25 15:59:52] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387780d8012da39340054b6468000500c02e..."} 
[2026-08-25 15:59:52] local.INFO: Packet analysis {"connection_id":162021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 15:59:52] local.INFO: Extracted packet for processing {"connection_id":162021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 15:59:52] local.INFO: GPS Element Parsed {"raw_longitude":765694784,"raw_latitude":88826984,"longitude_deg":76.5694784,"latitude_deg":8.8826984,"altitude":5,"angle":192,"satellites":46,"speed":6,"hex_longitude":"2da39340","hex_latitude":"054b6468","is_valid_coordinates":true} 
[2026-08-25 15:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 15:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639359744001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123832965229707264,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6659909032466866176,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 15:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787653751000,"timestamp_ms":1787653751000,"timestamp_seconds":1787653751,"priority":1,"record_length":96,"hex_timestamp":"000001a0387780d8"} 
[2026-08-25 15:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 15:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 15:59:52] 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-25 15:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 15:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 15:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 15:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 15:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 15:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 15:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639359744001,"66":13580,"35":206,"84":6144,"24":6,"16":123832965229707264,"45":-6659909032466866176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 15:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 15:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 15:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639359744001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:59:52] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 15:59:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 15:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123832965229707264,"km_value":123832965229707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6659909032466866176,"description":"Unknown IO ID 45"} 
[2026-08-25 15:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639359744001,"power":13580,"unknown_35":206,"unknown_84":6144,"ignition":6,"odometer":null,"unknown_45":-6659909032466866176}} 
[2026-08-25 15:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":162021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:59:52] local.INFO: GPS data processed {"connection_id":162021,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:59:52] local.INFO: Acknowledgment sent {"connection_id":162021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 15:59:52] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:59:52] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:59:52] local.INFO: IMEI packet received {"connection_id":162022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 15:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":162022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 15:59:54] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:59:54] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:59:54] local.INFO: IMEI packet received {"connection_id":162022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":162022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:59:57] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:59:57] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 15:59:57] local.INFO: IMEI packet received {"connection_id":162022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 15:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":162022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 15:59:57] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03876d110012d1d4700071daff8005200611c..."} 
[2026-08-25 15:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03876d110012d1d4700071daff8005200611c..."} 
[2026-08-25 15:59:57] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03876d110012d1d4700071daff8005200611c..."} 
[2026-08-25 15:59:57] local.INFO: Packet analysis {"connection_id":162022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03876"} 
[2026-08-25 15:59:57] local.INFO: Extracted packet for processing {"connection_id":162022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03876"} 
[2026-08-25 15:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756893440,"raw_latitude":119386104,"longitude_deg":75.689344,"latitude_deg":11.9386104,"altitude":82,"angle":97,"satellites":28,"speed":34,"hex_longitude":"2d1d4700","hex_latitude":"071daff8","is_valid_coordinates":true} 
[2026-08-25 15: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-25 15:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639346432001,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15973112222842880,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2102266262870542336,"note":"Value kept but may cause issues"} 
[2026-08-25 15:59:57] 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-25 15:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787653706000,"timestamp_ms":1787653706000,"timestamp_seconds":1787653706,"priority":1,"record_length":96,"hex_timestamp":"000001a03876d110"} 
[2026-08-25 15: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-25 15:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 15:59:57] 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-25 15: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-25 15: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-25 15:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 15:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 15:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 15:59:57] 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-25 15:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 15:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 15:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639346432001,"66":13646,"109":206,"83":41984,"24":34,"16":15973112222842880,"45":2102266262870542336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-25 15:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 15:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 15:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639346432001,"description":"Unknown IO ID 0"} 
[2026-08-25 15:59:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 15:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 15:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15973112222842880,"km_value":15973112222842.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 15:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2102266262870542336,"description":"Unknown IO ID 45"} 
[2026-08-25 15:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639346432001,"power":13646,"unknown_109":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":2102266262870542336}} 
[2026-08-25 15:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":162022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 15:59:58] local.INFO: GPS data processed {"connection_id":162022,"processed":1,"errors":0,"total":1} 
[2026-08-25 15:59:58] local.INFO: Acknowledgment sent {"connection_id":162022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:00:05] local.INFO: TCP Data received {"connection_id":164400,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:00:05] local.INFO: Processing buffer {"connection_id":164400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:00:05] local.INFO: IMEI packet received {"connection_id":164400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 16:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":164400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:00:08] local.INFO: TCP Data received {"connection_id":164400,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:00:08] local.INFO: Processing buffer {"connection_id":164400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:00:08] local.INFO: IMEI packet received {"connection_id":164400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 16:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":164400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:00:11] local.INFO: TCP Data received {"connection_id":164400,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:00:11] local.INFO: Processing buffer {"connection_id":164400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:00:11] local.INFO: IMEI packet received {"connection_id":164400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 16:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":164400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:00:13] local.INFO: TCP Data received {"connection_id":164400,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03877cb10012d70c880067fd3a00032011629..."} 
[2026-08-25 16:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03877cb10012d70c880067fd3a00032011629..."} 
[2026-08-25 16:00:13] local.INFO: Processing buffer {"connection_id":164400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03877cb10012d70c880067fd3a00032011629..."} 
[2026-08-25 16:00:13] local.INFO: Packet analysis {"connection_id":164400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:13] local.INFO: Extracted packet for processing {"connection_id":164400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:13] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 16:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639288064001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787653770000,"timestamp_ms":1787653770000,"timestamp_seconds":1787653770,"priority":1,"record_length":96,"hex_timestamp":"000001a03877cb10"} 
[2026-08-25 16:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:00:13] 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-25 16:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-25 16:00:13] 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-25 16:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 16:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 16:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639288064001,"66":26082,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 16:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 16:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 16:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639288064001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:00:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 16:00:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 16:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 16:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639288064001,"power":26082,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 16:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":164400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:00:13] local.INFO: GPS data processed {"connection_id":164400,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:00:13] local.INFO: Acknowledgment sent {"connection_id":164400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:00:16] local.INFO: TCP Data received {"connection_id":164400,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03877cb10012d70c880067fd3a00032011629..."} 
[2026-08-25 16:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03877cb10012d70c880067fd3a00032011629..."} 
[2026-08-25 16:00:16] local.INFO: Processing buffer {"connection_id":164400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03877cb10012d70c880067fd3a00032011629..."} 
[2026-08-25 16:00:16] local.INFO: Packet analysis {"connection_id":164400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:16] local.INFO: Extracted packet for processing {"connection_id":164400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:16] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 16:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639288064001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787653770000,"timestamp_ms":1787653770000,"timestamp_seconds":1787653770,"priority":1,"record_length":96,"hex_timestamp":"000001a03877cb10"} 
[2026-08-25 16:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-25 16:00:16] 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-25 16:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 16:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 16:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639288064001,"66":26082,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 16:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 16:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 16:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639288064001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:00:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 16:00:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 16:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 16:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639288064001,"power":26082,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 16:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":164400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:00:16] local.INFO: GPS data processed {"connection_id":164400,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:00:16] local.INFO: Acknowledgment sent {"connection_id":164400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:00:22] local.INFO: TCP Data received {"connection_id":161785,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:00:22] local.INFO: Processing buffer {"connection_id":161785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:00:22] local.INFO: Packet analysis {"connection_id":161785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:22] local.INFO: Extracted packet for processing {"connection_id":161785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639277056001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787653727000,"timestamp_ms":1787653727000,"timestamp_seconds":1787653727,"priority":1,"record_length":96,"hex_timestamp":"000001a038772318"} 
[2026-08-25 16: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-25 16:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:00: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-25 16: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-25 16: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-25 16:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:00: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-25 16:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639277056001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639277056001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:00:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639277056001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":161785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:00:22] local.INFO: GPS data processed {"connection_id":161785,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:00:22] local.INFO: Acknowledgment sent {"connection_id":161785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:00:29] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03876fc08012d1d5f00071daac80048006c1d..."} 
[2026-08-25 16:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03876fc08012d1d5f00071daac80048006c1d..."} 
[2026-08-25 16:00:29] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03876fc08012d1d5f00071daac80048006c1d..."} 
[2026-08-25 16:00:29] local.INFO: Packet analysis {"connection_id":162022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03876"} 
[2026-08-25 16:00:29] local.INFO: Extracted packet for processing {"connection_id":162022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03876"} 
[2026-08-25 16:00:29] local.INFO: GPS Element Parsed {"raw_longitude":756899584,"raw_latitude":119384776,"longitude_deg":75.6899584,"latitude_deg":11.9384776,"altitude":72,"angle":108,"satellites":29,"speed":26,"hex_longitude":"2d1d5f00","hex_latitude":"071daac8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639348736001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15973408575586304,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2109654981009209344,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787653717000,"timestamp_ms":1787653717000,"timestamp_seconds":1787653717,"priority":1,"record_length":96,"hex_timestamp":"000001a03876fc08"} 
[2026-08-25 16: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-25 16:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-25 16:00:29] 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-25 16: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-25 16: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-25 16:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:00:29] 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-25 16:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639348736001,"66":13852,"109":206,"83":41984,"24":26,"16":15973408575586304,"45":2109654981009209344},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-25 16:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639348736001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:00:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 16:00:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15973408575586304,"km_value":15973408575586.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2109654981009209344,"description":"Unknown IO ID 45"} 
[2026-08-25 16:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639348736001,"power":13852,"unknown_109":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2109654981009209344}} 
[2026-08-25 16:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":162022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:00:29] local.INFO: GPS data processed {"connection_id":162022,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:00:29] local.INFO: Acknowledgment sent {"connection_id":162022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:00:36] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0387784c0012da39340054b63d8000500d12e..."} 
[2026-08-25 16:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387784c0012da39340054b63d8000500d12e..."} 
[2026-08-25 16:00:36] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387784c0012da39340054b63d8000500d12e..."} 
[2026-08-25 16:00:36] local.INFO: Packet analysis {"connection_id":162021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:36] local.INFO: Extracted packet for processing {"connection_id":162021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:36] local.INFO: GPS Element Parsed {"raw_longitude":765694784,"raw_latitude":88826840,"longitude_deg":76.5694784,"latitude_deg":8.882684,"altitude":5,"angle":209,"satellites":46,"speed":5,"hex_longitude":"2da39340","hex_latitude":"054b63d8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639360256001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123832973819641856,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6659909032466946048,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787653752000,"timestamp_ms":1787653752000,"timestamp_seconds":1787653752,"priority":1,"record_length":96,"hex_timestamp":"000001a0387784c0"} 
[2026-08-25 16: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-25 16:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626225,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5192276536404738048,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633105741793315,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1210253518,"corrected_to":0} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":93,"raw_value":2952867235,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":143,"raw_value":3221572457,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085576,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4049207296,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-8286617492900020216,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971748278908432812,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,35,84,24,241,157,16,160,121,45,64,101,6,46,10,66,113,102,109,128,1,240,220,227,56,75,4,205,93,143,96,239,50,2,183,5,8,7,163,51],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1210253518,"validated":0}]} 
[2026-08-25 16:00:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360499273991061504,"timestamp_seconds":360499273991061.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16: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-25 16:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639360256001,"66":13580,"35":206,"84":6144,"24":5,"16":123832973819641856,"45":-6659909032466946048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 16:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639360256001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:00:36] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 16:00:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123832973819641856,"km_value":123832973819641.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6659909032466946048,"description":"Unknown IO ID 45"} 
[2026-08-25 16:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639360256001,"power":13580,"unknown_35":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6659909032466946048}} 
[2026-08-25 16:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":162021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:00:36] local.INFO: GPS data processed {"connection_id":162021,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:00:36] local.INFO: Acknowledgment sent {"connection_id":162021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:00:39] local.INFO: TCP Data received {"connection_id":163024,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:00:39] local.INFO: Processing buffer {"connection_id":163024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:00:39] local.INFO: IMEI packet received {"connection_id":163024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":163024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:00:45] local.INFO: TCP Data received {"connection_id":163024,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:00:45] local.INFO: Processing buffer {"connection_id":163024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:00:45] local.INFO: IMEI packet received {"connection_id":163024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":163024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:00:46] local.INFO: TCP Data received {"connection_id":163024,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:00:46] local.INFO: Processing buffer {"connection_id":163024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:00:46] local.INFO: Packet analysis {"connection_id":163024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:46] local.INFO: Extracted packet for processing {"connection_id":163024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639277056001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787653727000,"timestamp_ms":1787653727000,"timestamp_seconds":1787653727,"priority":1,"record_length":96,"hex_timestamp":"000001a038772318"} 
[2026-08-25 16:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639277056001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639277056001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639277056001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":163024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:00:46] local.INFO: GPS data processed {"connection_id":163024,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:00:46] local.INFO: Acknowledgment sent {"connection_id":163024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:00:48] local.INFO: TCP Data received {"connection_id":164400,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03877cb10012d70c880067fd3a00032011629..."} 
[2026-08-25 16:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03877cb10012d70c880067fd3a00032011629..."} 
[2026-08-25 16:00:48] local.INFO: Processing buffer {"connection_id":164400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03877cb10012d70c880067fd3a00032011629..."} 
[2026-08-25 16:00:48] local.INFO: Packet analysis {"connection_id":164400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:48] local.INFO: Extracted packet for processing {"connection_id":164400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:48] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 16:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639288064001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787653770000,"timestamp_ms":1787653770000,"timestamp_seconds":1787653770,"priority":1,"record_length":96,"hex_timestamp":"000001a03877cb10"} 
[2026-08-25 16:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:00:48] 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-25 16:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-25 16:00:48] 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-25 16:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 16:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 16:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639288064001,"66":26082,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 16:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 16:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 16:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639288064001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:00:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 16:00:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 16:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 16:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639288064001,"power":26082,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 16:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":164400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:00:48] local.INFO: GPS data processed {"connection_id":164400,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:00:48] local.INFO: Acknowledgment sent {"connection_id":164400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:00:51] local.INFO: TCP Data received {"connection_id":163025,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:00:51] local.INFO: Processing buffer {"connection_id":163025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:00:51] local.INFO: IMEI packet received {"connection_id":163025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":163025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:00:52] local.INFO: TCP Data received {"connection_id":164401,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:00:52] local.INFO: Processing buffer {"connection_id":164401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:00:52] local.INFO: IMEI packet received {"connection_id":164401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":164401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:00:57] local.INFO: TCP Data received {"connection_id":163025,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:00:57] local.INFO: Processing buffer {"connection_id":163025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:00:57] local.INFO: IMEI packet received {"connection_id":163025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":163025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:00:57] local.INFO: TCP Data received {"connection_id":164401,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:00:57] local.INFO: Processing buffer {"connection_id":164401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:00:57] local.INFO: IMEI packet received {"connection_id":164401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":164401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:00:58] local.INFO: TCP Data received {"connection_id":163025,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03877d2e0012da39580054b6410000400db2f..."} 
[2026-08-25 16:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03877d2e0012da39580054b6410000400db2f..."} 
[2026-08-25 16:00:58] local.INFO: Processing buffer {"connection_id":163025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03877d2e0012da39580054b6410000400db2f..."} 
[2026-08-25 16:00:58] local.INFO: Packet analysis {"connection_id":163025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:58] local.INFO: Extracted packet for processing {"connection_id":163025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":765695360,"raw_latitude":88826896,"longitude_deg":76.569536,"latitude_deg":8.8826896,"altitude":4,"angle":219,"satellites":47,"speed":3,"hex_longitude":"2da39580","hex_latitude":"054b6410","is_valid_coordinates":true} 
[2026-08-25 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639360512001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833042539118592,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6659909032466982912,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787653772000,"timestamp_ms":1787653772000,"timestamp_seconds":1787653772,"priority":1,"record_length":96,"hex_timestamp":"000001a03877d2e0"} 
[2026-08-25 16:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626225,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147560867,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5192269939334971392,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632921058199587,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1210253518,"corrected_to":0} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4049534976,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-8214559898862616568,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5332036249098072492,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,35,84,24,241,157,16,160,128,45,64,100,5,46,10,66,121,101,6,113,1,240,220,227,56,75,4,205,145,152,239,52,2,183,7,163,50],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1210253518,"validated":0}]} 
[2026-08-25 16:00:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360517965688668160,"timestamp_seconds":360517965688668.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639360512001,"66":12689,"35":206,"84":6144,"24":3,"16":123833042539118592,"45":-6659909032466982912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 16:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639360512001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:00:58] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 16:00:58] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833042539118592,"km_value":123833042539118.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6659909032466982912,"description":"Unknown IO ID 45"} 
[2026-08-25 16:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639360512001,"power":12689,"unknown_35":206,"unknown_84":6144,"ignition":3,"odometer":null,"unknown_45":-6659909032466982912}} 
[2026-08-25 16:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":163025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:00:58] local.INFO: GPS data processed {"connection_id":163025,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:00:58] local.INFO: Acknowledgment sent {"connection_id":163025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:00:58] local.INFO: TCP Data received {"connection_id":164401,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a038774640012d1d7f00071d99000040007627..."} 
[2026-08-25 16:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038774640012d1d7f00071d99000040007627..."} 
[2026-08-25 16:00:58] local.INFO: Processing buffer {"connection_id":164401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038774640012d1d7f00071d99000040007627..."} 
[2026-08-25 16:00:58] local.INFO: Packet analysis {"connection_id":164401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:58] local.INFO: Extracted packet for processing {"connection_id":164401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756907776,"raw_latitude":119380224,"longitude_deg":75.6907776,"latitude_deg":11.9380224,"altitude":64,"angle":118,"satellites":39,"speed":32,"hex_longitude":"2d1d7f00","hex_latitude":"071d9900","is_valid_coordinates":true} 
[2026-08-25 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639351552001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15973859547152384,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2116410380449925120,"note":"Value kept but may cause issues"} 
[2026-08-25 16:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787653736000,"timestamp_ms":1787653736000,"timestamp_seconds":1787653736,"priority":1,"record_length":96,"hex_timestamp":"000001a038774640"} 
[2026-08-25 16:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-25 16:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:00:58] 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-25 16:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639351552001,"66":13906,"108":206,"83":41984,"24":32,"16":15973859547152384,"45":2116410380449925120},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 16:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639351552001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:00:58] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 16:00:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15973859547152384,"km_value":15973859547152.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2116410380449925120,"description":"Unknown IO ID 45"} 
[2026-08-25 16:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639351552001,"power":13906,"unknown_108":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":2116410380449925120}} 
[2026-08-25 16:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":164401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:00:58] local.INFO: GPS data processed {"connection_id":164401,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:00:58] local.INFO: Acknowledgment sent {"connection_id":164401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:01:05] local.INFO: TCP Data received {"connection_id":163026,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:01:05] local.INFO: Processing buffer {"connection_id":163026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:01:05] local.INFO: IMEI packet received {"connection_id":163026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 16:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":163026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:01:11] local.INFO: TCP Data received {"connection_id":163026,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:01:11] local.INFO: Processing buffer {"connection_id":163026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:01:11] local.INFO: IMEI packet received {"connection_id":163026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 16:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":163026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:01:12] local.INFO: TCP Data received {"connection_id":163026,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03878c128012d70c880067fd3a00032011629..."} 
[2026-08-25 16:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03878c128012d70c880067fd3a00032011629..."} 
[2026-08-25 16:01:12] local.INFO: Processing buffer {"connection_id":163026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03878c128012d70c880067fd3a00032011629..."} 
[2026-08-25 16:01:12] local.INFO: Packet analysis {"connection_id":163026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:01:12] local.INFO: Extracted packet for processing {"connection_id":163026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:01:12] local.INFO: GPS Element Parsed {"raw_longitude":762366080,"raw_latitude":109040544,"longitude_deg":76.236608,"latitude_deg":10.9040544,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c880","hex_latitude":"067fd3a0","is_valid_coordinates":true} 
[2026-08-25 16:01: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-25 16:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639365120001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787653833000,"timestamp_ms":1787653833000,"timestamp_seconds":1787653833,"priority":1,"record_length":96,"hex_timestamp":"000001a03878c128"} 
[2026-08-25 16:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-25 16:01:12] 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-25 16:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 16:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 16:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639365120001,"66":26136,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 16:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 16:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 16:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639365120001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:01:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 16:01:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 16:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 16:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639365120001,"power":26136,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 16:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":163026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696637,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:01:12] local.INFO: GPS data processed {"connection_id":163026,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:01:12] local.INFO: Acknowledgment sent {"connection_id":163026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:01:17] local.INFO: TCP Data received {"connection_id":163024,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:01:17] local.INFO: Processing buffer {"connection_id":163024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:01:17] local.INFO: Packet analysis {"connection_id":163024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:01:17] local.INFO: Extracted packet for processing {"connection_id":163024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639277056001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787653727000,"timestamp_ms":1787653727000,"timestamp_seconds":1787653727,"priority":1,"record_length":96,"hex_timestamp":"000001a038772318"} 
[2026-08-25 16:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639277056001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639277056001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639277056001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":163024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:01:17] local.INFO: GPS data processed {"connection_id":163024,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:01:17] local.INFO: Acknowledgment sent {"connection_id":163024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:01:29] local.INFO: TCP Data received {"connection_id":164401,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03878d4b0012d1e87c0071db568004b002c26..."} 
[2026-08-25 16:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03878d4b0012d1e87c0071db568004b002c26..."} 
[2026-08-25 16:01:29] local.INFO: Processing buffer {"connection_id":164401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03878d4b0012d1e87c0071db568004b002c26..."} 
[2026-08-25 16:01:29] local.INFO: Packet analysis {"connection_id":164401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:01:29] local.INFO: Extracted packet for processing {"connection_id":164401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756975552,"raw_latitude":119387496,"longitude_deg":75.6975552,"latitude_deg":11.9387496,"altitude":75,"angle":44,"satellites":38,"speed":20,"hex_longitude":"2d1e87c0","hex_latitude":"071db568","is_valid_coordinates":true} 
[2026-08-25 16:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639381760001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15977299815956480,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2199093654859036672,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787653838000,"timestamp_ms":1787653838000,"timestamp_seconds":1787653838,"priority":1,"record_length":96,"hex_timestamp":"000001a03878d4b0"} 
[2026-08-25 16:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-25 16:01:29] 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-25 16:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:01:29] 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-25 16:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639381760001,"66":14102,"108":206,"83":41984,"24":20,"16":15977299815956480,"45":2199093654859036672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 16:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639381760001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:01:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 16:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15977299815956480,"km_value":15977299815956.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2199093654859036672,"description":"Unknown IO ID 45"} 
[2026-08-25 16:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639381760001,"power":14102,"unknown_108":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":2199093654859036672}} 
[2026-08-25 16:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":164401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:01:29] local.INFO: GPS data processed {"connection_id":164401,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:01:29] local.INFO: Acknowledgment sent {"connection_id":164401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:01:39] local.INFO: TCP Data received {"connection_id":163027,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:01:39] local.INFO: Processing buffer {"connection_id":163027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:01:39] local.INFO: IMEI packet received {"connection_id":163027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":163027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:01:44] local.INFO: TCP Data received {"connection_id":163026,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0387926b8012d70c980067fd3d80032011629..."} 
[2026-08-25 16:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387926b8012d70c980067fd3d80032011629..."} 
[2026-08-25 16:01:44] local.INFO: Processing buffer {"connection_id":163026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387926b8012d70c980067fd3d80032011629..."} 
[2026-08-25 16:01:44] local.INFO: Packet analysis {"connection_id":163026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:01:44] local.INFO: Extracted packet for processing {"connection_id":163026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:01:44] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 16:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639381248001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8126886292992794624,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787653859000,"timestamp_ms":1787653859000,"timestamp_seconds":1787653859,"priority":1,"record_length":96,"hex_timestamp":"000001a0387926b8"} 
[2026-08-25 16:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:01: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-25 16:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-25 16:01:44] 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-25 16:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 16:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 16:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639381248001,"66":28148,"102":206,"9":2048,"24":0,"16":794568949760,"45":8126886292992794624},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,9,24,16,45]} 
[2026-08-25 16:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 16:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 16:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639381248001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:01:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 16:01:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":2048,"description":"Unknown IO ID 9"} 
[2026-08-25 16:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8126886292992794624,"description":"Unknown IO ID 45"} 
[2026-08-25 16:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639381248001,"power":28148,"unknown_102":206,"unknown_9":2048,"ignition":0,"odometer":null,"unknown_45":8126886292992794624}} 
[2026-08-25 16:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":163026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696640,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:01:44] local.INFO: GPS data processed {"connection_id":163026,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:01:44] local.INFO: Acknowledgment sent {"connection_id":163026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:01:44] local.INFO: TCP Data received {"connection_id":163027,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:01:44] local.INFO: Processing buffer {"connection_id":163027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:01:44] local.INFO: IMEI packet received {"connection_id":163027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":163027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:01:45] local.INFO: TCP Data received {"connection_id":163027,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:01:45] local.INFO: Processing buffer {"connection_id":163027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:01:45] local.INFO: Packet analysis {"connection_id":163027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:01:45] local.INFO: Extracted packet for processing {"connection_id":163027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639277056001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787653727000,"timestamp_ms":1787653727000,"timestamp_seconds":1787653727,"priority":1,"record_length":96,"hex_timestamp":"000001a038772318"} 
[2026-08-25 16:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639277056001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639277056001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:01:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639277056001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":163027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:01:45] local.INFO: GPS data processed {"connection_id":163027,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:01:45] local.INFO: Acknowledgment sent {"connection_id":163027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:01:47] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:01:47] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:01:47] local.INFO: IMEI packet received {"connection_id":162023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":162023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:01:51] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:01:51] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:01:51] local.INFO: IMEI packet received {"connection_id":162023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":162023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:01:52] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0387824e8012da396c0054b6428000300db2e..."} 
[2026-08-25 16:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387824e8012da396c0054b6428000300db2e..."} 
[2026-08-25 16:01:52] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387824e8012da396c0054b6428000300db2e..."} 
[2026-08-25 16:01:52] local.INFO: Packet analysis {"connection_id":162023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:01:52] local.INFO: Extracted packet for processing {"connection_id":162023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:01:52] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639365632001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6659275713769369600,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,84,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 16:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787653793000,"timestamp_ms":1787653793000,"timestamp_seconds":1787653793,"priority":1,"record_length":96,"hex_timestamp":"000001a0387824e8"} 
[2026-08-25 16: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-25 16:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 16:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639365632001,"66":12515,"24":0,"84":6144,"16":123833059718987776,"45":-6659275713769369600},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,84,16,45]} 
[2026-08-25 16:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639365632001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:01:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6659275713769369600,"description":"Unknown IO ID 45"} 
[2026-08-25 16:01:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457639365632001,"power":12515,"ignition":0,"unknown_84":6144,"odometer":null,"unknown_45":-6659275713769369600}} 
[2026-08-25 16:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":162023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:01:52] local.INFO: GPS data processed {"connection_id":162023,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:01:52] local.INFO: Acknowledgment sent {"connection_id":162023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:01:52] local.INFO: TCP Data received {"connection_id":164402,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:01:52] local.INFO: Processing buffer {"connection_id":164402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:01:52] local.INFO: IMEI packet received {"connection_id":164402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":164402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:01:54] local.INFO: TCP Data received {"connection_id":164402,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:01:54] local.INFO: Processing buffer {"connection_id":164402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:01:54] local.INFO: IMEI packet received {"connection_id":164402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":164402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:01:56] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0387876f0012da396c0054b6428000300db2e..."} 
[2026-08-25 16:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387876f0012da396c0054b6428000300db2e..."} 
[2026-08-25 16:01:56] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387876f0012da396c0054b6428000300db2e..."} 
[2026-08-25 16:01:56] local.INFO: Packet analysis {"connection_id":162023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:01:56] local.INFO: Extracted packet for processing {"connection_id":162023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:01:56] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639371008001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,84,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 16:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787653814000,"timestamp_ms":1787653814000,"timestamp_seconds":1787653814,"priority":1,"record_length":96,"hex_timestamp":"000001a0387876f0"} 
[2026-08-25 16: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-25 16:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-25 16:01:56] 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-25 16: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-25 16: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-25 16:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639371008001,"66":13472,"24":0,"84":6144,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,84,16,45]} 
[2026-08-25 16:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639371008001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:01:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:01:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457639371008001,"power":13472,"ignition":0,"unknown_84":6144,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":162023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:01:56] local.INFO: GPS data processed {"connection_id":162023,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:01:56] local.INFO: Acknowledgment sent {"connection_id":162023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:01:57] local.INFO: TCP Data received {"connection_id":164402,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:01:57] local.INFO: Processing buffer {"connection_id":164402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:01:57] local.INFO: IMEI packet received {"connection_id":164402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":164402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:01:58] local.INFO: TCP Data received {"connection_id":164402,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03878d898012d1e8980071db680004a003b26..."} 
[2026-08-25 16:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03878d898012d1e8980071db680004a003b26..."} 
[2026-08-25 16:01:58] local.INFO: Processing buffer {"connection_id":164402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03878d898012d1e8980071db680004a003b26..."} 
[2026-08-25 16:01:58] local.INFO: Packet analysis {"connection_id":164402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:01:58] local.INFO: Extracted packet for processing {"connection_id":164402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756976000,"raw_latitude":119387776,"longitude_deg":75.6976,"latitude_deg":11.9387776,"altitude":74,"angle":59,"satellites":38,"speed":20,"hex_longitude":"2d1e8980","hex_latitude":"071db680","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639382528001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15977325585760256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2199938079789508608,"note":"Value kept but may cause issues"} 
[2026-08-25 16:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787653839000,"timestamp_ms":1787653839000,"timestamp_seconds":1787653839,"priority":1,"record_length":96,"hex_timestamp":"000001a03878d898"} 
[2026-08-25 16: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-25 16:01:58] 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-25 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 16:01:58] 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-25 16: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-25 16: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-25 16:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:01:58] 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-25 16:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639382528001,"66":13102,"108":206,"83":41984,"24":20,"16":15977325585760256,"45":2199938079789508608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 16:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639382528001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:01:58] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 16:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15977325585760256,"km_value":15977325585760.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2199938079789508608,"description":"Unknown IO ID 45"} 
[2026-08-25 16:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639382528001,"power":13102,"unknown_108":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":2199938079789508608}} 
[2026-08-25 16:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":164402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:01:58] local.INFO: GPS data processed {"connection_id":164402,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:01:58] local.INFO: Acknowledgment sent {"connection_id":164402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:02:13] local.INFO: TCP Data received {"connection_id":163028,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:02:13] local.INFO: Processing buffer {"connection_id":163028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:02:13] local.INFO: IMEI packet received {"connection_id":163028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 16:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":163028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:02:15] local.INFO: TCP Data received {"connection_id":163028,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:02:15] local.INFO: Processing buffer {"connection_id":163028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:02:15] local.INFO: IMEI packet received {"connection_id":163028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 16:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":163028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:02:17] local.INFO: TCP Data received {"connection_id":163027,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:02:17] local.INFO: Processing buffer {"connection_id":163027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:02:17] local.INFO: Packet analysis {"connection_id":163027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:02:17] local.INFO: Extracted packet for processing {"connection_id":163027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639277056001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787653727000,"timestamp_ms":1787653727000,"timestamp_seconds":1787653727,"priority":1,"record_length":96,"hex_timestamp":"000001a038772318"} 
[2026-08-25 16:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639277056001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639277056001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639277056001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":163027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:02:17] local.INFO: GPS data processed {"connection_id":163027,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:02:17] local.INFO: Acknowledgment sent {"connection_id":163027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:02:17] local.INFO: TCP Data received {"connection_id":163028,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0387974d8012d70c980067fd3d80032011629..."} 
[2026-08-25 16:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387974d8012d70c980067fd3d80032011629..."} 
[2026-08-25 16:02:17] local.INFO: Processing buffer {"connection_id":163028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387974d8012d70c980067fd3d80032011629..."} 
[2026-08-25 16:02:17] local.INFO: Packet analysis {"connection_id":163028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:02:17] local.INFO: Extracted packet for processing {"connection_id":163028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:02:17] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 16:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639387904001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787653879000,"timestamp_ms":1787653879000,"timestamp_seconds":1787653879,"priority":1,"record_length":96,"hex_timestamp":"000001a0387974d8"} 
[2026-08-25 16:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-25 16:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 16:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 16:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639387904001,"66":28137,"204":206,"28":24320,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 16:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 16:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 16:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639387904001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:02:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 16:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 16:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639387904001,"power":28137,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 16:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":163028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:02:17] local.INFO: GPS data processed {"connection_id":163028,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:02:17] local.INFO: Acknowledgment sent {"connection_id":163028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:02:19] local.INFO: TCP Data received {"connection_id":163028,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a03879c6e0012d70c980067fd3d80032011629..."} 
[2026-08-25 16:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03879c6e0012d70c980067fd3d80032011629..."} 
[2026-08-25 16:02:19] local.INFO: Processing buffer {"connection_id":163028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03879c6e0012d70c980067fd3d80032011629..."} 
[2026-08-25 16:02:19] local.INFO: Packet analysis {"connection_id":163028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:02:19] local.INFO: Extracted packet for processing {"connection_id":163028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:02:19] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639393024001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787653900000,"timestamp_ms":1787653900000,"timestamp_seconds":1787653900,"priority":1,"record_length":96,"hex_timestamp":"000001a03879c6e0"} 
[2026-08-25 16: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-25 16:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 16:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 16:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 16:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639393024001,"66":27376,"204":206,"28":24320,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 16:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 16:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 16:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639393024001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:02:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 16:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 16:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639393024001,"power":27376,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 16:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":163028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:02:19] local.INFO: GPS data processed {"connection_id":163028,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:02:19] local.INFO: Acknowledgment sent {"connection_id":163028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:02:29] local.INFO: TCP Data received {"connection_id":164402,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03878dc80012d1e8bc0071db730004a004926..."} 
[2026-08-25 16:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03878dc80012d1e8bc0071db730004a004926..."} 
[2026-08-25 16:02:29] local.INFO: Processing buffer {"connection_id":164402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03878dc80012d1e8bc0071db730004a004926..."} 
[2026-08-25 16:02:29] local.INFO: Packet analysis {"connection_id":164402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:02:29] local.INFO: Extracted packet for processing {"connection_id":164402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:02:29] local.INFO: GPS Element Parsed {"raw_longitude":756976576,"raw_latitude":119387952,"longitude_deg":75.6976576,"latitude_deg":11.9387952,"altitude":74,"angle":73,"satellites":38,"speed":20,"hex_longitude":"2d1e8bc0","hex_latitude":"071db730","is_valid_coordinates":true} 
[2026-08-25 16:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639382784001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15977351355564032,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2200430660998823936,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787653840000,"timestamp_ms":1787653840000,"timestamp_seconds":1787653840,"priority":1,"record_length":96,"hex_timestamp":"000001a03878dc80"} 
[2026-08-25 16:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 16:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:02:29] 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-25 16:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639382784001,"66":13102,"108":206,"83":41984,"24":20,"16":15977351355564032,"45":2200430660998823936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 16:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639382784001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:02:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 16:02:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15977351355564032,"km_value":15977351355564.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2200430660998823936,"description":"Unknown IO ID 45"} 
[2026-08-25 16:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639382784001,"power":13102,"unknown_108":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":2200430660998823936}} 
[2026-08-25 16:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":164402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:02:29] local.INFO: GPS data processed {"connection_id":164402,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:02:29] local.INFO: Acknowledgment sent {"connection_id":164402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:02:40] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:02:40] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:02:40] local.INFO: IMEI packet received {"connection_id":162024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":162024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:02:45] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:02:45] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:02:45] local.INFO: IMEI packet received {"connection_id":162025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":162025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:02:45] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:02:45] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:02:45] local.INFO: IMEI packet received {"connection_id":162024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":162024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:02:46] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03878c8f8012da396c0054b6428000300db2c..."} 
[2026-08-25 16:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03878c8f8012da396c0054b6428000300db2c..."} 
[2026-08-25 16:02:46] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03878c8f8012da396c0054b6428000300db2c..."} 
[2026-08-25 16:02:46] local.INFO: Packet analysis {"connection_id":162024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:02:46] local.INFO: Extracted packet for processing {"connection_id":162024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03878"} 
[2026-08-25 16:02:46] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639376384001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787653835000,"timestamp_ms":1787653835000,"timestamp_seconds":1787653835,"priority":1,"record_length":96,"hex_timestamp":"000001a03878c8f8"} 
[2026-08-25 16:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 16:02:46] 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-25 16:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639376384001,"66":13406,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639376384001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:02:46] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:02:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639376384001,"power":13406,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":162024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:02:46] local.INFO: GPS data processed {"connection_id":162024,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:02:46] local.INFO: Acknowledgment sent {"connection_id":162024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:02:47] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a038791b00012da396c0054b6428000300db2f..."} 
[2026-08-25 16:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038791b00012da396c0054b6428000300db2f..."} 
[2026-08-25 16:02:47] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038791b00012da396c0054b6428000300db2f..."} 
[2026-08-25 16:02:47] local.INFO: Packet analysis {"connection_id":162024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:02:47] local.INFO: Extracted packet for processing {"connection_id":162024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:02:47] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639381760001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787653856000,"timestamp_ms":1787653856000,"timestamp_seconds":1787653856,"priority":1,"record_length":96,"hex_timestamp":"000001a038791b00"} 
[2026-08-25 16: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-25 16:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":94,"data_length":795,"current_offset":136} 
[2026-08-25 16:02:47] 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-25 16: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-25 16: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-25 16:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639381760001,"66":13319,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639381760001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:02:47] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:02:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639381760001,"power":13319,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":162024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:02:47] local.INFO: GPS data processed {"connection_id":162024,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:02:47] local.INFO: Acknowledgment sent {"connection_id":162024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:02:50] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:02:50] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:02:50] local.INFO: IMEI packet received {"connection_id":162025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":162025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:02:50] local.INFO: TCP Data received {"connection_id":163028,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0387a18e8012d70c980067fd3d80032011629..."} 
[2026-08-25 16:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387a18e8012d70c980067fd3d80032011629..."} 
[2026-08-25 16:02:50] local.INFO: Processing buffer {"connection_id":163028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387a18e8012d70c980067fd3d80032011629..."} 
[2026-08-25 16:02:50] local.INFO: Packet analysis {"connection_id":163028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387a"} 
[2026-08-25 16:02:50] local.INFO: Extracted packet for processing {"connection_id":163028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387a"} 
[2026-08-25 16:02:50] local.INFO: GPS Element Parsed {"raw_longitude":762366336,"raw_latitude":109040600,"longitude_deg":76.2366336,"latitude_deg":10.90406,"altitude":50,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d70c980","hex_latitude":"067fd3d8","is_valid_coordinates":true} 
[2026-08-25 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-25 16:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639398400001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":794568949760,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8127167767969519616,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787653921000,"timestamp_ms":1787653921000,"timestamp_seconds":1787653921,"priority":1,"record_length":96,"hex_timestamp":"000001a0387a18e8"} 
[2026-08-25 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-25 16:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-25 16:02: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-25 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-25 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-25 16:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 16:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 16:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639398400001,"66":28202,"204":206,"28":24320,"24":0,"16":794568949760,"45":8127167767969519616},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-08-25 16:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 16:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 16:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639398400001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:02:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":24320,"description":"Unknown IO ID 28"} 
[2026-08-25 16:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":794568949760,"km_value":794568949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8127167767969519616,"description":"Unknown IO ID 45"} 
[2026-08-25 16:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639398400001,"power":28202,"lac":206,"unknown_28":24320,"ignition":0,"odometer":null,"unknown_45":8127167767969519616}} 
[2026-08-25 16:02:51] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:02:51] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:02:51] local.INFO: Packet analysis {"connection_id":162025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:02:51] local.INFO: Extracted packet for processing {"connection_id":162025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639277056001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787653727000,"timestamp_ms":1787653727000,"timestamp_seconds":1787653727,"priority":1,"record_length":96,"hex_timestamp":"000001a038772318"} 
[2026-08-25 16: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-25 16:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:02: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-25 16:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639277056001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639277056001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639277056001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":162025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:02:51] local.INFO: GPS data processed {"connection_id":162025,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:02:51] local.INFO: Acknowledgment sent {"connection_id":162025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":163028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696652,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:02:51] local.INFO: GPS data processed {"connection_id":163028,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:02:51] local.INFO: Acknowledgment sent {"connection_id":163028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:02:56] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:02:56] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:02:56] local.INFO: IMEI packet received {"connection_id":162026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":162026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:02:57] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:02:57] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:02:57] local.INFO: IMEI packet received {"connection_id":162026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":162026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:03:02] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:03:02] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:03:02] local.INFO: IMEI packet received {"connection_id":162026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":162026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:03:03] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a038790778012d1ea980071dbd300048005427..."} 
[2026-08-25 16:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038790778012d1ea980071dbd300048005427..."} 
[2026-08-25 16:03:03] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038790778012d1ea980071dbd300048005427..."} 
[2026-08-25 16:03:03] local.INFO: Packet analysis {"connection_id":162026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:03:03] local.INFO: Extracted packet for processing {"connection_id":162026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756984192,"raw_latitude":119389488,"longitude_deg":75.6984192,"latitude_deg":11.9389488,"altitude":72,"angle":84,"satellites":39,"speed":31,"hex_longitude":"2d1ea980","hex_latitude":"071dbd30","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639383040001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15977720722751488,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201063979696467968,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787653851000,"timestamp_ms":1787653851000,"timestamp_seconds":1787653851,"priority":1,"record_length":96,"hex_timestamp":"000001a038790778"} 
[2026-08-25 16: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-25 16:03: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-25 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 16:03:03] 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-25 16: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-25 16: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-25 16:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:03:03] 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-25 16:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639383040001,"66":14461,"108":206,"83":41984,"24":31,"16":15977720722751488,"45":2201063979696467968},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 16:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639383040001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:03:03] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 16:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15977720722751488,"km_value":15977720722751.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2201063979696467968,"description":"Unknown IO ID 45"} 
[2026-08-25 16:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639383040001,"power":14461,"unknown_108":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2201063979696467968}} 
[2026-08-25 16:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":162026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:03:03] local.INFO: GPS data processed {"connection_id":162026,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:03:03] local.INFO: Acknowledgment sent {"connection_id":162026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:03:04] local.INFO: TCP Data received {"connection_id":163029,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:03:04] local.INFO: Processing buffer {"connection_id":163029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:03:04] local.INFO: IMEI packet received {"connection_id":163029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 16:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":163029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:03:12] local.INFO: TCP Data received {"connection_id":163029,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:03:12] local.INFO: Processing buffer {"connection_id":163029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:03:12] local.INFO: IMEI packet received {"connection_id":163029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 16:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":163029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:03:15] local.INFO: TCP Data received {"connection_id":163029,"ip":"117.225.220.112","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-08-25 16:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163029,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-08-25 16:03:15] local.INFO: Processing buffer {"connection_id":163029,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-08-25 16:03:15] local.INFO: IMEI packet received {"connection_id":163029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 16:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":163029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:03:19] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a038796d08012da396c0054b6428000300db30..."} 
[2026-08-25 16:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038796d08012da396c0054b6428000300db30..."} 
[2026-08-25 16:03:19] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038796d08012da396c0054b6428000300db30..."} 
[2026-08-25 16:03:19] local.INFO: Packet analysis {"connection_id":162024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:03:19] local.INFO: Extracted packet for processing {"connection_id":162024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:03:19] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639387136001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787653877000,"timestamp_ms":1787653877000,"timestamp_seconds":1787653877,"priority":1,"record_length":96,"hex_timestamp":"000001a038796d08"} 
[2026-08-25 16: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-25 16:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 16:03:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":63489,"corrected_to":0} 
[2026-08-25 16:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2744483845,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:19] local.WARNING: Large IO value detected {"io_id":75,"raw_value":7322853019885514240,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1210253518,"corrected_to":0} 
[2026-08-25 16:03:19] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3221302691,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:19] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4050583552,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:19] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57781685400261656,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:19] local.WARNING: Large IO value detected {"io_id":119,"raw_value":8721221973932457989,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:19] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,255,84,24,241,157,16,160,200,45,192,100,3,44,10,66,118,46,36,1,240,227,56,75,4,113,205,132,147,216,239,53,35,2,183,5,6,12,119],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":200,"original":63489,"validated":0},{"io_id":205,"original":1210253518,"validated":0}]} 
[2026-08-25 16:03:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216413777023729664,"timestamp_seconds":216413777023729.66,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16: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-25 16:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639387136001,"66":13624,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639387136001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:03:19] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:03:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639387136001,"power":13624,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":162024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:03:19] local.INFO: GPS data processed {"connection_id":162024,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:03:19] local.INFO: Acknowledgment sent {"connection_id":162024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:03:22] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:03:22] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:03:22] local.INFO: Packet analysis {"connection_id":162025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:03:22] local.INFO: Extracted packet for processing {"connection_id":162025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:03:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639277056001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787653727000,"timestamp_ms":1787653727000,"timestamp_seconds":1787653727,"priority":1,"record_length":96,"hex_timestamp":"000001a038772318"} 
[2026-08-25 16: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-25 16:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:03: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-25 16: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-25 16: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-25 16:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:03: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-25 16:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639277056001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639277056001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:03:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639277056001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":162025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:03:22] local.INFO: GPS data processed {"connection_id":162025,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:03:22] local.INFO: Acknowledgment sent {"connection_id":162025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:03:34] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0387926b8012d1ec440071dbcd80047005f25..."} 
[2026-08-25 16:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387926b8012d1ec440071dbcd80047005f25..."} 
[2026-08-25 16:03:34] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387926b8012d1ec440071dbcd80047005f25..."} 
[2026-08-25 16:03:34] local.INFO: Packet analysis {"connection_id":162026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:03:34] local.INFO: Extracted packet for processing {"connection_id":162026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756991040,"raw_latitude":119389400,"longitude_deg":75.699104,"latitude_deg":11.93894,"altitude":71,"angle":95,"satellites":37,"speed":31,"hex_longitude":"2d1ec440","hex_latitude":"071dbcd8","is_valid_coordinates":true} 
[2026-08-25 16:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639385856001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15978047140265984,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2209437860254003200,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787653859000,"timestamp_ms":1787653859000,"timestamp_seconds":1787653859,"priority":1,"record_length":96,"hex_timestamp":"000001a0387926b8"} 
[2026-08-25 16:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:03: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-25 16:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-25 16:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:03:34] 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-25 16:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639385856001,"66":14450,"108":206,"83":41984,"24":31,"16":15978047140265984,"45":2209437860254003200},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 16:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639385856001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:03:34] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 16:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15978047140265984,"km_value":15978047140265.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2209437860254003200,"description":"Unknown IO ID 45"} 
[2026-08-25 16:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639385856001,"power":14450,"unknown_108":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2209437860254003200}} 
[2026-08-25 16:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":162026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:03:34] local.INFO: GPS data processed {"connection_id":162026,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:03:34] local.INFO: Acknowledgment sent {"connection_id":162026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:03:41] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:03:41] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:03:41] local.INFO: IMEI packet received {"connection_id":161786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":161786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:03:41] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:03:41] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:03:41] local.INFO: IMEI packet received {"connection_id":162027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":162027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:03:41] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.109.136.0","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 16:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 16:03:41] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 16:03:41] local.INFO: IMEI packet received {"connection_id":161786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":161786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:03:45] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:03:45] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:03:45] local.INFO: IMEI packet received {"connection_id":162027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":162027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:03:45] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:03:45] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 16:03:45] local.INFO: IMEI packet received {"connection_id":161786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":161786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:03:46] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:03:46] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:03:46] local.INFO: Packet analysis {"connection_id":162027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:03:46] local.INFO: Extracted packet for processing {"connection_id":162027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639277056001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787653727000,"timestamp_ms":1787653727000,"timestamp_seconds":1787653727,"priority":1,"record_length":96,"hex_timestamp":"000001a038772318"} 
[2026-08-25 16:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:03:46] 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-25 16:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639277056001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639277056001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639277056001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":162027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:03:46] local.INFO: GPS data processed {"connection_id":162027,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:03:46] local.INFO: Acknowledgment sent {"connection_id":162027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:03:47] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03879bf10012da396c0054b6428000300db30..."} 
[2026-08-25 16:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03879bf10012da396c0054b6428000300db30..."} 
[2026-08-25 16:03:47] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a038..."} 
[2026-08-25 16:03:47] local.INFO: IMEI packet received {"connection_id":161786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":161786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:03:47] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0387a1118012da396c0054b6428000300db30..."} 
[2026-08-25 16:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387a1118012da396c0054b6428000300db30..."} 
[2026-08-25 16:03:47] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a03879bf10012da396c0054b6428000300db30..."} 
[2026-08-25 16:03:47] local.INFO: Packet analysis {"connection_id":161786,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:03:47] local.INFO: Extracted packet for processing {"connection_id":161786,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:03:47] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639392512001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787653898000,"timestamp_ms":1787653898000,"timestamp_seconds":1787653898,"priority":1,"record_length":96,"hex_timestamp":"000001a03879bf10"} 
[2026-08-25 16:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 16:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639392512001,"66":13319,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639392512001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:03:47] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:03:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639392512001,"power":13319,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":161786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:03:47] local.INFO: GPS data processed {"connection_id":161786,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:03:47] local.INFO: Acknowledgment sent {"connection_id":161786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:03:47] local.INFO: Packet analysis {"connection_id":161786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387a"} 
[2026-08-25 16:03:47] local.INFO: Extracted packet for processing {"connection_id":161786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387a"} 
[2026-08-25 16:03:47] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639397888001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787653919000,"timestamp_ms":1787653919000,"timestamp_seconds":1787653919,"priority":1,"record_length":96,"hex_timestamp":"000001a0387a1118"} 
[2026-08-25 16:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2744565765,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480581,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":63489,"corrected_to":0} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":75,"raw_value":7194500426212912640,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1159200974,"corrected_to":0} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3892391331,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3221572452,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4051894272,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":145,"raw_value":57781685400261656,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.WARNING: Large IO value detected {"io_id":119,"raw_value":-8881097169645125627,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:47] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,255,84,24,241,157,16,160,109,45,192,100,3,48,10,66,27,47,200,1,240,94,227,56,75,4,113,205,36,150,40,46,239,2,183,5,145,119],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":200,"original":63489,"validated":0},{"io_id":205,"original":1159200974,"validated":0}]} 
[2026-08-25 16:03:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216413781318696960,"timestamp_seconds":216413781318696.97,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639397888001,"66":13602,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639397888001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:03:47] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:03:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639397888001,"power":13602,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":161786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:03:48] local.INFO: GPS data processed {"connection_id":161786,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:03:48] local.INFO: Acknowledgment sent {"connection_id":161786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:03:50] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:03:50] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:03:50] local.INFO: Packet analysis {"connection_id":162027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:03:50] local.INFO: Extracted packet for processing {"connection_id":162027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:03:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 16:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639277056001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787653727000,"timestamp_ms":1787653727000,"timestamp_seconds":1787653727,"priority":1,"record_length":96,"hex_timestamp":"000001a038772318"} 
[2026-08-25 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-25 16:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:03: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-25 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-25 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-25 16:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639277056001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639277056001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:03:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639277056001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":162027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:03:50] local.INFO: GPS data processed {"connection_id":162027,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:03:50] local.INFO: Acknowledgment sent {"connection_id":162027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:03:51] local.INFO: TCP Data received {"connection_id":163030,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:03:51] local.INFO: Processing buffer {"connection_id":163030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:03:51] local.INFO: IMEI packet received {"connection_id":163030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":163030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:03:52] local.INFO: TCP Data received {"connection_id":163030,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:03:52] local.INFO: Processing buffer {"connection_id":163030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:03:52] local.INFO: IMEI packet received {"connection_id":163030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":163030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:03:57] local.INFO: TCP Data received {"connection_id":163030,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:03:57] local.INFO: Processing buffer {"connection_id":163030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:03:57] local.INFO: IMEI packet received {"connection_id":163030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":163030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:03:58] local.INFO: TCP Data received {"connection_id":163030,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0387945f8012d1edd80071dbb580046005426..."} 
[2026-08-25 16:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387945f8012d1edd80071dbb580046005426..."} 
[2026-08-25 16:03:58] local.INFO: Processing buffer {"connection_id":163030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387945f8012d1edd80071dbb580046005426..."} 
[2026-08-25 16:03:58] local.INFO: Packet analysis {"connection_id":163030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:03:58] local.INFO: Extracted packet for processing {"connection_id":163030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03879"} 
[2026-08-25 16:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756997504,"raw_latitude":119389016,"longitude_deg":75.6997504,"latitude_deg":11.9389016,"altitude":70,"angle":84,"satellites":38,"speed":31,"hex_longitude":"2d1edd80","hex_latitude":"071dbb58","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639387904001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15978356377911296,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2216967315880990720,"note":"Value kept but may cause issues"} 
[2026-08-25 16:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787653867000,"timestamp_ms":1787653867000,"timestamp_seconds":1787653867,"priority":1,"record_length":96,"hex_timestamp":"000001a0387945f8"} 
[2026-08-25 16: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-25 16:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-25 16:03:58] 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-25 16: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-25 16: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-25 16:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:03:58] 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-25 16:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639387904001,"66":14374,"108":206,"83":41984,"24":31,"16":15978356377911296,"45":2216967315880990720},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 16:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639387904001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:03:58] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 16:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15978356377911296,"km_value":15978356377911.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2216967315880990720,"description":"Unknown IO ID 45"} 
[2026-08-25 16:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639387904001,"power":14374,"unknown_108":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2216967315880990720}} 
[2026-08-25 16:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":163030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:03:58] local.INFO: GPS data processed {"connection_id":163030,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:03:58] local.INFO: Acknowledgment sent {"connection_id":163030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:04:21] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:04:21] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038772318012d34c14006aa4818000300e62d..."} 
[2026-08-25 16:04:21] local.INFO: Packet analysis {"connection_id":162027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:04:21] local.INFO: Extracted packet for processing {"connection_id":162027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03877"} 
[2026-08-25 16:04:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 16:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639277056001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787653727000,"timestamp_ms":1787653727000,"timestamp_seconds":1787653727,"priority":1,"record_length":96,"hex_timestamp":"000001a038772318"} 
[2026-08-25 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-25 16:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:04: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-25 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-25 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-25 16:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:04: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-25 16:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639277056001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639277056001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:04:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639277056001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":162027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:04:21] local.INFO: GPS data processed {"connection_id":162027,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:04:21] local.INFO: Acknowledgment sent {"connection_id":162027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:04:26] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0387a6320012da396c0054b6428000300db2f..."} 
[2026-08-25 16:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387a6320012da396c0054b6428000300db2f..."} 
[2026-08-25 16:04:26] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387a6320012da396c0054b6428000300db2f..."} 
[2026-08-25 16:04:26] local.INFO: Packet analysis {"connection_id":161786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387a"} 
[2026-08-25 16:04:26] local.INFO: Extracted packet for processing {"connection_id":161786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387a"} 
[2026-08-25 16:04:26] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639403264001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787653940000,"timestamp_ms":1787653940000,"timestamp_seconds":1787653940,"priority":1,"record_length":96,"hex_timestamp":"000001a0387a6320"} 
[2026-08-25 16:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 16:04:26] 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-25 16:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639403264001,"66":13515,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639403264001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:04:26] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:04:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639403264001,"power":13515,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":161786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:04:26] local.INFO: GPS data processed {"connection_id":161786,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:04:26] local.INFO: Acknowledgment sent {"connection_id":161786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:04:29] local.INFO: TCP Data received {"connection_id":163030,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0387b9ba0012d1fbe80071d9ee80047007a25..."} 
[2026-08-25 16:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387b9ba0012d1fbe80071d9ee80047007a25..."} 
[2026-08-25 16:04:29] local.INFO: Processing buffer {"connection_id":163030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387b9ba0012d1fbe80071d9ee80047007a25..."} 
[2026-08-25 16:04:29] local.INFO: Packet analysis {"connection_id":163030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:04:29] local.INFO: Extracted packet for processing {"connection_id":163030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:04:29] local.INFO: GPS Element Parsed {"raw_longitude":757055104,"raw_latitude":119381736,"longitude_deg":75.7055104,"latitude_deg":11.9381736,"altitude":71,"angle":122,"satellites":37,"speed":34,"hex_longitude":"2d1fbe80","hex_latitude":"071d9ee8","is_valid_coordinates":true} 
[2026-08-25 16:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639428608001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981203941228544,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2285576841452460032,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654020000,"timestamp_ms":1787654020000,"timestamp_seconds":1787654020,"priority":1,"record_length":96,"hex_timestamp":"000001a0387b9ba0"} 
[2026-08-25 16:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-25 16:04:29] 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-25 16:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:04:29] 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-25 16:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639428608001,"66":14428,"57":206,"83":41984,"24":34,"16":15981203941228544,"45":2285576841452460032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-08-25 16:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639428608001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:04:29] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-25 16:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981203941228544,"km_value":15981203941228.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2285576841452460032,"description":"Unknown IO ID 45"} 
[2026-08-25 16:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639428608001,"power":14428,"unknown_57":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":2285576841452460032}} 
[2026-08-25 16:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":163030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:04:29] local.INFO: GPS data processed {"connection_id":163030,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:04:29] local.INFO: Acknowledgment sent {"connection_id":163030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:04:39] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:04:39] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:04:39] local.INFO: IMEI packet received {"connection_id":162028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":162028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:04:40] local.INFO: TCP Data received {"connection_id":164403,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:04:40] local.INFO: Processing buffer {"connection_id":164403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:04:40] local.INFO: IMEI packet received {"connection_id":164403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":164403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:04:44] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:04:44] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:04:44] local.INFO: IMEI packet received {"connection_id":162028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":162028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:04:45] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:04:45] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:04:45] local.INFO: Packet analysis {"connection_id":162028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:04:45] local.INFO: Extracted packet for processing {"connection_id":162028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639354112001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787654028000,"timestamp_ms":1787654028000,"timestamp_seconds":1787654028,"priority":1,"record_length":96,"hex_timestamp":"000001a0387bbae0"} 
[2026-08-25 16:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639354112001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639354112001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639354112001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":162028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:04:45] local.INFO: GPS data processed {"connection_id":162028,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:04:45] local.INFO: Acknowledgment sent {"connection_id":162028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:04:46] local.INFO: TCP Data received {"connection_id":164403,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:04:46] local.INFO: Processing buffer {"connection_id":164403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:04:46] local.INFO: IMEI packet received {"connection_id":164403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":164403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:04:47] local.INFO: TCP Data received {"connection_id":164403,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0387ab528012da396c0054b6428000300db30..."} 
[2026-08-25 16:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387ab528012da396c0054b6428000300db30..."} 
[2026-08-25 16:04:47] local.INFO: Processing buffer {"connection_id":164403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387ab528012da396c0054b6428000300db30..."} 
[2026-08-25 16:04:47] local.INFO: Packet analysis {"connection_id":164403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387a"} 
[2026-08-25 16:04:47] local.INFO: Extracted packet for processing {"connection_id":164403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387a"} 
[2026-08-25 16:04:47] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639408640001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787653961000,"timestamp_ms":1787653961000,"timestamp_seconds":1787653961,"priority":1,"record_length":96,"hex_timestamp":"000001a0387ab528"} 
[2026-08-25 16:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 16:04:47] 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-25 16:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639408640001,"66":13472,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639408640001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:04:47] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:04:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639408640001,"power":13472,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":164403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:04:47] local.INFO: GPS data processed {"connection_id":164403,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:04:47] local.INFO: Acknowledgment sent {"connection_id":164403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:04:52] local.INFO: TCP Data received {"connection_id":162029,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:04:52] local.INFO: Processing buffer {"connection_id":162029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:04:52] local.INFO: IMEI packet received {"connection_id":162029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":162029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:04:53] local.INFO: TCP Data received {"connection_id":162029,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:04:53] local.INFO: Processing buffer {"connection_id":162029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:04:53] local.INFO: IMEI packet received {"connection_id":162029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":162029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:04:57] local.INFO: TCP Data received {"connection_id":162029,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:04:57] local.INFO: Processing buffer {"connection_id":162029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:04:57] local.INFO: IMEI packet received {"connection_id":162029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":162029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:04:58] local.INFO: TCP Data received {"connection_id":162029,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0387ba370012d1fc340071d9a480047008c23..."} 
[2026-08-25 16:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387ba370012d1fc340071d9a480047008c23..."} 
[2026-08-25 16:04:58] local.INFO: Processing buffer {"connection_id":162029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387ba370012d1fc340071d9a480047008c23..."} 
[2026-08-25 16:04:58] local.INFO: Packet analysis {"connection_id":162029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:04:58] local.INFO: Extracted packet for processing {"connection_id":162029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:04:58] local.INFO: GPS Element Parsed {"raw_longitude":757056320,"raw_latitude":119380552,"longitude_deg":75.705632,"latitude_deg":11.9380552,"altitude":71,"angle":140,"satellites":35,"speed":32,"hex_longitude":"2d1fc340","hex_latitude":"071d9a48","is_valid_coordinates":true} 
[2026-08-25 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639429120001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981285545607168,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2287406428800870400,"note":"Value kept but may cause issues"} 
[2026-08-25 16:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654022000,"timestamp_ms":1787654022000,"timestamp_seconds":1787654022,"priority":1,"record_length":96,"hex_timestamp":"000001a0387ba370"} 
[2026-08-25 16:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:04:58] 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-25 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 16:04:58] 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-25 16:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:04:58] 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-25 16:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639429120001,"66":13689,"57":206,"83":41984,"24":32,"16":15981285545607168,"45":2287406428800870400},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-08-25 16:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639429120001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:04:58] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-25 16:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981285545607168,"km_value":15981285545607.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2287406428800870400,"description":"Unknown IO ID 45"} 
[2026-08-25 16:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639429120001,"power":13689,"unknown_57":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":2287406428800870400}} 
[2026-08-25 16:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":162029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:04:58] local.INFO: GPS data processed {"connection_id":162029,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:04:58] local.INFO: Acknowledgment sent {"connection_id":162029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:05:17] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:05:17] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:05:17] local.INFO: Packet analysis {"connection_id":162028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:05:17] local.INFO: Extracted packet for processing {"connection_id":162028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639354112001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787654028000,"timestamp_ms":1787654028000,"timestamp_seconds":1787654028,"priority":1,"record_length":96,"hex_timestamp":"000001a0387bbae0"} 
[2026-08-25 16:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:05:17] 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-25 16:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639354112001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639354112001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639354112001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":162028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:05:17] local.INFO: GPS data processed {"connection_id":162028,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:05:17] local.INFO: Acknowledgment sent {"connection_id":162028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:05:19] local.INFO: TCP Data received {"connection_id":164403,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0387b0730012da396c0054b6428000300db2f..."} 
[2026-08-25 16:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387b0730012da396c0054b6428000300db2f..."} 
[2026-08-25 16:05:19] local.INFO: Processing buffer {"connection_id":164403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387b0730012da396c0054b6428000300db2f..."} 
[2026-08-25 16:05:19] local.INFO: Packet analysis {"connection_id":164403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:05:19] local.INFO: Extracted packet for processing {"connection_id":164403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:05:19] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639414016001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787653982000,"timestamp_ms":1787653982000,"timestamp_seconds":1787653982,"priority":1,"record_length":96,"hex_timestamp":"000001a0387b0730"} 
[2026-08-25 16:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 16:05:19] 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-25 16:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639414016001,"66":13559,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639414016001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:05:19] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:05:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639414016001,"power":13559,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":164403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:05:19] local.INFO: GPS data processed {"connection_id":164403,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:05:19] local.INFO: Acknowledgment sent {"connection_id":164403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:05:29] local.INFO: TCP Data received {"connection_id":162029,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0387bc2b0012d1fd100071d87180045009823..."} 
[2026-08-25 16:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387bc2b0012d1fd100071d87180045009823..."} 
[2026-08-25 16:05:29] local.INFO: Processing buffer {"connection_id":162029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387bc2b0012d1fd100071d87180045009823..."} 
[2026-08-25 16:05:29] local.INFO: Packet analysis {"connection_id":162029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:05:29] local.INFO: Extracted packet for processing {"connection_id":162029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:05:29] local.INFO: GPS Element Parsed {"raw_longitude":757059840,"raw_latitude":119375640,"longitude_deg":75.705984,"latitude_deg":11.937564,"altitude":69,"angle":152,"satellites":35,"speed":25,"hex_longitude":"2d1fd100","hex_latitude":"071d8718","is_valid_coordinates":true} 
[2026-08-25 16:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639429632001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981577603383296,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2288743434939942912,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654030000,"timestamp_ms":1787654030000,"timestamp_seconds":1787654030,"priority":1,"record_length":96,"hex_timestamp":"000001a0387bc2b0"} 
[2026-08-25 16:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-25 16:05:29] 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-25 16:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:05:29] 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-25 16:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639429632001,"66":14135,"57":206,"83":41984,"24":25,"16":15981577603383296,"45":2288743434939942912},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-08-25 16:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639429632001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:05:29] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-25 16:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981577603383296,"km_value":15981577603383.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2288743434939942912,"description":"Unknown IO ID 45"} 
[2026-08-25 16:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639429632001,"power":14135,"unknown_57":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":2288743434939942912}} 
[2026-08-25 16:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":162029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:05:29] local.INFO: GPS data processed {"connection_id":162029,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:05:29] local.INFO: Acknowledgment sent {"connection_id":162029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:05:39] local.INFO: TCP Data received {"connection_id":163031,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:05:39] local.INFO: Processing buffer {"connection_id":163031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:05:39] local.INFO: IMEI packet received {"connection_id":163031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":163031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:05:44] local.INFO: TCP Data received {"connection_id":163031,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:05:44] local.INFO: Processing buffer {"connection_id":163031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:05:44] local.INFO: IMEI packet received {"connection_id":163031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":163031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:05:45] local.INFO: TCP Data received {"connection_id":164404,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:05:45] local.INFO: Processing buffer {"connection_id":164404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:05:45] local.INFO: IMEI packet received {"connection_id":164404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":164404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:05:46] local.INFO: TCP Data received {"connection_id":163031,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:05:46] local.INFO: Processing buffer {"connection_id":163031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:05:46] local.INFO: Packet analysis {"connection_id":163031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:05:46] local.INFO: Extracted packet for processing {"connection_id":163031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639354112001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787654028000,"timestamp_ms":1787654028000,"timestamp_seconds":1787654028,"priority":1,"record_length":96,"hex_timestamp":"000001a0387bbae0"} 
[2026-08-25 16:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639354112001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639354112001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639354112001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":163031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:05:46] local.INFO: GPS data processed {"connection_id":163031,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:05:46] local.INFO: Acknowledgment sent {"connection_id":163031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:05:50] local.INFO: TCP Data received {"connection_id":164404,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:05:50] local.INFO: Processing buffer {"connection_id":164404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:05:50] local.INFO: IMEI packet received {"connection_id":164404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":164404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:05:51] local.INFO: TCP Data received {"connection_id":164404,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0387b5938012da396c0054b6428000300db30..."} 
[2026-08-25 16:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387b5938012da396c0054b6428000300db30..."} 
[2026-08-25 16:05:51] local.INFO: Processing buffer {"connection_id":164404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387b5938012da396c0054b6428000300db30..."} 
[2026-08-25 16:05:51] local.INFO: Packet analysis {"connection_id":164404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:05:51] local.INFO: Extracted packet for processing {"connection_id":164404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:05:51] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639419392001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787654003000,"timestamp_ms":1787654003000,"timestamp_seconds":1787654003,"priority":1,"record_length":96,"hex_timestamp":"000001a0387b5938"} 
[2026-08-25 16:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 16:05:51] 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-25 16:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639419392001,"66":13559,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639419392001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:05:51] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:05:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639419392001,"power":13559,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":164404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:05:51] local.INFO: GPS data processed {"connection_id":164404,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:05:51] local.INFO: Acknowledgment sent {"connection_id":164404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:05:52] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:05:52] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:05:52] local.INFO: IMEI packet received {"connection_id":161788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":161788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:05:57] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:05:57] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:05:57] local.INFO: IMEI packet received {"connection_id":161788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":161788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:05:58] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0387c10d0012d1fd740071d7c10004500a327..."} 
[2026-08-25 16:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387c10d0012d1fd740071d7c10004500a327..."} 
[2026-08-25 16:05:58] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387c10d0012d1fd740071d7c10004500a327..."} 
[2026-08-25 16:05:58] local.INFO: Packet analysis {"connection_id":161788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:05:58] local.INFO: Extracted packet for processing {"connection_id":161788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:05:58] local.INFO: GPS Element Parsed {"raw_longitude":757061440,"raw_latitude":119372816,"longitude_deg":75.706144,"latitude_deg":11.9372816,"altitude":69,"angle":163,"satellites":39,"speed":11,"hex_longitude":"2d1fd740","hex_latitude":"071d7c10","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639431680001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981740812140544,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2292613715868456960,"note":"Value kept but may cause issues"} 
[2026-08-25 16:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654050000,"timestamp_ms":1787654050000,"timestamp_seconds":1787654050,"priority":1,"record_length":96,"hex_timestamp":"000001a0387c10d0"} 
[2026-08-25 16: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-25 16:05:58] 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-25 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-25 16:05:58] 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-25 16: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-25 16: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-25 16:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639431680001,"66":14070,"10":206,"83":41984,"24":11,"16":15981740812140544,"45":2292613715868456960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639431680001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:05:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:05:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981740812140544,"km_value":15981740812140.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2292613715868456960,"description":"Unknown IO ID 45"} 
[2026-08-25 16:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639431680001,"power":14070,"unknown_10":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":2292613715868456960}} 
[2026-08-25 16:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":161788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:05:58] local.INFO: GPS data processed {"connection_id":161788,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:05:58] local.INFO: Acknowledgment sent {"connection_id":161788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:06:18] local.INFO: TCP Data received {"connection_id":163031,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:06:18] local.INFO: Processing buffer {"connection_id":163031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:06:18] local.INFO: Packet analysis {"connection_id":163031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:06:18] local.INFO: Extracted packet for processing {"connection_id":163031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639354112001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787654028000,"timestamp_ms":1787654028000,"timestamp_seconds":1787654028,"priority":1,"record_length":96,"hex_timestamp":"000001a0387bbae0"} 
[2026-08-25 16: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-25 16:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16: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-25 16: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-25 16:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639354112001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639354112001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639354112001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":163031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:06:18] local.INFO: GPS data processed {"connection_id":163031,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:06:18] local.INFO: Acknowledgment sent {"connection_id":163031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:06:23] local.INFO: TCP Data received {"connection_id":164404,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0387b93d0012da396c0054b6428000300db2d..."} 
[2026-08-25 16:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387b93d0012da396c0054b6428000300db2d..."} 
[2026-08-25 16:06:23] local.INFO: Processing buffer {"connection_id":164404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387b93d0012da396c0054b6428000300db2d..."} 
[2026-08-25 16:06:23] local.INFO: Packet analysis {"connection_id":164404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:06:23] local.INFO: Extracted packet for processing {"connection_id":164404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:06:23] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16:06: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-25 16:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639424768001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787654018000,"timestamp_ms":1787654018000,"timestamp_seconds":1787654018,"priority":1,"record_length":96,"hex_timestamp":"000001a0387b93d0"} 
[2026-08-25 16:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 16:06:23] 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-25 16:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639424768001,"66":13374,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639424768001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:06:23] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:06:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639424768001,"power":13374,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":164404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:06:23] local.INFO: GPS data processed {"connection_id":164404,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:06:23] local.INFO: Acknowledgment sent {"connection_id":164404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:06:29] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0387c2070012d1fda00071d76a80044009828..."} 
[2026-08-25 16:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387c2070012d1fda00071d76a80044009828..."} 
[2026-08-25 16:06:29] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387c2070012d1fda00071d76a80044009828..."} 
[2026-08-25 16:06:29] local.INFO: Packet analysis {"connection_id":161788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:06:29] local.INFO: Extracted packet for processing {"connection_id":161788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:06:29] local.INFO: GPS Element Parsed {"raw_longitude":757062144,"raw_latitude":119371432,"longitude_deg":75.7062144,"latitude_deg":11.9371432,"altitude":68,"angle":152,"satellites":40,"speed":19,"hex_longitude":"2d1fda00","hex_latitude":"071d76a8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639436800001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981813826584576,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2294372934472175616,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654054000,"timestamp_ms":1787654054000,"timestamp_seconds":1787654054,"priority":1,"record_length":96,"hex_timestamp":"000001a0387c2070"} 
[2026-08-25 16: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-25 16:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 16:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639436800001,"66":14157,"10":206,"83":41984,"24":19,"16":15981813826584576,"45":2294372934472175616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639436800001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:06:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:06:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981813826584576,"km_value":15981813826584.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2294372934472175616,"description":"Unknown IO ID 45"} 
[2026-08-25 16:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639436800001,"power":14157,"unknown_10":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":2294372934472175616}} 
[2026-08-25 16:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":161788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:06:29] local.INFO: GPS data processed {"connection_id":161788,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:06:29] local.INFO: Acknowledgment sent {"connection_id":161788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:06:40] local.INFO: TCP Data received {"connection_id":163032,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:06:40] local.INFO: Processing buffer {"connection_id":163032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:06:40] local.INFO: IMEI packet received {"connection_id":163032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":163032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:06:45] local.INFO: TCP Data received {"connection_id":163033,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:06:45] local.INFO: Processing buffer {"connection_id":163033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:06:45] local.INFO: IMEI packet received {"connection_id":163033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":163033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:06:45] local.INFO: TCP Data received {"connection_id":163032,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:06:45] local.INFO: Processing buffer {"connection_id":163032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:06:45] local.INFO: IMEI packet received {"connection_id":163032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":163032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:06:46] local.INFO: TCP Data received {"connection_id":163032,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0387b97b8012da396c0054b6428000300db2d..."} 
[2026-08-25 16:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387b97b8012da396c0054b6428000300db2d..."} 
[2026-08-25 16:06:46] local.INFO: Processing buffer {"connection_id":163032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387b97b8012da396c0054b6428000300db2d..."} 
[2026-08-25 16:06:46] local.INFO: Packet analysis {"connection_id":163032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:06:46] local.INFO: Extracted packet for processing {"connection_id":163032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:06:46] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639428608001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787654019000,"timestamp_ms":1787654019000,"timestamp_seconds":1787654019,"priority":1,"record_length":96,"hex_timestamp":"000001a0387b97b8"} 
[2026-08-25 16:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 16:06:46] 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-25 16:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639428608001,"66":13374,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639428608001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:06:46] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:06:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639428608001,"power":13374,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":163032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:06:47] local.INFO: GPS data processed {"connection_id":163032,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:06:47] local.INFO: Acknowledgment sent {"connection_id":163032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:06:50] local.INFO: TCP Data received {"connection_id":163033,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:06:50] local.INFO: Processing buffer {"connection_id":163033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:06:50] local.INFO: IMEI packet received {"connection_id":163033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":163033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:06:50] local.INFO: TCP Data received {"connection_id":163033,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:06:50] local.INFO: Processing buffer {"connection_id":163033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:06:50] local.INFO: Packet analysis {"connection_id":163033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:06:50] local.INFO: Extracted packet for processing {"connection_id":163033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:06:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 16:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639354112001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787654028000,"timestamp_ms":1787654028000,"timestamp_seconds":1787654028,"priority":1,"record_length":96,"hex_timestamp":"000001a0387bbae0"} 
[2026-08-25 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-25 16:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:06: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-25 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-25 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-25 16:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:06: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-25 16:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639354112001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639354112001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:06:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639354112001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":163033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:06:50] local.INFO: GPS data processed {"connection_id":163033,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:06:50] local.INFO: Acknowledgment sent {"connection_id":163033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:06:55] local.INFO: TCP Data received {"connection_id":163033,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:06:55] local.INFO: Processing buffer {"connection_id":163033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:06:55] local.INFO: Packet analysis {"connection_id":163033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:06:55] local.INFO: Extracted packet for processing {"connection_id":163033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:06:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639354112001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787654028000,"timestamp_ms":1787654028000,"timestamp_seconds":1787654028,"priority":1,"record_length":96,"hex_timestamp":"000001a0387bbae0"} 
[2026-08-25 16:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:06: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-25 16:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:06: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-25 16:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639354112001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639354112001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:06:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639354112001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":163033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:06:55] local.INFO: GPS data processed {"connection_id":163033,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:06:55] local.INFO: Acknowledgment sent {"connection_id":163033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:06:57] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:06:57] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:06:57] local.INFO: IMEI packet received {"connection_id":161789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":161789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:07:02] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:07:02] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:07:02] local.INFO: IMEI packet received {"connection_id":161789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":161789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:07:03] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0387c7278012d1fe5c0071d5f300043009a2b..."} 
[2026-08-25 16:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387c7278012d1fe5c0071d5f300043009a2b..."} 
[2026-08-25 16:07:03] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387c7278012d1fe5c0071d5f300043009a2b..."} 
[2026-08-25 16:07:03] local.INFO: Packet analysis {"connection_id":161789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:07:03] local.INFO: Extracted packet for processing {"connection_id":161789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:07:03] local.INFO: GPS Element Parsed {"raw_longitude":757065152,"raw_latitude":119365424,"longitude_deg":75.7065152,"latitude_deg":11.9365424,"altitude":67,"angle":154,"satellites":43,"speed":4,"hex_longitude":"2d1fe5c0","hex_latitude":"071d5f30","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639437824001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982140244099072,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2295146990657775616,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787654075000,"timestamp_ms":1787654075000,"timestamp_seconds":1787654075,"priority":1,"record_length":96,"hex_timestamp":"000001a0387c7278"} 
[2026-08-25 16: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-25 16:07: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-25 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-25 16:07: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-25 16: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-25 16: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-25 16:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:07: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-25 16:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639437824001,"66":14494,"10":206,"83":41984,"24":4,"16":15982140244099072,"45":2295146990657775616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639437824001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:07:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982140244099072,"km_value":15982140244099.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2295146990657775616,"description":"Unknown IO ID 45"} 
[2026-08-25 16:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639437824001,"power":14494,"unknown_10":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":2295146990657775616}} 
[2026-08-25 16:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":161789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:07:03] local.INFO: GPS data processed {"connection_id":161789,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:07:03] local.INFO: Acknowledgment sent {"connection_id":161789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:07:07] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0387cc480012d1fe5c0071d5ea80042009a29..."} 
[2026-08-25 16:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387cc480012d1fe5c0071d5ea80042009a29..."} 
[2026-08-25 16:07:07] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387cc480012d1fe5c0071d5ea80042009a29..."} 
[2026-08-25 16:07:07] local.INFO: Packet analysis {"connection_id":161789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:07:07] local.INFO: Extracted packet for processing {"connection_id":161789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:07:07] local.INFO: GPS Element Parsed {"raw_longitude":757065152,"raw_latitude":119365288,"longitude_deg":75.7065152,"latitude_deg":11.9365288,"altitude":66,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fe5c0","hex_latitude":"071d5ea8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639443200001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982144539066368,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632587776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787654096000,"timestamp_ms":1787654096000,"timestamp_seconds":1787654096,"priority":1,"record_length":96,"hex_timestamp":"000001a0387cc480"} 
[2026-08-25 16: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-25 16:07: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-25 16: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-25 16:07:07] 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-25 16: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-25 16: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-25 16:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639443200001,"66":13015,"10":206,"83":41984,"24":0,"16":15982144539066368,"45":2298454321632587776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639443200001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:07:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982144539066368,"km_value":15982144539066.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632587776,"description":"Unknown IO ID 45"} 
[2026-08-25 16:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639443200001,"power":13015,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298454321632587776}} 
[2026-08-25 16:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":161789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:07:07] local.INFO: GPS data processed {"connection_id":161789,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:07:07] local.INFO: Acknowledgment sent {"connection_id":161789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:07:18] local.INFO: TCP Data received {"connection_id":163032,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0387ba758012da396c0054b6428000300db2d..."} 
[2026-08-25 16:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387ba758012da396c0054b6428000300db2d..."} 
[2026-08-25 16:07:18] local.INFO: Processing buffer {"connection_id":163032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387ba758012da396c0054b6428000300db2d..."} 
[2026-08-25 16:07:18] local.INFO: Packet analysis {"connection_id":163032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:07:18] local.INFO: Extracted packet for processing {"connection_id":163032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:07:18] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639428864001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787654023000,"timestamp_ms":1787654023000,"timestamp_seconds":1787654023,"priority":1,"record_length":96,"hex_timestamp":"000001a0387ba758"} 
[2026-08-25 16:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 16:07: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-25 16:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639428864001,"66":13526,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639428864001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:07:18] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:07:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639428864001,"power":13526,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":163032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:07:18] local.INFO: GPS data processed {"connection_id":163032,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:07:18] local.INFO: Acknowledgment sent {"connection_id":163032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:07:40] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:07:40] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:07:40] local.INFO: IMEI packet received {"connection_id":161790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":161790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:07:41] local.INFO: TCP Data received {"connection_id":164406,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:07:41] local.INFO: Processing buffer {"connection_id":164406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:07:41] local.INFO: IMEI packet received {"connection_id":164406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":164406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:07:44] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:07:44] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:07:44] local.INFO: IMEI packet received {"connection_id":161790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":161790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:07:45] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:07:45] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:07:45] local.INFO: Packet analysis {"connection_id":161790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:07:45] local.INFO: Extracted packet for processing {"connection_id":161790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639354112001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787654028000,"timestamp_ms":1787654028000,"timestamp_seconds":1787654028,"priority":1,"record_length":96,"hex_timestamp":"000001a0387bbae0"} 
[2026-08-25 16:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639354112001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639354112001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639354112001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":161790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:07:45] local.INFO: GPS data processed {"connection_id":161790,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:07:45] local.INFO: Acknowledgment sent {"connection_id":161790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:07:46] local.INFO: TCP Data received {"connection_id":164406,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:07:46] local.INFO: Processing buffer {"connection_id":164406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:07:46] local.INFO: IMEI packet received {"connection_id":164406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":164406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:07:47] local.INFO: TCP Data received {"connection_id":164406,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0387ba758012da396c0054b6428000300db2d..."} 
[2026-08-25 16:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387ba758012da396c0054b6428000300db2d..."} 
[2026-08-25 16:07:47] local.INFO: Processing buffer {"connection_id":164406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387ba758012da396c0054b6428000300db2d..."} 
[2026-08-25 16:07:47] local.INFO: Packet analysis {"connection_id":164406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:07:47] local.INFO: Extracted packet for processing {"connection_id":164406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:07:47] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16:07:47] 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-25 16:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639429888001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787654023000,"timestamp_ms":1787654023000,"timestamp_seconds":1787654023,"priority":1,"record_length":96,"hex_timestamp":"000001a0387ba758"} 
[2026-08-25 16:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 16:07:47] 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-25 16:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639429888001,"66":13526,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639429888001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:07:47] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:07:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639429888001,"power":13526,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":164406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:07:47] local.INFO: GPS data processed {"connection_id":164406,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:07:47] local.INFO: Acknowledgment sent {"connection_id":164406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:07:52] local.INFO: TCP Data received {"connection_id":164407,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:07:52] local.INFO: Processing buffer {"connection_id":164407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:07:52] local.INFO: IMEI packet received {"connection_id":164407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":164407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:07:57] local.INFO: TCP Data received {"connection_id":164407,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:07:57] local.INFO: Processing buffer {"connection_id":164407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:07:57] local.INFO: IMEI packet received {"connection_id":164407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":164407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:07:58] local.INFO: TCP Data received {"connection_id":164407,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:07:58] local.INFO: Processing buffer {"connection_id":164407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:07:58] local.INFO: Packet analysis {"connection_id":164407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:07:58] local.INFO: Extracted packet for processing {"connection_id":164407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:07:58] local.INFO: GPS Element Parsed {"raw_longitude":757065152,"raw_latitude":119365080,"longitude_deg":75.7065152,"latitude_deg":11.936508,"altitude":65,"angle":161,"satellites":41,"speed":5,"hex_longitude":"2d1fe5c0","hex_latitude":"071d5dd8","is_valid_coordinates":true} 
[2026-08-25 16:07: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-25 16:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448576001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632552960,"note":"Value kept but may cause issues"} 
[2026-08-25 16:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654097000,"timestamp_ms":1787654097000,"timestamp_seconds":1787654097,"priority":1,"record_length":96,"hex_timestamp":"000001a0387cc868"} 
[2026-08-25 16:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:07:58] 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-25 16:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-25 16:07:58] 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-25 16:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:07:58] 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-25 16:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448576001,"66":12950,"10":206,"83":41984,"24":5,"16":15982157423968256,"45":2298454321632552960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448576001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:07:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632552960,"description":"Unknown IO ID 45"} 
[2026-08-25 16:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448576001,"power":12950,"unknown_10":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":2298454321632552960}} 
[2026-08-25 16:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":164407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:07:58] local.INFO: GPS data processed {"connection_id":164407,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:07:58] local.INFO: Acknowledgment sent {"connection_id":164407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:08:17] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:08:17] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:08:17] local.INFO: Packet analysis {"connection_id":161790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:08:17] local.INFO: Extracted packet for processing {"connection_id":161790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639354112001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787654028000,"timestamp_ms":1787654028000,"timestamp_seconds":1787654028,"priority":1,"record_length":96,"hex_timestamp":"000001a0387bbae0"} 
[2026-08-25 16:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639354112001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639354112001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639354112001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":161790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:08:17] local.INFO: GPS data processed {"connection_id":161790,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:08:17] local.INFO: Acknowledgment sent {"connection_id":161790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:08:24] local.INFO: TCP Data received {"connection_id":164406,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0387ba758012da396c0054b6428000300db2d..."} 
[2026-08-25 16:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387ba758012da396c0054b6428000300db2d..."} 
[2026-08-25 16:08:24] local.INFO: Processing buffer {"connection_id":164406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387ba758012da396c0054b6428000300db2d..."} 
[2026-08-25 16:08:24] local.INFO: Packet analysis {"connection_id":164406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:08:24] local.INFO: Extracted packet for processing {"connection_id":164406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:08:24] local.INFO: GPS Element Parsed {"raw_longitude":765695680,"raw_latitude":88826920,"longitude_deg":76.569568,"latitude_deg":8.882692,"altitude":3,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2da396c0","hex_latitude":"054b6428","is_valid_coordinates":true} 
[2026-08-25 16:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639429888001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787654023000,"timestamp_ms":1787654023000,"timestamp_seconds":1787654023,"priority":1,"record_length":96,"hex_timestamp":"000001a0387ba758"} 
[2026-08-25 16: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-25 16:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 16:08:24] 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-25 16: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-25 16: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-25 16:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639429888001,"66":13526,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639429888001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:08:24] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:08:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639429888001,"power":13526,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":164406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:08:24] local.INFO: GPS data processed {"connection_id":164406,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:08:24] local.INFO: Acknowledgment sent {"connection_id":164406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:08:29] local.INFO: TCP Data received {"connection_id":164407,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:08:29] local.INFO: Processing buffer {"connection_id":164407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:08:29] local.INFO: Packet analysis {"connection_id":164407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:08:29] local.INFO: Extracted packet for processing {"connection_id":164407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:08:29] local.INFO: GPS Element Parsed {"raw_longitude":757065152,"raw_latitude":119365080,"longitude_deg":75.7065152,"latitude_deg":11.936508,"altitude":65,"angle":161,"satellites":41,"speed":5,"hex_longitude":"2d1fe5c0","hex_latitude":"071d5dd8","is_valid_coordinates":true} 
[2026-08-25 16:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654097000,"timestamp_ms":1787654097000,"timestamp_seconds":1787654097,"priority":1,"record_length":96,"hex_timestamp":"000001a0387cc868"} 
[2026-08-25 16:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:08:29] 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-25 16:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:08:29] 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-25 16:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":12950,"10":206,"83":41984,"24":5,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:08:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:08:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":12950,"unknown_10":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":164407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:08:29] local.INFO: GPS data processed {"connection_id":164407,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:08:29] local.INFO: Acknowledgment sent {"connection_id":164407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:08:40] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:08:40] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:08:40] local.INFO: IMEI packet received {"connection_id":162032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":162032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:08:40] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:08:40] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:08:40] local.INFO: IMEI packet received {"connection_id":162033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":162033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:08:42] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:08:42] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:08:42] local.INFO: IMEI packet received {"connection_id":162033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":162033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:08:45] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:08:45] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:08:45] local.INFO: IMEI packet received {"connection_id":162032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":162032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:08:45] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:08:45] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:08:45] local.INFO: Packet analysis {"connection_id":162032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:08:45] local.INFO: Extracted packet for processing {"connection_id":162032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639354112001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787654028000,"timestamp_ms":1787654028000,"timestamp_seconds":1787654028,"priority":1,"record_length":96,"hex_timestamp":"000001a0387bbae0"} 
[2026-08-25 16:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639354112001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639354112001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639354112001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":162032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:08:45] local.INFO: GPS data processed {"connection_id":162032,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:08:45] local.INFO: Acknowledgment sent {"connection_id":162032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:08:46] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:08:46] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:08:46] local.INFO: IMEI packet received {"connection_id":162033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":162033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:08:48] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:08:48] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:08:48] local.INFO: Packet analysis {"connection_id":162033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:08:48] local.INFO: Extracted packet for processing {"connection_id":162033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:08:48] local.INFO: GPS Element Parsed {"raw_longitude":765695488,"raw_latitude":88826912,"longitude_deg":76.5695488,"latitude_deg":8.8826912,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da39600","hex_latitude":"054b6420","is_valid_coordinates":true} 
[2026-08-25 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-25 16:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639429888001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787654320000,"timestamp_ms":1787654320000,"timestamp_seconds":1787654320,"priority":1,"record_length":96,"hex_timestamp":"000001a038802f80"} 
[2026-08-25 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-25 16:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 16:08:48] 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-25 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-25 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-25 16:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639429888001,"66":2264,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639429888001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:08:48] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:08:48] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639429888001,"power":2264,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":162033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:08:48] local.INFO: GPS data processed {"connection_id":162033,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:08:48] local.INFO: Acknowledgment sent {"connection_id":162033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:08:52] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:08:52] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:08:52] local.INFO: IMEI packet received {"connection_id":161791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":161791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:08:57] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:08:57] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:08:57] local.INFO: IMEI packet received {"connection_id":161791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":161791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:08:58] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:08:58] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:08:58] local.INFO: Packet analysis {"connection_id":161791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:08:58] local.INFO: Extracted packet for processing {"connection_id":161791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:08:58] local.INFO: GPS Element Parsed {"raw_longitude":757065152,"raw_latitude":119365080,"longitude_deg":75.7065152,"latitude_deg":11.936508,"altitude":65,"angle":161,"satellites":41,"speed":5,"hex_longitude":"2d1fe5c0","hex_latitude":"071d5dd8","is_valid_coordinates":true} 
[2026-08-25 16:08:58] 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-25 16:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654097000,"timestamp_ms":1787654097000,"timestamp_seconds":1787654097,"priority":1,"record_length":96,"hex_timestamp":"000001a0387cc868"} 
[2026-08-25 16:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:08:58] 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-25 16:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:08:58] local.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-25 16:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":12950,"10":206,"83":41984,"24":5,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:08:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":12950,"unknown_10":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":161791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:08:58] local.INFO: GPS data processed {"connection_id":161791,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:08:58] local.INFO: Acknowledgment sent {"connection_id":161791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:09:17] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:09:17] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387bbae0012d34c14006aa4818000200e62b..."} 
[2026-08-25 16:09:17] local.INFO: Packet analysis {"connection_id":162032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:09:17] local.INFO: Extracted packet for processing {"connection_id":162032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387b"} 
[2026-08-25 16:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639354112001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787654028000,"timestamp_ms":1787654028000,"timestamp_seconds":1787654028,"priority":1,"record_length":96,"hex_timestamp":"000001a0387bbae0"} 
[2026-08-25 16:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639354112001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639354112001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639354112001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":162032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:09:17] local.INFO: GPS data processed {"connection_id":162032,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:09:17] local.INFO: Acknowledgment sent {"connection_id":162032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:09:19] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:09:19] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:09:19] local.INFO: Packet analysis {"connection_id":162033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:09:19] local.INFO: Extracted packet for processing {"connection_id":162033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:09:19] local.INFO: GPS Element Parsed {"raw_longitude":765695488,"raw_latitude":88826912,"longitude_deg":76.5695488,"latitude_deg":8.8826912,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da39600","hex_latitude":"054b6420","is_valid_coordinates":true} 
[2026-08-25 16:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639429888001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787654320000,"timestamp_ms":1787654320000,"timestamp_seconds":1787654320,"priority":1,"record_length":96,"hex_timestamp":"000001a038802f80"} 
[2026-08-25 16:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 16:09:19] 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-25 16:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639429888001,"66":2264,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639429888001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:09:19] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:09:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639429888001,"power":2264,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":162033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:09:19] local.INFO: GPS data processed {"connection_id":162033,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:09:19] local.INFO: Acknowledgment sent {"connection_id":162033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:09:20] local.INFO: TCP Data received {"connection_id":162034,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:09:20] local.INFO: Processing buffer {"connection_id":162034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:09:20] local.INFO: IMEI packet received {"connection_id":162034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 16:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":162034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:09:25] local.INFO: TCP Data received {"connection_id":162034,"ip":"117.225.220.112","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:09:25] local.INFO: Processing buffer {"connection_id":162034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:09:25] local.INFO: IMEI packet received {"connection_id":162034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 16:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":162034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:09:28] local.INFO: TCP Data received {"connection_id":162034,"ip":"117.225.220.112","data_length":795,"data_hex":"000000000000030f8e0a000001a0387ecff0012d729c00067fd398002e00a42b..."} 
[2026-08-25 16:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387ecff0012d729c00067fd398002e00a42b..."} 
[2026-08-25 16:09:28] local.INFO: Processing buffer {"connection_id":162034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387ecff0012d729c00067fd398002e00a42b..."} 
[2026-08-25 16:09:28] local.INFO: Packet analysis {"connection_id":162034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387e"} 
[2026-08-25 16:09:28] local.INFO: Extracted packet for processing {"connection_id":162034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387e"} 
[2026-08-25 16:09:28] local.INFO: GPS Element Parsed {"raw_longitude":762485760,"raw_latitude":109040536,"longitude_deg":76.248576,"latitude_deg":10.9040536,"altitude":46,"angle":164,"satellites":43,"speed":29,"hex_longitude":"2d729c00","hex_latitude":"067fd398","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1915555414016,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,63,18,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 16:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787654230000,"timestamp_ms":1787654230000,"timestamp_seconds":1787654230,"priority":1,"record_length":96,"hex_timestamp":"000001a0387ecff0"} 
[2026-08-25 16: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-25 16:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-25 16:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-25 16:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.220.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-25 16:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-25 16:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"63":206,"18":2048,"24":29,"16":1915555414016},"client_ip":"117.225.220.112","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,18,24,16]} 
[2026-08-25 16:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-25 16:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-25 16:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-25 16:09:28] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-25 16:09:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":2048,"description":"Unknown IO ID 18"} 
[2026-08-25 16:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":1915555414016,"km_value":1915555414.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:09:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_63":206,"unknown_18":2048,"ignition":29,"odometer":null}} 
[2026-08-25 16:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":162034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696694,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:09:28] local.INFO: GPS data processed {"connection_id":162034,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:09:28] local.INFO: Acknowledgment sent {"connection_id":162034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:09:29] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:09:29] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:09:29] local.INFO: Packet analysis {"connection_id":161791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:09:29] local.INFO: Extracted packet for processing {"connection_id":161791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:09:29] local.INFO: GPS Element Parsed {"raw_longitude":757065152,"raw_latitude":119365080,"longitude_deg":75.7065152,"latitude_deg":11.936508,"altitude":65,"angle":161,"satellites":41,"speed":5,"hex_longitude":"2d1fe5c0","hex_latitude":"071d5dd8","is_valid_coordinates":true} 
[2026-08-25 16:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654097000,"timestamp_ms":1787654097000,"timestamp_seconds":1787654097,"priority":1,"record_length":96,"hex_timestamp":"000001a0387cc868"} 
[2026-08-25 16:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:09:29] 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-25 16:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:09:29] local.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-25 16:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":12950,"10":206,"83":41984,"24":5,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:09:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:09:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":12950,"unknown_10":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":161791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:09:29] local.INFO: GPS data processed {"connection_id":161791,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:09:29] local.INFO: Acknowledgment sent {"connection_id":161791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:09:40] local.INFO: TCP Data received {"connection_id":164408,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:09:40] local.INFO: Processing buffer {"connection_id":164408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:09:40] local.INFO: IMEI packet received {"connection_id":164408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":164408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:09:41] local.INFO: TCP Data received {"connection_id":163034,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:09:41] local.INFO: Processing buffer {"connection_id":163034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:09:41] local.INFO: IMEI packet received {"connection_id":163034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":163034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:09:44] local.INFO: TCP Data received {"connection_id":164408,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:09:44] local.INFO: Processing buffer {"connection_id":164408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:09:44] local.INFO: IMEI packet received {"connection_id":164408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":164408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:09:45] local.INFO: TCP Data received {"connection_id":164408,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:09:45] local.INFO: Processing buffer {"connection_id":164408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:09:45] local.INFO: Packet analysis {"connection_id":164408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:09:45] local.INFO: Extracted packet for processing {"connection_id":164408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639431168001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787654329000,"timestamp_ms":1787654329000,"timestamp_seconds":1787654329,"priority":1,"record_length":96,"hex_timestamp":"000001a0388052a8"} 
[2026-08-25 16:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639431168001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639431168001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639431168001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":164408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:09:45] local.INFO: GPS data processed {"connection_id":164408,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:09:45] local.INFO: Acknowledgment sent {"connection_id":164408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:09:45] local.INFO: TCP Data received {"connection_id":163034,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:09:45] local.INFO: Processing buffer {"connection_id":163034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:09:45] local.INFO: IMEI packet received {"connection_id":163034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":163034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:09:47] local.INFO: TCP Data received {"connection_id":163034,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:09:47] local.INFO: Processing buffer {"connection_id":163034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:09:47] local.INFO: Packet analysis {"connection_id":163034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:09:47] local.INFO: Extracted packet for processing {"connection_id":163034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:09:47] local.INFO: GPS Element Parsed {"raw_longitude":765695488,"raw_latitude":88826912,"longitude_deg":76.5695488,"latitude_deg":8.8826912,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da39600","hex_latitude":"054b6420","is_valid_coordinates":true} 
[2026-08-25 16:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639429888001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787654320000,"timestamp_ms":1787654320000,"timestamp_seconds":1787654320,"priority":1,"record_length":96,"hex_timestamp":"000001a038802f80"} 
[2026-08-25 16:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 16:09:47] 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-25 16:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639429888001,"66":2264,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639429888001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:09:47] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:09:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639429888001,"power":2264,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":163034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:09:47] local.INFO: GPS data processed {"connection_id":163034,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:09:47] local.INFO: Acknowledgment sent {"connection_id":163034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:09:52] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:09:52] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:09:52] local.INFO: IMEI packet received {"connection_id":161792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":161792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:09:57] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:09:57] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:09:57] local.INFO: IMEI packet received {"connection_id":161792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":161792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:09:58] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:09:58] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:09:58] local.INFO: Packet analysis {"connection_id":161792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:09:58] local.INFO: Extracted packet for processing {"connection_id":161792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":757065152,"raw_latitude":119365080,"longitude_deg":75.7065152,"latitude_deg":11.936508,"altitude":65,"angle":161,"satellites":41,"speed":5,"hex_longitude":"2d1fe5c0","hex_latitude":"071d5dd8","is_valid_coordinates":true} 
[2026-08-25 16:09:58] 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-25 16:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654097000,"timestamp_ms":1787654097000,"timestamp_seconds":1787654097,"priority":1,"record_length":96,"hex_timestamp":"000001a0387cc868"} 
[2026-08-25 16:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:09:58] 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-25 16:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:09:58] 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-25 16:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":12950,"10":206,"83":41984,"24":5,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:09:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":12950,"unknown_10":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":161792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:09:58] local.INFO: GPS data processed {"connection_id":161792,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:09:58] local.INFO: Acknowledgment sent {"connection_id":161792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:10:16] local.INFO: TCP Data received {"connection_id":164408,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:10:16] local.INFO: Processing buffer {"connection_id":164408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:10:16] local.INFO: Packet analysis {"connection_id":164408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:10:16] local.INFO: Extracted packet for processing {"connection_id":164408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639431168001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787654329000,"timestamp_ms":1787654329000,"timestamp_seconds":1787654329,"priority":1,"record_length":96,"hex_timestamp":"000001a0388052a8"} 
[2026-08-25 16:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639431168001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639431168001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639431168001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":164408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:10:16] local.INFO: GPS data processed {"connection_id":164408,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:10:16] local.INFO: Acknowledgment sent {"connection_id":164408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:10:19] local.INFO: TCP Data received {"connection_id":163034,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:10:19] local.INFO: Processing buffer {"connection_id":163034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:10:19] local.INFO: Packet analysis {"connection_id":163034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:10:19] local.INFO: Extracted packet for processing {"connection_id":163034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:10:19] local.INFO: GPS Element Parsed {"raw_longitude":765695488,"raw_latitude":88826912,"longitude_deg":76.5695488,"latitude_deg":8.8826912,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da39600","hex_latitude":"054b6420","is_valid_coordinates":true} 
[2026-08-25 16:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639429888001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787654320000,"timestamp_ms":1787654320000,"timestamp_seconds":1787654320,"priority":1,"record_length":96,"hex_timestamp":"000001a038802f80"} 
[2026-08-25 16:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 16:10:19] 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-25 16:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639429888001,"66":2264,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639429888001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:10:19] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:10:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639429888001,"power":2264,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":163034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:10:19] local.INFO: GPS data processed {"connection_id":163034,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:10:19] local.INFO: Acknowledgment sent {"connection_id":163034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:10:29] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:10:29] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0387cc868012d1fe5c0071d5dd8004100a129..."} 
[2026-08-25 16:10:29] local.INFO: Packet analysis {"connection_id":161792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:10:29] local.INFO: Extracted packet for processing {"connection_id":161792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0387c"} 
[2026-08-25 16:10:29] local.INFO: GPS Element Parsed {"raw_longitude":757065152,"raw_latitude":119365080,"longitude_deg":75.7065152,"latitude_deg":11.936508,"altitude":65,"angle":161,"satellites":41,"speed":5,"hex_longitude":"2d1fe5c0","hex_latitude":"071d5dd8","is_valid_coordinates":true} 
[2026-08-25 16:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654097000,"timestamp_ms":1787654097000,"timestamp_seconds":1787654097,"priority":1,"record_length":96,"hex_timestamp":"000001a0387cc868"} 
[2026-08-25 16:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:10:29] 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-25 16:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":12950,"10":206,"83":41984,"24":5,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:10:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:10:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":12950,"unknown_10":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":161792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:10:29] local.INFO: GPS data processed {"connection_id":161792,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:10:29] local.INFO: Acknowledgment sent {"connection_id":161792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:10:39] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:10:39] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:10:39] local.INFO: IMEI packet received {"connection_id":162036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":162036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:10:41] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:10:41] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:10:41] local.INFO: IMEI packet received {"connection_id":162035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":162035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:10:44] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:10:44] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:10:44] local.INFO: IMEI packet received {"connection_id":162036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":162036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:10:45] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:10:45] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:10:45] local.INFO: Packet analysis {"connection_id":162036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:10:45] local.INFO: Extracted packet for processing {"connection_id":162036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639431168001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787654329000,"timestamp_ms":1787654329000,"timestamp_seconds":1787654329,"priority":1,"record_length":96,"hex_timestamp":"000001a0388052a8"} 
[2026-08-25 16:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639431168001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639431168001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639431168001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":162036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:10:45] local.INFO: GPS data processed {"connection_id":162036,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:10:45] local.INFO: Acknowledgment sent {"connection_id":162036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:10:46] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:10:46] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:10:46] local.INFO: IMEI packet received {"connection_id":162035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":162035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:10:53] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:10:53] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:10:53] local.INFO: IMEI packet received {"connection_id":161793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":161793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:10:57] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:10:57] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:10:57] local.INFO: IMEI packet received {"connection_id":161793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":161793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:10:57] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:10:57] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:10:57] local.INFO: Packet analysis {"connection_id":162035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:10:57] local.INFO: Extracted packet for processing {"connection_id":162035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:10:57] local.INFO: GPS Element Parsed {"raw_longitude":765695488,"raw_latitude":88826912,"longitude_deg":76.5695488,"latitude_deg":8.8826912,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da39600","hex_latitude":"054b6420","is_valid_coordinates":true} 
[2026-08-25 16:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639429888001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787654320000,"timestamp_ms":1787654320000,"timestamp_seconds":1787654320,"priority":1,"record_length":96,"hex_timestamp":"000001a038802f80"} 
[2026-08-25 16:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 16:10:57] 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-25 16:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639429888001,"66":2264,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639429888001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:10:57] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:10:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639429888001,"power":2264,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":162035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:10:57] local.INFO: GPS data processed {"connection_id":162035,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:10:57] local.INFO: Acknowledgment sent {"connection_id":162035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:10:58] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:10:58] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:10:58] local.INFO: Packet analysis {"connection_id":161793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:10:58] local.INFO: Extracted packet for processing {"connection_id":161793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:10:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654400000,"timestamp_ms":1787654400000,"timestamp_seconds":1787654400,"priority":1,"record_length":96,"hex_timestamp":"000001a038816800"} 
[2026-08-25 16:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:10:58] 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-25 16:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:10:58] 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-25 16:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:10:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":161793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:10:58] local.INFO: GPS data processed {"connection_id":161793,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:10:58] local.INFO: Acknowledgment sent {"connection_id":161793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:11:04] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:11:04] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:11:04] local.INFO: Packet analysis {"connection_id":162035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:11:04] local.INFO: Extracted packet for processing {"connection_id":162035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:11:04] local.INFO: GPS Element Parsed {"raw_longitude":765695488,"raw_latitude":88826912,"longitude_deg":76.5695488,"latitude_deg":8.8826912,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da39600","hex_latitude":"054b6420","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639429888001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787654320000,"timestamp_ms":1787654320000,"timestamp_seconds":1787654320,"priority":1,"record_length":96,"hex_timestamp":"000001a038802f80"} 
[2026-08-25 16: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-25 16:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":214,"data_length":795,"current_offset":136} 
[2026-08-25 16:11: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-25 16: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-25 16: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-25 16:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639429888001,"66":2264,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639429888001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:11:04] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:11:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639429888001,"power":2264,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":162035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:11:04] local.INFO: GPS data processed {"connection_id":162035,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:11:04] local.INFO: Acknowledgment sent {"connection_id":162035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:11:16] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:11:16] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:11:16] local.INFO: Packet analysis {"connection_id":162036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:11:16] local.INFO: Extracted packet for processing {"connection_id":162036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639431168001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787654329000,"timestamp_ms":1787654329000,"timestamp_seconds":1787654329,"priority":1,"record_length":96,"hex_timestamp":"000001a0388052a8"} 
[2026-08-25 16:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639431168001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639431168001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639431168001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":162036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:11:16] local.INFO: GPS data processed {"connection_id":162036,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:11:16] local.INFO: Acknowledgment sent {"connection_id":162036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:11:29] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:11:29] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:11:29] local.INFO: Packet analysis {"connection_id":161793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:11:29] local.INFO: Extracted packet for processing {"connection_id":161793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:11:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654400000,"timestamp_ms":1787654400000,"timestamp_seconds":1787654400,"priority":1,"record_length":96,"hex_timestamp":"000001a038816800"} 
[2026-08-25 16:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:11:29] 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-25 16:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:11:29] 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-25 16:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:11:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:11:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":161793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:11:29] local.INFO: GPS data processed {"connection_id":161793,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:11:29] local.INFO: Acknowledgment sent {"connection_id":161793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:11:39] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:11:39] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:11:39] local.INFO: IMEI packet received {"connection_id":162037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":162037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:11:40] local.INFO: TCP Data received {"connection_id":164409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:11:40] local.INFO: Processing buffer {"connection_id":164409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:11:40] local.INFO: IMEI packet received {"connection_id":164409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":164409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:11:45] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:11:45] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:11:45] local.INFO: IMEI packet received {"connection_id":162037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":162037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:11:45] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:11:46] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:11:46] local.INFO: Packet analysis {"connection_id":162037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:11:46] local.INFO: Extracted packet for processing {"connection_id":162037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639431168001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787654329000,"timestamp_ms":1787654329000,"timestamp_seconds":1787654329,"priority":1,"record_length":96,"hex_timestamp":"000001a0388052a8"} 
[2026-08-25 16:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639431168001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639431168001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639431168001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":162037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:11:46] local.INFO: GPS data processed {"connection_id":162037,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:11:46] local.INFO: Acknowledgment sent {"connection_id":162037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:11:46] local.INFO: TCP Data received {"connection_id":164409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:11:46] local.INFO: Processing buffer {"connection_id":164409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:11:46] local.INFO: IMEI packet received {"connection_id":164409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":164409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:11:52] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:11:52] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:11:52] local.INFO: IMEI packet received {"connection_id":161794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":161794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:11:55] local.INFO: TCP Data received {"connection_id":164409,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:11:55] local.INFO: Processing buffer {"connection_id":164409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:11:55] local.INFO: Packet analysis {"connection_id":164409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:11:55] local.INFO: Extracted packet for processing {"connection_id":164409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:11:55] local.INFO: GPS Element Parsed {"raw_longitude":765695488,"raw_latitude":88826912,"longitude_deg":76.5695488,"latitude_deg":8.8826912,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da39600","hex_latitude":"054b6420","is_valid_coordinates":true} 
[2026-08-25 16:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639429888001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787654320000,"timestamp_ms":1787654320000,"timestamp_seconds":1787654320,"priority":1,"record_length":96,"hex_timestamp":"000001a038802f80"} 
[2026-08-25 16:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 16:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639429888001,"66":2264,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639429888001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:11:55] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:11:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639429888001,"power":2264,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":164409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:11:55] local.INFO: GPS data processed {"connection_id":164409,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:11:55] local.INFO: Acknowledgment sent {"connection_id":164409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:11:57] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:11:57] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:11:57] local.INFO: IMEI packet received {"connection_id":161794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":161794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:11:58] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:11:58] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:11:58] local.INFO: Packet analysis {"connection_id":161794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:11:58] local.INFO: Extracted packet for processing {"connection_id":161794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:11:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:11: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-25 16:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654400000,"timestamp_ms":1787654400000,"timestamp_seconds":1787654400,"priority":1,"record_length":96,"hex_timestamp":"000001a038816800"} 
[2026-08-25 16:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:11:58] 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-25 16:11: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-25 16:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:11:58] 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-25 16:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:11:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":161794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:11:58] local.INFO: GPS data processed {"connection_id":161794,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:11:58] local.INFO: Acknowledgment sent {"connection_id":161794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:12:17] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:12:17] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:12:17] local.INFO: Packet analysis {"connection_id":162037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:12:17] local.INFO: Extracted packet for processing {"connection_id":162037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639431168001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787654329000,"timestamp_ms":1787654329000,"timestamp_seconds":1787654329,"priority":1,"record_length":96,"hex_timestamp":"000001a0388052a8"} 
[2026-08-25 16: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-25 16:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639431168001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639431168001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639431168001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":162037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:12:17] local.INFO: GPS data processed {"connection_id":162037,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:12:17] local.INFO: Acknowledgment sent {"connection_id":162037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:12:29] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:12:29] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:12:29] local.INFO: Packet analysis {"connection_id":161794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:12:29] local.INFO: Extracted packet for processing {"connection_id":161794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654400000,"timestamp_ms":1787654400000,"timestamp_seconds":1787654400,"priority":1,"record_length":96,"hex_timestamp":"000001a038816800"} 
[2026-08-25 16:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:12:29] 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-25 16:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:12:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":161794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:12:29] local.INFO: GPS data processed {"connection_id":161794,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:12:29] local.INFO: Acknowledgment sent {"connection_id":161794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:12:40] local.INFO: TCP Data received {"connection_id":164410,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:12:40] local.INFO: Processing buffer {"connection_id":164410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:12:40] local.INFO: IMEI packet received {"connection_id":164410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":164410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:12:45] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:12:45] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:12:45] local.INFO: IMEI packet received {"connection_id":162038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":162038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:12:46] local.INFO: TCP Data received {"connection_id":164410,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:12:46] local.INFO: Processing buffer {"connection_id":164410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:12:46] local.INFO: IMEI packet received {"connection_id":164410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":164410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:12:47] local.INFO: TCP Data received {"connection_id":164410,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:12:47] local.INFO: Processing buffer {"connection_id":164410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:12:47] local.INFO: Packet analysis {"connection_id":164410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:12:47] local.INFO: Extracted packet for processing {"connection_id":164410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:12:47] local.INFO: GPS Element Parsed {"raw_longitude":765695488,"raw_latitude":88826912,"longitude_deg":76.5695488,"latitude_deg":8.8826912,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da39600","hex_latitude":"054b6420","is_valid_coordinates":true} 
[2026-08-25 16:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639429888001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787654320000,"timestamp_ms":1787654320000,"timestamp_seconds":1787654320,"priority":1,"record_length":96,"hex_timestamp":"000001a038802f80"} 
[2026-08-25 16:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 16:12:47] 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-25 16:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639429888001,"66":2264,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639429888001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:12:47] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:12:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639429888001,"power":2264,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":164410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:12:47] local.INFO: GPS data processed {"connection_id":164410,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:12:47] local.INFO: Acknowledgment sent {"connection_id":164410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:12:50] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:12:50] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:12:50] local.INFO: IMEI packet received {"connection_id":162038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":162038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:12:51] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:12:51] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:12:51] local.INFO: Packet analysis {"connection_id":162038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:12:51] local.INFO: Extracted packet for processing {"connection_id":162038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:12:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639431168001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787654329000,"timestamp_ms":1787654329000,"timestamp_seconds":1787654329,"priority":1,"record_length":96,"hex_timestamp":"000001a0388052a8"} 
[2026-08-25 16:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639431168001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639431168001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639431168001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":162038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:12:52] local.INFO: GPS data processed {"connection_id":162038,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:12:52] local.INFO: Acknowledgment sent {"connection_id":162038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:12:52] local.INFO: TCP Data received {"connection_id":163035,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:12:52] local.INFO: Processing buffer {"connection_id":163035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:12:52] local.INFO: IMEI packet received {"connection_id":163035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":163035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:12:55] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:12:55] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:12:55] local.INFO: Packet analysis {"connection_id":162038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:12:55] local.INFO: Extracted packet for processing {"connection_id":162038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:12:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639431168001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787654329000,"timestamp_ms":1787654329000,"timestamp_seconds":1787654329,"priority":1,"record_length":96,"hex_timestamp":"000001a0388052a8"} 
[2026-08-25 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-25 16:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 16:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639431168001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639431168001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:12:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639431168001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":162038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:12:55] local.INFO: GPS data processed {"connection_id":162038,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:12:55] local.INFO: Acknowledgment sent {"connection_id":162038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:12:57] local.INFO: TCP Data received {"connection_id":163035,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:12:57] local.INFO: Processing buffer {"connection_id":163035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:12:57] local.INFO: IMEI packet received {"connection_id":163035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":163035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:12:58] local.INFO: TCP Data received {"connection_id":163035,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:12:58] local.INFO: Processing buffer {"connection_id":163035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:12:58] local.INFO: Packet analysis {"connection_id":163035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:12:58] local.INFO: Extracted packet for processing {"connection_id":163035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:12:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654400000,"timestamp_ms":1787654400000,"timestamp_seconds":1787654400,"priority":1,"record_length":96,"hex_timestamp":"000001a038816800"} 
[2026-08-25 16: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-25 16:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:12:58] 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-25 16: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-25 16: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-25 16:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:12:58] 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-25 16:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:12:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":163035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:12:58] local.INFO: GPS data processed {"connection_id":163035,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:12:58] local.INFO: Acknowledgment sent {"connection_id":163035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:13:21] local.INFO: TCP Data received {"connection_id":164410,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:13:21] local.INFO: Processing buffer {"connection_id":164410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038802f80012da39600054b6420000300db30..."} 
[2026-08-25 16:13:21] local.INFO: Packet analysis {"connection_id":164410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:13:21] local.INFO: Extracted packet for processing {"connection_id":164410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:13:21] local.INFO: GPS Element Parsed {"raw_longitude":765695488,"raw_latitude":88826912,"longitude_deg":76.5695488,"latitude_deg":8.8826912,"altitude":3,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2da39600","hex_latitude":"054b6420","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639429888001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658923870048475136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787654320000,"timestamp_ms":1787654320000,"timestamp_seconds":1787654320,"priority":1,"record_length":96,"hex_timestamp":"000001a038802f80"} 
[2026-08-25 16: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-25 16:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 16:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639429888001,"66":2264,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6658923870048475136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639429888001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:13:21] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:13:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658923870048475136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639429888001,"power":2264,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6658923870048475136}} 
[2026-08-25 16:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":164410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:13:21] local.INFO: GPS data processed {"connection_id":164410,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:13:21] local.INFO: Acknowledgment sent {"connection_id":164410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:13:29] local.INFO: TCP Data received {"connection_id":163035,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:13:29] local.INFO: Processing buffer {"connection_id":163035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:13:29] local.INFO: Packet analysis {"connection_id":163035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:13:29] local.INFO: Extracted packet for processing {"connection_id":163035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:13:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654400000,"timestamp_ms":1787654400000,"timestamp_seconds":1787654400,"priority":1,"record_length":96,"hex_timestamp":"000001a038816800"} 
[2026-08-25 16:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:13:29] 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-25 16:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:13:29] 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-25 16:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:13:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":163035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:13:29] local.INFO: GPS data processed {"connection_id":163035,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:13:29] local.INFO: Acknowledgment sent {"connection_id":163035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:13:39] local.INFO: TCP Data received {"connection_id":161795,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:13:39] local.INFO: Processing buffer {"connection_id":161795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:13:39] local.INFO: IMEI packet received {"connection_id":161795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":161795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:13:43] local.INFO: TCP Data received {"connection_id":161796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:13:43] local.INFO: Processing buffer {"connection_id":161796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:13:43] local.INFO: IMEI packet received {"connection_id":161796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":161796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:13:45] local.INFO: TCP Data received {"connection_id":161796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:13:45] local.INFO: Processing buffer {"connection_id":161796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:13:45] local.INFO: IMEI packet received {"connection_id":161796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":161796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:13:46] local.INFO: TCP Data received {"connection_id":161795,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:13:46] local.INFO: Processing buffer {"connection_id":161795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:13:46] local.INFO: IMEI packet received {"connection_id":161795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":161795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:13:47] local.INFO: TCP Data received {"connection_id":161795,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:13:47] local.INFO: Processing buffer {"connection_id":161795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:13:47] local.INFO: Packet analysis {"connection_id":161795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:13:47] local.INFO: Extracted packet for processing {"connection_id":161795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639431168001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787654329000,"timestamp_ms":1787654329000,"timestamp_seconds":1787654329,"priority":1,"record_length":96,"hex_timestamp":"000001a0388052a8"} 
[2026-08-25 16: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-25 16:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639431168001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639431168001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639431168001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":161795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:13:47] local.INFO: GPS data processed {"connection_id":161795,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:13:47] local.INFO: Acknowledgment sent {"connection_id":161795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:13:50] local.INFO: TCP Data received {"connection_id":161796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:13:50] local.INFO: Processing buffer {"connection_id":161796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:13:50] local.INFO: IMEI packet received {"connection_id":161796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":161796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:13:52] local.INFO: TCP Data received {"connection_id":161796,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03884c748012da39600054b6420000300db2e..."} 
[2026-08-25 16:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03884c748012da39600054b6420000300db2e..."} 
[2026-08-25 16:13:52] local.INFO: Processing buffer {"connection_id":161796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03884c748012da39600054b6420000300db2e..."} 
[2026-08-25 16:13:52] local.INFO: Packet analysis {"connection_id":161796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:13:52] local.INFO: Extracted packet for processing {"connection_id":161796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:13:52] local.INFO: GPS Element Parsed {"raw_longitude":765695488,"raw_latitude":88826912,"longitude_deg":76.5695488,"latitude_deg":8.8826912,"altitude":3,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2da39600","hex_latitude":"054b6420","is_valid_coordinates":true} 
[2026-08-25 16:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639505920001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833059718987776,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6659134976281010176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787654621000,"timestamp_ms":1787654621000,"timestamp_seconds":1787654621,"priority":1,"record_length":96,"hex_timestamp":"000001a03884c748"} 
[2026-08-25 16:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:13:52] 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-25 16:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639505920001,"66":2275,"255":206,"84":7168,"24":0,"16":123833059718987776,"45":-6659134976281010176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,84,24,16,45]} 
[2026-08-25 16:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639505920001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:13:52] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-25 16:13:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 16:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833059718987776,"km_value":123833059718987.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6659134976281010176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639505920001,"power":2275,"unknown_255":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-6659134976281010176}} 
[2026-08-25 16:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":161796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:13:52] local.INFO: GPS data processed {"connection_id":161796,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:13:52] local.INFO: Acknowledgment sent {"connection_id":161796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:13:52] local.INFO: TCP Data received {"connection_id":163036,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:13:52] local.INFO: Processing buffer {"connection_id":163036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:13:52] local.INFO: IMEI packet received {"connection_id":163036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":163036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:13:57] local.INFO: TCP Data received {"connection_id":163036,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:13:57] local.INFO: Processing buffer {"connection_id":163036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:13:57] local.INFO: IMEI packet received {"connection_id":163036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":163036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:13:58] local.INFO: TCP Data received {"connection_id":163036,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:13:58] local.INFO: Processing buffer {"connection_id":163036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:13:58] local.INFO: Packet analysis {"connection_id":163036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:13:58] local.INFO: Extracted packet for processing {"connection_id":163036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:13:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:13: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-25 16:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654400000,"timestamp_ms":1787654400000,"timestamp_seconds":1787654400,"priority":1,"record_length":96,"hex_timestamp":"000001a038816800"} 
[2026-08-25 16:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:13:58] 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-25 16:13: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-25 16:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:13:58] 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-25 16:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:13:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:13:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":163036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:13:58] local.INFO: GPS data processed {"connection_id":163036,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:13:58] local.INFO: Acknowledgment sent {"connection_id":163036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:14:18] local.INFO: TCP Data received {"connection_id":161795,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:14:18] local.INFO: Processing buffer {"connection_id":161795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388052a8012d34c14006aa4818000500e62d..."} 
[2026-08-25 16:14:18] local.INFO: Packet analysis {"connection_id":161795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:14:18] local.INFO: Extracted packet for processing {"connection_id":161795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03880"} 
[2026-08-25 16:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639431168001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:14:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787654329000,"timestamp_ms":1787654329000,"timestamp_seconds":1787654329,"priority":1,"record_length":96,"hex_timestamp":"000001a0388052a8"} 
[2026-08-25 16: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-25 16:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:14:18] 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-25 16:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639431168001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639431168001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639431168001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":161795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:14:18] local.INFO: GPS data processed {"connection_id":161795,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:14:18] local.INFO: Acknowledgment sent {"connection_id":161795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:14:29] local.INFO: TCP Data received {"connection_id":163036,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:14:29] local.INFO: Processing buffer {"connection_id":163036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:14:29] local.INFO: Packet analysis {"connection_id":163036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:14:29] local.INFO: Extracted packet for processing {"connection_id":163036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:14:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654400000,"timestamp_ms":1787654400000,"timestamp_seconds":1787654400,"priority":1,"record_length":96,"hex_timestamp":"000001a038816800"} 
[2026-08-25 16:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:14:29] 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-25 16:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:14:29] 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-25 16:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:14:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:14:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":163036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:14:29] local.INFO: GPS data processed {"connection_id":163036,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:14:29] local.INFO: Acknowledgment sent {"connection_id":163036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:14:40] local.INFO: TCP Data received {"connection_id":164411,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:14:40] local.INFO: Processing buffer {"connection_id":164411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:14:40] local.INFO: IMEI packet received {"connection_id":164411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":164411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:14:45] local.INFO: TCP Data received {"connection_id":164411,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:14:45] local.INFO: Processing buffer {"connection_id":164411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:14:45] local.INFO: IMEI packet received {"connection_id":164411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":164411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:14:46] local.INFO: TCP Data received {"connection_id":164411,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:14:46] local.INFO: Processing buffer {"connection_id":164411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:14:46] local.INFO: Packet analysis {"connection_id":164411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:14:46] local.INFO: Extracted packet for processing {"connection_id":164411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639508224001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:14:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787654630000,"timestamp_ms":1787654630000,"timestamp_seconds":1787654630,"priority":1,"record_length":96,"hex_timestamp":"000001a03884ea70"} 
[2026-08-25 16:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 16:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:14:46] 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-25 16:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639508224001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639508224001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639508224001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":164411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:14:46] local.INFO: GPS data processed {"connection_id":164411,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:14:46] local.INFO: Acknowledgment sent {"connection_id":164411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:14:52] local.INFO: TCP Data received {"connection_id":163037,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:14:52] local.INFO: Processing buffer {"connection_id":163037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:14:52] local.INFO: IMEI packet received {"connection_id":163037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":163037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:14:57] local.INFO: TCP Data received {"connection_id":163037,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:14:57] local.INFO: Processing buffer {"connection_id":163037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:14:57] local.INFO: IMEI packet received {"connection_id":163037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":163037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:14:58] local.INFO: TCP Data received {"connection_id":163037,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:14:58] local.INFO: Processing buffer {"connection_id":163037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:14:58] local.INFO: Packet analysis {"connection_id":163037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:14:58] local.INFO: Extracted packet for processing {"connection_id":163037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:14:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654400000,"timestamp_ms":1787654400000,"timestamp_seconds":1787654400,"priority":1,"record_length":96,"hex_timestamp":"000001a038816800"} 
[2026-08-25 16:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:14:58] 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-25 16:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:14:58] 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-25 16:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:14:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":163037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:14:58] local.INFO: GPS data processed {"connection_id":163037,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:14:58] local.INFO: Acknowledgment sent {"connection_id":163037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:15:18] local.INFO: TCP Data received {"connection_id":164411,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:15:18] local.INFO: Processing buffer {"connection_id":164411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:15:18] local.INFO: Packet analysis {"connection_id":164411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:15:18] local.INFO: Extracted packet for processing {"connection_id":164411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639508224001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:15:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787654630000,"timestamp_ms":1787654630000,"timestamp_seconds":1787654630,"priority":1,"record_length":96,"hex_timestamp":"000001a03884ea70"} 
[2026-08-25 16:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 16:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:15:18] 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-25 16:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639508224001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639508224001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639508224001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":164411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:15:18] local.INFO: GPS data processed {"connection_id":164411,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:15:18] local.INFO: Acknowledgment sent {"connection_id":164411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:15:30] local.INFO: TCP Data received {"connection_id":163037,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:15:30] local.INFO: Processing buffer {"connection_id":163037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038816800012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:15:30] local.INFO: Packet analysis {"connection_id":163037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:15:30] local.INFO: Extracted packet for processing {"connection_id":163037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03881"} 
[2026-08-25 16:15:30] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639448832001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298454321632499712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787654400000,"timestamp_ms":1787654400000,"timestamp_seconds":1787654400,"priority":1,"record_length":96,"hex_timestamp":"000001a038816800"} 
[2026-08-25 16:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:15:30] 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-25 16:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 16:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:15:30] 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-25 16:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639448832001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2298454321632499712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639448832001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:15:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:15:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298454321632499712,"description":"Unknown IO ID 45"} 
[2026-08-25 16:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639448832001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298454321632499712}} 
[2026-08-25 16:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":163037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:15:30] local.INFO: GPS data processed {"connection_id":163037,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:15:30] local.INFO: Acknowledgment sent {"connection_id":163037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:15:39] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:15:39] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:15:39] local.INFO: IMEI packet received {"connection_id":161797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":161797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:15:45] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:15:45] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:15:45] local.INFO: IMEI packet received {"connection_id":161797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":161797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:15:46] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:15:46] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:15:46] local.INFO: Packet analysis {"connection_id":161797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:15:46] local.INFO: Extracted packet for processing {"connection_id":161797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639508224001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:15:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787654630000,"timestamp_ms":1787654630000,"timestamp_seconds":1787654630,"priority":1,"record_length":96,"hex_timestamp":"000001a03884ea70"} 
[2026-08-25 16:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 16:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:15:46] 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-25 16:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639508224001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639508224001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639508224001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":161797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:15:46] local.INFO: GPS data processed {"connection_id":161797,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:15:46] local.INFO: Acknowledgment sent {"connection_id":161797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:15:57] local.INFO: TCP Data received {"connection_id":164412,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:15:57] local.INFO: Processing buffer {"connection_id":164412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:15:57] local.INFO: IMEI packet received {"connection_id":164412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":164412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:16:02] local.INFO: TCP Data received {"connection_id":164412,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:16:02] local.INFO: Processing buffer {"connection_id":164412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:16:02] local.INFO: IMEI packet received {"connection_id":164412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":164412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:16:03] local.INFO: TCP Data received {"connection_id":164412,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:16:03] local.INFO: Processing buffer {"connection_id":164412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:16:03] local.INFO: Packet analysis {"connection_id":164412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:16:03] local.INFO: Extracted packet for processing {"connection_id":164412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:16:03] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639526400001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787654701000,"timestamp_ms":1787654701000,"timestamp_seconds":1787654701,"priority":1,"record_length":96,"hex_timestamp":"000001a03885ffc8"} 
[2026-08-25 16: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-25 16:16:03] 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-25 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:16:03] 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-25 16:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639526400001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639526400001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:16:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639526400001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":164412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:16:04] local.INFO: GPS data processed {"connection_id":164412,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:16:04] local.INFO: Acknowledgment sent {"connection_id":164412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:16:08] local.INFO: TCP Data received {"connection_id":164412,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:16:08] local.INFO: Processing buffer {"connection_id":164412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:16:08] local.INFO: Packet analysis {"connection_id":164412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:16:08] local.INFO: Extracted packet for processing {"connection_id":164412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:16:08] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639526400001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787654701000,"timestamp_ms":1787654701000,"timestamp_seconds":1787654701,"priority":1,"record_length":96,"hex_timestamp":"000001a03885ffc8"} 
[2026-08-25 16:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:16:08] 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-25 16:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:16:08] 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-25 16:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639526400001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639526400001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:16:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639526400001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":164412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:16:08] local.INFO: GPS data processed {"connection_id":164412,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:16:08] local.INFO: Acknowledgment sent {"connection_id":164412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:16:25] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:16:25] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:16:25] local.INFO: Packet analysis {"connection_id":161797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:16:25] local.INFO: Extracted packet for processing {"connection_id":161797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:16:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639508224001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787654630000,"timestamp_ms":1787654630000,"timestamp_seconds":1787654630,"priority":1,"record_length":96,"hex_timestamp":"000001a03884ea70"} 
[2026-08-25 16:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 16:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:16:25] 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-25 16:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639508224001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639508224001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:16:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639508224001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":161797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:16:25] local.INFO: GPS data processed {"connection_id":161797,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:16:25] local.INFO: Acknowledgment sent {"connection_id":161797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:16:30] local.INFO: TCP Data received {"connection_id":164413,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:16:30] local.INFO: Processing buffer {"connection_id":164413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:16:30] local.INFO: IMEI packet received {"connection_id":164413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 16:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":164413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:16:39] local.INFO: TCP Data received {"connection_id":163038,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:16:39] local.INFO: Processing buffer {"connection_id":163038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:16:39] local.INFO: IMEI packet received {"connection_id":163038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":163038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:16:45] local.INFO: TCP Data received {"connection_id":163038,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:16:45] local.INFO: Processing buffer {"connection_id":163038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:16:45] local.INFO: IMEI packet received {"connection_id":163038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":163038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:16:46] local.INFO: TCP Data received {"connection_id":163038,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:16:46] local.INFO: Processing buffer {"connection_id":163038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:16:46] local.INFO: Packet analysis {"connection_id":163038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:16:46] local.INFO: Extracted packet for processing {"connection_id":163038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639508224001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787654630000,"timestamp_ms":1787654630000,"timestamp_seconds":1787654630,"priority":1,"record_length":96,"hex_timestamp":"000001a03884ea70"} 
[2026-08-25 16:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 16:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639508224001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639508224001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639508224001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":163038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:16:46] local.INFO: GPS data processed {"connection_id":163038,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:16:46] local.INFO: Acknowledgment sent {"connection_id":163038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:16:52] local.INFO: TCP Data received {"connection_id":161798,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:16:52] local.INFO: Processing buffer {"connection_id":161798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:16:52] local.INFO: IMEI packet received {"connection_id":161798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":161798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:16:57] local.INFO: TCP Data received {"connection_id":161798,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:16:57] local.INFO: Processing buffer {"connection_id":161798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:16:57] local.INFO: IMEI packet received {"connection_id":161798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":161798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:16:58] local.INFO: TCP Data received {"connection_id":161798,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:16:58] local.INFO: Processing buffer {"connection_id":161798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:16:58] local.INFO: Packet analysis {"connection_id":161798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:16:58] local.INFO: Extracted packet for processing {"connection_id":161798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:16:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:16: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-25 16:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639526400001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654701000,"timestamp_ms":1787654701000,"timestamp_seconds":1787654701,"priority":1,"record_length":96,"hex_timestamp":"000001a03885ffc8"} 
[2026-08-25 16:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:16:58] 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-25 16:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:16: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-25 16:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:16:58] 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-25 16:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639526400001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639526400001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:16:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639526400001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":161798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:16:58] local.INFO: GPS data processed {"connection_id":161798,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:16:58] local.INFO: Acknowledgment sent {"connection_id":161798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:17:17] local.INFO: TCP Data received {"connection_id":163038,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:17:17] local.INFO: Processing buffer {"connection_id":163038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:17:17] local.INFO: Packet analysis {"connection_id":163038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:17:17] local.INFO: Extracted packet for processing {"connection_id":163038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639508224001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787654630000,"timestamp_ms":1787654630000,"timestamp_seconds":1787654630,"priority":1,"record_length":96,"hex_timestamp":"000001a03884ea70"} 
[2026-08-25 16:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 16:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639508224001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639508224001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639508224001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":163038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:17:17] local.INFO: GPS data processed {"connection_id":163038,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:17:17] local.INFO: Acknowledgment sent {"connection_id":163038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:17:29] local.INFO: TCP Data received {"connection_id":161798,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:17:29] local.INFO: Processing buffer {"connection_id":161798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:17:29] local.INFO: Packet analysis {"connection_id":161798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:17:29] local.INFO: Extracted packet for processing {"connection_id":161798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:17:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639526400001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654701000,"timestamp_ms":1787654701000,"timestamp_seconds":1787654701,"priority":1,"record_length":96,"hex_timestamp":"000001a03885ffc8"} 
[2026-08-25 16:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:17:29] 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-25 16:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:17:29] 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-25 16:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639526400001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639526400001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:17:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639526400001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":161798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:17:29] local.INFO: GPS data processed {"connection_id":161798,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:17:29] local.INFO: Acknowledgment sent {"connection_id":161798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:17:48] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:17:48] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:17:48] local.INFO: IMEI packet received {"connection_id":161799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":161799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:17:49] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:17:49] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:17:49] local.INFO: IMEI packet received {"connection_id":161799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":161799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:17:52] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:17:52] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:17:52] local.INFO: Packet analysis {"connection_id":161799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:17:52] local.INFO: Extracted packet for processing {"connection_id":161799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639508224001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787654630000,"timestamp_ms":1787654630000,"timestamp_seconds":1787654630,"priority":1,"record_length":96,"hex_timestamp":"000001a03884ea70"} 
[2026-08-25 16:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 16:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:17:52] 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-25 16:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639508224001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639508224001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639508224001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":161799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:17:52] local.INFO: GPS data processed {"connection_id":161799,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:17:52] local.INFO: Acknowledgment sent {"connection_id":161799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:17:52] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:17:52] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:17:52] local.INFO: IMEI packet received {"connection_id":161800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":161800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:17:57] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:17:57] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:17:57] local.INFO: Packet analysis {"connection_id":161799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:17:57] local.INFO: Extracted packet for processing {"connection_id":161799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:17:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639508224001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787654630000,"timestamp_ms":1787654630000,"timestamp_seconds":1787654630,"priority":1,"record_length":96,"hex_timestamp":"000001a03884ea70"} 
[2026-08-25 16: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-25 16:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 16:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:17:57] 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-25 16:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639508224001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639508224001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:17:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639508224001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":161799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:17:57] local.INFO: GPS data processed {"connection_id":161799,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:17:57] local.INFO: Acknowledgment sent {"connection_id":161799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:17:57] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:17:57] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:17:57] local.INFO: IMEI packet received {"connection_id":161800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":161800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:17:58] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:17:58] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:17:58] local.INFO: Packet analysis {"connection_id":161800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:17:58] local.INFO: Extracted packet for processing {"connection_id":161800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:17:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639526400001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654701000,"timestamp_ms":1787654701000,"timestamp_seconds":1787654701,"priority":1,"record_length":96,"hex_timestamp":"000001a03885ffc8"} 
[2026-08-25 16: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-25 16:17:58] 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-25 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16: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-25 16: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-25 16:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:17:58] local.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-25 16:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639526400001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639526400001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:17:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:17:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639526400001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":161800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:17:58] local.INFO: GPS data processed {"connection_id":161800,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:17:58] local.INFO: Acknowledgment sent {"connection_id":161800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:18:29] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:18:29] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:18:29] local.INFO: Packet analysis {"connection_id":161800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:18:29] local.INFO: Extracted packet for processing {"connection_id":161800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:18:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639526400001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654701000,"timestamp_ms":1787654701000,"timestamp_seconds":1787654701,"priority":1,"record_length":96,"hex_timestamp":"000001a03885ffc8"} 
[2026-08-25 16:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:18:29] 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-25 16:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:18:29] local.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-25 16:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639526400001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639526400001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:18:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:18:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639526400001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":161800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:18:29] local.INFO: GPS data processed {"connection_id":161800,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:18:29] local.INFO: Acknowledgment sent {"connection_id":161800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:18:40] local.INFO: TCP Data received {"connection_id":163039,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:18:40] local.INFO: Processing buffer {"connection_id":163039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:18:40] local.INFO: IMEI packet received {"connection_id":163039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":163039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:18:45] local.INFO: TCP Data received {"connection_id":163039,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:18:45] local.INFO: Processing buffer {"connection_id":163039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:18:45] local.INFO: IMEI packet received {"connection_id":163039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":163039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:18:46] local.INFO: TCP Data received {"connection_id":163039,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:18:46] local.INFO: Processing buffer {"connection_id":163039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:18:46] local.INFO: Packet analysis {"connection_id":163039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:18:46] local.INFO: Extracted packet for processing {"connection_id":163039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639508224001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:18:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787654630000,"timestamp_ms":1787654630000,"timestamp_seconds":1787654630,"priority":1,"record_length":96,"hex_timestamp":"000001a03884ea70"} 
[2026-08-25 16:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 16:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:18:46] 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-25 16:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639508224001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639508224001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639508224001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":163039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:18:46] local.INFO: GPS data processed {"connection_id":163039,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:18:46] local.INFO: Acknowledgment sent {"connection_id":163039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:18:52] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:18:52] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:18:52] local.INFO: IMEI packet received {"connection_id":162040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":162040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:18:57] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:18:57] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:18:57] local.INFO: IMEI packet received {"connection_id":162040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":162040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:18:58] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:18:58] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:18:58] local.INFO: Packet analysis {"connection_id":162040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:18:58] local.INFO: Extracted packet for processing {"connection_id":162040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:18:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639526400001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654701000,"timestamp_ms":1787654701000,"timestamp_seconds":1787654701,"priority":1,"record_length":96,"hex_timestamp":"000001a03885ffc8"} 
[2026-08-25 16:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:18:58] 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-25 16:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:18:58] 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-25 16:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639526400001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639526400001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:18:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639526400001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":162040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:18:58] local.INFO: GPS data processed {"connection_id":162040,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:18:58] local.INFO: Acknowledgment sent {"connection_id":162040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:19:18] local.INFO: TCP Data received {"connection_id":163039,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:19:18] local.INFO: Processing buffer {"connection_id":163039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03884ea70012d34c14006aa4818000100e62d..."} 
[2026-08-25 16:19:18] local.INFO: Packet analysis {"connection_id":163039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:19:18] local.INFO: Extracted packet for processing {"connection_id":163039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03884"} 
[2026-08-25 16:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639508224001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787654630000,"timestamp_ms":1787654630000,"timestamp_seconds":1787654630,"priority":1,"record_length":96,"hex_timestamp":"000001a03884ea70"} 
[2026-08-25 16:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 16:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:19:18] 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-25 16:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639508224001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639508224001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639508224001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":163039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:19:18] local.INFO: GPS data processed {"connection_id":163039,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:19:18] local.INFO: Acknowledgment sent {"connection_id":163039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:19:29] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:19:29] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:19:29] local.INFO: Packet analysis {"connection_id":162040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:19:29] local.INFO: Extracted packet for processing {"connection_id":162040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:19:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639526400001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654701000,"timestamp_ms":1787654701000,"timestamp_seconds":1787654701,"priority":1,"record_length":96,"hex_timestamp":"000001a03885ffc8"} 
[2026-08-25 16:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:19:29] 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-25 16:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:19:29] 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-25 16:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639526400001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639526400001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:19:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:19:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639526400001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":162040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:19:29] local.INFO: GPS data processed {"connection_id":162040,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:19:29] local.INFO: Acknowledgment sent {"connection_id":162040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:19:43] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:19:43] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:19:43] local.INFO: IMEI packet received {"connection_id":162041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":162041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:19:44] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:19:44] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:19:44] local.INFO: IMEI packet received {"connection_id":162041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":162041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:19:45] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:19:45] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:19:45] local.INFO: Packet analysis {"connection_id":162041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:19:45] local.INFO: Extracted packet for processing {"connection_id":162041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639585280001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787654931000,"timestamp_ms":1787654931000,"timestamp_seconds":1787654931,"priority":1,"record_length":96,"hex_timestamp":"000001a038898238"} 
[2026-08-25 16:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:19:45] 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-25 16:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639585280001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639585280001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639585280001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":162041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:19:45] local.INFO: GPS data processed {"connection_id":162041,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:19:45] local.INFO: Acknowledgment sent {"connection_id":162041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:19:50] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:19:50] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:19:50] local.INFO: Packet analysis {"connection_id":162041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:19:50] local.INFO: Extracted packet for processing {"connection_id":162041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:19:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639585280001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787654931000,"timestamp_ms":1787654931000,"timestamp_seconds":1787654931,"priority":1,"record_length":96,"hex_timestamp":"000001a038898238"} 
[2026-08-25 16:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:19: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-25 16:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639585280001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639585280001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:19:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639585280001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":162041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:19:50] local.INFO: GPS data processed {"connection_id":162041,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:19:50] local.INFO: Acknowledgment sent {"connection_id":162041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:19:52] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:19:52] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:19:52] local.INFO: IMEI packet received {"connection_id":161801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":161801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:19:57] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:19:57] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:19:57] local.INFO: IMEI packet received {"connection_id":161801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":161801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:19:58] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:19:58] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:19:58] local.INFO: Packet analysis {"connection_id":161801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:19:58] local.INFO: Extracted packet for processing {"connection_id":161801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:19:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639526400001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787654701000,"timestamp_ms":1787654701000,"timestamp_seconds":1787654701,"priority":1,"record_length":96,"hex_timestamp":"000001a03885ffc8"} 
[2026-08-25 16: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-25 16:19:58] 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-25 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16: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-25 16: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-25 16:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:19:58] 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-25 16:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639526400001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639526400001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:19:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639526400001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":161801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:19:58] local.INFO: GPS data processed {"connection_id":161801,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:19:58] local.INFO: Acknowledgment sent {"connection_id":161801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:20:21] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:20:21] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:20:21] local.INFO: Packet analysis {"connection_id":162041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:20:21] local.INFO: Extracted packet for processing {"connection_id":162041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639585280001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:20:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787654931000,"timestamp_ms":1787654931000,"timestamp_seconds":1787654931,"priority":1,"record_length":96,"hex_timestamp":"000001a038898238"} 
[2026-08-25 16:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:20: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-25 16:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639585280001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639585280001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639585280001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":162041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:20:21] local.INFO: GPS data processed {"connection_id":162041,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:20:21] local.INFO: Acknowledgment sent {"connection_id":162041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:20:29] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:20:29] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03885ffc8012d1fecc0071d4fc80047009a2b..."} 
[2026-08-25 16:20:29] local.INFO: Packet analysis {"connection_id":161801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:20:29] local.INFO: Extracted packet for processing {"connection_id":161801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03885"} 
[2026-08-25 16:20:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":43,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639526400001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787654701000,"timestamp_ms":1787654701000,"timestamp_seconds":1787654701,"priority":1,"record_length":96,"hex_timestamp":"000001a03885ffc8"} 
[2026-08-25 16:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:20:29] 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-25 16:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:20:29] 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-25 16:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639526400001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639526400001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:20:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639526400001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":161801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:20:29] local.INFO: GPS data processed {"connection_id":161801,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:20:29] local.INFO: Acknowledgment sent {"connection_id":161801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:20:39] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:20:39] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:20:39] local.INFO: IMEI packet received {"connection_id":161802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":161802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:20:44] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:20:44] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:20:44] local.INFO: IMEI packet received {"connection_id":161802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":161802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:20:46] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:20:46] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:20:46] local.INFO: Packet analysis {"connection_id":161802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:20:46] local.INFO: Extracted packet for processing {"connection_id":161802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639585280001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:20:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787654931000,"timestamp_ms":1787654931000,"timestamp_seconds":1787654931,"priority":1,"record_length":96,"hex_timestamp":"000001a038898238"} 
[2026-08-25 16:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:20:46] 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-25 16:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639585280001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639585280001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:20:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639585280001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":161802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:20:46] local.INFO: GPS data processed {"connection_id":161802,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:20:46] local.INFO: Acknowledgment sent {"connection_id":161802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:20:57] local.INFO: TCP Data received {"connection_id":163041,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:20:57] local.INFO: Processing buffer {"connection_id":163041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:20:57] local.INFO: IMEI packet received {"connection_id":163041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":163041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:21:02] local.INFO: TCP Data received {"connection_id":163041,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:21:02] local.INFO: Processing buffer {"connection_id":163041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:21:02] local.INFO: IMEI packet received {"connection_id":163041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":163041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:21:03] local.INFO: TCP Data received {"connection_id":163041,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:21:03] local.INFO: Processing buffer {"connection_id":163041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:21:03] local.INFO: Packet analysis {"connection_id":163041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:21:03] local.INFO: Extracted packet for processing {"connection_id":163041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:21:03] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639603456001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787655002000,"timestamp_ms":1787655002000,"timestamp_seconds":1787655002,"priority":1,"record_length":96,"hex_timestamp":"000001a0388a9790"} 
[2026-08-25 16: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-25 16:21:03] 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-25 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16: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-25 16: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-25 16:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:21:03] 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-25 16:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639603456001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639603456001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:21:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639603456001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":163041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:21:03] local.INFO: GPS data processed {"connection_id":163041,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:21:03] local.INFO: Acknowledgment sent {"connection_id":163041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:21:07] local.INFO: TCP Data received {"connection_id":163041,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:21:07] local.INFO: Processing buffer {"connection_id":163041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:21:07] local.INFO: Packet analysis {"connection_id":163041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:21:07] local.INFO: Extracted packet for processing {"connection_id":163041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639603456001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787655002000,"timestamp_ms":1787655002000,"timestamp_seconds":1787655002,"priority":1,"record_length":96,"hex_timestamp":"000001a0388a9790"} 
[2026-08-25 16: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-25 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:21: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-25 16: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-25 16: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-25 16:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639603456001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639603456001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:21:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639603456001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":163041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:21:07] local.INFO: GPS data processed {"connection_id":163041,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:21:07] local.INFO: Acknowledgment sent {"connection_id":163041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:21:18] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:21:18] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:21:18] local.INFO: Packet analysis {"connection_id":161802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:21:18] local.INFO: Extracted packet for processing {"connection_id":161802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:21:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639585280001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787654931000,"timestamp_ms":1787654931000,"timestamp_seconds":1787654931,"priority":1,"record_length":96,"hex_timestamp":"000001a038898238"} 
[2026-08-25 16:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639585280001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639585280001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:21:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639585280001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":161802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:21:18] local.INFO: GPS data processed {"connection_id":161802,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:21:18] local.INFO: Acknowledgment sent {"connection_id":161802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:21:39] local.INFO: TCP Data received {"connection_id":164415,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:21:39] local.INFO: Processing buffer {"connection_id":164415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:21:39] local.INFO: IMEI packet received {"connection_id":164415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":164415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:21:44] local.INFO: TCP Data received {"connection_id":164415,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:21:44] local.INFO: Processing buffer {"connection_id":164415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:21:44] local.INFO: IMEI packet received {"connection_id":164415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":164415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:21:45] local.INFO: TCP Data received {"connection_id":164415,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:21:45] local.INFO: Processing buffer {"connection_id":164415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:21:45] local.INFO: Packet analysis {"connection_id":164415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:21:45] local.INFO: Extracted packet for processing {"connection_id":164415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639585280001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787654931000,"timestamp_ms":1787654931000,"timestamp_seconds":1787654931,"priority":1,"record_length":96,"hex_timestamp":"000001a038898238"} 
[2026-08-25 16:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639585280001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639585280001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639585280001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":164415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:21:45] local.INFO: GPS data processed {"connection_id":164415,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:21:45] local.INFO: Acknowledgment sent {"connection_id":164415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:21:52] local.INFO: TCP Data received {"connection_id":162042,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:21:52] local.INFO: Processing buffer {"connection_id":162042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:21:52] local.INFO: IMEI packet received {"connection_id":162042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":162042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:21:57] local.INFO: TCP Data received {"connection_id":162042,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:21:57] local.INFO: Processing buffer {"connection_id":162042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:21:57] local.INFO: IMEI packet received {"connection_id":162042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":162042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:21:58] local.INFO: TCP Data received {"connection_id":162042,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:21:58] local.INFO: Processing buffer {"connection_id":162042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:21:58] local.INFO: Packet analysis {"connection_id":162042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:21:58] local.INFO: Extracted packet for processing {"connection_id":162042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:21:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639603456001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655002000,"timestamp_ms":1787655002000,"timestamp_seconds":1787655002,"priority":1,"record_length":96,"hex_timestamp":"000001a0388a9790"} 
[2026-08-25 16:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:21:58] 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-25 16:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:21:58] local.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-25 16:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639603456001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639603456001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:21:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639603456001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":162042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:21:58] local.INFO: GPS data processed {"connection_id":162042,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:21:58] local.INFO: Acknowledgment sent {"connection_id":162042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:22:19] local.INFO: TCP Data received {"connection_id":164415,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:22:19] local.INFO: Processing buffer {"connection_id":164415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:22:19] local.INFO: Packet analysis {"connection_id":164415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:22:19] local.INFO: Extracted packet for processing {"connection_id":164415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639585280001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787654931000,"timestamp_ms":1787654931000,"timestamp_seconds":1787654931,"priority":1,"record_length":96,"hex_timestamp":"000001a038898238"} 
[2026-08-25 16: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-25 16:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639585280001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639585280001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639585280001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":164415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:22:20] local.INFO: GPS data processed {"connection_id":164415,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:22:20] local.INFO: Acknowledgment sent {"connection_id":164415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:22:29] local.INFO: TCP Data received {"connection_id":162042,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:22:29] local.INFO: Processing buffer {"connection_id":162042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:22:29] local.INFO: Packet analysis {"connection_id":162042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:22:29] local.INFO: Extracted packet for processing {"connection_id":162042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:22:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639603456001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655002000,"timestamp_ms":1787655002000,"timestamp_seconds":1787655002,"priority":1,"record_length":96,"hex_timestamp":"000001a0388a9790"} 
[2026-08-25 16:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:22:29] 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-25 16:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:22:29] local.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-25 16:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639603456001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639603456001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:22:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639603456001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":162042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:22:29] local.INFO: GPS data processed {"connection_id":162042,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:22:29] local.INFO: Acknowledgment sent {"connection_id":162042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:22:44] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:22:44] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:22:44] local.INFO: IMEI packet received {"connection_id":162043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":162043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:22:50] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:22:50] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:22:50] local.INFO: IMEI packet received {"connection_id":162043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":162043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:22:51] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:22:51] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:22:51] local.INFO: Packet analysis {"connection_id":162043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:22:51] local.INFO: Extracted packet for processing {"connection_id":162043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639585280001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787654931000,"timestamp_ms":1787654931000,"timestamp_seconds":1787654931,"priority":1,"record_length":96,"hex_timestamp":"000001a038898238"} 
[2026-08-25 16: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-25 16:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639585280001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639585280001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639585280001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":162043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:22:51] local.INFO: GPS data processed {"connection_id":162043,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:22:51] local.INFO: Acknowledgment sent {"connection_id":162043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:22:52] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:22:52] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:22:52] local.INFO: IMEI packet received {"connection_id":162044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":162044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:22:55] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:22:55] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:22:55] local.INFO: Packet analysis {"connection_id":162043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:22:55] local.INFO: Extracted packet for processing {"connection_id":162043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:22:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639585280001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787654931000,"timestamp_ms":1787654931000,"timestamp_seconds":1787654931,"priority":1,"record_length":96,"hex_timestamp":"000001a038898238"} 
[2026-08-25 16: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-25 16:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639585280001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639585280001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:22:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639585280001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":162043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:22:55] local.INFO: GPS data processed {"connection_id":162043,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:22:55] local.INFO: Acknowledgment sent {"connection_id":162043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:22:57] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:22:57] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:22:57] local.INFO: IMEI packet received {"connection_id":162044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":162044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:22:58] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:22:58] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:22:58] local.INFO: Packet analysis {"connection_id":162044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:22:58] local.INFO: Extracted packet for processing {"connection_id":162044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:22:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639603456001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655002000,"timestamp_ms":1787655002000,"timestamp_seconds":1787655002,"priority":1,"record_length":96,"hex_timestamp":"000001a0388a9790"} 
[2026-08-25 16:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:22:58] 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-25 16:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:22:58] local.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-25 16:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639603456001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639603456001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:22:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639603456001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":162044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:22:58] local.INFO: GPS data processed {"connection_id":162044,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:22:58] local.INFO: Acknowledgment sent {"connection_id":162044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:23:29] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:23:29] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:23:29] local.INFO: Packet analysis {"connection_id":162044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:23:29] local.INFO: Extracted packet for processing {"connection_id":162044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:23:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639603456001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655002000,"timestamp_ms":1787655002000,"timestamp_seconds":1787655002,"priority":1,"record_length":96,"hex_timestamp":"000001a0388a9790"} 
[2026-08-25 16:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:23:29] 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-25 16:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:23:29] local.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-25 16:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639603456001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639603456001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:23:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639603456001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":162044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:23:29] local.INFO: GPS data processed {"connection_id":162044,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:23:29] local.INFO: Acknowledgment sent {"connection_id":162044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:23:40] local.INFO: TCP Data received {"connection_id":163042,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:23:40] local.INFO: Processing buffer {"connection_id":163042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:23:40] local.INFO: IMEI packet received {"connection_id":163042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":163042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:23:48] local.INFO: TCP Data received {"connection_id":163042,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:23:48] local.INFO: Processing buffer {"connection_id":163042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:23:48] local.INFO: IMEI packet received {"connection_id":163042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":163042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:23:49] local.INFO: TCP Data received {"connection_id":163042,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:23:49] local.INFO: Processing buffer {"connection_id":163042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:23:49] local.INFO: Packet analysis {"connection_id":163042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:23:49] local.INFO: Extracted packet for processing {"connection_id":163042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 16:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639585280001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:23:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787654931000,"timestamp_ms":1787654931000,"timestamp_seconds":1787654931,"priority":1,"record_length":96,"hex_timestamp":"000001a038898238"} 
[2026-08-25 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-25 16:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 16:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:23: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-25 16:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639585280001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639585280001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639585280001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":163042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:23:49] local.INFO: GPS data processed {"connection_id":163042,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:23:49] local.INFO: Acknowledgment sent {"connection_id":163042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:23:52] local.INFO: TCP Data received {"connection_id":163043,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:23:52] local.INFO: Processing buffer {"connection_id":163043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:23:52] local.INFO: IMEI packet received {"connection_id":163043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":163043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:23:57] local.INFO: TCP Data received {"connection_id":163043,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:23:57] local.INFO: Processing buffer {"connection_id":163043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:23:57] local.INFO: IMEI packet received {"connection_id":163043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":163043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:23:58] local.INFO: TCP Data received {"connection_id":163043,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:23:58] local.INFO: Processing buffer {"connection_id":163043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:23:58] local.INFO: Packet analysis {"connection_id":163043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:23:58] local.INFO: Extracted packet for processing {"connection_id":163043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:23:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639603456001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655002000,"timestamp_ms":1787655002000,"timestamp_seconds":1787655002,"priority":1,"record_length":96,"hex_timestamp":"000001a0388a9790"} 
[2026-08-25 16:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:23:58] 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-25 16:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:23:58] 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-25 16:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639603456001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639603456001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:23:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639603456001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":163043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:23:58] local.INFO: GPS data processed {"connection_id":163043,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:23:58] local.INFO: Acknowledgment sent {"connection_id":163043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:24:20] local.INFO: TCP Data received {"connection_id":163042,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:24:20] local.INFO: Processing buffer {"connection_id":163042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038898238012d34c14006aa4818000500e62e..."} 
[2026-08-25 16:24:20] local.INFO: Packet analysis {"connection_id":163042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:24:20] local.INFO: Extracted packet for processing {"connection_id":163042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03889"} 
[2026-08-25 16:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639585280001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:24:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787654931000,"timestamp_ms":1787654931000,"timestamp_seconds":1787654931,"priority":1,"record_length":96,"hex_timestamp":"000001a038898238"} 
[2026-08-25 16:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:24: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-25 16:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639585280001,"66":25625,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639585280001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639585280001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":163042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:24:20] local.INFO: GPS data processed {"connection_id":163042,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:24:20] local.INFO: Acknowledgment sent {"connection_id":163042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:24:29] local.INFO: TCP Data received {"connection_id":163043,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:24:29] local.INFO: Processing buffer {"connection_id":163043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:24:29] local.INFO: Packet analysis {"connection_id":163043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:24:29] local.INFO: Extracted packet for processing {"connection_id":163043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:24:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639603456001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655002000,"timestamp_ms":1787655002000,"timestamp_seconds":1787655002,"priority":1,"record_length":96,"hex_timestamp":"000001a0388a9790"} 
[2026-08-25 16:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:24:29] 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-25 16:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:24:29] 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-25 16:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639603456001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639603456001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:24:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639603456001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":163043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:24:29] local.INFO: GPS data processed {"connection_id":163043,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:24:29] local.INFO: Acknowledgment sent {"connection_id":163043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:24:39] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:24:39] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:24:39] local.INFO: IMEI packet received {"connection_id":162045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":162045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:24:44] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:24:44] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:24:44] local.INFO: IMEI packet received {"connection_id":162045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":162045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:24:45] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:24:45] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:24:45] local.INFO: Packet analysis {"connection_id":162045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:24:45] local.INFO: Extracted packet for processing {"connection_id":162045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639662336001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:24:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787655232000,"timestamp_ms":1787655232000,"timestamp_seconds":1787655232,"priority":1,"record_length":96,"hex_timestamp":"000001a0388e1a00"} 
[2026-08-25 16: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-25 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:24:45] 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-25 16:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639662336001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639662336001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639662336001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":162045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:24:45] local.INFO: GPS data processed {"connection_id":162045,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:24:45] local.INFO: Acknowledgment sent {"connection_id":162045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:24:52] local.INFO: TCP Data received {"connection_id":164416,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:24:52] local.INFO: Processing buffer {"connection_id":164416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:24:52] local.INFO: IMEI packet received {"connection_id":164416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":164416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:24:57] local.INFO: TCP Data received {"connection_id":164416,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:24:57] local.INFO: Processing buffer {"connection_id":164416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:24:57] local.INFO: IMEI packet received {"connection_id":164416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":164416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:24:58] local.INFO: TCP Data received {"connection_id":164416,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:24:58] local.INFO: Processing buffer {"connection_id":164416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:24:58] local.INFO: Packet analysis {"connection_id":164416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:24:58] local.INFO: Extracted packet for processing {"connection_id":164416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:24:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639603456001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655002000,"timestamp_ms":1787655002000,"timestamp_seconds":1787655002,"priority":1,"record_length":96,"hex_timestamp":"000001a0388a9790"} 
[2026-08-25 16: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-25 16:24:58] 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-25 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:24:58] local.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-25 16:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639603456001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639603456001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:24:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639603456001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":164416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:24:58] local.INFO: GPS data processed {"connection_id":164416,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:24:58] local.INFO: Acknowledgment sent {"connection_id":164416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:25:16] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:25:16] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:25:16] local.INFO: Packet analysis {"connection_id":162045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:25:16] local.INFO: Extracted packet for processing {"connection_id":162045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639662336001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:25:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787655232000,"timestamp_ms":1787655232000,"timestamp_seconds":1787655232,"priority":1,"record_length":96,"hex_timestamp":"000001a0388e1a00"} 
[2026-08-25 16:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639662336001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639662336001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639662336001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":162045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:25:16] local.INFO: GPS data processed {"connection_id":162045,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:25:16] local.INFO: Acknowledgment sent {"connection_id":162045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:25:29] local.INFO: TCP Data received {"connection_id":164416,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:25:29] local.INFO: Processing buffer {"connection_id":164416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388a9790012d1fecc0071d4fc80047009a2c..."} 
[2026-08-25 16:25:29] local.INFO: Packet analysis {"connection_id":164416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:25:29] local.INFO: Extracted packet for processing {"connection_id":164416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388a"} 
[2026-08-25 16:25:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":44,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639603456001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655002000,"timestamp_ms":1787655002000,"timestamp_seconds":1787655002,"priority":1,"record_length":96,"hex_timestamp":"000001a0388a9790"} 
[2026-08-25 16:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:25:29] 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-25 16:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:25:29] local.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-25 16:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639603456001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639603456001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:25:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:25:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639603456001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":164416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:25:29] local.INFO: GPS data processed {"connection_id":164416,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:25:29] local.INFO: Acknowledgment sent {"connection_id":164416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:25:39] local.INFO: TCP Data received {"connection_id":163044,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:25:39] local.INFO: Processing buffer {"connection_id":163044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:25:39] local.INFO: IMEI packet received {"connection_id":163044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":163044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:25:45] local.INFO: TCP Data received {"connection_id":163044,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:25:45] local.INFO: Processing buffer {"connection_id":163044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:25:45] local.INFO: IMEI packet received {"connection_id":163044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":163044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:25:46] local.INFO: TCP Data received {"connection_id":163044,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:25:46] local.INFO: Processing buffer {"connection_id":163044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:25:46] local.INFO: Packet analysis {"connection_id":163044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:25:46] local.INFO: Extracted packet for processing {"connection_id":163044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639662336001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:25:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787655232000,"timestamp_ms":1787655232000,"timestamp_seconds":1787655232,"priority":1,"record_length":96,"hex_timestamp":"000001a0388e1a00"} 
[2026-08-25 16:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639662336001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639662336001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639662336001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":163044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:25:46] local.INFO: GPS data processed {"connection_id":163044,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:25:46] local.INFO: Acknowledgment sent {"connection_id":163044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:25:57] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:25:57] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:25:57] local.INFO: IMEI packet received {"connection_id":161803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":161803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:26:02] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:26:02] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:26:02] local.INFO: IMEI packet received {"connection_id":161803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":161803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:26:03] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:26:03] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:26:03] local.INFO: Packet analysis {"connection_id":161803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:26:03] local.INFO: Extracted packet for processing {"connection_id":161803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639680512001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787655303000,"timestamp_ms":1787655303000,"timestamp_seconds":1787655303,"priority":1,"record_length":96,"hex_timestamp":"000001a0388f2f58"} 
[2026-08-25 16: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-25 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:26:03] local.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-25 16:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639680512001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639680512001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:26:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639680512001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":161803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:26:03] local.INFO: GPS data processed {"connection_id":161803,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:26:03] local.INFO: Acknowledgment sent {"connection_id":161803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:26:11] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:26:11] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:26:11] local.INFO: Packet analysis {"connection_id":161803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:26:11] local.INFO: Extracted packet for processing {"connection_id":161803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639680512001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787655303000,"timestamp_ms":1787655303000,"timestamp_seconds":1787655303,"priority":1,"record_length":96,"hex_timestamp":"000001a0388f2f58"} 
[2026-08-25 16: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-25 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:26: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-25 16: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-25 16: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-25 16:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639680512001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639680512001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:26:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639680512001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":161803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:26:11] local.INFO: GPS data processed {"connection_id":161803,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:26:11] local.INFO: Acknowledgment sent {"connection_id":161803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:26:17] local.INFO: TCP Data received {"connection_id":163044,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:26:17] local.INFO: Processing buffer {"connection_id":163044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:26:17] local.INFO: Packet analysis {"connection_id":163044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:26:17] local.INFO: Extracted packet for processing {"connection_id":163044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639662336001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787655232000,"timestamp_ms":1787655232000,"timestamp_seconds":1787655232,"priority":1,"record_length":96,"hex_timestamp":"000001a0388e1a00"} 
[2026-08-25 16:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639662336001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639662336001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639662336001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":163044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:26:17] local.INFO: GPS data processed {"connection_id":163044,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:26:17] local.INFO: Acknowledgment sent {"connection_id":163044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:26:39] local.INFO: TCP Data received {"connection_id":163045,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:26:39] local.INFO: Processing buffer {"connection_id":163045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:26:39] local.INFO: IMEI packet received {"connection_id":163045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":163045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:26:45] local.INFO: TCP Data received {"connection_id":163045,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:26:45] local.INFO: Processing buffer {"connection_id":163045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:26:45] local.INFO: IMEI packet received {"connection_id":163045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":163045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:26:46] local.INFO: TCP Data received {"connection_id":163045,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:26:46] local.INFO: Processing buffer {"connection_id":163045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:26:46] local.INFO: Packet analysis {"connection_id":163045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:26:46] local.INFO: Extracted packet for processing {"connection_id":163045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639662336001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787655232000,"timestamp_ms":1787655232000,"timestamp_seconds":1787655232,"priority":1,"record_length":96,"hex_timestamp":"000001a0388e1a00"} 
[2026-08-25 16:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:26:46] 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-25 16:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639662336001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639662336001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639662336001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":163045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:26:46] local.INFO: GPS data processed {"connection_id":163045,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:26:46] local.INFO: Acknowledgment sent {"connection_id":163045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:26:52] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:26:52] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:26:52] local.INFO: IMEI packet received {"connection_id":162046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":162046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:26:57] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:26:57] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:26:57] local.INFO: IMEI packet received {"connection_id":162046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":162046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:26:58] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:26:58] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:26:58] local.INFO: Packet analysis {"connection_id":162046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:26:58] local.INFO: Extracted packet for processing {"connection_id":162046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:26:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639680512001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655303000,"timestamp_ms":1787655303000,"timestamp_seconds":1787655303,"priority":1,"record_length":96,"hex_timestamp":"000001a0388f2f58"} 
[2026-08-25 16: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-25 16:26:58] 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-25 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16: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-25 16: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-25 16:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:26:58] 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-25 16:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639680512001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639680512001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:26:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639680512001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":162046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:26:58] local.INFO: GPS data processed {"connection_id":162046,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:26:58] local.INFO: Acknowledgment sent {"connection_id":162046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:27:17] local.INFO: TCP Data received {"connection_id":163045,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:27:17] local.INFO: Processing buffer {"connection_id":163045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:27:17] local.INFO: Packet analysis {"connection_id":163045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:27:17] local.INFO: Extracted packet for processing {"connection_id":163045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639662336001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787655232000,"timestamp_ms":1787655232000,"timestamp_seconds":1787655232,"priority":1,"record_length":96,"hex_timestamp":"000001a0388e1a00"} 
[2026-08-25 16: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-25 16:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639662336001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639662336001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639662336001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":163045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:27:17] local.INFO: GPS data processed {"connection_id":163045,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:27:17] local.INFO: Acknowledgment sent {"connection_id":163045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:27:29] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:27:29] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:27:29] local.INFO: Packet analysis {"connection_id":162046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:27:29] local.INFO: Extracted packet for processing {"connection_id":162046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:27:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639680512001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655303000,"timestamp_ms":1787655303000,"timestamp_seconds":1787655303,"priority":1,"record_length":96,"hex_timestamp":"000001a0388f2f58"} 
[2026-08-25 16:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:27:29] 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-25 16:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639680512001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639680512001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:27:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639680512001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":162046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:27:29] local.INFO: GPS data processed {"connection_id":162046,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:27:29] local.INFO: Acknowledgment sent {"connection_id":162046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:27:45] local.INFO: TCP Data received {"connection_id":164417,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:27:45] local.INFO: Processing buffer {"connection_id":164417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:27:45] local.INFO: IMEI packet received {"connection_id":164417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":164417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:27:49] local.INFO: TCP Data received {"connection_id":164417,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:27:49] local.INFO: Processing buffer {"connection_id":164417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:27:49] local.INFO: IMEI packet received {"connection_id":164417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":164417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:27:50] local.INFO: TCP Data received {"connection_id":164417,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:27:50] local.INFO: Processing buffer {"connection_id":164417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:27:50] local.INFO: Packet analysis {"connection_id":164417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:27:50] local.INFO: Extracted packet for processing {"connection_id":164417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:27:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639662336001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787655232000,"timestamp_ms":1787655232000,"timestamp_seconds":1787655232,"priority":1,"record_length":96,"hex_timestamp":"000001a0388e1a00"} 
[2026-08-25 16:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:27: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-25 16:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:27: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-25 16:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639662336001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639662336001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:27:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639662336001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":164417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:27:50] local.INFO: GPS data processed {"connection_id":164417,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:27:50] local.INFO: Acknowledgment sent {"connection_id":164417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:27:52] local.INFO: TCP Data received {"connection_id":163046,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:27:52] local.INFO: Processing buffer {"connection_id":163046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:27:52] local.INFO: IMEI packet received {"connection_id":163046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":163046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:27:55] local.INFO: TCP Data received {"connection_id":164417,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:27:55] local.INFO: Processing buffer {"connection_id":164417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:27:55] local.INFO: Packet analysis {"connection_id":164417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:27:55] local.INFO: Extracted packet for processing {"connection_id":164417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:27:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639662336001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787655232000,"timestamp_ms":1787655232000,"timestamp_seconds":1787655232,"priority":1,"record_length":96,"hex_timestamp":"000001a0388e1a00"} 
[2026-08-25 16:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:27: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-25 16:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:27:55] 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-25 16:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639662336001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639662336001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:27:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639662336001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":164417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:27:55] local.INFO: GPS data processed {"connection_id":164417,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:27:55] local.INFO: Acknowledgment sent {"connection_id":164417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:27:57] local.INFO: TCP Data received {"connection_id":163046,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:27:57] local.INFO: Processing buffer {"connection_id":163046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:27:57] local.INFO: IMEI packet received {"connection_id":163046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":163046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:27:58] local.INFO: TCP Data received {"connection_id":163046,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:27:58] local.INFO: Processing buffer {"connection_id":163046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:27:58] local.INFO: Packet analysis {"connection_id":163046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:27:58] local.INFO: Extracted packet for processing {"connection_id":163046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:27:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639680512001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655303000,"timestamp_ms":1787655303000,"timestamp_seconds":1787655303,"priority":1,"record_length":96,"hex_timestamp":"000001a0388f2f58"} 
[2026-08-25 16:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:27:58] 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-25 16:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:27:58] 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-25 16:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639680512001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639680512001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:27:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639680512001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":163046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:27:58] local.INFO: GPS data processed {"connection_id":163046,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:27:58] local.INFO: Acknowledgment sent {"connection_id":163046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:28:29] local.INFO: TCP Data received {"connection_id":163046,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:28:29] local.INFO: Processing buffer {"connection_id":163046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:28:29] local.INFO: Packet analysis {"connection_id":163046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:28:29] local.INFO: Extracted packet for processing {"connection_id":163046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:28:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639680512001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655303000,"timestamp_ms":1787655303000,"timestamp_seconds":1787655303,"priority":1,"record_length":96,"hex_timestamp":"000001a0388f2f58"} 
[2026-08-25 16:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:28:29] 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-25 16:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639680512001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639680512001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:28:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639680512001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":163046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:28:29] local.INFO: GPS data processed {"connection_id":163046,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:28:29] local.INFO: Acknowledgment sent {"connection_id":163046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:28:39] local.INFO: TCP Data received {"connection_id":164418,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:28:39] local.INFO: Processing buffer {"connection_id":164418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:28:39] local.INFO: IMEI packet received {"connection_id":164418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":164418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:28:44] local.INFO: TCP Data received {"connection_id":164418,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:28:44] local.INFO: Processing buffer {"connection_id":164418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:28:44] local.INFO: IMEI packet received {"connection_id":164418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":164418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:28:46] local.INFO: TCP Data received {"connection_id":164418,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:28:46] local.INFO: Processing buffer {"connection_id":164418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:28:46] local.INFO: Packet analysis {"connection_id":164418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:28:46] local.INFO: Extracted packet for processing {"connection_id":164418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639662336001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:28:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787655232000,"timestamp_ms":1787655232000,"timestamp_seconds":1787655232,"priority":1,"record_length":96,"hex_timestamp":"000001a0388e1a00"} 
[2026-08-25 16:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639662336001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639662336001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639662336001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":164418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:28:46] local.INFO: GPS data processed {"connection_id":164418,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:28:46] local.INFO: Acknowledgment sent {"connection_id":164418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:28:52] local.INFO: TCP Data received {"connection_id":164419,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:28:52] local.INFO: Processing buffer {"connection_id":164419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:28:52] local.INFO: IMEI packet received {"connection_id":164419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":164419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:28:57] local.INFO: TCP Data received {"connection_id":164419,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:28:57] local.INFO: Processing buffer {"connection_id":164419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:28:57] local.INFO: IMEI packet received {"connection_id":164419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":164419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:28:58] local.INFO: TCP Data received {"connection_id":164419,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:28:58] local.INFO: Processing buffer {"connection_id":164419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:28:58] local.INFO: Packet analysis {"connection_id":164419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:28:58] local.INFO: Extracted packet for processing {"connection_id":164419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:28:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:28: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-25 16:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639680512001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655303000,"timestamp_ms":1787655303000,"timestamp_seconds":1787655303,"priority":1,"record_length":96,"hex_timestamp":"000001a0388f2f58"} 
[2026-08-25 16:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:28:58] 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-25 16:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:28: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-25 16:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:28:58] 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-25 16:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639680512001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639680512001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:28:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639680512001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":164419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:28:58] local.INFO: GPS data processed {"connection_id":164419,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:28:58] local.INFO: Acknowledgment sent {"connection_id":164419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:29:17] local.INFO: TCP Data received {"connection_id":164418,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:29:17] local.INFO: Processing buffer {"connection_id":164418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388e1a00012d34c14006aa4818000200e62e..."} 
[2026-08-25 16:29:17] local.INFO: Packet analysis {"connection_id":164418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:29:17] local.INFO: Extracted packet for processing {"connection_id":164418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388e"} 
[2026-08-25 16:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639662336001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:29:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787655232000,"timestamp_ms":1787655232000,"timestamp_seconds":1787655232,"priority":1,"record_length":96,"hex_timestamp":"000001a0388e1a00"} 
[2026-08-25 16:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 16:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639662336001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639662336001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639662336001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":164418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:29:17] local.INFO: GPS data processed {"connection_id":164418,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:29:17] local.INFO: Acknowledgment sent {"connection_id":164418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:29:29] local.INFO: TCP Data received {"connection_id":164419,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:29:29] local.INFO: Processing buffer {"connection_id":164419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:29:29] local.INFO: Packet analysis {"connection_id":164419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:29:29] local.INFO: Extracted packet for processing {"connection_id":164419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:29:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639680512001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655303000,"timestamp_ms":1787655303000,"timestamp_seconds":1787655303,"priority":1,"record_length":96,"hex_timestamp":"000001a0388f2f58"} 
[2026-08-25 16:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:29:29] 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-25 16:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639680512001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639680512001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:29:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639680512001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":164419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:29:29] local.INFO: GPS data processed {"connection_id":164419,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:29:29] local.INFO: Acknowledgment sent {"connection_id":164419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:29:40] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:29:40] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:29:40] local.INFO: IMEI packet received {"connection_id":161804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":161804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:29:45] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:29:45] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:29:45] local.INFO: IMEI packet received {"connection_id":161804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":161804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:29:46] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:29:46] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:29:46] local.INFO: Packet analysis {"connection_id":161804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:29:46] local.INFO: Extracted packet for processing {"connection_id":161804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639739392001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:29:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787655533000,"timestamp_ms":1787655533000,"timestamp_seconds":1787655533,"priority":1,"record_length":96,"hex_timestamp":"000001a03892b1c8"} 
[2026-08-25 16:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 16:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639739392001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639739392001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639739392001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":161804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:29:46] local.INFO: GPS data processed {"connection_id":161804,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:29:46] local.INFO: Acknowledgment sent {"connection_id":161804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:29:52] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:29:52] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:29:52] local.INFO: IMEI packet received {"connection_id":162047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":162047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:29:57] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:29:57] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:29:57] local.INFO: IMEI packet received {"connection_id":162047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":162047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:29:58] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:29:58] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:29:58] local.INFO: Packet analysis {"connection_id":162047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:29:58] local.INFO: Extracted packet for processing {"connection_id":162047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:29:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639680512001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655303000,"timestamp_ms":1787655303000,"timestamp_seconds":1787655303,"priority":1,"record_length":96,"hex_timestamp":"000001a0388f2f58"} 
[2026-08-25 16:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:29:58] 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-25 16:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:29:58] 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-25 16:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639680512001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639680512001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:29:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639680512001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":162047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:29:58] local.INFO: GPS data processed {"connection_id":162047,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:29:58] local.INFO: Acknowledgment sent {"connection_id":162047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:30:17] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:30:17] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:30:17] local.INFO: Packet analysis {"connection_id":161804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:30:17] local.INFO: Extracted packet for processing {"connection_id":161804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639739392001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:30:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787655533000,"timestamp_ms":1787655533000,"timestamp_seconds":1787655533,"priority":1,"record_length":96,"hex_timestamp":"000001a03892b1c8"} 
[2026-08-25 16:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 16:30:17] 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-25 16:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639739392001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639739392001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639739392001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":161804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:30:17] local.INFO: GPS data processed {"connection_id":161804,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:30:17] local.INFO: Acknowledgment sent {"connection_id":161804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:30:29] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:30:29] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0388f2f58012d1fecc0071d4fc80047009a2d..."} 
[2026-08-25 16:30:29] local.INFO: Packet analysis {"connection_id":162047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:30:29] local.INFO: Extracted packet for processing {"connection_id":162047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0388f"} 
[2026-08-25 16:30:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639680512001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655303000,"timestamp_ms":1787655303000,"timestamp_seconds":1787655303,"priority":1,"record_length":96,"hex_timestamp":"000001a0388f2f58"} 
[2026-08-25 16:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:30:29] 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-25 16:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639680512001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639680512001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:30:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:30:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639680512001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":162047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:30:29] local.INFO: GPS data processed {"connection_id":162047,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:30:29] local.INFO: Acknowledgment sent {"connection_id":162047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:30:39] local.INFO: TCP Data received {"connection_id":163047,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:30:39] local.INFO: Processing buffer {"connection_id":163047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:30:39] local.INFO: IMEI packet received {"connection_id":163047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":163047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:30:44] local.INFO: TCP Data received {"connection_id":163047,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:30:44] local.INFO: Processing buffer {"connection_id":163047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:30:44] local.INFO: IMEI packet received {"connection_id":163047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":163047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:30:46] local.INFO: TCP Data received {"connection_id":163047,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:30:46] local.INFO: Processing buffer {"connection_id":163047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:30:46] local.INFO: Packet analysis {"connection_id":163047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:30:46] local.INFO: Extracted packet for processing {"connection_id":163047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639739392001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:30:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787655533000,"timestamp_ms":1787655533000,"timestamp_seconds":1787655533,"priority":1,"record_length":96,"hex_timestamp":"000001a03892b1c8"} 
[2026-08-25 16:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 16:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639739392001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639739392001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639739392001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":163047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:30:46] local.INFO: GPS data processed {"connection_id":163047,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:30:46] local.INFO: Acknowledgment sent {"connection_id":163047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:30:57] local.INFO: TCP Data received {"connection_id":164420,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:30:57] local.INFO: Processing buffer {"connection_id":164420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:30:57] local.INFO: IMEI packet received {"connection_id":164420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":164420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:31:02] local.INFO: TCP Data received {"connection_id":164420,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:31:02] local.INFO: Processing buffer {"connection_id":164420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:31:02] local.INFO: IMEI packet received {"connection_id":164420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":164420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:31:03] local.INFO: TCP Data received {"connection_id":164420,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:31:03] local.INFO: Processing buffer {"connection_id":164420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:31:03] local.INFO: Packet analysis {"connection_id":164420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:31:03] local.INFO: Extracted packet for processing {"connection_id":164420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:31:03] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639757568001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787655604000,"timestamp_ms":1787655604000,"timestamp_seconds":1787655604,"priority":1,"record_length":96,"hex_timestamp":"000001a03893c720"} 
[2026-08-25 16: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-25 16:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:31: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-25 16:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639757568001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639757568001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:31:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639757568001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":164420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:31:03] local.INFO: GPS data processed {"connection_id":164420,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:31:03] local.INFO: Acknowledgment sent {"connection_id":164420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:31:08] local.INFO: TCP Data received {"connection_id":164420,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:31:08] local.INFO: Processing buffer {"connection_id":164420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:31:08] local.INFO: Packet analysis {"connection_id":164420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:31:08] local.INFO: Extracted packet for processing {"connection_id":164420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:31:08] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639757568001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787655604000,"timestamp_ms":1787655604000,"timestamp_seconds":1787655604,"priority":1,"record_length":96,"hex_timestamp":"000001a03893c720"} 
[2026-08-25 16:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:31: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-25 16:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639757568001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639757568001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:31:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639757568001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":164420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:31:08] local.INFO: GPS data processed {"connection_id":164420,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:31:08] local.INFO: Acknowledgment sent {"connection_id":164420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:31:18] local.INFO: TCP Data received {"connection_id":163047,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:31:18] local.INFO: Processing buffer {"connection_id":163047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:31:18] local.INFO: Packet analysis {"connection_id":163047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:31:18] local.INFO: Extracted packet for processing {"connection_id":163047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:31:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639739392001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787655533000,"timestamp_ms":1787655533000,"timestamp_seconds":1787655533,"priority":1,"record_length":96,"hex_timestamp":"000001a03892b1c8"} 
[2026-08-25 16:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 16:31:18] 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-25 16:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:31:18] 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-25 16:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639739392001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639739392001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:31:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639739392001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":163047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:31:18] local.INFO: GPS data processed {"connection_id":163047,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:31:18] local.INFO: Acknowledgment sent {"connection_id":163047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:31:40] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:31:40] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:31:40] local.INFO: IMEI packet received {"connection_id":162048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":162048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:31:45] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:31:45] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:31:45] local.INFO: IMEI packet received {"connection_id":162048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":162048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:31:46] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:31:46] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:31:46] local.INFO: Packet analysis {"connection_id":162048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:31:46] local.INFO: Extracted packet for processing {"connection_id":162048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639739392001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787655533000,"timestamp_ms":1787655533000,"timestamp_seconds":1787655533,"priority":1,"record_length":96,"hex_timestamp":"000001a03892b1c8"} 
[2026-08-25 16:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 16:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:31:46] 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-25 16:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639739392001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639739392001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639739392001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":162048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:31:46] local.INFO: GPS data processed {"connection_id":162048,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:31:46] local.INFO: Acknowledgment sent {"connection_id":162048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:31:52] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:31:52] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:31:52] local.INFO: IMEI packet received {"connection_id":162049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":162049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:31:57] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:31:57] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:31:57] local.INFO: IMEI packet received {"connection_id":162049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":162049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:31:58] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:31:58] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:31:58] local.INFO: Packet analysis {"connection_id":162049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:31:58] local.INFO: Extracted packet for processing {"connection_id":162049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:31:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:31: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-25 16:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639757568001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655604000,"timestamp_ms":1787655604000,"timestamp_seconds":1787655604,"priority":1,"record_length":96,"hex_timestamp":"000001a03893c720"} 
[2026-08-25 16:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:31: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-25 16:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639757568001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639757568001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:31:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639757568001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":162049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:31:58] local.INFO: GPS data processed {"connection_id":162049,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:31:58] local.INFO: Acknowledgment sent {"connection_id":162049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:32:19] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:32:19] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:32:19] local.INFO: Packet analysis {"connection_id":162048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:32:19] local.INFO: Extracted packet for processing {"connection_id":162048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:32:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639739392001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787655533000,"timestamp_ms":1787655533000,"timestamp_seconds":1787655533,"priority":1,"record_length":96,"hex_timestamp":"000001a03892b1c8"} 
[2026-08-25 16:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 16:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:32:19] 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-25 16:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639739392001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639739392001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:32:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639739392001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":162048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:32:19] local.INFO: GPS data processed {"connection_id":162048,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:32:19] local.INFO: Acknowledgment sent {"connection_id":162048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:32:20] local.INFO: TCP Data received {"connection_id":164421,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:32:20] local.INFO: Processing buffer {"connection_id":164421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:32:20] local.INFO: IMEI packet received {"connection_id":164421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":164421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:32:29] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:32:29] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:32:29] local.INFO: Packet analysis {"connection_id":162049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:32:29] local.INFO: Extracted packet for processing {"connection_id":162049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:32:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639757568001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655604000,"timestamp_ms":1787655604000,"timestamp_seconds":1787655604,"priority":1,"record_length":96,"hex_timestamp":"000001a03893c720"} 
[2026-08-25 16:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639757568001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639757568001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:32:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:32:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639757568001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":162049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:32:29] local.INFO: GPS data processed {"connection_id":162049,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:32:29] local.INFO: Acknowledgment sent {"connection_id":162049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:32:44] local.INFO: TCP Data received {"connection_id":163048,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:32:44] local.INFO: Processing buffer {"connection_id":163048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:32:44] local.INFO: IMEI packet received {"connection_id":163048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":163048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:32:50] local.INFO: TCP Data received {"connection_id":163048,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:32:50] local.INFO: Processing buffer {"connection_id":163048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:32:50] local.INFO: IMEI packet received {"connection_id":163048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":163048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:32:50] local.INFO: TCP Data received {"connection_id":163049,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:32:50] local.INFO: Processing buffer {"connection_id":163049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:32:50] local.INFO: IMEI packet received {"connection_id":163049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":163049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:32:51] local.INFO: TCP Data received {"connection_id":163048,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:32:51] local.INFO: Processing buffer {"connection_id":163048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:32:51] local.INFO: Packet analysis {"connection_id":163048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:32:51] local.INFO: Extracted packet for processing {"connection_id":163048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639739392001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787655533000,"timestamp_ms":1787655533000,"timestamp_seconds":1787655533,"priority":1,"record_length":96,"hex_timestamp":"000001a03892b1c8"} 
[2026-08-25 16:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 16:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:32: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-25 16:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639739392001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639739392001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639739392001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":163048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:32:51] local.INFO: GPS data processed {"connection_id":163048,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:32:51] local.INFO: Acknowledgment sent {"connection_id":163048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:32:52] local.INFO: TCP Data received {"connection_id":163050,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:32:52] local.INFO: Processing buffer {"connection_id":163050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:32:52] local.INFO: IMEI packet received {"connection_id":163050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":163050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:32:56] local.INFO: TCP Data received {"connection_id":163049,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:32:56] local.INFO: Processing buffer {"connection_id":163049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:32:56] local.INFO: IMEI packet received {"connection_id":163049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":163049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:32:57] local.INFO: TCP Data received {"connection_id":163049,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038953e20012da36440054b72a8000001122b..."} 
[2026-08-25 16:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038953e20012da36440054b72a8000001122b..."} 
[2026-08-25 16:32:57] local.INFO: Processing buffer {"connection_id":163049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038953e20012da36440054b72a8000001122b..."} 
[2026-08-25 16:32:57] local.INFO: Packet analysis {"connection_id":163049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03895"} 
[2026-08-25 16:32:57] local.INFO: Extracted packet for processing {"connection_id":163049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03895"} 
[2026-08-25 16:32:57] local.INFO: GPS Element Parsed {"raw_longitude":765682752,"raw_latitude":88830632,"longitude_deg":76.5682752,"latitude_deg":8.8830632,"altitude":0,"angle":274,"satellites":43,"speed":4,"hex_longitude":"2da36440","hex_latitude":"054b72a8","is_valid_coordinates":true} 
[2026-08-25 16:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639854080001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833905827545088,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6671097662790223872,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787655700000,"timestamp_ms":1787655700000,"timestamp_seconds":1787655700,"priority":1,"record_length":96,"hex_timestamp":"000001a038953e20"} 
[2026-08-25 16:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 16:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639854080001,"66":12776,"96":206,"84":6144,"24":4,"16":123833905827545088,"45":-6671097662790223872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 16:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639854080001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:32:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 16:32:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833905827545088,"km_value":123833905827545.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6671097662790223872,"description":"Unknown IO ID 45"} 
[2026-08-25 16:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639854080001,"power":12776,"unknown_96":206,"unknown_84":6144,"ignition":4,"odometer":null,"unknown_45":-6671097662790223872}} 
[2026-08-25 16:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":163049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:32:57] local.INFO: GPS data processed {"connection_id":163049,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:32:57] local.INFO: Acknowledgment sent {"connection_id":163049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:32:57] local.INFO: TCP Data received {"connection_id":163050,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:32:57] local.INFO: Processing buffer {"connection_id":163050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:32:57] local.INFO: IMEI packet received {"connection_id":163050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":163050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:32:57] local.INFO: TCP Data received {"connection_id":163048,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:32:57] local.INFO: Processing buffer {"connection_id":163048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:32:57] local.INFO: Packet analysis {"connection_id":163048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:32:57] local.INFO: Extracted packet for processing {"connection_id":163048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:32:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639739392001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787655533000,"timestamp_ms":1787655533000,"timestamp_seconds":1787655533,"priority":1,"record_length":96,"hex_timestamp":"000001a03892b1c8"} 
[2026-08-25 16:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 16:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:32: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-25 16:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639739392001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639739392001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:32:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639739392001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":163048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:32:57] local.INFO: GPS data processed {"connection_id":163048,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:32:57] local.INFO: Acknowledgment sent {"connection_id":163048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:32:58] local.INFO: TCP Data received {"connection_id":163050,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:32:58] local.INFO: Processing buffer {"connection_id":163050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:32:58] local.INFO: Packet analysis {"connection_id":163050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:32:58] local.INFO: Extracted packet for processing {"connection_id":163050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:32:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639757568001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655604000,"timestamp_ms":1787655604000,"timestamp_seconds":1787655604,"priority":1,"record_length":96,"hex_timestamp":"000001a03893c720"} 
[2026-08-25 16: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-25 16:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16: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-25 16: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-25 16:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:32:58] 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-25 16:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639757568001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639757568001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:32:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:32:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639757568001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":163050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:32:58] local.INFO: GPS data processed {"connection_id":163050,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:32:58] local.INFO: Acknowledgment sent {"connection_id":163050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:33:29] local.INFO: TCP Data received {"connection_id":163050,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:33:29] local.INFO: Processing buffer {"connection_id":163050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:33:29] local.INFO: Packet analysis {"connection_id":163050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:33:29] local.INFO: Extracted packet for processing {"connection_id":163050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:33:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639757568001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655604000,"timestamp_ms":1787655604000,"timestamp_seconds":1787655604,"priority":1,"record_length":96,"hex_timestamp":"000001a03893c720"} 
[2026-08-25 16:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:33:29] 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-25 16:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639757568001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639757568001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:33:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639757568001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":163050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:33:29] local.INFO: GPS data processed {"connection_id":163050,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:33:29] local.INFO: Acknowledgment sent {"connection_id":163050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:33:39] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:33:39] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:33:39] local.INFO: IMEI packet received {"connection_id":161805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":161805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:33:40] local.INFO: TCP Data received {"connection_id":161806,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:33:40] local.INFO: Processing buffer {"connection_id":161806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:33:40] local.INFO: IMEI packet received {"connection_id":161806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":161806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:33:44] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:33:44] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:33:44] local.INFO: IMEI packet received {"connection_id":161805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":161805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:33:45] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:33:45] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:33:45] local.INFO: Packet analysis {"connection_id":161805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:33:45] local.INFO: Extracted packet for processing {"connection_id":161805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639739392001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:33:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787655533000,"timestamp_ms":1787655533000,"timestamp_seconds":1787655533,"priority":1,"record_length":96,"hex_timestamp":"000001a03892b1c8"} 
[2026-08-25 16:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 16:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639739392001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639739392001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639739392001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":161805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:33:45] local.INFO: GPS data processed {"connection_id":161805,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:33:45] local.INFO: Acknowledgment sent {"connection_id":161805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:33:46] local.INFO: TCP Data received {"connection_id":161806,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:33:46] local.INFO: Processing buffer {"connection_id":161806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:33:46] local.INFO: IMEI packet received {"connection_id":161806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":161806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:33:47] local.INFO: TCP Data received {"connection_id":161806,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389545f0012da36340054b72a0000001262a..."} 
[2026-08-25 16:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389545f0012da36340054b72a0000001262a..."} 
[2026-08-25 16:33:47] local.INFO: Processing buffer {"connection_id":161806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389545f0012da36340054b72a0000001262a..."} 
[2026-08-25 16:33:47] local.INFO: Packet analysis {"connection_id":161806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03895"} 
[2026-08-25 16:33:47] local.INFO: Extracted packet for processing {"connection_id":161806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03895"} 
[2026-08-25 16:33:47] local.INFO: GPS Element Parsed {"raw_longitude":765682496,"raw_latitude":88830624,"longitude_deg":76.5682496,"latitude_deg":8.8830624,"altitude":0,"angle":294,"satellites":42,"speed":2,"hex_longitude":"2da36340","hex_latitude":"054b72a0","is_valid_coordinates":true} 
[2026-08-25 16:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639859200001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833918712446976,"note":"Value kept but may cause issues"} 
[2026-08-25 16:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6673138356371412992,"note":"Value kept but may cause issues"} 
[2026-08-25 16:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787655702000,"timestamp_ms":1787655702000,"timestamp_seconds":1787655702,"priority":1,"record_length":96,"hex_timestamp":"000001a0389545f0"} 
[2026-08-25 16:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-25 16:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639859200001,"66":13059,"96":206,"84":6144,"24":2,"16":123833918712446976,"45":-6673138356371412992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 16:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639859200001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:33:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 16:33:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833918712446976,"km_value":123833918712446.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6673138356371412992,"description":"Unknown IO ID 45"} 
[2026-08-25 16:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639859200001,"power":13059,"unknown_96":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6673138356371412992}} 
[2026-08-25 16:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":161806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:33:47] local.INFO: GPS data processed {"connection_id":161806,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:33:47] local.INFO: Acknowledgment sent {"connection_id":161806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:33:52] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:33:52] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:33:52] local.INFO: IMEI packet received {"connection_id":162050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":162050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:33:57] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:33:57] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:33:57] local.INFO: IMEI packet received {"connection_id":162050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":162050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:33:58] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:33:58] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:33:58] local.INFO: Packet analysis {"connection_id":162050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:33:58] local.INFO: Extracted packet for processing {"connection_id":162050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639757568001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655604000,"timestamp_ms":1787655604000,"timestamp_seconds":1787655604,"priority":1,"record_length":96,"hex_timestamp":"000001a03893c720"} 
[2026-08-25 16:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:33:58] 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-25 16:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639757568001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639757568001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:33:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:33:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639757568001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":162050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:33:58] local.INFO: GPS data processed {"connection_id":162050,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:33:58] local.INFO: Acknowledgment sent {"connection_id":162050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:34:17] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:34:17] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03892b1c8012d34c14006aa4818000000e62c..."} 
[2026-08-25 16:34:17] local.INFO: Packet analysis {"connection_id":161805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:34:17] local.INFO: Extracted packet for processing {"connection_id":161805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03892"} 
[2026-08-25 16:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639739392001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787655533000,"timestamp_ms":1787655533000,"timestamp_seconds":1787655533,"priority":1,"record_length":96,"hex_timestamp":"000001a03892b1c8"} 
[2026-08-25 16:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 16:34:17] 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-25 16:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639739392001,"66":25615,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639739392001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639739392001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":161805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:34:17] local.INFO: GPS data processed {"connection_id":161805,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:34:17] local.INFO: Acknowledgment sent {"connection_id":161805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:34:19] local.INFO: TCP Data received {"connection_id":161806,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389549d8012da36340054b72a8000001452b..."} 
[2026-08-25 16:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389549d8012da36340054b72a8000001452b..."} 
[2026-08-25 16:34:19] local.INFO: Processing buffer {"connection_id":161806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389549d8012da36340054b72a8000001452b..."} 
[2026-08-25 16:34:19] local.INFO: Packet analysis {"connection_id":161806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03895"} 
[2026-08-25 16:34:19] local.INFO: Extracted packet for processing {"connection_id":161806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03895"} 
[2026-08-25 16:34:19] local.INFO: GPS Element Parsed {"raw_longitude":765682496,"raw_latitude":88830632,"longitude_deg":76.5682496,"latitude_deg":8.8830632,"altitude":0,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2da36340","hex_latitude":"054b72a8","is_valid_coordinates":true} 
[2026-08-25 16:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639859712001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833918712446976,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6673419831348125696,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787655703000,"timestamp_ms":1787655703000,"timestamp_seconds":1787655703,"priority":1,"record_length":96,"hex_timestamp":"000001a0389549d8"} 
[2026-08-25 16:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 16:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937409,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:19] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58076307259916295,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2742452229,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:19] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2493636609,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1096810702,"corrected_to":0} 
[2026-08-25 16:34:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3221302691,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:19] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147830642,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:19] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308353,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:19] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4060348416,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:19] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,96,84,24,241,157,16,242,160,62,45,64,114,43,10,66,240,128,115,3,42,228,1,116,227,56,75,4,113,205,83,123,192,44,239,52,2,183,5,7],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1096810702,"validated":0}]} 
[2026-08-25 16:34:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":323436807323648,"timestamp_seconds":323436807323.648,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639859712001,"66":13580,"96":206,"84":6144,"24":0,"16":123833918712446976,"45":-6673419831348125696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 16:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639859712001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:34:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 16:34:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833918712446976,"km_value":123833918712446.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6673419831348125696,"description":"Unknown IO ID 45"} 
[2026-08-25 16:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639859712001,"power":13580,"unknown_96":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6673419831348125696}} 
[2026-08-25 16:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":161806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:34:19] local.INFO: GPS data processed {"connection_id":161806,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:34:19] local.INFO: Acknowledgment sent {"connection_id":161806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:34:29] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:34:29] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:34:29] local.INFO: Packet analysis {"connection_id":162050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:34:29] local.INFO: Extracted packet for processing {"connection_id":162050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:34:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639757568001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655604000,"timestamp_ms":1787655604000,"timestamp_seconds":1787655604,"priority":1,"record_length":96,"hex_timestamp":"000001a03893c720"} 
[2026-08-25 16:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:34:29] 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-25 16:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639757568001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639757568001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:34:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:34:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639757568001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":162050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:34:29] local.INFO: GPS data processed {"connection_id":162050,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:34:29] local.INFO: Acknowledgment sent {"connection_id":162050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:34:39] local.INFO: TCP Data received {"connection_id":161807,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:34:39] local.INFO: Processing buffer {"connection_id":161807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:34:39] local.INFO: IMEI packet received {"connection_id":161807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":161807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:34:40] local.INFO: TCP Data received {"connection_id":164422,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:34:40] local.INFO: Processing buffer {"connection_id":164422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:34:40] local.INFO: IMEI packet received {"connection_id":164422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":164422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:34:42] local.INFO: TCP Data received {"connection_id":164422,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:34:42] local.INFO: Processing buffer {"connection_id":164422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:34:42] local.INFO: IMEI packet received {"connection_id":164422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":164422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:34:44] local.INFO: TCP Data received {"connection_id":161807,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:34:44] local.INFO: Processing buffer {"connection_id":161807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:34:44] local.INFO: IMEI packet received {"connection_id":161807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":161807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:34:45] local.INFO: TCP Data received {"connection_id":161807,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:34:45] local.INFO: Processing buffer {"connection_id":161807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:34:45] local.INFO: Packet analysis {"connection_id":161807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:34:45] local.INFO: Extracted packet for processing {"connection_id":161807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:34:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639816448001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787655834000,"timestamp_ms":1787655834000,"timestamp_seconds":1787655834,"priority":1,"record_length":96,"hex_timestamp":"000001a038974990"} 
[2026-08-25 16:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639816448001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639816448001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:34:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639816448001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":161807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:34:45] local.INFO: GPS data processed {"connection_id":161807,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:34:45] local.INFO: Acknowledgment sent {"connection_id":161807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:34:46] local.INFO: TCP Data received {"connection_id":164422,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:34:46] local.INFO: Processing buffer {"connection_id":164422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:34:46] local.INFO: IMEI packet received {"connection_id":164422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":164422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:34:46] local.INFO: TCP Data received {"connection_id":164422,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:34:46] local.INFO: Processing buffer {"connection_id":164422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:34:46] local.INFO: IMEI packet received {"connection_id":164422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":164422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:34:47] local.INFO: TCP Data received {"connection_id":164422,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03897ab38012da36540054b74b0000001412b..."} 
[2026-08-25 16:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03897ab38012da36540054b74b0000001412b..."} 
[2026-08-25 16:34:47] local.INFO: Processing buffer {"connection_id":164422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03897ab38012da36540054b74b0000001412b..."} 
[2026-08-25 16:34:47] local.INFO: Packet analysis {"connection_id":164422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:34:47] local.INFO: Extracted packet for processing {"connection_id":164422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:34:47] local.INFO: GPS Element Parsed {"raw_longitude":765683008,"raw_latitude":88831152,"longitude_deg":76.5683008,"latitude_deg":8.8831152,"altitude":0,"angle":321,"satellites":43,"speed":0,"hex_longitude":"2da36540","hex_latitude":"054b74b0","is_valid_coordinates":true} 
[2026-08-25 16:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639894528001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833970252054528,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6672856881394569216,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787655859000,"timestamp_ms":1787655859000,"timestamp_seconds":1787655859,"priority":1,"record_length":96,"hex_timestamp":"000001a03897ab38"} 
[2026-08-25 16:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 16:34:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2741321733,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:47] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2517700609,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:47] local.WARNING: Large IO value detected {"io_id":75,"raw_value":8277616115111243008,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1096810702,"corrected_to":0} 
[2026-08-25 16:34:47] local.WARNING: Large IO value detected {"io_id":194,"raw_value":4026609059,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:47] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070401,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:47] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4065722368,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:47] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57774250811872280,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:47] local.WARNING: Large IO value detected {"io_id":149,"raw_value":-7777715260942352379,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:47] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,35,84,24,241,157,16,242,160,7,45,64,116,43,10,66,181,41,99,1,240,187,227,56,75,4,113,205,194,101,152,239,51,96,2,183,5,166,149],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1096810702,"validated":0}]} 
[2026-08-25 16:34:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":353123621142528,"timestamp_seconds":353123621142.528,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639894528001,"66":13048,"35":206,"84":6144,"24":0,"16":123833970252054528,"45":-6672856881394569216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 16:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639894528001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:34:47] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 16:34:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833970252054528,"km_value":123833970252054.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6672856881394569216,"description":"Unknown IO ID 45"} 
[2026-08-25 16:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639894528001,"power":13048,"unknown_35":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6672856881394569216}} 
[2026-08-25 16:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":164422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:34:47] local.INFO: GPS data processed {"connection_id":164422,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:34:47] local.INFO: Acknowledgment sent {"connection_id":164422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:34:51] local.INFO: TCP Data received {"connection_id":164422,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03897fd40012da36540054b74b0000001412a..."} 
[2026-08-25 16:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03897fd40012da36540054b74b0000001412a..."} 
[2026-08-25 16:34:51] local.INFO: Processing buffer {"connection_id":164422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03897fd40012da36540054b74b0000001412a..."} 
[2026-08-25 16:34:51] local.INFO: Packet analysis {"connection_id":164422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:34:51] local.INFO: Extracted packet for processing {"connection_id":164422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:34:51] local.INFO: GPS Element Parsed {"raw_longitude":765683008,"raw_latitude":88831152,"longitude_deg":76.5683008,"latitude_deg":8.8831152,"altitude":0,"angle":321,"satellites":42,"speed":0,"hex_longitude":"2da36540","hex_latitude":"054b74b0","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639899904001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833970252054528,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6672856881394569216,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787655880000,"timestamp_ms":1787655880000,"timestamp_seconds":1787655880,"priority":1,"record_length":96,"hex_timestamp":"000001a03897fd40"} 
[2026-08-25 16: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-25 16:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 16:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639899904001,"66":13059,"35":206,"84":6144,"24":0,"16":123833970252054528,"45":-6672856881394569216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 16:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639899904001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:34:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 16:34:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833970252054528,"km_value":123833970252054.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6672856881394569216,"description":"Unknown IO ID 45"} 
[2026-08-25 16:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639899904001,"power":13059,"unknown_35":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6672856881394569216}} 
[2026-08-25 16:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":164422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:34:51] local.INFO: GPS data processed {"connection_id":164422,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:34:51] local.INFO: Acknowledgment sent {"connection_id":164422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:34:52] local.INFO: TCP Data received {"connection_id":164423,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:34:52] local.INFO: Processing buffer {"connection_id":164423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:34:52] local.INFO: IMEI packet received {"connection_id":164423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":164423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:34:57] local.INFO: TCP Data received {"connection_id":164423,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:34:57] local.INFO: Processing buffer {"connection_id":164423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:34:57] local.INFO: IMEI packet received {"connection_id":164423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":164423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:34:58] local.INFO: TCP Data received {"connection_id":164423,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:34:58] local.INFO: Processing buffer {"connection_id":164423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:34:58] local.INFO: Packet analysis {"connection_id":164423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:34:58] local.INFO: Extracted packet for processing {"connection_id":164423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:34:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639757568001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655604000,"timestamp_ms":1787655604000,"timestamp_seconds":1787655604,"priority":1,"record_length":96,"hex_timestamp":"000001a03893c720"} 
[2026-08-25 16:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:34:58] 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-25 16:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639757568001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639757568001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:34:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639757568001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":164423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:34:58] local.INFO: GPS data processed {"connection_id":164423,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:34:58] local.INFO: Acknowledgment sent {"connection_id":164423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:35:17] local.INFO: TCP Data received {"connection_id":161807,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:35:17] local.INFO: Processing buffer {"connection_id":161807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:35:17] local.INFO: Packet analysis {"connection_id":161807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:35:17] local.INFO: Extracted packet for processing {"connection_id":161807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639816448001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787655834000,"timestamp_ms":1787655834000,"timestamp_seconds":1787655834,"priority":1,"record_length":96,"hex_timestamp":"000001a038974990"} 
[2026-08-25 16:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639816448001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639816448001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639816448001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":161807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:35:17] local.INFO: GPS data processed {"connection_id":161807,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:35:17] local.INFO: Acknowledgment sent {"connection_id":161807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:35:25] local.INFO: TCP Data received {"connection_id":164422,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038980ce00100000000000000000000000000..."} 
[2026-08-25 16:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038980ce00100000000000000000000000000..."} 
[2026-08-25 16:35:25] local.INFO: Processing buffer {"connection_id":164422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038980ce00100000000000000000000000000..."} 
[2026-08-25 16:35:25] local.INFO: Packet analysis {"connection_id":164422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:35:25] local.INFO: Extracted packet for processing {"connection_id":164422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:35:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-25 16:35:25] 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-25 16:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639905280001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833970252054528,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6672856881394569216,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787655884000,"timestamp_ms":1787655884000,"timestamp_seconds":1787655884,"priority":1,"record_length":96,"hex_timestamp":"000001a038980ce0"} 
[2026-08-25 16:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 16:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937409,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2741321733,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:25] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2528452609,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1210253518,"corrected_to":0} 
[2026-08-25 16:35:25] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391944,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:25] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4065787904,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:25] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58076307259916288,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:25] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,35,84,24,241,157,16,242,160,171,45,64,116,43,10,66,89,42,7,1,240,187,227,56,75,4,113,205,99,101,176,37,239,51,2,183,5,96],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1210253518,"validated":0}]} 
[2026-08-25 16:35:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":353123621142528,"timestamp_seconds":353123621142.528,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":164422,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-25 16:35:25] local.INFO: GPS data processed {"connection_id":164422,"processed":0,"errors":0,"total":1} 
[2026-08-25 16:35:25] local.INFO: Acknowledgment sent {"connection_id":164422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:35:29] local.INFO: TCP Data received {"connection_id":164423,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:35:29] local.INFO: Processing buffer {"connection_id":164423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03893c720012d1fecc0071d4fc80047009a2a..."} 
[2026-08-25 16:35:29] local.INFO: Packet analysis {"connection_id":164423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:35:29] local.INFO: Extracted packet for processing {"connection_id":164423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03893"} 
[2026-08-25 16:35:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":42,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639757568001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655604000,"timestamp_ms":1787655604000,"timestamp_seconds":1787655604,"priority":1,"record_length":96,"hex_timestamp":"000001a03893c720"} 
[2026-08-25 16:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:35:29] 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-25 16:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639757568001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639757568001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:35:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:35:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639757568001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":164423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:35:29] local.INFO: GPS data processed {"connection_id":164423,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:35:29] local.INFO: Acknowledgment sent {"connection_id":164423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:35:39] local.INFO: TCP Data received {"connection_id":164424,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:35:39] local.INFO: Processing buffer {"connection_id":164424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:35:39] local.INFO: IMEI packet received {"connection_id":164424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":164424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:35:45] local.INFO: TCP Data received {"connection_id":164424,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:35:45] local.INFO: Processing buffer {"connection_id":164424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:35:45] local.INFO: IMEI packet received {"connection_id":164424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":164424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:35:46] local.INFO: TCP Data received {"connection_id":164424,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:35:46] local.INFO: Processing buffer {"connection_id":164424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:35:46] local.INFO: Packet analysis {"connection_id":164424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:35:46] local.INFO: Extracted packet for processing {"connection_id":164424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639816448001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787655834000,"timestamp_ms":1787655834000,"timestamp_seconds":1787655834,"priority":1,"record_length":96,"hex_timestamp":"000001a038974990"} 
[2026-08-25 16:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639816448001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639816448001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639816448001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":164424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:35:46] local.INFO: GPS data processed {"connection_id":164424,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:35:46] local.INFO: Acknowledgment sent {"connection_id":164424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:35:47] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:35:47] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:35:47] local.INFO: IMEI packet received {"connection_id":161808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":161808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:35:47] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:35:47] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:35:47] local.INFO: IMEI packet received {"connection_id":161808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":161808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:35:51] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:35:51] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:35:51] local.INFO: IMEI packet received {"connection_id":161808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":161808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:35:52] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038983008012da36540054b74b0000001412b..."} 
[2026-08-25 16:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038983008012da36540054b74b0000001412b..."} 
[2026-08-25 16:35:52] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038983008012da36540054b74b0000001412b..."} 
[2026-08-25 16:35:52] local.INFO: Packet analysis {"connection_id":161808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:35:52] local.INFO: Extracted packet for processing {"connection_id":161808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:35:52] local.INFO: GPS Element Parsed {"raw_longitude":765683008,"raw_latitude":88831152,"longitude_deg":76.5683008,"latitude_deg":8.8831152,"altitude":0,"angle":321,"satellites":43,"speed":0,"hex_longitude":"2da36540","hex_latitude":"054b74b0","is_valid_coordinates":true} 
[2026-08-25 16:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833970252054528,"note":"Value kept but may cause issues"} 
[2026-08-25 16:35:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,35,84,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 16:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787655893000,"timestamp_ms":1787655893000,"timestamp_seconds":1787655893,"priority":1,"record_length":96,"hex_timestamp":"000001a038983008"} 
[2026-08-25 16:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 16:35:52] 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-25 16:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13254,"35":206,"84":6144,"24":0,"16":123833970252054528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16]} 
[2026-08-25 16:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-25 16:35:52] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 16:35:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833970252054528,"km_value":123833970252054.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:35:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13254,"unknown_35":206,"unknown_84":6144,"ignition":0,"odometer":null}} 
[2026-08-25 16:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":161808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:35:52] local.INFO: GPS data processed {"connection_id":161808,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:35:52] local.INFO: Acknowledgment sent {"connection_id":161808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:35:57] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:35:57] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:35:57] local.INFO: IMEI packet received {"connection_id":162051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":162051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:36:00] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038984f48012da36540054b74b00000014129..."} 
[2026-08-25 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038984f48012da36540054b74b00000014129..."} 
[2026-08-25 16:36:00] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038984f48012da36540054b74b00000014129..."} 
[2026-08-25 16:36:00] local.INFO: Packet analysis {"connection_id":161808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:36:00] local.INFO: Extracted packet for processing {"connection_id":161808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:36:00] local.INFO: GPS Element Parsed {"raw_longitude":765683008,"raw_latitude":88831152,"longitude_deg":76.5683008,"latitude_deg":8.8831152,"altitude":0,"angle":321,"satellites":41,"speed":0,"hex_longitude":"2da36540","hex_latitude":"054b74b0","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639908608001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833970252054528,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6672856881394569216,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787655901000,"timestamp_ms":1787655901000,"timestamp_seconds":1787655901,"priority":1,"record_length":96,"hex_timestamp":"000001a038984f48"} 
[2026-08-25 16: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-25 16:36:00] 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-25 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 16:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639908608001,"66":13091,"35":206,"84":6144,"24":0,"16":123833970252054528,"45":-6672856881394569216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 16:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639908608001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:36:00] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 16:36:00] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833970252054528,"km_value":123833970252054.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6672856881394569216,"description":"Unknown IO ID 45"} 
[2026-08-25 16:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639908608001,"power":13091,"unknown_35":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6672856881394569216}} 
[2026-08-25 16:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":161808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:36:00] local.INFO: GPS data processed {"connection_id":161808,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:36:00] local.INFO: Acknowledgment sent {"connection_id":161808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:36:02] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:36:02] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:36:02] local.INFO: IMEI packet received {"connection_id":162051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":162051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:36:03] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:36:03] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:36:03] local.INFO: Packet analysis {"connection_id":162051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:36:03] local.INFO: Extracted packet for processing {"connection_id":162051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:36:03] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639834624001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787655905000,"timestamp_ms":1787655905000,"timestamp_seconds":1787655905,"priority":1,"record_length":96,"hex_timestamp":"000001a038985ee8"} 
[2026-08-25 16: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-25 16:36:03] 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-25 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:36:03] 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-25 16:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639834624001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639834624001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:36:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639834624001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":162051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:36:03] local.INFO: GPS data processed {"connection_id":162051,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:36:03] local.INFO: Acknowledgment sent {"connection_id":162051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:36:07] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:36:07] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:36:07] local.INFO: Packet analysis {"connection_id":162051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:36:07] local.INFO: Extracted packet for processing {"connection_id":162051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639834624001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787655905000,"timestamp_ms":1787655905000,"timestamp_seconds":1787655905,"priority":1,"record_length":96,"hex_timestamp":"000001a038985ee8"} 
[2026-08-25 16:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:36: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-25 16:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639834624001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639834624001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:36:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639834624001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":162051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:36:08] local.INFO: GPS data processed {"connection_id":162051,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:36:08] local.INFO: Acknowledgment sent {"connection_id":162051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:36:17] local.INFO: TCP Data received {"connection_id":164424,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:36:17] local.INFO: Processing buffer {"connection_id":164424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:36:17] local.INFO: Packet analysis {"connection_id":164424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:36:17] local.INFO: Extracted packet for processing {"connection_id":164424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639816448001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787655834000,"timestamp_ms":1787655834000,"timestamp_seconds":1787655834,"priority":1,"record_length":96,"hex_timestamp":"000001a038974990"} 
[2026-08-25 16:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639816448001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639816448001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:36:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639816448001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":164424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:36:17] local.INFO: GPS data processed {"connection_id":164424,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:36:17] local.INFO: Acknowledgment sent {"connection_id":164424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:36:39] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:36:39] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:36:39] local.INFO: IMEI packet received {"connection_id":162052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":162052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:36:41] local.INFO: TCP Data received {"connection_id":163051,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:36:41] local.INFO: Processing buffer {"connection_id":163051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:36:41] local.INFO: IMEI packet received {"connection_id":163051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":163051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:36:45] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:36:45] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:36:45] local.INFO: IMEI packet received {"connection_id":162052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":162052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:36:45] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:36:45] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:36:45] local.INFO: Packet analysis {"connection_id":162052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:36:45] local.INFO: Extracted packet for processing {"connection_id":162052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639816448001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787655834000,"timestamp_ms":1787655834000,"timestamp_seconds":1787655834,"priority":1,"record_length":96,"hex_timestamp":"000001a038974990"} 
[2026-08-25 16:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639816448001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639816448001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639816448001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":162052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:36:45] local.INFO: GPS data processed {"connection_id":162052,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:36:45] local.INFO: Acknowledgment sent {"connection_id":162052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:36:46] local.INFO: TCP Data received {"connection_id":163051,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:36:46] local.INFO: Processing buffer {"connection_id":163051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:36:46] local.INFO: IMEI packet received {"connection_id":163051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":163051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:36:47] local.INFO: TCP Data received {"connection_id":163051,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03898a150012da36540054b74b00000014129..."} 
[2026-08-25 16:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03898a150012da36540054b74b00000014129..."} 
[2026-08-25 16:36:47] local.INFO: Processing buffer {"connection_id":163051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03898a150012da36540054b74b00000014129..."} 
[2026-08-25 16:36:47] local.INFO: Packet analysis {"connection_id":163051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:36:47] local.INFO: Extracted packet for processing {"connection_id":163051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:36:47] local.INFO: GPS Element Parsed {"raw_longitude":765683008,"raw_latitude":88831152,"longitude_deg":76.5683008,"latitude_deg":8.8831152,"altitude":0,"angle":321,"satellites":41,"speed":0,"hex_longitude":"2da36540","hex_latitude":"054b74b0","is_valid_coordinates":true} 
[2026-08-25 16:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639910656001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833970252054528,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6672856881394569216,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787655922000,"timestamp_ms":1787655922000,"timestamp_seconds":1787655922,"priority":1,"record_length":96,"hex_timestamp":"000001a03898a150"} 
[2026-08-25 16:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 16:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639910656001,"66":13189,"35":206,"84":6144,"24":0,"16":123833970252054528,"45":-6672856881394569216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 16:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639910656001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:36:47] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 16:36:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833970252054528,"km_value":123833970252054.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6672856881394569216,"description":"Unknown IO ID 45"} 
[2026-08-25 16:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639910656001,"power":13189,"unknown_35":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6672856881394569216}} 
[2026-08-25 16:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":163051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:36:47] local.INFO: GPS data processed {"connection_id":163051,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:36:47] local.INFO: Acknowledgment sent {"connection_id":163051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:36:52] local.INFO: TCP Data received {"connection_id":164425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:36:52] local.INFO: Processing buffer {"connection_id":164425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:36:52] local.INFO: IMEI packet received {"connection_id":164425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":164425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:36:57] local.INFO: TCP Data received {"connection_id":164425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:36:57] local.INFO: Processing buffer {"connection_id":164425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:36:57] local.INFO: IMEI packet received {"connection_id":164425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":164425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:36:58] local.INFO: TCP Data received {"connection_id":164425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:36:58] local.INFO: Processing buffer {"connection_id":164425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:36:58] local.INFO: Packet analysis {"connection_id":164425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:36:58] local.INFO: Extracted packet for processing {"connection_id":164425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:36:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639834624001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655905000,"timestamp_ms":1787655905000,"timestamp_seconds":1787655905,"priority":1,"record_length":96,"hex_timestamp":"000001a038985ee8"} 
[2026-08-25 16:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:36:58] 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-25 16:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639834624001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639834624001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:36:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639834624001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":164425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:36:58] local.INFO: GPS data processed {"connection_id":164425,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:36:58] local.INFO: Acknowledgment sent {"connection_id":164425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:37:05] local.INFO: TCP Data received {"connection_id":163052,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:37:05] local.INFO: Processing buffer {"connection_id":163052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:37:05] local.INFO: IMEI packet received {"connection_id":163052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 16:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":163052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:37:17] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:37:17] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:37:17] local.INFO: Packet analysis {"connection_id":162052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:37:17] local.INFO: Extracted packet for processing {"connection_id":162052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639816448001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787655834000,"timestamp_ms":1787655834000,"timestamp_seconds":1787655834,"priority":1,"record_length":96,"hex_timestamp":"000001a038974990"} 
[2026-08-25 16:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639816448001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639816448001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639816448001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":162052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:37:17] local.INFO: GPS data processed {"connection_id":162052,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:37:17] local.INFO: Acknowledgment sent {"connection_id":162052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:37:18] local.INFO: TCP Data received {"connection_id":163051,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03898f358012da36540054b74b00000014127..."} 
[2026-08-25 16:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03898f358012da36540054b74b00000014127..."} 
[2026-08-25 16:37:18] local.INFO: Processing buffer {"connection_id":163051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03898f358012da36540054b74b00000014127..."} 
[2026-08-25 16:37:18] local.INFO: Packet analysis {"connection_id":163051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:37:18] local.INFO: Extracted packet for processing {"connection_id":163051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:37:18] local.INFO: GPS Element Parsed {"raw_longitude":765683008,"raw_latitude":88831152,"longitude_deg":76.5683008,"latitude_deg":8.8831152,"altitude":0,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2da36540","hex_latitude":"054b74b0","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639916032001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833970252054528,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6672856881394569216,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787655943000,"timestamp_ms":1787655943000,"timestamp_seconds":1787655943,"priority":1,"record_length":96,"hex_timestamp":"000001a03898f358"} 
[2026-08-25 16: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-25 16:37: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-25 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 16:37: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-25 16: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-25 16: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-25 16:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639916032001,"66":13189,"35":206,"84":6144,"24":0,"16":123833970252054528,"45":-6672856881394569216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 16:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639916032001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:37:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 16:37:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833970252054528,"km_value":123833970252054.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6672856881394569216,"description":"Unknown IO ID 45"} 
[2026-08-25 16:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639916032001,"power":13189,"unknown_35":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6672856881394569216}} 
[2026-08-25 16:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":163051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:37:18] local.INFO: GPS data processed {"connection_id":163051,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:37:18] local.INFO: Acknowledgment sent {"connection_id":163051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:37:32] local.INFO: TCP Data received {"connection_id":164425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:37:32] local.INFO: Processing buffer {"connection_id":164425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:37:32] local.INFO: Packet analysis {"connection_id":164425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:37:32] local.INFO: Extracted packet for processing {"connection_id":164425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:37:32] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639834624001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787655905000,"timestamp_ms":1787655905000,"timestamp_seconds":1787655905,"priority":1,"record_length":96,"hex_timestamp":"000001a038985ee8"} 
[2026-08-25 16:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":164425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":164425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":164425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639834624001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639834624001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:37:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639834624001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":164425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:37:32] local.INFO: GPS data processed {"connection_id":164425,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:37:32] local.INFO: Acknowledgment sent {"connection_id":164425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:37:40] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:37:40] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:37:40] local.INFO: IMEI packet received {"connection_id":161809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":161809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:37:41] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:37:41] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:37:41] local.INFO: IMEI packet received {"connection_id":161809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":161809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:37:41] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:37:41] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:37:41] local.INFO: IMEI packet received {"connection_id":161809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":161809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:37:44] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:37:44] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:37:44] local.INFO: IMEI packet received {"connection_id":161810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":161810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:37:46] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:37:46] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:37:46] local.INFO: IMEI packet received {"connection_id":161809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":161809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:37:47] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038994560012da36540054b74b00000014124..."} 
[2026-08-25 16:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038994560012da36540054b74b00000014124..."} 
[2026-08-25 16:37:47] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038994560012da36540054b74b00000014124..."} 
[2026-08-25 16:37:47] local.INFO: Packet analysis {"connection_id":161809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03899"} 
[2026-08-25 16:37:47] local.INFO: Extracted packet for processing {"connection_id":161809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03899"} 
[2026-08-25 16:37:47] local.INFO: GPS Element Parsed {"raw_longitude":765683008,"raw_latitude":88831152,"longitude_deg":76.5683008,"latitude_deg":8.8831152,"altitude":0,"angle":321,"satellites":36,"speed":0,"hex_longitude":"2da36540","hex_latitude":"054b74b0","is_valid_coordinates":true} 
[2026-08-25 16:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639921408001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833970252054528,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6672856881394569216,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787655964000,"timestamp_ms":1787655964000,"timestamp_seconds":1787655964,"priority":1,"record_length":96,"hex_timestamp":"000001a038994560"} 
[2026-08-25 16:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 16:37:47] 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-25 16:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639921408001,"66":13243,"35":206,"84":6144,"24":0,"16":123833970252054528,"45":-6672856881394569216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 16:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639921408001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:37:47] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 16:37:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833970252054528,"km_value":123833970252054.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6672856881394569216,"description":"Unknown IO ID 45"} 
[2026-08-25 16:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639921408001,"power":13243,"unknown_35":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6672856881394569216}} 
[2026-08-25 16:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":161809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:37:47] local.INFO: GPS data processed {"connection_id":161809,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:37:47] local.INFO: Acknowledgment sent {"connection_id":161809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:37:49] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:37:49] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:37:49] local.INFO: IMEI packet received {"connection_id":161810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":161810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:37:51] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:37:51] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:37:51] local.INFO: Packet analysis {"connection_id":161810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:37:51] local.INFO: Extracted packet for processing {"connection_id":161810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639816448001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787655834000,"timestamp_ms":1787655834000,"timestamp_seconds":1787655834,"priority":1,"record_length":96,"hex_timestamp":"000001a038974990"} 
[2026-08-25 16:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639816448001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639816448001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639816448001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":161810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:37:51] local.INFO: GPS data processed {"connection_id":161810,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:37:51] local.INFO: Acknowledgment sent {"connection_id":161810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:37:52] local.INFO: TCP Data received {"connection_id":163053,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:37:52] local.INFO: Processing buffer {"connection_id":163053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:37:52] local.INFO: IMEI packet received {"connection_id":163053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":163053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:37:57] local.INFO: TCP Data received {"connection_id":163053,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:37:57] local.INFO: Processing buffer {"connection_id":163053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:37:57] local.INFO: IMEI packet received {"connection_id":163053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":163053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:37:58] local.INFO: TCP Data received {"connection_id":163053,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:37:58] local.INFO: Processing buffer {"connection_id":163053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:37:58] local.INFO: Packet analysis {"connection_id":163053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:37:58] local.INFO: Extracted packet for processing {"connection_id":163053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:37:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639834624001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655905000,"timestamp_ms":1787655905000,"timestamp_seconds":1787655905,"priority":1,"record_length":96,"hex_timestamp":"000001a038985ee8"} 
[2026-08-25 16:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:37:58] 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-25 16:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:37:58] 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-25 16:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639834624001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639834624001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:37:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:37:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639834624001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":163053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:37:58] local.INFO: GPS data processed {"connection_id":163053,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:37:58] local.INFO: Acknowledgment sent {"connection_id":163053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:38:18] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038999768012da36540054b74b00000014128..."} 
[2026-08-25 16:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038999768012da36540054b74b00000014128..."} 
[2026-08-25 16:38:18] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038999768012da36540054b74b00000014128..."} 
[2026-08-25 16:38:18] local.INFO: Packet analysis {"connection_id":161809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03899"} 
[2026-08-25 16:38:18] local.INFO: Extracted packet for processing {"connection_id":161809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03899"} 
[2026-08-25 16:38:18] local.INFO: GPS Element Parsed {"raw_longitude":765683008,"raw_latitude":88831152,"longitude_deg":76.5683008,"latitude_deg":8.8831152,"altitude":0,"angle":321,"satellites":40,"speed":0,"hex_longitude":"2da36540","hex_latitude":"054b74b0","is_valid_coordinates":true} 
[2026-08-25 16:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639926784001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833970252054528,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6672856881394569216,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787655985000,"timestamp_ms":1787655985000,"timestamp_seconds":1787655985,"priority":1,"record_length":96,"hex_timestamp":"000001a038999768"} 
[2026-08-25 16:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:38: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-25 16:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 16:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639926784001,"66":13015,"35":206,"84":6144,"24":0,"16":123833970252054528,"45":-6672856881394569216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 16:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639926784001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:38:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 16:38:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833970252054528,"km_value":123833970252054.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6672856881394569216,"description":"Unknown IO ID 45"} 
[2026-08-25 16:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639926784001,"power":13015,"unknown_35":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6672856881394569216}} 
[2026-08-25 16:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":161809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:38:18] local.INFO: GPS data processed {"connection_id":161809,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:38:18] local.INFO: Acknowledgment sent {"connection_id":161809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:38:22] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:38:22] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:38:22] local.INFO: Packet analysis {"connection_id":161810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:38:22] local.INFO: Extracted packet for processing {"connection_id":161810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:38:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639816448001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787655834000,"timestamp_ms":1787655834000,"timestamp_seconds":1787655834,"priority":1,"record_length":96,"hex_timestamp":"000001a038974990"} 
[2026-08-25 16: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-25 16:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639816448001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639816448001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:38:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639816448001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":161810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:38:22] local.INFO: GPS data processed {"connection_id":161810,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:38:22] local.INFO: Acknowledgment sent {"connection_id":161810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:38:29] local.INFO: TCP Data received {"connection_id":163053,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:38:29] local.INFO: Processing buffer {"connection_id":163053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:38:29] local.INFO: Packet analysis {"connection_id":163053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:38:29] local.INFO: Extracted packet for processing {"connection_id":163053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:38:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639834624001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655905000,"timestamp_ms":1787655905000,"timestamp_seconds":1787655905,"priority":1,"record_length":96,"hex_timestamp":"000001a038985ee8"} 
[2026-08-25 16:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:38:29] 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-25 16:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:38:29] 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-25 16:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639834624001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639834624001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:38:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:38:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639834624001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":163053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:38:29] local.INFO: GPS data processed {"connection_id":163053,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:38:29] local.INFO: Acknowledgment sent {"connection_id":163053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:38:40] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:38:40] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:38:40] local.INFO: IMEI packet received {"connection_id":162053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":162053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:38:41] local.INFO: TCP Data received {"connection_id":163054,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:38:41] local.INFO: Processing buffer {"connection_id":163054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:38:41] local.INFO: IMEI packet received {"connection_id":163054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":163054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:38:46] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:38:46] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:38:46] local.INFO: IMEI packet received {"connection_id":162053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":162053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:38:47] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03899e970012da36540054b74b00000014128..."} 
[2026-08-25 16:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03899e970012da36540054b74b00000014128..."} 
[2026-08-25 16:38:47] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03899e970012da36540054b74b00000014128..."} 
[2026-08-25 16:38:47] local.INFO: Packet analysis {"connection_id":162053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03899"} 
[2026-08-25 16:38:47] local.INFO: Extracted packet for processing {"connection_id":162053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03899"} 
[2026-08-25 16:38:47] local.INFO: GPS Element Parsed {"raw_longitude":765683008,"raw_latitude":88831152,"longitude_deg":76.5683008,"latitude_deg":8.8831152,"altitude":0,"angle":321,"satellites":40,"speed":0,"hex_longitude":"2da36540","hex_latitude":"054b74b0","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639932160001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833970252054528,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6672856881394569216,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787656006000,"timestamp_ms":1787656006000,"timestamp_seconds":1787656006,"priority":1,"record_length":96,"hex_timestamp":"000001a03899e970"} 
[2026-08-25 16: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-25 16:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-25 16:38:47] 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-25 16: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-25 16: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-25 16:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639932160001,"66":13178,"35":206,"84":6144,"24":0,"16":123833970252054528,"45":-6672856881394569216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 16:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639932160001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:38:47] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 16:38:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833970252054528,"km_value":123833970252054.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6672856881394569216,"description":"Unknown IO ID 45"} 
[2026-08-25 16:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639932160001,"power":13178,"unknown_35":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6672856881394569216}} 
[2026-08-25 16:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":162053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:38:47] local.INFO: GPS data processed {"connection_id":162053,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:38:47] local.INFO: Acknowledgment sent {"connection_id":162053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:38:47] local.INFO: TCP Data received {"connection_id":163054,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:38:47] local.INFO: Processing buffer {"connection_id":163054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:38:47] local.INFO: IMEI packet received {"connection_id":163054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":163054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:38:48] local.INFO: TCP Data received {"connection_id":163054,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:38:48] local.INFO: Processing buffer {"connection_id":163054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:38:48] local.INFO: Packet analysis {"connection_id":163054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:38:48] local.INFO: Extracted packet for processing {"connection_id":163054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639816448001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787655834000,"timestamp_ms":1787655834000,"timestamp_seconds":1787655834,"priority":1,"record_length":96,"hex_timestamp":"000001a038974990"} 
[2026-08-25 16: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-25 16:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16: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-25 16:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639816448001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639816448001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639816448001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":163054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:38:48] local.INFO: GPS data processed {"connection_id":163054,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:38:48] local.INFO: Acknowledgment sent {"connection_id":163054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:38:52] local.INFO: TCP Data received {"connection_id":164426,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:38:52] local.INFO: Processing buffer {"connection_id":164426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:38:52] local.INFO: IMEI packet received {"connection_id":164426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":164426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:38:57] local.INFO: TCP Data received {"connection_id":164426,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:38:57] local.INFO: Processing buffer {"connection_id":164426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:38:57] local.INFO: IMEI packet received {"connection_id":164426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":164426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:38:58] local.INFO: TCP Data received {"connection_id":164426,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:38:58] local.INFO: Processing buffer {"connection_id":164426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:38:58] local.INFO: Packet analysis {"connection_id":164426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:38:58] local.INFO: Extracted packet for processing {"connection_id":164426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:38:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639834624001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655905000,"timestamp_ms":1787655905000,"timestamp_seconds":1787655905,"priority":1,"record_length":96,"hex_timestamp":"000001a038985ee8"} 
[2026-08-25 16: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-25 16:38:58] 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-25 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16: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-25 16: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-25 16:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:38:58] 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-25 16:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639834624001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639834624001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:38:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:38:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639834624001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":164426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:38:58] local.INFO: GPS data processed {"connection_id":164426,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:38:58] local.INFO: Acknowledgment sent {"connection_id":164426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:39:18] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389a3b78012da36540054b74b00000014128..."} 
[2026-08-25 16:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389a3b78012da36540054b74b00000014128..."} 
[2026-08-25 16:39:18] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389a3b78012da36540054b74b00000014128..."} 
[2026-08-25 16:39:18] local.INFO: Packet analysis {"connection_id":162053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389a"} 
[2026-08-25 16:39:18] local.INFO: Extracted packet for processing {"connection_id":162053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389a"} 
[2026-08-25 16:39:18] local.INFO: GPS Element Parsed {"raw_longitude":765683008,"raw_latitude":88831152,"longitude_deg":76.5683008,"latitude_deg":8.8831152,"altitude":0,"angle":321,"satellites":40,"speed":0,"hex_longitude":"2da36540","hex_latitude":"054b74b0","is_valid_coordinates":true} 
[2026-08-25 16:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639937536001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123833970252054528,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6672856881394569216,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787656027000,"timestamp_ms":1787656027000,"timestamp_seconds":1787656027,"priority":1,"record_length":96,"hex_timestamp":"000001a0389a3b78"} 
[2026-08-25 16:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:39: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-25 16:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-25 16:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639937536001,"66":13341,"35":206,"84":6144,"24":0,"16":123833970252054528,"45":-6672856881394569216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 16:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639937536001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:39:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 16:39:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123833970252054528,"km_value":123833970252054.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6672856881394569216,"description":"Unknown IO ID 45"} 
[2026-08-25 16:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639937536001,"power":13341,"unknown_35":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6672856881394569216}} 
[2026-08-25 16:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":162053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:39:18] local.INFO: GPS data processed {"connection_id":162053,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:39:18] local.INFO: Acknowledgment sent {"connection_id":162053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:39:20] local.INFO: TCP Data received {"connection_id":163054,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:39:20] local.INFO: Processing buffer {"connection_id":163054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038974990012d34c14006aa4818000400e62c..."} 
[2026-08-25 16:39:20] local.INFO: Packet analysis {"connection_id":163054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:39:20] local.INFO: Extracted packet for processing {"connection_id":163054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03897"} 
[2026-08-25 16:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639816448001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787655834000,"timestamp_ms":1787655834000,"timestamp_seconds":1787655834,"priority":1,"record_length":96,"hex_timestamp":"000001a038974990"} 
[2026-08-25 16: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-25 16:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-25 16:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:39: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-25 16:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639816448001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639816448001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:39:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639816448001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":163054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:39:20] local.INFO: GPS data processed {"connection_id":163054,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:39:20] local.INFO: Acknowledgment sent {"connection_id":163054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:39:29] local.INFO: TCP Data received {"connection_id":164426,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:39:29] local.INFO: Processing buffer {"connection_id":164426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:39:29] local.INFO: Packet analysis {"connection_id":164426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:39:29] local.INFO: Extracted packet for processing {"connection_id":164426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:39:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639834624001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787655905000,"timestamp_ms":1787655905000,"timestamp_seconds":1787655905,"priority":1,"record_length":96,"hex_timestamp":"000001a038985ee8"} 
[2026-08-25 16:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:39:29] 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-25 16:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:39:29] 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-25 16:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639834624001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639834624001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:39:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:39:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639834624001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":164426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:39:29] local.INFO: GPS data processed {"connection_id":164426,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:39:29] local.INFO: Acknowledgment sent {"connection_id":164426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:39:39] local.INFO: TCP Data received {"connection_id":164427,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:39:39] local.INFO: Processing buffer {"connection_id":164427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:39:39] local.INFO: IMEI packet received {"connection_id":164427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":164427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:39:45] local.INFO: TCP Data received {"connection_id":164427,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:39:45] local.INFO: Processing buffer {"connection_id":164427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:39:45] local.INFO: IMEI packet received {"connection_id":164427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":164427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:39:46] local.INFO: TCP Data received {"connection_id":163055,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:39:46] local.INFO: Processing buffer {"connection_id":163055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:39:46] local.INFO: IMEI packet received {"connection_id":163055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":163055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:39:46] local.INFO: TCP Data received {"connection_id":164427,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:39:46] local.INFO: Processing buffer {"connection_id":164427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:39:46] local.INFO: Packet analysis {"connection_id":164427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:39:46] local.INFO: Extracted packet for processing {"connection_id":164427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639893504001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787656135000,"timestamp_ms":1787656135000,"timestamp_seconds":1787656135,"priority":1,"record_length":96,"hex_timestamp":"000001a0389be158"} 
[2026-08-25 16:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639893504001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639893504001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639893504001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":164427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:39:46] local.INFO: GPS data processed {"connection_id":164427,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:39:46] local.INFO: Acknowledgment sent {"connection_id":164427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:39:51] local.INFO: TCP Data received {"connection_id":163055,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:39:51] local.INFO: Processing buffer {"connection_id":163055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:39:51] local.INFO: IMEI packet received {"connection_id":163055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":163055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:39:52] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:39:52] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:39:52] local.INFO: IMEI packet received {"connection_id":162055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":162055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:39:52] local.INFO: TCP Data received {"connection_id":163055,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389c2f78012da3b6c0054bd4280005002d28..."} 
[2026-08-25 16:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389c2f78012da3b6c0054bd4280005002d28..."} 
[2026-08-25 16:39:52] local.INFO: Processing buffer {"connection_id":163055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389c2f78012da3b6c0054bd4280005002d28..."} 
[2026-08-25 16:39:52] local.INFO: Packet analysis {"connection_id":163055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:39:52] local.INFO: Extracted packet for processing {"connection_id":163055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:39:52] local.INFO: GPS Element Parsed {"raw_longitude":765703872,"raw_latitude":88855592,"longitude_deg":76.5703872,"latitude_deg":8.8855592,"altitude":5,"angle":45,"satellites":40,"speed":28,"hex_longitude":"2da3b6c0","hex_latitude":"054bd428","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639974144001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123835722598711296,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6653012895531089920,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787656155000,"timestamp_ms":1787656155000,"timestamp_seconds":1787656155,"priority":1,"record_length":96,"hex_timestamp":"000001a0389c2f78"} 
[2026-08-25 16: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-25 16:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 16:39:52] 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-25 16: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-25 16: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-25 16:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639974144001,"66":13515,"35":206,"84":6144,"24":28,"16":123835722598711296,"45":-6653012895531089920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 16:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639974144001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:39:52] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 16:39:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123835722598711296,"km_value":123835722598711.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6653012895531089920,"description":"Unknown IO ID 45"} 
[2026-08-25 16:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639974144001,"power":13515,"unknown_35":206,"unknown_84":6144,"ignition":28,"odometer":null,"unknown_45":-6653012895531089920}} 
[2026-08-25 16:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":163055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:39:52] local.INFO: GPS data processed {"connection_id":163055,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:39:52] local.INFO: Acknowledgment sent {"connection_id":163055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:39:53] local.INFO: TCP Data received {"connection_id":163055,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389c6a10012da3d280054beab00004003129..."} 
[2026-08-25 16:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389c6a10012da3d280054beab00004003129..."} 
[2026-08-25 16:39:53] local.INFO: Processing buffer {"connection_id":163055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389c6a10012da3d280054beab00004003129..."} 
[2026-08-25 16:39:53] local.INFO: Packet analysis {"connection_id":163055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:39:53] local.INFO: Extracted packet for processing {"connection_id":163055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:39:53] local.INFO: GPS Element Parsed {"raw_longitude":765710976,"raw_latitude":88861360,"longitude_deg":76.5710976,"latitude_deg":8.886136,"altitude":4,"angle":49,"satellites":41,"speed":18,"hex_longitude":"2da3d280","hex_latitude":"054beab0","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639975680001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123836164980342784,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6649916670786394112,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787656170000,"timestamp_ms":1787656170000,"timestamp_seconds":1787656170,"priority":1,"record_length":96,"hex_timestamp":"000001a0389c6a10"} 
[2026-08-25 16: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-25 16:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 16:39:53] 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-25 16: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-25 16: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-25 16:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639975680001,"66":13363,"96":206,"84":6144,"24":18,"16":123836164980342784,"45":-6649916670786394112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 16:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639975680001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:39:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 16:39:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123836164980342784,"km_value":123836164980342.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6649916670786394112,"description":"Unknown IO ID 45"} 
[2026-08-25 16:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639975680001,"power":13363,"unknown_96":206,"unknown_84":6144,"ignition":18,"odometer":null,"unknown_45":-6649916670786394112}} 
[2026-08-25 16:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":163055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:39:53] local.INFO: GPS data processed {"connection_id":163055,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:39:53] local.INFO: Acknowledgment sent {"connection_id":163055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:39:57] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:39:57] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:39:57] local.INFO: IMEI packet received {"connection_id":162055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":162055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:39:58] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:39:58] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:39:58] local.INFO: Packet analysis {"connection_id":162055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:39:58] local.INFO: Extracted packet for processing {"connection_id":162055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:39:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639834624001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787655905000,"timestamp_ms":1787655905000,"timestamp_seconds":1787655905,"priority":1,"record_length":96,"hex_timestamp":"000001a038985ee8"} 
[2026-08-25 16:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:39:58] 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-25 16:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:39:58] 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-25 16:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639834624001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639834624001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:39:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639834624001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":162055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:39:58] local.INFO: GPS data processed {"connection_id":162055,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:39:58] local.INFO: Acknowledgment sent {"connection_id":162055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:40:20] local.INFO: TCP Data received {"connection_id":164427,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:40:20] local.INFO: Processing buffer {"connection_id":164427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:40:20] local.INFO: Packet analysis {"connection_id":164427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:40:20] local.INFO: Extracted packet for processing {"connection_id":164427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 16:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639893504001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787656135000,"timestamp_ms":1787656135000,"timestamp_seconds":1787656135,"priority":1,"record_length":96,"hex_timestamp":"000001a0389be158"} 
[2026-08-25 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-25 16:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 16:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:40: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-25 16:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639893504001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639893504001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639893504001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":164427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:40:20] local.INFO: GPS data processed {"connection_id":164427,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:40:20] local.INFO: Acknowledgment sent {"connection_id":164427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:40:24] local.INFO: TCP Data received {"connection_id":163055,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389c71e0012da3d440054becc00004002229..."} 
[2026-08-25 16:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389c71e0012da3d440054becc00004002229..."} 
[2026-08-25 16:40:24] local.INFO: Processing buffer {"connection_id":163055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389c71e0012da3d440054becc00004002229..."} 
[2026-08-25 16:40:24] local.INFO: Packet analysis {"connection_id":163055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:40:24] local.INFO: Extracted packet for processing {"connection_id":163055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:40:24] local.INFO: GPS Element Parsed {"raw_longitude":765711424,"raw_latitude":88861888,"longitude_deg":76.5711424,"latitude_deg":8.8861888,"altitude":4,"angle":34,"satellites":41,"speed":10,"hex_longitude":"2da3d440","hex_latitude":"054becc0","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639979520001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123836199340081152,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6642105740181196800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787656172000,"timestamp_ms":1787656172000,"timestamp_seconds":1787656172,"priority":1,"record_length":96,"hex_timestamp":"000001a0389c71e0"} 
[2026-08-25 16: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-25 16:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 16:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639979520001,"66":13319,"96":206,"84":6144,"24":10,"16":123836199340081152,"45":-6642105740181196800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 16:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639979520001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:40:24] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 16:40:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123836199340081152,"km_value":123836199340081.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6642105740181196800,"description":"Unknown IO ID 45"} 
[2026-08-25 16:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639979520001,"power":13319,"unknown_96":206,"unknown_84":6144,"ignition":10,"odometer":null,"unknown_45":-6642105740181196800}} 
[2026-08-25 16:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":163055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:40:24] local.INFO: GPS data processed {"connection_id":163055,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:40:24] local.INFO: Acknowledgment sent {"connection_id":163055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:40:30] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:40:30] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038985ee8012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:40:30] local.INFO: Packet analysis {"connection_id":162055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:40:30] local.INFO: Extracted packet for processing {"connection_id":162055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03898"} 
[2026-08-25 16:40:30] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639834624001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787655905000,"timestamp_ms":1787655905000,"timestamp_seconds":1787655905,"priority":1,"record_length":96,"hex_timestamp":"000001a038985ee8"} 
[2026-08-25 16:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:40:30] 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-25 16:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:40:30] 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-25 16:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639834624001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639834624001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:40:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639834624001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":162055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:40:30] local.INFO: GPS data processed {"connection_id":162055,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:40:30] local.INFO: Acknowledgment sent {"connection_id":162055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:40:41] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:40:41] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:40:41] local.INFO: IMEI packet received {"connection_id":161812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":161812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:40:41] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:40:41] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:40:41] local.INFO: IMEI packet received {"connection_id":161812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":161812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:40:44] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:40:44] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:40:44] local.INFO: IMEI packet received {"connection_id":161813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":161813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:40:46] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:40:46] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:40:46] local.INFO: IMEI packet received {"connection_id":161812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":161812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:40:47] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389c7d98012da3d600054beee00004003228..."} 
[2026-08-25 16:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389c7d98012da3d600054beee00004003228..."} 
[2026-08-25 16:40:47] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389c7d98012da3d600054beee00004003228..."} 
[2026-08-25 16:40:47] local.INFO: Packet analysis {"connection_id":161812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:40:47] local.INFO: Extracted packet for processing {"connection_id":161812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":765711872,"raw_latitude":88862432,"longitude_deg":76.5711872,"latitude_deg":8.8862432,"altitude":4,"angle":50,"satellites":40,"speed":9,"hex_longitude":"2da3d600","hex_latitude":"054beee0","is_valid_coordinates":true} 
[2026-08-25 16:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639980032001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123836233699819520,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6641613158971817984,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787656175000,"timestamp_ms":1787656175000,"timestamp_seconds":1787656175,"priority":1,"record_length":96,"hex_timestamp":"000001a0389c7d98"} 
[2026-08-25 16:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 16:40:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2744942597,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:47] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3170893824,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:47] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2615748609,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:47] local.WARNING: Large IO value detected {"io_id":75,"raw_value":8358680942762403840,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1210253518,"corrected_to":0} 
[2026-08-25 16:40:47] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4075618304,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:47] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57781685400261656,"corrected_to":0} 
[2026-08-25 16:40:47] local.WARNING: Large IO value detected {"io_id":155,"raw_value":4697255706876067845,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:47] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,96,84,24,241,157,16,244,160,106,45,128,234,4,41,10,66,47,192,212,5,40,35,243,1,240,29,227,56,75,113,205,31,151,142,37,239,52,2,183,8,247,155],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1210253518,"validated":0},{"io_id":247,"original":57781685400261656,"validated":0}]} 
[2026-08-25 16:40:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288267935641370624,"timestamp_seconds":288267935641370.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639980032001,"66":13580,"96":206,"84":6144,"24":9,"16":123836233699819520,"45":-6641613158971817984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 16:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639980032001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:40:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 16:40:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123836233699819520,"km_value":123836233699819.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6641613158971817984,"description":"Unknown IO ID 45"} 
[2026-08-25 16:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639980032001,"power":13580,"unknown_96":206,"unknown_84":6144,"ignition":9,"odometer":null,"unknown_45":-6641613158971817984}} 
[2026-08-25 16:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":161812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:40:47] local.INFO: GPS data processed {"connection_id":161812,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:40:47] local.INFO: Acknowledgment sent {"connection_id":161812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:40:48] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389cb448012da3ef40054bfda80005003e2c..."} 
[2026-08-25 16:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389cb448012da3ef40054bfda80005003e2c..."} 
[2026-08-25 16:40:48] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389cb448012da3ef40054bfda80005003e2c..."} 
[2026-08-25 16:40:48] local.INFO: Packet analysis {"connection_id":161812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:40:48] local.INFO: Extracted packet for processing {"connection_id":161812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:40:48] local.INFO: GPS Element Parsed {"raw_longitude":765718336,"raw_latitude":88866216,"longitude_deg":76.5718336,"latitude_deg":8.8866216,"altitude":5,"angle":62,"satellites":44,"speed":24,"hex_longitude":"2da3ef40","hex_latitude":"054bfda8","is_valid_coordinates":true} 
[2026-08-25 16:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639980800001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123836590182105088,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6641120577762435072,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787656189000,"timestamp_ms":1787656189000,"timestamp_seconds":1787656189,"priority":1,"record_length":96,"hex_timestamp":"000001a0389cb448"} 
[2026-08-25 16:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626226,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6755416621056241,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2745942021,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634974052567075,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5191826836148977664,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13453347,"corrected_to":0} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":243,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2618820609,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3334471685,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1210253518,"corrected_to":0} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2147830694,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292636632756652,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4082499584,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-8754991853969866744,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,96,84,24,241,157,16,244,160,113,45,64,236,4,41,10,66,106,128,234,47,192,1,240,203,227,243,56,75,205,27,233,156,88,38,239,52,35,2,183,5,8,163],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":203,"original":13453347,"validated":0},{"io_id":205,"original":1210253518,"validated":0}]} 
[2026-08-25 16:40:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288285523532382208,"timestamp_seconds":288285523532382.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639980800001,"66":13646,"96":206,"84":6144,"24":24,"16":123836590182105088,"45":-6641120577762435072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 16:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639980800001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:40:48] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 16:40:48] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123836590182105088,"km_value":123836590182105.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6641120577762435072,"description":"Unknown IO ID 45"} 
[2026-08-25 16:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639980800001,"power":13646,"unknown_96":206,"unknown_84":6144,"ignition":24,"odometer":null,"unknown_45":-6641120577762435072}} 
[2026-08-25 16:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":161812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:40:48] local.INFO: GPS data processed {"connection_id":161812,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:40:48] local.INFO: Acknowledgment sent {"connection_id":161812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:40:49] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:40:49] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:40:49] local.INFO: IMEI packet received {"connection_id":161813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":161813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:40:51] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:40:51] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:40:51] local.INFO: Packet analysis {"connection_id":161813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:40:51] local.INFO: Extracted packet for processing {"connection_id":161813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639893504001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787656135000,"timestamp_ms":1787656135000,"timestamp_seconds":1787656135,"priority":1,"record_length":96,"hex_timestamp":"000001a0389be158"} 
[2026-08-25 16:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639893504001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639893504001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639893504001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":161813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:40:51] local.INFO: GPS data processed {"connection_id":161813,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:40:51] local.INFO: Acknowledgment sent {"connection_id":161813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:40:55] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:40:55] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:40:55] local.INFO: Packet analysis {"connection_id":161813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:40:55] local.INFO: Extracted packet for processing {"connection_id":161813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:40:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639893504001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787656135000,"timestamp_ms":1787656135000,"timestamp_seconds":1787656135,"priority":1,"record_length":96,"hex_timestamp":"000001a0389be158"} 
[2026-08-25 16: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-25 16:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639893504001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639893504001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:40:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639893504001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":161813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:40:55] local.INFO: GPS data processed {"connection_id":161813,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:40:55] local.INFO: Acknowledgment sent {"connection_id":161813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:40:57] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:40:57] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:40:57] local.INFO: IMEI packet received {"connection_id":162056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":162056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:41:02] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:41:02] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:41:02] local.INFO: IMEI packet received {"connection_id":162056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":162056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:41:03] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:41:03] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:41:03] local.INFO: Packet analysis {"connection_id":162056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:41:03] local.INFO: Extracted packet for processing {"connection_id":162056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:41:03] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639911680001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787656206000,"timestamp_ms":1787656206000,"timestamp_seconds":1787656206,"priority":1,"record_length":96,"hex_timestamp":"000001a0389cf6b0"} 
[2026-08-25 16: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-25 16:41:03] 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-25 16: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 16:41:03] 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-25 16: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-25 16: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-25 16:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:41:03] 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-25 16:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639911680001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639911680001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:41:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639911680001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":162056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:41:03] local.INFO: GPS data processed {"connection_id":162056,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:41:03] local.INFO: Acknowledgment sent {"connection_id":162056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:41:07] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:41:07] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:41:07] local.INFO: Packet analysis {"connection_id":162056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:41:07] local.INFO: Extracted packet for processing {"connection_id":162056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639911680001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787656206000,"timestamp_ms":1787656206000,"timestamp_seconds":1787656206,"priority":1,"record_length":96,"hex_timestamp":"000001a0389cf6b0"} 
[2026-08-25 16: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-25 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 16:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:41:07] 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-25 16:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639911680001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639911680001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:41:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639911680001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":162056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:41:07] local.INFO: GPS data processed {"connection_id":162056,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:41:07] local.INFO: Acknowledgment sent {"connection_id":162056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:41:19] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389ce328012da40e80054c0d780004004028..."} 
[2026-08-25 16:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389ce328012da40e80054c0d780004004028..."} 
[2026-08-25 16:41:19] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389ce328012da40e80054c0d780004004028..."} 
[2026-08-25 16:41:19] local.INFO: Packet analysis {"connection_id":161812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:41:19] local.INFO: Extracted packet for processing {"connection_id":161812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:41:19] local.INFO: GPS Element Parsed {"raw_longitude":765726336,"raw_latitude":88870264,"longitude_deg":76.5726336,"latitude_deg":8.8870264,"altitude":4,"angle":64,"satellites":40,"speed":35,"hex_longitude":"2da40e80","hex_latitude":"054c0d78","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639984384001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123837023973801984,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6634013334599522304,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787656201000,"timestamp_ms":1787656201000,"timestamp_seconds":1787656201,"priority":1,"record_length":96,"hex_timestamp":"000001a0389ce328"} 
[2026-08-25 16: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-25 16:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-25 16:41:19] 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-25 16: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-25 16: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-25 16:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639984384001,"66":13580,"96":206,"84":6144,"24":35,"16":123837023973801984,"45":-6634013334599522304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 16:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639984384001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:41:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 16:41:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123837023973801984,"km_value":123837023973801.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6634013334599522304,"description":"Unknown IO ID 45"} 
[2026-08-25 16:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639984384001,"power":13580,"unknown_96":206,"unknown_84":6144,"ignition":35,"odometer":null,"unknown_45":-6634013334599522304}} 
[2026-08-25 16:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":161812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:41:19] local.INFO: GPS data processed {"connection_id":161812,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:41:19] local.INFO: Acknowledgment sent {"connection_id":161812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:41:40] local.INFO: TCP Data received {"connection_id":164428,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:41:40] local.INFO: Processing buffer {"connection_id":164428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:41:40] local.INFO: IMEI packet received {"connection_id":164428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":164428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:41:41] local.INFO: TCP Data received {"connection_id":163057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:41:41] local.INFO: Processing buffer {"connection_id":163057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:41:41] local.INFO: IMEI packet received {"connection_id":163057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":163057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:41:42] local.INFO: TCP Data received {"connection_id":163057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:41:42] local.INFO: Processing buffer {"connection_id":163057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:41:42] local.INFO: IMEI packet received {"connection_id":163057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":163057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:41:44] local.INFO: TCP Data received {"connection_id":164428,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:41:44] local.INFO: Processing buffer {"connection_id":164428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:41:44] local.INFO: IMEI packet received {"connection_id":164428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":164428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:41:45] local.INFO: TCP Data received {"connection_id":164428,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:41:45] local.INFO: Processing buffer {"connection_id":164428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:41:45] local.INFO: Packet analysis {"connection_id":164428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:41:45] local.INFO: Extracted packet for processing {"connection_id":164428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639893504001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787656135000,"timestamp_ms":1787656135000,"timestamp_seconds":1787656135,"priority":1,"record_length":96,"hex_timestamp":"000001a0389be158"} 
[2026-08-25 16:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639893504001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639893504001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:41:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639893504001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":164428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:41:45] local.INFO: GPS data processed {"connection_id":164428,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:41:45] local.INFO: Acknowledgment sent {"connection_id":164428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:41:46] local.INFO: TCP Data received {"connection_id":163057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:41:46] local.INFO: Processing buffer {"connection_id":163057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:41:46] local.INFO: IMEI packet received {"connection_id":163057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":163057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:41:47] local.INFO: TCP Data received {"connection_id":163057,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389e17c0012da470c0054c6050000d000322..."} 
[2026-08-25 16:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389e17c0012da470c0054c6050000d000322..."} 
[2026-08-25 16:41:47] local.INFO: Processing buffer {"connection_id":163057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389e17c0012da470c0054c6050000d000322..."} 
[2026-08-25 16:41:47] local.INFO: Packet analysis {"connection_id":163057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389e"} 
[2026-08-25 16:41:47] local.INFO: Extracted packet for processing {"connection_id":163057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389e"} 
[2026-08-25 16:41:47] local.INFO: GPS Element Parsed {"raw_longitude":765751488,"raw_latitude":88891472,"longitude_deg":76.5751488,"latitude_deg":8.8891472,"altitude":13,"angle":3,"satellites":34,"speed":21,"hex_longitude":"2da470c0","hex_latitude":"054c6050","is_valid_coordinates":true} 
[2026-08-25 16:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640006912001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123839313191370752,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6597421587621068800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787656280000,"timestamp_ms":1787656280000,"timestamp_seconds":1787656280,"priority":1,"record_length":96,"hex_timestamp":"000001a0389e17c0"} 
[2026-08-25 16:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 16:41:47] 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-25 16:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640006912001,"66":13559,"98":206,"84":6144,"24":21,"16":123839313191370752,"45":-6597421587621068800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,84,24,16,45]} 
[2026-08-25 16:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640006912001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:41:47] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-25 16:41:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123839313191370752,"km_value":123839313191370.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6597421587621068800,"description":"Unknown IO ID 45"} 
[2026-08-25 16:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640006912001,"power":13559,"unknown_98":206,"unknown_84":6144,"ignition":21,"odometer":null,"unknown_45":-6597421587621068800}} 
[2026-08-25 16:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":163057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:41:47] local.INFO: GPS data processed {"connection_id":163057,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:41:47] local.INFO: Acknowledgment sent {"connection_id":163057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:41:48] local.INFO: TCP Data received {"connection_id":163057,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389e42b8012da47000054c8458000e016528..."} 
[2026-08-25 16:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389e42b8012da47000054c8458000e016528..."} 
[2026-08-25 16:41:48] local.INFO: Processing buffer {"connection_id":163057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389e42b8012da47000054c8458000e016528..."} 
[2026-08-25 16:41:48] local.INFO: Packet analysis {"connection_id":163057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389e"} 
[2026-08-25 16:41:48] local.INFO: Extracted packet for processing {"connection_id":163057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389e"} 
[2026-08-25 16:41:48] local.INFO: GPS Element Parsed {"raw_longitude":765751296,"raw_latitude":88900696,"longitude_deg":76.5751296,"latitude_deg":8.8900696,"altitude":14,"angle":357,"satellites":40,"speed":39,"hex_longitude":"2da47000","hex_latitude":"054c8458","is_valid_coordinates":true} 
[2026-08-25 16:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640007680001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123839759867969536,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6597562325109026816,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787656291000,"timestamp_ms":1787656291000,"timestamp_seconds":1787656291,"priority":1,"record_length":96,"hex_timestamp":"000001a0389e42b8"} 
[2026-08-25 16:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 16:41:48] 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-25 16:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640007680001,"66":13472,"98":206,"84":6144,"24":39,"16":123839759867969536,"45":-6597562325109026816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,84,24,16,45]} 
[2026-08-25 16:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640007680001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:41:48] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-25 16:41:48] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123839759867969536,"km_value":123839759867969.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6597562325109026816,"description":"Unknown IO ID 45"} 
[2026-08-25 16:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640007680001,"power":13472,"unknown_98":206,"unknown_84":6144,"ignition":39,"odometer":null,"unknown_45":-6597562325109026816}} 
[2026-08-25 16:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":163057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:41:48] local.INFO: GPS data processed {"connection_id":163057,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:41:48] local.INFO: Acknowledgment sent {"connection_id":163057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:41:50] local.INFO: TCP Data received {"connection_id":164428,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:41:50] local.INFO: Processing buffer {"connection_id":164428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:41:50] local.INFO: Packet analysis {"connection_id":164428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:41:50] local.INFO: Extracted packet for processing {"connection_id":164428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:41:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639893504001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787656135000,"timestamp_ms":1787656135000,"timestamp_seconds":1787656135,"priority":1,"record_length":96,"hex_timestamp":"000001a0389be158"} 
[2026-08-25 16:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:41: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-25 16:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639893504001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639893504001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639893504001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":164428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:41:50] local.INFO: GPS data processed {"connection_id":164428,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:41:50] local.INFO: Acknowledgment sent {"connection_id":164428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:41:52] local.INFO: TCP Data received {"connection_id":163058,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:41:52] local.INFO: Processing buffer {"connection_id":163058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:41:52] local.INFO: IMEI packet received {"connection_id":163058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":163058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:41:57] local.INFO: TCP Data received {"connection_id":163058,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:41:57] local.INFO: Processing buffer {"connection_id":163058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:41:57] local.INFO: IMEI packet received {"connection_id":163058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":163058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:41:58] local.INFO: TCP Data received {"connection_id":163058,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:41:58] local.INFO: Processing buffer {"connection_id":163058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:41:58] local.INFO: Packet analysis {"connection_id":163058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:41:58] local.INFO: Extracted packet for processing {"connection_id":163058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:41:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:41: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-25 16:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639911680001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787656206000,"timestamp_ms":1787656206000,"timestamp_seconds":1787656206,"priority":1,"record_length":96,"hex_timestamp":"000001a0389cf6b0"} 
[2026-08-25 16:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:41:58] 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-25 16:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 16:41:58] 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-25 16:41: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-25 16:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:41:58] 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-25 16:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639911680001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639911680001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:41:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:41:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639911680001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":163058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:41:58] local.INFO: GPS data processed {"connection_id":163058,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:41:58] local.INFO: Acknowledgment sent {"connection_id":163058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:42:20] local.INFO: TCP Data received {"connection_id":163057,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a0389eb400012da44f00054cca58000c015926..."} 
[2026-08-25 16:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163057,"packet_length":93,"packet_hex":"00000000000000518e01000001a0389eb400012da44f00054cca58000c015926..."} 
[2026-08-25 16:42:20] local.INFO: Processing buffer {"connection_id":163057,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0389eb400012da44f00054cca58000c015926..."} 
[2026-08-25 16:42:20] local.INFO: Packet analysis {"connection_id":163057,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0389e"} 
[2026-08-25 16:42:20] local.INFO: Extracted packet for processing {"connection_id":163057,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0389e"} 
[2026-08-25 16:42:20] local.INFO: GPS Element Parsed {"raw_longitude":765742848,"raw_latitude":88918616,"longitude_deg":76.5742848,"latitude_deg":8.8918616,"altitude":12,"angle":345,"satellites":38,"speed":29,"hex_longitude":"2da44f00","hex_latitude":"054cca58","is_valid_coordinates":true} 
[2026-08-25 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":93,"current_offset":40} 
[2026-08-25 16:42:20] 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-25 16:42:20] 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-25 16:42:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:42:20] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 16:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163057,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 16:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163057,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-25 16:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163057,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-25 16:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 16:42:20] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 16:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":163057,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 16:42:20] local.ERROR: GPS data processing failed {"connection_id":163057,"error":"No valid data to process"} 
[2026-08-25 16:42:20] local.INFO: Acknowledgment sent {"connection_id":163057,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 16:42:23] local.INFO: TCP Data received {"connection_id":164428,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:42:23] local.INFO: Processing buffer {"connection_id":164428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:42:23] local.INFO: Packet analysis {"connection_id":164428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:42:23] local.INFO: Extracted packet for processing {"connection_id":164428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:42:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639893504001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787656135000,"timestamp_ms":1787656135000,"timestamp_seconds":1787656135,"priority":1,"record_length":96,"hex_timestamp":"000001a0389be158"} 
[2026-08-25 16:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639893504001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639893504001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:42:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639893504001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":164428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:42:23] local.INFO: GPS data processed {"connection_id":164428,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:42:23] local.INFO: Acknowledgment sent {"connection_id":164428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:42:29] local.INFO: TCP Data received {"connection_id":163058,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:42:29] local.INFO: Processing buffer {"connection_id":163058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:42:29] local.INFO: Packet analysis {"connection_id":163058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:42:29] local.INFO: Extracted packet for processing {"connection_id":163058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:42:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639911680001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787656206000,"timestamp_ms":1787656206000,"timestamp_seconds":1787656206,"priority":1,"record_length":96,"hex_timestamp":"000001a0389cf6b0"} 
[2026-08-25 16:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:42:29] 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-25 16:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 16:42:29] 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-25 16:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:42:29] 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-25 16:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639911680001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639911680001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:42:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:42:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639911680001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":163058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:42:29] local.INFO: GPS data processed {"connection_id":163058,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:42:29] local.INFO: Acknowledgment sent {"connection_id":163058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:42:39] local.INFO: TCP Data received {"connection_id":163059,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:42:39] local.INFO: Processing buffer {"connection_id":163059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:42:39] local.INFO: IMEI packet received {"connection_id":163059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":163059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:42:41] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:42:41] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:42:41] local.INFO: IMEI packet received {"connection_id":162057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":162057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:42:44] local.INFO: TCP Data received {"connection_id":163059,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:42:44] local.INFO: Processing buffer {"connection_id":163059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:42:44] local.INFO: IMEI packet received {"connection_id":163059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":163059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:42:46] local.INFO: TCP Data received {"connection_id":163059,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:42:46] local.INFO: Processing buffer {"connection_id":163059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:42:46] local.INFO: Packet analysis {"connection_id":163059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:42:46] local.INFO: Extracted packet for processing {"connection_id":163059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639893504001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787656135000,"timestamp_ms":1787656135000,"timestamp_seconds":1787656135,"priority":1,"record_length":96,"hex_timestamp":"000001a0389be158"} 
[2026-08-25 16:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:42:46] 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-25 16:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639893504001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639893504001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639893504001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":163059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:42:46] local.INFO: GPS data processed {"connection_id":163059,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:42:46] local.INFO: Acknowledgment sent {"connection_id":163059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:42:47] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:42:47] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:42:47] local.INFO: IMEI packet received {"connection_id":162057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":162057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:42:48] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389ebbd0012da44f00054cd080000c016525..."} 
[2026-08-25 16:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389ebbd0012da44f00054cd080000c016525..."} 
[2026-08-25 16:42:48] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389ebbd0012da44f00054cd080000c016525..."} 
[2026-08-25 16:42:48] local.INFO: Packet analysis {"connection_id":162057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389e"} 
[2026-08-25 16:42:48] local.INFO: Extracted packet for processing {"connection_id":162057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389e"} 
[2026-08-25 16:42:48] local.INFO: GPS Element Parsed {"raw_longitude":765742848,"raw_latitude":88920192,"longitude_deg":76.5742848,"latitude_deg":8.8920192,"altitude":12,"angle":357,"satellites":37,"speed":32,"hex_longitude":"2da44f00","hex_latitude":"054cd080","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640017920001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123840966753779712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6607062105566062592,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787656322000,"timestamp_ms":1787656322000,"timestamp_seconds":1787656322,"priority":1,"record_length":96,"hex_timestamp":"000001a0389ebbd0"} 
[2026-08-25 16: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-25 16:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 16:42: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-25 16: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-25 16: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-25 16:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640017920001,"66":13624,"79":206,"84":6144,"24":32,"16":123840966753779712,"45":-6607062105566062592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,84,24,16,45]} 
[2026-08-25 16:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640017920001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:42:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-25 16:42:48] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123840966753779712,"km_value":123840966753779.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6607062105566062592,"description":"Unknown IO ID 45"} 
[2026-08-25 16:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640017920001,"power":13624,"unknown_79":206,"unknown_84":6144,"ignition":32,"odometer":null,"unknown_45":-6607062105566062592}} 
[2026-08-25 16:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":162057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:42:48] local.INFO: GPS data processed {"connection_id":162057,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:42:48] local.INFO: Acknowledgment sent {"connection_id":162057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:42:52] local.INFO: TCP Data received {"connection_id":164429,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:42:52] local.INFO: Processing buffer {"connection_id":164429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:42:52] local.INFO: IMEI packet received {"connection_id":164429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":164429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:42:57] local.INFO: TCP Data received {"connection_id":164429,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:42:57] local.INFO: Processing buffer {"connection_id":164429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:42:57] local.INFO: IMEI packet received {"connection_id":164429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":164429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:42:58] local.INFO: TCP Data received {"connection_id":164429,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:42:58] local.INFO: Processing buffer {"connection_id":164429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:42:58] local.INFO: Packet analysis {"connection_id":164429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:42:58] local.INFO: Extracted packet for processing {"connection_id":164429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:42:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639911680001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787656206000,"timestamp_ms":1787656206000,"timestamp_seconds":1787656206,"priority":1,"record_length":96,"hex_timestamp":"000001a0389cf6b0"} 
[2026-08-25 16:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:42:58] 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-25 16:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 16:42:58] 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-25 16:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:42:58] 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-25 16:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639911680001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639911680001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:42:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:42:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639911680001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":164429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:42:58] local.INFO: GPS data processed {"connection_id":164429,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:42:58] local.INFO: Acknowledgment sent {"connection_id":164429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:43:17] local.INFO: TCP Data received {"connection_id":163059,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:43:17] local.INFO: Processing buffer {"connection_id":163059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:43:17] local.INFO: Packet analysis {"connection_id":163059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:43:17] local.INFO: Extracted packet for processing {"connection_id":163059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639893504001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787656135000,"timestamp_ms":1787656135000,"timestamp_seconds":1787656135,"priority":1,"record_length":96,"hex_timestamp":"000001a0389be158"} 
[2026-08-25 16:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639893504001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639893504001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639893504001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":163059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:43:17] local.INFO: GPS data processed {"connection_id":163059,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:43:17] local.INFO: Acknowledgment sent {"connection_id":163059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:43:25] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389ee6c8012da44ec0054cf4f0000b016622..."} 
[2026-08-25 16:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389ee6c8012da44ec0054cf4f0000b016622..."} 
[2026-08-25 16:43:25] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389ee6c8012da44ec0054cf4f0000b016622..."} 
[2026-08-25 16:43:25] local.INFO: Packet analysis {"connection_id":162057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389e"} 
[2026-08-25 16:43:25] local.INFO: Extracted packet for processing {"connection_id":162057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389e"} 
[2026-08-25 16:43:25] local.INFO: GPS Element Parsed {"raw_longitude":765742784,"raw_latitude":88929520,"longitude_deg":76.5742784,"latitude_deg":8.892952,"altitude":11,"angle":358,"satellites":34,"speed":23,"hex_longitude":"2da44ec0","hex_latitude":"054cf4f0","is_valid_coordinates":true} 
[2026-08-25 16:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640018432001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123841422020313088,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6607062105565659136,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787656333000,"timestamp_ms":1787656333000,"timestamp_seconds":1787656333,"priority":1,"record_length":96,"hex_timestamp":"000001a0389ee6c8"} 
[2026-08-25 16:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 16:43:25] 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-25 16:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640018432001,"66":13319,"79":206,"84":6144,"24":23,"16":123841422020313088,"45":-6607062105565659136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,84,24,16,45]} 
[2026-08-25 16:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640018432001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:43:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-25 16:43:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123841422020313088,"km_value":123841422020313.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6607062105565659136,"description":"Unknown IO ID 45"} 
[2026-08-25 16:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640018432001,"power":13319,"unknown_79":206,"unknown_84":6144,"ignition":23,"odometer":null,"unknown_45":-6607062105565659136}} 
[2026-08-25 16:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":162057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:43:25] local.INFO: GPS data processed {"connection_id":162057,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:43:25] local.INFO: Acknowledgment sent {"connection_id":162057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:43:29] local.INFO: TCP Data received {"connection_id":164429,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:43:29] local.INFO: Processing buffer {"connection_id":164429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:43:29] local.INFO: Packet analysis {"connection_id":164429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:43:29] local.INFO: Extracted packet for processing {"connection_id":164429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:43:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639911680001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787656206000,"timestamp_ms":1787656206000,"timestamp_seconds":1787656206,"priority":1,"record_length":96,"hex_timestamp":"000001a0389cf6b0"} 
[2026-08-25 16:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:43:29] 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-25 16:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 16:43:29] 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-25 16:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:43:29] 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-25 16:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639911680001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639911680001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:43:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:43:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639911680001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":164429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:43:29] local.INFO: GPS data processed {"connection_id":164429,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:43:29] local.INFO: Acknowledgment sent {"connection_id":164429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:43:39] local.INFO: TCP Data received {"connection_id":164430,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:43:39] local.INFO: Processing buffer {"connection_id":164430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:43:39] local.INFO: IMEI packet received {"connection_id":164430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":164430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:43:40] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:43:40] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:43:40] local.INFO: IMEI packet received {"connection_id":162058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":162058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:43:44] local.INFO: TCP Data received {"connection_id":164430,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:43:44] local.INFO: Processing buffer {"connection_id":164430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:43:44] local.INFO: IMEI packet received {"connection_id":164430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":164430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:43:46] local.INFO: TCP Data received {"connection_id":164430,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:43:46] local.INFO: Processing buffer {"connection_id":164430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:43:46] local.INFO: Packet analysis {"connection_id":164430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:43:46] local.INFO: Extracted packet for processing {"connection_id":164430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639893504001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787656135000,"timestamp_ms":1787656135000,"timestamp_seconds":1787656135,"priority":1,"record_length":96,"hex_timestamp":"000001a0389be158"} 
[2026-08-25 16:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639893504001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639893504001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639893504001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":164430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:43:46] local.INFO: GPS data processed {"connection_id":164430,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:43:46] local.INFO: Acknowledgment sent {"connection_id":164430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:43:46] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:43:46] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:43:46] local.INFO: IMEI packet received {"connection_id":162058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":162058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:43:47] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389f0220012da44f80054cfdb0000c000a21..."} 
[2026-08-25 16:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389f0220012da44f80054cfdb0000c000a21..."} 
[2026-08-25 16:43:47] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389f0220012da44f80054cfdb0000c000a21..."} 
[2026-08-25 16:43:47] local.INFO: Packet analysis {"connection_id":162058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389f"} 
[2026-08-25 16:43:47] local.INFO: Extracted packet for processing {"connection_id":162058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389f"} 
[2026-08-25 16:43:47] local.INFO: GPS Element Parsed {"raw_longitude":765742976,"raw_latitude":88931760,"longitude_deg":76.5742976,"latitude_deg":8.893176,"altitude":12,"angle":10,"satellites":33,"speed":8,"hex_longitude":"2da44f80","hex_latitude":"054cfdb0","is_valid_coordinates":true} 
[2026-08-25 16:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640021248001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123841529394495488,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6607132474307448832,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787656340000,"timestamp_ms":1787656340000,"timestamp_seconds":1787656340,"priority":1,"record_length":96,"hex_timestamp":"000001a0389f0220"} 
[2026-08-25 16:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 16:43:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2756788229,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:47] local.WARNING: Large IO value detected {"io_id":248,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:47] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":22528,"corrected_to":0} 
[2026-08-25 16:43:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:47] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2662084609,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:47] local.WARNING: Large IO value detected {"io_id":76,"raw_value":-4514858570586774272,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1146028238,"corrected_to":0} 
[2026-08-25 16:43:47] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4169859072,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:47] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57777476332311576,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:47] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-7446700688314351611,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:47] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,79,84,24,241,157,16,249,160,187,45,208,12,37,10,66,248,180,202,38,176,1,240,34,227,56,76,4,113,205,26,168,83,112,239,52,2,183,5,13,25,214,158],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":202,"original":22528,"validated":0},{"io_id":205,"original":1146028238,"validated":0}]} 
[2026-08-25 16:43:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793027305610346496,"timestamp_seconds":793027305610346.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640021248001,"66":13189,"78":206,"84":6144,"24":8,"16":123841529394495488,"45":-6607132474307448832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-25 16:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640021248001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:43:47] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-25 16:43:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123841529394495488,"km_value":123841529394495.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6607132474307448832,"description":"Unknown IO ID 45"} 
[2026-08-25 16:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640021248001,"power":13189,"unknown_78":206,"unknown_84":6144,"ignition":8,"odometer":null,"unknown_45":-6607132474307448832}} 
[2026-08-25 16:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":162058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:43:47] local.INFO: GPS data processed {"connection_id":162058,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:43:47] local.INFO: Acknowledgment sent {"connection_id":162058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:43:52] local.INFO: TCP Data received {"connection_id":164431,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:43:52] local.INFO: Processing buffer {"connection_id":164431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:43:52] local.INFO: IMEI packet received {"connection_id":164431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":164431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:43:57] local.INFO: TCP Data received {"connection_id":164431,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:43:57] local.INFO: Processing buffer {"connection_id":164431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:43:57] local.INFO: IMEI packet received {"connection_id":164431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":164431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:43:58] local.INFO: TCP Data received {"connection_id":164431,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:43:58] local.INFO: Processing buffer {"connection_id":164431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:43:58] local.INFO: Packet analysis {"connection_id":164431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:43:58] local.INFO: Extracted packet for processing {"connection_id":164431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:43:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:43: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-25 16:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639911680001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787656206000,"timestamp_ms":1787656206000,"timestamp_seconds":1787656206,"priority":1,"record_length":96,"hex_timestamp":"000001a0389cf6b0"} 
[2026-08-25 16:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:43:58] 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-25 16:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 16:43:58] 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-25 16:43: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-25 16:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:43:58] 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-25 16:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639911680001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639911680001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:43:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639911680001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":164431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:43:58] local.INFO: GPS data processed {"connection_id":164431,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:43:58] local.INFO: Acknowledgment sent {"connection_id":164431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:44:17] local.INFO: TCP Data received {"connection_id":164430,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:44:17] local.INFO: Processing buffer {"connection_id":164430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389be158012d34c14006aa4818000500e62c..."} 
[2026-08-25 16:44:17] local.INFO: Packet analysis {"connection_id":164430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:44:17] local.INFO: Extracted packet for processing {"connection_id":164430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389b"} 
[2026-08-25 16:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639893504001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787656135000,"timestamp_ms":1787656135000,"timestamp_seconds":1787656135,"priority":1,"record_length":96,"hex_timestamp":"000001a0389be158"} 
[2026-08-25 16:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:44:17] 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-25 16:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639893504001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639893504001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639893504001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":164430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:44:17] local.INFO: GPS data processed {"connection_id":164430,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:44:17] local.INFO: Acknowledgment sent {"connection_id":164430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:44:18] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0389f0dd8012da44fc0054cffd0000e016721..."} 
[2026-08-25 16:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389f0dd8012da44fc0054cffd0000e016721..."} 
[2026-08-25 16:44:18] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389f0dd8012da44fc0054cffd0000e016721..."} 
[2026-08-25 16:44:18] local.INFO: Packet analysis {"connection_id":162058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389f"} 
[2026-08-25 16:44:18] local.INFO: Extracted packet for processing {"connection_id":162058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389f"} 
[2026-08-25 16:44:18] local.INFO: GPS Element Parsed {"raw_longitude":765743040,"raw_latitude":88932304,"longitude_deg":76.574304,"latitude_deg":8.8932304,"altitude":14,"angle":359,"satellites":33,"speed":8,"hex_longitude":"2da44fc0","hex_latitude":"054cffd0","is_valid_coordinates":true} 
[2026-08-25 16:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640023040001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123841559459266560,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6606921368074342400,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787656343000,"timestamp_ms":1787656343000,"timestamp_seconds":1787656343,"priority":1,"record_length":96,"hex_timestamp":"000001a0389f0dd8"} 
[2026-08-25 16:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:44: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-25 16:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 16:44: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-25 16:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640023040001,"66":13515,"78":206,"84":6144,"24":8,"16":123841559459266560,"45":-6606921368074342400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-25 16:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640023040001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:44:18] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-25 16:44:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123841559459266560,"km_value":123841559459266.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6606921368074342400,"description":"Unknown IO ID 45"} 
[2026-08-25 16:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640023040001,"power":13515,"unknown_78":206,"unknown_84":6144,"ignition":8,"odometer":null,"unknown_45":-6606921368074342400}} 
[2026-08-25 16:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":162058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:44:18] local.INFO: GPS data processed {"connection_id":162058,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:44:18] local.INFO: Acknowledgment sent {"connection_id":162058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:44:29] local.INFO: TCP Data received {"connection_id":164431,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:44:29] local.INFO: Processing buffer {"connection_id":164431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:44:29] local.INFO: Packet analysis {"connection_id":164431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:44:29] local.INFO: Extracted packet for processing {"connection_id":164431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:44:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639911680001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787656206000,"timestamp_ms":1787656206000,"timestamp_seconds":1787656206,"priority":1,"record_length":96,"hex_timestamp":"000001a0389cf6b0"} 
[2026-08-25 16:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:44:29] 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-25 16:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 16:44:29] 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-25 16:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:44:29] 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-25 16:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639911680001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639911680001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:44:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:44:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639911680001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":164431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:44:29] local.INFO: GPS data processed {"connection_id":164431,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:44:29] local.INFO: Acknowledgment sent {"connection_id":164431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:44:39] local.INFO: TCP Data received {"connection_id":163060,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:44:39] local.INFO: Processing buffer {"connection_id":163060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:44:39] local.INFO: IMEI packet received {"connection_id":163060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":163060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:44:40] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:44:40] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:44:40] local.INFO: IMEI packet received {"connection_id":162059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":162059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:44:44] local.INFO: TCP Data received {"connection_id":163060,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:44:44] local.INFO: Processing buffer {"connection_id":163060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:44:44] local.INFO: IMEI packet received {"connection_id":163060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":163060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:44:46] local.INFO: TCP Data received {"connection_id":163060,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:44:46] local.INFO: Processing buffer {"connection_id":163060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:44:46] local.INFO: Packet analysis {"connection_id":163060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:44:46] local.INFO: Extracted packet for processing {"connection_id":163060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639970560001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787656436000,"timestamp_ms":1787656436000,"timestamp_seconds":1787656436,"priority":1,"record_length":96,"hex_timestamp":"000001a038a07920"} 
[2026-08-25 16:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 16:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:44:46] 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-25 16:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639970560001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639970560001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639970560001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":163060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:44:46] local.INFO: GPS data processed {"connection_id":163060,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:44:46] local.INFO: Acknowledgment sent {"connection_id":163060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:44:46] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:44:46] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:44:46] local.INFO: IMEI packet received {"connection_id":162059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":162059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:44:47] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a0afd0012da4e7c0054cf5f8001400672a..."} 
[2026-08-25 16:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a0afd0012da4e7c0054cf5f8001400672a..."} 
[2026-08-25 16:44:47] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a0afd0012da4e7c0054cf5f8001400672a..."} 
[2026-08-25 16:44:47] local.INFO: Packet analysis {"connection_id":162059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:44:47] local.INFO: Extracted packet for processing {"connection_id":162059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:44:47] local.INFO: GPS Element Parsed {"raw_longitude":765781952,"raw_latitude":88929784,"longitude_deg":76.5781952,"latitude_deg":8.8929784,"altitude":20,"angle":103,"satellites":42,"speed":0,"hex_longitude":"2da4e7c0","hex_latitude":"054cf5f8","is_valid_coordinates":true} 
[2026-08-25 16:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640045824001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123843466424745984,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6564066802870650880,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787656450000,"timestamp_ms":1787656450000,"timestamp_seconds":1787656450,"priority":1,"record_length":96,"hex_timestamp":"000001a038a0afd0"} 
[2026-08-25 16:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 16:44:47] 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-25 16:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640045824001,"66":13091,"218":206,"84":6144,"24":0,"16":123843466424745984,"45":-6564066802870650880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,84,24,16,45]} 
[2026-08-25 16:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640045824001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:44:47] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-25 16:44:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123843466424745984,"km_value":123843466424745.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6564066802870650880,"description":"Unknown IO ID 45"} 
[2026-08-25 16:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640045824001,"power":13091,"unknown_218":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6564066802870650880}} 
[2026-08-25 16:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":162059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:44:47] local.INFO: GPS data processed {"connection_id":162059,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:44:47] local.INFO: Acknowledgment sent {"connection_id":162059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:44:52] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:44:52] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:44:52] local.INFO: IMEI packet received {"connection_id":162060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":162060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:44:57] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:44:57] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:44:57] local.INFO: IMEI packet received {"connection_id":162060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":162060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:44:58] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:44:58] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:44:58] local.INFO: Packet analysis {"connection_id":162060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:44:58] local.INFO: Extracted packet for processing {"connection_id":162060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:44:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639911680001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787656206000,"timestamp_ms":1787656206000,"timestamp_seconds":1787656206,"priority":1,"record_length":96,"hex_timestamp":"000001a0389cf6b0"} 
[2026-08-25 16: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-25 16:44:58] 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-25 16: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 16:44:58] 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-25 16: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-25 16: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-25 16:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:44:58] 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-25 16:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639911680001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639911680001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:44:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639911680001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":162060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:44:58] local.INFO: GPS data processed {"connection_id":162060,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:44:58] local.INFO: Acknowledgment sent {"connection_id":162060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:45:18] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a101d8012da4e7c0054cf5f80014006726..."} 
[2026-08-25 16:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a101d8012da4e7c0054cf5f80014006726..."} 
[2026-08-25 16:45:18] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a101d8012da4e7c0054cf5f80014006726..."} 
[2026-08-25 16:45:18] local.INFO: Packet analysis {"connection_id":162059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:45:18] local.INFO: Extracted packet for processing {"connection_id":162059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:45:18] local.INFO: GPS Element Parsed {"raw_longitude":765781952,"raw_latitude":88929784,"longitude_deg":76.5781952,"latitude_deg":8.8929784,"altitude":20,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2da4e7c0","hex_latitude":"054cf5f8","is_valid_coordinates":true} 
[2026-08-25 16:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640051200001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123843466424745984,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6564066802870650880,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787656471000,"timestamp_ms":1787656471000,"timestamp_seconds":1787656471,"priority":1,"record_length":96,"hex_timestamp":"000001a038a101d8"} 
[2026-08-25 16:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16: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-25 16:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 16:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640051200001,"66":13450,"3":206,"84":6144,"24":0,"16":123843466424745984,"45":-6564066802870650880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,84,24,16,45]} 
[2026-08-25 16:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640051200001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:45:18] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-25 16:45:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123843466424745984,"km_value":123843466424745.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6564066802870650880,"description":"Unknown IO ID 45"} 
[2026-08-25 16:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640051200001,"power":13450,"unknown_3":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6564066802870650880}} 
[2026-08-25 16:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":162059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:45:18] local.INFO: GPS data processed {"connection_id":162059,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:45:18] local.INFO: Acknowledgment sent {"connection_id":162059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:45:19] local.INFO: TCP Data received {"connection_id":163060,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:45:19] local.INFO: Processing buffer {"connection_id":163060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:45:19] local.INFO: Packet analysis {"connection_id":163060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:45:19] local.INFO: Extracted packet for processing {"connection_id":163060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639970560001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787656436000,"timestamp_ms":1787656436000,"timestamp_seconds":1787656436,"priority":1,"record_length":96,"hex_timestamp":"000001a038a07920"} 
[2026-08-25 16:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 16:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:45:19] 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-25 16:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639970560001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639970560001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639970560001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":163060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:45:19] local.INFO: GPS data processed {"connection_id":163060,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:45:19] local.INFO: Acknowledgment sent {"connection_id":163060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:45:29] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:45:29] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0389cf6b0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:45:29] local.INFO: Packet analysis {"connection_id":162060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:45:29] local.INFO: Extracted packet for processing {"connection_id":162060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0389c"} 
[2026-08-25 16:45:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639911680001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787656206000,"timestamp_ms":1787656206000,"timestamp_seconds":1787656206,"priority":1,"record_length":96,"hex_timestamp":"000001a0389cf6b0"} 
[2026-08-25 16:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:45:29] 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-25 16:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 16:45:29] 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-25 16:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:45:29] 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-25 16:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639911680001,"66":2144,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639911680001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:45:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639911680001,"power":2144,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":162060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:45:29] local.INFO: GPS data processed {"connection_id":162060,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:45:29] local.INFO: Acknowledgment sent {"connection_id":162060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:45:40] local.INFO: TCP Data received {"connection_id":164432,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:45:40] local.INFO: Processing buffer {"connection_id":164432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:45:40] local.INFO: IMEI packet received {"connection_id":164432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":164432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:45:40] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:45:40] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:45:40] local.INFO: IMEI packet received {"connection_id":161814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":161814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:45:45] local.INFO: TCP Data received {"connection_id":164432,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:45:45] local.INFO: Processing buffer {"connection_id":164432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:45:45] local.INFO: IMEI packet received {"connection_id":164432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":164432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:45:46] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:45:46] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:45:46] local.INFO: IMEI packet received {"connection_id":161814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":161814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:45:48] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:45:48] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:45:48] local.INFO: IMEI packet received {"connection_id":161814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":161814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:45:50] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:45:50] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:45:50] local.INFO: IMEI packet received {"connection_id":161814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":161814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:45:55] local.INFO: TCP Data received {"connection_id":164432,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:45:55] local.INFO: Processing buffer {"connection_id":164432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:45:55] local.INFO: Packet analysis {"connection_id":164432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:45:55] local.INFO: Extracted packet for processing {"connection_id":164432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:45:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639970560001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787656436000,"timestamp_ms":1787656436000,"timestamp_seconds":1787656436,"priority":1,"record_length":96,"hex_timestamp":"000001a038a07920"} 
[2026-08-25 16:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 16:45: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-25 16:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:45:55] 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-25 16:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639970560001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639970560001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:45:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639970560001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":164432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:45:55] local.INFO: GPS data processed {"connection_id":164432,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:45:55] local.INFO: Acknowledgment sent {"connection_id":164432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:45:56] local.INFO: TCP Data received {"connection_id":164432,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:45:56] local.INFO: Processing buffer {"connection_id":164432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:45:56] local.INFO: Packet analysis {"connection_id":164432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:45:56] local.INFO: Extracted packet for processing {"connection_id":164432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639970560001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787656436000,"timestamp_ms":1787656436000,"timestamp_seconds":1787656436,"priority":1,"record_length":96,"hex_timestamp":"000001a038a07920"} 
[2026-08-25 16: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-25 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 16:45:56] 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-25 16: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-25 16: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-25 16:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639970560001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639970560001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:45:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639970560001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":164432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:45:56] local.INFO: GPS data processed {"connection_id":164432,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:45:56] local.INFO: Acknowledgment sent {"connection_id":164432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:45:57] local.INFO: TCP Data received {"connection_id":164433,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:45:57] local.INFO: Processing buffer {"connection_id":164433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:45:57] local.INFO: IMEI packet received {"connection_id":164433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":164433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:46:02] local.INFO: TCP Data received {"connection_id":164433,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:46:02] local.INFO: Processing buffer {"connection_id":164433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:46:02] local.INFO: IMEI packet received {"connection_id":164433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":164433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:46:03] local.INFO: TCP Data received {"connection_id":164433,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:46:03] local.INFO: Processing buffer {"connection_id":164433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:46:03] local.INFO: Packet analysis {"connection_id":164433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:46:03] local.INFO: Extracted packet for processing {"connection_id":164433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:46:03] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639988736001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787656507000,"timestamp_ms":1787656507000,"timestamp_seconds":1787656507,"priority":1,"record_length":96,"hex_timestamp":"000001a038a18e78"} 
[2026-08-25 16: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-25 16:46:03] 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-25 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16: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-25 16: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-25 16:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:46:03] 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-25 16:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639988736001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639988736001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:46:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639988736001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":164433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:46:03] local.INFO: GPS data processed {"connection_id":164433,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:46:03] local.INFO: Acknowledgment sent {"connection_id":164433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:46:34] local.INFO: TCP Data received {"connection_id":164433,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:46:34] local.INFO: Processing buffer {"connection_id":164433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:46:34] local.INFO: Packet analysis {"connection_id":164433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:46:34] local.INFO: Extracted packet for processing {"connection_id":164433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:46:34] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639988736001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787656507000,"timestamp_ms":1787656507000,"timestamp_seconds":1787656507,"priority":1,"record_length":96,"hex_timestamp":"000001a038a18e78"} 
[2026-08-25 16:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:46:34] 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-25 16:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:46:34] 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-25 16:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639988736001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639988736001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:46:34] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639988736001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":164433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:46:34] local.INFO: GPS data processed {"connection_id":164433,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:46:34] local.INFO: Acknowledgment sent {"connection_id":164433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:46:39] local.INFO: TCP Data received {"connection_id":163061,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:46:39] local.INFO: Processing buffer {"connection_id":163061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:46:39] local.INFO: IMEI packet received {"connection_id":163061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":163061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:46:44] local.INFO: TCP Data received {"connection_id":163061,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:46:44] local.INFO: Processing buffer {"connection_id":163061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:46:44] local.INFO: IMEI packet received {"connection_id":163061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":163061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:46:46] local.INFO: TCP Data received {"connection_id":163061,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:46:46] local.INFO: Processing buffer {"connection_id":163061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:46:46] local.INFO: Packet analysis {"connection_id":163061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:46:46] local.INFO: Extracted packet for processing {"connection_id":163061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639970560001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:46:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787656436000,"timestamp_ms":1787656436000,"timestamp_seconds":1787656436,"priority":1,"record_length":96,"hex_timestamp":"000001a038a07920"} 
[2026-08-25 16:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 16:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:46:46] 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-25 16:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639970560001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639970560001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639970560001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":163061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:46:46] local.INFO: GPS data processed {"connection_id":163061,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:46:46] local.INFO: Acknowledgment sent {"connection_id":163061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:46:52] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:46:52] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:46:52] local.INFO: IMEI packet received {"connection_id":161815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":161815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:46:57] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:46:57] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:46:57] local.INFO: IMEI packet received {"connection_id":161815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":161815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:46:58] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:46:58] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:46:58] local.INFO: Packet analysis {"connection_id":161815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:46:58] local.INFO: Extracted packet for processing {"connection_id":161815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:46:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639988736001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787656507000,"timestamp_ms":1787656507000,"timestamp_seconds":1787656507,"priority":1,"record_length":96,"hex_timestamp":"000001a038a18e78"} 
[2026-08-25 16: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-25 16:46:58] 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-25 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:46:58] 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-25 16:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639988736001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639988736001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:46:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:46:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639988736001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":161815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:46:58] local.INFO: GPS data processed {"connection_id":161815,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:46:58] local.INFO: Acknowledgment sent {"connection_id":161815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:47:18] local.INFO: TCP Data received {"connection_id":163061,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:47:18] local.INFO: Processing buffer {"connection_id":163061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:47:18] local.INFO: Packet analysis {"connection_id":163061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:47:18] local.INFO: Extracted packet for processing {"connection_id":163061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639970560001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:47:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787656436000,"timestamp_ms":1787656436000,"timestamp_seconds":1787656436,"priority":1,"record_length":96,"hex_timestamp":"000001a038a07920"} 
[2026-08-25 16:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 16:47:18] 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-25 16:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:47:18] 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-25 16:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639970560001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639970560001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639970560001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":163061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:47:18] local.INFO: GPS data processed {"connection_id":163061,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:47:18] local.INFO: Acknowledgment sent {"connection_id":163061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:47:29] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:47:29] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:47:29] local.INFO: Packet analysis {"connection_id":161815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:47:29] local.INFO: Extracted packet for processing {"connection_id":161815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:47:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639988736001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787656507000,"timestamp_ms":1787656507000,"timestamp_seconds":1787656507,"priority":1,"record_length":96,"hex_timestamp":"000001a038a18e78"} 
[2026-08-25 16:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:47:29] 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-25 16:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:47:29] 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-25 16:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639988736001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639988736001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:47:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639988736001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":161815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:47:29] local.INFO: GPS data processed {"connection_id":161815,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:47:29] local.INFO: Acknowledgment sent {"connection_id":161815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:47:39] local.INFO: TCP Data received {"connection_id":163062,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:47:39] local.INFO: Processing buffer {"connection_id":163062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:47:39] local.INFO: IMEI packet received {"connection_id":163062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":163062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:47:45] local.INFO: TCP Data received {"connection_id":163062,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:47:45] local.INFO: Processing buffer {"connection_id":163062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:47:45] local.INFO: IMEI packet received {"connection_id":163062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":163062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:47:47] local.INFO: TCP Data received {"connection_id":163062,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:47:47] local.INFO: Processing buffer {"connection_id":163062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:47:47] local.INFO: Packet analysis {"connection_id":163062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:47:47] local.INFO: Extracted packet for processing {"connection_id":163062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639970560001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:47:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787656436000,"timestamp_ms":1787656436000,"timestamp_seconds":1787656436,"priority":1,"record_length":96,"hex_timestamp":"000001a038a07920"} 
[2026-08-25 16:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 16:47:47] 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-25 16:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639970560001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639970560001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639970560001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":163062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:47:47] local.INFO: GPS data processed {"connection_id":163062,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:47:47] local.INFO: Acknowledgment sent {"connection_id":163062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:47:52] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:47:52] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:47:52] local.INFO: IMEI packet received {"connection_id":161816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":161816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:47:57] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:47:57] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:47:57] local.INFO: IMEI packet received {"connection_id":161816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":161816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:47:58] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:47:58] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:47:58] local.INFO: Packet analysis {"connection_id":161816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:47:58] local.INFO: Extracted packet for processing {"connection_id":161816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:47:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639988736001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787656507000,"timestamp_ms":1787656507000,"timestamp_seconds":1787656507,"priority":1,"record_length":96,"hex_timestamp":"000001a038a18e78"} 
[2026-08-25 16: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-25 16:47:58] 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-25 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639988736001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639988736001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:47:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639988736001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":161816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:47:58] local.INFO: GPS data processed {"connection_id":161816,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:47:58] local.INFO: Acknowledgment sent {"connection_id":161816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:48:18] local.INFO: TCP Data received {"connection_id":163062,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:48:18] local.INFO: Processing buffer {"connection_id":163062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:48:18] local.INFO: Packet analysis {"connection_id":163062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:48:18] local.INFO: Extracted packet for processing {"connection_id":163062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639970560001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:48:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787656436000,"timestamp_ms":1787656436000,"timestamp_seconds":1787656436,"priority":1,"record_length":96,"hex_timestamp":"000001a038a07920"} 
[2026-08-25 16:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 16:48:18] 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-25 16:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:48:18] 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-25 16:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639970560001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639970560001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639970560001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":163062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:48:18] local.INFO: GPS data processed {"connection_id":163062,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:48:18] local.INFO: Acknowledgment sent {"connection_id":163062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:48:29] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:48:29] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:48:29] local.INFO: Packet analysis {"connection_id":161816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:48:29] local.INFO: Extracted packet for processing {"connection_id":161816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:48:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639988736001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787656507000,"timestamp_ms":1787656507000,"timestamp_seconds":1787656507,"priority":1,"record_length":96,"hex_timestamp":"000001a038a18e78"} 
[2026-08-25 16:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:48:29] 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-25 16:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639988736001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639988736001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:48:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639988736001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":161816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:48:29] local.INFO: GPS data processed {"connection_id":161816,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:48:29] local.INFO: Acknowledgment sent {"connection_id":161816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:48:39] local.INFO: TCP Data received {"connection_id":163063,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:48:39] local.INFO: Processing buffer {"connection_id":163063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:48:39] local.INFO: IMEI packet received {"connection_id":163063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":163063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:48:45] local.INFO: TCP Data received {"connection_id":163063,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:48:45] local.INFO: Processing buffer {"connection_id":163063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:48:45] local.INFO: IMEI packet received {"connection_id":163063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":163063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:48:47] local.INFO: TCP Data received {"connection_id":163063,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:48:47] local.INFO: Processing buffer {"connection_id":163063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:48:47] local.INFO: Packet analysis {"connection_id":163063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:48:47] local.INFO: Extracted packet for processing {"connection_id":163063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639970560001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:48:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787656436000,"timestamp_ms":1787656436000,"timestamp_seconds":1787656436,"priority":1,"record_length":96,"hex_timestamp":"000001a038a07920"} 
[2026-08-25 16:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 16:48:47] 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-25 16:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:48: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-25 16:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639970560001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639970560001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639970560001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":163063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:48:47] local.INFO: GPS data processed {"connection_id":163063,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:48:47] local.INFO: Acknowledgment sent {"connection_id":163063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:48:52] local.INFO: TCP Data received {"connection_id":164435,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:48:52] local.INFO: Processing buffer {"connection_id":164435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:48:52] local.INFO: IMEI packet received {"connection_id":164435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":164435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:48:57] local.INFO: TCP Data received {"connection_id":164435,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:48:57] local.INFO: Processing buffer {"connection_id":164435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:48:57] local.INFO: IMEI packet received {"connection_id":164435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":164435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:48:58] local.INFO: TCP Data received {"connection_id":164435,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:48:58] local.INFO: Processing buffer {"connection_id":164435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:48:58] local.INFO: Packet analysis {"connection_id":164435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:48:58] local.INFO: Extracted packet for processing {"connection_id":164435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:48:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639988736001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787656507000,"timestamp_ms":1787656507000,"timestamp_seconds":1787656507,"priority":1,"record_length":96,"hex_timestamp":"000001a038a18e78"} 
[2026-08-25 16: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-25 16:48:58] 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-25 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639988736001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639988736001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:48:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639988736001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":164435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:48:58] local.INFO: GPS data processed {"connection_id":164435,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:48:58] local.INFO: Acknowledgment sent {"connection_id":164435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:49:19] local.INFO: TCP Data received {"connection_id":163063,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:49:19] local.INFO: Processing buffer {"connection_id":163063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a07920012d34c14006aa4818000600e62d..."} 
[2026-08-25 16:49:19] local.INFO: Packet analysis {"connection_id":163063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:49:19] local.INFO: Extracted packet for processing {"connection_id":163063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a0"} 
[2026-08-25 16:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639970560001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:49:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787656436000,"timestamp_ms":1787656436000,"timestamp_seconds":1787656436,"priority":1,"record_length":96,"hex_timestamp":"000001a038a07920"} 
[2026-08-25 16:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 16:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:49: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-25 16:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639970560001,"66":25593,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639970560001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639970560001,"power":25593,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":163063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:49:19] local.INFO: GPS data processed {"connection_id":163063,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:49:19] local.INFO: Acknowledgment sent {"connection_id":163063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:49:29] local.INFO: TCP Data received {"connection_id":164435,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:49:29] local.INFO: Processing buffer {"connection_id":164435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:49:29] local.INFO: Packet analysis {"connection_id":164435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:49:29] local.INFO: Extracted packet for processing {"connection_id":164435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:49:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639988736001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787656507000,"timestamp_ms":1787656507000,"timestamp_seconds":1787656507,"priority":1,"record_length":96,"hex_timestamp":"000001a038a18e78"} 
[2026-08-25 16:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:49:29] 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-25 16:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639988736001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639988736001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:49:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639988736001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":164435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:49:29] local.INFO: GPS data processed {"connection_id":164435,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:49:29] local.INFO: Acknowledgment sent {"connection_id":164435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:49:39] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:49:39] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:49:39] local.INFO: IMEI packet received {"connection_id":161817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":161817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:49:44] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:49:44] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:49:44] local.INFO: IMEI packet received {"connection_id":161817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":161817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:49:45] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:49:45] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:49:45] local.INFO: Packet analysis {"connection_id":161817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:49:45] local.INFO: Extracted packet for processing {"connection_id":161817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640047616001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:49:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787656737000,"timestamp_ms":1787656737000,"timestamp_seconds":1787656737,"priority":1,"record_length":96,"hex_timestamp":"000001a038a510e8"} 
[2026-08-25 16: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-25 16:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640047616001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640047616001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640047616001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":161817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:49:45] local.INFO: GPS data processed {"connection_id":161817,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:49:45] local.INFO: Acknowledgment sent {"connection_id":161817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:49:57] local.INFO: TCP Data received {"connection_id":162064,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:49:57] local.INFO: Processing buffer {"connection_id":162064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:49:57] local.INFO: IMEI packet received {"connection_id":162064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":162064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:50:02] local.INFO: TCP Data received {"connection_id":162064,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:50:02] local.INFO: Processing buffer {"connection_id":162064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:50:02] local.INFO: IMEI packet received {"connection_id":162064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":162064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:50:03] local.INFO: TCP Data received {"connection_id":162064,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:50:03] local.INFO: Processing buffer {"connection_id":162064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:50:03] local.INFO: Packet analysis {"connection_id":162064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:50:03] local.INFO: Extracted packet for processing {"connection_id":162064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:50:03] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639988736001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787656507000,"timestamp_ms":1787656507000,"timestamp_seconds":1787656507,"priority":1,"record_length":96,"hex_timestamp":"000001a038a18e78"} 
[2026-08-25 16: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-25 16:50:03] 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-25 16:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16: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-25 16: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-25 16:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:50:03] 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-25 16:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639988736001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639988736001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:50:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639988736001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":162064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:50:03] local.INFO: GPS data processed {"connection_id":162064,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:50:03] local.INFO: Acknowledgment sent {"connection_id":162064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:50:07] local.INFO: TCP Data received {"connection_id":162064,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:50:07] local.INFO: Processing buffer {"connection_id":162064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a18e78012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 16:50:07] local.INFO: Packet analysis {"connection_id":162064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:50:07] local.INFO: Extracted packet for processing {"connection_id":162064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a1"} 
[2026-08-25 16:50:07] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457639988736001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787656507000,"timestamp_ms":1787656507000,"timestamp_seconds":1787656507,"priority":1,"record_length":96,"hex_timestamp":"000001a038a18e78"} 
[2026-08-25 16: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-25 16:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-25 16:50: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-25 16: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-25 16: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-25 16:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457639988736001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457639988736001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:50:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457639988736001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":162064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:50:07] local.INFO: GPS data processed {"connection_id":162064,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:50:07] local.INFO: Acknowledgment sent {"connection_id":162064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:50:17] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:50:17] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:50:17] local.INFO: Packet analysis {"connection_id":161817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:50:17] local.INFO: Extracted packet for processing {"connection_id":161817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640047616001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787656737000,"timestamp_ms":1787656737000,"timestamp_seconds":1787656737,"priority":1,"record_length":96,"hex_timestamp":"000001a038a510e8"} 
[2026-08-25 16:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640047616001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640047616001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640047616001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":161817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:50:17] local.INFO: GPS data processed {"connection_id":161817,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:50:17] local.INFO: Acknowledgment sent {"connection_id":161817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:50:39] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:50:40] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:50:40] local.INFO: IMEI packet received {"connection_id":162065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":162065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:50:44] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:50:44] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:50:44] local.INFO: IMEI packet received {"connection_id":162065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":162065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:50:46] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:50:46] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:50:46] local.INFO: Packet analysis {"connection_id":162065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:50:46] local.INFO: Extracted packet for processing {"connection_id":162065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640047616001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787656737000,"timestamp_ms":1787656737000,"timestamp_seconds":1787656737,"priority":1,"record_length":96,"hex_timestamp":"000001a038a510e8"} 
[2026-08-25 16:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640047616001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640047616001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640047616001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":162065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:50:46] local.INFO: GPS data processed {"connection_id":162065,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:50:46] local.INFO: Acknowledgment sent {"connection_id":162065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:50:51] local.INFO: TCP Data received {"connection_id":163064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:50:51] local.INFO: Processing buffer {"connection_id":163064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:50:51] local.INFO: IMEI packet received {"connection_id":163064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":163064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:50:52] local.INFO: TCP Data received {"connection_id":164436,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:50:52] local.INFO: Processing buffer {"connection_id":164436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:50:52] local.INFO: IMEI packet received {"connection_id":164436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":164436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:50:52] local.INFO: TCP Data received {"connection_id":163064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a4b328012da6e940054bc6d0000b00bb1f..."} 
[2026-08-25 16:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a4b328012da6e940054bc6d0000b00bb1f..."} 
[2026-08-25 16:50:52] local.INFO: Processing buffer {"connection_id":163064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a4b328012da6e940054bc6d0000b00bb1f..."} 
[2026-08-25 16:50:52] local.INFO: Packet analysis {"connection_id":163064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a4"} 
[2026-08-25 16:50:52] local.INFO: Extracted packet for processing {"connection_id":163064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a4"} 
[2026-08-25 16:50:52] local.INFO: GPS Element Parsed {"raw_longitude":765913408,"raw_latitude":88852176,"longitude_deg":76.5913408,"latitude_deg":8.8852176,"altitude":11,"angle":187,"satellites":31,"speed":11,"hex_longitude":"2da6e940","hex_latitude":"054bc6d0","is_valid_coordinates":true} 
[2026-08-25 16:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123851351984701440,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6419459033605302272,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787656713000,"timestamp_ms":1787656713000,"timestamp_seconds":1787656713,"priority":1,"record_length":96,"hex_timestamp":"000001a038a4b328"} 
[2026-08-25 16:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 16:50:52] 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-25 16:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640118016001,"66":13646,"144":206,"84":6144,"24":11,"16":123851351984701440,"45":-6419459033605302272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,84,24,16,45]} 
[2026-08-25 16:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:50:52] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-25 16:50:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123851351984701440,"km_value":123851351984701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6419459033605302272,"description":"Unknown IO ID 45"} 
[2026-08-25 16:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640118016001,"power":13646,"unknown_144":206,"unknown_84":6144,"ignition":11,"odometer":null,"unknown_45":-6419459033605302272}} 
[2026-08-25 16:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":163064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:50:52] local.INFO: GPS data processed {"connection_id":163064,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:50:52] local.INFO: Acknowledgment sent {"connection_id":163064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:50:57] local.INFO: TCP Data received {"connection_id":164436,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:50:57] local.INFO: Processing buffer {"connection_id":164436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:50:57] local.INFO: IMEI packet received {"connection_id":164436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":164436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:50:58] local.INFO: TCP Data received {"connection_id":164436,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:50:58] local.INFO: Processing buffer {"connection_id":164436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:50:58] local.INFO: Packet analysis {"connection_id":164436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:50:58] local.INFO: Extracted packet for processing {"connection_id":164436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:50:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640065792001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787656808000,"timestamp_ms":1787656808000,"timestamp_seconds":1787656808,"priority":1,"record_length":96,"hex_timestamp":"000001a038a62640"} 
[2026-08-25 16: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-25 16:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 16:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16: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-25 16: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-25 16:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640065792001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640065792001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:50:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640065792001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":164436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:50:58] local.INFO: GPS data processed {"connection_id":164436,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:50:58] local.INFO: Acknowledgment sent {"connection_id":164436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:51:18] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:51:18] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:51:18] local.INFO: Packet analysis {"connection_id":162065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:51:18] local.INFO: Extracted packet for processing {"connection_id":162065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640047616001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787656737000,"timestamp_ms":1787656737000,"timestamp_seconds":1787656737,"priority":1,"record_length":96,"hex_timestamp":"000001a038a510e8"} 
[2026-08-25 16:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640047616001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640047616001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640047616001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":162065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:51:18] local.INFO: GPS data processed {"connection_id":162065,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:51:18] local.INFO: Acknowledgment sent {"connection_id":162065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:51:24] local.INFO: TCP Data received {"connection_id":163064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a72428012da72900054a89680010005622..."} 
[2026-08-25 16:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a72428012da72900054a89680010005622..."} 
[2026-08-25 16:51:24] local.INFO: Processing buffer {"connection_id":163064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a72428012da72900054a89680010005622..."} 
[2026-08-25 16:51:24] local.INFO: Packet analysis {"connection_id":163064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a7"} 
[2026-08-25 16:51:24] local.INFO: Extracted packet for processing {"connection_id":163064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a7"} 
[2026-08-25 16:51:24] local.INFO: GPS Element Parsed {"raw_longitude":765929728,"raw_latitude":88770920,"longitude_deg":76.5929728,"latitude_deg":8.877092,"altitude":16,"angle":86,"satellites":34,"speed":15,"hex_longitude":"2da72900","hex_latitude":"054a8968","is_valid_coordinates":true} 
[2026-08-25 16:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640159232001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123855462268403712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6402007585070166016,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787656873000,"timestamp_ms":1787656873000,"timestamp_seconds":1787656873,"priority":1,"record_length":96,"hex_timestamp":"000001a038a72428"} 
[2026-08-25 16:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:51:24] 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-25 16:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-25 16:51:24] 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-25 16:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640159232001,"66":13319,"203":206,"84":6144,"24":15,"16":123855462268403712,"45":-6402007585070166016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,84,24,16,45]} 
[2026-08-25 16:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640159232001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:51:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123855462268403712,"km_value":123855462268403.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6402007585070166016,"description":"Unknown IO ID 45"} 
[2026-08-25 16:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640159232001,"power":13319,"mnc":206,"unknown_84":6144,"ignition":15,"odometer":null,"unknown_45":-6402007585070166016}} 
[2026-08-25 16:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":163064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:51:24] local.INFO: GPS data processed {"connection_id":163064,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:51:24] local.INFO: Acknowledgment sent {"connection_id":163064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:51:29] local.INFO: TCP Data received {"connection_id":164436,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:51:29] local.INFO: Processing buffer {"connection_id":164436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:51:29] local.INFO: Packet analysis {"connection_id":164436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:51:29] local.INFO: Extracted packet for processing {"connection_id":164436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:51:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640065792001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787656808000,"timestamp_ms":1787656808000,"timestamp_seconds":1787656808,"priority":1,"record_length":96,"hex_timestamp":"000001a038a62640"} 
[2026-08-25 16:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 16:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640065792001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640065792001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:51:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640065792001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":164436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:51:29] local.INFO: GPS data processed {"connection_id":164436,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:51:29] local.INFO: Acknowledgment sent {"connection_id":164436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:51:40] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:51:40] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:51:40] local.INFO: IMEI packet received {"connection_id":161818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":161818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:51:44] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:51:44] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:51:44] local.INFO: IMEI packet received {"connection_id":161818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":161818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:51:46] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:51:46] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:51:46] local.INFO: Packet analysis {"connection_id":161818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:51:46] local.INFO: Extracted packet for processing {"connection_id":161818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640047616001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787656737000,"timestamp_ms":1787656737000,"timestamp_seconds":1787656737,"priority":1,"record_length":96,"hex_timestamp":"000001a038a510e8"} 
[2026-08-25 16:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640047616001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640047616001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:51:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640047616001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":161818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:51:46] local.INFO: GPS data processed {"connection_id":161818,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:51:46] local.INFO: Acknowledgment sent {"connection_id":161818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:51:46] local.INFO: TCP Data received {"connection_id":163065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:51:46] local.INFO: Processing buffer {"connection_id":163065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:51:46] local.INFO: IMEI packet received {"connection_id":163065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":163065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:51:50] local.INFO: TCP Data received {"connection_id":163065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:51:50] local.INFO: Processing buffer {"connection_id":163065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:51:50] local.INFO: IMEI packet received {"connection_id":163065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":163065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:51:51] local.INFO: TCP Data received {"connection_id":163065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a72bf8012da72d40054a8a880010004621..."} 
[2026-08-25 16:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a72bf8012da72d40054a8a880010004621..."} 
[2026-08-25 16:51:51] local.INFO: Processing buffer {"connection_id":163065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a72bf8012da72d40054a8a880010004621..."} 
[2026-08-25 16:51:51] local.INFO: Packet analysis {"connection_id":163065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a7"} 
[2026-08-25 16:51:51] local.INFO: Extracted packet for processing {"connection_id":163065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a7"} 
[2026-08-25 16:51:51] local.INFO: GPS Element Parsed {"raw_longitude":765930816,"raw_latitude":88771208,"longitude_deg":76.5930816,"latitude_deg":8.8771208,"altitude":16,"angle":70,"satellites":33,"speed":20,"hex_longitude":"2da72d40","hex_latitude":"054a8a88","is_valid_coordinates":true} 
[2026-08-25 16:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640159488001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123855513808011264,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6401585372605093888,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787656875000,"timestamp_ms":1787656875000,"timestamp_seconds":1787656875,"priority":1,"record_length":96,"hex_timestamp":"000001a038a72bf8"} 
[2026-08-25 16:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 16:51:51] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13521944,"corrected_to":0} 
[2026-08-25 16:51:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2804187141,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:51] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2803140609,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:51] local.WARNING: Large IO value detected {"io_id":74,"raw_value":-3111987286667810816,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1087045838,"corrected_to":0} 
[2026-08-25 16:51:51] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2147830435,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:51] local.WARNING: Large IO value detected {"io_id":110,"raw_value":57773610861745176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:51] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-8653665388403802107,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:51] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,203,84,24,241,157,16,5,160,32,45,128,137,33,10,66,28,64,1,240,187,227,56,74,4,113,205,13,237,37,224,36,239,52,2,184,15,30,110,166],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":203,"original":13521944,"validated":0},{"io_id":205,"original":1087045838,"validated":0}]} 
[2026-08-25 16:51:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153016208636706816,"timestamp_seconds":1153016208636706.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640159488001,"66":13602,"203":206,"84":6144,"24":20,"16":123855513808011264,"45":-6401585372605093888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,84,24,16,45]} 
[2026-08-25 16:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640159488001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:51:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123855513808011264,"km_value":123855513808011.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6401585372605093888,"description":"Unknown IO ID 45"} 
[2026-08-25 16:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640159488001,"power":13602,"mnc":206,"unknown_84":6144,"ignition":20,"odometer":null,"unknown_45":-6401585372605093888}} 
[2026-08-25 16:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":163065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:51:51] local.INFO: GPS data processed {"connection_id":163065,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:51:51] local.INFO: Acknowledgment sent {"connection_id":163065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:51:52] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:51:52] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:51:52] local.INFO: IMEI packet received {"connection_id":162066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":162066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:51:52] local.INFO: TCP Data received {"connection_id":163065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a733c8012da730c0054a8cd0000f003422..."} 
[2026-08-25 16:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a733c8012da730c0054a8cd0000f003422..."} 
[2026-08-25 16:51:52] local.INFO: Processing buffer {"connection_id":163065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a733c8012da730c0054a8cd0000f003422..."} 
[2026-08-25 16:51:52] local.INFO: Packet analysis {"connection_id":163065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a7"} 
[2026-08-25 16:51:52] local.INFO: Extracted packet for processing {"connection_id":163065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a7"} 
[2026-08-25 16:51:52] local.INFO: GPS Element Parsed {"raw_longitude":765931712,"raw_latitude":88771792,"longitude_deg":76.5931712,"latitude_deg":8.8771792,"altitude":15,"angle":52,"satellites":34,"speed":22,"hex_longitude":"2da730c0","hex_latitude":"054a8cd0","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640160000001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123855565347618816,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6400389103953999872,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787656877000,"timestamp_ms":1787656877000,"timestamp_seconds":1787656877,"priority":1,"record_length":96,"hex_timestamp":"000001a038a733c8"} 
[2026-08-25 16: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-25 16:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 16:51:52] 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-25 16: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-25 16: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-25 16:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640160000001,"66":13580,"203":206,"84":6144,"24":22,"16":123855565347618816,"45":-6400389103953999872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,84,24,16,45]} 
[2026-08-25 16:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640160000001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:51:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123855565347618816,"km_value":123855565347618.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6400389103953999872,"description":"Unknown IO ID 45"} 
[2026-08-25 16:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640160000001,"power":13580,"mnc":206,"unknown_84":6144,"ignition":22,"odometer":null,"unknown_45":-6400389103953999872}} 
[2026-08-25 16:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":163065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:51:52] local.INFO: GPS data processed {"connection_id":163065,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:51:52] local.INFO: Acknowledgment sent {"connection_id":163065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:51:57] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:51:57] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:51:57] local.INFO: IMEI packet received {"connection_id":162066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":162066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:51:58] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:51:58] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:51:58] local.INFO: Packet analysis {"connection_id":162066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:51:58] local.INFO: Extracted packet for processing {"connection_id":162066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:51:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640065792001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787656808000,"timestamp_ms":1787656808000,"timestamp_seconds":1787656808,"priority":1,"record_length":96,"hex_timestamp":"000001a038a62640"} 
[2026-08-25 16:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 16:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640065792001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640065792001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:51:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:51:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640065792001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":162066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:51:58] local.INFO: GPS data processed {"connection_id":162066,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:51:58] local.INFO: Acknowledgment sent {"connection_id":162066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:52:17] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:52:17] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:52:17] local.INFO: Packet analysis {"connection_id":161818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:52:17] local.INFO: Extracted packet for processing {"connection_id":161818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640047616001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787656737000,"timestamp_ms":1787656737000,"timestamp_seconds":1787656737,"priority":1,"record_length":96,"hex_timestamp":"000001a038a510e8"} 
[2026-08-25 16:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640047616001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640047616001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:52:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640047616001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":161818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:52:17] local.INFO: GPS data processed {"connection_id":161818,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:52:17] local.INFO: Acknowledgment sent {"connection_id":161818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:52:23] local.INFO: TCP Data received {"connection_id":163065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a75ad8012da74b80054aa480000f003623..."} 
[2026-08-25 16:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a75ad8012da74b80054aa480000f003623..."} 
[2026-08-25 16:52:23] local.INFO: Processing buffer {"connection_id":163065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a75ad8012da74b80054aa480000f003623..."} 
[2026-08-25 16:52:23] local.INFO: Packet analysis {"connection_id":163065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a7"} 
[2026-08-25 16:52:23] local.INFO: Extracted packet for processing {"connection_id":163065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a7"} 
[2026-08-25 16:52:23] local.INFO: GPS Element Parsed {"raw_longitude":765938560,"raw_latitude":88777856,"longitude_deg":76.593856,"latitude_deg":8.8777856,"altitude":15,"angle":54,"satellites":35,"speed":41,"hex_longitude":"2da74b80","hex_latitude":"054aa480","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640160512001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123856007729250304,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6399403941535363072,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787656887000,"timestamp_ms":1787656887000,"timestamp_seconds":1787656887,"priority":1,"record_length":96,"hex_timestamp":"000001a038a75ad8"} 
[2026-08-25 16: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-25 16:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626245,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13521944,"corrected_to":0} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2804301829,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5186506299382169600,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2803652609,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":74,"raw_value":2307915792,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634226728255691,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1087045838,"corrected_to":0} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2147830410,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391936,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2702165594557382671,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504628836432924244,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,203,84,24,241,157,16,5,160,43,45,64,138,33,10,66,36,137,34,32,128,1,240,197,227,56,74,4,113,205,12,37,239,51,2,184,13,167,52],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":203,"original":13521944,"validated":0},{"io_id":205,"original":1087045838,"validated":0}]} 
[2026-08-25 16:52:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080921231203893248,"timestamp_seconds":1080921231203893.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16: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-25 16:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640160512001,"66":13428,"250":206,"84":6144,"24":41,"16":123856007729250304,"45":-6399403941535363072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,84,24,16,45]} 
[2026-08-25 16:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640160512001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:52:23] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-25 16:52:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123856007729250304,"km_value":123856007729250.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6399403941535363072,"description":"Unknown IO ID 45"} 
[2026-08-25 16:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640160512001,"power":13428,"unknown_250":206,"unknown_84":6144,"ignition":41,"odometer":null,"unknown_45":-6399403941535363072}} 
[2026-08-25 16:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":163065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:52:23] local.INFO: GPS data processed {"connection_id":163065,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:52:23] local.INFO: Acknowledgment sent {"connection_id":163065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:52:29] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:52:29] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:52:29] local.INFO: Packet analysis {"connection_id":162066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:52:29] local.INFO: Extracted packet for processing {"connection_id":162066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:52:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640065792001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787656808000,"timestamp_ms":1787656808000,"timestamp_seconds":1787656808,"priority":1,"record_length":96,"hex_timestamp":"000001a038a62640"} 
[2026-08-25 16:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 16:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640065792001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640065792001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:52:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:52:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640065792001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":162066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:52:29] local.INFO: GPS data processed {"connection_id":162066,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:52:29] local.INFO: Acknowledgment sent {"connection_id":162066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:52:37] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:52:37] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:52:37] local.INFO: IMEI packet received {"connection_id":162067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":162067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:52:39] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:52:39] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:52:39] local.INFO: IMEI packet received {"connection_id":161819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":161819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:52:43] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:52:43] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:52:43] local.INFO: IMEI packet received {"connection_id":162067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":162067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:52:44] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:52:44] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:52:44] local.INFO: IMEI packet received {"connection_id":161819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":161819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:52:45] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:52:45] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:52:45] local.INFO: IMEI packet received {"connection_id":162067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":162067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:52:45] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:52:45] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:52:45] local.INFO: Packet analysis {"connection_id":161819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:52:45] local.INFO: Extracted packet for processing {"connection_id":161819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640047616001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787656737000,"timestamp_ms":1787656737000,"timestamp_seconds":1787656737,"priority":1,"record_length":96,"hex_timestamp":"000001a038a510e8"} 
[2026-08-25 16: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-25 16:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:52:45] 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-25 16:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640047616001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640047616001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640047616001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":161819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:52:46] local.INFO: GPS data processed {"connection_id":161819,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:52:46] local.INFO: Acknowledgment sent {"connection_id":161819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:52:49] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a77e00012da76a00054ab9e0000d003923..."} 
[2026-08-25 16:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a77e00012da76a00054ab9e0000d003923..."} 
[2026-08-25 16:52:49] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a77e00012da76a00054ab9e0000d003923..."} 
[2026-08-25 16:52:49] local.INFO: Packet analysis {"connection_id":162067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a7"} 
[2026-08-25 16:52:49] local.INFO: Extracted packet for processing {"connection_id":162067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a7"} 
[2026-08-25 16:52:49] local.INFO: GPS Element Parsed {"raw_longitude":765946368,"raw_latitude":88783328,"longitude_deg":76.5946368,"latitude_deg":8.8783328,"altitude":13,"angle":57,"satellites":35,"speed":33,"hex_longitude":"2da76a00","hex_latitude":"054ab9e0","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640163072001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123856467290750976,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6391874485906800640,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787656896000,"timestamp_ms":1787656896000,"timestamp_seconds":1787656896,"priority":1,"record_length":96,"hex_timestamp":"000001a038a77e00"} 
[2026-08-25 16: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-25 16:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 16:52:49] 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-25 16: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-25 16: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-25 16:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640163072001,"66":12809,"250":206,"84":6144,"24":33,"16":123856467290750976,"45":-6391874485906800640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,84,24,16,45]} 
[2026-08-25 16:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640163072001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:52:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-25 16:52:49] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123856467290750976,"km_value":123856467290750.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6391874485906800640,"description":"Unknown IO ID 45"} 
[2026-08-25 16:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640163072001,"power":12809,"unknown_250":206,"unknown_84":6144,"ignition":33,"odometer":null,"unknown_45":-6391874485906800640}} 
[2026-08-25 16:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":162067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:52:49] local.INFO: GPS data processed {"connection_id":162067,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:52:49] local.INFO: Acknowledgment sent {"connection_id":162067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:52:50] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a7ace0012da78840054ace380009003621..."} 
[2026-08-25 16:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a7ace0012da78840054ace380009003621..."} 
[2026-08-25 16:52:50] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a7ace0012da78840054ace380009003621..."} 
[2026-08-25 16:52:50] local.INFO: Packet analysis {"connection_id":162067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a7"} 
[2026-08-25 16:52:50] local.INFO: Extracted packet for processing {"connection_id":162067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a7"} 
[2026-08-25 16:52:50] local.INFO: GPS Element Parsed {"raw_longitude":765954112,"raw_latitude":88788536,"longitude_deg":76.5954112,"latitude_deg":8.8788536,"altitude":9,"angle":54,"satellites":33,"speed":21,"hex_longitude":"2da78840","hex_latitude":"054ace38","is_valid_coordinates":true} 
[2026-08-25 16:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640165376001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123856913967349760,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6383289499115724800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787656908000,"timestamp_ms":1787656908000,"timestamp_seconds":1787656908,"priority":1,"record_length":96,"hex_timestamp":"000001a038a7ace0"} 
[2026-08-25 16:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-25 16:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":936748722660836352,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:50] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2804482053,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:50] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13521944,"corrected_to":0} 
[2026-08-25 16:52:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":5371140690233296932,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:50] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-6406247319571323520,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:50] local.WARNING: Large IO value detected {"io_id":74,"raw_value":2305294352,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1087045838,"corrected_to":0} 
[2026-08-25 16:52:50] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2147830409,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:50] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-4251172370070319532,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:50] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,250,84,24,241,157,16,6,160,90,45,128,164,15,35,10,66,51,192,140,34,203,5,43,64,1,240,227,56,74,4,113,205,32,39,80,33,239,53,2,184,12,219],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":203,"original":13521944,"validated":0},{"io_id":205,"original":1087045838,"validated":0}]} 
[2026-08-25 16:52:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936811544981864448,"timestamp_seconds":936811544981864.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640165376001,"66":13450,"248":206,"84":6144,"24":21,"16":123856913967349760,"45":-6383289499115724800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-25 16:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640165376001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:52:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123856913967349760,"km_value":123856913967349.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6383289499115724800,"description":"Unknown IO ID 45"} 
[2026-08-25 16:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640165376001,"power":13450,"tamper_alert":206,"unknown_84":6144,"ignition":21,"odometer":null,"unknown_45":-6383289499115724800}} 
[2026-08-25 16:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":162067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:52:50] local.INFO: GPS data processed {"connection_id":162067,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:52:50] local.INFO: Acknowledgment sent {"connection_id":162067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:52:52] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:52:52] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:52:52] local.INFO: IMEI packet received {"connection_id":161820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":161820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:52:57] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:52:57] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:52:57] local.INFO: IMEI packet received {"connection_id":161820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":161820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:52:58] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:52:58] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:52:58] local.INFO: Packet analysis {"connection_id":161820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:52:58] local.INFO: Extracted packet for processing {"connection_id":161820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:52:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640065792001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787656808000,"timestamp_ms":1787656808000,"timestamp_seconds":1787656808,"priority":1,"record_length":96,"hex_timestamp":"000001a038a62640"} 
[2026-08-25 16: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-25 16:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 16:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16: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-25 16: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-25 16:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:52:58] 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-25 16:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640065792001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640065792001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:52:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640065792001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":161820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:52:58] local.INFO: GPS data processed {"connection_id":161820,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:52:58] local.INFO: Acknowledgment sent {"connection_id":161820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:53:17] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:53:17] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:53:17] local.INFO: Packet analysis {"connection_id":161819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:53:17] local.INFO: Extracted packet for processing {"connection_id":161819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640047616001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787656737000,"timestamp_ms":1787656737000,"timestamp_seconds":1787656737,"priority":1,"record_length":96,"hex_timestamp":"000001a038a510e8"} 
[2026-08-25 16:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640047616001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640047616001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640047616001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":161819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:53:17] local.INFO: GPS data processed {"connection_id":161819,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:53:17] local.INFO: Acknowledgment sent {"connection_id":161819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:53:21] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a8cdf0012da839c0054b1868000b004e2a..."} 
[2026-08-25 16:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a8cdf0012da839c0054b1868000b004e2a..."} 
[2026-08-25 16:53:21] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a8cdf0012da839c0054b1868000b004e2a..."} 
[2026-08-25 16:53:21] local.INFO: Packet analysis {"connection_id":162067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a8"} 
[2026-08-25 16:53:21] local.INFO: Extracted packet for processing {"connection_id":162067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a8"} 
[2026-08-25 16:53:21] local.INFO: GPS Element Parsed {"raw_longitude":765999552,"raw_latitude":88807528,"longitude_deg":76.5999552,"latitude_deg":8.8807528,"altitude":11,"angle":78,"satellites":42,"speed":19,"hex_longitude":"2da839c0","hex_latitude":"054b1868","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640186368001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123859697106157568,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6326431553813911552,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787656982000,"timestamp_ms":1787656982000,"timestamp_seconds":1787656982,"priority":1,"record_length":96,"hex_timestamp":"000001a038a8cdf0"} 
[2026-08-25 16: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-25 16:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2816557061,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3289789917685283608,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2824388609,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":75,"raw_value":1828461526024595712,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":989331662,"corrected_to":0} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":34,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4026609063,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57767207065506840,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3298888022648700933,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-576233891728189440,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:21] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,117,84,24,241,157,16,9,160,143,45,128,32,41,10,66,248,104,64,44,21,42,8,96,1,240,51,227,56,75,4,113,205,34,80,219,216,239,52,2,184,5,19,31,7,168,58,90],"length":626,"final_offset":756,"validated_count":48,"validation_warnings":[{"io_id":205,"original":989331662,"validated":0}]} 
[2026-08-25 16:53:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720686071931600896,"timestamp_seconds":720686071931600.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 16: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-25 16:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640186368001,"66":13624,"117":206,"84":6144,"24":19,"16":123859697106157568,"45":-6326431553813911552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-25 16:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640186368001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:53:21] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 16:53:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123859697106157568,"km_value":123859697106157.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6326431553813911552,"description":"Unknown IO ID 45"} 
[2026-08-25 16:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640186368001,"power":13624,"unknown_117":206,"unknown_84":6144,"ignition":19,"odometer":null,"unknown_45":-6326431553813911552}} 
[2026-08-25 16:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":162067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:53:21] local.INFO: GPS data processed {"connection_id":162067,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:53:21] local.INFO: Acknowledgment sent {"connection_id":162067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:53:29] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:53:29] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:53:29] local.INFO: Packet analysis {"connection_id":161820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:53:29] local.INFO: Extracted packet for processing {"connection_id":161820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:53:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640065792001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787656808000,"timestamp_ms":1787656808000,"timestamp_seconds":1787656808,"priority":1,"record_length":96,"hex_timestamp":"000001a038a62640"} 
[2026-08-25 16:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 16:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:53:29] 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-25 16:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640065792001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640065792001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:53:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640065792001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":161820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:53:29] local.INFO: GPS data processed {"connection_id":161820,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:53:29] local.INFO: Acknowledgment sent {"connection_id":161820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:53:39] local.INFO: TCP Data received {"connection_id":163066,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:53:39] local.INFO: Processing buffer {"connection_id":163066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:53:39] local.INFO: IMEI packet received {"connection_id":163066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":163066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:53:40] local.INFO: TCP Data received {"connection_id":163067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:53:40] local.INFO: Processing buffer {"connection_id":163067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:53:40] local.INFO: IMEI packet received {"connection_id":163067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":163067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:53:42] local.INFO: TCP Data received {"connection_id":163067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:53:42] local.INFO: Processing buffer {"connection_id":163067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:53:42] local.INFO: IMEI packet received {"connection_id":163067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":163067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:53:44] local.INFO: TCP Data received {"connection_id":163066,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:53:44] local.INFO: Processing buffer {"connection_id":163066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:53:44] local.INFO: IMEI packet received {"connection_id":163066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":163066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:53:45] local.INFO: TCP Data received {"connection_id":163066,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:53:45] local.INFO: Processing buffer {"connection_id":163066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:53:45] local.INFO: Packet analysis {"connection_id":163066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:53:45] local.INFO: Extracted packet for processing {"connection_id":163066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640047616001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787656737000,"timestamp_ms":1787656737000,"timestamp_seconds":1787656737,"priority":1,"record_length":96,"hex_timestamp":"000001a038a510e8"} 
[2026-08-25 16:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640047616001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640047616001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640047616001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":163066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:53:45] local.INFO: GPS data processed {"connection_id":163066,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:53:45] local.INFO: Acknowledgment sent {"connection_id":163066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:53:46] local.INFO: TCP Data received {"connection_id":163067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:53:46] local.INFO: Processing buffer {"connection_id":163067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:53:46] local.INFO: IMEI packet received {"connection_id":163067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":163067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:53:47] local.INFO: TCP Data received {"connection_id":163067,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a8e560012da84180054b1a78000b005b2b..."} 
[2026-08-25 16:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a8e560012da84180054b1a78000b005b2b..."} 
[2026-08-25 16:53:47] local.INFO: Processing buffer {"connection_id":163067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a8e560012da84180054b1a78000b005b2b..."} 
[2026-08-25 16:53:47] local.INFO: Packet analysis {"connection_id":163067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a8"} 
[2026-08-25 16:53:47] local.INFO: Extracted packet for processing {"connection_id":163067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a8"} 
[2026-08-25 16:53:47] local.INFO: GPS Element Parsed {"raw_longitude":766001536,"raw_latitude":88808056,"longitude_deg":76.6001536,"latitude_deg":8.8808056,"altitude":11,"angle":91,"satellites":43,"speed":17,"hex_longitude":"2da84180","hex_latitude":"054b1a78","is_valid_coordinates":true} 
[2026-08-25 16:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640187392001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123859795890405376,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6324813072697890816,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787656988000,"timestamp_ms":1787656988000,"timestamp_seconds":1787656988,"priority":1,"record_length":96,"hex_timestamp":"000001a038a8e560"} 
[2026-08-25 16:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 16:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640187392001,"66":13472,"117":206,"84":6144,"24":17,"16":123859795890405376,"45":-6324813072697890816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-25 16:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640187392001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:53:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 16:53:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123859795890405376,"km_value":123859795890405.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6324813072697890816,"description":"Unknown IO ID 45"} 
[2026-08-25 16:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640187392001,"power":13472,"unknown_117":206,"unknown_84":6144,"ignition":17,"odometer":null,"unknown_45":-6324813072697890816}} 
[2026-08-25 16:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":163067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:53:47] local.INFO: GPS data processed {"connection_id":163067,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:53:47] local.INFO: Acknowledgment sent {"connection_id":163067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:53:52] local.INFO: TCP Data received {"connection_id":164437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:53:52] local.INFO: Processing buffer {"connection_id":164437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:53:52] local.INFO: IMEI packet received {"connection_id":164437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":164437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:53:57] local.INFO: TCP Data received {"connection_id":164437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:53:57] local.INFO: Processing buffer {"connection_id":164437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:53:57] local.INFO: IMEI packet received {"connection_id":164437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":164437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:53:58] local.INFO: TCP Data received {"connection_id":164437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:53:58] local.INFO: Processing buffer {"connection_id":164437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:53:58] local.INFO: Packet analysis {"connection_id":164437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:53:58] local.INFO: Extracted packet for processing {"connection_id":164437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:53:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640065792001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787656808000,"timestamp_ms":1787656808000,"timestamp_seconds":1787656808,"priority":1,"record_length":96,"hex_timestamp":"000001a038a62640"} 
[2026-08-25 16:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 16:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640065792001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640065792001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:53:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640065792001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":164437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:53:58] local.INFO: GPS data processed {"connection_id":164437,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:53:58] local.INFO: Acknowledgment sent {"connection_id":164437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:54:18] local.INFO: TCP Data received {"connection_id":163066,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:54:18] local.INFO: Processing buffer {"connection_id":163066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a510e8012d34c14006aa4818000800e62b..."} 
[2026-08-25 16:54:18] local.INFO: Packet analysis {"connection_id":163066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:54:18] local.INFO: Extracted packet for processing {"connection_id":163066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a5"} 
[2026-08-25 16:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640047616001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787656737000,"timestamp_ms":1787656737000,"timestamp_seconds":1787656737,"priority":1,"record_length":96,"hex_timestamp":"000001a038a510e8"} 
[2026-08-25 16:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-25 16:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640047616001,"66":25560,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640047616001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640047616001,"power":25560,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":163066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:54:18] local.INFO: GPS data processed {"connection_id":163066,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:54:18] local.INFO: Acknowledgment sent {"connection_id":163066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:54:18] local.INFO: TCP Data received {"connection_id":163067,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a8ed30012da845c0054b19a8000b006c2a..."} 
[2026-08-25 16:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a8ed30012da845c0054b19a8000b006c2a..."} 
[2026-08-25 16:54:18] local.INFO: Processing buffer {"connection_id":163067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a8ed30012da845c0054b19a8000b006c2a..."} 
[2026-08-25 16:54:18] local.INFO: Packet analysis {"connection_id":163067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a8"} 
[2026-08-25 16:54:18] local.INFO: Extracted packet for processing {"connection_id":163067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a8"} 
[2026-08-25 16:54:18] local.INFO: GPS Element Parsed {"raw_longitude":766002624,"raw_latitude":88807848,"longitude_deg":76.6002624,"latitude_deg":8.8807848,"altitude":11,"angle":108,"satellites":42,"speed":26,"hex_longitude":"2da845c0","hex_latitude":"054b19a8","is_valid_coordinates":true} 
[2026-08-25 16:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640188928001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123859851724980224,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6322631641628248064,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787656990000,"timestamp_ms":1787656990000,"timestamp_seconds":1787656990,"priority":1,"record_length":96,"hex_timestamp":"000001a038a8ed30"} 
[2026-08-25 16:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:54: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-25 16:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 16:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640188928001,"66":13515,"117":206,"84":6144,"24":26,"16":123859851724980224,"45":-6322631641628248064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-25 16:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640188928001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:54:18] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 16:54:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123859851724980224,"km_value":123859851724980.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6322631641628248064,"description":"Unknown IO ID 45"} 
[2026-08-25 16:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640188928001,"power":13515,"unknown_117":206,"unknown_84":6144,"ignition":26,"odometer":null,"unknown_45":-6322631641628248064}} 
[2026-08-25 16:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":163067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:54:18] local.INFO: GPS data processed {"connection_id":163067,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:54:18] local.INFO: Acknowledgment sent {"connection_id":163067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:54:29] local.INFO: TCP Data received {"connection_id":164437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:54:29] local.INFO: Processing buffer {"connection_id":164437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:54:29] local.INFO: Packet analysis {"connection_id":164437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:54:29] local.INFO: Extracted packet for processing {"connection_id":164437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:54:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640065792001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787656808000,"timestamp_ms":1787656808000,"timestamp_seconds":1787656808,"priority":1,"record_length":96,"hex_timestamp":"000001a038a62640"} 
[2026-08-25 16:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 16:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:54:29] 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-25 16:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640065792001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640065792001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:54:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640065792001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":164437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:54:29] local.INFO: GPS data processed {"connection_id":164437,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:54:29] local.INFO: Acknowledgment sent {"connection_id":164437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:54:44] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:54:44] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:54:44] local.INFO: IMEI packet received {"connection_id":161821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":161821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:54:46] local.INFO: TCP Data received {"connection_id":164438,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:54:46] local.INFO: Processing buffer {"connection_id":164438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:54:46] local.INFO: IMEI packet received {"connection_id":164438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":164438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:54:51] local.INFO: TCP Data received {"connection_id":164438,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:54:51] local.INFO: Processing buffer {"connection_id":164438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:54:51] local.INFO: IMEI packet received {"connection_id":164438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":164438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:54:51] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:54:51] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:54:51] local.INFO: IMEI packet received {"connection_id":161821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":161821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:54:52] local.INFO: TCP Data received {"connection_id":164438,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a91828012da868c0054b1048000b00652c..."} 
[2026-08-25 16:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a91828012da868c0054b1048000b00652c..."} 
[2026-08-25 16:54:52] local.INFO: Processing buffer {"connection_id":164438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a91828012da868c0054b1048000b00652c..."} 
[2026-08-25 16:54:52] local.INFO: Packet analysis {"connection_id":164438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:54:52] local.INFO: Extracted packet for processing {"connection_id":164438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:54:52] local.INFO: GPS Element Parsed {"raw_longitude":766011584,"raw_latitude":88805448,"longitude_deg":76.6011584,"latitude_deg":8.8805448,"altitude":11,"angle":101,"satellites":44,"speed":36,"hex_longitude":"2da868c0","hex_latitude":"054b1048","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640189440001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123860298401579008,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6321435372977281024,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787657001000,"timestamp_ms":1787657001000,"timestamp_seconds":1787657001,"priority":1,"record_length":96,"hex_timestamp":"000001a038a91828"} 
[2026-08-25 16: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-25 16:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 16:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640189440001,"66":13624,"117":206,"84":6144,"24":36,"16":123860298401579008,"45":-6321435372977281024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-25 16:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640189440001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:54:52] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 16:54:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123860298401579008,"km_value":123860298401579.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6321435372977281024,"description":"Unknown IO ID 45"} 
[2026-08-25 16:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640189440001,"power":13624,"unknown_117":206,"unknown_84":6144,"ignition":36,"odometer":null,"unknown_45":-6321435372977281024}} 
[2026-08-25 16:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":164438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:54:52] local.INFO: GPS data processed {"connection_id":164438,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:54:52] local.INFO: Acknowledgment sent {"connection_id":164438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:54:53] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:54:53] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:54:53] local.INFO: Packet analysis {"connection_id":161821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:54:53] local.INFO: Extracted packet for processing {"connection_id":161821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640124672001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787657038000,"timestamp_ms":1787657038000,"timestamp_seconds":1787657038,"priority":1,"record_length":96,"hex_timestamp":"000001a038a9a8b0"} 
[2026-08-25 16: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-25 16:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:54:53] 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-25 16:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640124672001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640124672001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640124672001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":161821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:54:53] local.INFO: GPS data processed {"connection_id":161821,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:54:53] local.INFO: Acknowledgment sent {"connection_id":161821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:54:55] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:54:55] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:54:55] local.INFO: Packet analysis {"connection_id":161821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:54:55] local.INFO: Extracted packet for processing {"connection_id":161821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640124672001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787657038000,"timestamp_ms":1787657038000,"timestamp_seconds":1787657038,"priority":1,"record_length":96,"hex_timestamp":"000001a038a9a8b0"} 
[2026-08-25 16: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-25 16:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:54: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-25 16:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640124672001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640124672001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640124672001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":161821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:54:55] local.INFO: GPS data processed {"connection_id":161821,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:54:55] local.INFO: Acknowledgment sent {"connection_id":161821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:54:56] local.INFO: TCP Data received {"connection_id":164438,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a93f38012da88cc0054b0820000c006626..."} 
[2026-08-25 16:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a93f38012da88cc0054b0820000c006626..."} 
[2026-08-25 16:54:56] local.INFO: Processing buffer {"connection_id":164438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a93f38012da88cc0054b0820000c006626..."} 
[2026-08-25 16:54:56] local.INFO: Packet analysis {"connection_id":164438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:54:56] local.INFO: Extracted packet for processing {"connection_id":164438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:54:56] local.INFO: GPS Element Parsed {"raw_longitude":766020800,"raw_latitude":88803360,"longitude_deg":76.60208,"latitude_deg":8.880336,"altitude":12,"angle":102,"satellites":38,"speed":38,"hex_longitude":"2da88cc0","hex_latitude":"054b0820","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640192256001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123860749373145088,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6311583748793022464,"note":"Value kept but may cause issues"} 
[2026-08-25 16:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787657011000,"timestamp_ms":1787657011000,"timestamp_seconds":1787657011,"priority":1,"record_length":96,"hex_timestamp":"000001a038a93f38"} 
[2026-08-25 16: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-25 16:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 16:54:56] 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-25 16: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-25 16: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-25 16:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640192256001,"66":13624,"156":206,"84":6144,"24":38,"16":123860749373145088,"45":-6311583748793022464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-08-25 16:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640192256001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:54:56] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-25 16:54:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123860749373145088,"km_value":123860749373145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6311583748793022464,"description":"Unknown IO ID 45"} 
[2026-08-25 16:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640192256001,"power":13624,"unknown_156":206,"unknown_84":6144,"ignition":38,"odometer":null,"unknown_45":-6311583748793022464}} 
[2026-08-25 16:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":164438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:54:56] local.INFO: GPS data processed {"connection_id":164438,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:54:56] local.INFO: Acknowledgment sent {"connection_id":164438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:54:57] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:54:57] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:54:57] local.INFO: IMEI packet received {"connection_id":162068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":162068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:55:02] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:55:02] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:55:02] local.INFO: IMEI packet received {"connection_id":162068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":162068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:55:03] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:55:03] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:55:03] local.INFO: Packet analysis {"connection_id":162068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:55:03] local.INFO: Extracted packet for processing {"connection_id":162068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640065792001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787656808000,"timestamp_ms":1787656808000,"timestamp_seconds":1787656808,"priority":1,"record_length":96,"hex_timestamp":"000001a038a62640"} 
[2026-08-25 16:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 16:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:55:03] 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-25 16:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640065792001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640065792001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:55:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:55:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640065792001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":162068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:55:03] local.INFO: GPS data processed {"connection_id":162068,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:55:03] local.INFO: Acknowledgment sent {"connection_id":162068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:55:36] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:55:36] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a62640012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 16:55:36] local.INFO: Packet analysis {"connection_id":162068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:55:36] local.INFO: Extracted packet for processing {"connection_id":162068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a6"} 
[2026-08-25 16:55:36] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640065792001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787656808000,"timestamp_ms":1787656808000,"timestamp_seconds":1787656808,"priority":1,"record_length":96,"hex_timestamp":"000001a038a62640"} 
[2026-08-25 16: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-25 16:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":107,"data_length":795,"current_offset":136} 
[2026-08-25 16:55: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-25 16: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-25 16: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-25 16:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:55: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-25 16:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640065792001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640065792001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:55:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640065792001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":162068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:55:36] local.INFO: GPS data processed {"connection_id":162068,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:55:36] local.INFO: Acknowledgment sent {"connection_id":162068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:55:44] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:55:44] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:55:44] local.INFO: IMEI packet received {"connection_id":162069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":162069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:55:50] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:55:50] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:55:50] local.INFO: IMEI packet received {"connection_id":162069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":162069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:55:51] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:55:51] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:55:51] local.INFO: Packet analysis {"connection_id":162069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:55:51] local.INFO: Extracted packet for processing {"connection_id":162069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640124672001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:55:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787657038000,"timestamp_ms":1787657038000,"timestamp_seconds":1787657038,"priority":1,"record_length":96,"hex_timestamp":"000001a038a9a8b0"} 
[2026-08-25 16:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640124672001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640124672001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640124672001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":162069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:55:51] local.INFO: GPS data processed {"connection_id":162069,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:55:51] local.INFO: Acknowledgment sent {"connection_id":162069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:55:52] local.INFO: TCP Data received {"connection_id":163068,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:55:52] local.INFO: Processing buffer {"connection_id":163068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:55:52] local.INFO: IMEI packet received {"connection_id":163068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":163068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:55:57] local.INFO: TCP Data received {"connection_id":163068,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:55:57] local.INFO: Processing buffer {"connection_id":163068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:55:57] local.INFO: IMEI packet received {"connection_id":163068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":163068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:55:58] local.INFO: TCP Data received {"connection_id":163068,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:55:58] local.INFO: Processing buffer {"connection_id":163068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:55:58] local.INFO: Packet analysis {"connection_id":163068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:55:58] local.INFO: Extracted packet for processing {"connection_id":163068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:55:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640142848001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787657109000,"timestamp_ms":1787657109000,"timestamp_seconds":1787657109,"priority":1,"record_length":96,"hex_timestamp":"000001a038aabe08"} 
[2026-08-25 16: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-25 16:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16: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-25 16: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-25 16:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:55:58] 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-25 16:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640142848001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640142848001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:55:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:55:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640142848001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":163068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:55:58] local.INFO: GPS data processed {"connection_id":163068,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:55:58] local.INFO: Acknowledgment sent {"connection_id":163068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:56:23] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:56:23] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:56:23] local.INFO: Packet analysis {"connection_id":162069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:56:23] local.INFO: Extracted packet for processing {"connection_id":162069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:56:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640124672001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787657038000,"timestamp_ms":1787657038000,"timestamp_seconds":1787657038,"priority":1,"record_length":96,"hex_timestamp":"000001a038a9a8b0"} 
[2026-08-25 16: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-25 16:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640124672001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640124672001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:56:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640124672001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":162069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:56:23] local.INFO: GPS data processed {"connection_id":162069,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:56:23] local.INFO: Acknowledgment sent {"connection_id":162069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:56:29] local.INFO: TCP Data received {"connection_id":163068,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:56:29] local.INFO: Processing buffer {"connection_id":163068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:56:29] local.INFO: Packet analysis {"connection_id":163068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:56:29] local.INFO: Extracted packet for processing {"connection_id":163068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:56:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640142848001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787657109000,"timestamp_ms":1787657109000,"timestamp_seconds":1787657109,"priority":1,"record_length":96,"hex_timestamp":"000001a038aabe08"} 
[2026-08-25 16:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:56:29] 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-25 16:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640142848001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640142848001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:56:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:56:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640142848001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":163068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:56:29] local.INFO: GPS data processed {"connection_id":163068,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:56:29] local.INFO: Acknowledgment sent {"connection_id":163068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:56:42] local.INFO: TCP Data received {"connection_id":163069,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:56:42] local.INFO: Processing buffer {"connection_id":163069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:56:42] local.INFO: IMEI packet received {"connection_id":163069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":163069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:56:44] local.INFO: TCP Data received {"connection_id":163069,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:56:44] local.INFO: Processing buffer {"connection_id":163069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:56:44] local.INFO: IMEI packet received {"connection_id":163069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":163069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:56:45] local.INFO: TCP Data received {"connection_id":163070,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:56:45] local.INFO: Processing buffer {"connection_id":163070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:56:45] local.INFO: IMEI packet received {"connection_id":163070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":163070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:56:46] local.INFO: TCP Data received {"connection_id":163069,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:56:46] local.INFO: Processing buffer {"connection_id":163069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:56:46] local.INFO: Packet analysis {"connection_id":163069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:56:46] local.INFO: Extracted packet for processing {"connection_id":163069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640124672001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787657038000,"timestamp_ms":1787657038000,"timestamp_seconds":1787657038,"priority":1,"record_length":96,"hex_timestamp":"000001a038a9a8b0"} 
[2026-08-25 16:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:56:46] 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-25 16:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640124672001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640124672001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640124672001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":163069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:56:46] local.INFO: GPS data processed {"connection_id":163069,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:56:46] local.INFO: Acknowledgment sent {"connection_id":163069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:56:48] local.INFO: TCP Data received {"connection_id":163070,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:56:48] local.INFO: Processing buffer {"connection_id":163070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:56:48] local.INFO: IMEI packet received {"connection_id":163070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":163070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:56:50] local.INFO: TCP Data received {"connection_id":163069,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:56:50] local.INFO: Processing buffer {"connection_id":163069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:56:50] local.INFO: Packet analysis {"connection_id":163069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:56:50] local.INFO: Extracted packet for processing {"connection_id":163069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:56:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640124672001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787657038000,"timestamp_ms":1787657038000,"timestamp_seconds":1787657038,"priority":1,"record_length":96,"hex_timestamp":"000001a038a9a8b0"} 
[2026-08-25 16:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:56: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-25 16:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640124672001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640124672001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:56:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640124672001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":163069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:56:50] local.INFO: GPS data processed {"connection_id":163069,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:56:50] local.INFO: Acknowledgment sent {"connection_id":163069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:56:51] local.INFO: TCP Data received {"connection_id":163070,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:56:51] local.INFO: Processing buffer {"connection_id":163070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:56:51] local.INFO: IMEI packet received {"connection_id":163070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":163070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:56:52] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:56:52] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:56:52] local.INFO: IMEI packet received {"connection_id":162070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":162070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:56:52] local.INFO: TCP Data received {"connection_id":163070,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a96648012da8b140054b0250000d005d2b..."} 
[2026-08-25 16:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a96648012da8b140054b0250000d005d2b..."} 
[2026-08-25 16:56:52] local.INFO: Processing buffer {"connection_id":163070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a96648012da8b140054b0250000d005d2b..."} 
[2026-08-25 16:56:52] local.INFO: Packet analysis {"connection_id":163070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:56:52] local.INFO: Extracted packet for processing {"connection_id":163070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:56:52] local.INFO: GPS Element Parsed {"raw_longitude":766030144,"raw_latitude":88801872,"longitude_deg":76.6030144,"latitude_deg":8.8801872,"altitude":13,"angle":93,"satellites":43,"speed":32,"hex_longitude":"2da8b140","hex_latitude":"054b0250","is_valid_coordinates":true} 
[2026-08-25 16:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640194816001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123861204639678464,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6301450649631973376,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787657021000,"timestamp_ms":1787657021000,"timestamp_seconds":1787657021,"priority":1,"record_length":96,"hex_timestamp":"000001a038a96648"} 
[2026-08-25 16:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-25 16:56:52] 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-25 16:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640194816001,"66":13363,"156":206,"84":6144,"24":32,"16":123861204639678464,"45":-6301450649631973376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-08-25 16:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640194816001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:56:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-25 16:56:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123861204639678464,"km_value":123861204639678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6301450649631973376,"description":"Unknown IO ID 45"} 
[2026-08-25 16:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640194816001,"power":13363,"unknown_156":206,"unknown_84":6144,"ignition":32,"odometer":null,"unknown_45":-6301450649631973376}} 
[2026-08-25 16:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":163070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:56:52] local.INFO: GPS data processed {"connection_id":163070,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:56:52] local.INFO: Acknowledgment sent {"connection_id":163070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:56:57] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:56:57] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:56:57] local.INFO: IMEI packet received {"connection_id":162070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":162070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:56:58] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:56:58] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:56:58] local.INFO: Packet analysis {"connection_id":162070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:56:58] local.INFO: Extracted packet for processing {"connection_id":162070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:56:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640142848001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787657109000,"timestamp_ms":1787657109000,"timestamp_seconds":1787657109,"priority":1,"record_length":96,"hex_timestamp":"000001a038aabe08"} 
[2026-08-25 16:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:56:58] 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-25 16:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640142848001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640142848001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:56:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:56:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640142848001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":162070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:56:58] local.INFO: GPS data processed {"connection_id":162070,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:56:58] local.INFO: Acknowledgment sent {"connection_id":162070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:57:22] local.INFO: TCP Data received {"connection_id":163069,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:57:22] local.INFO: Processing buffer {"connection_id":163069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:57:22] local.INFO: Packet analysis {"connection_id":163069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:57:22] local.INFO: Extracted packet for processing {"connection_id":163069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:57:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640124672001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787657038000,"timestamp_ms":1787657038000,"timestamp_seconds":1787657038,"priority":1,"record_length":96,"hex_timestamp":"000001a038a9a8b0"} 
[2026-08-25 16:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640124672001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640124672001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:57:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640124672001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":163069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:57:22] local.INFO: GPS data processed {"connection_id":163069,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:57:22] local.INFO: Acknowledgment sent {"connection_id":163069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:57:26] local.INFO: TCP Data received {"connection_id":163070,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a9a4c8012da8d540054b00600010005d2a..."} 
[2026-08-25 16:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a9a4c8012da8d540054b00600010005d2a..."} 
[2026-08-25 16:57:26] local.INFO: Processing buffer {"connection_id":163070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a9a4c8012da8d540054b00600010005d2a..."} 
[2026-08-25 16:57:26] local.INFO: Packet analysis {"connection_id":163070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:57:26] local.INFO: Extracted packet for processing {"connection_id":163070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:57:26] local.INFO: GPS Element Parsed {"raw_longitude":766039360,"raw_latitude":88801376,"longitude_deg":76.603936,"latitude_deg":8.8801376,"altitude":16,"angle":93,"satellites":42,"speed":27,"hex_longitude":"2da8d540","hex_latitude":"054b0060","is_valid_coordinates":true} 
[2026-08-25 16:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640197376001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123861647021309952,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6291176812982415360,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787657037000,"timestamp_ms":1787657037000,"timestamp_seconds":1787657037,"priority":1,"record_length":96,"hex_timestamp":"000001a038a9a4c8"} 
[2026-08-25 16:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:57: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-25 16:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 16:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640197376001,"66":13472,"155":206,"84":6144,"24":27,"16":123861647021309952,"45":-6291176812982415360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,84,24,16,45]} 
[2026-08-25 16:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640197376001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:57:26] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-25 16:57:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123861647021309952,"km_value":123861647021309.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6291176812982415360,"description":"Unknown IO ID 45"} 
[2026-08-25 16:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640197376001,"power":13472,"unknown_155":206,"unknown_84":6144,"ignition":27,"odometer":null,"unknown_45":-6291176812982415360}} 
[2026-08-25 16:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":163070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:57:26] local.INFO: GPS data processed {"connection_id":163070,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:57:26] local.INFO: Acknowledgment sent {"connection_id":163070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:57:30] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:57:30] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:57:30] local.INFO: Packet analysis {"connection_id":162070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:57:30] local.INFO: Extracted packet for processing {"connection_id":162070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:57:30] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640142848001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787657109000,"timestamp_ms":1787657109000,"timestamp_seconds":1787657109,"priority":1,"record_length":96,"hex_timestamp":"000001a038aabe08"} 
[2026-08-25 16:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:57:30] 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-25 16:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640142848001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640142848001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:57:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640142848001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":162070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:57:30] local.INFO: GPS data processed {"connection_id":162070,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:57:30] local.INFO: Acknowledgment sent {"connection_id":162070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:57:39] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:57:39] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:57:39] local.INFO: IMEI packet received {"connection_id":161822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":161822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:57:40] local.INFO: TCP Data received {"connection_id":164439,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:57:40] local.INFO: Processing buffer {"connection_id":164439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:57:40] local.INFO: IMEI packet received {"connection_id":164439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":164439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:57:44] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:57:44] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:57:44] local.INFO: IMEI packet received {"connection_id":161822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":161822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:57:46] local.INFO: TCP Data received {"connection_id":164439,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:57:46] local.INFO: Processing buffer {"connection_id":164439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:57:46] local.INFO: IMEI packet received {"connection_id":164439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":164439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:57:47] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:57:47] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:57:47] local.INFO: Packet analysis {"connection_id":161822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:57:47] local.INFO: Extracted packet for processing {"connection_id":161822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640124672001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787657038000,"timestamp_ms":1787657038000,"timestamp_seconds":1787657038,"priority":1,"record_length":96,"hex_timestamp":"000001a038a9a8b0"} 
[2026-08-25 16: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-25 16:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640124672001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640124672001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640124672001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":161822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:57:47] local.INFO: GPS data processed {"connection_id":161822,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:57:47] local.INFO: Acknowledgment sent {"connection_id":161822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:57:52] local.INFO: TCP Data received {"connection_id":164440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:57:52] local.INFO: Processing buffer {"connection_id":164440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:57:52] local.INFO: IMEI packet received {"connection_id":164440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":164440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:57:56] local.INFO: TCP Data received {"connection_id":164439,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a038a9f2e8012da8f440054afe800011005f28..."} 
[2026-08-25 16:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a9f2e8012da8f440054afe800011005f28..."} 
[2026-08-25 16:57:56] local.INFO: Processing buffer {"connection_id":164439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a9f2e8012da8f440054afe800011005f28..."} 
[2026-08-25 16:57:56] local.INFO: Packet analysis {"connection_id":164439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:57:56] local.INFO: Extracted packet for processing {"connection_id":164439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":766047296,"raw_latitude":88800896,"longitude_deg":76.6047296,"latitude_deg":8.8800896,"altitude":17,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2da8f440","hex_latitude":"054afe80","is_valid_coordinates":true} 
[2026-08-25 16:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640201472001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123862029273399296,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6281043713820958720,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787657057000,"timestamp_ms":1787657057000,"timestamp_seconds":1787657057,"priority":1,"record_length":96,"hex_timestamp":"000001a038a9f2e8"} 
[2026-08-25 16:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 16:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 16:57:56] 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-25 16:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640201472001,"66":13678,"155":206,"84":6144,"24":0,"16":123862029273399296,"45":-6281043713820958720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,84,24,16,45]} 
[2026-08-25 16:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640201472001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:57:56] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-25 16:57:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123862029273399296,"km_value":123862029273399.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6281043713820958720,"description":"Unknown IO ID 45"} 
[2026-08-25 16:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640201472001,"power":13678,"unknown_155":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6281043713820958720}} 
[2026-08-25 16:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":164439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:57:56] local.INFO: GPS data processed {"connection_id":164439,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:57:56] local.INFO: Acknowledgment sent {"connection_id":164439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:57:57] local.INFO: TCP Data received {"connection_id":164440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:57:57] local.INFO: Processing buffer {"connection_id":164440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:57:57] local.INFO: IMEI packet received {"connection_id":164440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":164440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:57:57] local.INFO: TCP Data received {"connection_id":164440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:57:57] local.INFO: Processing buffer {"connection_id":164440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:57:57] local.INFO: Packet analysis {"connection_id":164440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:57:57] local.INFO: Extracted packet for processing {"connection_id":164440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:57:57] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640142848001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787657109000,"timestamp_ms":1787657109000,"timestamp_seconds":1787657109,"priority":1,"record_length":96,"hex_timestamp":"000001a038aabe08"} 
[2026-08-25 16: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-25 16:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:57:57] 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-25 16:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640142848001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640142848001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:57:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640142848001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":164440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:57:57] local.INFO: GPS data processed {"connection_id":164440,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:57:57] local.INFO: Acknowledgment sent {"connection_id":164440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:58:19] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:58:20] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:58:20] local.INFO: Packet analysis {"connection_id":161822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:58:20] local.INFO: Extracted packet for processing {"connection_id":161822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:58:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640124672001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787657038000,"timestamp_ms":1787657038000,"timestamp_seconds":1787657038,"priority":1,"record_length":96,"hex_timestamp":"000001a038a9a8b0"} 
[2026-08-25 16: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-25 16:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:58:20] 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-25 16:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640124672001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640124672001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:58:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640124672001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":161822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:58:20] local.INFO: GPS data processed {"connection_id":161822,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:58:20] local.INFO: Acknowledgment sent {"connection_id":161822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:58:28] local.INFO: TCP Data received {"connection_id":164440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:58:28] local.INFO: Processing buffer {"connection_id":164440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:58:28] local.INFO: Packet analysis {"connection_id":164440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:58:28] local.INFO: Extracted packet for processing {"connection_id":164440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:58:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640142848001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787657109000,"timestamp_ms":1787657109000,"timestamp_seconds":1787657109,"priority":1,"record_length":96,"hex_timestamp":"000001a038aabe08"} 
[2026-08-25 16:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640142848001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640142848001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:58:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640142848001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":164440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:58:28] local.INFO: GPS data processed {"connection_id":164440,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:58:28] local.INFO: Acknowledgment sent {"connection_id":164440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:58:39] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:58:39] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:58:39] local.INFO: IMEI packet received {"connection_id":162071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":162071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:58:44] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:58:44] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:58:44] local.INFO: IMEI packet received {"connection_id":162071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":162071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:58:46] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:58:46] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:58:46] local.INFO: Packet analysis {"connection_id":162071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:58:46] local.INFO: Extracted packet for processing {"connection_id":162071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640124672001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787657038000,"timestamp_ms":1787657038000,"timestamp_seconds":1787657038,"priority":1,"record_length":96,"hex_timestamp":"000001a038a9a8b0"} 
[2026-08-25 16:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640124672001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640124672001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640124672001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":162071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:58:46] local.INFO: GPS data processed {"connection_id":162071,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:58:46] local.INFO: Acknowledgment sent {"connection_id":162071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:58:46] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:58:46] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:58:46] local.INFO: IMEI packet received {"connection_id":162072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":162072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:58:50] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:58:50] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:58:50] local.INFO: IMEI packet received {"connection_id":162072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":162072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:58:51] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a038ad8cc8012da93d80054ae690000e00212a..."} 
[2026-08-25 16:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ad8cc8012da93d80054ae690000e00212a..."} 
[2026-08-25 16:58:51] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ad8cc8012da93d80054ae690000e00212a..."} 
[2026-08-25 16:58:51] local.INFO: Packet analysis {"connection_id":162072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 16:58:51] local.INFO: Extracted packet for processing {"connection_id":162072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 16:58:51] local.INFO: GPS Element Parsed {"raw_longitude":766066048,"raw_latitude":88794768,"longitude_deg":76.6066048,"latitude_deg":8.8794768,"altitude":14,"angle":33,"satellites":42,"speed":1,"hex_longitude":"2da93d80","hex_latitude":"054ae690","is_valid_coordinates":true} 
[2026-08-25 16:58:51] 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-25 16:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267008001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251699947500564480,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787657293000,"timestamp_ms":1787657293000,"timestamp_seconds":1787657293,"priority":1,"record_length":96,"hex_timestamp":"000001a038ad8cc8"} 
[2026-08-25 16:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 16:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 16:58:51] 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-25 16:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267008001,"66":13254,"115":206,"84":6144,"24":1,"16":123863072950452224,"45":-6251699947500564480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 16:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267008001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:58:51] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 16:58:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251699947500564480,"description":"Unknown IO ID 45"} 
[2026-08-25 16:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267008001,"power":13254,"unknown_115":206,"unknown_84":6144,"ignition":1,"odometer":null,"unknown_45":-6251699947500564480}} 
[2026-08-25 16:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":162072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:58:51] local.INFO: GPS data processed {"connection_id":162072,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:58:51] local.INFO: Acknowledgment sent {"connection_id":162072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:58:52] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:58:52] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:58:52] local.INFO: IMEI packet received {"connection_id":162073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":162073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:58:57] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:58:57] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:58:57] local.INFO: IMEI packet received {"connection_id":162073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":162073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:58:57] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:58:57] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:58:57] local.INFO: Packet analysis {"connection_id":162073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:58:57] local.INFO: Extracted packet for processing {"connection_id":162073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:58:57] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640142848001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787657109000,"timestamp_ms":1787657109000,"timestamp_seconds":1787657109,"priority":1,"record_length":96,"hex_timestamp":"000001a038aabe08"} 
[2026-08-25 16:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:58:57] 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-25 16:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640142848001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640142848001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:58:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640142848001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":162073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:58:58] local.INFO: GPS data processed {"connection_id":162073,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:58:58] local.INFO: Acknowledgment sent {"connection_id":162073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:59:18] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:59:18] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038a9a8b0012d34c14006aa4818000700e62d..."} 
[2026-08-25 16:59:18] local.INFO: Packet analysis {"connection_id":162071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:59:18] local.INFO: Extracted packet for processing {"connection_id":162071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038a9"} 
[2026-08-25 16:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640124672001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787657038000,"timestamp_ms":1787657038000,"timestamp_seconds":1787657038,"priority":1,"record_length":96,"hex_timestamp":"000001a038a9a8b0"} 
[2026-08-25 16:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 16:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:59:18] local.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-25 16:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640124672001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640124672001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640124672001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":162071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:59:18] local.INFO: GPS data processed {"connection_id":162071,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:59:18] local.INFO: Acknowledgment sent {"connection_id":162071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:59:23] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 16:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 16:59:23] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 16:59:23] local.INFO: Packet analysis {"connection_id":162072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 16:59:23] local.INFO: Extracted packet for processing {"connection_id":162072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 16:59:23] local.INFO: GPS Element Parsed {"raw_longitude":766066112,"raw_latitude":88794744,"longitude_deg":76.6066112,"latitude_deg":8.8794744,"altitude":14,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93dc0","hex_latitude":"054ae678","is_valid_coordinates":true} 
[2026-08-25 16:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267008001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251699947500564480,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787657295000,"timestamp_ms":1787657295000,"timestamp_seconds":1787657295,"priority":1,"record_length":96,"hex_timestamp":"000001a038ad9498"} 
[2026-08-25 16: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-25 16:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 16:59:23] 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-25 16: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-25 16: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-25 16:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267008001,"66":13048,"115":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251699947500564480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 16:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267008001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:59:23] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 16:59:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251699947500564480,"description":"Unknown IO ID 45"} 
[2026-08-25 16:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267008001,"power":13048,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251699947500564480}} 
[2026-08-25 16:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":162072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:59:23] local.INFO: GPS data processed {"connection_id":162072,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:59:23] local.INFO: Acknowledgment sent {"connection_id":162072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:59:28] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:59:28] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:59:28] local.INFO: Packet analysis {"connection_id":162073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:59:28] local.INFO: Extracted packet for processing {"connection_id":162073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:59:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640142848001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787657109000,"timestamp_ms":1787657109000,"timestamp_seconds":1787657109,"priority":1,"record_length":96,"hex_timestamp":"000001a038aabe08"} 
[2026-08-25 16:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640142848001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640142848001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:59:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640142848001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":162073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:59:28] local.INFO: GPS data processed {"connection_id":162073,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:59:28] local.INFO: Acknowledgment sent {"connection_id":162073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:59:41] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:59:41] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:59:41] local.INFO: IMEI packet received {"connection_id":161823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 16:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":161823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:59:44] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:59:44] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:59:44] local.INFO: IMEI packet received {"connection_id":161824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 16:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":161824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:59:45] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:59:45] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 16:59:45] local.INFO: IMEI packet received {"connection_id":162074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 16:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":162074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:59:46] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:59:46] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 16:59:46] local.INFO: IMEI packet received {"connection_id":161823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 16:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":161823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:59:47] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 16:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 16:59:47] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 16:59:47] local.INFO: Packet analysis {"connection_id":161823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 16:59:47] local.INFO: Extracted packet for processing {"connection_id":161823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 16:59:47] local.INFO: GPS Element Parsed {"raw_longitude":766066112,"raw_latitude":88794744,"longitude_deg":76.6066112,"latitude_deg":8.8794744,"altitude":14,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93dc0","hex_latitude":"054ae678","is_valid_coordinates":true} 
[2026-08-25 16:59:47] 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-25 16:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787657295000,"timestamp_ms":1787657295000,"timestamp_seconds":1787657295,"priority":1,"record_length":96,"hex_timestamp":"000001a038ad9498"} 
[2026-08-25 16:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 16:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 16:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 16:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 16:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 16:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 16:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":13048,"115":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 16:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 16:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 16:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:59:47] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 16:59:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 16:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 16:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":13048,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 16:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":161823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:59:47] local.INFO: GPS data processed {"connection_id":161823,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:59:47] local.INFO: Acknowledgment sent {"connection_id":161823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:59:49] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:59:49] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 16:59:49] local.INFO: IMEI packet received {"connection_id":161824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 16:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":161824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:59:51] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 16:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 16:59:51] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 16:59:51] local.INFO: Packet analysis {"connection_id":161824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 16:59:51] local.INFO: Extracted packet for processing {"connection_id":161824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 16:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 16:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640201728001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787657339000,"timestamp_ms":1787657339000,"timestamp_seconds":1787657339,"priority":1,"record_length":96,"hex_timestamp":"000001a038ae4078"} 
[2026-08-25 16:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 16:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 16:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 16:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:59: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-25 16:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640201728001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640201728001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640201728001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":161824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:59:51] local.INFO: GPS data processed {"connection_id":161824,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:59:51] local.INFO: Acknowledgment sent {"connection_id":161824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:59:52] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:59:52] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:59:52] local.INFO: IMEI packet received {"connection_id":161825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 16:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":161825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 16:59:56] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 16:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 16:59:56] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 16:59:56] local.INFO: Packet analysis {"connection_id":161824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 16:59:56] local.INFO: Extracted packet for processing {"connection_id":161824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 16:59:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640201728001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 16:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 16:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787657339000,"timestamp_ms":1787657339000,"timestamp_seconds":1787657339,"priority":1,"record_length":96,"hex_timestamp":"000001a038ae4078"} 
[2026-08-25 16: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-25 16:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 16:59:56] 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-25 16: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-25 16: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-25 16:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 16:59: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-25 16:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 16:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 16:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640201728001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 16:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 16:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 16:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640201728001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:59:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 16:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 16:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640201728001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 16:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":161824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:59:56] local.INFO: GPS data processed {"connection_id":161824,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:59:56] local.INFO: Acknowledgment sent {"connection_id":161824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 16:59:57] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:59:57] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 16:59:57] local.INFO: IMEI packet received {"connection_id":161825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 16:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":161825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 16:59:57] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:59:57] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 16:59:57] local.INFO: Packet analysis {"connection_id":161825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:59:57] local.INFO: Extracted packet for processing {"connection_id":161825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 16:59:57] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 16: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-25 16:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640142848001,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 16:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 16:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787657109000,"timestamp_ms":1787657109000,"timestamp_seconds":1787657109,"priority":1,"record_length":96,"hex_timestamp":"000001a038aabe08"} 
[2026-08-25 16: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-25 16:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 16:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 16: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-25 16: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-25 16:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 16:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 16:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 16:59:57] 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-25 16:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 16:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 16:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640142848001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 16:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 16:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 16:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640142848001,"description":"Unknown IO ID 0"} 
[2026-08-25 16:59:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 16:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 16:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 16:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 16:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640142848001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 16:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":161825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 16:59:57] local.INFO: GPS data processed {"connection_id":161825,"processed":1,"errors":0,"total":1} 
[2026-08-25 16:59:57] local.INFO: Acknowledgment sent {"connection_id":161825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:00:17] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:00:17] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:00:17] local.INFO: IMEI packet received {"connection_id":162075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":162075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:00:18] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:00:18] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:00:18] local.INFO: Packet analysis {"connection_id":161823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:00:18] local.INFO: Extracted packet for processing {"connection_id":161823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:00:18] local.INFO: GPS Element Parsed {"raw_longitude":766066112,"raw_latitude":88794744,"longitude_deg":76.6066112,"latitude_deg":8.8794744,"altitude":14,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93dc0","hex_latitude":"054ae678","is_valid_coordinates":true} 
[2026-08-25 17:00: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-25 17:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787657295000,"timestamp_ms":1787657295000,"timestamp_seconds":1787657295,"priority":1,"record_length":96,"hex_timestamp":"000001a038ad9498"} 
[2026-08-25 17:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":13048,"115":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:00:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:00:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":13048,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":161823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:00:18] local.INFO: GPS data processed {"connection_id":161823,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:00:18] local.INFO: Acknowledgment sent {"connection_id":161823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:00:28] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:00:28] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038aabe08012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:00:28] local.INFO: Packet analysis {"connection_id":161825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 17:00:28] local.INFO: Extracted packet for processing {"connection_id":161825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038aa"} 
[2026-08-25 17:00:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640142848001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787657109000,"timestamp_ms":1787657109000,"timestamp_seconds":1787657109,"priority":1,"record_length":96,"hex_timestamp":"000001a038aabe08"} 
[2026-08-25 17: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-25 17:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640142848001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640142848001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:00:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:00:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640142848001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":161825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:00:28] local.INFO: GPS data processed {"connection_id":161825,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:00:28] local.INFO: Acknowledgment sent {"connection_id":161825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:00:39] local.INFO: TCP Data received {"connection_id":163071,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:00:39] local.INFO: Processing buffer {"connection_id":163071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:00:39] local.INFO: IMEI packet received {"connection_id":163071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":163071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:00:40] local.INFO: TCP Data received {"connection_id":163072,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:00:40] local.INFO: Processing buffer {"connection_id":163072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:00:40] local.INFO: IMEI packet received {"connection_id":163072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":163072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:00:44] local.INFO: TCP Data received {"connection_id":163071,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:00:44] local.INFO: Processing buffer {"connection_id":163071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:00:44] local.INFO: IMEI packet received {"connection_id":163071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":163071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:00:46] local.INFO: TCP Data received {"connection_id":163072,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:00:46] local.INFO: Processing buffer {"connection_id":163072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:00:46] local.INFO: IMEI packet received {"connection_id":163072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":163072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:00:46] local.INFO: TCP Data received {"connection_id":163071,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:00:46] local.INFO: Processing buffer {"connection_id":163071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:00:46] local.INFO: Packet analysis {"connection_id":163071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:00:46] local.INFO: Extracted packet for processing {"connection_id":163071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640201728001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:00:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787657339000,"timestamp_ms":1787657339000,"timestamp_seconds":1787657339,"priority":1,"record_length":96,"hex_timestamp":"000001a038ae4078"} 
[2026-08-25 17:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640201728001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640201728001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640201728001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":163071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:00:46] local.INFO: GPS data processed {"connection_id":163071,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:00:46] local.INFO: Acknowledgment sent {"connection_id":163071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:00:47] local.INFO: TCP Data received {"connection_id":163072,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:00:47] local.INFO: Processing buffer {"connection_id":163072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:00:47] local.INFO: Packet analysis {"connection_id":163072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:00:47] local.INFO: Extracted packet for processing {"connection_id":163072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:00:47] local.INFO: GPS Element Parsed {"raw_longitude":766066112,"raw_latitude":88794744,"longitude_deg":76.6066112,"latitude_deg":8.8794744,"altitude":14,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93dc0","hex_latitude":"054ae678","is_valid_coordinates":true} 
[2026-08-25 17:00:47] 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-25 17:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787657295000,"timestamp_ms":1787657295000,"timestamp_seconds":1787657295,"priority":1,"record_length":96,"hex_timestamp":"000001a038ad9498"} 
[2026-08-25 17:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":13048,"115":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:00:47] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:00:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":13048,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":163072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:00:47] local.INFO: GPS data processed {"connection_id":163072,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:00:47] local.INFO: Acknowledgment sent {"connection_id":163072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:00:57] local.INFO: TCP Data received {"connection_id":163073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:00:57] local.INFO: Processing buffer {"connection_id":163073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:00:57] local.INFO: IMEI packet received {"connection_id":163073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":163073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:01:02] local.INFO: TCP Data received {"connection_id":163073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:01:02] local.INFO: Processing buffer {"connection_id":163073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:01:02] local.INFO: IMEI packet received {"connection_id":163073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":163073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:01:02] local.INFO: TCP Data received {"connection_id":163073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:01:02] local.INFO: Processing buffer {"connection_id":163073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:01:02] local.INFO: Packet analysis {"connection_id":163073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:01:02] local.INFO: Extracted packet for processing {"connection_id":163073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:01:02] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640219904001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787657410000,"timestamp_ms":1787657410000,"timestamp_seconds":1787657410,"priority":1,"record_length":96,"hex_timestamp":"000001a038af55d0"} 
[2026-08-25 17:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:01:02] 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-25 17:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640219904001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640219904001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:01:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:01:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640219904001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":163073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:01:02] local.INFO: GPS data processed {"connection_id":163073,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:01:02] local.INFO: Acknowledgment sent {"connection_id":163073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:01:07] local.INFO: TCP Data received {"connection_id":163073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:01:07] local.INFO: Processing buffer {"connection_id":163073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:01:07] local.INFO: Packet analysis {"connection_id":163073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:01:07] local.INFO: Extracted packet for processing {"connection_id":163073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:01:07] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640219904001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787657410000,"timestamp_ms":1787657410000,"timestamp_seconds":1787657410,"priority":1,"record_length":96,"hex_timestamp":"000001a038af55d0"} 
[2026-08-25 17: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-25 17:01:07] 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-25 17:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640219904001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640219904001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:01:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640219904001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":163073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:01:07] local.INFO: GPS data processed {"connection_id":163073,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:01:07] local.INFO: Acknowledgment sent {"connection_id":163073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:01:17] local.INFO: TCP Data received {"connection_id":163071,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:01:17] local.INFO: Processing buffer {"connection_id":163071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:01:17] local.INFO: Packet analysis {"connection_id":163071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:01:17] local.INFO: Extracted packet for processing {"connection_id":163071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640201728001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787657339000,"timestamp_ms":1787657339000,"timestamp_seconds":1787657339,"priority":1,"record_length":96,"hex_timestamp":"000001a038ae4078"} 
[2026-08-25 17:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:01:17] 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-25 17:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640201728001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640201728001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640201728001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":163071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:01:17] local.INFO: GPS data processed {"connection_id":163071,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:01:17] local.INFO: Acknowledgment sent {"connection_id":163071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:01:19] local.INFO: TCP Data received {"connection_id":163072,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:01:19] local.INFO: Processing buffer {"connection_id":163072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:01:19] local.INFO: Packet analysis {"connection_id":163072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:01:19] local.INFO: Extracted packet for processing {"connection_id":163072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:01:19] local.INFO: GPS Element Parsed {"raw_longitude":766066112,"raw_latitude":88794744,"longitude_deg":76.6066112,"latitude_deg":8.8794744,"altitude":14,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93dc0","hex_latitude":"054ae678","is_valid_coordinates":true} 
[2026-08-25 17:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787657295000,"timestamp_ms":1787657295000,"timestamp_seconds":1787657295,"priority":1,"record_length":96,"hex_timestamp":"000001a038ad9498"} 
[2026-08-25 17:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:01: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-25 17:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":13048,"115":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:01:19] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:01:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":13048,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":163072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:01:19] local.INFO: GPS data processed {"connection_id":163072,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:01:19] local.INFO: Acknowledgment sent {"connection_id":163072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:01:39] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:01:39] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:01:39] local.INFO: IMEI packet received {"connection_id":161826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":161826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:01:40] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:01:40] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:01:40] local.INFO: IMEI packet received {"connection_id":161827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":161827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:01:46] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:01:46] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:01:46] local.INFO: IMEI packet received {"connection_id":161827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":161827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:01:47] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:01:47] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:01:47] local.INFO: Packet analysis {"connection_id":161827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:01:47] local.INFO: Extracted packet for processing {"connection_id":161827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:01:47] local.INFO: GPS Element Parsed {"raw_longitude":766066112,"raw_latitude":88794744,"longitude_deg":76.6066112,"latitude_deg":8.8794744,"altitude":14,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93dc0","hex_latitude":"054ae678","is_valid_coordinates":true} 
[2026-08-25 17:01:47] 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-25 17:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787657295000,"timestamp_ms":1787657295000,"timestamp_seconds":1787657295,"priority":1,"record_length":96,"hex_timestamp":"000001a038ad9498"} 
[2026-08-25 17:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":13048,"115":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:01:47] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:01:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":13048,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":161827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:01:47] local.INFO: GPS data processed {"connection_id":161827,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:01:47] local.INFO: Acknowledgment sent {"connection_id":161827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:01:49] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:01:49] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:01:49] local.INFO: IMEI packet received {"connection_id":161826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":161826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:01:50] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:01:50] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:01:50] local.INFO: Packet analysis {"connection_id":161826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:01:50] local.INFO: Extracted packet for processing {"connection_id":161826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 17:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640201728001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787657339000,"timestamp_ms":1787657339000,"timestamp_seconds":1787657339,"priority":1,"record_length":96,"hex_timestamp":"000001a038ae4078"} 
[2026-08-25 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-25 17:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 17:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:01: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-25 17:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640201728001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640201728001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640201728001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":161826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:01:50] local.INFO: GPS data processed {"connection_id":161826,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:01:50] local.INFO: Acknowledgment sent {"connection_id":161826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:01:52] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:01:52] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:01:52] local.INFO: IMEI packet received {"connection_id":162077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":162077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:01:57] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:01:57] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:01:57] local.INFO: IMEI packet received {"connection_id":162077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":162077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:01:57] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:01:57] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:01:57] local.INFO: Packet analysis {"connection_id":162077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:01:57] local.INFO: Extracted packet for processing {"connection_id":162077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:01:57] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:01: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-25 17:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640219904001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787657410000,"timestamp_ms":1787657410000,"timestamp_seconds":1787657410,"priority":1,"record_length":96,"hex_timestamp":"000001a038af55d0"} 
[2026-08-25 17:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:01:57] 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-25 17:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:01: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-25 17:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:01:57] 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-25 17:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640219904001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640219904001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:01:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640219904001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":162077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:01:58] local.INFO: GPS data processed {"connection_id":162077,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:01:58] local.INFO: Acknowledgment sent {"connection_id":162077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:02:19] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:02:19] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:02:19] local.INFO: Packet analysis {"connection_id":161827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:02:19] local.INFO: Extracted packet for processing {"connection_id":161827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:02:19] local.INFO: GPS Element Parsed {"raw_longitude":766066112,"raw_latitude":88794744,"longitude_deg":76.6066112,"latitude_deg":8.8794744,"altitude":14,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93dc0","hex_latitude":"054ae678","is_valid_coordinates":true} 
[2026-08-25 17:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787657295000,"timestamp_ms":1787657295000,"timestamp_seconds":1787657295,"priority":1,"record_length":96,"hex_timestamp":"000001a038ad9498"} 
[2026-08-25 17: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-25 17:02: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-25 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":13048,"115":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:02:19] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:02:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":13048,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":161827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:02:19] local.INFO: GPS data processed {"connection_id":161827,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:02:19] local.INFO: Acknowledgment sent {"connection_id":161827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:02:21] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:02:21] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:02:21] local.INFO: Packet analysis {"connection_id":161826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:02:21] local.INFO: Extracted packet for processing {"connection_id":161826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 17:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640201728001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787657339000,"timestamp_ms":1787657339000,"timestamp_seconds":1787657339,"priority":1,"record_length":96,"hex_timestamp":"000001a038ae4078"} 
[2026-08-25 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-25 17:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 17:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:02: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-25 17:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640201728001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640201728001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640201728001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":161826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:02:21] local.INFO: GPS data processed {"connection_id":161826,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:02:21] local.INFO: Acknowledgment sent {"connection_id":161826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:02:28] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:02:28] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:02:28] local.INFO: Packet analysis {"connection_id":162077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:02:28] local.INFO: Extracted packet for processing {"connection_id":162077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:02:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640219904001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787657410000,"timestamp_ms":1787657410000,"timestamp_seconds":1787657410,"priority":1,"record_length":96,"hex_timestamp":"000001a038af55d0"} 
[2026-08-25 17:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640219904001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640219904001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:02:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:02:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640219904001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":162077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:02:28] local.INFO: GPS data processed {"connection_id":162077,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:02:28] local.INFO: Acknowledgment sent {"connection_id":162077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:02:44] local.INFO: TCP Data received {"connection_id":164441,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:02:44] local.INFO: Processing buffer {"connection_id":164441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:02:44] local.INFO: IMEI packet received {"connection_id":164441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":164441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:02:46] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:02:46] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:02:46] local.INFO: IMEI packet received {"connection_id":162078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":162078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:02:49] local.INFO: TCP Data received {"connection_id":164441,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:02:49] local.INFO: Processing buffer {"connection_id":164441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:02:49] local.INFO: IMEI packet received {"connection_id":164441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":164441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:02:51] local.INFO: TCP Data received {"connection_id":164441,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:02:51] local.INFO: Processing buffer {"connection_id":164441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:02:51] local.INFO: Packet analysis {"connection_id":164441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:02:51] local.INFO: Extracted packet for processing {"connection_id":164441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640201728001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787657339000,"timestamp_ms":1787657339000,"timestamp_seconds":1787657339,"priority":1,"record_length":96,"hex_timestamp":"000001a038ae4078"} 
[2026-08-25 17: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-25 17:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:02: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-25 17:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640201728001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640201728001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640201728001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":164441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:02:51] local.INFO: GPS data processed {"connection_id":164441,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:02:51] local.INFO: Acknowledgment sent {"connection_id":164441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:02:51] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:02:51] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:02:51] local.INFO: IMEI packet received {"connection_id":162078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":162078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:02:52] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:02:52] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:02:52] local.INFO: Packet analysis {"connection_id":162078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:02:52] local.INFO: Extracted packet for processing {"connection_id":162078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:02:52] local.INFO: GPS Element Parsed {"raw_longitude":766066112,"raw_latitude":88794744,"longitude_deg":76.6066112,"latitude_deg":8.8794744,"altitude":14,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93dc0","hex_latitude":"054ae678","is_valid_coordinates":true} 
[2026-08-25 17:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787657295000,"timestamp_ms":1787657295000,"timestamp_seconds":1787657295,"priority":1,"record_length":96,"hex_timestamp":"000001a038ad9498"} 
[2026-08-25 17: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-25 17:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 17:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:02:52] 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-25 17: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-25 17: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-25 17:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":13048,"115":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:02:52] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:02:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":13048,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:02:52] local.INFO: TCP Data received {"connection_id":163075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:02:52] local.INFO: Processing buffer {"connection_id":163075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:02:52] local.INFO: IMEI packet received {"connection_id":163075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":163075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":162078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:02:52] local.INFO: GPS data processed {"connection_id":162078,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:02:52] local.INFO: Acknowledgment sent {"connection_id":162078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:02:55] local.INFO: TCP Data received {"connection_id":164441,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:02:55] local.INFO: Processing buffer {"connection_id":164441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:02:55] local.INFO: Packet analysis {"connection_id":164441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:02:55] local.INFO: Extracted packet for processing {"connection_id":164441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:02:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640201728001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787657339000,"timestamp_ms":1787657339000,"timestamp_seconds":1787657339,"priority":1,"record_length":96,"hex_timestamp":"000001a038ae4078"} 
[2026-08-25 17: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-25 17:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:02:55] 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-25 17: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-25 17: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-25 17:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:02:55] 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-25 17:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640201728001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640201728001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:02:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640201728001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":164441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:02:55] local.INFO: GPS data processed {"connection_id":164441,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:02:55] local.INFO: Acknowledgment sent {"connection_id":164441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:02:56] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:02:56] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ad9498012da93dc0054ae678000e002129..."} 
[2026-08-25 17:02:56] local.INFO: Packet analysis {"connection_id":162078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:02:56] local.INFO: Extracted packet for processing {"connection_id":162078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ad"} 
[2026-08-25 17:02:56] local.INFO: GPS Element Parsed {"raw_longitude":766066112,"raw_latitude":88794744,"longitude_deg":76.6066112,"latitude_deg":8.8794744,"altitude":14,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93dc0","hex_latitude":"054ae678","is_valid_coordinates":true} 
[2026-08-25 17:02:56] 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-25 17:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787657295000,"timestamp_ms":1787657295000,"timestamp_seconds":1787657295,"priority":1,"record_length":96,"hex_timestamp":"000001a038ad9498"} 
[2026-08-25 17:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 17:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":13048,"115":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:02:56] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:02:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":13048,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":162078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:02:57] local.INFO: GPS data processed {"connection_id":162078,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:02:57] local.INFO: Acknowledgment sent {"connection_id":162078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:02:57] local.INFO: TCP Data received {"connection_id":163075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:02:57] local.INFO: Processing buffer {"connection_id":163075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:02:57] local.INFO: IMEI packet received {"connection_id":163075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":163075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:02:58] local.INFO: TCP Data received {"connection_id":163075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:02:58] local.INFO: Processing buffer {"connection_id":163075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:02:58] local.INFO: Packet analysis {"connection_id":163075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:02:58] local.INFO: Extracted packet for processing {"connection_id":163075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:02:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640219904001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787657410000,"timestamp_ms":1787657410000,"timestamp_seconds":1787657410,"priority":1,"record_length":96,"hex_timestamp":"000001a038af55d0"} 
[2026-08-25 17: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-25 17:02:58] 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-25 17: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17: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-25 17: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-25 17:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640219904001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640219904001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:02:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640219904001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":163075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:02:58] local.INFO: GPS data processed {"connection_id":163075,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:02:58] local.INFO: Acknowledgment sent {"connection_id":163075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:03:28] local.INFO: TCP Data received {"connection_id":163075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:03:28] local.INFO: Processing buffer {"connection_id":163075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:03:28] local.INFO: Packet analysis {"connection_id":163075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:03:28] local.INFO: Extracted packet for processing {"connection_id":163075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:03:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640219904001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787657410000,"timestamp_ms":1787657410000,"timestamp_seconds":1787657410,"priority":1,"record_length":96,"hex_timestamp":"000001a038af55d0"} 
[2026-08-25 17: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-25 17:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640219904001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640219904001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:03:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:03:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640219904001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":163075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:03:28] local.INFO: GPS data processed {"connection_id":163075,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:03:28] local.INFO: Acknowledgment sent {"connection_id":163075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:03:40] local.INFO: TCP Data received {"connection_id":163077,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:03:40] local.INFO: Processing buffer {"connection_id":163077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:03:40] local.INFO: IMEI packet received {"connection_id":163077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":163077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:03:41] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:03:41] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:03:41] local.INFO: IMEI packet received {"connection_id":161828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":161828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:03:44] local.INFO: TCP Data received {"connection_id":163077,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:03:44] local.INFO: Processing buffer {"connection_id":163077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:03:44] local.INFO: IMEI packet received {"connection_id":163077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":163077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:03:46] local.INFO: TCP Data received {"connection_id":163077,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:03:46] local.INFO: Processing buffer {"connection_id":163077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:03:46] local.INFO: Packet analysis {"connection_id":163077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:03:46] local.INFO: Extracted packet for processing {"connection_id":163077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640201728001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787657339000,"timestamp_ms":1787657339000,"timestamp_seconds":1787657339,"priority":1,"record_length":96,"hex_timestamp":"000001a038ae4078"} 
[2026-08-25 17:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640201728001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640201728001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640201728001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":163077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:03:46] local.INFO: GPS data processed {"connection_id":163077,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:03:46] local.INFO: Acknowledgment sent {"connection_id":163077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:03:46] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:03:46] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:03:46] local.INFO: IMEI packet received {"connection_id":161828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":161828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:03:47] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:03:47] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:03:47] local.INFO: Packet analysis {"connection_id":161828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:03:47] local.INFO: Extracted packet for processing {"connection_id":161828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:03:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":39,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787657594000,"timestamp_ms":1787657594000,"timestamp_seconds":1787657594,"priority":1,"record_length":96,"hex_timestamp":"000001a038b22490"} 
[2026-08-25 17:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:03:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:03:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":161828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:03:47] local.INFO: GPS data processed {"connection_id":161828,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:03:47] local.INFO: Acknowledgment sent {"connection_id":161828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:03:50] local.INFO: TCP Data received {"connection_id":163077,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:03:50] local.INFO: Processing buffer {"connection_id":163077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:03:50] local.INFO: Packet analysis {"connection_id":163077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:03:50] local.INFO: Extracted packet for processing {"connection_id":163077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:03:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640201728001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787657339000,"timestamp_ms":1787657339000,"timestamp_seconds":1787657339,"priority":1,"record_length":96,"hex_timestamp":"000001a038ae4078"} 
[2026-08-25 17: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-25 17:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:03: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-25 17:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640201728001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640201728001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:03:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640201728001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":163077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:03:50] local.INFO: GPS data processed {"connection_id":163077,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:03:50] local.INFO: Acknowledgment sent {"connection_id":163077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:03:52] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:03:52] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:03:52] local.INFO: IMEI packet received {"connection_id":162079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":162079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:03:57] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:03:57] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:03:57] local.INFO: IMEI packet received {"connection_id":162079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":162079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:03:57] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:03:57] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:03:57] local.INFO: Packet analysis {"connection_id":162079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:03:57] local.INFO: Extracted packet for processing {"connection_id":162079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:03:57] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640219904001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787657410000,"timestamp_ms":1787657410000,"timestamp_seconds":1787657410,"priority":1,"record_length":96,"hex_timestamp":"000001a038af55d0"} 
[2026-08-25 17:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:03:57] 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-25 17:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:03:57] 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-25 17:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640219904001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640219904001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:03:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640219904001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":162079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:03:58] local.INFO: GPS data processed {"connection_id":162079,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:03:58] local.INFO: Acknowledgment sent {"connection_id":162079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:04:18] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:04:18] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:04:18] local.INFO: Packet analysis {"connection_id":161828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:04:18] local.INFO: Extracted packet for processing {"connection_id":161828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:04:18] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":39,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787657594000,"timestamp_ms":1787657594000,"timestamp_seconds":1787657594,"priority":1,"record_length":96,"hex_timestamp":"000001a038b22490"} 
[2026-08-25 17:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:04:18] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:04:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":161828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:04:18] local.INFO: GPS data processed {"connection_id":161828,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:04:18] local.INFO: Acknowledgment sent {"connection_id":161828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:04:22] local.INFO: TCP Data received {"connection_id":163077,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:04:22] local.INFO: Processing buffer {"connection_id":163077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ae4078012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:04:22] local.INFO: Packet analysis {"connection_id":163077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:04:22] local.INFO: Extracted packet for processing {"connection_id":163077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ae"} 
[2026-08-25 17:04:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640201728001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787657339000,"timestamp_ms":1787657339000,"timestamp_seconds":1787657339,"priority":1,"record_length":96,"hex_timestamp":"000001a038ae4078"} 
[2026-08-25 17:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:04:22] 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-25 17:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:04: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-25 17:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640201728001,"66":25582,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640201728001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:04:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640201728001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":163077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:04:22] local.INFO: GPS data processed {"connection_id":163077,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:04:22] local.INFO: Acknowledgment sent {"connection_id":163077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:04:28] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:04:28] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:04:28] local.INFO: Packet analysis {"connection_id":162079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:04:28] local.INFO: Extracted packet for processing {"connection_id":162079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:04:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640219904001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787657410000,"timestamp_ms":1787657410000,"timestamp_seconds":1787657410,"priority":1,"record_length":96,"hex_timestamp":"000001a038af55d0"} 
[2026-08-25 17:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640219904001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640219904001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:04:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640219904001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":162079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:04:28] local.INFO: GPS data processed {"connection_id":162079,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:04:28] local.INFO: Acknowledgment sent {"connection_id":162079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:04:38] local.INFO: TCP Data received {"connection_id":163079,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:04:38] local.INFO: Processing buffer {"connection_id":163079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:04:38] local.INFO: IMEI packet received {"connection_id":163079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":163079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:04:39] local.INFO: TCP Data received {"connection_id":163079,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:04:39] local.INFO: Processing buffer {"connection_id":163079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:04:39] local.INFO: IMEI packet received {"connection_id":163079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":163079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:04:41] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:04:41] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:04:41] local.INFO: IMEI packet received {"connection_id":161829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":161829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:04:44] local.INFO: TCP Data received {"connection_id":163079,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:04:44] local.INFO: Processing buffer {"connection_id":163079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:04:44] local.INFO: IMEI packet received {"connection_id":163079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":163079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:04:46] local.INFO: TCP Data received {"connection_id":163079,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:04:46] local.INFO: Processing buffer {"connection_id":163079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:04:46] local.INFO: Packet analysis {"connection_id":163079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:04:46] local.INFO: Extracted packet for processing {"connection_id":163079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640278784001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787657640000,"timestamp_ms":1787657640000,"timestamp_seconds":1787657640,"priority":1,"record_length":96,"hex_timestamp":"000001a038b2d840"} 
[2026-08-25 17:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 17:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:04:46] 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-25 17:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640278784001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640278784001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640278784001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":163079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:04:46] local.INFO: GPS data processed {"connection_id":163079,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:04:46] local.INFO: Acknowledgment sent {"connection_id":163079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:04:46] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:04:46] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:04:46] local.INFO: IMEI packet received {"connection_id":161829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":161829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:04:47] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:04:47] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:04:47] local.INFO: Packet analysis {"connection_id":161829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:04:47] local.INFO: Extracted packet for processing {"connection_id":161829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:04:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":39,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787657594000,"timestamp_ms":1787657594000,"timestamp_seconds":1787657594,"priority":1,"record_length":96,"hex_timestamp":"000001a038b22490"} 
[2026-08-25 17:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:04:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:04:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":161829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:04:47] local.INFO: GPS data processed {"connection_id":161829,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:04:47] local.INFO: Acknowledgment sent {"connection_id":161829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:04:52] local.INFO: TCP Data received {"connection_id":164442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:04:52] local.INFO: Processing buffer {"connection_id":164442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:04:52] local.INFO: IMEI packet received {"connection_id":164442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":164442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:04:57] local.INFO: TCP Data received {"connection_id":164442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:04:57] local.INFO: Processing buffer {"connection_id":164442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:04:57] local.INFO: IMEI packet received {"connection_id":164442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":164442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:04:57] local.INFO: TCP Data received {"connection_id":164442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:04:57] local.INFO: Processing buffer {"connection_id":164442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:04:57] local.INFO: Packet analysis {"connection_id":164442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:04:57] local.INFO: Extracted packet for processing {"connection_id":164442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:04:57] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640219904001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787657410000,"timestamp_ms":1787657410000,"timestamp_seconds":1787657410,"priority":1,"record_length":96,"hex_timestamp":"000001a038af55d0"} 
[2026-08-25 17: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-25 17:04:57] 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-25 17: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17: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-25 17: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-25 17:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:04:57] 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-25 17:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640219904001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640219904001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:04:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640219904001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":164442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:04:58] local.INFO: GPS data processed {"connection_id":164442,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:04:58] local.INFO: Acknowledgment sent {"connection_id":164442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:05:17] local.INFO: TCP Data received {"connection_id":163079,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:05:17] local.INFO: Processing buffer {"connection_id":163079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:05:17] local.INFO: Packet analysis {"connection_id":163079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:05:17] local.INFO: Extracted packet for processing {"connection_id":163079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640278784001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787657640000,"timestamp_ms":1787657640000,"timestamp_seconds":1787657640,"priority":1,"record_length":96,"hex_timestamp":"000001a038b2d840"} 
[2026-08-25 17:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 17:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:05:17] 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-25 17:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640278784001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640278784001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640278784001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":163079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:05:17] local.INFO: GPS data processed {"connection_id":163079,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:05:17] local.INFO: Acknowledgment sent {"connection_id":163079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:05:19] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:05:19] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:05:19] local.INFO: Packet analysis {"connection_id":161829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:05:19] local.INFO: Extracted packet for processing {"connection_id":161829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:05:19] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":39,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787657594000,"timestamp_ms":1787657594000,"timestamp_seconds":1787657594,"priority":1,"record_length":96,"hex_timestamp":"000001a038b22490"} 
[2026-08-25 17:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:05: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-25 17:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:05:19] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:05:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":161829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:05:19] local.INFO: GPS data processed {"connection_id":161829,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:05:19] local.INFO: Acknowledgment sent {"connection_id":161829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:05:20] local.INFO: TCP Data received {"connection_id":163080,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:05:20] local.INFO: Processing buffer {"connection_id":163080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:05:20] local.INFO: IMEI packet received {"connection_id":163080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":163080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:05:28] local.INFO: TCP Data received {"connection_id":164442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:05:28] local.INFO: Processing buffer {"connection_id":164442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038af55d0012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:05:28] local.INFO: Packet analysis {"connection_id":164442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:05:28] local.INFO: Extracted packet for processing {"connection_id":164442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038af"} 
[2026-08-25 17:05:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640219904001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787657410000,"timestamp_ms":1787657410000,"timestamp_seconds":1787657410,"priority":1,"record_length":96,"hex_timestamp":"000001a038af55d0"} 
[2026-08-25 17:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640219904001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640219904001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:05:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640219904001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":164442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:05:28] local.INFO: GPS data processed {"connection_id":164442,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:05:28] local.INFO: Acknowledgment sent {"connection_id":164442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:05:40] local.INFO: TCP Data received {"connection_id":164443,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:05:40] local.INFO: Processing buffer {"connection_id":164443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:05:40] local.INFO: IMEI packet received {"connection_id":164443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":164443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:05:44] local.INFO: TCP Data received {"connection_id":163081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:05:44] local.INFO: Processing buffer {"connection_id":163081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:05:44] local.INFO: IMEI packet received {"connection_id":163081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":163081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:05:46] local.INFO: TCP Data received {"connection_id":164443,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:05:46] local.INFO: Processing buffer {"connection_id":164443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:05:46] local.INFO: IMEI packet received {"connection_id":164443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":164443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:05:47] local.INFO: TCP Data received {"connection_id":164443,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:05:47] local.INFO: Processing buffer {"connection_id":164443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:05:47] local.INFO: Packet analysis {"connection_id":164443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:05:47] local.INFO: Extracted packet for processing {"connection_id":164443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:05:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":39,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787657594000,"timestamp_ms":1787657594000,"timestamp_seconds":1787657594,"priority":1,"record_length":96,"hex_timestamp":"000001a038b22490"} 
[2026-08-25 17:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:05:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:05:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":164443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:05:47] local.INFO: GPS data processed {"connection_id":164443,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:05:47] local.INFO: Acknowledgment sent {"connection_id":164443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:05:51] local.INFO: TCP Data received {"connection_id":163081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:05:51] local.INFO: Processing buffer {"connection_id":163081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:05:51] local.INFO: IMEI packet received {"connection_id":163081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":163081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:05:52] local.INFO: TCP Data received {"connection_id":163082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:05:52] local.INFO: Processing buffer {"connection_id":163082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:05:52] local.INFO: IMEI packet received {"connection_id":163082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":163082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:05:52] local.INFO: TCP Data received {"connection_id":163081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:05:52] local.INFO: Processing buffer {"connection_id":163081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:05:52] local.INFO: Packet analysis {"connection_id":163081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:05:52] local.INFO: Extracted packet for processing {"connection_id":163081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640278784001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787657640000,"timestamp_ms":1787657640000,"timestamp_seconds":1787657640,"priority":1,"record_length":96,"hex_timestamp":"000001a038b2d840"} 
[2026-08-25 17:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 17:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:05: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-25 17:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640278784001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640278784001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640278784001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":163081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:05:52] local.INFO: GPS data processed {"connection_id":163081,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:05:52] local.INFO: Acknowledgment sent {"connection_id":163081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:05:57] local.INFO: TCP Data received {"connection_id":163082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:05:57] local.INFO: Processing buffer {"connection_id":163082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:05:57] local.INFO: IMEI packet received {"connection_id":163082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":163082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:05:57] local.INFO: TCP Data received {"connection_id":163082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:05:57] local.INFO: Processing buffer {"connection_id":163082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:05:57] local.INFO: Packet analysis {"connection_id":163082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:05:57] local.INFO: Extracted packet for processing {"connection_id":163082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:05:57] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640296960001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787657711000,"timestamp_ms":1787657711000,"timestamp_seconds":1787657711,"priority":1,"record_length":96,"hex_timestamp":"000001a038b3ed98"} 
[2026-08-25 17: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-25 17:05:57] 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-25 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:05:57] 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-25 17:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640296960001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640296960001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:05:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640296960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":163082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:05:58] local.INFO: GPS data processed {"connection_id":163082,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:05:58] local.INFO: Acknowledgment sent {"connection_id":163082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:06:19] local.INFO: TCP Data received {"connection_id":164443,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:06:19] local.INFO: Processing buffer {"connection_id":164443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:06:19] local.INFO: Packet analysis {"connection_id":164443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:06:19] local.INFO: Extracted packet for processing {"connection_id":164443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:06:19] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":39,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787657594000,"timestamp_ms":1787657594000,"timestamp_seconds":1787657594,"priority":1,"record_length":96,"hex_timestamp":"000001a038b22490"} 
[2026-08-25 17: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-25 17:06: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-25 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:06:19] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:06:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":164443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:06:19] local.INFO: GPS data processed {"connection_id":164443,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:06:19] local.INFO: Acknowledgment sent {"connection_id":164443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:06:24] local.INFO: TCP Data received {"connection_id":163081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:06:24] local.INFO: Processing buffer {"connection_id":163081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:06:24] local.INFO: Packet analysis {"connection_id":163081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:06:24] local.INFO: Extracted packet for processing {"connection_id":163081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:06:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640278784001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787657640000,"timestamp_ms":1787657640000,"timestamp_seconds":1787657640,"priority":1,"record_length":96,"hex_timestamp":"000001a038b2d840"} 
[2026-08-25 17:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 17:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:06: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-25 17:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640278784001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640278784001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:06:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640278784001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":163081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:06:24] local.INFO: GPS data processed {"connection_id":163081,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:06:24] local.INFO: Acknowledgment sent {"connection_id":163081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:06:28] local.INFO: TCP Data received {"connection_id":163082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:06:28] local.INFO: Processing buffer {"connection_id":163082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:06:28] local.INFO: Packet analysis {"connection_id":163082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:06:28] local.INFO: Extracted packet for processing {"connection_id":163082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:06:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640296960001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787657711000,"timestamp_ms":1787657711000,"timestamp_seconds":1787657711,"priority":1,"record_length":96,"hex_timestamp":"000001a038b3ed98"} 
[2026-08-25 17: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-25 17:06:28] 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-25 17:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640296960001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640296960001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:06:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640296960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":163082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:06:28] local.INFO: GPS data processed {"connection_id":163082,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:06:28] local.INFO: Acknowledgment sent {"connection_id":163082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:06:39] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:06:39] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:06:39] local.INFO: IMEI packet received {"connection_id":162080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":162080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:06:40] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:06:40] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:06:40] local.INFO: IMEI packet received {"connection_id":161830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":161830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:06:44] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:06:44] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:06:44] local.INFO: IMEI packet received {"connection_id":162080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":162080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:06:45] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:06:45] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:06:45] local.INFO: Packet analysis {"connection_id":162080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:06:45] local.INFO: Extracted packet for processing {"connection_id":162080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640278784001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787657640000,"timestamp_ms":1787657640000,"timestamp_seconds":1787657640,"priority":1,"record_length":96,"hex_timestamp":"000001a038b2d840"} 
[2026-08-25 17: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-25 17:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 17:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:06:45] 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-25 17:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640278784001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640278784001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:06:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640278784001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":162080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:06:45] local.INFO: GPS data processed {"connection_id":162080,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:06:45] local.INFO: Acknowledgment sent {"connection_id":162080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:06:46] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:06:46] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:06:46] local.INFO: IMEI packet received {"connection_id":161830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":161830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:06:47] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:06:47] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:06:47] local.INFO: Packet analysis {"connection_id":161830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:06:47] local.INFO: Extracted packet for processing {"connection_id":161830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:06:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":39,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787657594000,"timestamp_ms":1787657594000,"timestamp_seconds":1787657594,"priority":1,"record_length":96,"hex_timestamp":"000001a038b22490"} 
[2026-08-25 17:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:06:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:06:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":161830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:06:47] local.INFO: GPS data processed {"connection_id":161830,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:06:47] local.INFO: Acknowledgment sent {"connection_id":161830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:06:57] local.INFO: TCP Data received {"connection_id":163083,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:06:57] local.INFO: Processing buffer {"connection_id":163083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:06:57] local.INFO: IMEI packet received {"connection_id":163083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":163083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:07:02] local.INFO: TCP Data received {"connection_id":163083,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:07:02] local.INFO: Processing buffer {"connection_id":163083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:07:02] local.INFO: IMEI packet received {"connection_id":163083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":163083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:07:02] local.INFO: TCP Data received {"connection_id":163083,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:07:02] local.INFO: Processing buffer {"connection_id":163083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:07:02] local.INFO: Packet analysis {"connection_id":163083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:07:02] local.INFO: Extracted packet for processing {"connection_id":163083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:07:02] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640296960001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787657711000,"timestamp_ms":1787657711000,"timestamp_seconds":1787657711,"priority":1,"record_length":96,"hex_timestamp":"000001a038b3ed98"} 
[2026-08-25 17:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640296960001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640296960001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:07:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:07:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640296960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":163083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:07:02] local.INFO: GPS data processed {"connection_id":163083,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:07:02] local.INFO: Acknowledgment sent {"connection_id":163083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:07:07] local.INFO: TCP Data received {"connection_id":163083,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:07:07] local.INFO: Processing buffer {"connection_id":163083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:07:07] local.INFO: Packet analysis {"connection_id":163083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:07:07] local.INFO: Extracted packet for processing {"connection_id":163083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:07:07] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640296960001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787657711000,"timestamp_ms":1787657711000,"timestamp_seconds":1787657711,"priority":1,"record_length":96,"hex_timestamp":"000001a038b3ed98"} 
[2026-08-25 17: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-25 17:07: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-25 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:07: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-25 17: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-25 17: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-25 17:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640296960001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640296960001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:07:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640296960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":163083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:07:07] local.INFO: GPS data processed {"connection_id":163083,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:07:07] local.INFO: Acknowledgment sent {"connection_id":163083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:07:17] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:07:17] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:07:17] local.INFO: Packet analysis {"connection_id":162080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:07:17] local.INFO: Extracted packet for processing {"connection_id":162080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:07:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640278784001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787657640000,"timestamp_ms":1787657640000,"timestamp_seconds":1787657640,"priority":1,"record_length":96,"hex_timestamp":"000001a038b2d840"} 
[2026-08-25 17:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 17:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640278784001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640278784001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:07:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640278784001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":162080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:07:17] local.INFO: GPS data processed {"connection_id":162080,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:07:17] local.INFO: Acknowledgment sent {"connection_id":162080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:07:18] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:07:18] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:07:18] local.INFO: Packet analysis {"connection_id":161830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:07:18] local.INFO: Extracted packet for processing {"connection_id":161830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:07:18] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":39,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787657594000,"timestamp_ms":1787657594000,"timestamp_seconds":1787657594,"priority":1,"record_length":96,"hex_timestamp":"000001a038b22490"} 
[2026-08-25 17:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:07:18] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:07:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":161830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":696999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:07:18] local.INFO: GPS data processed {"connection_id":161830,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:07:18] local.INFO: Acknowledgment sent {"connection_id":161830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:07:39] local.INFO: TCP Data received {"connection_id":163084,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:07:39] local.INFO: Processing buffer {"connection_id":163084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:07:39] local.INFO: IMEI packet received {"connection_id":163084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":163084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:07:44] local.INFO: TCP Data received {"connection_id":163084,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:07:44] local.INFO: Processing buffer {"connection_id":163084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:07:44] local.INFO: IMEI packet received {"connection_id":163084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":163084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:07:45] local.INFO: TCP Data received {"connection_id":163084,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:07:45] local.INFO: Processing buffer {"connection_id":163084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:07:45] local.INFO: Packet analysis {"connection_id":163084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:07:45] local.INFO: Extracted packet for processing {"connection_id":163084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640278784001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787657640000,"timestamp_ms":1787657640000,"timestamp_seconds":1787657640,"priority":1,"record_length":96,"hex_timestamp":"000001a038b2d840"} 
[2026-08-25 17:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 17:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640278784001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640278784001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640278784001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":163084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:07:45] local.INFO: GPS data processed {"connection_id":163084,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:07:45] local.INFO: Acknowledgment sent {"connection_id":163084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:07:46] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:07:46] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:07:46] local.INFO: IMEI packet received {"connection_id":162082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":162082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:07:51] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:07:51] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:07:51] local.INFO: IMEI packet received {"connection_id":162082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":162082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:07:52] local.INFO: TCP Data received {"connection_id":164445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:07:52] local.INFO: Processing buffer {"connection_id":164445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:07:52] local.INFO: IMEI packet received {"connection_id":164445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":164445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:07:52] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:07:52] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b22490012da93e00054ae698000f002127..."} 
[2026-08-25 17:07:52] local.INFO: Packet analysis {"connection_id":162082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:07:52] local.INFO: Extracted packet for processing {"connection_id":162082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:07:52] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":39,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640267520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756392960,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787657594000,"timestamp_ms":1787657594000,"timestamp_seconds":1787657594,"priority":1,"record_length":96,"hex_timestamp":"000001a038b22490"} 
[2026-08-25 17:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 17:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:07:52] 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-25 17:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640267520001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251629578756392960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640267520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:07:52] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:07:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756392960,"description":"Unknown IO ID 45"} 
[2026-08-25 17:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640267520001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756392960}} 
[2026-08-25 17:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":162082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:07:52] local.INFO: GPS data processed {"connection_id":162082,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:07:52] local.INFO: Acknowledgment sent {"connection_id":162082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:07:57] local.INFO: TCP Data received {"connection_id":164445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:07:57] local.INFO: Processing buffer {"connection_id":164445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:07:57] local.INFO: IMEI packet received {"connection_id":164445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":164445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:07:57] local.INFO: TCP Data received {"connection_id":164445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:07:57] local.INFO: Processing buffer {"connection_id":164445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:07:57] local.INFO: Packet analysis {"connection_id":164445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:07:57] local.INFO: Extracted packet for processing {"connection_id":164445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:07:57] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640296960001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787657711000,"timestamp_ms":1787657711000,"timestamp_seconds":1787657711,"priority":1,"record_length":96,"hex_timestamp":"000001a038b3ed98"} 
[2026-08-25 17:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:07:57] 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-25 17:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:07:57] 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-25 17:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640296960001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640296960001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:07:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640296960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":164445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:07:57] local.INFO: GPS data processed {"connection_id":164445,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:07:57] local.INFO: Acknowledgment sent {"connection_id":164445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:08:16] local.INFO: TCP Data received {"connection_id":163084,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:08:16] local.INFO: Processing buffer {"connection_id":163084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:08:16] local.INFO: Packet analysis {"connection_id":163084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:08:16] local.INFO: Extracted packet for processing {"connection_id":163084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640278784001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787657640000,"timestamp_ms":1787657640000,"timestamp_seconds":1787657640,"priority":1,"record_length":96,"hex_timestamp":"000001a038b2d840"} 
[2026-08-25 17:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 17:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640278784001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640278784001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640278784001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":163084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:08:16] local.INFO: GPS data processed {"connection_id":163084,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:08:16] local.INFO: Acknowledgment sent {"connection_id":163084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:08:23] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:08:23] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:08:23] local.INFO: Packet analysis {"connection_id":162082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:08:23] local.INFO: Extracted packet for processing {"connection_id":162082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:08:23] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640344064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787657895000,"timestamp_ms":1787657895000,"timestamp_seconds":1787657895,"priority":1,"record_length":96,"hex_timestamp":"000001a038b6bc58"} 
[2026-08-25 17: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-25 17:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640344064001,"66":2242,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640344064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:08:23] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:08:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640344064001,"power":2242,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":162082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:08:23] local.INFO: GPS data processed {"connection_id":162082,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:08:23] local.INFO: Acknowledgment sent {"connection_id":162082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:08:28] local.INFO: TCP Data received {"connection_id":164445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:08:28] local.INFO: Processing buffer {"connection_id":164445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:08:28] local.INFO: Packet analysis {"connection_id":164445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:08:28] local.INFO: Extracted packet for processing {"connection_id":164445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:08:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640296960001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787657711000,"timestamp_ms":1787657711000,"timestamp_seconds":1787657711,"priority":1,"record_length":96,"hex_timestamp":"000001a038b3ed98"} 
[2026-08-25 17:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:08:28] 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-25 17:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640296960001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640296960001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:08:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640296960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":164445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:08:28] local.INFO: GPS data processed {"connection_id":164445,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:08:28] local.INFO: Acknowledgment sent {"connection_id":164445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:08:39] local.INFO: TCP Data received {"connection_id":163085,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:08:39] local.INFO: Processing buffer {"connection_id":163085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:08:39] local.INFO: IMEI packet received {"connection_id":163085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":163085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:08:41] local.INFO: TCP Data received {"connection_id":161831,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:08:41] local.INFO: Processing buffer {"connection_id":161831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:08:41] local.INFO: IMEI packet received {"connection_id":161831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":161831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:08:44] local.INFO: TCP Data received {"connection_id":163085,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:08:44] local.INFO: Processing buffer {"connection_id":163085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:08:44] local.INFO: IMEI packet received {"connection_id":163085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":163085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:08:46] local.INFO: TCP Data received {"connection_id":163085,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:08:46] local.INFO: Processing buffer {"connection_id":163085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:08:46] local.INFO: Packet analysis {"connection_id":163085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:08:46] local.INFO: Extracted packet for processing {"connection_id":163085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640278784001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787657640000,"timestamp_ms":1787657640000,"timestamp_seconds":1787657640,"priority":1,"record_length":96,"hex_timestamp":"000001a038b2d840"} 
[2026-08-25 17:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 17:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:08: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-25 17:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640278784001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640278784001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640278784001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":163085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:08:46] local.INFO: GPS data processed {"connection_id":163085,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:08:46] local.INFO: Acknowledgment sent {"connection_id":163085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:08:46] local.INFO: TCP Data received {"connection_id":161831,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:08:46] local.INFO: Processing buffer {"connection_id":161831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:08:46] local.INFO: IMEI packet received {"connection_id":161831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":161831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:08:48] local.INFO: TCP Data received {"connection_id":161831,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:08:48] local.INFO: Processing buffer {"connection_id":161831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:08:48] local.INFO: Packet analysis {"connection_id":161831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:08:48] local.INFO: Extracted packet for processing {"connection_id":161831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:08:48] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640344064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787657895000,"timestamp_ms":1787657895000,"timestamp_seconds":1787657895,"priority":1,"record_length":96,"hex_timestamp":"000001a038b6bc58"} 
[2026-08-25 17: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-25 17:08:48] 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-25 17: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640344064001,"66":2242,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640344064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:08:48] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:08:48] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640344064001,"power":2242,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":161831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:08:48] local.INFO: GPS data processed {"connection_id":161831,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:08:48] local.INFO: Acknowledgment sent {"connection_id":161831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:08:52] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:08:52] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:08:52] local.INFO: IMEI packet received {"connection_id":162084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":162084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:08:57] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:08:57] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:08:57] local.INFO: IMEI packet received {"connection_id":162084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":162084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:08:58] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:08:58] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:08:58] local.INFO: Packet analysis {"connection_id":162084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:08:58] local.INFO: Extracted packet for processing {"connection_id":162084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:08:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640296960001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787657711000,"timestamp_ms":1787657711000,"timestamp_seconds":1787657711,"priority":1,"record_length":96,"hex_timestamp":"000001a038b3ed98"} 
[2026-08-25 17:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:08:58] 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-25 17:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640296960001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640296960001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:08:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640296960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":162084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:08:58] local.INFO: GPS data processed {"connection_id":162084,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:08:58] local.INFO: Acknowledgment sent {"connection_id":162084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:09:17] local.INFO: TCP Data received {"connection_id":163085,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:09:17] local.INFO: Processing buffer {"connection_id":163085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b2d840012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:09:17] local.INFO: Packet analysis {"connection_id":163085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:09:17] local.INFO: Extracted packet for processing {"connection_id":163085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b2"} 
[2026-08-25 17:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640278784001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787657640000,"timestamp_ms":1787657640000,"timestamp_seconds":1787657640,"priority":1,"record_length":96,"hex_timestamp":"000001a038b2d840"} 
[2026-08-25 17:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 17:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640278784001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640278784001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640278784001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":163085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:09:17] local.INFO: GPS data processed {"connection_id":163085,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:09:17] local.INFO: Acknowledgment sent {"connection_id":163085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:09:20] local.INFO: TCP Data received {"connection_id":161831,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:09:20] local.INFO: Processing buffer {"connection_id":161831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:09:20] local.INFO: Packet analysis {"connection_id":161831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:09:20] local.INFO: Extracted packet for processing {"connection_id":161831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:09:20] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640344064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787657895000,"timestamp_ms":1787657895000,"timestamp_seconds":1787657895,"priority":1,"record_length":96,"hex_timestamp":"000001a038b6bc58"} 
[2026-08-25 17: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-25 17:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640344064001,"66":2242,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640344064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:09:20] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:09:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640344064001,"power":2242,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":161831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:09:20] local.INFO: GPS data processed {"connection_id":161831,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:09:20] local.INFO: Acknowledgment sent {"connection_id":161831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:09:28] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:09:28] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:09:28] local.INFO: Packet analysis {"connection_id":162084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:09:28] local.INFO: Extracted packet for processing {"connection_id":162084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:09:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640296960001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787657711000,"timestamp_ms":1787657711000,"timestamp_seconds":1787657711,"priority":1,"record_length":96,"hex_timestamp":"000001a038b3ed98"} 
[2026-08-25 17: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-25 17:09:28] 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-25 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640296960001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640296960001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:09:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640296960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":162084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:09:28] local.INFO: GPS data processed {"connection_id":162084,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:09:28] local.INFO: Acknowledgment sent {"connection_id":162084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:09:39] local.INFO: TCP Data received {"connection_id":164447,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:09:39] local.INFO: Processing buffer {"connection_id":164447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:09:39] local.INFO: IMEI packet received {"connection_id":164447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":164447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:09:40] local.INFO: TCP Data received {"connection_id":164447,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:09:40] local.INFO: Processing buffer {"connection_id":164447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:09:40] local.INFO: IMEI packet received {"connection_id":164447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":164447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:09:41] local.INFO: TCP Data received {"connection_id":164446,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:09:41] local.INFO: Processing buffer {"connection_id":164446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:09:41] local.INFO: IMEI packet received {"connection_id":164446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":164446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:09:44] local.INFO: TCP Data received {"connection_id":164447,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:09:44] local.INFO: Processing buffer {"connection_id":164447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:09:44] local.INFO: IMEI packet received {"connection_id":164447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":164447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:09:45] local.INFO: TCP Data received {"connection_id":164447,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:09:45] local.INFO: Processing buffer {"connection_id":164447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:09:45] local.INFO: Packet analysis {"connection_id":164447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:09:45] local.INFO: Extracted packet for processing {"connection_id":164447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640355840001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787657941000,"timestamp_ms":1787657941000,"timestamp_seconds":1787657941,"priority":1,"record_length":96,"hex_timestamp":"000001a038b77008"} 
[2026-08-25 17:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:09:45] 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-25 17:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640355840001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640355840001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640355840001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":164447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:09:45] local.INFO: GPS data processed {"connection_id":164447,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:09:45] local.INFO: Acknowledgment sent {"connection_id":164447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:09:46] local.INFO: TCP Data received {"connection_id":164446,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:09:46] local.INFO: Processing buffer {"connection_id":164446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:09:46] local.INFO: IMEI packet received {"connection_id":164446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":164446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:09:47] local.INFO: TCP Data received {"connection_id":164446,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:09:47] local.INFO: Processing buffer {"connection_id":164446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:09:47] local.INFO: Packet analysis {"connection_id":164446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:09:47] local.INFO: Extracted packet for processing {"connection_id":164446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:09:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640344064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787657895000,"timestamp_ms":1787657895000,"timestamp_seconds":1787657895,"priority":1,"record_length":96,"hex_timestamp":"000001a038b6bc58"} 
[2026-08-25 17:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:09:47] 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-25 17:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640344064001,"66":2242,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640344064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:09:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:09:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640344064001,"power":2242,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":164446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:09:47] local.INFO: GPS data processed {"connection_id":164446,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:09:47] local.INFO: Acknowledgment sent {"connection_id":164446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:09:52] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:09:52] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:09:52] local.INFO: IMEI packet received {"connection_id":162086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":162086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:09:57] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:09:57] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:09:57] local.INFO: IMEI packet received {"connection_id":162086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":162086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:09:57] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:09:57] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:09:57] local.INFO: Packet analysis {"connection_id":162086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:09:57] local.INFO: Extracted packet for processing {"connection_id":162086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:09:57] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640296960001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787657711000,"timestamp_ms":1787657711000,"timestamp_seconds":1787657711,"priority":1,"record_length":96,"hex_timestamp":"000001a038b3ed98"} 
[2026-08-25 17: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-25 17:09:57] 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-25 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:09:57] 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-25 17:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640296960001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640296960001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:09:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640296960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":162086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:09:57] local.INFO: GPS data processed {"connection_id":162086,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:09:57] local.INFO: Acknowledgment sent {"connection_id":162086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:10:17] local.INFO: TCP Data received {"connection_id":164447,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:10:17] local.INFO: Processing buffer {"connection_id":164447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:10:17] local.INFO: Packet analysis {"connection_id":164447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:10:17] local.INFO: Extracted packet for processing {"connection_id":164447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640355840001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787657941000,"timestamp_ms":1787657941000,"timestamp_seconds":1787657941,"priority":1,"record_length":96,"hex_timestamp":"000001a038b77008"} 
[2026-08-25 17:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:10:17] 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-25 17:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640355840001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640355840001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640355840001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":164447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:10:17] local.INFO: GPS data processed {"connection_id":164447,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:10:17] local.INFO: Acknowledgment sent {"connection_id":164447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:10:18] local.INFO: TCP Data received {"connection_id":164446,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:10:18] local.INFO: Processing buffer {"connection_id":164446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:10:18] local.INFO: Packet analysis {"connection_id":164446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:10:18] local.INFO: Extracted packet for processing {"connection_id":164446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:10:18] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640344064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787657895000,"timestamp_ms":1787657895000,"timestamp_seconds":1787657895,"priority":1,"record_length":96,"hex_timestamp":"000001a038b6bc58"} 
[2026-08-25 17:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:10:18] 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-25 17:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640344064001,"66":2242,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640344064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:10:18] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:10:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640344064001,"power":2242,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":164446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:10:18] local.INFO: GPS data processed {"connection_id":164446,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:10:18] local.INFO: Acknowledgment sent {"connection_id":164446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:10:28] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:10:28] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b3ed98012d1fecc0071d4fc80047009a29..."} 
[2026-08-25 17:10:28] local.INFO: Packet analysis {"connection_id":162086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:10:28] local.INFO: Extracted packet for processing {"connection_id":162086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b3"} 
[2026-08-25 17:10:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":41,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640296960001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787657711000,"timestamp_ms":1787657711000,"timestamp_seconds":1787657711,"priority":1,"record_length":96,"hex_timestamp":"000001a038b3ed98"} 
[2026-08-25 17:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:10:28] 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-25 17:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640296960001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640296960001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:10:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640296960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":162086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:10:28] local.INFO: GPS data processed {"connection_id":162086,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:10:28] local.INFO: Acknowledgment sent {"connection_id":162086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:10:39] local.INFO: TCP Data received {"connection_id":163086,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:10:39] local.INFO: Processing buffer {"connection_id":163086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:10:39] local.INFO: IMEI packet received {"connection_id":163086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":163086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:10:41] local.INFO: TCP Data received {"connection_id":162087,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:10:41] local.INFO: Processing buffer {"connection_id":162087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:10:41] local.INFO: IMEI packet received {"connection_id":162087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":162087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:10:44] local.INFO: TCP Data received {"connection_id":163086,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:10:44] local.INFO: Processing buffer {"connection_id":163086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:10:44] local.INFO: IMEI packet received {"connection_id":163086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":163086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:10:46] local.INFO: TCP Data received {"connection_id":163086,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:10:46] local.INFO: Processing buffer {"connection_id":163086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:10:46] local.INFO: Packet analysis {"connection_id":163086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:10:46] local.INFO: Extracted packet for processing {"connection_id":163086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640355840001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787657941000,"timestamp_ms":1787657941000,"timestamp_seconds":1787657941,"priority":1,"record_length":96,"hex_timestamp":"000001a038b77008"} 
[2026-08-25 17:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640355840001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640355840001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:10:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640355840001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":163086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:10:46] local.INFO: GPS data processed {"connection_id":163086,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:10:46] local.INFO: Acknowledgment sent {"connection_id":163086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:10:46] local.INFO: TCP Data received {"connection_id":162087,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:10:46] local.INFO: Processing buffer {"connection_id":162087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:10:46] local.INFO: IMEI packet received {"connection_id":162087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":162087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:10:47] local.INFO: TCP Data received {"connection_id":162087,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:10:47] local.INFO: Processing buffer {"connection_id":162087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:10:47] local.INFO: Packet analysis {"connection_id":162087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:10:47] local.INFO: Extracted packet for processing {"connection_id":162087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:10:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640344064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787657895000,"timestamp_ms":1787657895000,"timestamp_seconds":1787657895,"priority":1,"record_length":96,"hex_timestamp":"000001a038b6bc58"} 
[2026-08-25 17:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:10:47] 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-25 17:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640344064001,"66":2242,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640344064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:10:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:10:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640344064001,"power":2242,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":162087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:10:47] local.INFO: GPS data processed {"connection_id":162087,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:10:47] local.INFO: Acknowledgment sent {"connection_id":162087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:10:50] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:10:50] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:10:50] local.INFO: IMEI packet received {"connection_id":161833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":161833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:10:52] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:10:52] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:10:52] local.INFO: IMEI packet received {"connection_id":161833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":161833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:10:57] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:10:57] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:10:57] local.INFO: IMEI packet received {"connection_id":161833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":161833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:10:58] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:10:58] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:10:58] local.INFO: Packet analysis {"connection_id":161833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:10:58] local.INFO: Extracted packet for processing {"connection_id":161833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:10:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640374016001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787658012000,"timestamp_ms":1787658012000,"timestamp_seconds":1787658012,"priority":1,"record_length":96,"hex_timestamp":"000001a038b88560"} 
[2026-08-25 17:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:10:58] 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-25 17:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640374016001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640374016001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:10:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640374016001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":161833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:10:58] local.INFO: GPS data processed {"connection_id":161833,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:10:58] local.INFO: Acknowledgment sent {"connection_id":161833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:11:10] local.INFO: TCP Data received {"connection_id":164448,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:11:10] local.INFO: Processing buffer {"connection_id":164448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:11:10] local.INFO: IMEI packet received {"connection_id":164448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":164448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:11:18] local.INFO: TCP Data received {"connection_id":163086,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:11:18] local.INFO: Processing buffer {"connection_id":163086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:11:18] local.INFO: Packet analysis {"connection_id":163086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:11:18] local.INFO: Extracted packet for processing {"connection_id":163086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:11:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640355840001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787657941000,"timestamp_ms":1787657941000,"timestamp_seconds":1787657941,"priority":1,"record_length":96,"hex_timestamp":"000001a038b77008"} 
[2026-08-25 17: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-25 17:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:11:18] 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-25 17: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-25 17: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-25 17:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:11:18] 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-25 17:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640355840001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640355840001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:11:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640355840001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":163086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:11:18] local.INFO: GPS data processed {"connection_id":163086,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:11:18] local.INFO: Acknowledgment sent {"connection_id":163086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:11:18] local.INFO: TCP Data received {"connection_id":162087,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:11:18] local.INFO: Processing buffer {"connection_id":162087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:11:18] local.INFO: Packet analysis {"connection_id":162087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:11:18] local.INFO: Extracted packet for processing {"connection_id":162087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:11:18] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640344064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787657895000,"timestamp_ms":1787657895000,"timestamp_seconds":1787657895,"priority":1,"record_length":96,"hex_timestamp":"000001a038b6bc58"} 
[2026-08-25 17: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-25 17:11:18] 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-25 17: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640344064001,"66":2242,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640344064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:11:18] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:11:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640344064001,"power":2242,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":162087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:11:18] local.INFO: GPS data processed {"connection_id":162087,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:11:18] local.INFO: Acknowledgment sent {"connection_id":162087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:11:28] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:11:28] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:11:28] local.INFO: Packet analysis {"connection_id":161833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:11:28] local.INFO: Extracted packet for processing {"connection_id":161833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:11:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640374016001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787658012000,"timestamp_ms":1787658012000,"timestamp_seconds":1787658012,"priority":1,"record_length":96,"hex_timestamp":"000001a038b88560"} 
[2026-08-25 17:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:11:28] 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-25 17:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640374016001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640374016001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:11:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640374016001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":161833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:11:29] local.INFO: GPS data processed {"connection_id":161833,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:11:29] local.INFO: Acknowledgment sent {"connection_id":161833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:11:39] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:11:39] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:11:39] local.INFO: IMEI packet received {"connection_id":161834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":161834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:11:41] local.INFO: TCP Data received {"connection_id":162088,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:11:41] local.INFO: Processing buffer {"connection_id":162088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:11:41] local.INFO: IMEI packet received {"connection_id":162088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":162088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:11:44] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:11:44] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:11:44] local.INFO: IMEI packet received {"connection_id":161834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":161834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:11:45] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:11:45] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:11:45] local.INFO: Packet analysis {"connection_id":161834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:11:45] local.INFO: Extracted packet for processing {"connection_id":161834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:11:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640355840001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787657941000,"timestamp_ms":1787657941000,"timestamp_seconds":1787657941,"priority":1,"record_length":96,"hex_timestamp":"000001a038b77008"} 
[2026-08-25 17:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:11:45] 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-25 17:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640355840001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640355840001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:11:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640355840001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":161834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:11:45] local.INFO: GPS data processed {"connection_id":161834,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:11:45] local.INFO: Acknowledgment sent {"connection_id":161834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:11:46] local.INFO: TCP Data received {"connection_id":162088,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:11:46] local.INFO: Processing buffer {"connection_id":162088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:11:46] local.INFO: IMEI packet received {"connection_id":162088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":162088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:11:47] local.INFO: TCP Data received {"connection_id":162088,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:11:47] local.INFO: Processing buffer {"connection_id":162088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:11:47] local.INFO: Packet analysis {"connection_id":162088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:11:47] local.INFO: Extracted packet for processing {"connection_id":162088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:11:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640344064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787657895000,"timestamp_ms":1787657895000,"timestamp_seconds":1787657895,"priority":1,"record_length":96,"hex_timestamp":"000001a038b6bc58"} 
[2026-08-25 17:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:11:47] 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-25 17:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640344064001,"66":2242,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640344064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:11:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:11:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640344064001,"power":2242,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":162088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:11:47] local.INFO: GPS data processed {"connection_id":162088,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:11:47] local.INFO: Acknowledgment sent {"connection_id":162088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:11:52] local.INFO: TCP Data received {"connection_id":164449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:11:52] local.INFO: Processing buffer {"connection_id":164449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:11:52] local.INFO: IMEI packet received {"connection_id":164449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":164449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:11:57] local.INFO: TCP Data received {"connection_id":164449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:11:57] local.INFO: Processing buffer {"connection_id":164449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:11:57] local.INFO: IMEI packet received {"connection_id":164449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":164449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:11:57] local.INFO: TCP Data received {"connection_id":164449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:11:57] local.INFO: Processing buffer {"connection_id":164449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:11:57] local.INFO: Packet analysis {"connection_id":164449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:11:57] local.INFO: Extracted packet for processing {"connection_id":164449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:11:57] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:11: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-25 17:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640374016001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787658012000,"timestamp_ms":1787658012000,"timestamp_seconds":1787658012,"priority":1,"record_length":96,"hex_timestamp":"000001a038b88560"} 
[2026-08-25 17:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:11:57] 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-25 17:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:11: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-25 17:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:11:57] 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-25 17:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640374016001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640374016001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:11:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640374016001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":164449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:11:57] local.INFO: GPS data processed {"connection_id":164449,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:11:57] local.INFO: Acknowledgment sent {"connection_id":164449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:12:17] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:12:17] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:12:17] local.INFO: Packet analysis {"connection_id":161834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:12:17] local.INFO: Extracted packet for processing {"connection_id":161834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640355840001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787657941000,"timestamp_ms":1787657941000,"timestamp_seconds":1787657941,"priority":1,"record_length":96,"hex_timestamp":"000001a038b77008"} 
[2026-08-25 17: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-25 17:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:12:17] 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-25 17: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-25 17: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-25 17:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640355840001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640355840001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640355840001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":161834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:12:17] local.INFO: GPS data processed {"connection_id":161834,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:12:17] local.INFO: Acknowledgment sent {"connection_id":161834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:12:18] local.INFO: TCP Data received {"connection_id":162088,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:12:18] local.INFO: Processing buffer {"connection_id":162088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:12:18] local.INFO: Packet analysis {"connection_id":162088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:12:18] local.INFO: Extracted packet for processing {"connection_id":162088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:12:18] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640344064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787657895000,"timestamp_ms":1787657895000,"timestamp_seconds":1787657895,"priority":1,"record_length":96,"hex_timestamp":"000001a038b6bc58"} 
[2026-08-25 17:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:12:18] 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-25 17:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640344064001,"66":2242,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640344064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:12:18] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:12:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640344064001,"power":2242,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":162088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:12:18] local.INFO: GPS data processed {"connection_id":162088,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:12:18] local.INFO: Acknowledgment sent {"connection_id":162088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:12:28] local.INFO: TCP Data received {"connection_id":164449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:12:28] local.INFO: Processing buffer {"connection_id":164449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:12:28] local.INFO: Packet analysis {"connection_id":164449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:12:28] local.INFO: Extracted packet for processing {"connection_id":164449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:12:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640374016001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787658012000,"timestamp_ms":1787658012000,"timestamp_seconds":1787658012,"priority":1,"record_length":96,"hex_timestamp":"000001a038b88560"} 
[2026-08-25 17:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:12:28] 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-25 17:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640374016001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640374016001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:12:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640374016001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":164449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:12:28] local.INFO: GPS data processed {"connection_id":164449,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:12:28] local.INFO: Acknowledgment sent {"connection_id":164449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:12:39] local.INFO: TCP Data received {"connection_id":162089,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:12:39] local.INFO: Processing buffer {"connection_id":162089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:12:39] local.INFO: IMEI packet received {"connection_id":162089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":162089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:12:44] local.INFO: TCP Data received {"connection_id":162089,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:12:44] local.INFO: Processing buffer {"connection_id":162089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:12:44] local.INFO: IMEI packet received {"connection_id":162089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":162089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:12:45] local.INFO: TCP Data received {"connection_id":162089,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:12:45] local.INFO: Processing buffer {"connection_id":162089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:12:45] local.INFO: Packet analysis {"connection_id":162089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:12:45] local.INFO: Extracted packet for processing {"connection_id":162089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:12:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:12: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-25 17:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640355840001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787657941000,"timestamp_ms":1787657941000,"timestamp_seconds":1787657941,"priority":1,"record_length":96,"hex_timestamp":"000001a038b77008"} 
[2026-08-25 17:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:12: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-25 17:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640355840001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640355840001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:12:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640355840001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":162089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:12:45] local.INFO: GPS data processed {"connection_id":162089,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:12:45] local.INFO: Acknowledgment sent {"connection_id":162089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:12:46] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:12:46] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:12:46] local.INFO: IMEI packet received {"connection_id":161835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":161835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:12:51] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:12:51] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:12:51] local.INFO: IMEI packet received {"connection_id":161835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":161835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:12:52] local.INFO: TCP Data received {"connection_id":163087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:12:52] local.INFO: Processing buffer {"connection_id":163087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:12:52] local.INFO: IMEI packet received {"connection_id":163087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":163087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:12:52] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:12:52] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:12:52] local.INFO: Packet analysis {"connection_id":161835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:12:52] local.INFO: Extracted packet for processing {"connection_id":161835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:12:52] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640344064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787657895000,"timestamp_ms":1787657895000,"timestamp_seconds":1787657895,"priority":1,"record_length":96,"hex_timestamp":"000001a038b6bc58"} 
[2026-08-25 17:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:12:52] 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-25 17:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640344064001,"66":2242,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640344064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:12:52] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:12:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640344064001,"power":2242,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":161835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:12:52] local.INFO: GPS data processed {"connection_id":161835,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:12:52] local.INFO: Acknowledgment sent {"connection_id":161835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:12:57] local.INFO: TCP Data received {"connection_id":163087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:12:57] local.INFO: Processing buffer {"connection_id":163087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:12:57] local.INFO: IMEI packet received {"connection_id":163087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":163087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:12:57] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:12:57] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b6bc58012da93e00054ae698000f002129..."} 
[2026-08-25 17:12:57] local.INFO: Packet analysis {"connection_id":161835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:12:57] local.INFO: Extracted packet for processing {"connection_id":161835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b6"} 
[2026-08-25 17:12:57] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":15,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640344064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787657895000,"timestamp_ms":1787657895000,"timestamp_seconds":1787657895,"priority":1,"record_length":96,"hex_timestamp":"000001a038b6bc58"} 
[2026-08-25 17:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:12:57] 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-25 17:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640344064001,"66":2242,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640344064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:12:57] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:12:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640344064001,"power":2242,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":161835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:12:57] local.INFO: GPS data processed {"connection_id":161835,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:12:57] local.INFO: Acknowledgment sent {"connection_id":161835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:12:57] local.INFO: TCP Data received {"connection_id":163087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:12:57] local.INFO: Processing buffer {"connection_id":163087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:12:57] local.INFO: Packet analysis {"connection_id":163087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:12:57] local.INFO: Extracted packet for processing {"connection_id":163087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:12:57] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640374016001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787658012000,"timestamp_ms":1787658012000,"timestamp_seconds":1787658012,"priority":1,"record_length":96,"hex_timestamp":"000001a038b88560"} 
[2026-08-25 17:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:12:57] 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-25 17:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:12:57] 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-25 17:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640374016001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640374016001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:12:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640374016001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":163087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:12:58] local.INFO: GPS data processed {"connection_id":163087,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:12:58] local.INFO: Acknowledgment sent {"connection_id":163087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:13:17] local.INFO: TCP Data received {"connection_id":162089,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:13:17] local.INFO: Processing buffer {"connection_id":162089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:13:17] local.INFO: Packet analysis {"connection_id":162089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:13:17] local.INFO: Extracted packet for processing {"connection_id":162089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640355840001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787657941000,"timestamp_ms":1787657941000,"timestamp_seconds":1787657941,"priority":1,"record_length":96,"hex_timestamp":"000001a038b77008"} 
[2026-08-25 17:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:13:17] 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-25 17:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640355840001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640355840001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640355840001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":162089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:13:17] local.INFO: GPS data processed {"connection_id":162089,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:13:17] local.INFO: Acknowledgment sent {"connection_id":162089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:13:28] local.INFO: TCP Data received {"connection_id":163087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:13:28] local.INFO: Processing buffer {"connection_id":163087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:13:28] local.INFO: Packet analysis {"connection_id":163087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:13:28] local.INFO: Extracted packet for processing {"connection_id":163087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:13:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640374016001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787658012000,"timestamp_ms":1787658012000,"timestamp_seconds":1787658012,"priority":1,"record_length":96,"hex_timestamp":"000001a038b88560"} 
[2026-08-25 17: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-25 17:13:28] 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-25 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640374016001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640374016001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:13:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640374016001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":163087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:13:28] local.INFO: GPS data processed {"connection_id":163087,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:13:28] local.INFO: Acknowledgment sent {"connection_id":163087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:13:41] local.INFO: TCP Data received {"connection_id":164451,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:13:41] local.INFO: Processing buffer {"connection_id":164451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:13:41] local.INFO: IMEI packet received {"connection_id":164451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":164451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:13:44] local.INFO: TCP Data received {"connection_id":163088,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:13:44] local.INFO: Processing buffer {"connection_id":163088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:13:44] local.INFO: IMEI packet received {"connection_id":163088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":163088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:13:46] local.INFO: TCP Data received {"connection_id":164451,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:13:46] local.INFO: Processing buffer {"connection_id":164451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:13:46] local.INFO: IMEI packet received {"connection_id":164451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":164451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:13:47] local.INFO: TCP Data received {"connection_id":164451,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:13:47] local.INFO: Processing buffer {"connection_id":164451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:13:47] local.INFO: Packet analysis {"connection_id":164451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:13:47] local.INFO: Extracted packet for processing {"connection_id":164451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:13:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":22,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640421120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787658196000,"timestamp_ms":1787658196000,"timestamp_seconds":1787658196,"priority":1,"record_length":96,"hex_timestamp":"000001a038bb5420"} 
[2026-08-25 17: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-25 17:13:47] 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-25 17: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640421120001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640421120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:13:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:13:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640421120001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":164451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:13:47] local.INFO: GPS data processed {"connection_id":164451,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:13:47] local.INFO: Acknowledgment sent {"connection_id":164451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:13:49] local.INFO: TCP Data received {"connection_id":163088,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:13:49] local.INFO: Processing buffer {"connection_id":163088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:13:49] local.INFO: IMEI packet received {"connection_id":163088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":163088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:13:50] local.INFO: TCP Data received {"connection_id":163088,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:13:50] local.INFO: Processing buffer {"connection_id":163088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:13:50] local.INFO: Packet analysis {"connection_id":163088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:13:50] local.INFO: Extracted packet for processing {"connection_id":163088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:13:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640355840001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787657941000,"timestamp_ms":1787657941000,"timestamp_seconds":1787657941,"priority":1,"record_length":96,"hex_timestamp":"000001a038b77008"} 
[2026-08-25 17:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:13: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-25 17:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:13: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-25 17:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640355840001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640355840001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:13:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640355840001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":163088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:13:50] local.INFO: GPS data processed {"connection_id":163088,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:13:50] local.INFO: Acknowledgment sent {"connection_id":163088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:13:55] local.INFO: TCP Data received {"connection_id":163088,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:13:55] local.INFO: Processing buffer {"connection_id":163088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b77008012d34c14006aa4818000500e62b..."} 
[2026-08-25 17:13:55] local.INFO: Packet analysis {"connection_id":163088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:13:55] local.INFO: Extracted packet for processing {"connection_id":163088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b7"} 
[2026-08-25 17:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640355840001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787657941000,"timestamp_ms":1787657941000,"timestamp_seconds":1787657941,"priority":1,"record_length":96,"hex_timestamp":"000001a038b77008"} 
[2026-08-25 17: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-25 17:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:13: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-25 17: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-25 17: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-25 17:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640355840001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640355840001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:13:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640355840001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":163088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:13:55] local.INFO: GPS data processed {"connection_id":163088,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:13:55] local.INFO: Acknowledgment sent {"connection_id":163088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:13:57] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:13:57] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:13:57] local.INFO: IMEI packet received {"connection_id":161837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":161837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:14:02] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:14:02] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:14:02] local.INFO: IMEI packet received {"connection_id":161837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":161837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:14:02] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:14:02] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:14:02] local.INFO: Packet analysis {"connection_id":161837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:14:02] local.INFO: Extracted packet for processing {"connection_id":161837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:14:02] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640374016001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787658012000,"timestamp_ms":1787658012000,"timestamp_seconds":1787658012,"priority":1,"record_length":96,"hex_timestamp":"000001a038b88560"} 
[2026-08-25 17:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:14:02] 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-25 17:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640374016001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640374016001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:14:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:14:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640374016001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":161837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:14:03] local.INFO: GPS data processed {"connection_id":161837,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:14:03] local.INFO: Acknowledgment sent {"connection_id":161837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:14:07] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:14:07] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:14:07] local.INFO: Packet analysis {"connection_id":161837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:14:07] local.INFO: Extracted packet for processing {"connection_id":161837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:14:07] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640374016001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787658012000,"timestamp_ms":1787658012000,"timestamp_seconds":1787658012,"priority":1,"record_length":96,"hex_timestamp":"000001a038b88560"} 
[2026-08-25 17:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:14:07] 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-25 17:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:14: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-25 17:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640374016001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640374016001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:14:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640374016001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":161837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:14:07] local.INFO: GPS data processed {"connection_id":161837,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:14:07] local.INFO: Acknowledgment sent {"connection_id":161837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:14:18] local.INFO: TCP Data received {"connection_id":164451,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:14:18] local.INFO: Processing buffer {"connection_id":164451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:14:18] local.INFO: Packet analysis {"connection_id":164451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:14:18] local.INFO: Extracted packet for processing {"connection_id":164451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:14:18] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":22,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640421120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787658196000,"timestamp_ms":1787658196000,"timestamp_seconds":1787658196,"priority":1,"record_length":96,"hex_timestamp":"000001a038bb5420"} 
[2026-08-25 17: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-25 17:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640421120001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640421120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:14:18] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:14:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640421120001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":164451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:14:18] local.INFO: GPS data processed {"connection_id":164451,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:14:18] local.INFO: Acknowledgment sent {"connection_id":164451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:14:39] local.INFO: TCP Data received {"connection_id":162090,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:14:39] local.INFO: Processing buffer {"connection_id":162090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:14:39] local.INFO: IMEI packet received {"connection_id":162090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":162090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:14:40] local.INFO: TCP Data received {"connection_id":162090,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:14:40] local.INFO: Processing buffer {"connection_id":162090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:14:40] local.INFO: IMEI packet received {"connection_id":162090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":162090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:14:41] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:14:41] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:14:41] local.INFO: IMEI packet received {"connection_id":162091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":162091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:14:41] local.INFO: TCP Data received {"connection_id":162090,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:14:41] local.INFO: Processing buffer {"connection_id":162090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:14:41] local.INFO: Packet analysis {"connection_id":162090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:14:41] local.INFO: Extracted packet for processing {"connection_id":162090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640432896001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787658242000,"timestamp_ms":1787658242000,"timestamp_seconds":1787658242,"priority":1,"record_length":96,"hex_timestamp":"000001a038bc07d0"} 
[2026-08-25 17: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-25 17:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:14:41] 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-25 17:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640432896001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640432896001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:14:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640432896001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":162090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:14:41] local.INFO: GPS data processed {"connection_id":162090,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:14:41] local.INFO: Acknowledgment sent {"connection_id":162090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:14:46] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:14:46] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:14:46] local.INFO: IMEI packet received {"connection_id":162091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":162091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:14:47] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:14:47] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:14:47] local.INFO: Packet analysis {"connection_id":162091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:14:47] local.INFO: Extracted packet for processing {"connection_id":162091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:14:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":22,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640421120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787658196000,"timestamp_ms":1787658196000,"timestamp_seconds":1787658196,"priority":1,"record_length":96,"hex_timestamp":"000001a038bb5420"} 
[2026-08-25 17:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:14:47] 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-25 17:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640421120001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640421120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:14:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:14:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640421120001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":162091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:14:47] local.INFO: GPS data processed {"connection_id":162091,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:14:47] local.INFO: Acknowledgment sent {"connection_id":162091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:14:52] local.INFO: TCP Data received {"connection_id":163090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:14:52] local.INFO: Processing buffer {"connection_id":163090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:14:52] local.INFO: IMEI packet received {"connection_id":163090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":163090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:14:57] local.INFO: TCP Data received {"connection_id":163090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:14:57] local.INFO: Processing buffer {"connection_id":163090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:14:57] local.INFO: IMEI packet received {"connection_id":163090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":163090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:14:57] local.INFO: TCP Data received {"connection_id":163090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:14:57] local.INFO: Processing buffer {"connection_id":163090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:14:57] local.INFO: Packet analysis {"connection_id":163090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:14:57] local.INFO: Extracted packet for processing {"connection_id":163090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:14:57] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640374016001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787658012000,"timestamp_ms":1787658012000,"timestamp_seconds":1787658012,"priority":1,"record_length":96,"hex_timestamp":"000001a038b88560"} 
[2026-08-25 17: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-25 17:14:57] 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-25 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:14:57] 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-25 17:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640374016001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640374016001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:14:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640374016001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":163090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:14:58] local.INFO: GPS data processed {"connection_id":163090,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:14:58] local.INFO: Acknowledgment sent {"connection_id":163090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:15:12] local.INFO: TCP Data received {"connection_id":162090,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:15:12] local.INFO: Processing buffer {"connection_id":162090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:15:12] local.INFO: Packet analysis {"connection_id":162090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:15:12] local.INFO: Extracted packet for processing {"connection_id":162090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:15:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640432896001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787658242000,"timestamp_ms":1787658242000,"timestamp_seconds":1787658242,"priority":1,"record_length":96,"hex_timestamp":"000001a038bc07d0"} 
[2026-08-25 17:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:15:12] 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-25 17:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:15:12] 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-25 17:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640432896001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640432896001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:15:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640432896001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":162090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:15:12] local.INFO: GPS data processed {"connection_id":162090,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:15:12] local.INFO: Acknowledgment sent {"connection_id":162090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:15:18] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:15:18] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:15:18] local.INFO: Packet analysis {"connection_id":162091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:15:18] local.INFO: Extracted packet for processing {"connection_id":162091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:15:18] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":22,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640421120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787658196000,"timestamp_ms":1787658196000,"timestamp_seconds":1787658196,"priority":1,"record_length":96,"hex_timestamp":"000001a038bb5420"} 
[2026-08-25 17:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640421120001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640421120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:15:18] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:15:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640421120001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":162091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:15:18] local.INFO: GPS data processed {"connection_id":162091,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:15:18] local.INFO: Acknowledgment sent {"connection_id":162091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:15:28] local.INFO: TCP Data received {"connection_id":163090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:15:28] local.INFO: Processing buffer {"connection_id":163090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038b88560012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:15:28] local.INFO: Packet analysis {"connection_id":163090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:15:28] local.INFO: Extracted packet for processing {"connection_id":163090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038b8"} 
[2026-08-25 17:15:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640374016001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787658012000,"timestamp_ms":1787658012000,"timestamp_seconds":1787658012,"priority":1,"record_length":96,"hex_timestamp":"000001a038b88560"} 
[2026-08-25 17: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-25 17:15:28] 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-25 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640374016001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640374016001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:15:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640374016001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":163090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:15:28] local.INFO: GPS data processed {"connection_id":163090,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:15:28] local.INFO: Acknowledgment sent {"connection_id":163090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:15:39] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:15:39] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:15:39] local.INFO: IMEI packet received {"connection_id":161838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":161838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:15:40] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:15:40] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:15:40] local.INFO: IMEI packet received {"connection_id":161839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":161839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:15:44] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:15:44] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:15:44] local.INFO: IMEI packet received {"connection_id":161838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":161838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:15:45] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:15:45] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:15:45] local.INFO: Packet analysis {"connection_id":161838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:15:45] local.INFO: Extracted packet for processing {"connection_id":161838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640432896001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787658242000,"timestamp_ms":1787658242000,"timestamp_seconds":1787658242,"priority":1,"record_length":96,"hex_timestamp":"000001a038bc07d0"} 
[2026-08-25 17:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:15:45] 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-25 17:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640432896001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640432896001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640432896001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":161838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:15:45] local.INFO: GPS data processed {"connection_id":161838,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:15:45] local.INFO: Acknowledgment sent {"connection_id":161838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:15:46] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:15:46] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:15:46] local.INFO: IMEI packet received {"connection_id":161839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":161839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:15:47] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:15:47] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:15:47] local.INFO: Packet analysis {"connection_id":161839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:15:47] local.INFO: Extracted packet for processing {"connection_id":161839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:15:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":22,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640421120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787658196000,"timestamp_ms":1787658196000,"timestamp_seconds":1787658196,"priority":1,"record_length":96,"hex_timestamp":"000001a038bb5420"} 
[2026-08-25 17:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:15:47] 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-25 17:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640421120001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640421120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:15:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:15:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640421120001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":161839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:15:47] local.INFO: GPS data processed {"connection_id":161839,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:15:47] local.INFO: Acknowledgment sent {"connection_id":161839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:15:51] local.INFO: TCP Data received {"connection_id":162092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:15:51] local.INFO: Processing buffer {"connection_id":162092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:15:51] local.INFO: IMEI packet received {"connection_id":162092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":162092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:15:52] local.INFO: TCP Data received {"connection_id":162092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:15:52] local.INFO: Processing buffer {"connection_id":162092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:15:52] local.INFO: IMEI packet received {"connection_id":162092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":162092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:15:57] local.INFO: TCP Data received {"connection_id":162092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:15:57] local.INFO: Processing buffer {"connection_id":162092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:15:57] local.INFO: IMEI packet received {"connection_id":162092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":162092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:15:57] local.INFO: TCP Data received {"connection_id":162092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:15:57] local.INFO: Processing buffer {"connection_id":162092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:15:57] local.INFO: Packet analysis {"connection_id":162092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:15:57] local.INFO: Extracted packet for processing {"connection_id":162092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:15:57] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640451072001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787658313000,"timestamp_ms":1787658313000,"timestamp_seconds":1787658313,"priority":1,"record_length":96,"hex_timestamp":"000001a038bd1d28"} 
[2026-08-25 17: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-25 17:15:57] 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-25 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:15:57] 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-25 17:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640451072001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640451072001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:15:57] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640451072001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":162092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:15:57] local.INFO: GPS data processed {"connection_id":162092,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:15:57] local.INFO: Acknowledgment sent {"connection_id":162092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:16:16] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:16:16] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:16:16] local.INFO: Packet analysis {"connection_id":161838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:16:16] local.INFO: Extracted packet for processing {"connection_id":161838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640432896001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787658242000,"timestamp_ms":1787658242000,"timestamp_seconds":1787658242,"priority":1,"record_length":96,"hex_timestamp":"000001a038bc07d0"} 
[2026-08-25 17:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640432896001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640432896001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640432896001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":161838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:16:16] local.INFO: GPS data processed {"connection_id":161838,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:16:16] local.INFO: Acknowledgment sent {"connection_id":161838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:16:19] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:16:19] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:16:19] local.INFO: Packet analysis {"connection_id":161839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:16:19] local.INFO: Extracted packet for processing {"connection_id":161839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:16:19] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":22,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640421120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787658196000,"timestamp_ms":1787658196000,"timestamp_seconds":1787658196,"priority":1,"record_length":96,"hex_timestamp":"000001a038bb5420"} 
[2026-08-25 17:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640421120001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640421120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:16:19] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:16:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640421120001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":161839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:16:19] local.INFO: GPS data processed {"connection_id":161839,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:16:19] local.INFO: Acknowledgment sent {"connection_id":161839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:16:28] local.INFO: TCP Data received {"connection_id":162092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:16:28] local.INFO: Processing buffer {"connection_id":162092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:16:28] local.INFO: Packet analysis {"connection_id":162092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:16:28] local.INFO: Extracted packet for processing {"connection_id":162092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:16:28] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640451072001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787658313000,"timestamp_ms":1787658313000,"timestamp_seconds":1787658313,"priority":1,"record_length":96,"hex_timestamp":"000001a038bd1d28"} 
[2026-08-25 17:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:16:28] 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-25 17:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640451072001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640451072001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:16:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640451072001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":162092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:16:28] local.INFO: GPS data processed {"connection_id":162092,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:16:28] local.INFO: Acknowledgment sent {"connection_id":162092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:16:30] local.INFO: TCP Data received {"connection_id":162093,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:16:30] local.INFO: Processing buffer {"connection_id":162093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:16:30] local.INFO: IMEI packet received {"connection_id":162093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":162093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:16:39] local.INFO: TCP Data received {"connection_id":163091,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:16:39] local.INFO: Processing buffer {"connection_id":163091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:16:39] local.INFO: IMEI packet received {"connection_id":163091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":163091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:16:41] local.INFO: TCP Data received {"connection_id":164453,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:16:41] local.INFO: Processing buffer {"connection_id":164453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:16:41] local.INFO: IMEI packet received {"connection_id":164453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":164453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:16:45] local.INFO: TCP Data received {"connection_id":163091,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:16:45] local.INFO: Processing buffer {"connection_id":163091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:16:45] local.INFO: IMEI packet received {"connection_id":163091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":163091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:16:46] local.INFO: TCP Data received {"connection_id":163091,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:16:46] local.INFO: Processing buffer {"connection_id":163091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:16:46] local.INFO: Packet analysis {"connection_id":163091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:16:46] local.INFO: Extracted packet for processing {"connection_id":163091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640432896001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787658242000,"timestamp_ms":1787658242000,"timestamp_seconds":1787658242,"priority":1,"record_length":96,"hex_timestamp":"000001a038bc07d0"} 
[2026-08-25 17:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640432896001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640432896001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640432896001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":163091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:16:46] local.INFO: GPS data processed {"connection_id":163091,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:16:46] local.INFO: Acknowledgment sent {"connection_id":163091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:16:46] local.INFO: TCP Data received {"connection_id":164453,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:16:46] local.INFO: Processing buffer {"connection_id":164453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:16:46] local.INFO: IMEI packet received {"connection_id":164453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":164453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:16:47] local.INFO: TCP Data received {"connection_id":164453,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:16:47] local.INFO: Processing buffer {"connection_id":164453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:16:47] local.INFO: Packet analysis {"connection_id":164453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:16:47] local.INFO: Extracted packet for processing {"connection_id":164453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:16:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":22,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640421120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787658196000,"timestamp_ms":1787658196000,"timestamp_seconds":1787658196,"priority":1,"record_length":96,"hex_timestamp":"000001a038bb5420"} 
[2026-08-25 17:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:16:47] 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-25 17:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640421120001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640421120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:16:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:16:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640421120001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":164453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:16:47] local.INFO: GPS data processed {"connection_id":164453,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:16:47] local.INFO: Acknowledgment sent {"connection_id":164453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:16:52] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:16:52] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:16:52] local.INFO: IMEI packet received {"connection_id":161840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":161840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:16:57] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:16:57] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:16:57] local.INFO: IMEI packet received {"connection_id":161840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":161840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:16:58] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:16:58] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:16:58] local.INFO: Packet analysis {"connection_id":161840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:16:58] local.INFO: Extracted packet for processing {"connection_id":161840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:16:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:16: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-25 17:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640451072001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787658313000,"timestamp_ms":1787658313000,"timestamp_seconds":1787658313,"priority":1,"record_length":96,"hex_timestamp":"000001a038bd1d28"} 
[2026-08-25 17:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:16:58] 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-25 17:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:16: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-25 17:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:16:58] 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-25 17:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640451072001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640451072001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:16:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640451072001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":161840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:16:58] local.INFO: GPS data processed {"connection_id":161840,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:16:58] local.INFO: Acknowledgment sent {"connection_id":161840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:17:05] local.INFO: TCP Data received {"connection_id":162094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:17:05] local.INFO: Processing buffer {"connection_id":162094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:17:05] local.INFO: IMEI packet received {"connection_id":162094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":162094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:17:18] local.INFO: TCP Data received {"connection_id":163091,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:17:18] local.INFO: Processing buffer {"connection_id":163091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:17:18] local.INFO: Packet analysis {"connection_id":163091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:17:18] local.INFO: Extracted packet for processing {"connection_id":163091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640432896001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787658242000,"timestamp_ms":1787658242000,"timestamp_seconds":1787658242,"priority":1,"record_length":96,"hex_timestamp":"000001a038bc07d0"} 
[2026-08-25 17:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:17:18] 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-25 17:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640432896001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640432896001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640432896001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":163091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:17:18] local.INFO: GPS data processed {"connection_id":163091,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:17:18] local.INFO: Acknowledgment sent {"connection_id":163091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:17:18] local.INFO: TCP Data received {"connection_id":164453,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:17:18] local.INFO: Processing buffer {"connection_id":164453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:17:18] local.INFO: Packet analysis {"connection_id":164453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:17:18] local.INFO: Extracted packet for processing {"connection_id":164453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:17:18] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":22,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640421120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787658196000,"timestamp_ms":1787658196000,"timestamp_seconds":1787658196,"priority":1,"record_length":96,"hex_timestamp":"000001a038bb5420"} 
[2026-08-25 17:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640421120001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640421120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:17:18] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:17:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640421120001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":164453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:17:19] local.INFO: GPS data processed {"connection_id":164453,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:17:19] local.INFO: Acknowledgment sent {"connection_id":164453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:17:29] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:17:29] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:17:29] local.INFO: Packet analysis {"connection_id":161840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:17:29] local.INFO: Extracted packet for processing {"connection_id":161840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:17:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640451072001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787658313000,"timestamp_ms":1787658313000,"timestamp_seconds":1787658313,"priority":1,"record_length":96,"hex_timestamp":"000001a038bd1d28"} 
[2026-08-25 17:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:17:29] 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-25 17:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:17:29] 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-25 17:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640451072001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640451072001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:17:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640451072001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":161840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:17:29] local.INFO: GPS data processed {"connection_id":161840,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:17:29] local.INFO: Acknowledgment sent {"connection_id":161840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:17:39] local.INFO: TCP Data received {"connection_id":162095,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:17:39] local.INFO: Processing buffer {"connection_id":162095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:17:39] local.INFO: IMEI packet received {"connection_id":162095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":162095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:17:45] local.INFO: TCP Data received {"connection_id":162095,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:17:45] local.INFO: Processing buffer {"connection_id":162095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:17:45] local.INFO: IMEI packet received {"connection_id":162095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":162095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:17:46] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:17:46] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:17:46] local.INFO: IMEI packet received {"connection_id":161841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":161841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:17:46] local.INFO: TCP Data received {"connection_id":162095,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:17:46] local.INFO: Processing buffer {"connection_id":162095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:17:46] local.INFO: Packet analysis {"connection_id":162095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:17:46] local.INFO: Extracted packet for processing {"connection_id":162095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640432896001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787658242000,"timestamp_ms":1787658242000,"timestamp_seconds":1787658242,"priority":1,"record_length":96,"hex_timestamp":"000001a038bc07d0"} 
[2026-08-25 17:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:17:46] 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-25 17:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640432896001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640432896001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640432896001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":162095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:17:46] local.INFO: GPS data processed {"connection_id":162095,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:17:46] local.INFO: Acknowledgment sent {"connection_id":162095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:17:51] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:17:51] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:17:51] local.INFO: IMEI packet received {"connection_id":161841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":161841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:17:52] local.INFO: TCP Data received {"connection_id":163092,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:17:52] local.INFO: Processing buffer {"connection_id":163092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:17:52] local.INFO: IMEI packet received {"connection_id":163092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":163092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:17:52] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:17:52] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:17:52] local.INFO: Packet analysis {"connection_id":161841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:17:52] local.INFO: Extracted packet for processing {"connection_id":161841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:17:52] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":22,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640421120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787658196000,"timestamp_ms":1787658196000,"timestamp_seconds":1787658196,"priority":1,"record_length":96,"hex_timestamp":"000001a038bb5420"} 
[2026-08-25 17:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:17:52] 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-25 17:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640421120001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640421120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:17:52] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:17:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640421120001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":161841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:17:52] local.INFO: GPS data processed {"connection_id":161841,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:17:52] local.INFO: Acknowledgment sent {"connection_id":161841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:17:56] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:17:56] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bb5420012da93e00054ae6980016002129..."} 
[2026-08-25 17:17:56] local.INFO: Packet analysis {"connection_id":161841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:17:56] local.INFO: Extracted packet for processing {"connection_id":161841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bb"} 
[2026-08-25 17:17:56] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":22,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640421120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787658196000,"timestamp_ms":1787658196000,"timestamp_seconds":1787658196,"priority":1,"record_length":96,"hex_timestamp":"000001a038bb5420"} 
[2026-08-25 17:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:17:56] 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-25 17:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640421120001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640421120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:17:56] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:17:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640421120001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":161841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:17:56] local.INFO: GPS data processed {"connection_id":161841,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:17:56] local.INFO: Acknowledgment sent {"connection_id":161841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:17:57] local.INFO: TCP Data received {"connection_id":163092,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:17:57] local.INFO: Processing buffer {"connection_id":163092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:17:57] local.INFO: IMEI packet received {"connection_id":163092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":163092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:17:58] local.INFO: TCP Data received {"connection_id":163092,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:17:58] local.INFO: Processing buffer {"connection_id":163092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:17:58] local.INFO: Packet analysis {"connection_id":163092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:17:58] local.INFO: Extracted packet for processing {"connection_id":163092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:17:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640451072001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787658313000,"timestamp_ms":1787658313000,"timestamp_seconds":1787658313,"priority":1,"record_length":96,"hex_timestamp":"000001a038bd1d28"} 
[2026-08-25 17: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-25 17:17:58] 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-25 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17: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-25 17: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-25 17:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:17:58] 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-25 17:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640451072001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640451072001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:17:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:17:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640451072001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":163092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:17:58] local.INFO: GPS data processed {"connection_id":163092,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:17:58] local.INFO: Acknowledgment sent {"connection_id":163092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:18:18] local.INFO: TCP Data received {"connection_id":162095,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:18:18] local.INFO: Processing buffer {"connection_id":162095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:18:18] local.INFO: Packet analysis {"connection_id":162095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:18:18] local.INFO: Extracted packet for processing {"connection_id":162095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640432896001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787658242000,"timestamp_ms":1787658242000,"timestamp_seconds":1787658242,"priority":1,"record_length":96,"hex_timestamp":"000001a038bc07d0"} 
[2026-08-25 17: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-25 17:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:18:18] 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-25 17: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-25 17: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-25 17:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:18:18] 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-25 17:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640432896001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640432896001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640432896001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":162095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:18:18] local.INFO: GPS data processed {"connection_id":162095,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:18:18] local.INFO: Acknowledgment sent {"connection_id":162095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:18:29] local.INFO: TCP Data received {"connection_id":163092,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:18:29] local.INFO: Processing buffer {"connection_id":163092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:18:29] local.INFO: Packet analysis {"connection_id":163092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:18:29] local.INFO: Extracted packet for processing {"connection_id":163092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:18:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640451072001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787658313000,"timestamp_ms":1787658313000,"timestamp_seconds":1787658313,"priority":1,"record_length":96,"hex_timestamp":"000001a038bd1d28"} 
[2026-08-25 17:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:18:29] 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-25 17:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:18:29] 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-25 17:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640451072001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640451072001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:18:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:18:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640451072001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":163092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:18:29] local.INFO: GPS data processed {"connection_id":163092,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:18:29] local.INFO: Acknowledgment sent {"connection_id":163092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:18:39] local.INFO: TCP Data received {"connection_id":164454,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:18:39] local.INFO: Processing buffer {"connection_id":164454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:18:39] local.INFO: IMEI packet received {"connection_id":164454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":164454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:18:41] local.INFO: TCP Data received {"connection_id":162097,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:18:41] local.INFO: Processing buffer {"connection_id":162097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:18:41] local.INFO: IMEI packet received {"connection_id":162097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":162097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:18:44] local.INFO: TCP Data received {"connection_id":164454,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:18:44] local.INFO: Processing buffer {"connection_id":164454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:18:44] local.INFO: IMEI packet received {"connection_id":164454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":164454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:18:45] local.INFO: TCP Data received {"connection_id":164454,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:18:45] local.INFO: Processing buffer {"connection_id":164454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:18:45] local.INFO: Packet analysis {"connection_id":164454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:18:45] local.INFO: Extracted packet for processing {"connection_id":164454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:18: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-25 17:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640432896001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787658242000,"timestamp_ms":1787658242000,"timestamp_seconds":1787658242,"priority":1,"record_length":96,"hex_timestamp":"000001a038bc07d0"} 
[2026-08-25 17:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:18: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-25 17:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640432896001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640432896001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640432896001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":164454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:18:45] local.INFO: GPS data processed {"connection_id":164454,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:18:45] local.INFO: Acknowledgment sent {"connection_id":164454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:18:46] local.INFO: TCP Data received {"connection_id":162097,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:18:46] local.INFO: Processing buffer {"connection_id":162097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:18:46] local.INFO: IMEI packet received {"connection_id":162097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":162097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:18:47] local.INFO: TCP Data received {"connection_id":162097,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:18:47] local.INFO: Processing buffer {"connection_id":162097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:18:47] local.INFO: Packet analysis {"connection_id":162097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:18:47] local.INFO: Extracted packet for processing {"connection_id":162097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:18:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":21,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640498176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787658497000,"timestamp_ms":1787658497000,"timestamp_seconds":1787658497,"priority":1,"record_length":96,"hex_timestamp":"000001a038bfebe8"} 
[2026-08-25 17:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640498176001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640498176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:18:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:18:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640498176001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":162097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:18:47] local.INFO: GPS data processed {"connection_id":162097,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:18:47] local.INFO: Acknowledgment sent {"connection_id":162097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:18:52] local.INFO: TCP Data received {"connection_id":164455,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:18:52] local.INFO: Processing buffer {"connection_id":164455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:18:52] local.INFO: IMEI packet received {"connection_id":164455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":164455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:18:57] local.INFO: TCP Data received {"connection_id":164455,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:18:57] local.INFO: Processing buffer {"connection_id":164455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:18:57] local.INFO: IMEI packet received {"connection_id":164455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":164455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:18:58] local.INFO: TCP Data received {"connection_id":164455,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:18:58] local.INFO: Processing buffer {"connection_id":164455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:18:58] local.INFO: Packet analysis {"connection_id":164455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:18:58] local.INFO: Extracted packet for processing {"connection_id":164455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:18:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640451072001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787658313000,"timestamp_ms":1787658313000,"timestamp_seconds":1787658313,"priority":1,"record_length":96,"hex_timestamp":"000001a038bd1d28"} 
[2026-08-25 17:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:18:58] 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-25 17:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:18:58] 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-25 17:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640451072001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640451072001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:18:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640451072001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":164455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:18:58] local.INFO: GPS data processed {"connection_id":164455,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:18:58] local.INFO: Acknowledgment sent {"connection_id":164455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:19:18] local.INFO: TCP Data received {"connection_id":164454,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:19:18] local.INFO: Processing buffer {"connection_id":164454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bc07d0012d34c14006aa4818000600e629..."} 
[2026-08-25 17:19:18] local.INFO: Packet analysis {"connection_id":164454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:19:18] local.INFO: Extracted packet for processing {"connection_id":164454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bc"} 
[2026-08-25 17:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640432896001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787658242000,"timestamp_ms":1787658242000,"timestamp_seconds":1787658242,"priority":1,"record_length":96,"hex_timestamp":"000001a038bc07d0"} 
[2026-08-25 17:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:19:18] 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-25 17:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640432896001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640432896001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640432896001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":164454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:19:18] local.INFO: GPS data processed {"connection_id":164454,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:19:18] local.INFO: Acknowledgment sent {"connection_id":164454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:19:19] local.INFO: TCP Data received {"connection_id":162097,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:19:19] local.INFO: Processing buffer {"connection_id":162097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:19:19] local.INFO: Packet analysis {"connection_id":162097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:19:19] local.INFO: Extracted packet for processing {"connection_id":162097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:19:19] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":21,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 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-25 17:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640498176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787658497000,"timestamp_ms":1787658497000,"timestamp_seconds":1787658497,"priority":1,"record_length":96,"hex_timestamp":"000001a038bfebe8"} 
[2026-08-25 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-25 17:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 17:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640498176001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640498176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:19:19] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:19:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640498176001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":162097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:19:19] local.INFO: GPS data processed {"connection_id":162097,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:19:19] local.INFO: Acknowledgment sent {"connection_id":162097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:19:29] local.INFO: TCP Data received {"connection_id":164455,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:19:29] local.INFO: Processing buffer {"connection_id":164455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:19:29] local.INFO: Packet analysis {"connection_id":164455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:19:29] local.INFO: Extracted packet for processing {"connection_id":164455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:19:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640451072001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787658313000,"timestamp_ms":1787658313000,"timestamp_seconds":1787658313,"priority":1,"record_length":96,"hex_timestamp":"000001a038bd1d28"} 
[2026-08-25 17:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:19:29] 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-25 17:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:19:29] 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-25 17:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640451072001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640451072001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:19:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:19:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640451072001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":164455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:19:29] local.INFO: GPS data processed {"connection_id":164455,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:19:29] local.INFO: Acknowledgment sent {"connection_id":164455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:19:41] local.INFO: TCP Data received {"connection_id":162098,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:19:41] local.INFO: Processing buffer {"connection_id":162098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:19:41] local.INFO: IMEI packet received {"connection_id":162098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":162098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:19:41] local.INFO: TCP Data received {"connection_id":162099,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:19:41] local.INFO: Processing buffer {"connection_id":162099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:19:41] local.INFO: IMEI packet received {"connection_id":162099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":162099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:19:44] local.INFO: TCP Data received {"connection_id":162099,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:19:44] local.INFO: Processing buffer {"connection_id":162099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:19:44] local.INFO: IMEI packet received {"connection_id":162099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":162099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:19:46] local.INFO: TCP Data received {"connection_id":162098,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:19:46] local.INFO: Processing buffer {"connection_id":162098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:19:46] local.INFO: IMEI packet received {"connection_id":162098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":162098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:19:47] local.INFO: TCP Data received {"connection_id":162098,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:19:47] local.INFO: Processing buffer {"connection_id":162098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:19:47] local.INFO: Packet analysis {"connection_id":162098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:19:47] local.INFO: Extracted packet for processing {"connection_id":162098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:19:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":21,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640498176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787658497000,"timestamp_ms":1787658497000,"timestamp_seconds":1787658497,"priority":1,"record_length":96,"hex_timestamp":"000001a038bfebe8"} 
[2026-08-25 17:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640498176001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640498176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:19:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:19:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640498176001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":162098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:19:47] local.INFO: GPS data processed {"connection_id":162098,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:19:47] local.INFO: Acknowledgment sent {"connection_id":162098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:19:49] local.INFO: TCP Data received {"connection_id":162099,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:19:49] local.INFO: Processing buffer {"connection_id":162099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:19:49] local.INFO: IMEI packet received {"connection_id":162099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":162099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:19:50] local.INFO: TCP Data received {"connection_id":162099,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:19:50] local.INFO: Processing buffer {"connection_id":162099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:19:50] local.INFO: Packet analysis {"connection_id":162099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:19:50] local.INFO: Extracted packet for processing {"connection_id":162099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:19:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640509952001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787658543000,"timestamp_ms":1787658543000,"timestamp_seconds":1787658543,"priority":1,"record_length":96,"hex_timestamp":"000001a038c09f98"} 
[2026-08-25 17:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:19: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-25 17:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:19: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-25 17:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640509952001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640509952001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:19:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640509952001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":162099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:19:50] local.INFO: GPS data processed {"connection_id":162099,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:19:50] local.INFO: Acknowledgment sent {"connection_id":162099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:19:55] local.INFO: TCP Data received {"connection_id":162099,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:19:55] local.INFO: Processing buffer {"connection_id":162099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:19:55] local.INFO: Packet analysis {"connection_id":162099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:19:55] local.INFO: Extracted packet for processing {"connection_id":162099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:19:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640509952001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787658543000,"timestamp_ms":1787658543000,"timestamp_seconds":1787658543,"priority":1,"record_length":96,"hex_timestamp":"000001a038c09f98"} 
[2026-08-25 17:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:19: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-25 17:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:19: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-25 17:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640509952001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640509952001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:19:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640509952001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":162099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:19:55] local.INFO: GPS data processed {"connection_id":162099,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:19:55] local.INFO: Acknowledgment sent {"connection_id":162099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:19:57] local.INFO: TCP Data received {"connection_id":164456,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:19:57] local.INFO: Processing buffer {"connection_id":164456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:19:57] local.INFO: IMEI packet received {"connection_id":164456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":164456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:20:02] local.INFO: TCP Data received {"connection_id":164456,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:20:02] local.INFO: Processing buffer {"connection_id":164456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:20:02] local.INFO: IMEI packet received {"connection_id":164456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":164456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:20:03] local.INFO: TCP Data received {"connection_id":164456,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:20:03] local.INFO: Processing buffer {"connection_id":164456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:20:03] local.INFO: Packet analysis {"connection_id":164456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:20:03] local.INFO: Extracted packet for processing {"connection_id":164456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:20:03] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640451072001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787658313000,"timestamp_ms":1787658313000,"timestamp_seconds":1787658313,"priority":1,"record_length":96,"hex_timestamp":"000001a038bd1d28"} 
[2026-08-25 17: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-25 17:20:03] 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-25 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:20:03] 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-25 17:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640451072001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640451072001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:20:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640451072001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":164456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:20:03] local.INFO: GPS data processed {"connection_id":164456,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:20:03] local.INFO: Acknowledgment sent {"connection_id":164456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:20:07] local.INFO: TCP Data received {"connection_id":164456,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:20:07] local.INFO: Processing buffer {"connection_id":164456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bd1d28012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:20:07] local.INFO: Packet analysis {"connection_id":164456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:20:07] local.INFO: Extracted packet for processing {"connection_id":164456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bd"} 
[2026-08-25 17:20:07] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640451072001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787658313000,"timestamp_ms":1787658313000,"timestamp_seconds":1787658313,"priority":1,"record_length":96,"hex_timestamp":"000001a038bd1d28"} 
[2026-08-25 17: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-25 17:20:07] 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-25 17:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:20:07] 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-25 17:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640451072001,"66":2177,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640451072001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:20:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640451072001,"power":2177,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":164456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:20:07] local.INFO: GPS data processed {"connection_id":164456,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:20:07] local.INFO: Acknowledgment sent {"connection_id":164456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:20:19] local.INFO: TCP Data received {"connection_id":162098,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:20:19] local.INFO: Processing buffer {"connection_id":162098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:20:19] local.INFO: Packet analysis {"connection_id":162098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:20:19] local.INFO: Extracted packet for processing {"connection_id":162098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:20:19] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":21,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640498176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787658497000,"timestamp_ms":1787658497000,"timestamp_seconds":1787658497,"priority":1,"record_length":96,"hex_timestamp":"000001a038bfebe8"} 
[2026-08-25 17:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640498176001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640498176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:20:19] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:20:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640498176001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":162098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:20:19] local.INFO: GPS data processed {"connection_id":162098,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:20:19] local.INFO: Acknowledgment sent {"connection_id":162098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:20:39] local.INFO: TCP Data received {"connection_id":161843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:20:39] local.INFO: Processing buffer {"connection_id":161843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:20:39] local.INFO: IMEI packet received {"connection_id":161843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":161843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:20:40] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:20:40] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:20:40] local.INFO: IMEI packet received {"connection_id":161844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":161844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:20:44] local.INFO: TCP Data received {"connection_id":161843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:20:44] local.INFO: Processing buffer {"connection_id":161843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:20:44] local.INFO: IMEI packet received {"connection_id":161843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":161843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:20:45] local.INFO: TCP Data received {"connection_id":161843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:20:45] local.INFO: Processing buffer {"connection_id":161843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:20:45] local.INFO: Packet analysis {"connection_id":161843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:20:45] local.INFO: Extracted packet for processing {"connection_id":161843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640509952001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787658543000,"timestamp_ms":1787658543000,"timestamp_seconds":1787658543,"priority":1,"record_length":96,"hex_timestamp":"000001a038c09f98"} 
[2026-08-25 17: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-25 17:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640509952001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640509952001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640509952001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":161843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:20:45] local.INFO: GPS data processed {"connection_id":161843,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:20:45] local.INFO: Acknowledgment sent {"connection_id":161843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:20:46] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:20:46] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:20:46] local.INFO: IMEI packet received {"connection_id":161844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":161844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:20:47] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:20:47] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:20:47] local.INFO: Packet analysis {"connection_id":161844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:20:47] local.INFO: Extracted packet for processing {"connection_id":161844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:20:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":21,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640498176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787658497000,"timestamp_ms":1787658497000,"timestamp_seconds":1787658497,"priority":1,"record_length":96,"hex_timestamp":"000001a038bfebe8"} 
[2026-08-25 17:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640498176001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640498176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:20:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:20:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640498176001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":161844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:20:47] local.INFO: GPS data processed {"connection_id":161844,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:20:47] local.INFO: Acknowledgment sent {"connection_id":161844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:20:52] local.INFO: TCP Data received {"connection_id":163094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:20:52] local.INFO: Processing buffer {"connection_id":163094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:20:52] local.INFO: IMEI packet received {"connection_id":163094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":163094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:20:52] local.INFO: TCP Data received {"connection_id":163094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:20:52] local.INFO: Processing buffer {"connection_id":163094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:20:52] local.INFO: IMEI packet received {"connection_id":163094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":163094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:20:57] local.INFO: TCP Data received {"connection_id":163094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:20:57] local.INFO: Processing buffer {"connection_id":163094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:20:57] local.INFO: IMEI packet received {"connection_id":163094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":163094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:20:58] local.INFO: TCP Data received {"connection_id":163094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:20:58] local.INFO: Processing buffer {"connection_id":163094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:20:58] local.INFO: Packet analysis {"connection_id":163094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:20:58] local.INFO: Extracted packet for processing {"connection_id":163094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:20:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640528128001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787658614000,"timestamp_ms":1787658614000,"timestamp_seconds":1787658614,"priority":1,"record_length":96,"hex_timestamp":"000001a038c1b4f0"} 
[2026-08-25 17: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-25 17:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:20:58] 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-25 17: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-25 17: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-25 17:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:20:58] 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-25 17:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640528128001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640528128001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:20:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640528128001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":163094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:20:58] local.INFO: GPS data processed {"connection_id":163094,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:20:58] local.INFO: Acknowledgment sent {"connection_id":163094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:21:02] local.INFO: TCP Data received {"connection_id":163094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:21:02] local.INFO: Processing buffer {"connection_id":163094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:21:02] local.INFO: Packet analysis {"connection_id":163094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:21:02] local.INFO: Extracted packet for processing {"connection_id":163094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:21:02] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640528128001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787658614000,"timestamp_ms":1787658614000,"timestamp_seconds":1787658614,"priority":1,"record_length":96,"hex_timestamp":"000001a038c1b4f0"} 
[2026-08-25 17:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640528128001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640528128001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:21:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:21:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640528128001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":163094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:21:03] local.INFO: GPS data processed {"connection_id":163094,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:21:03] local.INFO: Acknowledgment sent {"connection_id":163094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:21:18] local.INFO: TCP Data received {"connection_id":161843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:21:18] local.INFO: Processing buffer {"connection_id":161843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:21:18] local.INFO: Packet analysis {"connection_id":161843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:21:18] local.INFO: Extracted packet for processing {"connection_id":161843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:21:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640509952001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787658543000,"timestamp_ms":1787658543000,"timestamp_seconds":1787658543,"priority":1,"record_length":96,"hex_timestamp":"000001a038c09f98"} 
[2026-08-25 17:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:21:18] 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-25 17:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:21:18] local.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-25 17:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640509952001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640509952001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:21:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640509952001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":161843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:21:18] local.INFO: GPS data processed {"connection_id":161843,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:21:18] local.INFO: Acknowledgment sent {"connection_id":161843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:21:19] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:21:19] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:21:19] local.INFO: Packet analysis {"connection_id":161844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:21:19] local.INFO: Extracted packet for processing {"connection_id":161844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:21:19] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":21,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640498176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787658497000,"timestamp_ms":1787658497000,"timestamp_seconds":1787658497,"priority":1,"record_length":96,"hex_timestamp":"000001a038bfebe8"} 
[2026-08-25 17:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640498176001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640498176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:21:19] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:21:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640498176001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":161844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:21:19] local.INFO: GPS data processed {"connection_id":161844,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:21:19] local.INFO: Acknowledgment sent {"connection_id":161844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:21:34] local.INFO: TCP Data received {"connection_id":163094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:21:34] local.INFO: Processing buffer {"connection_id":163094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:21:34] local.INFO: Packet analysis {"connection_id":163094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:21:34] local.INFO: Extracted packet for processing {"connection_id":163094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640528128001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787658614000,"timestamp_ms":1787658614000,"timestamp_seconds":1787658614,"priority":1,"record_length":96,"hex_timestamp":"000001a038c1b4f0"} 
[2026-08-25 17:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:21:34] 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-25 17:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640528128001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640528128001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:21:34] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640528128001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":163094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:21:34] local.INFO: GPS data processed {"connection_id":163094,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:21:34] local.INFO: Acknowledgment sent {"connection_id":163094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:21:40] local.INFO: TCP Data received {"connection_id":164458,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:21:40] local.INFO: Processing buffer {"connection_id":164458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:21:40] local.INFO: IMEI packet received {"connection_id":164458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":164458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:21:44] local.INFO: TCP Data received {"connection_id":164457,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:21:44] local.INFO: Processing buffer {"connection_id":164457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:21:44] local.INFO: IMEI packet received {"connection_id":164457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":164457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:21:45] local.INFO: TCP Data received {"connection_id":164457,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:21:45] local.INFO: Processing buffer {"connection_id":164457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:21:45] local.INFO: IMEI packet received {"connection_id":164457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":164457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:21:46] local.INFO: TCP Data received {"connection_id":164458,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:21:46] local.INFO: Processing buffer {"connection_id":164458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:21:46] local.INFO: IMEI packet received {"connection_id":164458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":164458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:21:46] local.INFO: TCP Data received {"connection_id":164457,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:21:46] local.INFO: Processing buffer {"connection_id":164457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:21:46] local.INFO: Packet analysis {"connection_id":164457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:21:46] local.INFO: Extracted packet for processing {"connection_id":164457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640509952001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787658543000,"timestamp_ms":1787658543000,"timestamp_seconds":1787658543,"priority":1,"record_length":96,"hex_timestamp":"000001a038c09f98"} 
[2026-08-25 17:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:21:46] 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-25 17:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640509952001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640509952001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640509952001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":164457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:21:46] local.INFO: GPS data processed {"connection_id":164457,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:21:46] local.INFO: Acknowledgment sent {"connection_id":164457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:21:47] local.INFO: TCP Data received {"connection_id":164458,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:21:47] local.INFO: Processing buffer {"connection_id":164458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038bfebe8012da93e00054ae6980015002129..."} 
[2026-08-25 17:21:47] local.INFO: Packet analysis {"connection_id":164458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:21:47] local.INFO: Extracted packet for processing {"connection_id":164458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038bf"} 
[2026-08-25 17:21:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":21,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640498176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787658497000,"timestamp_ms":1787658497000,"timestamp_seconds":1787658497,"priority":1,"record_length":96,"hex_timestamp":"000001a038bfebe8"} 
[2026-08-25 17:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640498176001,"66":2253,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640498176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:21:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:21:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640498176001,"power":2253,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":164458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:21:47] local.INFO: GPS data processed {"connection_id":164458,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:21:47] local.INFO: Acknowledgment sent {"connection_id":164458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:21:50] local.INFO: TCP Data received {"connection_id":164457,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:21:50] local.INFO: Processing buffer {"connection_id":164457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:21:50] local.INFO: Packet analysis {"connection_id":164457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:21:50] local.INFO: Extracted packet for processing {"connection_id":164457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:21:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640509952001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787658543000,"timestamp_ms":1787658543000,"timestamp_seconds":1787658543,"priority":1,"record_length":96,"hex_timestamp":"000001a038c09f98"} 
[2026-08-25 17: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-25 17:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:21: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-25 17: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-25 17: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-25 17:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:21: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-25 17:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640509952001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640509952001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:21:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640509952001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":164457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:21:50] local.INFO: GPS data processed {"connection_id":164457,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:21:50] local.INFO: Acknowledgment sent {"connection_id":164457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:21:52] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:21:52] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:21:52] local.INFO: IMEI packet received {"connection_id":161846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":161846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:21:57] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:21:57] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:21:57] local.INFO: IMEI packet received {"connection_id":161846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":161846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:21:58] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:21:58] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:21:58] local.INFO: Packet analysis {"connection_id":161846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:21:58] local.INFO: Extracted packet for processing {"connection_id":161846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:21:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640528128001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787658614000,"timestamp_ms":1787658614000,"timestamp_seconds":1787658614,"priority":1,"record_length":96,"hex_timestamp":"000001a038c1b4f0"} 
[2026-08-25 17:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:21:58] 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-25 17:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:21:58] 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-25 17:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640528128001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640528128001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:21:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640528128001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":161846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:21:58] local.INFO: GPS data processed {"connection_id":161846,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:21:58] local.INFO: Acknowledgment sent {"connection_id":161846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:22:19] local.INFO: TCP Data received {"connection_id":164458,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c36688012da93e00054ae6980015002128..."} 
[2026-08-25 17:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c36688012da93e00054ae6980015002128..."} 
[2026-08-25 17:22:19] local.INFO: Processing buffer {"connection_id":164458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c36688012da93e00054ae6980015002128..."} 
[2026-08-25 17:22:19] local.INFO: Packet analysis {"connection_id":164458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:22:19] local.INFO: Extracted packet for processing {"connection_id":164458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:22:19] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":21,"angle":33,"satellites":40,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:22:19] 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-25 17:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640575232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787658725000,"timestamp_ms":1787658725000,"timestamp_seconds":1787658725,"priority":1,"record_length":96,"hex_timestamp":"000001a038c36688"} 
[2026-08-25 17: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-25 17:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640575232001,"66":2242,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640575232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:22:19] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:22:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640575232001,"power":2242,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":164458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:22:19] local.INFO: GPS data processed {"connection_id":164458,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:22:19] local.INFO: Acknowledgment sent {"connection_id":164458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:22:20] local.INFO: TCP Data received {"connection_id":163095,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:22:20] local.INFO: Processing buffer {"connection_id":163095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:22:20] local.INFO: IMEI packet received {"connection_id":163095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":163095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:22:21] local.INFO: TCP Data received {"connection_id":164457,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:22:21] local.INFO: Processing buffer {"connection_id":164457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:22:21] local.INFO: Packet analysis {"connection_id":164457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:22:21] local.INFO: Extracted packet for processing {"connection_id":164457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640509952001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787658543000,"timestamp_ms":1787658543000,"timestamp_seconds":1787658543,"priority":1,"record_length":96,"hex_timestamp":"000001a038c09f98"} 
[2026-08-25 17: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-25 17:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:22: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-25 17: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-25 17: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-25 17:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:22: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-25 17:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640509952001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640509952001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640509952001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":164457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:22:21] local.INFO: GPS data processed {"connection_id":164457,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:22:21] local.INFO: Acknowledgment sent {"connection_id":164457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:22:29] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:22:29] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:22:29] local.INFO: Packet analysis {"connection_id":161846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:22:29] local.INFO: Extracted packet for processing {"connection_id":161846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:22:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640528128001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787658614000,"timestamp_ms":1787658614000,"timestamp_seconds":1787658614,"priority":1,"record_length":96,"hex_timestamp":"000001a038c1b4f0"} 
[2026-08-25 17:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:22:29] 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-25 17:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:22:29] 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-25 17:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640528128001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640528128001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:22:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640528128001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":161846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:22:29] local.INFO: GPS data processed {"connection_id":161846,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:22:29] local.INFO: Acknowledgment sent {"connection_id":161846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:22:39] local.INFO: TCP Data received {"connection_id":164459,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:22:39] local.INFO: Processing buffer {"connection_id":164459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:22:39] local.INFO: IMEI packet received {"connection_id":164459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":164459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:22:39] local.INFO: TCP Data received {"connection_id":164460,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:22:39] local.INFO: Processing buffer {"connection_id":164460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:22:39] local.INFO: IMEI packet received {"connection_id":164460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":164460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:22:40] local.INFO: TCP Data received {"connection_id":164459,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:22:40] local.INFO: Processing buffer {"connection_id":164459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:22:40] local.INFO: IMEI packet received {"connection_id":164459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":164459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:22:43] local.INFO: TCP Data received {"connection_id":164459,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:22:43] local.INFO: Processing buffer {"connection_id":164459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:22:43] local.INFO: IMEI packet received {"connection_id":164459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":164459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:22:44] local.INFO: TCP Data received {"connection_id":164459,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c36688012da93e00054ae6980015002128..."} 
[2026-08-25 17:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c36688012da93e00054ae6980015002128..."} 
[2026-08-25 17:22:44] local.INFO: Processing buffer {"connection_id":164459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c36688012da93e00054ae6980015002128..."} 
[2026-08-25 17:22:44] local.INFO: Packet analysis {"connection_id":164459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:22:44] local.INFO: Extracted packet for processing {"connection_id":164459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:22:44] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":21,"angle":33,"satellites":40,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:22:44] 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-25 17:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640633600001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787658725000,"timestamp_ms":1787658725000,"timestamp_seconds":1787658725,"priority":1,"record_length":96,"hex_timestamp":"000001a038c36688"} 
[2026-08-25 17:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640633600001,"66":2242,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640633600001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:22:44] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:22:44] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640633600001,"power":2242,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":164459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:22:44] local.INFO: GPS data processed {"connection_id":164459,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:22:44] local.INFO: Acknowledgment sent {"connection_id":164459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:22:44] local.INFO: TCP Data received {"connection_id":164460,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:22:44] local.INFO: Processing buffer {"connection_id":164460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:22:44] local.INFO: IMEI packet received {"connection_id":164460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":164460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:22:45] local.INFO: TCP Data received {"connection_id":164460,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:22:45] local.INFO: Processing buffer {"connection_id":164460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:22:45] local.INFO: Packet analysis {"connection_id":164460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:22:45] local.INFO: Extracted packet for processing {"connection_id":164460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640509952001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787658543000,"timestamp_ms":1787658543000,"timestamp_seconds":1787658543,"priority":1,"record_length":96,"hex_timestamp":"000001a038c09f98"} 
[2026-08-25 17:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640509952001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640509952001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640509952001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":164460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:22:45] local.INFO: GPS data processed {"connection_id":164460,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:22:45] local.INFO: Acknowledgment sent {"connection_id":164460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:22:52] local.INFO: TCP Data received {"connection_id":164461,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:22:52] local.INFO: Processing buffer {"connection_id":164461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:22:52] local.INFO: IMEI packet received {"connection_id":164461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":164461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:22:57] local.INFO: TCP Data received {"connection_id":164461,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:22:57] local.INFO: Processing buffer {"connection_id":164461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:22:57] local.INFO: IMEI packet received {"connection_id":164461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":164461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:22:58] local.INFO: TCP Data received {"connection_id":164461,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:22:58] local.INFO: Processing buffer {"connection_id":164461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:22:58] local.INFO: Packet analysis {"connection_id":164461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:22:58] local.INFO: Extracted packet for processing {"connection_id":164461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:22:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640528128001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787658614000,"timestamp_ms":1787658614000,"timestamp_seconds":1787658614,"priority":1,"record_length":96,"hex_timestamp":"000001a038c1b4f0"} 
[2026-08-25 17:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:22:58] 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-25 17:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:22:58] 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-25 17:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640528128001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640528128001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:22:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640528128001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":164461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:22:58] local.INFO: GPS data processed {"connection_id":164461,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:22:58] local.INFO: Acknowledgment sent {"connection_id":164461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:23:06] local.INFO: TCP Data received {"connection_id":163096,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:23:06] local.INFO: Processing buffer {"connection_id":163096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:23:06] local.INFO: IMEI packet received {"connection_id":163096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":163096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:23:15] local.INFO: TCP Data received {"connection_id":164459,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c36a70012da93e00054ae6980015002129..."} 
[2026-08-25 17:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c36a70012da93e00054ae6980015002129..."} 
[2026-08-25 17:23:15] local.INFO: Processing buffer {"connection_id":164459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c36a70012da93e00054ae6980015002129..."} 
[2026-08-25 17:23:15] local.INFO: Packet analysis {"connection_id":164459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:23:15] local.INFO: Extracted packet for processing {"connection_id":164459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:23:15] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":21,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640633600001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787658726000,"timestamp_ms":1787658726000,"timestamp_seconds":1787658726,"priority":1,"record_length":96,"hex_timestamp":"000001a038c36a70"} 
[2026-08-25 17:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640633600001,"66":13135,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640633600001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:23:15] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:23:15] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640633600001,"power":13135,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":164459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:23:15] local.INFO: GPS data processed {"connection_id":164459,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:23:15] local.INFO: Acknowledgment sent {"connection_id":164459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:23:17] local.INFO: TCP Data received {"connection_id":164460,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:23:17] local.INFO: Processing buffer {"connection_id":164460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:23:17] local.INFO: Packet analysis {"connection_id":164460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:23:17] local.INFO: Extracted packet for processing {"connection_id":164460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640509952001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787658543000,"timestamp_ms":1787658543000,"timestamp_seconds":1787658543,"priority":1,"record_length":96,"hex_timestamp":"000001a038c09f98"} 
[2026-08-25 17:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:23:17] 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-25 17:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640509952001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640509952001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640509952001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":164460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:23:17] local.INFO: GPS data processed {"connection_id":164460,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:23:17] local.INFO: Acknowledgment sent {"connection_id":164460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:23:29] local.INFO: TCP Data received {"connection_id":164461,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:23:29] local.INFO: Processing buffer {"connection_id":164461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:23:29] local.INFO: Packet analysis {"connection_id":164461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:23:29] local.INFO: Extracted packet for processing {"connection_id":164461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:23:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640528128001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787658614000,"timestamp_ms":1787658614000,"timestamp_seconds":1787658614,"priority":1,"record_length":96,"hex_timestamp":"000001a038c1b4f0"} 
[2026-08-25 17:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:23:29] 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-25 17:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:23:29] 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-25 17:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640528128001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640528128001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:23:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640528128001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":164461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:23:29] local.INFO: GPS data processed {"connection_id":164461,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:23:29] local.INFO: Acknowledgment sent {"connection_id":164461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:23:39] local.INFO: TCP Data received {"connection_id":164463,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:23:39] local.INFO: Processing buffer {"connection_id":164463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:23:39] local.INFO: IMEI packet received {"connection_id":164463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":164463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:23:41] local.INFO: TCP Data received {"connection_id":164462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:23:41] local.INFO: Processing buffer {"connection_id":164462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:23:41] local.INFO: IMEI packet received {"connection_id":164462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":164462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:23:45] local.INFO: TCP Data received {"connection_id":164463,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:23:45] local.INFO: Processing buffer {"connection_id":164463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:23:45] local.INFO: IMEI packet received {"connection_id":164463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":164463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:23:46] local.INFO: TCP Data received {"connection_id":164463,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:23:46] local.INFO: Processing buffer {"connection_id":164463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:23:46] local.INFO: Packet analysis {"connection_id":164463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:23:46] local.INFO: Extracted packet for processing {"connection_id":164463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640509952001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787658543000,"timestamp_ms":1787658543000,"timestamp_seconds":1787658543,"priority":1,"record_length":96,"hex_timestamp":"000001a038c09f98"} 
[2026-08-25 17:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640509952001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640509952001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640509952001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":164463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:23:46] local.INFO: GPS data processed {"connection_id":164463,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:23:46] local.INFO: Acknowledgment sent {"connection_id":164463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:23:46] local.INFO: TCP Data received {"connection_id":164462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:23:46] local.INFO: Processing buffer {"connection_id":164462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:23:46] local.INFO: IMEI packet received {"connection_id":164462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":164462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:23:47] local.INFO: TCP Data received {"connection_id":164462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c36a70012da93e00054ae6980015002129..."} 
[2026-08-25 17:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c36a70012da93e00054ae6980015002129..."} 
[2026-08-25 17:23:47] local.INFO: Processing buffer {"connection_id":164462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c36a70012da93e00054ae6980015002129..."} 
[2026-08-25 17:23:47] local.INFO: Packet analysis {"connection_id":164462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:23:47] local.INFO: Extracted packet for processing {"connection_id":164462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:23:47] local.INFO: GPS Element Parsed {"raw_longitude":766066176,"raw_latitude":88794776,"longitude_deg":76.6066176,"latitude_deg":8.8794776,"altitude":21,"angle":33,"satellites":41,"speed":0,"hex_longitude":"2da93e00","hex_latitude":"054ae698","is_valid_coordinates":true} 
[2026-08-25 17:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640633856001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863072950452224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787658726000,"timestamp_ms":1787658726000,"timestamp_seconds":1787658726,"priority":1,"record_length":96,"hex_timestamp":"000001a038c36a70"} 
[2026-08-25 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-25 17:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 17:23:47] 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-25 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-25 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-25 17:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640633856001,"66":13135,"114":206,"84":6144,"24":0,"16":123863072950452224,"45":-6251559210012207104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640633856001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:23:47] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:23:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863072950452224,"km_value":123863072950452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640633856001,"power":13135,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":164462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:23:47] local.INFO: GPS data processed {"connection_id":164462,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:23:47] local.INFO: Acknowledgment sent {"connection_id":164462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:23:52] local.INFO: TCP Data received {"connection_id":163097,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:23:52] local.INFO: Processing buffer {"connection_id":163097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:23:52] local.INFO: IMEI packet received {"connection_id":163097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":163097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:23:57] local.INFO: TCP Data received {"connection_id":163097,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:23:57] local.INFO: Processing buffer {"connection_id":163097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:23:57] local.INFO: IMEI packet received {"connection_id":163097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":163097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:23:58] local.INFO: TCP Data received {"connection_id":163097,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:23:58] local.INFO: Processing buffer {"connection_id":163097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:23:58] local.INFO: Packet analysis {"connection_id":163097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:23:58] local.INFO: Extracted packet for processing {"connection_id":163097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:23:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640528128001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787658614000,"timestamp_ms":1787658614000,"timestamp_seconds":1787658614,"priority":1,"record_length":96,"hex_timestamp":"000001a038c1b4f0"} 
[2026-08-25 17:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:23:58] 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-25 17:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:23:58] 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-25 17:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640528128001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640528128001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:23:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640528128001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":163097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:23:58] local.INFO: GPS data processed {"connection_id":163097,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:23:58] local.INFO: Acknowledgment sent {"connection_id":163097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:24:17] local.INFO: TCP Data received {"connection_id":164463,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:24:17] local.INFO: Processing buffer {"connection_id":164463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c09f98012d34c14006aa4818000800e62b..."} 
[2026-08-25 17:24:17] local.INFO: Packet analysis {"connection_id":164463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:24:17] local.INFO: Extracted packet for processing {"connection_id":164463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c0"} 
[2026-08-25 17:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640509952001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787658543000,"timestamp_ms":1787658543000,"timestamp_seconds":1787658543,"priority":1,"record_length":96,"hex_timestamp":"000001a038c09f98"} 
[2026-08-25 17:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:24:17] 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-25 17:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:24:17] 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-25 17:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640509952001,"66":25549,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640509952001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640509952001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":164463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:24:17] local.INFO: GPS data processed {"connection_id":164463,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:24:17] local.INFO: Acknowledgment sent {"connection_id":164463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:24:18] local.INFO: TCP Data received {"connection_id":164462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c39568012da93dc0054ae4f0001000d329..."} 
[2026-08-25 17:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c39568012da93dc0054ae4f0001000d329..."} 
[2026-08-25 17:24:18] local.INFO: Processing buffer {"connection_id":164462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c39568012da93dc0054ae4f0001000d329..."} 
[2026-08-25 17:24:18] local.INFO: Packet analysis {"connection_id":164462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:24:18] local.INFO: Extracted packet for processing {"connection_id":164462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:24:18] local.INFO: GPS Element Parsed {"raw_longitude":766066112,"raw_latitude":88794352,"longitude_deg":76.6066112,"latitude_deg":8.8794352,"altitude":16,"angle":211,"satellites":41,"speed":3,"hex_longitude":"2da93dc0","hex_latitude":"054ae4f0","is_valid_coordinates":true} 
[2026-08-25 17:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640633856001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863085835354112,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251559210012207104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787658737000,"timestamp_ms":1787658737000,"timestamp_seconds":1787658737,"priority":1,"record_length":96,"hex_timestamp":"000001a038c39568"} 
[2026-08-25 17:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 17:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640633856001,"66":11406,"114":206,"84":6144,"24":3,"16":123863085835354112,"45":-6251559210012207104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640633856001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:24:18] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:24:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863085835354112,"km_value":123863085835354.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251559210012207104,"description":"Unknown IO ID 45"} 
[2026-08-25 17:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640633856001,"power":11406,"unknown_114":206,"unknown_84":6144,"ignition":3,"odometer":null,"unknown_45":-6251559210012207104}} 
[2026-08-25 17:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":164462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:24:18] local.INFO: GPS data processed {"connection_id":164462,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:24:18] local.INFO: Acknowledgment sent {"connection_id":164462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:24:29] local.INFO: TCP Data received {"connection_id":163097,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:24:29] local.INFO: Processing buffer {"connection_id":163097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:24:29] local.INFO: Packet analysis {"connection_id":163097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:24:29] local.INFO: Extracted packet for processing {"connection_id":163097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:24:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640528128001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787658614000,"timestamp_ms":1787658614000,"timestamp_seconds":1787658614,"priority":1,"record_length":96,"hex_timestamp":"000001a038c1b4f0"} 
[2026-08-25 17:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:24:29] 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-25 17:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:24:29] 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-25 17:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640528128001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640528128001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:24:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640528128001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":163097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:24:29] local.INFO: GPS data processed {"connection_id":163097,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:24:29] local.INFO: Acknowledgment sent {"connection_id":163097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:24:40] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:24:40] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:24:40] local.INFO: IMEI packet received {"connection_id":161847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":161847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:24:40] local.INFO: TCP Data received {"connection_id":164464,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:24:40] local.INFO: Processing buffer {"connection_id":164464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:24:40] local.INFO: IMEI packet received {"connection_id":164464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":164464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:24:42] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:24:42] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:24:42] local.INFO: IMEI packet received {"connection_id":161847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":161847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:24:43] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:24:43] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:24:43] local.INFO: Packet analysis {"connection_id":161847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:24:43] local.INFO: Extracted packet for processing {"connection_id":161847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640587008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787658844000,"timestamp_ms":1787658844000,"timestamp_seconds":1787658844,"priority":1,"record_length":96,"hex_timestamp":"000001a038c53760"} 
[2026-08-25 17:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640587008001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640587008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640587008001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":161847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:24:43] local.INFO: GPS data processed {"connection_id":161847,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:24:43] local.INFO: Acknowledgment sent {"connection_id":161847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:24:44] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:24:44] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:24:44] local.INFO: Packet analysis {"connection_id":161847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:24:44] local.INFO: Extracted packet for processing {"connection_id":161847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640587008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787658844000,"timestamp_ms":1787658844000,"timestamp_seconds":1787658844,"priority":1,"record_length":96,"hex_timestamp":"000001a038c53760"} 
[2026-08-25 17:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:24:44] 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-25 17:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640587008001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640587008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640587008001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":161847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:24:44] local.INFO: GPS data processed {"connection_id":161847,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:24:44] local.INFO: Acknowledgment sent {"connection_id":161847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:24:47] local.INFO: TCP Data received {"connection_id":164464,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:24:47] local.INFO: Processing buffer {"connection_id":164464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:24:47] local.INFO: IMEI packet received {"connection_id":164464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":164464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:24:50] local.INFO: TCP Data received {"connection_id":164464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c3e388012da93dc0054ae458001100d328..."} 
[2026-08-25 17:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c3e388012da93dc0054ae458001100d328..."} 
[2026-08-25 17:24:50] local.INFO: Processing buffer {"connection_id":164464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c3e388012da93dc0054ae458001100d328..."} 
[2026-08-25 17:24:50] local.INFO: Packet analysis {"connection_id":164464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:24:50] local.INFO: Extracted packet for processing {"connection_id":164464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:24:50] local.INFO: GPS Element Parsed {"raw_longitude":766066112,"raw_latitude":88794200,"longitude_deg":76.6066112,"latitude_deg":8.87942,"altitude":17,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2da93dc0","hex_latitude":"054ae458","is_valid_coordinates":true} 
[2026-08-25 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-25 17:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640636672001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863094425288704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756493312,"note":"Value kept but may cause issues"} 
[2026-08-25 17:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787658757000,"timestamp_ms":1787658757000,"timestamp_seconds":1787658757,"priority":1,"record_length":96,"hex_timestamp":"000001a038c3e388"} 
[2026-08-25 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-25 17:24:50] 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-25 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":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-08-25 17:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 17:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640636672001,"66":11624,"114":206,"84":6144,"24":0,"16":123863094425288704,"45":-6251629578756493312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640636672001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:24:50] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:24:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863094425288704,"km_value":123863094425288.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756493312,"description":"Unknown IO ID 45"} 
[2026-08-25 17:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640636672001,"power":11624,"unknown_114":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6251629578756493312}} 
[2026-08-25 17:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":164464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:24:50] local.INFO: GPS data processed {"connection_id":164464,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:24:50] local.INFO: Acknowledgment sent {"connection_id":164464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:24:57] local.INFO: TCP Data received {"connection_id":164465,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:24:57] local.INFO: Processing buffer {"connection_id":164465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:24:57] local.INFO: IMEI packet received {"connection_id":164465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":164465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:25:02] local.INFO: TCP Data received {"connection_id":164465,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:25:02] local.INFO: Processing buffer {"connection_id":164465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:25:02] local.INFO: IMEI packet received {"connection_id":164465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":164465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:25:03] local.INFO: TCP Data received {"connection_id":164465,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:25:03] local.INFO: Processing buffer {"connection_id":164465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:25:03] local.INFO: Packet analysis {"connection_id":164465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:25:03] local.INFO: Extracted packet for processing {"connection_id":164465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:25:03] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640528128001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787658614000,"timestamp_ms":1787658614000,"timestamp_seconds":1787658614,"priority":1,"record_length":96,"hex_timestamp":"000001a038c1b4f0"} 
[2026-08-25 17:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:25:03] 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-25 17:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:25:03] 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-25 17:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640528128001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640528128001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:25:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640528128001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":164465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:25:03] local.INFO: GPS data processed {"connection_id":164465,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:25:03] local.INFO: Acknowledgment sent {"connection_id":164465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:25:07] local.INFO: TCP Data received {"connection_id":164465,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:25:07] local.INFO: Processing buffer {"connection_id":164465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c1b4f0012d1fecc0071d4fc80047009a28..."} 
[2026-08-25 17:25:07] local.INFO: Packet analysis {"connection_id":164465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:25:07] local.INFO: Extracted packet for processing {"connection_id":164465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c1"} 
[2026-08-25 17:25:07] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":40,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640528128001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787658614000,"timestamp_ms":1787658614000,"timestamp_seconds":1787658614,"priority":1,"record_length":96,"hex_timestamp":"000001a038c1b4f0"} 
[2026-08-25 17: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-25 17:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:25:07] 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-25 17:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640528128001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640528128001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:25:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640528128001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":164465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:25:07] local.INFO: GPS data processed {"connection_id":164465,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:25:07] local.INFO: Acknowledgment sent {"connection_id":164465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:25:16] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:25:16] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:25:16] local.INFO: Packet analysis {"connection_id":161847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:25:16] local.INFO: Extracted packet for processing {"connection_id":161847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640587008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787658844000,"timestamp_ms":1787658844000,"timestamp_seconds":1787658844,"priority":1,"record_length":96,"hex_timestamp":"000001a038c53760"} 
[2026-08-25 17:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640587008001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640587008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640587008001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":161847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:25:16] local.INFO: GPS data processed {"connection_id":161847,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:25:16] local.INFO: Acknowledgment sent {"connection_id":161847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:25:21] local.INFO: TCP Data received {"connection_id":164464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c3f328012da93d80054ae348001400e32a..."} 
[2026-08-25 17:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c3f328012da93d80054ae348001400e32a..."} 
[2026-08-25 17:25:21] local.INFO: Processing buffer {"connection_id":164464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c3f328012da93d80054ae348001400e32a..."} 
[2026-08-25 17:25:21] local.INFO: Packet analysis {"connection_id":164464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:25:21] local.INFO: Extracted packet for processing {"connection_id":164464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:25:21] local.INFO: GPS Element Parsed {"raw_longitude":766066048,"raw_latitude":88793928,"longitude_deg":76.6066048,"latitude_deg":8.8793928,"altitude":20,"angle":227,"satellites":42,"speed":3,"hex_longitude":"2da93d80","hex_latitude":"054ae348","is_valid_coordinates":true} 
[2026-08-25 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-25 17:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640641792001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863107310190592,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251629578756532224,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787658761000,"timestamp_ms":1787658761000,"timestamp_seconds":1787658761,"priority":1,"record_length":96,"hex_timestamp":"000001a038c3f328"} 
[2026-08-25 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-25 17:25: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-25 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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-25 17:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 17:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640641792001,"66":11471,"115":206,"84":6144,"24":3,"16":123863107310190592,"45":-6251629578756532224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640641792001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:25:21] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:25:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863107310190592,"km_value":123863107310190.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251629578756532224,"description":"Unknown IO ID 45"} 
[2026-08-25 17:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640641792001,"power":11471,"unknown_115":206,"unknown_84":6144,"ignition":3,"odometer":null,"unknown_45":-6251629578756532224}} 
[2026-08-25 17:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":164464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:25:21] local.INFO: GPS data processed {"connection_id":164464,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:25:21] local.INFO: Acknowledgment sent {"connection_id":164464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:25:39] local.INFO: TCP Data received {"connection_id":164466,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:25:39] local.INFO: Processing buffer {"connection_id":164466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:25:39] local.INFO: IMEI packet received {"connection_id":164466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":164466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:25:44] local.INFO: TCP Data received {"connection_id":164466,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:25:44] local.INFO: Processing buffer {"connection_id":164466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:25:44] local.INFO: IMEI packet received {"connection_id":164466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":164466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:25:46] local.INFO: TCP Data received {"connection_id":164466,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:25:46] local.INFO: Processing buffer {"connection_id":164466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:25:46] local.INFO: Packet analysis {"connection_id":164466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:25:46] local.INFO: Extracted packet for processing {"connection_id":164466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640587008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787658844000,"timestamp_ms":1787658844000,"timestamp_seconds":1787658844,"priority":1,"record_length":96,"hex_timestamp":"000001a038c53760"} 
[2026-08-25 17:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640587008001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640587008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640587008001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":164466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:25:46] local.INFO: GPS data processed {"connection_id":164466,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:25:46] local.INFO: Acknowledgment sent {"connection_id":164466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:25:46] local.INFO: TCP Data received {"connection_id":163098,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:25:46] local.INFO: Processing buffer {"connection_id":163098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:25:46] local.INFO: IMEI packet received {"connection_id":163098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":163098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:25:51] local.INFO: TCP Data received {"connection_id":163098,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:25:51] local.INFO: Processing buffer {"connection_id":163098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:25:51] local.INFO: IMEI packet received {"connection_id":163098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":163098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:25:52] local.INFO: TCP Data received {"connection_id":163098,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c3faf8012da93d00054ae2e8001400f329..."} 
[2026-08-25 17:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c3faf8012da93d00054ae2e8001400f329..."} 
[2026-08-25 17:25:52] local.INFO: Processing buffer {"connection_id":163098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c3faf8012da93d00054ae2e8001400f329..."} 
[2026-08-25 17:25:52] local.INFO: Packet analysis {"connection_id":163098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:25:52] local.INFO: Extracted packet for processing {"connection_id":163098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c3"} 
[2026-08-25 17:25:52] local.INFO: GPS Element Parsed {"raw_longitude":766065920,"raw_latitude":88793832,"longitude_deg":76.606592,"latitude_deg":8.8793832,"altitude":20,"angle":243,"satellites":41,"speed":1,"hex_longitude":"2da93d00","hex_latitude":"054ae2e8","is_valid_coordinates":true} 
[2026-08-25 17:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640642816001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863115900125184,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6251699947500779520,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787658763000,"timestamp_ms":1787658763000,"timestamp_seconds":1787658763,"priority":1,"record_length":96,"hex_timestamp":"000001a038c3faf8"} 
[2026-08-25 17:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-25 17:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640642816001,"66":11547,"115":206,"84":6144,"24":1,"16":123863115900125184,"45":-6251699947500779520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640642816001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:25:52] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:25:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863115900125184,"km_value":123863115900125.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6251699947500779520,"description":"Unknown IO ID 45"} 
[2026-08-25 17:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640642816001,"power":11547,"unknown_115":206,"unknown_84":6144,"ignition":1,"odometer":null,"unknown_45":-6251699947500779520}} 
[2026-08-25 17:25:52] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:25:52] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:25:52] local.INFO: IMEI packet received {"connection_id":162102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":162102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":163098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:25:52] local.INFO: GPS data processed {"connection_id":163098,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:25:52] local.INFO: Acknowledgment sent {"connection_id":163098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:25:53] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:25:53] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:25:53] local.INFO: IMEI packet received {"connection_id":162102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":162102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:25:57] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:25:57] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:25:57] local.INFO: IMEI packet received {"connection_id":162102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":162102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:25:58] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c64cb8012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c64cb8012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:25:58] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c64cb8012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:25:58] local.INFO: Packet analysis {"connection_id":162102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c6"} 
[2026-08-25 17:25:58] local.INFO: Extracted packet for processing {"connection_id":162102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c6"} 
[2026-08-25 17:25:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640605184001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787658915000,"timestamp_ms":1787658915000,"timestamp_seconds":1787658915,"priority":1,"record_length":96,"hex_timestamp":"000001a038c64cb8"} 
[2026-08-25 17:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:25:58] 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-25 17:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:25:58] 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-25 17:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640605184001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640605184001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:25:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640605184001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":162102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:25:58] local.INFO: GPS data processed {"connection_id":162102,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:25:58] local.INFO: Acknowledgment sent {"connection_id":162102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:26:02] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c64cb8012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c64cb8012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:26:02] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c64cb8012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:26:02] local.INFO: Packet analysis {"connection_id":162102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c6"} 
[2026-08-25 17:26:02] local.INFO: Extracted packet for processing {"connection_id":162102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c6"} 
[2026-08-25 17:26:02] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640605184001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787658915000,"timestamp_ms":1787658915000,"timestamp_seconds":1787658915,"priority":1,"record_length":96,"hex_timestamp":"000001a038c64cb8"} 
[2026-08-25 17: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-25 17:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640605184001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640605184001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:26:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640605184001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":162102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:26:02] local.INFO: GPS data processed {"connection_id":162102,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:26:02] local.INFO: Acknowledgment sent {"connection_id":162102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:26:17] local.INFO: TCP Data received {"connection_id":164466,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:26:17] local.INFO: Processing buffer {"connection_id":164466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:26:17] local.INFO: Packet analysis {"connection_id":164466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:26:17] local.INFO: Extracted packet for processing {"connection_id":164466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640587008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787658844000,"timestamp_ms":1787658844000,"timestamp_seconds":1787658844,"priority":1,"record_length":96,"hex_timestamp":"000001a038c53760"} 
[2026-08-25 17:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:26:17] 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-25 17:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640587008001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640587008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640587008001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":164466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:26:17] local.INFO: GPS data processed {"connection_id":164466,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:26:17] local.INFO: Acknowledgment sent {"connection_id":164466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:26:23] local.INFO: TCP Data received {"connection_id":163098,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c6a690012da921c0054ae9580012012028..."} 
[2026-08-25 17:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c6a690012da921c0054ae9580012012028..."} 
[2026-08-25 17:26:23] local.INFO: Processing buffer {"connection_id":163098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c6a690012da921c0054ae9580012012028..."} 
[2026-08-25 17:26:23] local.INFO: Packet analysis {"connection_id":163098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c6"} 
[2026-08-25 17:26:23] local.INFO: Extracted packet for processing {"connection_id":163098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c6"} 
[2026-08-25 17:26:23] local.INFO: GPS Element Parsed {"raw_longitude":766058944,"raw_latitude":88795480,"longitude_deg":76.6058944,"latitude_deg":8.879548,"altitude":18,"angle":288,"satellites":40,"speed":0,"hex_longitude":"2da921c0","hex_latitude":"054ae958","is_valid_coordinates":true} 
[2026-08-25 17:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640682752001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863463792476160,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259510878104102912,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787658938000,"timestamp_ms":1787658938000,"timestamp_seconds":1787658938,"priority":1,"record_length":96,"hex_timestamp":"000001a038c6a690"} 
[2026-08-25 17:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 17:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640682752001,"66":13472,"115":206,"84":6144,"24":0,"16":123863463792476160,"45":-6259510878104102912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640682752001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:26:23] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:26:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863463792476160,"km_value":123863463792476.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259510878104102912,"description":"Unknown IO ID 45"} 
[2026-08-25 17:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640682752001,"power":13472,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6259510878104102912}} 
[2026-08-25 17:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":163098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:26:23] local.INFO: GPS data processed {"connection_id":163098,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:26:23] local.INFO: Acknowledgment sent {"connection_id":163098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:26:33] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c64cb8012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c64cb8012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:26:33] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c64cb8012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:26:33] local.INFO: Packet analysis {"connection_id":162102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c6"} 
[2026-08-25 17:26:33] local.INFO: Extracted packet for processing {"connection_id":162102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c6"} 
[2026-08-25 17:26:33] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640605184001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787658915000,"timestamp_ms":1787658915000,"timestamp_seconds":1787658915,"priority":1,"record_length":96,"hex_timestamp":"000001a038c64cb8"} 
[2026-08-25 17:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640605184001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640605184001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:26:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640605184001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":162102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:26:33] local.INFO: GPS data processed {"connection_id":162102,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:26:33] local.INFO: Acknowledgment sent {"connection_id":162102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:26:39] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:26:39] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:26:39] local.INFO: IMEI packet received {"connection_id":161848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":161848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:26:40] local.INFO: TCP Data received {"connection_id":163099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:26:40] local.INFO: Processing buffer {"connection_id":163099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:26:40] local.INFO: IMEI packet received {"connection_id":163099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":163099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:26:42] local.INFO: TCP Data received {"connection_id":163099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:26:42] local.INFO: Processing buffer {"connection_id":163099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:26:42] local.INFO: IMEI packet received {"connection_id":163099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":163099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:26:44] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:26:44] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:26:44] local.INFO: IMEI packet received {"connection_id":161848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":161848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:26:45] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:26:45] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:26:45] local.INFO: Packet analysis {"connection_id":161848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:26:45] local.INFO: Extracted packet for processing {"connection_id":161848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640587008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787658844000,"timestamp_ms":1787658844000,"timestamp_seconds":1787658844,"priority":1,"record_length":96,"hex_timestamp":"000001a038c53760"} 
[2026-08-25 17:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:26: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-25 17:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640587008001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640587008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640587008001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":161848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:26:45] local.INFO: GPS data processed {"connection_id":161848,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:26:45] local.INFO: Acknowledgment sent {"connection_id":161848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:26:49] local.INFO: TCP Data received {"connection_id":163099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:26:49] local.INFO: Processing buffer {"connection_id":163099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:26:49] local.INFO: IMEI packet received {"connection_id":163099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":163099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:26:50] local.INFO: TCP Data received {"connection_id":163099,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c6f898012da921c0054ae9580012012028..."} 
[2026-08-25 17:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c6f898012da921c0054ae9580012012028..."} 
[2026-08-25 17:26:50] local.INFO: Processing buffer {"connection_id":163099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c6f898012da921c0054ae9580012012028..."} 
[2026-08-25 17:26:50] local.INFO: Packet analysis {"connection_id":163099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c6"} 
[2026-08-25 17:26:50] local.INFO: Extracted packet for processing {"connection_id":163099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c6"} 
[2026-08-25 17:26:50] local.INFO: GPS Element Parsed {"raw_longitude":766058944,"raw_latitude":88795480,"longitude_deg":76.6058944,"latitude_deg":8.879548,"altitude":18,"angle":288,"satellites":40,"speed":0,"hex_longitude":"2da921c0","hex_latitude":"054ae958","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640688128001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863463792476160,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259510878104102912,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787658959000,"timestamp_ms":1787658959000,"timestamp_seconds":1787658959,"priority":1,"record_length":96,"hex_timestamp":"000001a038c6f898"} 
[2026-08-25 17: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-25 17:26:50] 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-25 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 17:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640688128001,"66":12917,"115":206,"84":6144,"24":0,"16":123863463792476160,"45":-6259510878104102912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640688128001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:26:50] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:26:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863463792476160,"km_value":123863463792476.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259510878104102912,"description":"Unknown IO ID 45"} 
[2026-08-25 17:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640688128001,"power":12917,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6259510878104102912}} 
[2026-08-25 17:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":163099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:26:50] local.INFO: GPS data processed {"connection_id":163099,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:26:50] local.INFO: Acknowledgment sent {"connection_id":163099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:26:52] local.INFO: TCP Data received {"connection_id":162103,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:26:52] local.INFO: Processing buffer {"connection_id":162103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:26:52] local.INFO: IMEI packet received {"connection_id":162103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":162103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:26:57] local.INFO: TCP Data received {"connection_id":162103,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:26:57] local.INFO: Processing buffer {"connection_id":162103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:26:57] local.INFO: IMEI packet received {"connection_id":162103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":162103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:26:58] local.INFO: TCP Data received {"connection_id":162103,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c64cb8012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c64cb8012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:26:58] local.INFO: Processing buffer {"connection_id":162103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c64cb8012d1fecc0071d4fc80047009a27..."} 
[2026-08-25 17:26:58] local.INFO: Packet analysis {"connection_id":162103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c6"} 
[2026-08-25 17:26:58] local.INFO: Extracted packet for processing {"connection_id":162103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c6"} 
[2026-08-25 17:26:58] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":39,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640605184001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787658915000,"timestamp_ms":1787658915000,"timestamp_seconds":1787658915,"priority":1,"record_length":96,"hex_timestamp":"000001a038c64cb8"} 
[2026-08-25 17: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-25 17:26:58] 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-25 17: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17: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-25 17: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-25 17:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:26:58] 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-25 17:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640605184001,"66":2166,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640605184001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:26:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640605184001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":162103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:26:58] local.INFO: GPS data processed {"connection_id":162103,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:26:58] local.INFO: Acknowledgment sent {"connection_id":162103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:27:16] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:27:16] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:27:16] local.INFO: Packet analysis {"connection_id":161848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:27:16] local.INFO: Extracted packet for processing {"connection_id":161848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640587008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787658844000,"timestamp_ms":1787658844000,"timestamp_seconds":1787658844,"priority":1,"record_length":96,"hex_timestamp":"000001a038c53760"} 
[2026-08-25 17:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640587008001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640587008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640587008001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":161848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:27:16] local.INFO: GPS data processed {"connection_id":161848,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:27:16] local.INFO: Acknowledgment sent {"connection_id":161848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:27:22] local.INFO: TCP Data received {"connection_id":163099,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c74aa0012da921c0054ae9580012012028..."} 
[2026-08-25 17:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c74aa0012da921c0054ae9580012012028..."} 
[2026-08-25 17:27:22] local.INFO: Processing buffer {"connection_id":163099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c74aa0012da921c0054ae9580012012028..."} 
[2026-08-25 17:27:22] local.INFO: Packet analysis {"connection_id":163099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:27:22] local.INFO: Extracted packet for processing {"connection_id":163099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:27:22] local.INFO: GPS Element Parsed {"raw_longitude":766058944,"raw_latitude":88795480,"longitude_deg":76.6058944,"latitude_deg":8.879548,"altitude":18,"angle":288,"satellites":40,"speed":0,"hex_longitude":"2da921c0","hex_latitude":"054ae958","is_valid_coordinates":true} 
[2026-08-25 17:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640693504001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863463792476160,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259510878104102912,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787658980000,"timestamp_ms":1787658980000,"timestamp_seconds":1787658980,"priority":1,"record_length":96,"hex_timestamp":"000001a038c74aa0"} 
[2026-08-25 17:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 17:27:22] 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-25 17:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640693504001,"66":13450,"115":206,"84":6144,"24":0,"16":123863463792476160,"45":-6259510878104102912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640693504001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:27:22] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:27:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863463792476160,"km_value":123863463792476.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259510878104102912,"description":"Unknown IO ID 45"} 
[2026-08-25 17:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640693504001,"power":13450,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6259510878104102912}} 
[2026-08-25 17:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":163099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:27:22] local.INFO: GPS data processed {"connection_id":163099,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:27:22] local.INFO: Acknowledgment sent {"connection_id":163099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:27:29] local.INFO: TCP Data received {"connection_id":162103,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c78150012d1fecc0071d4fc80047009a26..."} 
[2026-08-25 17:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c78150012d1fecc0071d4fc80047009a26..."} 
[2026-08-25 17:27:29] local.INFO: Processing buffer {"connection_id":162103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c78150012d1fecc0071d4fc80047009a26..."} 
[2026-08-25 17:27:29] local.INFO: Packet analysis {"connection_id":162103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:27:29] local.INFO: Extracted packet for processing {"connection_id":162103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:27:29] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":38,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640682240001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787658994000,"timestamp_ms":1787658994000,"timestamp_seconds":1787658994,"priority":1,"record_length":96,"hex_timestamp":"000001a038c78150"} 
[2026-08-25 17:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:27:29] 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-25 17:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640682240001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640682240001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:27:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640682240001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":162103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:27:29] local.INFO: GPS data processed {"connection_id":162103,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:27:29] local.INFO: Acknowledgment sent {"connection_id":162103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:27:39] local.INFO: TCP Data received {"connection_id":164468,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:27:39] local.INFO: Processing buffer {"connection_id":164468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:27:39] local.INFO: IMEI packet received {"connection_id":164468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":164468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:27:44] local.INFO: TCP Data received {"connection_id":164468,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:27:44] local.INFO: Processing buffer {"connection_id":164468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:27:44] local.INFO: IMEI packet received {"connection_id":164468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":164468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:27:46] local.INFO: TCP Data received {"connection_id":163100,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:27:46] local.INFO: Processing buffer {"connection_id":163100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:27:46] local.INFO: IMEI packet received {"connection_id":163100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":163100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:27:46] local.INFO: TCP Data received {"connection_id":164468,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:27:46] local.INFO: Processing buffer {"connection_id":164468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:27:46] local.INFO: Packet analysis {"connection_id":164468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:27:46] local.INFO: Extracted packet for processing {"connection_id":164468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640587008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787658844000,"timestamp_ms":1787658844000,"timestamp_seconds":1787658844,"priority":1,"record_length":96,"hex_timestamp":"000001a038c53760"} 
[2026-08-25 17:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:27: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-25 17:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640587008001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640587008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640587008001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":164468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:27:46] local.INFO: GPS data processed {"connection_id":164468,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:27:46] local.INFO: Acknowledgment sent {"connection_id":164468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:27:46] local.INFO: TCP Data received {"connection_id":163100,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:27:46] local.INFO: Processing buffer {"connection_id":163100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:27:46] local.INFO: IMEI packet received {"connection_id":163100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":163100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:27:50] local.INFO: TCP Data received {"connection_id":163100,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:27:50] local.INFO: Processing buffer {"connection_id":163100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:27:50] local.INFO: IMEI packet received {"connection_id":163100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":163100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:27:52] local.INFO: TCP Data received {"connection_id":163100,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c79ca8012da921c0054ae9580012012028..."} 
[2026-08-25 17:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c79ca8012da921c0054ae9580012012028..."} 
[2026-08-25 17:27:52] local.INFO: Processing buffer {"connection_id":163100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c79ca8012da921c0054ae9580012012028..."} 
[2026-08-25 17:27:52] local.INFO: Packet analysis {"connection_id":163100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:27:52] local.INFO: Extracted packet for processing {"connection_id":163100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:27:52] local.INFO: GPS Element Parsed {"raw_longitude":766058944,"raw_latitude":88795480,"longitude_deg":76.6058944,"latitude_deg":8.879548,"altitude":18,"angle":288,"satellites":40,"speed":0,"hex_longitude":"2da921c0","hex_latitude":"054ae958","is_valid_coordinates":true} 
[2026-08-25 17:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640698880001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863463792476160,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259510878104102912,"note":"Value kept but may cause issues"} 
[2026-08-25 17:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787659001000,"timestamp_ms":1787659001000,"timestamp_seconds":1787659001,"priority":1,"record_length":96,"hex_timestamp":"000001a038c79ca8"} 
[2026-08-25 17:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 17:27:52] 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-25 17:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640698880001,"66":12917,"115":206,"84":6144,"24":0,"16":123863463792476160,"45":-6259510878104102912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640698880001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:27:52] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:27:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863463792476160,"km_value":123863463792476.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259510878104102912,"description":"Unknown IO ID 45"} 
[2026-08-25 17:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640698880001,"power":12917,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6259510878104102912}} 
[2026-08-25 17:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":163100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:27:52] local.INFO: GPS data processed {"connection_id":163100,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:27:52] local.INFO: Acknowledgment sent {"connection_id":163100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:27:57] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:27:57] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:27:57] local.INFO: IMEI packet received {"connection_id":161850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":161850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:27:57] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:27:57] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:27:57] local.INFO: IMEI packet received {"connection_id":161850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":161850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:27:59] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:27:59] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:27:59] local.INFO: IMEI packet received {"connection_id":161850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":161850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:28:00] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c78150012d1fecc0071d4fc80047009a26..."} 
[2026-08-25 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c78150012d1fecc0071d4fc80047009a26..."} 
[2026-08-25 17:28:00] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c78150012d1fecc0071d4fc80047009a26..."} 
[2026-08-25 17:28:00] local.INFO: Packet analysis {"connection_id":161850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:28:00] local.INFO: Extracted packet for processing {"connection_id":161850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:28:00] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":38,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640702464001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787658994000,"timestamp_ms":1787658994000,"timestamp_seconds":1787658994,"priority":1,"record_length":96,"hex_timestamp":"000001a038c78150"} 
[2026-08-25 17:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:28:00] 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-25 17:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:28:00] 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-25 17:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640702464001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640702464001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:28:00] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:28:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640702464001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":161850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:28:00] local.INFO: GPS data processed {"connection_id":161850,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:28:00] local.INFO: Acknowledgment sent {"connection_id":161850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:28:00] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c78150012d1fecc0071d4fc80047009a26..."} 
[2026-08-25 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c78150012d1fecc0071d4fc80047009a26..."} 
[2026-08-25 17:28:00] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c78150012d1fecc0071d4fc80047009a26..."} 
[2026-08-25 17:28:00] local.INFO: Packet analysis {"connection_id":161850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:28:00] local.INFO: Extracted packet for processing {"connection_id":161850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:28:00] local.INFO: GPS Element Parsed {"raw_longitude":757066944,"raw_latitude":119361480,"longitude_deg":75.7066944,"latitude_deg":11.936148,"altitude":71,"angle":154,"satellites":38,"speed":0,"hex_longitude":"2d1fecc0","hex_latitude":"071d4fc8","is_valid_coordinates":true} 
[2026-08-25 17:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640702464001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787658994000,"timestamp_ms":1787658994000,"timestamp_seconds":1787658994,"priority":1,"record_length":96,"hex_timestamp":"000001a038c78150"} 
[2026-08-25 17:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:28:00] 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-25 17:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:28:00] 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-25 17:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640702464001,"66":2155,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640702464001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:28:00] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:28:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640702464001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":161850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:28:00] local.INFO: GPS data processed {"connection_id":161850,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:28:00] local.INFO: Acknowledgment sent {"connection_id":161850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:28:01] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c798c0012d1fee00071d4d200047008d27..."} 
[2026-08-25 17:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c798c0012d1fee00071d4d200047008d27..."} 
[2026-08-25 17:28:01] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c798c0012d1fee00071d4d200047008d27..."} 
[2026-08-25 17:28:01] local.INFO: Packet analysis {"connection_id":161850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:28:01] local.INFO: Extracted packet for processing {"connection_id":161850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:28:01] local.INFO: GPS Element Parsed {"raw_longitude":757067264,"raw_latitude":119360800,"longitude_deg":75.7067264,"latitude_deg":11.93608,"altitude":71,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d1fee00","hex_latitude":"071d4d20","is_valid_coordinates":true} 
[2026-08-25 17:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640702464001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300424646468552704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787659000000,"timestamp_ms":1787659000000,"timestamp_seconds":1787659000,"priority":1,"record_length":96,"hex_timestamp":"000001a038c798c0"} 
[2026-08-25 17:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 17:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640702464001,"66":13330,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300424646468552704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640702464001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:28:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:28:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300424646468552704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640702464001,"power":13330,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300424646468552704}} 
[2026-08-25 17:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":161850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:28:01] local.INFO: GPS data processed {"connection_id":161850,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:28:01] local.INFO: Acknowledgment sent {"connection_id":161850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:28:18] local.INFO: TCP Data received {"connection_id":164468,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:28:18] local.INFO: Processing buffer {"connection_id":164468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:28:18] local.INFO: Packet analysis {"connection_id":164468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:28:18] local.INFO: Extracted packet for processing {"connection_id":164468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:28:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640587008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787658844000,"timestamp_ms":1787658844000,"timestamp_seconds":1787658844,"priority":1,"record_length":96,"hex_timestamp":"000001a038c53760"} 
[2026-08-25 17:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:28:18] 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-25 17:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640587008001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640587008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:28:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640587008001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":164468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:28:18] local.INFO: GPS data processed {"connection_id":164468,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:28:18] local.INFO: Acknowledgment sent {"connection_id":164468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:28:24] local.INFO: TCP Data received {"connection_id":163100,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c7eeb0012da921c0054ae9580012012026..."} 
[2026-08-25 17:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c7eeb0012da921c0054ae9580012012026..."} 
[2026-08-25 17:28:24] local.INFO: Processing buffer {"connection_id":163100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c7eeb0012da921c0054ae9580012012026..."} 
[2026-08-25 17:28:24] local.INFO: Packet analysis {"connection_id":163100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:28:24] local.INFO: Extracted packet for processing {"connection_id":163100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:28:24] local.INFO: GPS Element Parsed {"raw_longitude":766058944,"raw_latitude":88795480,"longitude_deg":76.6058944,"latitude_deg":8.879548,"altitude":18,"angle":288,"satellites":38,"speed":0,"hex_longitude":"2da921c0","hex_latitude":"054ae958","is_valid_coordinates":true} 
[2026-08-25 17:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640704256001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863463792476160,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259510878104102912,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787659022000,"timestamp_ms":1787659022000,"timestamp_seconds":1787659022,"priority":1,"record_length":96,"hex_timestamp":"000001a038c7eeb0"} 
[2026-08-25 17:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 17:28:24] 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-25 17:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640704256001,"66":13450,"115":206,"84":6144,"24":0,"16":123863463792476160,"45":-6259510878104102912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640704256001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:28:24] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:28:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863463792476160,"km_value":123863463792476.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259510878104102912,"description":"Unknown IO ID 45"} 
[2026-08-25 17:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640704256001,"power":13450,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6259510878104102912}} 
[2026-08-25 17:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":163100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:28:24] local.INFO: GPS data processed {"connection_id":163100,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:28:24] local.INFO: Acknowledgment sent {"connection_id":163100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:28:32] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c7eac8012d1fee00071d4d200047008d27..."} 
[2026-08-25 17:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c7eac8012d1fee00071d4d200047008d27..."} 
[2026-08-25 17:28:32] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c7eac8012d1fee00071d4d200047008d27..."} 
[2026-08-25 17:28:32] local.INFO: Packet analysis {"connection_id":161850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:28:32] local.INFO: Extracted packet for processing {"connection_id":161850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c7"} 
[2026-08-25 17:28:32] local.INFO: GPS Element Parsed {"raw_longitude":757067264,"raw_latitude":119360800,"longitude_deg":75.7067264,"latitude_deg":11.93608,"altitude":71,"angle":141,"satellites":39,"speed":0,"hex_longitude":"2d1fee00","hex_latitude":"071d4d20","is_valid_coordinates":true} 
[2026-08-25 17:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640704000001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982157423968256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300776490189266944,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787659021000,"timestamp_ms":1787659021000,"timestamp_seconds":1787659021,"priority":1,"record_length":96,"hex_timestamp":"000001a038c7eac8"} 
[2026-08-25 17:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:28:32] 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-25 17:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435545201,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":129,"raw_value":57820060933051300,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3251577765482024904,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":107,"raw_value":720802799008356352,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3350200320,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":29,"raw_value":5748845229291218688,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1795817678,"corrected_to":0} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4026608927,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3221691727,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4653210,"corrected_to":0} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":184,"raw_value":-8836061175580147705,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.WARNING: Large IO value detected {"io_id":46,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:32] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,10,83,24,241,157,16,199,160,129,45,192,79,71,38,66,1,240,107,227,56,29,4,113,205,180,236,200,40,239,8,2,7,184,46],"length":626,"final_offset":756,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1795817678,"validated":0},{"io_id":200,"original":4653210,"validated":0}]} 
[2026-08-25 17:28:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116244375336124416,"timestamp_seconds":5116244375336124.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:28:32] 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-25 17:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640704000001,"66":14004,"10":206,"83":41984,"24":0,"16":15982157423968256,"45":2300776490189266944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640704000001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:28:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:28:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982157423968256,"km_value":15982157423968.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300776490189266944,"description":"Unknown IO ID 45"} 
[2026-08-25 17:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640704000001,"power":14004,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2300776490189266944}} 
[2026-08-25 17:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":161850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:28:32] local.INFO: GPS data processed {"connection_id":161850,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:28:32] local.INFO: Acknowledgment sent {"connection_id":161850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:28:35] local.INFO: TCP Data received {"connection_id":162104,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:28:35] local.INFO: Processing buffer {"connection_id":162104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:28:35] local.INFO: IMEI packet received {"connection_id":162104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":162104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:28:41] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:28:41] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:28:41] local.INFO: IMEI packet received {"connection_id":161851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":161851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:28:44] local.INFO: TCP Data received {"connection_id":164469,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:28:44] local.INFO: Processing buffer {"connection_id":164469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:28:44] local.INFO: IMEI packet received {"connection_id":164469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":164469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:28:46] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:28:46] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:28:46] local.INFO: IMEI packet received {"connection_id":161851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":161851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:28:47] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c840b8012da921c0054ae9580012012026..."} 
[2026-08-25 17:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c840b8012da921c0054ae9580012012026..."} 
[2026-08-25 17:28:47] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c840b8012da921c0054ae9580012012026..."} 
[2026-08-25 17:28:47] local.INFO: Packet analysis {"connection_id":161851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c8"} 
[2026-08-25 17:28:47] local.INFO: Extracted packet for processing {"connection_id":161851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c8"} 
[2026-08-25 17:28:47] local.INFO: GPS Element Parsed {"raw_longitude":766058944,"raw_latitude":88795480,"longitude_deg":76.6058944,"latitude_deg":8.879548,"altitude":18,"angle":288,"satellites":38,"speed":0,"hex_longitude":"2da921c0","hex_latitude":"054ae958","is_valid_coordinates":true} 
[2026-08-25 17:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640709632001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863463792476160,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259510878104102912,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787659043000,"timestamp_ms":1787659043000,"timestamp_seconds":1787659043,"priority":1,"record_length":96,"hex_timestamp":"000001a038c840b8"} 
[2026-08-25 17:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 17:28:47] 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-25 17:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640709632001,"66":13015,"115":206,"84":6144,"24":0,"16":123863463792476160,"45":-6259510878104102912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640709632001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:28:47] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:28:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863463792476160,"km_value":123863463792476.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259510878104102912,"description":"Unknown IO ID 45"} 
[2026-08-25 17:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640709632001,"power":13015,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6259510878104102912}} 
[2026-08-25 17:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":161851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:28:47] local.INFO: GPS data processed {"connection_id":161851,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:28:47] local.INFO: Acknowledgment sent {"connection_id":161851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:28:49] local.INFO: TCP Data received {"connection_id":164469,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:28:49] local.INFO: Processing buffer {"connection_id":164469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:28:49] local.INFO: IMEI packet received {"connection_id":164469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":164469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:28:50] local.INFO: TCP Data received {"connection_id":164469,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:28:50] local.INFO: Processing buffer {"connection_id":164469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:28:50] local.INFO: Packet analysis {"connection_id":164469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:28:50] local.INFO: Extracted packet for processing {"connection_id":164469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:28:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640587008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787658844000,"timestamp_ms":1787658844000,"timestamp_seconds":1787658844,"priority":1,"record_length":96,"hex_timestamp":"000001a038c53760"} 
[2026-08-25 17:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640587008001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640587008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:28:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640587008001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":164469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:28:50] local.INFO: GPS data processed {"connection_id":164469,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:28:50] local.INFO: Acknowledgment sent {"connection_id":164469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:28:51] local.INFO: TCP Data received {"connection_id":164470,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:28:51] local.INFO: Processing buffer {"connection_id":164470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:28:51] local.INFO: IMEI packet received {"connection_id":164470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":164470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:28:55] local.INFO: TCP Data received {"connection_id":164469,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:28:55] local.INFO: Processing buffer {"connection_id":164469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c53760012d34c14006aa4818000600e62b..."} 
[2026-08-25 17:28:55] local.INFO: Packet analysis {"connection_id":164469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:28:55] local.INFO: Extracted packet for processing {"connection_id":164469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c5"} 
[2026-08-25 17:28:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640587008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787658844000,"timestamp_ms":1787658844000,"timestamp_seconds":1787658844,"priority":1,"record_length":96,"hex_timestamp":"000001a038c53760"} 
[2026-08-25 17:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 17:28:55] 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-25 17:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640587008001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640587008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:28:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640587008001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":164469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:28:55] local.INFO: GPS data processed {"connection_id":164469,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:28:55] local.INFO: Acknowledgment sent {"connection_id":164469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:28:57] local.INFO: TCP Data received {"connection_id":164470,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:28:57] local.INFO: Processing buffer {"connection_id":164470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:28:57] local.INFO: IMEI packet received {"connection_id":164470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":164470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:28:58] local.INFO: TCP Data received {"connection_id":164470,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c83118012d1fee40071d4c98004700c022..."} 
[2026-08-25 17:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c83118012d1fee40071d4c98004700c022..."} 
[2026-08-25 17:28:58] local.INFO: Processing buffer {"connection_id":164470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c83118012d1fee40071d4c98004700c022..."} 
[2026-08-25 17:28:58] local.INFO: Packet analysis {"connection_id":164470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c8"} 
[2026-08-25 17:28:58] local.INFO: Extracted packet for processing {"connection_id":164470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c8"} 
[2026-08-25 17:28:58] local.INFO: GPS Element Parsed {"raw_longitude":757067328,"raw_latitude":119360664,"longitude_deg":75.7067328,"latitude_deg":11.9360664,"altitude":71,"angle":192,"satellites":34,"speed":2,"hex_longitude":"2d1fee40","hex_latitude":"071d4c98","is_valid_coordinates":true} 
[2026-08-25 17:28: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-25 17:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640709376001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15982161718935552,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300776490189266944,"note":"Value kept but may cause issues"} 
[2026-08-25 17:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787659039000,"timestamp_ms":1787659039000,"timestamp_seconds":1787659039,"priority":1,"record_length":96,"hex_timestamp":"000001a038c83118"} 
[2026-08-25 17:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:28:58] 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-25 17:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-25 17:28:58] 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-25 17:28: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-25 17:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:28:58] 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-25 17:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640709376001,"66":14265,"10":206,"83":41984,"24":2,"16":15982161718935552,"45":2300776490189266944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640709376001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:28:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15982161718935552,"km_value":15982161718935.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2300776490189266944,"description":"Unknown IO ID 45"} 
[2026-08-25 17:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640709376001,"power":14265,"unknown_10":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":2300776490189266944}} 
[2026-08-25 17:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":164470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:28:58] local.INFO: GPS data processed {"connection_id":164470,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:28:58] local.INFO: Acknowledgment sent {"connection_id":164470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:29:10] local.INFO: TCP Data received {"connection_id":163101,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:29:10] local.INFO: Processing buffer {"connection_id":163101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:29:10] local.INFO: IMEI packet received {"connection_id":163101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":163101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:29:20] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c892c0012da921c0054ae9580012012026..."} 
[2026-08-25 17:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c892c0012da921c0054ae9580012012026..."} 
[2026-08-25 17:29:20] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c892c0012da921c0054ae9580012012026..."} 
[2026-08-25 17:29:20] local.INFO: Packet analysis {"connection_id":161851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c8"} 
[2026-08-25 17:29:20] local.INFO: Extracted packet for processing {"connection_id":161851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c8"} 
[2026-08-25 17:29:20] local.INFO: GPS Element Parsed {"raw_longitude":766058944,"raw_latitude":88795480,"longitude_deg":76.6058944,"latitude_deg":8.879548,"altitude":18,"angle":288,"satellites":38,"speed":0,"hex_longitude":"2da921c0","hex_latitude":"054ae958","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640715008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863463792476160,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259510878104102912,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787659064000,"timestamp_ms":1787659064000,"timestamp_seconds":1787659064,"priority":1,"record_length":96,"hex_timestamp":"000001a038c892c0"} 
[2026-08-25 17: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-25 17:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-25 17:29:20] 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-25 17: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-25 17: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-25 17:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640715008001,"66":13396,"115":206,"84":6144,"24":0,"16":123863463792476160,"45":-6259510878104102912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640715008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:29:20] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:29:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863463792476160,"km_value":123863463792476.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259510878104102912,"description":"Unknown IO ID 45"} 
[2026-08-25 17:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640715008001,"power":13396,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6259510878104102912}} 
[2026-08-25 17:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":161851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:29:20] local.INFO: GPS data processed {"connection_id":161851,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:29:20] local.INFO: Acknowledgment sent {"connection_id":161851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:29:29] local.INFO: TCP Data received {"connection_id":164470,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c98108012d1fa240071da5900042012824..."} 
[2026-08-25 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c98108012d1fa240071da5900042012824..."} 
[2026-08-25 17:29:29] local.INFO: Processing buffer {"connection_id":164470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c98108012d1fa240071da5900042012824..."} 
[2026-08-25 17:29:29] local.INFO: Packet analysis {"connection_id":164470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:29:29] local.INFO: Extracted packet for processing {"connection_id":164470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:29:29] local.INFO: GPS Element Parsed {"raw_longitude":757047872,"raw_latitude":119383440,"longitude_deg":75.7047872,"latitude_deg":11.938344,"altitude":66,"angle":296,"satellites":36,"speed":25,"hex_longitude":"2d1fa240","hex_latitude":"071da590","is_valid_coordinates":true} 
[2026-08-25 17:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640734208001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15983720792064000,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2284662047778127872,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787659125000,"timestamp_ms":1787659125000,"timestamp_seconds":1787659125,"priority":1,"record_length":96,"hex_timestamp":"000001a038c98108"} 
[2026-08-25 17:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:29:29] 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-25 17:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-25 17:29:29] 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-25 17:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:29:29] 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-25 17:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640734208001,"66":14298,"10":206,"83":41984,"24":25,"16":15983720792064000,"45":2284662047778127872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640734208001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:29:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15983720792064000,"km_value":15983720792064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2284662047778127872,"description":"Unknown IO ID 45"} 
[2026-08-25 17:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640734208001,"power":14298,"unknown_10":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":2284662047778127872}} 
[2026-08-25 17:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":164470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:29:29] local.INFO: GPS data processed {"connection_id":164470,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:29:29] local.INFO: Acknowledgment sent {"connection_id":164470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:29:39] local.INFO: TCP Data received {"connection_id":164471,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:29:39] local.INFO: Processing buffer {"connection_id":164471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:29:39] local.INFO: IMEI packet received {"connection_id":164471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":164471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:29:40] local.INFO: TCP Data received {"connection_id":163102,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:29:40] local.INFO: Processing buffer {"connection_id":163102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:29:40] local.INFO: IMEI packet received {"connection_id":163102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":163102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:29:43] local.INFO: TCP Data received {"connection_id":164471,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:29:43] local.INFO: Processing buffer {"connection_id":164471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:29:43] local.INFO: IMEI packet received {"connection_id":164471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":164471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:29:44] local.INFO: TCP Data received {"connection_id":164471,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:29:44] local.INFO: Processing buffer {"connection_id":164471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:29:44] local.INFO: Packet analysis {"connection_id":164471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:29:44] local.INFO: Extracted packet for processing {"connection_id":164471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640664064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787659145000,"timestamp_ms":1787659145000,"timestamp_seconds":1787659145,"priority":1,"record_length":96,"hex_timestamp":"000001a038c9cf28"} 
[2026-08-25 17: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-25 17:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:29:44] 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-25 17: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-25 17: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-25 17:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640664064001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640664064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640664064001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":164471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:29:44] local.INFO: GPS data processed {"connection_id":164471,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:29:44] local.INFO: Acknowledgment sent {"connection_id":164471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:29:46] local.INFO: TCP Data received {"connection_id":163102,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:29:46] local.INFO: Processing buffer {"connection_id":163102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:29:46] local.INFO: IMEI packet received {"connection_id":163102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":163102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:29:47] local.INFO: TCP Data received {"connection_id":163102,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c8e4c8012da921c0054ae9580012012027..."} 
[2026-08-25 17:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c8e4c8012da921c0054ae9580012012027..."} 
[2026-08-25 17:29:47] local.INFO: Processing buffer {"connection_id":163102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c8e4c8012da921c0054ae9580012012027..."} 
[2026-08-25 17:29:47] local.INFO: Packet analysis {"connection_id":163102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c8"} 
[2026-08-25 17:29:47] local.INFO: Extracted packet for processing {"connection_id":163102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c8"} 
[2026-08-25 17:29:47] local.INFO: GPS Element Parsed {"raw_longitude":766058944,"raw_latitude":88795480,"longitude_deg":76.6058944,"latitude_deg":8.879548,"altitude":18,"angle":288,"satellites":39,"speed":0,"hex_longitude":"2da921c0","hex_latitude":"054ae958","is_valid_coordinates":true} 
[2026-08-25 17:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640720384001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863463792476160,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259510878104102912,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787659085000,"timestamp_ms":1787659085000,"timestamp_seconds":1787659085,"priority":1,"record_length":96,"hex_timestamp":"000001a038c8e4c8"} 
[2026-08-25 17:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-25 17:29:47] 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-25 17:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640720384001,"66":13048,"115":206,"84":6144,"24":0,"16":123863463792476160,"45":-6259510878104102912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640720384001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:29:47] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:29:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863463792476160,"km_value":123863463792476.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259510878104102912,"description":"Unknown IO ID 45"} 
[2026-08-25 17:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640720384001,"power":13048,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6259510878104102912}} 
[2026-08-25 17:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":163102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:29:47] local.INFO: GPS data processed {"connection_id":163102,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:29:47] local.INFO: Acknowledgment sent {"connection_id":163102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:29:52] local.INFO: TCP Data received {"connection_id":163103,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:29:52] local.INFO: Processing buffer {"connection_id":163103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:29:52] local.INFO: IMEI packet received {"connection_id":163103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":163103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:29:57] local.INFO: TCP Data received {"connection_id":163103,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:29:57] local.INFO: Processing buffer {"connection_id":163103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:29:57] local.INFO: IMEI packet received {"connection_id":163103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":163103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:29:58] local.INFO: TCP Data received {"connection_id":163103,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c984f0012d1fa040071da6f80043013425..."} 
[2026-08-25 17:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c984f0012d1fa040071da6f80043013425..."} 
[2026-08-25 17:29:58] local.INFO: Processing buffer {"connection_id":163103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c984f0012d1fa040071da6f80043013425..."} 
[2026-08-25 17:29:58] local.INFO: Packet analysis {"connection_id":163103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:29:58] local.INFO: Extracted packet for processing {"connection_id":163103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:29:58] local.INFO: GPS Element Parsed {"raw_longitude":757047360,"raw_latitude":119383800,"longitude_deg":75.704736,"latitude_deg":11.93838,"altitude":67,"angle":308,"satellites":37,"speed":25,"hex_longitude":"2d1fa040","hex_latitude":"071da6f8","is_valid_coordinates":true} 
[2026-08-25 17:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640736000001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15983755151802368,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2279454760709230592,"note":"Value kept but may cause issues"} 
[2026-08-25 17:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787659126000,"timestamp_ms":1787659126000,"timestamp_seconds":1787659126,"priority":1,"record_length":96,"hex_timestamp":"000001a038c984f0"} 
[2026-08-25 17:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:29:58] 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-25 17:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-25 17:29:58] 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-25 17:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:29:58] 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-25 17:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640736000001,"66":14298,"10":206,"83":41984,"24":25,"16":15983755151802368,"45":2279454760709230592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640736000001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:29:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15983755151802368,"km_value":15983755151802.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2279454760709230592,"description":"Unknown IO ID 45"} 
[2026-08-25 17:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640736000001,"power":14298,"unknown_10":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":2279454760709230592}} 
[2026-08-25 17:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":163103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:29:58] local.INFO: GPS data processed {"connection_id":163103,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:29:58] local.INFO: Acknowledgment sent {"connection_id":163103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:30:15] local.INFO: TCP Data received {"connection_id":164471,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:30:15] local.INFO: Processing buffer {"connection_id":164471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:30:15] local.INFO: Packet analysis {"connection_id":164471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:30:15] local.INFO: Extracted packet for processing {"connection_id":164471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640664064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787659145000,"timestamp_ms":1787659145000,"timestamp_seconds":1787659145,"priority":1,"record_length":96,"hex_timestamp":"000001a038c9cf28"} 
[2026-08-25 17: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-25 17:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:30:15] 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-25 17: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-25 17: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-25 17:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640664064001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640664064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640664064001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":164471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:30:15] local.INFO: GPS data processed {"connection_id":164471,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:30:15] local.INFO: Acknowledgment sent {"connection_id":164471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:30:18] local.INFO: TCP Data received {"connection_id":163102,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c936d0012da921c0054ae9580012012021..."} 
[2026-08-25 17:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c936d0012da921c0054ae9580012012021..."} 
[2026-08-25 17:30:18] local.INFO: Processing buffer {"connection_id":163102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c936d0012da921c0054ae9580012012021..."} 
[2026-08-25 17:30:18] local.INFO: Packet analysis {"connection_id":163102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:30:18] local.INFO: Extracted packet for processing {"connection_id":163102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:30:18] local.INFO: GPS Element Parsed {"raw_longitude":766058944,"raw_latitude":88795480,"longitude_deg":76.6058944,"latitude_deg":8.879548,"altitude":18,"angle":288,"satellites":33,"speed":0,"hex_longitude":"2da921c0","hex_latitude":"054ae958","is_valid_coordinates":true} 
[2026-08-25 17:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640725760001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863463792476160,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259510878104102912,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787659106000,"timestamp_ms":1787659106000,"timestamp_seconds":1787659106,"priority":1,"record_length":96,"hex_timestamp":"000001a038c936d0"} 
[2026-08-25 17:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 17:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640725760001,"66":13363,"115":206,"84":6144,"24":0,"16":123863463792476160,"45":-6259510878104102912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640725760001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:30:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:30:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863463792476160,"km_value":123863463792476.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259510878104102912,"description":"Unknown IO ID 45"} 
[2026-08-25 17:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640725760001,"power":13363,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6259510878104102912}} 
[2026-08-25 17:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":163102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:30:18] local.INFO: GPS data processed {"connection_id":163102,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:30:18] local.INFO: Acknowledgment sent {"connection_id":163102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:30:30] local.INFO: TCP Data received {"connection_id":163103,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c98cc0012d1f9d00071daad80043014725..."} 
[2026-08-25 17:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c98cc0012d1f9d00071daad80043014725..."} 
[2026-08-25 17:30:30] local.INFO: Processing buffer {"connection_id":163103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c98cc0012d1f9d00071daad80043014725..."} 
[2026-08-25 17:30:30] local.INFO: Packet analysis {"connection_id":163103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:30:30] local.INFO: Extracted packet for processing {"connection_id":163103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:30:30] local.INFO: GPS Element Parsed {"raw_longitude":757046528,"raw_latitude":119384792,"longitude_deg":75.7046528,"latitude_deg":11.9384792,"altitude":67,"angle":327,"satellites":37,"speed":25,"hex_longitude":"2d1f9d00","hex_latitude":"071daad8","is_valid_coordinates":true} 
[2026-08-25 17:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640736256001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15983815281344512,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2278891810755901440,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787659128000,"timestamp_ms":1787659128000,"timestamp_seconds":1787659128,"priority":1,"record_length":96,"hex_timestamp":"000001a038c98cc0"} 
[2026-08-25 17:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:30:30] 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-25 17:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-25 17:30:30] 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-25 17:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:30:30] 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-25 17:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640736256001,"66":14407,"10":206,"83":41984,"24":25,"16":15983815281344512,"45":2278891810755901440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-25 17:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640736256001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:30:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-25 17:30:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15983815281344512,"km_value":15983815281344.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2278891810755901440,"description":"Unknown IO ID 45"} 
[2026-08-25 17:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640736256001,"power":14407,"unknown_10":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":2278891810755901440}} 
[2026-08-25 17:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":163103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:30:30] local.INFO: GPS data processed {"connection_id":163103,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:30:30] local.INFO: Acknowledgment sent {"connection_id":163103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:30:39] local.INFO: TCP Data received {"connection_id":164472,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:30:39] local.INFO: Processing buffer {"connection_id":164472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:30:39] local.INFO: IMEI packet received {"connection_id":164472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":164472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:30:40] local.INFO: TCP Data received {"connection_id":162106,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:30:40] local.INFO: Processing buffer {"connection_id":162106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:30:40] local.INFO: IMEI packet received {"connection_id":162106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":162106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:30:44] local.INFO: TCP Data received {"connection_id":164472,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:30:44] local.INFO: Processing buffer {"connection_id":164472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:30:44] local.INFO: IMEI packet received {"connection_id":164472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":164472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:30:45] local.INFO: TCP Data received {"connection_id":162106,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:30:45] local.INFO: Processing buffer {"connection_id":162106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:30:45] local.INFO: IMEI packet received {"connection_id":162106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":162106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:30:46] local.INFO: TCP Data received {"connection_id":164472,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:30:46] local.INFO: Processing buffer {"connection_id":164472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:30:46] local.INFO: Packet analysis {"connection_id":164472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:30:46] local.INFO: Extracted packet for processing {"connection_id":164472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640664064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787659145000,"timestamp_ms":1787659145000,"timestamp_seconds":1787659145,"priority":1,"record_length":96,"hex_timestamp":"000001a038c9cf28"} 
[2026-08-25 17:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640664064001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640664064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640664064001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":164472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:30:46] local.INFO: GPS data processed {"connection_id":164472,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:30:46] local.INFO: Acknowledgment sent {"connection_id":164472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:30:46] local.INFO: TCP Data received {"connection_id":162106,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038c988d8012da921c0054ae9580012012022..."} 
[2026-08-25 17:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c988d8012da921c0054ae9580012012022..."} 
[2026-08-25 17:30:46] local.INFO: Processing buffer {"connection_id":162106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c988d8012da921c0054ae9580012012022..."} 
[2026-08-25 17:30:46] local.INFO: Packet analysis {"connection_id":162106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:30:46] local.INFO: Extracted packet for processing {"connection_id":162106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:30:46] local.INFO: GPS Element Parsed {"raw_longitude":766058944,"raw_latitude":88795480,"longitude_deg":76.6058944,"latitude_deg":8.879548,"altitude":18,"angle":288,"satellites":34,"speed":0,"hex_longitude":"2da921c0","hex_latitude":"054ae958","is_valid_coordinates":true} 
[2026-08-25 17:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640731136001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863463792476160,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259510878104102912,"note":"Value kept but may cause issues"} 
[2026-08-25 17:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787659127000,"timestamp_ms":1787659127000,"timestamp_seconds":1787659127,"priority":1,"record_length":96,"hex_timestamp":"000001a038c988d8"} 
[2026-08-25 17:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 17:30:46] 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-25 17:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640731136001,"66":12809,"115":206,"84":6144,"24":0,"16":123863463792476160,"45":-6259510878104102912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640731136001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:30:46] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:30:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863463792476160,"km_value":123863463792476.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259510878104102912,"description":"Unknown IO ID 45"} 
[2026-08-25 17:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640731136001,"power":12809,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6259510878104102912}} 
[2026-08-25 17:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":162106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:30:47] local.INFO: GPS data processed {"connection_id":162106,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:30:47] local.INFO: Acknowledgment sent {"connection_id":162106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:30:51] local.INFO: TCP Data received {"connection_id":162107,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:30:51] local.INFO: Processing buffer {"connection_id":162107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:30:51] local.INFO: IMEI packet received {"connection_id":162107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":162107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:30:57] local.INFO: TCP Data received {"connection_id":162107,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:30:57] local.INFO: Processing buffer {"connection_id":162107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:30:57] local.INFO: IMEI packet received {"connection_id":162107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":162107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:31:17] local.INFO: TCP Data received {"connection_id":164472,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:31:17] local.INFO: Processing buffer {"connection_id":164472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:31:17] local.INFO: Packet analysis {"connection_id":164472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:31:17] local.INFO: Extracted packet for processing {"connection_id":164472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640664064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:31:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787659145000,"timestamp_ms":1787659145000,"timestamp_seconds":1787659145,"priority":1,"record_length":96,"hex_timestamp":"000001a038c9cf28"} 
[2026-08-25 17:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:31:17] 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-25 17:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:31:17] 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-25 17:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640664064001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640664064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640664064001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":164472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:31:17] local.INFO: GPS data processed {"connection_id":164472,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:31:17] local.INFO: Acknowledgment sent {"connection_id":164472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:31:17] local.INFO: TCP Data received {"connection_id":162106,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038cb6d38012da90cc0054af670000f007626..."} 
[2026-08-25 17:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cb6d38012da90cc0054af670000f007626..."} 
[2026-08-25 17:31:17] local.INFO: Processing buffer {"connection_id":162106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cb6d38012da90cc0054af670000f007626..."} 
[2026-08-25 17:31:17] local.INFO: Packet analysis {"connection_id":162106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cb"} 
[2026-08-25 17:31:17] local.INFO: Extracted packet for processing {"connection_id":162106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cb"} 
[2026-08-25 17:31:17] local.INFO: GPS Element Parsed {"raw_longitude":766053568,"raw_latitude":88798832,"longitude_deg":76.6053568,"latitude_deg":8.8798832,"altitude":15,"angle":118,"satellites":38,"speed":7,"hex_longitude":"2da90cc0","hex_latitude":"054af670","is_valid_coordinates":true} 
[2026-08-25 17:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640768000001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123863837454630912,"note":"Value kept but may cause issues"} 
[2026-08-25 17:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265703327590864896,"note":"Value kept but may cause issues"} 
[2026-08-25 17:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787659251000,"timestamp_ms":1787659251000,"timestamp_seconds":1787659251,"priority":1,"record_length":96,"hex_timestamp":"000001a038cb6d38"} 
[2026-08-25 17:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 17:31: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-25 17:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640768000001,"66":13472,"116":206,"84":6144,"24":7,"16":123863837454630912,"45":-6265703327590864896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-25 17:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640768000001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:31:17] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-25 17:31:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123863837454630912,"km_value":123863837454630.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265703327590864896,"description":"Unknown IO ID 45"} 
[2026-08-25 17:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640768000001,"power":13472,"unknown_116":206,"unknown_84":6144,"ignition":7,"odometer":null,"unknown_45":-6265703327590864896}} 
[2026-08-25 17:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":162106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:31:18] local.INFO: GPS data processed {"connection_id":162106,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:31:18] local.INFO: Acknowledgment sent {"connection_id":162106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:31:39] local.INFO: TCP Data received {"connection_id":164474,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:31:39] local.INFO: Processing buffer {"connection_id":164474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:31:39] local.INFO: IMEI packet received {"connection_id":164474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":164474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:31:40] local.INFO: TCP Data received {"connection_id":164475,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:31:40] local.INFO: Processing buffer {"connection_id":164475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:31:40] local.INFO: IMEI packet received {"connection_id":164475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":164475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:31:45] local.INFO: TCP Data received {"connection_id":164474,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:31:45] local.INFO: Processing buffer {"connection_id":164474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:31:45] local.INFO: IMEI packet received {"connection_id":164474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":164474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:31:46] local.INFO: TCP Data received {"connection_id":164475,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:31:46] local.INFO: Processing buffer {"connection_id":164475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:31:46] local.INFO: IMEI packet received {"connection_id":164475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":164475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:31:46] local.INFO: TCP Data received {"connection_id":164474,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:31:46] local.INFO: Processing buffer {"connection_id":164474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:31:46] local.INFO: Packet analysis {"connection_id":164474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:31:46] local.INFO: Extracted packet for processing {"connection_id":164474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640664064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:31:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787659145000,"timestamp_ms":1787659145000,"timestamp_seconds":1787659145,"priority":1,"record_length":96,"hex_timestamp":"000001a038c9cf28"} 
[2026-08-25 17:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:31:46] 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-25 17:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640664064001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640664064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640664064001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":164474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:31:46] local.INFO: GPS data processed {"connection_id":164474,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:31:46] local.INFO: Acknowledgment sent {"connection_id":164474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:31:47] local.INFO: TCP Data received {"connection_id":164475,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038cba000012da92f80054ae828000f007222..."} 
[2026-08-25 17:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cba000012da92f80054ae828000f007222..."} 
[2026-08-25 17:31:47] local.INFO: Processing buffer {"connection_id":164475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cba000012da92f80054ae828000f007222..."} 
[2026-08-25 17:31:47] local.INFO: Packet analysis {"connection_id":164475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cb"} 
[2026-08-25 17:31:47] local.INFO: Extracted packet for processing {"connection_id":164475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cb"} 
[2026-08-25 17:31:47] local.INFO: GPS Element Parsed {"raw_longitude":766062464,"raw_latitude":88795176,"longitude_deg":76.6062464,"latitude_deg":8.8795176,"altitude":15,"angle":114,"satellites":34,"speed":32,"hex_longitude":"2da92f80","hex_latitude":"054ae828","is_valid_coordinates":true} 
[2026-08-25 17:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640768256001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123864301311098880,"note":"Value kept but may cause issues"} 
[2026-08-25 17:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265421852614168576,"note":"Value kept but may cause issues"} 
[2026-08-25 17:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787659264000,"timestamp_ms":1787659264000,"timestamp_seconds":1787659264,"priority":1,"record_length":96,"hex_timestamp":"000001a038cba000"} 
[2026-08-25 17:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 17:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640768256001,"66":13537,"116":206,"84":6144,"24":32,"16":123864301311098880,"45":-6265421852614168576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-25 17:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640768256001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:31:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-25 17:31:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123864301311098880,"km_value":123864301311098.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265421852614168576,"description":"Unknown IO ID 45"} 
[2026-08-25 17:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640768256001,"power":13537,"unknown_116":206,"unknown_84":6144,"ignition":32,"odometer":null,"unknown_45":-6265421852614168576}} 
[2026-08-25 17:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":164475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:31:47] local.INFO: GPS data processed {"connection_id":164475,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:31:47] local.INFO: Acknowledgment sent {"connection_id":164475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:32:17] local.INFO: TCP Data received {"connection_id":164474,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:32:17] local.INFO: Processing buffer {"connection_id":164474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:32:17] local.INFO: Packet analysis {"connection_id":164474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:32:17] local.INFO: Extracted packet for processing {"connection_id":164474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640664064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787659145000,"timestamp_ms":1787659145000,"timestamp_seconds":1787659145,"priority":1,"record_length":96,"hex_timestamp":"000001a038c9cf28"} 
[2026-08-25 17: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-25 17:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:32:17] 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-25 17: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-25 17: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-25 17:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640664064001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640664064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640664064001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":164474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:32:17] local.INFO: GPS data processed {"connection_id":164474,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:32:17] local.INFO: Acknowledgment sent {"connection_id":164474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:32:18] local.INFO: TCP Data received {"connection_id":164475,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038cbcaf8012da95200054ad9c8000f007124..."} 
[2026-08-25 17:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cbcaf8012da95200054ad9c8000f007124..."} 
[2026-08-25 17:32:18] local.INFO: Processing buffer {"connection_id":164475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cbcaf8012da95200054ad9c8000f007124..."} 
[2026-08-25 17:32:18] local.INFO: Packet analysis {"connection_id":164475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cb"} 
[2026-08-25 17:32:18] local.INFO: Extracted packet for processing {"connection_id":164475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cb"} 
[2026-08-25 17:32:18] local.INFO: GPS Element Parsed {"raw_longitude":766071296,"raw_latitude":88791496,"longitude_deg":76.6071296,"latitude_deg":8.8791496,"altitude":15,"angle":113,"satellites":36,"speed":33,"hex_longitude":"2da95200","hex_latitude":"054ad9c8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640771584001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123864760872599552,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6255640597174409216,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787659275000,"timestamp_ms":1787659275000,"timestamp_seconds":1787659275,"priority":1,"record_length":96,"hex_timestamp":"000001a038cbcaf8"} 
[2026-08-25 17: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-25 17:32: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-25 17: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":225,"data_length":795,"current_offset":136} 
[2026-08-25 17:32:18] 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-25 17: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-25 17: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-25 17:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640771584001,"66":13178,"115":206,"84":6144,"24":33,"16":123864760872599552,"45":-6255640597174409216},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640771584001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:32:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:32:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123864760872599552,"km_value":123864760872599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6255640597174409216,"description":"Unknown IO ID 45"} 
[2026-08-25 17:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640771584001,"power":13178,"unknown_115":206,"unknown_84":6144,"ignition":33,"odometer":null,"unknown_45":-6255640597174409216}} 
[2026-08-25 17:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":164475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:32:18] local.INFO: GPS data processed {"connection_id":164475,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:32:18] local.INFO: Acknowledgment sent {"connection_id":164475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:32:39] local.INFO: TCP Data received {"connection_id":163104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:32:39] local.INFO: Processing buffer {"connection_id":163104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:32:39] local.INFO: IMEI packet received {"connection_id":163104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":163104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:32:44] local.INFO: TCP Data received {"connection_id":163104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:32:44] local.INFO: Processing buffer {"connection_id":163104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:32:44] local.INFO: IMEI packet received {"connection_id":163104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":163104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:32:45] local.INFO: TCP Data received {"connection_id":163104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:32:45] local.INFO: Processing buffer {"connection_id":163104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:32:45] local.INFO: Packet analysis {"connection_id":163104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:32:45] local.INFO: Extracted packet for processing {"connection_id":163104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640664064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787659145000,"timestamp_ms":1787659145000,"timestamp_seconds":1787659145,"priority":1,"record_length":96,"hex_timestamp":"000001a038c9cf28"} 
[2026-08-25 17:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640664064001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640664064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640664064001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":163104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:32:45] local.INFO: GPS data processed {"connection_id":163104,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:32:45] local.INFO: Acknowledgment sent {"connection_id":163104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:32:46] local.INFO: TCP Data received {"connection_id":163105,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:32:46] local.INFO: Processing buffer {"connection_id":163105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:32:46] local.INFO: IMEI packet received {"connection_id":163105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":163105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:32:51] local.INFO: TCP Data received {"connection_id":163105,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:32:51] local.INFO: Processing buffer {"connection_id":163105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:32:51] local.INFO: IMEI packet received {"connection_id":163105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":163105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:32:52] local.INFO: TCP Data received {"connection_id":163105,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038cbfdc0012da97500054accd00010007024..."} 
[2026-08-25 17:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cbfdc0012da97500054accd00010007024..."} 
[2026-08-25 17:32:52] local.INFO: Processing buffer {"connection_id":163105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cbfdc0012da97500054accd00010007024..."} 
[2026-08-25 17:32:52] local.INFO: Packet analysis {"connection_id":163105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cb"} 
[2026-08-25 17:32:52] local.INFO: Extracted packet for processing {"connection_id":163105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cb"} 
[2026-08-25 17:32:52] local.INFO: GPS Element Parsed {"raw_longitude":766080256,"raw_latitude":88788176,"longitude_deg":76.6080256,"latitude_deg":8.8788176,"altitude":16,"angle":112,"satellites":36,"speed":28,"hex_longitude":"2da97500","hex_latitude":"054accd0","is_valid_coordinates":true} 
[2026-08-25 17:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640774400001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123865216139132928,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6245929710478833664,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787659288000,"timestamp_ms":1787659288000,"timestamp_seconds":1787659288,"priority":1,"record_length":96,"hex_timestamp":"000001a038cbfdc0"} 
[2026-08-25 17:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-25 17:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640774400001,"66":13526,"112":206,"84":6144,"24":28,"16":123865216139132928,"45":-6245929710478833664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-25 17:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640774400001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:32:52] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 17:32:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123865216139132928,"km_value":123865216139132.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6245929710478833664,"description":"Unknown IO ID 45"} 
[2026-08-25 17:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640774400001,"power":13526,"unknown_112":206,"unknown_84":6144,"ignition":28,"odometer":null,"unknown_45":-6245929710478833664}} 
[2026-08-25 17:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":163105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:32:52] local.INFO: GPS data processed {"connection_id":163105,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:32:52] local.INFO: Acknowledgment sent {"connection_id":163105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:32:53] local.INFO: TCP Data received {"connection_id":163105,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038cc4028012da99780054ac0480014006d24..."} 
[2026-08-25 17:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cc4028012da99780054ac0480014006d24..."} 
[2026-08-25 17:32:53] local.INFO: Processing buffer {"connection_id":163105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cc4028012da99780054ac0480014006d24..."} 
[2026-08-25 17:32:53] local.INFO: Packet analysis {"connection_id":163105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cc"} 
[2026-08-25 17:32:53] local.INFO: Extracted packet for processing {"connection_id":163105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cc"} 
[2026-08-25 17:32:53] local.INFO: GPS Element Parsed {"raw_longitude":766089088,"raw_latitude":88784968,"longitude_deg":76.6089088,"latitude_deg":8.8784968,"altitude":20,"angle":109,"satellites":36,"speed":19,"hex_longitude":"2da99780","hex_latitude":"054ac048","is_valid_coordinates":true} 
[2026-08-25 17:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640777728001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123865667110699008,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6236078086294810624,"note":"Value kept but may cause issues"} 
[2026-08-25 17:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787659305000,"timestamp_ms":1787659305000,"timestamp_seconds":1787659305,"priority":1,"record_length":96,"hex_timestamp":"000001a038cc4028"} 
[2026-08-25 17:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 17:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640777728001,"66":13428,"112":206,"84":6144,"24":19,"16":123865667110699008,"45":-6236078086294810624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-25 17:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640777728001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:32:53] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 17:32:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123865667110699008,"km_value":123865667110699.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6236078086294810624,"description":"Unknown IO ID 45"} 
[2026-08-25 17:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640777728001,"power":13428,"unknown_112":206,"unknown_84":6144,"ignition":19,"odometer":null,"unknown_45":-6236078086294810624}} 
[2026-08-25 17:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":163105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:32:53] local.INFO: GPS data processed {"connection_id":163105,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:32:53] local.INFO: Acknowledgment sent {"connection_id":163105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:33:17] local.INFO: TCP Data received {"connection_id":163104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:33:17] local.INFO: Processing buffer {"connection_id":163104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:33:17] local.INFO: Packet analysis {"connection_id":163104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:33:17] local.INFO: Extracted packet for processing {"connection_id":163104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640664064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787659145000,"timestamp_ms":1787659145000,"timestamp_seconds":1787659145,"priority":1,"record_length":96,"hex_timestamp":"000001a038c9cf28"} 
[2026-08-25 17:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:33:17] 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-25 17:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640664064001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640664064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640664064001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":163104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:33:17] local.INFO: GPS data processed {"connection_id":163104,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:33:17] local.INFO: Acknowledgment sent {"connection_id":163104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:33:24] local.INFO: TCP Data received {"connection_id":163105,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038cc8290012da9b9c0054ab3280016006927..."} 
[2026-08-25 17:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cc8290012da9b9c0054ab3280016006927..."} 
[2026-08-25 17:33:24] local.INFO: Processing buffer {"connection_id":163105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cc8290012da9b9c0054ab3280016006927..."} 
[2026-08-25 17:33:24] local.INFO: Packet analysis {"connection_id":163105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cc"} 
[2026-08-25 17:33:24] local.INFO: Extracted packet for processing {"connection_id":163105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cc"} 
[2026-08-25 17:33:24] local.INFO: GPS Element Parsed {"raw_longitude":766097856,"raw_latitude":88781608,"longitude_deg":76.6097856,"latitude_deg":8.8781608,"altitude":22,"angle":105,"satellites":39,"speed":27,"hex_longitude":"2da9b9c0","hex_latitude":"054ab328","is_valid_coordinates":true} 
[2026-08-25 17:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640782080001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123866118082265088,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6226367199599114240,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787659322000,"timestamp_ms":1787659322000,"timestamp_seconds":1787659322,"priority":1,"record_length":96,"hex_timestamp":"000001a038cc8290"} 
[2026-08-25 17:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 17:33:24] 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-25 17:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640782080001,"66":13580,"112":206,"84":6144,"24":27,"16":123866118082265088,"45":-6226367199599114240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-25 17:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640782080001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:33:24] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 17:33:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123866118082265088,"km_value":123866118082265.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6226367199599114240,"description":"Unknown IO ID 45"} 
[2026-08-25 17:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640782080001,"power":13580,"unknown_112":206,"unknown_84":6144,"ignition":27,"odometer":null,"unknown_45":-6226367199599114240}} 
[2026-08-25 17:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":163105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:33:24] local.INFO: GPS data processed {"connection_id":163105,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:33:24] local.INFO: Acknowledgment sent {"connection_id":163105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:33:40] local.INFO: TCP Data received {"connection_id":163106,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:33:40] local.INFO: Processing buffer {"connection_id":163106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:33:40] local.INFO: IMEI packet received {"connection_id":163106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":163106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:33:41] local.INFO: TCP Data received {"connection_id":163106,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:33:41] local.INFO: Processing buffer {"connection_id":163106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:33:41] local.INFO: IMEI packet received {"connection_id":163106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":163106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:33:45] local.INFO: TCP Data received {"connection_id":164477,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:33:45] local.INFO: Processing buffer {"connection_id":164477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:33:45] local.INFO: IMEI packet received {"connection_id":164477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":164477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:33:46] local.INFO: TCP Data received {"connection_id":163106,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:33:46] local.INFO: Processing buffer {"connection_id":163106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:33:46] local.INFO: IMEI packet received {"connection_id":163106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":163106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:33:48] local.INFO: TCP Data received {"connection_id":163106,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038ccccc8012da9dc00054aa7a00015006a23..."} 
[2026-08-25 17:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ccccc8012da9dc00054aa7a00015006a23..."} 
[2026-08-25 17:33:48] local.INFO: Processing buffer {"connection_id":163106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ccccc8012da9dc00054aa7a00015006a23..."} 
[2026-08-25 17:33:48] local.INFO: Packet analysis {"connection_id":163106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cc"} 
[2026-08-25 17:33:48] local.INFO: Extracted packet for processing {"connection_id":163106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cc"} 
[2026-08-25 17:33:48] local.INFO: GPS Element Parsed {"raw_longitude":766106624,"raw_latitude":88778656,"longitude_deg":76.6106624,"latitude_deg":8.8778656,"altitude":21,"angle":106,"satellites":35,"speed":16,"hex_longitude":"2da9dc00","hex_latitude":"054aa7a0","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640786432001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123866564758863872,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6216726681647634432,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787659341000,"timestamp_ms":1787659341000,"timestamp_seconds":1787659341,"priority":1,"record_length":96,"hex_timestamp":"000001a038ccccc8"} 
[2026-08-25 17: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-25 17:33: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-25 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626253,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2838462469,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":63489,"corrected_to":0} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5184349057568473088,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3416260609,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3894935567,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633573893227380,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1131675854,"corrected_to":0} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221572342,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407107,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":169,"raw_value":810653752453758991,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241480920190548,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,112,84,24,241,157,16,15,160,64,45,128,192,20,36,10,66,253,204,14,202,1,240,122,227,56,74,4,113,205,32,109,12,38,239,52,116,2,184,5,3,169,51],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":202,"original":63489,"validated":0},{"io_id":205,"original":1131675854,"validated":0}]} 
[2026-08-25 17:33:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585382685060825088,"timestamp_seconds":1585382685060825.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17: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-25 17:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640786432001,"66":13472,"112":206,"84":6144,"24":16,"16":123866564758863872,"45":-6216726681647634432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-25 17:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640786432001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:33:48] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 17:33:48] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123866564758863872,"km_value":123866564758863.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6216726681647634432,"description":"Unknown IO ID 45"} 
[2026-08-25 17:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640786432001,"power":13472,"unknown_112":206,"unknown_84":6144,"ignition":16,"odometer":null,"unknown_45":-6216726681647634432}} 
[2026-08-25 17:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":163106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:33:48] local.INFO: GPS data processed {"connection_id":163106,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:33:48] local.INFO: Acknowledgment sent {"connection_id":163106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:33:49] local.INFO: TCP Data received {"connection_id":164477,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:33:49] local.INFO: Processing buffer {"connection_id":164477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:33:49] local.INFO: IMEI packet received {"connection_id":164477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":164477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:33:50] local.INFO: TCP Data received {"connection_id":164477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:33:50] local.INFO: Processing buffer {"connection_id":164477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:33:50] local.INFO: Packet analysis {"connection_id":164477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:33:50] local.INFO: Extracted packet for processing {"connection_id":164477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:33:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640664064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787659145000,"timestamp_ms":1787659145000,"timestamp_seconds":1787659145,"priority":1,"record_length":96,"hex_timestamp":"000001a038c9cf28"} 
[2026-08-25 17: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-25 17:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:33: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-25 17: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-25 17: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-25 17:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:33: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-25 17:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640664064001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640664064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:33:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640664064001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":164477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:33:50] local.INFO: GPS data processed {"connection_id":164477,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:33:50] local.INFO: Acknowledgment sent {"connection_id":164477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:33:56] local.INFO: TCP Data received {"connection_id":164477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:33:56] local.INFO: Processing buffer {"connection_id":164477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038c9cf28012d34c14006aa4818000900e62b..."} 
[2026-08-25 17:33:56] local.INFO: Packet analysis {"connection_id":164477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:33:56] local.INFO: Extracted packet for processing {"connection_id":164477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038c9"} 
[2026-08-25 17:33:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640664064001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787659145000,"timestamp_ms":1787659145000,"timestamp_seconds":1787659145,"priority":1,"record_length":96,"hex_timestamp":"000001a038c9cf28"} 
[2026-08-25 17: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-25 17:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:33:56] 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-25 17: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-25 17: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-25 17:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:33: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-25 17:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640664064001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640664064001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:33:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640664064001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":164477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:33:56] local.INFO: GPS data processed {"connection_id":164477,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:33:56] local.INFO: Acknowledgment sent {"connection_id":164477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:34:20] local.INFO: TCP Data received {"connection_id":163106,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038ccff90012da9fdc0054a9d580015006b26..."} 
[2026-08-25 17:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ccff90012da9fdc0054a9d580015006b26..."} 
[2026-08-25 17:34:20] local.INFO: Processing buffer {"connection_id":163106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ccff90012da9fdc0054a9d580015006b26..."} 
[2026-08-25 17:34:20] local.INFO: Packet analysis {"connection_id":163106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cc"} 
[2026-08-25 17:34:20] local.INFO: Extracted packet for processing {"connection_id":163106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cc"} 
[2026-08-25 17:34:20] local.INFO: GPS Element Parsed {"raw_longitude":766115264,"raw_latitude":88776024,"longitude_deg":76.6115264,"latitude_deg":8.8776024,"altitude":21,"angle":107,"satellites":38,"speed":29,"hex_longitude":"2da9fdc0","hex_latitude":"054a9d58","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640791296001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123866998550560768,"note":"Value kept but may cause issues"} 
[2026-08-25 17:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6207086163696050176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787659354000,"timestamp_ms":1787659354000,"timestamp_seconds":1787659354,"priority":1,"record_length":96,"hex_timestamp":"000001a038ccff90"} 
[2026-08-25 17: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-25 17:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 17:34:20] 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-25 17: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-25 17: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-25 17:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640791296001,"66":13472,"113":206,"84":6144,"24":29,"16":123866998550560768,"45":-6207086163696050176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-25 17:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640791296001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:34:20] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-25 17:34:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123866998550560768,"km_value":123866998550560.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6207086163696050176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640791296001,"power":13472,"unknown_113":206,"unknown_84":6144,"ignition":29,"odometer":null,"unknown_45":-6207086163696050176}} 
[2026-08-25 17:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":163106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:34:20] local.INFO: GPS data processed {"connection_id":163106,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:34:20] local.INFO: Acknowledgment sent {"connection_id":163106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:34:35] local.INFO: TCP Data received {"connection_id":164478,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:34:35] local.INFO: Processing buffer {"connection_id":164478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:34:35] local.INFO: IMEI packet received {"connection_id":164478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":164478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:34:39] local.INFO: TCP Data received {"connection_id":164479,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:34:39] local.INFO: Processing buffer {"connection_id":164479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:34:39] local.INFO: IMEI packet received {"connection_id":164479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":164479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:34:40] local.INFO: TCP Data received {"connection_id":164480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:34:40] local.INFO: Processing buffer {"connection_id":164480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:34:40] local.INFO: IMEI packet received {"connection_id":164480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":164480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:34:44] local.INFO: TCP Data received {"connection_id":164479,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:34:44] local.INFO: Processing buffer {"connection_id":164479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:34:44] local.INFO: IMEI packet received {"connection_id":164479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":164479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:34:45] local.INFO: TCP Data received {"connection_id":164479,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:34:45] local.INFO: Processing buffer {"connection_id":164479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:34:45] local.INFO: Packet analysis {"connection_id":164479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:34:45] local.INFO: Extracted packet for processing {"connection_id":164479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:34:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640741120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:34:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787659446000,"timestamp_ms":1787659446000,"timestamp_seconds":1787659446,"priority":1,"record_length":96,"hex_timestamp":"000001a038ce66f0"} 
[2026-08-25 17:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:34:45] 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-25 17:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640741120001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640741120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:34:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640741120001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":164479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:34:45] local.INFO: GPS data processed {"connection_id":164479,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:34:45] local.INFO: Acknowledgment sent {"connection_id":164479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:34:46] local.INFO: TCP Data received {"connection_id":164480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:34:46] local.INFO: Processing buffer {"connection_id":164480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:34:46] local.INFO: IMEI packet received {"connection_id":164480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":164480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:34:47] local.INFO: TCP Data received {"connection_id":164480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038cd3a28012daa2100054a92e80013006823..."} 
[2026-08-25 17:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cd3a28012daa2100054a92e80013006823..."} 
[2026-08-25 17:34:47] local.INFO: Processing buffer {"connection_id":164480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cd3a28012daa2100054a92e80013006823..."} 
[2026-08-25 17:34:47] local.INFO: Packet analysis {"connection_id":164480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cd"} 
[2026-08-25 17:34:47] local.INFO: Extracted packet for processing {"connection_id":164480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cd"} 
[2026-08-25 17:34:47] local.INFO: GPS Element Parsed {"raw_longitude":766124288,"raw_latitude":88773352,"longitude_deg":76.6124288,"latitude_deg":8.8773352,"altitude":19,"angle":104,"satellites":35,"speed":20,"hex_longitude":"2daa2100","hex_latitude":"054a92e8","is_valid_coordinates":true} 
[2026-08-25 17:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640794624001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123867445227159552,"note":"Value kept but may cause issues"} 
[2026-08-25 17:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6197586383232739328,"note":"Value kept but may cause issues"} 
[2026-08-25 17:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787659369000,"timestamp_ms":1787659369000,"timestamp_seconds":1787659369,"priority":1,"record_length":96,"hex_timestamp":"000001a038cd3a28"} 
[2026-08-25 17:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 17:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640794624001,"66":13222,"113":206,"84":6144,"24":20,"16":123867445227159552,"45":-6197586383232739328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-25 17:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640794624001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:34:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-25 17:34:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123867445227159552,"km_value":123867445227159.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6197586383232739328,"description":"Unknown IO ID 45"} 
[2026-08-25 17:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640794624001,"power":13222,"unknown_113":206,"unknown_84":6144,"ignition":20,"odometer":null,"unknown_45":-6197586383232739328}} 
[2026-08-25 17:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":164480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:34:47] local.INFO: GPS data processed {"connection_id":164480,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:34:47] local.INFO: Acknowledgment sent {"connection_id":164480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:35:11] local.INFO: TCP Data received {"connection_id":161852,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:35:11] local.INFO: Processing buffer {"connection_id":161852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:35:11] local.INFO: IMEI packet received {"connection_id":161852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":161852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:35:18] local.INFO: TCP Data received {"connection_id":164479,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:35:18] local.INFO: Processing buffer {"connection_id":164479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:35:18] local.INFO: Packet analysis {"connection_id":164479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:35:18] local.INFO: Extracted packet for processing {"connection_id":164479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640741120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:35:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787659446000,"timestamp_ms":1787659446000,"timestamp_seconds":1787659446,"priority":1,"record_length":96,"hex_timestamp":"000001a038ce66f0"} 
[2026-08-25 17:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:35:18] 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-25 17:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640741120001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640741120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640741120001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":164479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:35:18] local.INFO: GPS data processed {"connection_id":164479,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:35:18] local.INFO: Acknowledgment sent {"connection_id":164479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:35:19] local.INFO: TCP Data received {"connection_id":164480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038cf16b8012daae000054a53b00010006127..."} 
[2026-08-25 17:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cf16b8012daae000054a53b00010006127..."} 
[2026-08-25 17:35:19] local.INFO: Processing buffer {"connection_id":164480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cf16b8012daae000054a53b00010006127..."} 
[2026-08-25 17:35:19] local.INFO: Packet analysis {"connection_id":164480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:35:19] local.INFO: Extracted packet for processing {"connection_id":164480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:35:19] local.INFO: GPS Element Parsed {"raw_longitude":766173184,"raw_latitude":88757168,"longitude_deg":76.6173184,"latitude_deg":8.8757168,"altitude":16,"angle":97,"satellites":39,"speed":32,"hex_longitude":"2daae000","hex_latitude":"054a53b0","is_valid_coordinates":true} 
[2026-08-25 17:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640828160001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123869927718256640,"note":"Value kept but may cause issues"} 
[2026-08-25 17:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6138969219337277440,"note":"Value kept but may cause issues"} 
[2026-08-25 17:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787659491000,"timestamp_ms":1787659491000,"timestamp_seconds":1787659491,"priority":1,"record_length":96,"hex_timestamp":"000001a038cf16b8"} 
[2026-08-25 17:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-25 17:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640828160001,"66":13526,"34":206,"84":6144,"24":32,"16":123869927718256640,"45":-6138969219337277440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-08-25 17:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640828160001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:35:19] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-25 17:35:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123869927718256640,"km_value":123869927718256.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6138969219337277440,"description":"Unknown IO ID 45"} 
[2026-08-25 17:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640828160001,"power":13526,"unknown_34":206,"unknown_84":6144,"ignition":32,"odometer":null,"unknown_45":-6138969219337277440}} 
[2026-08-25 17:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":164480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:35:20] local.INFO: GPS data processed {"connection_id":164480,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:35:20] local.INFO: Acknowledgment sent {"connection_id":164480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:35:44] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:35:44] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:35:44] local.INFO: IMEI packet received {"connection_id":161853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":161853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:35:49] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:35:49] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:35:49] local.INFO: IMEI packet received {"connection_id":161853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":161853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:35:50] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:35:50] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:35:50] local.INFO: Packet analysis {"connection_id":161853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:35:50] local.INFO: Extracted packet for processing {"connection_id":161853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:35:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640741120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:35:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787659446000,"timestamp_ms":1787659446000,"timestamp_seconds":1787659446,"priority":1,"record_length":96,"hex_timestamp":"000001a038ce66f0"} 
[2026-08-25 17: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-25 17:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:35:50] 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-25 17: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-25 17: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-25 17:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:35: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-25 17:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640741120001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640741120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:35:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640741120001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":161853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:35:50] local.INFO: GPS data processed {"connection_id":161853,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:35:50] local.INFO: Acknowledgment sent {"connection_id":161853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:35:56] local.INFO: TCP Data received {"connection_id":162109,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:35:56] local.INFO: Processing buffer {"connection_id":162109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:35:56] local.INFO: IMEI packet received {"connection_id":162109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":162109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:35:58] local.INFO: TCP Data received {"connection_id":164481,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:35:58] local.INFO: Processing buffer {"connection_id":164481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:35:58] local.INFO: IMEI packet received {"connection_id":164481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":164481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:36:00] local.INFO: TCP Data received {"connection_id":164481,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:36:00] local.INFO: Processing buffer {"connection_id":164481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:36:00] local.INFO: IMEI packet received {"connection_id":164481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":164481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:36:01] local.INFO: TCP Data received {"connection_id":162109,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:36:01] local.INFO: Processing buffer {"connection_id":162109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:36:01] local.INFO: IMEI packet received {"connection_id":162109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":162109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:36:01] local.INFO: TCP Data received {"connection_id":162109,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038cf2e28012daaf2c0054a53100010005626..."} 
[2026-08-25 17:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cf2e28012daaf2c0054a53100010005626..."} 
[2026-08-25 17:36:01] local.INFO: Processing buffer {"connection_id":162109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cf2e28012daaf2c0054a53100010005626..."} 
[2026-08-25 17:36:01] local.INFO: Packet analysis {"connection_id":162109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:36:01] local.INFO: Extracted packet for processing {"connection_id":162109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:36:01] local.INFO: GPS Element Parsed {"raw_longitude":766177984,"raw_latitude":88757008,"longitude_deg":76.6177984,"latitude_deg":8.8757008,"altitude":16,"angle":86,"satellites":38,"speed":29,"hex_longitude":"2daaf2c0","hex_latitude":"054a5310","is_valid_coordinates":true} 
[2026-08-25 17:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640829696001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123870155351523328,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133902669756780544,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787659497000,"timestamp_ms":1787659497000,"timestamp_seconds":1787659497,"priority":1,"record_length":96,"hex_timestamp":"000001a038cf2e28"} 
[2026-08-25 17:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-25 17:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 17:36:01] 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-25 17:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640829696001,"66":13472,"35":206,"84":6144,"24":29,"16":123870155351523328,"45":-6133902669756780544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 17:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640829696001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:36:01] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 17:36:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123870155351523328,"km_value":123870155351523.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133902669756780544,"description":"Unknown IO ID 45"} 
[2026-08-25 17:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640829696001,"power":13472,"unknown_35":206,"unknown_84":6144,"ignition":29,"odometer":null,"unknown_45":-6133902669756780544}} 
[2026-08-25 17:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":162109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:36:01] local.INFO: GPS data processed {"connection_id":162109,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:36:01] local.INFO: Acknowledgment sent {"connection_id":162109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:36:03] local.INFO: TCP Data received {"connection_id":164481,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:36:03] local.INFO: Processing buffer {"connection_id":164481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:36:03] local.INFO: IMEI packet received {"connection_id":164481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":164481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:36:04] local.INFO: TCP Data received {"connection_id":164481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038cf8be8012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cf8be8012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:36:04] local.INFO: Processing buffer {"connection_id":164481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cf8be8012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:36:04] local.INFO: Packet analysis {"connection_id":164481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:36:04] local.INFO: Extracted packet for processing {"connection_id":164481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:36:04] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640831232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787659521000,"timestamp_ms":1787659521000,"timestamp_seconds":1787659521,"priority":1,"record_length":96,"hex_timestamp":"000001a038cf8be8"} 
[2026-08-25 17: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-25 17:36:04] 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-25 17: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-3605791203634749568,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2954625242645201152,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7713541147945336856,"corrected_to":0} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3489738015,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3221691829,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182014961254656,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":5332487818453241427,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2140546830449058853,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195033856,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503843533225984,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84758475905113524,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.WARNING: Large IO value detected {"io_id":40,"raw_value":21956242721211648,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,108,83,24,241,16,201,160,220,45,192,181,78,38,10,66,253,1,240,101,56,4,113,205,149,94,32,239,50,12,2,157,7,164,238,69,227,8,40],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7713541147945336856,"validated":0}]} 
[2026-08-25 17:36:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620800370012848128,"timestamp_seconds":5620800370012848.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17: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-25 17:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640831232001,"66":12776,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640831232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:36:04] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640831232001,"power":12776,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":164481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:36:04] local.INFO: GPS data processed {"connection_id":164481,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:36:04] local.INFO: Acknowledgment sent {"connection_id":164481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:36:06] local.INFO: TCP Data received {"connection_id":162109,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038cf6ca8012dab1780054a58480012004d22..."} 
[2026-08-25 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cf6ca8012dab1780054a58480012004d22..."} 
[2026-08-25 17:36:06] local.INFO: Processing buffer {"connection_id":162109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cf6ca8012dab1780054a58480012004d22..."} 
[2026-08-25 17:36:06] local.INFO: Packet analysis {"connection_id":162109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:36:06] local.INFO: Extracted packet for processing {"connection_id":162109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":766187392,"raw_latitude":88758344,"longitude_deg":76.6187392,"latitude_deg":8.8758344,"altitude":18,"angle":77,"satellites":34,"speed":23,"hex_longitude":"2dab1780","hex_latitude":"054a5848","is_valid_coordinates":true} 
[2026-08-25 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-25 17:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640831232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123870610618056704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6128625013943496704,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787659513000,"timestamp_ms":1787659513000,"timestamp_seconds":1787659513,"priority":1,"record_length":96,"hex_timestamp":"000001a038cf6ca8"} 
[2026-08-25 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-25 17:36: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-25 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 17:36: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-25 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-25 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-25 17:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640831232001,"66":13276,"35":206,"84":6144,"24":23,"16":123870610618056704,"45":-6128625013943496704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 17:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640831232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:36:06] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 17:36:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123870610618056704,"km_value":123870610618056.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6128625013943496704,"description":"Unknown IO ID 45"} 
[2026-08-25 17:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640831232001,"power":13276,"unknown_35":206,"unknown_84":6144,"ignition":23,"odometer":null,"unknown_45":-6128625013943496704}} 
[2026-08-25 17:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":162109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:36:06] local.INFO: GPS data processed {"connection_id":162109,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:36:06] local.INFO: Acknowledgment sent {"connection_id":162109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:36:21] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:36:21] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:36:21] local.INFO: Packet analysis {"connection_id":161853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:36:21] local.INFO: Extracted packet for processing {"connection_id":161853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640741120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787659446000,"timestamp_ms":1787659446000,"timestamp_seconds":1787659446,"priority":1,"record_length":96,"hex_timestamp":"000001a038ce66f0"} 
[2026-08-25 17: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-25 17:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:36:21] 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-25 17: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-25 17: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-25 17:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:36: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-25 17:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640741120001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640741120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:36:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640741120001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":161853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:36:21] local.INFO: GPS data processed {"connection_id":161853,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:36:21] local.INFO: Acknowledgment sent {"connection_id":161853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:36:35] local.INFO: TCP Data received {"connection_id":164481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038cfddf0012d1f5ec0071db510004e011829..."} 
[2026-08-25 17:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cfddf0012d1f5ec0071db510004e011829..."} 
[2026-08-25 17:36:35] local.INFO: Processing buffer {"connection_id":164481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cfddf0012d1f5ec0071db510004e011829..."} 
[2026-08-25 17:36:35] local.INFO: Packet analysis {"connection_id":164481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:36:35] local.INFO: Extracted packet for processing {"connection_id":164481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:36:35] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640837376001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787659542000,"timestamp_ms":1787659542000,"timestamp_seconds":1787659542,"priority":1,"record_length":96,"hex_timestamp":"000001a038cfddf0"} 
[2026-08-25 17: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-25 17:36:35] 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-25 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-25 17:36:35] 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-25 17: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-25 17: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-25 17:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640837376001,"66":12287,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640837376001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:36:35] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640837376001,"power":12287,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":164481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:36:35] local.INFO: GPS data processed {"connection_id":164481,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:36:35] local.INFO: Acknowledgment sent {"connection_id":164481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:36:39] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:36:39] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:36:39] local.INFO: IMEI packet received {"connection_id":161855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":161855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:36:41] local.INFO: TCP Data received {"connection_id":161854,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:36:41] local.INFO: Processing buffer {"connection_id":161854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:36:41] local.INFO: IMEI packet received {"connection_id":161854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":161854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:36:44] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:36:44] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:36:44] local.INFO: IMEI packet received {"connection_id":161855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":161855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:36:46] local.INFO: TCP Data received {"connection_id":161854,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:36:46] local.INFO: Processing buffer {"connection_id":161854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:36:46] local.INFO: IMEI packet received {"connection_id":161854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":161854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:36:46] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:36:46] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:36:46] local.INFO: Packet analysis {"connection_id":161855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:36:46] local.INFO: Extracted packet for processing {"connection_id":161855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640741120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787659446000,"timestamp_ms":1787659446000,"timestamp_seconds":1787659446,"priority":1,"record_length":96,"hex_timestamp":"000001a038ce66f0"} 
[2026-08-25 17:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:36:46] 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-25 17:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:36:46] 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-25 17:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640741120001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640741120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640741120001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":161855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:36:46] local.INFO: GPS data processed {"connection_id":161855,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:36:46] local.INFO: Acknowledgment sent {"connection_id":161855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:36:47] local.INFO: TCP Data received {"connection_id":161854,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038cfbac8012dab3b80054a60700018005526..."} 
[2026-08-25 17:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cfbac8012dab3b80054a60700018005526..."} 
[2026-08-25 17:36:47] local.INFO: Processing buffer {"connection_id":161854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cfbac8012dab3b80054a60700018005526..."} 
[2026-08-25 17:36:47] local.INFO: Packet analysis {"connection_id":161854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:36:47] local.INFO: Extracted packet for processing {"connection_id":161854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:36:47] local.INFO: GPS Element Parsed {"raw_longitude":766196608,"raw_latitude":88760432,"longitude_deg":76.6196608,"latitude_deg":8.8760432,"altitude":24,"angle":85,"satellites":38,"speed":22,"hex_longitude":"2dab3b80","hex_latitude":"054a6070","is_valid_coordinates":true} 
[2026-08-25 17:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640835328001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123871065884590080,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6118280808549038080,"note":"Value kept but may cause issues"} 
[2026-08-25 17:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787659533000,"timestamp_ms":1787659533000,"timestamp_seconds":1787659533,"priority":1,"record_length":96,"hex_timestamp":"000001a038cfbac8"} 
[2026-08-25 17:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:36: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-25 17:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 17:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640835328001,"66":13363,"35":206,"84":6144,"24":22,"16":123871065884590080,"45":-6118280808549038080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 17:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640835328001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:36:47] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 17:36:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123871065884590080,"km_value":123871065884590.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6118280808549038080,"description":"Unknown IO ID 45"} 
[2026-08-25 17:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640835328001,"power":13363,"unknown_35":206,"unknown_84":6144,"ignition":22,"odometer":null,"unknown_45":-6118280808549038080}} 
[2026-08-25 17:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":161854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:36:47] local.INFO: GPS data processed {"connection_id":161854,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:36:47] local.INFO: Acknowledgment sent {"connection_id":161854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:37:06] local.INFO: TCP Data received {"connection_id":164481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d02ff8012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d02ff8012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:37:06] local.INFO: Processing buffer {"connection_id":164481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d02ff8012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:37:06] local.INFO: Packet analysis {"connection_id":164481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d0"} 
[2026-08-25 17:37:06] local.INFO: Extracted packet for processing {"connection_id":164481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d0"} 
[2026-08-25 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 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-25 17:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640842752001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787659563000,"timestamp_ms":1787659563000,"timestamp_seconds":1787659563,"priority":1,"record_length":96,"hex_timestamp":"000001a038d02ff8"} 
[2026-08-25 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-25 17:37: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-25 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 17:37: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-25 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-25 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-25 17:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":164481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640842752001,"66":12765,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640842752001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:37:06] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640842752001,"power":12765,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":164481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:37:06] local.INFO: GPS data processed {"connection_id":164481,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:37:06] local.INFO: Acknowledgment sent {"connection_id":164481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:37:17] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:37:17] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:37:17] local.INFO: Packet analysis {"connection_id":161855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:37:17] local.INFO: Extracted packet for processing {"connection_id":161855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640741120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787659446000,"timestamp_ms":1787659446000,"timestamp_seconds":1787659446,"priority":1,"record_length":96,"hex_timestamp":"000001a038ce66f0"} 
[2026-08-25 17: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-25 17:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:37:17] 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-25 17: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-25 17: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-25 17:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640741120001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640741120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640741120001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":161855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:37:17] local.INFO: GPS data processed {"connection_id":161855,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:37:17] local.INFO: Acknowledgment sent {"connection_id":161855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:37:18] local.INFO: TCP Data received {"connection_id":161854,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038cff560012dab5f80054a64280018005526..."} 
[2026-08-25 17:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038cff560012dab5f80054a64280018005526..."} 
[2026-08-25 17:37:18] local.INFO: Processing buffer {"connection_id":161854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038cff560012dab5f80054a64280018005526..."} 
[2026-08-25 17:37:18] local.INFO: Packet analysis {"connection_id":161854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:37:18] local.INFO: Extracted packet for processing {"connection_id":161854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038cf"} 
[2026-08-25 17:37:18] local.INFO: GPS Element Parsed {"raw_longitude":766205824,"raw_latitude":88761384,"longitude_deg":76.6205824,"latitude_deg":8.8761384,"altitude":24,"angle":85,"satellites":38,"speed":18,"hex_longitude":"2dab5f80","hex_latitude":"054a6428","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640840448001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123871512561188864,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6108147709386919936,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787659548000,"timestamp_ms":1787659548000,"timestamp_seconds":1787659548,"priority":1,"record_length":96,"hex_timestamp":"000001a038cff560"} 
[2026-08-25 17: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-25 17:37: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-25 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 17:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640840448001,"66":13298,"35":206,"84":6144,"24":18,"16":123871512561188864,"45":-6108147709386919936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 17:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640840448001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:37:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 17:37:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123871512561188864,"km_value":123871512561188.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6108147709386919936,"description":"Unknown IO ID 45"} 
[2026-08-25 17:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640840448001,"power":13298,"unknown_35":206,"unknown_84":6144,"ignition":18,"odometer":null,"unknown_45":-6108147709386919936}} 
[2026-08-25 17:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":161854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:37:18] local.INFO: GPS data processed {"connection_id":161854,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:37:18] local.INFO: Acknowledgment sent {"connection_id":161854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:37:37] local.INFO: TCP Data received {"connection_id":164481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d08200012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d08200012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:37:37] local.INFO: Processing buffer {"connection_id":164481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d08200012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:37:37] local.INFO: Packet analysis {"connection_id":164481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d0"} 
[2026-08-25 17:37:37] local.INFO: Extracted packet for processing {"connection_id":164481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d0"} 
[2026-08-25 17:37:37] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 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-25 17:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640848128001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787659584000,"timestamp_ms":1787659584000,"timestamp_seconds":1787659584,"priority":1,"record_length":96,"hex_timestamp":"000001a038d08200"} 
[2026-08-25 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-25 17:37: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-25 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-25 17:37:37] 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-25 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-25 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-25 17:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640848128001,"66":12722,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640848128001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:37:37] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640848128001,"power":12722,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":164481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:37:37] local.INFO: GPS data processed {"connection_id":164481,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:37:37] local.INFO: Acknowledgment sent {"connection_id":164481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:37:38] local.INFO: TCP Data received {"connection_id":163109,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:37:38] local.INFO: Processing buffer {"connection_id":163109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:37:38] local.INFO: IMEI packet received {"connection_id":163109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":163109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:37:39] local.INFO: TCP Data received {"connection_id":163108,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:37:39] local.INFO: Processing buffer {"connection_id":163108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:37:39] local.INFO: IMEI packet received {"connection_id":163108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":163108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:37:41] local.INFO: TCP Data received {"connection_id":163109,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:37:41] local.INFO: Processing buffer {"connection_id":163109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:37:41] local.INFO: IMEI packet received {"connection_id":163109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":163109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:37:41] local.INFO: TCP Data received {"connection_id":163109,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:37:41] local.INFO: Processing buffer {"connection_id":163109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:37:41] local.INFO: IMEI packet received {"connection_id":163109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":163109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:37:45] local.INFO: TCP Data received {"connection_id":163108,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:37:45] local.INFO: Processing buffer {"connection_id":163108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:37:45] local.INFO: IMEI packet received {"connection_id":163108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":163108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:37:45] local.INFO: TCP Data received {"connection_id":163108,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:37:46] local.INFO: Processing buffer {"connection_id":163108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:37:46] local.INFO: Packet analysis {"connection_id":163108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:37:46] local.INFO: Extracted packet for processing {"connection_id":163108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640741120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787659446000,"timestamp_ms":1787659446000,"timestamp_seconds":1787659446,"priority":1,"record_length":96,"hex_timestamp":"000001a038ce66f0"} 
[2026-08-25 17:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:37:46] 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-25 17:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:37:46] 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-25 17:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640741120001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640741120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640741120001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":163108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:37:46] local.INFO: GPS data processed {"connection_id":163108,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:37:46] local.INFO: Acknowledgment sent {"connection_id":163108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:37:46] local.INFO: TCP Data received {"connection_id":163109,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:37:46] local.INFO: Processing buffer {"connection_id":163109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:37:46] local.INFO: IMEI packet received {"connection_id":163109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":163109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:37:47] local.INFO: TCP Data received {"connection_id":163109,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d04380012dab7c80054a6790001c005627..."} 
[2026-08-25 17:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d04380012dab7c80054a6790001c005627..."} 
[2026-08-25 17:37:47] local.INFO: Processing buffer {"connection_id":163109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d04380012dab7c80054a6790001c005627..."} 
[2026-08-25 17:37:47] local.INFO: Packet analysis {"connection_id":163109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d0"} 
[2026-08-25 17:37:47] local.INFO: Extracted packet for processing {"connection_id":163109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d0"} 
[2026-08-25 17:37:47] local.INFO: GPS Element Parsed {"raw_longitude":766213248,"raw_latitude":88762256,"longitude_deg":76.6213248,"latitude_deg":8.8762256,"altitude":28,"angle":86,"satellites":39,"speed":0,"hex_longitude":"2dab7c80","hex_latitude":"054a6790","is_valid_coordinates":true} 
[2026-08-25 17:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640844288001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123871873338441728,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6098014610225092608,"note":"Value kept but may cause issues"} 
[2026-08-25 17:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787659568000,"timestamp_ms":1787659568000,"timestamp_seconds":1787659568,"priority":1,"record_length":96,"hex_timestamp":"000001a038d04380"} 
[2026-08-25 17:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-25 17:37:47] 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-25 17:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640844288001,"66":13537,"119":206,"84":6144,"24":0,"16":123871873338441728,"45":-6098014610225092608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-25 17:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640844288001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:37:47] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-25 17:37:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123871873338441728,"km_value":123871873338441.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6098014610225092608,"description":"Unknown IO ID 45"} 
[2026-08-25 17:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640844288001,"power":13537,"unknown_119":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6098014610225092608}} 
[2026-08-25 17:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":163109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:37:47] local.INFO: GPS data processed {"connection_id":163109,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:37:47] local.INFO: Acknowledgment sent {"connection_id":163109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:38:08] local.INFO: TCP Data received {"connection_id":164481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d0d408012d1f5ec0071db510004e011824..."} 
[2026-08-25 17:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d0d408012d1f5ec0071db510004e011824..."} 
[2026-08-25 17:38:08] local.INFO: Processing buffer {"connection_id":164481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d0d408012d1f5ec0071db510004e011824..."} 
[2026-08-25 17:38:08] local.INFO: Packet analysis {"connection_id":164481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d0"} 
[2026-08-25 17:38:08] local.INFO: Extracted packet for processing {"connection_id":164481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d0"} 
[2026-08-25 17:38:08] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640853504001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787659605000,"timestamp_ms":1787659605000,"timestamp_seconds":1787659605,"priority":1,"record_length":96,"hex_timestamp":"000001a038d0d408"} 
[2026-08-25 17: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-25 17:38:08] 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-25 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 17:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640853504001,"66":12722,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640853504001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:38:08] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640853504001,"power":12722,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":164481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:38:08] local.INFO: GPS data processed {"connection_id":164481,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:38:08] local.INFO: Acknowledgment sent {"connection_id":164481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:38:18] local.INFO: TCP Data received {"connection_id":163108,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:38:18] local.INFO: Processing buffer {"connection_id":163108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:38:18] local.INFO: Packet analysis {"connection_id":163108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:38:18] local.INFO: Extracted packet for processing {"connection_id":163108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640741120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787659446000,"timestamp_ms":1787659446000,"timestamp_seconds":1787659446,"priority":1,"record_length":96,"hex_timestamp":"000001a038ce66f0"} 
[2026-08-25 17:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:38:18] 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-25 17:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:38:18] 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-25 17:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640741120001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640741120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640741120001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":163108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:38:18] local.INFO: GPS data processed {"connection_id":163108,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:38:18] local.INFO: Acknowledgment sent {"connection_id":163108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:38:18] local.INFO: TCP Data received {"connection_id":163109,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d1ed48012dac06c0054a7e500018002120..."} 
[2026-08-25 17:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d1ed48012dac06c0054a7e500018002120..."} 
[2026-08-25 17:38:18] local.INFO: Processing buffer {"connection_id":163109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d1ed48012dac06c0054a7e500018002120..."} 
[2026-08-25 17:38:18] local.INFO: Packet analysis {"connection_id":163109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d1"} 
[2026-08-25 17:38:18] local.INFO: Extracted packet for processing {"connection_id":163109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d1"} 
[2026-08-25 17:38:18] local.INFO: GPS Element Parsed {"raw_longitude":766248640,"raw_latitude":88768080,"longitude_deg":76.624864,"latitude_deg":8.876808,"altitude":24,"angle":33,"satellites":32,"speed":12,"hex_longitude":"2dac06c0","hex_latitude":"054a7e50","is_valid_coordinates":true} 
[2026-08-25 17:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640876800001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123873664339804160,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6051219395345385472,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787659677000,"timestamp_ms":1787659677000,"timestamp_seconds":1787659677,"priority":1,"record_length":96,"hex_timestamp":"000001a038d1ed48"} 
[2026-08-25 17:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:38: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-25 17:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 17:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640876800001,"66":13276,"73":206,"84":6144,"24":12,"16":123873664339804160,"45":-6051219395345385472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,84,24,16,45]} 
[2026-08-25 17:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640876800001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:38:18] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-25 17:38:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123873664339804160,"km_value":123873664339804.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6051219395345385472,"description":"Unknown IO ID 45"} 
[2026-08-25 17:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640876800001,"power":13276,"unknown_73":206,"unknown_84":6144,"ignition":12,"odometer":null,"unknown_45":-6051219395345385472}} 
[2026-08-25 17:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":163109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:38:18] local.INFO: GPS data processed {"connection_id":163109,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:38:18] local.INFO: Acknowledgment sent {"connection_id":163109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:38:39] local.INFO: TCP Data received {"connection_id":163110,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:38:39] local.INFO: Processing buffer {"connection_id":163110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:38:39] local.INFO: IMEI packet received {"connection_id":163110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":163110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:38:39] local.INFO: TCP Data received {"connection_id":164481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d12610012d1f5ec0071db510004e011823..."} 
[2026-08-25 17:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d12610012d1f5ec0071db510004e011823..."} 
[2026-08-25 17:38:39] local.INFO: Processing buffer {"connection_id":164481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d12610012d1f5ec0071db510004e011823..."} 
[2026-08-25 17:38:39] local.INFO: Packet analysis {"connection_id":164481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d1"} 
[2026-08-25 17:38:39] local.INFO: Extracted packet for processing {"connection_id":164481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d1"} 
[2026-08-25 17:38:39] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640858880001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787659626000,"timestamp_ms":1787659626000,"timestamp_seconds":1787659626,"priority":1,"record_length":96,"hex_timestamp":"000001a038d12610"} 
[2026-08-25 17: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-25 17:38:39] 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-25 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 17:38:39] 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-25 17: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-25 17: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-25 17:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640858880001,"66":12645,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640858880001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:38:39] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:38:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640858880001,"power":12645,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":164481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:38:40] local.INFO: GPS data processed {"connection_id":164481,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:38:40] local.INFO: Acknowledgment sent {"connection_id":164481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:38:44] local.INFO: TCP Data received {"connection_id":163110,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:38:44] local.INFO: Processing buffer {"connection_id":163110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:38:44] local.INFO: IMEI packet received {"connection_id":163110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":163110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:38:45] local.INFO: TCP Data received {"connection_id":163110,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:38:45] local.INFO: Processing buffer {"connection_id":163110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:38:45] local.INFO: Packet analysis {"connection_id":163110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:38:45] local.INFO: Extracted packet for processing {"connection_id":163110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640741120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787659446000,"timestamp_ms":1787659446000,"timestamp_seconds":1787659446,"priority":1,"record_length":96,"hex_timestamp":"000001a038ce66f0"} 
[2026-08-25 17:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:38:45] 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-25 17:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640741120001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640741120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640741120001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":163110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:38:45] local.INFO: GPS data processed {"connection_id":163110,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:38:45] local.INFO: Acknowledgment sent {"connection_id":163110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:39:11] local.INFO: TCP Data received {"connection_id":164481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d17818012d1f5ec0071db510004e01181e..."} 
[2026-08-25 17:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d17818012d1f5ec0071db510004e01181e..."} 
[2026-08-25 17:39:11] local.INFO: Processing buffer {"connection_id":164481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d17818012d1f5ec0071db510004e01181e..."} 
[2026-08-25 17:39:11] local.INFO: Packet analysis {"connection_id":164481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d1"} 
[2026-08-25 17:39:11] local.INFO: Extracted packet for processing {"connection_id":164481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d1"} 
[2026-08-25 17:39:11] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":30,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 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-25 17:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640864256001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787659647000,"timestamp_ms":1787659647000,"timestamp_seconds":1787659647,"priority":1,"record_length":96,"hex_timestamp":"000001a038d17818"} 
[2026-08-25 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-25 17:39: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-25 17:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-25 17:39: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-25 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-25 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-25 17:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640864256001,"66":12689,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640864256001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:39:11] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640864256001,"power":12689,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":164481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:39:11] local.INFO: GPS data processed {"connection_id":164481,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:39:11] local.INFO: Acknowledgment sent {"connection_id":164481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:39:14] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:39:14] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:39:14] local.INFO: IMEI packet received {"connection_id":161857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":161857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:39:15] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:39:15] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:39:15] local.INFO: IMEI packet received {"connection_id":161857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":161857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:39:19] local.INFO: TCP Data received {"connection_id":163110,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:39:19] local.INFO: Processing buffer {"connection_id":163110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ce66f0012d34c14006aa4818000b00e62b..."} 
[2026-08-25 17:39:19] local.INFO: Packet analysis {"connection_id":163110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:39:19] local.INFO: Extracted packet for processing {"connection_id":163110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ce"} 
[2026-08-25 17:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640741120001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787659446000,"timestamp_ms":1787659446000,"timestamp_seconds":1787659446,"priority":1,"record_length":96,"hex_timestamp":"000001a038ce66f0"} 
[2026-08-25 17:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:39: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-25 17:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:39:19] 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-25 17:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640741120001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640741120001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640741120001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":163110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:39:19] local.INFO: GPS data processed {"connection_id":163110,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:39:19] local.INFO: Acknowledgment sent {"connection_id":163110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:39:20] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:39:20] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:39:20] local.INFO: IMEI packet received {"connection_id":161857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":161857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:39:21] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2a4e0012dac2c40054ab1b80010004424..."} 
[2026-08-25 17:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2a4e0012dac2c40054ab1b80010004424..."} 
[2026-08-25 17:39:21] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2a4e0012dac2c40054ab1b80010004424..."} 
[2026-08-25 17:39:21] local.INFO: Packet analysis {"connection_id":161857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:39:21] local.INFO: Extracted packet for processing {"connection_id":161857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:39:21] local.INFO: GPS Element Parsed {"raw_longitude":766258240,"raw_latitude":88781240,"longitude_deg":76.625824,"latitude_deg":8.878124,"altitude":16,"angle":68,"satellites":36,"speed":15,"hex_longitude":"2dac2c40","hex_latitude":"054ab1b8","is_valid_coordinates":true} 
[2026-08-25 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-25 17:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640889088001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123874579167838208,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6040804821203617792,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787659724000,"timestamp_ms":1787659724000,"timestamp_seconds":1787659724,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2a4e0"} 
[2026-08-25 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-25 17:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 17:39:21] 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-25 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-25 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-25 17:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640889088001,"66":13254,"73":206,"84":6144,"24":15,"16":123874579167838208,"45":-6040804821203617792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,84,24,16,45]} 
[2026-08-25 17:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640889088001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:39:21] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-25 17:39:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123874579167838208,"km_value":123874579167838.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6040804821203617792,"description":"Unknown IO ID 45"} 
[2026-08-25 17:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640889088001,"power":13254,"unknown_73":206,"unknown_84":6144,"ignition":15,"odometer":null,"unknown_45":-6040804821203617792}} 
[2026-08-25 17:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":161857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:39:21] local.INFO: GPS data processed {"connection_id":161857,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:39:21] local.INFO: Acknowledgment sent {"connection_id":161857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:39:43] local.INFO: TCP Data received {"connection_id":164481,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d1ca20012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d1ca20012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:39:43] local.INFO: Processing buffer {"connection_id":164481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d1ca20012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:39:43] local.INFO: Packet analysis {"connection_id":164481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d1"} 
[2026-08-25 17:39:43] local.INFO: Extracted packet for processing {"connection_id":164481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d1"} 
[2026-08-25 17:39:43] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640869632001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787659668000,"timestamp_ms":1787659668000,"timestamp_seconds":1787659668,"priority":1,"record_length":96,"hex_timestamp":"000001a038d1ca20"} 
[2026-08-25 17:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:39:43] 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-25 17:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-25 17:39:43] 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-25 17:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640869632001,"66":12645,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640869632001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:39:43] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:39:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640869632001,"power":12645,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":164481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:39:43] local.INFO: GPS data processed {"connection_id":164481,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:39:43] local.INFO: Acknowledgment sent {"connection_id":164481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:39:44] local.INFO: TCP Data received {"connection_id":164483,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:39:44] local.INFO: Processing buffer {"connection_id":164483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:39:44] local.INFO: IMEI packet received {"connection_id":164483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":164483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:39:45] local.INFO: TCP Data received {"connection_id":164483,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:39:45] local.INFO: Processing buffer {"connection_id":164483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:39:45] local.INFO: IMEI packet received {"connection_id":164483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":164483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:39:46] local.INFO: TCP Data received {"connection_id":164483,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:39:46] local.INFO: Processing buffer {"connection_id":164483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:39:46] local.INFO: Packet analysis {"connection_id":164483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:39:46] local.INFO: Extracted packet for processing {"connection_id":164483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640818176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787659747000,"timestamp_ms":1787659747000,"timestamp_seconds":1787659747,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2feb8"} 
[2026-08-25 17:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:39:46] 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-25 17:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640818176001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640818176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640818176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":164483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:39:46] local.INFO: GPS data processed {"connection_id":164483,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:39:46] local.INFO: Acknowledgment sent {"connection_id":164483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:39:52] local.INFO: TCP Data received {"connection_id":164483,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:39:52] local.INFO: Processing buffer {"connection_id":164483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:39:52] local.INFO: Packet analysis {"connection_id":164483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:39:52] local.INFO: Extracted packet for processing {"connection_id":164483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640818176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787659747000,"timestamp_ms":1787659747000,"timestamp_seconds":1787659747,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2feb8"} 
[2026-08-25 17: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-25 17:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:39:52] 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-25 17: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-25 17: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-25 17:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:39:52] 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-25 17:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640818176001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640818176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640818176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":164483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:39:52] local.INFO: GPS data processed {"connection_id":164483,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:39:52] local.INFO: Acknowledgment sent {"connection_id":164483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:40:20] local.INFO: TCP Data received {"connection_id":163112,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:20] local.INFO: Processing buffer {"connection_id":163112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:20] local.INFO: IMEI packet received {"connection_id":163112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":163112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:40:21] local.INFO: TCP Data received {"connection_id":163112,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:21] local.INFO: Processing buffer {"connection_id":163112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:21] local.INFO: IMEI packet received {"connection_id":163112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":163112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:40:23] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:40:23] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:40:23] local.INFO: IMEI packet received {"connection_id":162111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":162111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:40:24] local.INFO: TCP Data received {"connection_id":164483,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:40:24] local.INFO: Processing buffer {"connection_id":164483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:40:24] local.INFO: Packet analysis {"connection_id":164483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:40:24] local.INFO: Extracted packet for processing {"connection_id":164483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640818176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787659747000,"timestamp_ms":1787659747000,"timestamp_seconds":1787659747,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2feb8"} 
[2026-08-25 17: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-25 17:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:40:24] 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-25 17:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640818176001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640818176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640818176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":164483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:40:24] local.INFO: GPS data processed {"connection_id":164483,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:40:24] local.INFO: Acknowledgment sent {"connection_id":164483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:40:25] local.INFO: TCP Data received {"connection_id":163112,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:25] local.INFO: Processing buffer {"connection_id":163112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:25] local.INFO: IMEI packet received {"connection_id":163112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":163112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:40:26] local.INFO: TCP Data received {"connection_id":163112,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d3dd60012dacf240054b04e0000f003a25..."} 
[2026-08-25 17:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d3dd60012dacf240054b04e0000f003a25..."} 
[2026-08-25 17:40:26] local.INFO: Processing buffer {"connection_id":163112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d3dd60012dacf240054b04e0000f003a25..."} 
[2026-08-25 17:40:26] local.INFO: Packet analysis {"connection_id":163112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d3"} 
[2026-08-25 17:40:26] local.INFO: Extracted packet for processing {"connection_id":163112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d3"} 
[2026-08-25 17:40:26] local.INFO: GPS Element Parsed {"raw_longitude":766308928,"raw_latitude":88802528,"longitude_deg":76.6308928,"latitude_deg":8.8802528,"altitude":15,"angle":58,"satellites":37,"speed":18,"hex_longitude":"2dacf240","hex_latitude":"054b04e0","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640908288001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123877435321090048,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5987957894320900096,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787659804000,"timestamp_ms":1787659804000,"timestamp_seconds":1787659804,"priority":1,"record_length":96,"hex_timestamp":"000001a038d3dd60"} 
[2026-08-25 17: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-25 17:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 17:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640908288001,"66":12613,"109":206,"84":6400,"24":18,"16":123877435321090048,"45":-5987957894320900096},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-08-25 17:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640908288001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:40:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 17:40:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123877435321090048,"km_value":123877435321090.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5987957894320900096,"description":"Unknown IO ID 45"} 
[2026-08-25 17:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640908288001,"power":12613,"unknown_109":206,"unknown_84":6400,"ignition":18,"odometer":null,"unknown_45":-5987957894320900096}} 
[2026-08-25 17:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":163112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:40:26] local.INFO: GPS data processed {"connection_id":163112,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:40:26] local.INFO: Acknowledgment sent {"connection_id":163112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:40:28] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:40:28] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:40:28] local.INFO: IMEI packet received {"connection_id":162111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":162111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:40:29] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d21c28012d1f5ec0071db510004e01182a..."} 
[2026-08-25 17:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d21c28012d1f5ec0071db510004e01182a..."} 
[2026-08-25 17:40:29] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d21c28012d1f5ec0071db510004e01182a..."} 
[2026-08-25 17:40:29] local.INFO: Packet analysis {"connection_id":162111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:40:29] local.INFO: Extracted packet for processing {"connection_id":162111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:40:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 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-25 17:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640875008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787659689000,"timestamp_ms":1787659689000,"timestamp_seconds":1787659689,"priority":1,"record_length":96,"hex_timestamp":"000001a038d21c28"} 
[2026-08-25 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-25 17:40:29] 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-25 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-25 17:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 17:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640875008001,"66":12406,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640875008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:40:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640875008001,"power":12406,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":162111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:40:29] local.INFO: GPS data processed {"connection_id":162111,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:40:29] local.INFO: Acknowledgment sent {"connection_id":162111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:40:40] local.INFO: TCP Data received {"connection_id":163111,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:40:40] local.INFO: Processing buffer {"connection_id":163111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:40:40] local.INFO: IMEI packet received {"connection_id":163111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":163111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:40:41] local.INFO: TCP Data received {"connection_id":163113,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:40:41] local.INFO: Processing buffer {"connection_id":163113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:40:41] local.INFO: IMEI packet received {"connection_id":163113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":163113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:40:44] local.INFO: TCP Data received {"connection_id":163113,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:40:44] local.INFO: Processing buffer {"connection_id":163113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:40:44] local.INFO: IMEI packet received {"connection_id":163113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":163113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:40:46] local.INFO: TCP Data received {"connection_id":163113,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:40:46] local.INFO: Processing buffer {"connection_id":163113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:40:46] local.INFO: Packet analysis {"connection_id":163113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:40:46] local.INFO: Extracted packet for processing {"connection_id":163113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640818176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787659747000,"timestamp_ms":1787659747000,"timestamp_seconds":1787659747,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2feb8"} 
[2026-08-25 17:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640818176001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640818176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640818176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":163113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:40:46] local.INFO: GPS data processed {"connection_id":163113,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:40:46] local.INFO: Acknowledgment sent {"connection_id":163113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:40:47] local.INFO: TCP Data received {"connection_id":162112,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:47] local.INFO: Processing buffer {"connection_id":162112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:47] local.INFO: IMEI packet received {"connection_id":162112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":162112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:40:50] local.INFO: TCP Data received {"connection_id":163113,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:40:50] local.INFO: Processing buffer {"connection_id":163113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:40:50] local.INFO: Packet analysis {"connection_id":163113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:40:50] local.INFO: Extracted packet for processing {"connection_id":163113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640818176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787659747000,"timestamp_ms":1787659747000,"timestamp_seconds":1787659747,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2feb8"} 
[2026-08-25 17: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-25 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:40: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-25 17: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-25 17: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-25 17:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:40: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-25 17:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640818176001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640818176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:40:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640818176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":163113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:40:50] local.INFO: GPS data processed {"connection_id":163113,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:40:50] local.INFO: Acknowledgment sent {"connection_id":163113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:40:51] local.INFO: TCP Data received {"connection_id":162112,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:51] local.INFO: Processing buffer {"connection_id":162112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:51] local.INFO: IMEI packet received {"connection_id":162112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":162112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:40:56] local.INFO: TCP Data received {"connection_id":162112,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:56] local.INFO: Processing buffer {"connection_id":162112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:40:56] local.INFO: IMEI packet received {"connection_id":162112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":162112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:40:56] local.INFO: TCP Data received {"connection_id":162112,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d3e148012dacf340054b0610000f002727..."} 
[2026-08-25 17:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d3e148012dacf340054b0610000f002727..."} 
[2026-08-25 17:40:56] local.INFO: Processing buffer {"connection_id":162112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d3e148012dacf340054b0610000f002727..."} 
[2026-08-25 17:40:56] local.INFO: Packet analysis {"connection_id":162112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d3"} 
[2026-08-25 17:40:56] local.INFO: Extracted packet for processing {"connection_id":162112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d3"} 
[2026-08-25 17:40:56] local.INFO: GPS Element Parsed {"raw_longitude":766309184,"raw_latitude":88802832,"longitude_deg":76.6309184,"latitude_deg":8.8802832,"altitude":15,"angle":39,"satellites":39,"speed":17,"hex_longitude":"2dacf340","hex_latitude":"054b0610","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640909824001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123877452500959232,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5984650563344343040,"note":"Value kept but may cause issues"} 
[2026-08-25 17:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787659805000,"timestamp_ms":1787659805000,"timestamp_seconds":1787659805,"priority":1,"record_length":96,"hex_timestamp":"000001a038d3e148"} 
[2026-08-25 17: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-25 17:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-25 17:40:56] 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-25 17: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-25 17: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-25 17:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640909824001,"66":12906,"109":206,"84":6400,"24":17,"16":123877452500959232,"45":-5984650563344343040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-08-25 17:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640909824001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:40:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 17:40:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123877452500959232,"km_value":123877452500959.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5984650563344343040,"description":"Unknown IO ID 45"} 
[2026-08-25 17:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640909824001,"power":12906,"unknown_109":206,"unknown_84":6400,"ignition":17,"odometer":null,"unknown_45":-5984650563344343040}} 
[2026-08-25 17:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":162112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:40:56] local.INFO: GPS data processed {"connection_id":162112,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:40:56] local.INFO: Acknowledgment sent {"connection_id":162112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:41:01] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d26e30012d1f5ec0071db510004e011829..."} 
[2026-08-25 17:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d26e30012d1f5ec0071db510004e011829..."} 
[2026-08-25 17:41:01] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d26e30012d1f5ec0071db510004e011829..."} 
[2026-08-25 17:41:01] local.INFO: Packet analysis {"connection_id":162111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:41:01] local.INFO: Extracted packet for processing {"connection_id":162111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:41:01] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640880384001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787659710000,"timestamp_ms":1787659710000,"timestamp_seconds":1787659710,"priority":1,"record_length":96,"hex_timestamp":"000001a038d26e30"} 
[2026-08-25 17:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:41:01] 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-25 17:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640880384001,"66":12645,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640880384001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:41:01] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640880384001,"power":12645,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":162111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:41:01] local.INFO: GPS data processed {"connection_id":162111,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:41:01] local.INFO: Acknowledgment sent {"connection_id":162111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:41:05] local.INFO: TCP Data received {"connection_id":163114,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:41:05] local.INFO: Processing buffer {"connection_id":163114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:41:05] local.INFO: IMEI packet received {"connection_id":163114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":163114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:41:21] local.INFO: TCP Data received {"connection_id":163113,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:41:21] local.INFO: Processing buffer {"connection_id":163113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:41:21] local.INFO: Packet analysis {"connection_id":163113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:41:21] local.INFO: Extracted packet for processing {"connection_id":163113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640818176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787659747000,"timestamp_ms":1787659747000,"timestamp_seconds":1787659747,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2feb8"} 
[2026-08-25 17: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-25 17:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:41: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-25 17: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-25 17: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-25 17:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:41: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-25 17:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640818176001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640818176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:41:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640818176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":163113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:41:21] local.INFO: GPS data processed {"connection_id":163113,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:41:21] local.INFO: Acknowledgment sent {"connection_id":163113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:41:32] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2c038012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2c038012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:41:32] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2c038012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:41:32] local.INFO: Packet analysis {"connection_id":162111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:41:32] local.INFO: Extracted packet for processing {"connection_id":162111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:41:32] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640885760001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787659731000,"timestamp_ms":1787659731000,"timestamp_seconds":1787659731,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2c038"} 
[2026-08-25 17:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:41:32] 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-25 17:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-25 17:41:32] 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-25 17:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640885760001,"66":12558,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640885760001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640885760001,"power":12558,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":162111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:41:32] local.INFO: GPS data processed {"connection_id":162111,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:41:32] local.INFO: Acknowledgment sent {"connection_id":162111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:41:39] local.INFO: TCP Data received {"connection_id":163115,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:41:39] local.INFO: Processing buffer {"connection_id":163115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:41:39] local.INFO: IMEI packet received {"connection_id":163115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":163115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:41:40] local.INFO: TCP Data received {"connection_id":162114,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:41:40] local.INFO: Processing buffer {"connection_id":162114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:41:40] local.INFO: IMEI packet received {"connection_id":162114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":162114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:41:44] local.INFO: TCP Data received {"connection_id":162114,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:41:44] local.INFO: Processing buffer {"connection_id":162114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:41:44] local.INFO: IMEI packet received {"connection_id":162114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":162114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:41:45] local.INFO: TCP Data received {"connection_id":162114,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d4b438012dacec40054bab480007016325..."} 
[2026-08-25 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d4b438012dacec40054bab480007016325..."} 
[2026-08-25 17:41:45] local.INFO: Processing buffer {"connection_id":162114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d4b438012dacec40054bab480007016325..."} 
[2026-08-25 17:41:45] local.INFO: Packet analysis {"connection_id":162114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:41:45] local.INFO: Extracted packet for processing {"connection_id":162114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":766307392,"raw_latitude":88845128,"longitude_deg":76.6307392,"latitude_deg":8.8845128,"altitude":7,"angle":355,"satellites":37,"speed":35,"hex_longitude":"2dacec40","hex_latitude":"054bab48","is_valid_coordinates":true} 
[2026-08-25 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640923392001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123879578509770752,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5986057938217420800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787659859000,"timestamp_ms":1787659859000,"timestamp_seconds":1787659859,"priority":1,"record_length":96,"hex_timestamp":"000001a038d4b438"} 
[2026-08-25 17:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 17:41:45] 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-25 17:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640923392001,"66":12374,"109":206,"84":6400,"24":35,"16":123879578509770752,"45":-5986057938217420800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-08-25 17:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640923392001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:41:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 17:41:45] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123879578509770752,"km_value":123879578509770.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5986057938217420800,"description":"Unknown IO ID 45"} 
[2026-08-25 17:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640923392001,"power":12374,"unknown_109":206,"unknown_84":6400,"ignition":35,"odometer":null,"unknown_45":-5986057938217420800}} 
[2026-08-25 17:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":162114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:41:45] local.INFO: GPS data processed {"connection_id":162114,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:41:45] local.INFO: Acknowledgment sent {"connection_id":162114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:41:46] local.INFO: TCP Data received {"connection_id":163115,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:41:46] local.INFO: Processing buffer {"connection_id":163115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:41:46] local.INFO: IMEI packet received {"connection_id":163115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":163115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:41:47] local.INFO: TCP Data received {"connection_id":163115,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:41:47] local.INFO: Processing buffer {"connection_id":163115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:41:47] local.INFO: Packet analysis {"connection_id":163115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:41:47] local.INFO: Extracted packet for processing {"connection_id":163115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640818176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787659747000,"timestamp_ms":1787659747000,"timestamp_seconds":1787659747,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2feb8"} 
[2026-08-25 17:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:41:47] 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-25 17:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640818176001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640818176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640818176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":163115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:41:47] local.INFO: GPS data processed {"connection_id":163115,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:41:47] local.INFO: Acknowledgment sent {"connection_id":163115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:42:03] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d31240012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d31240012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:42:03] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d31240012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:42:03] local.INFO: Packet analysis {"connection_id":162111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d3"} 
[2026-08-25 17:42:03] local.INFO: Extracted packet for processing {"connection_id":162111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d3"} 
[2026-08-25 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640891136001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787659752000,"timestamp_ms":1787659752000,"timestamp_seconds":1787659752,"priority":1,"record_length":96,"hex_timestamp":"000001a038d31240"} 
[2026-08-25 17: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-25 17:42:03] 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-25 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-25 17:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":8193,"corrected_to":0} 
[2026-08-25 17:42:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3251421634830906640,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3387883520,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3037724750,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996933838,"corrected_to":0} 
[2026-08-25 17:42:03] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3221691829,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.WARNING: Large IO value detected {"io_id":59,"raw_value":7782447014725294080,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.WARNING: Large IO value detected {"io_id":46,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:03] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,108,83,24,241,157,16,201,160,110,45,192,181,78,41,10,66,28,42,202,1,240,101,227,56,29,4,113,205,38,94,35,239,49,2,7,59,46,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":202,"original":8193,"validated":0},{"io_id":205,"original":996933838,"validated":0}]} 
[2026-08-25 17:42:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620800344243044352,"timestamp_seconds":5620800344243044.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17: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-25 17:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640891136001,"66":12613,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640891136001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:42:03] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640891136001,"power":12613,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":162111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:42:03] local.INFO: GPS data processed {"connection_id":162111,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:42:03] local.INFO: Acknowledgment sent {"connection_id":162111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:42:16] local.INFO: TCP Data received {"connection_id":162114,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d4d760012daceb00054bd1580009016025..."} 
[2026-08-25 17:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d4d760012daceb00054bd1580009016025..."} 
[2026-08-25 17:42:16] local.INFO: Processing buffer {"connection_id":162114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d4d760012daceb00054bd1580009016025..."} 
[2026-08-25 17:42:16] local.INFO: Packet analysis {"connection_id":162114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:42:16] local.INFO: Extracted packet for processing {"connection_id":162114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:42:16] local.INFO: GPS Element Parsed {"raw_longitude":766307072,"raw_latitude":88854872,"longitude_deg":76.6307072,"latitude_deg":8.8854872,"altitude":9,"angle":352,"satellites":37,"speed":46,"hex_longitude":"2daceb00","hex_latitude":"054bd158","is_valid_coordinates":true} 
[2026-08-25 17:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640923904001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123880055251140608,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5986339413193701376,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787659868000,"timestamp_ms":1787659868000,"timestamp_seconds":1787659868,"priority":1,"record_length":96,"hex_timestamp":"000001a038d4d760"} 
[2026-08-25 17:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 17:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640923904001,"66":13493,"109":206,"84":6400,"24":46,"16":123880055251140608,"45":-5986339413193701376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-08-25 17:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640923904001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:42:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 17:42:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123880055251140608,"km_value":123880055251140.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5986339413193701376,"description":"Unknown IO ID 45"} 
[2026-08-25 17:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640923904001,"power":13493,"unknown_109":206,"unknown_84":6400,"ignition":46,"odometer":null,"unknown_45":-5986339413193701376}} 
[2026-08-25 17:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":162114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:42:16] local.INFO: GPS data processed {"connection_id":162114,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:42:16] local.INFO: Acknowledgment sent {"connection_id":162114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:42:19] local.INFO: TCP Data received {"connection_id":163115,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:42:19] local.INFO: Processing buffer {"connection_id":163115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:42:19] local.INFO: Packet analysis {"connection_id":163115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:42:19] local.INFO: Extracted packet for processing {"connection_id":163115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640818176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787659747000,"timestamp_ms":1787659747000,"timestamp_seconds":1787659747,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2feb8"} 
[2026-08-25 17:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640818176001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640818176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:42:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640818176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":163115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:42:19] local.INFO: GPS data processed {"connection_id":163115,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:42:19] local.INFO: Acknowledgment sent {"connection_id":163115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:42:23] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:42:23] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:42:23] local.INFO: IMEI packet received {"connection_id":161858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":161858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:42:28] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:42:28] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:42:28] local.INFO: IMEI packet received {"connection_id":161858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":161858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:42:29] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d36448012d1f5ec0071db510004e011820..."} 
[2026-08-25 17:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d36448012d1f5ec0071db510004e011820..."} 
[2026-08-25 17:42:29] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d36448012d1f5ec0071db510004e011820..."} 
[2026-08-25 17:42:29] local.INFO: Packet analysis {"connection_id":161858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d3"} 
[2026-08-25 17:42:29] local.INFO: Extracted packet for processing {"connection_id":161858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d3"} 
[2026-08-25 17:42:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":32,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640896512001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787659773000,"timestamp_ms":1787659773000,"timestamp_seconds":1787659773,"priority":1,"record_length":96,"hex_timestamp":"000001a038d36448"} 
[2026-08-25 17:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:42:29] 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-25 17:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-25 17:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640896512001,"66":12558,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640896512001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:42:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:42:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640896512001,"power":12558,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":161858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:42:29] local.INFO: GPS data processed {"connection_id":161858,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:42:29] local.INFO: Acknowledgment sent {"connection_id":161858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:42:39] local.INFO: TCP Data received {"connection_id":164484,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:42:39] local.INFO: Processing buffer {"connection_id":164484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:42:39] local.INFO: IMEI packet received {"connection_id":164484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":164484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:42:41] local.INFO: TCP Data received {"connection_id":164485,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:42:41] local.INFO: Processing buffer {"connection_id":164485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:42:41] local.INFO: IMEI packet received {"connection_id":164485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":164485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:42:44] local.INFO: TCP Data received {"connection_id":164484,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:42:44] local.INFO: Processing buffer {"connection_id":164484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:42:44] local.INFO: IMEI packet received {"connection_id":164484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":164484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:42:45] local.INFO: TCP Data received {"connection_id":164484,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:42:45] local.INFO: Processing buffer {"connection_id":164484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:42:45] local.INFO: Packet analysis {"connection_id":164484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:42:45] local.INFO: Extracted packet for processing {"connection_id":164484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640818176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787659747000,"timestamp_ms":1787659747000,"timestamp_seconds":1787659747,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2feb8"} 
[2026-08-25 17:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640818176001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640818176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:42:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640818176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":164484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:42:46] local.INFO: GPS data processed {"connection_id":164484,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:42:46] local.INFO: Acknowledgment sent {"connection_id":164484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:42:46] local.INFO: TCP Data received {"connection_id":164485,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:42:46] local.INFO: Processing buffer {"connection_id":164485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:42:46] local.INFO: IMEI packet received {"connection_id":164485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":164485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:42:49] local.INFO: TCP Data received {"connection_id":164485,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d4f6a0012dace540054bf5600009016226..."} 
[2026-08-25 17:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d4f6a0012dace540054bf5600009016226..."} 
[2026-08-25 17:42:49] local.INFO: Processing buffer {"connection_id":164485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d4f6a0012dace540054bf5600009016226..."} 
[2026-08-25 17:42:49] local.INFO: Packet analysis {"connection_id":164485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:42:49] local.INFO: Extracted packet for processing {"connection_id":164485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:42:49] local.INFO: GPS Element Parsed {"raw_longitude":766305600,"raw_latitude":88864096,"longitude_deg":76.63056,"latitude_deg":8.8864096,"altitude":9,"angle":354,"satellites":38,"speed":43,"hex_longitude":"2dace540","hex_latitude":"054bf560","is_valid_coordinates":true} 
[2026-08-25 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-25 17:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640926208001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123880506222706688,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5986691256912095232,"note":"Value kept but may cause issues"} 
[2026-08-25 17:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787659876000,"timestamp_ms":1787659876000,"timestamp_seconds":1787659876,"priority":1,"record_length":96,"hex_timestamp":"000001a038d4f6a0"} 
[2026-08-25 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-25 17:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 17:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 17:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640926208001,"66":13406,"109":206,"84":6400,"24":43,"16":123880506222706688,"45":-5986691256912095232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-08-25 17:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640926208001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:42:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 17:42:49] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123880506222706688,"km_value":123880506222706.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5986691256912095232,"description":"Unknown IO ID 45"} 
[2026-08-25 17:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640926208001,"power":13406,"unknown_109":206,"unknown_84":6400,"ignition":43,"odometer":null,"unknown_45":-5986691256912095232}} 
[2026-08-25 17:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":164485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:42:49] local.INFO: GPS data processed {"connection_id":164485,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:42:49] local.INFO: Acknowledgment sent {"connection_id":164485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:43:00] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d3b650012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d3b650012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:43:00] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d3b650012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:43:00] local.INFO: Packet analysis {"connection_id":161858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d3"} 
[2026-08-25 17:43:00] local.INFO: Extracted packet for processing {"connection_id":161858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d3"} 
[2026-08-25 17:43:00] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640901888001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787659794000,"timestamp_ms":1787659794000,"timestamp_seconds":1787659794,"priority":1,"record_length":96,"hex_timestamp":"000001a038d3b650"} 
[2026-08-25 17:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:43:00] 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-25 17:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3251421634830906640,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3387883520,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3037724750,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996933838,"corrected_to":0} 
[2026-08-25 17:43:00] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":536947999,"corrected_to":0} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3221691829,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":59,"raw_value":7782447014725294080,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":47,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:00] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,108,83,24,241,157,16,201,160,18,45,192,181,78,39,10,66,34,110,1,240,101,227,56,29,4,113,205,202,94,40,239,49,2,7,59,47,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":996933838,"validated":0},{"io_id":202,"original":536947999,"validated":0}]} 
[2026-08-25 17:43:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620800335653109760,"timestamp_seconds":5620800335653110.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640901888001,"66":12580,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640901888001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:43:00] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:43:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640901888001,"power":12580,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":161858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:43:00] local.INFO: GPS data processed {"connection_id":161858,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:43:00] local.INFO: Acknowledgment sent {"connection_id":161858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:43:19] local.INFO: TCP Data received {"connection_id":164484,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:43:19] local.INFO: Processing buffer {"connection_id":164484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:43:19] local.INFO: Packet analysis {"connection_id":164484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:43:19] local.INFO: Extracted packet for processing {"connection_id":164484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640818176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787659747000,"timestamp_ms":1787659747000,"timestamp_seconds":1787659747,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2feb8"} 
[2026-08-25 17:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:43:19] 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-25 17:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640818176001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640818176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640818176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":164484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:43:19] local.INFO: GPS data processed {"connection_id":164484,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:43:19] local.INFO: Acknowledgment sent {"connection_id":164484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:43:20] local.INFO: TCP Data received {"connection_id":164485,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d519c8012dace540054c1bb0000a016625..."} 
[2026-08-25 17:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d519c8012dace540054c1bb0000a016625..."} 
[2026-08-25 17:43:20] local.INFO: Processing buffer {"connection_id":164485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d519c8012dace540054c1bb0000a016625..."} 
[2026-08-25 17:43:20] local.INFO: Packet analysis {"connection_id":164485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d5"} 
[2026-08-25 17:43:20] local.INFO: Extracted packet for processing {"connection_id":164485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d5"} 
[2026-08-25 17:43:20] local.INFO: GPS Element Parsed {"raw_longitude":766305600,"raw_latitude":88873904,"longitude_deg":76.63056,"latitude_deg":8.8873904,"altitude":10,"angle":358,"satellites":37,"speed":41,"hex_longitude":"2dace540","hex_latitude":"054c1bb0","is_valid_coordinates":true} 
[2026-08-25 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-25 17:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640928256001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123880982964076544,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5988309738025820160,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787659885000,"timestamp_ms":1787659885000,"timestamp_seconds":1787659885,"priority":1,"record_length":96,"hex_timestamp":"000001a038d519c8"} 
[2026-08-25 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-25 17:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 17:43:20] 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-25 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-25 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-25 17:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640928256001,"66":13428,"109":206,"84":6400,"24":41,"16":123880982964076544,"45":-5988309738025820160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-08-25 17:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640928256001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:43:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 17:43:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123880982964076544,"km_value":123880982964076.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5988309738025820160,"description":"Unknown IO ID 45"} 
[2026-08-25 17:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640928256001,"power":13428,"unknown_109":206,"unknown_84":6400,"ignition":41,"odometer":null,"unknown_45":-5988309738025820160}} 
[2026-08-25 17:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":164485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:43:20] local.INFO: GPS data processed {"connection_id":164485,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:43:20] local.INFO: Acknowledgment sent {"connection_id":164485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:43:23] local.INFO: TCP Data received {"connection_id":162115,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:43:23] local.INFO: Processing buffer {"connection_id":162115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:43:23] local.INFO: IMEI packet received {"connection_id":162115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":162115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:43:28] local.INFO: TCP Data received {"connection_id":162115,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:43:28] local.INFO: Processing buffer {"connection_id":162115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:43:28] local.INFO: IMEI packet received {"connection_id":162115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":162115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:43:29] local.INFO: TCP Data received {"connection_id":162115,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d40858012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d40858012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:43:29] local.INFO: Processing buffer {"connection_id":162115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d40858012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:43:29] local.INFO: Packet analysis {"connection_id":162115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:43:29] local.INFO: Extracted packet for processing {"connection_id":162115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:43:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640907264001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787659815000,"timestamp_ms":1787659815000,"timestamp_seconds":1787659815,"priority":1,"record_length":96,"hex_timestamp":"000001a038d40858"} 
[2026-08-25 17:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-25 17:43:29] 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-25 17:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640907264001,"66":12558,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640907264001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:43:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:43:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640907264001,"power":12558,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":162115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:43:29] local.INFO: GPS data processed {"connection_id":162115,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:43:29] local.INFO: Acknowledgment sent {"connection_id":162115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:43:39] local.INFO: TCP Data received {"connection_id":161859,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:43:39] local.INFO: Processing buffer {"connection_id":161859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:43:39] local.INFO: IMEI packet received {"connection_id":161859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":161859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:43:40] local.INFO: TCP Data received {"connection_id":163116,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:43:40] local.INFO: Processing buffer {"connection_id":163116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:43:40] local.INFO: IMEI packet received {"connection_id":163116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":163116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:43:43] local.INFO: TCP Data received {"connection_id":163116,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:43:43] local.INFO: Processing buffer {"connection_id":163116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:43:43] local.INFO: IMEI packet received {"connection_id":163116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":163116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:43:44] local.INFO: TCP Data received {"connection_id":161859,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:43:44] local.INFO: Processing buffer {"connection_id":161859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:43:44] local.INFO: IMEI packet received {"connection_id":161859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":161859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:43:46] local.INFO: TCP Data received {"connection_id":163116,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:43:46] local.INFO: Processing buffer {"connection_id":163116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:43:46] local.INFO: IMEI packet received {"connection_id":163116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":163116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:43:47] local.INFO: TCP Data received {"connection_id":163116,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d6cf48012dac7680054d6478000b014a1e..."} 
[2026-08-25 17:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d6cf48012dac7680054d6478000b014a1e..."} 
[2026-08-25 17:43:47] local.INFO: Processing buffer {"connection_id":163116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d6cf48012dac7680054d6478000b014a1e..."} 
[2026-08-25 17:43:47] local.INFO: Packet analysis {"connection_id":163116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d6"} 
[2026-08-25 17:43:47] local.INFO: Extracted packet for processing {"connection_id":163116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d6"} 
[2026-08-25 17:43:47] local.INFO: GPS Element Parsed {"raw_longitude":766277248,"raw_latitude":88958072,"longitude_deg":76.6277248,"latitude_deg":8.8958072,"altitude":11,"angle":330,"satellites":30,"speed":39,"hex_longitude":"2dac7680","hex_latitude":"054d6478","is_valid_coordinates":true} 
[2026-08-25 17:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640956928001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123885428255227904,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6014135067117144064,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787659997000,"timestamp_ms":1787659997000,"timestamp_seconds":1787659997,"priority":1,"record_length":96,"hex_timestamp":"000001a038d6cf48"} 
[2026-08-25 17:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 17:43:47] 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-25 17:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640956928001,"66":13059,"118":206,"84":6400,"24":39,"16":123885428255227904,"45":-6014135067117144064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-25 17:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640956928001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:43:47] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-25 17:43:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123885428255227904,"km_value":123885428255227.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6014135067117144064,"description":"Unknown IO ID 45"} 
[2026-08-25 17:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640956928001,"power":13059,"unknown_118":206,"unknown_84":6400,"ignition":39,"odometer":null,"unknown_45":-6014135067117144064}} 
[2026-08-25 17:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":163116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:43:47] local.INFO: GPS data processed {"connection_id":163116,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:43:47] local.INFO: Acknowledgment sent {"connection_id":163116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:43:48] local.INFO: TCP Data received {"connection_id":161859,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:43:48] local.INFO: Processing buffer {"connection_id":161859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:43:48] local.INFO: Packet analysis {"connection_id":161859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:43:48] local.INFO: Extracted packet for processing {"connection_id":161859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640818176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787659747000,"timestamp_ms":1787659747000,"timestamp_seconds":1787659747,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2feb8"} 
[2026-08-25 17:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:43:48] 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-25 17:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640818176001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640818176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:43:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640818176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":161859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:43:48] local.INFO: GPS data processed {"connection_id":161859,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:43:48] local.INFO: Acknowledgment sent {"connection_id":161859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:44:00] local.INFO: TCP Data received {"connection_id":162115,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d45a60012d1f5ec0071db510004e011823..."} 
[2026-08-25 17:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d45a60012d1f5ec0071db510004e011823..."} 
[2026-08-25 17:44:00] local.INFO: Processing buffer {"connection_id":162115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d45a60012d1f5ec0071db510004e011823..."} 
[2026-08-25 17:44:00] local.INFO: Packet analysis {"connection_id":162115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:44:00] local.INFO: Extracted packet for processing {"connection_id":162115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:44:00] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640912640001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787659836000,"timestamp_ms":1787659836000,"timestamp_seconds":1787659836,"priority":1,"record_length":96,"hex_timestamp":"000001a038d45a60"} 
[2026-08-25 17:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:44:00] 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-25 17:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3251421634830906640,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3387883520,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3037724750,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996933838,"corrected_to":0} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3221691829,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":59,"raw_value":7782447014725294080,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":47,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,108,83,24,241,157,16,201,160,182,45,192,181,78,38,10,66,100,32,18,1,240,69,227,56,29,4,113,205,110,94,41,239,49,2,7,59,47,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":996933838,"validated":0}]} 
[2026-08-25 17:44:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620800344243044352,"timestamp_seconds":5620800344243044.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640912640001,"66":12558,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640912640001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:44:00] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:44:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640912640001,"power":12558,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":162115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:44:01] local.INFO: GPS data processed {"connection_id":162115,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:44:01] local.INFO: Acknowledgment sent {"connection_id":162115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:44:19] local.INFO: TCP Data received {"connection_id":163116,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d6ee88012dac6d40054d73c8000c015a23..."} 
[2026-08-25 17:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d6ee88012dac6d40054d73c8000c015a23..."} 
[2026-08-25 17:44:19] local.INFO: Processing buffer {"connection_id":163116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d6ee88012dac6d40054d73c8000c015a23..."} 
[2026-08-25 17:44:19] local.INFO: Packet analysis {"connection_id":163116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d6"} 
[2026-08-25 17:44:19] local.INFO: Extracted packet for processing {"connection_id":163116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d6"} 
[2026-08-25 17:44:19] local.INFO: GPS Element Parsed {"raw_longitude":766274880,"raw_latitude":88961992,"longitude_deg":76.627488,"latitude_deg":8.8961992,"altitude":12,"angle":346,"satellites":35,"speed":7,"hex_longitude":"2dac6d40","hex_latitude":"054d73c8","is_valid_coordinates":true} 
[2026-08-25 17:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640959232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123885651593527296,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6019483091672467456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787660005000,"timestamp_ms":1787660005000,"timestamp_seconds":1787660005,"priority":1,"record_length":96,"hex_timestamp":"000001a038d6ee88"} 
[2026-08-25 17:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 17:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937473,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2898362373,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:19] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3595460609,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:19] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3823632392,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2171994318,"corrected_to":0} 
[2026-08-25 17:44:19] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3221572804,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802177,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:19] local.WARNING: Large IO value detected {"io_id":117,"raw_value":58076311554883593,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:19] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,118,84,24,241,157,16,33,160,172,45,128,67,12,32,10,66,144,36,31,113,64,1,240,62,227,56,76,4,205,30,210,248,38,239,50,117,2,184,5,9],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2171994318,"validated":0}]} 
[2026-08-25 17:44:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792996502105948160,"timestamp_seconds":792996502105948.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640959232001,"66":13178,"118":206,"84":6400,"24":7,"16":123885651593527296,"45":-6019483091672467456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-25 17:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640959232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:44:19] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-25 17:44:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123885651593527296,"km_value":123885651593527.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6019483091672467456,"description":"Unknown IO ID 45"} 
[2026-08-25 17:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640959232001,"power":13178,"unknown_118":206,"unknown_84":6400,"ignition":7,"odometer":null,"unknown_45":-6019483091672467456}} 
[2026-08-25 17:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":163116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:44:19] local.INFO: GPS data processed {"connection_id":163116,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:44:19] local.INFO: Acknowledgment sent {"connection_id":163116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:44:21] local.INFO: TCP Data received {"connection_id":161859,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:44:21] local.INFO: Processing buffer {"connection_id":161859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d2feb8012d34c14006aa4818000500e62c..."} 
[2026-08-25 17:44:21] local.INFO: Packet analysis {"connection_id":161859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:44:21] local.INFO: Extracted packet for processing {"connection_id":161859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d2"} 
[2026-08-25 17:44:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640818176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787659747000,"timestamp_ms":1787659747000,"timestamp_seconds":1787659747,"priority":1,"record_length":96,"hex_timestamp":"000001a038d2feb8"} 
[2026-08-25 17:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:44: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-25 17:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:44: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-25 17:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640818176001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640818176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:44:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640818176001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":161859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:44:21] local.INFO: GPS data processed {"connection_id":161859,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:44:21] local.INFO: Acknowledgment sent {"connection_id":161859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:44:28] local.INFO: TCP Data received {"connection_id":164486,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:44:28] local.INFO: Processing buffer {"connection_id":164486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:44:28] local.INFO: IMEI packet received {"connection_id":164486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":164486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:44:33] local.INFO: TCP Data received {"connection_id":164486,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:44:33] local.INFO: Processing buffer {"connection_id":164486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:44:33] local.INFO: IMEI packet received {"connection_id":164486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":164486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:44:34] local.INFO: TCP Data received {"connection_id":164486,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d4ac68012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d4ac68012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:44:34] local.INFO: Processing buffer {"connection_id":164486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d4ac68012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:44:34] local.INFO: Packet analysis {"connection_id":164486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:44:34] local.INFO: Extracted packet for processing {"connection_id":164486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:44:34] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640918016001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787659857000,"timestamp_ms":1787659857000,"timestamp_seconds":1787659857,"priority":1,"record_length":96,"hex_timestamp":"000001a038d4ac68"} 
[2026-08-25 17:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3251421634830906640,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3387883520,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3037724750,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996933838,"corrected_to":0} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3221691829,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":59,"raw_value":7782447014725294080,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,108,83,24,241,157,16,201,160,8,45,192,181,78,34,10,66,182,38,100,1,240,14,227,56,29,4,113,205,94,239,49,2,7,59,47,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":996933838,"validated":0}]} 
[2026-08-25 17:44:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620800348538011648,"timestamp_seconds":5620800348538012.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640918016001,"66":12504,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640918016001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:44:34] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640918016001,"power":12504,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":164486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:44:34] local.INFO: GPS data processed {"connection_id":164486,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:44:34] local.INFO: Acknowledgment sent {"connection_id":164486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:44:39] local.INFO: TCP Data received {"connection_id":164486,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d4fe70012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d4fe70012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:44:39] local.INFO: Processing buffer {"connection_id":164486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d4fe70012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:44:39] local.INFO: Packet analysis {"connection_id":164486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:44:39] local.INFO: Extracted packet for processing {"connection_id":164486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d4"} 
[2026-08-25 17:44:39] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640923392001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787659878000,"timestamp_ms":1787659878000,"timestamp_seconds":1787659878,"priority":1,"record_length":96,"hex_timestamp":"000001a038d4fe70"} 
[2026-08-25 17: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-25 17:44:39] 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-25 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 17:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640923392001,"66":12548,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640923392001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:44:39] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:44:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640923392001,"power":12548,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":164486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:44:39] local.INFO: GPS data processed {"connection_id":164486,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:44:39] local.INFO: Acknowledgment sent {"connection_id":164486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:44:40] local.INFO: TCP Data received {"connection_id":164488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:44:40] local.INFO: Processing buffer {"connection_id":164488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:44:40] local.INFO: IMEI packet received {"connection_id":164488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":164488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:44:44] local.INFO: TCP Data received {"connection_id":164487,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:44:44] local.INFO: Processing buffer {"connection_id":164487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:44:44] local.INFO: IMEI packet received {"connection_id":164487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":164487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:44:45] local.INFO: TCP Data received {"connection_id":164488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:44:45] local.INFO: Processing buffer {"connection_id":164488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:44:45] local.INFO: IMEI packet received {"connection_id":164488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":164488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:44:45] local.INFO: TCP Data received {"connection_id":164488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:44:45] local.INFO: Processing buffer {"connection_id":164488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:44:45] local.INFO: IMEI packet received {"connection_id":164488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":164488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:44:46] local.INFO: TCP Data received {"connection_id":164487,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:44:46] local.INFO: Processing buffer {"connection_id":164487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:44:46] local.INFO: IMEI packet received {"connection_id":164487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":164487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:44:46] local.INFO: TCP Data received {"connection_id":164488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d705f8012dac6bc0054d7828000f014e25..."} 
[2026-08-25 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d705f8012dac6bc0054d7828000f014e25..."} 
[2026-08-25 17:44:46] local.INFO: Processing buffer {"connection_id":164488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d705f8012dac6bc0054d7828000f014e25..."} 
[2026-08-25 17:44:46] local.INFO: Packet analysis {"connection_id":164488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:44:46] local.INFO: Extracted packet for processing {"connection_id":164488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:44:46] local.INFO: GPS Element Parsed {"raw_longitude":766274496,"raw_latitude":88963112,"longitude_deg":76.6274496,"latitude_deg":8.8963112,"altitude":15,"angle":334,"satellites":37,"speed":16,"hex_longitude":"2dac6bc0","hex_latitude":"054d7828","is_valid_coordinates":true} 
[2026-08-25 17:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640961280001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123885711723069440,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6022086735206037504,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787660011000,"timestamp_ms":1787660011000,"timestamp_seconds":1787660011,"priority":1,"record_length":96,"hex_timestamp":"000001a038d705f8"} 
[2026-08-25 17:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-25 17:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640961280001,"66":13363,"118":206,"84":6400,"24":16,"16":123885711723069440,"45":-6022086735206037504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-25 17:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640961280001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:44:46] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-25 17:44:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123885711723069440,"km_value":123885711723069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6022086735206037504,"description":"Unknown IO ID 45"} 
[2026-08-25 17:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640961280001,"power":13363,"unknown_118":206,"unknown_84":6400,"ignition":16,"odometer":null,"unknown_45":-6022086735206037504}} 
[2026-08-25 17:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":164488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:44:46] local.INFO: GPS data processed {"connection_id":164488,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:44:46] local.INFO: Acknowledgment sent {"connection_id":164488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:44:47] local.INFO: TCP Data received {"connection_id":164487,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:44:47] local.INFO: Processing buffer {"connection_id":164487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:44:47] local.INFO: Packet analysis {"connection_id":164487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:44:47] local.INFO: Extracted packet for processing {"connection_id":164487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640895232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787660048000,"timestamp_ms":1787660048000,"timestamp_seconds":1787660048,"priority":1,"record_length":96,"hex_timestamp":"000001a038d79680"} 
[2026-08-25 17:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:44:47] 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-25 17:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640895232001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640895232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640895232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":164487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:44:47] local.INFO: GPS data processed {"connection_id":164487,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:44:47] local.INFO: Acknowledgment sent {"connection_id":164487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:45:18] local.INFO: TCP Data received {"connection_id":164488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d730f0012dac6380054d8c38000f015925..."} 
[2026-08-25 17:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d730f0012dac6380054d8c38000f015925..."} 
[2026-08-25 17:45:18] local.INFO: Processing buffer {"connection_id":164488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d730f0012dac6380054d8c38000f015925..."} 
[2026-08-25 17:45:18] local.INFO: Packet analysis {"connection_id":164488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:45:18] local.INFO: Extracted packet for processing {"connection_id":164488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:45:18] local.INFO: GPS Element Parsed {"raw_longitude":766272384,"raw_latitude":88968248,"longitude_deg":76.6272384,"latitude_deg":8.8968248,"altitude":15,"angle":345,"satellites":37,"speed":14,"hex_longitude":"2dac6380","hex_latitude":"054d8c38","is_valid_coordinates":true} 
[2026-08-25 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-25 17:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640962816001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123885982306009088,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6022508947670816768,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787660022000,"timestamp_ms":1787660022000,"timestamp_seconds":1787660022,"priority":1,"record_length":96,"hex_timestamp":"000001a038d730f0"} 
[2026-08-25 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-25 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-25 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 17:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 17:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640962816001,"66":13059,"118":206,"84":6400,"24":14,"16":123885982306009088,"45":-6022508947670816768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-25 17:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640962816001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:45:18] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-25 17:45:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123885982306009088,"km_value":123885982306009.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6022508947670816768,"description":"Unknown IO ID 45"} 
[2026-08-25 17:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640962816001,"power":13059,"unknown_118":206,"unknown_84":6400,"ignition":14,"odometer":null,"unknown_45":-6022508947670816768}} 
[2026-08-25 17:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":164488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:45:18] local.INFO: GPS data processed {"connection_id":164488,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:45:18] local.INFO: Acknowledgment sent {"connection_id":164488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:45:18] local.INFO: TCP Data received {"connection_id":164487,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:45:18] local.INFO: Processing buffer {"connection_id":164487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:45:18] local.INFO: Packet analysis {"connection_id":164487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:45:18] local.INFO: Extracted packet for processing {"connection_id":164487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 17:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640895232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787660048000,"timestamp_ms":1787660048000,"timestamp_seconds":1787660048,"priority":1,"record_length":96,"hex_timestamp":"000001a038d79680"} 
[2026-08-25 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-25 17:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:45:18] 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-25 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-25 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-25 17:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640895232001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640895232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640895232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":164487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:45:18] local.INFO: GPS data processed {"connection_id":164487,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:45:18] local.INFO: Acknowledgment sent {"connection_id":164487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:45:23] local.INFO: TCP Data received {"connection_id":162116,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:45:23] local.INFO: Processing buffer {"connection_id":162116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:45:23] local.INFO: IMEI packet received {"connection_id":162116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":162116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:45:26] local.INFO: TCP Data received {"connection_id":162116,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:45:26] local.INFO: Processing buffer {"connection_id":162116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:45:26] local.INFO: IMEI packet received {"connection_id":162116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":162116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:45:27] local.INFO: TCP Data received {"connection_id":162116,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d55078012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d55078012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:45:27] local.INFO: Processing buffer {"connection_id":162116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d55078012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:45:27] local.INFO: Packet analysis {"connection_id":162116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d5"} 
[2026-08-25 17:45:27] local.INFO: Extracted packet for processing {"connection_id":162116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d5"} 
[2026-08-25 17:45:27] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640928768001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787659899000,"timestamp_ms":1787659899000,"timestamp_seconds":1787659899,"priority":1,"record_length":96,"hex_timestamp":"000001a038d55078"} 
[2026-08-25 17:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:45:27] 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-25 17:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 17:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:27] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:27] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3387883520,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:27] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3037724750,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996933838,"corrected_to":0} 
[2026-08-25 17:45:27] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3221691829,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:27] local.WARNING: Large IO value detected {"io_id":59,"raw_value":7782447014725294080,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:27] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,108,83,24,241,157,16,201,160,172,45,192,181,78,38,10,66,90,35,8,1,240,14,227,56,29,4,113,205,100,94,32,239,49,2,7,59],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":996933838,"validated":0}]} 
[2026-08-25 17:45:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620800361422913536,"timestamp_seconds":5620800361422914.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640928768001,"66":12526,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640928768001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:45:27] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:45:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640928768001,"power":12526,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":162116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:45:27] local.INFO: GPS data processed {"connection_id":162116,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:45:27] local.INFO: Acknowledgment sent {"connection_id":162116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:45:39] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:45:39] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:45:39] local.INFO: IMEI packet received {"connection_id":161860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":161860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:45:42] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:45:42] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:45:42] local.INFO: IMEI packet received {"connection_id":162117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":162117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:45:46] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:45:46] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:45:46] local.INFO: IMEI packet received {"connection_id":162117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":162117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:45:47] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:45:47] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:45:47] local.INFO: IMEI packet received {"connection_id":161860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":161860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:45:48] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:45:48] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:45:48] local.INFO: Packet analysis {"connection_id":161860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:45:48] local.INFO: Extracted packet for processing {"connection_id":161860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640895232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787660048000,"timestamp_ms":1787660048000,"timestamp_seconds":1787660048,"priority":1,"record_length":96,"hex_timestamp":"000001a038d79680"} 
[2026-08-25 17: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-25 17:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:45:48] 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-25 17: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-25 17: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-25 17:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:45: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-25 17:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640895232001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640895232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640895232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":161860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:45:48] local.INFO: GPS data processed {"connection_id":161860,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:45:48] local.INFO: Acknowledgment sent {"connection_id":161860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:45:50] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:45:50] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:45:50] local.INFO: IMEI packet received {"connection_id":162117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":162117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:45:51] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d74c48012dac60c0054d9680000f014e27..."} 
[2026-08-25 17:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d74c48012dac60c0054d9680000f014e27..."} 
[2026-08-25 17:45:51] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d74c48012dac60c0054d9680000f014e27..."} 
[2026-08-25 17:45:51] local.INFO: Packet analysis {"connection_id":162117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:45:51] local.INFO: Extracted packet for processing {"connection_id":162117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:45:51] local.INFO: GPS Element Parsed {"raw_longitude":766271680,"raw_latitude":88970880,"longitude_deg":76.627168,"latitude_deg":8.897088,"altitude":15,"angle":334,"satellites":39,"speed":22,"hex_longitude":"2dac60c0","hex_latitude":"054d9680","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640965632001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123886115449995264,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6024831116227364864,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787660029000,"timestamp_ms":1787660029000,"timestamp_seconds":1787660029,"priority":1,"record_length":96,"hex_timestamp":"000001a038d74c48"} 
[2026-08-25 17: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-25 17:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 17:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168297684353,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:51] local.WARNING: Large IO value detected {"io_id":118,"raw_value":58076311554883629,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:51] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3601604609,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2171994318,"corrected_to":0} 
[2026-08-25 17:45:51] local.WARNING: Large IO value detected {"io_id":144,"raw_value":3355520428,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:51] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2147831076,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:51] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407169,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:51] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,118,84,24,241,157,16,33,160,5,45,192,120,15,37,10,66,238,64,115,12,35,207,128,1,240,3,227,56,77,4,113,205,47,144,154,232,31,239,52,2,184],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2171994318,"validated":0}]} 
[2026-08-25 17:45:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081243400995209216,"timestamp_seconds":1081243400995209.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17: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-25 17:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640965632001,"66":13363,"118":206,"84":6400,"24":22,"16":123886115449995264,"45":-6024831116227364864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-25 17:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640965632001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:45:51] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-25 17:45:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123886115449995264,"km_value":123886115449995.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6024831116227364864,"description":"Unknown IO ID 45"} 
[2026-08-25 17:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640965632001,"power":13363,"unknown_118":206,"unknown_84":6400,"ignition":22,"odometer":null,"unknown_45":-6024831116227364864}} 
[2026-08-25 17:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":162117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:45:51] local.INFO: GPS data processed {"connection_id":162117,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:45:51] local.INFO: Acknowledgment sent {"connection_id":162117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:45:54] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d77b28012dac4d40054db788000e014927..."} 
[2026-08-25 17:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d77b28012dac4d40054db788000e014927..."} 
[2026-08-25 17:45:54] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d77b28012dac4d40054db788000e014927..."} 
[2026-08-25 17:45:54] local.INFO: Packet analysis {"connection_id":162117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:45:54] local.INFO: Extracted packet for processing {"connection_id":162117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:45:54] local.INFO: GPS Element Parsed {"raw_longitude":766266688,"raw_latitude":88979336,"longitude_deg":76.6266688,"latitude_deg":8.8979336,"altitude":14,"angle":329,"satellites":39,"speed":43,"hex_longitude":"2dac4d40","hex_latitude":"054db788","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640967424001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123886587896397824,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6025605172412645376,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787660041000,"timestamp_ms":1787660041000,"timestamp_seconds":1787660041,"priority":1,"record_length":96,"hex_timestamp":"000001a038d77b28"} 
[2026-08-25 17: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-25 17:45: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-25 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 17:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640967424001,"66":13319,"118":206,"84":6400,"24":43,"16":123886587896397824,"45":-6025605172412645376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-25 17:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640967424001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:45:54] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-25 17:45:54] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123886587896397824,"km_value":123886587896397.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6025605172412645376,"description":"Unknown IO ID 45"} 
[2026-08-25 17:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640967424001,"power":13319,"unknown_118":206,"unknown_84":6400,"ignition":43,"odometer":null,"unknown_45":-6025605172412645376}} 
[2026-08-25 17:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":162117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:45:54] local.INFO: GPS data processed {"connection_id":162117,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:45:54] local.INFO: Acknowledgment sent {"connection_id":162117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:45:58] local.INFO: TCP Data received {"connection_id":162116,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d5a280012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d5a280012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:45:58] local.INFO: Processing buffer {"connection_id":162116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d5a280012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:45:58] local.INFO: Packet analysis {"connection_id":162116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d5"} 
[2026-08-25 17:45:58] local.INFO: Extracted packet for processing {"connection_id":162116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d5"} 
[2026-08-25 17:45:58] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640934144001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787659920000,"timestamp_ms":1787659920000,"timestamp_seconds":1787659920,"priority":1,"record_length":96,"hex_timestamp":"000001a038d5a280"} 
[2026-08-25 17:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:45:58] 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-25 17:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 17:45:58] 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-25 17:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640934144001,"66":12526,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640934144001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:45:58] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640934144001,"power":12526,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":162116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:45:58] local.INFO: GPS data processed {"connection_id":162116,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:45:58] local.INFO: Acknowledgment sent {"connection_id":162116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:46:21] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:46:21] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:46:21] local.INFO: Packet analysis {"connection_id":161860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:46:21] local.INFO: Extracted packet for processing {"connection_id":161860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 17:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640895232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:46:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787660048000,"timestamp_ms":1787660048000,"timestamp_seconds":1787660048,"priority":1,"record_length":96,"hex_timestamp":"000001a038d79680"} 
[2026-08-25 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-25 17:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:46: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-25 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-25 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-25 17:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:46: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-25 17:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640895232001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640895232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:46:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640895232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":161860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:46:21] local.INFO: GPS data processed {"connection_id":161860,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:46:21] local.INFO: Acknowledgment sent {"connection_id":161860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:46:23] local.INFO: TCP Data received {"connection_id":162118,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:46:23] local.INFO: Processing buffer {"connection_id":162118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:46:23] local.INFO: IMEI packet received {"connection_id":162118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":162118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:46:25] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038d96758012dab71c0054f07300018014426..."} 
[2026-08-25 17:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d96758012dab71c0054f07300018014426..."} 
[2026-08-25 17:46:25] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d96758012dab71c0054f07300018014426..."} 
[2026-08-25 17:46:25] local.INFO: Packet analysis {"connection_id":162117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d9"} 
[2026-08-25 17:46:25] local.INFO: Extracted packet for processing {"connection_id":162117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d9"} 
[2026-08-25 17:46:25] local.INFO: GPS Element Parsed {"raw_longitude":766210496,"raw_latitude":89065264,"longitude_deg":76.6210496,"latitude_deg":8.9065264,"altitude":24,"angle":324,"satellites":38,"speed":54,"hex_longitude":"2dab71c0","hex_latitude":"054f0730","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641000960001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123891557173559296,"note":"Value kept but may cause issues"} 
[2026-08-25 17:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6086966717313339392,"note":"Value kept but may cause issues"} 
[2026-08-25 17:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787660167000,"timestamp_ms":1787660167000,"timestamp_seconds":1787660167,"priority":1,"record_length":96,"hex_timestamp":"000001a038d96758"} 
[2026-08-25 17: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-25 17:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-25 17:46:25] 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-25 17: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-25 17: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-25 17:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641000960001,"66":13363,"22":206,"84":6400,"24":54,"16":123891557173559296,"45":-6086966717313339392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,84,24,16,45]} 
[2026-08-25 17:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641000960001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:46:25] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-25 17:46:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123891557173559296,"km_value":123891557173559.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6086966717313339392,"description":"Unknown IO ID 45"} 
[2026-08-25 17:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641000960001,"power":13363,"unknown_22":206,"unknown_84":6400,"ignition":54,"odometer":null,"unknown_45":-6086966717313339392}} 
[2026-08-25 17:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":162117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:46:25] local.INFO: GPS data processed {"connection_id":162117,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:46:25] local.INFO: Acknowledgment sent {"connection_id":162117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:46:28] local.INFO: TCP Data received {"connection_id":162118,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:46:28] local.INFO: Processing buffer {"connection_id":162118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:46:28] local.INFO: IMEI packet received {"connection_id":162118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":162118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:46:29] local.INFO: TCP Data received {"connection_id":162118,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d5f488012d1f5ec0071db510004e011821..."} 
[2026-08-25 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d5f488012d1f5ec0071db510004e011821..."} 
[2026-08-25 17:46:29] local.INFO: Processing buffer {"connection_id":162118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d5f488012d1f5ec0071db510004e011821..."} 
[2026-08-25 17:46:29] local.INFO: Packet analysis {"connection_id":162118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d5"} 
[2026-08-25 17:46:29] local.INFO: Extracted packet for processing {"connection_id":162118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d5"} 
[2026-08-25 17:46:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":33,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640939520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787659941000,"timestamp_ms":1787659941000,"timestamp_seconds":1787659941,"priority":1,"record_length":96,"hex_timestamp":"000001a038d5f488"} 
[2026-08-25 17:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:46:29] 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-25 17:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 17:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640939520001,"66":12526,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640939520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:46:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640939520001,"power":12526,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":162118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:46:29] local.INFO: GPS data processed {"connection_id":162118,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:46:29] local.INFO: Acknowledgment sent {"connection_id":162118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:46:39] local.INFO: TCP Data received {"connection_id":163117,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:46:39] local.INFO: Processing buffer {"connection_id":163117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:46:39] local.INFO: IMEI packet received {"connection_id":163117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":163117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:46:44] local.INFO: TCP Data received {"connection_id":163117,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:46:44] local.INFO: Processing buffer {"connection_id":163117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:46:44] local.INFO: IMEI packet received {"connection_id":163117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":163117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:46:46] local.INFO: TCP Data received {"connection_id":163117,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:46:46] local.INFO: Processing buffer {"connection_id":163117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:46:46] local.INFO: Packet analysis {"connection_id":163117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:46:46] local.INFO: Extracted packet for processing {"connection_id":163117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640895232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:46:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787660048000,"timestamp_ms":1787660048000,"timestamp_seconds":1787660048,"priority":1,"record_length":96,"hex_timestamp":"000001a038d79680"} 
[2026-08-25 17:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640895232001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640895232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640895232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":163117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:46:46] local.INFO: GPS data processed {"connection_id":163117,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:46:46] local.INFO: Acknowledgment sent {"connection_id":163117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:47:01] local.INFO: TCP Data received {"connection_id":162118,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d64690012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d64690012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:47:01] local.INFO: Processing buffer {"connection_id":162118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d64690012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:47:01] local.INFO: Packet analysis {"connection_id":162118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d6"} 
[2026-08-25 17:47:01] local.INFO: Extracted packet for processing {"connection_id":162118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d6"} 
[2026-08-25 17:47:01] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640944896001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787659962000,"timestamp_ms":1787659962000,"timestamp_seconds":1787659962,"priority":1,"record_length":96,"hex_timestamp":"000001a038d64690"} 
[2026-08-25 17:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:47:01] 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-25 17:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 17:47:01] 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-25 17:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640944896001,"66":12504,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640944896001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:47:01] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640944896001,"power":12504,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":162118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:47:01] local.INFO: GPS data processed {"connection_id":162118,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:47:01] local.INFO: Acknowledgment sent {"connection_id":162118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:47:18] local.INFO: TCP Data received {"connection_id":163117,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:47:18] local.INFO: Processing buffer {"connection_id":163117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:47:18] local.INFO: Packet analysis {"connection_id":163117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:47:18] local.INFO: Extracted packet for processing {"connection_id":163117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640895232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787660048000,"timestamp_ms":1787660048000,"timestamp_seconds":1787660048,"priority":1,"record_length":96,"hex_timestamp":"000001a038d79680"} 
[2026-08-25 17:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:47:18] 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-25 17:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:47:18] 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-25 17:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640895232001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640895232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640895232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":163117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:47:18] local.INFO: GPS data processed {"connection_id":163117,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:47:18] local.INFO: Acknowledgment sent {"connection_id":163117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:47:23] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:47:23] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:47:23] local.INFO: IMEI packet received {"connection_id":161861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":161861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:47:28] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:47:28] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:47:28] local.INFO: IMEI packet received {"connection_id":161861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":161861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:47:29] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d69898012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d69898012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:47:29] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d69898012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:47:29] local.INFO: Packet analysis {"connection_id":161861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d6"} 
[2026-08-25 17:47:29] local.INFO: Extracted packet for processing {"connection_id":161861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d6"} 
[2026-08-25 17:47:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640950272001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787659983000,"timestamp_ms":1787659983000,"timestamp_seconds":1787659983,"priority":1,"record_length":96,"hex_timestamp":"000001a038d69898"} 
[2026-08-25 17:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:47:29] 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-25 17:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 17:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640950272001,"66":12461,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640950272001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:47:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640950272001,"power":12461,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":161861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:47:29] local.INFO: GPS data processed {"connection_id":161861,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:47:29] local.INFO: Acknowledgment sent {"connection_id":161861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:47:39] local.INFO: TCP Data received {"connection_id":163118,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:47:39] local.INFO: Processing buffer {"connection_id":163118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:47:39] local.INFO: IMEI packet received {"connection_id":163118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":163118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:47:40] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:47:40] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:47:40] local.INFO: IMEI packet received {"connection_id":161862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":161862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:47:44] local.INFO: TCP Data received {"connection_id":163118,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:47:44] local.INFO: Processing buffer {"connection_id":163118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:47:44] local.INFO: IMEI packet received {"connection_id":163118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":163118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:47:45] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:47:45] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:47:45] local.INFO: IMEI packet received {"connection_id":161862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":161862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:47:45] local.INFO: TCP Data received {"connection_id":163118,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:47:45] local.INFO: Processing buffer {"connection_id":163118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:47:45] local.INFO: Packet analysis {"connection_id":163118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:47:45] local.INFO: Extracted packet for processing {"connection_id":163118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640895232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787660048000,"timestamp_ms":1787660048000,"timestamp_seconds":1787660048,"priority":1,"record_length":96,"hex_timestamp":"000001a038d79680"} 
[2026-08-25 17:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640895232001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640895232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640895232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":163118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:47:45] local.INFO: GPS data processed {"connection_id":163118,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:47:45] local.INFO: Acknowledgment sent {"connection_id":163118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:47:45] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:47:45] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:47:45] local.INFO: IMEI packet received {"connection_id":161862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":161862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:47:46] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.109.136.7","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a038..."} 
[2026-08-25 17:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a038..."} 
[2026-08-25 17:47:46] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a038..."} 
[2026-08-25 17:47:46] local.INFO: IMEI packet received {"connection_id":161862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":161862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:47:51] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038da8480012daa7b4005507a30000a014525..."} 
[2026-08-25 17:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038da8480012daa7b4005507a30000a014525..."} 
[2026-08-25 17:47:51] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a038da70f8012daa8f4005505c88000b014623..."} 
[2026-08-25 17:47:51] local.INFO: Packet analysis {"connection_id":161862,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a038da"} 
[2026-08-25 17:47:51] local.INFO: Extracted packet for processing {"connection_id":161862,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038da"} 
[2026-08-25 17:47:51] local.INFO: GPS Element Parsed {"raw_longitude":766152512,"raw_latitude":89152648,"longitude_deg":76.6152512,"latitude_deg":8.9152648,"altitude":11,"angle":326,"satellites":35,"speed":72,"hex_longitude":"2daa8f40","hex_latitude":"05505c88","is_valid_coordinates":true} 
[2026-08-25 17:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641018880001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123896620940001280,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6151283749469339648,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787660235000,"timestamp_ms":1787660235000,"timestamp_seconds":1787660235,"priority":1,"record_length":96,"hex_timestamp":"000001a038da70f8"} 
[2026-08-25 17:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2868330501,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57845401240097817,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13468182,"corrected_to":0} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3657156609,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":79,"raw_value":7363385455196644608,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2182480078,"corrected_to":0} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-5933491213403160571,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,114,84,24,241,157,16,42,160,70,45,128,28,11,36,10,66,46,192,252,12,37,22,23,1,240,203,227,41,56,79,4,113,205,52,224,32,38,239,2,184,5,58,217],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":203,"original":13468182,"validated":0},{"io_id":205,"original":2182480078,"validated":0}]} 
[2026-08-25 17:47:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792992121241272320,"timestamp_seconds":792992121241272.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641018880001,"66":13222,"114":206,"84":6400,"24":72,"16":123896620940001280,"45":-6151283749469339648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641018880001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:47:51] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:47:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123896620940001280,"km_value":123896620940001.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6151283749469339648,"description":"Unknown IO ID 45"} 
[2026-08-25 17:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641018880001,"power":13222,"unknown_114":206,"unknown_84":6400,"ignition":72,"odometer":null,"unknown_45":-6151283749469339648}} 
[2026-08-25 17:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":161862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:47:51] local.INFO: GPS data processed {"connection_id":161862,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:47:51] local.INFO: Acknowledgment sent {"connection_id":161862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:47:51] local.INFO: Packet analysis {"connection_id":161862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038da"} 
[2026-08-25 17:47:51] local.INFO: Extracted packet for processing {"connection_id":161862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038da"} 
[2026-08-25 17:47:51] local.INFO: GPS Element Parsed {"raw_longitude":766147392,"raw_latitude":89160240,"longitude_deg":76.6147392,"latitude_deg":8.916024,"altitude":10,"angle":325,"satellites":37,"speed":72,"hex_longitude":"2daa7b40","hex_latitude":"05507a30","is_valid_coordinates":true} 
[2026-08-25 17:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641020160001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123897063321632768,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6156631774024923136,"note":"Value kept but may cause issues"} 
[2026-08-25 17:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787660240000,"timestamp_ms":1787660240000,"timestamp_seconds":1787660240,"priority":1,"record_length":96,"hex_timestamp":"000001a038da8480"} 
[2026-08-25 17:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 17:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641020160001,"66":13406,"114":206,"84":6400,"24":72,"16":123897063321632768,"45":-6156631774024923136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,84,24,16,45]} 
[2026-08-25 17:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641020160001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:47:51] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-25 17:47:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123897063321632768,"km_value":123897063321632.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6156631774024923136,"description":"Unknown IO ID 45"} 
[2026-08-25 17:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641020160001,"power":13406,"unknown_114":206,"unknown_84":6400,"ignition":72,"odometer":null,"unknown_45":-6156631774024923136}} 
[2026-08-25 17:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":161862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:47:51] local.INFO: GPS data processed {"connection_id":161862,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:47:51] local.INFO: Acknowledgment sent {"connection_id":161862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:48:01] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d6eaa0012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d6eaa0012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:48:01] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d6eaa0012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:48:01] local.INFO: Packet analysis {"connection_id":161861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d6"} 
[2026-08-25 17:48:01] local.INFO: Extracted packet for processing {"connection_id":161861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d6"} 
[2026-08-25 17:48:01] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640955648001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787660004000,"timestamp_ms":1787660004000,"timestamp_seconds":1787660004,"priority":1,"record_length":96,"hex_timestamp":"000001a038d6eaa0"} 
[2026-08-25 17:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:48:01] 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-25 17:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-25 17:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640955648001,"66":12037,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640955648001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:48:01] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:48:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640955648001,"power":12037,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":161861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:48:01] local.INFO: GPS data processed {"connection_id":161861,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:48:01] local.INFO: Acknowledgment sent {"connection_id":161861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:48:16] local.INFO: TCP Data received {"connection_id":163118,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:48:16] local.INFO: Processing buffer {"connection_id":163118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:48:16] local.INFO: Packet analysis {"connection_id":163118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:48:16] local.INFO: Extracted packet for processing {"connection_id":163118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640895232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787660048000,"timestamp_ms":1787660048000,"timestamp_seconds":1787660048,"priority":1,"record_length":96,"hex_timestamp":"000001a038d79680"} 
[2026-08-25 17:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:48:16] 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-25 17:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640895232001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640895232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640895232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":163118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:48:16] local.INFO: GPS data processed {"connection_id":163118,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:48:16] local.INFO: Acknowledgment sent {"connection_id":163118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:48:23] local.INFO: TCP Data received {"connection_id":162119,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:48:23] local.INFO: Processing buffer {"connection_id":162119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:48:23] local.INFO: IMEI packet received {"connection_id":162119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":162119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:48:28] local.INFO: TCP Data received {"connection_id":162119,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:48:28] local.INFO: Processing buffer {"connection_id":162119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:48:28] local.INFO: IMEI packet received {"connection_id":162119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":162119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:48:29] local.INFO: TCP Data received {"connection_id":162119,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038d73ca8012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d73ca8012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:48:29] local.INFO: Processing buffer {"connection_id":162119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d73ca8012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:48:29] local.INFO: Packet analysis {"connection_id":162119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:48:29] local.INFO: Extracted packet for processing {"connection_id":162119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:48:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640961024001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787660025000,"timestamp_ms":1787660025000,"timestamp_seconds":1787660025,"priority":1,"record_length":96,"hex_timestamp":"000001a038d73ca8"} 
[2026-08-25 17:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:48:29] 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-25 17:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-25 17:48:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:29] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:29] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3387883520,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:29] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3037724750,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4281798231889018904,"corrected_to":0} 
[2026-08-25 17:48:29] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3221691829,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:29] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182057910927616,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:29] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029947,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:29] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2140634791379277862,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:29] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194947584,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:29] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,108,83,24,241,157,16,201,160,152,45,192,181,78,37,10,66,70,34,244,1,240,238,227,56,29,4,113,205,80,94,239,48,2,7,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":4281798231889018904,"validated":0}]} 
[2026-08-25 17:48:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620800357127946240,"timestamp_seconds":5620800357127946.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640961024001,"66":12493,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640961024001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:48:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640961024001,"power":12493,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":162119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:48:29] local.INFO: GPS data processed {"connection_id":162119,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:48:29] local.INFO: Acknowledgment sent {"connection_id":162119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:48:44] local.INFO: TCP Data received {"connection_id":164490,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:48:44] local.INFO: Processing buffer {"connection_id":164490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:48:44] local.INFO: IMEI packet received {"connection_id":164490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":164490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:48:45] local.INFO: TCP Data received {"connection_id":164491,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:48:45] local.INFO: Processing buffer {"connection_id":164491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:48:45] local.INFO: IMEI packet received {"connection_id":164491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":164491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:48:46] local.INFO: TCP Data received {"connection_id":164491,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:48:46] local.INFO: Processing buffer {"connection_id":164491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:48:46] local.INFO: IMEI packet received {"connection_id":164491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":164491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:48:49] local.INFO: TCP Data received {"connection_id":164490,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:48:49] local.INFO: Processing buffer {"connection_id":164490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:48:49] local.INFO: IMEI packet received {"connection_id":164490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":164490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:48:51] local.INFO: TCP Data received {"connection_id":164491,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:48:51] local.INFO: Processing buffer {"connection_id":164491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:48:51] local.INFO: IMEI packet received {"connection_id":164491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":164491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:48:51] local.INFO: TCP Data received {"connection_id":164490,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:48:51] local.INFO: Processing buffer {"connection_id":164490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:48:51] local.INFO: Packet analysis {"connection_id":164490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:48:51] local.INFO: Extracted packet for processing {"connection_id":164490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640895232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787660048000,"timestamp_ms":1787660048000,"timestamp_seconds":1787660048,"priority":1,"record_length":96,"hex_timestamp":"000001a038d79680"} 
[2026-08-25 17:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:48:51] 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-25 17:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640895232001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640895232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640895232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":164490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:48:51] local.INFO: GPS data processed {"connection_id":164490,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:48:51] local.INFO: Acknowledgment sent {"connection_id":164490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:48:51] local.INFO: TCP Data received {"connection_id":164491,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038db6af8012da9384005512508000a011927..."} 
[2026-08-25 17:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038db6af8012da9384005512508000a011927..."} 
[2026-08-25 17:48:51] local.INFO: Processing buffer {"connection_id":164491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038db6af8012da9384005512508000a011927..."} 
[2026-08-25 17:48:51] local.INFO: Packet analysis {"connection_id":164491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:48:51] local.INFO: Extracted packet for processing {"connection_id":164491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:48:51] local.INFO: GPS Element Parsed {"raw_longitude":766064704,"raw_latitude":89203976,"longitude_deg":76.6064704,"latitude_deg":8.9203976,"altitude":10,"angle":281,"satellites":39,"speed":69,"hex_longitude":"2da93840","hex_latitude":"05512508","is_valid_coordinates":true} 
[2026-08-25 17:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641035008001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123901800670560256,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6241989060699801600,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787660299000,"timestamp_ms":1787660299000,"timestamp_seconds":1787660299,"priority":1,"record_length":96,"hex_timestamp":"000001a038db6af8"} 
[2026-08-25 17:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 17:48:51] 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-25 17:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641035008001,"66":13363,"61":206,"84":6400,"24":69,"16":123901800670560256,"45":-6241989060699801600},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,84,24,16,45]} 
[2026-08-25 17:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641035008001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:48:51] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-25 17:48:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123901800670560256,"km_value":123901800670560.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6241989060699801600,"description":"Unknown IO ID 45"} 
[2026-08-25 17:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641035008001,"power":13363,"unknown_61":206,"unknown_84":6400,"ignition":69,"odometer":null,"unknown_45":-6241989060699801600}} 
[2026-08-25 17:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":164491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:48:51] local.INFO: GPS data processed {"connection_id":164491,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:48:51] local.INFO: Acknowledgment sent {"connection_id":164491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:48:52] local.INFO: TCP Data received {"connection_id":164491,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038db8268012da9108005512cb8000a011828..."} 
[2026-08-25 17:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038db8268012da9108005512cb8000a011828..."} 
[2026-08-25 17:48:52] local.INFO: Processing buffer {"connection_id":164491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038db8268012da9108005512cb8000a011828..."} 
[2026-08-25 17:48:52] local.INFO: Packet analysis {"connection_id":164491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:48:52] local.INFO: Extracted packet for processing {"connection_id":164491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:48:52] local.INFO: GPS Element Parsed {"raw_longitude":766054528,"raw_latitude":89205944,"longitude_deg":76.6054528,"latitude_deg":8.9205944,"altitude":10,"angle":280,"satellites":40,"speed":66,"hex_longitude":"2da91080","hex_latitude":"05512cb8","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641036544001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123902294591799296,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6253177691023538176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787660305000,"timestamp_ms":1787660305000,"timestamp_seconds":1787660305,"priority":1,"record_length":96,"hex_timestamp":"000001a038db8268"} 
[2026-08-25 17: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-25 17:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 17:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641036544001,"66":13254,"61":206,"84":6400,"24":66,"16":123902294591799296,"45":-6253177691023538176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,84,24,16,45]} 
[2026-08-25 17:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641036544001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:48:52] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-25 17:48:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123902294591799296,"km_value":123902294591799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6253177691023538176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641036544001,"power":13254,"unknown_61":206,"unknown_84":6400,"ignition":66,"odometer":null,"unknown_45":-6253177691023538176}} 
[2026-08-25 17:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":164491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:48:52] local.INFO: GPS data processed {"connection_id":164491,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:48:52] local.INFO: Acknowledgment sent {"connection_id":164491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:48:56] local.INFO: TCP Data received {"connection_id":164491,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038db99d8012da8e940055134500009011829..."} 
[2026-08-25 17:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038db99d8012da8e940055134500009011829..."} 
[2026-08-25 17:48:56] local.INFO: Processing buffer {"connection_id":164491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038db99d8012da8e940055134500009011829..."} 
[2026-08-25 17:48:56] local.INFO: Packet analysis {"connection_id":164491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:48:56] local.INFO: Extracted packet for processing {"connection_id":164491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:48:56] local.INFO: GPS Element Parsed {"raw_longitude":766044480,"raw_latitude":89207888,"longitude_deg":76.604448,"latitude_deg":8.9207888,"altitude":9,"angle":280,"satellites":41,"speed":68,"hex_longitude":"2da8e940","hex_latitude":"05513450","is_valid_coordinates":true} 
[2026-08-25 17:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641038080001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123902784218071040,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6264366321347282944,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787660311000,"timestamp_ms":1787660311000,"timestamp_seconds":1787660311,"priority":1,"record_length":96,"hex_timestamp":"000001a038db99d8"} 
[2026-08-25 17:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 17:48:56] 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-25 17:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641038080001,"66":13352,"61":206,"84":6400,"24":68,"16":123902784218071040,"45":-6264366321347282944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,84,24,16,45]} 
[2026-08-25 17:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641038080001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:48:56] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-25 17:48:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123902784218071040,"km_value":123902784218071.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6264366321347282944,"description":"Unknown IO ID 45"} 
[2026-08-25 17:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641038080001,"power":13352,"unknown_61":206,"unknown_84":6400,"ignition":68,"odometer":null,"unknown_45":-6264366321347282944}} 
[2026-08-25 17:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":164491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:48:56] local.INFO: GPS data processed {"connection_id":164491,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:48:56] local.INFO: Acknowledgment sent {"connection_id":164491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:48:58] local.INFO: TCP Data received {"connection_id":164490,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:48:58] local.INFO: Processing buffer {"connection_id":164490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:48:58] local.INFO: Packet analysis {"connection_id":164490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:48:58] local.INFO: Extracted packet for processing {"connection_id":164490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:48:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640895232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787660048000,"timestamp_ms":1787660048000,"timestamp_seconds":1787660048,"priority":1,"record_length":96,"hex_timestamp":"000001a038d79680"} 
[2026-08-25 17: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-25 17:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:48:58] 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-25 17: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-25 17: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-25 17:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:48:58] 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-25 17:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640895232001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640895232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:48:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640895232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":164490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:48:58] local.INFO: GPS data processed {"connection_id":164490,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:48:58] local.INFO: Acknowledgment sent {"connection_id":164490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:49:00] local.INFO: TCP Data received {"connection_id":164490,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:49:00] local.INFO: Processing buffer {"connection_id":164490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:49:00] local.INFO: Packet analysis {"connection_id":164490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:49:00] local.INFO: Extracted packet for processing {"connection_id":164490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640895232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787660048000,"timestamp_ms":1787660048000,"timestamp_seconds":1787660048,"priority":1,"record_length":96,"hex_timestamp":"000001a038d79680"} 
[2026-08-25 17:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640895232001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640895232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:49:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640895232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":164490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:49:00] local.INFO: GPS data processed {"connection_id":164490,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:49:00] local.INFO: Acknowledgment sent {"connection_id":164490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:49:00] local.INFO: TCP Data received {"connection_id":162119,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038dac300012d1f5ec0071db510004e011824..."} 
[2026-08-25 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dac300012d1f5ec0071db510004e011824..."} 
[2026-08-25 17:49:00] local.INFO: Processing buffer {"connection_id":162119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dac300012d1f5ec0071db510004e011824..."} 
[2026-08-25 17:49:00] local.INFO: Packet analysis {"connection_id":162119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038da"} 
[2026-08-25 17:49:00] local.INFO: Extracted packet for processing {"connection_id":162119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038da"} 
[2026-08-25 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641020160001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787660256000,"timestamp_ms":1787660256000,"timestamp_seconds":1787660256,"priority":1,"record_length":96,"hex_timestamp":"000001a038dac300"} 
[2026-08-25 17:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:49:00] 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-25 17:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 17:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641020160001,"66":12428,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641020160001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:49:00] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:49:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641020160001,"power":12428,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":162119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:49:01] local.INFO: GPS data processed {"connection_id":162119,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:49:01] local.INFO: Acknowledgment sent {"connection_id":162119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:49:28] local.INFO: TCP Data received {"connection_id":164492,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:49:28] local.INFO: Processing buffer {"connection_id":164492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:49:28] local.INFO: IMEI packet received {"connection_id":164492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":164492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:49:33] local.INFO: TCP Data received {"connection_id":164492,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:49:33] local.INFO: Processing buffer {"connection_id":164492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:49:33] local.INFO: IMEI packet received {"connection_id":164492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":164492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:49:34] local.INFO: TCP Data received {"connection_id":164492,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038db1508012d1f5ec0071db510004e011824..."} 
[2026-08-25 17:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038db1508012d1f5ec0071db510004e011824..."} 
[2026-08-25 17:49:34] local.INFO: Processing buffer {"connection_id":164492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038db1508012d1f5ec0071db510004e011824..."} 
[2026-08-25 17:49:34] local.INFO: Packet analysis {"connection_id":164492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:49:34] local.INFO: Extracted packet for processing {"connection_id":164492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:49:34] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641025536001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787660277000,"timestamp_ms":1787660277000,"timestamp_seconds":1787660277,"priority":1,"record_length":96,"hex_timestamp":"000001a038db1508"} 
[2026-08-25 17:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:49:34] 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-25 17:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 17:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641025536001,"66":12439,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641025536001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:49:34] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641025536001,"power":12439,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":164492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:49:35] local.INFO: GPS data processed {"connection_id":164492,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:49:35] local.INFO: Acknowledgment sent {"connection_id":164492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:49:39] local.INFO: TCP Data received {"connection_id":162120,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:49:39] local.INFO: Processing buffer {"connection_id":162120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:49:39] local.INFO: IMEI packet received {"connection_id":162120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":162120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:49:40] local.INFO: TCP Data received {"connection_id":164492,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038db6710012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038db6710012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:49:40] local.INFO: Processing buffer {"connection_id":164492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038db6710012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:49:40] local.INFO: Packet analysis {"connection_id":164492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:49:40] local.INFO: Extracted packet for processing {"connection_id":164492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:49:40] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641030912001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787660298000,"timestamp_ms":1787660298000,"timestamp_seconds":1787660298,"priority":1,"record_length":96,"hex_timestamp":"000001a038db6710"} 
[2026-08-25 17:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:49:40] 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-25 17:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":164492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":164492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":164492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641030912001,"66":12428,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641030912001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:49:40] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:49:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641030912001,"power":12428,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":164492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:49:40] local.INFO: GPS data processed {"connection_id":164492,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:49:40] local.INFO: Acknowledgment sent {"connection_id":164492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:49:40] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:49:40] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:49:40] local.INFO: IMEI packet received {"connection_id":161864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":161864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:49:40] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:49:40] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:49:40] local.INFO: IMEI packet received {"connection_id":161864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":161864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:49:44] local.INFO: TCP Data received {"connection_id":162120,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:49:44] local.INFO: Processing buffer {"connection_id":162120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:49:44] local.INFO: IMEI packet received {"connection_id":162120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":162120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:49:45] local.INFO: TCP Data received {"connection_id":162120,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:49:45] local.INFO: Processing buffer {"connection_id":162120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038d79680012d34c14006aa4818000400e62d..."} 
[2026-08-25 17:49:45] local.INFO: Packet analysis {"connection_id":162120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:49:45] local.INFO: Extracted packet for processing {"connection_id":162120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038d7"} 
[2026-08-25 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640895232001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787660048000,"timestamp_ms":1787660048000,"timestamp_seconds":1787660048,"priority":1,"record_length":96,"hex_timestamp":"000001a038d79680"} 
[2026-08-25 17: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-25 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 17:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:49:45] 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-25 17:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640895232001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640895232001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640895232001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":162120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:49:45] local.INFO: GPS data processed {"connection_id":162120,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:49:45] local.INFO: Acknowledgment sent {"connection_id":162120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:49:46] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:49:46] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:49:46] local.INFO: IMEI packet received {"connection_id":161864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":161864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:49:47] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038dbb148012da8c10005513c480007011929..."} 
[2026-08-25 17:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dbb148012da8c10005513c480007011929..."} 
[2026-08-25 17:49:47] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dbb148012da8c10005513c480007011929..."} 
[2026-08-25 17:49:47] local.INFO: Packet analysis {"connection_id":161864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:49:47] local.INFO: Extracted packet for processing {"connection_id":161864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:49:47] local.INFO: GPS Element Parsed {"raw_longitude":766034176,"raw_latitude":89209928,"longitude_deg":76.6034176,"latitude_deg":8.9209928,"altitude":7,"angle":281,"satellites":41,"speed":68,"hex_longitude":"2da8c100","hex_latitude":"05513c48","is_valid_coordinates":true} 
[2026-08-25 17:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641039616001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123903286729244672,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6275414214182678528,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787660317000,"timestamp_ms":1787660317000,"timestamp_seconds":1787660317,"priority":1,"record_length":96,"hex_timestamp":"000001a038dbb148"} 
[2026-08-25 17:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-25 17:49:47] 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-25 17:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641039616001,"66":13363,"61":206,"84":6400,"24":68,"16":123903286729244672,"45":-6275414214182678528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,84,24,16,45]} 
[2026-08-25 17:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641039616001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:49:47] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-25 17:49:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123903286729244672,"km_value":123903286729244.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6275414214182678528,"description":"Unknown IO ID 45"} 
[2026-08-25 17:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641039616001,"power":13363,"unknown_61":206,"unknown_84":6400,"ignition":68,"odometer":null,"unknown_45":-6275414214182678528}} 
[2026-08-25 17:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":161864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:49:47] local.INFO: GPS data processed {"connection_id":161864,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:49:47] local.INFO: Acknowledgment sent {"connection_id":161864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:49:48] local.INFO: TCP Data received {"connection_id":162120,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:49:48] local.INFO: Processing buffer {"connection_id":162120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:49:48] local.INFO: Packet analysis {"connection_id":162120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:49:48] local.INFO: Extracted packet for processing {"connection_id":162120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640972288001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787660349000,"timestamp_ms":1787660349000,"timestamp_seconds":1787660349,"priority":1,"record_length":96,"hex_timestamp":"000001a038dc2e48"} 
[2026-08-25 17:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:49:48] 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-25 17:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640972288001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640972288001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640972288001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":162120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:49:48] local.INFO: GPS data processed {"connection_id":162120,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:49:48] local.INFO: Acknowledgment sent {"connection_id":162120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:50:18] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038dbc8b8012da89a80055144480008011929..."} 
[2026-08-25 17:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dbc8b8012da89a80055144480008011929..."} 
[2026-08-25 17:50:18] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dbc8b8012da89a80055144480008011929..."} 
[2026-08-25 17:50:18] local.INFO: Packet analysis {"connection_id":161864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:50:18] local.INFO: Extracted packet for processing {"connection_id":161864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:50:18] local.INFO: GPS Element Parsed {"raw_longitude":766024320,"raw_latitude":89211976,"longitude_deg":76.602432,"latitude_deg":8.9211976,"altitude":8,"angle":281,"satellites":41,"speed":63,"hex_longitude":"2da89a80","hex_latitude":"05514448","is_valid_coordinates":true} 
[2026-08-25 17:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641041152001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123903772060549120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6286743581994760192,"note":"Value kept but may cause issues"} 
[2026-08-25 17:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787660323000,"timestamp_ms":1787660323000,"timestamp_seconds":1787660323,"priority":1,"record_length":96,"hex_timestamp":"000001a038dbc8b8"} 
[2026-08-25 17:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 17:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641041152001,"66":13189,"61":206,"84":6400,"24":63,"16":123903772060549120,"45":-6286743581994760192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,84,24,16,45]} 
[2026-08-25 17:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641041152001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:50:18] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-25 17:50:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-25 17:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123903772060549120,"km_value":123903772060549.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6286743581994760192,"description":"Unknown IO ID 45"} 
[2026-08-25 17:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641041152001,"power":13189,"unknown_61":206,"unknown_84":6400,"ignition":63,"odometer":null,"unknown_45":-6286743581994760192}} 
[2026-08-25 17:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":161864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:50:18] local.INFO: GPS data processed {"connection_id":161864,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:50:18] local.INFO: Acknowledgment sent {"connection_id":161864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:50:20] local.INFO: TCP Data received {"connection_id":162120,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:50:20] local.INFO: Processing buffer {"connection_id":162120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:50:20] local.INFO: Packet analysis {"connection_id":162120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:50:20] local.INFO: Extracted packet for processing {"connection_id":162120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640972288001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:50:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787660349000,"timestamp_ms":1787660349000,"timestamp_seconds":1787660349,"priority":1,"record_length":96,"hex_timestamp":"000001a038dc2e48"} 
[2026-08-25 17: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-25 17:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:50: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-25 17:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640972288001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640972288001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640972288001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":162120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:50:20] local.INFO: GPS data processed {"connection_id":162120,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:50:20] local.INFO: Acknowledgment sent {"connection_id":162120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:50:20] local.INFO: TCP Data received {"connection_id":163119,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:50:20] local.INFO: Processing buffer {"connection_id":163119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:50:20] local.INFO: IMEI packet received {"connection_id":163119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":163119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:50:23] local.INFO: TCP Data received {"connection_id":163119,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:50:23] local.INFO: Processing buffer {"connection_id":163119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:50:23] local.INFO: IMEI packet received {"connection_id":163119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":163119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:50:28] local.INFO: TCP Data received {"connection_id":163119,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:50:28] local.INFO: Processing buffer {"connection_id":163119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:50:28] local.INFO: IMEI packet received {"connection_id":163119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":163119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:50:29] local.INFO: TCP Data received {"connection_id":163119,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038dbb918012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dbb918012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:50:29] local.INFO: Processing buffer {"connection_id":163119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dbb918012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:50:29] local.INFO: Packet analysis {"connection_id":163119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:50:29] local.INFO: Extracted packet for processing {"connection_id":163119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038db"} 
[2026-08-25 17:50:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641036288001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787660319000,"timestamp_ms":1787660319000,"timestamp_seconds":1787660319,"priority":1,"record_length":96,"hex_timestamp":"000001a038dbb918"} 
[2026-08-25 17:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:50:29] 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-25 17:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 17:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641036288001,"66":12428,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641036288001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:50:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641036288001,"power":12428,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":163119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:50:29] local.INFO: GPS data processed {"connection_id":163119,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:50:29] local.INFO: Acknowledgment sent {"connection_id":163119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:50:39] local.INFO: TCP Data received {"connection_id":161865,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:50:39] local.INFO: Processing buffer {"connection_id":161865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:50:39] local.INFO: IMEI packet received {"connection_id":161865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":161865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:50:40] local.INFO: TCP Data received {"connection_id":161866,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:50:40] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:50:40] local.INFO: IMEI packet received {"connection_id":161866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":161866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:50:42] local.INFO: TCP Data received {"connection_id":161866,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:50:42] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:50:42] local.INFO: IMEI packet received {"connection_id":161866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":161866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:50:46] local.INFO: TCP Data received {"connection_id":161866,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:50:46] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:50:46] local.INFO: IMEI packet received {"connection_id":161866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":161866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:50:46] local.INFO: TCP Data received {"connection_id":161865,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:50:46] local.INFO: Processing buffer {"connection_id":161865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:50:46] local.INFO: IMEI packet received {"connection_id":161865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":161865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:50:48] local.INFO: TCP Data received {"connection_id":161865,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:50:48] local.INFO: Processing buffer {"connection_id":161865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:50:48] local.INFO: Packet analysis {"connection_id":161865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:50:48] local.INFO: Extracted packet for processing {"connection_id":161865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640972288001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:50:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787660349000,"timestamp_ms":1787660349000,"timestamp_seconds":1787660349,"priority":1,"record_length":96,"hex_timestamp":"000001a038dc2e48"} 
[2026-08-25 17:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:50:48] 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-25 17:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640972288001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640972288001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640972288001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":161865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:50:48] local.INFO: GPS data processed {"connection_id":161865,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:50:48] local.INFO: Acknowledgment sent {"connection_id":161865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:51:00] local.INFO: TCP Data received {"connection_id":163119,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038dc0b20012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dc0b20012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:51:00] local.INFO: Processing buffer {"connection_id":163119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dc0b20012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:51:00] local.INFO: Packet analysis {"connection_id":163119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:51:00] local.INFO: Extracted packet for processing {"connection_id":163119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:51:00] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641041664001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787660340000,"timestamp_ms":1787660340000,"timestamp_seconds":1787660340,"priority":1,"record_length":96,"hex_timestamp":"000001a038dc0b20"} 
[2026-08-25 17:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:51:00] 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-25 17:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 17:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641041664001,"66":12406,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641041664001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:51:00] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641041664001,"power":12406,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":163119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:51:01] local.INFO: GPS data processed {"connection_id":163119,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:51:01] local.INFO: Acknowledgment sent {"connection_id":163119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:51:06] local.INFO: TCP Data received {"connection_id":161866,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038dd4b70012da77d00055171280014010c23..."} 
[2026-08-25 17:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dd4b70012da77d00055171280014010c23..."} 
[2026-08-25 17:51:06] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dd4b70012da77d00055171280014010c23..."} 
[2026-08-25 17:51:06] local.INFO: Packet analysis {"connection_id":161866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:51:06] local.INFO: Extracted packet for processing {"connection_id":161866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:51:06] local.INFO: GPS Element Parsed {"raw_longitude":765951232,"raw_latitude":89223464,"longitude_deg":76.5951232,"latitude_deg":8.9223464,"altitude":20,"angle":268,"satellites":35,"speed":6,"hex_longitude":"2da77d00","hex_latitude":"05517128","is_valid_coordinates":true} 
[2026-08-25 17:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641067520001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123907341178372096,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6377448893236314112,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787660422000,"timestamp_ms":1787660422000,"timestamp_seconds":1787660422,"priority":1,"record_length":96,"hex_timestamp":"000001a038dd4b70"} 
[2026-08-25 17:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:51: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-25 17:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-25 17:51:06] 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-25 17:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641067520001,"66":13374,"227":206,"84":6144,"24":6,"16":123907341178372096,"45":-6377448893236314112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,84,24,16,45]} 
[2026-08-25 17:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641067520001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:51:06] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-25 17:51:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123907341178372096,"km_value":123907341178372.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6377448893236314112,"description":"Unknown IO ID 45"} 
[2026-08-25 17:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641067520001,"power":13374,"unknown_227":206,"unknown_84":6144,"ignition":6,"odometer":null,"unknown_45":-6377448893236314112}} 
[2026-08-25 17:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":161866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:51:06] local.INFO: GPS data processed {"connection_id":161866,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:51:06] local.INFO: Acknowledgment sent {"connection_id":161866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:51:24] local.INFO: TCP Data received {"connection_id":164493,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:51:24] local.INFO: Processing buffer {"connection_id":164493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:51:24] local.INFO: IMEI packet received {"connection_id":164493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":164493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:51:24] local.INFO: TCP Data received {"connection_id":164493,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:51:24] local.INFO: Processing buffer {"connection_id":164493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:51:24] local.INFO: IMEI packet received {"connection_id":164493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":164493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:51:25] local.INFO: TCP Data received {"connection_id":161865,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:51:25] local.INFO: Processing buffer {"connection_id":161865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:51:25] local.INFO: Packet analysis {"connection_id":161865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:51:25] local.INFO: Extracted packet for processing {"connection_id":161865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:51:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640972288001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787660349000,"timestamp_ms":1787660349000,"timestamp_seconds":1787660349,"priority":1,"record_length":96,"hex_timestamp":"000001a038dc2e48"} 
[2026-08-25 17:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640972288001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640972288001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:51:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640972288001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":161865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:51:25] local.INFO: GPS data processed {"connection_id":161865,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:51:25] local.INFO: Acknowledgment sent {"connection_id":161865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:51:28] local.INFO: TCP Data received {"connection_id":164493,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:51:28] local.INFO: Processing buffer {"connection_id":164493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:51:28] local.INFO: IMEI packet received {"connection_id":164493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":164493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:51:29] local.INFO: TCP Data received {"connection_id":164493,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038dc5d28012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dc5d28012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:51:29] local.INFO: Processing buffer {"connection_id":164493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dc5d28012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:51:29] local.INFO: Packet analysis {"connection_id":164493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:51:29] local.INFO: Extracted packet for processing {"connection_id":164493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641047040001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787660361000,"timestamp_ms":1787660361000,"timestamp_seconds":1787660361,"priority":1,"record_length":96,"hex_timestamp":"000001a038dc5d28"} 
[2026-08-25 17:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:51:29] 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-25 17:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:51:29] 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-25 17:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641047040001,"66":12428,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641047040001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:51:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641047040001,"power":12428,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":164493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:51:30] local.INFO: GPS data processed {"connection_id":164493,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:51:30] local.INFO: Acknowledgment sent {"connection_id":164493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:51:39] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:51:39] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:51:39] local.INFO: IMEI packet received {"connection_id":161867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":161867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:51:41] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:51:41] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:51:41] local.INFO: IMEI packet received {"connection_id":161868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":161868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:51:44] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:51:44] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:51:44] local.INFO: IMEI packet received {"connection_id":161868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":161868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:51:45] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:51:45] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:51:45] local.INFO: IMEI packet received {"connection_id":161868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":161868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:51:46] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038dd5340012da77a80055170a00014010022..."} 
[2026-08-25 17:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dd5340012da77a80055170a00014010022..."} 
[2026-08-25 17:51:46] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dd5340012da77a80055170a00014010022..."} 
[2026-08-25 17:51:46] local.INFO: Packet analysis {"connection_id":161868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:51:46] local.INFO: Extracted packet for processing {"connection_id":161868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:51:46] local.INFO: GPS Element Parsed {"raw_longitude":765950592,"raw_latitude":89223328,"longitude_deg":76.5950592,"latitude_deg":8.9223328,"altitude":20,"angle":256,"satellites":34,"speed":14,"hex_longitude":"2da77a80","hex_latitude":"055170a0","is_valid_coordinates":true} 
[2026-08-25 17:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641068032001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123907371243143168,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6377941474445547520,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787660424000,"timestamp_ms":1787660424000,"timestamp_seconds":1787660424,"priority":1,"record_length":96,"hex_timestamp":"000001a038dd5340"} 
[2026-08-25 17:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 17:51:46] 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-25 17:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641068032001,"66":13526,"227":206,"84":6144,"24":14,"16":123907371243143168,"45":-6377941474445547520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,84,24,16,45]} 
[2026-08-25 17:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641068032001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:51:46] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-25 17:51:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123907371243143168,"km_value":123907371243143.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6377941474445547520,"description":"Unknown IO ID 45"} 
[2026-08-25 17:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641068032001,"power":13526,"unknown_227":206,"unknown_84":6144,"ignition":14,"odometer":null,"unknown_45":-6377941474445547520}} 
[2026-08-25 17:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":161868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:51:46] local.INFO: GPS data processed {"connection_id":161868,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:51:46] local.INFO: Acknowledgment sent {"connection_id":161868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:51:48] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:51:48] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:51:48] local.INFO: IMEI packet received {"connection_id":161867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":161867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:51:49] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:51:49] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:51:49] local.INFO: Packet analysis {"connection_id":161867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:51:49] local.INFO: Extracted packet for processing {"connection_id":161867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 17:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640972288001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787660349000,"timestamp_ms":1787660349000,"timestamp_seconds":1787660349,"priority":1,"record_length":96,"hex_timestamp":"000001a038dc2e48"} 
[2026-08-25 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-25 17:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:51:49] 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-25 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-25 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-25 17:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:51: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-25 17:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640972288001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640972288001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640972288001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":161867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:51:49] local.INFO: GPS data processed {"connection_id":161867,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:51:49] local.INFO: Acknowledgment sent {"connection_id":161867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:51:49] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038dd6ab0012da76b80055170000015010c22..."} 
[2026-08-25 17:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dd6ab0012da76b80055170000015010c22..."} 
[2026-08-25 17:51:49] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dd6ab0012da76b80055170000015010c22..."} 
[2026-08-25 17:51:49] local.INFO: Packet analysis {"connection_id":161868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:51:49] local.INFO: Extracted packet for processing {"connection_id":161868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:51:49] local.INFO: GPS Element Parsed {"raw_longitude":765946752,"raw_latitude":89223168,"longitude_deg":76.5946752,"latitude_deg":8.9223168,"altitude":21,"angle":268,"satellites":34,"speed":30,"hex_longitude":"2da76b80","hex_latitude":"05517000","is_valid_coordinates":true} 
[2026-08-25 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-25 17:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641068544001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123907560221704192,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6378645161887358976,"note":"Value kept but may cause issues"} 
[2026-08-25 17:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787660430000,"timestamp_ms":1787660430000,"timestamp_seconds":1787660430,"priority":1,"record_length":96,"hex_timestamp":"000001a038dd6ab0"} 
[2026-08-25 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-25 17:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 17:51: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-25 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-25 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-25 17:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641068544001,"66":13417,"227":206,"84":6144,"24":30,"16":123907560221704192,"45":-6378645161887358976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,84,24,16,45]} 
[2026-08-25 17:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641068544001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:51:49] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-25 17:51:49] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123907560221704192,"km_value":123907560221704.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6378645161887358976,"description":"Unknown IO ID 45"} 
[2026-08-25 17:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641068544001,"power":13417,"unknown_227":206,"unknown_84":6144,"ignition":30,"odometer":null,"unknown_45":-6378645161887358976}} 
[2026-08-25 17:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":161868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:51:49] local.INFO: GPS data processed {"connection_id":161868,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:51:49] local.INFO: Acknowledgment sent {"connection_id":161868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:52:01] local.INFO: TCP Data received {"connection_id":164493,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038dcaf30012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dcaf30012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:52:01] local.INFO: Processing buffer {"connection_id":164493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dcaf30012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:52:01] local.INFO: Packet analysis {"connection_id":164493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:52:01] local.INFO: Extracted packet for processing {"connection_id":164493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:52:01] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641052416001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787660382000,"timestamp_ms":1787660382000,"timestamp_seconds":1787660382,"priority":1,"record_length":96,"hex_timestamp":"000001a038dcaf30"} 
[2026-08-25 17:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:52:01] 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-25 17:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 17:52:01] 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-25 17:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":164493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":164493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":164493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641052416001,"66":12374,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641052416001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:52:01] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:52:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641052416001,"power":12374,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":164493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:52:01] local.INFO: GPS data processed {"connection_id":164493,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:52:01] local.INFO: Acknowledgment sent {"connection_id":164493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:52:20] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:52:20] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:52:20] local.INFO: Packet analysis {"connection_id":161867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:52:20] local.INFO: Extracted packet for processing {"connection_id":161867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640972288001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787660349000,"timestamp_ms":1787660349000,"timestamp_seconds":1787660349,"priority":1,"record_length":96,"hex_timestamp":"000001a038dc2e48"} 
[2026-08-25 17: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-25 17:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:52: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-25 17:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640972288001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640972288001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640972288001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":161867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:52:20] local.INFO: GPS data processed {"connection_id":161867,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:52:20] local.INFO: Acknowledgment sent {"connection_id":161867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:52:21] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038dee598012da53180055159e0000e010925..."} 
[2026-08-25 17:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dee598012da53180055159e0000e010925..."} 
[2026-08-25 17:52:21] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dee598012da53180055159e0000e010925..."} 
[2026-08-25 17:52:21] local.INFO: Packet analysis {"connection_id":161868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038de"} 
[2026-08-25 17:52:21] local.INFO: Extracted packet for processing {"connection_id":161868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038de"} 
[2026-08-25 17:52:21] local.INFO: GPS Element Parsed {"raw_longitude":765800832,"raw_latitude":89217504,"longitude_deg":76.5800832,"latitude_deg":8.9217504,"altitude":14,"angle":265,"satellites":37,"speed":76,"hex_longitude":"2da53180","hex_latitude":"055159e0","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641093632001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123914552428462080,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6532611974149367808,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787660527000,"timestamp_ms":1787660527000,"timestamp_seconds":1787660527,"priority":1,"record_length":96,"hex_timestamp":"000001a038dee598"} 
[2026-08-25 17: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-25 17:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17: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":62,"data_length":795,"current_offset":136} 
[2026-08-25 17:52:21] 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-25 17: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-25 17: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-25 17:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641093632001,"66":13319,"35":206,"84":6144,"24":76,"16":123914552428462080,"45":-6532611974149367808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 17:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641093632001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:52:21] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 17:52:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123914552428462080,"km_value":123914552428462.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6532611974149367808,"description":"Unknown IO ID 45"} 
[2026-08-25 17:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641093632001,"power":13319,"unknown_35":206,"unknown_84":6144,"ignition":76,"odometer":null,"unknown_45":-6532611974149367808}} 
[2026-08-25 17:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":161868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:52:21] local.INFO: GPS data processed {"connection_id":161868,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:52:21] local.INFO: Acknowledgment sent {"connection_id":161868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:52:23] local.INFO: TCP Data received {"connection_id":162121,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:52:23] local.INFO: Processing buffer {"connection_id":162121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:52:23] local.INFO: IMEI packet received {"connection_id":162121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":162121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:52:27] local.INFO: TCP Data received {"connection_id":162121,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:52:27] local.INFO: Processing buffer {"connection_id":162121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:52:27] local.INFO: IMEI packet received {"connection_id":162121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":162121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:52:27] local.INFO: TCP Data received {"connection_id":162121,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038dd0138012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dd0138012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:52:27] local.INFO: Processing buffer {"connection_id":162121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dd0138012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:52:27] local.INFO: Packet analysis {"connection_id":162121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:52:27] local.INFO: Extracted packet for processing {"connection_id":162121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:52:27] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641057792001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787660403000,"timestamp_ms":1787660403000,"timestamp_seconds":1787660403,"priority":1,"record_length":96,"hex_timestamp":"000001a038dd0138"} 
[2026-08-25 17: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-25 17:52:27] 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-25 17: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 17:52:27] 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-25 17: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-25 17: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-25 17:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641057792001,"66":12428,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641057792001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:52:27] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641057792001,"power":12428,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":162121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:52:27] local.INFO: GPS data processed {"connection_id":162121,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:52:27] local.INFO: Acknowledgment sent {"connection_id":162121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:52:39] local.INFO: TCP Data received {"connection_id":163120,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:52:39] local.INFO: Processing buffer {"connection_id":163120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:52:39] local.INFO: IMEI packet received {"connection_id":163120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":163120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:52:40] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:52:40] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:52:40] local.INFO: IMEI packet received {"connection_id":161869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":161869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:52:43] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:52:43] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:52:43] local.INFO: IMEI packet received {"connection_id":161869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":161869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:52:44] local.INFO: TCP Data received {"connection_id":163120,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:52:44] local.INFO: Processing buffer {"connection_id":163120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:52:44] local.INFO: IMEI packet received {"connection_id":163120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":163120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:52:45] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:52:45] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:52:45] local.INFO: IMEI packet received {"connection_id":161869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":161869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:52:45] local.INFO: TCP Data received {"connection_id":163120,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:52:45] local.INFO: Processing buffer {"connection_id":163120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:52:45] local.INFO: Packet analysis {"connection_id":163120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:52:45] local.INFO: Extracted packet for processing {"connection_id":163120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640972288001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787660349000,"timestamp_ms":1787660349000,"timestamp_seconds":1787660349,"priority":1,"record_length":96,"hex_timestamp":"000001a038dc2e48"} 
[2026-08-25 17: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-25 17:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:52:45] 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-25 17: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-25 17: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-25 17:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640972288001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640972288001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640972288001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":163120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:52:45] local.INFO: GPS data processed {"connection_id":163120,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:52:45] local.INFO: Acknowledgment sent {"connection_id":163120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:52:46] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038def920012da50c40055156800010010927..."} 
[2026-08-25 17:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038def920012da50c40055156800010010927..."} 
[2026-08-25 17:52:46] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038def920012da50c40055156800010010927..."} 
[2026-08-25 17:52:46] local.INFO: Packet analysis {"connection_id":161869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038de"} 
[2026-08-25 17:52:46] local.INFO: Extracted packet for processing {"connection_id":161869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038de"} 
[2026-08-25 17:52:46] local.INFO: GPS Element Parsed {"raw_longitude":765791296,"raw_latitude":89216640,"longitude_deg":76.5791296,"latitude_deg":8.921664,"altitude":16,"angle":265,"satellites":39,"speed":75,"hex_longitude":"2da50c40","hex_latitude":"05515680","is_valid_coordinates":true} 
[2026-08-25 17:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641094912001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123915011989962752,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6543308023264583680,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787660532000,"timestamp_ms":1787660532000,"timestamp_seconds":1787660532,"priority":1,"record_length":96,"hex_timestamp":"000001a038def920"} 
[2026-08-25 17:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 17:52:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2781216773,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:46] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3734468609,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:46] local.WARNING: Large IO value detected {"io_id":81,"raw_value":7363385459487877120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1310851278,"corrected_to":0} 
[2026-08-25 17:52:46] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57788278175061016,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:46] local.WARNING: Large IO value detected {"io_id":222,"raw_value":5847925411714613253,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:46] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,35,84,24,241,157,16,59,160,210,45,128,93,14,10,66,190,192,94,34,58,171,1,240,220,227,56,81,4,113,205,70,238,39,239,52,2,184,5,17,51,222],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1310851278,"validated":0}]} 
[2026-08-25 17:52:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009097846031122432,"timestamp_seconds":1009097846031122.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641094912001,"66":13515,"35":206,"84":6144,"24":75,"16":123915011989962752,"45":-6543308023264583680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 17:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641094912001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:52:46] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 17:52:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123915011989962752,"km_value":123915011989962.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6543308023264583680,"description":"Unknown IO ID 45"} 
[2026-08-25 17:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641094912001,"power":13515,"unknown_35":206,"unknown_84":6144,"ignition":75,"odometer":null,"unknown_45":-6543308023264583680}} 
[2026-08-25 17:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":161869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:52:46] local.INFO: GPS data processed {"connection_id":161869,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:52:46] local.INFO: Acknowledgment sent {"connection_id":161869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:52:59] local.INFO: TCP Data received {"connection_id":162121,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038dd5340012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dd5340012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:52:59] local.INFO: Processing buffer {"connection_id":162121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dd5340012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:52:59] local.INFO: Packet analysis {"connection_id":162121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:52:59] local.INFO: Extracted packet for processing {"connection_id":162121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:52:59] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641063168001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787660424000,"timestamp_ms":1787660424000,"timestamp_seconds":1787660424,"priority":1,"record_length":96,"hex_timestamp":"000001a038dd5340"} 
[2026-08-25 17:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:52:59] 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-25 17:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 17:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641063168001,"66":12341,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641063168001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:52:59] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641063168001,"power":12341,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":162121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:52:59] local.INFO: GPS data processed {"connection_id":162121,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:52:59] local.INFO: Acknowledgment sent {"connection_id":162121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:53:17] local.INFO: TCP Data received {"connection_id":163120,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:53:17] local.INFO: Processing buffer {"connection_id":163120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:53:17] local.INFO: Packet analysis {"connection_id":163120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:53:17] local.INFO: Extracted packet for processing {"connection_id":163120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640972288001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787660349000,"timestamp_ms":1787660349000,"timestamp_seconds":1787660349,"priority":1,"record_length":96,"hex_timestamp":"000001a038dc2e48"} 
[2026-08-25 17:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:53:17] 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-25 17:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:53:17] 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-25 17:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640972288001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640972288001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640972288001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":163120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:53:17] local.INFO: GPS data processed {"connection_id":163120,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:53:17] local.INFO: Acknowledgment sent {"connection_id":163120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:53:17] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038df0ca8012da4e700055154000010010a28..."} 
[2026-08-25 17:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038df0ca8012da4e700055154000010010a28..."} 
[2026-08-25 17:53:17] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038df0ca8012da4e700055154000010010a28..."} 
[2026-08-25 17:53:17] local.INFO: Packet analysis {"connection_id":161869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038df"} 
[2026-08-25 17:53:17] local.INFO: Extracted packet for processing {"connection_id":161869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038df"} 
[2026-08-25 17:53:17] local.INFO: GPS Element Parsed {"raw_longitude":765781760,"raw_latitude":89216000,"longitude_deg":76.578176,"latitude_deg":8.9216,"altitude":16,"angle":266,"satellites":40,"speed":74,"hex_longitude":"2da4e700","hex_latitude":"05515400","is_valid_coordinates":true} 
[2026-08-25 17:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641096192001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123915471551463424,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6553792966147276800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787660537000,"timestamp_ms":1787660537000,"timestamp_seconds":1787660537,"priority":1,"record_length":96,"hex_timestamp":"000001a038df0ca8"} 
[2026-08-25 17:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 17:53:17] 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-25 17:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641096192001,"66":13363,"35":206,"84":6144,"24":74,"16":123915471551463424,"45":-6553792966147276800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-25 17:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641096192001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:53:17] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-25 17:53:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123915471551463424,"km_value":123915471551463.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6553792966147276800,"description":"Unknown IO ID 45"} 
[2026-08-25 17:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641096192001,"power":13363,"unknown_35":206,"unknown_84":6144,"ignition":74,"odometer":null,"unknown_45":-6553792966147276800}} 
[2026-08-25 17:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":161869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:53:17] local.INFO: GPS data processed {"connection_id":161869,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:53:17] local.INFO: Acknowledgment sent {"connection_id":161869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:53:23] local.INFO: TCP Data received {"connection_id":162122,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:53:23] local.INFO: Processing buffer {"connection_id":162122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:53:23] local.INFO: IMEI packet received {"connection_id":162122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":162122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:53:28] local.INFO: TCP Data received {"connection_id":162122,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:53:28] local.INFO: Processing buffer {"connection_id":162122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:53:28] local.INFO: IMEI packet received {"connection_id":162122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":162122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:53:29] local.INFO: TCP Data received {"connection_id":162122,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038dda548012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dda548012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:53:29] local.INFO: Processing buffer {"connection_id":162122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dda548012d1f5ec0071db510004e011826..."} 
[2026-08-25 17:53:29] local.INFO: Packet analysis {"connection_id":162122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:53:29] local.INFO: Extracted packet for processing {"connection_id":162122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:53:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641068544001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787660445000,"timestamp_ms":1787660445000,"timestamp_seconds":1787660445,"priority":1,"record_length":96,"hex_timestamp":"000001a038dda548"} 
[2026-08-25 17:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:53:29] 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-25 17:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 17:53:29] 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-25 17:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641068544001,"66":12374,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641068544001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:53:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641068544001,"power":12374,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":162122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:53:29] local.INFO: GPS data processed {"connection_id":162122,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:53:29] local.INFO: Acknowledgment sent {"connection_id":162122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:53:39] local.INFO: TCP Data received {"connection_id":162123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:53:39] local.INFO: Processing buffer {"connection_id":162123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:53:39] local.INFO: IMEI packet received {"connection_id":162123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":162123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:53:40] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:53:40] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:53:40] local.INFO: IMEI packet received {"connection_id":161870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":161870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:53:44] local.INFO: TCP Data received {"connection_id":162123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:53:44] local.INFO: Processing buffer {"connection_id":162123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:53:44] local.INFO: IMEI packet received {"connection_id":162123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":162123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:53:46] local.INFO: TCP Data received {"connection_id":162123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:53:46] local.INFO: Processing buffer {"connection_id":162123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:53:46] local.INFO: Packet analysis {"connection_id":162123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:53:46] local.INFO: Extracted packet for processing {"connection_id":162123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640972288001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787660349000,"timestamp_ms":1787660349000,"timestamp_seconds":1787660349,"priority":1,"record_length":96,"hex_timestamp":"000001a038dc2e48"} 
[2026-08-25 17:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:53:46] 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-25 17:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640972288001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640972288001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640972288001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":162123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:53:46] local.INFO: GPS data processed {"connection_id":162123,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:53:46] local.INFO: Acknowledgment sent {"connection_id":162123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:53:51] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:53:51] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:53:51] local.INFO: IMEI packet received {"connection_id":161870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":161870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:53:53] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.109.136.7","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a038..."} 
[2026-08-25 17:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a038..."} 
[2026-08-25 17:53:53] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a038..."} 
[2026-08-25 17:53:53] local.INFO: IMEI packet received {"connection_id":161870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":161870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:53:58] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038dff708012da3250005516a100008011e23..."} 
[2026-08-25 17:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dff708012da3250005516a100008011e23..."} 
[2026-08-25 17:53:58] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a038dfe380012da34a4005515ff80007011c27..."} 
[2026-08-25 17:53:58] local.INFO: Packet analysis {"connection_id":161870,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a038df"} 
[2026-08-25 17:53:58] local.INFO: Extracted packet for processing {"connection_id":161870,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038df"} 
[2026-08-25 17:53:58] local.INFO: GPS Element Parsed {"raw_longitude":765676096,"raw_latitude":89219064,"longitude_deg":76.5676096,"latitude_deg":8.9219064,"altitude":7,"angle":284,"satellites":39,"speed":79,"hex_longitude":"2da34a40","hex_latitude":"05515ff8","is_valid_coordinates":true} 
[2026-08-25 17:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641110272001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123920556792741888,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6669831025296187392,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787660592000,"timestamp_ms":1787660592000,"timestamp_seconds":1787660592,"priority":1,"record_length":96,"hex_timestamp":"000001a038dfe380"} 
[2026-08-25 17:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 17:53:58] 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-25 17:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641110272001,"66":13189,"49":206,"84":6144,"24":79,"16":123920556792741888,"45":-6669831025296187392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,84,24,16,45]} 
[2026-08-25 17:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641110272001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:53:58] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-25 17:53:58] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123920556792741888,"km_value":123920556792741.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6669831025296187392,"description":"Unknown IO ID 45"} 
[2026-08-25 17:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641110272001,"power":13189,"unknown_49":206,"unknown_84":6144,"ignition":79,"odometer":null,"unknown_45":-6669831025296187392}} 
[2026-08-25 17:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":161870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:53:58] local.INFO: GPS data processed {"connection_id":161870,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:53:58] local.INFO: Acknowledgment sent {"connection_id":161870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:53:58] local.INFO: Packet analysis {"connection_id":161870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038df"} 
[2026-08-25 17:53:58] local.INFO: Extracted packet for processing {"connection_id":161870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038df"} 
[2026-08-25 17:53:58] local.INFO: GPS Element Parsed {"raw_longitude":765666560,"raw_latitude":89221648,"longitude_deg":76.566656,"latitude_deg":8.9221648,"altitude":8,"angle":286,"satellites":35,"speed":77,"hex_longitude":"2da32500","hex_latitude":"05516a10","is_valid_coordinates":true} 
[2026-08-25 17:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641111552001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123921029239144448,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6680456705666451456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787660597000,"timestamp_ms":1787660597000,"timestamp_seconds":1787660597,"priority":1,"record_length":96,"hex_timestamp":"000001a038dff708"} 
[2026-08-25 17:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 17:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641111552001,"66":13374,"49":206,"84":6144,"24":77,"16":123921029239144448,"45":-6680456705666451456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,84,24,16,45]} 
[2026-08-25 17:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641111552001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:53:58] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-25 17:53:58] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123921029239144448,"km_value":123921029239144.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6680456705666451456,"description":"Unknown IO ID 45"} 
[2026-08-25 17:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641111552001,"power":13374,"unknown_49":206,"unknown_84":6144,"ignition":77,"odometer":null,"unknown_45":-6680456705666451456}} 
[2026-08-25 17:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":161870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:53:58] local.INFO: GPS data processed {"connection_id":161870,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:53:58] local.INFO: Acknowledgment sent {"connection_id":161870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:54:00] local.INFO: TCP Data received {"connection_id":162122,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038ddf750012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ddf750012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:54:00] local.INFO: Processing buffer {"connection_id":162122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ddf750012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:54:00] local.INFO: Packet analysis {"connection_id":162122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:54:00] local.INFO: Extracted packet for processing {"connection_id":162122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dd"} 
[2026-08-25 17:54:00] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641073920001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787660466000,"timestamp_ms":1787660466000,"timestamp_seconds":1787660466,"priority":1,"record_length":96,"hex_timestamp":"000001a038ddf750"} 
[2026-08-25 17:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:54:00] 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-25 17:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 17:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641073920001,"66":12406,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641073920001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:54:00] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641073920001,"power":12406,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":162122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:54:00] local.INFO: GPS data processed {"connection_id":162122,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:54:00] local.INFO: Acknowledgment sent {"connection_id":162122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:54:02] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e00a90012da300c0055174c0000a011e27..."} 
[2026-08-25 17:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e00a90012da300c0055174c0000a011e27..."} 
[2026-08-25 17:54:02] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e00a90012da300c0055174c0000a011e27..."} 
[2026-08-25 17:54:02] local.INFO: Packet analysis {"connection_id":161870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:54:02] local.INFO: Extracted packet for processing {"connection_id":161870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:54:02] local.INFO: GPS Element Parsed {"raw_longitude":765657280,"raw_latitude":89224384,"longitude_deg":76.565728,"latitude_deg":8.9224384,"altitude":10,"angle":286,"satellites":39,"speed":76,"hex_longitude":"2da300c0","hex_latitude":"055174c0","is_valid_coordinates":true} 
[2026-08-25 17:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641112832001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123921497390579712,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6690941648548261888,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787660602000,"timestamp_ms":1787660602000,"timestamp_seconds":1787660602,"priority":1,"record_length":96,"hex_timestamp":"000001a038e00a90"} 
[2026-08-25 17:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 17:54:02] 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-25 17:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641112832001,"66":13276,"49":206,"84":6144,"24":76,"16":123921497390579712,"45":-6690941648548261888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,84,24,16,45]} 
[2026-08-25 17:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641112832001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:54:02] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-25 17:54:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123921497390579712,"km_value":123921497390579.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6690941648548261888,"description":"Unknown IO ID 45"} 
[2026-08-25 17:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641112832001,"power":13276,"unknown_49":206,"unknown_84":6144,"ignition":76,"odometer":null,"unknown_45":-6690941648548261888}} 
[2026-08-25 17:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":161870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:54:02] local.INFO: GPS data processed {"connection_id":161870,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:54:02] local.INFO: Acknowledgment sent {"connection_id":161870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:54:17] local.INFO: TCP Data received {"connection_id":162123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:54:17] local.INFO: Processing buffer {"connection_id":162123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dc2e48012d34c14006aa4818000400e62c..."} 
[2026-08-25 17:54:17] local.INFO: Packet analysis {"connection_id":162123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:54:17] local.INFO: Extracted packet for processing {"connection_id":162123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038dc"} 
[2026-08-25 17:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457640972288001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787660349000,"timestamp_ms":1787660349000,"timestamp_seconds":1787660349,"priority":1,"record_length":96,"hex_timestamp":"000001a038dc2e48"} 
[2026-08-25 17:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 17:54:17] 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-25 17:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457640972288001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457640972288001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457640972288001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":162123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:54:17] local.INFO: GPS data processed {"connection_id":162123,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:54:17] local.INFO: Acknowledgment sent {"connection_id":162123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:54:23] local.INFO: TCP Data received {"connection_id":164494,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:54:23] local.INFO: Processing buffer {"connection_id":164494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:54:23] local.INFO: IMEI packet received {"connection_id":164494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":164494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:54:28] local.INFO: TCP Data received {"connection_id":164494,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:54:28] local.INFO: Processing buffer {"connection_id":164494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:54:28] local.INFO: IMEI packet received {"connection_id":164494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":164494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:54:29] local.INFO: TCP Data received {"connection_id":164494,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038de4958012d1f5ec0071db510004e011820..."} 
[2026-08-25 17:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038de4958012d1f5ec0071db510004e011820..."} 
[2026-08-25 17:54:29] local.INFO: Processing buffer {"connection_id":164494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038de4958012d1f5ec0071db510004e011820..."} 
[2026-08-25 17:54:29] local.INFO: Packet analysis {"connection_id":164494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038de"} 
[2026-08-25 17:54:29] local.INFO: Extracted packet for processing {"connection_id":164494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038de"} 
[2026-08-25 17:54:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":32,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641079296001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787660487000,"timestamp_ms":1787660487000,"timestamp_seconds":1787660487,"priority":1,"record_length":96,"hex_timestamp":"000001a038de4958"} 
[2026-08-25 17:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:54:29] 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-25 17:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:54:29] 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-25 17:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641079296001,"66":12406,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641079296001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:54:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641079296001,"power":12406,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":164494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:54:29] local.INFO: GPS data processed {"connection_id":164494,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:54:29] local.INFO: Acknowledgment sent {"connection_id":164494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:54:40] local.INFO: TCP Data received {"connection_id":164496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:54:40] local.INFO: Processing buffer {"connection_id":164496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:54:40] local.INFO: IMEI packet received {"connection_id":164496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":164496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:54:45] local.INFO: TCP Data received {"connection_id":164496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:54:45] local.INFO: Processing buffer {"connection_id":164496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:54:45] local.INFO: IMEI packet received {"connection_id":164496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":164496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:54:46] local.INFO: TCP Data received {"connection_id":164496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e01e18012da2dc4005517f20000b011d28..."} 
[2026-08-25 17:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e01e18012da2dc4005517f20000b011d28..."} 
[2026-08-25 17:54:46] local.INFO: Processing buffer {"connection_id":164496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e01e18012da2dc4005517f20000b011d28..."} 
[2026-08-25 17:54:46] local.INFO: Packet analysis {"connection_id":164496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:54:46] local.INFO: Extracted packet for processing {"connection_id":164496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:54:46] local.INFO: GPS Element Parsed {"raw_longitude":765647936,"raw_latitude":89227040,"longitude_deg":76.5647936,"latitude_deg":8.922704,"altitude":11,"angle":285,"satellites":40,"speed":77,"hex_longitude":"2da2dc40","hex_latitude":"05517f20","is_valid_coordinates":true} 
[2026-08-25 17:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641114112001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123921961247047680,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6701145116453322752,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787660607000,"timestamp_ms":1787660607000,"timestamp_seconds":1787660607,"priority":1,"record_length":96,"hex_timestamp":"000001a038e01e18"} 
[2026-08-25 17:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 17:54:46] 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-25 17:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641114112001,"66":13319,"237":206,"84":6144,"24":77,"16":123921961247047680,"45":-6701145116453322752},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,84,24,16,45]} 
[2026-08-25 17:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641114112001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:54:46] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-25 17:54:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123921961247047680,"km_value":123921961247047.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6701145116453322752,"description":"Unknown IO ID 45"} 
[2026-08-25 17:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641114112001,"power":13319,"unknown_237":206,"unknown_84":6144,"ignition":77,"odometer":null,"unknown_45":-6701145116453322752}} 
[2026-08-25 17:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":164496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:54:46] local.INFO: GPS data processed {"connection_id":164496,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:54:46] local.INFO: Acknowledgment sent {"connection_id":164496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:54:46] local.INFO: TCP Data received {"connection_id":164495,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:54:46] local.INFO: Processing buffer {"connection_id":164495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:54:46] local.INFO: IMEI packet received {"connection_id":164495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":164495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:54:48] local.INFO: TCP Data received {"connection_id":164495,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:54:48] local.INFO: Processing buffer {"connection_id":164495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:54:48] local.INFO: IMEI packet received {"connection_id":164495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":164495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:54:49] local.INFO: TCP Data received {"connection_id":164495,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:54:49] local.INFO: Processing buffer {"connection_id":164495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:54:49] local.INFO: Packet analysis {"connection_id":164495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:54:49] local.INFO: Extracted packet for processing {"connection_id":164495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:54:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 17:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641049344001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787660650000,"timestamp_ms":1787660650000,"timestamp_seconds":1787660650,"priority":1,"record_length":96,"hex_timestamp":"000001a038e0c610"} 
[2026-08-25 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-25 17:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 17:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:54: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-25 17:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641049344001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641049344001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:54:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641049344001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":164495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:54:49] local.INFO: GPS data processed {"connection_id":164495,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:54:49] local.INFO: Acknowledgment sent {"connection_id":164495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:54:50] local.INFO: TCP Data received {"connection_id":164495,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:54:50] local.INFO: Processing buffer {"connection_id":164495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:54:50] local.INFO: Packet analysis {"connection_id":164495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:54:50] local.INFO: Extracted packet for processing {"connection_id":164495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:54:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641049344001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787660650000,"timestamp_ms":1787660650000,"timestamp_seconds":1787660650,"priority":1,"record_length":96,"hex_timestamp":"000001a038e0c610"} 
[2026-08-25 17: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-25 17:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:54: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-25 17:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641049344001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641049344001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:54:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641049344001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":164495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:54:50] local.INFO: GPS data processed {"connection_id":164495,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:54:50] local.INFO: Acknowledgment sent {"connection_id":164495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:55:00] local.INFO: TCP Data received {"connection_id":164494,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038de9b60012d1f5ec0071db510004e011823..."} 
[2026-08-25 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038de9b60012d1f5ec0071db510004e011823..."} 
[2026-08-25 17:55:00] local.INFO: Processing buffer {"connection_id":164494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038de9b60012d1f5ec0071db510004e011823..."} 
[2026-08-25 17:55:00] local.INFO: Packet analysis {"connection_id":164494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038de"} 
[2026-08-25 17:55:00] local.INFO: Extracted packet for processing {"connection_id":164494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038de"} 
[2026-08-25 17:55:00] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641084672001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787660508000,"timestamp_ms":1787660508000,"timestamp_seconds":1787660508,"priority":1,"record_length":96,"hex_timestamp":"000001a038de9b60"} 
[2026-08-25 17:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:55:00] 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-25 17:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:55:00] 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-25 17:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641084672001,"66":12363,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641084672001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:55:00] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641084672001,"power":12363,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":164494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:55:00] local.INFO: GPS data processed {"connection_id":164494,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:55:00] local.INFO: Acknowledgment sent {"connection_id":164494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:55:18] local.INFO: TCP Data received {"connection_id":164496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e19130012da1038005521e08000a012c27..."} 
[2026-08-25 17:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e19130012da1038005521e08000a012c27..."} 
[2026-08-25 17:55:18] local.INFO: Processing buffer {"connection_id":164496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e19130012da1038005521e08000a012c27..."} 
[2026-08-25 17:55:18] local.INFO: Packet analysis {"connection_id":164496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e1"} 
[2026-08-25 17:55:18] local.INFO: Extracted packet for processing {"connection_id":164496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e1"} 
[2026-08-25 17:55:18] local.INFO: GPS Element Parsed {"raw_longitude":765526912,"raw_latitude":89267720,"longitude_deg":76.5526912,"latitude_deg":8.926772,"altitude":10,"angle":300,"satellites":39,"speed":70,"hex_longitude":"2da10380","hex_latitude":"05521e08","is_valid_coordinates":true} 
[2026-08-25 17:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641138176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123928098755313664,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834282780427671552,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787660702000,"timestamp_ms":1787660702000,"timestamp_seconds":1787660702,"priority":1,"record_length":96,"hex_timestamp":"000001a038e19130"} 
[2026-08-25 17:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 17:55:18] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57843636008539160,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2713305093,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3776452609,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:18] local.WARNING: Large IO value detected {"io_id":81,"raw_value":-5426837495127857152,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2155544782,"corrected_to":0} 
[2026-08-25 17:55:18] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3221302689,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:18] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2147832266,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:18] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-6989585326173405179,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,123,84,24,241,157,16,71,160,98,45,128,249,15,40,10,66,74,64,234,17,70,47,192,1,240,94,227,56,81,4,113,205,58,252,222,239,52,2,184,5,43,224],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2155544782,"validated":0}]} 
[2026-08-25 17:55:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937074349738098688,"timestamp_seconds":937074349738098.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641138176001,"66":13450,"123":206,"84":6144,"24":70,"16":123928098755313664,"45":-6834282780427671552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,84,24,16,45]} 
[2026-08-25 17:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641138176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:55:18] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-25 17:55:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123928098755313664,"km_value":123928098755313.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834282780427671552,"description":"Unknown IO ID 45"} 
[2026-08-25 17:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641138176001,"power":13450,"unknown_123":206,"unknown_84":6144,"ignition":70,"odometer":null,"unknown_45":-6834282780427671552}} 
[2026-08-25 17:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":164496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:55:18] local.INFO: GPS data processed {"connection_id":164496,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:55:18] local.INFO: Acknowledgment sent {"connection_id":164496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:55:23] local.INFO: TCP Data received {"connection_id":164495,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:55:23] local.INFO: Processing buffer {"connection_id":164495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:55:23] local.INFO: Packet analysis {"connection_id":164495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:55:23] local.INFO: Extracted packet for processing {"connection_id":164495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:55:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641049344001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787660650000,"timestamp_ms":1787660650000,"timestamp_seconds":1787660650,"priority":1,"record_length":96,"hex_timestamp":"000001a038e0c610"} 
[2026-08-25 17: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-25 17:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:55: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-25 17:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641049344001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641049344001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:55:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641049344001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":164495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:55:23] local.INFO: GPS data processed {"connection_id":164495,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:55:23] local.INFO: Acknowledgment sent {"connection_id":164495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:55:28] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:55:28] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:55:28] local.INFO: IMEI packet received {"connection_id":162124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":162124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:55:33] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:55:33] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:55:33] local.INFO: IMEI packet received {"connection_id":162124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":162124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:55:34] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038deed68012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038deed68012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:55:34] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038deed68012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:55:34] local.INFO: Packet analysis {"connection_id":162124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038de"} 
[2026-08-25 17:55:34] local.INFO: Extracted packet for processing {"connection_id":162124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038de"} 
[2026-08-25 17:55:34] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641090048001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787660529000,"timestamp_ms":1787660529000,"timestamp_seconds":1787660529,"priority":1,"record_length":96,"hex_timestamp":"000001a038deed68"} 
[2026-08-25 17:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:55:34] 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-25 17:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 17:55:34] 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-25 17:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641090048001,"66":12341,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641090048001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:55:34] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641090048001,"power":12341,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":162124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:55:34] local.INFO: GPS data processed {"connection_id":162124,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:55:34] local.INFO: Acknowledgment sent {"connection_id":162124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:55:36] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038df3f70012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038df3f70012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:55:36] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038df3f70012d1f5ec0071db510004e011822..."} 
[2026-08-25 17:55:36] local.INFO: Packet analysis {"connection_id":162124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038df"} 
[2026-08-25 17:55:36] local.INFO: Extracted packet for processing {"connection_id":162124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038df"} 
[2026-08-25 17:55:36] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641095424001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787660550000,"timestamp_ms":1787660550000,"timestamp_seconds":1787660550,"priority":1,"record_length":96,"hex_timestamp":"000001a038df3f70"} 
[2026-08-25 17: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-25 17:55: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-25 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 17:55:36] 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-25 17: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-25 17: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-25 17:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641095424001,"66":12341,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641095424001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:55:36] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641095424001,"power":12341,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":162124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:55:36] local.INFO: GPS data processed {"connection_id":162124,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:55:36] local.INFO: Acknowledgment sent {"connection_id":162124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:55:39] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:55:39] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:55:39] local.INFO: IMEI packet received {"connection_id":161871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":161871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:55:44] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:55:44] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:55:44] local.INFO: IMEI packet received {"connection_id":161871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":161871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:55:45] local.INFO: TCP Data received {"connection_id":161872,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:55:45] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 17:55:45] local.INFO: IMEI packet received {"connection_id":161872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 17:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":161872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:55:50] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:55:50] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:55:50] local.INFO: IMEI packet received {"connection_id":161871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":161871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:55:51] local.INFO: TCP Data received {"connection_id":164497,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:55:51] local.INFO: Processing buffer {"connection_id":164497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:55:51] local.INFO: IMEI packet received {"connection_id":164497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":164497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:55:52] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:55:52] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:55:52] local.INFO: Packet analysis {"connection_id":161871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:55:52] local.INFO: Extracted packet for processing {"connection_id":161871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641049344001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787660650000,"timestamp_ms":1787660650000,"timestamp_seconds":1787660650,"priority":1,"record_length":96,"hex_timestamp":"000001a038e0c610"} 
[2026-08-25 17: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-25 17:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641049344001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641049344001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641049344001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":161871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:55:52] local.INFO: GPS data processed {"connection_id":161871,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:55:52] local.INFO: Acknowledgment sent {"connection_id":161871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:55:56] local.INFO: TCP Data received {"connection_id":164497,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:55:56] local.INFO: Processing buffer {"connection_id":164497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:55:56] local.INFO: IMEI packet received {"connection_id":164497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":164497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:55:56] local.INFO: TCP Data received {"connection_id":164497,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e1a4b8012da0e600055231c0000a013327..."} 
[2026-08-25 17:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e1a4b8012da0e600055231c0000a013327..."} 
[2026-08-25 17:55:56] local.INFO: Processing buffer {"connection_id":164497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e1a4b8012da0e600055231c0000a013327..."} 
[2026-08-25 17:55:56] local.INFO: Packet analysis {"connection_id":164497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e1"} 
[2026-08-25 17:55:56] local.INFO: Extracted packet for processing {"connection_id":164497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e1"} 
[2026-08-25 17:55:56] local.INFO: GPS Element Parsed {"raw_longitude":765519360,"raw_latitude":89272768,"longitude_deg":76.551936,"latitude_deg":8.9272768,"altitude":10,"angle":307,"satellites":39,"speed":71,"hex_longitude":"2da0e600","hex_latitude":"055231c0","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641139712001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123928536841977856,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6844486248332130304,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787660707000,"timestamp_ms":1787660707000,"timestamp_seconds":1787660707,"priority":1,"record_length":96,"hex_timestamp":"000001a038e1a4b8"} 
[2026-08-25 17: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-25 17:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 17:55:56] 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-25 17: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-25 17: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-25 17:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641139712001,"66":13428,"125":206,"84":6144,"24":71,"16":123928536841977856,"45":-6844486248332130304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-25 17:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641139712001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:55:56] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-25 17:55:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123928536841977856,"km_value":123928536841977.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6844486248332130304,"description":"Unknown IO ID 45"} 
[2026-08-25 17:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641139712001,"power":13428,"unknown_125":206,"unknown_84":6144,"ignition":71,"odometer":null,"unknown_45":-6844486248332130304}} 
[2026-08-25 17:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":164497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:55:56] local.INFO: GPS data processed {"connection_id":164497,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:55:56] local.INFO: Acknowledgment sent {"connection_id":164497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:55:56] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:55:56] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:55:56] local.INFO: Packet analysis {"connection_id":161871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:55:56] local.INFO: Extracted packet for processing {"connection_id":161871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:55:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641049344001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787660650000,"timestamp_ms":1787660650000,"timestamp_seconds":1787660650,"priority":1,"record_length":96,"hex_timestamp":"000001a038e0c610"} 
[2026-08-25 17: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-25 17:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:55:56] local.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-25 17:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641049344001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641049344001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:55:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641049344001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":161871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:55:56] local.INFO: GPS data processed {"connection_id":161871,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:55:56] local.INFO: Acknowledgment sent {"connection_id":161871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:55:57] local.INFO: TCP Data received {"connection_id":164497,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e1bc28012da0c60005524c48000a013629..."} 
[2026-08-25 17:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e1bc28012da0c60005524c48000a013629..."} 
[2026-08-25 17:55:57] local.INFO: Processing buffer {"connection_id":164497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e1bc28012da0c60005524c48000a013629..."} 
[2026-08-25 17:55:57] local.INFO: Packet analysis {"connection_id":164497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e1"} 
[2026-08-25 17:55:57] local.INFO: Extracted packet for processing {"connection_id":164497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e1"} 
[2026-08-25 17:55:57] local.INFO: GPS Element Parsed {"raw_longitude":765511168,"raw_latitude":89279560,"longitude_deg":76.5511168,"latitude_deg":8.927956,"altitude":10,"angle":310,"satellites":41,"speed":69,"hex_longitude":"2da0c600","hex_latitude":"05524c48","is_valid_coordinates":true} 
[2026-08-25 17:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641140992001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123929047943086080,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6852789760143802368,"note":"Value kept but may cause issues"} 
[2026-08-25 17:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787660713000,"timestamp_ms":1787660713000,"timestamp_seconds":1787660713,"priority":1,"record_length":96,"hex_timestamp":"000001a038e1bc28"} 
[2026-08-25 17:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 17:55:57] 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-25 17:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641140992001,"66":13319,"125":206,"84":6144,"24":69,"16":123929047943086080,"45":-6852789760143802368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-25 17:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641140992001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:55:57] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-25 17:55:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123929047943086080,"km_value":123929047943086.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6852789760143802368,"description":"Unknown IO ID 45"} 
[2026-08-25 17:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641140992001,"power":13319,"unknown_125":206,"unknown_84":6144,"ignition":69,"odometer":null,"unknown_45":-6852789760143802368}} 
[2026-08-25 17:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":164497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:55:57] local.INFO: GPS data processed {"connection_id":164497,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:55:57] local.INFO: Acknowledgment sent {"connection_id":164497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:56:06] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038df9178012d1f5ec0071db510004e011824..."} 
[2026-08-25 17:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038df9178012d1f5ec0071db510004e011824..."} 
[2026-08-25 17:56:06] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038df9178012d1f5ec0071db510004e011824..."} 
[2026-08-25 17:56:06] local.INFO: Packet analysis {"connection_id":162124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038df"} 
[2026-08-25 17:56:06] local.INFO: Extracted packet for processing {"connection_id":162124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038df"} 
[2026-08-25 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 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-25 17:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641100800001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787660571000,"timestamp_ms":1787660571000,"timestamp_seconds":1787660571,"priority":1,"record_length":96,"hex_timestamp":"000001a038df9178"} 
[2026-08-25 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-25 17:56: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-25 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":53,"data_length":795,"current_offset":136} 
[2026-08-25 17:56: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-25 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-25 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-25 17:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641100800001,"66":12385,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641100800001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:56:06] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641100800001,"power":12385,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":162124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:56:06] local.INFO: GPS data processed {"connection_id":162124,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:56:06] local.INFO: Acknowledgment sent {"connection_id":162124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:56:23] local.INFO: TCP Data received {"connection_id":162125,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:56:23] local.INFO: Processing buffer {"connection_id":162125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:56:23] local.INFO: IMEI packet received {"connection_id":162125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":162125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:56:28] local.INFO: TCP Data received {"connection_id":162125,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:56:28] local.INFO: Processing buffer {"connection_id":162125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:56:28] local.INFO: IMEI packet received {"connection_id":162125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":162125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:56:29] local.INFO: TCP Data received {"connection_id":162125,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038dfe380012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038dfe380012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:56:29] local.INFO: Processing buffer {"connection_id":162125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038dfe380012d1f5ec0071db510004e011825..."} 
[2026-08-25 17:56:29] local.INFO: Packet analysis {"connection_id":162125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038df"} 
[2026-08-25 17:56:29] local.INFO: Extracted packet for processing {"connection_id":162125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038df"} 
[2026-08-25 17:56:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641106176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787660592000,"timestamp_ms":1787660592000,"timestamp_seconds":1787660592,"priority":1,"record_length":96,"hex_timestamp":"000001a038dfe380"} 
[2026-08-25 17:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:56:29] 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-25 17:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 17:56:29] 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-25 17:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641106176001,"66":11721,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641106176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:56:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:56:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641106176001,"power":11721,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":162125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:56:29] local.INFO: GPS data processed {"connection_id":162125,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:56:29] local.INFO: Acknowledgment sent {"connection_id":162125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:56:34] local.INFO: TCP Data received {"connection_id":162125,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e03588012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e03588012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:56:34] local.INFO: Processing buffer {"connection_id":162125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e03588012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:56:34] local.INFO: Packet analysis {"connection_id":162125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:56:34] local.INFO: Extracted packet for processing {"connection_id":162125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:56:34] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641111552001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787660613000,"timestamp_ms":1787660613000,"timestamp_seconds":1787660613,"priority":1,"record_length":96,"hex_timestamp":"000001a038e03588"} 
[2026-08-25 17: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-25 17:56:34] 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-25 17: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-25 17:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641111552001,"66":12385,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641111552001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:56:34] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:56:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641111552001,"power":12385,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":162125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:56:34] local.INFO: GPS data processed {"connection_id":162125,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:56:34] local.INFO: Acknowledgment sent {"connection_id":162125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:56:38] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:56:38] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:56:38] local.INFO: IMEI packet received {"connection_id":162126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":162126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:56:41] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:56:41] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:56:41] local.INFO: IMEI packet received {"connection_id":162126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":162126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:56:41] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:56:41] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:56:41] local.INFO: IMEI packet received {"connection_id":162126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":162126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:56:46] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:56:46] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:56:46] local.INFO: IMEI packet received {"connection_id":162126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":162126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:56:47] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e2d950012d9fd7400552e5c8000a015c28..."} 
[2026-08-25 17:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e2d950012d9fd7400552e5c8000a015c28..."} 
[2026-08-25 17:56:47] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e2d950012d9fd7400552e5c8000a015c28..."} 
[2026-08-25 17:56:47] local.INFO: Packet analysis {"connection_id":162126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e2"} 
[2026-08-25 17:56:47] local.INFO: Extracted packet for processing {"connection_id":162126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e2"} 
[2026-08-25 17:56:47] local.INFO: GPS Element Parsed {"raw_longitude":765450048,"raw_latitude":89318856,"longitude_deg":76.5450048,"latitude_deg":8.9318856,"altitude":10,"angle":348,"satellites":40,"speed":9,"hex_longitude":"2d9fd740","hex_latitude":"0552e5c8","is_valid_coordinates":true} 
[2026-08-25 17:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641159424001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123932660010582016,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6928295422635085824,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787660786000,"timestamp_ms":1787660786000,"timestamp_seconds":1787660786,"priority":1,"record_length":96,"hex_timestamp":"000001a038e2d950"} 
[2026-08-25 17:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:56: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-25 17:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 17:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641159424001,"66":12809,"116":206,"84":6144,"24":9,"16":123932660010582016,"45":-6928295422635085824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-25 17:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641159424001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:56:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-25 17:56:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123932660010582016,"km_value":123932660010582.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6928295422635085824,"description":"Unknown IO ID 45"} 
[2026-08-25 17:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641159424001,"power":12809,"unknown_116":206,"unknown_84":6144,"ignition":9,"odometer":null,"unknown_45":-6928295422635085824}} 
[2026-08-25 17:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":162126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:56:47] local.INFO: GPS data processed {"connection_id":162126,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:56:47] local.INFO: Acknowledgment sent {"connection_id":162126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:56:52] local.INFO: TCP Data received {"connection_id":163121,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:56:52] local.INFO: Processing buffer {"connection_id":163121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:56:52] local.INFO: IMEI packet received {"connection_id":163121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":163121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:56:54] local.INFO: TCP Data received {"connection_id":163121,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:56:54] local.INFO: Processing buffer {"connection_id":163121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:56:54] local.INFO: IMEI packet received {"connection_id":163121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":163121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:56:55] local.INFO: TCP Data received {"connection_id":163121,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:56:55] local.INFO: Processing buffer {"connection_id":163121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:56:55] local.INFO: Packet analysis {"connection_id":163121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:56:55] local.INFO: Extracted packet for processing {"connection_id":163121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:56:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641049344001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787660650000,"timestamp_ms":1787660650000,"timestamp_seconds":1787660650,"priority":1,"record_length":96,"hex_timestamp":"000001a038e0c610"} 
[2026-08-25 17: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-25 17:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:56:55] 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-25 17:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641049344001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641049344001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:56:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641049344001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":163121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:56:55] local.INFO: GPS data processed {"connection_id":163121,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:56:55] local.INFO: Acknowledgment sent {"connection_id":163121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:57:00] local.INFO: TCP Data received {"connection_id":163121,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:57:00] local.INFO: Processing buffer {"connection_id":163121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:57:00] local.INFO: Packet analysis {"connection_id":163121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:57:00] local.INFO: Extracted packet for processing {"connection_id":163121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:57:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641049344001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787660650000,"timestamp_ms":1787660650000,"timestamp_seconds":1787660650,"priority":1,"record_length":96,"hex_timestamp":"000001a038e0c610"} 
[2026-08-25 17:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641049344001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641049344001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:57:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641049344001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":163121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:57:00] local.INFO: GPS data processed {"connection_id":163121,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:57:00] local.INFO: Acknowledgment sent {"connection_id":163121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:57:05] local.INFO: TCP Data received {"connection_id":162125,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e08790012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e08790012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:57:05] local.INFO: Processing buffer {"connection_id":162125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e08790012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:57:05] local.INFO: Packet analysis {"connection_id":162125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:57:05] local.INFO: Extracted packet for processing {"connection_id":162125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:57:05] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641116928001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787660634000,"timestamp_ms":1787660634000,"timestamp_seconds":1787660634,"priority":1,"record_length":96,"hex_timestamp":"000001a038e08790"} 
[2026-08-25 17: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-25 17:57:05] 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-25 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 17:57: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-25 17: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-25 17: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-25 17:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641116928001,"66":12385,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641116928001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:57:05] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:57:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641116928001,"power":12385,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":162125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:57:05] local.INFO: GPS data processed {"connection_id":162125,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:57:05] local.INFO: Acknowledgment sent {"connection_id":162125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:57:18] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e30448012d9fd6000552ede0000b000828..."} 
[2026-08-25 17:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e30448012d9fd6000552ede0000b000828..."} 
[2026-08-25 17:57:18] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e30448012d9fd6000552ede0000b000828..."} 
[2026-08-25 17:57:18] local.INFO: Packet analysis {"connection_id":162126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e3"} 
[2026-08-25 17:57:18] local.INFO: Extracted packet for processing {"connection_id":162126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e3"} 
[2026-08-25 17:57:18] local.INFO: GPS Element Parsed {"raw_longitude":765449728,"raw_latitude":89320928,"longitude_deg":76.5449728,"latitude_deg":8.9320928,"altitude":11,"angle":8,"satellites":40,"speed":6,"hex_longitude":"2d9fd600","hex_latitude":"0552ede0","is_valid_coordinates":true} 
[2026-08-25 17:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641161216001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123932763089797120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6928999110076413952,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787660797000,"timestamp_ms":1787660797000,"timestamp_seconds":1787660797,"priority":1,"record_length":96,"hex_timestamp":"000001a038e30448"} 
[2026-08-25 17:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17: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-25 17:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":4251398048405521408,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6755506815369457,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2684223493,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2181038080,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-2158833901473082560,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3030384649,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2121531598,"corrected_to":0} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3221574317,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":590110,"corrected_to":0} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":5952606419348954916,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775880733019732,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:18] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,116,84,24,241,157,16,76,160,189,45,192,222,10,40,66,154,64,204,11,75,131,1,240,166,227,56,82,4,113,205,35,92,14,200,39,239,52,2,184,5,9,25,51,201],"length":535,"final_offset":665,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2121531598,"validated":0},{"io_id":200,"original":590110,"validated":0}]} 
[2026-08-25 17:57:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720958742225027072,"timestamp_seconds":720958742225027.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 17:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641161216001,"66":13178,"116":206,"84":6144,"24":6,"16":123932763089797120,"45":-6928999110076413952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-25 17:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641161216001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:57:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-25 17:57:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123932763089797120,"km_value":123932763089797.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6928999110076413952,"description":"Unknown IO ID 45"} 
[2026-08-25 17:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641161216001,"power":13178,"unknown_116":206,"unknown_84":6144,"ignition":6,"odometer":null,"unknown_45":-6928999110076413952}} 
[2026-08-25 17:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":162126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:57:18] local.INFO: GPS data processed {"connection_id":162126,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:57:18] local.INFO: Acknowledgment sent {"connection_id":162126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:57:20] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:57:20] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:57:20] local.INFO: IMEI packet received {"connection_id":161873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":161873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:57:23] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:57:23] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:57:23] local.INFO: IMEI packet received {"connection_id":161873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":161873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:57:28] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:57:28] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:57:28] local.INFO: IMEI packet received {"connection_id":161873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":161873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:57:29] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e0d998012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e0d998012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:57:29] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e0d998012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:57:29] local.INFO: Packet analysis {"connection_id":161873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:57:29] local.INFO: Extracted packet for processing {"connection_id":161873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:57:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641122304001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787660655000,"timestamp_ms":1787660655000,"timestamp_seconds":1787660655,"priority":1,"record_length":96,"hex_timestamp":"000001a038e0d998"} 
[2026-08-25 17:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:57:29] 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-25 17:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 17:57:29] 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-25 17:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641122304001,"66":12385,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641122304001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:57:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:57:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641122304001,"power":12385,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":161873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:57:29] local.INFO: GPS data processed {"connection_id":161873,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:57:29] local.INFO: Acknowledgment sent {"connection_id":161873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:57:39] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:57:39] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:57:39] local.INFO: IMEI packet received {"connection_id":161874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":161874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:57:41] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:57:41] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:57:41] local.INFO: IMEI packet received {"connection_id":161875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":161875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:57:45] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:57:45] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:57:45] local.INFO: IMEI packet received {"connection_id":161874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":161874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:57:46] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:57:46] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:57:46] local.INFO: IMEI packet received {"connection_id":161875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":161875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:57:46] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e31000012d9fd6000552f190000b016528..."} 
[2026-08-25 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e31000012d9fd6000552f190000b016528..."} 
[2026-08-25 17:57:46] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e31000012d9fd6000552f190000b016528..."} 
[2026-08-25 17:57:46] local.INFO: Packet analysis {"connection_id":161875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e3"} 
[2026-08-25 17:57:46] local.INFO: Extracted packet for processing {"connection_id":161875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e3"} 
[2026-08-25 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":765449728,"raw_latitude":89321872,"longitude_deg":76.5449728,"latitude_deg":8.9321872,"altitude":11,"angle":357,"satellites":40,"speed":14,"hex_longitude":"2d9fd600","hex_latitude":"0552f190","is_valid_coordinates":true} 
[2026-08-25 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641164032001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123932810334437376,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6929350953796771840,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787660800000,"timestamp_ms":1787660800000,"timestamp_seconds":1787660800,"priority":1,"record_length":96,"hex_timestamp":"000001a038e31000"} 
[2026-08-25 17:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-25 17:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641164032001,"66":13015,"116":206,"84":6144,"24":14,"16":123932810334437376,"45":-6929350953796771840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-25 17:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641164032001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:57:46] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-25 17:57:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123932810334437376,"km_value":123932810334437.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6929350953796771840,"description":"Unknown IO ID 45"} 
[2026-08-25 17:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641164032001,"power":13015,"unknown_116":206,"unknown_84":6144,"ignition":14,"odometer":null,"unknown_45":-6929350953796771840}} 
[2026-08-25 17:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":161875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:57:46] local.INFO: GPS data processed {"connection_id":161875,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:57:46] local.INFO: Acknowledgment sent {"connection_id":161875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:57:46] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:57:46] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:57:46] local.INFO: Packet analysis {"connection_id":161874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:57:46] local.INFO: Extracted packet for processing {"connection_id":161874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641049344001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787660650000,"timestamp_ms":1787660650000,"timestamp_seconds":1787660650,"priority":1,"record_length":96,"hex_timestamp":"000001a038e0c610"} 
[2026-08-25 17:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641049344001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641049344001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641049344001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":161874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:57:46] local.INFO: GPS data processed {"connection_id":161874,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:57:46] local.INFO: Acknowledgment sent {"connection_id":161874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:58:00] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e12ba0012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e12ba0012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:58:00] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e12ba0012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:58:00] local.INFO: Packet analysis {"connection_id":161873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e1"} 
[2026-08-25 17:58:00] local.INFO: Extracted packet for processing {"connection_id":161873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e1"} 
[2026-08-25 17:58:00] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641127680001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787660676000,"timestamp_ms":1787660676000,"timestamp_seconds":1787660676,"priority":1,"record_length":96,"hex_timestamp":"000001a038e12ba0"} 
[2026-08-25 17:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:58:00] 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-25 17:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 17:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641127680001,"66":12406,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641127680001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:58:00] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:58:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641127680001,"power":12406,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":161873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:58:01] local.INFO: GPS data processed {"connection_id":161873,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:58:01] local.INFO: Acknowledgment sent {"connection_id":161873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:58:18] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e346b0012d9fd14005531680000e016123..."} 
[2026-08-25 17:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e346b0012d9fd14005531680000e016123..."} 
[2026-08-25 17:58:18] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e346b0012d9fd14005531680000e016123..."} 
[2026-08-25 17:58:18] local.INFO: Packet analysis {"connection_id":161875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e3"} 
[2026-08-25 17:58:18] local.INFO: Extracted packet for processing {"connection_id":161875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e3"} 
[2026-08-25 17:58:18] local.INFO: GPS Element Parsed {"raw_longitude":765448512,"raw_latitude":89331328,"longitude_deg":76.5448512,"latitude_deg":8.9331328,"altitude":14,"angle":353,"satellites":35,"speed":30,"hex_longitude":"2d9fd140","hex_latitude":"05531680","is_valid_coordinates":true} 
[2026-08-25 17:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641164800001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123933274190905344,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6929350953796530176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787660814000,"timestamp_ms":1787660814000,"timestamp_seconds":1787660814,"priority":1,"record_length":96,"hex_timestamp":"000001a038e346b0"} 
[2026-08-25 17:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-25 17:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641164800001,"66":13472,"116":206,"84":6144,"24":30,"16":123933274190905344,"45":-6929350953796530176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-25 17:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641164800001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:58:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-25 17:58:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123933274190905344,"km_value":123933274190905.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6929350953796530176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641164800001,"power":13472,"unknown_116":206,"unknown_84":6144,"ignition":30,"odometer":null,"unknown_45":-6929350953796530176}} 
[2026-08-25 17:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":161875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:58:18] local.INFO: GPS data processed {"connection_id":161875,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:58:18] local.INFO: Acknowledgment sent {"connection_id":161875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:58:19] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:58:19] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:58:19] local.INFO: Packet analysis {"connection_id":161874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:58:19] local.INFO: Extracted packet for processing {"connection_id":161874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641049344001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787660650000,"timestamp_ms":1787660650000,"timestamp_seconds":1787660650,"priority":1,"record_length":96,"hex_timestamp":"000001a038e0c610"} 
[2026-08-25 17:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:58:19] 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-25 17:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641049344001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641049344001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641049344001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":161874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:58:19] local.INFO: GPS data processed {"connection_id":161874,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:58:19] local.INFO: Acknowledgment sent {"connection_id":161874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:58:23] local.INFO: TCP Data received {"connection_id":161876,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:58:23] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:58:23] local.INFO: IMEI packet received {"connection_id":161876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":161876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:58:24] local.INFO: TCP Data received {"connection_id":161876,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:58:24] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:58:24] local.INFO: IMEI packet received {"connection_id":161876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":161876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:58:28] local.INFO: TCP Data received {"connection_id":161876,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:58:28] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:58:28] local.INFO: IMEI packet received {"connection_id":161876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":161876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:58:29] local.INFO: TCP Data received {"connection_id":161876,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e17da8012d1f5ec0071db510004e011823..."} 
[2026-08-25 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e17da8012d1f5ec0071db510004e011823..."} 
[2026-08-25 17:58:29] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e17da8012d1f5ec0071db510004e011823..."} 
[2026-08-25 17:58:29] local.INFO: Packet analysis {"connection_id":161876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e1"} 
[2026-08-25 17:58:29] local.INFO: Extracted packet for processing {"connection_id":161876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e1"} 
[2026-08-25 17:58:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641133056001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787660697000,"timestamp_ms":1787660697000,"timestamp_seconds":1787660697,"priority":1,"record_length":96,"hex_timestamp":"000001a038e17da8"} 
[2026-08-25 17:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:58:29] 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-25 17:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:58:29] 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-25 17:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641133056001,"66":11721,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641133056001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:58:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641133056001,"power":11721,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":161876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:58:29] local.INFO: GPS data processed {"connection_id":161876,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:58:29] local.INFO: Acknowledgment sent {"connection_id":161876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:58:39] local.INFO: TCP Data received {"connection_id":164498,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:58:39] local.INFO: Processing buffer {"connection_id":164498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:58:39] local.INFO: IMEI packet received {"connection_id":164498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":164498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:58:40] local.INFO: TCP Data received {"connection_id":164499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:58:40] local.INFO: Processing buffer {"connection_id":164499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:58:40] local.INFO: IMEI packet received {"connection_id":164499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":164499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:58:44] local.INFO: TCP Data received {"connection_id":164498,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:58:44] local.INFO: Processing buffer {"connection_id":164498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:58:44] local.INFO: IMEI packet received {"connection_id":164498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":164498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:58:45] local.INFO: TCP Data received {"connection_id":164498,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:58:45] local.INFO: Processing buffer {"connection_id":164498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:58:45] local.INFO: Packet analysis {"connection_id":164498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:58:45] local.INFO: Extracted packet for processing {"connection_id":164498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641049344001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787660650000,"timestamp_ms":1787660650000,"timestamp_seconds":1787660650,"priority":1,"record_length":96,"hex_timestamp":"000001a038e0c610"} 
[2026-08-25 17:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641049344001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641049344001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641049344001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":164498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:58:45] local.INFO: GPS data processed {"connection_id":164498,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:58:45] local.INFO: Acknowledgment sent {"connection_id":164498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:58:46] local.INFO: TCP Data received {"connection_id":164499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:58:46] local.INFO: Processing buffer {"connection_id":164499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:58:46] local.INFO: IMEI packet received {"connection_id":164499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":164499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:58:46] local.INFO: TCP Data received {"connection_id":164499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e37978012d9fce4005533ad8000e016227..."} 
[2026-08-25 17:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e37978012d9fce4005533ad8000e016227..."} 
[2026-08-25 17:58:46] local.INFO: Processing buffer {"connection_id":164499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e37978012d9fce4005533ad8000e016227..."} 
[2026-08-25 17:58:46] local.INFO: Packet analysis {"connection_id":164499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e3"} 
[2026-08-25 17:58:46] local.INFO: Extracted packet for processing {"connection_id":164499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e3"} 
[2026-08-25 17:58:46] local.INFO: GPS Element Parsed {"raw_longitude":765447744,"raw_latitude":89340632,"longitude_deg":76.5447744,"latitude_deg":8.9340632,"altitude":14,"angle":354,"satellites":39,"speed":25,"hex_longitude":"2d9fce40","hex_latitude":"05533ad8","is_valid_coordinates":true} 
[2026-08-25 17:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641168384001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123933725162471424,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6930687959933485056,"note":"Value kept but may cause issues"} 
[2026-08-25 17:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787660827000,"timestamp_ms":1787660827000,"timestamp_seconds":1787660827,"priority":1,"record_length":96,"hex_timestamp":"000001a038e37978"} 
[2026-08-25 17:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 17:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 17:58:46] 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-25 17:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641168384001,"66":13493,"115":206,"84":6144,"24":25,"16":123933725162471424,"45":-6930687959933485056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-25 17:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641168384001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:58:46] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-25 17:58:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-25 17:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123933725162471424,"km_value":123933725162471.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6930687959933485056,"description":"Unknown IO ID 45"} 
[2026-08-25 17:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641168384001,"power":13493,"unknown_115":206,"unknown_84":6144,"ignition":25,"odometer":null,"unknown_45":-6930687959933485056}} 
[2026-08-25 17:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":164499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:58:47] local.INFO: GPS data processed {"connection_id":164499,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:58:47] local.INFO: Acknowledgment sent {"connection_id":164499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:59:00] local.INFO: TCP Data received {"connection_id":161876,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e1cfb0012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e1cfb0012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:59:00] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e1cfb0012d1f5ec0071db510004e011827..."} 
[2026-08-25 17:59:00] local.INFO: Packet analysis {"connection_id":161876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e1"} 
[2026-08-25 17:59:00] local.INFO: Extracted packet for processing {"connection_id":161876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e1"} 
[2026-08-25 17:59:00] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641138432001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787660718000,"timestamp_ms":1787660718000,"timestamp_seconds":1787660718,"priority":1,"record_length":96,"hex_timestamp":"000001a038e1cfb0"} 
[2026-08-25 17:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:59:00] 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-25 17:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-25 17:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641138432001,"66":12428,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641138432001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:59:00] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:59:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641138432001,"power":12428,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":161876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:59:00] local.INFO: GPS data processed {"connection_id":161876,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:59:00] local.INFO: Acknowledgment sent {"connection_id":161876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:59:18] local.INFO: TCP Data received {"connection_id":164499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e52ef8012d9f3700055432600006012628..."} 
[2026-08-25 17:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e52ef8012d9f3700055432600006012628..."} 
[2026-08-25 17:59:18] local.INFO: Processing buffer {"connection_id":164499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e52ef8012d9f3700055432600006012628..."} 
[2026-08-25 17:59:18] local.INFO: Packet analysis {"connection_id":164499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 17:59:18] local.INFO: Extracted packet for processing {"connection_id":164499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 17:59:18] local.INFO: GPS Element Parsed {"raw_longitude":765409024,"raw_latitude":89404000,"longitude_deg":76.5409024,"latitude_deg":8.9404,"altitude":6,"angle":294,"satellites":40,"speed":51,"hex_longitude":"2d9f3700","hex_latitude":"05543260","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641198336001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123937715187089408,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6964605694609479680,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787660939000,"timestamp_ms":1787660939000,"timestamp_seconds":1787660939,"priority":1,"record_length":96,"hex_timestamp":"000001a038e52ef8"} 
[2026-08-25 17: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-25 17:59: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-25 17: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":116,"data_length":795,"current_offset":136} 
[2026-08-25 17:59: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-25 17: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-25 17: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-25 17:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641198336001,"66":13406,"228":206,"84":7168,"24":51,"16":123937715187089408,"45":-6964605694609479680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,84,24,16,45]} 
[2026-08-25 17:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641198336001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:59:18] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-25 17:59:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 17:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123937715187089408,"km_value":123937715187089.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6964605694609479680,"description":"Unknown IO ID 45"} 
[2026-08-25 17:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641198336001,"power":13406,"unknown_228":206,"unknown_84":7168,"ignition":51,"odometer":null,"unknown_45":-6964605694609479680}} 
[2026-08-25 17:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":164499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:59:18] local.INFO: GPS data processed {"connection_id":164499,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:59:18] local.INFO: Acknowledgment sent {"connection_id":164499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:59:19] local.INFO: TCP Data received {"connection_id":164498,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:59:19] local.INFO: Processing buffer {"connection_id":164498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e0c610012d34c14006aa4818000700e62b..."} 
[2026-08-25 17:59:19] local.INFO: Packet analysis {"connection_id":164498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:59:19] local.INFO: Extracted packet for processing {"connection_id":164498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e0"} 
[2026-08-25 17:59:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 17: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-25 17:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641049344001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 17:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 17:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787660650000,"timestamp_ms":1787660650000,"timestamp_seconds":1787660650,"priority":1,"record_length":96,"hex_timestamp":"000001a038e0c610"} 
[2026-08-25 17: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-25 17:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 17: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":194,"data_length":795,"current_offset":136} 
[2026-08-25 17:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17: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-25 17: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-25 17:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 17:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 17:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 17:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641049344001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 17:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 17:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 17:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641049344001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:59:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 17:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 17:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641049344001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 17:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":164498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:59:19] local.INFO: GPS data processed {"connection_id":164498,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:59:19] local.INFO: Acknowledgment sent {"connection_id":164498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:59:23] local.INFO: TCP Data received {"connection_id":163123,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:59:23] local.INFO: Processing buffer {"connection_id":163123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:59:23] local.INFO: IMEI packet received {"connection_id":163123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 17:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":163123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:59:26] local.INFO: TCP Data received {"connection_id":163123,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:59:26] local.INFO: Processing buffer {"connection_id":163123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 17:59:26] local.INFO: IMEI packet received {"connection_id":163123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 17:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":163123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:59:27] local.INFO: TCP Data received {"connection_id":163123,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e221b8012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e221b8012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:59:27] local.INFO: Processing buffer {"connection_id":163123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e221b8012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:59:27] local.INFO: Packet analysis {"connection_id":163123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e2"} 
[2026-08-25 17:59:27] local.INFO: Extracted packet for processing {"connection_id":163123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e2"} 
[2026-08-25 17:59:27] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641143808001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787660739000,"timestamp_ms":1787660739000,"timestamp_seconds":1787660739,"priority":1,"record_length":96,"hex_timestamp":"000001a038e221b8"} 
[2026-08-25 17:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:59:27] 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-25 17:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 17:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 17:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641143808001,"66":12406,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641143808001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:59:27] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:59:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641143808001,"power":12406,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":163123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:59:27] local.INFO: GPS data processed {"connection_id":163123,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:59:27] local.INFO: Acknowledgment sent {"connection_id":163123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:59:40] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:59:40] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:59:40] local.INFO: IMEI packet received {"connection_id":161877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 17:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":161877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:59:45] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:59:45] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:59:45] local.INFO: IMEI packet received {"connection_id":161877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":161877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:59:45] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:59:45] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 17:59:45] local.INFO: IMEI packet received {"connection_id":161877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 17:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":161877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:59:46] local.INFO: TCP Data received {"connection_id":164500,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:59:46] local.INFO: Processing buffer {"connection_id":164500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:59:46] local.INFO: IMEI packet received {"connection_id":164500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 17:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":164500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 17:59:46] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e54a50012d9f1580055443c80007012d29..."} 
[2026-08-25 17:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e54a50012d9f1580055443c80007012d29..."} 
[2026-08-25 17:59:46] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e54a50012d9f1580055443c80007012d29..."} 
[2026-08-25 17:59:46] local.INFO: Packet analysis {"connection_id":161877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 17:59:46] local.INFO: Extracted packet for processing {"connection_id":161877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 17:59:46] local.INFO: GPS Element Parsed {"raw_longitude":765400448,"raw_latitude":89408456,"longitude_deg":76.5400448,"latitude_deg":8.9408456,"altitude":7,"angle":301,"satellites":41,"speed":55,"hex_longitude":"2d9f1580","hex_latitude":"055443c8","is_valid_coordinates":true} 
[2026-08-25 17:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641200384001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123938179043557376,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6974105475072499712,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787660946000,"timestamp_ms":1787660946000,"timestamp_seconds":1787660946,"priority":1,"record_length":96,"hex_timestamp":"000001a038e54a50"} 
[2026-08-25 17:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:59: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-25 17:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 17:59:46] 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-25 17:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641200384001,"66":13363,"228":206,"84":7168,"24":55,"16":123938179043557376,"45":-6974105475072499712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,84,24,16,45]} 
[2026-08-25 17:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641200384001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:59:46] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-25 17:59:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 17:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123938179043557376,"km_value":123938179043557.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6974105475072499712,"description":"Unknown IO ID 45"} 
[2026-08-25 17:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641200384001,"power":13363,"unknown_228":206,"unknown_84":7168,"ignition":55,"odometer":null,"unknown_45":-6974105475072499712}} 
[2026-08-25 17:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":161877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:59:46] local.INFO: GPS data processed {"connection_id":161877,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:59:46] local.INFO: Acknowledgment sent {"connection_id":161877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:59:49] local.INFO: TCP Data received {"connection_id":164500,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:59:49] local.INFO: Processing buffer {"connection_id":164500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 17:59:49] local.INFO: IMEI packet received {"connection_id":164500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 17:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":164500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 17:59:51] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e561c0012d9efc40055456900007013829..."} 
[2026-08-25 17:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e561c0012d9efc40055456900007013829..."} 
[2026-08-25 17:59:51] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e561c0012d9efc40055456900007013829..."} 
[2026-08-25 17:59:51] local.INFO: Packet analysis {"connection_id":161877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 17:59:51] local.INFO: Extracted packet for processing {"connection_id":161877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 17:59:51] local.INFO: GPS Element Parsed {"raw_longitude":765393984,"raw_latitude":89413264,"longitude_deg":76.5393984,"latitude_deg":8.9413264,"altitude":7,"angle":312,"satellites":41,"speed":50,"hex_longitude":"2d9efc40","hex_latitude":"05545690","is_valid_coordinates":true} 
[2026-08-25 17:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 17:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641202176001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123938565590614016,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6983534886791165952,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787660952000,"timestamp_ms":1787660952000,"timestamp_seconds":1787660952,"priority":1,"record_length":96,"hex_timestamp":"000001a038e561c0"} 
[2026-08-25 17:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17: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-25 17:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 17:59:51] 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-25 17:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 17:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 17:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 17:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 17:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641202176001,"66":13428,"228":206,"84":7168,"24":50,"16":123938565590614016,"45":-6983534886791165952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,84,24,16,45]} 
[2026-08-25 17:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 17:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 17:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641202176001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:59:51] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-25 17:59:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 17:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123938565590614016,"km_value":123938565590614.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6983534886791165952,"description":"Unknown IO ID 45"} 
[2026-08-25 17:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641202176001,"power":13428,"unknown_228":206,"unknown_84":7168,"ignition":50,"odometer":null,"unknown_45":-6983534886791165952}} 
[2026-08-25 17:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":161877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:59:51] local.INFO: GPS data processed {"connection_id":161877,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:59:51] local.INFO: Acknowledgment sent {"connection_id":161877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 17:59:58] local.INFO: TCP Data received {"connection_id":163123,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e273c0012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e273c0012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:59:58] local.INFO: Processing buffer {"connection_id":163123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e273c0012d1f5ec0071db510004e011828..."} 
[2026-08-25 17:59:58] local.INFO: Packet analysis {"connection_id":163123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e2"} 
[2026-08-25 17:59:58] local.INFO: Extracted packet for processing {"connection_id":163123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e2"} 
[2026-08-25 17:59:58] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 17:59: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-25 17:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641149184001,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 17:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 17:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787660760000,"timestamp_ms":1787660760000,"timestamp_seconds":1787660760,"priority":1,"record_length":96,"hex_timestamp":"000001a038e273c0"} 
[2026-08-25 17:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 17:59:58] 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-25 17:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 17:59:58] 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-25 17:59: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-25 17:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 17:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 17:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 17:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 17:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 17:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 17:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 17:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641149184001,"66":12385,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 17:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 17:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 17:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641149184001,"description":"Unknown IO ID 0"} 
[2026-08-25 17:59:58] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 17:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 17:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 17:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 17:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641149184001,"power":12385,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 17:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":163123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 17:59:58] local.INFO: GPS data processed {"connection_id":163123,"processed":1,"errors":0,"total":1} 
[2026-08-25 17:59:58] local.INFO: Acknowledgment sent {"connection_id":163123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:00:01] local.INFO: TCP Data received {"connection_id":164500,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:00:01] local.INFO: Processing buffer {"connection_id":164500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:00:01] local.INFO: Packet analysis {"connection_id":164500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:00:01] local.INFO: Extracted packet for processing {"connection_id":164500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:00:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641126400001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787660951000,"timestamp_ms":1787660951000,"timestamp_seconds":1787660951,"priority":1,"record_length":96,"hex_timestamp":"000001a038e55dd8"} 
[2026-08-25 18:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:00:01] 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-25 18:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":164500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":164500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":164500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641126400001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641126400001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:00:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641126400001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":164500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:00:01] local.INFO: GPS data processed {"connection_id":164500,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:00:01] local.INFO: Acknowledgment sent {"connection_id":164500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:00:02] local.INFO: TCP Data received {"connection_id":164500,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:00:02] local.INFO: Processing buffer {"connection_id":164500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:00:02] local.INFO: Packet analysis {"connection_id":164500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:00:02] local.INFO: Extracted packet for processing {"connection_id":164500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:00:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641126400001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787660951000,"timestamp_ms":1787660951000,"timestamp_seconds":1787660951,"priority":1,"record_length":96,"hex_timestamp":"000001a038e55dd8"} 
[2026-08-25 18:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:00: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-25 18:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641126400001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641126400001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:00:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641126400001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":164500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:00:02] local.INFO: GPS data processed {"connection_id":164500,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:00:02] local.INFO: Acknowledgment sent {"connection_id":164500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:00:23] local.INFO: TCP Data received {"connection_id":163124,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:00:23] local.INFO: Processing buffer {"connection_id":163124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:00:23] local.INFO: IMEI packet received {"connection_id":163124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":163124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:00:25] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e57d18012d9ee200055470180008013c28..."} 
[2026-08-25 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e57d18012d9ee200055470180008013c28..."} 
[2026-08-25 18:00:25] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e57d18012d9ee200055470180008013c28..."} 
[2026-08-25 18:00:25] local.INFO: Packet analysis {"connection_id":161877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:00:25] local.INFO: Extracted packet for processing {"connection_id":161877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:00:25] local.INFO: GPS Element Parsed {"raw_longitude":765387264,"raw_latitude":89419800,"longitude_deg":76.5387264,"latitude_deg":8.94198,"altitude":8,"angle":316,"satellites":40,"speed":56,"hex_longitude":"2d9ee200","hex_latitude":"05547018","is_valid_coordinates":true} 
[2026-08-25 18:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641203712001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123939016562180096,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6990642129951879168,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787660959000,"timestamp_ms":1787660959000,"timestamp_seconds":1787660959,"priority":1,"record_length":96,"hex_timestamp":"000001a038e57d18"} 
[2026-08-25 18:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:00: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-25 18:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 18:00:25] 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-25 18:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641203712001,"66":13341,"228":206,"84":7168,"24":56,"16":123939016562180096,"45":-6990642129951879168},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,84,24,16,45]} 
[2026-08-25 18:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641203712001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:00:25] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-25 18:00:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123939016562180096,"km_value":123939016562180.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6990642129951879168,"description":"Unknown IO ID 45"} 
[2026-08-25 18:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641203712001,"power":13341,"unknown_228":206,"unknown_84":7168,"ignition":56,"odometer":null,"unknown_45":-6990642129951879168}} 
[2026-08-25 18:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":161877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:00:25] local.INFO: GPS data processed {"connection_id":161877,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:00:25] local.INFO: Acknowledgment sent {"connection_id":161877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:00:28] local.INFO: TCP Data received {"connection_id":163124,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:00:28] local.INFO: Processing buffer {"connection_id":163124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:00:28] local.INFO: IMEI packet received {"connection_id":163124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":163124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:00:29] local.INFO: TCP Data received {"connection_id":163124,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e2c5c8012d1f5ec0071db510004e011829..."} 
[2026-08-25 18:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e2c5c8012d1f5ec0071db510004e011829..."} 
[2026-08-25 18:00:29] local.INFO: Processing buffer {"connection_id":163124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e2c5c8012d1f5ec0071db510004e011829..."} 
[2026-08-25 18:00:29] local.INFO: Packet analysis {"connection_id":163124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e2"} 
[2026-08-25 18:00:29] local.INFO: Extracted packet for processing {"connection_id":163124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e2"} 
[2026-08-25 18:00:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641154560001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787660781000,"timestamp_ms":1787660781000,"timestamp_seconds":1787660781,"priority":1,"record_length":96,"hex_timestamp":"000001a038e2c5c8"} 
[2026-08-25 18: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-25 18:00:29] 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-25 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 18:00:29] 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-25 18: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-25 18: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-25 18:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641154560001,"66":12406,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 18:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641154560001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:00:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:00:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 18:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641154560001,"power":12406,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 18:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":163124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:00:29] local.INFO: GPS data processed {"connection_id":163124,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:00:29] local.INFO: Acknowledgment sent {"connection_id":163124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:00:39] local.INFO: TCP Data received {"connection_id":164501,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:00:39] local.INFO: Processing buffer {"connection_id":164501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:00:39] local.INFO: IMEI packet received {"connection_id":164501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":164501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:00:40] local.INFO: TCP Data received {"connection_id":162127,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:00:40] local.INFO: Processing buffer {"connection_id":162127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:00:40] local.INFO: IMEI packet received {"connection_id":162127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":162127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:00:43] local.INFO: TCP Data received {"connection_id":162127,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:00:43] local.INFO: Processing buffer {"connection_id":162127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:00:43] local.INFO: IMEI packet received {"connection_id":162127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":162127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:00:44] local.INFO: TCP Data received {"connection_id":164501,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:00:44] local.INFO: Processing buffer {"connection_id":164501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:00:44] local.INFO: IMEI packet received {"connection_id":164501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":164501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:00:45] local.INFO: TCP Data received {"connection_id":164501,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:00:45] local.INFO: Processing buffer {"connection_id":164501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:00:45] local.INFO: Packet analysis {"connection_id":164501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:00:45] local.INFO: Extracted packet for processing {"connection_id":164501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:00: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-25 18:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641126400001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787660951000,"timestamp_ms":1787660951000,"timestamp_seconds":1787660951,"priority":1,"record_length":96,"hex_timestamp":"000001a038e55dd8"} 
[2026-08-25 18:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:00: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-25 18:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641126400001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641126400001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641126400001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":164501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:00:45] local.INFO: GPS data processed {"connection_id":164501,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:00:45] local.INFO: Acknowledgment sent {"connection_id":164501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:00:45] local.INFO: TCP Data received {"connection_id":162127,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:00:45] local.INFO: Processing buffer {"connection_id":162127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:00:45] local.INFO: IMEI packet received {"connection_id":162127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":162127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:00:46] local.INFO: TCP Data received {"connection_id":162127,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e68e88012d9e5b000555e2c8000a015a28..."} 
[2026-08-25 18:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e68e88012d9e5b000555e2c8000a015a28..."} 
[2026-08-25 18:00:46] local.INFO: Processing buffer {"connection_id":162127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e68e88012d9e5b000555e2c8000a015a28..."} 
[2026-08-25 18:00:46] local.INFO: Packet analysis {"connection_id":162127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e6"} 
[2026-08-25 18:00:46] local.INFO: Extracted packet for processing {"connection_id":162127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e6"} 
[2026-08-25 18:00:46] local.INFO: GPS Element Parsed {"raw_longitude":765352704,"raw_latitude":89514696,"longitude_deg":76.5352704,"latitude_deg":8.9514696,"altitude":10,"angle":346,"satellites":40,"speed":61,"hex_longitude":"2d9e5b00","hex_latitude":"0555e2c8","is_valid_coordinates":true} 
[2026-08-25 18:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641221888001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123943955774570496,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033567063876605952,"note":"Value kept but may cause issues"} 
[2026-08-25 18:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787661029000,"timestamp_ms":1787661029000,"timestamp_seconds":1787661029,"priority":1,"record_length":96,"hex_timestamp":"000001a038e68e88"} 
[2026-08-25 18:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:00: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-25 18:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 18:00:46] 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-25 18:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641221888001,"66":13178,"196":206,"84":7168,"24":61,"16":123943955774570496,"45":-7033567063876605952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-25 18:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641221888001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:00:46] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-25 18:00:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123943955774570496,"km_value":123943955774570.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033567063876605952,"description":"Unknown IO ID 45"} 
[2026-08-25 18:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641221888001,"power":13178,"unknown_196":206,"unknown_84":7168,"ignition":61,"odometer":null,"unknown_45":-7033567063876605952}} 
[2026-08-25 18:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":162127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:00:46] local.INFO: GPS data processed {"connection_id":162127,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:00:46] local.INFO: Acknowledgment sent {"connection_id":162127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:01:00] local.INFO: TCP Data received {"connection_id":163124,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e317d0012d1f5ec0071db510004e01182a..."} 
[2026-08-25 18:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e317d0012d1f5ec0071db510004e01182a..."} 
[2026-08-25 18:01:00] local.INFO: Processing buffer {"connection_id":163124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e317d0012d1f5ec0071db510004e01182a..."} 
[2026-08-25 18:01:00] local.INFO: Packet analysis {"connection_id":163124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e3"} 
[2026-08-25 18:01:00] local.INFO: Extracted packet for processing {"connection_id":163124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e3"} 
[2026-08-25 18:01:00] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 18:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641159936001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787660802000,"timestamp_ms":1787660802000,"timestamp_seconds":1787660802,"priority":1,"record_length":96,"hex_timestamp":"000001a038e317d0"} 
[2026-08-25 18:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:01:00] 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-25 18:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:01:00] 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-25 18:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641159936001,"66":12374,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 18:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641159936001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:01:00] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:01:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 18:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641159936001,"power":12374,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 18:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":163124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:01:00] local.INFO: GPS data processed {"connection_id":163124,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:01:00] local.INFO: Acknowledgment sent {"connection_id":163124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:01:14] local.INFO: TCP Data received {"connection_id":163122,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:01:14] local.INFO: Processing buffer {"connection_id":163122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:01:14] local.INFO: IMEI packet received {"connection_id":163122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 18:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":163122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:01:17] local.INFO: TCP Data received {"connection_id":164501,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:01:17] local.INFO: Processing buffer {"connection_id":164501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:01:17] local.INFO: Packet analysis {"connection_id":164501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:01:17] local.INFO: Extracted packet for processing {"connection_id":164501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641126400001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787660951000,"timestamp_ms":1787660951000,"timestamp_seconds":1787660951,"priority":1,"record_length":96,"hex_timestamp":"000001a038e55dd8"} 
[2026-08-25 18:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:01:17] 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-25 18:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641126400001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641126400001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641126400001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":164501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:01:17] local.INFO: GPS data processed {"connection_id":164501,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:01:17] local.INFO: Acknowledgment sent {"connection_id":164501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:01:18] local.INFO: TCP Data received {"connection_id":162127,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e6a5f8012d9e524005560708000a015928..."} 
[2026-08-25 18:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e6a5f8012d9e524005560708000a015928..."} 
[2026-08-25 18:01:18] local.INFO: Processing buffer {"connection_id":162127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e6a5f8012d9e524005560708000a015928..."} 
[2026-08-25 18:01:18] local.INFO: Packet analysis {"connection_id":162127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e6"} 
[2026-08-25 18:01:18] local.INFO: Extracted packet for processing {"connection_id":162127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e6"} 
[2026-08-25 18:01:18] local.INFO: GPS Element Parsed {"raw_longitude":765350464,"raw_latitude":89523976,"longitude_deg":76.5350464,"latitude_deg":8.9523976,"altitude":10,"angle":345,"satellites":40,"speed":62,"hex_longitude":"2d9e5240","hex_latitude":"05560708","is_valid_coordinates":true} 
[2026-08-25 18:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641223424001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123944415336071168,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7036029969920505856,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787661035000,"timestamp_ms":1787661035000,"timestamp_seconds":1787661035,"priority":1,"record_length":96,"hex_timestamp":"000001a038e6a5f8"} 
[2026-08-25 18:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18: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-25 18:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-25 18:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641223424001,"66":13222,"196":206,"84":7168,"24":62,"16":123944415336071168,"45":-7036029969920505856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-25 18:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641223424001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:01:18] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-25 18:01:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123944415336071168,"km_value":123944415336071.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7036029969920505856,"description":"Unknown IO ID 45"} 
[2026-08-25 18:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641223424001,"power":13222,"unknown_196":206,"unknown_84":7168,"ignition":62,"odometer":null,"unknown_45":-7036029969920505856}} 
[2026-08-25 18:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":162127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:01:18] local.INFO: GPS data processed {"connection_id":162127,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:01:18] local.INFO: Acknowledgment sent {"connection_id":162127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:01:23] local.INFO: TCP Data received {"connection_id":161878,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:01:23] local.INFO: Processing buffer {"connection_id":161878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:01:23] local.INFO: IMEI packet received {"connection_id":161878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":161878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:01:28] local.INFO: TCP Data received {"connection_id":161878,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:01:28] local.INFO: Processing buffer {"connection_id":161878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:01:28] local.INFO: IMEI packet received {"connection_id":161878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":161878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:01:29] local.INFO: TCP Data received {"connection_id":161878,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e369d8012d1f5ec0071db510004e011827..."} 
[2026-08-25 18:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e369d8012d1f5ec0071db510004e011827..."} 
[2026-08-25 18:01:29] local.INFO: Processing buffer {"connection_id":161878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e369d8012d1f5ec0071db510004e011827..."} 
[2026-08-25 18:01:29] local.INFO: Packet analysis {"connection_id":161878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e3"} 
[2026-08-25 18:01:29] local.INFO: Extracted packet for processing {"connection_id":161878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e3"} 
[2026-08-25 18:01:29] local.INFO: GPS Element Parsed {"raw_longitude":757030592,"raw_latitude":119387408,"longitude_deg":75.7030592,"latitude_deg":11.9387408,"altitude":78,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1f5ec0","hex_latitude":"071db510","is_valid_coordinates":true} 
[2026-08-25 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641165312001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15984627030163456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260455199782277120,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787660823000,"timestamp_ms":1787660823000,"timestamp_seconds":1787660823,"priority":1,"record_length":96,"hex_timestamp":"000001a038e369d8"} 
[2026-08-25 18:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:01:29] 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-25 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 18:01:29] 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-25 18:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641165312001,"66":12374,"108":206,"83":41984,"24":0,"16":15984627030163456,"45":2260455199782277120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 18:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641165312001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:01:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15984627030163456,"km_value":15984627030163.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260455199782277120,"description":"Unknown IO ID 45"} 
[2026-08-25 18:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641165312001,"power":12374,"unknown_108":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2260455199782277120}} 
[2026-08-25 18:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":161878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:01:29] local.INFO: GPS data processed {"connection_id":161878,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:01:29] local.INFO: Acknowledgment sent {"connection_id":161878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:01:44] local.INFO: TCP Data received {"connection_id":163126,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:01:44] local.INFO: Processing buffer {"connection_id":163126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:01:44] local.INFO: IMEI packet received {"connection_id":163126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":163126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:01:45] local.INFO: TCP Data received {"connection_id":163126,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:01:45] local.INFO: Processing buffer {"connection_id":163126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:01:45] local.INFO: IMEI packet received {"connection_id":163126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":163126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:01:49] local.INFO: TCP Data received {"connection_id":163125,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:01:49] local.INFO: Processing buffer {"connection_id":163125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:01:49] local.INFO: IMEI packet received {"connection_id":163125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":163125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:01:50] local.INFO: TCP Data received {"connection_id":163125,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:01:50] local.INFO: Processing buffer {"connection_id":163125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:01:50] local.INFO: IMEI packet received {"connection_id":163125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":163125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:01:51] local.INFO: TCP Data received {"connection_id":163126,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:01:51] local.INFO: Processing buffer {"connection_id":163126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:01:51] local.INFO: IMEI packet received {"connection_id":163126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":163126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:01:51] local.INFO: TCP Data received {"connection_id":163125,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:01:51] local.INFO: Processing buffer {"connection_id":163125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:01:51] local.INFO: Packet analysis {"connection_id":163125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:01:51] local.INFO: Extracted packet for processing {"connection_id":163125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641126400001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787660951000,"timestamp_ms":1787660951000,"timestamp_seconds":1787660951,"priority":1,"record_length":96,"hex_timestamp":"000001a038e55dd8"} 
[2026-08-25 18:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:01:51] 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-25 18:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:01:51] 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-25 18:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641126400001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641126400001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641126400001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":163125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:01:51] local.INFO: GPS data processed {"connection_id":163125,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:01:51] local.INFO: Acknowledgment sent {"connection_id":163125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:01:52] local.INFO: TCP Data received {"connection_id":163126,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e6bd68012d9e47c005562a580009015629..."} 
[2026-08-25 18:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e6bd68012d9e47c005562a580009015629..."} 
[2026-08-25 18:01:52] local.INFO: Processing buffer {"connection_id":163126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e6bd68012d9e47c005562a580009015629..."} 
[2026-08-25 18:01:52] local.INFO: Packet analysis {"connection_id":163126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e6"} 
[2026-08-25 18:01:52] local.INFO: Extracted packet for processing {"connection_id":163126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e6"} 
[2026-08-25 18:01:52] local.INFO: GPS Element Parsed {"raw_longitude":765347776,"raw_latitude":89533016,"longitude_deg":76.5347776,"latitude_deg":8.9533016,"altitude":9,"angle":342,"satellites":41,"speed":62,"hex_longitude":"2d9e47c0","hex_latitude":"05562a58","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641224960001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123944874897571840,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7038492875964348416,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787661041000,"timestamp_ms":1787661041000,"timestamp_seconds":1787661041,"priority":1,"record_length":96,"hex_timestamp":"000001a038e6bd68"} 
[2026-08-25 18: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-25 18: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-25 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 18:01:52] 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-25 18: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-25 18: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-25 18:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641224960001,"66":13015,"197":206,"84":7168,"24":62,"16":123944874897571840,"45":-7038492875964348416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,84,24,16,45]} 
[2026-08-25 18:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641224960001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:01:52] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-25 18:01:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123944874897571840,"km_value":123944874897571.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7038492875964348416,"description":"Unknown IO ID 45"} 
[2026-08-25 18:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641224960001,"power":13015,"unknown_197":206,"unknown_84":7168,"ignition":62,"odometer":null,"unknown_45":-7038492875964348416}} 
[2026-08-25 18:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":163126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:01:52] local.INFO: GPS data processed {"connection_id":163126,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:01:52] local.INFO: Acknowledgment sent {"connection_id":163126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:01:57] local.INFO: TCP Data received {"connection_id":163125,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:01:57] local.INFO: Processing buffer {"connection_id":163125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:01:57] local.INFO: Packet analysis {"connection_id":163125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:01:57] local.INFO: Extracted packet for processing {"connection_id":163125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:01:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:01: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-25 18:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641126400001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787660951000,"timestamp_ms":1787660951000,"timestamp_seconds":1787660951,"priority":1,"record_length":96,"hex_timestamp":"000001a038e55dd8"} 
[2026-08-25 18:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:01:57] 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-25 18:01: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-25 18:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:01: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-25 18:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641126400001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641126400001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:01:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641126400001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":163125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:01:57] local.INFO: GPS data processed {"connection_id":163125,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:01:57] local.INFO: Acknowledgment sent {"connection_id":163125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:02:00] local.INFO: TCP Data received {"connection_id":161878,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e71740012d1f27c0071dbbf0004f010927..."} 
[2026-08-25 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e71740012d1f27c0071dbbf0004f010927..."} 
[2026-08-25 18:02:00] local.INFO: Processing buffer {"connection_id":161878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e71740012d1f27c0071dbbf0004f010927..."} 
[2026-08-25 18:02:00] local.INFO: Packet analysis {"connection_id":161878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e7"} 
[2026-08-25 18:02:00] local.INFO: Extracted packet for processing {"connection_id":161878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e7"} 
[2026-08-25 18:02:00] local.INFO: GPS Element Parsed {"raw_longitude":757016512,"raw_latitude":119389168,"longitude_deg":75.7016512,"latitude_deg":11.9389168,"altitude":79,"angle":265,"satellites":39,"speed":31,"hex_longitude":"2d1f27c0","hex_latitude":"071dbbf0","is_valid_coordinates":true} 
[2026-08-25 18:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641229312001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15985322814865408,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2254896068992364544,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787661064000,"timestamp_ms":1787661064000,"timestamp_seconds":1787661064,"priority":1,"record_length":96,"hex_timestamp":"000001a038e71740"} 
[2026-08-25 18:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:02:00] 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-25 18:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 18:02:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:00] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":11264,"corrected_to":0} 
[2026-08-25 18:02:00] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3387883520,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:00] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-5399815618191415552,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996933838,"corrected_to":0} 
[2026-08-25 18:02:00] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3221691829,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:00] local.WARNING: Large IO value detected {"io_id":53,"raw_value":57767705281713060,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:00] local.WARNING: Large IO value detected {"io_id":229,"raw_value":288231669463171079,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:00] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,108,83,24,241,157,16,202,160,185,45,128,181,87,35,10,66,201,158,192,78,37,76,1,240,77,227,56,29,4,113,205,168,94,39,239,48,2,7,53,229],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":202,"original":11264,"validated":0},{"io_id":205,"original":996933838,"validated":0}]} 
[2026-08-25 18:02:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6053145938536955904,"timestamp_seconds":6053145938536956.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641229312001,"66":14211,"108":206,"83":41984,"24":31,"16":15985322814865408,"45":2254896068992364544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 18:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641229312001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:02:00] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:02:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15985322814865408,"km_value":15985322814865.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2254896068992364544,"description":"Unknown IO ID 45"} 
[2026-08-25 18:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641229312001,"power":14211,"unknown_108":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2254896068992364544}} 
[2026-08-25 18:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":161878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:02:00] local.INFO: GPS data processed {"connection_id":161878,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:02:00] local.INFO: Acknowledgment sent {"connection_id":161878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:02:23] local.INFO: TCP Data received {"connection_id":163126,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e6d4d8012d9e3b0005564d48000901532a..."} 
[2026-08-25 18:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e6d4d8012d9e3b0005564d48000901532a..."} 
[2026-08-25 18:02:23] local.INFO: Processing buffer {"connection_id":163126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e6d4d8012d9e3b0005564d48000901532a..."} 
[2026-08-25 18:02:23] local.INFO: Packet analysis {"connection_id":163126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e6"} 
[2026-08-25 18:02:23] local.INFO: Extracted packet for processing {"connection_id":163126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e6"} 
[2026-08-25 18:02:23] local.INFO: GPS Element Parsed {"raw_longitude":765344512,"raw_latitude":89541960,"longitude_deg":76.5344512,"latitude_deg":8.954196,"altitude":9,"angle":339,"satellites":42,"speed":63,"hex_longitude":"2d9e3b00","hex_latitude":"05564d48","is_valid_coordinates":true} 
[2026-08-25 18:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641226496001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123945334459072512,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7041448363217496064,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787661047000,"timestamp_ms":1787661047000,"timestamp_seconds":1787661047,"priority":1,"record_length":96,"hex_timestamp":"000001a038e6d4d8"} 
[2026-08-25 18:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:02: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-25 18:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-25 18:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641226496001,"66":12624,"197":206,"84":7168,"24":63,"16":123945334459072512,"45":-7041448363217496064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,84,24,16,45]} 
[2026-08-25 18:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641226496001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:02:23] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-25 18:02:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123945334459072512,"km_value":123945334459072.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7041448363217496064,"description":"Unknown IO ID 45"} 
[2026-08-25 18:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641226496001,"power":12624,"unknown_197":206,"unknown_84":7168,"ignition":63,"odometer":null,"unknown_45":-7041448363217496064}} 
[2026-08-25 18:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":163126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:02:23] local.INFO: GPS data processed {"connection_id":163126,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:02:23] local.INFO: Acknowledgment sent {"connection_id":163126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:02:28] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:02:28] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:02:28] local.INFO: IMEI packet received {"connection_id":161879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":161879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:02:32] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:02:32] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:02:32] local.INFO: IMEI packet received {"connection_id":161879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":161879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:02:33] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e71740012d1f27c0071dbbf0004f010927..."} 
[2026-08-25 18:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e71740012d1f27c0071dbbf0004f010927..."} 
[2026-08-25 18:02:33] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e71740012d1f27c0071dbbf0004f010927..."} 
[2026-08-25 18:02:33] local.INFO: Packet analysis {"connection_id":161879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e7"} 
[2026-08-25 18:02:33] local.INFO: Extracted packet for processing {"connection_id":161879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e7"} 
[2026-08-25 18:02:33] local.INFO: GPS Element Parsed {"raw_longitude":757016512,"raw_latitude":119389168,"longitude_deg":75.7016512,"latitude_deg":11.9389168,"altitude":79,"angle":265,"satellites":39,"speed":31,"hex_longitude":"2d1f27c0","hex_latitude":"071dbbf0","is_valid_coordinates":true} 
[2026-08-25 18:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641232384001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15985322814865408,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2244974076063641600,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787661064000,"timestamp_ms":1787661064000,"timestamp_seconds":1787661064,"priority":1,"record_length":96,"hex_timestamp":"000001a038e71740"} 
[2026-08-25 18:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:02:33] 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-25 18:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 18:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641232384001,"66":14211,"108":206,"83":41984,"24":31,"16":15985322814865408,"45":2244974076063641600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 18:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641232384001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:02:33] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15985322814865408,"km_value":15985322814865.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2244974076063641600,"description":"Unknown IO ID 45"} 
[2026-08-25 18:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641232384001,"power":14211,"unknown_108":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2244974076063641600}} 
[2026-08-25 18:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":161879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:02:33] local.INFO: GPS data processed {"connection_id":161879,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:02:33] local.INFO: Acknowledgment sent {"connection_id":161879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:02:33] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e73a68012d1f0c00071dba70004f011625..."} 
[2026-08-25 18:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e73a68012d1f0c00071dba70004f011625..."} 
[2026-08-25 18:02:33] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e73a68012d1f0c00071dba70004f011625..."} 
[2026-08-25 18:02:33] local.INFO: Packet analysis {"connection_id":161879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e7"} 
[2026-08-25 18:02:33] local.INFO: Extracted packet for processing {"connection_id":161879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e7"} 
[2026-08-25 18:02:33] local.INFO: GPS Element Parsed {"raw_longitude":757009408,"raw_latitude":119388784,"longitude_deg":75.7009408,"latitude_deg":11.9388784,"altitude":79,"angle":278,"satellites":37,"speed":28,"hex_longitude":"2d1f0c00","hex_latitude":"071dba70","is_valid_coordinates":true} 
[2026-08-25 18:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641232384001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15985662117281792,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2244974076063641600,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787661073000,"timestamp_ms":1787661073000,"timestamp_seconds":1787661073,"priority":1,"record_length":96,"hex_timestamp":"000001a038e73a68"} 
[2026-08-25 18:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:02:33] 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-25 18:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-25 18:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641232384001,"66":14276,"108":206,"83":41984,"24":28,"16":15985662117281792,"45":2244974076063641600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 18:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641232384001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:02:33] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15985662117281792,"km_value":15985662117281.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2244974076063641600,"description":"Unknown IO ID 45"} 
[2026-08-25 18:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641232384001,"power":14276,"unknown_108":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":2244974076063641600}} 
[2026-08-25 18:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":161879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:02:34] local.INFO: GPS data processed {"connection_id":161879,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:02:34] local.INFO: Acknowledgment sent {"connection_id":161879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:02:40] local.INFO: TCP Data received {"connection_id":162128,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:02:40] local.INFO: Processing buffer {"connection_id":162128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:02:40] local.INFO: IMEI packet received {"connection_id":162128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":162128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:02:41] local.INFO: TCP Data received {"connection_id":162129,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:02:41] local.INFO: Processing buffer {"connection_id":162129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:02:41] local.INFO: IMEI packet received {"connection_id":162129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":162129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:02:44] local.INFO: TCP Data received {"connection_id":162128,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:02:44] local.INFO: Processing buffer {"connection_id":162128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:02:44] local.INFO: IMEI packet received {"connection_id":162128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":162128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:02:45] local.INFO: TCP Data received {"connection_id":162128,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:02:45] local.INFO: Processing buffer {"connection_id":162128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:02:45] local.INFO: Packet analysis {"connection_id":162128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:02:45] local.INFO: Extracted packet for processing {"connection_id":162128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641126400001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787660951000,"timestamp_ms":1787660951000,"timestamp_seconds":1787660951,"priority":1,"record_length":96,"hex_timestamp":"000001a038e55dd8"} 
[2026-08-25 18:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641126400001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641126400001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641126400001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":162128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:02:45] local.INFO: GPS data processed {"connection_id":162128,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:02:45] local.INFO: Acknowledgment sent {"connection_id":162128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:02:46] local.INFO: TCP Data received {"connection_id":162129,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:02:46] local.INFO: Processing buffer {"connection_id":162129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:02:46] local.INFO: IMEI packet received {"connection_id":162129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":162129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:02:46] local.INFO: TCP Data received {"connection_id":162129,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e6ec48012d9e2e0005566e98000901522a..."} 
[2026-08-25 18:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e6ec48012d9e2e0005566e98000901522a..."} 
[2026-08-25 18:02:46] local.INFO: Processing buffer {"connection_id":162129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e6ec48012d9e2e0005566e98000901522a..."} 
[2026-08-25 18:02:46] local.INFO: Packet analysis {"connection_id":162129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e6"} 
[2026-08-25 18:02:46] local.INFO: Extracted packet for processing {"connection_id":162129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e6"} 
[2026-08-25 18:02:46] local.INFO: GPS Element Parsed {"raw_longitude":765341184,"raw_latitude":89550488,"longitude_deg":76.5341184,"latitude_deg":8.9550488,"altitude":9,"angle":338,"satellites":42,"speed":57,"hex_longitude":"2d9e2e00","hex_latitude":"05566e98","is_valid_coordinates":true} 
[2026-08-25 18:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641228032001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123945776840704000,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7045037169168267264,"note":"Value kept but may cause issues"} 
[2026-08-25 18:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787661053000,"timestamp_ms":1787661053000,"timestamp_seconds":1787661053,"priority":1,"record_length":96,"hex_timestamp":"000001a038e6ec48"} 
[2026-08-25 18:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:02: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-25 18:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 18:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641228032001,"66":13276,"197":206,"84":7168,"24":57,"16":123945776840704000,"45":-7045037169168267264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,84,24,16,45]} 
[2026-08-25 18:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641228032001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:02:46] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-25 18:02:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123945776840704000,"km_value":123945776840704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7045037169168267264,"description":"Unknown IO ID 45"} 
[2026-08-25 18:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641228032001,"power":13276,"unknown_197":206,"unknown_84":7168,"ignition":57,"odometer":null,"unknown_45":-7045037169168267264}} 
[2026-08-25 18:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":162129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:02:46] local.INFO: GPS data processed {"connection_id":162129,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:02:46] local.INFO: Acknowledgment sent {"connection_id":162129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:03:04] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e77118012d1ef240071dbe28004f010929..."} 
[2026-08-25 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e77118012d1ef240071dbe28004f010929..."} 
[2026-08-25 18:03:04] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e77118012d1ef240071dbe28004f010929..."} 
[2026-08-25 18:03:04] local.INFO: Packet analysis {"connection_id":161879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e7"} 
[2026-08-25 18:03:04] local.INFO: Extracted packet for processing {"connection_id":161879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e7"} 
[2026-08-25 18:03:04] local.INFO: GPS Element Parsed {"raw_longitude":757002816,"raw_latitude":119389736,"longitude_deg":75.7002816,"latitude_deg":11.9389736,"altitude":79,"angle":265,"satellites":41,"speed":23,"hex_longitude":"2d1ef240","hex_latitude":"071dbe28","is_valid_coordinates":true} 
[2026-08-25 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-25 18:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641234688001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15985979944861696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2237163145459822592,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787661087000,"timestamp_ms":1787661087000,"timestamp_seconds":1787661087,"priority":1,"record_length":96,"hex_timestamp":"000001a038e77118"} 
[2026-08-25 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-25 18:03:04] 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-25 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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-25 18:03:04] 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-25 18: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-25 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-25 18:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641234688001,"66":14265,"108":206,"83":41984,"24":23,"16":15985979944861696,"45":2237163145459822592},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 18:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641234688001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:03:04] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15985979944861696,"km_value":15985979944861.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2237163145459822592,"description":"Unknown IO ID 45"} 
[2026-08-25 18:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641234688001,"power":14265,"unknown_108":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":2237163145459822592}} 
[2026-08-25 18:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":161879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:03:04] local.INFO: GPS data processed {"connection_id":161879,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:03:04] local.INFO: Acknowledgment sent {"connection_id":161879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:03:17] local.INFO: TCP Data received {"connection_id":162128,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:03:17] local.INFO: Processing buffer {"connection_id":162128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:03:17] local.INFO: Packet analysis {"connection_id":162128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:03:17] local.INFO: Extracted packet for processing {"connection_id":162128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641126400001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787660951000,"timestamp_ms":1787660951000,"timestamp_seconds":1787660951,"priority":1,"record_length":96,"hex_timestamp":"000001a038e55dd8"} 
[2026-08-25 18:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:03:17] 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-25 18:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641126400001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641126400001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641126400001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":162128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:03:17] local.INFO: GPS data processed {"connection_id":162128,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:03:17] local.INFO: Acknowledgment sent {"connection_id":162128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:03:22] local.INFO: TCP Data received {"connection_id":164503,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:03:22] local.INFO: Processing buffer {"connection_id":164503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:03:22] local.INFO: IMEI packet received {"connection_id":164503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":164503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:03:23] local.INFO: TCP Data received {"connection_id":164503,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:03:23] local.INFO: Processing buffer {"connection_id":164503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:03:23] local.INFO: IMEI packet received {"connection_id":164503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":164503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:03:24] local.INFO: TCP Data received {"connection_id":164503,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:03:24] local.INFO: Processing buffer {"connection_id":164503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:03:24] local.INFO: IMEI packet received {"connection_id":164503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":164503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:03:26] local.INFO: TCP Data received {"connection_id":164503,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:03:26] local.INFO: Processing buffer {"connection_id":164503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:03:26] local.INFO: IMEI packet received {"connection_id":164503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":164503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:03:27] local.INFO: TCP Data received {"connection_id":164503,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e899f8012d1e5a40071dab800056010526..."} 
[2026-08-25 18:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e899f8012d1e5a40071dab800056010526..."} 
[2026-08-25 18:03:27] local.INFO: Processing buffer {"connection_id":164503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e899f8012d1e5a40071dab800056010526..."} 
[2026-08-25 18:03:27] local.INFO: Packet analysis {"connection_id":164503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e8"} 
[2026-08-25 18:03:27] local.INFO: Extracted packet for processing {"connection_id":164503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e8"} 
[2026-08-25 18:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756963904,"raw_latitude":119384960,"longitude_deg":75.6963904,"latitude_deg":11.938496,"altitude":86,"angle":261,"satellites":38,"speed":23,"hex_longitude":"2d1e5a40","hex_latitude":"071dab80","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641252864001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15987929860014080,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2197123330021588992,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787661163000,"timestamp_ms":1787661163000,"timestamp_seconds":1787661163,"priority":1,"record_length":96,"hex_timestamp":"000001a038e899f8"} 
[2026-08-25 18: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-25 18:03:27] 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-25 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 18:03:27] 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-25 18: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-25 18: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-25 18:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641252864001,"66":14265,"108":206,"83":41984,"24":23,"16":15987929860014080,"45":2197123330021588992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 18:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641252864001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:03:27] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15987929860014080,"km_value":15987929860014.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2197123330021588992,"description":"Unknown IO ID 45"} 
[2026-08-25 18:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641252864001,"power":14265,"unknown_108":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":2197123330021588992}} 
[2026-08-25 18:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":164503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:03:27] local.INFO: GPS data processed {"connection_id":164503,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:03:27] local.INFO: Acknowledgment sent {"connection_id":164503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:03:39] local.INFO: TCP Data received {"connection_id":163127,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:03:39] local.INFO: Processing buffer {"connection_id":163127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:03:39] local.INFO: IMEI packet received {"connection_id":163127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":163127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:03:44] local.INFO: TCP Data received {"connection_id":163127,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:03:44] local.INFO: Processing buffer {"connection_id":163127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:03:44] local.INFO: IMEI packet received {"connection_id":163127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":163127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:03:46] local.INFO: TCP Data received {"connection_id":163127,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:03:46] local.INFO: Processing buffer {"connection_id":163127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:03:46] local.INFO: Packet analysis {"connection_id":163127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:03:46] local.INFO: Extracted packet for processing {"connection_id":163127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641126400001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787660951000,"timestamp_ms":1787660951000,"timestamp_seconds":1787660951,"priority":1,"record_length":96,"hex_timestamp":"000001a038e55dd8"} 
[2026-08-25 18:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641126400001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641126400001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641126400001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":163127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:03:46] local.INFO: GPS data processed {"connection_id":163127,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:03:46] local.INFO: Acknowledgment sent {"connection_id":163127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:03:58] local.INFO: TCP Data received {"connection_id":164503,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e8a1c8012d1e5700071daaa8005700f426..."} 
[2026-08-25 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e8a1c8012d1e5700071daaa8005700f426..."} 
[2026-08-25 18:03:58] local.INFO: Processing buffer {"connection_id":164503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e8a1c8012d1e5700071daaa8005700f426..."} 
[2026-08-25 18:03:58] local.INFO: Packet analysis {"connection_id":164503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e8"} 
[2026-08-25 18:03:58] local.INFO: Extracted packet for processing {"connection_id":164503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e8"} 
[2026-08-25 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756963072,"raw_latitude":119384744,"longitude_deg":75.6963072,"latitude_deg":11.9384744,"altitude":87,"angle":244,"satellites":38,"speed":12,"hex_longitude":"2d1e5700","hex_latitude":"071daaa8","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641257728001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15987972809687040,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2187130968348524544,"note":"Value kept but may cause issues"} 
[2026-08-25 18:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787661165000,"timestamp_ms":1787661165000,"timestamp_seconds":1787661165,"priority":1,"record_length":96,"hex_timestamp":"000001a038e8a1c8"} 
[2026-08-25 18: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-25 18:03:58] 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-25 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 18:03:58] 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-25 18: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-25 18: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-25 18:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641257728001,"66":14265,"108":206,"83":41984,"24":12,"16":15987972809687040,"45":2187130968348524544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 18:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641257728001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:03:58] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15987972809687040,"km_value":15987972809687.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2187130968348524544,"description":"Unknown IO ID 45"} 
[2026-08-25 18:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641257728001,"power":14265,"unknown_108":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":2187130968348524544}} 
[2026-08-25 18:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":164503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:03:58] local.INFO: GPS data processed {"connection_id":164503,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:03:58] local.INFO: Acknowledgment sent {"connection_id":164503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:04:04] local.INFO: TCP Data received {"connection_id":162129,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e8ad80012d9dab400557c298000c015928..."} 
[2026-08-25 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e8ad80012d9dab400557c298000c015928..."} 
[2026-08-25 18:04:04] local.INFO: Processing buffer {"connection_id":162129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e8ad80012d9dab400557c298000c015928..."} 
[2026-08-25 18:04:04] local.INFO: Packet analysis {"connection_id":162129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e8"} 
[2026-08-25 18:04:04] local.INFO: Extracted packet for processing {"connection_id":162129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e8"} 
[2026-08-25 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":765307712,"raw_latitude":89637528,"longitude_deg":76.5307712,"latitude_deg":8.9637528,"altitude":12,"angle":345,"satellites":40,"speed":41,"hex_longitude":"2d9dab40","hex_latitude":"0557c298","is_valid_coordinates":true} 
[2026-08-25 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-25 18:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641255680001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123950312326168576,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7083036291002187776,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787661168000,"timestamp_ms":1787661168000,"timestamp_seconds":1787661168,"priority":1,"record_length":96,"hex_timestamp":"000001a038e8ad80"} 
[2026-08-25 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-25 18:04: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-25 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 18:04: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-25 18:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 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-25 18:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641255680001,"66":13526,"197":206,"84":7168,"24":41,"16":123950312326168576,"45":-7083036291002187776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,84,24,16,45]} 
[2026-08-25 18:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641255680001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:04:04] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-25 18:04:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123950312326168576,"km_value":123950312326168.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7083036291002187776,"description":"Unknown IO ID 45"} 
[2026-08-25 18:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641255680001,"power":13526,"unknown_197":206,"unknown_84":7168,"ignition":41,"odometer":null,"unknown_45":-7083036291002187776}} 
[2026-08-25 18:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":162129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:04:04] local.INFO: GPS data processed {"connection_id":162129,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:04:04] local.INFO: Acknowledgment sent {"connection_id":162129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:04:13] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:13] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:13] local.INFO: IMEI packet received {"connection_id":161880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":161880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:04:15] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:15] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:15] local.INFO: IMEI packet received {"connection_id":161880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":161880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:04:17] local.INFO: TCP Data received {"connection_id":163127,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:04:17] local.INFO: Processing buffer {"connection_id":163127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:04:17] local.INFO: Packet analysis {"connection_id":163127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:04:17] local.INFO: Extracted packet for processing {"connection_id":163127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641126400001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787660951000,"timestamp_ms":1787660951000,"timestamp_seconds":1787660951,"priority":1,"record_length":96,"hex_timestamp":"000001a038e55dd8"} 
[2026-08-25 18:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:04:17] 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-25 18:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641126400001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641126400001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641126400001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":163127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:04:17] local.INFO: GPS data processed {"connection_id":163127,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:04:17] local.INFO: Acknowledgment sent {"connection_id":163127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:04:20] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:20] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:20] local.INFO: IMEI packet received {"connection_id":161880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":161880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:04:21] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e8d490012d9da3400557e5d80009015d2a..."} 
[2026-08-25 18:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e8d490012d9da3400557e5d80009015d2a..."} 
[2026-08-25 18:04:21] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e8d490012d9da3400557e5d80009015d2a..."} 
[2026-08-25 18:04:21] local.INFO: Packet analysis {"connection_id":161880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e8"} 
[2026-08-25 18:04:21] local.INFO: Extracted packet for processing {"connection_id":161880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e8"} 
[2026-08-25 18:04:21] local.INFO: GPS Element Parsed {"raw_longitude":765305664,"raw_latitude":89646552,"longitude_deg":76.5305664,"latitude_deg":8.9646552,"altitude":9,"angle":349,"satellites":42,"speed":24,"hex_longitude":"2d9da340","hex_latitude":"0557e5d8","is_valid_coordinates":true} 
[2026-08-25 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-25 18:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641259008001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123950759002767360,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7085499197045958656,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787661178000,"timestamp_ms":1787661178000,"timestamp_seconds":1787661178,"priority":1,"record_length":96,"hex_timestamp":"000001a038e8d490"} 
[2026-08-25 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-25 18:04: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-25 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 18:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 18:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641259008001,"66":13048,"197":206,"84":7168,"24":24,"16":123950759002767360,"45":-7085499197045958656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,84,24,16,45]} 
[2026-08-25 18:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641259008001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:04:21] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-25 18:04:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123950759002767360,"km_value":123950759002767.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7085499197045958656,"description":"Unknown IO ID 45"} 
[2026-08-25 18:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641259008001,"power":13048,"unknown_197":206,"unknown_84":7168,"ignition":24,"odometer":null,"unknown_45":-7085499197045958656}} 
[2026-08-25 18:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":161880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:04:21] local.INFO: GPS data processed {"connection_id":161880,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:04:21] local.INFO: Acknowledgment sent {"connection_id":161880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:04:21] local.INFO: TCP Data received {"connection_id":161881,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:04:21] local.INFO: Processing buffer {"connection_id":161881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:04:21] local.INFO: IMEI packet received {"connection_id":161881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":161881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:04:24] local.INFO: TCP Data received {"connection_id":161881,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:04:24] local.INFO: Processing buffer {"connection_id":161881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:04:24] local.INFO: IMEI packet received {"connection_id":161881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":161881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:04:28] local.INFO: TCP Data received {"connection_id":161881,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:04:28] local.INFO: Processing buffer {"connection_id":161881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:04:28] local.INFO: IMEI packet received {"connection_id":161881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":161881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:04:29] local.INFO: TCP Data received {"connection_id":161881,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e8ad80012d1e5580071daa600057010726..."} 
[2026-08-25 18:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e8ad80012d1e5580071daa600057010726..."} 
[2026-08-25 18:04:29] local.INFO: Processing buffer {"connection_id":161881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e8ad80012d1e5580071daa600057010726..."} 
[2026-08-25 18:04:29] local.INFO: Packet analysis {"connection_id":161881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e8"} 
[2026-08-25 18:04:29] local.INFO: Extracted packet for processing {"connection_id":161881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e8"} 
[2026-08-25 18:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756962688,"raw_latitude":119384672,"longitude_deg":75.6962688,"latitude_deg":11.9384672,"altitude":87,"angle":263,"satellites":38,"speed":5,"hex_longitude":"2d1e5580","hex_latitude":"071daa60","is_valid_coordinates":true} 
[2026-08-25 18:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641258240001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15987989989556224,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2186216174674159616,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787661168000,"timestamp_ms":1787661168000,"timestamp_seconds":1787661168,"priority":1,"record_length":96,"hex_timestamp":"000001a038e8ad80"} 
[2026-08-25 18:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:04:29] 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-25 18:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 18:04:29] 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-25 18:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641258240001,"66":14341,"108":206,"83":41984,"24":5,"16":15987989989556224,"45":2186216174674159616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 18:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641258240001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:04:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15987989989556224,"km_value":15987989989556.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2186216174674159616,"description":"Unknown IO ID 45"} 
[2026-08-25 18:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641258240001,"power":14341,"unknown_108":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":2186216174674159616}} 
[2026-08-25 18:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":161881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:04:29] local.INFO: GPS data processed {"connection_id":161881,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:04:29] local.INFO: Acknowledgment sent {"connection_id":161881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:04:39] local.INFO: TCP Data received {"connection_id":162130,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:04:39] local.INFO: Processing buffer {"connection_id":162130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:04:39] local.INFO: IMEI packet received {"connection_id":162130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":162130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:04:44] local.INFO: TCP Data received {"connection_id":162130,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:04:44] local.INFO: Processing buffer {"connection_id":162130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:04:44] local.INFO: IMEI packet received {"connection_id":162130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":162130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:04:45] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:45] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:45] local.INFO: IMEI packet received {"connection_id":162131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":162131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:04:45] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:45] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:45] local.INFO: IMEI packet received {"connection_id":162131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":162131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:04:45] local.INFO: TCP Data received {"connection_id":162130,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:04:45] local.INFO: Processing buffer {"connection_id":162130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e55dd8012d34c14006aa4818000800e62e..."} 
[2026-08-25 18:04:45] local.INFO: Packet analysis {"connection_id":162130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:04:45] local.INFO: Extracted packet for processing {"connection_id":162130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e5"} 
[2026-08-25 18:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641126400001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787660951000,"timestamp_ms":1787660951000,"timestamp_seconds":1787660951,"priority":1,"record_length":96,"hex_timestamp":"000001a038e55dd8"} 
[2026-08-25 18:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641126400001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641126400001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641126400001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":162130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:04:45] local.INFO: GPS data processed {"connection_id":162130,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:04:45] local.INFO: Acknowledgment sent {"connection_id":162130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:04:51] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:51] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:04:51] local.INFO: IMEI packet received {"connection_id":162131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":162131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:04:52] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038e90758012d9da1400557fca8000800002a..."} 
[2026-08-25 18:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e90758012d9da1400557fca8000800002a..."} 
[2026-08-25 18:04:52] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e90758012d9da1400557fca8000800002a..."} 
[2026-08-25 18:04:52] local.INFO: Packet analysis {"connection_id":162131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:04:52] local.INFO: Extracted packet for processing {"connection_id":162131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:04:52] local.INFO: GPS Element Parsed {"raw_longitude":765305152,"raw_latitude":89652392,"longitude_deg":76.5305152,"latitude_deg":8.9652392,"altitude":8,"angle":0,"satellites":42,"speed":33,"hex_longitude":"2d9da140","hex_latitude":"0557fca8","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641261568001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123951046765576192,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7087750996857333760,"note":"Value kept but may cause issues"} 
[2026-08-25 18:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787661191000,"timestamp_ms":1787661191000,"timestamp_seconds":1787661191,"priority":1,"record_length":96,"hex_timestamp":"000001a038e90758"} 
[2026-08-25 18: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-25 18: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-25 18:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 18:04:52] 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-25 18: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-25 18: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-25 18:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641261568001,"66":13428,"197":206,"84":7168,"24":33,"16":123951046765576192,"45":-7087750996857333760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,84,24,16,45]} 
[2026-08-25 18:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641261568001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:04:52] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-25 18:04:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123951046765576192,"km_value":123951046765576.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7087750996857333760,"description":"Unknown IO ID 45"} 
[2026-08-25 18:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641261568001,"power":13428,"unknown_197":206,"unknown_84":7168,"ignition":33,"odometer":null,"unknown_45":-7087750996857333760}} 
[2026-08-25 18:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":162131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:04:52] local.INFO: GPS data processed {"connection_id":162131,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:04:52] local.INFO: Acknowledgment sent {"connection_id":162131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:05:00] local.INFO: TCP Data received {"connection_id":161881,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e9e600012d1dab80071d8f20006b01282b..."} 
[2026-08-25 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e9e600012d1dab80071d8f20006b01282b..."} 
[2026-08-25 18:05:00] local.INFO: Processing buffer {"connection_id":161881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e9e600012d1dab80071d8f20006b01282b..."} 
[2026-08-25 18:05:00] local.INFO: Packet analysis {"connection_id":161881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:05:00] local.INFO: Extracted packet for processing {"connection_id":161881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756919168,"raw_latitude":119377696,"longitude_deg":75.6919168,"latitude_deg":11.9377696,"altitude":107,"angle":296,"satellites":43,"speed":29,"hex_longitude":"2d1dab80","hex_latitude":"071d8f20","is_valid_coordinates":true} 
[2026-08-25 18:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641278976001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15990120293335040,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2139491328538241024,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787661248000,"timestamp_ms":1787661248000,"timestamp_seconds":1787661248,"priority":1,"record_length":96,"hex_timestamp":"000001a038e9e600"} 
[2026-08-25 18:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:05:00] 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-25 18:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 18:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641278976001,"66":14113,"108":206,"83":41984,"24":29,"16":15990120293335040,"45":2139491328538241024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-08-25 18:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641278976001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:05:00] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15990120293335040,"km_value":15990120293335.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2139491328538241024,"description":"Unknown IO ID 45"} 
[2026-08-25 18:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641278976001,"power":14113,"unknown_108":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":2139491328538241024}} 
[2026-08-25 18:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":161881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:05:01] local.INFO: GPS data processed {"connection_id":161881,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:05:01] local.INFO: Acknowledgment sent {"connection_id":161881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:05:17] local.INFO: TCP Data received {"connection_id":162130,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:05:17] local.INFO: Processing buffer {"connection_id":162130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:05:17] local.INFO: Packet analysis {"connection_id":162130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:05:17] local.INFO: Extracted packet for processing {"connection_id":162130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641203456001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787661252000,"timestamp_ms":1787661252000,"timestamp_seconds":1787661252,"priority":1,"record_length":96,"hex_timestamp":"000001a038e9f5a0"} 
[2026-08-25 18:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:05:17] 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-25 18:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:05:17] 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-25 18:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641203456001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641203456001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641203456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":162130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:05:17] local.INFO: GPS data processed {"connection_id":162130,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:05:17] local.INFO: Acknowledgment sent {"connection_id":162130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:05:23] local.INFO: TCP Data received {"connection_id":163128,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:05:23] local.INFO: Processing buffer {"connection_id":163128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:05:23] local.INFO: IMEI packet received {"connection_id":163128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":163128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:05:24] local.INFO: TCP Data received {"connection_id":163128,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:05:24] local.INFO: Processing buffer {"connection_id":163128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:05:24] local.INFO: IMEI packet received {"connection_id":163128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":163128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:05:25] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038eaa950012d9e3100055917200010001c2a..."} 
[2026-08-25 18:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038eaa950012d9e3100055917200010001c2a..."} 
[2026-08-25 18:05:25] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038eaa950012d9e3100055917200010001c2a..."} 
[2026-08-25 18:05:25] local.INFO: Packet analysis {"connection_id":162131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ea"} 
[2026-08-25 18:05:25] local.INFO: Extracted packet for processing {"connection_id":162131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ea"} 
[2026-08-25 18:05:25] local.INFO: GPS Element Parsed {"raw_longitude":765341952,"raw_latitude":89724704,"longitude_deg":76.5341952,"latitude_deg":8.9724704,"altitude":16,"angle":28,"satellites":42,"speed":29,"hex_longitude":"2d9e3100","hex_latitude":"05591720","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641288448001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123955023905292288,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7052918468471425024,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787661298000,"timestamp_ms":1787661298000,"timestamp_seconds":1787661298,"priority":1,"record_length":96,"hex_timestamp":"000001a038eaa950"} 
[2026-08-25 18: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-25 18: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-25 18: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 18:05:25] 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-25 18: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-25 18: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-25 18:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641288448001,"66":13493,"162":206,"84":7168,"24":29,"16":123955023905292288,"45":-7052918468471425024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-25 18:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641288448001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:05:25] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 18:05:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123955023905292288,"km_value":123955023905292.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7052918468471425024,"description":"Unknown IO ID 45"} 
[2026-08-25 18:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641288448001,"power":13493,"unknown_162":206,"unknown_84":7168,"ignition":29,"odometer":null,"unknown_45":-7052918468471425024}} 
[2026-08-25 18:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":162131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:05:25] local.INFO: GPS data processed {"connection_id":162131,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:05:25] local.INFO: Acknowledgment sent {"connection_id":162131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:05:28] local.INFO: TCP Data received {"connection_id":163128,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:05:28] local.INFO: Processing buffer {"connection_id":163128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:05:28] local.INFO: IMEI packet received {"connection_id":163128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":163128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:05:29] local.INFO: TCP Data received {"connection_id":163128,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038e9f5a0012d1d9f00071d93e8006c011d27..."} 
[2026-08-25 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e9f5a0012d1d9f00071d93e8006c011d27..."} 
[2026-08-25 18:05:29] local.INFO: Processing buffer {"connection_id":163128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e9f5a0012d1d9f00071d93e8006c011d27..."} 
[2026-08-25 18:05:29] local.INFO: Packet analysis {"connection_id":163128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:05:29] local.INFO: Extracted packet for processing {"connection_id":163128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756915968,"raw_latitude":119378920,"longitude_deg":75.6915968,"latitude_deg":11.937892,"altitude":108,"angle":285,"satellites":39,"speed":34,"hex_longitude":"2d1d9f00","hex_latitude":"071d93e8","is_valid_coordinates":true} 
[2026-08-25 18:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641279488001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15990283502092288,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2137943216166477824,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787661252000,"timestamp_ms":1787661252000,"timestamp_seconds":1787661252,"priority":1,"record_length":96,"hex_timestamp":"000001a038e9f5a0"} 
[2026-08-25 18:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:05:29] 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-25 18:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-25 18:05:29] 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-25 18:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641279488001,"66":14352,"109":206,"83":41984,"24":34,"16":15990283502092288,"45":2137943216166477824},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-25 18:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641279488001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:05:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 18:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15990283502092288,"km_value":15990283502092.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2137943216166477824,"description":"Unknown IO ID 45"} 
[2026-08-25 18:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641279488001,"power":14352,"unknown_109":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":2137943216166477824}} 
[2026-08-25 18:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":163128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:05:29] local.INFO: GPS data processed {"connection_id":163128,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:05:29] local.INFO: Acknowledgment sent {"connection_id":163128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:05:39] local.INFO: TCP Data received {"connection_id":162133,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:05:39] local.INFO: Processing buffer {"connection_id":162133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:05:39] local.INFO: IMEI packet received {"connection_id":162133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":162133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:05:41] local.INFO: TCP Data received {"connection_id":162132,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:05:41] local.INFO: Processing buffer {"connection_id":162132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:05:41] local.INFO: IMEI packet received {"connection_id":162132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":162132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:05:44] local.INFO: TCP Data received {"connection_id":162133,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:05:44] local.INFO: Processing buffer {"connection_id":162133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:05:44] local.INFO: IMEI packet received {"connection_id":162133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":162133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:05:45] local.INFO: TCP Data received {"connection_id":162133,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:05:45] local.INFO: Processing buffer {"connection_id":162133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:05:45] local.INFO: Packet analysis {"connection_id":162133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:05:45] local.INFO: Extracted packet for processing {"connection_id":162133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641203456001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787661252000,"timestamp_ms":1787661252000,"timestamp_seconds":1787661252,"priority":1,"record_length":96,"hex_timestamp":"000001a038e9f5a0"} 
[2026-08-25 18:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:05:45] 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-25 18:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641203456001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641203456001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641203456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":162133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:05:45] local.INFO: GPS data processed {"connection_id":162133,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:05:45] local.INFO: Acknowledgment sent {"connection_id":162133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:05:46] local.INFO: TCP Data received {"connection_id":162132,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:05:46] local.INFO: Processing buffer {"connection_id":162132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:05:46] local.INFO: IMEI packet received {"connection_id":162132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":162132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:05:46] local.INFO: TCP Data received {"connection_id":162132,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038ead448012d9e4180055937f8000f00192a..."} 
[2026-08-25 18:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ead448012d9e4180055937f8000f00192a..."} 
[2026-08-25 18:05:46] local.INFO: Processing buffer {"connection_id":162132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ead448012d9e4180055937f8000f00192a..."} 
[2026-08-25 18:05:46] local.INFO: Packet analysis {"connection_id":162132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ea"} 
[2026-08-25 18:05:46] local.INFO: Extracted packet for processing {"connection_id":162132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ea"} 
[2026-08-25 18:05:46] local.INFO: GPS Element Parsed {"raw_longitude":765346176,"raw_latitude":89733112,"longitude_deg":76.5346176,"latitude_deg":8.9733112,"altitude":15,"angle":25,"satellites":42,"speed":29,"hex_longitude":"2d9e4180","hex_latitude":"055937f8","is_valid_coordinates":true} 
[2026-08-25 18:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641292288001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123955479171825664,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047851918888591360,"note":"Value kept but may cause issues"} 
[2026-08-25 18:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787661309000,"timestamp_ms":1787661309000,"timestamp_seconds":1787661309,"priority":1,"record_length":96,"hex_timestamp":"000001a038ead448"} 
[2026-08-25 18:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 18:05:46] 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-25 18:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641292288001,"66":13124,"162":206,"84":7168,"24":29,"16":123955479171825664,"45":-7047851918888591360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-25 18:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641292288001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:05:46] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 18:05:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123955479171825664,"km_value":123955479171825.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047851918888591360,"description":"Unknown IO ID 45"} 
[2026-08-25 18:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641292288001,"power":13124,"unknown_162":206,"unknown_84":7168,"ignition":29,"odometer":null,"unknown_45":-7047851918888591360}} 
[2026-08-25 18:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":162132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:05:46] local.INFO: GPS data processed {"connection_id":162132,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:05:46] local.INFO: Acknowledgment sent {"connection_id":162132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:06:00] local.INFO: TCP Data received {"connection_id":163128,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038eae000012d1cf240071db6f0004e015c22..."} 
[2026-08-25 18:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038eae000012d1cf240071db6f0004e015c22..."} 
[2026-08-25 18:06:00] local.INFO: Processing buffer {"connection_id":163128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038eae000012d1cf240071db6f0004e015c22..."} 
[2026-08-25 18:06:00] local.INFO: Packet analysis {"connection_id":163128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ea"} 
[2026-08-25 18:06:00] local.INFO: Extracted packet for processing {"connection_id":163128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ea"} 
[2026-08-25 18:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756871744,"raw_latitude":119387888,"longitude_deg":75.6871744,"latitude_deg":11.9387888,"altitude":78,"angle":348,"satellites":34,"speed":27,"hex_longitude":"2d1cf240","hex_latitude":"071db6f0","is_valid_coordinates":true} 
[2026-08-25 18:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641295616001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15992542654889984,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2085799976733251584,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787661312000,"timestamp_ms":1787661312000,"timestamp_seconds":1787661312,"priority":1,"record_length":96,"hex_timestamp":"000001a038eae000"} 
[2026-08-25 18:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:06:00] 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-25 18:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-25 18:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751528143,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2963931625022291978,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2738414228556795475,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:00] local.WARNING: Large IO value detected {"io_id":29,"raw_value":6449162490401521766,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639599732341613,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":996999374,"corrected_to":0} 
[2026-08-25 18:06:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:00] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:00] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,109,83,24,241,157,16,209,160,212,45,128,175,79,36,10,66,204,192,171,80,37,208,196,1,240,55,227,56,29,4,113,205,34,122,64,239,52,2,7,100,27,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":996999374,"validated":0}]} 
[2026-08-25 18:06:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620856423632863232,"timestamp_seconds":5620856423632863.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641295616001,"66":14113,"109":206,"83":41984,"24":27,"16":15992542654889984,"45":2085799976733251584},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-25 18:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641295616001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:06:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 18:06:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15992542654889984,"km_value":15992542654889.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2085799976733251584,"description":"Unknown IO ID 45"} 
[2026-08-25 18:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641295616001,"power":14113,"unknown_109":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":2085799976733251584}} 
[2026-08-25 18:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":163128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:06:00] local.INFO: GPS data processed {"connection_id":163128,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:06:00] local.INFO: Acknowledgment sent {"connection_id":163128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:06:17] local.INFO: TCP Data received {"connection_id":162132,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038eae7d0012d9e44c005594030000e000e29..."} 
[2026-08-25 18:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038eae7d0012d9e44c005594030000e000e29..."} 
[2026-08-25 18:06:17] local.INFO: Processing buffer {"connection_id":162132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038eae7d0012d9e44c005594030000e000e29..."} 
[2026-08-25 18:06:17] local.INFO: Packet analysis {"connection_id":162132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ea"} 
[2026-08-25 18:06:17] local.INFO: Extracted packet for processing {"connection_id":162132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ea"} 
[2026-08-25 18:06:17] local.INFO: GPS Element Parsed {"raw_longitude":765347008,"raw_latitude":89735216,"longitude_deg":76.5347008,"latitude_deg":8.9735216,"altitude":14,"angle":14,"satellites":41,"speed":13,"hex_longitude":"2d9e44c0","hex_latitude":"05594030","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641295104001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123955590840975360,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043207581770713088,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787661314000,"timestamp_ms":1787661314000,"timestamp_seconds":1787661314,"priority":1,"record_length":96,"hex_timestamp":"000001a038eae7d0"} 
[2026-08-25 18: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-25 18:06: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-25 18:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-25 18:06:17] 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-25 18: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-25 18: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-25 18:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641295104001,"66":13472,"162":206,"84":7168,"24":13,"16":123955590840975360,"45":-7043207581770713088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-25 18:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641295104001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:06:17] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 18:06:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123955590840975360,"km_value":123955590840975.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043207581770713088,"description":"Unknown IO ID 45"} 
[2026-08-25 18:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641295104001,"power":13472,"unknown_162":206,"unknown_84":7168,"ignition":13,"odometer":null,"unknown_45":-7043207581770713088}} 
[2026-08-25 18:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":162132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:06:17] local.INFO: GPS data processed {"connection_id":162132,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:06:17] local.INFO: Acknowledgment sent {"connection_id":162132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:06:18] local.INFO: TCP Data received {"connection_id":162133,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:06:18] local.INFO: Processing buffer {"connection_id":162133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:06:18] local.INFO: Packet analysis {"connection_id":162133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:06:18] local.INFO: Extracted packet for processing {"connection_id":162133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641203456001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787661252000,"timestamp_ms":1787661252000,"timestamp_seconds":1787661252,"priority":1,"record_length":96,"hex_timestamp":"000001a038e9f5a0"} 
[2026-08-25 18: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-25 18:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:06:18] 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-25 18: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-25 18: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-25 18:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:06:18] 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-25 18:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641203456001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641203456001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641203456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":162133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:06:18] local.INFO: GPS data processed {"connection_id":162133,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:06:18] local.INFO: Acknowledgment sent {"connection_id":162133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:06:39] local.INFO: TCP Data received {"connection_id":164504,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:06:39] local.INFO: Processing buffer {"connection_id":164504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:06:39] local.INFO: IMEI packet received {"connection_id":164504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":164504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:06:40] local.INFO: TCP Data received {"connection_id":164504,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:06:40] local.INFO: Processing buffer {"connection_id":164504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:06:40] local.INFO: IMEI packet received {"connection_id":164504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":164504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:06:41] local.INFO: TCP Data received {"connection_id":162134,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:06:41] local.INFO: Processing buffer {"connection_id":162134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:06:41] local.INFO: IMEI packet received {"connection_id":162134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":162134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:06:41] local.INFO: TCP Data received {"connection_id":162134,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:06:41] local.INFO: Processing buffer {"connection_id":162134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:06:41] local.INFO: IMEI packet received {"connection_id":162134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":162134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:06:44] local.INFO: TCP Data received {"connection_id":164505,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:06:44] local.INFO: Processing buffer {"connection_id":164505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:06:44] local.INFO: IMEI packet received {"connection_id":164505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":164505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:06:44] local.INFO: TCP Data received {"connection_id":164504,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:06:44] local.INFO: Processing buffer {"connection_id":164504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:06:44] local.INFO: IMEI packet received {"connection_id":164504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":164504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:06:45] local.INFO: TCP Data received {"connection_id":164504,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038eae3e8012d1cf280071db9f0004e000322..."} 
[2026-08-25 18:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038eae3e8012d1cf280071db9f0004e000322..."} 
[2026-08-25 18:06:45] local.INFO: Processing buffer {"connection_id":164504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038eae3e8012d1cf280071db9f0004e000322..."} 
[2026-08-25 18:06:45] local.INFO: Packet analysis {"connection_id":164504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ea"} 
[2026-08-25 18:06:45] local.INFO: Extracted packet for processing {"connection_id":164504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ea"} 
[2026-08-25 18:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756871808,"raw_latitude":119388656,"longitude_deg":75.6871808,"latitude_deg":11.9388656,"altitude":78,"angle":3,"satellites":34,"speed":29,"hex_longitude":"2d1cf280","hex_latitude":"071db9f0","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641295872001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15992581309595648,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2085799976733437952,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:45] 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-25 18:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787661313000,"timestamp_ms":1787661313000,"timestamp_seconds":1787661313,"priority":1,"record_length":96,"hex_timestamp":"000001a038eae3e8"} 
[2026-08-25 18: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-25 18:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-25 18:06:45] 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-25 18: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-25 18: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-25 18:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641295872001,"66":14113,"109":206,"83":41984,"24":29,"16":15992581309595648,"45":2085799976733437952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-25 18:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641295872001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:06:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 18:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15992581309595648,"km_value":15992581309595.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2085799976733437952,"description":"Unknown IO ID 45"} 
[2026-08-25 18:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641295872001,"power":14113,"unknown_109":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":2085799976733437952}} 
[2026-08-25 18:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":164504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:06:45] local.INFO: GPS data processed {"connection_id":164504,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:06:45] local.INFO: Acknowledgment sent {"connection_id":164504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:06:46] local.INFO: TCP Data received {"connection_id":162134,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:06:46] local.INFO: Processing buffer {"connection_id":162134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:06:46] local.INFO: IMEI packet received {"connection_id":162134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":162134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:06:46] local.INFO: TCP Data received {"connection_id":162134,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038eb2650012d9e4d4005596358000e000926..."} 
[2026-08-25 18:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038eb2650012d9e4d4005596358000e000926..."} 
[2026-08-25 18:06:46] local.INFO: Processing buffer {"connection_id":162134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038eb2650012d9e4d4005596358000e000926..."} 
[2026-08-25 18:06:46] local.INFO: Packet analysis {"connection_id":162134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038eb"} 
[2026-08-25 18:06:47] local.INFO: Extracted packet for processing {"connection_id":162134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038eb"} 
[2026-08-25 18:06:47] local.INFO: GPS Element Parsed {"raw_longitude":765349184,"raw_latitude":89744216,"longitude_deg":76.5349184,"latitude_deg":8.9744216,"altitude":14,"angle":9,"satellites":38,"speed":20,"hex_longitude":"2d9e4d40","hex_latitude":"05596358","is_valid_coordinates":true} 
[2026-08-25 18:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641296384001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123956041812541440,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042292788095864832,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787661330000,"timestamp_ms":1787661330000,"timestamp_seconds":1787661330,"priority":1,"record_length":96,"hex_timestamp":"000001a038eb2650"} 
[2026-08-25 18:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:06: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-25 18:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 18:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641296384001,"66":13319,"162":206,"84":7168,"24":20,"16":123956041812541440,"45":-7042292788095864832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-25 18:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641296384001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:06:47] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 18:06:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123956041812541440,"km_value":123956041812541.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042292788095864832,"description":"Unknown IO ID 45"} 
[2026-08-25 18:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641296384001,"power":13319,"unknown_162":206,"unknown_84":7168,"ignition":20,"odometer":null,"unknown_45":-7042292788095864832}} 
[2026-08-25 18:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":162134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:06:47] local.INFO: GPS data processed {"connection_id":162134,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:06:47] local.INFO: Acknowledgment sent {"connection_id":162134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:06:49] local.INFO: TCP Data received {"connection_id":164505,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:06:49] local.INFO: Processing buffer {"connection_id":164505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:06:49] local.INFO: IMEI packet received {"connection_id":164505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":164505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:06:49] local.INFO: TCP Data received {"connection_id":164502,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:06:49] local.INFO: Processing buffer {"connection_id":164502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:06:49] local.INFO: IMEI packet received {"connection_id":164502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 18:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":164502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:06:50] local.INFO: TCP Data received {"connection_id":164505,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:06:50] local.INFO: Processing buffer {"connection_id":164505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:06:50] local.INFO: Packet analysis {"connection_id":164505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:06:50] local.INFO: Extracted packet for processing {"connection_id":164505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:06:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641203456001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787661252000,"timestamp_ms":1787661252000,"timestamp_seconds":1787661252,"priority":1,"record_length":96,"hex_timestamp":"000001a038e9f5a0"} 
[2026-08-25 18: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-25 18:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:06: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-25 18: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-25 18: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-25 18:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:06: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-25 18:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641203456001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641203456001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:06:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641203456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":164505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:06:50] local.INFO: GPS data processed {"connection_id":164505,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:06:50] local.INFO: Acknowledgment sent {"connection_id":164505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:06:55] local.INFO: TCP Data received {"connection_id":164505,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:06:55] local.INFO: Processing buffer {"connection_id":164505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:06:55] local.INFO: Packet analysis {"connection_id":164505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:06:55] local.INFO: Extracted packet for processing {"connection_id":164505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:06:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641203456001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787661252000,"timestamp_ms":1787661252000,"timestamp_seconds":1787661252,"priority":1,"record_length":96,"hex_timestamp":"000001a038e9f5a0"} 
[2026-08-25 18: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-25 18:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:06: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-25 18: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-25 18: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-25 18:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:06: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-25 18:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641203456001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641203456001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:06:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641203456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":164505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:06:55] local.INFO: GPS data processed {"connection_id":164505,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:06:55] local.INFO: Acknowledgment sent {"connection_id":164505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:07:17] local.INFO: TCP Data received {"connection_id":162134,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038eb7470012d9e5000055974f80010000929..."} 
[2026-08-25 18:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038eb7470012d9e5000055974f80010000929..."} 
[2026-08-25 18:07:17] local.INFO: Processing buffer {"connection_id":162134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038eb7470012d9e5000055974f80010000929..."} 
[2026-08-25 18:07:17] local.INFO: Packet analysis {"connection_id":162134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038eb"} 
[2026-08-25 18:07:17] local.INFO: Extracted packet for processing {"connection_id":162134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038eb"} 
[2026-08-25 18:07:17] local.INFO: GPS Element Parsed {"raw_longitude":765349888,"raw_latitude":89748728,"longitude_deg":76.5349888,"latitude_deg":8.9748728,"altitude":16,"angle":9,"satellites":41,"speed":11,"hex_longitude":"2d9e5000","hex_latitude":"055974f8","is_valid_coordinates":true} 
[2026-08-25 18:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641300480001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123956265150840832,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7039900250791520256,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787661350000,"timestamp_ms":1787661350000,"timestamp_seconds":1787661350,"priority":1,"record_length":96,"hex_timestamp":"000001a038eb7470"} 
[2026-08-25 18:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:07: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-25 18:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 18:07:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57840504977380380,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2652831749,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:17] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3933124609,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:17] local.WARNING: Large IO value detected {"io_id":88,"raw_value":-5865938454517503232,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2107769038,"corrected_to":0} 
[2026-08-25 18:07:17] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4026609054,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:17] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3221575896,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:17] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-747596242708578299,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:17] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,162,84,24,241,157,16,97,160,231,45,192,64,14,41,10,66,96,212,128,55,15,42,169,1,240,181,227,56,88,4,113,205,59,13,239,52,2,184,5,27,233],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2107769038,"validated":0}]} 
[2026-08-25 18:07:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008816375345709056,"timestamp_seconds":1008816375345709.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641300480001,"66":13298,"161":206,"84":7168,"24":11,"16":123956265150840832,"45":-7039900250791520256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,84,24,16,45]} 
[2026-08-25 18:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641300480001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:07:17] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-25 18:07:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123956265150840832,"km_value":123956265150840.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7039900250791520256,"description":"Unknown IO ID 45"} 
[2026-08-25 18:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641300480001,"power":13298,"unknown_161":206,"unknown_84":7168,"ignition":11,"odometer":null,"unknown_45":-7039900250791520256}} 
[2026-08-25 18:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":162134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:07:17] local.INFO: GPS data processed {"connection_id":162134,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:07:17] local.INFO: Acknowledgment sent {"connection_id":162134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:07:29] local.INFO: TCP Data received {"connection_id":163129,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:07:29] local.INFO: Processing buffer {"connection_id":163129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:07:29] local.INFO: IMEI packet received {"connection_id":163129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":163129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:07:30] local.INFO: TCP Data received {"connection_id":163129,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:07:30] local.INFO: Processing buffer {"connection_id":163129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:07:30] local.INFO: IMEI packet received {"connection_id":163129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":163129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:07:32] local.INFO: TCP Data received {"connection_id":163129,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038ebf170012d1d1900071e45e00049015b27..."} 
[2026-08-25 18:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ebf170012d1d1900071e45e00049015b27..."} 
[2026-08-25 18:07:32] local.INFO: Processing buffer {"connection_id":163129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ebf170012d1d1900071e45e00049015b27..."} 
[2026-08-25 18:07:32] local.INFO: Packet analysis {"connection_id":163129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038eb"} 
[2026-08-25 18:07:32] local.INFO: Extracted packet for processing {"connection_id":163129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038eb"} 
[2026-08-25 18:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756881664,"raw_latitude":119424480,"longitude_deg":75.6881664,"latitude_deg":11.942448,"altitude":73,"angle":347,"satellites":39,"speed":12,"hex_longitude":"2d1d1900","hex_latitude":"071e45e0","is_valid_coordinates":true} 
[2026-08-25 18:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641312512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15994462505271296,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2097692294508318720,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787661382000,"timestamp_ms":1787661382000,"timestamp_seconds":1787661382,"priority":1,"record_length":96,"hex_timestamp":"000001a038ebf170"} 
[2026-08-25 18:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:07:32] 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-25 18:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 18:07:32] 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-25 18:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641312512001,"66":14428,"107":206,"83":41984,"24":12,"16":15994462505271296,"45":2097692294508318720},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-25 18:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641312512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:07:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-25 18:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15994462505271296,"km_value":15994462505271.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":2097692294508318720,"description":"Unknown IO ID 45"} 
[2026-08-25 18:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641312512001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":2097692294508318720}} 
[2026-08-25 18:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":163129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:07:32] local.INFO: GPS data processed {"connection_id":163129,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:07:32] local.INFO: Acknowledgment sent {"connection_id":163129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:07:34] local.INFO: TCP Data received {"connection_id":163129,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038ebf940012d1d1880071e47e00049015025..."} 
[2026-08-25 18:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ebf940012d1d1880071e47e00049015025..."} 
[2026-08-25 18:07:34] local.INFO: Processing buffer {"connection_id":163129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ebf940012d1d1880071e47e00049015025..."} 
[2026-08-25 18:07:34] local.INFO: Packet analysis {"connection_id":163129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038eb"} 
[2026-08-25 18:07:34] local.INFO: Extracted packet for processing {"connection_id":163129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038eb"} 
[2026-08-25 18:07:34] local.INFO: GPS Element Parsed {"raw_longitude":756881536,"raw_latitude":119424992,"longitude_deg":75.6881536,"latitude_deg":11.9424992,"altitude":73,"angle":336,"satellites":37,"speed":8,"hex_longitude":"2d1d1880","hex_latitude":"071e47e0","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641313792001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15994488275075072,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2096707132090343424,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787661384000,"timestamp_ms":1787661384000,"timestamp_seconds":1787661384,"priority":1,"record_length":96,"hex_timestamp":"000001a038ebf940"} 
[2026-08-25 18: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-25 18:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 18:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641313792001,"66":14363,"107":206,"83":41984,"24":8,"16":15994488275075072,"45":2096707132090343424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-25 18:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641313792001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:07:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-25 18:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15994488275075072,"km_value":15994488275075.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2096707132090343424,"description":"Unknown IO ID 45"} 
[2026-08-25 18:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641313792001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":2096707132090343424}} 
[2026-08-25 18:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":163129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:07:34] local.INFO: GPS data processed {"connection_id":163129,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:07:34] local.INFO: Acknowledgment sent {"connection_id":163129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:07:39] local.INFO: TCP Data received {"connection_id":164506,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:07:39] local.INFO: Processing buffer {"connection_id":164506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:07:39] local.INFO: IMEI packet received {"connection_id":164506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":164506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:07:40] local.INFO: TCP Data received {"connection_id":161882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:07:40] local.INFO: Processing buffer {"connection_id":161882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:07:40] local.INFO: IMEI packet received {"connection_id":161882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":161882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:07:45] local.INFO: TCP Data received {"connection_id":161882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:07:45] local.INFO: Processing buffer {"connection_id":161882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:07:45] local.INFO: IMEI packet received {"connection_id":161882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":161882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:07:46] local.INFO: TCP Data received {"connection_id":161882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038eb9b80012d9e508005598118000f01672a..."} 
[2026-08-25 18:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038eb9b80012d9e508005598118000f01672a..."} 
[2026-08-25 18:07:46] local.INFO: Processing buffer {"connection_id":161882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038eb9b80012d9e508005598118000f01672a..."} 
[2026-08-25 18:07:46] local.INFO: Packet analysis {"connection_id":161882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038eb"} 
[2026-08-25 18:07:46] local.INFO: Extracted packet for processing {"connection_id":161882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038eb"} 
[2026-08-25 18:07:46] local.INFO: GPS Element Parsed {"raw_longitude":765350016,"raw_latitude":89751832,"longitude_deg":76.5350016,"latitude_deg":8.9751832,"altitude":15,"angle":359,"satellites":42,"speed":17,"hex_longitude":"2d9e5080","hex_latitude":"05598118","is_valid_coordinates":true} 
[2026-08-25 18:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641305600001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123956415474696192,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7039126194604410880,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787661360000,"timestamp_ms":1787661360000,"timestamp_seconds":1787661360,"priority":1,"record_length":96,"hex_timestamp":"000001a038eb9b80"} 
[2026-08-25 18:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-25 18:07:46] 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-25 18:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641305600001,"66":13243,"161":206,"84":7168,"24":17,"16":123956415474696192,"45":-7039126194604410880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,84,24,16,45]} 
[2026-08-25 18:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641305600001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:07:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-25 18:07:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123956415474696192,"km_value":123956415474696.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7039126194604410880,"description":"Unknown IO ID 45"} 
[2026-08-25 18:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641305600001,"power":13243,"unknown_161":206,"unknown_84":7168,"ignition":17,"odometer":null,"unknown_45":-7039126194604410880}} 
[2026-08-25 18:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":161882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:07:46] local.INFO: GPS data processed {"connection_id":161882,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:07:46] local.INFO: Acknowledgment sent {"connection_id":161882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:07:47] local.INFO: TCP Data received {"connection_id":164506,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:07:47] local.INFO: Processing buffer {"connection_id":164506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:07:47] local.INFO: IMEI packet received {"connection_id":164506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":164506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:07:48] local.INFO: TCP Data received {"connection_id":164506,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:07:48] local.INFO: Processing buffer {"connection_id":164506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:07:48] local.INFO: Packet analysis {"connection_id":164506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:07:48] local.INFO: Extracted packet for processing {"connection_id":164506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641203456001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787661252000,"timestamp_ms":1787661252000,"timestamp_seconds":1787661252,"priority":1,"record_length":96,"hex_timestamp":"000001a038e9f5a0"} 
[2026-08-25 18: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-25 18:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:07:48] 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-25 18: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-25 18: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-25 18:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:07: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-25 18:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641203456001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641203456001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641203456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":164506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:07:48] local.INFO: GPS data processed {"connection_id":164506,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:07:48] local.INFO: Acknowledgment sent {"connection_id":164506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:08:08] local.INFO: TCP Data received {"connection_id":163129,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038ec0cc8012d1d1680071e4d280049015d24..."} 
[2026-08-25 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ec0cc8012d1d1680071e4d280049015d24..."} 
[2026-08-25 18:08:08] local.INFO: Processing buffer {"connection_id":163129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ec0cc8012d1d1680071e4d280049015d24..."} 
[2026-08-25 18:08:08] local.INFO: Packet analysis {"connection_id":163129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ec"} 
[2026-08-25 18:08:08] local.INFO: Extracted packet for processing {"connection_id":163129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ec"} 
[2026-08-25 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756881024,"raw_latitude":119426344,"longitude_deg":75.6881024,"latitude_deg":11.9426344,"altitude":73,"angle":349,"satellites":36,"speed":16,"hex_longitude":"2d1d1680","hex_latitude":"071e4d28","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641314304001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15994556994551808,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2096566394602119168,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08: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-25 18:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787661389000,"timestamp_ms":1787661389000,"timestamp_seconds":1787661389,"priority":1,"record_length":96,"hex_timestamp":"000001a038ec0cc8"} 
[2026-08-25 18: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-25 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 18:08:08] 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-25 18: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-25 18: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-25 18:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641314304001,"66":14461,"107":206,"83":41984,"24":16,"16":15994556994551808,"45":2096566394602119168},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-25 18:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641314304001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:08:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-25 18:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15994556994551808,"km_value":15994556994551.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2096566394602119168,"description":"Unknown IO ID 45"} 
[2026-08-25 18:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641314304001,"power":14461,"unknown_107":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":2096566394602119168}} 
[2026-08-25 18:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":163129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:08:08] local.INFO: GPS data processed {"connection_id":163129,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:08:08] local.INFO: Acknowledgment sent {"connection_id":163129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:08:17] local.INFO: TCP Data received {"connection_id":161882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038ebd230012d9e4d8005599cb0000c015a2a..."} 
[2026-08-25 18:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ebd230012d9e4d8005599cb0000c015a2a..."} 
[2026-08-25 18:08:17] local.INFO: Processing buffer {"connection_id":161882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ebd230012d9e4d8005599cb0000c015a2a..."} 
[2026-08-25 18:08:17] local.INFO: Packet analysis {"connection_id":161882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038eb"} 
[2026-08-25 18:08:17] local.INFO: Extracted packet for processing {"connection_id":161882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038eb"} 
[2026-08-25 18:08:17] local.INFO: GPS Element Parsed {"raw_longitude":765349248,"raw_latitude":89758896,"longitude_deg":76.5349248,"latitude_deg":8.9758896,"altitude":12,"angle":346,"satellites":42,"speed":23,"hex_longitude":"2d9e4d80","hex_latitude":"05599cb0","is_valid_coordinates":true} 
[2026-08-25 18:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641308160001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123956763367047168,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7038985457115260928,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787661374000,"timestamp_ms":1787661374000,"timestamp_seconds":1787661374,"priority":1,"record_length":96,"hex_timestamp":"000001a038ebd230"} 
[2026-08-25 18:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:08: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-25 18:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:08:17] 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-25 18:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641308160001,"66":13515,"161":206,"84":7168,"24":23,"16":123956763367047168,"45":-7038985457115260928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,84,24,16,45]} 
[2026-08-25 18:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641308160001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:08:17] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-25 18:08:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123956763367047168,"km_value":123956763367047.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7038985457115260928,"description":"Unknown IO ID 45"} 
[2026-08-25 18:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641308160001,"power":13515,"unknown_161":206,"unknown_84":7168,"ignition":23,"odometer":null,"unknown_45":-7038985457115260928}} 
[2026-08-25 18:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":161882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:08:17] local.INFO: GPS data processed {"connection_id":161882,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:08:17] local.INFO: Acknowledgment sent {"connection_id":161882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:08:20] local.INFO: TCP Data received {"connection_id":164506,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:08:20] local.INFO: Processing buffer {"connection_id":164506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:08:20] local.INFO: Packet analysis {"connection_id":164506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:08:20] local.INFO: Extracted packet for processing {"connection_id":164506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641203456001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787661252000,"timestamp_ms":1787661252000,"timestamp_seconds":1787661252,"priority":1,"record_length":96,"hex_timestamp":"000001a038e9f5a0"} 
[2026-08-25 18:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:08:20] 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-25 18:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641203456001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641203456001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641203456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":164506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:08:20] local.INFO: GPS data processed {"connection_id":164506,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:08:20] local.INFO: Acknowledgment sent {"connection_id":164506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:08:20] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:08:20] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:08:20] local.INFO: IMEI packet received {"connection_id":161883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":161883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:08:23] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:08:23] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:08:23] local.INFO: IMEI packet received {"connection_id":161883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":161883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:08:29] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:08:29] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:08:29] local.INFO: IMEI packet received {"connection_id":161883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":161883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:08:31] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038ec1880012d1d1500071e52580049015025..."} 
[2026-08-25 18:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ec1880012d1d1500071e52580049015025..."} 
[2026-08-25 18:08:31] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ec1880012d1d1500071e52580049015025..."} 
[2026-08-25 18:08:31] local.INFO: Packet analysis {"connection_id":161883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ec"} 
[2026-08-25 18:08:31] local.INFO: Extracted packet for processing {"connection_id":161883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ec"} 
[2026-08-25 18:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756880640,"raw_latitude":119427672,"longitude_deg":75.688064,"latitude_deg":11.9427672,"altitude":73,"angle":336,"satellites":37,"speed":19,"hex_longitude":"2d1d1500","hex_latitude":"071e5258","is_valid_coordinates":true} 
[2026-08-25 18:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641315584001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15994625714028544,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2096003444649043968,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:31] local.INFO: IO Element Parsed {"io_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-25 18:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787661392000,"timestamp_ms":1787661392000,"timestamp_seconds":1787661392,"priority":1,"record_length":96,"hex_timestamp":"000001a038ec1880"} 
[2026-08-25 18:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-25 18:08:31] 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-25 18:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641315584001,"66":14407,"107":206,"83":41984,"24":19,"16":15994625714028544,"45":2096003444649043968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-25 18:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641315584001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:08:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-25 18:08:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15994625714028544,"km_value":15994625714028.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2096003444649043968,"description":"Unknown IO ID 45"} 
[2026-08-25 18:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641315584001,"power":14407,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":2096003444649043968}} 
[2026-08-25 18:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":161883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:08:31] local.INFO: GPS data processed {"connection_id":161883,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:08:31] local.INFO: Acknowledgment sent {"connection_id":161883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:08:34] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038ec1c68012d1d1440071e53f80049014226..."} 
[2026-08-25 18:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ec1c68012d1d1440071e53f80049014226..."} 
[2026-08-25 18:08:34] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ec1c68012d1d1440071e53f80049014226..."} 
[2026-08-25 18:08:34] local.INFO: Packet analysis {"connection_id":161883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ec"} 
[2026-08-25 18:08:34] local.INFO: Extracted packet for processing {"connection_id":161883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ec"} 
[2026-08-25 18:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756880448,"raw_latitude":119428088,"longitude_deg":75.6880448,"latitude_deg":11.9428088,"altitude":73,"angle":322,"satellites":38,"speed":19,"hex_longitude":"2d1d1440","hex_latitude":"071e53f8","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641316352001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15994647188865024,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2095581232184317952,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787661393000,"timestamp_ms":1787661393000,"timestamp_seconds":1787661393,"priority":1,"record_length":96,"hex_timestamp":"000001a038ec1c68"} 
[2026-08-25 18: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-25 18:08:34] 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-25 18: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-25 18:08:34] 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-25 18: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-25 18: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-25 18:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641316352001,"66":14407,"107":206,"83":41984,"24":19,"16":15994647188865024,"45":2095581232184317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-25 18:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641316352001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:08:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-25 18:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15994647188865024,"km_value":15994647188865.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2095581232184317952,"description":"Unknown IO ID 45"} 
[2026-08-25 18:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641316352001,"power":14407,"unknown_107":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":2095581232184317952}} 
[2026-08-25 18:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":161883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:08:34] local.INFO: GPS data processed {"connection_id":161883,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:08:34] local.INFO: Acknowledgment sent {"connection_id":161883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:08:39] local.INFO: TCP Data received {"connection_id":163130,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:08:39] local.INFO: Processing buffer {"connection_id":163130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:08:39] local.INFO: IMEI packet received {"connection_id":163130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":163130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:08:40] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:08:40] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:08:40] local.INFO: IMEI packet received {"connection_id":161884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":161884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:08:44] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:08:44] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:08:44] local.INFO: IMEI packet received {"connection_id":161884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":161884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:08:44] local.INFO: TCP Data received {"connection_id":163130,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:08:44] local.INFO: Processing buffer {"connection_id":163130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:08:44] local.INFO: IMEI packet received {"connection_id":163130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":163130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:08:45] local.INFO: TCP Data received {"connection_id":163130,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:08:45] local.INFO: Processing buffer {"connection_id":163130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:08:45] local.INFO: Packet analysis {"connection_id":163130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:08:45] local.INFO: Extracted packet for processing {"connection_id":163130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641203456001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787661252000,"timestamp_ms":1787661252000,"timestamp_seconds":1787661252,"priority":1,"record_length":96,"hex_timestamp":"000001a038e9f5a0"} 
[2026-08-25 18:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641203456001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641203456001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641203456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":163130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:08:45] local.INFO: GPS data processed {"connection_id":163130,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:08:45] local.INFO: Acknowledgment sent {"connection_id":163130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:08:49] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:08:49] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:08:49] local.INFO: IMEI packet received {"connection_id":161884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":161884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:08:50] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038eddda0012d9e40c0055afa10000c000029..."} 
[2026-08-25 18:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038eddda0012d9e40c0055afa10000c000029..."} 
[2026-08-25 18:08:50] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038eddda0012d9e40c0055afa10000c000029..."} 
[2026-08-25 18:08:50] local.INFO: Packet analysis {"connection_id":161884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ed"} 
[2026-08-25 18:08:50] local.INFO: Extracted packet for processing {"connection_id":161884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ed"} 
[2026-08-25 18:08:50] local.INFO: GPS Element Parsed {"raw_longitude":765345984,"raw_latitude":89848336,"longitude_deg":76.5345984,"latitude_deg":8.9848336,"altitude":12,"angle":0,"satellites":41,"speed":54,"hex_longitude":"2d9e40c0","hex_latitude":"055afa10","is_valid_coordinates":true} 
[2026-08-25 18:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641344000001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123961127053819904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043207581743773696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787661508000,"timestamp_ms":1787661508000,"timestamp_seconds":1787661508,"priority":1,"record_length":96,"hex_timestamp":"000001a038eddda0"} 
[2026-08-25 18:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 18:08:50] 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-25 18:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641344000001,"66":13341,"117":206,"84":7168,"24":54,"16":123961127053819904,"45":-7043207581743773696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-25 18:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641344000001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:08:50] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 18:08:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123961127053819904,"km_value":123961127053819.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043207581743773696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641344000001,"power":13341,"unknown_117":206,"unknown_84":7168,"ignition":54,"odometer":null,"unknown_45":-7043207581743773696}} 
[2026-08-25 18:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":161884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:08:50] local.INFO: GPS data processed {"connection_id":161884,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:08:50] local.INFO: Acknowledgment sent {"connection_id":161884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:08:51] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038edf8f8012d9e4000055b1fe8000c016329..."} 
[2026-08-25 18:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038edf8f8012d9e4000055b1fe8000c016329..."} 
[2026-08-25 18:08:51] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038edf8f8012d9e4000055b1fe8000c016329..."} 
[2026-08-25 18:08:51] local.INFO: Packet analysis {"connection_id":161884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ed"} 
[2026-08-25 18:08:51] local.INFO: Extracted packet for processing {"connection_id":161884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ed"} 
[2026-08-25 18:08:51] local.INFO: GPS Element Parsed {"raw_longitude":765345792,"raw_latitude":89858024,"longitude_deg":76.5345792,"latitude_deg":8.9858024,"altitude":12,"angle":355,"satellites":41,"speed":50,"hex_longitude":"2d9e4000","hex_latitude":"055b1fe8","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641346048001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123961595205255168,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043418687973748736,"note":"Value kept but may cause issues"} 
[2026-08-25 18:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787661515000,"timestamp_ms":1787661515000,"timestamp_seconds":1787661515,"priority":1,"record_length":96,"hex_timestamp":"000001a038edf8f8"} 
[2026-08-25 18: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-25 18:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 18:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641346048001,"66":13341,"117":206,"84":7168,"24":50,"16":123961595205255168,"45":-7043418687973748736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-25 18:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641346048001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:08:51] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 18:08:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123961595205255168,"km_value":123961595205255.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043418687973748736,"description":"Unknown IO ID 45"} 
[2026-08-25 18:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641346048001,"power":13341,"unknown_117":206,"unknown_84":7168,"ignition":50,"odometer":null,"unknown_45":-7043418687973748736}} 
[2026-08-25 18:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":161884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:08:51] local.INFO: GPS data processed {"connection_id":161884,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:08:51] local.INFO: Acknowledgment sent {"connection_id":161884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:09:13] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038ed9b38012d1c3300071e5c60005b00fb25..."} 
[2026-08-25 18:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ed9b38012d1c3300071e5c60005b00fb25..."} 
[2026-08-25 18:09:13] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ed9b38012d1c3300071e5c60005b00fb25..."} 
[2026-08-25 18:09:13] local.INFO: Packet analysis {"connection_id":161883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ed"} 
[2026-08-25 18:09:13] local.INFO: Extracted packet for processing {"connection_id":161883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ed"} 
[2026-08-25 18:09:13] local.INFO: GPS Element Parsed {"raw_longitude":756822784,"raw_latitude":119430240,"longitude_deg":75.6822784,"latitude_deg":11.943024,"altitude":91,"angle":251,"satellites":37,"speed":21,"hex_longitude":"2d1c3300","hex_latitude":"071e5c60","is_valid_coordinates":true} 
[2026-08-25 18:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641338624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15997546291789824,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2038652918146080768,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787661491000,"timestamp_ms":1787661491000,"timestamp_seconds":1787661491,"priority":1,"record_length":96,"hex_timestamp":"000001a038ed9b38"} 
[2026-08-25 18:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:09: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-25 18:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 18:09:13] 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-25 18:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641338624001,"66":14483,"71":206,"83":41984,"24":21,"16":15997546291789824,"45":2038652918146080768},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-08-25 18:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641338624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:09:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-25 18:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15997546291789824,"km_value":15997546291789.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2038652918146080768,"description":"Unknown IO ID 45"} 
[2026-08-25 18:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641338624001,"power":14483,"unknown_71":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":2038652918146080768}} 
[2026-08-25 18:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":161883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:09:13] local.INFO: GPS data processed {"connection_id":161883,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:09:13] local.INFO: Acknowledgment sent {"connection_id":161883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:09:18] local.INFO: TCP Data received {"connection_id":163130,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:09:18] local.INFO: Processing buffer {"connection_id":163130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:09:18] local.INFO: Packet analysis {"connection_id":163130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:09:18] local.INFO: Extracted packet for processing {"connection_id":163130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:09:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641203456001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787661252000,"timestamp_ms":1787661252000,"timestamp_seconds":1787661252,"priority":1,"record_length":96,"hex_timestamp":"000001a038e9f5a0"} 
[2026-08-25 18: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-25 18:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:09:18] 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-25 18: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-25 18: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-25 18:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641203456001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641203456001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:09:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641203456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":163130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:09:18] local.INFO: GPS data processed {"connection_id":163130,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:09:18] local.INFO: Acknowledgment sent {"connection_id":163130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:09:23] local.INFO: TCP Data received {"connection_id":163131,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:09:23] local.INFO: Processing buffer {"connection_id":163131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:09:23] local.INFO: IMEI packet received {"connection_id":163131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":163131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:09:23] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee1450012d9e3a40055b4280000d015b2a..."} 
[2026-08-25 18:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee1450012d9e3a40055b4280000d015b2a..."} 
[2026-08-25 18:09:23] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee1450012d9e3a40055b4280000d015b2a..."} 
[2026-08-25 18:09:23] local.INFO: Packet analysis {"connection_id":161884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:09:23] local.INFO: Extracted packet for processing {"connection_id":161884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:09:23] local.INFO: GPS Element Parsed {"raw_longitude":765344320,"raw_latitude":89866880,"longitude_deg":76.534432,"latitude_deg":8.986688,"altitude":13,"angle":347,"satellites":42,"speed":52,"hex_longitude":"2d9e3a40","hex_latitude":"055b4280","is_valid_coordinates":true} 
[2026-08-25 18:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641347840001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123962028996952064,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043629794203801600,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787661522000,"timestamp_ms":1787661522000,"timestamp_seconds":1787661522,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee1450"} 
[2026-08-25 18:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 18:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641347840001,"66":13330,"117":206,"84":7168,"24":52,"16":123962028996952064,"45":-7043629794203801600},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-25 18:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641347840001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:09:23] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 18:09:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123962028996952064,"km_value":123962028996952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043629794203801600,"description":"Unknown IO ID 45"} 
[2026-08-25 18:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641347840001,"power":13330,"unknown_117":206,"unknown_84":7168,"ignition":52,"odometer":null,"unknown_45":-7043629794203801600}} 
[2026-08-25 18:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":161884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:09:23] local.INFO: GPS data processed {"connection_id":161884,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:09:23] local.INFO: Acknowledgment sent {"connection_id":161884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:09:24] local.INFO: TCP Data received {"connection_id":163131,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:09:24] local.INFO: Processing buffer {"connection_id":163131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:09:24] local.INFO: IMEI packet received {"connection_id":163131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":163131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:09:35] local.INFO: TCP Data received {"connection_id":163131,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:09:35] local.INFO: Processing buffer {"connection_id":163131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:09:35] local.INFO: IMEI packet received {"connection_id":163131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":163131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:09:36] local.INFO: TCP Data received {"connection_id":163131,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038eda6f0012d1c2bc0071e5b10005d010825..."} 
[2026-08-25 18:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038eda6f0012d1c2bc0071e5b10005d010825..."} 
[2026-08-25 18:09:36] local.INFO: Processing buffer {"connection_id":163131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038eda6f0012d1c2bc0071e5b10005d010825..."} 
[2026-08-25 18:09:36] local.INFO: Packet analysis {"connection_id":163131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ed"} 
[2026-08-25 18:09:36] local.INFO: Extracted packet for processing {"connection_id":163131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ed"} 
[2026-08-25 18:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756820928,"raw_latitude":119429904,"longitude_deg":75.6820928,"latitude_deg":11.9429904,"altitude":93,"angle":264,"satellites":37,"speed":23,"hex_longitude":"2d1c2bc0","hex_latitude":"071e5b10","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641341696001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15997636486103040,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2031967887448367104,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787661494000,"timestamp_ms":1787661494000,"timestamp_seconds":1787661494,"priority":1,"record_length":96,"hex_timestamp":"000001a038eda6f0"} 
[2026-08-25 18: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-25 18:09:36] 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-25 18: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-25 18:09:36] 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-25 18: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-25 18: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-25 18:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641341696001,"66":14396,"71":206,"83":41984,"24":23,"16":15997636486103040,"45":2031967887448367104},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-08-25 18:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641341696001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:09:36] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-25 18:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15997636486103040,"km_value":15997636486103.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2031967887448367104,"description":"Unknown IO ID 45"} 
[2026-08-25 18:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641341696001,"power":14396,"unknown_71":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":2031967887448367104}} 
[2026-08-25 18:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":163131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:09:36] local.INFO: GPS data processed {"connection_id":163131,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:09:36] local.INFO: Acknowledgment sent {"connection_id":163131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:09:40] local.INFO: TCP Data received {"connection_id":164507,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:09:40] local.INFO: Processing buffer {"connection_id":164507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:09:40] local.INFO: IMEI packet received {"connection_id":164507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":164507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:09:44] local.INFO: TCP Data received {"connection_id":164507,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:09:44] local.INFO: Processing buffer {"connection_id":164507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:09:44] local.INFO: IMEI packet received {"connection_id":164507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":164507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:09:46] local.INFO: TCP Data received {"connection_id":164507,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:09:46] local.INFO: Processing buffer {"connection_id":164507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038e9f5a0012d34c14006aa4818000700e62d..."} 
[2026-08-25 18:09:46] local.INFO: Packet analysis {"connection_id":164507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:09:46] local.INFO: Extracted packet for processing {"connection_id":164507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038e9"} 
[2026-08-25 18:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641203456001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787661252000,"timestamp_ms":1787661252000,"timestamp_seconds":1787661252,"priority":1,"record_length":96,"hex_timestamp":"000001a038e9f5a0"} 
[2026-08-25 18:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:09: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-25 18:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641203456001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641203456001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641203456001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:09:46] local.INFO: TCP Data received {"connection_id":163132,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":164507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:09:46] local.INFO: GPS data processed {"connection_id":164507,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:09:46] local.INFO: Acknowledgment sent {"connection_id":164507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:09:46] local.INFO: Processing buffer {"connection_id":163132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:09:46] local.INFO: IMEI packet received {"connection_id":163132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":163132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:09:51] local.INFO: TCP Data received {"connection_id":163132,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:09:51] local.INFO: Processing buffer {"connection_id":163132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:09:51] local.INFO: IMEI packet received {"connection_id":163132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":163132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:09:52] local.INFO: TCP Data received {"connection_id":163132,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee2fa8012d9e3200055b67b0000d015b2a..."} 
[2026-08-25 18:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee2fa8012d9e3200055b67b0000d015b2a..."} 
[2026-08-25 18:09:52] local.INFO: Processing buffer {"connection_id":163132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee2fa8012d9e3200055b67b0000d015b2a..."} 
[2026-08-25 18:09:52] local.INFO: Packet analysis {"connection_id":163132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:09:52] local.INFO: Extracted packet for processing {"connection_id":163132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:09:52] local.INFO: GPS Element Parsed {"raw_longitude":765342208,"raw_latitude":89876400,"longitude_deg":76.5342208,"latitude_deg":8.98764,"altitude":13,"angle":347,"satellites":42,"speed":57,"hex_longitude":"2d9e3200","hex_latitude":"055b67b0","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641349632001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123962505738321920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7045248275317620736,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787661529000,"timestamp_ms":1787661529000,"timestamp_seconds":1787661529,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee2fa8"} 
[2026-08-25 18: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-25 18: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-25 18:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2655338501,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2348810240,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3287134597105203408,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3985348609,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":90,"raw_value":6631550502843000832,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2507473102,"corrected_to":0} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407189,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57866699982918684,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":237,"raw_value":1333066785141997573,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":149,"raw_value":8430965363079911424,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.WARNING: Large IO value detected {"io_id":95,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:52] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,117,84,24,241,157,16,102,160,248,45,31,12,41,10,66,221,192,250,101,190,128,1,240,29,227,56,90,4,113,205,23,81,70,42,239,52,2,184,5,27,94,237,149,95],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2507473102,"validated":0}]} 
[2026-08-25 18:09:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937130433419935744,"timestamp_seconds":937130433419935.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18: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-25 18:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641349632001,"66":13243,"117":206,"84":7168,"24":57,"16":123962505738321920,"45":-7045248275317620736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-25 18:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641349632001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:09:52] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-25 18:09:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123962505738321920,"km_value":123962505738321.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7045248275317620736,"description":"Unknown IO ID 45"} 
[2026-08-25 18:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641349632001,"power":13243,"unknown_117":206,"unknown_84":7168,"ignition":57,"odometer":null,"unknown_45":-7045248275317620736}} 
[2026-08-25 18:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":163132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:09:52] local.INFO: GPS data processed {"connection_id":163132,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:09:52] local.INFO: Acknowledgment sent {"connection_id":163132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:09:55] local.INFO: TCP Data received {"connection_id":163132,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee4718012d9e2ac0055b89e8000d015a28..."} 
[2026-08-25 18:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee4718012d9e2ac0055b89e8000d015a28..."} 
[2026-08-25 18:09:55] local.INFO: Processing buffer {"connection_id":163132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee4718012d9e2ac0055b89e8000d015a28..."} 
[2026-08-25 18:09:55] local.INFO: Packet analysis {"connection_id":163132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:09:55] local.INFO: Extracted packet for processing {"connection_id":163132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:09:55] local.INFO: GPS Element Parsed {"raw_longitude":765340352,"raw_latitude":89885160,"longitude_deg":76.5340352,"latitude_deg":8.988516,"altitude":13,"angle":346,"satellites":40,"speed":58,"hex_longitude":"2d9e2ac0","hex_latitude":"055b89e8","is_valid_coordinates":true} 
[2026-08-25 18:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641351424001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123962935235051520,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047570443873046528,"note":"Value kept but may cause issues"} 
[2026-08-25 18:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787661535000,"timestamp_ms":1787661535000,"timestamp_seconds":1787661535,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee4718"} 
[2026-08-25 18:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641351424001,"66":13428,"248":206,"84":7168,"24":58,"16":123962935235051520,"45":-7047570443873046528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-25 18:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641351424001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:09:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123962935235051520,"km_value":123962935235051.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047570443873046528,"description":"Unknown IO ID 45"} 
[2026-08-25 18:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641351424001,"power":13428,"tamper_alert":206,"unknown_84":7168,"ignition":58,"odometer":null,"unknown_45":-7047570443873046528}} 
[2026-08-25 18:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":163132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:09:55] local.INFO: GPS data processed {"connection_id":163132,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:09:55] local.INFO: Acknowledgment sent {"connection_id":163132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:10:07] local.INFO: TCP Data received {"connection_id":163131,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038edc630012d1c1680071e58e00060011326..."} 
[2026-08-25 18:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038edc630012d1c1680071e58e00060011326..."} 
[2026-08-25 18:10:07] local.INFO: Processing buffer {"connection_id":163131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038edc630012d1c1680071e58e00060011326..."} 
[2026-08-25 18:10:07] local.INFO: Packet analysis {"connection_id":163131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ed"} 
[2026-08-25 18:10:07] local.INFO: Extracted packet for processing {"connection_id":163131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ed"} 
[2026-08-25 18:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756815488,"raw_latitude":119429344,"longitude_deg":75.6815488,"latitude_deg":11.9429344,"altitude":96,"angle":275,"satellites":38,"speed":25,"hex_longitude":"2d1c1680","hex_latitude":"071e58e0","is_valid_coordinates":true} 
[2026-08-25 18:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641342464001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15997894184140800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2029927193867128832,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787661502000,"timestamp_ms":1787661502000,"timestamp_seconds":1787661502,"priority":1,"record_length":96,"hex_timestamp":"000001a038edc630"} 
[2026-08-25 18:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:10:07] local.INFO: IO Element 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-25 18:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641342464001,"66":14483,"71":206,"83":41984,"24":25,"16":15997894184140800,"45":2029927193867128832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-08-25 18:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641342464001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:10:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-25 18:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15997894184140800,"km_value":15997894184140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2029927193867128832,"description":"Unknown IO ID 45"} 
[2026-08-25 18:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641342464001,"power":14483,"unknown_71":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":2029927193867128832}} 
[2026-08-25 18:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":163131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:10:07] local.INFO: GPS data processed {"connection_id":163131,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:10:07] local.INFO: Acknowledgment sent {"connection_id":163131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:10:17] local.INFO: TCP Data received {"connection_id":164507,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:10:17] local.INFO: Processing buffer {"connection_id":164507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:10:17] local.INFO: Packet analysis {"connection_id":164507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:10:17] local.INFO: Extracted packet for processing {"connection_id":164507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641280512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787661553000,"timestamp_ms":1787661553000,"timestamp_seconds":1787661553,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee8d68"} 
[2026-08-25 18:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:10:17] 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-25 18:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641280512001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641280512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641280512001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":164507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:10:17] local.INFO: GPS data processed {"connection_id":164507,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:10:17] local.INFO: Acknowledgment sent {"connection_id":164507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:10:36] local.INFO: TCP Data received {"connection_id":162136,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:10:36] local.INFO: Processing buffer {"connection_id":162136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:10:36] local.INFO: IMEI packet received {"connection_id":162136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":162136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:10:41] local.INFO: TCP Data received {"connection_id":162136,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:10:41] local.INFO: Processing buffer {"connection_id":162136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:10:41] local.INFO: IMEI packet received {"connection_id":162136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":162136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:10:42] local.INFO: TCP Data received {"connection_id":163133,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:10:42] local.INFO: Processing buffer {"connection_id":163133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:10:42] local.INFO: IMEI packet received {"connection_id":163133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":163133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:10:43] local.INFO: TCP Data received {"connection_id":163133,"ip":"42.109.136.9","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 18:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163133,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 18:10:43] local.INFO: Processing buffer {"connection_id":163133,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-25 18:10:43] local.INFO: IMEI packet received {"connection_id":163133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":163133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:10:45] local.INFO: TCP Data received {"connection_id":163133,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038eddda0012d1c0700071e5af00061011f26..."} 
[2026-08-25 18:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038eddda0012d1c0700071e5af00061011f26..."} 
[2026-08-25 18:10:45] local.INFO: Processing buffer {"connection_id":163133,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a038..."} 
[2026-08-25 18:10:45] local.INFO: IMEI packet received {"connection_id":163133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":163133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:10:45] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:10:45] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:10:45] local.INFO: IMEI packet received {"connection_id":161885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":161885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:10:46] local.INFO: TCP Data received {"connection_id":163133,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038ef3560012d1b6cc0071eb9c80056010420..."} 
[2026-08-25 18:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ef3560012d1b6cc0071eb9c80056010420..."} 
[2026-08-25 18:10:46] local.INFO: Processing buffer {"connection_id":163133,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a038eddda0012d1c0700071e5af00061011f26..."} 
[2026-08-25 18:10:46] local.INFO: Packet analysis {"connection_id":163133,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a038ed"} 
[2026-08-25 18:10:46] local.INFO: Extracted packet for processing {"connection_id":163133,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ed"} 
[2026-08-25 18:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756811520,"raw_latitude":119429872,"longitude_deg":75.681152,"latitude_deg":11.9429872,"altitude":97,"angle":287,"satellites":38,"speed":24,"hex_longitude":"2d1c0700","hex_latitude":"071e5af0","is_valid_coordinates":true} 
[2026-08-25 18:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641344512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15998087457669120,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2023945850611884032,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787661508000,"timestamp_ms":1787661508000,"timestamp_seconds":1787661508,"priority":1,"record_length":96,"hex_timestamp":"000001a038eddda0"} 
[2026-08-25 18:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:10:46] 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-25 18:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-25 18:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641344512001,"66":14396,"71":206,"83":41984,"24":24,"16":15998087457669120,"45":2023945850611884032},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-08-25 18:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641344512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:10:46] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-25 18:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15998087457669120,"km_value":15998087457669.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2023945850611884032,"description":"Unknown IO ID 45"} 
[2026-08-25 18:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641344512001,"power":14396,"unknown_71":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":2023945850611884032}} 
[2026-08-25 18:10:46] local.INFO: TCP Data received {"connection_id":162136,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:10:46] local.INFO: Processing buffer {"connection_id":162136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:10:46] local.INFO: IMEI packet received {"connection_id":162136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":162136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":163133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:10:46] local.INFO: GPS data processed {"connection_id":163133,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:10:46] local.INFO: Acknowledgment sent {"connection_id":163133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:10:46] local.INFO: Packet analysis {"connection_id":163133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ef"} 
[2026-08-25 18:10:46] local.INFO: Extracted packet for processing {"connection_id":163133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ef"} 
[2026-08-25 18:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756772032,"raw_latitude":119454152,"longitude_deg":75.6772032,"latitude_deg":11.9454152,"altitude":86,"angle":260,"satellites":32,"speed":23,"hex_longitude":"2d1b6cc0","hex_latitude":"071eb9c8","is_valid_coordinates":true} 
[2026-08-25 18:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641368064001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16000526999093248,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361741972647936,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787661596000,"timestamp_ms":1787661596000,"timestamp_seconds":1787661596,"priority":1,"record_length":96,"hex_timestamp":"000001a038ef3560"} 
[2026-08-25 18:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:10:46] 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-25 18:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-25 18:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641368064001,"66":14515,"101":206,"83":41984,"24":23,"16":16000526999093248,"45":1977361741972647936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641368064001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:10:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16000526999093248,"km_value":16000526999093.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361741972647936,"description":"Unknown IO ID 45"} 
[2026-08-25 18:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641368064001,"power":14515,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1977361741972647936}} 
[2026-08-25 18:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":163133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:10:46] local.INFO: GPS data processed {"connection_id":163133,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:10:46] local.INFO: Acknowledgment sent {"connection_id":163133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:10:46] local.INFO: TCP Data received {"connection_id":163133,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038ef4500012d1b6380071eb9200054011221..."} 
[2026-08-25 18:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ef4500012d1b6380071eb9200054011221..."} 
[2026-08-25 18:10:46] local.INFO: Processing buffer {"connection_id":163133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ef4500012d1b6380071eb9200054011221..."} 
[2026-08-25 18:10:46] local.INFO: Packet analysis {"connection_id":163133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ef"} 
[2026-08-25 18:10:46] local.INFO: Extracted packet for processing {"connection_id":163133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ef"} 
[2026-08-25 18:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756769664,"raw_latitude":119453984,"longitude_deg":75.6769664,"latitude_deg":11.9453984,"altitude":84,"angle":274,"satellites":33,"speed":21,"hex_longitude":"2d1b6380","hex_latitude":"071eb920","is_valid_coordinates":true} 
[2026-08-25 18:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641368576001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16000638668242944,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976165473321601024,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787661600000,"timestamp_ms":1787661600000,"timestamp_seconds":1787661600,"priority":1,"record_length":96,"hex_timestamp":"000001a038ef4500"} 
[2026-08-25 18:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:10:46] 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-25 18:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 18:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641368576001,"66":14515,"101":206,"83":41984,"24":21,"16":16000638668242944,"45":1976165473321601024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641368576001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:10:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16000638668242944,"km_value":16000638668242.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976165473321601024,"description":"Unknown IO ID 45"} 
[2026-08-25 18:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641368576001,"power":14515,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1976165473321601024}} 
[2026-08-25 18:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":163133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:10:46] local.INFO: GPS data processed {"connection_id":163133,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:10:46] local.INFO: Acknowledgment sent {"connection_id":163133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:10:47] local.INFO: TCP Data received {"connection_id":162136,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee6270012d9e21c0055badd0000c015827..."} 
[2026-08-25 18:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee6270012d9e21c0055badd0000c015827..."} 
[2026-08-25 18:10:47] local.INFO: Processing buffer {"connection_id":162136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee6270012d9e21c0055badd0000c015827..."} 
[2026-08-25 18:10:47] local.INFO: Packet analysis {"connection_id":162136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:10:47] local.INFO: Extracted packet for processing {"connection_id":162136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:10:47] local.INFO: GPS Element Parsed {"raw_longitude":765338048,"raw_latitude":89894352,"longitude_deg":76.5338048,"latitude_deg":8.9894352,"altitude":12,"angle":344,"satellites":39,"speed":45,"hex_longitude":"2d9e21c0","hex_latitude":"055badd0","is_valid_coordinates":true} 
[2026-08-25 18:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641352960001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123963394796552192,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7049611137451956224,"note":"Value kept but may cause issues"} 
[2026-08-25 18:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787661542000,"timestamp_ms":1787661542000,"timestamp_seconds":1787661542,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee6270"} 
[2026-08-25 18:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:10: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-25 18:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 18:10:47] 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-25 18:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641352960001,"66":13222,"248":206,"84":7168,"24":45,"16":123963394796552192,"45":-7049611137451956224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-25 18:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641352960001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:10:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123963394796552192,"km_value":123963394796552.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7049611137451956224,"description":"Unknown IO ID 45"} 
[2026-08-25 18:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641352960001,"power":13222,"tamper_alert":206,"unknown_84":7168,"ignition":45,"odometer":null,"unknown_45":-7049611137451956224}} 
[2026-08-25 18:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":162136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:10:47] local.INFO: GPS data processed {"connection_id":162136,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:10:47] local.INFO: Acknowledgment sent {"connection_id":162136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:10:52] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:10:52] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:10:52] local.INFO: IMEI packet received {"connection_id":161885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":161885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:11:01] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:11:01] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:11:01] local.INFO: Packet analysis {"connection_id":161885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:11:01] local.INFO: Extracted packet for processing {"connection_id":161885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:11:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641280512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787661553000,"timestamp_ms":1787661553000,"timestamp_seconds":1787661553,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee8d68"} 
[2026-08-25 18: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-25 18:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:11:01] 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-25 18: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-25 18: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-25 18:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641280512001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641280512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:11:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641280512001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":161885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:11:01] local.INFO: GPS data processed {"connection_id":161885,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:11:01] local.INFO: Acknowledgment sent {"connection_id":161885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:11:04] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:11:04] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:11:04] local.INFO: Packet analysis {"connection_id":161885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:11:04] local.INFO: Extracted packet for processing {"connection_id":161885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 18:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641280512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787661553000,"timestamp_ms":1787661553000,"timestamp_seconds":1787661553,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee8d68"} 
[2026-08-25 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-25 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:11:04] 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-25 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-25 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-25 18:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:11:04] 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-25 18:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641280512001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641280512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641280512001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":161885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:11:04] local.INFO: GPS data processed {"connection_id":161885,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:11:04] local.INFO: Acknowledgment sent {"connection_id":161885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:11:20] local.INFO: TCP Data received {"connection_id":162136,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee8598012d9e1580055bcf30000c015929..."} 
[2026-08-25 18:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee8598012d9e1580055bcf30000c015929..."} 
[2026-08-25 18:11:20] local.INFO: Processing buffer {"connection_id":162136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee8598012d9e1580055bcf30000c015929..."} 
[2026-08-25 18:11:20] local.INFO: Packet analysis {"connection_id":162136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:11:20] local.INFO: Extracted packet for processing {"connection_id":162136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:11:20] local.INFO: GPS Element Parsed {"raw_longitude":765334912,"raw_latitude":89902896,"longitude_deg":76.5334912,"latitude_deg":8.9902896,"altitude":12,"angle":345,"satellites":41,"speed":38,"hex_longitude":"2d9e1580","hex_latitude":"055bcf30","is_valid_coordinates":true} 
[2026-08-25 18:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641354752001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123963837178183680,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7052144412239998976,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787661551000,"timestamp_ms":1787661551000,"timestamp_seconds":1787661551,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee8598"} 
[2026-08-25 18:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:11: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-25 18:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 18:11:20] 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-25 18:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641354752001,"66":13243,"248":206,"84":7168,"24":38,"16":123963837178183680,"45":-7052144412239998976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-25 18:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641354752001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:11:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123963837178183680,"km_value":123963837178183.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7052144412239998976,"description":"Unknown IO ID 45"} 
[2026-08-25 18:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641354752001,"power":13243,"tamper_alert":206,"unknown_84":7168,"ignition":38,"odometer":null,"unknown_45":-7052144412239998976}} 
[2026-08-25 18:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":162136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:11:21] local.INFO: GPS data processed {"connection_id":162136,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:11:21] local.INFO: Acknowledgment sent {"connection_id":162136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:11:23] local.INFO: TCP Data received {"connection_id":163134,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:11:23] local.INFO: Processing buffer {"connection_id":163134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:11:23] local.INFO: IMEI packet received {"connection_id":163134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":163134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:11:27] local.INFO: TCP Data received {"connection_id":163134,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:11:27] local.INFO: Processing buffer {"connection_id":163134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:11:27] local.INFO: IMEI packet received {"connection_id":163134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":163134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:11:27] local.INFO: TCP Data received {"connection_id":163134,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038efdd58012d1b24c0071eebc80045012823..."} 
[2026-08-25 18:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038efdd58012d1b24c0071eebc80045012823..."} 
[2026-08-25 18:11:27] local.INFO: Processing buffer {"connection_id":163134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038efdd58012d1b24c0071eebc80045012823..."} 
[2026-08-25 18:11:27] local.INFO: Packet analysis {"connection_id":163134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ef"} 
[2026-08-25 18:11:27] local.INFO: Extracted packet for processing {"connection_id":163134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ef"} 
[2026-08-25 18:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756753600,"raw_latitude":119466952,"longitude_deg":75.67536,"latitude_deg":11.9466952,"altitude":69,"angle":296,"satellites":35,"speed":21,"hex_longitude":"2d1b24c0","hex_latitude":"071eebc8","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641379328001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16001686640263168,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956391856210890752,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787661639000,"timestamp_ms":1787661639000,"timestamp_seconds":1787661639,"priority":1,"record_length":96,"hex_timestamp":"000001a038efdd58"} 
[2026-08-25 18: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-25 18:11:27] 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-25 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 18:11:27] 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-25 18: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-25 18: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-25 18:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641379328001,"66":14070,"101":206,"83":41984,"24":21,"16":16001686640263168,"45":1956391856210890752},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641379328001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:11:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:11:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16001686640263168,"km_value":16001686640263.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956391856210890752,"description":"Unknown IO ID 45"} 
[2026-08-25 18:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641379328001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1956391856210890752}} 
[2026-08-25 18:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":163134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:11:27] local.INFO: GPS data processed {"connection_id":163134,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:11:27] local.INFO: Acknowledgment sent {"connection_id":163134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:11:41] local.INFO: TCP Data received {"connection_id":162138,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:11:41] local.INFO: Processing buffer {"connection_id":162138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:11:41] local.INFO: IMEI packet received {"connection_id":162138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":162138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:11:45] local.INFO: TCP Data received {"connection_id":162137,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:11:45] local.INFO: Processing buffer {"connection_id":162137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:11:45] local.INFO: IMEI packet received {"connection_id":162137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":162137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:11:46] local.INFO: TCP Data received {"connection_id":162138,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:11:46] local.INFO: Processing buffer {"connection_id":162138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:11:46] local.INFO: IMEI packet received {"connection_id":162138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":162138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:11:46] local.INFO: TCP Data received {"connection_id":162138,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f05e40012d9e1bc0055d2820000c001d2c..."} 
[2026-08-25 18:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f05e40012d9e1bc0055d2820000c001d2c..."} 
[2026-08-25 18:11:46] local.INFO: Processing buffer {"connection_id":162138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f05e40012d9e1bc0055d2820000c001d2c..."} 
[2026-08-25 18:11:46] local.INFO: Packet analysis {"connection_id":162138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f0"} 
[2026-08-25 18:11:46] local.INFO: Extracted packet for processing {"connection_id":162138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f0"} 
[2026-08-25 18:11:46] local.INFO: GPS Element Parsed {"raw_longitude":765336512,"raw_latitude":89991200,"longitude_deg":76.5336512,"latitude_deg":8.99912,"altitude":12,"angle":29,"satellites":44,"speed":49,"hex_longitude":"2d9e1bc0","hex_latitude":"055d2820","is_valid_coordinates":true} 
[2026-08-25 18:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641385984001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123968252404563968,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7058618336681830400,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787661672000,"timestamp_ms":1787661672000,"timestamp_seconds":1787661672,"priority":1,"record_length":96,"hex_timestamp":"000001a038f05e40"} 
[2026-08-25 18:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 18:11:46] 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-25 18:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641385984001,"66":13450,"249":206,"84":7168,"24":49,"16":123968252404563968,"45":-7058618336681830400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-25 18:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641385984001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:11:46] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-25 18:11:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123968252404563968,"km_value":123968252404563.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7058618336681830400,"description":"Unknown IO ID 45"} 
[2026-08-25 18:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641385984001,"power":13450,"unknown_249":206,"unknown_84":7168,"ignition":49,"odometer":null,"unknown_45":-7058618336681830400}} 
[2026-08-25 18:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":162138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:11:46] local.INFO: GPS data processed {"connection_id":162138,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:11:46] local.INFO: Acknowledgment sent {"connection_id":162138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:11:48] local.INFO: TCP Data received {"connection_id":162137,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:11:48] local.INFO: Processing buffer {"connection_id":162137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:11:48] local.INFO: IMEI packet received {"connection_id":162137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":162137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:11:58] local.INFO: TCP Data received {"connection_id":163134,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038efe140012d1b22c0071eec600046011b25..."} 
[2026-08-25 18:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038efe140012d1b22c0071eec600046011b25..."} 
[2026-08-25 18:11:58] local.INFO: Processing buffer {"connection_id":163134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038efe140012d1b22c0071eec600046011b25..."} 
[2026-08-25 18:11:58] local.INFO: Packet analysis {"connection_id":163134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ef"} 
[2026-08-25 18:11:58] local.INFO: Extracted packet for processing {"connection_id":163134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ef"} 
[2026-08-25 18:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756753088,"raw_latitude":119467104,"longitude_deg":75.6753088,"latitude_deg":11.9467104,"altitude":70,"angle":283,"satellites":37,"speed":21,"hex_longitude":"2d1b22c0","hex_latitude":"071eec60","is_valid_coordinates":true} 
[2026-08-25 18:11: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-25 18:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641379584001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16001712410066944,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955899275001710592,"note":"Value kept but may cause issues"} 
[2026-08-25 18:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787661640000,"timestamp_ms":1787661640000,"timestamp_seconds":1787661640,"priority":1,"record_length":96,"hex_timestamp":"000001a038efe140"} 
[2026-08-25 18:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 18:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:11: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-25 18:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641379584001,"66":13993,"101":206,"83":41984,"24":21,"16":16001712410066944,"45":1955899275001710592},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641379584001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:11:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16001712410066944,"km_value":16001712410066.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955899275001710592,"description":"Unknown IO ID 45"} 
[2026-08-25 18:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641379584001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1955899275001710592}} 
[2026-08-25 18:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":163134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:11:58] local.INFO: GPS data processed {"connection_id":163134,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:11:58] local.INFO: Acknowledgment sent {"connection_id":163134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:12:06] local.INFO: TCP Data received {"connection_id":162137,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:12:06] local.INFO: Processing buffer {"connection_id":162137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:12:06] local.INFO: Packet analysis {"connection_id":162137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:12:06] local.INFO: Extracted packet for processing {"connection_id":162137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641280512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787661553000,"timestamp_ms":1787661553000,"timestamp_seconds":1787661553,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee8d68"} 
[2026-08-25 18: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-25 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:12:06] 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-25 18: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-25 18: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-25 18:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18: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-25 18:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641280512001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641280512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:12:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641280512001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":162137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:12:06] local.INFO: GPS data processed {"connection_id":162137,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:12:06] local.INFO: Acknowledgment sent {"connection_id":162137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:12:16] local.INFO: TCP Data received {"connection_id":162137,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:12:16] local.INFO: Processing buffer {"connection_id":162137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:12:16] local.INFO: Packet analysis {"connection_id":162137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:12:16] local.INFO: Extracted packet for processing {"connection_id":162137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641280512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787661553000,"timestamp_ms":1787661553000,"timestamp_seconds":1787661553,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee8d68"} 
[2026-08-25 18:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:12:16] 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-25 18:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641280512001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641280512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641280512001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":162137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:12:16] local.INFO: GPS data processed {"connection_id":162137,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:12:16] local.INFO: Acknowledgment sent {"connection_id":162137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:12:17] local.INFO: TCP Data received {"connection_id":162138,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f07d80012d9e2f40055d46f0000c00202c..."} 
[2026-08-25 18:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f07d80012d9e2f40055d46f0000c00202c..."} 
[2026-08-25 18:12:17] local.INFO: Processing buffer {"connection_id":162138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f07d80012d9e2f40055d46f0000c00202c..."} 
[2026-08-25 18:12:17] local.INFO: Packet analysis {"connection_id":162138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f0"} 
[2026-08-25 18:12:17] local.INFO: Extracted packet for processing {"connection_id":162138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f0"} 
[2026-08-25 18:12:17] local.INFO: GPS Element Parsed {"raw_longitude":765341504,"raw_latitude":89999088,"longitude_deg":76.5341504,"latitude_deg":8.9999088,"altitude":12,"angle":32,"satellites":44,"speed":38,"hex_longitude":"2d9e2f40","hex_latitude":"055d46f0","is_valid_coordinates":true} 
[2026-08-25 18:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641388032001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123968703376130048,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7053833262075469824,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787661680000,"timestamp_ms":1787661680000,"timestamp_seconds":1787661680,"priority":1,"record_length":96,"hex_timestamp":"000001a038f07d80"} 
[2026-08-25 18:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:12: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-25 18:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 18:12:17] 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-25 18:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641388032001,"66":13254,"249":206,"84":7168,"24":38,"16":123968703376130048,"45":-7053833262075469824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-25 18:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641388032001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:12:17] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-25 18:12:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123968703376130048,"km_value":123968703376130.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7053833262075469824,"description":"Unknown IO ID 45"} 
[2026-08-25 18:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641388032001,"power":13254,"unknown_249":206,"unknown_84":7168,"ignition":38,"odometer":null,"unknown_45":-7053833262075469824}} 
[2026-08-25 18:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":162138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:12:17] local.INFO: GPS data processed {"connection_id":162138,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:12:17] local.INFO: Acknowledgment sent {"connection_id":162138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:12:20] local.INFO: TCP Data received {"connection_id":162137,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:12:20] local.INFO: Processing buffer {"connection_id":162137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:12:20] local.INFO: Packet analysis {"connection_id":162137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:12:20] local.INFO: Extracted packet for processing {"connection_id":162137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641280512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787661553000,"timestamp_ms":1787661553000,"timestamp_seconds":1787661553,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee8d68"} 
[2026-08-25 18:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:12:20] 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-25 18:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:12: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-25 18:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641280512001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641280512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641280512001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":162137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:12:20] local.INFO: GPS data processed {"connection_id":162137,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:12:20] local.INFO: Acknowledgment sent {"connection_id":162137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:12:23] local.INFO: TCP Data received {"connection_id":164508,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:12:23] local.INFO: Processing buffer {"connection_id":164508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:12:23] local.INFO: IMEI packet received {"connection_id":164508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":164508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:12:24] local.INFO: TCP Data received {"connection_id":162135,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:12:24] local.INFO: Processing buffer {"connection_id":162135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:12:24] local.INFO: IMEI packet received {"connection_id":162135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 18:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":162135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:12:28] local.INFO: TCP Data received {"connection_id":164508,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:12:28] local.INFO: Processing buffer {"connection_id":164508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:12:28] local.INFO: IMEI packet received {"connection_id":164508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":164508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:12:29] local.INFO: TCP Data received {"connection_id":164508,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f0ac60012d1af4c0071f41080043013d27..."} 
[2026-08-25 18:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f0ac60012d1af4c0071f41080043013d27..."} 
[2026-08-25 18:12:29] local.INFO: Processing buffer {"connection_id":164508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f0ac60012d1af4c0071f41080043013d27..."} 
[2026-08-25 18:12:29] local.INFO: Packet analysis {"connection_id":164508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f0"} 
[2026-08-25 18:12:29] local.INFO: Extracted packet for processing {"connection_id":164508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f0"} 
[2026-08-25 18:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756741312,"raw_latitude":119488776,"longitude_deg":75.6741312,"latitude_deg":11.9488776,"altitude":67,"angle":317,"satellites":39,"speed":19,"hex_longitude":"2d1af4c0","hex_latitude":"071f4108","is_valid_coordinates":true} 
[2026-08-25 18:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641392640001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16003194173784064,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943162532310906880,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:29] local.INFO: IO Element Parsed {"io_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-25 18:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787661692000,"timestamp_ms":1787661692000,"timestamp_seconds":1787661692,"priority":1,"record_length":96,"hex_timestamp":"000001a038f0ac60"} 
[2026-08-25 18:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-25 18:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641392640001,"66":14102,"101":206,"83":41984,"24":19,"16":16003194173784064,"45":1943162532310906880},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641392640001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:12:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16003194173784064,"km_value":16003194173784.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943162532310906880,"description":"Unknown IO ID 45"} 
[2026-08-25 18:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641392640001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1943162532310906880}} 
[2026-08-25 18:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":164508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:12:29] local.INFO: GPS data processed {"connection_id":164508,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:12:29] local.INFO: Acknowledgment sent {"connection_id":164508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:12:41] local.INFO: TCP Data received {"connection_id":161886,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:12:41] local.INFO: Processing buffer {"connection_id":161886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:12:41] local.INFO: IMEI packet received {"connection_id":161886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":161886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:12:41] local.INFO: TCP Data received {"connection_id":163135,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:12:41] local.INFO: Processing buffer {"connection_id":163135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:12:41] local.INFO: IMEI packet received {"connection_id":163135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":163135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:12:43] local.INFO: TCP Data received {"connection_id":161886,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:12:43] local.INFO: Processing buffer {"connection_id":161886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:12:43] local.INFO: IMEI packet received {"connection_id":161886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":161886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:12:45] local.INFO: TCP Data received {"connection_id":163135,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:12:45] local.INFO: Processing buffer {"connection_id":163135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:12:45] local.INFO: IMEI packet received {"connection_id":163135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":163135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:12:45] local.INFO: TCP Data received {"connection_id":161886,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f0a878012d9e42c0055d65b0000c001f2c..."} 
[2026-08-25 18:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f0a878012d9e42c0055d65b0000c001f2c..."} 
[2026-08-25 18:12:45] local.INFO: Processing buffer {"connection_id":161886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f0a878012d9e42c0055d65b0000c001f2c..."} 
[2026-08-25 18:12:45] local.INFO: Packet analysis {"connection_id":161886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f0"} 
[2026-08-25 18:12:45] local.INFO: Extracted packet for processing {"connection_id":161886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f0"} 
[2026-08-25 18:12:45] local.INFO: GPS Element Parsed {"raw_longitude":765346496,"raw_latitude":90006960,"longitude_deg":76.5346496,"latitude_deg":9.000696,"altitude":12,"angle":31,"satellites":44,"speed":25,"hex_longitude":"2d9e42c0","hex_latitude":"055d65b0","is_valid_coordinates":true} 
[2026-08-25 18:12: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-25 18:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641390080001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123969154347696128,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7048344500027592704,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787661691000,"timestamp_ms":1787661691000,"timestamp_seconds":1787661691,"priority":1,"record_length":96,"hex_timestamp":"000001a038f0a878"} 
[2026-08-25 18:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:12: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":198,"data_length":795,"current_offset":136} 
[2026-08-25 18:12:45] 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-25 18:12: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-25 18:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641390080001,"66":13319,"145":206,"84":7168,"24":25,"16":123969154347696128,"45":-7048344500027592704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-08-25 18:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641390080001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:12:45] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-25 18:12:45] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123969154347696128,"km_value":123969154347696.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7048344500027592704,"description":"Unknown IO ID 45"} 
[2026-08-25 18:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641390080001,"power":13319,"unknown_145":206,"unknown_84":7168,"ignition":25,"odometer":null,"unknown_45":-7048344500027592704}} 
[2026-08-25 18:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":161886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:12:45] local.INFO: GPS data processed {"connection_id":161886,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:12:45] local.INFO: Acknowledgment sent {"connection_id":161886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:12:48] local.INFO: TCP Data received {"connection_id":163135,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:12:48] local.INFO: Processing buffer {"connection_id":163135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:12:48] local.INFO: Packet analysis {"connection_id":163135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:12:48] local.INFO: Extracted packet for processing {"connection_id":163135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641280512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787661553000,"timestamp_ms":1787661553000,"timestamp_seconds":1787661553,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee8d68"} 
[2026-08-25 18:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:12:48] 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-25 18:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:12: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-25 18:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641280512001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641280512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641280512001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":163135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:12:48] local.INFO: GPS data processed {"connection_id":163135,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:12:48] local.INFO: Acknowledgment sent {"connection_id":163135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:13:00] local.INFO: TCP Data received {"connection_id":164508,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f13130012d1aba80071f51600038016525..."} 
[2026-08-25 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f13130012d1aba80071f51600038016525..."} 
[2026-08-25 18:13:00] local.INFO: Processing buffer {"connection_id":164508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f13130012d1aba80071f51600038016525..."} 
[2026-08-25 18:13:00] local.INFO: Packet analysis {"connection_id":164508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f1"} 
[2026-08-25 18:13:00] local.INFO: Extracted packet for processing {"connection_id":164508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f1"} 
[2026-08-25 18:13:00] local.INFO: GPS Element Parsed {"raw_longitude":756726400,"raw_latitude":119492960,"longitude_deg":75.67264,"latitude_deg":11.949296,"altitude":56,"angle":357,"satellites":37,"speed":23,"hex_longitude":"2d1aba80","hex_latitude":"071f5160","is_valid_coordinates":true} 
[2026-08-25 18:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641401088001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16004078937047040,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925992558732455936,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:00] local.INFO: IO Element Parsed {"io_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-25 18:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787661726000,"timestamp_ms":1787661726000,"timestamp_seconds":1787661726,"priority":1,"record_length":96,"hex_timestamp":"000001a038f13130"} 
[2026-08-25 18:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:13:00] 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-25 18:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-25 18:13:00] 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-25 18:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641401088001,"66":14483,"101":206,"83":41984,"24":23,"16":16004078937047040,"45":1925992558732455936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641401088001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:13:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:13:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16004078937047040,"km_value":16004078937047.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925992558732455936,"description":"Unknown IO ID 45"} 
[2026-08-25 18:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641401088001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1925992558732455936}} 
[2026-08-25 18:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":164508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:13:00] local.INFO: GPS data processed {"connection_id":164508,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:13:00] local.INFO: Acknowledgment sent {"connection_id":164508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:13:04] local.INFO: TCP Data received {"connection_id":163136,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:13:04] local.INFO: Processing buffer {"connection_id":163136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:13:04] local.INFO: IMEI packet received {"connection_id":163136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 18:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":163136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:13:16] local.INFO: TCP Data received {"connection_id":161886,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f0f698012d9e5180055d7d88000b001b28..."} 
[2026-08-25 18:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f0f698012d9e5180055d7d88000b001b28..."} 
[2026-08-25 18:13:16] local.INFO: Processing buffer {"connection_id":161886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f0f698012d9e5180055d7d88000b001b28..."} 
[2026-08-25 18:13:16] local.INFO: Packet analysis {"connection_id":161886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f0"} 
[2026-08-25 18:13:16] local.INFO: Extracted packet for processing {"connection_id":161886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f0"} 
[2026-08-25 18:13:16] local.INFO: GPS Element Parsed {"raw_longitude":765350272,"raw_latitude":90013064,"longitude_deg":76.5350272,"latitude_deg":9.0013064,"altitude":11,"angle":27,"satellites":40,"speed":27,"hex_longitude":"2d9e5180","hex_latitude":"055d7d88","is_valid_coordinates":true} 
[2026-08-25 18:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641392896001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123969502240047104,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042855737979719680,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787661711000,"timestamp_ms":1787661711000,"timestamp_seconds":1787661711,"priority":1,"record_length":96,"hex_timestamp":"000001a038f0f698"} 
[2026-08-25 18:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:13: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-25 18:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 18:13:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2650783749,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:16] local.WARNING: Large IO value detected {"io_id":56,"raw_value":4028612609,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:16] local.WARNING: Large IO value detected {"io_id":92,"raw_value":8833810724944947200,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2516123854,"corrected_to":0} 
[2026-08-25 18:13:16] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2550214045,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:16] local.WARNING: Large IO value detected {"io_id":239,"raw_value":-7845269255444234235,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:16] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57867266918601756,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:16] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,145,84,24,241,157,16,109,160,125,45,64,70,12,44,10,66,249,108,94,192,40,63,1,240,138,227,56,92,4,113,205,47,252,248,41,239,52,2,184,5,33,133],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2516123854,"validated":0}]} 
[2026-08-25 18:13:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864725402295795712,"timestamp_seconds":864725402295795.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641392896001,"66":13363,"145":206,"84":7168,"24":27,"16":123969502240047104,"45":-7042855737979719680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-08-25 18:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641392896001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:13:16] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-25 18:13:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123969502240047104,"km_value":123969502240047.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042855737979719680,"description":"Unknown IO ID 45"} 
[2026-08-25 18:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641392896001,"power":13363,"unknown_145":206,"unknown_84":7168,"ignition":27,"odometer":null,"unknown_45":-7042855737979719680}} 
[2026-08-25 18:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":161886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:13:16] local.INFO: GPS data processed {"connection_id":161886,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:13:16] local.INFO: Acknowledgment sent {"connection_id":161886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:13:23] local.INFO: TCP Data received {"connection_id":164509,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:13:23] local.INFO: Processing buffer {"connection_id":164509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:13:23] local.INFO: IMEI packet received {"connection_id":164509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":164509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:13:26] local.INFO: TCP Data received {"connection_id":164509,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:13:26] local.INFO: Processing buffer {"connection_id":164509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:13:26] local.INFO: IMEI packet received {"connection_id":164509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":164509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:13:26] local.INFO: TCP Data received {"connection_id":164509,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:13:26] local.INFO: Processing buffer {"connection_id":164509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:13:26] local.INFO: IMEI packet received {"connection_id":164509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":164509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:13:27] local.INFO: TCP Data received {"connection_id":164509,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:13:27] local.INFO: Processing buffer {"connection_id":164509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:13:27] local.INFO: IMEI packet received {"connection_id":164509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":164509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:13:28] local.INFO: TCP Data received {"connection_id":164509,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f15458012d1aba80071f6a680037000824..."} 
[2026-08-25 18:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f15458012d1aba80071f6a680037000824..."} 
[2026-08-25 18:13:28] local.INFO: Processing buffer {"connection_id":164509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f15458012d1aba80071f6a680037000824..."} 
[2026-08-25 18:13:28] local.INFO: Packet analysis {"connection_id":164509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f1"} 
[2026-08-25 18:13:28] local.INFO: Extracted packet for processing {"connection_id":164509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f1"} 
[2026-08-25 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756726400,"raw_latitude":119499368,"longitude_deg":75.67264,"latitude_deg":11.9499368,"altitude":55,"angle":8,"satellites":36,"speed":18,"hex_longitude":"2d1aba80","hex_latitude":"071f6a68","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641401856001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16004392469659648,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925992558732861440,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787661735000,"timestamp_ms":1787661735000,"timestamp_seconds":1787661735,"priority":1,"record_length":96,"hex_timestamp":"000001a038f15458"} 
[2026-08-25 18: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-25 18:13:28] 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-25 18: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-25 18:13:28] 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-25 18: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-25 18: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-25 18:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641401856001,"66":14233,"101":206,"83":41984,"24":18,"16":16004392469659648,"45":1925992558732861440},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641401856001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:13:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16004392469659648,"km_value":16004392469659.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925992558732861440,"description":"Unknown IO ID 45"} 
[2026-08-25 18:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641401856001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1925992558732861440}} 
[2026-08-25 18:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":164509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:13:28] local.INFO: GPS data processed {"connection_id":164509,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:13:28] local.INFO: Acknowledgment sent {"connection_id":164509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:13:28] local.INFO: TCP Data received {"connection_id":164509,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f15c28012d1abb00071f6d300037001424..."} 
[2026-08-25 18:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f15c28012d1abb00071f6d300037001424..."} 
[2026-08-25 18:13:28] local.INFO: Processing buffer {"connection_id":164509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f15c28012d1abb00071f6d300037001424..."} 
[2026-08-25 18:13:28] local.INFO: Packet analysis {"connection_id":164509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f1"} 
[2026-08-25 18:13:28] local.INFO: Extracted packet for processing {"connection_id":164509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f1"} 
[2026-08-25 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756726528,"raw_latitude":119500080,"longitude_deg":75.6726528,"latitude_deg":11.950008,"altitude":55,"angle":20,"satellites":36,"speed":12,"hex_longitude":"2d1abb00","hex_latitude":"071f6d30","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641404160001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16004426829398016,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925992558734501888,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787661737000,"timestamp_ms":1787661737000,"timestamp_seconds":1787661737,"priority":1,"record_length":96,"hex_timestamp":"000001a038f15c28"} 
[2026-08-25 18: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-25 18:13:28] 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-25 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-25 18:13:28] 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-25 18: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-25 18: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-25 18:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641404160001,"66":14102,"101":206,"83":41984,"24":12,"16":16004426829398016,"45":1925992558734501888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641404160001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:13:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16004426829398016,"km_value":16004426829398.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925992558734501888,"description":"Unknown IO ID 45"} 
[2026-08-25 18:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641404160001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1925992558734501888}} 
[2026-08-25 18:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":164509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:13:29] local.INFO: GPS data processed {"connection_id":164509,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:13:29] local.INFO: Acknowledgment sent {"connection_id":164509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:13:30] local.INFO: TCP Data received {"connection_id":163135,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:13:30] local.INFO: Processing buffer {"connection_id":163135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:13:30] local.INFO: Packet analysis {"connection_id":163135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:13:30] local.INFO: Extracted packet for processing {"connection_id":163135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:13:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641280512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787661553000,"timestamp_ms":1787661553000,"timestamp_seconds":1787661553,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee8d68"} 
[2026-08-25 18:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:13:30] 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-25 18:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641280512001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641280512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:13:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641280512001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":163135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:13:30] local.INFO: GPS data processed {"connection_id":163135,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:13:30] local.INFO: Acknowledgment sent {"connection_id":163135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:13:39] local.INFO: TCP Data received {"connection_id":163137,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:13:39] local.INFO: Processing buffer {"connection_id":163137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:13:39] local.INFO: IMEI packet received {"connection_id":163137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":163137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:13:41] local.INFO: TCP Data received {"connection_id":163137,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:13:41] local.INFO: Processing buffer {"connection_id":163137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:13:41] local.INFO: IMEI packet received {"connection_id":163137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":163137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:13:46] local.INFO: TCP Data received {"connection_id":163137,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:13:46] local.INFO: Processing buffer {"connection_id":163137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:13:46] local.INFO: IMEI packet received {"connection_id":163137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":163137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:13:46] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:13:46] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:13:46] local.INFO: IMEI packet received {"connection_id":161887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":161887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:13:47] local.INFO: TCP Data received {"connection_id":163137,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f23300012d9e9a80055e82c0000f00122a..."} 
[2026-08-25 18:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f23300012d9e9a80055e82c0000f00122a..."} 
[2026-08-25 18:13:47] local.INFO: Processing buffer {"connection_id":163137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f23300012d9e9a80055e82c0000f00122a..."} 
[2026-08-25 18:13:47] local.INFO: Packet analysis {"connection_id":163137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:13:47] local.INFO: Extracted packet for processing {"connection_id":163137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:13:47] local.INFO: GPS Element Parsed {"raw_longitude":765368960,"raw_latitude":90079936,"longitude_deg":76.536896,"latitude_deg":9.0079936,"altitude":15,"angle":18,"satellites":42,"speed":43,"hex_longitude":"2d9e9a80","hex_latitude":"055e82c0","is_valid_coordinates":true} 
[2026-08-25 18:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641416448001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123972890969243648,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7022237695919247360,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787661792000,"timestamp_ms":1787661792000,"timestamp_seconds":1787661792,"priority":1,"record_length":96,"hex_timestamp":"000001a038f23300"} 
[2026-08-25 18:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18: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-25 18:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-25 18:13:47] 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-25 18:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641416448001,"66":13276,"143":206,"84":7168,"24":43,"16":123972890969243648,"45":-7022237695919247360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-08-25 18:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641416448001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:13:47] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 18:13:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123972890969243648,"km_value":123972890969243.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7022237695919247360,"description":"Unknown IO ID 45"} 
[2026-08-25 18:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641416448001,"power":13276,"unknown_143":206,"unknown_84":7168,"ignition":43,"odometer":null,"unknown_45":-7022237695919247360}} 
[2026-08-25 18:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":163137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:13:47] local.INFO: GPS data processed {"connection_id":163137,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:13:47] local.INFO: Acknowledgment sent {"connection_id":163137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:13:49] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:13:49] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:13:49] local.INFO: IMEI packet received {"connection_id":161887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":161887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:13:52] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:13:52] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:13:52] local.INFO: Packet analysis {"connection_id":161887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:13:52] local.INFO: Extracted packet for processing {"connection_id":161887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641280512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787661553000,"timestamp_ms":1787661553000,"timestamp_seconds":1787661553,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee8d68"} 
[2026-08-25 18:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:13:52] 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-25 18:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641280512001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641280512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641280512001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":161887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:13:52] local.INFO: GPS data processed {"connection_id":161887,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:13:52] local.INFO: Acknowledgment sent {"connection_id":161887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:14:00] local.INFO: TCP Data received {"connection_id":164509,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f22748012d1aa300071f99780036012429..."} 
[2026-08-25 18:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f22748012d1aa300071f99780036012429..."} 
[2026-08-25 18:14:00] local.INFO: Processing buffer {"connection_id":164509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f22748012d1aa300071f99780036012429..."} 
[2026-08-25 18:14:00] local.INFO: Packet analysis {"connection_id":164509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:14:00] local.INFO: Extracted packet for processing {"connection_id":164509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756720384,"raw_latitude":119511416,"longitude_deg":75.6720384,"latitude_deg":11.9511416,"altitude":54,"angle":292,"satellites":41,"speed":22,"hex_longitude":"2d1aa300","hex_latitude":"071f9978","is_valid_coordinates":true} 
[2026-08-25 18:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641415424001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16005303002726400,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924725921342183424,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:00] local.INFO: IO Element Parsed {"io_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-25 18:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787661789000,"timestamp_ms":1787661789000,"timestamp_seconds":1787661789,"priority":1,"record_length":96,"hex_timestamp":"000001a038f22748"} 
[2026-08-25 18:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:14:00] 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-25 18:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 18:14:00] 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-25 18:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641415424001,"66":14483,"101":206,"83":41984,"24":22,"16":16005303002726400,"45":1924725921342183424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641415424001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:14:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16005303002726400,"km_value":16005303002726.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924725921342183424,"description":"Unknown IO ID 45"} 
[2026-08-25 18:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641415424001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1924725921342183424}} 
[2026-08-25 18:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":164509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:14:00] local.INFO: GPS data processed {"connection_id":164509,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:14:00] local.INFO: Acknowledgment sent {"connection_id":164509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:14:03] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:14:03] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:14:03] local.INFO: Packet analysis {"connection_id":161887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:14:03] local.INFO: Extracted packet for processing {"connection_id":161887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641280512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787661553000,"timestamp_ms":1787661553000,"timestamp_seconds":1787661553,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee8d68"} 
[2026-08-25 18:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:14: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-25 18:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:14:03] 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-25 18:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641280512001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641280512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641280512001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":161887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:14:03] local.INFO: GPS data processed {"connection_id":161887,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:14:03] local.INFO: Acknowledgment sent {"connection_id":161887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:14:18] local.INFO: TCP Data received {"connection_id":163137,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f25240012d9ea3c0055ea790000f000a29..."} 
[2026-08-25 18:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f25240012d9ea3c0055ea790000f000a29..."} 
[2026-08-25 18:14:18] local.INFO: Processing buffer {"connection_id":163137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f25240012d9ea3c0055ea790000f000a29..."} 
[2026-08-25 18:14:18] local.INFO: Packet analysis {"connection_id":163137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:14:18] local.INFO: Extracted packet for processing {"connection_id":163137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:14:18] local.INFO: GPS Element Parsed {"raw_longitude":765371328,"raw_latitude":90089360,"longitude_deg":76.5371328,"latitude_deg":9.008936,"altitude":15,"angle":10,"satellites":41,"speed":51,"hex_longitude":"2d9ea3c0","hex_latitude":"055ea790","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641418752001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123973363415646208,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7018156308754677760,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787661800000,"timestamp_ms":1787661800000,"timestamp_seconds":1787661800,"priority":1,"record_length":96,"hex_timestamp":"000001a038f25240"} 
[2026-08-25 18: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-25 18:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 18:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641418752001,"66":13493,"143":206,"84":7168,"24":51,"16":123973363415646208,"45":-7018156308754677760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-08-25 18:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641418752001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:14:18] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 18:14:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123973363415646208,"km_value":123973363415646.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7018156308754677760,"description":"Unknown IO ID 45"} 
[2026-08-25 18:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641418752001,"power":13493,"unknown_143":206,"unknown_84":7168,"ignition":51,"odometer":null,"unknown_45":-7018156308754677760}} 
[2026-08-25 18:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":163137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:14:18] local.INFO: GPS data processed {"connection_id":163137,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:14:18] local.INFO: Acknowledgment sent {"connection_id":163137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:14:23] local.INFO: TCP Data received {"connection_id":164510,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:14:23] local.INFO: Processing buffer {"connection_id":164510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:14:23] local.INFO: IMEI packet received {"connection_id":164510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":164510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:14:24] local.INFO: TCP Data received {"connection_id":164510,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:14:24] local.INFO: Processing buffer {"connection_id":164510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:14:24] local.INFO: IMEI packet received {"connection_id":164510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":164510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:14:27] local.INFO: TCP Data received {"connection_id":164510,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:14:27] local.INFO: Processing buffer {"connection_id":164510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:14:27] local.INFO: IMEI packet received {"connection_id":164510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":164510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:14:28] local.INFO: TCP Data received {"connection_id":164510,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f22f18012d1a9f00071f9bb80037013129..."} 
[2026-08-25 18:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f22f18012d1a9f00071f9bb80037013129..."} 
[2026-08-25 18:14:28] local.INFO: Processing buffer {"connection_id":164510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f22f18012d1a9f00071f9bb80037013129..."} 
[2026-08-25 18:14:28] local.INFO: Packet analysis {"connection_id":164510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:14:28] local.INFO: Extracted packet for processing {"connection_id":164510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756719360,"raw_latitude":119511992,"longitude_deg":75.671936,"latitude_deg":11.9511992,"altitude":55,"angle":305,"satellites":41,"speed":23,"hex_longitude":"2d1a9f00","hex_latitude":"071f9bb8","is_valid_coordinates":true} 
[2026-08-25 18:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641417984001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16005358837301248,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919377896784885760,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787661791000,"timestamp_ms":1787661791000,"timestamp_seconds":1787661791,"priority":1,"record_length":96,"hex_timestamp":"000001a038f22f18"} 
[2026-08-25 18:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:14:28] 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-25 18:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-25 18:14:28] 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-25 18:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641417984001,"66":14396,"101":206,"83":41984,"24":23,"16":16005358837301248,"45":1919377896784885760},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641417984001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:14:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16005358837301248,"km_value":16005358837301.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919377896784885760,"description":"Unknown IO ID 45"} 
[2026-08-25 18:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641417984001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1919377896784885760}} 
[2026-08-25 18:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":164510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:14:28] local.INFO: GPS data processed {"connection_id":164510,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:14:28] local.INFO: Acknowledgment sent {"connection_id":164510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:14:39] local.INFO: TCP Data received {"connection_id":163138,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:14:39] local.INFO: Processing buffer {"connection_id":163138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:14:39] local.INFO: IMEI packet received {"connection_id":163138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":163138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:14:41] local.INFO: TCP Data received {"connection_id":163139,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:14:41] local.INFO: Processing buffer {"connection_id":163139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:14:41] local.INFO: IMEI packet received {"connection_id":163139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":163139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:14:41] local.INFO: TCP Data received {"connection_id":163139,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:14:41] local.INFO: Processing buffer {"connection_id":163139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:14:41] local.INFO: IMEI packet received {"connection_id":163139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":163139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:14:44] local.INFO: TCP Data received {"connection_id":163138,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:14:44] local.INFO: Processing buffer {"connection_id":163138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:14:44] local.INFO: IMEI packet received {"connection_id":163138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":163138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:14:45] local.INFO: TCP Data received {"connection_id":163138,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:14:45] local.INFO: Processing buffer {"connection_id":163138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ee8d68012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:14:45] local.INFO: Packet analysis {"connection_id":163138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:14:45] local.INFO: Extracted packet for processing {"connection_id":163138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ee"} 
[2026-08-25 18:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641280512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787661553000,"timestamp_ms":1787661553000,"timestamp_seconds":1787661553,"priority":1,"record_length":96,"hex_timestamp":"000001a038ee8d68"} 
[2026-08-25 18: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-25 18:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641280512001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641280512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641280512001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":163138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:14:45] local.INFO: GPS data processed {"connection_id":163138,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:14:45] local.INFO: Acknowledgment sent {"connection_id":163138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:14:46] local.INFO: TCP Data received {"connection_id":163139,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:14:46] local.INFO: Processing buffer {"connection_id":163139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:14:46] local.INFO: IMEI packet received {"connection_id":163139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":163139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:14:46] local.INFO: TCP Data received {"connection_id":163139,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f269b0012d9ea600055ec2e0000e016728..."} 
[2026-08-25 18:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f269b0012d9ea600055ec2e0000e016728..."} 
[2026-08-25 18:14:46] local.INFO: Processing buffer {"connection_id":163139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f269b0012d9ea600055ec2e0000e016728..."} 
[2026-08-25 18:14:46] local.INFO: Packet analysis {"connection_id":163139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:14:46] local.INFO: Extracted packet for processing {"connection_id":163139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:14:46] local.INFO: GPS Element Parsed {"raw_longitude":765371904,"raw_latitude":90096352,"longitude_deg":76.5371904,"latitude_deg":9.0096352,"altitude":14,"angle":359,"satellites":40,"speed":37,"hex_longitude":"2d9ea600","hex_latitude":"055ec2e0","is_valid_coordinates":true} 
[2026-08-25 18:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641420800001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123973702718062592,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7015552665217691648,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787661806000,"timestamp_ms":1787661806000,"timestamp_seconds":1787661806,"priority":1,"record_length":96,"hex_timestamp":"000001a038f269b0"} 
[2026-08-25 18:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-25 18:14:46] 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-25 18:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641420800001,"66":13298,"143":206,"84":7168,"24":37,"16":123973702718062592,"45":-7015552665217691648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-08-25 18:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641420800001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:14:46] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 18:14:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123973702718062592,"km_value":123973702718062.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7015552665217691648,"description":"Unknown IO ID 45"} 
[2026-08-25 18:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641420800001,"power":13298,"unknown_143":206,"unknown_84":7168,"ignition":37,"odometer":null,"unknown_45":-7015552665217691648}} 
[2026-08-25 18:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":163139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:14:46] local.INFO: GPS data processed {"connection_id":163139,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:14:46] local.INFO: Acknowledgment sent {"connection_id":163139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:14:59] local.INFO: TCP Data received {"connection_id":164510,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f330e8012d19e700071ffeb8002f014129..."} 
[2026-08-25 18:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f330e8012d19e700071ffeb8002f014129..."} 
[2026-08-25 18:14:59] local.INFO: Processing buffer {"connection_id":164510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f330e8012d19e700071ffeb8002f014129..."} 
[2026-08-25 18:14:59] local.INFO: Packet analysis {"connection_id":164510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:14:59] local.INFO: Extracted packet for processing {"connection_id":164510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756672256,"raw_latitude":119537336,"longitude_deg":75.6672256,"latitude_deg":11.9537336,"altitude":47,"angle":321,"satellites":41,"speed":17,"hex_longitude":"2d19e700","hex_latitude":"071ffeb8","is_valid_coordinates":true} 
[2026-08-25 18:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641435136001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008038896893952,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866812444890724352,"note":"Value kept but may cause issues"} 
[2026-08-25 18:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787661857000,"timestamp_ms":1787661857000,"timestamp_seconds":1787661857,"priority":1,"record_length":96,"hex_timestamp":"000001a038f330e8"} 
[2026-08-25 18: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-25 18:14:59] 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-25 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:14:59] 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-25 18: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-25 18: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-25 18:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641435136001,"66":13243,"101":206,"83":41984,"24":17,"16":16008038896893952,"45":1866812444890724352},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641435136001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:14:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:14:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008038896893952,"km_value":16008038896893.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866812444890724352,"description":"Unknown IO ID 45"} 
[2026-08-25 18:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641435136001,"power":13243,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1866812444890724352}} 
[2026-08-25 18:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":164510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:14:59] local.INFO: GPS data processed {"connection_id":164510,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:14:59] local.INFO: Acknowledgment sent {"connection_id":164510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:15:16] local.INFO: TCP Data received {"connection_id":163138,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:15:16] local.INFO: Processing buffer {"connection_id":163138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:15:16] local.INFO: Packet analysis {"connection_id":163138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:15:16] local.INFO: Extracted packet for processing {"connection_id":163138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641357568001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787661854000,"timestamp_ms":1787661854000,"timestamp_seconds":1787661854,"priority":1,"record_length":96,"hex_timestamp":"000001a038f32530"} 
[2026-08-25 18:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641357568001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641357568001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641357568001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":163138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:15:16] local.INFO: GPS data processed {"connection_id":163138,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:15:16] local.INFO: Acknowledgment sent {"connection_id":163138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:15:18] local.INFO: TCP Data received {"connection_id":163139,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f27d38012d9ea500055ed008000b015b29..."} 
[2026-08-25 18:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f27d38012d9ea500055ed008000b015b29..."} 
[2026-08-25 18:15:18] local.INFO: Processing buffer {"connection_id":163139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f27d38012d9ea500055ed008000b015b29..."} 
[2026-08-25 18:15:18] local.INFO: Packet analysis {"connection_id":163139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:15:18] local.INFO: Extracted packet for processing {"connection_id":163139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:15:18] local.INFO: GPS Element Parsed {"raw_longitude":765371648,"raw_latitude":90099720,"longitude_deg":76.5371648,"latitude_deg":9.009972,"altitude":11,"angle":347,"satellites":41,"speed":19,"hex_longitude":"2d9ea500","hex_latitude":"055ed008","is_valid_coordinates":true} 
[2026-08-25 18:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641422336001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123973865926819840,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014919346518302720,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787661811000,"timestamp_ms":1787661811000,"timestamp_seconds":1787661811,"priority":1,"record_length":96,"hex_timestamp":"000001a038f27d38"} 
[2026-08-25 18:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-25 18:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641422336001,"66":13374,"143":206,"84":7168,"24":19,"16":123973865926819840,"45":-7014919346518302720},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-08-25 18:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641422336001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:15:18] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 18:15:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123973865926819840,"km_value":123973865926819.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014919346518302720,"description":"Unknown IO ID 45"} 
[2026-08-25 18:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641422336001,"power":13374,"unknown_143":206,"unknown_84":7168,"ignition":19,"odometer":null,"unknown_45":-7014919346518302720}} 
[2026-08-25 18:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":163139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:15:18] local.INFO: GPS data processed {"connection_id":163139,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:15:18] local.INFO: Acknowledgment sent {"connection_id":163139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:15:23] local.INFO: TCP Data received {"connection_id":164511,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:15:23] local.INFO: Processing buffer {"connection_id":164511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:15:23] local.INFO: IMEI packet received {"connection_id":164511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":164511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:15:26] local.INFO: TCP Data received {"connection_id":164511,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:15:26] local.INFO: Processing buffer {"connection_id":164511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:15:26] local.INFO: IMEI packet received {"connection_id":164511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":164511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:15:28] local.INFO: TCP Data received {"connection_id":164511,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:15:28] local.INFO: Processing buffer {"connection_id":164511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:15:28] local.INFO: IMEI packet received {"connection_id":164511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":164511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:15:29] local.INFO: TCP Data received {"connection_id":164511,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f334d0012d19e64007200008002f014c29..."} 
[2026-08-25 18:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f334d0012d19e64007200008002f014c29..."} 
[2026-08-25 18:15:29] local.INFO: Processing buffer {"connection_id":164511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f334d0012d19e64007200008002f014c29..."} 
[2026-08-25 18:15:29] local.INFO: Packet analysis {"connection_id":164511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:15:29] local.INFO: Extracted packet for processing {"connection_id":164511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756672064,"raw_latitude":119537672,"longitude_deg":75.6672064,"latitude_deg":11.9537672,"altitude":47,"angle":332,"satellites":41,"speed":13,"hex_longitude":"2d19e640","hex_latitude":"07200008","is_valid_coordinates":true} 
[2026-08-25 18:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641435392001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008060371730432,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866460601169917952,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:29] local.INFO: IO Element Parsed {"io_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-25 18:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787661858000,"timestamp_ms":1787661858000,"timestamp_seconds":1787661858,"priority":1,"record_length":96,"hex_timestamp":"000001a038f334d0"} 
[2026-08-25 18:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:15:29] 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-25 18:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641435392001,"66":12722,"101":206,"83":41984,"24":13,"16":16008060371730432,"45":1866460601169917952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641435392001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:15:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:15:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008060371730432,"km_value":16008060371730.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866460601169917952,"description":"Unknown IO ID 45"} 
[2026-08-25 18:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641435392001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1866460601169917952}} 
[2026-08-25 18:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":164511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:15:29] local.INFO: GPS data processed {"connection_id":164511,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:15:29] local.INFO: Acknowledgment sent {"connection_id":164511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:15:39] local.INFO: TCP Data received {"connection_id":162140,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:15:39] local.INFO: Processing buffer {"connection_id":162140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:15:39] local.INFO: IMEI packet received {"connection_id":162140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":162140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:15:40] local.INFO: TCP Data received {"connection_id":163140,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:15:40] local.INFO: Processing buffer {"connection_id":163140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:15:40] local.INFO: IMEI packet received {"connection_id":163140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":163140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:15:44] local.INFO: TCP Data received {"connection_id":162140,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:15:44] local.INFO: Processing buffer {"connection_id":162140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:15:44] local.INFO: IMEI packet received {"connection_id":162140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":162140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:15:45] local.INFO: TCP Data received {"connection_id":162140,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:15:45] local.INFO: Processing buffer {"connection_id":162140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:15:45] local.INFO: Packet analysis {"connection_id":162140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:15:45] local.INFO: Extracted packet for processing {"connection_id":162140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641357568001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787661854000,"timestamp_ms":1787661854000,"timestamp_seconds":1787661854,"priority":1,"record_length":96,"hex_timestamp":"000001a038f32530"} 
[2026-08-25 18:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:15:45] 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-25 18:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641357568001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641357568001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641357568001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":162140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:15:45] local.INFO: GPS data processed {"connection_id":162140,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:15:45] local.INFO: Acknowledgment sent {"connection_id":162140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:15:46] local.INFO: TCP Data received {"connection_id":163140,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:15:46] local.INFO: Processing buffer {"connection_id":163140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:15:46] local.INFO: IMEI packet received {"connection_id":163140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":163140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:15:47] local.INFO: TCP Data received {"connection_id":163140,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f28508012d9ea3c0055ed3880009014d2a..."} 
[2026-08-25 18:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f28508012d9ea3c0055ed3880009014d2a..."} 
[2026-08-25 18:15:47] local.INFO: Processing buffer {"connection_id":163140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f28508012d9ea3c0055ed3880009014d2a..."} 
[2026-08-25 18:15:47] local.INFO: Packet analysis {"connection_id":163140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:15:47] local.INFO: Extracted packet for processing {"connection_id":163140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f2"} 
[2026-08-25 18:15:47] local.INFO: GPS Element Parsed {"raw_longitude":765371328,"raw_latitude":90100616,"longitude_deg":76.5371328,"latitude_deg":9.0100616,"altitude":9,"angle":333,"satellites":42,"speed":20,"hex_longitude":"2d9ea3c0","hex_latitude":"055ed388","is_valid_coordinates":true} 
[2026-08-25 18:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641423616001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123973913171460096,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7015200821494151168,"note":"Value kept but may cause issues"} 
[2026-08-25 18:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787661813000,"timestamp_ms":1787661813000,"timestamp_seconds":1787661813,"priority":1,"record_length":96,"hex_timestamp":"000001a038f28508"} 
[2026-08-25 18:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:15: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-25 18:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 18:15:47] 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-25 18:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641423616001,"66":12906,"143":206,"84":7168,"24":20,"16":123973913171460096,"45":-7015200821494151168},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-08-25 18:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641423616001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:15:47] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 18:15:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123973913171460096,"km_value":123973913171460.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7015200821494151168,"description":"Unknown IO ID 45"} 
[2026-08-25 18:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641423616001,"power":12906,"unknown_143":206,"unknown_84":7168,"ignition":20,"odometer":null,"unknown_45":-7015200821494151168}} 
[2026-08-25 18:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":163140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:15:47] local.INFO: GPS data processed {"connection_id":163140,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:15:47] local.INFO: Acknowledgment sent {"connection_id":163140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:16:01] local.INFO: TCP Data received {"connection_id":164511,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f338b8012d19e600072001080030015828..."} 
[2026-08-25 18:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f338b8012d19e600072001080030015828..."} 
[2026-08-25 18:16:01] local.INFO: Processing buffer {"connection_id":164511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f338b8012d19e600072001080030015828..."} 
[2026-08-25 18:16:01] local.INFO: Packet analysis {"connection_id":164511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:16:01] local.INFO: Extracted packet for processing {"connection_id":164511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:16:01] local.INFO: GPS Element Parsed {"raw_longitude":756672000,"raw_latitude":119537928,"longitude_deg":75.6672,"latitude_deg":11.9537928,"altitude":48,"angle":344,"satellites":40,"speed":9,"hex_longitude":"2d19e600","hex_latitude":"07200108","is_valid_coordinates":true} 
[2026-08-25 18:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641435648001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008073256632320,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866249494937470976,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787661859000,"timestamp_ms":1787661859000,"timestamp_seconds":1787661859,"priority":1,"record_length":96,"hex_timestamp":"000001a038f338b8"} 
[2026-08-25 18:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 18:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":164511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":164511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":164511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641435648001,"66":12722,"101":206,"83":41984,"24":9,"16":16008073256632320,"45":1866249494937470976},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641435648001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:16:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008073256632320,"km_value":16008073256632.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866249494937470976,"description":"Unknown IO ID 45"} 
[2026-08-25 18:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641435648001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1866249494937470976}} 
[2026-08-25 18:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":164511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:16:01] local.INFO: GPS data processed {"connection_id":164511,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:16:01] local.INFO: Acknowledgment sent {"connection_id":164511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:16:17] local.INFO: TCP Data received {"connection_id":162140,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:16:17] local.INFO: Processing buffer {"connection_id":162140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:16:17] local.INFO: Packet analysis {"connection_id":162140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:16:17] local.INFO: Extracted packet for processing {"connection_id":162140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641357568001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787661854000,"timestamp_ms":1787661854000,"timestamp_seconds":1787661854,"priority":1,"record_length":96,"hex_timestamp":"000001a038f32530"} 
[2026-08-25 18:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641357568001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641357568001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641357568001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":162140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:16:17] local.INFO: GPS data processed {"connection_id":162140,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:16:17] local.INFO: Acknowledgment sent {"connection_id":162140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:16:18] local.INFO: TCP Data received {"connection_id":163140,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f4abd0012d9ebb80056023700011001f27..."} 
[2026-08-25 18:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f4abd0012d9ebb80056023700011001f27..."} 
[2026-08-25 18:16:18] local.INFO: Processing buffer {"connection_id":163140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f4abd0012d9ebb80056023700011001f27..."} 
[2026-08-25 18:16:18] local.INFO: Packet analysis {"connection_id":163140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f4"} 
[2026-08-25 18:16:18] local.INFO: Extracted packet for processing {"connection_id":163140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f4"} 
[2026-08-25 18:16:18] local.INFO: GPS Element Parsed {"raw_longitude":765377408,"raw_latitude":90186608,"longitude_deg":76.5377408,"latitude_deg":9.0186608,"altitude":17,"angle":31,"satellites":39,"speed":44,"hex_longitude":"2d9ebb80","hex_latitude":"05602370","is_valid_coordinates":true} 
[2026-08-25 18:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641458176001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123978306923003904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7013934184078829568,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787661954000,"timestamp_ms":1787661954000,"timestamp_seconds":1787661954,"priority":1,"record_length":96,"hex_timestamp":"000001a038f4abd0"} 
[2026-08-25 18:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 18:16:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:18] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57866747227558940,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:18] local.WARNING: Large IO value detected {"io_id":115,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":4096452609,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:18] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4330211097573927168,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2508193998,"corrected_to":0} 
[2026-08-25 18:16:18] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2818649502,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:18] local.WARNING: Large IO value detected {"io_id":124,"raw_value":3221577592,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:18] local.WARNING: Large IO value detected {"io_id":243,"raw_value":-3945151978131914747,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,176,84,24,241,157,16,117,160,109,45,224,38,10,66,116,74,189,15,40,42,64,1,240,139,227,115,56,95,4,113,205,11,124,239,52,128,2,184,5,14,37,243],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2508193998,"validated":0}]} 
[2026-08-25 18:16:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225005650135744512,"timestamp_seconds":1225005650135744.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641458176001,"66":13243,"127":206,"84":7168,"24":44,"16":123978306923003904,"45":-7013934184078829568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,84,24,16,45]} 
[2026-08-25 18:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641458176001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:16:18] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-25 18:16:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123978306923003904,"km_value":123978306923003.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7013934184078829568,"description":"Unknown IO ID 45"} 
[2026-08-25 18:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641458176001,"power":13243,"unknown_127":206,"unknown_84":7168,"ignition":44,"odometer":null,"unknown_45":-7013934184078829568}} 
[2026-08-25 18:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":163140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:16:18] local.INFO: GPS data processed {"connection_id":163140,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:16:18] local.INFO: Acknowledgment sent {"connection_id":163140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:16:28] local.INFO: TCP Data received {"connection_id":162141,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:16:28] local.INFO: Processing buffer {"connection_id":162141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:16:28] local.INFO: IMEI packet received {"connection_id":162141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":162141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:16:29] local.INFO: TCP Data received {"connection_id":162141,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:16:29] local.INFO: Processing buffer {"connection_id":162141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:16:29] local.INFO: IMEI packet received {"connection_id":162141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":162141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:16:33] local.INFO: TCP Data received {"connection_id":162141,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:16:33] local.INFO: Processing buffer {"connection_id":162141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:16:33] local.INFO: IMEI packet received {"connection_id":162141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":162141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:16:34] local.INFO: TCP Data received {"connection_id":162141,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f34088012d19e600072002700030016729..."} 
[2026-08-25 18:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f34088012d19e600072002700030016729..."} 
[2026-08-25 18:16:34] local.INFO: Processing buffer {"connection_id":162141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f34088012d19e600072002700030016729..."} 
[2026-08-25 18:16:34] local.INFO: Packet analysis {"connection_id":162141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:16:34] local.INFO: Extracted packet for processing {"connection_id":162141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756672000,"raw_latitude":119538288,"longitude_deg":75.6672,"latitude_deg":11.9538288,"altitude":48,"angle":359,"satellites":41,"speed":5,"hex_longitude":"2d19e600","hex_latitude":"07200270","is_valid_coordinates":true} 
[2026-08-25 18:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641435904001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008090436501504,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866179126193358848,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787661861000,"timestamp_ms":1787661861000,"timestamp_seconds":1787661861,"priority":1,"record_length":96,"hex_timestamp":"000001a038f34088"} 
[2026-08-25 18:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:16:34] 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-25 18:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 18:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641435904001,"66":13167,"101":206,"83":41984,"24":5,"16":16008090436501504,"45":1866179126193358848},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641435904001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:16:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008090436501504,"km_value":16008090436501.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866179126193358848,"description":"Unknown IO ID 45"} 
[2026-08-25 18:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641435904001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1866179126193358848}} 
[2026-08-25 18:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":162141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:16:34] local.INFO: GPS data processed {"connection_id":162141,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:16:34] local.INFO: Acknowledgment sent {"connection_id":162141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:16:38] local.INFO: TCP Data received {"connection_id":162141,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f35410012d19e500072004d00031014628..."} 
[2026-08-25 18:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f35410012d19e500072004d00031014628..."} 
[2026-08-25 18:16:38] local.INFO: Processing buffer {"connection_id":162141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f35410012d19e500072004d00031014628..."} 
[2026-08-25 18:16:38] local.INFO: Packet analysis {"connection_id":162141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:16:38] local.INFO: Extracted packet for processing {"connection_id":162141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756671744,"raw_latitude":119538896,"longitude_deg":75.6671744,"latitude_deg":11.9538896,"altitude":49,"angle":326,"satellites":40,"speed":5,"hex_longitude":"2d19e500","hex_latitude":"072004d0","is_valid_coordinates":true} 
[2026-08-25 18:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641436416001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008124796239872,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866179126193451008,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16: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-25 18:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787661866000,"timestamp_ms":1787661866000,"timestamp_seconds":1787661866,"priority":1,"record_length":96,"hex_timestamp":"000001a038f35410"} 
[2026-08-25 18:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:16: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-25 18:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-25 18:16:38] 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-25 18:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641436416001,"66":13222,"101":206,"83":41984,"24":5,"16":16008124796239872,"45":1866179126193451008},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641436416001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:16:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008124796239872,"km_value":16008124796239.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866179126193451008,"description":"Unknown IO ID 45"} 
[2026-08-25 18:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641436416001,"power":13222,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1866179126193451008}} 
[2026-08-25 18:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":162141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:16:38] local.INFO: GPS data processed {"connection_id":162141,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:16:38] local.INFO: Acknowledgment sent {"connection_id":162141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:16:39] local.INFO: TCP Data received {"connection_id":163141,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:16:39] local.INFO: Processing buffer {"connection_id":163141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:16:39] local.INFO: IMEI packet received {"connection_id":163141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":163141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:16:43] local.INFO: TCP Data received {"connection_id":164513,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:16:43] local.INFO: Processing buffer {"connection_id":164513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:16:43] local.INFO: IMEI packet received {"connection_id":164513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":164513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:16:44] local.INFO: TCP Data received {"connection_id":163141,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:16:44] local.INFO: Processing buffer {"connection_id":163141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:16:44] local.INFO: IMEI packet received {"connection_id":163141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":163141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:16:45] local.INFO: TCP Data received {"connection_id":163141,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:16:45] local.INFO: Processing buffer {"connection_id":163141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:16:45] local.INFO: Packet analysis {"connection_id":163141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:16:45] local.INFO: Extracted packet for processing {"connection_id":163141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641357568001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787661854000,"timestamp_ms":1787661854000,"timestamp_seconds":1787661854,"priority":1,"record_length":96,"hex_timestamp":"000001a038f32530"} 
[2026-08-25 18:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641357568001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641357568001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641357568001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":163141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:16:45] local.INFO: GPS data processed {"connection_id":163141,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:16:45] local.INFO: Acknowledgment sent {"connection_id":163141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:16:45] local.INFO: TCP Data received {"connection_id":164513,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:16:45] local.INFO: Processing buffer {"connection_id":164513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:16:45] local.INFO: IMEI packet received {"connection_id":164513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":164513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:16:51] local.INFO: TCP Data received {"connection_id":164513,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:16:51] local.INFO: Processing buffer {"connection_id":164513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:16:51] local.INFO: IMEI packet received {"connection_id":164513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":164513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:16:51] local.INFO: TCP Data received {"connection_id":164513,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f4cb10012d9ed18005603f180011002a26..."} 
[2026-08-25 18:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f4cb10012d9ed18005603f180011002a26..."} 
[2026-08-25 18:16:51] local.INFO: Processing buffer {"connection_id":164513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f4cb10012d9ed18005603f180011002a26..."} 
[2026-08-25 18:16:51] local.INFO: Packet analysis {"connection_id":164513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f4"} 
[2026-08-25 18:16:51] local.INFO: Extracted packet for processing {"connection_id":164513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f4"} 
[2026-08-25 18:16:51] local.INFO: GPS Element Parsed {"raw_longitude":765383040,"raw_latitude":90193688,"longitude_deg":76.538304,"latitude_deg":9.0193688,"altitude":17,"angle":42,"satellites":38,"speed":46,"hex_longitude":"2d9ed180","hex_latitude":"05603f18","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641460224001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123978745009668096,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7008867634495918080,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787661962000,"timestamp_ms":1787661962000,"timestamp_seconds":1787661962,"priority":1,"record_length":96,"hex_timestamp":"000001a038f4cb10"} 
[2026-08-25 18: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-25 18:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:16:51] 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-25 18: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-25 18: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-25 18:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641460224001,"66":13602,"127":206,"84":7168,"24":46,"16":123978745009668096,"45":-7008867634495918080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,84,24,16,45]} 
[2026-08-25 18:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641460224001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:16:51] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-25 18:16:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123978745009668096,"km_value":123978745009668.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7008867634495918080,"description":"Unknown IO ID 45"} 
[2026-08-25 18:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641460224001,"power":13602,"unknown_127":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-7008867634495918080}} 
[2026-08-25 18:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":164513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:16:51] local.INFO: GPS data processed {"connection_id":164513,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:16:51] local.INFO: Acknowledgment sent {"connection_id":164513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:16:56] local.INFO: TCP Data received {"connection_id":164513,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f4ee38012d9eeb40056059d0000f002b27..."} 
[2026-08-25 18:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f4ee38012d9eeb40056059d0000f002b27..."} 
[2026-08-25 18:16:56] local.INFO: Processing buffer {"connection_id":164513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f4ee38012d9eeb40056059d0000f002b27..."} 
[2026-08-25 18:16:56] local.INFO: Packet analysis {"connection_id":164513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f4"} 
[2026-08-25 18:16:56] local.INFO: Extracted packet for processing {"connection_id":164513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f4"} 
[2026-08-25 18:16:56] local.INFO: GPS Element Parsed {"raw_longitude":765389632,"raw_latitude":90200528,"longitude_deg":76.5389632,"latitude_deg":9.0200528,"altitude":15,"angle":43,"satellites":39,"speed":40,"hex_longitude":"2d9eeb40","hex_latitude":"056059d0","is_valid_coordinates":true} 
[2026-08-25 18:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641462272001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123979204571168768,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7002675185006471168,"note":"Value kept but may cause issues"} 
[2026-08-25 18:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787661971000,"timestamp_ms":1787661971000,"timestamp_seconds":1787661971,"priority":1,"record_length":96,"hex_timestamp":"000001a038f4ee38"} 
[2026-08-25 18:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 18:16:56] 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-25 18:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641462272001,"66":13406,"127":206,"84":7168,"24":40,"16":123979204571168768,"45":-7002675185006471168},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,84,24,16,45]} 
[2026-08-25 18:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641462272001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:16:56] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-25 18:16:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123979204571168768,"km_value":123979204571168.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7002675185006471168,"description":"Unknown IO ID 45"} 
[2026-08-25 18:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641462272001,"power":13406,"unknown_127":206,"unknown_84":7168,"ignition":40,"odometer":null,"unknown_45":-7002675185006471168}} 
[2026-08-25 18:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":164513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:16:56] local.INFO: GPS data processed {"connection_id":164513,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:16:56] local.INFO: Acknowledgment sent {"connection_id":164513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:17:16] local.INFO: TCP Data received {"connection_id":163141,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:17:16] local.INFO: Processing buffer {"connection_id":163141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:17:16] local.INFO: Packet analysis {"connection_id":163141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:17:16] local.INFO: Extracted packet for processing {"connection_id":163141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641357568001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787661854000,"timestamp_ms":1787661854000,"timestamp_seconds":1787661854,"priority":1,"record_length":96,"hex_timestamp":"000001a038f32530"} 
[2026-08-25 18:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641357568001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641357568001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641357568001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":163141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:17:16] local.INFO: GPS data processed {"connection_id":163141,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:17:16] local.INFO: Acknowledgment sent {"connection_id":163141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:17:23] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:17:23] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:17:23] local.INFO: IMEI packet received {"connection_id":161888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":161888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:17:28] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:17:28] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:17:28] local.INFO: IMEI packet received {"connection_id":161888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":161888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:17:29] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f3a618012d19e480072005f00032014627..."} 
[2026-08-25 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f3a618012d19e480072005f00032014627..."} 
[2026-08-25 18:17:29] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f3a618012d19e480072005f00032014627..."} 
[2026-08-25 18:17:29] local.INFO: Packet analysis {"connection_id":161888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:17:29] local.INFO: Extracted packet for processing {"connection_id":161888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":756671616,"raw_latitude":119539184,"longitude_deg":75.6671616,"latitude_deg":11.9539184,"altitude":50,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d19e480","hex_latitude":"072005f0","is_valid_coordinates":true} 
[2026-08-25 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641437696001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008141976109056,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865897651216896000,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:29] local.INFO: IO Element Parsed {"io_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-25 18:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787661887000,"timestamp_ms":1787661887000,"timestamp_seconds":1787661887,"priority":1,"record_length":96,"hex_timestamp":"000001a038f3a618"} 
[2026-08-25 18:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 18:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641437696001,"66":13135,"101":206,"83":41984,"24":0,"16":16008141976109056,"45":1865897651216896000},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641437696001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:17:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008141976109056,"km_value":16008141976109.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865897651216896000,"description":"Unknown IO ID 45"} 
[2026-08-25 18:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641437696001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865897651216896000}} 
[2026-08-25 18:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":161888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:17:29] local.INFO: GPS data processed {"connection_id":161888,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:17:29] local.INFO: Acknowledgment sent {"connection_id":161888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:17:32] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f3f820012d19e480072005f00032014625..."} 
[2026-08-25 18:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f3f820012d19e480072005f00032014625..."} 
[2026-08-25 18:17:32] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f3f820012d19e480072005f00032014625..."} 
[2026-08-25 18:17:32] local.INFO: Packet analysis {"connection_id":161888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:17:32] local.INFO: Extracted packet for processing {"connection_id":161888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756671616,"raw_latitude":119539184,"longitude_deg":75.6671616,"latitude_deg":11.9539184,"altitude":50,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d19e480","hex_latitude":"072005f0","is_valid_coordinates":true} 
[2026-08-25 18:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641443072001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008141976109056,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865756913728614400,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:32] local.INFO: IO Element Parsed {"io_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-25 18:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787661908000,"timestamp_ms":1787661908000,"timestamp_seconds":1787661908,"priority":1,"record_length":96,"hex_timestamp":"000001a038f3f820"} 
[2026-08-25 18:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:17:32] 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-25 18:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 18:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641443072001,"66":12504,"101":206,"83":41984,"24":0,"16":16008141976109056,"45":1865756913728614400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641443072001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:17:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008141976109056,"km_value":16008141976109.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865756913728614400,"description":"Unknown IO ID 45"} 
[2026-08-25 18:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641443072001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865756913728614400}} 
[2026-08-25 18:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":161888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:17:33] local.INFO: GPS data processed {"connection_id":161888,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:17:33] local.INFO: Acknowledgment sent {"connection_id":161888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:17:39] local.INFO: TCP Data received {"connection_id":162143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:17:39] local.INFO: Processing buffer {"connection_id":162143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:17:39] local.INFO: IMEI packet received {"connection_id":162143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":162143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:17:41] local.INFO: TCP Data received {"connection_id":162142,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:17:41] local.INFO: Processing buffer {"connection_id":162142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:17:41] local.INFO: IMEI packet received {"connection_id":162142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":162142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:17:41] local.INFO: TCP Data received {"connection_id":162142,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:17:41] local.INFO: Processing buffer {"connection_id":162142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:17:41] local.INFO: IMEI packet received {"connection_id":162142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":162142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:17:44] local.INFO: TCP Data received {"connection_id":162143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:17:44] local.INFO: Processing buffer {"connection_id":162143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:17:44] local.INFO: IMEI packet received {"connection_id":162143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":162143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:17:45] local.INFO: TCP Data received {"connection_id":162143,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:17:45] local.INFO: Processing buffer {"connection_id":162143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:17:45] local.INFO: Packet analysis {"connection_id":162143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:17:45] local.INFO: Extracted packet for processing {"connection_id":162143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641357568001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787661854000,"timestamp_ms":1787661854000,"timestamp_seconds":1787661854,"priority":1,"record_length":96,"hex_timestamp":"000001a038f32530"} 
[2026-08-25 18:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641357568001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641357568001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641357568001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":162143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:17:45] local.INFO: GPS data processed {"connection_id":162143,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:17:45] local.INFO: Acknowledgment sent {"connection_id":162143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:17:52] local.INFO: TCP Data received {"connection_id":162142,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:17:52] local.INFO: Processing buffer {"connection_id":162142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:17:52] local.INFO: IMEI packet received {"connection_id":162142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":162142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:17:54] local.INFO: TCP Data received {"connection_id":162142,"ip":"42.109.136.7","data_length":1340,"data_hex":"000000000000030f8e0a000001a038f51548012d9f044005607390000f002c27..."} 
[2026-08-25 18:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162142,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a038f51548012d9f044005607390000f002c27..."} 
[2026-08-25 18:17:54] local.INFO: Processing buffer {"connection_id":162142,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a038f51548012d9f044005607390000f002c27..."} 
[2026-08-25 18:17:54] local.INFO: Packet analysis {"connection_id":162142,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:17:54] local.INFO: Extracted packet for processing {"connection_id":162142,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:17:54] local.INFO: GPS Element Parsed {"raw_longitude":765396032,"raw_latitude":90207120,"longitude_deg":76.5396032,"latitude_deg":9.020712,"altitude":15,"angle":44,"satellites":39,"speed":32,"hex_longitude":"2d9f0440","hex_latitude":"05607390","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641464576001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123979646952800256,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6995427204354420736,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787661981000,"timestamp_ms":1787661981000,"timestamp_seconds":1787661981,"priority":1,"record_length":96,"hex_timestamp":"000001a038f51548"} 
[2026-08-25 18: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-25 18:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 18:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641464576001,"66":13406,"127":206,"84":7168,"24":32,"16":123979646952800256,"45":-6995427204354420736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,84,24,16,45]} 
[2026-08-25 18:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641464576001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:17:54] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-25 18:17:54] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123979646952800256,"km_value":123979646952800.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6995427204354420736,"description":"Unknown IO ID 45"} 
[2026-08-25 18:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641464576001,"power":13406,"unknown_127":206,"unknown_84":7168,"ignition":32,"odometer":null,"unknown_45":-6995427204354420736}} 
[2026-08-25 18:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":162142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:17:54] local.INFO: GPS data processed {"connection_id":162142,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:17:54] local.INFO: Acknowledgment sent {"connection_id":162142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:17:54] local.INFO: Packet analysis {"connection_id":162142,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:17:54] local.INFO: Incomplete packet, waiting for more data {"connection_id":162142,"needed":795,"available":545} 
[2026-08-25 18:17:56] local.INFO: TCP Data received {"connection_id":162142,"ip":"42.109.136.7","data_length":1045,"data_hex":"e3001001b874c600000000000001a038f44a28012d9e8e00055fbd88000f0014..."} 
[2026-08-25 18:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162142,"packet_length":1045,"packet_hex":"e3001001b874c600000000000001a038f44a28012d9e8e00055fbd88000f0014..."} 
[2026-08-25 18:17:56] local.INFO: Processing buffer {"connection_id":162142,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a038f56750012d9f1c8005608cd8000e002921..."} 
[2026-08-25 18:17:56] local.INFO: Packet analysis {"connection_id":162142,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:17:56] local.INFO: Extracted packet for processing {"connection_id":162142,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:17:56] local.INFO: GPS Element Parsed {"raw_longitude":765402240,"raw_latitude":90213592,"longitude_deg":76.540224,"latitude_deg":9.0213592,"altitude":14,"angle":41,"satellites":33,"speed":6,"hex_longitude":"2d9f1c80","hex_latitude":"05608cd8","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641467136001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123980076449529856,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6988390329934966784,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787662002000,"timestamp_ms":1787662002000,"timestamp_seconds":1787662002,"priority":1,"record_length":96,"hex_timestamp":"000001a038f56750"} 
[2026-08-25 18: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-25 18:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 18:17:56] 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-25 18: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-25 18: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-25 18:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641467136001,"66":13319,"175":206,"84":7168,"24":6,"16":123980076449529856,"45":-6988390329934966784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-25 18:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641467136001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:17:56] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-25 18:17:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123980076449529856,"km_value":123980076449529.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6988390329934966784,"description":"Unknown IO ID 45"} 
[2026-08-25 18:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641467136001,"power":13319,"unknown_175":206,"unknown_84":7168,"ignition":6,"odometer":null,"unknown_45":-6988390329934966784}} 
[2026-08-25 18:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":162142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:17:56] local.INFO: GPS data processed {"connection_id":162142,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:17:56] local.INFO: Acknowledgment sent {"connection_id":162142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:17:56] local.INFO: Packet analysis {"connection_id":162142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:17:56] local.INFO: Extracted packet for processing {"connection_id":162142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:17:56] local.INFO: GPS Element Parsed {"raw_longitude":765408768,"raw_latitude":90220472,"longitude_deg":76.5408768,"latitude_deg":9.0220472,"altitude":17,"angle":43,"satellites":29,"speed":40,"hex_longitude":"2d9f3600","hex_latitude":"0560a7b8","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641472512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123980536011030528,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6981564561748076544,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787662016000,"timestamp_ms":1787662016000,"timestamp_seconds":1787662016,"priority":1,"record_length":96,"hex_timestamp":"000001a038f59e00"} 
[2026-08-25 18: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-25 18:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 18:17:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":4097,"corrected_to":0} 
[2026-08-25 18:17:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.WARNING: Large IO value detected {"io_id":56,"raw_value":4104900609,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2508128462,"corrected_to":0} 
[2026-08-25 18:17:56] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2415996318,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2147835907,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57858157292966940,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.WARNING: Large IO value detected {"io_id":244,"raw_value":5343522253320355845,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-4789578139282692096,"note":"Value kept but may cause issues"} 
[2026-08-25 18:17:56] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,175,84,24,241,157,16,119,160,21,45,64,115,15,39,10,66,127,118,238,89,203,128,1,240,34,227,56,96,4,113,205,44,140,169,38,239,52,176,2,184,5,220,244,95],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":203,"original":4097,"validated":0},{"io_id":205,"original":2508128462,"validated":0}]} 
[2026-08-25 18:17:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008851538242043904,"timestamp_seconds":1008851538242043.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18: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-25 18:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641472512001,"66":13319,"175":206,"84":7168,"24":40,"16":123980536011030528,"45":-6981564561748076544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-25 18:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641472512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:17:56] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-25 18:17:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123980536011030528,"km_value":123980536011030.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6981564561748076544,"description":"Unknown IO ID 45"} 
[2026-08-25 18:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641472512001,"power":13319,"unknown_175":206,"unknown_84":7168,"ignition":40,"odometer":null,"unknown_45":-6981564561748076544}} 
[2026-08-25 18:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":162142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:17:56] local.INFO: GPS data processed {"connection_id":162142,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:17:56] local.INFO: Acknowledgment sent {"connection_id":162142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:18:04] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f44a28012d19e480072005f00032014627..."} 
[2026-08-25 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f44a28012d19e480072005f00032014627..."} 
[2026-08-25 18:18:04] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f44a28012d19e480072005f00032014627..."} 
[2026-08-25 18:18:04] local.INFO: Packet analysis {"connection_id":161888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f4"} 
[2026-08-25 18:18:04] local.INFO: Extracted packet for processing {"connection_id":161888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f4"} 
[2026-08-25 18:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756671616,"raw_latitude":119539184,"longitude_deg":75.6671616,"latitude_deg":11.9539184,"altitude":50,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d19e480","hex_latitude":"072005f0","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641448448001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008141976109056,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865756913728614400,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:04] local.INFO: IO Element Parsed {"io_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-25 18:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787661929000,"timestamp_ms":1787661929000,"timestamp_seconds":1787661929,"priority":1,"record_length":96,"hex_timestamp":"000001a038f44a28"} 
[2026-08-25 18: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-25 18:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-25 18:18:04] 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-25 18: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-25 18: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-25 18:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641448448001,"66":13015,"101":206,"83":41984,"24":0,"16":16008141976109056,"45":1865756913728614400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641448448001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:18:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008141976109056,"km_value":16008141976109.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865756913728614400,"description":"Unknown IO ID 45"} 
[2026-08-25 18:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641448448001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865756913728614400}} 
[2026-08-25 18:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":161888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:18:04] local.INFO: GPS data processed {"connection_id":161888,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:18:04] local.INFO: Acknowledgment sent {"connection_id":161888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:18:17] local.INFO: TCP Data received {"connection_id":162143,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:18:17] local.INFO: Processing buffer {"connection_id":162143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:18:17] local.INFO: Packet analysis {"connection_id":162143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:18:17] local.INFO: Extracted packet for processing {"connection_id":162143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641357568001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787661854000,"timestamp_ms":1787661854000,"timestamp_seconds":1787661854,"priority":1,"record_length":96,"hex_timestamp":"000001a038f32530"} 
[2026-08-25 18:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641357568001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641357568001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641357568001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":162143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:18:17] local.INFO: GPS data processed {"connection_id":162143,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:18:17] local.INFO: Acknowledgment sent {"connection_id":162143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:18:19] local.INFO: TCP Data received {"connection_id":164514,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:18:19] local.INFO: Processing buffer {"connection_id":164514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:18:19] local.INFO: IMEI packet received {"connection_id":164514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 18:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":164514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:18:23] local.INFO: TCP Data received {"connection_id":163142,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:18:23] local.INFO: Processing buffer {"connection_id":163142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:18:23] local.INFO: IMEI packet received {"connection_id":163142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":163142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:18:28] local.INFO: TCP Data received {"connection_id":163142,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:18:28] local.INFO: Processing buffer {"connection_id":163142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:18:28] local.INFO: IMEI packet received {"connection_id":163142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":163142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:18:29] local.INFO: TCP Data received {"connection_id":163142,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f49c30012d19e480072005f00032014625..."} 
[2026-08-25 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f49c30012d19e480072005f00032014625..."} 
[2026-08-25 18:18:29] local.INFO: Processing buffer {"connection_id":163142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f49c30012d19e480072005f00032014625..."} 
[2026-08-25 18:18:29] local.INFO: Packet analysis {"connection_id":163142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f4"} 
[2026-08-25 18:18:29] local.INFO: Extracted packet for processing {"connection_id":163142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f4"} 
[2026-08-25 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756671616,"raw_latitude":119539184,"longitude_deg":75.6671616,"latitude_deg":11.9539184,"altitude":50,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d19e480","hex_latitude":"072005f0","is_valid_coordinates":true} 
[2026-08-25 18:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641453824001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008141976109056,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865756913728614400,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:29] local.INFO: IO Element Parsed {"io_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-25 18:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787661950000,"timestamp_ms":1787661950000,"timestamp_seconds":1787661950,"priority":1,"record_length":96,"hex_timestamp":"000001a038f49c30"} 
[2026-08-25 18:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:18:29] 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-25 18:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-25 18:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641453824001,"66":12993,"101":206,"83":41984,"24":0,"16":16008141976109056,"45":1865756913728614400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641453824001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:18:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:18:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008141976109056,"km_value":16008141976109.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865756913728614400,"description":"Unknown IO ID 45"} 
[2026-08-25 18:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641453824001,"power":12993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865756913728614400}} 
[2026-08-25 18:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":163142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:18:29] local.INFO: GPS data processed {"connection_id":163142,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:18:29] local.INFO: Acknowledgment sent {"connection_id":163142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:18:40] local.INFO: TCP Data received {"connection_id":162144,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:18:40] local.INFO: Processing buffer {"connection_id":162144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:18:40] local.INFO: IMEI packet received {"connection_id":162144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":162144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:18:44] local.INFO: TCP Data received {"connection_id":162145,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:18:44] local.INFO: Processing buffer {"connection_id":162145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:18:44] local.INFO: IMEI packet received {"connection_id":162145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":162145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:18:46] local.INFO: TCP Data received {"connection_id":162144,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:18:46] local.INFO: Processing buffer {"connection_id":162144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:18:46] local.INFO: IMEI packet received {"connection_id":162144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":162144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:18:47] local.INFO: TCP Data received {"connection_id":162144,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f5c128012d9f4f000560c2d80010002723..."} 
[2026-08-25 18:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f5c128012d9f4f000560c2d80010002723..."} 
[2026-08-25 18:18:47] local.INFO: Processing buffer {"connection_id":162144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f5c128012d9f4f000560c2d80010002723..."} 
[2026-08-25 18:18:47] local.INFO: Packet analysis {"connection_id":162144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:18:47] local.INFO: Extracted packet for processing {"connection_id":162144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:18:47] local.INFO: GPS Element Parsed {"raw_longitude":765415168,"raw_latitude":90227416,"longitude_deg":76.5415168,"latitude_deg":9.0227416,"altitude":16,"angle":39,"satellites":35,"speed":36,"hex_longitude":"2d9f4f00","hex_latitude":"0560c2d8","is_valid_coordinates":true} 
[2026-08-25 18:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641476096001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123980991277563904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6974386949840193536,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787662025000,"timestamp_ms":1787662025000,"timestamp_seconds":1787662025,"priority":1,"record_length":96,"hex_timestamp":"000001a038f5c128"} 
[2026-08-25 18:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 18:18:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2664529925,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:47] local.WARNING: Large IO value detected {"io_id":56,"raw_value":4106948609,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2508128462,"corrected_to":0} 
[2026-08-25 18:18:47] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3489738142,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:47] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2147835939,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:47] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392021,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57858157292966940,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:47] local.WARNING: Large IO value detected {"io_id":244,"raw_value":7876797043717111813,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:47] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-2281073142542359040,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:47] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,175,84,24,241,157,16,119,160,103,45,128,140,14,33,10,66,21,64,115,15,39,127,118,238,1,240,94,227,56,96,4,113,205,46,171,187,112,239,51,2,184,5,17,48,7,244,95],"length":527,"final_offset":657,"validated_count":48,"validation_warnings":[{"io_id":205,"original":2508128462,"validated":0}]} 
[2026-08-25 18:18:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225026502201442304,"timestamp_seconds":1225026502201442.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641476096001,"66":13091,"175":206,"84":7168,"24":36,"16":123980991277563904,"45":-6974386949840193536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-25 18:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641476096001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:18:47] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-25 18:18:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123980991277563904,"km_value":123980991277563.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6974386949840193536,"description":"Unknown IO ID 45"} 
[2026-08-25 18:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641476096001,"power":13091,"unknown_175":206,"unknown_84":7168,"ignition":36,"odometer":null,"unknown_45":-6974386949840193536}} 
[2026-08-25 18:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":162144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:18:47] local.INFO: GPS data processed {"connection_id":162144,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:18:47] local.INFO: Acknowledgment sent {"connection_id":162144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:18:49] local.INFO: TCP Data received {"connection_id":162145,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:18:49] local.INFO: Processing buffer {"connection_id":162145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:18:49] local.INFO: IMEI packet received {"connection_id":162145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":162145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:18:50] local.INFO: TCP Data received {"connection_id":162145,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:18:50] local.INFO: Processing buffer {"connection_id":162145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:18:50] local.INFO: Packet analysis {"connection_id":162145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:18:50] local.INFO: Extracted packet for processing {"connection_id":162145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:18:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641357568001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787661854000,"timestamp_ms":1787661854000,"timestamp_seconds":1787661854,"priority":1,"record_length":96,"hex_timestamp":"000001a038f32530"} 
[2026-08-25 18: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-25 18:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:18: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-25 18:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641357568001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641357568001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641357568001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":162145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:18:51] local.INFO: GPS data processed {"connection_id":162145,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:18:51] local.INFO: Acknowledgment sent {"connection_id":162145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:18:56] local.INFO: TCP Data received {"connection_id":162145,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:18:56] local.INFO: Processing buffer {"connection_id":162145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:18:56] local.INFO: Packet analysis {"connection_id":162145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:18:56] local.INFO: Extracted packet for processing {"connection_id":162145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:18:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641357568001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787661854000,"timestamp_ms":1787661854000,"timestamp_seconds":1787661854,"priority":1,"record_length":96,"hex_timestamp":"000001a038f32530"} 
[2026-08-25 18:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641357568001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641357568001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:18:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641357568001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":162145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:18:56] local.INFO: GPS data processed {"connection_id":162145,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:18:56] local.INFO: Acknowledgment sent {"connection_id":162145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:19:00] local.INFO: TCP Data received {"connection_id":163142,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f4ee38012d19e480072005f00032014625..."} 
[2026-08-25 18:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f4ee38012d19e480072005f00032014625..."} 
[2026-08-25 18:19:00] local.INFO: Processing buffer {"connection_id":163142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f4ee38012d19e480072005f00032014625..."} 
[2026-08-25 18:19:00] local.INFO: Packet analysis {"connection_id":163142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f4"} 
[2026-08-25 18:19:00] local.INFO: Extracted packet for processing {"connection_id":163142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f4"} 
[2026-08-25 18:19:00] local.INFO: GPS Element Parsed {"raw_longitude":756671616,"raw_latitude":119539184,"longitude_deg":75.6671616,"latitude_deg":11.9539184,"altitude":50,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d19e480","hex_latitude":"072005f0","is_valid_coordinates":true} 
[2026-08-25 18:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641459200001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008141976109056,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865756913728614400,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:00] local.INFO: IO Element Parsed {"io_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-25 18:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787661971000,"timestamp_ms":1787661971000,"timestamp_seconds":1787661971,"priority":1,"record_length":96,"hex_timestamp":"000001a038f4ee38"} 
[2026-08-25 18:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:19:00] 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-25 18:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 18:19:00] 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-25 18:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641459200001,"66":12950,"101":206,"83":41984,"24":0,"16":16008141976109056,"45":1865756913728614400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641459200001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:19:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:19:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008141976109056,"km_value":16008141976109.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865756913728614400,"description":"Unknown IO ID 45"} 
[2026-08-25 18:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641459200001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865756913728614400}} 
[2026-08-25 18:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":163142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:19:01] local.INFO: GPS data processed {"connection_id":163142,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:19:01] local.INFO: Acknowledgment sent {"connection_id":163142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:19:19] local.INFO: TCP Data received {"connection_id":162144,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f5f008012d9f5e800560d8e0000f001926..."} 
[2026-08-25 18:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f5f008012d9f5e800560d8e0000f001926..."} 
[2026-08-25 18:19:19] local.INFO: Processing buffer {"connection_id":162144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f5f008012d9f5e800560d8e0000f001926..."} 
[2026-08-25 18:19:19] local.INFO: Packet analysis {"connection_id":162144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:19:19] local.INFO: Extracted packet for processing {"connection_id":162144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:19:19] local.INFO: GPS Element Parsed {"raw_longitude":765419136,"raw_latitude":90233056,"longitude_deg":76.5419136,"latitude_deg":9.0233056,"altitude":15,"angle":25,"satellites":38,"speed":6,"hex_longitude":"2d9f5e80","hex_latitude":"0560d8e0","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641478400001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123981326285012992,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6967350075420649472,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787662037000,"timestamp_ms":1787662037000,"timestamp_seconds":1787662037,"priority":1,"record_length":96,"hex_timestamp":"000001a038f5f008"} 
[2026-08-25 18: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-25 18:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 18:19:19] 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-25 18: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-25 18: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-25 18:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641478400001,"66":13298,"175":206,"84":7168,"24":6,"16":123981326285012992,"45":-6967350075420649472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-25 18:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641478400001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:19:19] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-25 18:19:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123981326285012992,"km_value":123981326285012.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6967350075420649472,"description":"Unknown IO ID 45"} 
[2026-08-25 18:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641478400001,"power":13298,"unknown_175":206,"unknown_84":7168,"ignition":6,"odometer":null,"unknown_45":-6967350075420649472}} 
[2026-08-25 18:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":162144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:19:19] local.INFO: GPS data processed {"connection_id":162144,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:19:19] local.INFO: Acknowledgment sent {"connection_id":162144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:19:23] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:19:23] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:19:23] local.INFO: IMEI packet received {"connection_id":161889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":161889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:19:28] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:19:28] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:19:28] local.INFO: IMEI packet received {"connection_id":161889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":161889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:19:29] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f54040012d19e480072005f00032014627..."} 
[2026-08-25 18:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f54040012d19e480072005f00032014627..."} 
[2026-08-25 18:19:29] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f54040012d19e480072005f00032014627..."} 
[2026-08-25 18:19:29] local.INFO: Packet analysis {"connection_id":161889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:19:29] local.INFO: Extracted packet for processing {"connection_id":161889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:19:29] local.INFO: GPS Element Parsed {"raw_longitude":756671616,"raw_latitude":119539184,"longitude_deg":75.6671616,"latitude_deg":11.9539184,"altitude":50,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d19e480","hex_latitude":"072005f0","is_valid_coordinates":true} 
[2026-08-25 18:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641464576001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008141976109056,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865756913728614400,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:29] local.INFO: IO Element Parsed {"io_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-25 18:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787661992000,"timestamp_ms":1787661992000,"timestamp_seconds":1787661992,"priority":1,"record_length":96,"hex_timestamp":"000001a038f54040"} 
[2026-08-25 18:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-25 18:19:29] 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-25 18:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641464576001,"66":12852,"101":206,"83":41984,"24":0,"16":16008141976109056,"45":1865756913728614400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641464576001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:19:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:19:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008141976109056,"km_value":16008141976109.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865756913728614400,"description":"Unknown IO ID 45"} 
[2026-08-25 18:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641464576001,"power":12852,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865756913728614400}} 
[2026-08-25 18:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":161889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:19:29] local.INFO: GPS data processed {"connection_id":161889,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:19:29] local.INFO: Acknowledgment sent {"connection_id":161889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:19:38] local.INFO: TCP Data received {"connection_id":164516,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:19:38] local.INFO: Processing buffer {"connection_id":164516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:19:38] local.INFO: IMEI packet received {"connection_id":164516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":164516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:19:39] local.INFO: TCP Data received {"connection_id":164515,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:19:39] local.INFO: Processing buffer {"connection_id":164515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:19:39] local.INFO: IMEI packet received {"connection_id":164515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":164515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:19:40] local.INFO: TCP Data received {"connection_id":164516,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:19:40] local.INFO: Processing buffer {"connection_id":164516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:19:40] local.INFO: IMEI packet received {"connection_id":164516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":164516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:19:44] local.INFO: TCP Data received {"connection_id":164515,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:19:44] local.INFO: Processing buffer {"connection_id":164515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:19:44] local.INFO: IMEI packet received {"connection_id":164515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":164515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:19:45] local.INFO: TCP Data received {"connection_id":164515,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:19:45] local.INFO: Processing buffer {"connection_id":164515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f32530012d34c14006aa4818000b00e62e..."} 
[2026-08-25 18:19:45] local.INFO: Packet analysis {"connection_id":164515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:19:45] local.INFO: Extracted packet for processing {"connection_id":164515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f3"} 
[2026-08-25 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641357568001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787661854000,"timestamp_ms":1787661854000,"timestamp_seconds":1787661854,"priority":1,"record_length":96,"hex_timestamp":"000001a038f32530"} 
[2026-08-25 18:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:19:45] 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-25 18:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641357568001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641357568001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641357568001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":164515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:19:45] local.INFO: GPS data processed {"connection_id":164515,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:19:45] local.INFO: Acknowledgment sent {"connection_id":164515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:19:46] local.INFO: TCP Data received {"connection_id":164516,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:19:46] local.INFO: Processing buffer {"connection_id":164516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:19:46] local.INFO: IMEI packet received {"connection_id":164516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":164516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:19:46] local.INFO: TCP Data received {"connection_id":164516,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f62aa0012d9f6d000560f9380011001225..."} 
[2026-08-25 18:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f62aa0012d9f6d000560f9380011001225..."} 
[2026-08-25 18:19:46] local.INFO: Processing buffer {"connection_id":164516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f62aa0012d9f6d000560f9380011001225..."} 
[2026-08-25 18:19:46] local.INFO: Packet analysis {"connection_id":164516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f6"} 
[2026-08-25 18:19:46] local.INFO: Extracted packet for processing {"connection_id":164516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f6"} 
[2026-08-25 18:19:46] local.INFO: GPS Element Parsed {"raw_longitude":765422848,"raw_latitude":90241336,"longitude_deg":76.5422848,"latitude_deg":9.0241336,"altitude":17,"angle":18,"satellites":37,"speed":41,"hex_longitude":"2d9f6d00","hex_latitude":"0560f938","is_valid_coordinates":true} 
[2026-08-25 18:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641481472001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123981764371677184,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6962987213280190464,"note":"Value kept but may cause issues"} 
[2026-08-25 18:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787662052000,"timestamp_ms":1787662052000,"timestamp_seconds":1787662052,"priority":1,"record_length":96,"hex_timestamp":"000001a038f62aa0"} 
[2026-08-25 18:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-25 18:19:46] 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-25 18:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641481472001,"66":13406,"175":206,"84":7168,"24":41,"16":123981764371677184,"45":-6962987213280190464},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-25 18:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641481472001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:19:46] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-25 18:19:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123981764371677184,"km_value":123981764371677.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6962987213280190464,"description":"Unknown IO ID 45"} 
[2026-08-25 18:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641481472001,"power":13406,"unknown_175":206,"unknown_84":7168,"ignition":41,"odometer":null,"unknown_45":-6962987213280190464}} 
[2026-08-25 18:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":164516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:19:47] local.INFO: GPS data processed {"connection_id":164516,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:19:47] local.INFO: Acknowledgment sent {"connection_id":164516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:20:00] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f59248012d19e480072005f00032014624..."} 
[2026-08-25 18:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f59248012d19e480072005f00032014624..."} 
[2026-08-25 18:20:00] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f59248012d19e480072005f00032014624..."} 
[2026-08-25 18:20:00] local.INFO: Packet analysis {"connection_id":161889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:20:00] local.INFO: Extracted packet for processing {"connection_id":161889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756671616,"raw_latitude":119539184,"longitude_deg":75.6671616,"latitude_deg":11.9539184,"altitude":50,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d19e480","hex_latitude":"072005f0","is_valid_coordinates":true} 
[2026-08-25 18:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641469952001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008141976109056,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865756913728614400,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:00] local.INFO: IO Element Parsed {"io_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-25 18:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787662013000,"timestamp_ms":1787662013000,"timestamp_seconds":1787662013,"priority":1,"record_length":96,"hex_timestamp":"000001a038f59248"} 
[2026-08-25 18:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:20:00] 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-25 18:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 18:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641469952001,"66":12798,"101":206,"83":41984,"24":0,"16":16008141976109056,"45":1865756913728614400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641469952001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:20:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008141976109056,"km_value":16008141976109.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865756913728614400,"description":"Unknown IO ID 45"} 
[2026-08-25 18:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641469952001,"power":12798,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865756913728614400}} 
[2026-08-25 18:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":161889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:20:00] local.INFO: GPS data processed {"connection_id":161889,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:20:00] local.INFO: Acknowledgment sent {"connection_id":161889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:20:16] local.INFO: TCP Data received {"connection_id":164515,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:20:16] local.INFO: Processing buffer {"connection_id":164515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:20:16] local.INFO: Packet analysis {"connection_id":164515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:20:16] local.INFO: Extracted packet for processing {"connection_id":164515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641434624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787662155000,"timestamp_ms":1787662155000,"timestamp_seconds":1787662155,"priority":1,"record_length":96,"hex_timestamp":"000001a038f7bcf8"} 
[2026-08-25 18: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-25 18:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641434624001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641434624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641434624001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":164515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:20:16] local.INFO: GPS data processed {"connection_id":164515,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:20:16] local.INFO: Acknowledgment sent {"connection_id":164515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:20:18] local.INFO: TCP Data received {"connection_id":164516,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f645f8012d9f7380056117880010000726..."} 
[2026-08-25 18:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f645f8012d9f7380056117880010000726..."} 
[2026-08-25 18:20:18] local.INFO: Processing buffer {"connection_id":164516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f645f8012d9f7380056117880010000726..."} 
[2026-08-25 18:20:18] local.INFO: Packet analysis {"connection_id":164516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f6"} 
[2026-08-25 18:20:18] local.INFO: Extracted packet for processing {"connection_id":164516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f6"} 
[2026-08-25 18:20:18] local.INFO: GPS Element Parsed {"raw_longitude":765424512,"raw_latitude":90249096,"longitude_deg":76.5424512,"latitude_deg":9.0249096,"altitude":16,"angle":7,"satellites":38,"speed":49,"hex_longitude":"2d9f7380","hex_latitude":"05611788","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641485312001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123982150918733824,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6958905826115766272,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787662059000,"timestamp_ms":1787662059000,"timestamp_seconds":1787662059,"priority":1,"record_length":96,"hex_timestamp":"000001a038f645f8"} 
[2026-08-25 18: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-25 18:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":94,"data_length":795,"current_offset":136} 
[2026-08-25 18:20: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-25 18: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-25 18: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-25 18:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641485312001,"66":13330,"175":206,"84":7168,"24":49,"16":123982150918733824,"45":-6958905826115766272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-25 18:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641485312001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:20:18] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-25 18:20:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123982150918733824,"km_value":123982150918733.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6958905826115766272,"description":"Unknown IO ID 45"} 
[2026-08-25 18:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641485312001,"power":13330,"unknown_175":206,"unknown_84":7168,"ignition":49,"odometer":null,"unknown_45":-6958905826115766272}} 
[2026-08-25 18:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":164516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:20:18] local.INFO: GPS data processed {"connection_id":164516,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:20:18] local.INFO: Acknowledgment sent {"connection_id":164516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:20:23] local.INFO: TCP Data received {"connection_id":164517,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:20:23] local.INFO: Processing buffer {"connection_id":164517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:20:23] local.INFO: IMEI packet received {"connection_id":164517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":164517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:20:28] local.INFO: TCP Data received {"connection_id":164517,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:20:28] local.INFO: Processing buffer {"connection_id":164517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:20:28] local.INFO: IMEI packet received {"connection_id":164517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":164517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:20:29] local.INFO: TCP Data received {"connection_id":164517,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f5e450012d19e480072005f00032014625..."} 
[2026-08-25 18:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f5e450012d19e480072005f00032014625..."} 
[2026-08-25 18:20:29] local.INFO: Processing buffer {"connection_id":164517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f5e450012d19e480072005f00032014625..."} 
[2026-08-25 18:20:29] local.INFO: Packet analysis {"connection_id":164517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:20:29] local.INFO: Extracted packet for processing {"connection_id":164517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f5"} 
[2026-08-25 18:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756671616,"raw_latitude":119539184,"longitude_deg":75.6671616,"latitude_deg":11.9539184,"altitude":50,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d19e480","hex_latitude":"072005f0","is_valid_coordinates":true} 
[2026-08-25 18:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641475328001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008141976109056,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865756913728614400,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:29] local.INFO: IO Element Parsed {"io_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-25 18:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787662034000,"timestamp_ms":1787662034000,"timestamp_seconds":1787662034,"priority":1,"record_length":96,"hex_timestamp":"000001a038f5e450"} 
[2026-08-25 18:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:20:29] 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-25 18:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-25 18:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641475328001,"66":12809,"101":206,"83":41984,"24":0,"16":16008141976109056,"45":1865756913728614400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641475328001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:20:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008141976109056,"km_value":16008141976109.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865756913728614400,"description":"Unknown IO ID 45"} 
[2026-08-25 18:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641475328001,"power":12809,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865756913728614400}} 
[2026-08-25 18:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":164517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:20:29] local.INFO: GPS data processed {"connection_id":164517,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:20:29] local.INFO: Acknowledgment sent {"connection_id":164517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:20:40] local.INFO: TCP Data received {"connection_id":163143,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:20:40] local.INFO: Processing buffer {"connection_id":163143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:20:40] local.INFO: IMEI packet received {"connection_id":163143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":163143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:20:43] local.INFO: TCP Data received {"connection_id":163143,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:20:43] local.INFO: Processing buffer {"connection_id":163143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:20:43] local.INFO: IMEI packet received {"connection_id":163143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":163143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:20:44] local.INFO: TCP Data received {"connection_id":164518,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:20:44] local.INFO: Processing buffer {"connection_id":164518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:20:44] local.INFO: IMEI packet received {"connection_id":164518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":164518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:20:47] local.INFO: TCP Data received {"connection_id":163143,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:20:47] local.INFO: Processing buffer {"connection_id":163143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:20:47] local.INFO: IMEI packet received {"connection_id":163143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":163143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:20:48] local.INFO: TCP Data received {"connection_id":163143,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f8bec8012d9f820005623ca80007015527..."} 
[2026-08-25 18:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f8bec8012d9f820005623ca80007015527..."} 
[2026-08-25 18:20:48] local.INFO: Processing buffer {"connection_id":163143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f8bec8012d9f820005623ca80007015527..."} 
[2026-08-25 18:20:48] local.INFO: Packet analysis {"connection_id":163143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f8"} 
[2026-08-25 18:20:48] local.INFO: Extracted packet for processing {"connection_id":163143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f8"} 
[2026-08-25 18:20:48] local.INFO: GPS Element Parsed {"raw_longitude":765428224,"raw_latitude":90324136,"longitude_deg":76.5428224,"latitude_deg":9.0324136,"altitude":7,"angle":341,"satellites":39,"speed":31,"hex_longitude":"2d9f8200","hex_latitude":"05623ca8","is_valid_coordinates":true} 
[2026-08-25 18:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641524480001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123985831705706496,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6950602314283816960,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787662221000,"timestamp_ms":1787662221000,"timestamp_seconds":1787662221,"priority":1,"record_length":96,"hex_timestamp":"000001a038f8bec8"} 
[2026-08-25 18:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 18:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641524480001,"66":13374,"246":206,"84":7168,"24":31,"16":123985831705706496,"45":-6950602314283816960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,84,24,16,45]} 
[2026-08-25 18:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641524480001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:20:48] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123985831705706496,"km_value":123985831705706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6950602314283816960,"description":"Unknown IO ID 45"} 
[2026-08-25 18:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641524480001,"power":13374,"main_input_voltage":206,"unknown_84":7168,"ignition":31,"odometer":null,"unknown_45":-6950602314283816960}} 
[2026-08-25 18:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":163143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:20:48] local.INFO: GPS data processed {"connection_id":163143,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:20:48] local.INFO: Acknowledgment sent {"connection_id":163143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:20:49] local.INFO: TCP Data received {"connection_id":164518,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:20:49] local.INFO: Processing buffer {"connection_id":164518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:20:49] local.INFO: IMEI packet received {"connection_id":164518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":164518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:20:51] local.INFO: TCP Data received {"connection_id":164518,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:20:51] local.INFO: Processing buffer {"connection_id":164518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:20:51] local.INFO: Packet analysis {"connection_id":164518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:20:51] local.INFO: Extracted packet for processing {"connection_id":164518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641434624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787662155000,"timestamp_ms":1787662155000,"timestamp_seconds":1787662155,"priority":1,"record_length":96,"hex_timestamp":"000001a038f7bcf8"} 
[2026-08-25 18: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-25 18:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:20: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-25 18:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641434624001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641434624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641434624001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":164518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:20:51] local.INFO: GPS data processed {"connection_id":164518,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:20:51] local.INFO: Acknowledgment sent {"connection_id":164518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:20:51] local.INFO: TCP Data received {"connection_id":163143,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f8e9c0012d9f73c005625fb80009015028..."} 
[2026-08-25 18:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f8e9c0012d9f73c005625fb80009015028..."} 
[2026-08-25 18:20:51] local.INFO: Processing buffer {"connection_id":163143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f8e9c0012d9f73c005625fb80009015028..."} 
[2026-08-25 18:20:51] local.INFO: Packet analysis {"connection_id":163143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f8"} 
[2026-08-25 18:20:51] local.INFO: Extracted packet for processing {"connection_id":163143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f8"} 
[2026-08-25 18:20:51] local.INFO: GPS Element Parsed {"raw_longitude":765424576,"raw_latitude":90333112,"longitude_deg":76.5424576,"latitude_deg":9.0333112,"altitude":9,"angle":336,"satellites":40,"speed":40,"hex_longitude":"2d9f73c0","hex_latitude":"05625fb8","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641528576001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123986299857141760,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6952994851583645696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787662232000,"timestamp_ms":1787662232000,"timestamp_seconds":1787662232,"priority":1,"record_length":96,"hex_timestamp":"000001a038f8e9c0"} 
[2026-08-25 18: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-25 18:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 18:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641528576001,"66":13396,"246":206,"84":7168,"24":40,"16":123986299857141760,"45":-6952994851583645696},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,84,24,16,45]} 
[2026-08-25 18:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641528576001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:20:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123986299857141760,"km_value":123986299857141.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6952994851583645696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641528576001,"power":13396,"main_input_voltage":206,"unknown_84":7168,"ignition":40,"odometer":null,"unknown_45":-6952994851583645696}} 
[2026-08-25 18:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":163143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:20:52] local.INFO: GPS data processed {"connection_id":163143,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:20:52] local.INFO: Acknowledgment sent {"connection_id":163143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:20:55] local.INFO: TCP Data received {"connection_id":164518,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:20:55] local.INFO: Processing buffer {"connection_id":164518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:20:55] local.INFO: Packet analysis {"connection_id":164518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:20:55] local.INFO: Extracted packet for processing {"connection_id":164518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641434624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787662155000,"timestamp_ms":1787662155000,"timestamp_seconds":1787662155,"priority":1,"record_length":96,"hex_timestamp":"000001a038f7bcf8"} 
[2026-08-25 18:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:20:55] 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-25 18:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641434624001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641434624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:20:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641434624001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":164518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:20:55] local.INFO: GPS data processed {"connection_id":164518,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:20:55] local.INFO: Acknowledgment sent {"connection_id":164518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:21:00] local.INFO: TCP Data received {"connection_id":164517,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f63658012d19e480072005f00032014623..."} 
[2026-08-25 18:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f63658012d19e480072005f00032014623..."} 
[2026-08-25 18:21:00] local.INFO: Processing buffer {"connection_id":164517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f63658012d19e480072005f00032014623..."} 
[2026-08-25 18:21:00] local.INFO: Packet analysis {"connection_id":164517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f6"} 
[2026-08-25 18:21:00] local.INFO: Extracted packet for processing {"connection_id":164517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f6"} 
[2026-08-25 18:21:00] local.INFO: GPS Element Parsed {"raw_longitude":756671616,"raw_latitude":119539184,"longitude_deg":75.6671616,"latitude_deg":11.9539184,"altitude":50,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d19e480","hex_latitude":"072005f0","is_valid_coordinates":true} 
[2026-08-25 18:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641480704001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008141976109056,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865756913728614400,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:00] local.INFO: IO Element Parsed {"io_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-25 18:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787662055000,"timestamp_ms":1787662055000,"timestamp_seconds":1787662055,"priority":1,"record_length":96,"hex_timestamp":"000001a038f63658"} 
[2026-08-25 18:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:21:00] 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-25 18:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-25 18:21:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-889997483028388736,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-25 18:21:00] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2147950597,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:00] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2307514267726857767,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:00] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-2882077844542796205,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:00] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:00] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,223,160,146,45,128,5,50,36,10,66,64,39,238,1,240,150,227,56,32,4,113,205,74,228,239,2,7,48,164,82],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-25 18:21:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603238301600841728,"timestamp_seconds":3603238301600841.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641480704001,"66":12722,"101":206,"83":41984,"24":0,"16":16008141976109056,"45":1865756913728614400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641480704001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:21:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:21:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008141976109056,"km_value":16008141976109.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865756913728614400,"description":"Unknown IO ID 45"} 
[2026-08-25 18:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641480704001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865756913728614400}} 
[2026-08-25 18:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":164517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:21:00] local.INFO: GPS data processed {"connection_id":164517,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:21:00] local.INFO: Acknowledgment sent {"connection_id":164517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:21:22] local.INFO: TCP Data received {"connection_id":163144,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:21:22] local.INFO: Processing buffer {"connection_id":163144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:21:22] local.INFO: IMEI packet received {"connection_id":163144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":163144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:21:23] local.INFO: TCP Data received {"connection_id":163144,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:21:23] local.INFO: Processing buffer {"connection_id":163144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:21:23] local.INFO: IMEI packet received {"connection_id":163144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":163144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:21:23] local.INFO: TCP Data received {"connection_id":163143,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f90ce8012d9f6580056280600009015229..."} 
[2026-08-25 18:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f90ce8012d9f6580056280600009015229..."} 
[2026-08-25 18:21:23] local.INFO: Processing buffer {"connection_id":163143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f90ce8012d9f6580056280600009015229..."} 
[2026-08-25 18:21:23] local.INFO: Packet analysis {"connection_id":163143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f9"} 
[2026-08-25 18:21:23] local.INFO: Extracted packet for processing {"connection_id":163143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f9"} 
[2026-08-25 18:21:23] local.INFO: GPS Element Parsed {"raw_longitude":765420928,"raw_latitude":90341472,"longitude_deg":76.5420928,"latitude_deg":9.0341472,"altitude":9,"angle":338,"satellites":41,"speed":39,"hex_longitude":"2d9f6580","hex_latitude":"05628060","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641531392001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123986742238773248,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6957005869999474688,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787662241000,"timestamp_ms":1787662241000,"timestamp_seconds":1787662241,"priority":1,"record_length":96,"hex_timestamp":"000001a038f90ce8"} 
[2026-08-25 18: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-25 18:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-25 18:21:23] 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-25 18: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-25 18: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-25 18:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641531392001,"66":13472,"247":206,"84":7168,"24":39,"16":123986742238773248,"45":-6957005869999474688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-25 18:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641531392001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:21:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123986742238773248,"km_value":123986742238773.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6957005869999474688,"description":"Unknown IO ID 45"} 
[2026-08-25 18:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641531392001,"power":13472,"internal_battery_voltage":206,"unknown_84":7168,"ignition":39,"odometer":null,"unknown_45":-6957005869999474688}} 
[2026-08-25 18:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":163143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:21:23] local.INFO: GPS data processed {"connection_id":163143,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:21:23] local.INFO: Acknowledgment sent {"connection_id":163143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:21:28] local.INFO: TCP Data received {"connection_id":163144,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:21:28] local.INFO: Processing buffer {"connection_id":163144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:21:28] local.INFO: IMEI packet received {"connection_id":163144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":163144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:21:29] local.INFO: TCP Data received {"connection_id":163144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f68860012d19e480072005f00032014624..."} 
[2026-08-25 18:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f68860012d19e480072005f00032014624..."} 
[2026-08-25 18:21:29] local.INFO: Processing buffer {"connection_id":163144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f68860012d19e480072005f00032014624..."} 
[2026-08-25 18:21:29] local.INFO: Packet analysis {"connection_id":163144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f6"} 
[2026-08-25 18:21:29] local.INFO: Extracted packet for processing {"connection_id":163144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f6"} 
[2026-08-25 18:21:29] local.INFO: GPS Element Parsed {"raw_longitude":756671616,"raw_latitude":119539184,"longitude_deg":75.6671616,"latitude_deg":11.9539184,"altitude":50,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d19e480","hex_latitude":"072005f0","is_valid_coordinates":true} 
[2026-08-25 18:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641486080001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008141976109056,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865756913728614400,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:29] local.INFO: IO Element Parsed {"io_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-25 18:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787662076000,"timestamp_ms":1787662076000,"timestamp_seconds":1787662076,"priority":1,"record_length":96,"hex_timestamp":"000001a038f68860"} 
[2026-08-25 18:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-25 18:21:29] 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-25 18:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641486080001,"66":12711,"101":206,"83":41984,"24":0,"16":16008141976109056,"45":1865756913728614400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641486080001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:21:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:21:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008141976109056,"km_value":16008141976109.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865756913728614400,"description":"Unknown IO ID 45"} 
[2026-08-25 18:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641486080001,"power":12711,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865756913728614400}} 
[2026-08-25 18:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":163144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:21:29] local.INFO: GPS data processed {"connection_id":163144,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:21:29] local.INFO: Acknowledgment sent {"connection_id":163144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:21:40] local.INFO: TCP Data received {"connection_id":162146,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:21:40] local.INFO: Processing buffer {"connection_id":162146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:21:40] local.INFO: IMEI packet received {"connection_id":162146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":162146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:21:44] local.INFO: TCP Data received {"connection_id":162146,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:21:44] local.INFO: Processing buffer {"connection_id":162146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:21:44] local.INFO: IMEI packet received {"connection_id":162146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":162146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:21:45] local.INFO: TCP Data received {"connection_id":162146,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:21:45] local.INFO: Processing buffer {"connection_id":162146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:21:45] local.INFO: Packet analysis {"connection_id":162146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:21:45] local.INFO: Extracted packet for processing {"connection_id":162146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641434624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787662155000,"timestamp_ms":1787662155000,"timestamp_seconds":1787662155,"priority":1,"record_length":96,"hex_timestamp":"000001a038f7bcf8"} 
[2026-08-25 18:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641434624001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641434624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641434624001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":162146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:21:45] local.INFO: GPS data processed {"connection_id":162146,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:21:45] local.INFO: Acknowledgment sent {"connection_id":162146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:21:51] local.INFO: TCP Data received {"connection_id":164519,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:21:51] local.INFO: Processing buffer {"connection_id":164519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:21:51] local.INFO: IMEI packet received {"connection_id":164519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":164519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:21:51] local.INFO: TCP Data received {"connection_id":164519,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:21:51] local.INFO: Processing buffer {"connection_id":164519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:21:51] local.INFO: IMEI packet received {"connection_id":164519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":164519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:21:53] local.INFO: TCP Data received {"connection_id":164519,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:21:53] local.INFO: Processing buffer {"connection_id":164519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:21:53] local.INFO: IMEI packet received {"connection_id":164519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":164519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:21:54] local.INFO: TCP Data received {"connection_id":164519,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f93010012d9f59800562a3200009015728..."} 
[2026-08-25 18:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f93010012d9f59800562a3200009015728..."} 
[2026-08-25 18:21:54] local.INFO: Processing buffer {"connection_id":164519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f93010012d9f59800562a3200009015728..."} 
[2026-08-25 18:21:54] local.INFO: Packet analysis {"connection_id":164519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f9"} 
[2026-08-25 18:21:54] local.INFO: Extracted packet for processing {"connection_id":164519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f9"} 
[2026-08-25 18:21:54] local.INFO: GPS Element Parsed {"raw_longitude":765417856,"raw_latitude":90350368,"longitude_deg":76.5417856,"latitude_deg":9.0350368,"altitude":9,"angle":343,"satellites":40,"speed":45,"hex_longitude":"2d9f5980","hex_latitude":"0562a320","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641533696001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123987197505306624,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6961016888415461376,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787662250000,"timestamp_ms":1787662250000,"timestamp_seconds":1787662250,"priority":1,"record_length":96,"hex_timestamp":"000001a038f93010"} 
[2026-08-25 18: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-25 18:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 18:21:54] 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-25 18: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-25 18: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-25 18:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641533696001,"66":13450,"247":206,"84":7168,"24":45,"16":123987197505306624,"45":-6961016888415461376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-25 18:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641533696001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:21:54] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123987197505306624,"km_value":123987197505306.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6961016888415461376,"description":"Unknown IO ID 45"} 
[2026-08-25 18:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641533696001,"power":13450,"internal_battery_voltage":206,"unknown_84":7168,"ignition":45,"odometer":null,"unknown_45":-6961016888415461376}} 
[2026-08-25 18:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":164519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:21:54] local.INFO: GPS data processed {"connection_id":164519,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:21:54] local.INFO: Acknowledgment sent {"connection_id":164519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:21:55] local.INFO: TCP Data received {"connection_id":164519,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f94f50012d9f4e400562c6500008015628..."} 
[2026-08-25 18:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f94f50012d9f4e400562c6500008015628..."} 
[2026-08-25 18:21:55] local.INFO: Processing buffer {"connection_id":164519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f94f50012d9f4e400562c6500008015628..."} 
[2026-08-25 18:21:55] local.INFO: Packet analysis {"connection_id":164519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f9"} 
[2026-08-25 18:21:55] local.INFO: Extracted packet for processing {"connection_id":164519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f9"} 
[2026-08-25 18:21:55] local.INFO: GPS Element Parsed {"raw_longitude":765414976,"raw_latitude":90359376,"longitude_deg":76.5414976,"latitude_deg":9.0359376,"altitude":8,"angle":342,"satellites":40,"speed":44,"hex_longitude":"2d9f4e40","hex_latitude":"0562c650","is_valid_coordinates":true} 
[2026-08-25 18:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641536000001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123987657066807296,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6964394588133711872,"note":"Value kept but may cause issues"} 
[2026-08-25 18:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787662258000,"timestamp_ms":1787662258000,"timestamp_seconds":1787662258,"priority":1,"record_length":96,"hex_timestamp":"000001a038f94f50"} 
[2026-08-25 18:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 18:21: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-25 18: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-25 18:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641536000001,"66":13189,"247":206,"84":7168,"24":44,"16":123987657066807296,"45":-6964394588133711872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-25 18:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641536000001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:21:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123987657066807296,"km_value":123987657066807.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6964394588133711872,"description":"Unknown IO ID 45"} 
[2026-08-25 18:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641536000001,"power":13189,"internal_battery_voltage":206,"unknown_84":7168,"ignition":44,"odometer":null,"unknown_45":-6964394588133711872}} 
[2026-08-25 18:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":164519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:21:56] local.INFO: GPS data processed {"connection_id":164519,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:21:56] local.INFO: Acknowledgment sent {"connection_id":164519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:22:00] local.INFO: TCP Data received {"connection_id":163144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f99988012d19c980071ff298003400eb27..."} 
[2026-08-25 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f99988012d19c980071ff298003400eb27..."} 
[2026-08-25 18:22:00] local.INFO: Processing buffer {"connection_id":163144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f99988012d19c980071ff298003400eb27..."} 
[2026-08-25 18:22:00] local.INFO: Packet analysis {"connection_id":163144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f9"} 
[2026-08-25 18:22:00] local.INFO: Extracted packet for processing {"connection_id":163144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f9"} 
[2026-08-25 18:22:00] local.INFO: GPS Element Parsed {"raw_longitude":756664704,"raw_latitude":119534232,"longitude_deg":75.6664704,"latitude_deg":11.9534232,"altitude":52,"angle":235,"satellites":39,"speed":15,"hex_longitude":"2d19c980","hex_latitude":"071ff298","is_valid_coordinates":true} 
[2026-08-25 18:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641542656001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008601537609728,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077106688,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:00] local.INFO: IO Element Parsed {"io_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-25 18:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787662277000,"timestamp_ms":1787662277000,"timestamp_seconds":1787662277,"priority":1,"record_length":96,"hex_timestamp":"000001a038f99988"} 
[2026-08-25 18:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:22:00] 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-25 18:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-25 18:22:00] 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-25 18:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641542656001,"66":14243,"101":206,"83":41984,"24":15,"16":16008601537609728,"45":1858508933077106688},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641542656001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:22:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:22:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008601537609728,"km_value":16008601537609.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077106688,"description":"Unknown IO ID 45"} 
[2026-08-25 18:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641542656001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858508933077106688}} 
[2026-08-25 18:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":163144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:22:00] local.INFO: GPS data processed {"connection_id":163144,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:22:00] local.INFO: Acknowledgment sent {"connection_id":163144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:22:16] local.INFO: TCP Data received {"connection_id":162146,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:22:16] local.INFO: Processing buffer {"connection_id":162146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:22:16] local.INFO: Packet analysis {"connection_id":162146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:22:16] local.INFO: Extracted packet for processing {"connection_id":162146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641434624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787662155000,"timestamp_ms":1787662155000,"timestamp_seconds":1787662155,"priority":1,"record_length":96,"hex_timestamp":"000001a038f7bcf8"} 
[2026-08-25 18:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641434624001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641434624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641434624001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":162146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:22:16] local.INFO: GPS data processed {"connection_id":162146,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:22:16] local.INFO: Acknowledgment sent {"connection_id":162146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:22:24] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:22:24] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:22:24] local.INFO: IMEI packet received {"connection_id":161890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":161890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:22:24] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:22:24] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:22:24] local.INFO: IMEI packet received {"connection_id":161890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":161890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:22:28] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:22:28] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:22:28] local.INFO: IMEI packet received {"connection_id":161890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":161890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:22:29] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038f99d70012d19c840071ff1e8003400f827..."} 
[2026-08-25 18:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f99d70012d19c840071ff1e8003400f827..."} 
[2026-08-25 18:22:29] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f99d70012d19c840071ff1e8003400f827..."} 
[2026-08-25 18:22:29] local.INFO: Packet analysis {"connection_id":161890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f9"} 
[2026-08-25 18:22:29] local.INFO: Extracted packet for processing {"connection_id":161890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f9"} 
[2026-08-25 18:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756664384,"raw_latitude":119534056,"longitude_deg":75.6664384,"latitude_deg":11.9534056,"altitude":52,"angle":248,"satellites":39,"speed":16,"hex_longitude":"2d19c840","hex_latitude":"071ff1e8","is_valid_coordinates":true} 
[2026-08-25 18:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641542912001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16008618717478912,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858157089356158976,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:29] local.INFO: IO Element Parsed {"io_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-25 18:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787662278000,"timestamp_ms":1787662278000,"timestamp_seconds":1787662278,"priority":1,"record_length":96,"hex_timestamp":"000001a038f99d70"} 
[2026-08-25 18:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:22:29] 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-25 18:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-25 18:22:29] 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-25 18:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641542912001,"66":13961,"101":206,"83":41984,"24":16,"16":16008618717478912,"45":1858157089356158976},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-25 18:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641542912001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:22:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-25 18:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16008618717478912,"km_value":16008618717478.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858157089356158976,"description":"Unknown IO ID 45"} 
[2026-08-25 18:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641542912001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858157089356158976}} 
[2026-08-25 18:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":161890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:22:29] local.INFO: GPS data processed {"connection_id":161890,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:22:29] local.INFO: Acknowledgment sent {"connection_id":161890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:22:39] local.INFO: TCP Data received {"connection_id":162148,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:22:39] local.INFO: Processing buffer {"connection_id":162148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:22:39] local.INFO: IMEI packet received {"connection_id":162148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":162148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:22:41] local.INFO: TCP Data received {"connection_id":162147,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:22:41] local.INFO: Processing buffer {"connection_id":162147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:22:41] local.INFO: IMEI packet received {"connection_id":162147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":162147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:22:43] local.INFO: TCP Data received {"connection_id":162147,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:22:43] local.INFO: Processing buffer {"connection_id":162147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:22:43] local.INFO: IMEI packet received {"connection_id":162147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":162147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:22:44] local.INFO: TCP Data received {"connection_id":162148,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:22:44] local.INFO: Processing buffer {"connection_id":162148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:22:44] local.INFO: IMEI packet received {"connection_id":162148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":162148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:22:44] local.INFO: TCP Data received {"connection_id":162147,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038f97660012d9f42400562ea780005015429..."} 
[2026-08-25 18:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f97660012d9f42400562ea780005015429..."} 
[2026-08-25 18:22:44] local.INFO: Processing buffer {"connection_id":162147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f97660012d9f42400562ea780005015429..."} 
[2026-08-25 18:22:44] local.INFO: Packet analysis {"connection_id":162147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f9"} 
[2026-08-25 18:22:44] local.INFO: Extracted packet for processing {"connection_id":162147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f9"} 
[2026-08-25 18:22:44] local.INFO: GPS Element Parsed {"raw_longitude":765411904,"raw_latitude":90368632,"longitude_deg":76.5411904,"latitude_deg":9.0368632,"altitude":5,"angle":340,"satellites":41,"speed":39,"hex_longitude":"2d9f4240","hex_latitude":"0562ea78","is_valid_coordinates":true} 
[2026-08-25 18:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641538048001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123988129513209856,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6967561181619400704,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787662268000,"timestamp_ms":1787662268000,"timestamp_seconds":1787662268,"priority":1,"record_length":96,"hex_timestamp":"000001a038f97660"} 
[2026-08-25 18:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 18:22:44] 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-25 18:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641538048001,"66":13374,"247":206,"84":7168,"24":39,"16":123988129513209856,"45":-6967561181619400704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-25 18:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641538048001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:22:44] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123988129513209856,"km_value":123988129513209.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6967561181619400704,"description":"Unknown IO ID 45"} 
[2026-08-25 18:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641538048001,"power":13374,"internal_battery_voltage":206,"unknown_84":7168,"ignition":39,"odometer":null,"unknown_45":-6967561181619400704}} 
[2026-08-25 18:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":162147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:22:44] local.INFO: GPS data processed {"connection_id":162147,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:22:44] local.INFO: Acknowledgment sent {"connection_id":162147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:22:45] local.INFO: TCP Data received {"connection_id":162148,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:22:45] local.INFO: Processing buffer {"connection_id":162148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:22:45] local.INFO: Packet analysis {"connection_id":162148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:22:45] local.INFO: Extracted packet for processing {"connection_id":162148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641434624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787662155000,"timestamp_ms":1787662155000,"timestamp_seconds":1787662155,"priority":1,"record_length":96,"hex_timestamp":"000001a038f7bcf8"} 
[2026-08-25 18:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641434624001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641434624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641434624001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":162148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:22:45] local.INFO: GPS data processed {"connection_id":162148,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:22:45] local.INFO: Acknowledgment sent {"connection_id":162148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:23:00] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a038fa4950012d197700071fead0003a010f25..."} 
[2026-08-25 18:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fa4950012d197700071fead0003a010f25..."} 
[2026-08-25 18:23:00] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fa4950012d197700071fead0003a010f25..."} 
[2026-08-25 18:23:00] local.INFO: Packet analysis {"connection_id":161890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:23:00] local.INFO: Extracted packet for processing {"connection_id":161890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:23:00] local.INFO: GPS Element Parsed {"raw_longitude":756643584,"raw_latitude":119532240,"longitude_deg":75.6643584,"latitude_deg":11.953224,"altitude":58,"angle":271,"satellites":37,"speed":18,"hex_longitude":"2d197700","hex_latitude":"071fead0","is_valid_coordinates":true} 
[2026-08-25 18:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641553920001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009632329760768,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836061303683876864,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787662322000,"timestamp_ms":1787662322000,"timestamp_seconds":1787662322,"priority":1,"record_length":96,"hex_timestamp":"000001a038fa4950"} 
[2026-08-25 18:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:23:00] 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-25 18:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 18:23:00] 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-25 18:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641553920001,"66":14026,"102":206,"83":41984,"24":18,"16":16009632329760768,"45":1836061303683876864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-25 18:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641553920001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:23:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 18:23:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009632329760768,"km_value":16009632329760.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836061303683876864,"description":"Unknown IO ID 45"} 
[2026-08-25 18:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641553920001,"power":14026,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1836061303683876864}} 
[2026-08-25 18:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":161890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:23:00] local.INFO: GPS data processed {"connection_id":161890,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:23:00] local.INFO: Acknowledgment sent {"connection_id":161890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:23:16] local.INFO: TCP Data received {"connection_id":162147,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fb1470012d9e8b800563d000000c01392a..."} 
[2026-08-25 18:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fb1470012d9e8b800563d000000c01392a..."} 
[2026-08-25 18:23:16] local.INFO: Processing buffer {"connection_id":162147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fb1470012d9e8b800563d000000c01392a..."} 
[2026-08-25 18:23:16] local.INFO: Packet analysis {"connection_id":162147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fb"} 
[2026-08-25 18:23:16] local.INFO: Extracted packet for processing {"connection_id":162147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fb"} 
[2026-08-25 18:23:16] local.INFO: GPS Element Parsed {"raw_longitude":765365120,"raw_latitude":90427392,"longitude_deg":76.536512,"latitude_deg":9.0427392,"altitude":12,"angle":313,"satellites":42,"speed":27,"hex_longitude":"2d9e8b80","hex_latitude":"0563d000","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641564672001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123991913379397632,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7015411927643967488,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787662374000,"timestamp_ms":1787662374000,"timestamp_seconds":1787662374,"priority":1,"record_length":96,"hex_timestamp":"000001a038fb1470"} 
[2026-08-25 18: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-25 18:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 18:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641564672001,"66":13374,"109":206,"84":7168,"24":27,"16":123991913379397632,"45":-7015411927643967488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-08-25 18:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641564672001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:23:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 18:23:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123991913379397632,"km_value":123991913379397.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7015411927643967488,"description":"Unknown IO ID 45"} 
[2026-08-25 18:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641564672001,"power":13374,"unknown_109":206,"unknown_84":7168,"ignition":27,"odometer":null,"unknown_45":-7015411927643967488}} 
[2026-08-25 18:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":162147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:23:16] local.INFO: GPS data processed {"connection_id":162147,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:23:16] local.INFO: Acknowledgment sent {"connection_id":162147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:23:17] local.INFO: TCP Data received {"connection_id":162148,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:23:17] local.INFO: Processing buffer {"connection_id":162148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:23:17] local.INFO: Packet analysis {"connection_id":162148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:23:17] local.INFO: Extracted packet for processing {"connection_id":162148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641434624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787662155000,"timestamp_ms":1787662155000,"timestamp_seconds":1787662155,"priority":1,"record_length":96,"hex_timestamp":"000001a038f7bcf8"} 
[2026-08-25 18:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641434624001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641434624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641434624001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":162148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:23:17] local.INFO: GPS data processed {"connection_id":162148,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:23:17] local.INFO: Acknowledgment sent {"connection_id":162148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:23:39] local.INFO: TCP Data received {"connection_id":162149,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:23:39] local.INFO: Processing buffer {"connection_id":162149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:23:39] local.INFO: IMEI packet received {"connection_id":162149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":162149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:23:41] local.INFO: TCP Data received {"connection_id":163145,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:23:41] local.INFO: Processing buffer {"connection_id":163145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:23:41] local.INFO: IMEI packet received {"connection_id":163145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":163145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:23:45] local.INFO: TCP Data received {"connection_id":163145,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:23:45] local.INFO: Processing buffer {"connection_id":163145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:23:45] local.INFO: IMEI packet received {"connection_id":163145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":163145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:23:45] local.INFO: TCP Data received {"connection_id":162149,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:23:45] local.INFO: Processing buffer {"connection_id":162149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:23:45] local.INFO: IMEI packet received {"connection_id":162149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":162149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:23:46] local.INFO: TCP Data received {"connection_id":163145,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fb2be0012d9e80000563de78000c01442a..."} 
[2026-08-25 18:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fb2be0012d9e80000563de78000c01442a..."} 
[2026-08-25 18:23:46] local.INFO: Processing buffer {"connection_id":163145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fb2be0012d9e80000563de78000c01442a..."} 
[2026-08-25 18:23:46] local.INFO: Packet analysis {"connection_id":163145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fb"} 
[2026-08-25 18:23:46] local.INFO: Extracted packet for processing {"connection_id":163145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fb"} 
[2026-08-25 18:23:46] local.INFO: GPS Element Parsed {"raw_longitude":765362176,"raw_latitude":90431096,"longitude_deg":76.5362176,"latitude_deg":9.0431096,"altitude":12,"angle":324,"satellites":42,"speed":35,"hex_longitude":"2d9e8000","hex_latitude":"0563de78","is_valid_coordinates":true} 
[2026-08-25 18:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641567744001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123992145307631616,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7022378433316388864,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787662380000,"timestamp_ms":1787662380000,"timestamp_seconds":1787662380,"priority":1,"record_length":96,"hex_timestamp":"000001a038fb2be0"} 
[2026-08-25 18:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 18:23:46] 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-25 18:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641567744001,"66":13450,"109":206,"84":7168,"24":35,"16":123992145307631616,"45":-7022378433316388864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-08-25 18:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641567744001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:23:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 18:23:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123992145307631616,"km_value":123992145307631.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7022378433316388864,"description":"Unknown IO ID 45"} 
[2026-08-25 18:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641567744001,"power":13450,"unknown_109":206,"unknown_84":7168,"ignition":35,"odometer":null,"unknown_45":-7022378433316388864}} 
[2026-08-25 18:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":163145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:23:46] local.INFO: GPS data processed {"connection_id":163145,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:23:46] local.INFO: Acknowledgment sent {"connection_id":163145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:23:46] local.INFO: TCP Data received {"connection_id":162149,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:23:46] local.INFO: Processing buffer {"connection_id":162149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:23:46] local.INFO: Packet analysis {"connection_id":162149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:23:46] local.INFO: Extracted packet for processing {"connection_id":162149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641434624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787662155000,"timestamp_ms":1787662155000,"timestamp_seconds":1787662155,"priority":1,"record_length":96,"hex_timestamp":"000001a038f7bcf8"} 
[2026-08-25 18:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:23:46] 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-25 18:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641434624001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641434624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641434624001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":162149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:23:46] local.INFO: GPS data processed {"connection_id":162149,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:23:46] local.INFO: Acknowledgment sent {"connection_id":162149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:23:53] local.INFO: TCP Data received {"connection_id":164520,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:23:53] local.INFO: Processing buffer {"connection_id":164520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:23:53] local.INFO: IMEI packet received {"connection_id":164520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 18:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":164520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:24:17] local.INFO: TCP Data received {"connection_id":163145,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fb4b20012d9e72800563f738000b015129..."} 
[2026-08-25 18:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fb4b20012d9e72800563f738000b015129..."} 
[2026-08-25 18:24:17] local.INFO: Processing buffer {"connection_id":163145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fb4b20012d9e72800563f738000b015129..."} 
[2026-08-25 18:24:17] local.INFO: Packet analysis {"connection_id":163145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fb"} 
[2026-08-25 18:24:17] local.INFO: Extracted packet for processing {"connection_id":163145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fb"} 
[2026-08-25 18:24:17] local.INFO: GPS Element Parsed {"raw_longitude":765358720,"raw_latitude":90437432,"longitude_deg":76.535872,"latitude_deg":9.0437432,"altitude":11,"angle":337,"satellites":41,"speed":34,"hex_longitude":"2d9e7280","hex_latitude":"0563f738","is_valid_coordinates":true} 
[2026-08-25 18:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641569280001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123992493199982592,"note":"Value kept but may cause issues"} 
[2026-08-25 18:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7025615395547613184,"note":"Value kept but may cause issues"} 
[2026-08-25 18:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787662388000,"timestamp_ms":1787662388000,"timestamp_seconds":1787662388,"priority":1,"record_length":96,"hex_timestamp":"000001a038fb4b20"} 
[2026-08-25 18:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 18:24:17] 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-25 18:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641569280001,"66":13559,"109":206,"84":7168,"24":34,"16":123992493199982592,"45":-7025615395547613184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-08-25 18:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641569280001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:24:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 18:24:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123992493199982592,"km_value":123992493199982.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7025615395547613184,"description":"Unknown IO ID 45"} 
[2026-08-25 18:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641569280001,"power":13559,"unknown_109":206,"unknown_84":7168,"ignition":34,"odometer":null,"unknown_45":-7025615395547613184}} 
[2026-08-25 18:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":163145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:24:17] local.INFO: GPS data processed {"connection_id":163145,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:24:17] local.INFO: Acknowledgment sent {"connection_id":163145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:24:18] local.INFO: TCP Data received {"connection_id":162149,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:24:18] local.INFO: Processing buffer {"connection_id":162149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:24:18] local.INFO: Packet analysis {"connection_id":162149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:24:18] local.INFO: Extracted packet for processing {"connection_id":162149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641434624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:24:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787662155000,"timestamp_ms":1787662155000,"timestamp_seconds":1787662155,"priority":1,"record_length":96,"hex_timestamp":"000001a038f7bcf8"} 
[2026-08-25 18:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641434624001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641434624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641434624001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":162149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:24:18] local.INFO: GPS data processed {"connection_id":162149,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:24:18] local.INFO: Acknowledgment sent {"connection_id":162149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:24:39] local.INFO: TCP Data received {"connection_id":164521,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:24:39] local.INFO: Processing buffer {"connection_id":164521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:24:39] local.INFO: IMEI packet received {"connection_id":164521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":164521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:24:41] local.INFO: TCP Data received {"connection_id":162150,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:24:41] local.INFO: Processing buffer {"connection_id":162150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:24:41] local.INFO: IMEI packet received {"connection_id":162150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":162150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:24:44] local.INFO: TCP Data received {"connection_id":164521,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:24:44] local.INFO: Processing buffer {"connection_id":164521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:24:44] local.INFO: IMEI packet received {"connection_id":164521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":164521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:24:45] local.INFO: TCP Data received {"connection_id":162150,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:24:45] local.INFO: Processing buffer {"connection_id":162150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:24:45] local.INFO: IMEI packet received {"connection_id":162150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":162150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:24:45] local.INFO: TCP Data received {"connection_id":164521,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:24:45] local.INFO: Processing buffer {"connection_id":164521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038f7bcf8012d34c14006aa4818000100e62d..."} 
[2026-08-25 18:24:45] local.INFO: Packet analysis {"connection_id":164521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:24:45] local.INFO: Extracted packet for processing {"connection_id":164521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038f7"} 
[2026-08-25 18:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641434624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:24:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787662155000,"timestamp_ms":1787662155000,"timestamp_seconds":1787662155,"priority":1,"record_length":96,"hex_timestamp":"000001a038f7bcf8"} 
[2026-08-25 18: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-25 18:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:24:45] 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-25 18:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641434624001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641434624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641434624001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":164521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:24:45] local.INFO: GPS data processed {"connection_id":164521,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:24:45] local.INFO: Acknowledgment sent {"connection_id":164521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:24:46] local.INFO: TCP Data received {"connection_id":162150,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fb6290012d9e6d8005640a08000a015d28..."} 
[2026-08-25 18:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fb6290012d9e6d8005640a08000a015d28..."} 
[2026-08-25 18:24:46] local.INFO: Processing buffer {"connection_id":162150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fb6290012d9e6d8005640a08000a015d28..."} 
[2026-08-25 18:24:46] local.INFO: Packet analysis {"connection_id":162150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fb"} 
[2026-08-25 18:24:46] local.INFO: Extracted packet for processing {"connection_id":162150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fb"} 
[2026-08-25 18:24:46] local.INFO: GPS Element Parsed {"raw_longitude":765357440,"raw_latitude":90442248,"longitude_deg":76.535744,"latitude_deg":9.0442248,"altitude":10,"angle":349,"satellites":40,"speed":30,"hex_longitude":"2d9e6d80","hex_latitude":"05640a08","is_valid_coordinates":true} 
[2026-08-25 18:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641571328001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123992733718151168,"note":"Value kept but may cause issues"} 
[2026-08-25 18:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7029415307731585024,"note":"Value kept but may cause issues"} 
[2026-08-25 18:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787662394000,"timestamp_ms":1787662394000,"timestamp_seconds":1787662394,"priority":1,"record_length":96,"hex_timestamp":"000001a038fb6290"} 
[2026-08-25 18:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 18:24:46] 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-25 18:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641571328001,"66":13091,"109":206,"84":7168,"24":30,"16":123992733718151168,"45":-7029415307731585024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,84,24,16,45]} 
[2026-08-25 18:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641571328001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:24:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 18:24:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123992733718151168,"km_value":123992733718151.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7029415307731585024,"description":"Unknown IO ID 45"} 
[2026-08-25 18:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641571328001,"power":13091,"unknown_109":206,"unknown_84":7168,"ignition":30,"odometer":null,"unknown_45":-7029415307731585024}} 
[2026-08-25 18:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":162150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:24:46] local.INFO: GPS data processed {"connection_id":162150,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:24:46] local.INFO: Acknowledgment sent {"connection_id":162150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:25:17] local.INFO: TCP Data received {"connection_id":164521,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:25:17] local.INFO: Processing buffer {"connection_id":164521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:25:17] local.INFO: Packet analysis {"connection_id":164521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:25:17] local.INFO: Extracted packet for processing {"connection_id":164521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:25:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641511680001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:25:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787662456000,"timestamp_ms":1787662456000,"timestamp_seconds":1787662456,"priority":1,"record_length":96,"hex_timestamp":"000001a038fc54c0"} 
[2026-08-25 18: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-25 18:25: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-25 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641511680001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641511680001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:25:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641511680001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":164521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:25:17] local.INFO: GPS data processed {"connection_id":164521,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:25:17] local.INFO: Acknowledgment sent {"connection_id":164521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:25:18] local.INFO: TCP Data received {"connection_id":162150,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fbb0b0012d9e6bc005641cd80008016629..."} 
[2026-08-25 18:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fbb0b0012d9e6bc005641cd80008016629..."} 
[2026-08-25 18:25:18] local.INFO: Processing buffer {"connection_id":162150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fbb0b0012d9e6bc005641cd80008016629..."} 
[2026-08-25 18:25:18] local.INFO: Packet analysis {"connection_id":162150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fb"} 
[2026-08-25 18:25:18] local.INFO: Extracted packet for processing {"connection_id":162150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fb"} 
[2026-08-25 18:25:18] local.INFO: GPS Element Parsed {"raw_longitude":765356992,"raw_latitude":90447064,"longitude_deg":76.5356992,"latitude_deg":9.0447064,"altitude":8,"angle":358,"satellites":41,"speed":0,"hex_longitude":"2d9e6bc0","hex_latitude":"05641cd8","is_valid_coordinates":true} 
[2026-08-25 18:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641572864001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123992969941352448,"note":"Value kept but may cause issues"} 
[2026-08-25 18:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7030822682613905408,"note":"Value kept but may cause issues"} 
[2026-08-25 18:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787662414000,"timestamp_ms":1787662414000,"timestamp_seconds":1787662414,"priority":1,"record_length":96,"hex_timestamp":"000001a038fbb0b0"} 
[2026-08-25 18:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 18:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641572864001,"66":12906,"108":206,"84":7168,"24":0,"16":123992969941352448,"45":-7030822682613905408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-25 18:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641572864001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:25:18] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:25:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123992969941352448,"km_value":123992969941352.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7030822682613905408,"description":"Unknown IO ID 45"} 
[2026-08-25 18:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641572864001,"power":12906,"unknown_108":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7030822682613905408}} 
[2026-08-25 18:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":162150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:25:18] local.INFO: GPS data processed {"connection_id":162150,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:25:18] local.INFO: Acknowledgment sent {"connection_id":162150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:25:39] local.INFO: TCP Data received {"connection_id":162151,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:25:39] local.INFO: Processing buffer {"connection_id":162151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:25:39] local.INFO: IMEI packet received {"connection_id":162151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":162151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:25:40] local.INFO: TCP Data received {"connection_id":163146,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:25:40] local.INFO: Processing buffer {"connection_id":163146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:25:40] local.INFO: IMEI packet received {"connection_id":163146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":163146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:25:44] local.INFO: TCP Data received {"connection_id":162151,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:25:44] local.INFO: Processing buffer {"connection_id":162151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:25:44] local.INFO: IMEI packet received {"connection_id":162151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":162151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:25:45] local.INFO: TCP Data received {"connection_id":162151,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:25:45] local.INFO: Processing buffer {"connection_id":162151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:25:45] local.INFO: Packet analysis {"connection_id":162151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:25:45] local.INFO: Extracted packet for processing {"connection_id":162151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641511680001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:25:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787662456000,"timestamp_ms":1787662456000,"timestamp_seconds":1787662456,"priority":1,"record_length":96,"hex_timestamp":"000001a038fc54c0"} 
[2026-08-25 18:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:25:45] 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-25 18:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641511680001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641511680001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:25:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641511680001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":162151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:25:46] local.INFO: GPS data processed {"connection_id":162151,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:25:46] local.INFO: Acknowledgment sent {"connection_id":162151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:25:46] local.INFO: TCP Data received {"connection_id":163146,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:25:46] local.INFO: Processing buffer {"connection_id":163146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:25:46] local.INFO: IMEI packet received {"connection_id":163146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":163146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:25:47] local.INFO: TCP Data received {"connection_id":163146,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fbd3d8012d9e6bc0056421c80008000828..."} 
[2026-08-25 18:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fbd3d8012d9e6bc0056421c80008000828..."} 
[2026-08-25 18:25:47] local.INFO: Processing buffer {"connection_id":163146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fbd3d8012d9e6bc0056421c80008000828..."} 
[2026-08-25 18:25:47] local.INFO: Packet analysis {"connection_id":163146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fb"} 
[2026-08-25 18:25:47] local.INFO: Extracted packet for processing {"connection_id":163146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fb"} 
[2026-08-25 18:25:47] local.INFO: GPS Element Parsed {"raw_longitude":765356992,"raw_latitude":90448328,"longitude_deg":76.5356992,"latitude_deg":9.0448328,"altitude":8,"angle":8,"satellites":40,"speed":7,"hex_longitude":"2d9e6bc0","hex_latitude":"056421c8","is_valid_coordinates":true} 
[2026-08-25 18:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641577984001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123993030070894592,"note":"Value kept but may cause issues"} 
[2026-08-25 18:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7031315263821916160,"note":"Value kept but may cause issues"} 
[2026-08-25 18:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787662423000,"timestamp_ms":1787662423000,"timestamp_seconds":1787662423,"priority":1,"record_length":96,"hex_timestamp":"000001a038fbd3d8"} 
[2026-08-25 18:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-25 18:25:47] 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-25 18:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641577984001,"66":13363,"108":206,"84":7168,"24":7,"16":123993030070894592,"45":-7031315263821916160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-25 18:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641577984001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:25:47] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:25:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123993030070894592,"km_value":123993030070894.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7031315263821916160,"description":"Unknown IO ID 45"} 
[2026-08-25 18:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641577984001,"power":13363,"unknown_108":206,"unknown_84":7168,"ignition":7,"odometer":null,"unknown_45":-7031315263821916160}} 
[2026-08-25 18:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":163146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:25:47] local.INFO: GPS data processed {"connection_id":163146,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:25:47] local.INFO: Acknowledgment sent {"connection_id":163146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:26:18] local.INFO: TCP Data received {"connection_id":163146,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fdb838012d9e6c000564f4700014015f20..."} 
[2026-08-25 18:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fdb838012d9e6c000564f4700014015f20..."} 
[2026-08-25 18:26:18] local.INFO: Processing buffer {"connection_id":163146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fdb838012d9e6c000564f4700014015f20..."} 
[2026-08-25 18:26:18] local.INFO: Packet analysis {"connection_id":163146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fd"} 
[2026-08-25 18:26:18] local.INFO: Extracted packet for processing {"connection_id":163146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fd"} 
[2026-08-25 18:26:18] local.INFO: GPS Element Parsed {"raw_longitude":765357056,"raw_latitude":90502256,"longitude_deg":76.5357056,"latitude_deg":9.0502256,"altitude":20,"angle":351,"satellites":32,"speed":37,"hex_longitude":"2d9e6c00","hex_latitude":"0564f470","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641608704001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123995701540552704,"note":"Value kept but may cause issues"} 
[2026-08-25 18:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7030048626414843904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787662547000,"timestamp_ms":1787662547000,"timestamp_seconds":1787662547,"priority":1,"record_length":96,"hex_timestamp":"000001a038fdb838"} 
[2026-08-25 18: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-25 18: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-25 18: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 18:26: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-25 18: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-25 18: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-25 18:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641608704001,"66":13526,"108":206,"84":7168,"24":37,"16":123995701540552704,"45":-7030048626414843904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-25 18:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641608704001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:26:18] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-25 18:26:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-25 18:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123995701540552704,"km_value":123995701540552.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7030048626414843904,"description":"Unknown IO ID 45"} 
[2026-08-25 18:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641608704001,"power":13526,"unknown_108":206,"unknown_84":7168,"ignition":37,"odometer":null,"unknown_45":-7030048626414843904}} 
[2026-08-25 18:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":163146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:26:18] local.INFO: GPS data processed {"connection_id":163146,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:26:18] local.INFO: Acknowledgment sent {"connection_id":163146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:26:25] local.INFO: TCP Data received {"connection_id":162151,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:26:25] local.INFO: Processing buffer {"connection_id":162151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:26:25] local.INFO: Packet analysis {"connection_id":162151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:26:25] local.INFO: Extracted packet for processing {"connection_id":162151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641511680001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:26:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787662456000,"timestamp_ms":1787662456000,"timestamp_seconds":1787662456,"priority":1,"record_length":96,"hex_timestamp":"000001a038fc54c0"} 
[2026-08-25 18:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:26:25] 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-25 18:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641511680001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641511680001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641511680001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":162151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:26:25] local.INFO: GPS data processed {"connection_id":162151,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:26:25] local.INFO: Acknowledgment sent {"connection_id":162151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:26:40] local.INFO: TCP Data received {"connection_id":162152,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:26:40] local.INFO: Processing buffer {"connection_id":162152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:26:40] local.INFO: IMEI packet received {"connection_id":162152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":162152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:26:40] local.INFO: TCP Data received {"connection_id":164522,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:26:40] local.INFO: Processing buffer {"connection_id":164522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:26:40] local.INFO: IMEI packet received {"connection_id":164522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":164522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:26:44] local.INFO: TCP Data received {"connection_id":162152,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:26:44] local.INFO: Processing buffer {"connection_id":162152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:26:44] local.INFO: IMEI packet received {"connection_id":162152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":162152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:26:45] local.INFO: TCP Data received {"connection_id":162152,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:26:45] local.INFO: Processing buffer {"connection_id":162152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:26:45] local.INFO: Packet analysis {"connection_id":162152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:26:45] local.INFO: Extracted packet for processing {"connection_id":162152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641511680001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:26:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787662456000,"timestamp_ms":1787662456000,"timestamp_seconds":1787662456,"priority":1,"record_length":96,"hex_timestamp":"000001a038fc54c0"} 
[2026-08-25 18:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:26:45] 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-25 18:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641511680001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641511680001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641511680001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":162152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:26:45] local.INFO: GPS data processed {"connection_id":162152,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:26:45] local.INFO: Acknowledgment sent {"connection_id":162152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:26:48] local.INFO: TCP Data received {"connection_id":164522,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:26:48] local.INFO: Processing buffer {"connection_id":164522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:26:48] local.INFO: IMEI packet received {"connection_id":164522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":164522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:26:50] local.INFO: TCP Data received {"connection_id":164522,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fde330012d9e6640056517f0001701631d..."} 
[2026-08-25 18:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fde330012d9e6640056517f0001701631d..."} 
[2026-08-25 18:26:50] local.INFO: Processing buffer {"connection_id":164522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fde330012d9e6640056517f0001701631d..."} 
[2026-08-25 18:26:50] local.INFO: Packet analysis {"connection_id":164522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fd"} 
[2026-08-25 18:26:50] local.INFO: Extracted packet for processing {"connection_id":164522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fd"} 
[2026-08-25 18:26:50] local.INFO: GPS Element Parsed {"raw_longitude":765355584,"raw_latitude":90511344,"longitude_deg":76.5355584,"latitude_deg":9.0511344,"altitude":23,"angle":355,"satellites":29,"speed":26,"hex_longitude":"2d9e6640","hex_latitude":"056517f0","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641612032001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123996148217151488,"note":"Value kept but may cause issues"} 
[2026-08-25 18:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7031244895063609344,"note":"Value kept but may cause issues"} 
[2026-08-25 18:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787662558000,"timestamp_ms":1787662558000,"timestamp_seconds":1787662558,"priority":1,"record_length":96,"hex_timestamp":"000001a038fde330"} 
[2026-08-25 18: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-25 18:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 18:26: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-25 18: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-25 18: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-25 18:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641612032001,"66":13363,"199":206,"84":8448,"24":26,"16":123996148217151488,"45":-7031244895063609344},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,84,24,16,45]} 
[2026-08-25 18:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641612032001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:26:50] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-25 18:26:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123996148217151488,"km_value":123996148217151.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7031244895063609344,"description":"Unknown IO ID 45"} 
[2026-08-25 18:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641612032001,"power":13363,"trip_odometer":0.206,"unknown_84":8448,"ignition":26,"odometer":null,"unknown_45":-7031244895063609344}} 
[2026-08-25 18:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":164522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:26:50] local.INFO: GPS data processed {"connection_id":164522,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:26:50] local.INFO: Acknowledgment sent {"connection_id":164522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:27:26] local.INFO: TCP Data received {"connection_id":164522,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fe21b0012d9e624005653c98001901671c..."} 
[2026-08-25 18:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fe21b0012d9e624005653c98001901671c..."} 
[2026-08-25 18:27:26] local.INFO: Processing buffer {"connection_id":164522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fe21b0012d9e624005653c98001901671c..."} 
[2026-08-25 18:27:26] local.INFO: Packet analysis {"connection_id":164522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fe"} 
[2026-08-25 18:27:26] local.INFO: Extracted packet for processing {"connection_id":164522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fe"} 
[2026-08-25 18:27:26] local.INFO: GPS Element Parsed {"raw_longitude":765354560,"raw_latitude":90520728,"longitude_deg":76.535456,"latitude_deg":9.0520728,"altitude":25,"angle":359,"satellites":28,"speed":31,"hex_longitude":"2d9e6240","hex_latitude":"05653c98","is_valid_coordinates":true} 
[2026-08-25 18:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641614848001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123996607778652160,"note":"Value kept but may cause issues"} 
[2026-08-25 18:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7032863376177369088,"note":"Value kept but may cause issues"} 
[2026-08-25 18:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787662574000,"timestamp_ms":1787662574000,"timestamp_seconds":1787662574,"priority":1,"record_length":96,"hex_timestamp":"000001a038fe21b0"} 
[2026-08-25 18:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:27: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-25 18:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 18:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641614848001,"66":13515,"199":206,"84":8448,"24":31,"16":123996607778652160,"45":-7032863376177369088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,84,24,16,45]} 
[2026-08-25 18:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641614848001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:27:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-25 18:27:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123996607778652160,"km_value":123996607778652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7032863376177369088,"description":"Unknown IO ID 45"} 
[2026-08-25 18:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641614848001,"power":13515,"trip_odometer":0.206,"unknown_84":8448,"ignition":31,"odometer":null,"unknown_45":-7032863376177369088}} 
[2026-08-25 18:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":164522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:27:26] local.INFO: GPS data processed {"connection_id":164522,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:27:26] local.INFO: Acknowledgment sent {"connection_id":164522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:27:27] local.INFO: TCP Data received {"connection_id":162152,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:27:27] local.INFO: Processing buffer {"connection_id":162152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:27:27] local.INFO: Packet analysis {"connection_id":162152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:27:27] local.INFO: Extracted packet for processing {"connection_id":162152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:27:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641511680001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:27:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787662456000,"timestamp_ms":1787662456000,"timestamp_seconds":1787662456,"priority":1,"record_length":96,"hex_timestamp":"000001a038fc54c0"} 
[2026-08-25 18: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-25 18:27:27] 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-25 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641511680001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641511680001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:27:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641511680001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":162152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:27:27] local.INFO: GPS data processed {"connection_id":162152,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:27:27] local.INFO: Acknowledgment sent {"connection_id":162152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:27:40] local.INFO: TCP Data received {"connection_id":162153,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:27:40] local.INFO: Processing buffer {"connection_id":162153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:27:40] local.INFO: IMEI packet received {"connection_id":162153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":162153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:27:44] local.INFO: TCP Data received {"connection_id":161891,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:27:44] local.INFO: Processing buffer {"connection_id":161891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:27:44] local.INFO: IMEI packet received {"connection_id":161891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":161891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:27:46] local.INFO: TCP Data received {"connection_id":162153,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:27:46] local.INFO: Processing buffer {"connection_id":162153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:27:46] local.INFO: IMEI packet received {"connection_id":162153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":162153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:27:46] local.INFO: TCP Data received {"connection_id":162153,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fe4ca8012d9e5f40056562480016016121..."} 
[2026-08-25 18:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fe4ca8012d9e5f40056562480016016121..."} 
[2026-08-25 18:27:46] local.INFO: Processing buffer {"connection_id":162153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fe4ca8012d9e5f40056562480016016121..."} 
[2026-08-25 18:27:46] local.INFO: Packet analysis {"connection_id":162153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fe"} 
[2026-08-25 18:27:46] local.INFO: Extracted packet for processing {"connection_id":162153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fe"} 
[2026-08-25 18:27:46] local.INFO: GPS Element Parsed {"raw_longitude":765353792,"raw_latitude":90530376,"longitude_deg":76.5353792,"latitude_deg":9.0530376,"altitude":22,"angle":353,"satellites":33,"speed":36,"hex_longitude":"2d9e5f40","hex_latitude":"05656248","is_valid_coordinates":true} 
[2026-08-25 18:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641618944001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123997075930087424,"note":"Value kept but may cause issues"} 
[2026-08-25 18:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033989276081809408,"note":"Value kept but may cause issues"} 
[2026-08-25 18:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787662585000,"timestamp_ms":1787662585000,"timestamp_seconds":1787662585,"priority":1,"record_length":96,"hex_timestamp":"000001a038fe4ca8"} 
[2026-08-25 18:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 18:27:46] 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-25 18:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641618944001,"66":13526,"95":206,"84":8448,"24":36,"16":123997075930087424,"45":-7033989276081809408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-25 18:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641618944001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:27:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 18:27:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123997075930087424,"km_value":123997075930087.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033989276081809408,"description":"Unknown IO ID 45"} 
[2026-08-25 18:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641618944001,"power":13526,"unknown_95":206,"unknown_84":8448,"ignition":36,"odometer":null,"unknown_45":-7033989276081809408}} 
[2026-08-25 18:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":162153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:27:46] local.INFO: GPS data processed {"connection_id":162153,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:27:46] local.INFO: Acknowledgment sent {"connection_id":162153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:28:14] local.INFO: TCP Data received {"connection_id":163148,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:28:14] local.INFO: Processing buffer {"connection_id":163148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:28:14] local.INFO: IMEI packet received {"connection_id":163148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":163148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:28:19] local.INFO: TCP Data received {"connection_id":163148,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:28:19] local.INFO: Processing buffer {"connection_id":163148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:28:19] local.INFO: IMEI packet received {"connection_id":163148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":163148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:28:20] local.INFO: TCP Data received {"connection_id":163148,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:28:20] local.INFO: Processing buffer {"connection_id":163148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:28:20] local.INFO: Packet analysis {"connection_id":163148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:28:20] local.INFO: Extracted packet for processing {"connection_id":163148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 18:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641511680001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787662456000,"timestamp_ms":1787662456000,"timestamp_seconds":1787662456,"priority":1,"record_length":96,"hex_timestamp":"000001a038fc54c0"} 
[2026-08-25 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-25 18:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 18:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:28:20] 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-25 18:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641511680001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641511680001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641511680001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":163148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:28:20] local.INFO: GPS data processed {"connection_id":163148,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:28:20] local.INFO: Acknowledgment sent {"connection_id":163148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:28:21] local.INFO: TCP Data received {"connection_id":162153,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fe77a0012d9e598005658468001701601f..."} 
[2026-08-25 18:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fe77a0012d9e598005658468001701601f..."} 
[2026-08-25 18:28:21] local.INFO: Processing buffer {"connection_id":162153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fe77a0012d9e598005658468001701601f..."} 
[2026-08-25 18:28:21] local.INFO: Packet analysis {"connection_id":162153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fe"} 
[2026-08-25 18:28:21] local.INFO: Extracted packet for processing {"connection_id":162153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fe"} 
[2026-08-25 18:28:21] local.INFO: GPS Element Parsed {"raw_longitude":765352320,"raw_latitude":90539112,"longitude_deg":76.535232,"latitude_deg":9.0539112,"altitude":23,"angle":352,"satellites":31,"speed":28,"hex_longitude":"2d9e5980","hex_latitude":"05658468","is_valid_coordinates":true} 
[2026-08-25 18:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641621760001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123997509721784320,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7034833701009471488,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787662596000,"timestamp_ms":1787662596000,"timestamp_seconds":1787662596,"priority":1,"record_length":96,"hex_timestamp":"000001a038fe77a0"} 
[2026-08-25 18:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 18:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641621760001,"66":13450,"95":206,"84":8448,"24":28,"16":123997509721784320,"45":-7034833701009471488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-25 18:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641621760001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:28:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 18:28:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123997509721784320,"km_value":123997509721784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7034833701009471488,"description":"Unknown IO ID 45"} 
[2026-08-25 18:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641621760001,"power":13450,"unknown_95":206,"unknown_84":8448,"ignition":28,"odometer":null,"unknown_45":-7034833701009471488}} 
[2026-08-25 18:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":162153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:28:22] local.INFO: GPS data processed {"connection_id":162153,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:28:22] local.INFO: Acknowledgment sent {"connection_id":162153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:28:28] local.INFO: TCP Data received {"connection_id":164523,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:28:28] local.INFO: Processing buffer {"connection_id":164523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:28:28] local.INFO: IMEI packet received {"connection_id":164523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":164523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:28:33] local.INFO: TCP Data received {"connection_id":164523,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:28:33] local.INFO: Processing buffer {"connection_id":164523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:28:33] local.INFO: IMEI packet received {"connection_id":164523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":164523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:28:34] local.INFO: TCP Data received {"connection_id":164523,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038fa6c78012d196c40071fecc8003a010123..."} 
[2026-08-25 18:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fa6c78012d196c40071fecc8003a010123..."} 
[2026-08-25 18:28:34] local.INFO: Processing buffer {"connection_id":164523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fa6c78012d196c40071fecc8003a010123..."} 
[2026-08-25 18:28:34] local.INFO: Packet analysis {"connection_id":164523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:28:34] local.INFO: Extracted packet for processing {"connection_id":164523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756640832,"raw_latitude":119532744,"longitude_deg":75.6640832,"latitude_deg":11.9532744,"altitude":58,"angle":257,"satellites":35,"speed":9,"hex_longitude":"2d196c40","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-08-25 18:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641554432001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009765473746944,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834935403777019904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787662331000,"timestamp_ms":1787662331000,"timestamp_seconds":1787662331,"priority":1,"record_length":96,"hex_timestamp":"000001a038fa6c78"} 
[2026-08-25 18:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-25 18:28:34] 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-25 18:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:28: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-25 18:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641554432001,"66":14428,"102":206,"83":41984,"24":9,"16":16009765473746944,"45":1834935403777019904},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-25 18:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641554432001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:28:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 18:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009765473746944,"km_value":16009765473746.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834935403777019904,"description":"Unknown IO ID 45"} 
[2026-08-25 18:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641554432001,"power":14428,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1834935403777019904}} 
[2026-08-25 18:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":164523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:28:34] local.INFO: GPS data processed {"connection_id":164523,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:28:34] local.INFO: Acknowledgment sent {"connection_id":164523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:28:39] local.INFO: TCP Data received {"connection_id":164523,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038fa7448012d196a80071fec88003a011224..."} 
[2026-08-25 18:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fa7448012d196a80071fec88003a011224..."} 
[2026-08-25 18:28:39] local.INFO: Processing buffer {"connection_id":164523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fa7448012d196a80071fec88003a011224..."} 
[2026-08-25 18:28:39] local.INFO: Packet analysis {"connection_id":164523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:28:39] local.INFO: Extracted packet for processing {"connection_id":164523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:28:39] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119532680,"longitude_deg":75.6640384,"latitude_deg":11.953268,"altitude":58,"angle":274,"satellites":36,"speed":8,"hex_longitude":"2d196a80","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-08-25 18:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641556736001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009791243550720,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831909547777509376,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28: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-25 18:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787662333000,"timestamp_ms":1787662333000,"timestamp_seconds":1787662333,"priority":1,"record_length":96,"hex_timestamp":"000001a038fa7448"} 
[2026-08-25 18:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-25 18:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:28: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-25 18:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641556736001,"66":13515,"102":206,"83":41984,"24":8,"16":16009791243550720,"45":1831909547777509376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-25 18:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641556736001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:28:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 18:28:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009791243550720,"km_value":16009791243550.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831909547777509376,"description":"Unknown IO ID 45"} 
[2026-08-25 18:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641556736001,"power":13515,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1831909547777509376}} 
[2026-08-25 18:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":164523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:28:39] local.INFO: GPS data processed {"connection_id":164523,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:28:39] local.INFO: Acknowledgment sent {"connection_id":164523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:28:44] local.INFO: TCP Data received {"connection_id":163149,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:28:44] local.INFO: Processing buffer {"connection_id":163149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:28:44] local.INFO: IMEI packet received {"connection_id":163149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":163149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:28:45] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:28:45] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:28:45] local.INFO: IMEI packet received {"connection_id":162154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":162154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:28:49] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:28:49] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:28:49] local.INFO: IMEI packet received {"connection_id":162154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":162154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:28:49] local.INFO: TCP Data received {"connection_id":163149,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:28:49] local.INFO: Processing buffer {"connection_id":163149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:28:49] local.INFO: IMEI packet received {"connection_id":163149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":163149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:28:50] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fea298012d9e56c00565a8480017016620..."} 
[2026-08-25 18:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fea298012d9e56c00565a8480017016620..."} 
[2026-08-25 18:28:50] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fea298012d9e56c00565a8480017016620..."} 
[2026-08-25 18:28:50] local.INFO: Packet analysis {"connection_id":162154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fe"} 
[2026-08-25 18:28:50] local.INFO: Extracted packet for processing {"connection_id":162154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fe"} 
[2026-08-25 18:28:50] local.INFO: GPS Element Parsed {"raw_longitude":765351616,"raw_latitude":90548296,"longitude_deg":76.5351616,"latitude_deg":9.0548296,"altitude":23,"angle":358,"satellites":32,"speed":27,"hex_longitude":"2d9e56c0","hex_latitude":"0565a848","is_valid_coordinates":true} 
[2026-08-25 18:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641624576001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123997956398383104,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7036452182123321344,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787662607000,"timestamp_ms":1787662607000,"timestamp_seconds":1787662607,"priority":1,"record_length":96,"hex_timestamp":"000001a038fea298"} 
[2026-08-25 18:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 18:28:50] 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-25 18:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641624576001,"66":13428,"95":206,"84":8448,"24":27,"16":123997956398383104,"45":-7036452182123321344},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-25 18:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641624576001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:28:50] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 18:28:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123997956398383104,"km_value":123997956398383.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7036452182123321344,"description":"Unknown IO ID 45"} 
[2026-08-25 18:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641624576001,"power":13428,"unknown_95":206,"unknown_84":8448,"ignition":27,"odometer":null,"unknown_45":-7036452182123321344}} 
[2026-08-25 18:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":162154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:28:50] local.INFO: GPS data processed {"connection_id":162154,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:28:50] local.INFO: Acknowledgment sent {"connection_id":162154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:28:50] local.INFO: TCP Data received {"connection_id":163149,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:28:50] local.INFO: Processing buffer {"connection_id":163149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:28:50] local.INFO: Packet analysis {"connection_id":163149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:28:50] local.INFO: Extracted packet for processing {"connection_id":163149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:28:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641511680001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787662456000,"timestamp_ms":1787662456000,"timestamp_seconds":1787662456,"priority":1,"record_length":96,"hex_timestamp":"000001a038fc54c0"} 
[2026-08-25 18:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:28: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-25 18:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641511680001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641511680001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:28:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641511680001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":163149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:28:50] local.INFO: GPS data processed {"connection_id":163149,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:28:50] local.INFO: Acknowledgment sent {"connection_id":163149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:28:51] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fec9a8012d9e57800565b8600013000b20..."} 
[2026-08-25 18:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fec9a8012d9e57800565b8600013000b20..."} 
[2026-08-25 18:28:51] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fec9a8012d9e57800565b8600013000b20..."} 
[2026-08-25 18:28:51] local.INFO: Packet analysis {"connection_id":162154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fe"} 
[2026-08-25 18:28:51] local.INFO: Extracted packet for processing {"connection_id":162154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fe"} 
[2026-08-25 18:28:51] local.INFO: GPS Element Parsed {"raw_longitude":765351808,"raw_latitude":90552416,"longitude_deg":76.5351808,"latitude_deg":9.0552416,"altitude":19,"angle":11,"satellites":32,"speed":6,"hex_longitude":"2d9e5780","hex_latitude":"0565b860","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641627392001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123998158261846016,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7037226238306924544,"note":"Value kept but may cause issues"} 
[2026-08-25 18:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787662617000,"timestamp_ms":1787662617000,"timestamp_seconds":1787662617,"priority":1,"record_length":96,"hex_timestamp":"000001a038fec9a8"} 
[2026-08-25 18: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-25 18:28: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-25 18: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 18:28:51] 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-25 18: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-25 18: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-25 18:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641627392001,"66":13254,"95":206,"84":8448,"24":6,"16":123998158261846016,"45":-7037226238306924544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-25 18:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641627392001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:28:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 18:28:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123998158261846016,"km_value":123998158261846.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7037226238306924544,"description":"Unknown IO ID 45"} 
[2026-08-25 18:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641627392001,"power":13254,"unknown_95":206,"unknown_84":8448,"ignition":6,"odometer":null,"unknown_45":-7037226238306924544}} 
[2026-08-25 18:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":162154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:28:51] local.INFO: GPS data processed {"connection_id":162154,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:28:51] local.INFO: Acknowledgment sent {"connection_id":162154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:29:23] local.INFO: TCP Data received {"connection_id":163149,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:29:23] local.INFO: Processing buffer {"connection_id":163149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:29:23] local.INFO: Packet analysis {"connection_id":163149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:29:23] local.INFO: Extracted packet for processing {"connection_id":163149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:29:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641511680001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787662456000,"timestamp_ms":1787662456000,"timestamp_seconds":1787662456,"priority":1,"record_length":96,"hex_timestamp":"000001a038fc54c0"} 
[2026-08-25 18:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:29:23] 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-25 18:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:29: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-25 18:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641511680001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641511680001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:29:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641511680001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":163149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:29:23] local.INFO: GPS data processed {"connection_id":163149,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:29:23] local.INFO: Acknowledgment sent {"connection_id":163149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:29:23] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038fed948012d9e57400565bc600012016721..."} 
[2026-08-25 18:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fed948012d9e57400565bc600012016721..."} 
[2026-08-25 18:29:23] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fed948012d9e57400565bc600012016721..."} 
[2026-08-25 18:29:23] local.INFO: Packet analysis {"connection_id":162154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fe"} 
[2026-08-25 18:29:23] local.INFO: Extracted packet for processing {"connection_id":162154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fe"} 
[2026-08-25 18:29:23] local.INFO: GPS Element Parsed {"raw_longitude":765351744,"raw_latitude":90553440,"longitude_deg":76.5351744,"latitude_deg":9.055344,"altitude":18,"angle":359,"satellites":33,"speed":17,"hex_longitude":"2d9e5740","hex_latitude":"0565bc60","is_valid_coordinates":true} 
[2026-08-25 18:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641629952001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123998205506486272,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7037015132073336832,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787662621000,"timestamp_ms":1787662621000,"timestamp_seconds":1787662621,"priority":1,"record_length":96,"hex_timestamp":"000001a038fed948"} 
[2026-08-25 18:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:29: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-25 18:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 18:29:23] 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-25 18:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641629952001,"66":13602,"95":206,"84":8448,"24":17,"16":123998205506486272,"45":-7037015132073336832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-25 18:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641629952001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:29:23] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 18:29:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123998205506486272,"km_value":123998205506486.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7037015132073336832,"description":"Unknown IO ID 45"} 
[2026-08-25 18:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641629952001,"power":13602,"unknown_95":206,"unknown_84":8448,"ignition":17,"odometer":null,"unknown_45":-7037015132073336832}} 
[2026-08-25 18:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":162154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:29:23] local.INFO: GPS data processed {"connection_id":162154,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:29:23] local.INFO: Acknowledgment sent {"connection_id":162154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:29:23] local.INFO: TCP Data received {"connection_id":163150,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:29:23] local.INFO: Processing buffer {"connection_id":163150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:29:23] local.INFO: IMEI packet received {"connection_id":163150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":163150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:29:24] local.INFO: TCP Data received {"connection_id":163147,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:29:24] local.INFO: Processing buffer {"connection_id":163147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:29:24] local.INFO: IMEI packet received {"connection_id":163147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 18:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":163147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:29:28] local.INFO: TCP Data received {"connection_id":163150,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:29:28] local.INFO: Processing buffer {"connection_id":163150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:29:28] local.INFO: IMEI packet received {"connection_id":163150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":163150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:29:29] local.INFO: TCP Data received {"connection_id":163150,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038fac650012d196900071fecc0003b011a25..."} 
[2026-08-25 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fac650012d196900071fecc0003b011a25..."} 
[2026-08-25 18:29:29] local.INFO: Processing buffer {"connection_id":163150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fac650012d196900071fecc0003b011a25..."} 
[2026-08-25 18:29:29] local.INFO: Packet analysis {"connection_id":163150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:29:29] local.INFO: Extracted packet for processing {"connection_id":163150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532736,"longitude_deg":75.664,"latitude_deg":11.9532736,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-08-25 18:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641557248001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568249344,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787662354000,"timestamp_ms":1787662354000,"timestamp_seconds":1787662354,"priority":1,"record_length":96,"hex_timestamp":"000001a038fac650"} 
[2026-08-25 18:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:29:29] 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-25 18:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 18:29:29] 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-25 18:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641557248001,"66":13243,"102":206,"83":41984,"24":0,"16":16009808423419904,"45":1831416966568249344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-25 18:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641557248001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:29:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 18:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568249344,"description":"Unknown IO ID 45"} 
[2026-08-25 18:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641557248001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831416966568249344}} 
[2026-08-25 18:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":163150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:29:29] local.INFO: GPS data processed {"connection_id":163150,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:29:29] local.INFO: Acknowledgment sent {"connection_id":163150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:29:41] local.INFO: TCP Data received {"connection_id":162155,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:29:41] local.INFO: Processing buffer {"connection_id":162155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:29:41] local.INFO: IMEI packet received {"connection_id":162155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":162155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:29:41] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:29:41] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:29:41] local.INFO: IMEI packet received {"connection_id":161892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":161892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:29:42] local.INFO: TCP Data received {"connection_id":162155,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:29:42] local.INFO: Processing buffer {"connection_id":162155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:29:42] local.INFO: IMEI packet received {"connection_id":162155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":162155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:29:44] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:29:44] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:29:44] local.INFO: IMEI packet received {"connection_id":161892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":161892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:29:46] local.INFO: TCP Data received {"connection_id":162155,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:29:46] local.INFO: Processing buffer {"connection_id":162155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:29:46] local.INFO: IMEI packet received {"connection_id":162155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":162155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:29:46] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:29:46] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038fc54c0012d34c14006aa4818000800e62c..."} 
[2026-08-25 18:29:46] local.INFO: Packet analysis {"connection_id":161892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:29:46] local.INFO: Extracted packet for processing {"connection_id":161892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fc"} 
[2026-08-25 18:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641511680001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787662456000,"timestamp_ms":1787662456000,"timestamp_seconds":1787662456,"priority":1,"record_length":96,"hex_timestamp":"000001a038fc54c0"} 
[2026-08-25 18:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 18:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:29:46] 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-25 18:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641511680001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641511680001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:29:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641511680001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":161892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:29:46] local.INFO: GPS data processed {"connection_id":161892,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:29:46] local.INFO: Acknowledgment sent {"connection_id":161892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:29:47] local.INFO: TCP Data received {"connection_id":162155,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038ff2768012d9e56c00565d9800014000525..."} 
[2026-08-25 18:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ff2768012d9e56c00565d9800014000525..."} 
[2026-08-25 18:29:47] local.INFO: Processing buffer {"connection_id":162155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ff2768012d9e56c00565d9800014000525..."} 
[2026-08-25 18:29:47] local.INFO: Packet analysis {"connection_id":162155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ff"} 
[2026-08-25 18:29:47] local.INFO: Extracted packet for processing {"connection_id":162155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ff"} 
[2026-08-25 18:29:47] local.INFO: GPS Element Parsed {"raw_longitude":765351616,"raw_latitude":90560896,"longitude_deg":76.5351616,"latitude_deg":9.0560896,"altitude":20,"angle":5,"satellites":37,"speed":13,"hex_longitude":"2d9e56c0","hex_latitude":"0565d980","is_valid_coordinates":true} 
[2026-08-25 18:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641630976001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123998570578706432,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7037085500817252352,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787662641000,"timestamp_ms":1787662641000,"timestamp_seconds":1787662641,"priority":1,"record_length":96,"hex_timestamp":"000001a038ff2768"} 
[2026-08-25 18:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:29: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-25 18:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-25 18:29:47] 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-25 18:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641630976001,"66":13406,"95":206,"84":8448,"24":13,"16":123998570578706432,"45":-7037085500817252352},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-25 18:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641630976001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:29:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-25 18:29:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123998570578706432,"km_value":123998570578706.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7037085500817252352,"description":"Unknown IO ID 45"} 
[2026-08-25 18:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641630976001,"power":13406,"unknown_95":206,"unknown_84":8448,"ignition":13,"odometer":null,"unknown_45":-7037085500817252352}} 
[2026-08-25 18:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":162155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:29:47] local.INFO: GPS data processed {"connection_id":162155,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:29:47] local.INFO: Acknowledgment sent {"connection_id":162155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:29:51] local.INFO: TCP Data received {"connection_id":162155,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038ff6200012d9e59000565fe080014000224..."} 
[2026-08-25 18:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ff6200012d9e59000565fe080014000224..."} 
[2026-08-25 18:29:51] local.INFO: Processing buffer {"connection_id":162155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ff6200012d9e59000565fe080014000224..."} 
[2026-08-25 18:29:51] local.INFO: Packet analysis {"connection_id":162155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ff"} 
[2026-08-25 18:29:51] local.INFO: Extracted packet for processing {"connection_id":162155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ff"} 
[2026-08-25 18:29:51] local.INFO: GPS Element Parsed {"raw_longitude":765352192,"raw_latitude":90570248,"longitude_deg":76.5352192,"latitude_deg":9.0570248,"altitude":20,"angle":2,"satellites":36,"speed":31,"hex_longitude":"2d9e5900","hex_latitude":"0565fe08","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641636096001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123999025845239808,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7037226238303698944,"note":"Value kept but may cause issues"} 
[2026-08-25 18:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787662656000,"timestamp_ms":1787662656000,"timestamp_seconds":1787662656,"priority":1,"record_length":96,"hex_timestamp":"000001a038ff6200"} 
[2026-08-25 18: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-25 18: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-25 18:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 18:29:51] 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-25 18: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-25 18: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-25 18:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641636096001,"66":13515,"96":206,"84":8448,"24":31,"16":123999025845239808,"45":-7037226238303698944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 18:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641636096001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:29:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 18:29:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123999025845239808,"km_value":123999025845239.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7037226238303698944,"description":"Unknown IO ID 45"} 
[2026-08-25 18:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641636096001,"power":13515,"unknown_96":206,"unknown_84":8448,"ignition":31,"odometer":null,"unknown_45":-7037226238303698944}} 
[2026-08-25 18:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":162155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:29:52] local.INFO: GPS data processed {"connection_id":162155,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:29:52] local.INFO: Acknowledgment sent {"connection_id":162155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:30:00] local.INFO: TCP Data received {"connection_id":163150,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038faca38012d196900071fecc0003b011a25..."} 
[2026-08-25 18:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038faca38012d196900071fecc0003b011a25..."} 
[2026-08-25 18:30:00] local.INFO: Processing buffer {"connection_id":163150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038faca38012d196900071fecc0003b011a25..."} 
[2026-08-25 18:30:00] local.INFO: Packet analysis {"connection_id":163150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:30:00] local.INFO: Extracted packet for processing {"connection_id":163150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:30:00] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532736,"longitude_deg":75.664,"latitude_deg":11.9532736,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-08-25 18:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641562624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103197696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787662355000,"timestamp_ms":1787662355000,"timestamp_seconds":1787662355,"priority":1,"record_length":96,"hex_timestamp":"000001a038faca38"} 
[2026-08-25 18:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:30:00] 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-25 18:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:30:00] 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-25 18:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641562624001,"66":13243,"102":206,"83":41984,"24":0,"16":16009808423419904,"45":1830994754103197696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-25 18:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641562624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:30:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 18:30:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103197696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641562624001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103197696}} 
[2026-08-25 18:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":163150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:30:00] local.INFO: GPS data processed {"connection_id":163150,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:30:00] local.INFO: Acknowledgment sent {"connection_id":163150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:30:17] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:30:17] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:30:17] local.INFO: Packet analysis {"connection_id":161892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:30:17] local.INFO: Extracted packet for processing {"connection_id":161892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641588736001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787662757000,"timestamp_ms":1787662757000,"timestamp_seconds":1787662757,"priority":1,"record_length":96,"hex_timestamp":"000001a03900ec88"} 
[2026-08-25 18:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:30: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-25 18:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:30:17] 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-25 18:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641588736001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641588736001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641588736001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":161892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:30:17] local.INFO: GPS data processed {"connection_id":161892,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:30:17] local.INFO: Acknowledgment sent {"connection_id":161892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:30:23] local.INFO: TCP Data received {"connection_id":162155,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038ff8cf8012d9e5c4005662108001400051c..."} 
[2026-08-25 18:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ff8cf8012d9e5c4005662108001400051c..."} 
[2026-08-25 18:30:23] local.INFO: Processing buffer {"connection_id":162155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ff8cf8012d9e5c4005662108001400051c..."} 
[2026-08-25 18:30:23] local.INFO: Packet analysis {"connection_id":162155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ff"} 
[2026-08-25 18:30:23] local.INFO: Extracted packet for processing {"connection_id":162155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ff"} 
[2026-08-25 18:30:23] local.INFO: GPS Element Parsed {"raw_longitude":765353024,"raw_latitude":90579208,"longitude_deg":76.5353024,"latitude_deg":9.0579208,"altitude":20,"angle":5,"satellites":28,"speed":32,"hex_longitude":"2d9e5c40","hex_latitude":"05662108","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641639936001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123999459636936704,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7036592919603705856,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787662667000,"timestamp_ms":1787662667000,"timestamp_seconds":1787662667,"priority":1,"record_length":96,"hex_timestamp":"000001a038ff8cf8"} 
[2026-08-25 18: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-25 18:30: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-25 18:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-25 18:30:23] 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-25 18: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-25 18: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-25 18:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641639936001,"66":13472,"96":206,"84":8448,"24":32,"16":123999459636936704,"45":-7036592919603705856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 18:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641639936001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:30:23] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 18:30:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123999459636936704,"km_value":123999459636936.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7036592919603705856,"description":"Unknown IO ID 45"} 
[2026-08-25 18:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641639936001,"power":13472,"unknown_96":206,"unknown_84":8448,"ignition":32,"odometer":null,"unknown_45":-7036592919603705856}} 
[2026-08-25 18:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":162155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:30:23] local.INFO: GPS data processed {"connection_id":162155,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:30:23] local.INFO: Acknowledgment sent {"connection_id":162155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:30:38] local.INFO: TCP Data received {"connection_id":164524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:30:38] local.INFO: Processing buffer {"connection_id":164524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:30:38] local.INFO: IMEI packet received {"connection_id":164524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":164524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:30:39] local.INFO: TCP Data received {"connection_id":163151,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:30:39] local.INFO: Processing buffer {"connection_id":163151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:30:39] local.INFO: IMEI packet received {"connection_id":163151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":163151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:30:40] local.INFO: TCP Data received {"connection_id":164524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:30:40] local.INFO: Processing buffer {"connection_id":164524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:30:40] local.INFO: IMEI packet received {"connection_id":164524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":164524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:30:44] local.INFO: TCP Data received {"connection_id":163151,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:30:44] local.INFO: Processing buffer {"connection_id":163151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:30:44] local.INFO: IMEI packet received {"connection_id":163151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":163151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:30:45] local.INFO: TCP Data received {"connection_id":163151,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:30:45] local.INFO: Processing buffer {"connection_id":163151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:30:45] local.INFO: Packet analysis {"connection_id":163151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:30:45] local.INFO: Extracted packet for processing {"connection_id":163151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641588736001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787662757000,"timestamp_ms":1787662757000,"timestamp_seconds":1787662757,"priority":1,"record_length":96,"hex_timestamp":"000001a03900ec88"} 
[2026-08-25 18:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:30:45] 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-25 18:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:30:45] 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-25 18:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641588736001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641588736001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641588736001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":163151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:30:45] local.INFO: GPS data processed {"connection_id":163151,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:30:45] local.INFO: Acknowledgment sent {"connection_id":163151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:30:45] local.INFO: TCP Data received {"connection_id":164524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:30:45] local.INFO: Processing buffer {"connection_id":164524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:30:45] local.INFO: IMEI packet received {"connection_id":164524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":164524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:30:47] local.INFO: TCP Data received {"connection_id":164524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a038ffbfc0012d9e5f0005664590001301661f..."} 
[2026-08-25 18:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038ffbfc0012d9e5f0005664590001301661f..."} 
[2026-08-25 18:30:47] local.INFO: Processing buffer {"connection_id":164524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038ffbfc0012d9e5f0005664590001301661f..."} 
[2026-08-25 18:30:47] local.INFO: Packet analysis {"connection_id":164524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038ff"} 
[2026-08-25 18:30:47] local.INFO: Extracted packet for processing {"connection_id":164524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038ff"} 
[2026-08-25 18:30:47] local.INFO: GPS Element Parsed {"raw_longitude":765353728,"raw_latitude":90588560,"longitude_deg":76.5353728,"latitude_deg":9.058856,"altitude":19,"angle":358,"satellites":31,"speed":26,"hex_longitude":"2d9e5f00","hex_latitude":"05664590","is_valid_coordinates":true} 
[2026-08-25 18:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641642752001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":123999914903470080,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7035678125927102464,"note":"Value kept but may cause issues"} 
[2026-08-25 18:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787662680000,"timestamp_ms":1787662680000,"timestamp_seconds":1787662680,"priority":1,"record_length":96,"hex_timestamp":"000001a038ffbfc0"} 
[2026-08-25 18:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:30: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-25 18:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-25 18:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641642752001,"66":13472,"96":206,"84":8448,"24":26,"16":123999914903470080,"45":-7035678125927102464},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,84,24,16,45]} 
[2026-08-25 18:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641642752001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:30:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-25 18:30:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":123999914903470080,"km_value":123999914903470.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7035678125927102464,"description":"Unknown IO ID 45"} 
[2026-08-25 18:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641642752001,"power":13472,"unknown_96":206,"unknown_84":8448,"ignition":26,"odometer":null,"unknown_45":-7035678125927102464}} 
[2026-08-25 18:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":164524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:30:47] local.INFO: GPS data processed {"connection_id":164524,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:30:47] local.INFO: Acknowledgment sent {"connection_id":164524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:31:17] local.INFO: TCP Data received {"connection_id":163151,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:31:17] local.INFO: Processing buffer {"connection_id":163151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:31:17] local.INFO: Packet analysis {"connection_id":163151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:31:17] local.INFO: Extracted packet for processing {"connection_id":163151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641588736001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787662757000,"timestamp_ms":1787662757000,"timestamp_seconds":1787662757,"priority":1,"record_length":96,"hex_timestamp":"000001a03900ec88"} 
[2026-08-25 18:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:31: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-25 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:31:17] 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-25 18:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641588736001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641588736001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641588736001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":163151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:31:17] local.INFO: GPS data processed {"connection_id":163151,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:31:17] local.INFO: Acknowledgment sent {"connection_id":163151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:31:18] local.INFO: TCP Data received {"connection_id":164524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039026770012d9e2f000567d868000f016727..."} 
[2026-08-25 18:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039026770012d9e2f000567d868000f016727..."} 
[2026-08-25 18:31:18] local.INFO: Processing buffer {"connection_id":164524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039026770012d9e2f000567d868000f016727..."} 
[2026-08-25 18:31:18] local.INFO: Packet analysis {"connection_id":164524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03902"} 
[2026-08-25 18:31:18] local.INFO: Extracted packet for processing {"connection_id":164524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03902"} 
[2026-08-25 18:31:18] local.INFO: GPS Element Parsed {"raw_longitude":765341440,"raw_latitude":90691688,"longitude_deg":76.534144,"latitude_deg":9.0691688,"altitude":15,"angle":359,"satellites":39,"speed":43,"hex_longitude":"2d9e2f00","hex_latitude":"0567d868","is_valid_coordinates":true} 
[2026-08-25 18:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641688576001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124004970079977472,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047992656131827712,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787662854000,"timestamp_ms":1787662854000,"timestamp_seconds":1787662854,"priority":1,"record_length":96,"hex_timestamp":"000001a039026770"} 
[2026-08-25 18:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 18:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641688576001,"66":13374,"112":206,"84":8448,"24":43,"16":124004970079977472,"45":-7047992656131827712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-25 18:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641688576001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:31:18] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 18:31:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124004970079977472,"km_value":124004970079977.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047992656131827712,"description":"Unknown IO ID 45"} 
[2026-08-25 18:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641688576001,"power":13374,"unknown_112":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7047992656131827712}} 
[2026-08-25 18:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":164524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:31:18] local.INFO: GPS data processed {"connection_id":164524,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:31:18] local.INFO: Acknowledgment sent {"connection_id":164524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:31:33] local.INFO: TCP Data received {"connection_id":164525,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:31:33] local.INFO: Processing buffer {"connection_id":164525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:31:33] local.INFO: IMEI packet received {"connection_id":164525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":164525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:31:38] local.INFO: TCP Data received {"connection_id":164525,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:31:38] local.INFO: Processing buffer {"connection_id":164525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:31:38] local.INFO: IMEI packet received {"connection_id":164525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":164525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:31:39] local.INFO: TCP Data received {"connection_id":164525,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038faca38012d196900071fecc0003b011a25..."} 
[2026-08-25 18:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038faca38012d196900071fecc0003b011a25..."} 
[2026-08-25 18:31:39] local.INFO: Processing buffer {"connection_id":164525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038faca38012d196900071fecc0003b011a25..."} 
[2026-08-25 18:31:39] local.INFO: Packet analysis {"connection_id":164525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:31:39] local.INFO: Extracted packet for processing {"connection_id":164525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:31:39] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532736,"longitude_deg":75.664,"latitude_deg":11.9532736,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-08-25 18:31: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-25 18:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641562880001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103197696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787662355000,"timestamp_ms":1787662355000,"timestamp_seconds":1787662355,"priority":1,"record_length":96,"hex_timestamp":"000001a038faca38"} 
[2026-08-25 18:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:31:39] 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-25 18:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:31: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-25 18:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:31: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-25 18:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641562880001,"66":13243,"102":206,"83":41984,"24":0,"16":16009808423419904,"45":1830994754103197696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-25 18:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641562880001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:31:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 18:31:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103197696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641562880001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103197696}} 
[2026-08-25 18:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":164525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:31:39] local.INFO: GPS data processed {"connection_id":164525,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:31:39] local.INFO: Acknowledgment sent {"connection_id":164525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:31:40] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:31:40] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:31:40] local.INFO: IMEI packet received {"connection_id":161893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":161893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:31:40] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:31:40] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:31:40] local.INFO: IMEI packet received {"connection_id":161894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":161894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:31:45] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:31:45] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:31:45] local.INFO: IMEI packet received {"connection_id":161893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":161893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:31:46] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:31:46] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:31:46] local.INFO: IMEI packet received {"connection_id":161894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":161894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:31:47] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:31:47] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:31:47] local.INFO: Packet analysis {"connection_id":161893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:31:47] local.INFO: Extracted packet for processing {"connection_id":161893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641588736001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787662757000,"timestamp_ms":1787662757000,"timestamp_seconds":1787662757,"priority":1,"record_length":96,"hex_timestamp":"000001a03900ec88"} 
[2026-08-25 18:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:31:47] 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-25 18:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:31:47] local.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-25 18:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641588736001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641588736001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641588736001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":161893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:31:47] local.INFO: GPS data processed {"connection_id":161893,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:31:47] local.INFO: Acknowledgment sent {"connection_id":161893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:31:47] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039028a98012d9e2d800567fec0000f016527..."} 
[2026-08-25 18:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039028a98012d9e2d800567fec0000f016527..."} 
[2026-08-25 18:31:47] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039028a98012d9e2d800567fec0000f016527..."} 
[2026-08-25 18:31:47] local.INFO: Packet analysis {"connection_id":161894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03902"} 
[2026-08-25 18:31:47] local.INFO: Extracted packet for processing {"connection_id":161894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03902"} 
[2026-08-25 18:31:47] local.INFO: GPS Element Parsed {"raw_longitude":765341056,"raw_latitude":90701504,"longitude_deg":76.5341056,"latitude_deg":9.0701504,"altitude":15,"angle":357,"satellites":39,"speed":44,"hex_longitude":"2d9e2d80","hex_latitude":"0567fec0","is_valid_coordinates":true} 
[2026-08-25 18:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641690624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124005446821347328,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7048414868594464768,"note":"Value kept but may cause issues"} 
[2026-08-25 18:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787662863000,"timestamp_ms":1787662863000,"timestamp_seconds":1787662863,"priority":1,"record_length":96,"hex_timestamp":"000001a039028a98"} 
[2026-08-25 18:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:31: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-25 18:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 18:31:47] 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-25 18:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641690624001,"66":13254,"112":206,"84":8448,"24":44,"16":124005446821347328,"45":-7048414868594464768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-25 18:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641690624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:31:47] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 18:31:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124005446821347328,"km_value":124005446821347.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7048414868594464768,"description":"Unknown IO ID 45"} 
[2026-08-25 18:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641690624001,"power":13254,"unknown_112":206,"unknown_84":8448,"ignition":44,"odometer":null,"unknown_45":-7048414868594464768}} 
[2026-08-25 18:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":161894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:31:47] local.INFO: GPS data processed {"connection_id":161894,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:31:47] local.INFO: Acknowledgment sent {"connection_id":161894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:32:23] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03902b978012d9e2c80056822000010000028..."} 
[2026-08-25 18:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03902b978012d9e2c80056822000010000028..."} 
[2026-08-25 18:32:23] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03902b978012d9e2c80056822000010000028..."} 
[2026-08-25 18:32:23] local.INFO: Packet analysis {"connection_id":161894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03902"} 
[2026-08-25 18:32:23] local.INFO: Extracted packet for processing {"connection_id":161894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03902"} 
[2026-08-25 18:32:23] local.INFO: GPS Element Parsed {"raw_longitude":765340800,"raw_latitude":90710528,"longitude_deg":76.53408,"latitude_deg":9.0710528,"altitude":16,"angle":0,"satellites":40,"speed":17,"hex_longitude":"2d9e2c80","hex_latitude":"05682200","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641692928001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124005884908011520,"note":"Value kept but may cause issues"} 
[2026-08-25 18:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7048837081057017856,"note":"Value kept but may cause issues"} 
[2026-08-25 18:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787662875000,"timestamp_ms":1787662875000,"timestamp_seconds":1787662875,"priority":1,"record_length":96,"hex_timestamp":"000001a03902b978"} 
[2026-08-25 18: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-25 18:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 18:32:23] 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-25 18: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-25 18: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-25 18:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641692928001,"66":13341,"112":206,"84":8448,"24":17,"16":124005884908011520,"45":-7048837081057017856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-25 18:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641692928001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:32:23] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 18:32:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124005884908011520,"km_value":124005884908011.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7048837081057017856,"description":"Unknown IO ID 45"} 
[2026-08-25 18:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641692928001,"power":13341,"unknown_112":206,"unknown_84":8448,"ignition":17,"odometer":null,"unknown_45":-7048837081057017856}} 
[2026-08-25 18:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":161894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:32:23] local.INFO: GPS data processed {"connection_id":161894,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:32:23] local.INFO: Acknowledgment sent {"connection_id":161894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:32:23] local.INFO: TCP Data received {"connection_id":164526,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:32:23] local.INFO: Processing buffer {"connection_id":164526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:32:23] local.INFO: IMEI packet received {"connection_id":164526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":164526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:32:29] local.INFO: TCP Data received {"connection_id":164526,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:32:29] local.INFO: Processing buffer {"connection_id":164526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:32:29] local.INFO: IMEI packet received {"connection_id":164526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":164526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:32:29] local.INFO: TCP Data received {"connection_id":164526,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a038faca38012d196900071fecc0003b011a25..."} 
[2026-08-25 18:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a038faca38012d196900071fecc0003b011a25..."} 
[2026-08-25 18:32:29] local.INFO: Processing buffer {"connection_id":164526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a038faca38012d196900071fecc0003b011a25..."} 
[2026-08-25 18:32:29] local.INFO: Packet analysis {"connection_id":164526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:32:29] local.INFO: Extracted packet for processing {"connection_id":164526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a038fa"} 
[2026-08-25 18:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532736,"longitude_deg":75.664,"latitude_deg":11.9532736,"altitude":59,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-08-25 18:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641562880001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103197696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787662355000,"timestamp_ms":1787662355000,"timestamp_seconds":1787662355,"priority":1,"record_length":96,"hex_timestamp":"000001a038faca38"} 
[2026-08-25 18:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:32:29] 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-25 18:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641562880001,"66":13243,"102":206,"83":41984,"24":0,"16":16009808423419904,"45":1830994754103197696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-25 18:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641562880001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:32:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-25 18:32:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103197696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641562880001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103197696}} 
[2026-08-25 18:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":164526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:32:29] local.INFO: GPS data processed {"connection_id":164526,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:32:29] local.INFO: Acknowledgment sent {"connection_id":164526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:32:45] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:32:45] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:32:45] local.INFO: Packet analysis {"connection_id":161893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:32:45] local.INFO: Extracted packet for processing {"connection_id":161893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641588736001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:32:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787662757000,"timestamp_ms":1787662757000,"timestamp_seconds":1787662757,"priority":1,"record_length":96,"hex_timestamp":"000001a03900ec88"} 
[2026-08-25 18:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:32:45] 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-25 18:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641588736001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641588736001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641588736001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":161893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:32:45] local.INFO: GPS data processed {"connection_id":161893,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:32:45] local.INFO: Acknowledgment sent {"connection_id":161893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:32:56] local.INFO: TCP Data received {"connection_id":163152,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:32:56] local.INFO: Processing buffer {"connection_id":163152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:32:56] local.INFO: IMEI packet received {"connection_id":163152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":163152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:32:57] local.INFO: TCP Data received {"connection_id":163153,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:32:57] local.INFO: Processing buffer {"connection_id":163153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:32:57] local.INFO: IMEI packet received {"connection_id":163153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":163153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:32:59] local.INFO: TCP Data received {"connection_id":163152,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:32:59] local.INFO: Processing buffer {"connection_id":163152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:32:59] local.INFO: IMEI packet received {"connection_id":163152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":163152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:33:00] local.INFO: TCP Data received {"connection_id":164526,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:33:00] local.INFO: Processing buffer {"connection_id":164526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:33:00] local.INFO: Packet analysis {"connection_id":164526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:33:00] local.INFO: Extracted packet for processing {"connection_id":164526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641562880001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103197696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787662921000,"timestamp_ms":1787662921000,"timestamp_seconds":1787662921,"priority":1,"record_length":96,"hex_timestamp":"000001a039036d28"} 
[2026-08-25 18:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:33:00] 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-25 18:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641562880001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830994754103197696},"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-25 18:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641562880001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:33:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:33:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103197696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641562880001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103197696}} 
[2026-08-25 18:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":164526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:33:00] local.INFO: GPS data processed {"connection_id":164526,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:33:00] local.INFO: Acknowledgment sent {"connection_id":164526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:33:01] local.INFO: TCP Data received {"connection_id":163153,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:33:01] local.INFO: Processing buffer {"connection_id":163153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:33:01] local.INFO: IMEI packet received {"connection_id":163153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":163153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:33:01] local.INFO: TCP Data received {"connection_id":163153,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039030b80012d9e29c005684140000f015f28..."} 
[2026-08-25 18:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039030b80012d9e29c005684140000f015f28..."} 
[2026-08-25 18:33:01] local.INFO: Processing buffer {"connection_id":163153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039030b80012d9e29c005684140000f015f28..."} 
[2026-08-25 18:33:01] local.INFO: Packet analysis {"connection_id":163153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:33:01] local.INFO: Extracted packet for processing {"connection_id":163153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:33:01] local.INFO: GPS Element Parsed {"raw_longitude":765340096,"raw_latitude":90718528,"longitude_deg":76.5340096,"latitude_deg":9.0718528,"altitude":15,"angle":351,"satellites":40,"speed":22,"hex_longitude":"2d9e29c0","hex_latitude":"05684140","is_valid_coordinates":true} 
[2026-08-25 18:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641696000001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124006275750035456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7049118556031418368,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787662896000,"timestamp_ms":1787662896000,"timestamp_seconds":1787662896,"priority":1,"record_length":96,"hex_timestamp":"000001a039030b80"} 
[2026-08-25 18:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-25 18:33:01] 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-25 18:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641696000001,"66":13363,"112":206,"84":8448,"24":22,"16":124006275750035456,"45":-7049118556031418368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-25 18:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641696000001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:33:01] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-25 18:33:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124006275750035456,"km_value":124006275750035.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7049118556031418368,"description":"Unknown IO ID 45"} 
[2026-08-25 18:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641696000001,"power":13363,"unknown_112":206,"unknown_84":8448,"ignition":22,"odometer":null,"unknown_45":-7049118556031418368}} 
[2026-08-25 18:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":163153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:33:01] local.INFO: GPS data processed {"connection_id":163153,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:33:01] local.INFO: Acknowledgment sent {"connection_id":163153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:33:04] local.INFO: TCP Data received {"connection_id":163153,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039033a60012d9e218005686430000f015a27..."} 
[2026-08-25 18:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039033a60012d9e218005686430000f015a27..."} 
[2026-08-25 18:33:04] local.INFO: Processing buffer {"connection_id":163153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039033a60012d9e218005686430000f015a27..."} 
[2026-08-25 18:33:04] local.INFO: Packet analysis {"connection_id":163153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:33:04] local.INFO: Extracted packet for processing {"connection_id":163153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:33:04] local.INFO: GPS Element Parsed {"raw_longitude":765337984,"raw_latitude":90727472,"longitude_deg":76.5337984,"latitude_deg":9.0727472,"altitude":15,"angle":346,"satellites":39,"speed":32,"hex_longitude":"2d9e2180","hex_latitude":"05686430","is_valid_coordinates":true} 
[2026-08-25 18:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641701376001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124006722426634240,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7049892612215324672,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787662908000,"timestamp_ms":1787662908000,"timestamp_seconds":1787662908,"priority":1,"record_length":96,"hex_timestamp":"000001a039033a60"} 
[2026-08-25 18:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:33: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-25 18:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 18:33: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-25 18:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641701376001,"66":13428,"118":206,"84":8448,"24":32,"16":124006722426634240,"45":-7049892612215324672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-25 18:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641701376001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:33:04] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-25 18:33:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124006722426634240,"km_value":124006722426634.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7049892612215324672,"description":"Unknown IO ID 45"} 
[2026-08-25 18:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641701376001,"power":13428,"unknown_118":206,"unknown_84":8448,"ignition":32,"odometer":null,"unknown_45":-7049892612215324672}} 
[2026-08-25 18:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":163153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:33:04] local.INFO: GPS data processed {"connection_id":163153,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:33:04] local.INFO: Acknowledgment sent {"connection_id":163153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:33:04] local.INFO: TCP Data received {"connection_id":163152,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:33:04] local.INFO: Processing buffer {"connection_id":163152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:33:04] local.INFO: Packet analysis {"connection_id":163152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:33:04] local.INFO: Extracted packet for processing {"connection_id":163152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641588736001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787662757000,"timestamp_ms":1787662757000,"timestamp_seconds":1787662757,"priority":1,"record_length":96,"hex_timestamp":"000001a03900ec88"} 
[2026-08-25 18:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:33:04] 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-25 18:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:33:04] 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-25 18:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641588736001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641588736001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641588736001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":163152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:33:04] local.INFO: GPS data processed {"connection_id":163152,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:33:04] local.INFO: Acknowledgment sent {"connection_id":163152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:33:08] local.INFO: TCP Data received {"connection_id":163152,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:33:08] local.INFO: Processing buffer {"connection_id":163152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:33:08] local.INFO: Packet analysis {"connection_id":163152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:33:08] local.INFO: Extracted packet for processing {"connection_id":163152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641588736001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787662757000,"timestamp_ms":1787662757000,"timestamp_seconds":1787662757,"priority":1,"record_length":96,"hex_timestamp":"000001a03900ec88"} 
[2026-08-25 18: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-25 18:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:33: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-25 18: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-25 18: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-25 18:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641588736001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641588736001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641588736001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":163152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:33:08] local.INFO: GPS data processed {"connection_id":163152,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:33:08] local.INFO: Acknowledgment sent {"connection_id":163152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:33:23] local.INFO: TCP Data received {"connection_id":162156,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:33:23] local.INFO: Processing buffer {"connection_id":162156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:33:23] local.INFO: IMEI packet received {"connection_id":162156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":162156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:33:28] local.INFO: TCP Data received {"connection_id":162156,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:33:28] local.INFO: Processing buffer {"connection_id":162156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:33:28] local.INFO: IMEI packet received {"connection_id":162156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":162156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:33:29] local.INFO: TCP Data received {"connection_id":162156,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:33:29] local.INFO: Processing buffer {"connection_id":162156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:33:29] local.INFO: Packet analysis {"connection_id":162156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:33:29] local.INFO: Extracted packet for processing {"connection_id":162156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641562880001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103197696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787662921000,"timestamp_ms":1787662921000,"timestamp_seconds":1787662921,"priority":1,"record_length":96,"hex_timestamp":"000001a039036d28"} 
[2026-08-25 18:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:33:29] 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-25 18:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641562880001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830994754103197696},"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-25 18:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641562880001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:33:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103197696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641562880001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103197696}} 
[2026-08-25 18:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":162156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:33:29] local.INFO: GPS data processed {"connection_id":162156,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:33:29] local.INFO: Acknowledgment sent {"connection_id":162156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:33:39] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:33:39] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:33:39] local.INFO: IMEI packet received {"connection_id":161896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":161896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:33:40] local.INFO: TCP Data received {"connection_id":162157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:33:40] local.INFO: Processing buffer {"connection_id":162157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:33:40] local.INFO: IMEI packet received {"connection_id":162157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":162157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:33:46] local.INFO: TCP Data received {"connection_id":162157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:33:46] local.INFO: Processing buffer {"connection_id":162157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:33:46] local.INFO: IMEI packet received {"connection_id":162157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":162157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:33:46] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:33:46] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:33:46] local.INFO: IMEI packet received {"connection_id":161896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":161896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:33:46] local.INFO: TCP Data received {"connection_id":162157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039036558012d9e18c005688778000f015827..."} 
[2026-08-25 18:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039036558012d9e18c005688778000f015827..."} 
[2026-08-25 18:33:46] local.INFO: Processing buffer {"connection_id":162157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039036558012d9e18c005688778000f015827..."} 
[2026-08-25 18:33:46] local.INFO: Packet analysis {"connection_id":162157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:33:46] local.INFO: Extracted packet for processing {"connection_id":162157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:33:46] local.INFO: GPS Element Parsed {"raw_longitude":765335744,"raw_latitude":90736504,"longitude_deg":76.5335744,"latitude_deg":9.0736504,"altitude":15,"angle":344,"satellites":39,"speed":31,"hex_longitude":"2d9e18c0","hex_latitude":"05688778","is_valid_coordinates":true} 
[2026-08-25 18:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641704448001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124007173398200320,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7052214780770897920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787662919000,"timestamp_ms":1787662919000,"timestamp_seconds":1787662919,"priority":1,"record_length":96,"hex_timestamp":"000001a039036558"} 
[2026-08-25 18:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:33: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-25 18:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 18:33: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-25 18:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641704448001,"66":13559,"118":206,"84":8448,"24":31,"16":124007173398200320,"45":-7052214780770897920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-25 18:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641704448001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:33:46] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-25 18:33:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124007173398200320,"km_value":124007173398200.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7052214780770897920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641704448001,"power":13559,"unknown_118":206,"unknown_84":8448,"ignition":31,"odometer":null,"unknown_45":-7052214780770897920}} 
[2026-08-25 18:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":162157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:33:47] local.INFO: GPS data processed {"connection_id":162157,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:33:47] local.INFO: Acknowledgment sent {"connection_id":162157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:33:51] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:33:51] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:33:51] local.INFO: Packet analysis {"connection_id":161896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:33:51] local.INFO: Extracted packet for processing {"connection_id":161896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641588736001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787662757000,"timestamp_ms":1787662757000,"timestamp_seconds":1787662757,"priority":1,"record_length":96,"hex_timestamp":"000001a03900ec88"} 
[2026-08-25 18: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-25 18:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:33:51] 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-25 18: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-25 18: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-25 18:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641588736001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641588736001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641588736001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":161896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:33:51] local.INFO: GPS data processed {"connection_id":161896,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:33:51] local.INFO: Acknowledgment sent {"connection_id":161896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:34:00] local.INFO: TCP Data received {"connection_id":162156,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:34:00] local.INFO: Processing buffer {"connection_id":162156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:34:00] local.INFO: Packet analysis {"connection_id":162156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:34:00] local.INFO: Extracted packet for processing {"connection_id":162156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641562880001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103197696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787662921000,"timestamp_ms":1787662921000,"timestamp_seconds":1787662921,"priority":1,"record_length":96,"hex_timestamp":"000001a039036d28"} 
[2026-08-25 18: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-25 18:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:34:00] 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-25 18: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-25 18: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-25 18:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641562880001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830994754103197696},"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-25 18:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641562880001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:34:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103197696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641562880001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103197696}} 
[2026-08-25 18:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":162156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:34:00] local.INFO: GPS data processed {"connection_id":162156,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:34:00] local.INFO: Acknowledgment sent {"connection_id":162156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:34:17] local.INFO: TCP Data received {"connection_id":162157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039039ff0012d9e0d400568a978000f014f28..."} 
[2026-08-25 18:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039039ff0012d9e0d400568a978000f014f28..."} 
[2026-08-25 18:34:17] local.INFO: Processing buffer {"connection_id":162157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039039ff0012d9e0d400568a978000f014f28..."} 
[2026-08-25 18:34:17] local.INFO: Packet analysis {"connection_id":162157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:34:17] local.INFO: Extracted packet for processing {"connection_id":162157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:34:17] local.INFO: GPS Element Parsed {"raw_longitude":765332800,"raw_latitude":90745208,"longitude_deg":76.53328,"latitude_deg":9.0745208,"altitude":15,"angle":335,"satellites":40,"speed":20,"hex_longitude":"2d9e0d40","hex_latitude":"0568a978","is_valid_coordinates":true} 
[2026-08-25 18:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641707264001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124007620074799104,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7054677686814803968,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787662934000,"timestamp_ms":1787662934000,"timestamp_seconds":1787662934,"priority":1,"record_length":96,"hex_timestamp":"000001a039039ff0"} 
[2026-08-25 18:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:34: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-25 18:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-25 18:34:17] 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-25 18:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641707264001,"66":13678,"118":206,"84":8448,"24":20,"16":124007620074799104,"45":-7054677686814803968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-25 18:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641707264001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:34:17] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-25 18:34:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124007620074799104,"km_value":124007620074799.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7054677686814803968,"description":"Unknown IO ID 45"} 
[2026-08-25 18:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641707264001,"power":13678,"unknown_118":206,"unknown_84":8448,"ignition":20,"odometer":null,"unknown_45":-7054677686814803968}} 
[2026-08-25 18:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":162157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:34:17] local.INFO: GPS data processed {"connection_id":162157,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:34:17] local.INFO: Acknowledgment sent {"connection_id":162157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:34:23] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:34:23] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:34:23] local.INFO: Packet analysis {"connection_id":161896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:34:23] local.INFO: Extracted packet for processing {"connection_id":161896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:34:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641588736001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787662757000,"timestamp_ms":1787662757000,"timestamp_seconds":1787662757,"priority":1,"record_length":96,"hex_timestamp":"000001a03900ec88"} 
[2026-08-25 18: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-25 18:34:23] 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-25 18:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641588736001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641588736001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:34:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641588736001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":161896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:34:23] local.INFO: GPS data processed {"connection_id":161896,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:34:23] local.INFO: Acknowledgment sent {"connection_id":161896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:34:23] local.INFO: TCP Data received {"connection_id":164527,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:34:23] local.INFO: Processing buffer {"connection_id":164527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:34:23] local.INFO: IMEI packet received {"connection_id":164527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":164527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:34:28] local.INFO: TCP Data received {"connection_id":164527,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:34:28] local.INFO: Processing buffer {"connection_id":164527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:34:28] local.INFO: IMEI packet received {"connection_id":164527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":164527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:34:29] local.INFO: TCP Data received {"connection_id":164527,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:34:29] local.INFO: Processing buffer {"connection_id":164527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:34:29] local.INFO: Packet analysis {"connection_id":164527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:34:29] local.INFO: Extracted packet for processing {"connection_id":164527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:34:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641562880001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103197696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787662921000,"timestamp_ms":1787662921000,"timestamp_seconds":1787662921,"priority":1,"record_length":96,"hex_timestamp":"000001a039036d28"} 
[2026-08-25 18:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:34:29] 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-25 18:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641562880001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830994754103197696},"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-25 18:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641562880001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:34:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:34:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103197696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641562880001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103197696}} 
[2026-08-25 18:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":164527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:34:29] local.INFO: GPS data processed {"connection_id":164527,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:34:29] local.INFO: Acknowledgment sent {"connection_id":164527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:34:39] local.INFO: TCP Data received {"connection_id":162158,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:34:39] local.INFO: Processing buffer {"connection_id":162158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:34:39] local.INFO: IMEI packet received {"connection_id":162158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":162158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:34:44] local.INFO: TCP Data received {"connection_id":162158,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:34:44] local.INFO: Processing buffer {"connection_id":162158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:34:44] local.INFO: IMEI packet received {"connection_id":162158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":162158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:34:45] local.INFO: TCP Data received {"connection_id":162159,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:34:45] local.INFO: Processing buffer {"connection_id":162159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:34:45] local.INFO: IMEI packet received {"connection_id":162159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":162159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:34:46] local.INFO: TCP Data received {"connection_id":162159,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:34:46] local.INFO: Processing buffer {"connection_id":162159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:34:46] local.INFO: IMEI packet received {"connection_id":162159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":162159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:34:47] local.INFO: TCP Data received {"connection_id":162158,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:34:47] local.INFO: Processing buffer {"connection_id":162158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03900ec88012d34c14006aa4818000600e62c..."} 
[2026-08-25 18:34:47] local.INFO: Packet analysis {"connection_id":162158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:34:47] local.INFO: Extracted packet for processing {"connection_id":162158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03900"} 
[2026-08-25 18:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641588736001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787662757000,"timestamp_ms":1787662757000,"timestamp_seconds":1787662757,"priority":1,"record_length":96,"hex_timestamp":"000001a03900ec88"} 
[2026-08-25 18:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:34:47] 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-25 18:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641588736001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641588736001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641588736001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":162158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:34:47] local.INFO: GPS data processed {"connection_id":162158,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:34:47] local.INFO: Acknowledgment sent {"connection_id":162158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:34:47] local.INFO: TCP Data received {"connection_id":162159,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039058c20012d9d9c400569cbd8000e000a27..."} 
[2026-08-25 18:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039058c20012d9d9c400569cbd8000e000a27..."} 
[2026-08-25 18:34:47] local.INFO: Processing buffer {"connection_id":162159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039058c20012d9d9c400569cbd8000e000a27..."} 
[2026-08-25 18:34:47] local.INFO: Packet analysis {"connection_id":162159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:34:47] local.INFO: Extracted packet for processing {"connection_id":162159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:34:47] local.INFO: GPS Element Parsed {"raw_longitude":765303872,"raw_latitude":90819544,"longitude_deg":76.5303872,"latitude_deg":9.0819544,"altitude":14,"angle":10,"satellites":39,"speed":29,"hex_longitude":"2d9d9c40","hex_latitude":"0569cbd8","is_valid_coordinates":true} 
[2026-08-25 18:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641742848001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124011515610136576,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7089791690138554368,"note":"Value kept but may cause issues"} 
[2026-08-25 18:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787663060000,"timestamp_ms":1787663060000,"timestamp_seconds":1787663060,"priority":1,"record_length":96,"hex_timestamp":"000001a039058c20"} 
[2026-08-25 18:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-25 18:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641742848001,"66":13526,"195":206,"84":8448,"24":29,"16":124011515610136576,"45":-7089791690138554368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 18:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641742848001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:34:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 18:34:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124011515610136576,"km_value":124011515610136.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7089791690138554368,"description":"Unknown IO ID 45"} 
[2026-08-25 18:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641742848001,"power":13526,"unknown_195":206,"unknown_84":8448,"ignition":29,"odometer":null,"unknown_45":-7089791690138554368}} 
[2026-08-25 18:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":162159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:34:47] local.INFO: GPS data processed {"connection_id":162159,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:34:47] local.INFO: Acknowledgment sent {"connection_id":162159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:34:55] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:34:55] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:34:55] local.INFO: IMEI packet received {"connection_id":161895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 18:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":161895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:35:00] local.INFO: TCP Data received {"connection_id":164527,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:35:00] local.INFO: Processing buffer {"connection_id":164527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:35:00] local.INFO: Packet analysis {"connection_id":164527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:35:00] local.INFO: Extracted packet for processing {"connection_id":164527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:35:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641562880001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103197696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787662921000,"timestamp_ms":1787662921000,"timestamp_seconds":1787662921,"priority":1,"record_length":96,"hex_timestamp":"000001a039036d28"} 
[2026-08-25 18:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:35:00] 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-25 18:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641562880001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830994754103197696},"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-25 18:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641562880001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:35:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103197696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641562880001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103197696}} 
[2026-08-25 18:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":164527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:35:00] local.INFO: GPS data processed {"connection_id":164527,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:35:00] local.INFO: Acknowledgment sent {"connection_id":164527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:35:18] local.INFO: TCP Data received {"connection_id":162159,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390593f0012d9d9c800569d1d0000f016427..."} 
[2026-08-25 18:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390593f0012d9d9c800569d1d0000f016427..."} 
[2026-08-25 18:35:18] local.INFO: Processing buffer {"connection_id":162159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390593f0012d9d9c800569d1d0000f016427..."} 
[2026-08-25 18:35:18] local.INFO: Packet analysis {"connection_id":162159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:35:18] local.INFO: Extracted packet for processing {"connection_id":162159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:35:18] local.INFO: GPS Element Parsed {"raw_longitude":765303936,"raw_latitude":90821072,"longitude_deg":76.5303936,"latitude_deg":9.0821072,"altitude":15,"angle":356,"satellites":39,"speed":33,"hex_longitude":"2d9d9c80","hex_latitude":"0569d1d0","is_valid_coordinates":true} 
[2026-08-25 18:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641743360001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124011588624580608,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7089721321394022400,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787663062000,"timestamp_ms":1787663062000,"timestamp_seconds":1787663062,"priority":1,"record_length":96,"hex_timestamp":"000001a0390593f0"} 
[2026-08-25 18:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 18:35: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-25 18:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641743360001,"66":13254,"195":206,"84":8448,"24":33,"16":124011588624580608,"45":-7089721321394022400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-25 18:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641743360001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:35:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 18:35:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124011588624580608,"km_value":124011588624580.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7089721321394022400,"description":"Unknown IO ID 45"} 
[2026-08-25 18:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641743360001,"power":13254,"unknown_195":206,"unknown_84":8448,"ignition":33,"odometer":null,"unknown_45":-7089721321394022400}} 
[2026-08-25 18:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":162159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:35:18] local.INFO: GPS data processed {"connection_id":162159,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:35:18] local.INFO: Acknowledgment sent {"connection_id":162159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:35:18] local.INFO: TCP Data received {"connection_id":162158,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:35:18] local.INFO: Processing buffer {"connection_id":162158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:35:18] local.INFO: Packet analysis {"connection_id":162158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:35:18] local.INFO: Extracted packet for processing {"connection_id":162158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641665792001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787663058000,"timestamp_ms":1787663058000,"timestamp_seconds":1787663058,"priority":1,"record_length":96,"hex_timestamp":"000001a039058450"} 
[2026-08-25 18:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:35:18] 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-25 18:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:35:18] local.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-25 18:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641665792001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641665792001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641665792001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":162158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:35:18] local.INFO: GPS data processed {"connection_id":162158,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:35:18] local.INFO: Acknowledgment sent {"connection_id":162158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:35:24] local.INFO: TCP Data received {"connection_id":163154,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:35:24] local.INFO: Processing buffer {"connection_id":163154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:35:24] local.INFO: IMEI packet received {"connection_id":163154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":163154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:35:28] local.INFO: TCP Data received {"connection_id":163154,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:35:28] local.INFO: Processing buffer {"connection_id":163154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:35:28] local.INFO: IMEI packet received {"connection_id":163154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":163154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:35:29] local.INFO: TCP Data received {"connection_id":163154,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:35:29] local.INFO: Processing buffer {"connection_id":163154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:35:29] local.INFO: Packet analysis {"connection_id":163154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:35:29] local.INFO: Extracted packet for processing {"connection_id":163154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:35:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641562880001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103197696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787662921000,"timestamp_ms":1787662921000,"timestamp_seconds":1787662921,"priority":1,"record_length":96,"hex_timestamp":"000001a039036d28"} 
[2026-08-25 18:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:35:29] 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-25 18:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641562880001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830994754103197696},"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-25 18:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641562880001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:35:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:35:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103197696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641562880001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103197696}} 
[2026-08-25 18:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":163154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:35:29] local.INFO: GPS data processed {"connection_id":163154,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:35:29] local.INFO: Acknowledgment sent {"connection_id":163154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:35:39] local.INFO: TCP Data received {"connection_id":164528,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:35:39] local.INFO: Processing buffer {"connection_id":164528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:35:39] local.INFO: IMEI packet received {"connection_id":164528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":164528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:35:40] local.INFO: TCP Data received {"connection_id":162160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:35:40] local.INFO: Processing buffer {"connection_id":162160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:35:40] local.INFO: IMEI packet received {"connection_id":162160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":162160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:35:40] local.INFO: TCP Data received {"connection_id":162160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:35:40] local.INFO: Processing buffer {"connection_id":162160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:35:40] local.INFO: IMEI packet received {"connection_id":162160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":162160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:35:44] local.INFO: TCP Data received {"connection_id":164528,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:35:44] local.INFO: Processing buffer {"connection_id":164528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:35:44] local.INFO: IMEI packet received {"connection_id":164528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":164528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:35:44] local.INFO: TCP Data received {"connection_id":162160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:35:44] local.INFO: Processing buffer {"connection_id":162160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:35:44] local.INFO: IMEI packet received {"connection_id":162160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":162160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:35:45] local.INFO: TCP Data received {"connection_id":162160,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390695c0012d9d0a00056b4c28000c015228..."} 
[2026-08-25 18:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390695c0012d9d0a00056b4c28000c015228..."} 
[2026-08-25 18:35:45] local.INFO: Processing buffer {"connection_id":162160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390695c0012d9d0a00056b4c28000c015228..."} 
[2026-08-25 18:35:45] local.INFO: Packet analysis {"connection_id":162160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03906"} 
[2026-08-25 18:35:45] local.INFO: Extracted packet for processing {"connection_id":162160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03906"} 
[2026-08-25 18:35:45] local.INFO: GPS Element Parsed {"raw_longitude":765266432,"raw_latitude":90917928,"longitude_deg":76.5266432,"latitude_deg":9.0917928,"altitude":12,"angle":338,"satellites":40,"speed":72,"hex_longitude":"2d9d0a00","hex_latitude":"056b4c28","is_valid_coordinates":true} 
[2026-08-25 18:35: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-25 18:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641759232001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124016622326251520,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7126524174576295936,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787663128000,"timestamp_ms":1787663128000,"timestamp_seconds":1787663128,"priority":1,"record_length":96,"hex_timestamp":"000001a0390695c0"} 
[2026-08-25 18:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:35: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-25 18:35: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":7,"data_length":795,"current_offset":136} 
[2026-08-25 18:35:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2639642629,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2569303647566505984,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2327904462,"corrected_to":0} 
[2026-08-25 18:35:45] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2511863808,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3001647856214573051,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57854940362462241,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,193,84,24,241,157,16,151,160,102,45,64,255,12,40,10,66,79,128,217,13,39,56,1,240,166,227,150,57,106,4,113,205,68,9,100,239,52,195,2,184,5,14,62,116],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2327904462,"validated":0}]} 
[2026-08-25 18:35:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865061835676909568,"timestamp_seconds":865061835676909.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641759232001,"66":13059,"193":206,"84":8448,"24":72,"16":124016622326251520,"45":-7126524174576295936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-08-25 18:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641759232001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:35:45] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-25 18:35:45] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124016622326251520,"km_value":124016622326251.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7126524174576295936,"description":"Unknown IO ID 45"} 
[2026-08-25 18:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641759232001,"power":13059,"unknown_193":206,"unknown_84":8448,"ignition":72,"odometer":null,"unknown_45":-7126524174576295936}} 
[2026-08-25 18:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":162160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:35:45] local.INFO: GPS data processed {"connection_id":162160,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:35:45] local.INFO: Acknowledgment sent {"connection_id":162160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:35:45] local.INFO: TCP Data received {"connection_id":164528,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:35:45] local.INFO: Processing buffer {"connection_id":164528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:35:45] local.INFO: Packet analysis {"connection_id":164528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:35:45] local.INFO: Extracted packet for processing {"connection_id":164528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:35: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-25 18:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641665792001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787663058000,"timestamp_ms":1787663058000,"timestamp_seconds":1787663058,"priority":1,"record_length":96,"hex_timestamp":"000001a039058450"} 
[2026-08-25 18:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:35: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-25 18:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641665792001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641665792001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:35:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641665792001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":164528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:35:45] local.INFO: GPS data processed {"connection_id":164528,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:35:45] local.INFO: Acknowledgment sent {"connection_id":164528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:36:00] local.INFO: TCP Data received {"connection_id":163154,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:36:00] local.INFO: Processing buffer {"connection_id":163154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:36:00] local.INFO: Packet analysis {"connection_id":163154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:36:00] local.INFO: Extracted packet for processing {"connection_id":163154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:36:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641562880001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103197696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787662921000,"timestamp_ms":1787662921000,"timestamp_seconds":1787662921,"priority":1,"record_length":96,"hex_timestamp":"000001a039036d28"} 
[2026-08-25 18:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:36:00] 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-25 18:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641562880001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830994754103197696},"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-25 18:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641562880001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:36:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:36:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103197696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641562880001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103197696}} 
[2026-08-25 18:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":163154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:36:00] local.INFO: GPS data processed {"connection_id":163154,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:36:00] local.INFO: Acknowledgment sent {"connection_id":163154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:36:19] local.INFO: TCP Data received {"connection_id":164528,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:36:19] local.INFO: Processing buffer {"connection_id":164528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:36:19] local.INFO: Packet analysis {"connection_id":164528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:36:19] local.INFO: Extracted packet for processing {"connection_id":164528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:36:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641665792001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787663058000,"timestamp_ms":1787663058000,"timestamp_seconds":1787663058,"priority":1,"record_length":96,"hex_timestamp":"000001a039058450"} 
[2026-08-25 18: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-25 18:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:36: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-25 18:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641665792001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641665792001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:36:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641665792001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":164528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:36:19] local.INFO: GPS data processed {"connection_id":164528,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:36:19] local.INFO: Acknowledgment sent {"connection_id":164528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:36:23] local.INFO: TCP Data received {"connection_id":162161,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:36:23] local.INFO: Processing buffer {"connection_id":162161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:36:23] local.INFO: IMEI packet received {"connection_id":162161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":162161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:36:24] local.INFO: TCP Data received {"connection_id":162160,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03906a948012d9cfc80056b6e30000d015227..."} 
[2026-08-25 18:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03906a948012d9cfc80056b6e30000d015227..."} 
[2026-08-25 18:36:24] local.INFO: Processing buffer {"connection_id":162160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03906a948012d9cfc80056b6e30000d015227..."} 
[2026-08-25 18:36:24] local.INFO: Packet analysis {"connection_id":162160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03906"} 
[2026-08-25 18:36:24] local.INFO: Extracted packet for processing {"connection_id":162160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03906"} 
[2026-08-25 18:36:24] local.INFO: GPS Element Parsed {"raw_longitude":765262976,"raw_latitude":90926640,"longitude_deg":76.5262976,"latitude_deg":9.092664,"altitude":13,"angle":338,"satellites":39,"speed":74,"hex_longitude":"2d9cfc80","hex_latitude":"056b6e30","is_valid_coordinates":true} 
[2026-08-25 18:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641760768001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124017077592784896,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7130887036712769536,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787663133000,"timestamp_ms":1787663133000,"timestamp_seconds":1787663133,"priority":1,"record_length":96,"hex_timestamp":"000001a03906a948"} 
[2026-08-25 18:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 18:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168297684362,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2638643205,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:24] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3008888845,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2327904462,"corrected_to":0} 
[2026-08-25 18:36:24] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2415996317,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:24] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3221580429,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:24] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2519203840,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:24] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58076345914622014,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:24] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,193,84,24,241,157,16,152,160,126,45,128,37,12,40,10,66,151,102,64,255,79,1,240,198,227,57,106,4,113,205,68,32,85,232,39,239,52,2,184,5,13,62,195],"length":486,"final_offset":616,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2327904462,"validated":0}]} 
[2026-08-25 18:36:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865062935188733952,"timestamp_seconds":865062935188734.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641760768001,"66":13254,"193":206,"84":8448,"24":74,"16":124017077592784896,"45":-7130887036712769536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-08-25 18:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641760768001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:36:24] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-25 18:36:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124017077592784896,"km_value":124017077592784.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7130887036712769536,"description":"Unknown IO ID 45"} 
[2026-08-25 18:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641760768001,"power":13254,"unknown_193":206,"unknown_84":8448,"ignition":74,"odometer":null,"unknown_45":-7130887036712769536}} 
[2026-08-25 18:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":162160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:36:24] local.INFO: GPS data processed {"connection_id":162160,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:36:24] local.INFO: Acknowledgment sent {"connection_id":162160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:36:28] local.INFO: TCP Data received {"connection_id":162161,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:36:28] local.INFO: Processing buffer {"connection_id":162161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:36:28] local.INFO: IMEI packet received {"connection_id":162161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":162161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:36:29] local.INFO: TCP Data received {"connection_id":162161,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:36:29] local.INFO: Processing buffer {"connection_id":162161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:36:29] local.INFO: Packet analysis {"connection_id":162161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:36:29] local.INFO: Extracted packet for processing {"connection_id":162161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641562880001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103197696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787662921000,"timestamp_ms":1787662921000,"timestamp_seconds":1787662921,"priority":1,"record_length":96,"hex_timestamp":"000001a039036d28"} 
[2026-08-25 18:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:36:29] 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-25 18:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641562880001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830994754103197696},"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-25 18:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641562880001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:36:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103197696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641562880001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103197696}} 
[2026-08-25 18:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":162161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:36:29] local.INFO: GPS data processed {"connection_id":162161,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:36:29] local.INFO: Acknowledgment sent {"connection_id":162161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:36:39] local.INFO: TCP Data received {"connection_id":164529,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:36:39] local.INFO: Processing buffer {"connection_id":164529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:36:39] local.INFO: IMEI packet received {"connection_id":164529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":164529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:36:40] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:36:40] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:36:40] local.INFO: IMEI packet received {"connection_id":161897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":161897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:36:45] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:36:45] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:36:45] local.INFO: IMEI packet received {"connection_id":161897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":161897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:36:46] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03906bcd0012d9cef80056b8fb8000d015227..."} 
[2026-08-25 18:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03906bcd0012d9cef80056b8fb8000d015227..."} 
[2026-08-25 18:36:46] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03906bcd0012d9cef80056b8fb8000d015227..."} 
[2026-08-25 18:36:46] local.INFO: Packet analysis {"connection_id":161897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03906"} 
[2026-08-25 18:36:46] local.INFO: Extracted packet for processing {"connection_id":161897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03906"} 
[2026-08-25 18:36:46] local.INFO: GPS Element Parsed {"raw_longitude":765259648,"raw_latitude":90935224,"longitude_deg":76.5259648,"latitude_deg":9.0935224,"altitude":13,"angle":338,"satellites":39,"speed":73,"hex_longitude":"2d9cef80","hex_latitude":"056b8fb8","is_valid_coordinates":true} 
[2026-08-25 18:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641762048001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124017524269383680,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7134686948896133120,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787663138000,"timestamp_ms":1787663138000,"timestamp_seconds":1787663138,"priority":1,"record_length":96,"hex_timestamp":"000001a03906bcd0"} 
[2026-08-25 18:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-25 18:36:46] 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-25 18:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641762048001,"66":13319,"193":206,"84":8448,"24":73,"16":124017524269383680,"45":-7134686948896133120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-08-25 18:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641762048001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:36:46] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-25 18:36:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124017524269383680,"km_value":124017524269383.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7134686948896133120,"description":"Unknown IO ID 45"} 
[2026-08-25 18:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641762048001,"power":13319,"unknown_193":206,"unknown_84":8448,"ignition":73,"odometer":null,"unknown_45":-7134686948896133120}} 
[2026-08-25 18:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":161897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:36:46] local.INFO: GPS data processed {"connection_id":161897,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:36:46] local.INFO: Acknowledgment sent {"connection_id":161897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:36:50] local.INFO: TCP Data received {"connection_id":164529,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:36:50] local.INFO: Processing buffer {"connection_id":164529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:36:50] local.INFO: IMEI packet received {"connection_id":164529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":164529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:36:58] local.INFO: TCP Data received {"connection_id":164529,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:36:58] local.INFO: Processing buffer {"connection_id":164529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:36:58] local.INFO: Packet analysis {"connection_id":164529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:36:58] local.INFO: Extracted packet for processing {"connection_id":164529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:36:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641665792001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787663058000,"timestamp_ms":1787663058000,"timestamp_seconds":1787663058,"priority":1,"record_length":96,"hex_timestamp":"000001a039058450"} 
[2026-08-25 18:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:36:58] 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-25 18:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:36: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-25 18:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641665792001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641665792001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:36:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641665792001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":164529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:36:58] local.INFO: GPS data processed {"connection_id":164529,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:36:58] local.INFO: Acknowledgment sent {"connection_id":164529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:37:00] local.INFO: TCP Data received {"connection_id":162161,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:37:00] local.INFO: Processing buffer {"connection_id":162161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:37:00] local.INFO: Packet analysis {"connection_id":162161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:37:00] local.INFO: Extracted packet for processing {"connection_id":162161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641562880001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103197696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787662921000,"timestamp_ms":1787662921000,"timestamp_seconds":1787662921,"priority":1,"record_length":96,"hex_timestamp":"000001a039036d28"} 
[2026-08-25 18:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:37:00] 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-25 18:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641562880001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830994754103197696},"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-25 18:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641562880001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:37:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103197696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641562880001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103197696}} 
[2026-08-25 18:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":162161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:37:00] local.INFO: GPS data processed {"connection_id":162161,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:37:00] local.INFO: Acknowledgment sent {"connection_id":162161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:37:20] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03906d058012d9ce380056bb090000e015428..."} 
[2026-08-25 18:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03906d058012d9ce380056bb090000e015428..."} 
[2026-08-25 18:37:20] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03906d058012d9ce380056bb090000e015428..."} 
[2026-08-25 18:37:20] local.INFO: Packet analysis {"connection_id":161897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03906"} 
[2026-08-25 18:37:20] local.INFO: Extracted packet for processing {"connection_id":161897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03906"} 
[2026-08-25 18:37:20] local.INFO: GPS Element Parsed {"raw_longitude":765256576,"raw_latitude":90943632,"longitude_deg":76.5256576,"latitude_deg":9.0943632,"altitude":14,"angle":340,"satellites":40,"speed":68,"hex_longitude":"2d9ce380","hex_latitude":"056bb090","is_valid_coordinates":true} 
[2026-08-25 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-25 18:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641763328001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124017953766113280,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7138346123591174144,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787663143000,"timestamp_ms":1787663143000,"timestamp_seconds":1787663143,"priority":1,"record_length":96,"hex_timestamp":"000001a03906d058"} 
[2026-08-25 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-25 18:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 18:37:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2636660741,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:20] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:20] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-8221321063908104448,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2327904462,"corrected_to":0} 
[2026-08-25 18:37:20] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2147838681,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:20] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941386,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:20] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2534539264,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:20] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57854931772527649,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:20] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2346376701284827141,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:20] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,193,84,24,241,157,16,153,160,169,45,128,110,13,39,10,66,152,149,76,12,40,126,1,240,7,227,151,57,106,4,113,205,68,79,55,64,239,51,2,184,5,166,6],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2327904462,"validated":0}]} 
[2026-08-25 18:37:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937120524931760128,"timestamp_seconds":937120524931760.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 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-25 18:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641763328001,"66":13319,"193":206,"84":8448,"24":68,"16":124017953766113280,"45":-7138346123591174144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-08-25 18:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641763328001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:37:20] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-25 18:37:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124017953766113280,"km_value":124017953766113.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7138346123591174144,"description":"Unknown IO ID 45"} 
[2026-08-25 18:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641763328001,"power":13319,"unknown_193":206,"unknown_84":8448,"ignition":68,"odometer":null,"unknown_45":-7138346123591174144}} 
[2026-08-25 18:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":161897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:37:20] local.INFO: GPS data processed {"connection_id":161897,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:37:20] local.INFO: Acknowledgment sent {"connection_id":161897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:37:23] local.INFO: TCP Data received {"connection_id":162162,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:37:23] local.INFO: Processing buffer {"connection_id":162162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:37:23] local.INFO: IMEI packet received {"connection_id":162162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":162162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:37:28] local.INFO: TCP Data received {"connection_id":162162,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:37:28] local.INFO: Processing buffer {"connection_id":162162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:37:28] local.INFO: IMEI packet received {"connection_id":162162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":162162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:37:29] local.INFO: TCP Data received {"connection_id":162162,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:37:29] local.INFO: Processing buffer {"connection_id":162162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039036d28012d196580071fef680042011a23..."} 
[2026-08-25 18:37:29] local.INFO: Packet analysis {"connection_id":162162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:37:29] local.INFO: Extracted packet for processing {"connection_id":162162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03903"} 
[2026-08-25 18:37:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641562880001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103197696,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787662921000,"timestamp_ms":1787662921000,"timestamp_seconds":1787662921,"priority":1,"record_length":96,"hex_timestamp":"000001a039036d28"} 
[2026-08-25 18: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-25 18:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-25 18:37:29] 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-25 18: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-25 18: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-25 18:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641562880001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830994754103197696},"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-25 18:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641562880001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:37:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:37:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103197696,"description":"Unknown IO ID 45"} 
[2026-08-25 18:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641562880001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103197696}} 
[2026-08-25 18:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":162162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:37:29] local.INFO: GPS data processed {"connection_id":162162,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:37:29] local.INFO: Acknowledgment sent {"connection_id":162162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:37:39] local.INFO: TCP Data received {"connection_id":164530,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:37:39] local.INFO: Processing buffer {"connection_id":164530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:37:39] local.INFO: IMEI packet received {"connection_id":164530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":164530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:37:40] local.INFO: TCP Data received {"connection_id":164530,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:37:40] local.INFO: Processing buffer {"connection_id":164530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:37:40] local.INFO: IMEI packet received {"connection_id":164530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":164530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:37:45] local.INFO: TCP Data received {"connection_id":164530,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:37:45] local.INFO: Processing buffer {"connection_id":164530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:37:45] local.INFO: IMEI packet received {"connection_id":164530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":164530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:37:46] local.INFO: TCP Data received {"connection_id":164530,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039084f28012d9c3440056cf360000c015426..."} 
[2026-08-25 18:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039084f28012d9c3440056cf360000c015426..."} 
[2026-08-25 18:37:46] local.INFO: Processing buffer {"connection_id":164530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039084f28012d9c3440056cf360000c015426..."} 
[2026-08-25 18:37:46] local.INFO: Packet analysis {"connection_id":164530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:37:46] local.INFO: Extracted packet for processing {"connection_id":164530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:37:46] local.INFO: GPS Element Parsed {"raw_longitude":765211712,"raw_latitude":91026272,"longitude_deg":76.5211712,"latitude_deg":9.1026272,"altitude":12,"angle":340,"satellites":38,"speed":46,"hex_longitude":"2d9c3440","hex_latitude":"056cf360","is_valid_coordinates":true} 
[2026-08-25 18:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641787392001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124022545086152704,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7187252400773726208,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787663241000,"timestamp_ms":1787663241000,"timestamp_seconds":1787663241,"priority":1,"record_length":96,"hex_timestamp":"000001a039084f28"} 
[2026-08-25 18:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 18:37:46] 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-25 18:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641787392001,"66":13189,"51":206,"84":8448,"24":46,"16":124022545086152704,"45":-7187252400773726208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-25 18:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641787392001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:37:46] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-25 18:37:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124022545086152704,"km_value":124022545086152.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7187252400773726208,"description":"Unknown IO ID 45"} 
[2026-08-25 18:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641787392001,"power":13189,"unknown_51":206,"unknown_84":8448,"ignition":46,"odometer":null,"unknown_45":-7187252400773726208}} 
[2026-08-25 18:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":164530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:37:46] local.INFO: GPS data processed {"connection_id":164530,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:37:46] local.INFO: Acknowledgment sent {"connection_id":164530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:37:47] local.INFO: TCP Data received {"connection_id":164531,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:37:47] local.INFO: Processing buffer {"connection_id":164531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:37:47] local.INFO: IMEI packet received {"connection_id":164531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":164531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:37:49] local.INFO: TCP Data received {"connection_id":164531,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:37:49] local.INFO: Processing buffer {"connection_id":164531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:37:49] local.INFO: IMEI packet received {"connection_id":164531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":164531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:37:50] local.INFO: TCP Data received {"connection_id":164531,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:37:50] local.INFO: Processing buffer {"connection_id":164531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:37:50] local.INFO: Packet analysis {"connection_id":164531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:37:50] local.INFO: Extracted packet for processing {"connection_id":164531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:37:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641665792001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787663058000,"timestamp_ms":1787663058000,"timestamp_seconds":1787663058,"priority":1,"record_length":96,"hex_timestamp":"000001a039058450"} 
[2026-08-25 18: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-25 18:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:37: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-25 18: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-25 18: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-25 18:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:37: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-25 18:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641665792001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641665792001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:37:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641665792001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":164531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:37:50] local.INFO: GPS data processed {"connection_id":164531,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:37:50] local.INFO: Acknowledgment sent {"connection_id":164531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:37:55] local.INFO: TCP Data received {"connection_id":164531,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:37:55] local.INFO: Processing buffer {"connection_id":164531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:37:55] local.INFO: Packet analysis {"connection_id":164531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:37:55] local.INFO: Extracted packet for processing {"connection_id":164531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641665792001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787663058000,"timestamp_ms":1787663058000,"timestamp_seconds":1787663058,"priority":1,"record_length":96,"hex_timestamp":"000001a039058450"} 
[2026-08-25 18: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-25 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:37: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-25 18: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-25 18: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-25 18:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:37: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-25 18:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641665792001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641665792001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:37:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641665792001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":164531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:37:55] local.INFO: GPS data processed {"connection_id":164531,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:37:55] local.INFO: Acknowledgment sent {"connection_id":164531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:38:00] local.INFO: TCP Data received {"connection_id":162162,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:38:00] local.INFO: Processing buffer {"connection_id":162162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:38:00] local.INFO: Packet analysis {"connection_id":162162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:38:00] local.INFO: Extracted packet for processing {"connection_id":162162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641707776001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787663222000,"timestamp_ms":1787663222000,"timestamp_seconds":1787663222,"priority":1,"record_length":96,"hex_timestamp":"000001a0390804f0"} 
[2026-08-25 18: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-25 18:38:00] 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-25 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641707776001,"66":2155,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"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-25 18:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641707776001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:38:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641707776001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":162162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:38:00] local.INFO: GPS data processed {"connection_id":162162,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:38:00] local.INFO: Acknowledgment sent {"connection_id":162162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:38:18] local.INFO: TCP Data received {"connection_id":164530,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039087a20012d9c2980056d15f8000c016027..."} 
[2026-08-25 18:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039087a20012d9c2980056d15f8000c016027..."} 
[2026-08-25 18:38:18] local.INFO: Processing buffer {"connection_id":164530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039087a20012d9c2980056d15f8000c016027..."} 
[2026-08-25 18:38:18] local.INFO: Packet analysis {"connection_id":164530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:38:18] local.INFO: Extracted packet for processing {"connection_id":164530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:38:18] local.INFO: GPS Element Parsed {"raw_longitude":765208960,"raw_latitude":91035128,"longitude_deg":76.520896,"latitude_deg":9.1035128,"altitude":12,"angle":352,"satellites":39,"speed":27,"hex_longitude":"2d9c2980","hex_latitude":"056d15f8","is_valid_coordinates":true} 
[2026-08-25 18:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641789696001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124022996057718784,"note":"Value kept but may cause issues"} 
[2026-08-25 18:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7191052312956936192,"note":"Value kept but may cause issues"} 
[2026-08-25 18:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787663252000,"timestamp_ms":1787663252000,"timestamp_seconds":1787663252,"priority":1,"record_length":96,"hex_timestamp":"000001a039087a20"} 
[2026-08-25 18:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:38: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-25 18:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 18:38: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-25 18:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641789696001,"66":13135,"51":206,"84":8448,"24":27,"16":124022996057718784,"45":-7191052312956936192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-25 18:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641789696001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:38:18] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-25 18:38:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124022996057718784,"km_value":124022996057718.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7191052312956936192,"description":"Unknown IO ID 45"} 
[2026-08-25 18:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641789696001,"power":13135,"unknown_51":206,"unknown_84":8448,"ignition":27,"odometer":null,"unknown_45":-7191052312956936192}} 
[2026-08-25 18:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":164530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:38:18] local.INFO: GPS data processed {"connection_id":164530,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:38:18] local.INFO: Acknowledgment sent {"connection_id":164530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:38:23] local.INFO: TCP Data received {"connection_id":163155,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:38:23] local.INFO: Processing buffer {"connection_id":163155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:38:23] local.INFO: IMEI packet received {"connection_id":163155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":163155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:38:28] local.INFO: TCP Data received {"connection_id":163155,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:38:28] local.INFO: Processing buffer {"connection_id":163155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:38:28] local.INFO: IMEI packet received {"connection_id":163155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":163155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:38:29] local.INFO: TCP Data received {"connection_id":163155,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:38:29] local.INFO: Processing buffer {"connection_id":163155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:38:29] local.INFO: Packet analysis {"connection_id":163155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:38:29] local.INFO: Extracted packet for processing {"connection_id":163155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:38:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641707776001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663222000,"timestamp_ms":1787663222000,"timestamp_seconds":1787663222,"priority":1,"record_length":96,"hex_timestamp":"000001a0390804f0"} 
[2026-08-25 18:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:38:29] 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-25 18:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641707776001,"66":2155,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"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-25 18:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641707776001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:38:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:38:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641707776001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":163155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:38:29] local.INFO: GPS data processed {"connection_id":163155,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:38:29] local.INFO: Acknowledgment sent {"connection_id":163155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:38:39] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:38:39] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:38:39] local.INFO: IMEI packet received {"connection_id":161898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":161898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:38:44] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:38:44] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:38:44] local.INFO: IMEI packet received {"connection_id":161898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":161898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:38:45] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:38:45] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:38:45] local.INFO: Packet analysis {"connection_id":161898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:38:45] local.INFO: Extracted packet for processing {"connection_id":161898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641665792001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:38:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787663058000,"timestamp_ms":1787663058000,"timestamp_seconds":1787663058,"priority":1,"record_length":96,"hex_timestamp":"000001a039058450"} 
[2026-08-25 18:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641665792001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641665792001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641665792001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":161898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:38:45] local.INFO: GPS data processed {"connection_id":161898,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:38:45] local.INFO: Acknowledgment sent {"connection_id":161898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:39:00] local.INFO: TCP Data received {"connection_id":163155,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:39:00] local.INFO: Processing buffer {"connection_id":163155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:39:00] local.INFO: Packet analysis {"connection_id":163155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:39:00] local.INFO: Extracted packet for processing {"connection_id":163155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641707776001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787663222000,"timestamp_ms":1787663222000,"timestamp_seconds":1787663222,"priority":1,"record_length":96,"hex_timestamp":"000001a0390804f0"} 
[2026-08-25 18:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:39:00] 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-25 18:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641707776001,"66":2155,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"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-25 18:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641707776001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:39:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641707776001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":163155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:39:00] local.INFO: GPS data processed {"connection_id":163155,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:39:00] local.INFO: Acknowledgment sent {"connection_id":163155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:39:01] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:01] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:01] local.INFO: IMEI packet received {"connection_id":161899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":161899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:39:06] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:06] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:06] local.INFO: IMEI packet received {"connection_id":161899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":161899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:39:06] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039087a20012d9c2980056d15f8000c016027..."} 
[2026-08-25 18:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039087a20012d9c2980056d15f8000c016027..."} 
[2026-08-25 18:39:06] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039087a20012d9c2980056d15f8000c016027..."} 
[2026-08-25 18:39:06] local.INFO: Packet analysis {"connection_id":161899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:39:06] local.INFO: Extracted packet for processing {"connection_id":161899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:39:06] local.INFO: GPS Element Parsed {"raw_longitude":765208960,"raw_latitude":91035128,"longitude_deg":76.520896,"latitude_deg":9.1035128,"altitude":12,"angle":352,"satellites":39,"speed":27,"hex_longitude":"2d9c2980","hex_latitude":"056d15f8","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641792512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124022996057718784,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7194078168954308608,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787663252000,"timestamp_ms":1787663252000,"timestamp_seconds":1787663252,"priority":1,"record_length":96,"hex_timestamp":"000001a039087a20"} 
[2026-08-25 18: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-25 18:39: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-25 18: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":79,"data_length":795,"current_offset":136} 
[2026-08-25 18:39: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-25 18: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-25 18: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-25 18:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641792512001,"66":13135,"51":206,"84":8448,"24":27,"16":124022996057718784,"45":-7194078168954308608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-25 18:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641792512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:39:06] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-25 18:39:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124022996057718784,"km_value":124022996057718.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7194078168954308608,"description":"Unknown IO ID 45"} 
[2026-08-25 18:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641792512001,"power":13135,"unknown_51":206,"unknown_84":8448,"ignition":27,"odometer":null,"unknown_45":-7194078168954308608}} 
[2026-08-25 18:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":161899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:39:06] local.INFO: GPS data processed {"connection_id":161899,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:39:06] local.INFO: Acknowledgment sent {"connection_id":161899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:39:11] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039089190012d9c2480056d2a30000c015428..."} 
[2026-08-25 18:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039089190012d9c2480056d2a30000c015428..."} 
[2026-08-25 18:39:11] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039089190012d9c2480056d2a30000c015428..."} 
[2026-08-25 18:39:11] local.INFO: Packet analysis {"connection_id":161899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:39:11] local.INFO: Extracted packet for processing {"connection_id":161899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:39:11] local.INFO: GPS Element Parsed {"raw_longitude":765207680,"raw_latitude":91040304,"longitude_deg":76.520768,"latitude_deg":9.1040304,"altitude":12,"angle":340,"satellites":40,"speed":43,"hex_longitude":"2d9c2480","hex_latitude":"056d2a30","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641792512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124023253755756544,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7194078168954308608,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787663258000,"timestamp_ms":1787663258000,"timestamp_seconds":1787663258,"priority":1,"record_length":96,"hex_timestamp":"000001a039089190"} 
[2026-08-25 18: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-25 18:39: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-25 18: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 18:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641792512001,"66":13461,"51":206,"84":8448,"24":43,"16":124023253755756544,"45":-7194078168954308608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-25 18:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641792512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:39:11] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-25 18:39:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124023253755756544,"km_value":124023253755756.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7194078168954308608,"description":"Unknown IO ID 45"} 
[2026-08-25 18:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641792512001,"power":13461,"unknown_51":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7194078168954308608}} 
[2026-08-25 18:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":161899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:39:11] local.INFO: GPS data processed {"connection_id":161899,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:39:11] local.INFO: Acknowledgment sent {"connection_id":161899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:39:17] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:39:17] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:39:17] local.INFO: Packet analysis {"connection_id":161898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:39:17] local.INFO: Extracted packet for processing {"connection_id":161898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641665792001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787663058000,"timestamp_ms":1787663058000,"timestamp_seconds":1787663058,"priority":1,"record_length":96,"hex_timestamp":"000001a039058450"} 
[2026-08-25 18:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:39:17] 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-25 18:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641665792001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641665792001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641665792001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":161898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:39:17] local.INFO: GPS data processed {"connection_id":161898,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:39:17] local.INFO: Acknowledgment sent {"connection_id":161898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:39:23] local.INFO: TCP Data received {"connection_id":164532,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:39:23] local.INFO: Processing buffer {"connection_id":164532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:39:23] local.INFO: IMEI packet received {"connection_id":164532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":164532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:39:28] local.INFO: TCP Data received {"connection_id":164532,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:39:28] local.INFO: Processing buffer {"connection_id":164532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:39:28] local.INFO: IMEI packet received {"connection_id":164532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":164532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:39:29] local.INFO: TCP Data received {"connection_id":164532,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:39:29] local.INFO: Processing buffer {"connection_id":164532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:39:29] local.INFO: Packet analysis {"connection_id":164532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:39:29] local.INFO: Extracted packet for processing {"connection_id":164532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:39:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641707776001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663222000,"timestamp_ms":1787663222000,"timestamp_seconds":1787663222,"priority":1,"record_length":96,"hex_timestamp":"000001a0390804f0"} 
[2026-08-25 18:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:39:29] 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-25 18:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641707776001,"66":2155,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"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-25 18:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641707776001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:39:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:39:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641707776001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":164532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:39:29] local.INFO: GPS data processed {"connection_id":164532,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:39:29] local.INFO: Acknowledgment sent {"connection_id":164532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:39:37] local.INFO: TCP Data received {"connection_id":164534,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:37] local.INFO: Processing buffer {"connection_id":164534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:37] local.INFO: IMEI packet received {"connection_id":164534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":164534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:39:39] local.INFO: TCP Data received {"connection_id":164533,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:39:39] local.INFO: Processing buffer {"connection_id":164533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:39:39] local.INFO: IMEI packet received {"connection_id":164533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":164533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:39:41] local.INFO: TCP Data received {"connection_id":164534,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:41] local.INFO: Processing buffer {"connection_id":164534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:41] local.INFO: IMEI packet received {"connection_id":164534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":164534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:39:45] local.INFO: TCP Data received {"connection_id":164534,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164534,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:45] local.INFO: Processing buffer {"connection_id":164534,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:39:45] local.INFO: IMEI packet received {"connection_id":164534,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":164534,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:39:46] local.INFO: TCP Data received {"connection_id":164534,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a3f40012d9be580056e3d80000e016724..."} 
[2026-08-25 18:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a3f40012d9be580056e3d80000e016724..."} 
[2026-08-25 18:39:46] local.INFO: Processing buffer {"connection_id":164534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a3f40012d9be580056e3d80000e016724..."} 
[2026-08-25 18:39:46] local.INFO: Packet analysis {"connection_id":164534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:39:46] local.INFO: Extracted packet for processing {"connection_id":164534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:39:46] local.INFO: GPS Element Parsed {"raw_longitude":765191552,"raw_latitude":91110784,"longitude_deg":76.5191552,"latitude_deg":9.1110784,"altitude":14,"angle":359,"satellites":36,"speed":49,"hex_longitude":"2d9be580","hex_latitude":"056e3d80","is_valid_coordinates":true} 
[2026-08-25 18:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641820160001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124026797103775744,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7212866623632746496,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787663368000,"timestamp_ms":1787663368000,"timestamp_seconds":1787663368,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a3f40"} 
[2026-08-25 18:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-25 18:39:46] 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-25 18:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641820160001,"66":12330,"53":206,"84":8448,"24":49,"16":124026797103775744,"45":-7212866623632746496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-25 18:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641820160001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:39:46] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 18:39:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124026797103775744,"km_value":124026797103775.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7212866623632746496,"description":"Unknown IO ID 45"} 
[2026-08-25 18:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641820160001,"power":12330,"unknown_53":206,"unknown_84":8448,"ignition":49,"odometer":null,"unknown_45":-7212866623632746496}} 
[2026-08-25 18:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":164534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:39:46] local.INFO: GPS data processed {"connection_id":164534,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:39:46] local.INFO: Acknowledgment sent {"connection_id":164534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:39:47] local.INFO: TCP Data received {"connection_id":164534,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a5e80012d9be480056e64b0000f000128..."} 
[2026-08-25 18:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a5e80012d9be480056e64b0000f000128..."} 
[2026-08-25 18:39:47] local.INFO: Processing buffer {"connection_id":164534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a5e80012d9be480056e64b0000f000128..."} 
[2026-08-25 18:39:47] local.INFO: Packet analysis {"connection_id":164534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:39:47] local.INFO: Extracted packet for processing {"connection_id":164534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:39:47] local.INFO: GPS Element Parsed {"raw_longitude":765191296,"raw_latitude":91120816,"longitude_deg":76.5191296,"latitude_deg":9.1120816,"altitude":15,"angle":1,"satellites":40,"speed":46,"hex_longitude":"2d9be480","hex_latitude":"056e64b0","is_valid_coordinates":true} 
[2026-08-25 18:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641822208001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124027282435080192,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7213218467351265280,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787663376000,"timestamp_ms":1787663376000,"timestamp_seconds":1787663376,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a5e80"} 
[2026-08-25 18:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 18:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641822208001,"66":12298,"53":206,"84":8448,"24":46,"16":124027282435080192,"45":-7213218467351265280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-25 18:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641822208001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:39:47] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 18:39:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124027282435080192,"km_value":124027282435080.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7213218467351265280,"description":"Unknown IO ID 45"} 
[2026-08-25 18:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641822208001,"power":12298,"unknown_53":206,"unknown_84":8448,"ignition":46,"odometer":null,"unknown_45":-7213218467351265280}} 
[2026-08-25 18:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":164534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:39:47] local.INFO: GPS data processed {"connection_id":164534,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:39:47] local.INFO: Acknowledgment sent {"connection_id":164534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:39:48] local.INFO: TCP Data received {"connection_id":164533,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:39:48] local.INFO: Processing buffer {"connection_id":164533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:39:48] local.INFO: IMEI packet received {"connection_id":164533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":164533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:39:50] local.INFO: TCP Data received {"connection_id":164533,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:39:50] local.INFO: Processing buffer {"connection_id":164533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039058450012d34c14006aa4818000500e62d..."} 
[2026-08-25 18:39:50] local.INFO: Packet analysis {"connection_id":164533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:39:50] local.INFO: Extracted packet for processing {"connection_id":164533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03905"} 
[2026-08-25 18:39:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641665792001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787663058000,"timestamp_ms":1787663058000,"timestamp_seconds":1787663058,"priority":1,"record_length":96,"hex_timestamp":"000001a039058450"} 
[2026-08-25 18: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-25 18:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:39: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-25 18: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-25 18: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-25 18:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:39: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-25 18:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641665792001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641665792001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:39:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641665792001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":164533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:39:51] local.INFO: GPS data processed {"connection_id":164533,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:39:51] local.INFO: Acknowledgment sent {"connection_id":164533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:39:59] local.INFO: TCP Data received {"connection_id":164532,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:39:59] local.INFO: Processing buffer {"connection_id":164532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:39:59] local.INFO: Packet analysis {"connection_id":164532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:39:59] local.INFO: Extracted packet for processing {"connection_id":164532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641707776001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787663222000,"timestamp_ms":1787663222000,"timestamp_seconds":1787663222,"priority":1,"record_length":96,"hex_timestamp":"000001a0390804f0"} 
[2026-08-25 18:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:39:59] 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-25 18:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641707776001,"66":2155,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"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-25 18:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641707776001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:39:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641707776001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":164532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:39:59] local.INFO: GPS data processed {"connection_id":164532,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:39:59] local.INFO: Acknowledgment sent {"connection_id":164532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:40:17] local.INFO: TCP Data received {"connection_id":164534,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a79d8012d9be400056e88f00010016228..."} 
[2026-08-25 18:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a79d8012d9be400056e88f00010016228..."} 
[2026-08-25 18:40:17] local.INFO: Processing buffer {"connection_id":164534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a79d8012d9be400056e88f00010016228..."} 
[2026-08-25 18:40:17] local.INFO: Packet analysis {"connection_id":164534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:40:17] local.INFO: Extracted packet for processing {"connection_id":164534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:40:17] local.INFO: GPS Element Parsed {"raw_longitude":765191168,"raw_latitude":91130096,"longitude_deg":76.5191168,"latitude_deg":9.1130096,"altitude":16,"angle":354,"satellites":40,"speed":57,"hex_longitude":"2d9be400","hex_latitude":"056e88f0","is_valid_coordinates":true} 
[2026-08-25 18:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641824256001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124027733406646272,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7213499942325407744,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787663383000,"timestamp_ms":1787663383000,"timestamp_seconds":1787663383,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a79d8"} 
[2026-08-25 18:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":391109480140112213,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377926992218554880,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186040,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4109832146610134022,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2616066053,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3381922728166752462,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3693084684,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2519924942,"corrected_to":0} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":92,"raw_value":2952867227,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":243,"raw_value":2147839428,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640086,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2689859584,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":9,"raw_value":97150649094897664,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-1369094286720630783,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.WARNING: Large IO value detected {"io_id":39,"raw_value":9570149208817668,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:17] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,53,84,24,241,157,16,162,160,63,45,128,61,14,36,10,66,161,32,192,25,15,37,252,64,1,240,141,227,57,109,4,113,205,7,92,243,38,239,46,51,2,184,5,9,159,39],"length":534,"final_offset":664,"validated_count":47,"validation_warnings":[{"io_id":205,"original":2519924942,"validated":0}]} 
[2026-08-25 18:40:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080865181882253312,"timestamp_seconds":1080865181882253.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164534,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641824256001,"66":12189,"53":206,"84":8448,"24":57,"16":124027733406646272,"45":-7213499942325407744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-25 18:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641824256001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:40:17] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 18:40:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124027733406646272,"km_value":124027733406646.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7213499942325407744,"description":"Unknown IO ID 45"} 
[2026-08-25 18:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641824256001,"power":12189,"unknown_53":206,"unknown_84":8448,"ignition":57,"odometer":null,"unknown_45":-7213499942325407744}} 
[2026-08-25 18:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":164534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:40:18] local.INFO: GPS data processed {"connection_id":164534,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:40:18] local.INFO: Acknowledgment sent {"connection_id":164534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:40:21] local.INFO: TCP Data received {"connection_id":164533,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:40:21] local.INFO: Processing buffer {"connection_id":164533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:40:21] local.INFO: Packet analysis {"connection_id":164533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:40:21] local.INFO: Extracted packet for processing {"connection_id":164533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:40:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641742848001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787663359000,"timestamp_ms":1787663359000,"timestamp_seconds":1787663359,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a1c18"} 
[2026-08-25 18:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:40: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-25 18:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:40: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-25 18:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641742848001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641742848001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:40:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641742848001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":164533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:40:21] local.INFO: GPS data processed {"connection_id":164533,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:40:21] local.INFO: Acknowledgment sent {"connection_id":164533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:40:23] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:40:23] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:40:23] local.INFO: IMEI packet received {"connection_id":161900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":161900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:40:28] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:40:28] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:40:28] local.INFO: IMEI packet received {"connection_id":161900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":161900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:40:29] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:40:29] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:40:29] local.INFO: Packet analysis {"connection_id":161900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:40:29] local.INFO: Extracted packet for processing {"connection_id":161900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641707776001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663222000,"timestamp_ms":1787663222000,"timestamp_seconds":1787663222,"priority":1,"record_length":96,"hex_timestamp":"000001a0390804f0"} 
[2026-08-25 18:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:40:29] 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-25 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641707776001,"66":2155,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"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-25 18:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641707776001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:40:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641707776001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":161900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:40:29] local.INFO: GPS data processed {"connection_id":161900,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:40:29] local.INFO: Acknowledgment sent {"connection_id":161900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:40:39] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:40:39] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:40:39] local.INFO: IMEI packet received {"connection_id":161901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":161901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:40:44] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:40:44] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:40:44] local.INFO: IMEI packet received {"connection_id":161901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":161901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:40:44] local.INFO: TCP Data received {"connection_id":163156,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:40:44] local.INFO: Processing buffer {"connection_id":163156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:40:44] local.INFO: IMEI packet received {"connection_id":163156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 18:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":163156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:40:47] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:40:47] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:40:47] local.INFO: Packet analysis {"connection_id":161901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:40:47] local.INFO: Extracted packet for processing {"connection_id":161901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641742848001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787663359000,"timestamp_ms":1787663359000,"timestamp_seconds":1787663359,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a1c18"} 
[2026-08-25 18: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-25 18:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:40:47] 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-25 18: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-25 18: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-25 18:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641742848001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641742848001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641742848001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":161901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:40:47] local.INFO: GPS data processed {"connection_id":161901,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:40:47] local.INFO: Acknowledgment sent {"connection_id":161901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:41:00] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:41:00] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:41:00] local.INFO: Packet analysis {"connection_id":161900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:41:00] local.INFO: Extracted packet for processing {"connection_id":161900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:41:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641707776001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787663222000,"timestamp_ms":1787663222000,"timestamp_seconds":1787663222,"priority":1,"record_length":96,"hex_timestamp":"000001a0390804f0"} 
[2026-08-25 18:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:41:00] 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-25 18:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641707776001,"66":2155,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"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-25 18:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641707776001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:41:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:41:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641707776001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":161900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:41:00] local.INFO: GPS data processed {"connection_id":161900,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:41:00] local.INFO: Acknowledgment sent {"connection_id":161900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:41:10] local.INFO: TCP Data received {"connection_id":162163,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:41:10] local.INFO: Processing buffer {"connection_id":162163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:41:10] local.INFO: IMEI packet received {"connection_id":162163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":162163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:41:16] local.INFO: TCP Data received {"connection_id":162163,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:41:16] local.INFO: Processing buffer {"connection_id":162163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:41:16] local.INFO: IMEI packet received {"connection_id":162163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":162163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:41:16] local.INFO: TCP Data received {"connection_id":162163,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a9148012d9be040056eab900010016127..."} 
[2026-08-25 18:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a9148012d9be040056eab900010016127..."} 
[2026-08-25 18:41:16] local.INFO: Processing buffer {"connection_id":162163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a9148012d9be040056eab900010016127..."} 
[2026-08-25 18:41:16] local.INFO: Packet analysis {"connection_id":162163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:41:16] local.INFO: Extracted packet for processing {"connection_id":162163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:41:16] local.INFO: GPS Element Parsed {"raw_longitude":765190208,"raw_latitude":91138960,"longitude_deg":76.5190208,"latitude_deg":9.113896,"altitude":16,"angle":353,"satellites":39,"speed":59,"hex_longitude":"2d9be040","hex_latitude":"056eab90","is_valid_coordinates":true} 
[2026-08-25 18:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641826048001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124028167198343168,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7213640679811387392,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787663389000,"timestamp_ms":1787663389000,"timestamp_seconds":1787663389,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a9148"} 
[2026-08-25 18:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-25 18:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641826048001,"66":12069,"53":206,"84":8448,"24":59,"16":124028167198343168,"45":-7213640679811387392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-25 18:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641826048001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:41:16] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 18:41:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124028167198343168,"km_value":124028167198343.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7213640679811387392,"description":"Unknown IO ID 45"} 
[2026-08-25 18:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641826048001,"power":12069,"unknown_53":206,"unknown_84":8448,"ignition":59,"odometer":null,"unknown_45":-7213640679811387392}} 
[2026-08-25 18:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":162163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:41:16] local.INFO: GPS data processed {"connection_id":162163,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:41:16] local.INFO: Acknowledgment sent {"connection_id":162163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:41:20] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:41:20] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:41:20] local.INFO: Packet analysis {"connection_id":161901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:41:20] local.INFO: Extracted packet for processing {"connection_id":161901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641742848001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787663359000,"timestamp_ms":1787663359000,"timestamp_seconds":1787663359,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a1c18"} 
[2026-08-25 18:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:41:20] 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-25 18:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:41:20] 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-25 18:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641742848001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641742848001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641742848001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":161901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:41:20] local.INFO: GPS data processed {"connection_id":161901,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:41:20] local.INFO: Acknowledgment sent {"connection_id":161901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:41:23] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:41:23] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:41:23] local.INFO: IMEI packet received {"connection_id":161902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":161902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:41:28] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:41:28] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:41:28] local.INFO: IMEI packet received {"connection_id":161902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":161902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:41:29] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:41:29] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:41:29] local.INFO: Packet analysis {"connection_id":161902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:41:29] local.INFO: Extracted packet for processing {"connection_id":161902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:41:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641707776001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663222000,"timestamp_ms":1787663222000,"timestamp_seconds":1787663222,"priority":1,"record_length":96,"hex_timestamp":"000001a0390804f0"} 
[2026-08-25 18:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:41:29] 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-25 18:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:41:29] local.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-25 18:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641707776001,"66":2155,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641707776001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:41:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:41:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641707776001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":161902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:41:29] local.INFO: GPS data processed {"connection_id":161902,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:41:29] local.INFO: Acknowledgment sent {"connection_id":161902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:41:39] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:41:39] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:41:39] local.INFO: IMEI packet received {"connection_id":161903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":161903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:41:44] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:41:44] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:41:44] local.INFO: IMEI packet received {"connection_id":161903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":161903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:41:45] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:41:45] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:41:45] local.INFO: Packet analysis {"connection_id":161903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:41:45] local.INFO: Extracted packet for processing {"connection_id":161903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641742848001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787663359000,"timestamp_ms":1787663359000,"timestamp_seconds":1787663359,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a1c18"} 
[2026-08-25 18:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641742848001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641742848001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:41:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641742848001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":161903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:41:45] local.INFO: GPS data processed {"connection_id":161903,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:41:45] local.INFO: Acknowledgment sent {"connection_id":161903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:41:47] local.INFO: TCP Data received {"connection_id":164535,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:41:47] local.INFO: Processing buffer {"connection_id":164535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:41:47] local.INFO: IMEI packet received {"connection_id":164535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":164535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:41:50] local.INFO: TCP Data received {"connection_id":164535,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:41:50] local.INFO: Processing buffer {"connection_id":164535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:41:50] local.INFO: IMEI packet received {"connection_id":164535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":164535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:41:53] local.INFO: TCP Data received {"connection_id":164535,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390be908012d9b9c4005704300000d015d26..."} 
[2026-08-25 18:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390be908012d9b9c4005704300000d015d26..."} 
[2026-08-25 18:41:53] local.INFO: Processing buffer {"connection_id":164535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390be908012d9b9c4005704300000d015d26..."} 
[2026-08-25 18:41:53] local.INFO: Packet analysis {"connection_id":164535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390b"} 
[2026-08-25 18:41:53] local.INFO: Extracted packet for processing {"connection_id":164535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390b"} 
[2026-08-25 18:41:53] local.INFO: GPS Element Parsed {"raw_longitude":765172800,"raw_latitude":91243264,"longitude_deg":76.51728,"latitude_deg":9.1243264,"altitude":13,"angle":349,"satellites":38,"speed":37,"hex_longitude":"2d9b9c40","hex_latitude":"05704300","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641847552001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124033303979229184,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7231655078294347776,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787663477000,"timestamp_ms":1787663477000,"timestamp_seconds":1787663477,"priority":1,"record_length":96,"hex_timestamp":"000001a0390be908"} 
[2026-08-25 18: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-25 18:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-25 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-25 18:41:53] 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-25 18: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-25 18: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-25 18:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641847552001,"66":12102,"233":206,"84":8448,"24":37,"16":124033303979229184,"45":-7231655078294347776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,84,24,16,45]} 
[2026-08-25 18:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641847552001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:41:53] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-25 18:41:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124033303979229184,"km_value":124033303979229.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7231655078294347776,"description":"Unknown IO ID 45"} 
[2026-08-25 18:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641847552001,"power":12102,"unknown_233":206,"unknown_84":8448,"ignition":37,"odometer":null,"unknown_45":-7231655078294347776}} 
[2026-08-25 18:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":164535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:41:53] local.INFO: GPS data processed {"connection_id":164535,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:41:53] local.INFO: Acknowledgment sent {"connection_id":164535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:41:55] local.INFO: TCP Data received {"connection_id":164535,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c0c30012d9b9780057067a8000e015e27..."} 
[2026-08-25 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c0c30012d9b9780057067a8000e015e27..."} 
[2026-08-25 18:41:55] local.INFO: Processing buffer {"connection_id":164535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c0c30012d9b9780057067a8000e015e27..."} 
[2026-08-25 18:41:55] local.INFO: Packet analysis {"connection_id":164535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:41:55] local.INFO: Extracted packet for processing {"connection_id":164535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":765171584,"raw_latitude":91252648,"longitude_deg":76.5171584,"latitude_deg":9.1252648,"altitude":14,"angle":350,"satellites":39,"speed":46,"hex_longitude":"2d9b9780","hex_latitude":"057067a8","is_valid_coordinates":true} 
[2026-08-25 18:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641850112001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124033763540729856,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7233836509361405952,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787663486000,"timestamp_ms":1787663486000,"timestamp_seconds":1787663486,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c0c30"} 
[2026-08-25 18:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-25 18:41:55] 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-25 18:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641850112001,"66":12069,"233":206,"84":8448,"24":46,"16":124033763540729856,"45":-7233836509361405952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,84,24,16,45]} 
[2026-08-25 18:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641850112001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:41:55] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-25 18:41:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124033763540729856,"km_value":124033763540729.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7233836509361405952,"description":"Unknown IO ID 45"} 
[2026-08-25 18:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641850112001,"power":12069,"unknown_233":206,"unknown_84":8448,"ignition":46,"odometer":null,"unknown_45":-7233836509361405952}} 
[2026-08-25 18:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":164535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:41:55] local.INFO: GPS data processed {"connection_id":164535,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:41:55] local.INFO: Acknowledgment sent {"connection_id":164535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:41:59] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:41:59] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:41:59] local.INFO: Packet analysis {"connection_id":161902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:41:59] local.INFO: Extracted packet for processing {"connection_id":161902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641707776001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787663222000,"timestamp_ms":1787663222000,"timestamp_seconds":1787663222,"priority":1,"record_length":96,"hex_timestamp":"000001a0390804f0"} 
[2026-08-25 18: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-25 18:41:59] 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-25 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641707776001,"66":2155,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641707776001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:41:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:41:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641707776001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":161902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:42:00] local.INFO: GPS data processed {"connection_id":161902,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:42:00] local.INFO: Acknowledgment sent {"connection_id":161902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:42:16] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:42:16] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:42:16] local.INFO: Packet analysis {"connection_id":161903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:42:16] local.INFO: Extracted packet for processing {"connection_id":161903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641742848001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787663359000,"timestamp_ms":1787663359000,"timestamp_seconds":1787663359,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a1c18"} 
[2026-08-25 18:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:42:16] 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-25 18:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641742848001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641742848001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641742848001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":161903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:42:16] local.INFO: GPS data processed {"connection_id":161903,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:42:16] local.INFO: Acknowledgment sent {"connection_id":161903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:42:23] local.INFO: TCP Data received {"connection_id":164536,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:42:23] local.INFO: Processing buffer {"connection_id":164536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:42:23] local.INFO: IMEI packet received {"connection_id":164536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":164536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:42:26] local.INFO: TCP Data received {"connection_id":164535,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c1fb8012d9b90c005707e40000e015128..."} 
[2026-08-25 18:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c1fb8012d9b90c005707e40000e015128..."} 
[2026-08-25 18:42:26] local.INFO: Processing buffer {"connection_id":164535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c1fb8012d9b90c005707e40000e015128..."} 
[2026-08-25 18:42:26] local.INFO: Packet analysis {"connection_id":164535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:42:26] local.INFO: Extracted packet for processing {"connection_id":164535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:42:26] local.INFO: GPS Element Parsed {"raw_longitude":765169856,"raw_latitude":91258432,"longitude_deg":76.5169856,"latitude_deg":9.1258432,"altitude":14,"angle":337,"satellites":40,"speed":48,"hex_longitude":"2d9b90c0","hex_latitude":"05707e40","is_valid_coordinates":true} 
[2026-08-25 18:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641852416001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124034055598505984,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7235173515498379264,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787663491000,"timestamp_ms":1787663491000,"timestamp_seconds":1787663491,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c1fb8"} 
[2026-08-25 18:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 18:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641852416001,"66":12385,"233":206,"84":8448,"24":48,"16":124034055598505984,"45":-7235173515498379264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,84,24,16,45]} 
[2026-08-25 18:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641852416001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:42:26] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-25 18:42:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124034055598505984,"km_value":124034055598505.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7235173515498379264,"description":"Unknown IO ID 45"} 
[2026-08-25 18:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641852416001,"power":12385,"unknown_233":206,"unknown_84":8448,"ignition":48,"odometer":null,"unknown_45":-7235173515498379264}} 
[2026-08-25 18:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":164535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:42:26] local.INFO: GPS data processed {"connection_id":164535,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:42:26] local.INFO: Acknowledgment sent {"connection_id":164535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:42:28] local.INFO: TCP Data received {"connection_id":164536,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:42:28] local.INFO: Processing buffer {"connection_id":164536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:42:28] local.INFO: IMEI packet received {"connection_id":164536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":164536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:42:29] local.INFO: TCP Data received {"connection_id":164536,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:42:29] local.INFO: Processing buffer {"connection_id":164536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390804f0012d196580071fef680042011a24..."} 
[2026-08-25 18:42:29] local.INFO: Packet analysis {"connection_id":164536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:42:29] local.INFO: Extracted packet for processing {"connection_id":164536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03908"} 
[2026-08-25 18:42:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641707776001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663222000,"timestamp_ms":1787663222000,"timestamp_seconds":1787663222,"priority":1,"record_length":96,"hex_timestamp":"000001a0390804f0"} 
[2026-08-25 18:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:42:29] 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-25 18:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:42:29] local.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-25 18:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641707776001,"66":2155,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641707776001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:42:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:42:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641707776001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":164536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:42:29] local.INFO: GPS data processed {"connection_id":164536,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:42:29] local.INFO: Acknowledgment sent {"connection_id":164536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:42:41] local.INFO: TCP Data received {"connection_id":163157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:42:41] local.INFO: Processing buffer {"connection_id":163157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:42:41] local.INFO: IMEI packet received {"connection_id":163157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":163157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:42:42] local.INFO: TCP Data received {"connection_id":163157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:42:42] local.INFO: Processing buffer {"connection_id":163157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:42:42] local.INFO: IMEI packet received {"connection_id":163157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":163157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:42:44] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:42:44] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:42:44] local.INFO: IMEI packet received {"connection_id":161904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":161904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:42:46] local.INFO: TCP Data received {"connection_id":163157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:42:46] local.INFO: Processing buffer {"connection_id":163157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:42:46] local.INFO: IMEI packet received {"connection_id":163157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":163157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:42:47] local.INFO: TCP Data received {"connection_id":163157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c3ef8012d9b804005709f30000e014827..."} 
[2026-08-25 18:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c3ef8012d9b804005709f30000e014827..."} 
[2026-08-25 18:42:47] local.INFO: Processing buffer {"connection_id":163157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c3ef8012d9b804005709f30000e014827..."} 
[2026-08-25 18:42:47] local.INFO: Packet analysis {"connection_id":163157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:42:47] local.INFO: Extracted packet for processing {"connection_id":163157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:42:47] local.INFO: GPS Element Parsed {"raw_longitude":765165632,"raw_latitude":91266864,"longitude_deg":76.5165632,"latitude_deg":9.1266864,"altitude":14,"angle":328,"satellites":39,"speed":45,"hex_longitude":"2d9b8040","hex_latitude":"05709f30","is_valid_coordinates":true} 
[2026-08-25 18:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641853696001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124034510865039360,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7237073471589695488,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787663499000,"timestamp_ms":1787663499000,"timestamp_seconds":1787663499,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c3ef8"} 
[2026-08-25 18:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 18:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641853696001,"66":12330,"233":206,"84":8448,"24":45,"16":124034510865039360,"45":-7237073471589695488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,84,24,16,45]} 
[2026-08-25 18:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641853696001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:42:47] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-25 18:42:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124034510865039360,"km_value":124034510865039.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7237073471589695488,"description":"Unknown IO ID 45"} 
[2026-08-25 18:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641853696001,"power":12330,"unknown_233":206,"unknown_84":8448,"ignition":45,"odometer":null,"unknown_45":-7237073471589695488}} 
[2026-08-25 18:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":163157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:42:47] local.INFO: GPS data processed {"connection_id":163157,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:42:47] local.INFO: Acknowledgment sent {"connection_id":163157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:42:48] local.INFO: TCP Data received {"connection_id":163157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c6220012d9b6bc00570c018000d014a28..."} 
[2026-08-25 18:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c6220012d9b6bc00570c018000d014a28..."} 
[2026-08-25 18:42:48] local.INFO: Processing buffer {"connection_id":163157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c6220012d9b6bc00570c018000d014a28..."} 
[2026-08-25 18:42:48] local.INFO: Packet analysis {"connection_id":163157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:42:48] local.INFO: Extracted packet for processing {"connection_id":163157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:42:48] local.INFO: GPS Element Parsed {"raw_longitude":765160384,"raw_latitude":91275288,"longitude_deg":76.5160384,"latitude_deg":9.1275288,"altitude":13,"angle":330,"satellites":40,"speed":44,"hex_longitude":"2d9b6bc0","hex_latitude":"0570c018","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641855744001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124034991901376512,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7241717808703262720,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787663508000,"timestamp_ms":1787663508000,"timestamp_seconds":1787663508,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c6220"} 
[2026-08-25 18: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-25 18:42: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-25 18: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 18:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641855744001,"66":12135,"233":206,"84":8448,"24":44,"16":124034991901376512,"45":-7241717808703262720},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,84,24,16,45]} 
[2026-08-25 18:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641855744001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:42:48] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-25 18:42:48] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124034991901376512,"km_value":124034991901376.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7241717808703262720,"description":"Unknown IO ID 45"} 
[2026-08-25 18:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641855744001,"power":12135,"unknown_233":206,"unknown_84":8448,"ignition":44,"odometer":null,"unknown_45":-7241717808703262720}} 
[2026-08-25 18:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":163157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:42:48] local.INFO: GPS data processed {"connection_id":163157,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:42:48] local.INFO: Acknowledgment sent {"connection_id":163157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:42:49] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:42:49] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:42:49] local.INFO: IMEI packet received {"connection_id":161904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":161904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:42:51] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:42:51] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:42:51] local.INFO: Packet analysis {"connection_id":161904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:42:51] local.INFO: Extracted packet for processing {"connection_id":161904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641742848001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787663359000,"timestamp_ms":1787663359000,"timestamp_seconds":1787663359,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a1c18"} 
[2026-08-25 18:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:42:51] 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-25 18:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641742848001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641742848001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641742848001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":161904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:42:51] local.INFO: GPS data processed {"connection_id":161904,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:42:51] local.INFO: Acknowledgment sent {"connection_id":161904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:42:55] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:42:55] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:42:55] local.INFO: Packet analysis {"connection_id":161904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:42:55] local.INFO: Extracted packet for processing {"connection_id":161904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641742848001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787663359000,"timestamp_ms":1787663359000,"timestamp_seconds":1787663359,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a1c18"} 
[2026-08-25 18:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:42: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-25 18:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641742848001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641742848001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:42:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641742848001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":161904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:42:55] local.INFO: GPS data processed {"connection_id":161904,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:42:55] local.INFO: Acknowledgment sent {"connection_id":161904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:43:00] local.INFO: TCP Data received {"connection_id":164536,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:43:00] local.INFO: Processing buffer {"connection_id":164536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:43:00] local.INFO: Packet analysis {"connection_id":164536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:43:00] local.INFO: Extracted packet for processing {"connection_id":164536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:43:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641784832001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787663523000,"timestamp_ms":1787663523000,"timestamp_seconds":1787663523,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c9cb8"} 
[2026-08-25 18:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:43:00] 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-25 18:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 18:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:43:00] local.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-25 18:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641784832001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641784832001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:43:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:43:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641784832001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":164536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:43:00] local.INFO: GPS data processed {"connection_id":164536,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:43:00] local.INFO: Acknowledgment sent {"connection_id":164536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:43:19] local.INFO: TCP Data received {"connection_id":163157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c8930012d9b5b000570e168000c015228..."} 
[2026-08-25 18:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c8930012d9b5b000570e168000c015228..."} 
[2026-08-25 18:43:19] local.INFO: Processing buffer {"connection_id":163157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c8930012d9b5b000570e168000c015228..."} 
[2026-08-25 18:43:19] local.INFO: Packet analysis {"connection_id":163157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:43:19] local.INFO: Extracted packet for processing {"connection_id":163157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:43:19] local.INFO: GPS Element Parsed {"raw_longitude":765156096,"raw_latitude":91283816,"longitude_deg":76.5156096,"latitude_deg":9.1283816,"altitude":12,"angle":338,"satellites":40,"speed":34,"hex_longitude":"2d9b5b00","hex_latitude":"0570e168","is_valid_coordinates":true} 
[2026-08-25 18:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641858048001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124035455757844480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7247488045723674624,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787663518000,"timestamp_ms":1787663518000,"timestamp_seconds":1787663518,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c8930"} 
[2026-08-25 18:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-25 18:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641858048001,"66":12069,"93":206,"84":8448,"24":34,"16":124035455757844480,"45":-7247488045723674624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 18:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641858048001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:43:19] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 18:43:19] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124035455757844480,"km_value":124035455757844.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7247488045723674624,"description":"Unknown IO ID 45"} 
[2026-08-25 18:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641858048001,"power":12069,"unknown_93":206,"unknown_84":8448,"ignition":34,"odometer":null,"unknown_45":-7247488045723674624}} 
[2026-08-25 18:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":163157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:43:19] local.INFO: GPS data processed {"connection_id":163157,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:43:19] local.INFO: Acknowledgment sent {"connection_id":163157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:43:28] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:43:28] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:43:28] local.INFO: IMEI packet received {"connection_id":161906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":161906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:43:33] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:43:33] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:43:33] local.INFO: IMEI packet received {"connection_id":161906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":161906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:43:34] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:43:34] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:43:34] local.INFO: Packet analysis {"connection_id":161906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:43:34] local.INFO: Extracted packet for processing {"connection_id":161906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:43:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641784832001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43: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-25 18:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787663523000,"timestamp_ms":1787663523000,"timestamp_seconds":1787663523,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c9cb8"} 
[2026-08-25 18: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-25 18:43:34] 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-25 18: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 18:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:43:34] local.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-25 18:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641784832001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641784832001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:43:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:43:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641784832001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":161906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:43:34] local.INFO: GPS data processed {"connection_id":161906,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:43:34] local.INFO: Acknowledgment sent {"connection_id":161906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:43:39] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:43:39] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:43:39] local.INFO: Packet analysis {"connection_id":161906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:43:39] local.INFO: Extracted packet for processing {"connection_id":161906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641784832001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787663523000,"timestamp_ms":1787663523000,"timestamp_seconds":1787663523,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c9cb8"} 
[2026-08-25 18:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:43:39] 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-25 18:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 18:43: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-25 18:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641784832001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641784832001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:43:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641784832001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":161906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:43:39] local.INFO: GPS data processed {"connection_id":161906,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:43:39] local.INFO: Acknowledgment sent {"connection_id":161906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:43:39] local.INFO: TCP Data received {"connection_id":164537,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:43:39] local.INFO: Processing buffer {"connection_id":164537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:43:39] local.INFO: IMEI packet received {"connection_id":164537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":164537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:43:41] local.INFO: TCP Data received {"connection_id":163158,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:43:41] local.INFO: Processing buffer {"connection_id":163158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:43:41] local.INFO: IMEI packet received {"connection_id":163158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":163158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:43:41] local.INFO: TCP Data received {"connection_id":163158,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:43:41] local.INFO: Processing buffer {"connection_id":163158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:43:41] local.INFO: IMEI packet received {"connection_id":163158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":163158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:43:44] local.INFO: TCP Data received {"connection_id":164537,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:43:44] local.INFO: Processing buffer {"connection_id":164537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:43:44] local.INFO: IMEI packet received {"connection_id":164537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":164537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:43:45] local.INFO: TCP Data received {"connection_id":164537,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:43:45] local.INFO: Processing buffer {"connection_id":164537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:43:45] local.INFO: Packet analysis {"connection_id":164537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:43:45] local.INFO: Extracted packet for processing {"connection_id":164537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641742848001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787663359000,"timestamp_ms":1787663359000,"timestamp_seconds":1787663359,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a1c18"} 
[2026-08-25 18:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641742848001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641742848001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641742848001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":164537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:43:45] local.INFO: GPS data processed {"connection_id":164537,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:43:45] local.INFO: Acknowledgment sent {"connection_id":164537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:43:46] local.INFO: TCP Data received {"connection_id":163158,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:43:46] local.INFO: Processing buffer {"connection_id":163158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:43:46] local.INFO: IMEI packet received {"connection_id":163158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":163158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:43:47] local.INFO: TCP Data received {"connection_id":163158,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c9cb8012d9b57400570eeb8000c016428..."} 
[2026-08-25 18:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c9cb8012d9b57400570eeb8000c016428..."} 
[2026-08-25 18:43:47] local.INFO: Processing buffer {"connection_id":163158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c9cb8012d9b57400570eeb8000c016428..."} 
[2026-08-25 18:43:47] local.INFO: Packet analysis {"connection_id":163158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:43:47] local.INFO: Extracted packet for processing {"connection_id":163158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:43:47] local.INFO: GPS Element Parsed {"raw_longitude":765155136,"raw_latitude":91287224,"longitude_deg":76.5155136,"latitude_deg":9.1287224,"altitude":12,"angle":356,"satellites":40,"speed":23,"hex_longitude":"2d9b5740","hex_latitude":"0570eeb8","is_valid_coordinates":true} 
[2026-08-25 18:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641860608001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124035627556536320,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7252202751581394944,"note":"Value kept but may cause issues"} 
[2026-08-25 18:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787663523000,"timestamp_ms":1787663523000,"timestamp_seconds":1787663523,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c9cb8"} 
[2026-08-25 18:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 18:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641860608001,"66":12178,"93":206,"84":8448,"24":23,"16":124035627556536320,"45":-7252202751581394944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 18:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641860608001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:43:47] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 18:43:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124035627556536320,"km_value":124035627556536.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7252202751581394944,"description":"Unknown IO ID 45"} 
[2026-08-25 18:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641860608001,"power":12178,"unknown_93":206,"unknown_84":8448,"ignition":23,"odometer":null,"unknown_45":-7252202751581394944}} 
[2026-08-25 18:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":163158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:43:47] local.INFO: GPS data processed {"connection_id":163158,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:43:47] local.INFO: Acknowledgment sent {"connection_id":163158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:44:17] local.INFO: TCP Data received {"connection_id":164537,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:44:17] local.INFO: Processing buffer {"connection_id":164537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:44:17] local.INFO: Packet analysis {"connection_id":164537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:44:17] local.INFO: Extracted packet for processing {"connection_id":164537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641742848001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787663359000,"timestamp_ms":1787663359000,"timestamp_seconds":1787663359,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a1c18"} 
[2026-08-25 18:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:44:17] 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-25 18:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641742848001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641742848001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641742848001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":164537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:44:17] local.INFO: GPS data processed {"connection_id":164537,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:44:17] local.INFO: Acknowledgment sent {"connection_id":164537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:44:18] local.INFO: TCP Data received {"connection_id":163158,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390cb810012d9b56400570fee0000d015728..."} 
[2026-08-25 18:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390cb810012d9b56400570fee0000d015728..."} 
[2026-08-25 18:44:18] local.INFO: Processing buffer {"connection_id":163158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390cb810012d9b56400570fee0000d015728..."} 
[2026-08-25 18:44:18] local.INFO: Packet analysis {"connection_id":163158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:44:18] local.INFO: Extracted packet for processing {"connection_id":163158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:44:18] local.INFO: GPS Element Parsed {"raw_longitude":765154880,"raw_latitude":91291360,"longitude_deg":76.515488,"latitude_deg":9.129136,"altitude":13,"angle":343,"satellites":40,"speed":19,"hex_longitude":"2d9b5640","hex_latitude":"0570fee0","is_valid_coordinates":true} 
[2026-08-25 18:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641861888001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124035829419999232,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7253258282743187456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787663530000,"timestamp_ms":1787663530000,"timestamp_seconds":1787663530,"priority":1,"record_length":96,"hex_timestamp":"000001a0390cb810"} 
[2026-08-25 18:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:44: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-25 18:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-25 18:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641861888001,"66":12026,"93":206,"84":8448,"24":19,"16":124035829419999232,"45":-7253258282743187456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 18:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641861888001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:44:18] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 18:44:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124035829419999232,"km_value":124035829419999.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7253258282743187456,"description":"Unknown IO ID 45"} 
[2026-08-25 18:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641861888001,"power":12026,"unknown_93":206,"unknown_84":8448,"ignition":19,"odometer":null,"unknown_45":-7253258282743187456}} 
[2026-08-25 18:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":163158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:44:18] local.INFO: GPS data processed {"connection_id":163158,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:44:18] local.INFO: Acknowledgment sent {"connection_id":163158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:44:23] local.INFO: TCP Data received {"connection_id":163159,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:44:23] local.INFO: Processing buffer {"connection_id":163159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:44:23] local.INFO: IMEI packet received {"connection_id":163159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":163159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:44:28] local.INFO: TCP Data received {"connection_id":163159,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:44:28] local.INFO: Processing buffer {"connection_id":163159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:44:28] local.INFO: IMEI packet received {"connection_id":163159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":163159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:44:29] local.INFO: TCP Data received {"connection_id":163159,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:44:29] local.INFO: Processing buffer {"connection_id":163159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:44:29] local.INFO: Packet analysis {"connection_id":163159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:44:29] local.INFO: Extracted packet for processing {"connection_id":163159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641784832001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663523000,"timestamp_ms":1787663523000,"timestamp_seconds":1787663523,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c9cb8"} 
[2026-08-25 18:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:44:29] 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-25 18:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 18:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:44:29] local.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-25 18:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641784832001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641784832001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:44:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:44:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641784832001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":163159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:44:29] local.INFO: GPS data processed {"connection_id":163159,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:44:29] local.INFO: Acknowledgment sent {"connection_id":163159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:44:40] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:44:40] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:44:40] local.INFO: IMEI packet received {"connection_id":161907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":161907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:44:44] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:44:44] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:44:44] local.INFO: IMEI packet received {"connection_id":161907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":161907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:44:45] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:44:45] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390a1c18012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:44:45] local.INFO: Packet analysis {"connection_id":161907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:44:45] local.INFO: Extracted packet for processing {"connection_id":161907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390a"} 
[2026-08-25 18:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 18:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641742848001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787663359000,"timestamp_ms":1787663359000,"timestamp_seconds":1787663359,"priority":1,"record_length":96,"hex_timestamp":"000001a0390a1c18"} 
[2026-08-25 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-25 18:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 18:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641742848001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641742848001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:44:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641742848001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":161907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:44:45] local.INFO: GPS data processed {"connection_id":161907,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:44:45] local.INFO: Acknowledgment sent {"connection_id":161907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:44:46] local.INFO: TCP Data received {"connection_id":164538,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:44:46] local.INFO: Processing buffer {"connection_id":164538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:44:46] local.INFO: IMEI packet received {"connection_id":164538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":164538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:44:49] local.INFO: TCP Data received {"connection_id":164538,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:44:49] local.INFO: Processing buffer {"connection_id":164538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:44:49] local.INFO: IMEI packet received {"connection_id":164538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":164538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:44:50] local.INFO: TCP Data received {"connection_id":164538,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390cf2a8012d9b524005710b98000d014a26..."} 
[2026-08-25 18:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390cf2a8012d9b524005710b98000d014a26..."} 
[2026-08-25 18:44:50] local.INFO: Processing buffer {"connection_id":164538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390cf2a8012d9b524005710b98000d014a26..."} 
[2026-08-25 18:44:50] local.INFO: Packet analysis {"connection_id":164538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:44:50] local.INFO: Extracted packet for processing {"connection_id":164538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:44:50] local.INFO: GPS Element Parsed {"raw_longitude":765153856,"raw_latitude":91294616,"longitude_deg":76.5153856,"latitude_deg":9.1294616,"altitude":13,"angle":330,"satellites":38,"speed":5,"hex_longitude":"2d9b5240","hex_latitude":"05710b98","is_valid_coordinates":true} 
[2026-08-25 18:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641863680001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124035996923723776,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7253539757718839296,"note":"Value kept but may cause issues"} 
[2026-08-25 18:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787663545000,"timestamp_ms":1787663545000,"timestamp_seconds":1787663545,"priority":1,"record_length":96,"hex_timestamp":"000001a0390cf2a8"} 
[2026-08-25 18:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:44: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-25 18:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-25 18:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641863680001,"66":11743,"93":206,"84":8448,"24":5,"16":124035996923723776,"45":-7253539757718839296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 18:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641863680001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:44:50] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 18:44:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124035996923723776,"km_value":124035996923723.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7253539757718839296,"description":"Unknown IO ID 45"} 
[2026-08-25 18:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641863680001,"power":11743,"unknown_93":206,"unknown_84":8448,"ignition":5,"odometer":null,"unknown_45":-7253539757718839296}} 
[2026-08-25 18:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":164538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:44:50] local.INFO: GPS data processed {"connection_id":164538,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:44:50] local.INFO: Acknowledgment sent {"connection_id":164538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:45:00] local.INFO: TCP Data received {"connection_id":163159,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:45:00] local.INFO: Processing buffer {"connection_id":163159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:45:00] local.INFO: Packet analysis {"connection_id":163159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:45:00] local.INFO: Extracted packet for processing {"connection_id":163159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641784832001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787663523000,"timestamp_ms":1787663523000,"timestamp_seconds":1787663523,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c9cb8"} 
[2026-08-25 18:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:45:00] 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-25 18:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 18:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:45:00] local.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-25 18:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641784832001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641784832001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:45:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641784832001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":163159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:45:00] local.INFO: GPS data processed {"connection_id":163159,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:45:00] local.INFO: Acknowledgment sent {"connection_id":163159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:45:16] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:45:16] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:45:16] local.INFO: Packet analysis {"connection_id":161907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:45:16] local.INFO: Extracted packet for processing {"connection_id":161907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641819904001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787663660000,"timestamp_ms":1787663660000,"timestamp_seconds":1787663660,"priority":1,"record_length":96,"hex_timestamp":"000001a0390eb3e0"} 
[2026-08-25 18:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 18:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641819904001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641819904001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641819904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":161907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:45:16] local.INFO: GPS data processed {"connection_id":161907,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:45:16] local.INFO: Acknowledgment sent {"connection_id":161907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:45:22] local.INFO: TCP Data received {"connection_id":164538,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390d2d40012d9b4a8005711bf8000d013328..."} 
[2026-08-25 18:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390d2d40012d9b4a8005711bf8000d013328..."} 
[2026-08-25 18:45:22] local.INFO: Processing buffer {"connection_id":164538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390d2d40012d9b4a8005711bf8000d013328..."} 
[2026-08-25 18:45:22] local.INFO: Packet analysis {"connection_id":164538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390d"} 
[2026-08-25 18:45:22] local.INFO: Extracted packet for processing {"connection_id":164538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390d"} 
[2026-08-25 18:45:22] local.INFO: GPS Element Parsed {"raw_longitude":765151872,"raw_latitude":91298808,"longitude_deg":76.5151872,"latitude_deg":9.1298808,"altitude":13,"angle":307,"satellites":40,"speed":13,"hex_longitude":"2d9b4a80","hex_latitude":"05711bf8","is_valid_coordinates":true} 
[2026-08-25 18:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641867520001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124036224556990464,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7254665657624848384,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787663560000,"timestamp_ms":1787663560000,"timestamp_seconds":1787663560,"priority":1,"record_length":96,"hex_timestamp":"000001a0390d2d40"} 
[2026-08-25 18:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-25 18:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641867520001,"66":12156,"93":206,"84":8448,"24":13,"16":124036224556990464,"45":-7254665657624848384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 18:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641867520001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:45:22] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 18:45:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124036224556990464,"km_value":124036224556990.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7254665657624848384,"description":"Unknown IO ID 45"} 
[2026-08-25 18:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641867520001,"power":12156,"unknown_93":206,"unknown_84":8448,"ignition":13,"odometer":null,"unknown_45":-7254665657624848384}} 
[2026-08-25 18:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":164538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:45:22] local.INFO: GPS data processed {"connection_id":164538,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:45:22] local.INFO: Acknowledgment sent {"connection_id":164538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:45:23] local.INFO: TCP Data received {"connection_id":163160,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:45:23] local.INFO: Processing buffer {"connection_id":163160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:45:23] local.INFO: IMEI packet received {"connection_id":163160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":163160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:45:28] local.INFO: TCP Data received {"connection_id":163160,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:45:28] local.INFO: Processing buffer {"connection_id":163160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:45:28] local.INFO: IMEI packet received {"connection_id":163160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":163160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:45:29] local.INFO: TCP Data received {"connection_id":163160,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:45:29] local.INFO: Processing buffer {"connection_id":163160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:45:29] local.INFO: Packet analysis {"connection_id":163160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:45:29] local.INFO: Extracted packet for processing {"connection_id":163160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641784832001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663523000,"timestamp_ms":1787663523000,"timestamp_seconds":1787663523,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c9cb8"} 
[2026-08-25 18:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:45:29] 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-25 18:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 18:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:45:29] local.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-25 18:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641784832001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641784832001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:45:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641784832001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":163160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:45:29] local.INFO: GPS data processed {"connection_id":163160,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:45:29] local.INFO: Acknowledgment sent {"connection_id":163160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:45:40] local.INFO: TCP Data received {"connection_id":163161,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:45:40] local.INFO: Processing buffer {"connection_id":163161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:45:40] local.INFO: IMEI packet received {"connection_id":163161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":163161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:45:42] local.INFO: TCP Data received {"connection_id":161908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:45:42] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:45:42] local.INFO: IMEI packet received {"connection_id":161908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":161908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:45:44] local.INFO: TCP Data received {"connection_id":163161,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:45:44] local.INFO: Processing buffer {"connection_id":163161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:45:44] local.INFO: IMEI packet received {"connection_id":163161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":163161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:45:45] local.INFO: TCP Data received {"connection_id":163161,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:45:45] local.INFO: Processing buffer {"connection_id":163161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:45:45] local.INFO: Packet analysis {"connection_id":163161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:45:45] local.INFO: Extracted packet for processing {"connection_id":163161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641819904001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787663660000,"timestamp_ms":1787663660000,"timestamp_seconds":1787663660,"priority":1,"record_length":96,"hex_timestamp":"000001a0390eb3e0"} 
[2026-08-25 18:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:45:45] 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-25 18:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 18:45:45] 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-25 18:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:45:45] 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-25 18:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641819904001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641819904001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641819904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":163161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:45:45] local.INFO: GPS data processed {"connection_id":163161,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:45:45] local.INFO: Acknowledgment sent {"connection_id":163161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:45:45] local.INFO: TCP Data received {"connection_id":161908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:45:45] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:45:45] local.INFO: IMEI packet received {"connection_id":161908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":161908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:45:51] local.INFO: TCP Data received {"connection_id":161908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:45:51] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:45:51] local.INFO: IMEI packet received {"connection_id":161908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":161908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:45:53] local.INFO: TCP Data received {"connection_id":161908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390f7348012d9ae6400571fe98000f015526..."} 
[2026-08-25 18:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390f7348012d9ae6400571fe98000f015526..."} 
[2026-08-25 18:45:53] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390f7348012d9ae6400571fe98000f015526..."} 
[2026-08-25 18:45:53] local.INFO: Packet analysis {"connection_id":161908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390f"} 
[2026-08-25 18:45:53] local.INFO: Extracted packet for processing {"connection_id":161908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390f"} 
[2026-08-25 18:45:53] local.INFO: GPS Element Parsed {"raw_longitude":765126208,"raw_latitude":91356824,"longitude_deg":76.5126208,"latitude_deg":9.1356824,"altitude":15,"angle":341,"satellites":38,"speed":21,"hex_longitude":"2d9ae640","hex_latitude":"0571fe98","is_valid_coordinates":true} 
[2026-08-25 18:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641904128001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124039424307625984,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7281898361607878656,"note":"Value kept but may cause issues"} 
[2026-08-25 18:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787663709000,"timestamp_ms":1787663709000,"timestamp_seconds":1787663709,"priority":1,"record_length":96,"hex_timestamp":"000001a0390f7348"} 
[2026-08-25 18:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-25 18:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 18:45:53] 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-25 18:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641904128001,"66":12058,"93":206,"84":8448,"24":21,"16":124039424307625984,"45":-7281898361607878656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 18:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641904128001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:45:53] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 18:45:53] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124039424307625984,"km_value":124039424307625.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7281898361607878656,"description":"Unknown IO ID 45"} 
[2026-08-25 18:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641904128001,"power":12058,"unknown_93":206,"unknown_84":8448,"ignition":21,"odometer":null,"unknown_45":-7281898361607878656}} 
[2026-08-25 18:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":161908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:45:53] local.INFO: GPS data processed {"connection_id":161908,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:45:53] local.INFO: Acknowledgment sent {"connection_id":161908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:46:00] local.INFO: TCP Data received {"connection_id":163160,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:46:00] local.INFO: Processing buffer {"connection_id":163160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:46:00] local.INFO: Packet analysis {"connection_id":163160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:46:00] local.INFO: Extracted packet for processing {"connection_id":163160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:46:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641784832001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787663523000,"timestamp_ms":1787663523000,"timestamp_seconds":1787663523,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c9cb8"} 
[2026-08-25 18:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:46:00] 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-25 18:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 18:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:46:00] local.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-25 18:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641784832001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641784832001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:46:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:46:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641784832001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":163160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:46:00] local.INFO: GPS data processed {"connection_id":163160,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:46:00] local.INFO: Acknowledgment sent {"connection_id":163160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:46:10] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:46:10] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:46:10] local.INFO: IMEI packet received {"connection_id":161905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 18:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":161905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:46:17] local.INFO: TCP Data received {"connection_id":163161,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:46:17] local.INFO: Processing buffer {"connection_id":163161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:46:17] local.INFO: Packet analysis {"connection_id":163161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:46:17] local.INFO: Extracted packet for processing {"connection_id":163161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641819904001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787663660000,"timestamp_ms":1787663660000,"timestamp_seconds":1787663660,"priority":1,"record_length":96,"hex_timestamp":"000001a0390eb3e0"} 
[2026-08-25 18: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-25 18:46: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-25 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 18:46:17] 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-25 18: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-25 18: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-25 18:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641819904001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641819904001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641819904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":163161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:46:17] local.INFO: GPS data processed {"connection_id":163161,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:46:17] local.INFO: Acknowledgment sent {"connection_id":163161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:46:23] local.INFO: TCP Data received {"connection_id":164539,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:46:23] local.INFO: Processing buffer {"connection_id":164539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:46:23] local.INFO: IMEI packet received {"connection_id":164539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":164539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:46:26] local.INFO: TCP Data received {"connection_id":161908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390fc168012d9ad9c005721e40000e015126..."} 
[2026-08-25 18:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390fc168012d9ad9c005721e40000e015126..."} 
[2026-08-25 18:46:26] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390fc168012d9ad9c005721e40000e015126..."} 
[2026-08-25 18:46:26] local.INFO: Packet analysis {"connection_id":161908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390f"} 
[2026-08-25 18:46:26] local.INFO: Extracted packet for processing {"connection_id":161908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390f"} 
[2026-08-25 18:46:26] local.INFO: GPS Element Parsed {"raw_longitude":765123008,"raw_latitude":91364928,"longitude_deg":76.5123008,"latitude_deg":9.1364928,"altitude":14,"angle":337,"satellites":38,"speed":25,"hex_longitude":"2d9ad9c0","hex_latitude":"05721e40","is_valid_coordinates":true} 
[2026-08-25 18:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641909504001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124039845214420992,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7285064955093673984,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787663729000,"timestamp_ms":1787663729000,"timestamp_seconds":1787663729,"priority":1,"record_length":96,"hex_timestamp":"000001a0390fc168"} 
[2026-08-25 18:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:46: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-25 18:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 18:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641909504001,"66":11874,"93":206,"84":8448,"24":25,"16":124039845214420992,"45":-7285064955093673984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 18:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641909504001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:46:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 18:46:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124039845214420992,"km_value":124039845214420.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7285064955093673984,"description":"Unknown IO ID 45"} 
[2026-08-25 18:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641909504001,"power":11874,"unknown_93":206,"unknown_84":8448,"ignition":25,"odometer":null,"unknown_45":-7285064955093673984}} 
[2026-08-25 18:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":161908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:46:26] local.INFO: GPS data processed {"connection_id":161908,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:46:26] local.INFO: Acknowledgment sent {"connection_id":161908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:46:28] local.INFO: TCP Data received {"connection_id":164539,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:46:28] local.INFO: Processing buffer {"connection_id":164539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:46:28] local.INFO: IMEI packet received {"connection_id":164539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":164539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:46:29] local.INFO: TCP Data received {"connection_id":164539,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:46:29] local.INFO: Processing buffer {"connection_id":164539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:46:29] local.INFO: Packet analysis {"connection_id":164539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:46:29] local.INFO: Extracted packet for processing {"connection_id":164539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:46:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641784832001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663523000,"timestamp_ms":1787663523000,"timestamp_seconds":1787663523,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c9cb8"} 
[2026-08-25 18:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:46:29] 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-25 18:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 18:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:46:29] local.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-25 18:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641784832001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641784832001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:46:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641784832001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":164539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:46:29] local.INFO: GPS data processed {"connection_id":164539,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:46:29] local.INFO: Acknowledgment sent {"connection_id":164539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:46:38] local.INFO: TCP Data received {"connection_id":163162,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:46:38] local.INFO: Processing buffer {"connection_id":163162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:46:38] local.INFO: IMEI packet received {"connection_id":163162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":163162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:46:40] local.INFO: TCP Data received {"connection_id":163162,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:46:40] local.INFO: Processing buffer {"connection_id":163162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:46:40] local.INFO: IMEI packet received {"connection_id":163162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":163162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:46:44] local.INFO: TCP Data received {"connection_id":164540,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:46:44] local.INFO: Processing buffer {"connection_id":164540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:46:44] local.INFO: IMEI packet received {"connection_id":164540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":164540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:46:46] local.INFO: TCP Data received {"connection_id":163162,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:46:46] local.INFO: Processing buffer {"connection_id":163162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:46:46] local.INFO: IMEI packet received {"connection_id":163162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":163162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:46:46] local.INFO: TCP Data received {"connection_id":163162,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0390ff048012d9ad0c005723658000e015c27..."} 
[2026-08-25 18:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390ff048012d9ad0c005723658000e015c27..."} 
[2026-08-25 18:46:46] local.INFO: Processing buffer {"connection_id":163162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390ff048012d9ad0c005723658000e015c27..."} 
[2026-08-25 18:46:46] local.INFO: Packet analysis {"connection_id":163162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390f"} 
[2026-08-25 18:46:46] local.INFO: Extracted packet for processing {"connection_id":163162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390f"} 
[2026-08-25 18:46:46] local.INFO: GPS Element Parsed {"raw_longitude":765120704,"raw_latitude":91371096,"longitude_deg":76.5120704,"latitude_deg":9.1371096,"altitude":14,"angle":348,"satellites":39,"speed":19,"hex_longitude":"2d9ad0c0","hex_latitude":"05723658","is_valid_coordinates":true} 
[2026-08-25 18:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641914624001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124040167336968192,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7288583392300482560,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787663741000,"timestamp_ms":1787663741000,"timestamp_seconds":1787663741,"priority":1,"record_length":96,"hex_timestamp":"000001a0390ff048"} 
[2026-08-25 18:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-25 18:46:46] 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-25 18:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641914624001,"66":12037,"93":206,"84":8448,"24":19,"16":124040167336968192,"45":-7288583392300482560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 18:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641914624001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:46:46] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 18:46:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124040167336968192,"km_value":124040167336968.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7288583392300482560,"description":"Unknown IO ID 45"} 
[2026-08-25 18:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641914624001,"power":12037,"unknown_93":206,"unknown_84":8448,"ignition":19,"odometer":null,"unknown_45":-7288583392300482560}} 
[2026-08-25 18:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":163162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:46:46] local.INFO: GPS data processed {"connection_id":163162,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:46:46] local.INFO: Acknowledgment sent {"connection_id":163162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:46:49] local.INFO: TCP Data received {"connection_id":164540,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:46:49] local.INFO: Processing buffer {"connection_id":164540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:46:49] local.INFO: IMEI packet received {"connection_id":164540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":164540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:46:50] local.INFO: TCP Data received {"connection_id":164540,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:46:50] local.INFO: Processing buffer {"connection_id":164540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:46:50] local.INFO: Packet analysis {"connection_id":164540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:46:50] local.INFO: Extracted packet for processing {"connection_id":164540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:46:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641819904001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787663660000,"timestamp_ms":1787663660000,"timestamp_seconds":1787663660,"priority":1,"record_length":96,"hex_timestamp":"000001a0390eb3e0"} 
[2026-08-25 18: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-25 18:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 18:46:50] 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-25 18: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-25 18: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-25 18:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18: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-25 18:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641819904001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641819904001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:46:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641819904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":164540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:46:50] local.INFO: GPS data processed {"connection_id":164540,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:46:50] local.INFO: Acknowledgment sent {"connection_id":164540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:46:55] local.INFO: TCP Data received {"connection_id":164540,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:46:55] local.INFO: Processing buffer {"connection_id":164540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:46:55] local.INFO: Packet analysis {"connection_id":164540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:46:55] local.INFO: Extracted packet for processing {"connection_id":164540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:46:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641819904001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787663660000,"timestamp_ms":1787663660000,"timestamp_seconds":1787663660,"priority":1,"record_length":96,"hex_timestamp":"000001a0390eb3e0"} 
[2026-08-25 18:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:46:55] 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-25 18:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 18:46:55] 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-25 18:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18: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-25 18:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641819904001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641819904001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:46:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641819904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":164540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:46:55] local.INFO: GPS data processed {"connection_id":164540,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:46:55] local.INFO: Acknowledgment sent {"connection_id":164540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:47:00] local.INFO: TCP Data received {"connection_id":164539,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:47:00] local.INFO: Processing buffer {"connection_id":164539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:47:00] local.INFO: Packet analysis {"connection_id":164539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:47:00] local.INFO: Extracted packet for processing {"connection_id":164539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:47:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641784832001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787663523000,"timestamp_ms":1787663523000,"timestamp_seconds":1787663523,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c9cb8"} 
[2026-08-25 18:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:47:00] 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-25 18:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 18:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:47:00] local.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-25 18:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641784832001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641784832001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:47:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:47:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641784832001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":164539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:47:00] local.INFO: GPS data processed {"connection_id":164539,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:47:00] local.INFO: Acknowledgment sent {"connection_id":164539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:47:17] local.INFO: TCP Data received {"connection_id":163162,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0391026f8012d9ace40057257f00010000027..."} 
[2026-08-25 18:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391026f8012d9ace40057257f00010000027..."} 
[2026-08-25 18:47:17] local.INFO: Processing buffer {"connection_id":163162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391026f8012d9ace40057257f00010000027..."} 
[2026-08-25 18:47:17] local.INFO: Packet analysis {"connection_id":163162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03910"} 
[2026-08-25 18:47:17] local.INFO: Extracted packet for processing {"connection_id":163162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03910"} 
[2026-08-25 18:47:17] local.INFO: GPS Element Parsed {"raw_longitude":765120064,"raw_latitude":91379696,"longitude_deg":76.5120064,"latitude_deg":9.1379696,"altitude":16,"angle":0,"satellites":39,"speed":28,"hex_longitude":"2d9ace40","hex_latitude":"057257f0","is_valid_coordinates":true} 
[2026-08-25 18:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641917696001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124040588243763200,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7291116667089299456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787663755000,"timestamp_ms":1787663755000,"timestamp_seconds":1787663755,"priority":1,"record_length":96,"hex_timestamp":"000001a0391026f8"} 
[2026-08-25 18:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-25 18:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1873497445153899520,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2599829509,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:17] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3422552064,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-7611926909011558376,"corrected_to":0} 
[2026-08-25 18:47:17] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:17] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2889547776,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":8182028972570268708,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:17] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194925312,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:17] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,93,84,24,241,157,16,173,160,193,45,192,30,14,38,10,66,115,64,254,15,33,128,1,240,86,227,172,57,113,4,205,125,255,208,239,47,2,184,5,69],"length":484,"final_offset":614,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-7611926909011558376,"validated":0}]} 
[2026-08-25 18:47:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009189114082426880,"timestamp_seconds":1009189114082426.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641917696001,"66":12069,"93":206,"84":8448,"24":28,"16":124040588243763200,"45":-7291116667089299456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 18:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641917696001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:47:17] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 18:47:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124040588243763200,"km_value":124040588243763.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7291116667089299456,"description":"Unknown IO ID 45"} 
[2026-08-25 18:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641917696001,"power":12069,"unknown_93":206,"unknown_84":8448,"ignition":28,"odometer":null,"unknown_45":-7291116667089299456}} 
[2026-08-25 18:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":163162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:47:17] local.INFO: GPS data processed {"connection_id":163162,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:47:17] local.INFO: Acknowledgment sent {"connection_id":163162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:47:23] local.INFO: TCP Data received {"connection_id":164541,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:47:23] local.INFO: Processing buffer {"connection_id":164541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:47:23] local.INFO: IMEI packet received {"connection_id":164541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":164541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:47:28] local.INFO: TCP Data received {"connection_id":164541,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:47:28] local.INFO: Processing buffer {"connection_id":164541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:47:28] local.INFO: IMEI packet received {"connection_id":164541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":164541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:47:29] local.INFO: TCP Data received {"connection_id":164541,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:47:29] local.INFO: Processing buffer {"connection_id":164541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390c9cb8012d196580071fef680042011a29..."} 
[2026-08-25 18:47:29] local.INFO: Packet analysis {"connection_id":164541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:47:29] local.INFO: Extracted packet for processing {"connection_id":164541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390c"} 
[2026-08-25 18:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641784832001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663523000,"timestamp_ms":1787663523000,"timestamp_seconds":1787663523,"priority":1,"record_length":96,"hex_timestamp":"000001a0390c9cb8"} 
[2026-08-25 18:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:47:29] 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-25 18:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 18:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:47:29] local.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-25 18:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641784832001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641784832001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:47:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641784832001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":164541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:47:29] local.INFO: GPS data processed {"connection_id":164541,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:47:29] local.INFO: Acknowledgment sent {"connection_id":164541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:47:38] local.INFO: TCP Data received {"connection_id":162164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:47:38] local.INFO: Processing buffer {"connection_id":162164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:47:38] local.INFO: IMEI packet received {"connection_id":162164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":162164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:47:39] local.INFO: TCP Data received {"connection_id":164542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:47:39] local.INFO: Processing buffer {"connection_id":164542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:47:39] local.INFO: IMEI packet received {"connection_id":164542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":164542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:47:41] local.INFO: TCP Data received {"connection_id":162164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:47:41] local.INFO: Processing buffer {"connection_id":162164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:47:41] local.INFO: IMEI packet received {"connection_id":162164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":162164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:47:44] local.INFO: TCP Data received {"connection_id":164542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:47:44] local.INFO: Processing buffer {"connection_id":164542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:47:44] local.INFO: IMEI packet received {"connection_id":164542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":164542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:47:45] local.INFO: TCP Data received {"connection_id":164542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:47:45] local.INFO: Processing buffer {"connection_id":164542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:47:45] local.INFO: Packet analysis {"connection_id":164542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:47:45] local.INFO: Extracted packet for processing {"connection_id":164542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641819904001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787663660000,"timestamp_ms":1787663660000,"timestamp_seconds":1787663660,"priority":1,"record_length":96,"hex_timestamp":"000001a0390eb3e0"} 
[2026-08-25 18:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:47:45] 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-25 18:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 18:47:45] 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-25 18:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641819904001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641819904001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641819904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":164542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:47:45] local.INFO: GPS data processed {"connection_id":164542,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:47:45] local.INFO: Acknowledgment sent {"connection_id":164542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:47:46] local.INFO: TCP Data received {"connection_id":162164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:47:46] local.INFO: Processing buffer {"connection_id":162164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:47:46] local.INFO: IMEI packet received {"connection_id":162164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":162164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:47:47] local.INFO: TCP Data received {"connection_id":162164,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039106578012d9acec005727b48000f000328..."} 
[2026-08-25 18:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039106578012d9acec005727b48000f000328..."} 
[2026-08-25 18:47:47] local.INFO: Processing buffer {"connection_id":162164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039106578012d9acec005727b48000f000328..."} 
[2026-08-25 18:47:47] local.INFO: Packet analysis {"connection_id":162164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03910"} 
[2026-08-25 18:47:47] local.INFO: Extracted packet for processing {"connection_id":162164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03910"} 
[2026-08-25 18:47:47] local.INFO: GPS Element Parsed {"raw_longitude":765120192,"raw_latitude":91388744,"longitude_deg":76.5120192,"latitude_deg":9.1388744,"altitude":15,"angle":3,"satellites":40,"speed":20,"hex_longitude":"2d9acec0","hex_latitude":"05727b48","is_valid_coordinates":true} 
[2026-08-25 18:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641921280001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124041026330427392,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7291820354528874496,"note":"Value kept but may cause issues"} 
[2026-08-25 18:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787663771000,"timestamp_ms":1787663771000,"timestamp_seconds":1787663771,"priority":1,"record_length":96,"hex_timestamp":"000001a039106578"} 
[2026-08-25 18:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 18:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641921280001,"66":12069,"93":206,"84":8448,"24":20,"16":124041026330427392,"45":-7291820354528874496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-25 18:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641921280001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:47:47] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 18:47:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-25 18:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124041026330427392,"km_value":124041026330427.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7291820354528874496,"description":"Unknown IO ID 45"} 
[2026-08-25 18:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641921280001,"power":12069,"unknown_93":206,"unknown_84":8448,"ignition":20,"odometer":null,"unknown_45":-7291820354528874496}} 
[2026-08-25 18:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":162164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:47:47] local.INFO: GPS data processed {"connection_id":162164,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:47:47] local.INFO: Acknowledgment sent {"connection_id":162164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:48:00] local.INFO: TCP Data received {"connection_id":164541,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:48:00] local.INFO: Processing buffer {"connection_id":164541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:48:00] local.INFO: Packet analysis {"connection_id":164541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:48:00] local.INFO: Extracted packet for processing {"connection_id":164541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:48:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641861888001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787663824000,"timestamp_ms":1787663824000,"timestamp_seconds":1787663824,"priority":1,"record_length":96,"hex_timestamp":"000001a039113480"} 
[2026-08-25 18:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:48:00] local.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-25 18:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641861888001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641861888001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:48:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:48:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641861888001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":164541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:48:00] local.INFO: GPS data processed {"connection_id":164541,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:48:00] local.INFO: Acknowledgment sent {"connection_id":164541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:48:17] local.INFO: TCP Data received {"connection_id":164542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:48:17] local.INFO: Processing buffer {"connection_id":164542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:48:17] local.INFO: Packet analysis {"connection_id":164542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:48:17] local.INFO: Extracted packet for processing {"connection_id":164542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641819904001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787663660000,"timestamp_ms":1787663660000,"timestamp_seconds":1787663660,"priority":1,"record_length":96,"hex_timestamp":"000001a0390eb3e0"} 
[2026-08-25 18:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:48: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-25 18:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 18:48:17] 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-25 18:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641819904001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641819904001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641819904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":164542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:48:17] local.INFO: GPS data processed {"connection_id":164542,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:48:17] local.INFO: Acknowledgment sent {"connection_id":164542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:48:18] local.INFO: TCP Data received {"connection_id":162164,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0391088a0012d9ad04005728cf8000e000f27..."} 
[2026-08-25 18:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391088a0012d9ad04005728cf8000e000f27..."} 
[2026-08-25 18:48:18] local.INFO: Processing buffer {"connection_id":162164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391088a0012d9ad04005728cf8000e000f27..."} 
[2026-08-25 18:48:18] local.INFO: Packet analysis {"connection_id":162164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03910"} 
[2026-08-25 18:48:18] local.INFO: Extracted packet for processing {"connection_id":162164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03910"} 
[2026-08-25 18:48:18] local.INFO: GPS Element Parsed {"raw_longitude":765120576,"raw_latitude":91393272,"longitude_deg":76.5120576,"latitude_deg":9.1393272,"altitude":14,"angle":15,"satellites":39,"speed":21,"hex_longitude":"2d9ad040","hex_latitude":"05728cf8","is_valid_coordinates":true} 
[2026-08-25 18:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641925376001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124041245373759488,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7291679617038202880,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787663780000,"timestamp_ms":1787663780000,"timestamp_seconds":1787663780,"priority":1,"record_length":96,"hex_timestamp":"000001a0391088a0"} 
[2026-08-25 18:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:48: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-25 18:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 18:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641925376001,"66":12156,"162":206,"85":15872,"24":21,"16":124041245373759488,"45":-7291679617038202880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 18:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641925376001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:48:18] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 18:48:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124041245373759488,"km_value":124041245373759.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7291679617038202880,"description":"Unknown IO ID 45"} 
[2026-08-25 18:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641925376001,"power":12156,"unknown_162":206,"unknown_85":15872,"ignition":21,"odometer":null,"unknown_45":-7291679617038202880}} 
[2026-08-25 18:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":162164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:48:18] local.INFO: GPS data processed {"connection_id":162164,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:48:18] local.INFO: Acknowledgment sent {"connection_id":162164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:48:23] local.INFO: TCP Data received {"connection_id":161910,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:48:23] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:48:23] local.INFO: IMEI packet received {"connection_id":161910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":161910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:48:28] local.INFO: TCP Data received {"connection_id":161910,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:48:28] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:48:28] local.INFO: IMEI packet received {"connection_id":161910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":161910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:48:29] local.INFO: TCP Data received {"connection_id":161910,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:48:29] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:48:29] local.INFO: Packet analysis {"connection_id":161910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:48:29] local.INFO: Extracted packet for processing {"connection_id":161910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:48:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641861888001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663824000,"timestamp_ms":1787663824000,"timestamp_seconds":1787663824,"priority":1,"record_length":96,"hex_timestamp":"000001a039113480"} 
[2026-08-25 18:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:48:29] local.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-25 18:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641861888001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641861888001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:48:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641861888001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":161910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:48:29] local.INFO: GPS data processed {"connection_id":161910,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:48:29] local.INFO: Acknowledgment sent {"connection_id":161910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:48:39] local.INFO: TCP Data received {"connection_id":164543,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:48:39] local.INFO: Processing buffer {"connection_id":164543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:48:39] local.INFO: IMEI packet received {"connection_id":164543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":164543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:48:41] local.INFO: TCP Data received {"connection_id":164544,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:48:41] local.INFO: Processing buffer {"connection_id":164544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:48:41] local.INFO: IMEI packet received {"connection_id":164544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":164544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:48:41] local.INFO: TCP Data received {"connection_id":164544,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:48:41] local.INFO: Processing buffer {"connection_id":164544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:48:41] local.INFO: IMEI packet received {"connection_id":164544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":164544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:48:44] local.INFO: TCP Data received {"connection_id":164543,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:48:44] local.INFO: Processing buffer {"connection_id":164543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:48:44] local.INFO: IMEI packet received {"connection_id":164543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":164543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:48:45] local.INFO: TCP Data received {"connection_id":164543,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:48:45] local.INFO: Processing buffer {"connection_id":164543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:48:45] local.INFO: Packet analysis {"connection_id":164543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:48:45] local.INFO: Extracted packet for processing {"connection_id":164543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641819904001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787663660000,"timestamp_ms":1787663660000,"timestamp_seconds":1787663660,"priority":1,"record_length":96,"hex_timestamp":"000001a0390eb3e0"} 
[2026-08-25 18:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:48:45] 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-25 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 18:48:45] 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-25 18:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641819904001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641819904001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:48:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641819904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":164543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:48:45] local.INFO: GPS data processed {"connection_id":164543,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:48:45] local.INFO: Acknowledgment sent {"connection_id":164543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:48:46] local.INFO: TCP Data received {"connection_id":164544,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:48:46] local.INFO: Processing buffer {"connection_id":164544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:48:46] local.INFO: IMEI packet received {"connection_id":164544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":164544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:48:46] local.INFO: TCP Data received {"connection_id":164544,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039122a98012d9aee800573cf00000c000928..."} 
[2026-08-25 18:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039122a98012d9aee800573cf00000c000928..."} 
[2026-08-25 18:48:46] local.INFO: Processing buffer {"connection_id":164544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039122a98012d9aee800573cf00000c000928..."} 
[2026-08-25 18:48:46] local.INFO: Packet analysis {"connection_id":164544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03912"} 
[2026-08-25 18:48:46] local.INFO: Extracted packet for processing {"connection_id":164544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03912"} 
[2026-08-25 18:48:46] local.INFO: GPS Element Parsed {"raw_longitude":765128320,"raw_latitude":91475712,"longitude_deg":76.512832,"latitude_deg":9.1475712,"altitude":12,"angle":9,"satellites":40,"speed":34,"hex_longitude":"2d9aee80","hex_latitude":"0573cf00","is_valid_coordinates":true} 
[2026-08-25 18:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641952512001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124045304117854208,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7284994586321428480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787663887000,"timestamp_ms":1787663887000,"timestamp_seconds":1787663887,"priority":1,"record_length":96,"hex_timestamp":"000001a039122a98"} 
[2026-08-25 18:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-25 18:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641952512001,"66":12461,"162":206,"85":15872,"24":34,"16":124045304117854208,"45":-7284994586321428480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 18:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641952512001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:48:46] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 18:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124045304117854208,"km_value":124045304117854.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7284994586321428480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641952512001,"power":12461,"unknown_162":206,"unknown_85":15872,"ignition":34,"odometer":null,"unknown_45":-7284994586321428480}} 
[2026-08-25 18:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":164544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:48:46] local.INFO: GPS data processed {"connection_id":164544,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:48:46] local.INFO: Acknowledgment sent {"connection_id":164544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:49:00] local.INFO: TCP Data received {"connection_id":161910,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:49:00] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:49:00] local.INFO: Packet analysis {"connection_id":161910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:49:00] local.INFO: Extracted packet for processing {"connection_id":161910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:49:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641861888001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787663824000,"timestamp_ms":1787663824000,"timestamp_seconds":1787663824,"priority":1,"record_length":96,"hex_timestamp":"000001a039113480"} 
[2026-08-25 18:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:49:00] local.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-25 18:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641861888001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641861888001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:49:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:49:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641861888001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":161910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:49:00] local.INFO: GPS data processed {"connection_id":161910,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:49:00] local.INFO: Acknowledgment sent {"connection_id":161910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:49:16] local.INFO: TCP Data received {"connection_id":164543,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:49:16] local.INFO: Processing buffer {"connection_id":164543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:49:16] local.INFO: Packet analysis {"connection_id":164543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:49:16] local.INFO: Extracted packet for processing {"connection_id":164543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641819904001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787663660000,"timestamp_ms":1787663660000,"timestamp_seconds":1787663660,"priority":1,"record_length":96,"hex_timestamp":"000001a0390eb3e0"} 
[2026-08-25 18:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 18:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641819904001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641819904001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641819904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":164543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:49:16] local.INFO: GPS data processed {"connection_id":164543,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:49:16] local.INFO: Acknowledgment sent {"connection_id":164543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:49:18] local.INFO: TCP Data received {"connection_id":164544,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039125978012d9af4000573f310000e000520..."} 
[2026-08-25 18:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039125978012d9af4000573f310000e000520..."} 
[2026-08-25 18:49:18] local.INFO: Processing buffer {"connection_id":164544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039125978012d9af4000573f310000e000520..."} 
[2026-08-25 18:49:18] local.INFO: Packet analysis {"connection_id":164544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03912"} 
[2026-08-25 18:49:18] local.INFO: Extracted packet for processing {"connection_id":164544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03912"} 
[2026-08-25 18:49:18] local.INFO: GPS Element Parsed {"raw_longitude":765129728,"raw_latitude":91484944,"longitude_deg":76.5129728,"latitude_deg":9.1484944,"altitude":14,"angle":5,"satellites":32,"speed":25,"hex_longitude":"2d9af400","hex_latitude":"0573f310","is_valid_coordinates":true} 
[2026-08-25 18:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641955072001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124045755089420288,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7282742786505375744,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787663899000,"timestamp_ms":1787663899000,"timestamp_seconds":1787663899,"priority":1,"record_length":96,"hex_timestamp":"000001a039125978"} 
[2026-08-25 18:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-25 18:49: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-25 18:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641955072001,"66":12298,"162":206,"85":15872,"24":25,"16":124045755089420288,"45":-7282742786505375744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 18:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641955072001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:49:18] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 18:49:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124045755089420288,"km_value":124045755089420.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7282742786505375744,"description":"Unknown IO ID 45"} 
[2026-08-25 18:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641955072001,"power":12298,"unknown_162":206,"unknown_85":15872,"ignition":25,"odometer":null,"unknown_45":-7282742786505375744}} 
[2026-08-25 18:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":164544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:49:18] local.INFO: GPS data processed {"connection_id":164544,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:49:18] local.INFO: Acknowledgment sent {"connection_id":164544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:49:23] local.INFO: TCP Data received {"connection_id":163163,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:49:23] local.INFO: Processing buffer {"connection_id":163163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:49:23] local.INFO: IMEI packet received {"connection_id":163163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":163163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:49:28] local.INFO: TCP Data received {"connection_id":163163,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:49:28] local.INFO: Processing buffer {"connection_id":163163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:49:28] local.INFO: IMEI packet received {"connection_id":163163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":163163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:49:29] local.INFO: TCP Data received {"connection_id":163163,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:49:29] local.INFO: Processing buffer {"connection_id":163163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:49:29] local.INFO: Packet analysis {"connection_id":163163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:49:29] local.INFO: Extracted packet for processing {"connection_id":163163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641861888001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663824000,"timestamp_ms":1787663824000,"timestamp_seconds":1787663824,"priority":1,"record_length":96,"hex_timestamp":"000001a039113480"} 
[2026-08-25 18:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:49:29] local.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-25 18:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641861888001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641861888001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:49:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641861888001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":163163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:49:29] local.INFO: GPS data processed {"connection_id":163163,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:49:29] local.INFO: Acknowledgment sent {"connection_id":163163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:49:39] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:49:39] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:49:39] local.INFO: IMEI packet received {"connection_id":161911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":161911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:49:40] local.INFO: TCP Data received {"connection_id":164545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:49:40] local.INFO: Processing buffer {"connection_id":164545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:49:40] local.INFO: IMEI packet received {"connection_id":164545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":164545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:49:41] local.INFO: TCP Data received {"connection_id":164545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:49:41] local.INFO: Processing buffer {"connection_id":164545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:49:41] local.INFO: IMEI packet received {"connection_id":164545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":164545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:49:44] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:49:44] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:49:44] local.INFO: IMEI packet received {"connection_id":161911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":161911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:49:46] local.INFO: TCP Data received {"connection_id":164545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:49:46] local.INFO: Processing buffer {"connection_id":164545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:49:46] local.INFO: IMEI packet received {"connection_id":164545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":164545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:49:47] local.INFO: TCP Data received {"connection_id":164545,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03912a798012d9af80005740e18000c00041d..."} 
[2026-08-25 18:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03912a798012d9af80005740e18000c00041d..."} 
[2026-08-25 18:49:47] local.INFO: Processing buffer {"connection_id":164545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03912a798012d9af80005740e18000c00041d..."} 
[2026-08-25 18:49:47] local.INFO: Packet analysis {"connection_id":164545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03912"} 
[2026-08-25 18:49:47] local.INFO: Extracted packet for processing {"connection_id":164545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03912"} 
[2026-08-25 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":765130752,"raw_latitude":91491864,"longitude_deg":76.5130752,"latitude_deg":9.1491864,"altitude":12,"angle":4,"satellites":29,"speed":11,"hex_longitude":"2d9af800","hex_latitude":"05740e18","is_valid_coordinates":true} 
[2026-08-25 18:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641958144001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124046094391836672,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7281194674131103744,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787663919000,"timestamp_ms":1787663919000,"timestamp_seconds":1787663919,"priority":1,"record_length":96,"hex_timestamp":"000001a03912a798"} 
[2026-08-25 18:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":392674669301989722,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4467597219033252352,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186040,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4112151428949973715,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2597552133,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460566444802254,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3036676096,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1185022158,"corrected_to":0} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2967666688,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":176,"raw_value":8935141660703064065,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.WARNING: Large IO value detected {"io_id":38,"raw_value":5910974511579140,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,162,85,24,241,157,16,178,160,42,45,128,207,12,40,10,66,3,170,220,64,1,240,119,227,177,57,115,4,113,205,36,142,208,239,47,2,184,5,176,38],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1185022158,"validated":0}]} 
[2026-08-25 18:49:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008811951529721856,"timestamp_seconds":1008811951529721.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641958144001,"66":11917,"162":206,"85":15872,"24":11,"16":124046094391836672,"45":-7281194674131103744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 18:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641958144001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:49:47] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 18:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124046094391836672,"km_value":124046094391836.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7281194674131103744,"description":"Unknown IO ID 45"} 
[2026-08-25 18:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641958144001,"power":11917,"unknown_162":206,"unknown_85":15872,"ignition":11,"odometer":null,"unknown_45":-7281194674131103744}} 
[2026-08-25 18:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":164545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:49:47] local.INFO: GPS data processed {"connection_id":164545,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:49:47] local.INFO: Acknowledgment sent {"connection_id":164545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:49:48] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:49:48] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0390eb3e0012d34c14006aa4818000400e62b..."} 
[2026-08-25 18:49:48] local.INFO: Packet analysis {"connection_id":161911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:49:48] local.INFO: Extracted packet for processing {"connection_id":161911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0390e"} 
[2026-08-25 18:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641819904001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787663660000,"timestamp_ms":1787663660000,"timestamp_seconds":1787663660,"priority":1,"record_length":96,"hex_timestamp":"000001a0390eb3e0"} 
[2026-08-25 18:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 18:49:48] 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-25 18:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641819904001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641819904001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641819904001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":161911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:49:48] local.INFO: GPS data processed {"connection_id":161911,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:49:48] local.INFO: Acknowledgment sent {"connection_id":161911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:50:00] local.INFO: TCP Data received {"connection_id":163163,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:50:00] local.INFO: Processing buffer {"connection_id":163163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:50:00] local.INFO: Packet analysis {"connection_id":163163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:50:00] local.INFO: Extracted packet for processing {"connection_id":163163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641861888001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787663824000,"timestamp_ms":1787663824000,"timestamp_seconds":1787663824,"priority":1,"record_length":96,"hex_timestamp":"000001a039113480"} 
[2026-08-25 18:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:50:00] local.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-25 18:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641861888001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641861888001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:50:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:50:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641861888001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":163163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:50:00] local.INFO: GPS data processed {"connection_id":163163,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:50:00] local.INFO: Acknowledgment sent {"connection_id":163163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:50:18] local.INFO: TCP Data received {"connection_id":164545,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03912e230012d9af84005741940000c015921..."} 
[2026-08-25 18:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03912e230012d9af84005741940000c015921..."} 
[2026-08-25 18:50:18] local.INFO: Processing buffer {"connection_id":164545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03912e230012d9af84005741940000c015921..."} 
[2026-08-25 18:50:18] local.INFO: Packet analysis {"connection_id":164545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03912"} 
[2026-08-25 18:50:18] local.INFO: Extracted packet for processing {"connection_id":164545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03912"} 
[2026-08-25 18:50:18] local.INFO: GPS Element Parsed {"raw_longitude":765130816,"raw_latitude":91494720,"longitude_deg":76.5130816,"latitude_deg":9.149472,"altitude":12,"angle":345,"satellites":33,"speed":11,"hex_longitude":"2d9af840","hex_latitude":"05741940","is_valid_coordinates":true} 
[2026-08-25 18:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641963264001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124046240420724736,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7280068774222489600,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787663934000,"timestamp_ms":1787663934000,"timestamp_seconds":1787663934,"priority":1,"record_length":96,"hex_timestamp":"000001a03912e230"} 
[2026-08-25 18:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-25 18:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641963264001,"66":12189,"162":206,"85":15872,"24":11,"16":124046240420724736,"45":-7280068774222489600},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 18:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641963264001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:50:18] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 18:50:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124046240420724736,"km_value":124046240420724.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7280068774222489600,"description":"Unknown IO ID 45"} 
[2026-08-25 18:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641963264001,"power":12189,"unknown_162":206,"unknown_85":15872,"ignition":11,"odometer":null,"unknown_45":-7280068774222489600}} 
[2026-08-25 18:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":164545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:50:18] local.INFO: GPS data processed {"connection_id":164545,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:50:18] local.INFO: Acknowledgment sent {"connection_id":164545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:50:19] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:50:19] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:50:19] local.INFO: Packet analysis {"connection_id":161911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:50:19] local.INFO: Extracted packet for processing {"connection_id":161911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:50:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641896960001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787663961000,"timestamp_ms":1787663961000,"timestamp_seconds":1787663961,"priority":1,"record_length":96,"hex_timestamp":"000001a039134ba8"} 
[2026-08-25 18:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:50:19] 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-25 18:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641896960001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641896960001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:50:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641896960001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":161911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:50:19] local.INFO: GPS data processed {"connection_id":161911,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:50:19] local.INFO: Acknowledgment sent {"connection_id":161911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:50:23] local.INFO: TCP Data received {"connection_id":163164,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:50:23] local.INFO: Processing buffer {"connection_id":163164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:50:23] local.INFO: IMEI packet received {"connection_id":163164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":163164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:50:28] local.INFO: TCP Data received {"connection_id":163164,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:50:28] local.INFO: Processing buffer {"connection_id":163164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:50:28] local.INFO: IMEI packet received {"connection_id":163164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":163164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:50:29] local.INFO: TCP Data received {"connection_id":163164,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:50:29] local.INFO: Processing buffer {"connection_id":163164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:50:29] local.INFO: Packet analysis {"connection_id":163164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:50:29] local.INFO: Extracted packet for processing {"connection_id":163164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641861888001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663824000,"timestamp_ms":1787663824000,"timestamp_seconds":1787663824,"priority":1,"record_length":96,"hex_timestamp":"000001a039113480"} 
[2026-08-25 18:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:50:29] local.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-25 18:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641861888001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641861888001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:50:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641861888001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":163164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:50:29] local.INFO: GPS data processed {"connection_id":163164,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:50:29] local.INFO: Acknowledgment sent {"connection_id":163164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:50:39] local.INFO: TCP Data received {"connection_id":164546,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:50:39] local.INFO: Processing buffer {"connection_id":164546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:50:39] local.INFO: IMEI packet received {"connection_id":164546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":164546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:50:44] local.INFO: TCP Data received {"connection_id":164546,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:50:44] local.INFO: Processing buffer {"connection_id":164546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:50:44] local.INFO: IMEI packet received {"connection_id":164546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":164546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:50:45] local.INFO: TCP Data received {"connection_id":164546,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:50:45] local.INFO: Processing buffer {"connection_id":164546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:50:45] local.INFO: Packet analysis {"connection_id":164546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:50:45] local.INFO: Extracted packet for processing {"connection_id":164546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641896960001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787663961000,"timestamp_ms":1787663961000,"timestamp_seconds":1787663961,"priority":1,"record_length":96,"hex_timestamp":"000001a039134ba8"} 
[2026-08-25 18: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-25 18:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641896960001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641896960001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641896960001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":164546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:50:45] local.INFO: GPS data processed {"connection_id":164546,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:50:45] local.INFO: Acknowledgment sent {"connection_id":164546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:50:46] local.INFO: TCP Data received {"connection_id":163165,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:50:46] local.INFO: Processing buffer {"connection_id":163165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:50:46] local.INFO: IMEI packet received {"connection_id":163165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":163165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:50:51] local.INFO: TCP Data received {"connection_id":163165,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:50:51] local.INFO: Processing buffer {"connection_id":163165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:50:51] local.INFO: IMEI packet received {"connection_id":163165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":163165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:50:52] local.INFO: TCP Data received {"connection_id":163165,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03912f1d0012d9af64005741e30000c014b22..."} 
[2026-08-25 18:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03912f1d0012d9af64005741e30000c014b22..."} 
[2026-08-25 18:50:52] local.INFO: Processing buffer {"connection_id":163165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03912f1d0012d9af64005741e30000c014b22..."} 
[2026-08-25 18:50:52] local.INFO: Packet analysis {"connection_id":163165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03912"} 
[2026-08-25 18:50:52] local.INFO: Extracted packet for processing {"connection_id":163165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03912"} 
[2026-08-25 18:50:52] local.INFO: GPS Element Parsed {"raw_longitude":765130304,"raw_latitude":91495984,"longitude_deg":76.5130304,"latitude_deg":9.1495984,"altitude":12,"angle":331,"satellites":34,"speed":14,"hex_longitude":"2d9af640","hex_latitude":"05741e30","is_valid_coordinates":true} 
[2026-08-25 18:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641967104001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124046309140201472,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7279998405477580800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787663938000,"timestamp_ms":1787663938000,"timestamp_seconds":1787663938,"priority":1,"record_length":96,"hex_timestamp":"000001a03912f1d0"} 
[2026-08-25 18:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-25 18:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641967104001,"66":12330,"162":206,"85":15872,"24":14,"16":124046309140201472,"45":-7279998405477580800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-25 18:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641967104001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:50:52] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-25 18:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124046309140201472,"km_value":124046309140201.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7279998405477580800,"description":"Unknown IO ID 45"} 
[2026-08-25 18:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641967104001,"power":12330,"unknown_162":206,"unknown_85":15872,"ignition":14,"odometer":null,"unknown_45":-7279998405477580800}} 
[2026-08-25 18:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":163165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:50:52] local.INFO: GPS data processed {"connection_id":163165,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:50:52] local.INFO: Acknowledgment sent {"connection_id":163165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:50:53] local.INFO: TCP Data received {"connection_id":163165,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03912fd88012d9af48005742280000c015727..."} 
[2026-08-25 18:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03912fd88012d9af48005742280000c015727..."} 
[2026-08-25 18:50:53] local.INFO: Processing buffer {"connection_id":163165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03912fd88012d9af48005742280000c015727..."} 
[2026-08-25 18:50:53] local.INFO: Packet analysis {"connection_id":163165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03912"} 
[2026-08-25 18:50:53] local.INFO: Extracted packet for processing {"connection_id":163165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03912"} 
[2026-08-25 18:50:53] local.INFO: GPS Element Parsed {"raw_longitude":765129856,"raw_latitude":91497088,"longitude_deg":76.5129856,"latitude_deg":9.1497088,"altitude":12,"angle":343,"satellites":39,"speed":17,"hex_longitude":"2d9af480","hex_latitude":"05742280","is_valid_coordinates":true} 
[2026-08-25 18:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641968128001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124046364974776320,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7280561355430678528,"note":"Value kept but may cause issues"} 
[2026-08-25 18:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787663941000,"timestamp_ms":1787663941000,"timestamp_seconds":1787663941,"priority":1,"record_length":96,"hex_timestamp":"000001a03912fd88"} 
[2026-08-25 18:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 18:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641968128001,"66":11950,"161":206,"85":15872,"24":17,"16":124046364974776320,"45":-7280561355430678528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-08-25 18:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641968128001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:50:53] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-25 18:50:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124046364974776320,"km_value":124046364974776.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7280561355430678528,"description":"Unknown IO ID 45"} 
[2026-08-25 18:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641968128001,"power":11950,"unknown_161":206,"unknown_85":15872,"ignition":17,"odometer":null,"unknown_45":-7280561355430678528}} 
[2026-08-25 18:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":163165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:50:53] local.INFO: GPS data processed {"connection_id":163165,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:50:53] local.INFO: Acknowledgment sent {"connection_id":163165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:51:00] local.INFO: TCP Data received {"connection_id":163164,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:51:00] local.INFO: Processing buffer {"connection_id":163164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:51:00] local.INFO: Packet analysis {"connection_id":163164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:51:00] local.INFO: Extracted packet for processing {"connection_id":163164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641861888001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787663824000,"timestamp_ms":1787663824000,"timestamp_seconds":1787663824,"priority":1,"record_length":96,"hex_timestamp":"000001a039113480"} 
[2026-08-25 18:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:51:00] local.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-25 18:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641861888001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641861888001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:51:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641861888001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":163164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:51:00] local.INFO: GPS data processed {"connection_id":163164,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:51:00] local.INFO: Acknowledgment sent {"connection_id":163164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:51:17] local.INFO: TCP Data received {"connection_id":164546,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:51:17] local.INFO: Processing buffer {"connection_id":164546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:51:17] local.INFO: Packet analysis {"connection_id":164546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:51:17] local.INFO: Extracted packet for processing {"connection_id":164546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641896960001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787663961000,"timestamp_ms":1787663961000,"timestamp_seconds":1787663961,"priority":1,"record_length":96,"hex_timestamp":"000001a039134ba8"} 
[2026-08-25 18: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-25 18:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:51:17] 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-25 18: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-25 18: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-25 18:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641896960001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641896960001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641896960001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":164546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:51:17] local.INFO: GPS data processed {"connection_id":164546,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:51:17] local.INFO: Acknowledgment sent {"connection_id":164546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:51:23] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:51:23] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:51:23] local.INFO: IMEI packet received {"connection_id":161912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":161912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:51:24] local.INFO: TCP Data received {"connection_id":163165,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03914d630012d9aa1400574ac380007013527..."} 
[2026-08-25 18:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03914d630012d9aa1400574ac380007013527..."} 
[2026-08-25 18:51:24] local.INFO: Processing buffer {"connection_id":163165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03914d630012d9aa1400574ac380007013527..."} 
[2026-08-25 18:51:24] local.INFO: Packet analysis {"connection_id":163165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03914"} 
[2026-08-25 18:51:24] local.INFO: Extracted packet for processing {"connection_id":163165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03914"} 
[2026-08-25 18:51:24] local.INFO: GPS Element Parsed {"raw_longitude":765108544,"raw_latitude":91532344,"longitude_deg":76.5108544,"latitude_deg":9.1532344,"altitude":7,"angle":309,"satellites":39,"speed":8,"hex_longitude":"2d9aa140","hex_latitude":"0574ac38","is_valid_coordinates":true} 
[2026-08-25 18:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641999616001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048576882933760,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304275622209273856,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787664062000,"timestamp_ms":1787664062000,"timestamp_seconds":1787664062,"priority":1,"record_length":96,"hex_timestamp":"000001a03914d630"} 
[2026-08-25 18:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-25 18:51:24] 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-25 18:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641999616001,"66":12385,"163":206,"85":15872,"24":8,"16":124048576882933760,"45":-7304275622209273856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-25 18:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641999616001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:51:24] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-25 18:51:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048576882933760,"km_value":124048576882933.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304275622209273856,"description":"Unknown IO ID 45"} 
[2026-08-25 18:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641999616001,"power":12385,"unknown_163":206,"unknown_85":15872,"ignition":8,"odometer":null,"unknown_45":-7304275622209273856}} 
[2026-08-25 18:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":163165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:51:24] local.INFO: GPS data processed {"connection_id":163165,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:51:24] local.INFO: Acknowledgment sent {"connection_id":163165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:51:28] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:51:28] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:51:28] local.INFO: IMEI packet received {"connection_id":161912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":161912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:51:29] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:51:29] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:51:29] local.INFO: Packet analysis {"connection_id":161912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:51:29] local.INFO: Extracted packet for processing {"connection_id":161912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 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-25 18:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641861888001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663824000,"timestamp_ms":1787663824000,"timestamp_seconds":1787663824,"priority":1,"record_length":96,"hex_timestamp":"000001a039113480"} 
[2026-08-25 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-25 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 18:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:51:29] local.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-25 18:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641861888001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641861888001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:51:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641861888001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":161912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:51:29] local.INFO: GPS data processed {"connection_id":161912,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:51:29] local.INFO: Acknowledgment sent {"connection_id":161912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:51:41] local.INFO: TCP Data received {"connection_id":162165,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:51:41] local.INFO: Processing buffer {"connection_id":162165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:51:41] local.INFO: IMEI packet received {"connection_id":162165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":162165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:51:44] local.INFO: TCP Data received {"connection_id":161909,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:51:44] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:51:44] local.INFO: IMEI packet received {"connection_id":161909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 18:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":161909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:51:44] local.INFO: TCP Data received {"connection_id":164547,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:51:44] local.INFO: Processing buffer {"connection_id":164547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:51:44] local.INFO: IMEI packet received {"connection_id":164547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":164547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:51:46] local.INFO: TCP Data received {"connection_id":162165,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:51:46] local.INFO: Processing buffer {"connection_id":162165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:51:46] local.INFO: IMEI packet received {"connection_id":162165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":162165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:51:46] local.INFO: TCP Data received {"connection_id":162165,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039150510012d9aa2400574aae80006009127..."} 
[2026-08-25 18:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039150510012d9aa2400574aae80006009127..."} 
[2026-08-25 18:51:46] local.INFO: Processing buffer {"connection_id":162165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039150510012d9aa2400574aae80006009127..."} 
[2026-08-25 18:51:46] local.INFO: Packet analysis {"connection_id":162165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:51:46] local.INFO: Extracted packet for processing {"connection_id":162165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:51:46] local.INFO: GPS Element Parsed {"raw_longitude":765108800,"raw_latitude":91532008,"longitude_deg":76.51088,"latitude_deg":9.1532008,"altitude":6,"angle":145,"satellites":39,"speed":3,"hex_longitude":"2d9aa240","hex_latitude":"0574aae8","is_valid_coordinates":true} 
[2026-08-25 18:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641999872001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048611242672128,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304486728441776128,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787664074000,"timestamp_ms":1787664074000,"timestamp_seconds":1787664074,"priority":1,"record_length":96,"hex_timestamp":"000001a039150510"} 
[2026-08-25 18:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 18:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641999872001,"66":12341,"163":206,"85":15872,"24":3,"16":124048611242672128,"45":-7304486728441776128},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-25 18:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641999872001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:51:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-25 18:51:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048611242672128,"km_value":124048611242672.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304486728441776128,"description":"Unknown IO ID 45"} 
[2026-08-25 18:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641999872001,"power":12341,"unknown_163":206,"unknown_85":15872,"ignition":3,"odometer":null,"unknown_45":-7304486728441776128}} 
[2026-08-25 18:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":162165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:51:46] local.INFO: GPS data processed {"connection_id":162165,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:51:46] local.INFO: Acknowledgment sent {"connection_id":162165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:51:49] local.INFO: TCP Data received {"connection_id":162165,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0391510c8012d9aa3800574a9f00005008326..."} 
[2026-08-25 18:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391510c8012d9aa3800574a9f00005008326..."} 
[2026-08-25 18:51:49] local.INFO: Processing buffer {"connection_id":162165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391510c8012d9aa3800574a9f00005008326..."} 
[2026-08-25 18:51:49] local.INFO: Packet analysis {"connection_id":162165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:51:49] local.INFO: Extracted packet for processing {"connection_id":162165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:51:49] local.INFO: GPS Element Parsed {"raw_longitude":765109120,"raw_latitude":91531760,"longitude_deg":76.510912,"latitude_deg":9.153176,"altitude":5,"angle":131,"satellites":38,"speed":3,"hex_longitude":"2d9aa380","hex_latitude":"0574a9f0","is_valid_coordinates":true} 
[2026-08-25 18:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642002944001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048632717508608,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304205253465151488,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787664077000,"timestamp_ms":1787664077000,"timestamp_seconds":1787664077,"priority":1,"record_length":96,"hex_timestamp":"000001a0391510c8"} 
[2026-08-25 18:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 18:51:49] 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-25 18:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642002944001,"66":12069,"163":206,"85":15872,"24":3,"16":124048632717508608,"45":-7304205253465151488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-25 18:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642002944001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:51:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-25 18:51:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048632717508608,"km_value":124048632717508.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304205253465151488,"description":"Unknown IO ID 45"} 
[2026-08-25 18:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642002944001,"power":12069,"unknown_163":206,"unknown_85":15872,"ignition":3,"odometer":null,"unknown_45":-7304205253465151488}} 
[2026-08-25 18:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":162165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:51:49] local.INFO: GPS data processed {"connection_id":162165,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:51:49] local.INFO: Acknowledgment sent {"connection_id":162165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:51:50] local.INFO: TCP Data received {"connection_id":164547,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:51:50] local.INFO: Processing buffer {"connection_id":164547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:51:50] local.INFO: IMEI packet received {"connection_id":164547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":164547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:51:51] local.INFO: TCP Data received {"connection_id":164547,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:51:51] local.INFO: Processing buffer {"connection_id":164547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:51:51] local.INFO: Packet analysis {"connection_id":164547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:51:51] local.INFO: Extracted packet for processing {"connection_id":164547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641896960001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787663961000,"timestamp_ms":1787663961000,"timestamp_seconds":1787663961,"priority":1,"record_length":96,"hex_timestamp":"000001a039134ba8"} 
[2026-08-25 18: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-25 18:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:51:51] 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-25 18: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-25 18: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-25 18:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641896960001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641896960001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641896960001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":164547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:51:51] local.INFO: GPS data processed {"connection_id":164547,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:51:51] local.INFO: Acknowledgment sent {"connection_id":164547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:51:55] local.INFO: TCP Data received {"connection_id":164547,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:51:55] local.INFO: Processing buffer {"connection_id":164547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:51:55] local.INFO: Packet analysis {"connection_id":164547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:51:55] local.INFO: Extracted packet for processing {"connection_id":164547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:51:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641896960001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787663961000,"timestamp_ms":1787663961000,"timestamp_seconds":1787663961,"priority":1,"record_length":96,"hex_timestamp":"000001a039134ba8"} 
[2026-08-25 18: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-25 18:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:51: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-25 18: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-25 18: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-25 18:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641896960001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641896960001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:51:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641896960001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":164547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:51:55] local.INFO: GPS data processed {"connection_id":164547,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:51:55] local.INFO: Acknowledgment sent {"connection_id":164547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:52:00] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:52:00] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:52:00] local.INFO: Packet analysis {"connection_id":161912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:52:00] local.INFO: Extracted packet for processing {"connection_id":161912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:52:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641861888001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787663824000,"timestamp_ms":1787663824000,"timestamp_seconds":1787663824,"priority":1,"record_length":96,"hex_timestamp":"000001a039113480"} 
[2026-08-25 18: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-25 18:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:52:00] local.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-25 18:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641861888001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641861888001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:52:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:52:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641861888001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":161912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:52:00] local.INFO: GPS data processed {"connection_id":161912,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:52:00] local.INFO: Acknowledgment sent {"connection_id":161912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:52:20] local.INFO: TCP Data received {"connection_id":162165,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0391537d8012d9aa6c00574a7080003009028..."} 
[2026-08-25 18:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391537d8012d9aa6c00574a7080003009028..."} 
[2026-08-25 18:52:20] local.INFO: Processing buffer {"connection_id":162165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391537d8012d9aa6c00574a7080003009028..."} 
[2026-08-25 18:52:20] local.INFO: Packet analysis {"connection_id":162165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:52:20] local.INFO: Extracted packet for processing {"connection_id":162165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:52:20] local.INFO: GPS Element Parsed {"raw_longitude":765109952,"raw_latitude":91531016,"longitude_deg":76.5109952,"latitude_deg":9.1531016,"altitude":3,"angle":144,"satellites":40,"speed":1,"hex_longitude":"2d9aa6c0","hex_latitude":"0574a708","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642003712001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7303853409744326656,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787664087000,"timestamp_ms":1787664087000,"timestamp_seconds":1787664087,"priority":1,"record_length":96,"hex_timestamp":"000001a0391537d8"} 
[2026-08-25 18: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-25 18:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 18:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642003712001,"66":12287,"163":206,"85":15872,"24":1,"16":124048688552083456,"45":-7303853409744326656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-25 18:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642003712001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:52:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-25 18:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7303853409744326656,"description":"Unknown IO ID 45"} 
[2026-08-25 18:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642003712001,"power":12287,"unknown_163":206,"unknown_85":15872,"ignition":1,"odometer":null,"unknown_45":-7303853409744326656}} 
[2026-08-25 18:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":162165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:52:20] local.INFO: GPS data processed {"connection_id":162165,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:52:20] local.INFO: Acknowledgment sent {"connection_id":162165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:52:23] local.INFO: TCP Data received {"connection_id":163166,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:52:23] local.INFO: Processing buffer {"connection_id":163166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:52:23] local.INFO: IMEI packet received {"connection_id":163166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":163166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:52:28] local.INFO: TCP Data received {"connection_id":163166,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:52:28] local.INFO: Processing buffer {"connection_id":163166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:52:28] local.INFO: IMEI packet received {"connection_id":163166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":163166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:52:29] local.INFO: TCP Data received {"connection_id":163166,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:52:29] local.INFO: Processing buffer {"connection_id":163166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039113480012d196580071fef680042011a25..."} 
[2026-08-25 18:52:29] local.INFO: Packet analysis {"connection_id":163166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:52:29] local.INFO: Extracted packet for processing {"connection_id":163166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03911"} 
[2026-08-25 18:52:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641861888001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787663824000,"timestamp_ms":1787663824000,"timestamp_seconds":1787663824,"priority":1,"record_length":96,"hex_timestamp":"000001a039113480"} 
[2026-08-25 18:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:52:29] local.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-25 18:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641861888001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641861888001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:52:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:52:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641861888001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":163166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:52:29] local.INFO: GPS data processed {"connection_id":163166,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:52:29] local.INFO: Acknowledgment sent {"connection_id":163166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:52:39] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:52:39] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:52:39] local.INFO: IMEI packet received {"connection_id":161913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":161913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:52:41] local.INFO: TCP Data received {"connection_id":162166,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:52:41] local.INFO: Processing buffer {"connection_id":162166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:52:41] local.INFO: IMEI packet received {"connection_id":162166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":162166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:52:44] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:52:44] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:52:44] local.INFO: IMEI packet received {"connection_id":161913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":161913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:52:45] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:52:45] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:52:45] local.INFO: Packet analysis {"connection_id":161913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:52:45] local.INFO: Extracted packet for processing {"connection_id":161913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641896960001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787663961000,"timestamp_ms":1787663961000,"timestamp_seconds":1787663961,"priority":1,"record_length":96,"hex_timestamp":"000001a039134ba8"} 
[2026-08-25 18: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-25 18:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:52:45] 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-25 18:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641896960001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641896960001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641896960001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":161913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:52:45] local.INFO: GPS data processed {"connection_id":161913,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:52:45] local.INFO: Acknowledgment sent {"connection_id":161913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:52:46] local.INFO: TCP Data received {"connection_id":162166,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:52:46] local.INFO: Processing buffer {"connection_id":162166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:52:46] local.INFO: IMEI packet received {"connection_id":162166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":162166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:52:46] local.INFO: TCP Data received {"connection_id":162166,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0391585f8012d9aa7000574a6f80003009027..."} 
[2026-08-25 18:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391585f8012d9aa7000574a6f80003009027..."} 
[2026-08-25 18:52:46] local.INFO: Processing buffer {"connection_id":162166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391585f8012d9aa7000574a6f80003009027..."} 
[2026-08-25 18:52:46] local.INFO: Packet analysis {"connection_id":162166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:52:46] local.INFO: Extracted packet for processing {"connection_id":162166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:52:46] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642006272001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302938616070207488,"note":"Value kept but may cause issues"} 
[2026-08-25 18:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787664107000,"timestamp_ms":1787664107000,"timestamp_seconds":1787664107,"priority":1,"record_length":96,"hex_timestamp":"000001a0391585f8"} 
[2026-08-25 18:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 18:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642006272001,"66":12189,"163":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302938616070207488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-25 18:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642006272001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:52:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-25 18:52:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302938616070207488,"description":"Unknown IO ID 45"} 
[2026-08-25 18:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642006272001,"power":12189,"unknown_163":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302938616070207488}} 
[2026-08-25 18:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":162166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:52:46] local.INFO: GPS data processed {"connection_id":162166,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:52:46] local.INFO: Acknowledgment sent {"connection_id":162166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:53:00] local.INFO: TCP Data received {"connection_id":163166,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:53:00] local.INFO: Processing buffer {"connection_id":163166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:53:00] local.INFO: Packet analysis {"connection_id":163166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:53:00] local.INFO: Extracted packet for processing {"connection_id":163166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:53:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641938944001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787664125000,"timestamp_ms":1787664125000,"timestamp_seconds":1787664125,"priority":1,"record_length":96,"hex_timestamp":"000001a03915cc48"} 
[2026-08-25 18:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:53:00] 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-25 18:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:53:00] local.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-25 18:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641938944001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641938944001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:53:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:53:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641938944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":163166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:53:00] local.INFO: GPS data processed {"connection_id":163166,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:53:00] local.INFO: Acknowledgment sent {"connection_id":163166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:53:16] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:53:16] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:53:16] local.INFO: Packet analysis {"connection_id":161913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:53:16] local.INFO: Extracted packet for processing {"connection_id":161913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641896960001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787663961000,"timestamp_ms":1787663961000,"timestamp_seconds":1787663961,"priority":1,"record_length":96,"hex_timestamp":"000001a039134ba8"} 
[2026-08-25 18:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:53:16] 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-25 18:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641896960001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641896960001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641896960001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":161913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:53:17] local.INFO: GPS data processed {"connection_id":161913,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:53:17] local.INFO: Acknowledgment sent {"connection_id":161913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:53:18] local.INFO: TCP Data received {"connection_id":162166,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03915d800012d9aa7000574a6f80003009027..."} 
[2026-08-25 18:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03915d800012d9aa7000574a6f80003009027..."} 
[2026-08-25 18:53:18] local.INFO: Processing buffer {"connection_id":162166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03915d800012d9aa7000574a6f80003009027..."} 
[2026-08-25 18:53:18] local.INFO: Packet analysis {"connection_id":162166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:53:18] local.INFO: Extracted packet for processing {"connection_id":162166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:53:18] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642011392001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787664128000,"timestamp_ms":1787664128000,"timestamp_seconds":1787664128,"priority":1,"record_length":96,"hex_timestamp":"000001a03915d800"} 
[2026-08-25 18:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:53: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-25 18:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-25 18:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642011392001,"66":12069,"163":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-25 18:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642011392001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:53:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-25 18:53:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642011392001,"power":12069,"unknown_163":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":162166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:53:18] local.INFO: GPS data processed {"connection_id":162166,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:53:18] local.INFO: Acknowledgment sent {"connection_id":162166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:53:23] local.INFO: TCP Data received {"connection_id":164548,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:53:23] local.INFO: Processing buffer {"connection_id":164548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:53:23] local.INFO: IMEI packet received {"connection_id":164548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":164548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:53:28] local.INFO: TCP Data received {"connection_id":164548,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:53:28] local.INFO: Processing buffer {"connection_id":164548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:53:28] local.INFO: IMEI packet received {"connection_id":164548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":164548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:53:29] local.INFO: TCP Data received {"connection_id":164548,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:53:29] local.INFO: Processing buffer {"connection_id":164548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:53:29] local.INFO: Packet analysis {"connection_id":164548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:53:29] local.INFO: Extracted packet for processing {"connection_id":164548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:53:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641938944001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787664125000,"timestamp_ms":1787664125000,"timestamp_seconds":1787664125,"priority":1,"record_length":96,"hex_timestamp":"000001a03915cc48"} 
[2026-08-25 18:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:53:29] 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-25 18:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:53:29] local.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-25 18:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641938944001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641938944001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:53:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641938944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":164548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:53:29] local.INFO: GPS data processed {"connection_id":164548,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:53:29] local.INFO: Acknowledgment sent {"connection_id":164548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:53:39] local.INFO: TCP Data received {"connection_id":164549,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:53:39] local.INFO: Processing buffer {"connection_id":164549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:53:39] local.INFO: IMEI packet received {"connection_id":164549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":164549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:53:41] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:53:41] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:53:41] local.INFO: IMEI packet received {"connection_id":161914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":161914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:53:44] local.INFO: TCP Data received {"connection_id":164549,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:53:44] local.INFO: Processing buffer {"connection_id":164549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:53:44] local.INFO: IMEI packet received {"connection_id":164549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":164549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:53:45] local.INFO: TCP Data received {"connection_id":164549,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:53:45] local.INFO: Processing buffer {"connection_id":164549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:53:45] local.INFO: Packet analysis {"connection_id":164549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:53:45] local.INFO: Extracted packet for processing {"connection_id":164549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641896960001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787663961000,"timestamp_ms":1787663961000,"timestamp_seconds":1787663961,"priority":1,"record_length":96,"hex_timestamp":"000001a039134ba8"} 
[2026-08-25 18:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641896960001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641896960001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641896960001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":164549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:53:45] local.INFO: GPS data processed {"connection_id":164549,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:53:45] local.INFO: Acknowledgment sent {"connection_id":164549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:53:46] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:53:46] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:53:46] local.INFO: IMEI packet received {"connection_id":161914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":161914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:53:46] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039162a08012d9aa7000574a6f80003009027..."} 
[2026-08-25 18:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039162a08012d9aa7000574a6f80003009027..."} 
[2026-08-25 18:53:46] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039162a08012d9aa7000574a6f80003009027..."} 
[2026-08-25 18:53:46] local.INFO: Packet analysis {"connection_id":161914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03916"} 
[2026-08-25 18:53:46] local.INFO: Extracted packet for processing {"connection_id":161914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03916"} 
[2026-08-25 18:53:46] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642016768001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787664149000,"timestamp_ms":1787664149000,"timestamp_seconds":1787664149,"priority":1,"record_length":96,"hex_timestamp":"000001a039162a08"} 
[2026-08-25 18:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 18:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642016768001,"66":12341,"163":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-25 18:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642016768001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:53:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-25 18:53:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642016768001,"power":12341,"unknown_163":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":161914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:53:46] local.INFO: GPS data processed {"connection_id":161914,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:53:46] local.INFO: Acknowledgment sent {"connection_id":161914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:54:00] local.INFO: TCP Data received {"connection_id":164548,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:54:00] local.INFO: Processing buffer {"connection_id":164548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:54:00] local.INFO: Packet analysis {"connection_id":164548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:54:00] local.INFO: Extracted packet for processing {"connection_id":164548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641938944001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787664125000,"timestamp_ms":1787664125000,"timestamp_seconds":1787664125,"priority":1,"record_length":96,"hex_timestamp":"000001a03915cc48"} 
[2026-08-25 18:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:54:00] 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-25 18:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:54:00] local.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-25 18:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641938944001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641938944001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:54:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641938944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":164548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:54:00] local.INFO: GPS data processed {"connection_id":164548,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:54:00] local.INFO: Acknowledgment sent {"connection_id":164548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:54:16] local.INFO: TCP Data received {"connection_id":164549,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:54:16] local.INFO: Processing buffer {"connection_id":164549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:54:16] local.INFO: Packet analysis {"connection_id":164549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:54:16] local.INFO: Extracted packet for processing {"connection_id":164549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641896960001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787663961000,"timestamp_ms":1787663961000,"timestamp_seconds":1787663961,"priority":1,"record_length":96,"hex_timestamp":"000001a039134ba8"} 
[2026-08-25 18:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:54:16] 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-25 18:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641896960001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641896960001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641896960001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":164549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:54:16] local.INFO: GPS data processed {"connection_id":164549,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:54:16] local.INFO: Acknowledgment sent {"connection_id":164549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:54:17] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039167c10012d9aa7000574a6f80003009028..."} 
[2026-08-25 18:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039167c10012d9aa7000574a6f80003009028..."} 
[2026-08-25 18:54:17] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039167c10012d9aa7000574a6f80003009028..."} 
[2026-08-25 18:54:17] local.INFO: Packet analysis {"connection_id":161914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03916"} 
[2026-08-25 18:54:17] local.INFO: Extracted packet for processing {"connection_id":161914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03916"} 
[2026-08-25 18:54:17] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642022144001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787664170000,"timestamp_ms":1787664170000,"timestamp_seconds":1787664170,"priority":1,"record_length":96,"hex_timestamp":"000001a039167c10"} 
[2026-08-25 18:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 18:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642022144001,"66":13319,"163":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-25 18:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642022144001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:54:17] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-25 18:54:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642022144001,"power":13319,"unknown_163":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":161914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:54:18] local.INFO: GPS data processed {"connection_id":161914,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:54:18] local.INFO: Acknowledgment sent {"connection_id":161914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:54:23] local.INFO: TCP Data received {"connection_id":162168,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:54:23] local.INFO: Processing buffer {"connection_id":162168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:54:23] local.INFO: IMEI packet received {"connection_id":162168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-25 18:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":162168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:54:28] local.INFO: TCP Data received {"connection_id":162168,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:54:28] local.INFO: Processing buffer {"connection_id":162168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-25 18:54:28] local.INFO: IMEI packet received {"connection_id":162168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-25 18:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":162168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:54:29] local.INFO: TCP Data received {"connection_id":162168,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:54:29] local.INFO: Processing buffer {"connection_id":162168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:54:29] local.INFO: Packet analysis {"connection_id":162168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:54:29] local.INFO: Extracted packet for processing {"connection_id":162168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:54:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641938944001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787664125000,"timestamp_ms":1787664125000,"timestamp_seconds":1787664125,"priority":1,"record_length":96,"hex_timestamp":"000001a03915cc48"} 
[2026-08-25 18:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:54:29] 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-25 18:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:54:29] local.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-25 18:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641938944001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641938944001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:54:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641938944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":162168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:54:29] local.INFO: GPS data processed {"connection_id":162168,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:54:29] local.INFO: Acknowledgment sent {"connection_id":162168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:54:39] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:54:39] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:54:39] local.INFO: IMEI packet received {"connection_id":161915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":161915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:54:44] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:54:44] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:54:44] local.INFO: IMEI packet received {"connection_id":161916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":161916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:54:45] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:54:45] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:54:45] local.INFO: IMEI packet received {"connection_id":161915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":161915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:54:45] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:54:45] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:54:45] local.INFO: IMEI packet received {"connection_id":161916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":161916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:54:46] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:54:46] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039134ba8012d34c14006aa4818000300e62c..."} 
[2026-08-25 18:54:46] local.INFO: Packet analysis {"connection_id":161915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:54:46] local.INFO: Extracted packet for processing {"connection_id":161915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03913"} 
[2026-08-25 18:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641896960001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787663961000,"timestamp_ms":1787663961000,"timestamp_seconds":1787663961,"priority":1,"record_length":96,"hex_timestamp":"000001a039134ba8"} 
[2026-08-25 18:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641896960001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641896960001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641896960001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":161915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:54:46] local.INFO: GPS data processed {"connection_id":161915,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:54:46] local.INFO: Acknowledgment sent {"connection_id":161915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:54:46] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03916ce18012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03916ce18012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:54:46] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03916ce18012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:54:46] local.INFO: Packet analysis {"connection_id":161916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03916"} 
[2026-08-25 18:54:46] local.INFO: Extracted packet for processing {"connection_id":161916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03916"} 
[2026-08-25 18:54:46] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642027520001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787664191000,"timestamp_ms":1787664191000,"timestamp_seconds":1787664191,"priority":1,"record_length":96,"hex_timestamp":"000001a03916ce18"} 
[2026-08-25 18:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3355520410,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":181,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2594619397,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":116,"raw_value":-6037075270405118208,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1185087694,"corrected_to":0} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3046309888,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":53,"raw_value":57780036132820286,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.WARNING: Large IO value detected {"io_id":20,"raw_value":-3012906855331446779,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:46] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,163,85,24,241,157,16,181,160,42,45,166,3,39,10,66,216,133,1,240,227,57,116,4,113,205,38,239,47,2,184,5,6,53,20],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1185087694,"validated":0}]} 
[2026-08-25 18:54:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216331283586875392,"timestamp_seconds":216331283586875.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642027520001,"66":13091,"163":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-25 18:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642027520001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:54:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-25 18:54:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642027520001,"power":13091,"unknown_163":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":161916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:54:46] local.INFO: GPS data processed {"connection_id":161916,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:54:46] local.INFO: Acknowledgment sent {"connection_id":161916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:54:51] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039172020012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039172020012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:54:51] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039172020012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:54:51] local.INFO: Packet analysis {"connection_id":161916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:54:51] local.INFO: Extracted packet for processing {"connection_id":161916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:54:51] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642032896001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787664212000,"timestamp_ms":1787664212000,"timestamp_seconds":1787664212,"priority":1,"record_length":96,"hex_timestamp":"000001a039172020"} 
[2026-08-25 18:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-25 18:54:51] 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-25 18:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642032896001,"66":13319,"163":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-25 18:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642032896001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:54:51] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-25 18:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642032896001,"power":13319,"unknown_163":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":161916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:54:51] local.INFO: GPS data processed {"connection_id":161916,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:54:51] local.INFO: Acknowledgment sent {"connection_id":161916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:55:01] local.INFO: TCP Data received {"connection_id":162168,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:55:01] local.INFO: Processing buffer {"connection_id":162168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03915cc48012d196580071fef680042011a25..."} 
[2026-08-25 18:55:01] local.INFO: Packet analysis {"connection_id":162168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:55:01] local.INFO: Extracted packet for processing {"connection_id":162168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03915"} 
[2026-08-25 18:55:01] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533416,"longitude_deg":75.6639104,"latitude_deg":11.9533416,"altitude":66,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-25 18:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641938944001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009808423419904,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684884480,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787664125000,"timestamp_ms":1787664125000,"timestamp_seconds":1787664125,"priority":1,"record_length":96,"hex_timestamp":"000001a03915cc48"} 
[2026-08-25 18:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:55:01] 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-25 18:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 18:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-25 18:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-25 18:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-25 18:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641938944001,"66":2166,"103":206,"83":41984,"24":0,"16":16009808423419904,"45":1830009591684884480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-25 18:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-25 18:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-25 18:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641938944001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:55:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 18:55:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-25 18:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009808423419904,"km_value":16009808423419.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684884480,"description":"Unknown IO ID 45"} 
[2026-08-25 18:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641938944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684884480}} 
[2026-08-25 18:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":162168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:55:01] local.INFO: GPS data processed {"connection_id":162168,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:55:01] local.INFO: Acknowledgment sent {"connection_id":162168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:55:17] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:55:17] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:55:17] local.INFO: Packet analysis {"connection_id":161915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:55:17] local.INFO: Extracted packet for processing {"connection_id":161915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641974016001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787664262000,"timestamp_ms":1787664262000,"timestamp_seconds":1787664262,"priority":1,"record_length":96,"hex_timestamp":"000001a03917e370"} 
[2026-08-25 18:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:55: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-25 18:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:55:17] 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-25 18:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641974016001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641974016001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641974016001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":161915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:55:17] local.INFO: GPS data processed {"connection_id":161915,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:55:17] local.INFO: Acknowledgment sent {"connection_id":161915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:55:22] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039177228012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039177228012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:55:22] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039177228012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:55:22] local.INFO: Packet analysis {"connection_id":161916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:55:22] local.INFO: Extracted packet for processing {"connection_id":161916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:55:22] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642038272001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787664233000,"timestamp_ms":1787664233000,"timestamp_seconds":1787664233,"priority":1,"record_length":96,"hex_timestamp":"000001a039177228"} 
[2026-08-25 18:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 18:55:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:22] local.WARNING: Large IO value detected {"io_id":181,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2594635781,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788847,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:22] local.WARNING: Large IO value detected {"io_id":116,"raw_value":-6201456665405741568,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1185087694,"corrected_to":0} 
[2026-08-25 18:55:22] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4160826778,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:22] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2634075462,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:22] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3047161856,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:22] local.WARNING: Large IO value detected {"io_id":255,"raw_value":57780036132820286,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:22] local.WARNING: Large IO value detected {"io_id":21,"raw_value":1209217795328540677,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,163,85,24,241,157,16,181,160,206,45,166,3,42,10,66,124,40,1,240,53,227,57,116,4,113,205,133,167,248,39,239,47,2,184,5,255,21],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1185087694,"validated":0}]} 
[2026-08-25 18:55:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216331292176809984,"timestamp_seconds":216331292176809.97,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 18:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642038272001,"66":13102,"163":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-25 18:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642038272001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:55:22] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-25 18:55:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642038272001,"power":13102,"unknown_163":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":161916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:55:22] local.INFO: GPS data processed {"connection_id":161916,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:55:22] local.INFO: Acknowledgment sent {"connection_id":161916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:55:41] local.INFO: TCP Data received {"connection_id":163167,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:55:41] local.INFO: Processing buffer {"connection_id":163167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:55:41] local.INFO: IMEI packet received {"connection_id":163167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":163167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:55:44] local.INFO: TCP Data received {"connection_id":163168,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:55:44] local.INFO: Processing buffer {"connection_id":163168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:55:44] local.INFO: IMEI packet received {"connection_id":163168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":163168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:55:46] local.INFO: TCP Data received {"connection_id":163167,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:55:46] local.INFO: Processing buffer {"connection_id":163167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:55:46] local.INFO: IMEI packet received {"connection_id":163167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":163167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:55:46] local.INFO: TCP Data received {"connection_id":163167,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03917c430012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03917c430012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:55:46] local.INFO: Processing buffer {"connection_id":163167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03917c430012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:55:46] local.INFO: Packet analysis {"connection_id":163167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:55:46] local.INFO: Extracted packet for processing {"connection_id":163167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:55:46] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642043648001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 18:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787664254000,"timestamp_ms":1787664254000,"timestamp_seconds":1787664254,"priority":1,"record_length":96,"hex_timestamp":"000001a03917c430"} 
[2026-08-25 18:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-25 18:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642043648001,"66":13276,"163":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-25 18:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642043648001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:55:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-25 18:55:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642043648001,"power":13276,"unknown_163":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":163167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:55:46] local.INFO: GPS data processed {"connection_id":163167,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:55:46] local.INFO: Acknowledgment sent {"connection_id":163167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:55:49] local.INFO: TCP Data received {"connection_id":163168,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:55:49] local.INFO: Processing buffer {"connection_id":163168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:55:49] local.INFO: IMEI packet received {"connection_id":163168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":163168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:55:50] local.INFO: TCP Data received {"connection_id":163168,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:55:50] local.INFO: Processing buffer {"connection_id":163168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:55:50] local.INFO: Packet analysis {"connection_id":163168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:55:50] local.INFO: Extracted packet for processing {"connection_id":163168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641974016001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787664262000,"timestamp_ms":1787664262000,"timestamp_seconds":1787664262,"priority":1,"record_length":96,"hex_timestamp":"000001a03917e370"} 
[2026-08-25 18: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-25 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:55: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-25 18: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-25 18: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-25 18:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:55: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-25 18:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641974016001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641974016001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:55:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641974016001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":163168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:55:50] local.INFO: GPS data processed {"connection_id":163168,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:55:50] local.INFO: Acknowledgment sent {"connection_id":163168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:55:55] local.INFO: TCP Data received {"connection_id":163168,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:55:55] local.INFO: Processing buffer {"connection_id":163168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:55:55] local.INFO: Packet analysis {"connection_id":163168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:55:55] local.INFO: Extracted packet for processing {"connection_id":163168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:55:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641974016001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787664262000,"timestamp_ms":1787664262000,"timestamp_seconds":1787664262,"priority":1,"record_length":96,"hex_timestamp":"000001a03917e370"} 
[2026-08-25 18:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:55:55] 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-25 18:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:55: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-25 18:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641974016001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641974016001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:55:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641974016001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":163168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:55:55] local.INFO: GPS data processed {"connection_id":163168,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:55:55] local.INFO: Acknowledgment sent {"connection_id":163168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:56:17] local.INFO: TCP Data received {"connection_id":163167,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039181638012d9aa7000574a6f80003009029..."} 
[2026-08-25 18:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039181638012d9aa7000574a6f80003009029..."} 
[2026-08-25 18:56:17] local.INFO: Processing buffer {"connection_id":163167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039181638012d9aa7000574a6f80003009029..."} 
[2026-08-25 18:56:17] local.INFO: Packet analysis {"connection_id":163167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:56:17] local.INFO: Extracted packet for processing {"connection_id":163167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:56:17] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642049024001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:56:17] 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-25 18:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787664275000,"timestamp_ms":1787664275000,"timestamp_seconds":1787664275,"priority":1,"record_length":96,"hex_timestamp":"000001a039181638"} 
[2026-08-25 18:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 18:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642049024001,"66":12917,"89":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 18:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642049024001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:56:17] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 18:56:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642049024001,"power":12917,"unknown_89":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":163167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:56:17] local.INFO: GPS data processed {"connection_id":163167,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:56:17] local.INFO: Acknowledgment sent {"connection_id":163167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:56:39] local.INFO: TCP Data received {"connection_id":163169,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:56:39] local.INFO: Processing buffer {"connection_id":163169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:56:39] local.INFO: IMEI packet received {"connection_id":163169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":163169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:56:44] local.INFO: TCP Data received {"connection_id":163169,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:56:44] local.INFO: Processing buffer {"connection_id":163169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:56:44] local.INFO: IMEI packet received {"connection_id":163169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":163169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:56:45] local.INFO: TCP Data received {"connection_id":163169,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:56:45] local.INFO: Processing buffer {"connection_id":163169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:56:45] local.INFO: Packet analysis {"connection_id":163169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:56:45] local.INFO: Extracted packet for processing {"connection_id":163169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641974016001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:56:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787664262000,"timestamp_ms":1787664262000,"timestamp_seconds":1787664262,"priority":1,"record_length":96,"hex_timestamp":"000001a03917e370"} 
[2026-08-25 18: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-25 18:56:45] 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-25 18:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:56:45] 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-25 18:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641974016001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641974016001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641974016001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":163169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:56:45] local.INFO: GPS data processed {"connection_id":163169,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:56:45] local.INFO: Acknowledgment sent {"connection_id":163169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:56:46] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:56:46] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:56:46] local.INFO: IMEI packet received {"connection_id":161917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":161917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:57:03] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:57:03] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:57:03] local.INFO: IMEI packet received {"connection_id":161917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":161917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:57:07] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a039186840012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039186840012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:57:07] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039186840012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:57:07] local.INFO: Packet analysis {"connection_id":161917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:57:07] local.INFO: Extracted packet for processing {"connection_id":161917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:57:07] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642054400001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:07] 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-25 18:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787664296000,"timestamp_ms":1787664296000,"timestamp_seconds":1787664296,"priority":1,"record_length":96,"hex_timestamp":"000001a039186840"} 
[2026-08-25 18:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-25 18:57:07] 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-25 18:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642054400001,"66":12287,"89":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 18:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642054400001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:57:07] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 18:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642054400001,"power":12287,"unknown_89":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":161917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:57:07] local.INFO: GPS data processed {"connection_id":161917,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:57:07] local.INFO: Acknowledgment sent {"connection_id":161917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:57:07] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03918ba48012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03918ba48012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:57:07] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03918ba48012d9aa7000574a6f8000300902a..."} 
[2026-08-25 18:57:07] local.INFO: Packet analysis {"connection_id":161917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:57:07] local.INFO: Extracted packet for processing {"connection_id":161917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:57:07] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642059776001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:07] 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-25 18:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787664317000,"timestamp_ms":1787664317000,"timestamp_seconds":1787664317,"priority":1,"record_length":96,"hex_timestamp":"000001a03918ba48"} 
[2026-08-25 18:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 18:57: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-25 18:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642059776001,"66":13363,"89":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 18:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642059776001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:57:07] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 18:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642059776001,"power":13363,"unknown_89":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":161917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:57:07] local.INFO: GPS data processed {"connection_id":161917,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:57:07] local.INFO: Acknowledgment sent {"connection_id":161917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:57:17] local.INFO: TCP Data received {"connection_id":163169,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:57:17] local.INFO: Processing buffer {"connection_id":163169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:57:17] local.INFO: Packet analysis {"connection_id":163169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:57:17] local.INFO: Extracted packet for processing {"connection_id":163169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641974016001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787664262000,"timestamp_ms":1787664262000,"timestamp_seconds":1787664262,"priority":1,"record_length":96,"hex_timestamp":"000001a03917e370"} 
[2026-08-25 18:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:57: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-25 18:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:57:17] 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-25 18:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641974016001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641974016001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641974016001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":163169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:57:17] local.INFO: GPS data processed {"connection_id":163169,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:57:17] local.INFO: Acknowledgment sent {"connection_id":163169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:57:34] local.INFO: TCP Data received {"connection_id":162169,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:57:34] local.INFO: Processing buffer {"connection_id":162169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:57:34] local.INFO: IMEI packet received {"connection_id":162169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 18:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":162169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:57:39] local.INFO: TCP Data received {"connection_id":162170,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:57:39] local.INFO: Processing buffer {"connection_id":162170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:57:39] local.INFO: IMEI packet received {"connection_id":162170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":162170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:57:40] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:57:40] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:57:40] local.INFO: IMEI packet received {"connection_id":161918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":161918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:57:44] local.INFO: TCP Data received {"connection_id":162170,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:57:44] local.INFO: Processing buffer {"connection_id":162170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:57:44] local.INFO: IMEI packet received {"connection_id":162170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":162170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:57:46] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:57:46] local.INFO: TCP Data received {"connection_id":162170,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:57:46] local.INFO: Processing buffer {"connection_id":162170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:57:46] local.INFO: Packet analysis {"connection_id":162170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:57:46] local.INFO: Extracted packet for processing {"connection_id":162170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641974016001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:46] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:57:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:46] local.INFO: IMEI packet received {"connection_id":161918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":161918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787664262000,"timestamp_ms":1787664262000,"timestamp_seconds":1787664262,"priority":1,"record_length":96,"hex_timestamp":"000001a03917e370"} 
[2026-08-25 18:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:57:46] 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-25 18:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641974016001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641974016001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641974016001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":162170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:57:46] local.INFO: GPS data processed {"connection_id":162170,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:57:46] local.INFO: Acknowledgment sent {"connection_id":162170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:57:47] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:57:47] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:57:47] local.INFO: Packet analysis {"connection_id":161918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:57:47] local.INFO: Extracted packet for processing {"connection_id":161918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:57:47] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642065152001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:57:47] 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-25 18:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787664320000,"timestamp_ms":1787664320000,"timestamp_seconds":1787664320,"priority":1,"record_length":96,"hex_timestamp":"000001a03918c600"} 
[2026-08-25 18: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-25 18:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 18: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 18:57: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-25 18: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-25 18: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-25 18:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642065152001,"66":13048,"89":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 18:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642065152001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:57:47] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 18:57:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642065152001,"power":13048,"unknown_89":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":161918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:57:47] local.INFO: GPS data processed {"connection_id":161918,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:57:47] local.INFO: Acknowledgment sent {"connection_id":161918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:58:04] local.INFO: TCP Data received {"connection_id":164550,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:58:04] local.INFO: Processing buffer {"connection_id":164550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 18:58:04] local.INFO: IMEI packet received {"connection_id":164550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 18:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":164550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:58:17] local.INFO: TCP Data received {"connection_id":162170,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:58:17] local.INFO: Processing buffer {"connection_id":162170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:58:17] local.INFO: Packet analysis {"connection_id":162170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:58:17] local.INFO: Extracted packet for processing {"connection_id":162170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18: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-25 18:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641974016001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787664262000,"timestamp_ms":1787664262000,"timestamp_seconds":1787664262,"priority":1,"record_length":96,"hex_timestamp":"000001a03917e370"} 
[2026-08-25 18: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-25 18:58: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-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:58:17] 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-25 18: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-25 18: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-25 18:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641974016001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641974016001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641974016001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":162170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:58:17] local.INFO: GPS data processed {"connection_id":162170,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:58:17] local.INFO: Acknowledgment sent {"connection_id":162170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:58:20] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:58:20] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:58:20] local.INFO: Packet analysis {"connection_id":161918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:58:20] local.INFO: Extracted packet for processing {"connection_id":161918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642065920001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:20] 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-25 18:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787664320000,"timestamp_ms":1787664320000,"timestamp_seconds":1787664320,"priority":1,"record_length":96,"hex_timestamp":"000001a03918c600"} 
[2026-08-25 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-25 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 18:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 18:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642065920001,"66":13048,"89":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 18:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642065920001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:58:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 18:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642065920001,"power":13048,"unknown_89":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":161918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:58:20] local.INFO: GPS data processed {"connection_id":161918,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:58:20] local.INFO: Acknowledgment sent {"connection_id":161918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:58:39] local.INFO: TCP Data received {"connection_id":164552,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:58:39] local.INFO: Processing buffer {"connection_id":164552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:58:39] local.INFO: IMEI packet received {"connection_id":164552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":164552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:58:44] local.INFO: TCP Data received {"connection_id":164552,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:58:44] local.INFO: Processing buffer {"connection_id":164552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:58:44] local.INFO: IMEI packet received {"connection_id":164552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":164552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:58:45] local.INFO: TCP Data received {"connection_id":164552,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:58:45] local.INFO: Processing buffer {"connection_id":164552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:58:45] local.INFO: Packet analysis {"connection_id":164552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:58:45] local.INFO: Extracted packet for processing {"connection_id":164552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641974016001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787664262000,"timestamp_ms":1787664262000,"timestamp_seconds":1787664262,"priority":1,"record_length":96,"hex_timestamp":"000001a03917e370"} 
[2026-08-25 18:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:58:45] 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-25 18:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641974016001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641974016001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641974016001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":164552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:58:45] local.INFO: GPS data processed {"connection_id":164552,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:58:45] local.INFO: Acknowledgment sent {"connection_id":164552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:58:46] local.INFO: TCP Data received {"connection_id":161919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:58:46] local.INFO: Processing buffer {"connection_id":161919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:58:46] local.INFO: IMEI packet received {"connection_id":161919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":161919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:58:51] local.INFO: TCP Data received {"connection_id":161919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:58:51] local.INFO: Processing buffer {"connection_id":161919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:58:51] local.INFO: IMEI packet received {"connection_id":161919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":161919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:58:51] local.INFO: TCP Data received {"connection_id":161919,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:58:51] local.INFO: Processing buffer {"connection_id":161919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:58:51] local.INFO: Packet analysis {"connection_id":161919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:58:51] local.INFO: Extracted packet for processing {"connection_id":161919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:58:51] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:58:51] 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-25 18:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642065920001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:51] 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-25 18:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787664320000,"timestamp_ms":1787664320000,"timestamp_seconds":1787664320,"priority":1,"record_length":96,"hex_timestamp":"000001a03918c600"} 
[2026-08-25 18: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-25 18:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 18:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18: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-25 18: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-25 18:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642065920001,"66":13048,"89":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 18:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642065920001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:58:51] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 18:58:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642065920001,"power":13048,"unknown_89":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":161919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:58:52] local.INFO: GPS data processed {"connection_id":161919,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:58:52] local.INFO: Acknowledgment sent {"connection_id":161919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:58:56] local.INFO: TCP Data received {"connection_id":161919,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:58:56] local.INFO: Processing buffer {"connection_id":161919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:58:56] local.INFO: Packet analysis {"connection_id":161919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:58:56] local.INFO: Extracted packet for processing {"connection_id":161919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:58:56] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642065920001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:58:56] 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-25 18:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787664320000,"timestamp_ms":1787664320000,"timestamp_seconds":1787664320,"priority":1,"record_length":96,"hex_timestamp":"000001a03918c600"} 
[2026-08-25 18:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 18:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 18:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642065920001,"66":13048,"89":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 18:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642065920001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:58:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 18:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642065920001,"power":13048,"unknown_89":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":161919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:58:56] local.INFO: GPS data processed {"connection_id":161919,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:58:56] local.INFO: Acknowledgment sent {"connection_id":161919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:59:17] local.INFO: TCP Data received {"connection_id":164552,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:59:17] local.INFO: Processing buffer {"connection_id":164552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:59:17] local.INFO: Packet analysis {"connection_id":164552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:59:17] local.INFO: Extracted packet for processing {"connection_id":164552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641974016001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:59:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787664262000,"timestamp_ms":1787664262000,"timestamp_seconds":1787664262,"priority":1,"record_length":96,"hex_timestamp":"000001a03917e370"} 
[2026-08-25 18:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:59: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-25 18:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:59:17] 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-25 18:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641974016001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641974016001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641974016001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":164552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:59:17] local.INFO: GPS data processed {"connection_id":164552,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:59:17] local.INFO: Acknowledgment sent {"connection_id":164552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:59:39] local.INFO: TCP Data received {"connection_id":162172,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:59:39] local.INFO: Processing buffer {"connection_id":162172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:59:39] local.INFO: IMEI packet received {"connection_id":162172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 18:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":162172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:59:41] local.INFO: TCP Data received {"connection_id":162171,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:59:41] local.INFO: Processing buffer {"connection_id":162171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:59:41] local.INFO: IMEI packet received {"connection_id":162171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 18:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":162171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 18:59:44] local.INFO: TCP Data received {"connection_id":162172,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:59:44] local.INFO: Processing buffer {"connection_id":162172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 18:59:44] local.INFO: IMEI packet received {"connection_id":162172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 18:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":162172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:59:45] local.INFO: TCP Data received {"connection_id":162172,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:59:45] local.INFO: Processing buffer {"connection_id":162172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03917e370012d34c14006aa4818000600e62e..."} 
[2026-08-25 18:59:45] local.INFO: Packet analysis {"connection_id":162172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:59:45] local.INFO: Extracted packet for processing {"connection_id":162172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03917"} 
[2026-08-25 18:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 18:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457641974016001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:59:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 18:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 18:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 18:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 18:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787664262000,"timestamp_ms":1787664262000,"timestamp_seconds":1787664262,"priority":1,"record_length":96,"hex_timestamp":"000001a03917e370"} 
[2026-08-25 18:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:59:45] 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-25 18:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 18:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 18:59:45] 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-25 18:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 18:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 18:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457641974016001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 18:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 18:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 18:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457641974016001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 18:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 18:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457641974016001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 18:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":162172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:59:45] local.INFO: GPS data processed {"connection_id":162172,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:59:45] local.INFO: Acknowledgment sent {"connection_id":162172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 18:59:46] local.INFO: TCP Data received {"connection_id":162171,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:59:46] local.INFO: Processing buffer {"connection_id":162171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 18:59:46] local.INFO: IMEI packet received {"connection_id":162171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 18:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":162171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 18:59:47] local.INFO: TCP Data received {"connection_id":162171,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:59:47] local.INFO: Processing buffer {"connection_id":162171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 18:59:47] local.INFO: Packet analysis {"connection_id":162171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:59:47] local.INFO: Extracted packet for processing {"connection_id":162171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 18:59:47] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 18:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 18:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642065920001,"note":"Value kept but may cause issues"} 
[2026-08-25 18:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 18:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 18:59:47] 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-25 18:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787664320000,"timestamp_ms":1787664320000,"timestamp_seconds":1787664320,"priority":1,"record_length":96,"hex_timestamp":"000001a03918c600"} 
[2026-08-25 18:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 18:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 18:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 18:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 18:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 18:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 18:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 18:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 18:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 18:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 18:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 18:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 18:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642065920001,"66":13048,"89":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 18:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 18:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 18:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642065920001,"description":"Unknown IO ID 0"} 
[2026-08-25 18:59:47] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 18:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 18:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 18:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 18:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642065920001,"power":13048,"unknown_89":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 18:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":162171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 18:59:47] local.INFO: GPS data processed {"connection_id":162171,"processed":1,"errors":0,"total":1} 
[2026-08-25 18:59:47] local.INFO: Acknowledgment sent {"connection_id":162171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:00:17] local.INFO: TCP Data received {"connection_id":162172,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:00:17] local.INFO: Processing buffer {"connection_id":162172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:00:17] local.INFO: Packet analysis {"connection_id":162172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:00:17] local.INFO: Extracted packet for processing {"connection_id":162172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642051072001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787664563000,"timestamp_ms":1787664563000,"timestamp_seconds":1787664563,"priority":1,"record_length":96,"hex_timestamp":"000001a0391c7b38"} 
[2026-08-25 19:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:00:17] 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-25 19:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642051072001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642051072001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642051072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":162172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:00:17] local.INFO: GPS data processed {"connection_id":162172,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:00:17] local.INFO: Acknowledgment sent {"connection_id":162172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:00:19] local.INFO: TCP Data received {"connection_id":162171,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 19:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 19:00:19] local.INFO: Processing buffer {"connection_id":162171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03918c600012d9aa7000574a6f8000300902b..."} 
[2026-08-25 19:00:19] local.INFO: Packet analysis {"connection_id":162171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 19:00:19] local.INFO: Extracted packet for processing {"connection_id":162171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03918"} 
[2026-08-25 19:00:19] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91531000,"longitude_deg":76.5110016,"latitude_deg":9.1531,"altitude":3,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d9aa700","hex_latitude":"0574a6f8","is_valid_coordinates":true} 
[2026-08-25 19:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642065920001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:19] 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-25 19:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787664320000,"timestamp_ms":1787664320000,"timestamp_seconds":1787664320,"priority":1,"record_length":96,"hex_timestamp":"000001a03918c600"} 
[2026-08-25 19:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 19:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 19:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642065920001,"66":13048,"89":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 19:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642065920001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:00:19] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 19:00:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 19:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642065920001,"power":13048,"unknown_89":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 19:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":162171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:00:19] local.INFO: GPS data processed {"connection_id":162171,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:00:19] local.INFO: Acknowledgment sent {"connection_id":162171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:00:41] local.INFO: TCP Data received {"connection_id":163170,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:00:41] local.INFO: Processing buffer {"connection_id":163170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:00:41] local.INFO: IMEI packet received {"connection_id":163170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":163170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:00:44] local.INFO: TCP Data received {"connection_id":162173,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:00:44] local.INFO: Processing buffer {"connection_id":162173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:00:44] local.INFO: IMEI packet received {"connection_id":162173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":162173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:00:46] local.INFO: TCP Data received {"connection_id":163170,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:00:46] local.INFO: Processing buffer {"connection_id":163170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:00:46] local.INFO: IMEI packet received {"connection_id":163170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":163170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:00:47] local.INFO: TCP Data received {"connection_id":163170,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:00:47] local.INFO: Processing buffer {"connection_id":163170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:00:47] local.INFO: Packet analysis {"connection_id":163170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391d"} 
[2026-08-25 19:00:47] local.INFO: Extracted packet for processing {"connection_id":163170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391d"} 
[2026-08-25 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":765110144,"raw_latitude":91531032,"longitude_deg":76.5110144,"latitude_deg":9.1531032,"altitude":3,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d9aa780","hex_latitude":"0574a718","is_valid_coordinates":true} 
[2026-08-25 19:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642065920001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787664624000,"timestamp_ms":1787664624000,"timestamp_seconds":1787664624,"priority":1,"record_length":96,"hex_timestamp":"000001a0391d6980"} 
[2026-08-25 19:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 19:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642065920001,"66":12298,"150":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-25 19:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642065920001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:00:47] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-25 19:00:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 19:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642065920001,"power":12298,"unknown_150":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 19:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":163170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:00:47] local.INFO: GPS data processed {"connection_id":163170,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:00:47] local.INFO: Acknowledgment sent {"connection_id":163170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:00:49] local.INFO: TCP Data received {"connection_id":162173,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:00:49] local.INFO: Processing buffer {"connection_id":162173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:00:49] local.INFO: IMEI packet received {"connection_id":162173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":162173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:00:51] local.INFO: TCP Data received {"connection_id":162173,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:00:51] local.INFO: Processing buffer {"connection_id":162173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:00:51] local.INFO: Packet analysis {"connection_id":162173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:00:51] local.INFO: Extracted packet for processing {"connection_id":162173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642051072001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787664563000,"timestamp_ms":1787664563000,"timestamp_seconds":1787664563,"priority":1,"record_length":96,"hex_timestamp":"000001a0391c7b38"} 
[2026-08-25 19: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-25 19:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:00:51] 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-25 19: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-25 19: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-25 19:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:00:51] 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-25 19:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642051072001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642051072001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642051072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":162173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:00:51] local.INFO: GPS data processed {"connection_id":162173,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:00:51] local.INFO: Acknowledgment sent {"connection_id":162173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:00:56] local.INFO: TCP Data received {"connection_id":162173,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:00:56] local.INFO: Processing buffer {"connection_id":162173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:00:56] local.INFO: Packet analysis {"connection_id":162173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:00:56] local.INFO: Extracted packet for processing {"connection_id":162173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:00:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:00: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-25 19:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642051072001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787664563000,"timestamp_ms":1787664563000,"timestamp_seconds":1787664563,"priority":1,"record_length":96,"hex_timestamp":"000001a0391c7b38"} 
[2026-08-25 19:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:00:56] 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-25 19:00: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-25 19:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:00:56] 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-25 19:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642051072001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642051072001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:00:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642051072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":162173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:00:56] local.INFO: GPS data processed {"connection_id":162173,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:00:56] local.INFO: Acknowledgment sent {"connection_id":162173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:01:18] local.INFO: TCP Data received {"connection_id":163170,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:01:18] local.INFO: Processing buffer {"connection_id":163170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:01:18] local.INFO: Packet analysis {"connection_id":163170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391d"} 
[2026-08-25 19:01:18] local.INFO: Extracted packet for processing {"connection_id":163170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391d"} 
[2026-08-25 19:01:18] local.INFO: GPS Element Parsed {"raw_longitude":765110144,"raw_latitude":91531032,"longitude_deg":76.5110144,"latitude_deg":9.1531032,"altitude":3,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d9aa780","hex_latitude":"0574a718","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642065920001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 19:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 19:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787664624000,"timestamp_ms":1787664624000,"timestamp_seconds":1787664624,"priority":1,"record_length":96,"hex_timestamp":"000001a0391d6980"} 
[2026-08-25 19: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-25 19:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 19:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642065920001,"66":12298,"150":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-25 19:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642065920001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:01:18] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-25 19:01:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 19:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642065920001,"power":12298,"unknown_150":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 19:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":163170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:01:18] local.INFO: GPS data processed {"connection_id":163170,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:01:18] local.INFO: Acknowledgment sent {"connection_id":163170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:01:39] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:01:39] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:01:39] local.INFO: IMEI packet received {"connection_id":161920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":161920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:01:40] local.INFO: TCP Data received {"connection_id":164553,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:01:40] local.INFO: Processing buffer {"connection_id":164553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:01:40] local.INFO: IMEI packet received {"connection_id":164553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":164553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:01:44] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:01:44] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:01:44] local.INFO: IMEI packet received {"connection_id":161920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":161920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:01:45] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:01:45] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:01:45] local.INFO: Packet analysis {"connection_id":161920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:01:45] local.INFO: Extracted packet for processing {"connection_id":161920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642051072001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:01:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787664563000,"timestamp_ms":1787664563000,"timestamp_seconds":1787664563,"priority":1,"record_length":96,"hex_timestamp":"000001a0391c7b38"} 
[2026-08-25 19:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:01:45] 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-25 19:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642051072001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642051072001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:01:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642051072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":161920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:01:45] local.INFO: GPS data processed {"connection_id":161920,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:01:45] local.INFO: Acknowledgment sent {"connection_id":161920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:01:46] local.INFO: TCP Data received {"connection_id":164553,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:01:46] local.INFO: Processing buffer {"connection_id":164553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:01:46] local.INFO: IMEI packet received {"connection_id":164553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":164553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:01:46] local.INFO: TCP Data received {"connection_id":164553,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:01:46] local.INFO: Processing buffer {"connection_id":164553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:01:46] local.INFO: Packet analysis {"connection_id":164553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391d"} 
[2026-08-25 19:01:46] local.INFO: Extracted packet for processing {"connection_id":164553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391d"} 
[2026-08-25 19:01:46] local.INFO: GPS Element Parsed {"raw_longitude":765110144,"raw_latitude":91531032,"longitude_deg":76.5110144,"latitude_deg":9.1531032,"altitude":3,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d9aa780","hex_latitude":"0574a718","is_valid_coordinates":true} 
[2026-08-25 19:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642065920001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 19:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 19:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787664624000,"timestamp_ms":1787664624000,"timestamp_seconds":1787664624,"priority":1,"record_length":96,"hex_timestamp":"000001a0391d6980"} 
[2026-08-25 19:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 19:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642065920001,"66":12298,"150":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-25 19:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642065920001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:01:46] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-25 19:01:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 19:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642065920001,"power":12298,"unknown_150":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 19:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":164553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:01:46] local.INFO: GPS data processed {"connection_id":164553,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:01:46] local.INFO: Acknowledgment sent {"connection_id":164553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:01:50] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:01:50] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:01:50] local.INFO: Packet analysis {"connection_id":161920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:01:50] local.INFO: Extracted packet for processing {"connection_id":161920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642051072001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:01:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787664563000,"timestamp_ms":1787664563000,"timestamp_seconds":1787664563,"priority":1,"record_length":96,"hex_timestamp":"000001a0391c7b38"} 
[2026-08-25 19:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:01: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-25 19:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:01: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-25 19:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642051072001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642051072001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642051072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":161920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:01:50] local.INFO: GPS data processed {"connection_id":161920,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:01:50] local.INFO: Acknowledgment sent {"connection_id":161920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:02:17] local.INFO: TCP Data received {"connection_id":164553,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:02:17] local.INFO: Processing buffer {"connection_id":164553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:02:17] local.INFO: Packet analysis {"connection_id":164553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391d"} 
[2026-08-25 19:02:17] local.INFO: Extracted packet for processing {"connection_id":164553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391d"} 
[2026-08-25 19:02:17] local.INFO: GPS Element Parsed {"raw_longitude":765110144,"raw_latitude":91531032,"longitude_deg":76.5110144,"latitude_deg":9.1531032,"altitude":3,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d9aa780","hex_latitude":"0574a718","is_valid_coordinates":true} 
[2026-08-25 19:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642065920001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 19:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 19:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787664624000,"timestamp_ms":1787664624000,"timestamp_seconds":1787664624,"priority":1,"record_length":96,"hex_timestamp":"000001a0391d6980"} 
[2026-08-25 19:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 19:02:17] 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-25 19:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642065920001,"66":12298,"150":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-25 19:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642065920001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:02:17] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-25 19:02:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 19:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642065920001,"power":12298,"unknown_150":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 19:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":164553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:02:18] local.INFO: GPS data processed {"connection_id":164553,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:02:18] local.INFO: Acknowledgment sent {"connection_id":164553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:02:21] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:02:21] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:02:21] local.INFO: Packet analysis {"connection_id":161920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:02:21] local.INFO: Extracted packet for processing {"connection_id":161920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642051072001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:02:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787664563000,"timestamp_ms":1787664563000,"timestamp_seconds":1787664563,"priority":1,"record_length":96,"hex_timestamp":"000001a0391c7b38"} 
[2026-08-25 19:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:02: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-25 19:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:02: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-25 19:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642051072001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642051072001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642051072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":161920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:02:21] local.INFO: GPS data processed {"connection_id":161920,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:02:21] local.INFO: Acknowledgment sent {"connection_id":161920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:02:39] local.INFO: TCP Data received {"connection_id":162174,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:02:39] local.INFO: Processing buffer {"connection_id":162174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:02:39] local.INFO: IMEI packet received {"connection_id":162174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":162174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:02:40] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:02:40] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:02:40] local.INFO: IMEI packet received {"connection_id":161921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":161921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:02:44] local.INFO: TCP Data received {"connection_id":162174,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:02:44] local.INFO: Processing buffer {"connection_id":162174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:02:44] local.INFO: IMEI packet received {"connection_id":162174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":162174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:02:45] local.INFO: TCP Data received {"connection_id":162174,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:02:45] local.INFO: Processing buffer {"connection_id":162174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:02:45] local.INFO: Packet analysis {"connection_id":162174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:02:45] local.INFO: Extracted packet for processing {"connection_id":162174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642051072001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:02:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787664563000,"timestamp_ms":1787664563000,"timestamp_seconds":1787664563,"priority":1,"record_length":96,"hex_timestamp":"000001a0391c7b38"} 
[2026-08-25 19:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642051072001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642051072001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642051072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":162174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:02:45] local.INFO: GPS data processed {"connection_id":162174,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:02:45] local.INFO: Acknowledgment sent {"connection_id":162174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:02:46] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:02:46] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:02:46] local.INFO: IMEI packet received {"connection_id":161921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":161921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:02:46] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:02:46] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:02:46] local.INFO: Packet analysis {"connection_id":161921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391d"} 
[2026-08-25 19:02:46] local.INFO: Extracted packet for processing {"connection_id":161921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391d"} 
[2026-08-25 19:02:46] local.INFO: GPS Element Parsed {"raw_longitude":765110144,"raw_latitude":91531032,"longitude_deg":76.5110144,"latitude_deg":9.1531032,"altitude":3,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d9aa780","hex_latitude":"0574a718","is_valid_coordinates":true} 
[2026-08-25 19:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642065920001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 19:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 19:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787664624000,"timestamp_ms":1787664624000,"timestamp_seconds":1787664624,"priority":1,"record_length":96,"hex_timestamp":"000001a0391d6980"} 
[2026-08-25 19:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 19:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642065920001,"66":12298,"150":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-25 19:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642065920001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:02:46] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-25 19:02:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 19:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642065920001,"power":12298,"unknown_150":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 19:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":161921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:02:46] local.INFO: GPS data processed {"connection_id":161921,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:02:46] local.INFO: Acknowledgment sent {"connection_id":161921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:03:17] local.INFO: TCP Data received {"connection_id":162174,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:03:17] local.INFO: Processing buffer {"connection_id":162174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:03:17] local.INFO: Packet analysis {"connection_id":162174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:03:17] local.INFO: Extracted packet for processing {"connection_id":162174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642051072001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:03:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787664563000,"timestamp_ms":1787664563000,"timestamp_seconds":1787664563,"priority":1,"record_length":96,"hex_timestamp":"000001a0391c7b38"} 
[2026-08-25 19:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:03:17] 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-25 19:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642051072001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642051072001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642051072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":162174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:03:17] local.INFO: GPS data processed {"connection_id":162174,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:03:17] local.INFO: Acknowledgment sent {"connection_id":162174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:03:20] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:03:20] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391d6980012d9aa7800574a718000300902d..."} 
[2026-08-25 19:03:20] local.INFO: Packet analysis {"connection_id":161921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391d"} 
[2026-08-25 19:03:20] local.INFO: Extracted packet for processing {"connection_id":161921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391d"} 
[2026-08-25 19:03:20] local.INFO: GPS Element Parsed {"raw_longitude":765110144,"raw_latitude":91531032,"longitude_deg":76.5110144,"latitude_deg":9.1531032,"altitude":3,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d9aa780","hex_latitude":"0574a718","is_valid_coordinates":true} 
[2026-08-25 19:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642065920001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124048688552083456,"note":"Value kept but may cause issues"} 
[2026-08-25 19:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247326033920,"note":"Value kept but may cause issues"} 
[2026-08-25 19:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787664624000,"timestamp_ms":1787664624000,"timestamp_seconds":1787664624,"priority":1,"record_length":96,"hex_timestamp":"000001a0391d6980"} 
[2026-08-25 19:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 19:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 19:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642065920001,"66":12298,"150":206,"85":15872,"24":0,"16":124048688552083456,"45":-7302868247326033920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-25 19:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642065920001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:03:20] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-25 19:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124048688552083456,"km_value":124048688552083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247326033920,"description":"Unknown IO ID 45"} 
[2026-08-25 19:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642065920001,"power":12298,"unknown_150":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7302868247326033920}} 
[2026-08-25 19:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":161921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:03:20] local.INFO: GPS data processed {"connection_id":161921,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:03:20] local.INFO: Acknowledgment sent {"connection_id":161921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:03:28] local.INFO: TCP Data received {"connection_id":161922,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:03:28] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:03:28] local.INFO: IMEI packet received {"connection_id":161922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 19:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":161922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:03:41] local.INFO: TCP Data received {"connection_id":163171,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:03:41] local.INFO: Processing buffer {"connection_id":163171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:03:41] local.INFO: IMEI packet received {"connection_id":163171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":163171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:03:44] local.INFO: TCP Data received {"connection_id":163172,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:03:44] local.INFO: Processing buffer {"connection_id":163172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:03:44] local.INFO: IMEI packet received {"connection_id":163172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":163172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:03:44] local.INFO: TCP Data received {"connection_id":163171,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:03:44] local.INFO: Processing buffer {"connection_id":163171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:03:44] local.INFO: IMEI packet received {"connection_id":163171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":163171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:03:44] local.INFO: TCP Data received {"connection_id":163172,"ip":"42.109.136.2","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163172,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 19:03:44] local.INFO: Processing buffer {"connection_id":163172,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 19:03:44] local.INFO: IMEI packet received {"connection_id":163172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":163172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:03:45] local.INFO: TCP Data received {"connection_id":163171,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:03:45] local.INFO: Processing buffer {"connection_id":163171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:03:45] local.INFO: Packet analysis {"connection_id":163171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:03:45] local.INFO: Extracted packet for processing {"connection_id":163171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642051072001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:03:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787664563000,"timestamp_ms":1787664563000,"timestamp_seconds":1787664563,"priority":1,"record_length":96,"hex_timestamp":"000001a0391c7b38"} 
[2026-08-25 19: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-25 19:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642051072001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642051072001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642051072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":163171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:03:45] local.INFO: GPS data processed {"connection_id":163171,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:03:45] local.INFO: Acknowledgment sent {"connection_id":163171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:03:51] local.INFO: TCP Data received {"connection_id":163171,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:03:51] local.INFO: Processing buffer {"connection_id":163171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:03:51] local.INFO: Packet analysis {"connection_id":163171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:03:51] local.INFO: Extracted packet for processing {"connection_id":163171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:03:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642051072001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:03:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787664563000,"timestamp_ms":1787664563000,"timestamp_seconds":1787664563,"priority":1,"record_length":96,"hex_timestamp":"000001a0391c7b38"} 
[2026-08-25 19: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-25 19:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:03:51] 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-25 19: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-25 19: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-25 19:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642051072001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642051072001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:03:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642051072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":163171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:03:51] local.INFO: GPS data processed {"connection_id":163171,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:03:51] local.INFO: Acknowledgment sent {"connection_id":163171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:04:23] local.INFO: TCP Data received {"connection_id":163171,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:04:23] local.INFO: Processing buffer {"connection_id":163171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:04:23] local.INFO: Packet analysis {"connection_id":163171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:04:23] local.INFO: Extracted packet for processing {"connection_id":163171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:04:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642051072001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:04:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787664563000,"timestamp_ms":1787664563000,"timestamp_seconds":1787664563,"priority":1,"record_length":96,"hex_timestamp":"000001a0391c7b38"} 
[2026-08-25 19:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:04: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-25 19:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642051072001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642051072001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:04:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642051072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":163171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:04:23] local.INFO: GPS data processed {"connection_id":163171,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:04:23] local.INFO: Acknowledgment sent {"connection_id":163171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:04:39] local.INFO: TCP Data received {"connection_id":164554,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:04:39] local.INFO: Processing buffer {"connection_id":164554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:04:39] local.INFO: IMEI packet received {"connection_id":164554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":164554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:04:44] local.INFO: TCP Data received {"connection_id":164554,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:04:44] local.INFO: Processing buffer {"connection_id":164554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:04:44] local.INFO: IMEI packet received {"connection_id":164554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":164554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:04:45] local.INFO: TCP Data received {"connection_id":164554,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:04:45] local.INFO: Processing buffer {"connection_id":164554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0391c7b38012d34c14006aa4818000600e62e..."} 
[2026-08-25 19:04:45] local.INFO: Packet analysis {"connection_id":164554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:04:45] local.INFO: Extracted packet for processing {"connection_id":164554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0391c"} 
[2026-08-25 19:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642051072001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:04:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787664563000,"timestamp_ms":1787664563000,"timestamp_seconds":1787664563,"priority":1,"record_length":96,"hex_timestamp":"000001a0391c7b38"} 
[2026-08-25 19:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642051072001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642051072001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642051072001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":164554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:04:45] local.INFO: GPS data processed {"connection_id":164554,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:04:45] local.INFO: Acknowledgment sent {"connection_id":164554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:05:16] local.INFO: TCP Data received {"connection_id":164554,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:05:16] local.INFO: Processing buffer {"connection_id":164554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:05:16] local.INFO: Packet analysis {"connection_id":164554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:05:16] local.INFO: Extracted packet for processing {"connection_id":164554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642128128001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:05:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787664864000,"timestamp_ms":1787664864000,"timestamp_seconds":1787664864,"priority":1,"record_length":96,"hex_timestamp":"000001a039211300"} 
[2026-08-25 19:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:05:16] 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-25 19:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642128128001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642128128001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642128128001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":164554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:05:16] local.INFO: GPS data processed {"connection_id":164554,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:05:16] local.INFO: Acknowledgment sent {"connection_id":164554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:05:39] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:05:39] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:05:39] local.INFO: IMEI packet received {"connection_id":161925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":161925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:05:44] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:05:44] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:05:44] local.INFO: IMEI packet received {"connection_id":161925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":161925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:05:45] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:05:45] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:05:45] local.INFO: Packet analysis {"connection_id":161925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:05:45] local.INFO: Extracted packet for processing {"connection_id":161925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642128128001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:05:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787664864000,"timestamp_ms":1787664864000,"timestamp_seconds":1787664864,"priority":1,"record_length":96,"hex_timestamp":"000001a039211300"} 
[2026-08-25 19: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-25 19:05:45] 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-25 19:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:05:45] 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-25 19:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642128128001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642128128001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642128128001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":161925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:05:45] local.INFO: GPS data processed {"connection_id":161925,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:05:45] local.INFO: Acknowledgment sent {"connection_id":161925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:06:17] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:06:17] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:06:17] local.INFO: Packet analysis {"connection_id":161925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:06:17] local.INFO: Extracted packet for processing {"connection_id":161925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 19:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642128128001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:06:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787664864000,"timestamp_ms":1787664864000,"timestamp_seconds":1787664864,"priority":1,"record_length":96,"hex_timestamp":"000001a039211300"} 
[2026-08-25 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-25 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-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:06:17] 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-25 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-25 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-25 19:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:06:17] 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-25 19:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642128128001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642128128001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642128128001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":161925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:06:17] local.INFO: GPS data processed {"connection_id":161925,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:06:17] local.INFO: Acknowledgment sent {"connection_id":161925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:06:46] local.INFO: TCP Data received {"connection_id":164556,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:06:46] local.INFO: Processing buffer {"connection_id":164556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:06:46] local.INFO: IMEI packet received {"connection_id":164556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":164556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:06:50] local.INFO: TCP Data received {"connection_id":164556,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:06:50] local.INFO: Processing buffer {"connection_id":164556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:06:50] local.INFO: IMEI packet received {"connection_id":164556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":164556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:06:51] local.INFO: TCP Data received {"connection_id":164556,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:06:51] local.INFO: Processing buffer {"connection_id":164556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:06:51] local.INFO: Packet analysis {"connection_id":164556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:06:51] local.INFO: Extracted packet for processing {"connection_id":164556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642128128001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:06:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787664864000,"timestamp_ms":1787664864000,"timestamp_seconds":1787664864,"priority":1,"record_length":96,"hex_timestamp":"000001a039211300"} 
[2026-08-25 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-25 19:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:06:51] 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-25 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-25 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-25 19:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642128128001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642128128001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642128128001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":164556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:06:51] local.INFO: GPS data processed {"connection_id":164556,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:06:51] local.INFO: Acknowledgment sent {"connection_id":164556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:06:55] local.INFO: TCP Data received {"connection_id":164556,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:06:55] local.INFO: Processing buffer {"connection_id":164556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:06:55] local.INFO: Packet analysis {"connection_id":164556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:06:55] local.INFO: Extracted packet for processing {"connection_id":164556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:06:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642128128001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:06:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787664864000,"timestamp_ms":1787664864000,"timestamp_seconds":1787664864,"priority":1,"record_length":96,"hex_timestamp":"000001a039211300"} 
[2026-08-25 19:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:06:55] 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-25 19:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:06: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-25 19:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642128128001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642128128001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:06:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642128128001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":164556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:06:55] local.INFO: GPS data processed {"connection_id":164556,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:06:55] local.INFO: Acknowledgment sent {"connection_id":164556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:07:14] local.INFO: TCP Data received {"connection_id":161926,"ip":"85.217.149.2","data_length":8,"data_hex":"3030303030303030..."} 
[2026-08-25 19:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-08-25 19:07:14] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-08-25 19:07:39] local.INFO: TCP Data received {"connection_id":162175,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:07:39] local.INFO: Processing buffer {"connection_id":162175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:07:39] local.INFO: IMEI packet received {"connection_id":162175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":162175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:07:44] local.INFO: TCP Data received {"connection_id":162175,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:07:44] local.INFO: Processing buffer {"connection_id":162175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:07:44] local.INFO: IMEI packet received {"connection_id":162175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":162175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:07:46] local.INFO: TCP Data received {"connection_id":162175,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:07:46] local.INFO: Processing buffer {"connection_id":162175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:07:46] local.INFO: Packet analysis {"connection_id":162175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:07:46] local.INFO: Extracted packet for processing {"connection_id":162175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642128128001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:07:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787664864000,"timestamp_ms":1787664864000,"timestamp_seconds":1787664864,"priority":1,"record_length":96,"hex_timestamp":"000001a039211300"} 
[2026-08-25 19:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642128128001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642128128001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642128128001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":162175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:07:46] local.INFO: GPS data processed {"connection_id":162175,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:07:46] local.INFO: Acknowledgment sent {"connection_id":162175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:08:17] local.INFO: TCP Data received {"connection_id":162175,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:08:17] local.INFO: Processing buffer {"connection_id":162175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:08:17] local.INFO: Packet analysis {"connection_id":162175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:08:17] local.INFO: Extracted packet for processing {"connection_id":162175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642128128001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:08:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787664864000,"timestamp_ms":1787664864000,"timestamp_seconds":1787664864,"priority":1,"record_length":96,"hex_timestamp":"000001a039211300"} 
[2026-08-25 19:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:08: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-25 19:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:08:17] 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-25 19:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642128128001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642128128001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642128128001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":162175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:08:17] local.INFO: GPS data processed {"connection_id":162175,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:08:17] local.INFO: Acknowledgment sent {"connection_id":162175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:08:39] local.INFO: TCP Data received {"connection_id":162176,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:08:39] local.INFO: Processing buffer {"connection_id":162176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:08:39] local.INFO: IMEI packet received {"connection_id":162176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":162176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:08:44] local.INFO: TCP Data received {"connection_id":162176,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:08:44] local.INFO: Processing buffer {"connection_id":162176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:08:44] local.INFO: IMEI packet received {"connection_id":162176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":162176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:08:46] local.INFO: TCP Data received {"connection_id":162176,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:08:46] local.INFO: Processing buffer {"connection_id":162176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:08:46] local.INFO: Packet analysis {"connection_id":162176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:08:46] local.INFO: Extracted packet for processing {"connection_id":162176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642128128001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:08:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787664864000,"timestamp_ms":1787664864000,"timestamp_seconds":1787664864,"priority":1,"record_length":96,"hex_timestamp":"000001a039211300"} 
[2026-08-25 19:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642128128001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642128128001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642128128001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":162176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:08:46] local.INFO: GPS data processed {"connection_id":162176,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:08:46] local.INFO: Acknowledgment sent {"connection_id":162176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:08:51] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:08:51] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:08:51] local.INFO: IMEI packet received {"connection_id":162177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":162177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:08:55] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:08:55] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:08:55] local.INFO: IMEI packet received {"connection_id":162177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":162177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:08:56] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:08:56] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:08:56] local.INFO: IMEI packet received {"connection_id":162177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":162177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:09:00] local.INFO: TCP Data received {"connection_id":161928,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:09:00] local.INFO: Processing buffer {"connection_id":161928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:09:00] local.INFO: IMEI packet received {"connection_id":161928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 19:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":161928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:09:01] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:09:01] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:09:01] local.INFO: IMEI packet received {"connection_id":162177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":162177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:09:01] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03923f160012d99468005768148000b01422d..."} 
[2026-08-25 19:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03923f160012d99468005768148000b01422d..."} 
[2026-08-25 19:09:01] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03923f160012d99468005768148000b01422d..."} 
[2026-08-25 19:09:01] local.INFO: Packet analysis {"connection_id":162177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03923"} 
[2026-08-25 19:09:01] local.INFO: Extracted packet for processing {"connection_id":162177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03923"} 
[2026-08-25 19:09:01] local.INFO: GPS Element Parsed {"raw_longitude":765019776,"raw_latitude":91652424,"longitude_deg":76.5019776,"latitude_deg":9.1652424,"altitude":11,"angle":322,"satellites":45,"speed":50,"hex_longitude":"2d994680","hex_latitude":"05768148","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642251520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124056204744851456,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7396177202076368896,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787665052000,"timestamp_ms":1787665052000,"timestamp_seconds":1787665052,"priority":1,"record_length":96,"hex_timestamp":"000001a03923f160"} 
[2026-08-25 19: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-25 19:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-25 19:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:09:01] 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-25 19:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642251520001,"66":11852,"109":206,"85":15872,"24":50,"16":124056204744851456,"45":-7396177202076368896},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-25 19:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642251520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:09:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 19:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124056204744851456,"km_value":124056204744851.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7396177202076368896,"description":"Unknown IO ID 45"} 
[2026-08-25 19:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642251520001,"power":11852,"unknown_109":206,"unknown_85":15872,"ignition":50,"odometer":null,"unknown_45":-7396177202076368896}} 
[2026-08-25 19:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":162177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:09:01] local.INFO: GPS data processed {"connection_id":162177,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:09:01] local.INFO: Acknowledgment sent {"connection_id":162177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:09:06] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392410a0012d992fc00576a0c8000b01442f..."} 
[2026-08-25 19:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392410a0012d992fc00576a0c8000b01442f..."} 
[2026-08-25 19:09:06] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392410a0012d992fc00576a0c8000b01442f..."} 
[2026-08-25 19:09:06] local.INFO: Packet analysis {"connection_id":162177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03924"} 
[2026-08-25 19:09:06] local.INFO: Extracted packet for processing {"connection_id":162177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03924"} 
[2026-08-25 19:09:06] local.INFO: GPS Element Parsed {"raw_longitude":765013952,"raw_latitude":91660488,"longitude_deg":76.5013952,"latitude_deg":9.1660488,"altitude":11,"angle":324,"satellites":47,"speed":48,"hex_longitude":"2d992fc0","hex_latitude":"0576a0c8","is_valid_coordinates":true} 
[2026-08-25 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-25 19:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642253312001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124056685781188608,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7402088176585455616,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:06] 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-25 19:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787665060000,"timestamp_ms":1787665060000,"timestamp_seconds":1787665060,"priority":1,"record_length":96,"hex_timestamp":"000001a0392410a0"} 
[2026-08-25 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-25 19:09: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-25 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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-25 19:09:06] 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-25 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-25 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-25 19:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:09:06] 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-25 19:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642253312001,"66":12178,"109":206,"85":15872,"24":48,"16":124056685781188608,"45":-7402088176585455616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-25 19:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642253312001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:09:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 19:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124056685781188608,"km_value":124056685781188.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7402088176585455616,"description":"Unknown IO ID 45"} 
[2026-08-25 19:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642253312001,"power":12178,"unknown_109":206,"unknown_85":15872,"ignition":48,"odometer":null,"unknown_45":-7402088176585455616}} 
[2026-08-25 19:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":162177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:09:06] local.INFO: GPS data processed {"connection_id":162177,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:09:06] local.INFO: Acknowledgment sent {"connection_id":162177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:09:17] local.INFO: TCP Data received {"connection_id":162176,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:09:17] local.INFO: Processing buffer {"connection_id":162176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:09:17] local.INFO: Packet analysis {"connection_id":162176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:09:17] local.INFO: Extracted packet for processing {"connection_id":162176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642128128001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787664864000,"timestamp_ms":1787664864000,"timestamp_seconds":1787664864,"priority":1,"record_length":96,"hex_timestamp":"000001a039211300"} 
[2026-08-25 19:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:09: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-25 19:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:09:17] 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-25 19:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642128128001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642128128001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642128128001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":162176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:09:17] local.INFO: GPS data processed {"connection_id":162176,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:09:17] local.INFO: Acknowledgment sent {"connection_id":162176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:09:39] local.INFO: TCP Data received {"connection_id":163174,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:09:39] local.INFO: Processing buffer {"connection_id":163174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:09:39] local.INFO: IMEI packet received {"connection_id":163174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":163174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:09:40] local.INFO: TCP Data received {"connection_id":164557,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:09:40] local.INFO: Processing buffer {"connection_id":164557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:09:40] local.INFO: IMEI packet received {"connection_id":164557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":164557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:09:44] local.INFO: TCP Data received {"connection_id":163174,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:09:44] local.INFO: Processing buffer {"connection_id":163174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:09:44] local.INFO: IMEI packet received {"connection_id":163174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":163174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:09:45] local.INFO: TCP Data received {"connection_id":163174,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:09:45] local.INFO: Processing buffer {"connection_id":163174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039211300012d34c14006aa4818000700e62d..."} 
[2026-08-25 19:09:45] local.INFO: Packet analysis {"connection_id":163174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:09:45] local.INFO: Extracted packet for processing {"connection_id":163174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03921"} 
[2026-08-25 19:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642128128001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787664864000,"timestamp_ms":1787664864000,"timestamp_seconds":1787664864,"priority":1,"record_length":96,"hex_timestamp":"000001a039211300"} 
[2026-08-25 19:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:09:45] 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-25 19:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:09:45] 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-25 19:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642128128001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642128128001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642128128001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":163174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:09:45] local.INFO: GPS data processed {"connection_id":163174,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:09:45] local.INFO: Acknowledgment sent {"connection_id":163174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:09:47] local.INFO: TCP Data received {"connection_id":164557,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:09:47] local.INFO: Processing buffer {"connection_id":164557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:09:47] local.INFO: IMEI packet received {"connection_id":164557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":164557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:09:53] local.INFO: TCP Data received {"connection_id":164557,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039242fe0012d991b000576beb8000c01442f..."} 
[2026-08-25 19:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039242fe0012d991b000576beb8000c01442f..."} 
[2026-08-25 19:09:53] local.INFO: Processing buffer {"connection_id":164557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039242fe0012d991b000576beb8000c01442f..."} 
[2026-08-25 19:09:53] local.INFO: Packet analysis {"connection_id":164557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03924"} 
[2026-08-25 19:09:53] local.INFO: Extracted packet for processing {"connection_id":164557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03924"} 
[2026-08-25 19:09:53] local.INFO: GPS Element Parsed {"raw_longitude":765008640,"raw_latitude":91668152,"longitude_deg":76.500864,"latitude_deg":9.1668152,"altitude":12,"angle":324,"satellites":47,"speed":50,"hex_longitude":"2d991b00","hex_latitude":"0576beb8","is_valid_coordinates":true} 
[2026-08-25 19:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642255360001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124057136752754688,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7408491732303558656,"note":"Value kept but may cause issues"} 
[2026-08-25 19:09:53] 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-25 19:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787665068000,"timestamp_ms":1787665068000,"timestamp_seconds":1787665068,"priority":1,"record_length":96,"hex_timestamp":"000001a039242fe0"} 
[2026-08-25 19:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-25 19:09:53] 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-25 19:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:09:53] 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-25 19:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642255360001,"66":12298,"109":206,"85":15872,"24":50,"16":124057136752754688,"45":-7408491732303558656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-25 19:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642255360001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:09:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 19:09:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124057136752754688,"km_value":124057136752754.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7408491732303558656,"description":"Unknown IO ID 45"} 
[2026-08-25 19:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642255360001,"power":12298,"unknown_109":206,"unknown_85":15872,"ignition":50,"odometer":null,"unknown_45":-7408491732303558656}} 
[2026-08-25 19:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":164557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:09:53] local.INFO: GPS data processed {"connection_id":164557,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:09:53] local.INFO: Acknowledgment sent {"connection_id":164557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:10:17] local.INFO: TCP Data received {"connection_id":163174,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:10:17] local.INFO: Processing buffer {"connection_id":163174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:10:17] local.INFO: Packet analysis {"connection_id":163174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:10:17] local.INFO: Extracted packet for processing {"connection_id":163174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642205184001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787665165000,"timestamp_ms":1787665165000,"timestamp_seconds":1787665165,"priority":1,"record_length":96,"hex_timestamp":"000001a03925aac8"} 
[2026-08-25 19:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:10: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-25 19:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:10:17] 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-25 19:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642205184001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642205184001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642205184001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":163174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:10:17] local.INFO: GPS data processed {"connection_id":163174,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:10:17] local.INFO: Acknowledgment sent {"connection_id":163174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:10:38] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:10:38] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:10:38] local.INFO: IMEI packet received {"connection_id":161929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":161929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:10:39] local.INFO: TCP Data received {"connection_id":164558,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:10:39] local.INFO: Processing buffer {"connection_id":164558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:10:39] local.INFO: IMEI packet received {"connection_id":164558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":164558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:10:40] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:10:40] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:10:40] local.INFO: IMEI packet received {"connection_id":161929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":161929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:10:40] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:10:40] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:10:40] local.INFO: IMEI packet received {"connection_id":161929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":161929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:10:45] local.INFO: TCP Data received {"connection_id":164558,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:10:45] local.INFO: Processing buffer {"connection_id":164558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:10:45] local.INFO: IMEI packet received {"connection_id":164558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":164558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:10:45] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:10:45] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:10:45] local.INFO: IMEI packet received {"connection_id":161929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":161929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:10:45] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039263768012d9864c00577d010000e014630..."} 
[2026-08-25 19:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039263768012d9864c00577d010000e014630..."} 
[2026-08-25 19:10:45] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039263768012d9864c00577d010000e014630..."} 
[2026-08-25 19:10:45] local.INFO: Packet analysis {"connection_id":161929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03926"} 
[2026-08-25 19:10:45] local.INFO: Extracted packet for processing {"connection_id":161929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03926"} 
[2026-08-25 19:10:45] local.INFO: GPS Element Parsed {"raw_longitude":764961984,"raw_latitude":91738128,"longitude_deg":76.4961984,"latitude_deg":9.1738128,"altitude":14,"angle":326,"satellites":48,"speed":24,"hex_longitude":"2d9864c0","hex_latitude":"0577d010","is_valid_coordinates":true} 
[2026-08-25 19:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642287616001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124061208381751296,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7459790546791145472,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787665201000,"timestamp_ms":1787665201000,"timestamp_seconds":1787665201,"priority":1,"record_length":96,"hex_timestamp":"000001a039263768"} 
[2026-08-25 19:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":393807509876048195,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4467597219083584000,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186040,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4117571677677525215,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2049,"corrected_to":0} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2562113541,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832602,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3421610699154587854,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1791557838,"corrected_to":0} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2147841866,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":47,"raw_value":9851624185528324,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3208183808,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.WARNING: Large IO value detected {"io_id":190,"raw_value":-1873497444986126335,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:45] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,110,85,24,241,157,16,192,160,202,45,147,15,48,10,66,162,64,118,191,88,1,240,227,57,119,4,113,205,13,34,185,46,239,47,201,2,184,5,190],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":202,"original":2049,"validated":0},{"io_id":205,"original":1791557838,"validated":0}]} 
[2026-08-25 19:10:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081221458008211456,"timestamp_seconds":1081221458008211.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 19:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:10:45] 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-25 19:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642287616001,"66":12287,"110":206,"85":15872,"24":24,"16":124061208381751296,"45":-7459790546791145472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-25 19:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642287616001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:10:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-25 19:10:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124061208381751296,"km_value":124061208381751.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7459790546791145472,"description":"Unknown IO ID 45"} 
[2026-08-25 19:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642287616001,"power":12287,"unknown_110":206,"unknown_85":15872,"ignition":24,"odometer":null,"unknown_45":-7459790546791145472}} 
[2026-08-25 19:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":161929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:10:45] local.INFO: GPS data processed {"connection_id":161929,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:10:45] local.INFO: Acknowledgment sent {"connection_id":161929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:10:49] local.INFO: TCP Data received {"connection_id":164558,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:10:49] local.INFO: Processing buffer {"connection_id":164558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:10:49] local.INFO: Packet analysis {"connection_id":164558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:10:49] local.INFO: Extracted packet for processing {"connection_id":164558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 19:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642205184001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787665165000,"timestamp_ms":1787665165000,"timestamp_seconds":1787665165,"priority":1,"record_length":96,"hex_timestamp":"000001a03925aac8"} 
[2026-08-25 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-25 19:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:10:49] 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-25 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-25 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-25 19:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:10: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-25 19:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642205184001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642205184001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:10:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642205184001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":164558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:10:49] local.INFO: GPS data processed {"connection_id":164558,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:10:49] local.INFO: Acknowledgment sent {"connection_id":164558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:11:16] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039266260012d9851c00577edc0000e014630..."} 
[2026-08-25 19:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039266260012d9851c00577edc0000e014630..."} 
[2026-08-25 19:11:16] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039266260012d9851c00577edc0000e014630..."} 
[2026-08-25 19:11:16] local.INFO: Packet analysis {"connection_id":161929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03926"} 
[2026-08-25 19:11:16] local.INFO: Extracted packet for processing {"connection_id":161929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03926"} 
[2026-08-25 19:11:16] local.INFO: GPS Element Parsed {"raw_longitude":764957120,"raw_latitude":91745728,"longitude_deg":76.495712,"latitude_deg":9.1745728,"altitude":14,"angle":326,"satellites":48,"speed":37,"hex_longitude":"2d9851c0","hex_latitude":"0577edc0","is_valid_coordinates":true} 
[2026-08-25 19:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642291456001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124061642173448192,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7465631152555945984,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787665212000,"timestamp_ms":1787665212000,"timestamp_seconds":1787665212,"priority":1,"record_length":96,"hex_timestamp":"000001a039266260"} 
[2026-08-25 19:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 19:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:11:16] 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-25 19:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642291456001,"66":11961,"190":206,"85":15872,"24":37,"16":124061642173448192,"45":-7465631152555945984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-25 19:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642291456001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:11:16] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-25 19:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124061642173448192,"km_value":124061642173448.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7465631152555945984,"description":"Unknown IO ID 45"} 
[2026-08-25 19:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642291456001,"power":11961,"unknown_190":206,"unknown_85":15872,"ignition":37,"odometer":null,"unknown_45":-7465631152555945984}} 
[2026-08-25 19:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":161929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:11:16] local.INFO: GPS data processed {"connection_id":161929,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:11:16] local.INFO: Acknowledgment sent {"connection_id":161929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:11:21] local.INFO: TCP Data received {"connection_id":164558,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:11:21] local.INFO: Processing buffer {"connection_id":164558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:11:21] local.INFO: Packet analysis {"connection_id":164558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:11:21] local.INFO: Extracted packet for processing {"connection_id":164558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:11:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 19:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642205184001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787665165000,"timestamp_ms":1787665165000,"timestamp_seconds":1787665165,"priority":1,"record_length":96,"hex_timestamp":"000001a03925aac8"} 
[2026-08-25 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-25 19:11:21] 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-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:11:21] 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-25 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-25 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-25 19:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642205184001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642205184001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:11:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642205184001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":164558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:11:21] local.INFO: GPS data processed {"connection_id":164558,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:11:21] local.INFO: Acknowledgment sent {"connection_id":164558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:11:40] local.INFO: TCP Data received {"connection_id":163175,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:11:40] local.INFO: Processing buffer {"connection_id":163175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:11:40] local.INFO: IMEI packet received {"connection_id":163175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":163175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:11:44] local.INFO: TCP Data received {"connection_id":163175,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:11:44] local.INFO: Processing buffer {"connection_id":163175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:11:44] local.INFO: IMEI packet received {"connection_id":163175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":163175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:11:44] local.INFO: TCP Data received {"connection_id":162178,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:11:44] local.INFO: Processing buffer {"connection_id":162178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:11:44] local.INFO: IMEI packet received {"connection_id":162178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":162178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:11:45] local.INFO: TCP Data received {"connection_id":163175,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039268970012d983e0005780bc8000d01482f..."} 
[2026-08-25 19:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039268970012d983e0005780bc8000d01482f..."} 
[2026-08-25 19:11:45] local.INFO: Processing buffer {"connection_id":163175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039268970012d983e0005780bc8000d01482f..."} 
[2026-08-25 19:11:45] local.INFO: Packet analysis {"connection_id":163175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03926"} 
[2026-08-25 19:11:45] local.INFO: Extracted packet for processing {"connection_id":163175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03926"} 
[2026-08-25 19:11:45] local.INFO: GPS Element Parsed {"raw_longitude":764952064,"raw_latitude":91753416,"longitude_deg":76.4952064,"latitude_deg":9.1753416,"altitude":13,"angle":328,"satellites":47,"speed":29,"hex_longitude":"2d983e00","hex_latitude":"05780bc8","is_valid_coordinates":true} 
[2026-08-25 19:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642294272001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124062088850046976,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7470979177111502848,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787665222000,"timestamp_ms":1787665222000,"timestamp_seconds":1787665222,"priority":1,"record_length":96,"hex_timestamp":"000001a039268970"} 
[2026-08-25 19:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 19:11:45] 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-25 19:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:11:45] 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-25 19:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642294272001,"66":12156,"190":206,"85":15872,"24":29,"16":124062088850046976,"45":-7470979177111502848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-25 19:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642294272001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:11:45] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-25 19:11:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124062088850046976,"km_value":124062088850046.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7470979177111502848,"description":"Unknown IO ID 45"} 
[2026-08-25 19:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642294272001,"power":12156,"unknown_190":206,"unknown_85":15872,"ignition":29,"odometer":null,"unknown_45":-7470979177111502848}} 
[2026-08-25 19:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":163175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:11:45] local.INFO: GPS data processed {"connection_id":163175,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:11:45] local.INFO: Acknowledgment sent {"connection_id":163175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:11:49] local.INFO: TCP Data received {"connection_id":162178,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:11:49] local.INFO: Processing buffer {"connection_id":162178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:11:49] local.INFO: IMEI packet received {"connection_id":162178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":162178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:11:50] local.INFO: TCP Data received {"connection_id":162178,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:11:50] local.INFO: Processing buffer {"connection_id":162178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:11:50] local.INFO: Packet analysis {"connection_id":162178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:11:50] local.INFO: Extracted packet for processing {"connection_id":162178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:11:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642205184001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787665165000,"timestamp_ms":1787665165000,"timestamp_seconds":1787665165,"priority":1,"record_length":96,"hex_timestamp":"000001a03925aac8"} 
[2026-08-25 19:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:11:50] 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-25 19:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:11: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-25 19:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642205184001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642205184001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:11:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642205184001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":162178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:11:50] local.INFO: GPS data processed {"connection_id":162178,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:11:50] local.INFO: Acknowledgment sent {"connection_id":162178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:11:54] local.INFO: TCP Data received {"connection_id":162178,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:11:55] local.INFO: Processing buffer {"connection_id":162178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:11:55] local.INFO: Packet analysis {"connection_id":162178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:11:55] local.INFO: Extracted packet for processing {"connection_id":162178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642205184001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787665165000,"timestamp_ms":1787665165000,"timestamp_seconds":1787665165,"priority":1,"record_length":96,"hex_timestamp":"000001a03925aac8"} 
[2026-08-25 19:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:11:55] 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-25 19:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:11:55] 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-25 19:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642205184001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642205184001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:11:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642205184001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":162178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:11:55] local.INFO: GPS data processed {"connection_id":162178,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:11:55] local.INFO: Acknowledgment sent {"connection_id":162178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:12:16] local.INFO: TCP Data received {"connection_id":163175,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03927c1f0012d97b9c00578d598000c015430..."} 
[2026-08-25 19:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03927c1f0012d97b9c00578d598000c015430..."} 
[2026-08-25 19:12:16] local.INFO: Processing buffer {"connection_id":163175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03927c1f0012d97b9c00578d598000c015430..."} 
[2026-08-25 19:12:16] local.INFO: Packet analysis {"connection_id":163175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03927"} 
[2026-08-25 19:12:16] local.INFO: Extracted packet for processing {"connection_id":163175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03927"} 
[2026-08-25 19:12:16] local.INFO: GPS Element Parsed {"raw_longitude":764918208,"raw_latitude":91805080,"longitude_deg":76.4918208,"latitude_deg":9.180508,"altitude":12,"angle":340,"satellites":48,"speed":32,"hex_longitude":"2d97b9c0","hex_latitude":"0578d598","is_valid_coordinates":true} 
[2026-08-25 19:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642314752001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124065095327154176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7509048667698487296,"note":"Value kept but may cause issues"} 
[2026-08-25 19:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787665302000,"timestamp_ms":1787665302000,"timestamp_seconds":1787665302,"priority":1,"record_length":96,"hex_timestamp":"000001a03927c1f0"} 
[2026-08-25 19:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 19:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:12:16] 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-25 19:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642314752001,"66":12004,"190":206,"85":15872,"24":32,"16":124065095327154176,"45":-7509048667698487296},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-25 19:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642314752001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:12:16] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-25 19:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124065095327154176,"km_value":124065095327154.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7509048667698487296,"description":"Unknown IO ID 45"} 
[2026-08-25 19:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642314752001,"power":12004,"unknown_190":206,"unknown_85":15872,"ignition":32,"odometer":null,"unknown_45":-7509048667698487296}} 
[2026-08-25 19:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":163175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:12:16] local.INFO: GPS data processed {"connection_id":163175,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:12:16] local.INFO: Acknowledgment sent {"connection_id":163175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:12:39] local.INFO: TCP Data received {"connection_id":164559,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:12:39] local.INFO: Processing buffer {"connection_id":164559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:12:39] local.INFO: IMEI packet received {"connection_id":164559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":164559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:12:40] local.INFO: TCP Data received {"connection_id":164560,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:12:40] local.INFO: Processing buffer {"connection_id":164560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:12:40] local.INFO: IMEI packet received {"connection_id":164560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":164560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:12:44] local.INFO: TCP Data received {"connection_id":164559,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:12:44] local.INFO: Processing buffer {"connection_id":164559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:12:44] local.INFO: IMEI packet received {"connection_id":164559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":164559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:12:45] local.INFO: TCP Data received {"connection_id":164560,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:12:45] local.INFO: Processing buffer {"connection_id":164560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:12:45] local.INFO: IMEI packet received {"connection_id":164560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":164560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:12:45] local.INFO: TCP Data received {"connection_id":164560,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03927e900012d97aa800578f838000d014e2e..."} 
[2026-08-25 19:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03927e900012d97aa800578f838000d014e2e..."} 
[2026-08-25 19:12:45] local.INFO: Processing buffer {"connection_id":164560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03927e900012d97aa800578f838000d014e2e..."} 
[2026-08-25 19:12:45] local.INFO: Packet analysis {"connection_id":164560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03927"} 
[2026-08-25 19:12:45] local.INFO: Extracted packet for processing {"connection_id":164560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03927"} 
[2026-08-25 19:12:45] local.INFO: GPS Element Parsed {"raw_longitude":764914304,"raw_latitude":91813944,"longitude_deg":76.4914304,"latitude_deg":9.1813944,"altitude":13,"angle":334,"satellites":46,"speed":43,"hex_longitude":"2d97aa80","hex_latitude":"0578f838","is_valid_coordinates":true} 
[2026-08-25 19:12: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-25 19:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642317312001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124065563478589440,"note":"Value kept but may cause issues"} 
[2026-08-25 19:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7513763373556328448,"note":"Value kept but may cause issues"} 
[2026-08-25 19:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787665312000,"timestamp_ms":1787665312000,"timestamp_seconds":1787665312,"priority":1,"record_length":96,"hex_timestamp":"000001a03927e900"} 
[2026-08-25 19:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:12: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-25 19:12:45] 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-25 19:12: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-25 19:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:12:45] 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-25 19:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642317312001,"66":11721,"190":206,"85":15872,"24":43,"16":124065563478589440,"45":-7513763373556328448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-25 19:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642317312001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:12:45] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-25 19:12:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124065563478589440,"km_value":124065563478589.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7513763373556328448,"description":"Unknown IO ID 45"} 
[2026-08-25 19:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642317312001,"power":11721,"unknown_190":206,"unknown_85":15872,"ignition":43,"odometer":null,"unknown_45":-7513763373556328448}} 
[2026-08-25 19:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":164560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:12:45] local.INFO: GPS data processed {"connection_id":164560,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:12:45] local.INFO: Acknowledgment sent {"connection_id":164560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:12:46] local.INFO: TCP Data received {"connection_id":164559,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:12:46] local.INFO: Processing buffer {"connection_id":164559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:12:46] local.INFO: Packet analysis {"connection_id":164559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:12:46] local.INFO: Extracted packet for processing {"connection_id":164559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642205184001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:12:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787665165000,"timestamp_ms":1787665165000,"timestamp_seconds":1787665165,"priority":1,"record_length":96,"hex_timestamp":"000001a03925aac8"} 
[2026-08-25 19:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:12:46] 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-25 19:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642205184001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642205184001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:12:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642205184001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":164559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:12:46] local.INFO: GPS data processed {"connection_id":164559,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:12:46] local.INFO: Acknowledgment sent {"connection_id":164559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:13:16] local.INFO: TCP Data received {"connection_id":164560,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039281010012d979b0005791a48000e01522e..."} 
[2026-08-25 19:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039281010012d979b0005791a48000e01522e..."} 
[2026-08-25 19:13:16] local.INFO: Processing buffer {"connection_id":164560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039281010012d979b0005791a48000e01522e..."} 
[2026-08-25 19:13:16] local.INFO: Packet analysis {"connection_id":164560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03928"} 
[2026-08-25 19:13:16] local.INFO: Extracted packet for processing {"connection_id":164560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03928"} 
[2026-08-25 19:13:16] local.INFO: GPS Element Parsed {"raw_longitude":764910336,"raw_latitude":91822664,"longitude_deg":76.4910336,"latitude_deg":9.1822664,"altitude":14,"angle":338,"satellites":46,"speed":38,"hex_longitude":"2d979b00","hex_latitude":"05791a48","is_valid_coordinates":true} 
[2026-08-25 19:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642319872001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124066027335057408,"note":"Value kept but may cause issues"} 
[2026-08-25 19:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7518055866948896768,"note":"Value kept but may cause issues"} 
[2026-08-25 19:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787665322000,"timestamp_ms":1787665322000,"timestamp_seconds":1787665322,"priority":1,"record_length":96,"hex_timestamp":"000001a039281010"} 
[2026-08-25 19:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-25 19:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:13:16] 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-25 19:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642319872001,"66":12178,"190":206,"85":15872,"24":38,"16":124066027335057408,"45":-7518055866948896768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-25 19:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642319872001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:13:16] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-25 19:13:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124066027335057408,"km_value":124066027335057.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7518055866948896768,"description":"Unknown IO ID 45"} 
[2026-08-25 19:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642319872001,"power":12178,"unknown_190":206,"unknown_85":15872,"ignition":38,"odometer":null,"unknown_45":-7518055866948896768}} 
[2026-08-25 19:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":164560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:13:16] local.INFO: GPS data processed {"connection_id":164560,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:13:16] local.INFO: Acknowledgment sent {"connection_id":164560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:13:17] local.INFO: TCP Data received {"connection_id":164559,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:13:17] local.INFO: Processing buffer {"connection_id":164559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:13:17] local.INFO: Packet analysis {"connection_id":164559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:13:17] local.INFO: Extracted packet for processing {"connection_id":164559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642205184001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:13:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787665165000,"timestamp_ms":1787665165000,"timestamp_seconds":1787665165,"priority":1,"record_length":96,"hex_timestamp":"000001a03925aac8"} 
[2026-08-25 19: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-25 19:13: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-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:13:17] 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-25 19: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-25 19: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-25 19:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:13:17] 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-25 19:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642205184001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642205184001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642205184001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":164559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:13:17] local.INFO: GPS data processed {"connection_id":164559,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:13:17] local.INFO: Acknowledgment sent {"connection_id":164559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:13:39] local.INFO: TCP Data received {"connection_id":164561,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:13:39] local.INFO: Processing buffer {"connection_id":164561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:13:39] local.INFO: IMEI packet received {"connection_id":164561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":164561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:13:40] local.INFO: TCP Data received {"connection_id":162179,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:13:40] local.INFO: Processing buffer {"connection_id":162179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:13:40] local.INFO: IMEI packet received {"connection_id":162179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":162179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:13:44] local.INFO: TCP Data received {"connection_id":164561,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:13:44] local.INFO: Processing buffer {"connection_id":164561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:13:44] local.INFO: IMEI packet received {"connection_id":164561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":164561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:13:45] local.INFO: TCP Data received {"connection_id":164561,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:13:45] local.INFO: Processing buffer {"connection_id":164561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:13:45] local.INFO: Packet analysis {"connection_id":164561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:13:45] local.INFO: Extracted packet for processing {"connection_id":164561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642205184001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:13:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787665165000,"timestamp_ms":1787665165000,"timestamp_seconds":1787665165,"priority":1,"record_length":96,"hex_timestamp":"000001a03925aac8"} 
[2026-08-25 19: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-25 19:13:45] 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-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:13:45] 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-25 19: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-25 19: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-25 19:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:13:45] 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-25 19:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642205184001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642205184001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642205184001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":164561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:13:45] local.INFO: GPS data processed {"connection_id":164561,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:13:45] local.INFO: Acknowledgment sent {"connection_id":164561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:13:46] local.INFO: TCP Data received {"connection_id":162179,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:13:46] local.INFO: Processing buffer {"connection_id":162179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:13:46] local.INFO: IMEI packet received {"connection_id":162179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":162179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:13:47] local.INFO: TCP Data received {"connection_id":162179,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039283ef0012d978e0005793ac0000d015230..."} 
[2026-08-25 19:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039283ef0012d978e0005793ac0000d015230..."} 
[2026-08-25 19:13:47] local.INFO: Processing buffer {"connection_id":162179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039283ef0012d978e0005793ac0000d015230..."} 
[2026-08-25 19:13:47] local.INFO: Packet analysis {"connection_id":162179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03928"} 
[2026-08-25 19:13:47] local.INFO: Extracted packet for processing {"connection_id":162179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03928"} 
[2026-08-25 19:13:47] local.INFO: GPS Element Parsed {"raw_longitude":764907008,"raw_latitude":91830976,"longitude_deg":76.4907008,"latitude_deg":9.1830976,"altitude":13,"angle":338,"satellites":48,"speed":10,"hex_longitude":"2d978e00","hex_latitude":"05793ac0","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642322432001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124066461126754304,"note":"Value kept but may cause issues"} 
[2026-08-25 19:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7522418729085679616,"note":"Value kept but may cause issues"} 
[2026-08-25 19:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787665334000,"timestamp_ms":1787665334000,"timestamp_seconds":1787665334,"priority":1,"record_length":96,"hex_timestamp":"000001a039283ef0"} 
[2026-08-25 19: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-25 19:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-25 19:13:47] 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-25 19: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-25 19: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-25 19:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:13:47] 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-25 19:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642322432001,"66":12385,"191":206,"85":15872,"24":10,"16":124066461126754304,"45":-7522418729085679616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-25 19:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642322432001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:13:47] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-25 19:13:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124066461126754304,"km_value":124066461126754.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7522418729085679616,"description":"Unknown IO ID 45"} 
[2026-08-25 19:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642322432001,"power":12385,"unknown_191":206,"unknown_85":15872,"ignition":10,"odometer":null,"unknown_45":-7522418729085679616}} 
[2026-08-25 19:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":162179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:13:47] local.INFO: GPS data processed {"connection_id":162179,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:13:47] local.INFO: Acknowledgment sent {"connection_id":162179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:14:17] local.INFO: TCP Data received {"connection_id":164561,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:14:17] local.INFO: Processing buffer {"connection_id":164561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:14:17] local.INFO: Packet analysis {"connection_id":164561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:14:17] local.INFO: Extracted packet for processing {"connection_id":164561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642205184001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787665165000,"timestamp_ms":1787665165000,"timestamp_seconds":1787665165,"priority":1,"record_length":96,"hex_timestamp":"000001a03925aac8"} 
[2026-08-25 19: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-25 19:14: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-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:14:17] 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-25 19: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-25 19: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-25 19:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:14: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-25 19:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642205184001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642205184001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642205184001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":164561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:14:17] local.INFO: GPS data processed {"connection_id":164561,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:14:17] local.INFO: Acknowledgment sent {"connection_id":164561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:14:19] local.INFO: TCP Data received {"connection_id":162179,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039288d10012d977c8005795bd0000d01492f..."} 
[2026-08-25 19:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039288d10012d977c8005795bd0000d01492f..."} 
[2026-08-25 19:14:19] local.INFO: Processing buffer {"connection_id":162179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039288d10012d977c8005795bd0000d01492f..."} 
[2026-08-25 19:14:19] local.INFO: Packet analysis {"connection_id":162179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03928"} 
[2026-08-25 19:14:19] local.INFO: Extracted packet for processing {"connection_id":162179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03928"} 
[2026-08-25 19:14:19] local.INFO: GPS Element Parsed {"raw_longitude":764902528,"raw_latitude":91839440,"longitude_deg":76.4902528,"latitude_deg":9.183944,"altitude":13,"angle":329,"satellites":47,"speed":29,"hex_longitude":"2d977c80","hex_latitude":"05795bd0","is_valid_coordinates":true} 
[2026-08-25 19:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642325504001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124066929278189568,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7526077903780790272,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787665354000,"timestamp_ms":1787665354000,"timestamp_seconds":1787665354,"priority":1,"record_length":96,"hex_timestamp":"000001a039288d10"} 
[2026-08-25 19:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 19:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:14:19] 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-25 19:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642325504001,"66":12200,"192":206,"85":15872,"24":29,"16":124066929278189568,"45":-7526077903780790272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-25 19:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642325504001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:14:19] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-25 19:14:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124066929278189568,"km_value":124066929278189.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7526077903780790272,"description":"Unknown IO ID 45"} 
[2026-08-25 19:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642325504001,"power":12200,"unknown_192":206,"unknown_85":15872,"ignition":29,"odometer":null,"unknown_45":-7526077903780790272}} 
[2026-08-25 19:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":162179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:14:19] local.INFO: GPS data processed {"connection_id":162179,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:14:19] local.INFO: Acknowledgment sent {"connection_id":162179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:14:34] local.INFO: TCP Data received {"connection_id":161930,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:14:34] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:14:34] local.INFO: IMEI packet received {"connection_id":161930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 19:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":161930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:14:39] local.INFO: TCP Data received {"connection_id":162180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:14:39] local.INFO: Processing buffer {"connection_id":162180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:14:39] local.INFO: IMEI packet received {"connection_id":162180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":162180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:14:44] local.INFO: TCP Data received {"connection_id":162180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:14:44] local.INFO: Processing buffer {"connection_id":162180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:14:44] local.INFO: IMEI packet received {"connection_id":162180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":162180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:14:45] local.INFO: TCP Data received {"connection_id":162181,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:14:45] local.INFO: Processing buffer {"connection_id":162181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:14:45] local.INFO: IMEI packet received {"connection_id":162181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":162181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:14:45] local.INFO: TCP Data received {"connection_id":162180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:14:45] local.INFO: Processing buffer {"connection_id":162180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03925aac8012d34c14006aa4818000900e62e..."} 
[2026-08-25 19:14:45] local.INFO: Packet analysis {"connection_id":162180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:14:45] local.INFO: Extracted packet for processing {"connection_id":162180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03925"} 
[2026-08-25 19:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642205184001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787665165000,"timestamp_ms":1787665165000,"timestamp_seconds":1787665165,"priority":1,"record_length":96,"hex_timestamp":"000001a03925aac8"} 
[2026-08-25 19: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-25 19:14:45] 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-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:14:45] 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-25 19: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-25 19: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-25 19:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642205184001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642205184001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642205184001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":162180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:14:45] local.INFO: GPS data processed {"connection_id":162180,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:14:45] local.INFO: Acknowledgment sent {"connection_id":162180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:14:45] local.INFO: TCP Data received {"connection_id":162181,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:14:45] local.INFO: Processing buffer {"connection_id":162181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:14:45] local.INFO: IMEI packet received {"connection_id":162181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":162181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:14:51] local.INFO: TCP Data received {"connection_id":162181,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:14:51] local.INFO: Processing buffer {"connection_id":162181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:14:51] local.INFO: IMEI packet received {"connection_id":162181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":162181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:14:51] local.INFO: TCP Data received {"connection_id":162181,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03929fc40012d96e180057ad3d8000a01562b..."} 
[2026-08-25 19:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03929fc40012d96e180057ad3d8000a01562b..."} 
[2026-08-25 19:14:51] local.INFO: Processing buffer {"connection_id":162181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03929fc40012d96e180057ad3d8000a01562b..."} 
[2026-08-25 19:14:51] local.INFO: Packet analysis {"connection_id":162181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03929"} 
[2026-08-25 19:14:51] local.INFO: Extracted packet for processing {"connection_id":162181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03929"} 
[2026-08-25 19:14:51] local.INFO: GPS Element Parsed {"raw_longitude":764862848,"raw_latitude":91935704,"longitude_deg":76.4862848,"latitude_deg":9.1935704,"altitude":10,"angle":342,"satellites":43,"speed":39,"hex_longitude":"2d96e180","hex_latitude":"057ad3d8","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642352384001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124072001634566144,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7571747218727559168,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787665448000,"timestamp_ms":1787665448000,"timestamp_seconds":1787665448,"priority":1,"record_length":96,"hex_timestamp":"000001a03929fc40"} 
[2026-08-25 19: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-25 19:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 19:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:14:51] 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-25 19:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642352384001,"66":12200,"12":206,"85":15872,"24":39,"16":124072001634566144,"45":-7571747218727559168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,85,24,16,45]} 
[2026-08-25 19:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642352384001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:14:51] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-25 19:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124072001634566144,"km_value":124072001634566.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7571747218727559168,"description":"Unknown IO ID 45"} 
[2026-08-25 19:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642352384001,"power":12200,"unknown_12":206,"unknown_85":15872,"ignition":39,"odometer":null,"unknown_45":-7571747218727559168}} 
[2026-08-25 19:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":162181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:14:51] local.INFO: GPS data processed {"connection_id":162181,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:14:51] local.INFO: Acknowledgment sent {"connection_id":162181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:14:56] local.INFO: TCP Data received {"connection_id":162181,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392a2f08012d96d600057af688000a015725..."} 
[2026-08-25 19:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392a2f08012d96d600057af688000a015725..."} 
[2026-08-25 19:14:56] local.INFO: Processing buffer {"connection_id":162181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392a2f08012d96d600057af688000a015725..."} 
[2026-08-25 19:14:56] local.INFO: Packet analysis {"connection_id":162181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:14:56] local.INFO: Extracted packet for processing {"connection_id":162181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:14:56] local.INFO: GPS Element Parsed {"raw_longitude":764859904,"raw_latitude":91944584,"longitude_deg":76.4859904,"latitude_deg":9.1944584,"altitude":10,"angle":343,"satellites":37,"speed":21,"hex_longitude":"2d96d600","hex_latitude":"057af688","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642354688001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124072452606132224,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7574632337236568064,"note":"Value kept but may cause issues"} 
[2026-08-25 19:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787665461000,"timestamp_ms":1787665461000,"timestamp_seconds":1787665461,"priority":1,"record_length":96,"hex_timestamp":"000001a0392a2f08"} 
[2026-08-25 19: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-25 19:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-25 19:14:56] 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-25 19: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-25 19: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-25 19:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:14:56] 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-25 19:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642354688001,"66":11917,"12":206,"85":15872,"24":21,"16":124072452606132224,"45":-7574632337236568064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,85,24,16,45]} 
[2026-08-25 19:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642354688001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:14:56] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-25 19:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124072452606132224,"km_value":124072452606132.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7574632337236568064,"description":"Unknown IO ID 45"} 
[2026-08-25 19:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642354688001,"power":11917,"unknown_12":206,"unknown_85":15872,"ignition":21,"odometer":null,"unknown_45":-7574632337236568064}} 
[2026-08-25 19:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":162181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:14:56] local.INFO: GPS data processed {"connection_id":162181,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:14:56] local.INFO: Acknowledgment sent {"connection_id":162181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:15:17] local.INFO: TCP Data received {"connection_id":162180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:15:17] local.INFO: Processing buffer {"connection_id":162180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:15:17] local.INFO: Packet analysis {"connection_id":162180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:15:17] local.INFO: Extracted packet for processing {"connection_id":162180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642282240001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:15:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787665466000,"timestamp_ms":1787665466000,"timestamp_seconds":1787665466,"priority":1,"record_length":96,"hex_timestamp":"000001a0392a4290"} 
[2026-08-25 19: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-25 19:15: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-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:15:17] 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-25 19: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-25 19: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-25 19:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642282240001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642282240001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642282240001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":162180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:15:17] local.INFO: GPS data processed {"connection_id":162180,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:15:17] local.INFO: Acknowledgment sent {"connection_id":162180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:15:44] local.INFO: TCP Data received {"connection_id":162182,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:15:44] local.INFO: Processing buffer {"connection_id":162182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:15:44] local.INFO: IMEI packet received {"connection_id":162182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":162182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:15:49] local.INFO: TCP Data received {"connection_id":162182,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:15:49] local.INFO: Processing buffer {"connection_id":162182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:15:49] local.INFO: IMEI packet received {"connection_id":162182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":162182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:15:50] local.INFO: TCP Data received {"connection_id":162182,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:15:50] local.INFO: Processing buffer {"connection_id":162182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:15:50] local.INFO: Packet analysis {"connection_id":162182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:15:50] local.INFO: Extracted packet for processing {"connection_id":162182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:15:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642282240001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:15:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787665466000,"timestamp_ms":1787665466000,"timestamp_seconds":1787665466,"priority":1,"record_length":96,"hex_timestamp":"000001a0392a4290"} 
[2026-08-25 19: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-25 19:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:15:50] 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-25 19: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-25 19: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-25 19:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:15: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-25 19:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642282240001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642282240001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:15:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642282240001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":162182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:15:50] local.INFO: GPS data processed {"connection_id":162182,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:15:50] local.INFO: Acknowledgment sent {"connection_id":162182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:15:55] local.INFO: TCP Data received {"connection_id":162182,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:15:55] local.INFO: Processing buffer {"connection_id":162182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:15:55] local.INFO: Packet analysis {"connection_id":162182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:15:55] local.INFO: Extracted packet for processing {"connection_id":162182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:15:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642282240001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:15:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787665466000,"timestamp_ms":1787665466000,"timestamp_seconds":1787665466,"priority":1,"record_length":96,"hex_timestamp":"000001a0392a4290"} 
[2026-08-25 19:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:15:55] 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-25 19:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:15:55] 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-25 19:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642282240001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642282240001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:15:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642282240001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":162182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:15:55] local.INFO: GPS data processed {"connection_id":162182,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:15:55] local.INFO: Acknowledgment sent {"connection_id":162182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:16:10] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:10] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:10] local.INFO: IMEI packet received {"connection_id":161931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":161931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:16:12] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:12] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:12] local.INFO: IMEI packet received {"connection_id":161931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":161931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:16:16] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:16] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:16] local.INFO: IMEI packet received {"connection_id":161931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":161931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:16:17] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392b6788012d967240057c5f20000d01542e..."} 
[2026-08-25 19:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392b6788012d967240057c5f20000d01542e..."} 
[2026-08-25 19:16:17] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392b6788012d967240057c5f20000d01542e..."} 
[2026-08-25 19:16:17] local.INFO: Packet analysis {"connection_id":161931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392b"} 
[2026-08-25 19:16:17] local.INFO: Extracted packet for processing {"connection_id":161931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392b"} 
[2026-08-25 19:16:17] local.INFO: GPS Element Parsed {"raw_longitude":764834368,"raw_latitude":92036896,"longitude_deg":76.4834368,"latitude_deg":9.2036896,"altitude":13,"angle":340,"satellites":46,"speed":68,"hex_longitude":"2d967240","hex_latitude":"057c5f20","is_valid_coordinates":true} 
[2026-08-25 19:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642376960001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124077104055713792,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7602287253675005952,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787665541000,"timestamp_ms":1787665541000,"timestamp_seconds":1787665541,"priority":1,"record_length":96,"hex_timestamp":"000001a0392b6788"} 
[2026-08-25 19:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 19:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:16:17] 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-25 19:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642376960001,"66":12287,"14":206,"85":15872,"24":68,"16":124077104055713792,"45":-7602287253675005952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642376960001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:16:17] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:16:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124077104055713792,"km_value":124077104055713.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7602287253675005952,"description":"Unknown IO ID 45"} 
[2026-08-25 19:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642376960001,"power":12287,"unknown_14":206,"unknown_85":15872,"ignition":68,"odometer":null,"unknown_45":-7602287253675005952}} 
[2026-08-25 19:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":161931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:16:17] local.INFO: GPS data processed {"connection_id":161931,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:16:17] local.INFO: Acknowledgment sent {"connection_id":161931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:16:39] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:16:39] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:16:39] local.INFO: IMEI packet received {"connection_id":161932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":161932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:16:42] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:42] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:42] local.INFO: IMEI packet received {"connection_id":161933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":161933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:16:44] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:16:44] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:16:44] local.INFO: IMEI packet received {"connection_id":161932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":161932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:16:46] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:46] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:46] local.INFO: IMEI packet received {"connection_id":161933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":161933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:16:46] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:16:46] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:16:46] local.INFO: Packet analysis {"connection_id":161932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:16:46] local.INFO: Extracted packet for processing {"connection_id":161932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642282240001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787665466000,"timestamp_ms":1787665466000,"timestamp_seconds":1787665466,"priority":1,"record_length":96,"hex_timestamp":"000001a0392a4290"} 
[2026-08-25 19:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:16:46] 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-25 19:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642282240001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642282240001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642282240001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":161932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:16:46] local.INFO: GPS data processed {"connection_id":161932,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:16:46] local.INFO: Acknowledgment sent {"connection_id":161932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:16:49] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:49] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:16:49] local.INFO: IMEI packet received {"connection_id":161933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":161933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:16:51] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392b7ef8012d966440057c8490000c01522d..."} 
[2026-08-25 19:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392b7ef8012d966440057c8490000c01522d..."} 
[2026-08-25 19:16:51] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392b7ef8012d966440057c8490000c01522d..."} 
[2026-08-25 19:16:51] local.INFO: Packet analysis {"connection_id":161933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392b"} 
[2026-08-25 19:16:51] local.INFO: Extracted packet for processing {"connection_id":161933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392b"} 
[2026-08-25 19:16:51] local.INFO: GPS Element Parsed {"raw_longitude":764830784,"raw_latitude":92046480,"longitude_deg":76.4830784,"latitude_deg":9.204648,"altitude":12,"angle":338,"satellites":45,"speed":68,"hex_longitude":"2d966440","hex_latitude":"057c8490","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642378496001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124077597976952832,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7605946428369723392,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787665547000,"timestamp_ms":1787665547000,"timestamp_seconds":1787665547,"priority":1,"record_length":96,"hex_timestamp":"000001a0392b7ef8"} 
[2026-08-25 19: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-25 19:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 19:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:16:51] 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-25 19:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642378496001,"66":12156,"14":206,"85":15872,"24":68,"16":124077597976952832,"45":-7605946428369723392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642378496001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:16:51] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124077597976952832,"km_value":124077597976952.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7605946428369723392,"description":"Unknown IO ID 45"} 
[2026-08-25 19:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642378496001,"power":12156,"unknown_14":206,"unknown_85":15872,"ignition":68,"odometer":null,"unknown_45":-7605946428369723392}} 
[2026-08-25 19:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":161933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:16:51] local.INFO: GPS data processed {"connection_id":161933,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:16:51] local.INFO: Acknowledgment sent {"connection_id":161933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:16:51] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392b9668012d965680057ca9b8000d01532d..."} 
[2026-08-25 19:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392b9668012d965680057ca9b8000d01532d..."} 
[2026-08-25 19:16:51] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392b9668012d965680057ca9b8000d01532d..."} 
[2026-08-25 19:16:51] local.INFO: Packet analysis {"connection_id":161933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392b"} 
[2026-08-25 19:16:51] local.INFO: Extracted packet for processing {"connection_id":161933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392b"} 
[2026-08-25 19:16:51] local.INFO: GPS Element Parsed {"raw_longitude":764827264,"raw_latitude":92055992,"longitude_deg":76.4827264,"latitude_deg":9.2055992,"altitude":13,"angle":339,"satellites":45,"speed":66,"hex_longitude":"2d965680","hex_latitude":"057ca9b8","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642380032001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124078087603224576,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7609887078041219072,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787665553000,"timestamp_ms":1787665553000,"timestamp_seconds":1787665553,"priority":1,"record_length":96,"hex_timestamp":"000001a0392b9668"} 
[2026-08-25 19: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-25 19:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 19:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:16:51] 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-25 19:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642380032001,"66":12069,"14":206,"85":15872,"24":66,"16":124078087603224576,"45":-7609887078041219072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642380032001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:16:51] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124078087603224576,"km_value":124078087603224.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7609887078041219072,"description":"Unknown IO ID 45"} 
[2026-08-25 19:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642380032001,"power":12069,"unknown_14":206,"unknown_85":15872,"ignition":66,"odometer":null,"unknown_45":-7609887078041219072}} 
[2026-08-25 19:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":161933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:16:51] local.INFO: GPS data processed {"connection_id":161933,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:16:51] local.INFO: Acknowledgment sent {"connection_id":161933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:16:55] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392badd8012d9648c0057cce20000d01532d..."} 
[2026-08-25 19:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392badd8012d9648c0057cce20000d01532d..."} 
[2026-08-25 19:16:55] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392badd8012d9648c0057cce20000d01532d..."} 
[2026-08-25 19:16:55] local.INFO: Packet analysis {"connection_id":161933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392b"} 
[2026-08-25 19:16:55] local.INFO: Extracted packet for processing {"connection_id":161933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392b"} 
[2026-08-25 19:16:55] local.INFO: GPS Element Parsed {"raw_longitude":764823744,"raw_latitude":92065312,"longitude_deg":76.4823744,"latitude_deg":9.2065312,"altitude":13,"angle":339,"satellites":45,"speed":65,"hex_longitude":"2d9648c0","hex_latitude":"057cce20","is_valid_coordinates":true} 
[2026-08-25 19:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642381568001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124078568639561728,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7613757358968555520,"note":"Value kept but may cause issues"} 
[2026-08-25 19:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787665559000,"timestamp_ms":1787665559000,"timestamp_seconds":1787665559,"priority":1,"record_length":96,"hex_timestamp":"000001a0392badd8"} 
[2026-08-25 19:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 19:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:16:55] 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-25 19:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642381568001,"66":12113,"14":206,"85":15872,"24":65,"16":124078568639561728,"45":-7613757358968555520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642381568001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:16:55] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:16:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124078568639561728,"km_value":124078568639561.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7613757358968555520,"description":"Unknown IO ID 45"} 
[2026-08-25 19:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642381568001,"power":12113,"unknown_14":206,"unknown_85":15872,"ignition":65,"odometer":null,"unknown_45":-7613757358968555520}} 
[2026-08-25 19:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":161933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:16:55] local.INFO: GPS data processed {"connection_id":161933,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:16:55] local.INFO: Acknowledgment sent {"connection_id":161933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:17:17] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:17:18] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:17:18] local.INFO: Packet analysis {"connection_id":161932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:17:18] local.INFO: Extracted packet for processing {"connection_id":161932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642282240001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:17:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787665466000,"timestamp_ms":1787665466000,"timestamp_seconds":1787665466,"priority":1,"record_length":96,"hex_timestamp":"000001a0392a4290"} 
[2026-08-25 19:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:17:18] 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-25 19:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:17:18] 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-25 19:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:17:18] 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-25 19:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642282240001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642282240001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642282240001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":161932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:17:18] local.INFO: GPS data processed {"connection_id":161932,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:17:18] local.INFO: Acknowledgment sent {"connection_id":161932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:17:26] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392bc548012d963b00057cf318000e01542d..."} 
[2026-08-25 19:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392bc548012d963b00057cf318000e01542d..."} 
[2026-08-25 19:17:26] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392bc548012d963b00057cf318000e01542d..."} 
[2026-08-25 19:17:26] local.INFO: Packet analysis {"connection_id":161933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392b"} 
[2026-08-25 19:17:26] local.INFO: Extracted packet for processing {"connection_id":161933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392b"} 
[2026-08-25 19:17:26] local.INFO: GPS Element Parsed {"raw_longitude":764820224,"raw_latitude":92074776,"longitude_deg":76.4820224,"latitude_deg":9.2074776,"altitude":14,"angle":340,"satellites":45,"speed":66,"hex_longitude":"2d963b00","hex_latitude":"057cf318","is_valid_coordinates":true} 
[2026-08-25 19:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642383104001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124079058265833472,"note":"Value kept but may cause issues"} 
[2026-08-25 19:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7617627639895941120,"note":"Value kept but may cause issues"} 
[2026-08-25 19:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787665565000,"timestamp_ms":1787665565000,"timestamp_seconds":1787665565,"priority":1,"record_length":96,"hex_timestamp":"000001a0392bc548"} 
[2026-08-25 19:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-25 19:17:26] 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-25 19:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:17:26] 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-25 19:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642383104001,"66":12156,"14":206,"85":15872,"24":66,"16":124079058265833472,"45":-7617627639895941120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642383104001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:17:26] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-25 19:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124079058265833472,"km_value":124079058265833.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7617627639895941120,"description":"Unknown IO ID 45"} 
[2026-08-25 19:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642383104001,"power":12156,"unknown_14":206,"unknown_85":15872,"ignition":66,"odometer":null,"unknown_45":-7617627639895941120}} 
[2026-08-25 19:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":161933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:17:26] local.INFO: GPS data processed {"connection_id":161933,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:17:26] local.INFO: Acknowledgment sent {"connection_id":161933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:17:38] local.INFO: TCP Data received {"connection_id":162183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:17:38] local.INFO: Processing buffer {"connection_id":162183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:17:38] local.INFO: IMEI packet received {"connection_id":162183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":162183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:17:39] local.INFO: TCP Data received {"connection_id":164562,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:17:39] local.INFO: Processing buffer {"connection_id":164562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:17:39] local.INFO: IMEI packet received {"connection_id":164562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":164562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:17:40] local.INFO: TCP Data received {"connection_id":162183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:17:40] local.INFO: Processing buffer {"connection_id":162183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:17:40] local.INFO: IMEI packet received {"connection_id":162183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":162183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:17:44] local.INFO: TCP Data received {"connection_id":164562,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:17:44] local.INFO: Processing buffer {"connection_id":164562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:17:44] local.INFO: IMEI packet received {"connection_id":164562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":164562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:17:45] local.INFO: TCP Data received {"connection_id":162183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:17:45] local.INFO: Processing buffer {"connection_id":162183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:17:45] local.INFO: IMEI packet received {"connection_id":162183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":162183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:17:45] local.INFO: TCP Data received {"connection_id":164562,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:17:46] local.INFO: Processing buffer {"connection_id":164562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:17:46] local.INFO: Packet analysis {"connection_id":164562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:17:46] local.INFO: Extracted packet for processing {"connection_id":164562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642282240001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:17:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787665466000,"timestamp_ms":1787665466000,"timestamp_seconds":1787665466,"priority":1,"record_length":96,"hex_timestamp":"000001a0392a4290"} 
[2026-08-25 19:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:17:46] 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-25 19:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:17:46] 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-25 19:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642282240001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642282240001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642282240001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":164562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:17:46] local.INFO: GPS data processed {"connection_id":164562,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:17:46] local.INFO: Acknowledgment sent {"connection_id":164562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:17:46] local.INFO: TCP Data received {"connection_id":162183,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392bdcb8012d962e40057d1868000f01552d..."} 
[2026-08-25 19:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392bdcb8012d962e40057d1868000f01552d..."} 
[2026-08-25 19:17:46] local.INFO: Processing buffer {"connection_id":162183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392bdcb8012d962e40057d1868000f01552d..."} 
[2026-08-25 19:17:46] local.INFO: Packet analysis {"connection_id":162183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392b"} 
[2026-08-25 19:17:46] local.INFO: Extracted packet for processing {"connection_id":162183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392b"} 
[2026-08-25 19:17:46] local.INFO: GPS Element Parsed {"raw_longitude":764816960,"raw_latitude":92084328,"longitude_deg":76.481696,"latitude_deg":9.2084328,"altitude":15,"angle":341,"satellites":45,"speed":66,"hex_longitude":"2d962e40","hex_latitude":"057d1868","is_valid_coordinates":true} 
[2026-08-25 19:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642384640001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124079547892105216,"note":"Value kept but may cause issues"} 
[2026-08-25 19:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7621497920823289856,"note":"Value kept but may cause issues"} 
[2026-08-25 19:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787665571000,"timestamp_ms":1787665571000,"timestamp_seconds":1787665571,"priority":1,"record_length":96,"hex_timestamp":"000001a0392bdcb8"} 
[2026-08-25 19:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 19:17:46] 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-25 19:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:17:46] 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-25 19:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642384640001,"66":11721,"19":206,"85":15360,"24":66,"16":124079547892105216,"45":-7621497920823289856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 19:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642384640001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:17:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 19:17:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124079547892105216,"km_value":124079547892105.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7621497920823289856,"description":"Unknown IO ID 45"} 
[2026-08-25 19:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642384640001,"power":11721,"unknown_19":206,"unknown_85":15360,"ignition":66,"odometer":null,"unknown_45":-7621497920823289856}} 
[2026-08-25 19:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":162183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:17:46] local.INFO: GPS data processed {"connection_id":162183,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:17:46] local.INFO: Acknowledgment sent {"connection_id":162183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:18:17] local.INFO: TCP Data received {"connection_id":162183,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392d53b8012d95a200057eb730000c01622d..."} 
[2026-08-25 19:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392d53b8012d95a200057eb730000c01622d..."} 
[2026-08-25 19:18:17] local.INFO: Processing buffer {"connection_id":162183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392d53b8012d95a200057eb730000c01622d..."} 
[2026-08-25 19:18:17] local.INFO: Packet analysis {"connection_id":162183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392d"} 
[2026-08-25 19:18:17] local.INFO: Extracted packet for processing {"connection_id":162183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392d"} 
[2026-08-25 19:18:17] local.INFO: GPS Element Parsed {"raw_longitude":764781056,"raw_latitude":92190512,"longitude_deg":76.4781056,"latitude_deg":9.2190512,"altitude":12,"angle":354,"satellites":45,"speed":5,"hex_longitude":"2d95a200","hex_latitude":"057eb730","is_valid_coordinates":true} 
[2026-08-25 19:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642408192001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124084981025734656,"note":"Value kept but may cause issues"} 
[2026-08-25 19:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7662734004883087360,"note":"Value kept but may cause issues"} 
[2026-08-25 19:18:17] 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-25 19:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787665667000,"timestamp_ms":1787665667000,"timestamp_seconds":1787665667,"priority":1,"record_length":96,"hex_timestamp":"000001a0392d53b8"} 
[2026-08-25 19:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-25 19:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:18:17] 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-25 19:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642408192001,"66":11058,"236":206,"85":15360,"24":5,"16":124084981025734656,"45":-7662734004883087360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 19:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642408192001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:18:17] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 19:18:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124084981025734656,"km_value":124084981025734.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7662734004883087360,"description":"Unknown IO ID 45"} 
[2026-08-25 19:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642408192001,"power":11058,"unknown_236":206,"unknown_85":15360,"ignition":5,"odometer":null,"unknown_45":-7662734004883087360}} 
[2026-08-25 19:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":162183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:18:18] local.INFO: GPS data processed {"connection_id":162183,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:18:18] local.INFO: Acknowledgment sent {"connection_id":162183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:18:24] local.INFO: TCP Data received {"connection_id":164562,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:18:24] local.INFO: Processing buffer {"connection_id":164562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:18:24] local.INFO: Packet analysis {"connection_id":164562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:18:24] local.INFO: Extracted packet for processing {"connection_id":164562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:18:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642282240001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:18:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787665466000,"timestamp_ms":1787665466000,"timestamp_seconds":1787665466,"priority":1,"record_length":96,"hex_timestamp":"000001a0392a4290"} 
[2026-08-25 19:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:18:24] 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-25 19:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:18:24] 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-25 19:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642282240001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642282240001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642282240001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":164562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:18:24] local.INFO: GPS data processed {"connection_id":164562,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:18:24] local.INFO: Acknowledgment sent {"connection_id":164562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:18:39] local.INFO: TCP Data received {"connection_id":161934,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:18:39] local.INFO: Processing buffer {"connection_id":161934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:18:39] local.INFO: IMEI packet received {"connection_id":161934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":161934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:18:40] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:18:40] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:18:40] local.INFO: IMEI packet received {"connection_id":161935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":161935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:18:44] local.INFO: TCP Data received {"connection_id":161934,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:18:44] local.INFO: Processing buffer {"connection_id":161934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:18:44] local.INFO: IMEI packet received {"connection_id":161934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":161934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:18:45] local.INFO: TCP Data received {"connection_id":161934,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:18:45] local.INFO: Processing buffer {"connection_id":161934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:18:45] local.INFO: Packet analysis {"connection_id":161934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:18:45] local.INFO: Extracted packet for processing {"connection_id":161934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:18: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-25 19:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642282240001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:18:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787665466000,"timestamp_ms":1787665466000,"timestamp_seconds":1787665466,"priority":1,"record_length":96,"hex_timestamp":"000001a0392a4290"} 
[2026-08-25 19:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:18:45] 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-25 19:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:18:45] 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-25 19:18: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-25 19:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642282240001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642282240001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642282240001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":161934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:18:45] local.INFO: GPS data processed {"connection_id":161934,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:18:45] local.INFO: Acknowledgment sent {"connection_id":161934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:18:46] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:18:46] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:18:46] local.INFO: IMEI packet received {"connection_id":161935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":161935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:18:46] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392d7eb0012d95a100057ebae0000c01562c..."} 
[2026-08-25 19:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392d7eb0012d95a100057ebae0000c01562c..."} 
[2026-08-25 19:18:46] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392d7eb0012d95a100057ebae0000c01562c..."} 
[2026-08-25 19:18:46] local.INFO: Packet analysis {"connection_id":161935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392d"} 
[2026-08-25 19:18:46] local.INFO: Extracted packet for processing {"connection_id":161935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392d"} 
[2026-08-25 19:18:46] local.INFO: GPS Element Parsed {"raw_longitude":764780800,"raw_latitude":92191456,"longitude_deg":76.47808,"latitude_deg":9.2191456,"altitude":12,"angle":342,"satellites":44,"speed":12,"hex_longitude":"2d95a100","hex_latitude":"057ebae0","is_valid_coordinates":true} 
[2026-08-25 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642410752001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124085028270374912,"note":"Value kept but may cause issues"} 
[2026-08-25 19:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7664563592230391808,"note":"Value kept but may cause issues"} 
[2026-08-25 19:18:46] 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-25 19:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787665678000,"timestamp_ms":1787665678000,"timestamp_seconds":1787665678,"priority":1,"record_length":96,"hex_timestamp":"000001a0392d7eb0"} 
[2026-08-25 19:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-25 19:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":863,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:18:46] 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-25 19:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642410752001,"66":12374,"236":206,"85":15360,"24":12,"16":124085028270374912,"45":-7664563592230391808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 19:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642410752001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:18:46] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 19:18:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124085028270374912,"km_value":124085028270374.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7664563592230391808,"description":"Unknown IO ID 45"} 
[2026-08-25 19:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642410752001,"power":12374,"unknown_236":206,"unknown_85":15360,"ignition":12,"odometer":null,"unknown_45":-7664563592230391808}} 
[2026-08-25 19:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":161935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:18:46] local.INFO: GPS data processed {"connection_id":161935,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:18:46] local.INFO: Acknowledgment sent {"connection_id":161935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:19:17] local.INFO: TCP Data received {"connection_id":161934,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:19:17] local.INFO: Processing buffer {"connection_id":161934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:19:17] local.INFO: Packet analysis {"connection_id":161934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:19:17] local.INFO: Extracted packet for processing {"connection_id":161934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642282240001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:19:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787665466000,"timestamp_ms":1787665466000,"timestamp_seconds":1787665466,"priority":1,"record_length":96,"hex_timestamp":"000001a0392a4290"} 
[2026-08-25 19: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-25 19:19: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-25 19: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":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:19:17] 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-25 19: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-25 19: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-25 19:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642282240001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642282240001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642282240001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":161934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:19:17] local.INFO: GPS data processed {"connection_id":161934,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:19:17] local.INFO: Acknowledgment sent {"connection_id":161934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:19:18] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392dad90012d959640057eddf0000c01572c..."} 
[2026-08-25 19:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392dad90012d959640057eddf0000c01572c..."} 
[2026-08-25 19:19:18] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392dad90012d959640057eddf0000c01572c..."} 
[2026-08-25 19:19:18] local.INFO: Packet analysis {"connection_id":161935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392d"} 
[2026-08-25 19:19:18] local.INFO: Extracted packet for processing {"connection_id":161935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392d"} 
[2026-08-25 19:19:18] local.INFO: GPS Element Parsed {"raw_longitude":764778048,"raw_latitude":92200432,"longitude_deg":76.4778048,"latitude_deg":9.2200432,"altitude":12,"angle":343,"satellites":44,"speed":41,"hex_longitude":"2d959640","hex_latitude":"057eddf0","is_valid_coordinates":true} 
[2026-08-25 19:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642413568001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124085483536908288,"note":"Value kept but may cause issues"} 
[2026-08-25 19:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7664845067206860800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:19:18] 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-25 19:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787665690000,"timestamp_ms":1787665690000,"timestamp_seconds":1787665690,"priority":1,"record_length":96,"hex_timestamp":"000001a0392dad90"} 
[2026-08-25 19:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 19:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:19:18] 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-25 19:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642413568001,"66":12135,"236":206,"85":15360,"24":41,"16":124085483536908288,"45":-7664845067206860800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 19:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642413568001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:19:18] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 19:19:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124085483536908288,"km_value":124085483536908.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7664845067206860800,"description":"Unknown IO ID 45"} 
[2026-08-25 19:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642413568001,"power":12135,"unknown_236":206,"unknown_85":15360,"ignition":41,"odometer":null,"unknown_45":-7664845067206860800}} 
[2026-08-25 19:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":161935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:19:18] local.INFO: GPS data processed {"connection_id":161935,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:19:18] local.INFO: Acknowledgment sent {"connection_id":161935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:19:39] local.INFO: TCP Data received {"connection_id":162184,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:19:39] local.INFO: Processing buffer {"connection_id":162184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:19:39] local.INFO: IMEI packet received {"connection_id":162184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":162184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:19:41] local.INFO: TCP Data received {"connection_id":163177,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:19:41] local.INFO: Processing buffer {"connection_id":163177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:19:41] local.INFO: IMEI packet received {"connection_id":163177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":163177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:19:44] local.INFO: TCP Data received {"connection_id":162184,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:19:44] local.INFO: Processing buffer {"connection_id":162184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:19:44] local.INFO: IMEI packet received {"connection_id":162184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":162184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:19:45] local.INFO: TCP Data received {"connection_id":162184,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:19:45] local.INFO: Processing buffer {"connection_id":162184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392a4290012d34c14006aa4818000d00e62f..."} 
[2026-08-25 19:19:45] local.INFO: Packet analysis {"connection_id":162184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:19:45] local.INFO: Extracted packet for processing {"connection_id":162184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392a"} 
[2026-08-25 19:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642282240001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:19:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787665466000,"timestamp_ms":1787665466000,"timestamp_seconds":1787665466,"priority":1,"record_length":96,"hex_timestamp":"000001a0392a4290"} 
[2026-08-25 19:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:19:45] 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-25 19:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:19:45] 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-25 19:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642282240001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642282240001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642282240001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":162184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:19:45] local.INFO: GPS data processed {"connection_id":162184,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:19:45] local.INFO: Acknowledgment sent {"connection_id":162184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:19:45] local.INFO: TCP Data received {"connection_id":163177,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:19:46] local.INFO: Processing buffer {"connection_id":163177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:19:46] local.INFO: IMEI packet received {"connection_id":163177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":163177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:19:46] local.INFO: TCP Data received {"connection_id":163177,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392dd0b8012d958b40057f01a8000b01572c..."} 
[2026-08-25 19:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392dd0b8012d958b40057f01a8000b01572c..."} 
[2026-08-25 19:19:46] local.INFO: Processing buffer {"connection_id":163177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392dd0b8012d958b40057f01a8000b01572c..."} 
[2026-08-25 19:19:46] local.INFO: Packet analysis {"connection_id":163177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392d"} 
[2026-08-25 19:19:46] local.INFO: Extracted packet for processing {"connection_id":163177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392d"} 
[2026-08-25 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":764775232,"raw_latitude":92209576,"longitude_deg":76.4775232,"latitude_deg":9.2209576,"altitude":11,"angle":343,"satellites":44,"speed":41,"hex_longitude":"2d958b40","hex_latitude":"057f01a8","is_valid_coordinates":true} 
[2026-08-25 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-25 19:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642416640001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124085947393376256,"note":"Value kept but may cause issues"} 
[2026-08-25 19:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7667870923204202496,"note":"Value kept but may cause issues"} 
[2026-08-25 19:19:46] 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-25 19:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787665699000,"timestamp_ms":1787665699000,"timestamp_seconds":1787665699,"priority":1,"record_length":96,"hex_timestamp":"000001a0392dd0b8"} 
[2026-08-25 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-25 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-25 19:19:46] 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-25 19:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 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-25 19:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:19:46] 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-25 19:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642416640001,"66":11917,"236":206,"85":15360,"24":41,"16":124085947393376256,"45":-7667870923204202496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 19:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642416640001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:19:46] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 19:19:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124085947393376256,"km_value":124085947393376.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7667870923204202496,"description":"Unknown IO ID 45"} 
[2026-08-25 19:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642416640001,"power":11917,"unknown_236":206,"unknown_85":15360,"ignition":41,"odometer":null,"unknown_45":-7667870923204202496}} 
[2026-08-25 19:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":163177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:19:46] local.INFO: GPS data processed {"connection_id":163177,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:19:46] local.INFO: Acknowledgment sent {"connection_id":163177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:20:16] local.INFO: TCP Data received {"connection_id":162184,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:20:16] local.INFO: Processing buffer {"connection_id":162184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:20:16] local.INFO: Packet analysis {"connection_id":162184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:20:16] local.INFO: Extracted packet for processing {"connection_id":162184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642359296001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787665767000,"timestamp_ms":1787665767000,"timestamp_seconds":1787665767,"priority":1,"record_length":96,"hex_timestamp":"000001a0392eda58"} 
[2026-08-25 19: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-25 19:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:20:16] 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-25 19: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-25 19: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-25 19:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642359296001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642359296001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642359296001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":162184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:20:16] local.INFO: GPS data processed {"connection_id":162184,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:20:16] local.INFO: Acknowledgment sent {"connection_id":162184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:20:17] local.INFO: TCP Data received {"connection_id":163177,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392f47b8012d94f5c005807f58000b01552d..."} 
[2026-08-25 19:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392f47b8012d94f5c005807f58000b01552d..."} 
[2026-08-25 19:20:17] local.INFO: Processing buffer {"connection_id":163177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392f47b8012d94f5c005807f58000b01552d..."} 
[2026-08-25 19:20:17] local.INFO: Packet analysis {"connection_id":163177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392f"} 
[2026-08-25 19:20:17] local.INFO: Extracted packet for processing {"connection_id":163177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392f"} 
[2026-08-25 19:20:17] local.INFO: GPS Element Parsed {"raw_longitude":764736960,"raw_latitude":92307288,"longitude_deg":76.473696,"latitude_deg":9.2307288,"altitude":11,"angle":341,"satellites":45,"speed":35,"hex_longitude":"2d94f5c0","hex_latitude":"05807f58","is_valid_coordinates":true} 
[2026-08-25 19:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642440960001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124091045519556608,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7709529219732269056,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787665795000,"timestamp_ms":1787665795000,"timestamp_seconds":1787665795,"priority":1,"record_length":96,"hex_timestamp":"000001a0392f47b8"} 
[2026-08-25 19:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-25 19:20:17] 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-25 19:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:20:17] 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-25 19:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642440960001,"66":12319,"19":206,"85":15360,"24":35,"16":124091045519556608,"45":-7709529219732269056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 19:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642440960001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:20:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 19:20:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124091045519556608,"km_value":124091045519556.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7709529219732269056,"description":"Unknown IO ID 45"} 
[2026-08-25 19:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642440960001,"power":12319,"unknown_19":206,"unknown_85":15360,"ignition":35,"odometer":null,"unknown_45":-7709529219732269056}} 
[2026-08-25 19:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":163177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:20:17] local.INFO: GPS data processed {"connection_id":163177,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:20:17] local.INFO: Acknowledgment sent {"connection_id":163177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:20:34] local.INFO: TCP Data received {"connection_id":164563,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:20:34] local.INFO: Processing buffer {"connection_id":164563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:20:34] local.INFO: IMEI packet received {"connection_id":164563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 19:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":164563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:20:36] local.INFO: TCP Data received {"connection_id":164563,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:20:36] local.INFO: Processing buffer {"connection_id":164563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:20:36] local.INFO: IMEI packet received {"connection_id":164563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 19:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":164563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:20:39] local.INFO: TCP Data received {"connection_id":164563,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:20:39] local.INFO: Processing buffer {"connection_id":164563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:20:39] local.INFO: IMEI packet received {"connection_id":164563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-25 19:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":164563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:20:40] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:20:40] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:20:40] local.INFO: IMEI packet received {"connection_id":161936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":161936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:20:41] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:20:41] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:20:41] local.INFO: IMEI packet received {"connection_id":161936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":161936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:20:44] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:20:44] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:20:44] local.INFO: IMEI packet received {"connection_id":161936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":161936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:20:45] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:20:45] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:20:45] local.INFO: IMEI packet received {"connection_id":161936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":161936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:20:46] local.INFO: TCP Data received {"connection_id":162185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:20:46] local.INFO: Processing buffer {"connection_id":162185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:20:46] local.INFO: IMEI packet received {"connection_id":162185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":162185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:20:46] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392f6ec8012d94e9800580a320000b01552e..."} 
[2026-08-25 19:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392f6ec8012d94e9800580a320000b01552e..."} 
[2026-08-25 19:20:46] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392f6ec8012d94e9800580a320000b01552e..."} 
[2026-08-25 19:20:46] local.INFO: Packet analysis {"connection_id":161936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392f"} 
[2026-08-25 19:20:46] local.INFO: Extracted packet for processing {"connection_id":161936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392f"} 
[2026-08-25 19:20:46] local.INFO: GPS Element Parsed {"raw_longitude":764733824,"raw_latitude":92316448,"longitude_deg":76.4733824,"latitude_deg":9.2316448,"altitude":11,"angle":341,"satellites":46,"speed":35,"hex_longitude":"2d94e980","hex_latitude":"0580a320","is_valid_coordinates":true} 
[2026-08-25 19:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642443520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124091513670991872,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7713047656938907648,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787665805000,"timestamp_ms":1787665805000,"timestamp_seconds":1787665805,"priority":1,"record_length":96,"hex_timestamp":"000001a0392f6ec8"} 
[2026-08-25 19:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 19:20:46] 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-25 19:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:20:46] 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-25 19:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642443520001,"66":12472,"19":206,"85":15360,"24":35,"16":124091513670991872,"45":-7713047656938907648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 19:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642443520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:20:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 19:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124091513670991872,"km_value":124091513670991.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7713047656938907648,"description":"Unknown IO ID 45"} 
[2026-08-25 19:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642443520001,"power":12472,"unknown_19":206,"unknown_85":15360,"ignition":35,"odometer":null,"unknown_45":-7713047656938907648}} 
[2026-08-25 19:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":161936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:20:46] local.INFO: GPS data processed {"connection_id":161936,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:20:46] local.INFO: Acknowledgment sent {"connection_id":161936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:20:47] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392f95d8012d94ddc00580c4e0000a01552e..."} 
[2026-08-25 19:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392f95d8012d94ddc00580c4e0000a01552e..."} 
[2026-08-25 19:20:47] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392f95d8012d94ddc00580c4e0000a01552e..."} 
[2026-08-25 19:20:47] local.INFO: Packet analysis {"connection_id":161936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392f"} 
[2026-08-25 19:20:47] local.INFO: Extracted packet for processing {"connection_id":161936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392f"} 
[2026-08-25 19:20:47] local.INFO: GPS Element Parsed {"raw_longitude":764730816,"raw_latitude":92325088,"longitude_deg":76.4730816,"latitude_deg":9.2325088,"altitude":10,"angle":341,"satellites":46,"speed":35,"hex_longitude":"2d94ddc0","hex_latitude":"0580c4e0","is_valid_coordinates":true} 
[2026-08-25 19:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642446080001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124091956052623360,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7716495725401268224,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787665815000,"timestamp_ms":1787665815000,"timestamp_seconds":1787665815,"priority":1,"record_length":96,"hex_timestamp":"000001a0392f95d8"} 
[2026-08-25 19:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-25 19:20:47] 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-25 19:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:20:47] 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-25 19:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642446080001,"66":12385,"19":206,"85":15360,"24":35,"16":124091956052623360,"45":-7716495725401268224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 19:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642446080001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:20:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 19:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124091956052623360,"km_value":124091956052623.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7716495725401268224,"description":"Unknown IO ID 45"} 
[2026-08-25 19:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642446080001,"power":12385,"unknown_19":206,"unknown_85":15360,"ignition":35,"odometer":null,"unknown_45":-7716495725401268224}} 
[2026-08-25 19:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":161936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:20:47] local.INFO: GPS data processed {"connection_id":161936,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:20:47] local.INFO: Acknowledgment sent {"connection_id":161936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:20:49] local.INFO: TCP Data received {"connection_id":162185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:20:49] local.INFO: Processing buffer {"connection_id":162185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:20:49] local.INFO: IMEI packet received {"connection_id":162185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":162185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:20:50] local.INFO: TCP Data received {"connection_id":162185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:20:50] local.INFO: Processing buffer {"connection_id":162185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:20:50] local.INFO: Packet analysis {"connection_id":162185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:20:50] local.INFO: Extracted packet for processing {"connection_id":162185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:20:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642359296001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787665767000,"timestamp_ms":1787665767000,"timestamp_seconds":1787665767,"priority":1,"record_length":96,"hex_timestamp":"000001a0392eda58"} 
[2026-08-25 19:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:20: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-25 19:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:20: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-25 19:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642359296001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642359296001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:20:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642359296001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":162185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:20:50] local.INFO: GPS data processed {"connection_id":162185,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:20:50] local.INFO: Acknowledgment sent {"connection_id":162185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:20:54] local.INFO: TCP Data received {"connection_id":162185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:20:54] local.INFO: Processing buffer {"connection_id":162185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:20:54] local.INFO: Packet analysis {"connection_id":162185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:20:54] local.INFO: Extracted packet for processing {"connection_id":162185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642359296001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787665767000,"timestamp_ms":1787665767000,"timestamp_seconds":1787665767,"priority":1,"record_length":96,"hex_timestamp":"000001a0392eda58"} 
[2026-08-25 19: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-25 19:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:20:54] 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-25 19: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-25 19: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-25 19:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:20: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-25 19:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642359296001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642359296001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642359296001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":162185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:20:55] local.INFO: GPS data processed {"connection_id":162185,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:20:55] local.INFO: Acknowledgment sent {"connection_id":162185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:21:18] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392fc4b8012d94d0000580e6a0000901522f..."} 
[2026-08-25 19:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392fc4b8012d94d0000580e6a0000901522f..."} 
[2026-08-25 19:21:18] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392fc4b8012d94d0000580e6a0000901522f..."} 
[2026-08-25 19:21:18] local.INFO: Packet analysis {"connection_id":161936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392f"} 
[2026-08-25 19:21:18] local.INFO: Extracted packet for processing {"connection_id":161936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392f"} 
[2026-08-25 19:21:18] local.INFO: GPS Element Parsed {"raw_longitude":764727296,"raw_latitude":92333728,"longitude_deg":76.4727296,"latitude_deg":9.2333728,"altitude":9,"angle":338,"satellites":47,"speed":31,"hex_longitude":"2d94d000","hex_latitude":"0580e6a0","is_valid_coordinates":true} 
[2026-08-25 19:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642448640001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124092407024189440,"note":"Value kept but may cause issues"} 
[2026-08-25 19:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7719803056375406592,"note":"Value kept but may cause issues"} 
[2026-08-25 19:21:18] 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-25 19:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787665827000,"timestamp_ms":1787665827000,"timestamp_seconds":1787665827,"priority":1,"record_length":96,"hex_timestamp":"000001a0392fc4b8"} 
[2026-08-25 19:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 19:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:21:18] 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-25 19:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642448640001,"66":12385,"237":206,"85":15360,"24":31,"16":124092407024189440,"45":-7719803056375406592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-25 19:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642448640001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:21:18] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-25 19:21:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124092407024189440,"km_value":124092407024189.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7719803056375406592,"description":"Unknown IO ID 45"} 
[2026-08-25 19:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642448640001,"power":12385,"unknown_237":206,"unknown_85":15360,"ignition":31,"odometer":null,"unknown_45":-7719803056375406592}} 
[2026-08-25 19:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":161936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:21:18] local.INFO: GPS data processed {"connection_id":161936,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:21:18] local.INFO: Acknowledgment sent {"connection_id":161936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:21:39] local.INFO: TCP Data received {"connection_id":164564,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:21:39] local.INFO: Processing buffer {"connection_id":164564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:21:39] local.INFO: IMEI packet received {"connection_id":164564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":164564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:21:40] local.INFO: TCP Data received {"connection_id":161937,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:21:40] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:21:40] local.INFO: IMEI packet received {"connection_id":161937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":161937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:21:44] local.INFO: TCP Data received {"connection_id":164564,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:21:44] local.INFO: Processing buffer {"connection_id":164564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:21:44] local.INFO: IMEI packet received {"connection_id":164564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":164564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:21:45] local.INFO: TCP Data received {"connection_id":164564,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:21:45] local.INFO: Processing buffer {"connection_id":164564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:21:45] local.INFO: Packet analysis {"connection_id":164564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:21:45] local.INFO: Extracted packet for processing {"connection_id":164564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642359296001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:21:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787665767000,"timestamp_ms":1787665767000,"timestamp_seconds":1787665767,"priority":1,"record_length":96,"hex_timestamp":"000001a0392eda58"} 
[2026-08-25 19:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:21:45] 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-25 19:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642359296001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642359296001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642359296001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":164564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:21:45] local.INFO: GPS data processed {"connection_id":164564,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:21:45] local.INFO: Acknowledgment sent {"connection_id":164564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:21:46] local.INFO: TCP Data received {"connection_id":161937,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:21:46] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:21:46] local.INFO: IMEI packet received {"connection_id":161937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":161937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:21:46] local.INFO: TCP Data received {"connection_id":161937,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0392febc8012d94c7800580fdf0000901622f..."} 
[2026-08-25 19:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392febc8012d94c7800580fdf0000901622f..."} 
[2026-08-25 19:21:46] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392febc8012d94c7800580fdf0000901622f..."} 
[2026-08-25 19:21:46] local.INFO: Packet analysis {"connection_id":161937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392f"} 
[2026-08-25 19:21:46] local.INFO: Extracted packet for processing {"connection_id":161937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392f"} 
[2026-08-25 19:21:46] local.INFO: GPS Element Parsed {"raw_longitude":764725120,"raw_latitude":92339696,"longitude_deg":76.472512,"latitude_deg":9.2339696,"altitude":9,"angle":354,"satellites":47,"speed":18,"hex_longitude":"2d94c780","hex_latitude":"0580fdf0","is_valid_coordinates":true} 
[2026-08-25 19:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642451712001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124092716261834752,"note":"Value kept but may cause issues"} 
[2026-08-25 19:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7723673337302966272,"note":"Value kept but may cause issues"} 
[2026-08-25 19:21:46] 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-25 19:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787665837000,"timestamp_ms":1787665837000,"timestamp_seconds":1787665837,"priority":1,"record_length":96,"hex_timestamp":"000001a0392febc8"} 
[2026-08-25 19:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 19:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:21:46] 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-25 19:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642451712001,"66":12439,"237":206,"85":15360,"24":18,"16":124092716261834752,"45":-7723673337302966272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-25 19:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642451712001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:21:46] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-25 19:21:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124092716261834752,"km_value":124092716261834.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7723673337302966272,"description":"Unknown IO ID 45"} 
[2026-08-25 19:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642451712001,"power":12439,"unknown_237":206,"unknown_85":15360,"ignition":18,"odometer":null,"unknown_45":-7723673337302966272}} 
[2026-08-25 19:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":161937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:21:46] local.INFO: GPS data processed {"connection_id":161937,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:21:46] local.INFO: Acknowledgment sent {"connection_id":161937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:22:17] local.INFO: TCP Data received {"connection_id":164564,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:22:17] local.INFO: Processing buffer {"connection_id":164564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:22:17] local.INFO: Packet analysis {"connection_id":164564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:22:17] local.INFO: Extracted packet for processing {"connection_id":164564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642359296001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787665767000,"timestamp_ms":1787665767000,"timestamp_seconds":1787665767,"priority":1,"record_length":96,"hex_timestamp":"000001a0392eda58"} 
[2026-08-25 19:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:22: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-25 19:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:22:17] 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-25 19:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642359296001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642359296001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642359296001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":164564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:22:17] local.INFO: GPS data processed {"connection_id":164564,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:22:17] local.INFO: Acknowledgment sent {"connection_id":164564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:22:18] local.INFO: TCP Data received {"connection_id":161937,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393137d0012d9483400581b4c0001000012e..."} 
[2026-08-25 19:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393137d0012d9483400581b4c0001000012e..."} 
[2026-08-25 19:22:18] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393137d0012d9483400581b4c0001000012e..."} 
[2026-08-25 19:22:18] local.INFO: Packet analysis {"connection_id":161937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03931"} 
[2026-08-25 19:22:18] local.INFO: Extracted packet for processing {"connection_id":161937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03931"} 
[2026-08-25 19:22:18] local.INFO: GPS Element Parsed {"raw_longitude":764707648,"raw_latitude":92386496,"longitude_deg":76.4707648,"latitude_deg":9.2386496,"altitude":16,"angle":1,"satellites":46,"speed":18,"hex_longitude":"2d948340","hex_latitude":"0581b4c0","is_valid_coordinates":true} 
[2026-08-25 19:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642474240001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124095172983128064,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7745065435520219136,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787665922000,"timestamp_ms":1787665922000,"timestamp_seconds":1787665922,"priority":1,"record_length":96,"hex_timestamp":"000001a0393137d0"} 
[2026-08-25 19: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-25 19:22: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-25 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 19:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:22:18] 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-25 19:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642474240001,"66":12298,"20":206,"85":15360,"24":18,"16":124095172983128064,"45":-7745065435520219136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,85,24,16,45]} 
[2026-08-25 19:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642474240001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:22:18] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-25 19:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124095172983128064,"km_value":124095172983128.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7745065435520219136,"description":"Unknown IO ID 45"} 
[2026-08-25 19:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642474240001,"power":12298,"unknown_20":206,"unknown_85":15360,"ignition":18,"odometer":null,"unknown_45":-7745065435520219136}} 
[2026-08-25 19:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":161937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:22:18] local.INFO: GPS data processed {"connection_id":161937,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:22:18] local.INFO: Acknowledgment sent {"connection_id":161937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:22:40] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:22:40] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:22:40] local.INFO: IMEI packet received {"connection_id":161938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":161938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:22:41] local.INFO: TCP Data received {"connection_id":163178,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:22:41] local.INFO: Processing buffer {"connection_id":163178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:22:41] local.INFO: IMEI packet received {"connection_id":163178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":163178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:22:45] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:22:46] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:22:46] local.INFO: IMEI packet received {"connection_id":161938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":161938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:22:46] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039314388012d9483400581ba780010015e2e..."} 
[2026-08-25 19:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039314388012d9483400581ba780010015e2e..."} 
[2026-08-25 19:22:46] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039314388012d9483400581ba780010015e2e..."} 
[2026-08-25 19:22:46] local.INFO: Packet analysis {"connection_id":161938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03931"} 
[2026-08-25 19:22:46] local.INFO: Extracted packet for processing {"connection_id":161938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03931"} 
[2026-08-25 19:22:46] local.INFO: GPS Element Parsed {"raw_longitude":764707648,"raw_latitude":92387960,"longitude_deg":76.4707648,"latitude_deg":9.238796,"altitude":16,"angle":350,"satellites":46,"speed":21,"hex_longitude":"2d948340","hex_latitude":"0581ba78","is_valid_coordinates":true} 
[2026-08-25 19:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642476032001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124095245997572096,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7745276541752000512,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787665925000,"timestamp_ms":1787665925000,"timestamp_seconds":1787665925,"priority":1,"record_length":96,"hex_timestamp":"000001a039314388"} 
[2026-08-25 19:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4323482030907064832,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186040,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4120891687397332142,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2493612037,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832601,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797638615246,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":12,"raw_value":90673425760124928,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-3386706919782612991,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2045575374,"corrected_to":0} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":165,"raw_value":3221586270,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242681,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3738632192,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2170363904,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":192,"raw_value":396681014795829585,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.WARNING: Large IO value detected {"io_id":39,"raw_value":9570149208817668,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:46] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,20,85,24,241,157,16,223,160,28,45,169,46,10,66,210,128,136,12,42,19,143,1,240,218,227,222,57,129,4,113,205,23,120,165,36,239,47,237,2,184,5,192,39],"length":534,"final_offset":664,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2045575374,"validated":0}]} 
[2026-08-25 19:22:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152922801688150016,"timestamp_seconds":1152922801688150.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 19:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:22:46] 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-25 19:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642476032001,"66":12298,"20":206,"85":15360,"24":21,"16":124095245997572096,"45":-7745276541752000512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,85,24,16,45]} 
[2026-08-25 19:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642476032001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:22:46] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-25 19:22:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124095245997572096,"km_value":124095245997572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7745276541752000512,"description":"Unknown IO ID 45"} 
[2026-08-25 19:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642476032001,"power":12298,"unknown_20":206,"unknown_85":15360,"ignition":21,"odometer":null,"unknown_45":-7745276541752000512}} 
[2026-08-25 19:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":161938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:22:46] local.INFO: GPS data processed {"connection_id":161938,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:22:46] local.INFO: Acknowledgment sent {"connection_id":161938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:22:49] local.INFO: TCP Data received {"connection_id":163178,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:22:49] local.INFO: Processing buffer {"connection_id":163178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:22:49] local.INFO: IMEI packet received {"connection_id":163178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":163178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:22:50] local.INFO: TCP Data received {"connection_id":163178,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:22:50] local.INFO: Processing buffer {"connection_id":163178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:22:50] local.INFO: Packet analysis {"connection_id":163178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:22:50] local.INFO: Extracted packet for processing {"connection_id":163178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:22:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642359296001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787665767000,"timestamp_ms":1787665767000,"timestamp_seconds":1787665767,"priority":1,"record_length":96,"hex_timestamp":"000001a0392eda58"} 
[2026-08-25 19:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:22: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-25 19:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:22: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-25 19:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642359296001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642359296001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642359296001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":163178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:22:50] local.INFO: GPS data processed {"connection_id":163178,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:22:50] local.INFO: Acknowledgment sent {"connection_id":163178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:22:50] local.INFO: TCP Data received {"connection_id":163178,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:22:50] local.INFO: Processing buffer {"connection_id":163178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:22:50] local.INFO: Packet analysis {"connection_id":163178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:22:50] local.INFO: Extracted packet for processing {"connection_id":163178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:22:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642359296001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787665767000,"timestamp_ms":1787665767000,"timestamp_seconds":1787665767,"priority":1,"record_length":96,"hex_timestamp":"000001a0392eda58"} 
[2026-08-25 19:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:22: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-25 19:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:22: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-25 19:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642359296001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642359296001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642359296001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":163178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:22:50] local.INFO: GPS data processed {"connection_id":163178,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:22:50] local.INFO: Acknowledgment sent {"connection_id":163178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:23:18] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039314f40012d9480c00581c1d0000f01502f..."} 
[2026-08-25 19:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039314f40012d9480c00581c1d0000f01502f..."} 
[2026-08-25 19:23:18] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039314f40012d9480c00581c1d0000f01502f..."} 
[2026-08-25 19:23:18] local.INFO: Packet analysis {"connection_id":161938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03931"} 
[2026-08-25 19:23:18] local.INFO: Extracted packet for processing {"connection_id":161938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03931"} 
[2026-08-25 19:23:18] local.INFO: GPS Element Parsed {"raw_longitude":764707008,"raw_latitude":92389840,"longitude_deg":76.4707008,"latitude_deg":9.238984,"altitude":15,"angle":336,"satellites":47,"speed":29,"hex_longitude":"2d9480c0","hex_latitude":"0581c1d0","is_valid_coordinates":true} 
[2026-08-25 19:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642476800001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124095340486852608,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7745276541751625728,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787665928000,"timestamp_ms":1787665928000,"timestamp_seconds":1787665928,"priority":1,"record_length":96,"hex_timestamp":"000001a039314f40"} 
[2026-08-25 19:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:23: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-25 19:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4323482030873510400,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186040,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4120921752168404135,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2493448197,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":64,"raw_value":396700634206437698,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832601,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921357701326,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2170456064,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2081620174,"corrected_to":0} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2147844450,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3739746304,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":12,"raw_value":87296825517670400,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-2954361355555045375,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.WARNING: Large IO value detected {"io_id":35,"raw_value":5910974511579140,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:18] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,20,85,24,241,157,16,223,160,55,45,64,180,46,10,66,28,169,210,128,1,240,5,227,57,129,4,113,205,17,132,161,208,43,239,48,237,2,184,12,222,35],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2081620174,"validated":0}]} 
[2026-08-25 19:23:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153306531246440448,"timestamp_seconds":1153306531246440.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 19:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:23:18] 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-25 19:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642476800001,"66":11874,"20":206,"85":15360,"24":29,"16":124095340486852608,"45":-7745276541751625728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,85,24,16,45]} 
[2026-08-25 19:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642476800001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:23:18] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-25 19:23:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124095340486852608,"km_value":124095340486852.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7745276541751625728,"description":"Unknown IO ID 45"} 
[2026-08-25 19:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642476800001,"power":11874,"unknown_20":206,"unknown_85":15360,"ignition":29,"odometer":null,"unknown_45":-7745276541751625728}} 
[2026-08-25 19:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":161938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:23:18] local.INFO: GPS data processed {"connection_id":161938,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:23:18] local.INFO: Acknowledgment sent {"connection_id":161938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:23:22] local.INFO: TCP Data received {"connection_id":163178,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:23:22] local.INFO: Processing buffer {"connection_id":163178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:23:22] local.INFO: Packet analysis {"connection_id":163178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:23:22] local.INFO: Extracted packet for processing {"connection_id":163178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:23:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642359296001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787665767000,"timestamp_ms":1787665767000,"timestamp_seconds":1787665767,"priority":1,"record_length":96,"hex_timestamp":"000001a0392eda58"} 
[2026-08-25 19: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-25 19:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:23: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-25 19: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-25 19: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-25 19:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642359296001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642359296001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:23:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642359296001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":163178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:23:22] local.INFO: GPS data processed {"connection_id":163178,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:23:22] local.INFO: Acknowledgment sent {"connection_id":163178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:23:39] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:23:39] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:23:39] local.INFO: IMEI packet received {"connection_id":161939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":161939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:23:44] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:23:44] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:23:44] local.INFO: IMEI packet received {"connection_id":161939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":161939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:23:45] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:23:45] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:23:45] local.INFO: IMEI packet received {"connection_id":161940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":161940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:23:45] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:23:45] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:23:45] local.INFO: Packet analysis {"connection_id":161939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:23:45] local.INFO: Extracted packet for processing {"connection_id":161939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642359296001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787665767000,"timestamp_ms":1787665767000,"timestamp_seconds":1787665767,"priority":1,"record_length":96,"hex_timestamp":"000001a0392eda58"} 
[2026-08-25 19:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:23:45] 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-25 19:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642359296001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642359296001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642359296001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":161939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:23:45] local.INFO: GPS data processed {"connection_id":161939,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:23:45] local.INFO: Acknowledgment sent {"connection_id":161939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:23:45] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:23:45] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:23:45] local.INFO: IMEI packet received {"connection_id":161940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":161940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:23:51] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:23:51] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:23:51] local.INFO: IMEI packet received {"connection_id":161940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":161940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:23:51] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039317a38012d9473800581e268000e01522e..."} 
[2026-08-25 19:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039317a38012d9473800581e268000e01522e..."} 
[2026-08-25 19:23:51] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039317a38012d9473800581e268000e01522e..."} 
[2026-08-25 19:23:51] local.INFO: Packet analysis {"connection_id":161940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03931"} 
[2026-08-25 19:23:51] local.INFO: Extracted packet for processing {"connection_id":161940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03931"} 
[2026-08-25 19:23:51] local.INFO: GPS Element Parsed {"raw_longitude":764703616,"raw_latitude":92398184,"longitude_deg":76.4703616,"latitude_deg":9.2398184,"altitude":14,"angle":338,"satellites":46,"speed":35,"hex_longitude":"2d947380","hex_latitude":"0581e268","is_valid_coordinates":true} 
[2026-08-25 19:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642477568001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124095774278549504,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7745980229192921088,"note":"Value kept but may cause issues"} 
[2026-08-25 19:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787665939000,"timestamp_ms":1787665939000,"timestamp_seconds":1787665939,"priority":1,"record_length":96,"hex_timestamp":"000001a039317a38"} 
[2026-08-25 19:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-25 19:23:51] 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-25 19:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:23:51] 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-25 19:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642477568001,"66":12385,"20":206,"85":15360,"24":35,"16":124095774278549504,"45":-7745980229192921088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,85,24,16,45]} 
[2026-08-25 19:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642477568001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:23:51] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-25 19:23:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124095774278549504,"km_value":124095774278549.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7745980229192921088,"description":"Unknown IO ID 45"} 
[2026-08-25 19:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642477568001,"power":12385,"unknown_20":206,"unknown_85":15360,"ignition":35,"odometer":null,"unknown_45":-7745980229192921088}} 
[2026-08-25 19:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":161940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:23:52] local.INFO: GPS data processed {"connection_id":161940,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:23:52] local.INFO: Acknowledgment sent {"connection_id":161940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:24:17] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:24:17] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:24:17] local.INFO: Packet analysis {"connection_id":161939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:24:17] local.INFO: Extracted packet for processing {"connection_id":161939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642359296001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787665767000,"timestamp_ms":1787665767000,"timestamp_seconds":1787665767,"priority":1,"record_length":96,"hex_timestamp":"000001a0392eda58"} 
[2026-08-25 19:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:24: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-25 19:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:24:17] 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-25 19:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642359296001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642359296001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642359296001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":161939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:24:17] local.INFO: GPS data processed {"connection_id":161939,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:24:17] local.INFO: Acknowledgment sent {"connection_id":161939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:24:23] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393304c0012d93f8c005832a60000b015f2d..."} 
[2026-08-25 19:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393304c0012d93f8c005832a60000b015f2d..."} 
[2026-08-25 19:24:23] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393304c0012d93f8c005832a60000b015f2d..."} 
[2026-08-25 19:24:23] local.INFO: Packet analysis {"connection_id":161940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:24:23] local.INFO: Extracted packet for processing {"connection_id":161940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:24:23] local.INFO: GPS Element Parsed {"raw_longitude":764672192,"raw_latitude":92482144,"longitude_deg":76.4672192,"latitude_deg":9.2482144,"altitude":11,"angle":351,"satellites":45,"speed":39,"hex_longitude":"2d93f8c0","hex_latitude":"05832a60","is_valid_coordinates":true} 
[2026-08-25 19:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642503936001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124100137965322240,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7781446076237123584,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787666040000,"timestamp_ms":1787666040000,"timestamp_seconds":1787666040,"priority":1,"record_length":96,"hex_timestamp":"000001a0393304c0"} 
[2026-08-25 19:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 19:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:24:23] 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-25 19:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642503936001,"66":12385,"17":206,"85":15360,"24":39,"16":124100137965322240,"45":-7781446076237123584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 19:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642503936001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:24:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124100137965322240,"km_value":124100137965322.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7781446076237123584,"description":"Unknown IO ID 45"} 
[2026-08-25 19:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642503936001,"power":12385,"axis_x":206,"unknown_85":15360,"ignition":39,"odometer":null,"unknown_45":-7781446076237123584}} 
[2026-08-25 19:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":161940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:24:23] local.INFO: GPS data processed {"connection_id":161940,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:24:23] local.INFO: Acknowledgment sent {"connection_id":161940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:24:39] local.INFO: TCP Data received {"connection_id":164565,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:24:39] local.INFO: Processing buffer {"connection_id":164565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:24:39] local.INFO: IMEI packet received {"connection_id":164565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":164565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:24:41] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:24:41] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:24:41] local.INFO: IMEI packet received {"connection_id":163179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":163179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:24:41] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:24:41] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:24:41] local.INFO: IMEI packet received {"connection_id":163179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":163179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:24:44] local.INFO: TCP Data received {"connection_id":164565,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:24:44] local.INFO: Processing buffer {"connection_id":164565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:24:44] local.INFO: IMEI packet received {"connection_id":164565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":164565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:24:45] local.INFO: TCP Data received {"connection_id":164565,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:24:45] local.INFO: Processing buffer {"connection_id":164565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0392eda58012d34c14006aa4818000c00e62f..."} 
[2026-08-25 19:24:45] local.INFO: Packet analysis {"connection_id":164565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:24:45] local.INFO: Extracted packet for processing {"connection_id":164565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0392e"} 
[2026-08-25 19:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642359296001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787665767000,"timestamp_ms":1787665767000,"timestamp_seconds":1787665767,"priority":1,"record_length":96,"hex_timestamp":"000001a0392eda58"} 
[2026-08-25 19: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-25 19:24:45] 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-25 19: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 19:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:24:45] 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-25 19:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642359296001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642359296001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642359296001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":164565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:24:45] local.INFO: GPS data processed {"connection_id":164565,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:24:45] local.INFO: Acknowledgment sent {"connection_id":164565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:24:46] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:24:46] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:24:46] local.INFO: IMEI packet received {"connection_id":163179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":163179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:24:47] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039332400012d93ef8005834ca8000b01562d..."} 
[2026-08-25 19:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039332400012d93ef8005834ca8000b01562d..."} 
[2026-08-25 19:24:47] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039332400012d93ef8005834ca8000b01562d..."} 
[2026-08-25 19:24:47] local.INFO: Packet analysis {"connection_id":163179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:24:47] local.INFO: Extracted packet for processing {"connection_id":163179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:24:47] local.INFO: GPS Element Parsed {"raw_longitude":764669824,"raw_latitude":92490920,"longitude_deg":76.4669824,"latitude_deg":9.249092,"altitude":11,"angle":342,"satellites":45,"speed":50,"hex_longitude":"2d93ef80","hex_latitude":"05834ca8","is_valid_coordinates":true} 
[2026-08-25 19:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642506240001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124100576051986432,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7784260826001940480,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787666048000,"timestamp_ms":1787666048000,"timestamp_seconds":1787666048,"priority":1,"record_length":96,"hex_timestamp":"000001a039332400"} 
[2026-08-25 19:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 19:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:24:47] 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-25 19:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642506240001,"66":12156,"168":206,"85":15360,"24":50,"16":124100576051986432,"45":-7784260826001940480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 19:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642506240001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:24:47] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 19:24:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124100576051986432,"km_value":124100576051986.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7784260826001940480,"description":"Unknown IO ID 45"} 
[2026-08-25 19:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642506240001,"power":12156,"unknown_168":206,"unknown_85":15360,"ignition":50,"odometer":null,"unknown_45":-7784260826001940480}} 
[2026-08-25 19:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":163179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:24:47] local.INFO: GPS data processed {"connection_id":163179,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:24:47] local.INFO: Acknowledgment sent {"connection_id":163179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:24:48] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039333f58012d93e34005837108000c01542e..."} 
[2026-08-25 19:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039333f58012d93e34005837108000c01542e..."} 
[2026-08-25 19:24:48] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039333f58012d93e34005837108000c01542e..."} 
[2026-08-25 19:24:48] local.INFO: Packet analysis {"connection_id":163179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:24:48] local.INFO: Extracted packet for processing {"connection_id":163179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:24:48] local.INFO: GPS Element Parsed {"raw_longitude":764666688,"raw_latitude":92500232,"longitude_deg":76.4666688,"latitude_deg":9.2500232,"altitude":12,"angle":340,"satellites":46,"speed":60,"hex_longitude":"2d93e340","hex_latitude":"05837108","is_valid_coordinates":true} 
[2026-08-25 19:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642508288001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124101052793356288,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7786864469534267392,"note":"Value kept but may cause issues"} 
[2026-08-25 19:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787666055000,"timestamp_ms":1787666055000,"timestamp_seconds":1787666055,"priority":1,"record_length":96,"hex_timestamp":"000001a039333f58"} 
[2026-08-25 19:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:24: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-25 19:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 19:24:48] 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-25 19:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:24:48] 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-25 19:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642508288001,"66":12298,"168":206,"85":15360,"24":60,"16":124101052793356288,"45":-7786864469534267392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 19:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642508288001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:24:48] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 19:24:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124101052793356288,"km_value":124101052793356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7786864469534267392,"description":"Unknown IO ID 45"} 
[2026-08-25 19:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642508288001,"power":12298,"unknown_168":206,"unknown_85":15360,"ignition":60,"odometer":null,"unknown_45":-7786864469534267392}} 
[2026-08-25 19:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":163179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:24:49] local.INFO: GPS data processed {"connection_id":163179,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:24:49] local.INFO: Acknowledgment sent {"connection_id":163179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:25:16] local.INFO: TCP Data received {"connection_id":164565,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:25:16] local.INFO: Processing buffer {"connection_id":164565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:25:16] local.INFO: Packet analysis {"connection_id":164565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:25:16] local.INFO: Extracted packet for processing {"connection_id":164565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642436352001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787666068000,"timestamp_ms":1787666068000,"timestamp_seconds":1787666068,"priority":1,"record_length":96,"hex_timestamp":"000001a039337220"} 
[2026-08-25 19:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 19:25:16] 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-25 19:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642436352001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642436352001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642436352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":164565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:25:16] local.INFO: GPS data processed {"connection_id":164565,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:25:16] local.INFO: Acknowledgment sent {"connection_id":164565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:25:21] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393356c8012d93d64005839488000c01542e..."} 
[2026-08-25 19:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393356c8012d93d64005839488000c01542e..."} 
[2026-08-25 19:25:21] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393356c8012d93d64005839488000c01542e..."} 
[2026-08-25 19:25:21] local.INFO: Packet analysis {"connection_id":163179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:25:21] local.INFO: Extracted packet for processing {"connection_id":163179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:25:21] local.INFO: GPS Element Parsed {"raw_longitude":764663360,"raw_latitude":92509320,"longitude_deg":76.466336,"latitude_deg":9.250932,"altitude":12,"angle":340,"satellites":46,"speed":65,"hex_longitude":"2d93d640","hex_latitude":"05839488","is_valid_coordinates":true} 
[2026-08-25 19:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642510080001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124101520944791552,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7790312537996589056,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787666061000,"timestamp_ms":1787666061000,"timestamp_seconds":1787666061,"priority":1,"record_length":96,"hex_timestamp":"000001a0393356c8"} 
[2026-08-25 19:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4323482031276163584,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186040,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4121458623080404015,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2483847173,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":128,"raw_value":397015609928057174,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":11,"raw_value":95748771803037696,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469111259342,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3858235402,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2081489102,"corrected_to":0} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":46,"raw_value":10696049115660292,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3221586626,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3811573760,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2191540224,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.WARNING: Large IO value detected {"io_id":226,"raw_value":-3963167672086036479,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:21] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,168,85,24,241,157,16,229,160,36,45,128,76,11,10,66,228,4,192,42,17,225,1,240,124,227,57,130,113,205,46,159,23,8,40,239,48,2,184,5,226],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2081489102,"validated":0}]} 
[2026-08-25 19:25:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865065159981006848,"timestamp_seconds":865065159981006.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 19:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:25:21] 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-25 19:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642510080001,"66":12211,"168":206,"85":15360,"24":65,"16":124101520944791552,"45":-7790312537996589056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 19:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642510080001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:25:21] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 19:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124101520944791552,"km_value":124101520944791.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7790312537996589056,"description":"Unknown IO ID 45"} 
[2026-08-25 19:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642510080001,"power":12211,"unknown_168":206,"unknown_85":15360,"ignition":65,"odometer":null,"unknown_45":-7790312537996589056}} 
[2026-08-25 19:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":163179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:25:21] local.INFO: GPS data processed {"connection_id":163179,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:25:21] local.INFO: Acknowledgment sent {"connection_id":163179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:25:38] local.INFO: TCP Data received {"connection_id":164566,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:25:38] local.INFO: Processing buffer {"connection_id":164566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:25:38] local.INFO: IMEI packet received {"connection_id":164566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":164566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:25:39] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:25:39] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:25:39] local.INFO: IMEI packet received {"connection_id":161941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":161941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:25:41] local.INFO: TCP Data received {"connection_id":164566,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:25:41] local.INFO: Processing buffer {"connection_id":164566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:25:41] local.INFO: IMEI packet received {"connection_id":164566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":164566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:25:41] local.INFO: TCP Data received {"connection_id":164566,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:25:41] local.INFO: Processing buffer {"connection_id":164566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:25:41] local.INFO: IMEI packet received {"connection_id":164566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":164566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:25:44] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:25:44] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:25:44] local.INFO: IMEI packet received {"connection_id":161941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":161941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:25:45] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:25:45] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:25:45] local.INFO: Packet analysis {"connection_id":161941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:25:45] local.INFO: Extracted packet for processing {"connection_id":161941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642436352001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666068000,"timestamp_ms":1787666068000,"timestamp_seconds":1787666068,"priority":1,"record_length":96,"hex_timestamp":"000001a039337220"} 
[2026-08-25 19:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:25:45] 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-25 19:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 19:25:45] 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-25 19:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:25:45] 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-25 19:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642436352001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642436352001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:25:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642436352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":161941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:25:45] local.INFO: GPS data processed {"connection_id":161941,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:25:45] local.INFO: Acknowledgment sent {"connection_id":161941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:25:45] local.INFO: TCP Data received {"connection_id":164566,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:25:45] local.INFO: Processing buffer {"connection_id":164566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:25:45] local.INFO: IMEI packet received {"connection_id":164566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":164566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:25:46] local.INFO: TCP Data received {"connection_id":164566,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039336e38012d93c9400583b910000b01542e..."} 
[2026-08-25 19:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039336e38012d93c9400583b910000b01542e..."} 
[2026-08-25 19:25:46] local.INFO: Processing buffer {"connection_id":164566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039336e38012d93c9400583b910000b01542e..."} 
[2026-08-25 19:25:46] local.INFO: Packet analysis {"connection_id":164566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:25:46] local.INFO: Extracted packet for processing {"connection_id":164566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:25:46] local.INFO: GPS Element Parsed {"raw_longitude":764660032,"raw_latitude":92518672,"longitude_deg":76.4660032,"latitude_deg":9.2518672,"altitude":11,"angle":340,"satellites":46,"speed":66,"hex_longitude":"2d93c940","hex_latitude":"0583b910","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642511616001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124102001981128704,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7793971712691501056,"note":"Value kept but may cause issues"} 
[2026-08-25 19:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787666067000,"timestamp_ms":1787666067000,"timestamp_seconds":1787666067,"priority":1,"record_length":96,"hex_timestamp":"000001a039336e38"} 
[2026-08-25 19: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-25 19:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 19:25:46] 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-25 19: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-25 19: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-25 19:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:25:46] 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-25 19:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642511616001,"66":12200,"168":206,"85":15360,"24":66,"16":124102001981128704,"45":-7793971712691501056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 19:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642511616001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:25:46] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 19:25:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124102001981128704,"km_value":124102001981128.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7793971712691501056,"description":"Unknown IO ID 45"} 
[2026-08-25 19:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642511616001,"power":12200,"unknown_168":206,"unknown_85":15360,"ignition":66,"odometer":null,"unknown_45":-7793971712691501056}} 
[2026-08-25 19:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":164566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:25:46] local.INFO: GPS data processed {"connection_id":164566,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:25:46] local.INFO: Acknowledgment sent {"connection_id":164566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:25:57] local.INFO: TCP Data received {"connection_id":162186,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:25:57] local.INFO: Processing buffer {"connection_id":162186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:25:57] local.INFO: IMEI packet received {"connection_id":162186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 19:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":162186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:26:16] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:26:16] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:26:16] local.INFO: Packet analysis {"connection_id":161941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:26:16] local.INFO: Extracted packet for processing {"connection_id":161941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642436352001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:26:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787666068000,"timestamp_ms":1787666068000,"timestamp_seconds":1787666068,"priority":1,"record_length":96,"hex_timestamp":"000001a039337220"} 
[2026-08-25 19:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 19:26:16] 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-25 19:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642436352001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642436352001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642436352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":161941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:26:16] local.INFO: GPS data processed {"connection_id":161941,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:26:16] local.INFO: Acknowledgment sent {"connection_id":161941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:26:17] local.INFO: TCP Data received {"connection_id":164566,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03934f8c0012d935cc00584da28000d00022c..."} 
[2026-08-25 19:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03934f8c0012d935cc00584da28000d00022c..."} 
[2026-08-25 19:26:17] local.INFO: Processing buffer {"connection_id":164566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03934f8c0012d935cc00584da28000d00022c..."} 
[2026-08-25 19:26:17] local.INFO: Packet analysis {"connection_id":164566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03934"} 
[2026-08-25 19:26:17] local.INFO: Extracted packet for processing {"connection_id":164566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03934"} 
[2026-08-25 19:26:17] local.INFO: GPS Element Parsed {"raw_longitude":764632256,"raw_latitude":92592680,"longitude_deg":76.4632256,"latitude_deg":9.259268,"altitude":13,"angle":2,"satellites":44,"speed":15,"hex_longitude":"2d935cc0","hex_latitude":"0584da28","is_valid_coordinates":true} 
[2026-08-25 19:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642537728001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124105858861760512,"note":"Value kept but may cause issues"} 
[2026-08-25 19:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7827678341131794432,"note":"Value kept but may cause issues"} 
[2026-08-25 19:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787666168000,"timestamp_ms":1787666168000,"timestamp_seconds":1787666168,"priority":1,"record_length":96,"hex_timestamp":"000001a03934f8c0"} 
[2026-08-25 19:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 19:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:26:17] 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-25 19:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642537728001,"66":12200,"169":206,"85":15360,"24":15,"16":124105858861760512,"45":-7827678341131794432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 19:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642537728001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:26:17] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 19:26:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124105858861760512,"km_value":124105858861760.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7827678341131794432,"description":"Unknown IO ID 45"} 
[2026-08-25 19:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642537728001,"power":12200,"unknown_169":206,"unknown_85":15360,"ignition":15,"odometer":null,"unknown_45":-7827678341131794432}} 
[2026-08-25 19:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":164566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:26:17] local.INFO: GPS data processed {"connection_id":164566,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:26:17] local.INFO: Acknowledgment sent {"connection_id":164566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:26:39] local.INFO: TCP Data received {"connection_id":164567,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:26:39] local.INFO: Processing buffer {"connection_id":164567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:26:39] local.INFO: IMEI packet received {"connection_id":164567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":164567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:26:41] local.INFO: TCP Data received {"connection_id":162187,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:26:41] local.INFO: Processing buffer {"connection_id":162187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:26:41] local.INFO: IMEI packet received {"connection_id":162187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":162187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:26:44] local.INFO: TCP Data received {"connection_id":162187,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:26:44] local.INFO: Processing buffer {"connection_id":162187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:26:44] local.INFO: IMEI packet received {"connection_id":162187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":162187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:26:44] local.INFO: TCP Data received {"connection_id":164567,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:26:44] local.INFO: Processing buffer {"connection_id":164567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:26:44] local.INFO: IMEI packet received {"connection_id":164567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":164567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:26:45] local.INFO: TCP Data received {"connection_id":162187,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03934fca8012d935d000584dbc0000d000f2c..."} 
[2026-08-25 19:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03934fca8012d935d000584dbc0000d000f2c..."} 
[2026-08-25 19:26:45] local.INFO: Processing buffer {"connection_id":162187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03934fca8012d935d000584dbc0000d000f2c..."} 
[2026-08-25 19:26:45] local.INFO: Packet analysis {"connection_id":162187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03934"} 
[2026-08-25 19:26:45] local.INFO: Extracted packet for processing {"connection_id":162187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03934"} 
[2026-08-25 19:26:45] local.INFO: GPS Element Parsed {"raw_longitude":764632320,"raw_latitude":92593088,"longitude_deg":76.463232,"latitude_deg":9.2593088,"altitude":13,"angle":15,"satellites":44,"speed":15,"hex_longitude":"2d935d00","hex_latitude":"0584dbc0","is_valid_coordinates":true} 
[2026-08-25 19:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642539008001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124105880336596992,"note":"Value kept but may cause issues"} 
[2026-08-25 19:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7828170922340505600,"note":"Value kept but may cause issues"} 
[2026-08-25 19:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666169000,"timestamp_ms":1787666169000,"timestamp_seconds":1787666169,"priority":1,"record_length":96,"hex_timestamp":"000001a03934fca8"} 
[2026-08-25 19:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-25 19:26:45] 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-25 19:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:26:45] 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-25 19:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642539008001,"66":12135,"169":206,"85":15360,"24":15,"16":124105880336596992,"45":-7828170922340505600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 19:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642539008001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:26:45] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 19:26:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124105880336596992,"km_value":124105880336596.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7828170922340505600,"description":"Unknown IO ID 45"} 
[2026-08-25 19:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642539008001,"power":12135,"unknown_169":206,"unknown_85":15360,"ignition":15,"odometer":null,"unknown_45":-7828170922340505600}} 
[2026-08-25 19:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":162187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:26:45] local.INFO: GPS data processed {"connection_id":162187,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:26:45] local.INFO: Acknowledgment sent {"connection_id":162187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:26:45] local.INFO: TCP Data received {"connection_id":164567,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:26:45] local.INFO: Processing buffer {"connection_id":164567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:26:45] local.INFO: Packet analysis {"connection_id":164567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:26:45] local.INFO: Extracted packet for processing {"connection_id":164567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642436352001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:26:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666068000,"timestamp_ms":1787666068000,"timestamp_seconds":1787666068,"priority":1,"record_length":96,"hex_timestamp":"000001a039337220"} 
[2026-08-25 19:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:26:45] 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-25 19:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 19:26:45] 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-25 19:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:26:45] 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-25 19:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642436352001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642436352001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642436352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":164567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:26:45] local.INFO: GPS data processed {"connection_id":164567,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:26:45] local.INFO: Acknowledgment sent {"connection_id":164567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:27:16] local.INFO: TCP Data received {"connection_id":162187,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039350478012d935e400584de68000e00232b..."} 
[2026-08-25 19:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039350478012d935e400584de68000e00232b..."} 
[2026-08-25 19:27:16] local.INFO: Processing buffer {"connection_id":162187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039350478012d935e400584de68000e00232b..."} 
[2026-08-25 19:27:16] local.INFO: Packet analysis {"connection_id":162187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03935"} 
[2026-08-25 19:27:16] local.INFO: Extracted packet for processing {"connection_id":162187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03935"} 
[2026-08-25 19:27:16] local.INFO: GPS Element Parsed {"raw_longitude":764632640,"raw_latitude":92593768,"longitude_deg":76.463264,"latitude_deg":9.2593768,"altitude":14,"angle":35,"satellites":43,"speed":13,"hex_longitude":"2d935e40","hex_latitude":"0584de68","is_valid_coordinates":true} 
[2026-08-25 19:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642539264001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124105914696335360,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7828100553596223488,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787666171000,"timestamp_ms":1787666171000,"timestamp_seconds":1787666171,"priority":1,"record_length":96,"hex_timestamp":"000001a039350478"} 
[2026-08-25 19:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-25 19:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:27:16] 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-25 19:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642539264001,"66":11906,"169":206,"85":15360,"24":13,"16":124105914696335360,"45":-7828100553596223488},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 19:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642539264001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:27:16] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 19:27:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124105914696335360,"km_value":124105914696335.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7828100553596223488,"description":"Unknown IO ID 45"} 
[2026-08-25 19:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642539264001,"power":11906,"unknown_169":206,"unknown_85":15360,"ignition":13,"odometer":null,"unknown_45":-7828100553596223488}} 
[2026-08-25 19:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":162187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:27:16] local.INFO: GPS data processed {"connection_id":162187,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:27:16] local.INFO: Acknowledgment sent {"connection_id":162187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:27:17] local.INFO: TCP Data received {"connection_id":164567,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:27:17] local.INFO: Processing buffer {"connection_id":164567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:27:17] local.INFO: Packet analysis {"connection_id":164567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:27:17] local.INFO: Extracted packet for processing {"connection_id":164567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642436352001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787666068000,"timestamp_ms":1787666068000,"timestamp_seconds":1787666068,"priority":1,"record_length":96,"hex_timestamp":"000001a039337220"} 
[2026-08-25 19:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:27: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-25 19:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 19:27:17] 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-25 19:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642436352001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642436352001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642436352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":164567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:27:17] local.INFO: GPS data processed {"connection_id":164567,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:27:17] local.INFO: Acknowledgment sent {"connection_id":164567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:27:41] local.INFO: TCP Data received {"connection_id":163180,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:27:41] local.INFO: Processing buffer {"connection_id":163180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:27:41] local.INFO: IMEI packet received {"connection_id":163180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":163180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:27:42] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:27:42] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:27:42] local.INFO: IMEI packet received {"connection_id":161942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":161942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:27:44] local.INFO: TCP Data received {"connection_id":163180,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:27:44] local.INFO: Processing buffer {"connection_id":163180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:27:44] local.INFO: IMEI packet received {"connection_id":163180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":163180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:27:46] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:27:46] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:27:46] local.INFO: IMEI packet received {"connection_id":161942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":161942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:27:46] local.INFO: TCP Data received {"connection_id":163180,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:27:46] local.INFO: Processing buffer {"connection_id":163180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:27:46] local.INFO: IMEI packet received {"connection_id":163180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":163180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:27:47] local.INFO: TCP Data received {"connection_id":163180,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393619d0012d93260005858cd8000901542d..."} 
[2026-08-25 19:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393619d0012d93260005858cd8000901542d..."} 
[2026-08-25 19:27:47] local.INFO: Processing buffer {"connection_id":163180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393619d0012d93260005858cd8000901542d..."} 
[2026-08-25 19:27:47] local.INFO: Packet analysis {"connection_id":163180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03936"} 
[2026-08-25 19:27:47] local.INFO: Extracted packet for processing {"connection_id":163180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03936"} 
[2026-08-25 19:27:47] local.INFO: GPS Element Parsed {"raw_longitude":764618240,"raw_latitude":92638424,"longitude_deg":76.461824,"latitude_deg":9.2638424,"altitude":9,"angle":340,"satellites":45,"speed":51,"hex_longitude":"2d932600","hex_latitude":"05858cd8","is_valid_coordinates":true} 
[2026-08-25 19:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642555904001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124108242568609792,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7839922502608807936,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787666242000,"timestamp_ms":1787666242000,"timestamp_seconds":1787666242,"priority":1,"record_length":96,"hex_timestamp":"000001a0393619d0"} 
[2026-08-25 19:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-25 19:27:47] 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-25 19:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:27:47] 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-25 19:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642555904001,"66":12298,"169":206,"85":15360,"24":51,"16":124108242568609792,"45":-7839922502608807936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 19:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642555904001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:27:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 19:27:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124108242568609792,"km_value":124108242568609.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7839922502608807936,"description":"Unknown IO ID 45"} 
[2026-08-25 19:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642555904001,"power":12298,"unknown_169":206,"unknown_85":15360,"ignition":51,"odometer":null,"unknown_45":-7839922502608807936}} 
[2026-08-25 19:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":163180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:27:48] local.INFO: GPS data processed {"connection_id":163180,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:27:48] local.INFO: Acknowledgment sent {"connection_id":163180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:27:48] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:27:48] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:27:48] local.INFO: Packet analysis {"connection_id":161942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:27:48] local.INFO: Extracted packet for processing {"connection_id":161942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642436352001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787666068000,"timestamp_ms":1787666068000,"timestamp_seconds":1787666068,"priority":1,"record_length":96,"hex_timestamp":"000001a039337220"} 
[2026-08-25 19: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-25 19:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 19:27:48] 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-25 19: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-25 19: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-25 19:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642436352001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642436352001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642436352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":161942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:27:48] local.INFO: GPS data processed {"connection_id":161942,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:27:48] local.INFO: Acknowledgment sent {"connection_id":161942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:27:49] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:27:49] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:27:49] local.INFO: Packet analysis {"connection_id":161942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:27:49] local.INFO: Extracted packet for processing {"connection_id":161942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642436352001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787666068000,"timestamp_ms":1787666068000,"timestamp_seconds":1787666068,"priority":1,"record_length":96,"hex_timestamp":"000001a039337220"} 
[2026-08-25 19: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-25 19:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 19:27:49] 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-25 19: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-25 19: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-25 19:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:27: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-25 19:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642436352001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642436352001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642436352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":161942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:27:49] local.INFO: GPS data processed {"connection_id":161942,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:27:49] local.INFO: Acknowledgment sent {"connection_id":161942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:27:49] local.INFO: TCP Data received {"connection_id":163180,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039363528012d9319400585b1f8000901552b..."} 
[2026-08-25 19:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039363528012d9319400585b1f8000901552b..."} 
[2026-08-25 19:27:49] local.INFO: Processing buffer {"connection_id":163180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039363528012d9319400585b1f8000901552b..."} 
[2026-08-25 19:27:49] local.INFO: Packet analysis {"connection_id":163180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03936"} 
[2026-08-25 19:27:49] local.INFO: Extracted packet for processing {"connection_id":163180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03936"} 
[2026-08-25 19:27:49] local.INFO: GPS Element Parsed {"raw_longitude":764614976,"raw_latitude":92647928,"longitude_deg":76.4614976,"latitude_deg":9.2647928,"altitude":9,"angle":341,"satellites":43,"speed":58,"hex_longitude":"2d931940","hex_latitude":"0585b1f8","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642557952001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124108727899914240,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7843581677303703552,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787666249000,"timestamp_ms":1787666249000,"timestamp_seconds":1787666249,"priority":1,"record_length":96,"hex_timestamp":"000001a039363528"} 
[2026-08-25 19: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-25 19:27: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-25 19:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4323482031192277504,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186040,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4122339091376083799,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2470363141,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3342234756022075598,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":192,"raw_value":397736477239017812,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2091450574,"corrected_to":0} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2147560851,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3221587281,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3943432192,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2234449920,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-6701356245527298047,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.WARNING: Large IO value detected {"io_id":43,"raw_value":10133099162238980,"note":"Value kept but may cause issues"} 
[2026-08-25 19:27:49] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,169,85,24,241,157,16,235,160,250,45,105,9,46,10,66,238,192,95,8,231,128,1,240,53,227,57,133,4,113,205,22,211,65,120,39,239,48,2,184,5,234,43],"length":534,"final_offset":664,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2091450574,"validated":0}]} 
[2026-08-25 19:27:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648892373571665920,"timestamp_seconds":648892373571665.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 19: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-25 19:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:27:49] 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-25 19:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642557952001,"66":12341,"169":206,"85":15360,"24":58,"16":124108727899914240,"45":-7843581677303703552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 19:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642557952001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:27:49] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 19:27:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124108727899914240,"km_value":124108727899914.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7843581677303703552,"description":"Unknown IO ID 45"} 
[2026-08-25 19:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642557952001,"power":12341,"unknown_169":206,"unknown_85":15360,"ignition":58,"odometer":null,"unknown_45":-7843581677303703552}} 
[2026-08-25 19:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":163180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:27:50] local.INFO: GPS data processed {"connection_id":163180,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:27:50] local.INFO: Acknowledgment sent {"connection_id":163180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:28:20] local.INFO: TCP Data received {"connection_id":163180,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039365080012d930ec00585d820000a015b2e..."} 
[2026-08-25 19:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039365080012d930ec00585d820000a015b2e..."} 
[2026-08-25 19:28:20] local.INFO: Processing buffer {"connection_id":163180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039365080012d930ec00585d820000a015b2e..."} 
[2026-08-25 19:28:20] local.INFO: Packet analysis {"connection_id":163180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03936"} 
[2026-08-25 19:28:20] local.INFO: Extracted packet for processing {"connection_id":163180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03936"} 
[2026-08-25 19:28:20] local.INFO: GPS Element Parsed {"raw_longitude":764612288,"raw_latitude":92657696,"longitude_deg":76.4612288,"latitude_deg":9.2657696,"altitude":10,"angle":347,"satellites":46,"speed":57,"hex_longitude":"2d930ec0","hex_latitude":"0585d820","is_valid_coordinates":true} 
[2026-08-25 19:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642559744001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124109221821153280,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7847170483254331392,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787666256000,"timestamp_ms":1787666256000,"timestamp_seconds":1787666256,"priority":1,"record_length":96,"hex_timestamp":"000001a039365080"} 
[2026-08-25 19:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:28: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-25 19:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 19:28:20] 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-25 19:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:28:20] 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-25 19:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642559744001,"66":11798,"169":206,"85":15360,"24":57,"16":124109221821153280,"45":-7847170483254331392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 19:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642559744001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:28:20] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 19:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124109221821153280,"km_value":124109221821153.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7847170483254331392,"description":"Unknown IO ID 45"} 
[2026-08-25 19:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642559744001,"power":11798,"unknown_169":206,"unknown_85":15360,"ignition":57,"odometer":null,"unknown_45":-7847170483254331392}} 
[2026-08-25 19:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":163180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:28:20] local.INFO: GPS data processed {"connection_id":163180,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:28:20] local.INFO: Acknowledgment sent {"connection_id":163180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:28:21] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:28:21] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:28:21] local.INFO: Packet analysis {"connection_id":161942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:28:21] local.INFO: Extracted packet for processing {"connection_id":161942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:28:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642436352001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787666068000,"timestamp_ms":1787666068000,"timestamp_seconds":1787666068,"priority":1,"record_length":96,"hex_timestamp":"000001a039337220"} 
[2026-08-25 19: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-25 19:28:21] 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-25 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 19:28:21] 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-25 19: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-25 19: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-25 19:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:28: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-25 19:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642436352001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642436352001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:28:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642436352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":161942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:28:21] local.INFO: GPS data processed {"connection_id":161942,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:28:21] local.INFO: Acknowledgment sent {"connection_id":161942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:28:39] local.INFO: TCP Data received {"connection_id":162189,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:28:39] local.INFO: Processing buffer {"connection_id":162189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:28:39] local.INFO: IMEI packet received {"connection_id":162189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":162189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:28:40] local.INFO: TCP Data received {"connection_id":161943,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:28:40] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:28:40] local.INFO: IMEI packet received {"connection_id":161943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":161943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:28:41] local.INFO: TCP Data received {"connection_id":161943,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:28:41] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:28:41] local.INFO: IMEI packet received {"connection_id":161943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":161943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:28:44] local.INFO: TCP Data received {"connection_id":162189,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:28:44] local.INFO: Processing buffer {"connection_id":162189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:28:44] local.INFO: IMEI packet received {"connection_id":162189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":162189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:28:45] local.INFO: TCP Data received {"connection_id":162189,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:28:45] local.INFO: Processing buffer {"connection_id":162189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:28:45] local.INFO: Packet analysis {"connection_id":162189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:28:45] local.INFO: Extracted packet for processing {"connection_id":162189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642436352001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666068000,"timestamp_ms":1787666068000,"timestamp_seconds":1787666068,"priority":1,"record_length":96,"hex_timestamp":"000001a039337220"} 
[2026-08-25 19: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-25 19:28:45] 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-25 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 19:28:45] 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-25 19: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-25 19: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-25 19:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:28:45] 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-25 19:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642436352001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642436352001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642436352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":162189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:28:45] local.INFO: GPS data processed {"connection_id":162189,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:28:45] local.INFO: Acknowledgment sent {"connection_id":162189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:28:46] local.INFO: TCP Data received {"connection_id":161943,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:28:46] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:28:46] local.INFO: IMEI packet received {"connection_id":161943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":161943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:28:48] local.INFO: TCP Data received {"connection_id":161943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393667f0012d9308800585faf8000b01602d..."} 
[2026-08-25 19:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393667f0012d9308800585faf8000b01602d..."} 
[2026-08-25 19:28:48] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393667f0012d9308800585faf8000b01602d..."} 
[2026-08-25 19:28:48] local.INFO: Packet analysis {"connection_id":161943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03936"} 
[2026-08-25 19:28:48] local.INFO: Extracted packet for processing {"connection_id":161943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03936"} 
[2026-08-25 19:28:48] local.INFO: GPS Element Parsed {"raw_longitude":764610688,"raw_latitude":92666616,"longitude_deg":76.4610688,"latitude_deg":9.2666616,"altitude":11,"angle":352,"satellites":45,"speed":61,"hex_longitude":"2d930880","hex_latitude":"0585faf8","is_valid_coordinates":true} 
[2026-08-25 19:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642561536001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124109659907817472,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7850125970507292672,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787666262000,"timestamp_ms":1787666262000,"timestamp_seconds":1787666262,"priority":1,"record_length":96,"hex_timestamp":"000001a0393667f0"} 
[2026-08-25 19:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-6584261359959228411,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184152858829,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3386706962754841600,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847132912,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2091450574,"corrected_to":0} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2147845467,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":184,"raw_value":-1504483750518456320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141784094907170818,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":65,"raw_value":-4610132058591721471,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2810272555758258688,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":86,"raw_value":57839435530523964,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.WARNING: Large IO value detected {"io_id":38,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-25 19:28:48] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,169,85,24,241,157,16,236,160,53,45,64,177,9,43,10,66,25,140,235,250,1,240,168,227,57,133,4,113,205,31,231,59,32,239,48,2,184,88,206,65,82,86,38],"length":632,"final_offset":762,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2091450574,"validated":0}]} 
[2026-08-25 19:28:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720957668486348800,"timestamp_seconds":720957668486348.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 19:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:28:48] 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-25 19:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642561536001,"66":12298,"169":206,"85":15360,"24":61,"16":124109659907817472,"45":-7850125970507292672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 19:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642561536001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:28:48] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 19:28:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124109659907817472,"km_value":124109659907817.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7850125970507292672,"description":"Unknown IO ID 45"} 
[2026-08-25 19:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642561536001,"power":12298,"unknown_169":206,"unknown_85":15360,"ignition":61,"odometer":null,"unknown_45":-7850125970507292672}} 
[2026-08-25 19:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":161943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:28:48] local.INFO: GPS data processed {"connection_id":161943,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:28:48] local.INFO: Acknowledgment sent {"connection_id":161943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:29:17] local.INFO: TCP Data received {"connection_id":162189,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:29:17] local.INFO: Processing buffer {"connection_id":162189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:29:17] local.INFO: Packet analysis {"connection_id":162189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:29:17] local.INFO: Extracted packet for processing {"connection_id":162189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642436352001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787666068000,"timestamp_ms":1787666068000,"timestamp_seconds":1787666068,"priority":1,"record_length":96,"hex_timestamp":"000001a039337220"} 
[2026-08-25 19:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:29: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-25 19:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 19:29:17] 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-25 19:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642436352001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642436352001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642436352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":162189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:29:17] local.INFO: GPS data processed {"connection_id":162189,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:29:17] local.INFO: Acknowledgment sent {"connection_id":162189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:29:20] local.INFO: TCP Data received {"connection_id":161943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039367f60012d93048005861fb0000b01622d..."} 
[2026-08-25 19:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039367f60012d93048005861fb0000b01622d..."} 
[2026-08-25 19:29:20] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039367f60012d93048005861fb0000b01622d..."} 
[2026-08-25 19:29:20] local.INFO: Packet analysis {"connection_id":161943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03936"} 
[2026-08-25 19:29:20] local.INFO: Extracted packet for processing {"connection_id":161943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03936"} 
[2026-08-25 19:29:20] local.INFO: GPS Element Parsed {"raw_longitude":764609664,"raw_latitude":92676016,"longitude_deg":76.4609664,"latitude_deg":9.2676016,"altitude":11,"angle":354,"satellites":45,"speed":63,"hex_longitude":"2d930480","hex_latitude":"05861fb0","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642563072001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124110119469318144,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7851885189109450752,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787666268000,"timestamp_ms":1787666268000,"timestamp_seconds":1787666268,"priority":1,"record_length":96,"hex_timestamp":"000001a039367f60"} 
[2026-08-25 19: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-25 19:29: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-25 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4323482030990950912,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186040,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4122446465558483774,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2469593093,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":192,"raw_value":397820177561420103,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570145951950,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3242591731706757121,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2091450574,"corrected_to":0} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3623955859,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3221587295,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6192449488289796,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3946643456,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2237341696,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.WARNING: Large IO value detected {"io_id":8,"raw_value":88432621146603520,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:20] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,169,85,24,241,157,16,237,160,80,45,192,216,10,46,66,236,53,64,177,9,43,25,1,240,227,235,57,133,4,113,205,40,238,55,120,239,44,2,184,5,8],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2091450574,"validated":0}]} 
[2026-08-25 19:29:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793020755787710464,"timestamp_seconds":793020755787710.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 19: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-25 19:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:29:20] 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-25 19:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642563072001,"66":11863,"169":206,"85":15360,"24":63,"16":124110119469318144,"45":-7851885189109450752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 19:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642563072001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:29:20] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 19:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-25 19:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124110119469318144,"km_value":124110119469318.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7851885189109450752,"description":"Unknown IO ID 45"} 
[2026-08-25 19:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642563072001,"power":11863,"unknown_169":206,"unknown_85":15360,"ignition":63,"odometer":null,"unknown_45":-7851885189109450752}} 
[2026-08-25 19:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":161943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:29:20] local.INFO: GPS data processed {"connection_id":161943,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:29:20] local.INFO: Acknowledgment sent {"connection_id":161943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:29:39] local.INFO: TCP Data received {"connection_id":162190,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:29:39] local.INFO: Processing buffer {"connection_id":162190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:29:39] local.INFO: IMEI packet received {"connection_id":162190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":162190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:29:40] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:29:40] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:29:40] local.INFO: IMEI packet received {"connection_id":161944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":161944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:29:44] local.INFO: TCP Data received {"connection_id":162190,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:29:44] local.INFO: Processing buffer {"connection_id":162190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:29:44] local.INFO: IMEI packet received {"connection_id":162190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":162190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:29:45] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:29:45] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:29:45] local.INFO: IMEI packet received {"connection_id":161944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":161944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:29:45] local.INFO: TCP Data received {"connection_id":162190,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:29:45] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:29:45] local.INFO: Processing buffer {"connection_id":162190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039337220012d34c14006aa4818000a00e62e..."} 
[2026-08-25 19:29:45] local.INFO: Packet analysis {"connection_id":162190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:29:45] local.INFO: Extracted packet for processing {"connection_id":162190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03933"} 
[2026-08-25 19:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642436352001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666068000,"timestamp_ms":1787666068000,"timestamp_seconds":1787666068,"priority":1,"record_length":96,"hex_timestamp":"000001a039337220"} 
[2026-08-25 19:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:29:45] 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-25 19:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 19:29:45] 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-25 19:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:29:45] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:29:45] local.INFO: IMEI packet received {"connection_id":161944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":161944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642436352001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642436352001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642436352001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":162190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:29:45] local.INFO: GPS data processed {"connection_id":162190,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:29:45] local.INFO: Acknowledgment sent {"connection_id":162190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:29:46] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03937c398012d92cf80058786f8000a00012d..."} 
[2026-08-25 19:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03937c398012d92cf80058786f8000a00012d..."} 
[2026-08-25 19:29:46] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03937c398012d92cf80058786f8000a00012d..."} 
[2026-08-25 19:29:46] local.INFO: Packet analysis {"connection_id":161944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03937"} 
[2026-08-25 19:29:46] local.INFO: Extracted packet for processing {"connection_id":161944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03937"} 
[2026-08-25 19:29:46] local.INFO: GPS Element Parsed {"raw_longitude":764596096,"raw_latitude":92767992,"longitude_deg":76.4596096,"latitude_deg":9.2767992,"altitude":10,"angle":1,"satellites":45,"speed":36,"hex_longitude":"2d92cf80","hex_latitude":"058786f8","is_valid_coordinates":true} 
[2026-08-25 19:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642583040001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124114642069880832,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7867929262758416384,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787666351000,"timestamp_ms":1787666351000,"timestamp_seconds":1787666351,"priority":1,"record_length":96,"hex_timestamp":"000001a03937c398"} 
[2026-08-25 19:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 19:29:46] 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-25 19:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:29:46] 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-25 19:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642583040001,"66":12374,"154":206,"85":14080,"24":36,"16":124114642069880832,"45":-7867929262758416384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-25 19:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642583040001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:29:46] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-25 19:29:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124114642069880832,"km_value":124114642069880.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7867929262758416384,"description":"Unknown IO ID 45"} 
[2026-08-25 19:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642583040001,"power":12374,"unknown_154":206,"unknown_85":14080,"ignition":36,"odometer":null,"unknown_45":-7867929262758416384}} 
[2026-08-25 19:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":161944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:29:46] local.INFO: GPS data processed {"connection_id":161944,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:29:46] local.INFO: Acknowledgment sent {"connection_id":161944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:29:51] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03937f278012d92cf800587ac40000b01662d..."} 
[2026-08-25 19:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03937f278012d92cf800587ac40000b01662d..."} 
[2026-08-25 19:29:51] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03937f278012d92cf800587ac40000b01662d..."} 
[2026-08-25 19:29:51] local.INFO: Packet analysis {"connection_id":161944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03937"} 
[2026-08-25 19:29:51] local.INFO: Extracted packet for processing {"connection_id":161944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03937"} 
[2026-08-25 19:29:51] local.INFO: GPS Element Parsed {"raw_longitude":764596096,"raw_latitude":92777536,"longitude_deg":76.4596096,"latitude_deg":9.2777536,"altitude":11,"angle":358,"satellites":45,"speed":28,"hex_longitude":"2d92cf80","hex_latitude":"0587ac40","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642585856001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124115105926348800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7867929262756005888,"note":"Value kept but may cause issues"} 
[2026-08-25 19:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787666363000,"timestamp_ms":1787666363000,"timestamp_seconds":1787666363,"priority":1,"record_length":96,"hex_timestamp":"000001a03937f278"} 
[2026-08-25 19: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-25 19:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 19:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:29:51] 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-25 19:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642585856001,"66":12232,"127":206,"85":14080,"24":28,"16":124115105926348800,"45":-7867929262756005888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-25 19:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642585856001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:29:51] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-25 19:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124115105926348800,"km_value":124115105926348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7867929262756005888,"description":"Unknown IO ID 45"} 
[2026-08-25 19:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642585856001,"power":12232,"unknown_127":206,"unknown_85":14080,"ignition":28,"odometer":null,"unknown_45":-7867929262756005888}} 
[2026-08-25 19:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":161944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:29:51] local.INFO: GPS data processed {"connection_id":161944,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:29:51] local.INFO: Acknowledgment sent {"connection_id":161944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:30:17] local.INFO: TCP Data received {"connection_id":162190,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:30:17] local.INFO: Processing buffer {"connection_id":162190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:30:17] local.INFO: Packet analysis {"connection_id":162190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:30:17] local.INFO: Extracted packet for processing {"connection_id":162190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642513408001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787666369000,"timestamp_ms":1787666369000,"timestamp_seconds":1787666369,"priority":1,"record_length":96,"hex_timestamp":"000001a0393809e8"} 
[2026-08-25 19:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:30:17] 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-25 19:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642513408001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642513408001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642513408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":162190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:30:17] local.INFO: GPS data processed {"connection_id":162190,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:30:17] local.INFO: Acknowledgment sent {"connection_id":162190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:30:22] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039384098012d92cdc00587c460000a015d2c..."} 
[2026-08-25 19:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039384098012d92cdc00587c460000a015d2c..."} 
[2026-08-25 19:30:22] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039384098012d92cdc00587c460000a015d2c..."} 
[2026-08-25 19:30:22] local.INFO: Packet analysis {"connection_id":161944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:30:22] local.INFO: Extracted packet for processing {"connection_id":161944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:30:22] local.INFO: GPS Element Parsed {"raw_longitude":764595648,"raw_latitude":92783712,"longitude_deg":76.4595648,"latitude_deg":9.2783712,"altitude":10,"angle":349,"satellites":44,"speed":9,"hex_longitude":"2d92cdc0","hex_latitude":"0587c460","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642588928001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124115410869026816,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7867929262753562624,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787666383000,"timestamp_ms":1787666383000,"timestamp_seconds":1787666383,"priority":1,"record_length":96,"hex_timestamp":"000001a039384098"} 
[2026-08-25 19: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-25 19:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 19:30:22] 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-25 19: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-25 19: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-25 19:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:30:22] 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-25 19:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642588928001,"66":12319,"127":206,"85":14080,"24":9,"16":124115410869026816,"45":-7867929262753562624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-25 19:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642588928001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:30:22] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-25 19:30:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124115410869026816,"km_value":124115410869026.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7867929262753562624,"description":"Unknown IO ID 45"} 
[2026-08-25 19:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642588928001,"power":12319,"unknown_127":206,"unknown_85":14080,"ignition":9,"odometer":null,"unknown_45":-7867929262753562624}} 
[2026-08-25 19:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":161944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:30:22] local.INFO: GPS data processed {"connection_id":161944,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:30:22] local.INFO: Acknowledgment sent {"connection_id":161944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:30:39] local.INFO: TCP Data received {"connection_id":163181,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:30:39] local.INFO: Processing buffer {"connection_id":163181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:30:39] local.INFO: IMEI packet received {"connection_id":163181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":163181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:30:44] local.INFO: TCP Data received {"connection_id":163181,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:30:44] local.INFO: Processing buffer {"connection_id":163181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:30:44] local.INFO: IMEI packet received {"connection_id":163181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":163181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:30:45] local.INFO: TCP Data received {"connection_id":163181,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:30:45] local.INFO: Processing buffer {"connection_id":163181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:30:45] local.INFO: Packet analysis {"connection_id":163181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:30:45] local.INFO: Extracted packet for processing {"connection_id":163181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642513408001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666369000,"timestamp_ms":1787666369000,"timestamp_seconds":1787666369,"priority":1,"record_length":96,"hex_timestamp":"000001a0393809e8"} 
[2026-08-25 19:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:30:45] 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-25 19:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642513408001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642513408001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642513408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":163181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:30:45] local.INFO: GPS data processed {"connection_id":163181,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:30:45] local.INFO: Acknowledgment sent {"connection_id":163181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:30:45] local.INFO: TCP Data received {"connection_id":162191,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:30:45] local.INFO: Processing buffer {"connection_id":162191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:30:45] local.INFO: IMEI packet received {"connection_id":162191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":162191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:30:50] local.INFO: TCP Data received {"connection_id":162191,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:30:50] local.INFO: Processing buffer {"connection_id":162191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:30:50] local.INFO: IMEI packet received {"connection_id":162191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":162191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:30:51] local.INFO: TCP Data received {"connection_id":162191,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393892a0012d92cac00587d298000a015f2b..."} 
[2026-08-25 19:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393892a0012d92cac00587d298000a015f2b..."} 
[2026-08-25 19:30:51] local.INFO: Processing buffer {"connection_id":162191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393892a0012d92cac00587d298000a015f2b..."} 
[2026-08-25 19:30:51] local.INFO: Packet analysis {"connection_id":162191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:30:51] local.INFO: Extracted packet for processing {"connection_id":162191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:30:51] local.INFO: GPS Element Parsed {"raw_longitude":764594880,"raw_latitude":92787352,"longitude_deg":76.459488,"latitude_deg":9.2787352,"altitude":10,"angle":351,"satellites":43,"speed":0,"hex_longitude":"2d92cac0","hex_latitude":"0587d298","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642594048001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124115595552620544,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7868421843961225216,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787666404000,"timestamp_ms":1787666404000,"timestamp_seconds":1787666404,"priority":1,"record_length":96,"hex_timestamp":"000001a0393892a0"} 
[2026-08-25 19: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-25 19:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 19:30:51] 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-25 19: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-25 19: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-25 19:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:30:51] 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-25 19:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642594048001,"66":12298,"127":206,"85":14080,"24":0,"16":124115595552620544,"45":-7868421843961225216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-25 19:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642594048001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:30:51] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-25 19:30:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124115595552620544,"km_value":124115595552620.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7868421843961225216,"description":"Unknown IO ID 45"} 
[2026-08-25 19:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642594048001,"power":12298,"unknown_127":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-7868421843961225216}} 
[2026-08-25 19:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":162191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:30:51] local.INFO: GPS data processed {"connection_id":162191,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:30:51] local.INFO: Acknowledgment sent {"connection_id":162191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:30:52] local.INFO: TCP Data received {"connection_id":162191,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03938e4a8012d92c7400587dec0000b01582b..."} 
[2026-08-25 19:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03938e4a8012d92c7400587dec0000b01582b..."} 
[2026-08-25 19:30:52] local.INFO: Processing buffer {"connection_id":162191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03938e4a8012d92c7400587dec0000b01582b..."} 
[2026-08-25 19:30:52] local.INFO: Packet analysis {"connection_id":162191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:30:52] local.INFO: Extracted packet for processing {"connection_id":162191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:30:52] local.INFO: GPS Element Parsed {"raw_longitude":764593984,"raw_latitude":92790464,"longitude_deg":76.4593984,"latitude_deg":9.2790464,"altitude":11,"angle":344,"satellites":43,"speed":8,"hex_longitude":"2d92c740","hex_latitude":"0587dec0","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642599424001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124115754466410496,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7869266268890425344,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787666425000,"timestamp_ms":1787666425000,"timestamp_seconds":1787666425,"priority":1,"record_length":96,"hex_timestamp":"000001a03938e4a8"} 
[2026-08-25 19: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-25 19:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3963194060599984640,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186040,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4122807242811347670,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":64,"raw_value":398314579836862818,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2463072261,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":12384898975924228,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3388115177275261134,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-6124895493223874559,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2140799182,"corrected_to":0} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":97,"raw_value":4026609042,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3221587773,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2533412223,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4039639040,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2268321792,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.WARNING: Large IO value detected {"io_id":9,"raw_value":95749870828126208,"note":"Value kept but may cause issues"} 
[2026-08-25 19:30:52] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,127,85,24,241,157,16,242,160,64,45,192,196,10,44,66,128,172,11,195,1,240,86,227,57,135,4,113,205,32,97,207,104,47,239,48,154,2,184,5,9],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2140799182,"validated":0}]} 
[2026-08-25 19:30:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720962053644222464,"timestamp_seconds":720962053644222.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 19: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-25 19:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:30:52] 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-25 19:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642599424001,"66":12472,"127":206,"85":14080,"24":8,"16":124115754466410496,"45":-7869266268890425344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-25 19:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642599424001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:30:52] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-25 19:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124115754466410496,"km_value":124115754466410.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7869266268890425344,"description":"Unknown IO ID 45"} 
[2026-08-25 19:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642599424001,"power":12472,"unknown_127":206,"unknown_85":14080,"ignition":8,"odometer":null,"unknown_45":-7869266268890425344}} 
[2026-08-25 19:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":162191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:30:52] local.INFO: GPS data processed {"connection_id":162191,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:30:52] local.INFO: Acknowledgment sent {"connection_id":162191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:31:17] local.INFO: TCP Data received {"connection_id":163181,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:31:17] local.INFO: Processing buffer {"connection_id":163181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:31:17] local.INFO: Packet analysis {"connection_id":163181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:31:17] local.INFO: Extracted packet for processing {"connection_id":163181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642513408001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:31:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787666369000,"timestamp_ms":1787666369000,"timestamp_seconds":1787666369,"priority":1,"record_length":96,"hex_timestamp":"000001a0393809e8"} 
[2026-08-25 19:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:31:17] 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-25 19:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642513408001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642513408001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642513408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":163181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:31:17] local.INFO: GPS data processed {"connection_id":163181,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:31:17] local.INFO: Acknowledgment sent {"connection_id":163181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:31:23] local.INFO: TCP Data received {"connection_id":162191,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393907d0012d92c1800587ed30000d01492b..."} 
[2026-08-25 19:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393907d0012d92c1800587ed30000d01492b..."} 
[2026-08-25 19:31:23] local.INFO: Processing buffer {"connection_id":162191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393907d0012d92c1800587ed30000d01492b..."} 
[2026-08-25 19:31:23] local.INFO: Packet analysis {"connection_id":162191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03939"} 
[2026-08-25 19:31:23] local.INFO: Extracted packet for processing {"connection_id":162191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03939"} 
[2026-08-25 19:31:23] local.INFO: GPS Element Parsed {"raw_longitude":764592512,"raw_latitude":92794160,"longitude_deg":76.4592512,"latitude_deg":9.279416,"altitude":13,"angle":329,"satellites":43,"speed":13,"hex_longitude":"2d92c180","hex_latitude":"0587ed30","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642604800001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124115947739938816,"note":"Value kept but may cause issues"} 
[2026-08-25 19:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7870251431308115968,"note":"Value kept but may cause issues"} 
[2026-08-25 19:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787666434000,"timestamp_ms":1787666434000,"timestamp_seconds":1787666434,"priority":1,"record_length":96,"hex_timestamp":"000001a0393907d0"} 
[2026-08-25 19: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-25 19:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-25 19:31:23] 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-25 19: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-25 19: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-25 19:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:31:23] 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-25 19:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642604800001,"66":11895,"127":206,"85":14080,"24":13,"16":124115947739938816,"45":-7870251431308115968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-25 19:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642604800001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:31:23] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-25 19:31:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124115947739938816,"km_value":124115947739938.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7870251431308115968,"description":"Unknown IO ID 45"} 
[2026-08-25 19:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642604800001,"power":11895,"unknown_127":206,"unknown_85":14080,"ignition":13,"odometer":null,"unknown_45":-7870251431308115968}} 
[2026-08-25 19:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":162191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:31:23] local.INFO: GPS data processed {"connection_id":162191,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:31:23] local.INFO: Acknowledgment sent {"connection_id":162191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:31:29] local.INFO: TCP Data received {"connection_id":162188,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:31:29] local.INFO: Processing buffer {"connection_id":162188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:31:29] local.INFO: IMEI packet received {"connection_id":162188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 19:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":162188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:31:39] local.INFO: TCP Data received {"connection_id":161945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:31:39] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:31:39] local.INFO: IMEI packet received {"connection_id":161945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":161945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:31:40] local.INFO: TCP Data received {"connection_id":161946,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:31:40] local.INFO: Processing buffer {"connection_id":161946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:31:40] local.INFO: IMEI packet received {"connection_id":161946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":161946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:31:44] local.INFO: TCP Data received {"connection_id":161945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:31:44] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:31:44] local.INFO: IMEI packet received {"connection_id":161945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":161945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:31:45] local.INFO: TCP Data received {"connection_id":161945,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:31:45] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:31:45] local.INFO: Packet analysis {"connection_id":161945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:31:45] local.INFO: Extracted packet for processing {"connection_id":161945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642513408001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:31:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666369000,"timestamp_ms":1787666369000,"timestamp_seconds":1787666369,"priority":1,"record_length":96,"hex_timestamp":"000001a0393809e8"} 
[2026-08-25 19:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:31:45] 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-25 19:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642513408001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642513408001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642513408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":161945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:31:45] local.INFO: GPS data processed {"connection_id":161945,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:31:45] local.INFO: Acknowledgment sent {"connection_id":161945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:31:45] local.INFO: TCP Data received {"connection_id":161946,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:31:45] local.INFO: Processing buffer {"connection_id":161946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:31:45] local.INFO: IMEI packet received {"connection_id":161946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":161946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:31:47] local.INFO: TCP Data received {"connection_id":161946,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039394650012d92ae8005880a80000c013f29..."} 
[2026-08-25 19:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039394650012d92ae8005880a80000c013f29..."} 
[2026-08-25 19:31:47] local.INFO: Processing buffer {"connection_id":161946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039394650012d92ae8005880a80000c013f29..."} 
[2026-08-25 19:31:47] local.INFO: Packet analysis {"connection_id":161946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03939"} 
[2026-08-25 19:31:47] local.INFO: Extracted packet for processing {"connection_id":161946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03939"} 
[2026-08-25 19:31:47] local.INFO: GPS Element Parsed {"raw_longitude":764587648,"raw_latitude":92801664,"longitude_deg":76.4587648,"latitude_deg":9.2801664,"altitude":12,"angle":319,"satellites":41,"speed":26,"hex_longitude":"2d92ae80","hex_latitude":"05880a80","is_valid_coordinates":true} 
[2026-08-25 19:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642607104001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124116385826603008,"note":"Value kept but may cause issues"} 
[2026-08-25 19:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7871869912423256064,"note":"Value kept but may cause issues"} 
[2026-08-25 19:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787666450000,"timestamp_ms":1787666450000,"timestamp_seconds":1787666450,"priority":1,"record_length":96,"hex_timestamp":"000001a039394650"} 
[2026-08-25 19:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 19:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:31:47] 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-25 19:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642607104001,"66":12211,"127":206,"85":14080,"24":26,"16":124116385826603008,"45":-7871869912423256064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-25 19:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642607104001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:31:47] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-25 19:31:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124116385826603008,"km_value":124116385826603.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7871869912423256064,"description":"Unknown IO ID 45"} 
[2026-08-25 19:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642607104001,"power":12211,"unknown_127":206,"unknown_85":14080,"ignition":26,"odometer":null,"unknown_45":-7871869912423256064}} 
[2026-08-25 19:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":161946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:31:47] local.INFO: GPS data processed {"connection_id":161946,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:31:47] local.INFO: Acknowledgment sent {"connection_id":161946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:32:17] local.INFO: TCP Data received {"connection_id":161945,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:32:17] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:32:17] local.INFO: Packet analysis {"connection_id":161945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:32:17] local.INFO: Extracted packet for processing {"connection_id":161945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642513408001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:32:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787666369000,"timestamp_ms":1787666369000,"timestamp_seconds":1787666369,"priority":1,"record_length":96,"hex_timestamp":"000001a0393809e8"} 
[2026-08-25 19: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-25 19:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:32:17] 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-25 19: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-25 19: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-25 19:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642513408001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642513408001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642513408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":161945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:32:17] local.INFO: GPS data processed {"connection_id":161945,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:32:17] local.INFO: Acknowledgment sent {"connection_id":161945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:32:18] local.INFO: TCP Data received {"connection_id":161946,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039396978012d929ac005881d10000c01332c..."} 
[2026-08-25 19:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039396978012d929ac005881d10000c01332c..."} 
[2026-08-25 19:32:18] local.INFO: Processing buffer {"connection_id":161946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039396978012d929ac005881d10000c01332c..."} 
[2026-08-25 19:32:18] local.INFO: Packet analysis {"connection_id":161946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03939"} 
[2026-08-25 19:32:18] local.INFO: Extracted packet for processing {"connection_id":161946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03939"} 
[2026-08-25 19:32:18] local.INFO: GPS Element Parsed {"raw_longitude":764582592,"raw_latitude":92806416,"longitude_deg":76.4582592,"latitude_deg":9.2806416,"altitude":12,"angle":307,"satellites":44,"speed":28,"hex_longitude":"2d929ac0","hex_latitude":"05881d10","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642611200001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124116716539084800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7877217936978837504,"note":"Value kept but may cause issues"} 
[2026-08-25 19:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787666459000,"timestamp_ms":1787666459000,"timestamp_seconds":1787666459,"priority":1,"record_length":96,"hex_timestamp":"000001a039396978"} 
[2026-08-25 19: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-25 19:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 19:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:32:18] 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-25 19:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642611200001,"66":12156,"127":206,"85":14080,"24":28,"16":124116716539084800,"45":-7877217936978837504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-25 19:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642611200001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:32:18] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-25 19:32:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124116716539084800,"km_value":124116716539084.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7877217936978837504,"description":"Unknown IO ID 45"} 
[2026-08-25 19:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642611200001,"power":12156,"unknown_127":206,"unknown_85":14080,"ignition":28,"odometer":null,"unknown_45":-7877217936978837504}} 
[2026-08-25 19:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":161946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:32:18] local.INFO: GPS data processed {"connection_id":161946,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:32:18] local.INFO: Acknowledgment sent {"connection_id":161946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:32:39] local.INFO: TCP Data received {"connection_id":164568,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:32:39] local.INFO: Processing buffer {"connection_id":164568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:32:39] local.INFO: IMEI packet received {"connection_id":164568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":164568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:32:40] local.INFO: TCP Data received {"connection_id":164569,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:32:40] local.INFO: Processing buffer {"connection_id":164569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:32:40] local.INFO: IMEI packet received {"connection_id":164569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":164569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:32:44] local.INFO: TCP Data received {"connection_id":164568,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:32:44] local.INFO: Processing buffer {"connection_id":164568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:32:44] local.INFO: IMEI packet received {"connection_id":164568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":164568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:32:45] local.INFO: TCP Data received {"connection_id":164568,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:32:45] local.INFO: Processing buffer {"connection_id":164568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:32:45] local.INFO: Packet analysis {"connection_id":164568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:32:45] local.INFO: Extracted packet for processing {"connection_id":164568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642513408001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:32:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666369000,"timestamp_ms":1787666369000,"timestamp_seconds":1787666369,"priority":1,"record_length":96,"hex_timestamp":"000001a0393809e8"} 
[2026-08-25 19:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:32:45] 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-25 19:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642513408001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642513408001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642513408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":164568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:32:45] local.INFO: GPS data processed {"connection_id":164568,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:32:45] local.INFO: Acknowledgment sent {"connection_id":164568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:32:45] local.INFO: TCP Data received {"connection_id":164569,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:32:45] local.INFO: Processing buffer {"connection_id":164569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:32:45] local.INFO: IMEI packet received {"connection_id":164569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":164569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:32:46] local.INFO: TCP Data received {"connection_id":164569,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039399858012d928700058829e8000c01272b..."} 
[2026-08-25 19:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039399858012d928700058829e8000c01272b..."} 
[2026-08-25 19:32:46] local.INFO: Processing buffer {"connection_id":164569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039399858012d928700058829e8000c01272b..."} 
[2026-08-25 19:32:46] local.INFO: Packet analysis {"connection_id":164569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03939"} 
[2026-08-25 19:32:46] local.INFO: Extracted packet for processing {"connection_id":164569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03939"} 
[2026-08-25 19:32:46] local.INFO: GPS Element Parsed {"raw_longitude":764577536,"raw_latitude":92809704,"longitude_deg":76.4577536,"latitude_deg":9.2809704,"altitude":12,"angle":295,"satellites":43,"speed":9,"hex_longitude":"2d928700","hex_latitude":"058829e8","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642613504001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124117008596860928,"note":"Value kept but may cause issues"} 
[2026-08-25 19:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7882777067767656448,"note":"Value kept but may cause issues"} 
[2026-08-25 19:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787666471000,"timestamp_ms":1787666471000,"timestamp_seconds":1787666471,"priority":1,"record_length":96,"hex_timestamp":"000001a039399858"} 
[2026-08-25 19: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-25 19:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 19:32:46] 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-25 19: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-25 19: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-25 19:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:32:46] 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-25 19:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642613504001,"66":12319,"127":206,"85":14080,"24":9,"16":124117008596860928,"45":-7882777067767656448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-25 19:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642613504001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:32:46] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-25 19:32:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124117008596860928,"km_value":124117008596860.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7882777067767656448,"description":"Unknown IO ID 45"} 
[2026-08-25 19:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642613504001,"power":12319,"unknown_127":206,"unknown_85":14080,"ignition":9,"odometer":null,"unknown_45":-7882777067767656448}} 
[2026-08-25 19:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":164569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:32:46] local.INFO: GPS data processed {"connection_id":164569,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:32:46] local.INFO: Acknowledgment sent {"connection_id":164569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:33:16] local.INFO: TCP Data received {"connection_id":164568,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:33:16] local.INFO: Processing buffer {"connection_id":164568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:33:16] local.INFO: Packet analysis {"connection_id":164568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:33:16] local.INFO: Extracted packet for processing {"connection_id":164568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642513408001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:33:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787666369000,"timestamp_ms":1787666369000,"timestamp_seconds":1787666369,"priority":1,"record_length":96,"hex_timestamp":"000001a0393809e8"} 
[2026-08-25 19:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:33: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-25 19:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642513408001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642513408001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642513408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":164568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:33:16] local.INFO: GPS data processed {"connection_id":164568,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:33:16] local.INFO: Acknowledgment sent {"connection_id":164568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:33:19] local.INFO: TCP Data received {"connection_id":164569,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03939cf08012d926e00058833a0000e011c2d..."} 
[2026-08-25 19:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03939cf08012d926e00058833a0000e011c2d..."} 
[2026-08-25 19:33:19] local.INFO: Processing buffer {"connection_id":164569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03939cf08012d926e00058833a0000e011c2d..."} 
[2026-08-25 19:33:19] local.INFO: Packet analysis {"connection_id":164569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03939"} 
[2026-08-25 19:33:19] local.INFO: Extracted packet for processing {"connection_id":164569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03939"} 
[2026-08-25 19:33:19] local.INFO: GPS Element Parsed {"raw_longitude":764571136,"raw_latitude":92812192,"longitude_deg":76.4571136,"latitude_deg":9.2812192,"altitude":14,"angle":284,"satellites":45,"speed":9,"hex_longitude":"2d926e00","hex_latitude":"058833a0","is_valid_coordinates":true} 
[2026-08-25 19:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642616576001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124117339309342720,"note":"Value kept but may cause issues"} 
[2026-08-25 19:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7888336198556850176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787666485000,"timestamp_ms":1787666485000,"timestamp_seconds":1787666485,"priority":1,"record_length":96,"hex_timestamp":"000001a03939cf08"} 
[2026-08-25 19:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 19:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:33:19] 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-25 19:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642616576001,"66":12069,"183":206,"85":14080,"24":9,"16":124117339309342720,"45":-7888336198556850176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-25 19:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642616576001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:33:19] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-25 19:33:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124117339309342720,"km_value":124117339309342.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7888336198556850176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642616576001,"power":12069,"unknown_183":206,"unknown_85":14080,"ignition":9,"odometer":null,"unknown_45":-7888336198556850176}} 
[2026-08-25 19:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":164569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:33:19] local.INFO: GPS data processed {"connection_id":164569,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:33:19] local.INFO: Acknowledgment sent {"connection_id":164569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:33:39] local.INFO: TCP Data received {"connection_id":164571,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:33:39] local.INFO: Processing buffer {"connection_id":164571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:33:39] local.INFO: IMEI packet received {"connection_id":164571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":164571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:33:40] local.INFO: TCP Data received {"connection_id":161947,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:33:40] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:33:40] local.INFO: IMEI packet received {"connection_id":161947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":161947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:33:44] local.INFO: TCP Data received {"connection_id":164571,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:33:44] local.INFO: Processing buffer {"connection_id":164571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:33:44] local.INFO: IMEI packet received {"connection_id":164571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":164571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:33:44] local.INFO: TCP Data received {"connection_id":161947,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:33:44] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:33:44] local.INFO: IMEI packet received {"connection_id":161947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":161947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:33:45] local.INFO: TCP Data received {"connection_id":161947,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393a1d28012d925e0005883828000c011b2e..."} 
[2026-08-25 19:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393a1d28012d925e0005883828000c011b2e..."} 
[2026-08-25 19:33:45] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393a1d28012d925e0005883828000c011b2e..."} 
[2026-08-25 19:33:45] local.INFO: Packet analysis {"connection_id":161947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393a"} 
[2026-08-25 19:33:45] local.INFO: Extracted packet for processing {"connection_id":161947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393a"} 
[2026-08-25 19:33:45] local.INFO: GPS Element Parsed {"raw_longitude":764567040,"raw_latitude":92813352,"longitude_deg":76.456704,"latitude_deg":9.2813352,"altitude":12,"angle":283,"satellites":46,"speed":18,"hex_longitude":"2d925e00","hex_latitude":"05883828","is_valid_coordinates":true} 
[2026-08-25 19:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642620160001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124117541172805632,"note":"Value kept but may cause issues"} 
[2026-08-25 19:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7895373072973979648,"note":"Value kept but may cause issues"} 
[2026-08-25 19:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666505000,"timestamp_ms":1787666505000,"timestamp_seconds":1787666505,"priority":1,"record_length":96,"hex_timestamp":"000001a0393a1d28"} 
[2026-08-25 19:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 19:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:33:45] 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-25 19:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642620160001,"66":12374,"183":206,"85":14080,"24":18,"16":124117541172805632,"45":-7895373072973979648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-25 19:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642620160001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:33:45] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-25 19:33:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124117541172805632,"km_value":124117541172805.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7895373072973979648,"description":"Unknown IO ID 45"} 
[2026-08-25 19:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642620160001,"power":12374,"unknown_183":206,"unknown_85":14080,"ignition":18,"odometer":null,"unknown_45":-7895373072973979648}} 
[2026-08-25 19:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":161947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:33:45] local.INFO: GPS data processed {"connection_id":161947,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:33:45] local.INFO: Acknowledgment sent {"connection_id":161947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:33:45] local.INFO: TCP Data received {"connection_id":164571,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:33:45] local.INFO: Processing buffer {"connection_id":164571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:33:45] local.INFO: Packet analysis {"connection_id":164571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:33:45] local.INFO: Extracted packet for processing {"connection_id":164571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642513408001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:33:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666369000,"timestamp_ms":1787666369000,"timestamp_seconds":1787666369,"priority":1,"record_length":96,"hex_timestamp":"000001a0393809e8"} 
[2026-08-25 19:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:33:45] 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-25 19:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642513408001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642513408001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642513408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":164571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:33:45] local.INFO: GPS data processed {"connection_id":164571,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:33:45] local.INFO: Acknowledgment sent {"connection_id":164571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:34:16] local.INFO: TCP Data received {"connection_id":161947,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393a53d8012d923a0005883ca0000b01172d..."} 
[2026-08-25 19:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393a53d8012d923a0005883ca0000b01172d..."} 
[2026-08-25 19:34:16] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393a53d8012d923a0005883ca0000b01172d..."} 
[2026-08-25 19:34:16] local.INFO: Packet analysis {"connection_id":161947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393a"} 
[2026-08-25 19:34:16] local.INFO: Extracted packet for processing {"connection_id":161947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393a"} 
[2026-08-25 19:34:16] local.INFO: GPS Element Parsed {"raw_longitude":764557824,"raw_latitude":92814496,"longitude_deg":76.4557824,"latitude_deg":9.2814496,"altitude":11,"angle":279,"satellites":45,"speed":34,"hex_longitude":"2d923a00","hex_latitude":"05883ca0","is_valid_coordinates":true} 
[2026-08-25 19:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642625280001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124117987849404416,"note":"Value kept but may cause issues"} 
[2026-08-25 19:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7899876672601053184,"note":"Value kept but may cause issues"} 
[2026-08-25 19:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787666519000,"timestamp_ms":1787666519000,"timestamp_seconds":1787666519,"priority":1,"record_length":96,"hex_timestamp":"000001a0393a53d8"} 
[2026-08-25 19:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 19:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:34:16] 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-25 19:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642625280001,"66":12385,"183":206,"85":14080,"24":34,"16":124117987849404416,"45":-7899876672601053184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-25 19:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642625280001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:34:16] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-25 19:34:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124117987849404416,"km_value":124117987849404.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7899876672601053184,"description":"Unknown IO ID 45"} 
[2026-08-25 19:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642625280001,"power":12385,"unknown_183":206,"unknown_85":14080,"ignition":34,"odometer":null,"unknown_45":-7899876672601053184}} 
[2026-08-25 19:34:16] local.INFO: TCP Data received {"connection_id":164571,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:34:16] local.INFO: Processing buffer {"connection_id":164571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:34:16] local.INFO: Packet analysis {"connection_id":164571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:34:16] local.INFO: Extracted packet for processing {"connection_id":164571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642513408001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:34:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787666369000,"timestamp_ms":1787666369000,"timestamp_seconds":1787666369,"priority":1,"record_length":96,"hex_timestamp":"000001a0393809e8"} 
[2026-08-25 19:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642513408001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642513408001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642513408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":161947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:34:16] local.INFO: GPS data processed {"connection_id":161947,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:34:16] local.INFO: Acknowledgment sent {"connection_id":161947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":164571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:34:16] local.INFO: GPS data processed {"connection_id":164571,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:34:16] local.INFO: Acknowledgment sent {"connection_id":164571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:34:39] local.INFO: TCP Data received {"connection_id":162192,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:34:39] local.INFO: Processing buffer {"connection_id":162192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:34:39] local.INFO: IMEI packet received {"connection_id":162192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":162192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:34:40] local.INFO: TCP Data received {"connection_id":162193,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:34:40] local.INFO: Processing buffer {"connection_id":162193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:34:40] local.INFO: IMEI packet received {"connection_id":162193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":162193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:34:44] local.INFO: TCP Data received {"connection_id":162192,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:34:44] local.INFO: Processing buffer {"connection_id":162192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:34:44] local.INFO: IMEI packet received {"connection_id":162192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":162192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:34:45] local.INFO: TCP Data received {"connection_id":162192,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:34:45] local.INFO: Processing buffer {"connection_id":162192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393809e8012d34c14006aa4818000a00e630..."} 
[2026-08-25 19:34:45] local.INFO: Packet analysis {"connection_id":162192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:34:45] local.INFO: Extracted packet for processing {"connection_id":162192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03938"} 
[2026-08-25 19:34:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642513408001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:34:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666369000,"timestamp_ms":1787666369000,"timestamp_seconds":1787666369,"priority":1,"record_length":96,"hex_timestamp":"000001a0393809e8"} 
[2026-08-25 19:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:34:45] 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-25 19:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:34:45] 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-25 19:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642513408001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642513408001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:34:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642513408001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":162192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:34:45] local.INFO: GPS data processed {"connection_id":162192,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:34:45] local.INFO: Acknowledgment sent {"connection_id":162192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:34:45] local.INFO: TCP Data received {"connection_id":162193,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:34:45] local.INFO: Processing buffer {"connection_id":162193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:34:45] local.INFO: IMEI packet received {"connection_id":162193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":162193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:34:46] local.INFO: TCP Data received {"connection_id":162193,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393aa1f8012d92180005884018000a01132d..."} 
[2026-08-25 19:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393aa1f8012d92180005884018000a01132d..."} 
[2026-08-25 19:34:46] local.INFO: Processing buffer {"connection_id":162193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393aa1f8012d92180005884018000a01132d..."} 
[2026-08-25 19:34:46] local.INFO: Packet analysis {"connection_id":162193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393a"} 
[2026-08-25 19:34:46] local.INFO: Extracted packet for processing {"connection_id":162193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393a"} 
[2026-08-25 19:34:46] local.INFO: GPS Element Parsed {"raw_longitude":764549120,"raw_latitude":92815384,"longitude_deg":76.454912,"latitude_deg":9.2815384,"altitude":10,"angle":275,"satellites":45,"speed":6,"hex_longitude":"2d921800","hex_latitude":"05884018","is_valid_coordinates":true} 
[2026-08-25 19:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642628864001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124118404461232128,"note":"Value kept but may cause issues"} 
[2026-08-25 19:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7910009771762343936,"note":"Value kept but may cause issues"} 
[2026-08-25 19:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787666539000,"timestamp_ms":1787666539000,"timestamp_seconds":1787666539,"priority":1,"record_length":96,"hex_timestamp":"000001a0393aa1f8"} 
[2026-08-25 19:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 19:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:34:46] 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-25 19:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642628864001,"66":12058,"183":206,"85":14080,"24":6,"16":124118404461232128,"45":-7910009771762343936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-25 19:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642628864001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:34:46] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-25 19:34:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124118404461232128,"km_value":124118404461232.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7910009771762343936,"description":"Unknown IO ID 45"} 
[2026-08-25 19:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642628864001,"power":12058,"unknown_183":206,"unknown_85":14080,"ignition":6,"odometer":null,"unknown_45":-7910009771762343936}} 
[2026-08-25 19:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":162193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:34:46] local.INFO: GPS data processed {"connection_id":162193,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:34:46] local.INFO: Acknowledgment sent {"connection_id":162193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:35:16] local.INFO: TCP Data received {"connection_id":162192,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:35:16] local.INFO: Processing buffer {"connection_id":162192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:35:16] local.INFO: Packet analysis {"connection_id":162192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:35:16] local.INFO: Extracted packet for processing {"connection_id":162192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642590464001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:35:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787666670000,"timestamp_ms":1787666670000,"timestamp_seconds":1787666670,"priority":1,"record_length":96,"hex_timestamp":"000001a0393ca1b0"} 
[2026-08-25 19:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642590464001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642590464001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642590464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":162192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:35:16] local.INFO: GPS data processed {"connection_id":162192,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:35:16] local.INFO: Acknowledgment sent {"connection_id":162192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:35:17] local.INFO: TCP Data received {"connection_id":162193,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393cdc48012d90ffc005882f08000b010f2e..."} 
[2026-08-25 19:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393cdc48012d90ffc005882f08000b010f2e..."} 
[2026-08-25 19:35:17] local.INFO: Processing buffer {"connection_id":162193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393cdc48012d90ffc005882f08000b010f2e..."} 
[2026-08-25 19:35:17] local.INFO: Packet analysis {"connection_id":162193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:35:17] local.INFO: Extracted packet for processing {"connection_id":162193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:35:17] local.INFO: GPS Element Parsed {"raw_longitude":764477376,"raw_latitude":92811016,"longitude_deg":76.4477376,"latitude_deg":9.2811016,"altitude":11,"angle":271,"satellites":46,"speed":29,"hex_longitude":"2d90ffc0","hex_latitude":"05882f08","is_valid_coordinates":true} 
[2026-08-25 19:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642668544001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124121866204872704,"note":"Value kept but may cause issues"} 
[2026-08-25 19:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7988189446544517120,"note":"Value kept but may cause issues"} 
[2026-08-25 19:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787666685000,"timestamp_ms":1787666685000,"timestamp_seconds":1787666685,"priority":1,"record_length":96,"hex_timestamp":"000001a0393cdc48"} 
[2026-08-25 19:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 19:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:35:17] 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-25 19:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642668544001,"66":12069,"111":206,"85":14080,"24":29,"16":124121866204872704,"45":-7988189446544517120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-25 19:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642668544001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:35:17] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-25 19:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124121866204872704,"km_value":124121866204872.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7988189446544517120,"description":"Unknown IO ID 45"} 
[2026-08-25 19:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642668544001,"power":12069,"unknown_111":206,"unknown_85":14080,"ignition":29,"odometer":null,"unknown_45":-7988189446544517120}} 
[2026-08-25 19:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":162193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:35:17] local.INFO: GPS data processed {"connection_id":162193,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:35:17] local.INFO: Acknowledgment sent {"connection_id":162193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:35:39] local.INFO: TCP Data received {"connection_id":163182,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:35:39] local.INFO: Processing buffer {"connection_id":163182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:35:39] local.INFO: IMEI packet received {"connection_id":163182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":163182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:35:40] local.INFO: TCP Data received {"connection_id":164572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:35:40] local.INFO: Processing buffer {"connection_id":164572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:35:40] local.INFO: IMEI packet received {"connection_id":164572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":164572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:35:43] local.INFO: TCP Data received {"connection_id":164572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:35:43] local.INFO: Processing buffer {"connection_id":164572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:35:43] local.INFO: IMEI packet received {"connection_id":164572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":164572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:35:44] local.INFO: TCP Data received {"connection_id":163182,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:35:44] local.INFO: Processing buffer {"connection_id":163182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:35:44] local.INFO: IMEI packet received {"connection_id":163182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":163182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:35:45] local.INFO: TCP Data received {"connection_id":163182,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:35:45] local.INFO: Processing buffer {"connection_id":163182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:35:45] local.INFO: Packet analysis {"connection_id":163182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:35:45] local.INFO: Extracted packet for processing {"connection_id":163182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:35: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-25 19:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642590464001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:35:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666670000,"timestamp_ms":1787666670000,"timestamp_seconds":1787666670,"priority":1,"record_length":96,"hex_timestamp":"000001a0393ca1b0"} 
[2026-08-25 19:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:35:45] 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-25 19:35: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-25 19:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:35:45] 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-25 19:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642590464001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642590464001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:35:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642590464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":163182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:35:45] local.INFO: GPS data processed {"connection_id":163182,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:35:45] local.INFO: Acknowledgment sent {"connection_id":163182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:35:45] local.INFO: TCP Data received {"connection_id":164572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:35:45] local.INFO: Processing buffer {"connection_id":164572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:35:45] local.INFO: IMEI packet received {"connection_id":164572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":164572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:35:46] local.INFO: TCP Data received {"connection_id":164572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393d12f8012d90dbc005883168000b01142d..."} 
[2026-08-25 19:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393d12f8012d90dbc005883168000b01142d..."} 
[2026-08-25 19:35:46] local.INFO: Processing buffer {"connection_id":164572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393d12f8012d90dbc005883168000b01142d..."} 
[2026-08-25 19:35:46] local.INFO: Packet analysis {"connection_id":164572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393d"} 
[2026-08-25 19:35:46] local.INFO: Extracted packet for processing {"connection_id":164572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393d"} 
[2026-08-25 19:35:46] local.INFO: GPS Element Parsed {"raw_longitude":764468160,"raw_latitude":92811624,"longitude_deg":76.446816,"latitude_deg":9.2811624,"altitude":11,"angle":276,"satellites":45,"speed":24,"hex_longitude":"2d90dbc0","hex_latitude":"05883168","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642671360001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124122308586504192,"note":"Value kept but may cause issues"} 
[2026-08-25 19:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7998463283194558464,"note":"Value kept but may cause issues"} 
[2026-08-25 19:35:46] 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-25 19:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787666699000,"timestamp_ms":1787666699000,"timestamp_seconds":1787666699,"priority":1,"record_length":96,"hex_timestamp":"000001a0393d12f8"} 
[2026-08-25 19: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-25 19:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 19:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:35:46] 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-25 19:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642671360001,"66":12069,"111":206,"85":14080,"24":24,"16":124122308586504192,"45":-7998463283194558464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-25 19:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642671360001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:35:46] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-25 19:35:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124122308586504192,"km_value":124122308586504.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7998463283194558464,"description":"Unknown IO ID 45"} 
[2026-08-25 19:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642671360001,"power":12069,"unknown_111":206,"unknown_85":14080,"ignition":24,"odometer":null,"unknown_45":-7998463283194558464}} 
[2026-08-25 19:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":164572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:35:46] local.INFO: GPS data processed {"connection_id":164572,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:35:46] local.INFO: Acknowledgment sent {"connection_id":164572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:36:16] local.INFO: TCP Data received {"connection_id":163182,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:36:16] local.INFO: Processing buffer {"connection_id":163182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:36:16] local.INFO: Packet analysis {"connection_id":163182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:36:16] local.INFO: Extracted packet for processing {"connection_id":163182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642590464001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:36:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787666670000,"timestamp_ms":1787666670000,"timestamp_seconds":1787666670,"priority":1,"record_length":96,"hex_timestamp":"000001a0393ca1b0"} 
[2026-08-25 19:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642590464001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642590464001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642590464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":163182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:36:16] local.INFO: GPS data processed {"connection_id":163182,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:36:16] local.INFO: Acknowledgment sent {"connection_id":163182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:36:17] local.INFO: TCP Data received {"connection_id":164572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393d5178012d90c5c005883540000c01262e..."} 
[2026-08-25 19:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393d5178012d90c5c005883540000c01262e..."} 
[2026-08-25 19:36:17] local.INFO: Processing buffer {"connection_id":164572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393d5178012d90c5c005883540000c01262e..."} 
[2026-08-25 19:36:17] local.INFO: Packet analysis {"connection_id":164572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393d"} 
[2026-08-25 19:36:17] local.INFO: Extracted packet for processing {"connection_id":164572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393d"} 
[2026-08-25 19:36:17] local.INFO: GPS Element Parsed {"raw_longitude":764462528,"raw_latitude":92812608,"longitude_deg":76.4462528,"latitude_deg":9.2812608,"altitude":12,"angle":294,"satellites":46,"speed":10,"hex_longitude":"2d90c5c0","hex_latitude":"05883540","is_valid_coordinates":true} 
[2026-08-25 19:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642674944001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124122583464411136,"note":"Value kept but may cause issues"} 
[2026-08-25 19:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8008596382355986432,"note":"Value kept but may cause issues"} 
[2026-08-25 19:36:17] 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-25 19:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787666715000,"timestamp_ms":1787666715000,"timestamp_seconds":1787666715,"priority":1,"record_length":96,"hex_timestamp":"000001a0393d5178"} 
[2026-08-25 19:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 19:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:36:17] 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-25 19:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642674944001,"66":12200,"195":206,"85":14080,"24":10,"16":124122583464411136,"45":-8008596382355986432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-25 19:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642674944001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:36:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 19:36:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124122583464411136,"km_value":124122583464411.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8008596382355986432,"description":"Unknown IO ID 45"} 
[2026-08-25 19:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642674944001,"power":12200,"unknown_195":206,"unknown_85":14080,"ignition":10,"odometer":null,"unknown_45":-8008596382355986432}} 
[2026-08-25 19:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":164572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:36:17] local.INFO: GPS data processed {"connection_id":164572,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:36:17] local.INFO: Acknowledgment sent {"connection_id":164572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:36:40] local.INFO: TCP Data received {"connection_id":162194,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:36:40] local.INFO: Processing buffer {"connection_id":162194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:36:40] local.INFO: IMEI packet received {"connection_id":162194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":162194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:36:44] local.INFO: TCP Data received {"connection_id":162194,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:36:44] local.INFO: Processing buffer {"connection_id":162194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:36:44] local.INFO: IMEI packet received {"connection_id":162194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":162194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:36:45] local.INFO: TCP Data received {"connection_id":162194,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:36:45] local.INFO: Processing buffer {"connection_id":162194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:36:45] local.INFO: Packet analysis {"connection_id":162194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:36:45] local.INFO: Extracted packet for processing {"connection_id":162194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642590464001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:36:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666670000,"timestamp_ms":1787666670000,"timestamp_seconds":1787666670,"priority":1,"record_length":96,"hex_timestamp":"000001a0393ca1b0"} 
[2026-08-25 19:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:36:45] 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-25 19:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:36:45] 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-25 19:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642590464001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642590464001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642590464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":162194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:36:45] local.INFO: GPS data processed {"connection_id":162194,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:36:45] local.INFO: Acknowledgment sent {"connection_id":162194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:36:45] local.INFO: TCP Data received {"connection_id":163183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:36:45] local.INFO: Processing buffer {"connection_id":163183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:36:45] local.INFO: IMEI packet received {"connection_id":163183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":163183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:36:51] local.INFO: TCP Data received {"connection_id":163183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:36:51] local.INFO: Processing buffer {"connection_id":163183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:36:51] local.INFO: IMEI packet received {"connection_id":163183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":163183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:36:51] local.INFO: TCP Data received {"connection_id":163183,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393d5d30012d90c28005883780000b01342d..."} 
[2026-08-25 19:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393d5d30012d90c28005883780000b01342d..."} 
[2026-08-25 19:36:51] local.INFO: Processing buffer {"connection_id":163183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393d5d30012d90c28005883780000b01342d..."} 
[2026-08-25 19:36:51] local.INFO: Packet analysis {"connection_id":163183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393d"} 
[2026-08-25 19:36:51] local.INFO: Extracted packet for processing {"connection_id":163183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393d"} 
[2026-08-25 19:36:51] local.INFO: GPS Element Parsed {"raw_longitude":764461696,"raw_latitude":92813184,"longitude_deg":76.4461696,"latitude_deg":9.2813184,"altitude":11,"angle":308,"satellites":45,"speed":17,"hex_longitude":"2d90c280","hex_latitude":"05883780","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642679040001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124122630709051392,"note":"Value kept but may cause issues"} 
[2026-08-25 19:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8014788831843368960,"note":"Value kept but may cause issues"} 
[2026-08-25 19:36:51] 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-25 19:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787666718000,"timestamp_ms":1787666718000,"timestamp_seconds":1787666718,"priority":1,"record_length":96,"hex_timestamp":"000001a0393d5d30"} 
[2026-08-25 19: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-25 19:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-25 19:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:36:51] 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-25 19:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642679040001,"66":12232,"195":206,"85":14080,"24":17,"16":124122630709051392,"45":-8014788831843368960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-25 19:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642679040001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:36:51] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 19:36:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124122630709051392,"km_value":124122630709051.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8014788831843368960,"description":"Unknown IO ID 45"} 
[2026-08-25 19:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642679040001,"power":12232,"unknown_195":206,"unknown_85":14080,"ignition":17,"odometer":null,"unknown_45":-8014788831843368960}} 
[2026-08-25 19:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":163183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:36:51] local.INFO: GPS data processed {"connection_id":163183,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:36:51] local.INFO: Acknowledgment sent {"connection_id":163183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:37:04] local.INFO: TCP Data received {"connection_id":164570,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:37:04] local.INFO: Processing buffer {"connection_id":164570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:37:04] local.INFO: IMEI packet received {"connection_id":164570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 19:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":164570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:37:16] local.INFO: TCP Data received {"connection_id":162194,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:37:16] local.INFO: Processing buffer {"connection_id":162194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:37:16] local.INFO: Packet analysis {"connection_id":162194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:37:16] local.INFO: Extracted packet for processing {"connection_id":162194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642590464001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787666670000,"timestamp_ms":1787666670000,"timestamp_seconds":1787666670,"priority":1,"record_length":96,"hex_timestamp":"000001a0393ca1b0"} 
[2026-08-25 19: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-25 19:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642590464001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642590464001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642590464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":162194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:37:16] local.INFO: GPS data processed {"connection_id":162194,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:37:16] local.INFO: Acknowledgment sent {"connection_id":162194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:37:22] local.INFO: TCP Data received {"connection_id":163183,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393d68e8012d90bdc005883ab0000b01272c..."} 
[2026-08-25 19:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393d68e8012d90bdc005883ab0000b01272c..."} 
[2026-08-25 19:37:22] local.INFO: Processing buffer {"connection_id":163183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393d68e8012d90bdc005883ab0000b01272c..."} 
[2026-08-25 19:37:22] local.INFO: Packet analysis {"connection_id":163183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393d"} 
[2026-08-25 19:37:22] local.INFO: Extracted packet for processing {"connection_id":163183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393d"} 
[2026-08-25 19:37:22] local.INFO: GPS Element Parsed {"raw_longitude":764460480,"raw_latitude":92814000,"longitude_deg":76.446048,"latitude_deg":9.2814,"altitude":11,"angle":295,"satellites":44,"speed":18,"hex_longitude":"2d90bdc0","hex_latitude":"05883ab0","is_valid_coordinates":true} 
[2026-08-25 19:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642679808001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124122703723495424,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8015703625517531136,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:22] 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-25 19:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787666721000,"timestamp_ms":1787666721000,"timestamp_seconds":1787666721,"priority":1,"record_length":96,"hex_timestamp":"000001a0393d68e8"} 
[2026-08-25 19:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 19:37:22] 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-25 19:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:37:22] 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-25 19:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642679808001,"66":12135,"195":206,"85":14080,"24":18,"16":124122703723495424,"45":-8015703625517531136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-25 19:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642679808001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:37:22] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-25 19:37:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124122703723495424,"km_value":124122703723495.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8015703625517531136,"description":"Unknown IO ID 45"} 
[2026-08-25 19:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642679808001,"power":12135,"unknown_195":206,"unknown_85":14080,"ignition":18,"odometer":null,"unknown_45":-8015703625517531136}} 
[2026-08-25 19:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":163183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:37:22] local.INFO: GPS data processed {"connection_id":163183,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:37:22] local.INFO: Acknowledgment sent {"connection_id":163183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:37:40] local.INFO: TCP Data received {"connection_id":164573,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:37:40] local.INFO: Processing buffer {"connection_id":164573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:37:40] local.INFO: IMEI packet received {"connection_id":164573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":164573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:37:41] local.INFO: TCP Data received {"connection_id":164574,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:37:41] local.INFO: Processing buffer {"connection_id":164574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:37:41] local.INFO: IMEI packet received {"connection_id":164574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":164574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:37:43] local.INFO: TCP Data received {"connection_id":164573,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:37:43] local.INFO: Processing buffer {"connection_id":164573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:37:43] local.INFO: IMEI packet received {"connection_id":164573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":164573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:37:44] local.INFO: TCP Data received {"connection_id":164574,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:37:44] local.INFO: Processing buffer {"connection_id":164574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:37:44] local.INFO: IMEI packet received {"connection_id":164574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":164574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:37:44] local.INFO: TCP Data received {"connection_id":164573,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393f31f0012d8fc1000588dd60000a014c2a..."} 
[2026-08-25 19:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393f31f0012d8fc1000588dd60000a014c2a..."} 
[2026-08-25 19:37:44] local.INFO: Processing buffer {"connection_id":164573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393f31f0012d8fc1000588dd60000a014c2a..."} 
[2026-08-25 19:37:44] local.INFO: Packet analysis {"connection_id":164573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393f"} 
[2026-08-25 19:37:44] local.INFO: Extracted packet for processing {"connection_id":164573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393f"} 
[2026-08-25 19:37:44] local.INFO: GPS Element Parsed {"raw_longitude":764395776,"raw_latitude":92855648,"longitude_deg":76.4395776,"latitude_deg":9.2855648,"altitude":10,"angle":332,"satellites":42,"speed":54,"hex_longitude":"2d8fc100","hex_latitude":"0588dd60","is_valid_coordinates":true} 
[2026-08-25 19:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642708736001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124126530539356160,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8083327988663402496,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787666838000,"timestamp_ms":1787666838000,"timestamp_seconds":1787666838,"priority":1,"record_length":96,"hex_timestamp":"000001a0393f31f0"} 
[2026-08-25 19:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":398661063438893350,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3963194060918751744,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186040,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4124709913323475060,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7036874418421764,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3421610699405852878,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2153250827,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2042822862,"corrected_to":0} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2415996304,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4204527616,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2288130048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":13,"raw_value":82521646753120256,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3746994889972252673,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:44] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,252,160,235,45,192,10,66,195,251,149,7,43,122,1,240,53,227,57,136,4,113,205,28,71,50,80,239,47,2,184,5,13,250],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2042822862,"validated":0}]} 
[2026-08-25 19:37:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720934565856542720,"timestamp_seconds":720934565856542.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 19:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:37:44] 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-25 19:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642708736001,"66":12341,"208":206,"85":14080,"24":54,"16":124126530539356160,"45":-8083327988663402496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 19:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642708736001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:37:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 19:37:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124126530539356160,"km_value":124126530539356.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8083327988663402496,"description":"Unknown IO ID 45"} 
[2026-08-25 19:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642708736001,"power":12341,"unknown_208":206,"unknown_85":14080,"ignition":54,"odometer":null,"unknown_45":-8083327988663402496}} 
[2026-08-25 19:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":164573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:37:44] local.INFO: GPS data processed {"connection_id":164573,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:37:44] local.INFO: Acknowledgment sent {"connection_id":164573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:37:45] local.INFO: TCP Data received {"connection_id":164574,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:37:45] local.INFO: Processing buffer {"connection_id":164574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:37:45] local.INFO: Packet analysis {"connection_id":164574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:37:45] local.INFO: Extracted packet for processing {"connection_id":164574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642590464001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666670000,"timestamp_ms":1787666670000,"timestamp_seconds":1787666670,"priority":1,"record_length":96,"hex_timestamp":"000001a0393ca1b0"} 
[2026-08-25 19: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-25 19:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:37:45] 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-25 19: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-25 19: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-25 19:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:37:45] 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-25 19:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642590464001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642590464001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642590464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":164574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:37:45] local.INFO: GPS data processed {"connection_id":164574,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:37:45] local.INFO: Acknowledgment sent {"connection_id":164574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:38:15] local.INFO: TCP Data received {"connection_id":164573,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393f5130012d8fb2800588ff88000901512c..."} 
[2026-08-25 19:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393f5130012d8fb2800588ff88000901512c..."} 
[2026-08-25 19:38:15] local.INFO: Processing buffer {"connection_id":164573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393f5130012d8fb2800588ff88000901512c..."} 
[2026-08-25 19:38:15] local.INFO: Packet analysis {"connection_id":164573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393f"} 
[2026-08-25 19:38:15] local.INFO: Extracted packet for processing {"connection_id":164573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393f"} 
[2026-08-25 19:38:15] local.INFO: GPS Element Parsed {"raw_longitude":764392064,"raw_latitude":92864392,"longitude_deg":76.4392064,"latitude_deg":9.2864392,"altitude":9,"angle":337,"satellites":44,"speed":43,"hex_longitude":"2d8fb280","hex_latitude":"0588ff88","is_valid_coordinates":true} 
[2026-08-25 19:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642710528001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124126985805889536,"note":"Value kept but may cause issues"} 
[2026-08-25 19:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8088183432009654272,"note":"Value kept but may cause issues"} 
[2026-08-25 19:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787666846000,"timestamp_ms":1787666846000,"timestamp_seconds":1787666846,"priority":1,"record_length":96,"hex_timestamp":"000001a0393f5130"} 
[2026-08-25 19:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 19:38:15] 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-25 19:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:38:15] 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-25 19:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642710528001,"66":12330,"208":206,"85":14080,"24":43,"16":124126985805889536,"45":-8088183432009654272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 19:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642710528001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:38:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 19:38:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124126985805889536,"km_value":124126985805889.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8088183432009654272,"description":"Unknown IO ID 45"} 
[2026-08-25 19:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642710528001,"power":12330,"unknown_208":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8088183432009654272}} 
[2026-08-25 19:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":164573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:38:15] local.INFO: GPS data processed {"connection_id":164573,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:38:15] local.INFO: Acknowledgment sent {"connection_id":164573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:38:16] local.INFO: TCP Data received {"connection_id":164574,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:38:16] local.INFO: Processing buffer {"connection_id":164574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:38:16] local.INFO: Packet analysis {"connection_id":164574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:38:16] local.INFO: Extracted packet for processing {"connection_id":164574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642590464001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:38:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787666670000,"timestamp_ms":1787666670000,"timestamp_seconds":1787666670,"priority":1,"record_length":96,"hex_timestamp":"000001a0393ca1b0"} 
[2026-08-25 19: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-25 19:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642590464001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642590464001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642590464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":164574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:38:17] local.INFO: GPS data processed {"connection_id":164574,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:38:17] local.INFO: Acknowledgment sent {"connection_id":164574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:38:39] local.INFO: TCP Data received {"connection_id":163184,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:38:39] local.INFO: Processing buffer {"connection_id":163184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:38:39] local.INFO: IMEI packet received {"connection_id":163184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":163184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:38:40] local.INFO: TCP Data received {"connection_id":164576,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:38:40] local.INFO: Processing buffer {"connection_id":164576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:38:40] local.INFO: IMEI packet received {"connection_id":164576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":164576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:38:44] local.INFO: TCP Data received {"connection_id":163184,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:38:44] local.INFO: Processing buffer {"connection_id":163184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:38:44] local.INFO: IMEI packet received {"connection_id":163184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":163184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:38:45] local.INFO: TCP Data received {"connection_id":163184,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:38:45] local.INFO: Processing buffer {"connection_id":163184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:38:45] local.INFO: Packet analysis {"connection_id":163184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:38:45] local.INFO: Extracted packet for processing {"connection_id":163184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642590464001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:38:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666670000,"timestamp_ms":1787666670000,"timestamp_seconds":1787666670,"priority":1,"record_length":96,"hex_timestamp":"000001a0393ca1b0"} 
[2026-08-25 19:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:38:45] 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-25 19:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:38:45] 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-25 19:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642590464001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642590464001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642590464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":163184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:38:45] local.INFO: GPS data processed {"connection_id":163184,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:38:45] local.INFO: Acknowledgment sent {"connection_id":163184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:38:45] local.INFO: TCP Data received {"connection_id":164576,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:38:45] local.INFO: Processing buffer {"connection_id":164576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:38:45] local.INFO: IMEI packet received {"connection_id":164576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":164576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:38:46] local.INFO: TCP Data received {"connection_id":164576,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0393f7070012d8fa2c005891ea00008014c2d..."} 
[2026-08-25 19:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393f7070012d8fa2c005891ea00008014c2d..."} 
[2026-08-25 19:38:46] local.INFO: Processing buffer {"connection_id":164576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393f7070012d8fa2c005891ea00008014c2d..."} 
[2026-08-25 19:38:46] local.INFO: Packet analysis {"connection_id":164576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393f"} 
[2026-08-25 19:38:46] local.INFO: Extracted packet for processing {"connection_id":164576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393f"} 
[2026-08-25 19:38:46] local.INFO: GPS Element Parsed {"raw_longitude":764388032,"raw_latitude":92872352,"longitude_deg":76.4388032,"latitude_deg":9.2872352,"altitude":8,"angle":332,"satellites":45,"speed":44,"hex_longitude":"2d8fa2c0","hex_latitude":"05891ea0","is_valid_coordinates":true} 
[2026-08-25 19:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642712576001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124127419597586432,"note":"Value kept but may cause issues"} 
[2026-08-25 19:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8092264819169720320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787666854000,"timestamp_ms":1787666854000,"timestamp_seconds":1787666854,"priority":1,"record_length":96,"hex_timestamp":"000001a0393f7070"} 
[2026-08-25 19:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 19:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:38:46] 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-25 19:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642712576001,"66":12461,"208":206,"85":14080,"24":44,"16":124127419597586432,"45":-8092264819169720320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 19:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642712576001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:38:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 19:38:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124127419597586432,"km_value":124127419597586.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8092264819169720320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642712576001,"power":12461,"unknown_208":206,"unknown_85":14080,"ignition":44,"odometer":null,"unknown_45":-8092264819169720320}} 
[2026-08-25 19:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":164576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:38:46] local.INFO: GPS data processed {"connection_id":164576,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:38:46] local.INFO: Acknowledgment sent {"connection_id":164576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:39:17] local.INFO: TCP Data received {"connection_id":163184,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:39:17] local.INFO: Processing buffer {"connection_id":163184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:39:17] local.INFO: Packet analysis {"connection_id":163184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:39:17] local.INFO: Extracted packet for processing {"connection_id":163184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642590464001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:39:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787666670000,"timestamp_ms":1787666670000,"timestamp_seconds":1787666670,"priority":1,"record_length":96,"hex_timestamp":"000001a0393ca1b0"} 
[2026-08-25 19:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:39:17] 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-25 19:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642590464001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642590464001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642590464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":163184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:39:17] local.INFO: GPS data processed {"connection_id":163184,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:39:17] local.INFO: Acknowledgment sent {"connection_id":163184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:39:19] local.INFO: TCP Data received {"connection_id":164576,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03940c060012d8ee9c0058a47c0000701612e..."} 
[2026-08-25 19:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03940c060012d8ee9c0058a47c0000701612e..."} 
[2026-08-25 19:39:19] local.INFO: Processing buffer {"connection_id":164576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03940c060012d8ee9c0058a47c0000701612e..."} 
[2026-08-25 19:39:19] local.INFO: Packet analysis {"connection_id":164576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03940"} 
[2026-08-25 19:39:19] local.INFO: Extracted packet for processing {"connection_id":164576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03940"} 
[2026-08-25 19:39:19] local.INFO: GPS Element Parsed {"raw_longitude":764340672,"raw_latitude":92948416,"longitude_deg":76.4340672,"latitude_deg":9.2948416,"altitude":7,"angle":353,"satellites":46,"speed":25,"hex_longitude":"2d8ee9c0","hex_latitude":"058a47c0","is_valid_coordinates":true} 
[2026-08-25 19:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642733056001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124131821939064832,"note":"Value kept but may cause issues"} 
[2026-08-25 19:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8145322852260290560,"note":"Value kept but may cause issues"} 
[2026-08-25 19:39:19] 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-25 19:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787666940000,"timestamp_ms":1787666940000,"timestamp_seconds":1787666940,"priority":1,"record_length":96,"hex_timestamp":"000001a03940c060"} 
[2026-08-25 19:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-25 19:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:39:19] 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-25 19:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642733056001,"66":12341,"209":206,"85":14080,"24":25,"16":124131821939064832,"45":-8145322852260290560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-25 19:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642733056001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:39:19] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-25 19:39:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124131821939064832,"km_value":124131821939064.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8145322852260290560,"description":"Unknown IO ID 45"} 
[2026-08-25 19:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642733056001,"power":12341,"unknown_209":206,"unknown_85":14080,"ignition":25,"odometer":null,"unknown_45":-8145322852260290560}} 
[2026-08-25 19:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":164576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:39:19] local.INFO: GPS data processed {"connection_id":164576,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:39:19] local.INFO: Acknowledgment sent {"connection_id":164576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:39:39] local.INFO: TCP Data received {"connection_id":163185,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:39:39] local.INFO: Processing buffer {"connection_id":163185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:39:39] local.INFO: IMEI packet received {"connection_id":163185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":163185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:39:40] local.INFO: TCP Data received {"connection_id":164577,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:39:40] local.INFO: Processing buffer {"connection_id":164577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:39:40] local.INFO: IMEI packet received {"connection_id":164577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":164577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:39:41] local.INFO: TCP Data received {"connection_id":164577,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:39:41] local.INFO: Processing buffer {"connection_id":164577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:39:41] local.INFO: IMEI packet received {"connection_id":164577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":164577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:39:45] local.INFO: TCP Data received {"connection_id":163185,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:39:45] local.INFO: Processing buffer {"connection_id":163185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:39:45] local.INFO: IMEI packet received {"connection_id":163185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":163185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:39:46] local.INFO: TCP Data received {"connection_id":164577,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:39:46] local.INFO: Processing buffer {"connection_id":164577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:39:46] local.INFO: IMEI packet received {"connection_id":164577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":164577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:39:46] local.INFO: TCP Data received {"connection_id":163185,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:39:46] local.INFO: Processing buffer {"connection_id":163185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0393ca1b0012d34c14006aa4818000c00e630..."} 
[2026-08-25 19:39:46] local.INFO: Packet analysis {"connection_id":163185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:39:46] local.INFO: Extracted packet for processing {"connection_id":163185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0393c"} 
[2026-08-25 19:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642590464001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:39:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787666670000,"timestamp_ms":1787666670000,"timestamp_seconds":1787666670,"priority":1,"record_length":96,"hex_timestamp":"000001a0393ca1b0"} 
[2026-08-25 19:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:39:46] 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-25 19:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:39:46] 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-25 19:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642590464001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642590464001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642590464001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":163185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:39:46] local.INFO: GPS data processed {"connection_id":163185,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:39:46] local.INFO: Acknowledgment sent {"connection_id":163185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:39:47] local.INFO: TCP Data received {"connection_id":164577,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03940c060012d8ee9c0058a47c0000701612e..."} 
[2026-08-25 19:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03940c060012d8ee9c0058a47c0000701612e..."} 
[2026-08-25 19:39:47] local.INFO: Processing buffer {"connection_id":164577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03940c060012d8ee9c0058a47c0000701612e..."} 
[2026-08-25 19:39:47] local.INFO: Packet analysis {"connection_id":164577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03940"} 
[2026-08-25 19:39:47] local.INFO: Extracted packet for processing {"connection_id":164577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03940"} 
[2026-08-25 19:39:47] local.INFO: GPS Element Parsed {"raw_longitude":764340672,"raw_latitude":92948416,"longitude_deg":76.4340672,"latitude_deg":9.2948416,"altitude":7,"angle":353,"satellites":46,"speed":25,"hex_longitude":"2d8ee9c0","hex_latitude":"058a47c0","is_valid_coordinates":true} 
[2026-08-25 19:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642736640001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124131821939064832,"note":"Value kept but may cause issues"} 
[2026-08-25 19:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8148770920722874368,"note":"Value kept but may cause issues"} 
[2026-08-25 19:39:47] 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-25 19:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787666940000,"timestamp_ms":1787666940000,"timestamp_seconds":1787666940,"priority":1,"record_length":96,"hex_timestamp":"000001a03940c060"} 
[2026-08-25 19:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 19:39:47] 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-25 19:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:39:47] 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-25 19:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642736640001,"66":12341,"209":206,"85":14080,"24":25,"16":124131821939064832,"45":-8148770920722874368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-25 19:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642736640001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:39:47] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-25 19:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124131821939064832,"km_value":124131821939064.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8148770920722874368,"description":"Unknown IO ID 45"} 
[2026-08-25 19:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642736640001,"power":12341,"unknown_209":206,"unknown_85":14080,"ignition":25,"odometer":null,"unknown_45":-8148770920722874368}} 
[2026-08-25 19:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":164577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:39:47] local.INFO: GPS data processed {"connection_id":164577,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:39:47] local.INFO: Acknowledgment sent {"connection_id":164577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:40:17] local.INFO: TCP Data received {"connection_id":163185,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:40:17] local.INFO: Processing buffer {"connection_id":163185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:40:17] local.INFO: Packet analysis {"connection_id":163185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:40:17] local.INFO: Extracted packet for processing {"connection_id":163185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642667520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:40:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787666971000,"timestamp_ms":1787666971000,"timestamp_seconds":1787666971,"priority":1,"record_length":96,"hex_timestamp":"000001a039413978"} 
[2026-08-25 19:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:40: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-25 19:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:40:17] 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-25 19:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642667520001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642667520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642667520001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":163185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:40:17] local.INFO: GPS data processed {"connection_id":163185,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:40:17] local.INFO: Acknowledgment sent {"connection_id":163185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:40:19] local.INFO: TCP Data received {"connection_id":164577,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03940ef40012d8ee740058a6e58000801652d..."} 
[2026-08-25 19:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03940ef40012d8ee740058a6e58000801652d..."} 
[2026-08-25 19:40:19] local.INFO: Processing buffer {"connection_id":164577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03940ef40012d8ee740058a6e58000801652d..."} 
[2026-08-25 19:40:19] local.INFO: Packet analysis {"connection_id":164577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03940"} 
[2026-08-25 19:40:19] local.INFO: Extracted packet for processing {"connection_id":164577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03940"} 
[2026-08-25 19:40:19] local.INFO: GPS Element Parsed {"raw_longitude":764340032,"raw_latitude":92958296,"longitude_deg":76.4340032,"latitude_deg":9.2958296,"altitude":8,"angle":357,"satellites":45,"speed":42,"hex_longitude":"2d8ee740","hex_latitude":"058a6e58","is_valid_coordinates":true} 
[2026-08-25 19:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642736640001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124132302975401984,"note":"Value kept but may cause issues"} 
[2026-08-25 19:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8148770920722874368,"note":"Value kept but may cause issues"} 
[2026-08-25 19:40:19] 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-25 19:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787666952000,"timestamp_ms":1787666952000,"timestamp_seconds":1787666952,"priority":1,"record_length":96,"hex_timestamp":"000001a03940ef40"} 
[2026-08-25 19:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 19:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:40:19] 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-25 19:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642736640001,"66":12298,"209":206,"85":14080,"24":42,"16":124132302975401984,"45":-8148770920722874368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-25 19:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642736640001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:40:19] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-25 19:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124132302975401984,"km_value":124132302975401.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8148770920722874368,"description":"Unknown IO ID 45"} 
[2026-08-25 19:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642736640001,"power":12298,"unknown_209":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-8148770920722874368}} 
[2026-08-25 19:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":164577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:40:19] local.INFO: GPS data processed {"connection_id":164577,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:40:19] local.INFO: Acknowledgment sent {"connection_id":164577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:40:44] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:40:44] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:40:44] local.INFO: IMEI packet received {"connection_id":161948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":161948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:40:49] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:40:49] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:40:49] local.INFO: IMEI packet received {"connection_id":161948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":161948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:40:50] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:40:50] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:40:50] local.INFO: Packet analysis {"connection_id":161948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:40:50] local.INFO: Extracted packet for processing {"connection_id":161948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:40:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642667520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:40:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787666971000,"timestamp_ms":1787666971000,"timestamp_seconds":1787666971,"priority":1,"record_length":96,"hex_timestamp":"000001a039413978"} 
[2026-08-25 19:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:40:50] 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-25 19:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642667520001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642667520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:40:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642667520001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":161948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:40:50] local.INFO: GPS data processed {"connection_id":161948,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:40:50] local.INFO: Acknowledgment sent {"connection_id":161948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:41:15] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:15] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:15] local.INFO: IMEI packet received {"connection_id":161949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":161949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:41:20] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:20] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:20] local.INFO: IMEI packet received {"connection_id":161949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":161949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:41:21] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0394275e0012d8e9600058bf8a00005015825..."} 
[2026-08-25 19:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394275e0012d8e9600058bf8a00005015825..."} 
[2026-08-25 19:41:21] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394275e0012d8e9600058bf8a00005015825..."} 
[2026-08-25 19:41:21] local.INFO: Packet analysis {"connection_id":161949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03942"} 
[2026-08-25 19:41:21] local.INFO: Extracted packet for processing {"connection_id":161949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03942"} 
[2026-08-25 19:41:21] local.INFO: GPS Element Parsed {"raw_longitude":764319232,"raw_latitude":93059232,"longitude_deg":76.4319232,"latitude_deg":9.3059232,"altitude":5,"angle":344,"satellites":37,"speed":40,"hex_longitude":"2d8e9600","hex_latitude":"058bf8a0","is_valid_coordinates":true} 
[2026-08-25 19:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642763008001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124137310907269120,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8169881543950043136,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:21] 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-25 19:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787667052000,"timestamp_ms":1787667052000,"timestamp_seconds":1787667052,"priority":1,"record_length":96,"hex_timestamp":"000001a0394275e0"} 
[2026-08-25 19:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 19:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:41:21] 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-25 19:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642763008001,"66":12287,"89":206,"85":14080,"24":40,"16":124137310907269120,"45":-8169881543950043136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 19:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642763008001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:41:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 19:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124137310907269120,"km_value":124137310907269.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8169881543950043136,"description":"Unknown IO ID 45"} 
[2026-08-25 19:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642763008001,"power":12287,"unknown_89":206,"unknown_85":14080,"ignition":40,"odometer":null,"unknown_45":-8169881543950043136}} 
[2026-08-25 19:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":161949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:41:21] local.INFO: GPS data processed {"connection_id":161949,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:41:21] local.INFO: Acknowledgment sent {"connection_id":161949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:41:22] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:41:22] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:41:22] local.INFO: Packet analysis {"connection_id":161948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:41:22] local.INFO: Extracted packet for processing {"connection_id":161948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:41:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642667520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787666971000,"timestamp_ms":1787666971000,"timestamp_seconds":1787666971,"priority":1,"record_length":96,"hex_timestamp":"000001a039413978"} 
[2026-08-25 19: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-25 19:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:41:22] 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-25 19: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-25 19: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-25 19:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642667520001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642667520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:41:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642667520001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":161948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:41:22] local.INFO: GPS data processed {"connection_id":161948,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:41:22] local.INFO: Acknowledgment sent {"connection_id":161948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:41:41] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:41:41] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:41:41] local.INFO: IMEI packet received {"connection_id":161950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":161950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:41:44] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:41:44] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:41:44] local.INFO: IMEI packet received {"connection_id":161950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":161950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:41:45] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:41:45] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:41:45] local.INFO: Packet analysis {"connection_id":161950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:41:45] local.INFO: Extracted packet for processing {"connection_id":161950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642667520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666971000,"timestamp_ms":1787666971000,"timestamp_seconds":1787666971,"priority":1,"record_length":96,"hex_timestamp":"000001a039413978"} 
[2026-08-25 19:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:41:45] 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-25 19:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:41:45] 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-25 19:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:41:45] 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-25 19:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642667520001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642667520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:41:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642667520001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":161950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:41:45] local.INFO: GPS data processed {"connection_id":161950,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:41:45] local.INFO: Acknowledgment sent {"connection_id":161950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:41:45] local.INFO: TCP Data received {"connection_id":163186,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:45] local.INFO: Processing buffer {"connection_id":163186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:45] local.INFO: IMEI packet received {"connection_id":163186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":163186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:41:46] local.INFO: TCP Data received {"connection_id":163186,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:46] local.INFO: Processing buffer {"connection_id":163186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:46] local.INFO: IMEI packet received {"connection_id":163186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":163186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:41:50] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:41:50] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:41:50] local.INFO: Packet analysis {"connection_id":161950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:41:50] local.INFO: Extracted packet for processing {"connection_id":161950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:41:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642667520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787666971000,"timestamp_ms":1787666971000,"timestamp_seconds":1787666971,"priority":1,"record_length":96,"hex_timestamp":"000001a039413978"} 
[2026-08-25 19: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-25 19:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:41:50] 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-25 19: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-25 19: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-25 19:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:41: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-25 19:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642667520001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642667520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642667520001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":161950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:41:50] local.INFO: GPS data processed {"connection_id":161950,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:41:50] local.INFO: Acknowledgment sent {"connection_id":161950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:41:50] local.INFO: TCP Data received {"connection_id":163186,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:50] local.INFO: Processing buffer {"connection_id":163186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:41:50] local.INFO: IMEI packet received {"connection_id":163186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":163186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:41:52] local.INFO: TCP Data received {"connection_id":163186,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039429908012d8e8d40058c1b500005015a23..."} 
[2026-08-25 19:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039429908012d8e8d40058c1b500005015a23..."} 
[2026-08-25 19:41:52] local.INFO: Processing buffer {"connection_id":163186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039429908012d8e8d40058c1b500005015a23..."} 
[2026-08-25 19:41:52] local.INFO: Packet analysis {"connection_id":163186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03942"} 
[2026-08-25 19:41:52] local.INFO: Extracted packet for processing {"connection_id":163186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03942"} 
[2026-08-25 19:41:52] local.INFO: GPS Element Parsed {"raw_longitude":764316992,"raw_latitude":93068112,"longitude_deg":76.4316992,"latitude_deg":9.3068112,"altitude":5,"angle":346,"satellites":35,"speed":38,"hex_longitude":"2d8e8d40","hex_latitude":"058c1b50","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642765312001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124137753288900608,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8172344449994022912,"note":"Value kept but may cause issues"} 
[2026-08-25 19:41:52] 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-25 19:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787667061000,"timestamp_ms":1787667061000,"timestamp_seconds":1787667061,"priority":1,"record_length":96,"hex_timestamp":"000001a039429908"} 
[2026-08-25 19: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-25 19:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 19:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:41:52] 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-25 19:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642765312001,"66":12232,"89":206,"85":14080,"24":38,"16":124137753288900608,"45":-8172344449994022912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 19:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642765312001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:41:52] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 19:41:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124137753288900608,"km_value":124137753288900.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8172344449994022912,"description":"Unknown IO ID 45"} 
[2026-08-25 19:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642765312001,"power":12232,"unknown_89":206,"unknown_85":14080,"ignition":38,"odometer":null,"unknown_45":-8172344449994022912}} 
[2026-08-25 19:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":163186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:41:52] local.INFO: GPS data processed {"connection_id":163186,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:41:52] local.INFO: Acknowledgment sent {"connection_id":163186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:42:22] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:42:22] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:42:22] local.INFO: Packet analysis {"connection_id":161950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:42:22] local.INFO: Extracted packet for processing {"connection_id":161950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:42:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642667520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:42:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787666971000,"timestamp_ms":1787666971000,"timestamp_seconds":1787666971,"priority":1,"record_length":96,"hex_timestamp":"000001a039413978"} 
[2026-08-25 19: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-25 19:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:42:22] 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-25 19: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-25 19: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-25 19:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642667520001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642667520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:42:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642667520001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":161950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:42:22] local.INFO: GPS data processed {"connection_id":161950,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:42:22] local.INFO: Acknowledgment sent {"connection_id":161950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:42:24] local.INFO: TCP Data received {"connection_id":163186,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03942bc30012d8e87c0058c3ea00007016022..."} 
[2026-08-25 19:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03942bc30012d8e87c0058c3ea00007016022..."} 
[2026-08-25 19:42:24] local.INFO: Processing buffer {"connection_id":163186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03942bc30012d8e87c0058c3ea00007016022..."} 
[2026-08-25 19:42:24] local.INFO: Packet analysis {"connection_id":163186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03942"} 
[2026-08-25 19:42:24] local.INFO: Extracted packet for processing {"connection_id":163186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03942"} 
[2026-08-25 19:42:24] local.INFO: GPS Element Parsed {"raw_longitude":764315584,"raw_latitude":93077152,"longitude_deg":76.4315584,"latitude_deg":9.3077152,"altitude":7,"angle":352,"satellites":34,"speed":39,"hex_longitude":"2d8e87c0","hex_latitude":"058c3ea0","is_valid_coordinates":true} 
[2026-08-25 19:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642767616001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124138199965499392,"note":"Value kept but may cause issues"} 
[2026-08-25 19:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8174807356037967872,"note":"Value kept but may cause issues"} 
[2026-08-25 19:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787667070000,"timestamp_ms":1787667070000,"timestamp_seconds":1787667070,"priority":1,"record_length":96,"hex_timestamp":"000001a03942bc30"} 
[2026-08-25 19:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 19:42:24] 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-25 19:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:42:24] 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-25 19:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642767616001,"66":12287,"17":206,"85":14080,"24":39,"16":124138199965499392,"45":-8174807356037967872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 19:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642767616001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:42:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124138199965499392,"km_value":124138199965499.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8174807356037967872,"description":"Unknown IO ID 45"} 
[2026-08-25 19:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642767616001,"power":12287,"axis_x":206,"unknown_85":14080,"ignition":39,"odometer":null,"unknown_45":-8174807356037967872}} 
[2026-08-25 19:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":163186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:42:24] local.INFO: GPS data processed {"connection_id":163186,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:42:24] local.INFO: Acknowledgment sent {"connection_id":163186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:42:39] local.INFO: TCP Data received {"connection_id":161951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:42:39] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:42:39] local.INFO: IMEI packet received {"connection_id":161951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":161951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:42:39] local.INFO: TCP Data received {"connection_id":164575,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:42:39] local.INFO: Processing buffer {"connection_id":164575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:42:39] local.INFO: IMEI packet received {"connection_id":164575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 19:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":164575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:42:40] local.INFO: TCP Data received {"connection_id":162195,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:42:40] local.INFO: Processing buffer {"connection_id":162195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:42:40] local.INFO: IMEI packet received {"connection_id":162195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":162195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:42:41] local.INFO: TCP Data received {"connection_id":162195,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:42:41] local.INFO: Processing buffer {"connection_id":162195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:42:41] local.INFO: IMEI packet received {"connection_id":162195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":162195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:42:44] local.INFO: TCP Data received {"connection_id":161951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:42:44] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:42:44] local.INFO: IMEI packet received {"connection_id":161951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":161951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:42:45] local.INFO: TCP Data received {"connection_id":161951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:42:45] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:42:45] local.INFO: Packet analysis {"connection_id":161951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:42:45] local.INFO: Extracted packet for processing {"connection_id":161951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642667520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:42:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787666971000,"timestamp_ms":1787666971000,"timestamp_seconds":1787666971,"priority":1,"record_length":96,"hex_timestamp":"000001a039413978"} 
[2026-08-25 19:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:42:45] 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-25 19:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:42:45] 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-25 19:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642667520001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642667520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642667520001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":161951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:42:45] local.INFO: GPS data processed {"connection_id":161951,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:42:45] local.INFO: Acknowledgment sent {"connection_id":161951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:42:47] local.INFO: TCP Data received {"connection_id":162195,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:42:47] local.INFO: Processing buffer {"connection_id":162195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:42:47] local.INFO: IMEI packet received {"connection_id":162195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":162195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:42:49] local.INFO: TCP Data received {"connection_id":162195,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03942e340012d8e8080058c63d00007015825..."} 
[2026-08-25 19:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03942e340012d8e8080058c63d00007015825..."} 
[2026-08-25 19:42:49] local.INFO: Processing buffer {"connection_id":162195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03942e340012d8e8080058c63d00007015825..."} 
[2026-08-25 19:42:49] local.INFO: Packet analysis {"connection_id":162195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03942"} 
[2026-08-25 19:42:49] local.INFO: Extracted packet for processing {"connection_id":162195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03942"} 
[2026-08-25 19:42:49] local.INFO: GPS Element Parsed {"raw_longitude":764313728,"raw_latitude":93086672,"longitude_deg":76.4313728,"latitude_deg":9.3086672,"altitude":7,"angle":344,"satellites":37,"speed":41,"hex_longitude":"2d8e8080","hex_latitude":"058c63d0","is_valid_coordinates":true} 
[2026-08-25 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-25 19:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642769920001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124138668116934656,"note":"Value kept but may cause issues"} 
[2026-08-25 19:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8176355468407562240,"note":"Value kept but may cause issues"} 
[2026-08-25 19:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787667080000,"timestamp_ms":1787667080000,"timestamp_seconds":1787667080,"priority":1,"record_length":96,"hex_timestamp":"000001a03942e340"} 
[2026-08-25 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-25 19:42: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-25 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 19:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 19:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:42:49] 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-25 19:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642769920001,"66":12026,"17":206,"85":14080,"24":41,"16":124138668116934656,"45":-8176355468407562240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 19:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642769920001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:42:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124138668116934656,"km_value":124138668116934.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8176355468407562240,"description":"Unknown IO ID 45"} 
[2026-08-25 19:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642769920001,"power":12026,"axis_x":206,"unknown_85":14080,"ignition":41,"odometer":null,"unknown_45":-8176355468407562240}} 
[2026-08-25 19:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":162195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:42:49] local.INFO: GPS data processed {"connection_id":162195,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:42:49] local.INFO: Acknowledgment sent {"connection_id":162195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:43:02] local.INFO: TCP Data received {"connection_id":161952,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:43:02] local.INFO: Processing buffer {"connection_id":161952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:43:02] local.INFO: IMEI packet received {"connection_id":161952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 19:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":161952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:43:17] local.INFO: TCP Data received {"connection_id":161951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:43:17] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:43:17] local.INFO: Packet analysis {"connection_id":161951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:43:17] local.INFO: Extracted packet for processing {"connection_id":161951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642667520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787666971000,"timestamp_ms":1787666971000,"timestamp_seconds":1787666971,"priority":1,"record_length":96,"hex_timestamp":"000001a039413978"} 
[2026-08-25 19:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:43: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-25 19:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:43:17] 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-25 19:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642667520001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642667520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:43:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642667520001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":161951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:43:17] local.INFO: GPS data processed {"connection_id":161951,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:43:17] local.INFO: Acknowledgment sent {"connection_id":161951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:43:26] local.INFO: TCP Data received {"connection_id":162195,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039449ca8012d8d3980058de878000c01002e..."} 
[2026-08-25 19:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039449ca8012d8d3980058de878000c01002e..."} 
[2026-08-25 19:43:26] local.INFO: Processing buffer {"connection_id":162195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039449ca8012d8d3980058de878000c01002e..."} 
[2026-08-25 19:43:26] local.INFO: Packet analysis {"connection_id":162195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03944"} 
[2026-08-25 19:43:26] local.INFO: Extracted packet for processing {"connection_id":162195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03944"} 
[2026-08-25 19:43:26] local.INFO: GPS Element Parsed {"raw_longitude":764230016,"raw_latitude":93186168,"longitude_deg":76.4230016,"latitude_deg":9.3186168,"altitude":12,"angle":256,"satellites":46,"speed":53,"hex_longitude":"2d8d3980","hex_latitude":"058de878","is_valid_coordinates":true} 
[2026-08-25 19:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642799360001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124145484230033408,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8260164642694844416,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787667193000,"timestamp_ms":1787667193000,"timestamp_seconds":1787667193,"priority":1,"record_length":96,"hex_timestamp":"000001a039449ca8"} 
[2026-08-25 19:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 19:43:26] 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-25 19:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:43:26] 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-25 19:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642799360001,"66":12232,"211":206,"85":14080,"24":53,"16":124145484230033408,"45":-8260164642694844416},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-08-25 19:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642799360001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:43:26] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-25 19:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124145484230033408,"km_value":124145484230033.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8260164642694844416,"description":"Unknown IO ID 45"} 
[2026-08-25 19:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642799360001,"power":12232,"unknown_211":206,"unknown_85":14080,"ignition":53,"odometer":null,"unknown_45":-8260164642694844416}} 
[2026-08-25 19:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":162195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:43:26] local.INFO: GPS data processed {"connection_id":162195,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:43:26] local.INFO: Acknowledgment sent {"connection_id":162195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:43:39] local.INFO: TCP Data received {"connection_id":163187,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:43:39] local.INFO: Processing buffer {"connection_id":163187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:43:39] local.INFO: IMEI packet received {"connection_id":163187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":163187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:43:45] local.INFO: TCP Data received {"connection_id":163187,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:43:45] local.INFO: Processing buffer {"connection_id":163187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:43:45] local.INFO: IMEI packet received {"connection_id":163187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":163187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:43:46] local.INFO: TCP Data received {"connection_id":163187,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:43:46] local.INFO: Processing buffer {"connection_id":163187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:43:46] local.INFO: Packet analysis {"connection_id":163187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:43:46] local.INFO: Extracted packet for processing {"connection_id":163187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:43:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642667520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787666971000,"timestamp_ms":1787666971000,"timestamp_seconds":1787666971,"priority":1,"record_length":96,"hex_timestamp":"000001a039413978"} 
[2026-08-25 19:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:43:46] 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-25 19:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:43:46] 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-25 19:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642667520001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642667520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:43:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642667520001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":163187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:43:46] local.INFO: GPS data processed {"connection_id":163187,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:43:46] local.INFO: Acknowledgment sent {"connection_id":163187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:43:50] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:43:50] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:43:50] local.INFO: IMEI packet received {"connection_id":161954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":161954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:43:51] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:43:51] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:43:51] local.INFO: IMEI packet received {"connection_id":161954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":161954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:43:52] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039449ca8012d8d3980058de878000c01002e..."} 
[2026-08-25 19:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039449ca8012d8d3980058de878000c01002e..."} 
[2026-08-25 19:43:52] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039449ca8012d8d3980058de878000c01002e..."} 
[2026-08-25 19:43:52] local.INFO: Packet analysis {"connection_id":161954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03944"} 
[2026-08-25 19:43:52] local.INFO: Extracted packet for processing {"connection_id":161954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03944"} 
[2026-08-25 19:43:52] local.INFO: GPS Element Parsed {"raw_longitude":764230016,"raw_latitude":93186168,"longitude_deg":76.4230016,"latitude_deg":9.3186168,"altitude":12,"angle":256,"satellites":46,"speed":53,"hex_longitude":"2d8d3980","hex_latitude":"058de878","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642801408001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124145484230033408,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8270438479345190912,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787667193000,"timestamp_ms":1787667193000,"timestamp_seconds":1787667193,"priority":1,"record_length":96,"hex_timestamp":"000001a039449ca8"} 
[2026-08-25 19: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-25 19:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 19:43:52] 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-25 19: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-25 19: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-25 19:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:43:52] 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-25 19:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642801408001,"66":12232,"211":206,"85":14080,"24":53,"16":124145484230033408,"45":-8270438479345190912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-08-25 19:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642801408001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:43:52] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-25 19:43:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124145484230033408,"km_value":124145484230033.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8270438479345190912,"description":"Unknown IO ID 45"} 
[2026-08-25 19:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642801408001,"power":12232,"unknown_211":206,"unknown_85":14080,"ignition":53,"odometer":null,"unknown_45":-8270438479345190912}} 
[2026-08-25 19:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":161954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:43:52] local.INFO: GPS data processed {"connection_id":161954,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:43:52] local.INFO: Acknowledgment sent {"connection_id":161954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:43:56] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03944b800012d8d1580058dde80000a00fe2e..."} 
[2026-08-25 19:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03944b800012d8d1580058dde80000a00fe2e..."} 
[2026-08-25 19:43:56] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03944b800012d8d1580058dde80000a00fe2e..."} 
[2026-08-25 19:43:56] local.INFO: Packet analysis {"connection_id":161954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03944"} 
[2026-08-25 19:43:56] local.INFO: Extracted packet for processing {"connection_id":161954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03944"} 
[2026-08-25 19:43:56] local.INFO: GPS Element Parsed {"raw_longitude":764220800,"raw_latitude":93183616,"longitude_deg":76.42208,"latitude_deg":9.3183616,"altitude":10,"angle":254,"satellites":46,"speed":52,"hex_longitude":"2d8d1580","hex_latitude":"058dde80","is_valid_coordinates":true} 
[2026-08-25 19:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642801408001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124145943791534080,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8270438479345190912,"note":"Value kept but may cause issues"} 
[2026-08-25 19:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787667200000,"timestamp_ms":1787667200000,"timestamp_seconds":1787667200,"priority":1,"record_length":96,"hex_timestamp":"000001a03944b800"} 
[2026-08-25 19:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 19:43:56] 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-25 19:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:43:56] 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-25 19:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642801408001,"66":11863,"211":206,"85":14080,"24":52,"16":124145943791534080,"45":-8270438479345190912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-08-25 19:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642801408001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:43:56] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-25 19:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124145943791534080,"km_value":124145943791534.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8270438479345190912,"description":"Unknown IO ID 45"} 
[2026-08-25 19:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642801408001,"power":11863,"unknown_211":206,"unknown_85":14080,"ignition":52,"odometer":null,"unknown_45":-8270438479345190912}} 
[2026-08-25 19:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":161954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:43:56] local.INFO: GPS data processed {"connection_id":161954,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:43:56] local.INFO: Acknowledgment sent {"connection_id":161954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:44:18] local.INFO: TCP Data received {"connection_id":163187,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:44:18] local.INFO: Processing buffer {"connection_id":163187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:44:18] local.INFO: Packet analysis {"connection_id":163187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:44:18] local.INFO: Extracted packet for processing {"connection_id":163187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:44:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642667520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787666971000,"timestamp_ms":1787666971000,"timestamp_seconds":1787666971,"priority":1,"record_length":96,"hex_timestamp":"000001a039413978"} 
[2026-08-25 19:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:44:18] 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-25 19:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:44:18] 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-25 19:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:44:18] 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-25 19:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642667520001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642667520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:44:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642667520001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":163187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:44:18] local.INFO: GPS data processed {"connection_id":163187,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:44:18] local.INFO: Acknowledgment sent {"connection_id":163187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:44:40] local.INFO: TCP Data received {"connection_id":163188,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:44:40] local.INFO: Processing buffer {"connection_id":163188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:44:40] local.INFO: IMEI packet received {"connection_id":163188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":163188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:44:45] local.INFO: TCP Data received {"connection_id":163188,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:44:45] local.INFO: Processing buffer {"connection_id":163188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:44:45] local.INFO: IMEI packet received {"connection_id":163188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":163188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:44:45] local.INFO: TCP Data received {"connection_id":163189,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:44:45] local.INFO: Processing buffer {"connection_id":163189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:44:45] local.INFO: IMEI packet received {"connection_id":163189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":163189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:44:46] local.INFO: TCP Data received {"connection_id":163188,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03944d358012d8cf200058dd3c0000900fc2e..."} 
[2026-08-25 19:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03944d358012d8cf200058dd3c0000900fc2e..."} 
[2026-08-25 19:44:46] local.INFO: Processing buffer {"connection_id":163188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03944d358012d8cf200058dd3c0000900fc2e..."} 
[2026-08-25 19:44:46] local.INFO: Packet analysis {"connection_id":163188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03944"} 
[2026-08-25 19:44:46] local.INFO: Extracted packet for processing {"connection_id":163188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03944"} 
[2026-08-25 19:44:46] local.INFO: GPS Element Parsed {"raw_longitude":764211712,"raw_latitude":93180864,"longitude_deg":76.4211712,"latitude_deg":9.3180864,"altitude":9,"angle":252,"satellites":46,"speed":54,"hex_longitude":"2d8cf200","hex_latitude":"058dd3c0","is_valid_coordinates":true} 
[2026-08-25 19:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642803200001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124146399058067456,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8280571578507427840,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787667207000,"timestamp_ms":1787667207000,"timestamp_seconds":1787667207,"priority":1,"record_length":96,"hex_timestamp":"000001a03944d358"} 
[2026-08-25 19:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-25 19:44:46] 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-25 19:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:44:46] 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-25 19:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642803200001,"66":12156,"211":206,"85":14080,"24":54,"16":124146399058067456,"45":-8280571578507427840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-08-25 19:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642803200001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:44:46] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-25 19:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124146399058067456,"km_value":124146399058067.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8280571578507427840,"description":"Unknown IO ID 45"} 
[2026-08-25 19:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642803200001,"power":12156,"unknown_211":206,"unknown_85":14080,"ignition":54,"odometer":null,"unknown_45":-8280571578507427840}} 
[2026-08-25 19:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":163188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:44:46] local.INFO: GPS data processed {"connection_id":163188,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:44:46] local.INFO: Acknowledgment sent {"connection_id":163188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:44:46] local.INFO: TCP Data received {"connection_id":163188,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03944eeb0012d8ccdc0058dc738000900f92e..."} 
[2026-08-25 19:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03944eeb0012d8ccdc0058dc738000900f92e..."} 
[2026-08-25 19:44:46] local.INFO: Processing buffer {"connection_id":163188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03944eeb0012d8ccdc0058dc738000900f92e..."} 
[2026-08-25 19:44:46] local.INFO: Packet analysis {"connection_id":163188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03944"} 
[2026-08-25 19:44:46] local.INFO: Extracted packet for processing {"connection_id":163188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03944"} 
[2026-08-25 19:44:46] local.INFO: GPS Element Parsed {"raw_longitude":764202432,"raw_latitude":93177656,"longitude_deg":76.4202432,"latitude_deg":9.3177656,"altitude":9,"angle":249,"satellites":46,"speed":56,"hex_longitude":"2d8ccdc0","hex_latitude":"058dc738","is_valid_coordinates":true} 
[2026-08-25 19:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642804992001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124146867209502720,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8290563940181360640,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787667214000,"timestamp_ms":1787667214000,"timestamp_seconds":1787667214,"priority":1,"record_length":96,"hex_timestamp":"000001a03944eeb0"} 
[2026-08-25 19:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 19:44:46] 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-25 19:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:44:46] 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-25 19:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642804992001,"66":12200,"211":206,"85":14080,"24":56,"16":124146867209502720,"45":-8290563940181360640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,45]} 
[2026-08-25 19:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642804992001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:44:46] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-25 19:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124146867209502720,"km_value":124146867209502.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8290563940181360640,"description":"Unknown IO ID 45"} 
[2026-08-25 19:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642804992001,"power":12200,"unknown_211":206,"unknown_85":14080,"ignition":56,"odometer":null,"unknown_45":-8290563940181360640}} 
[2026-08-25 19:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":163188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:44:46] local.INFO: GPS data processed {"connection_id":163188,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:44:46] local.INFO: Acknowledgment sent {"connection_id":163188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:44:49] local.INFO: TCP Data received {"connection_id":163189,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:44:49] local.INFO: Processing buffer {"connection_id":163189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:44:49] local.INFO: IMEI packet received {"connection_id":163189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":163189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:44:50] local.INFO: TCP Data received {"connection_id":163189,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:44:50] local.INFO: Processing buffer {"connection_id":163189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:44:50] local.INFO: Packet analysis {"connection_id":163189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:44:50] local.INFO: Extracted packet for processing {"connection_id":163189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:44:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642667520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787666971000,"timestamp_ms":1787666971000,"timestamp_seconds":1787666971,"priority":1,"record_length":96,"hex_timestamp":"000001a039413978"} 
[2026-08-25 19: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-25 19:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:44:50] 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-25 19: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-25 19: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-25 19:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642667520001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642667520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:44:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642667520001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":163189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:44:50] local.INFO: GPS data processed {"connection_id":163189,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:44:50] local.INFO: Acknowledgment sent {"connection_id":163189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:44:55] local.INFO: TCP Data received {"connection_id":163189,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:44:55] local.INFO: Processing buffer {"connection_id":163189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039413978012d34c14006aa4818000e00e630..."} 
[2026-08-25 19:44:55] local.INFO: Packet analysis {"connection_id":163189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:44:55] local.INFO: Extracted packet for processing {"connection_id":163189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03941"} 
[2026-08-25 19:44:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642667520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787666971000,"timestamp_ms":1787666971000,"timestamp_seconds":1787666971,"priority":1,"record_length":96,"hex_timestamp":"000001a039413978"} 
[2026-08-25 19:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:44:55] 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-25 19:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:44:55] 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-25 19:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:44: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-25 19:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642667520001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642667520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:44:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642667520001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":163189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:44:55] local.INFO: GPS data processed {"connection_id":163189,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:44:55] local.INFO: Acknowledgment sent {"connection_id":163189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:45:18] local.INFO: TCP Data received {"connection_id":163188,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039462348012d8c0780058d80a8000500e82c..."} 
[2026-08-25 19:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039462348012d8c0780058d80a8000500e82c..."} 
[2026-08-25 19:45:18] local.INFO: Processing buffer {"connection_id":163188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039462348012d8c0780058d80a8000500e82c..."} 
[2026-08-25 19:45:18] local.INFO: Packet analysis {"connection_id":163188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03946"} 
[2026-08-25 19:45:18] local.INFO: Extracted packet for processing {"connection_id":163188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03946"} 
[2026-08-25 19:45:18] local.INFO: GPS Element Parsed {"raw_longitude":764151680,"raw_latitude":93159592,"longitude_deg":76.415168,"latitude_deg":9.3159592,"altitude":5,"angle":232,"satellites":44,"speed":6,"hex_longitude":"2d8c0780","hex_latitude":"058d80a8","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642826496001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149469959684096,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8356288347248668672,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787667293000,"timestamp_ms":1787667293000,"timestamp_seconds":1787667293,"priority":1,"record_length":96,"hex_timestamp":"000001a039462348"} 
[2026-08-25 19: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-25 19: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-25 19: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":10,"data_length":795,"current_offset":136} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3963194060952306176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186041,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-8286623314361712639,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4126801562396626022,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7318349395132420,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":64,"raw_value":400152550961578240,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2375469056,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145244307662,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":141,"raw_value":2292711430,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1188364494,"corrected_to":0} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221589388,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":70700797276454912,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,14,85,24,241,157,16,17,160,19,45,64,130,5,43,10,66,4,131,6,213,252,128,1,240,103,227,57,141,113,205,13,178,32,80,239,46,2,185,7],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1188364494,"validated":0}]} 
[2026-08-25 19:45:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360522350850408448,"timestamp_seconds":360522350850408.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 19: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-25 19:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:45:18] 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-25 19:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642826496001,"66":12211,"14":206,"85":14080,"24":6,"16":124149469959684096,"45":-8356288347248668672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642826496001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:45:18] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:45:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149469959684096,"km_value":124149469959684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8356288347248668672,"description":"Unknown IO ID 45"} 
[2026-08-25 19:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642826496001,"power":12211,"unknown_14":206,"unknown_85":14080,"ignition":6,"odometer":null,"unknown_45":-8356288347248668672}} 
[2026-08-25 19:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":163188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:45:18] local.INFO: GPS data processed {"connection_id":163188,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:45:18] local.INFO: Acknowledgment sent {"connection_id":163188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:45:39] local.INFO: TCP Data received {"connection_id":162196,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:45:39] local.INFO: Processing buffer {"connection_id":162196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:45:39] local.INFO: IMEI packet received {"connection_id":162196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":162196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:45:40] local.INFO: TCP Data received {"connection_id":162197,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:45:40] local.INFO: Processing buffer {"connection_id":162197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:45:40] local.INFO: IMEI packet received {"connection_id":162197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":162197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:45:45] local.INFO: TCP Data received {"connection_id":162197,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:45:45] local.INFO: Processing buffer {"connection_id":162197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:45:45] local.INFO: IMEI packet received {"connection_id":162197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":162197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:45:46] local.INFO: TCP Data received {"connection_id":162196,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:45:46] local.INFO: Processing buffer {"connection_id":162196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:45:46] local.INFO: IMEI packet received {"connection_id":162196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":162196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:45:46] local.INFO: TCP Data received {"connection_id":162197,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039462730012d8c0700058d8058000600fa2c..."} 
[2026-08-25 19:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039462730012d8c0700058d8058000600fa2c..."} 
[2026-08-25 19:45:46] local.INFO: Processing buffer {"connection_id":162197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039462730012d8c0700058d8058000600fa2c..."} 
[2026-08-25 19:45:46] local.INFO: Packet analysis {"connection_id":162197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03946"} 
[2026-08-25 19:45:46] local.INFO: Extracted packet for processing {"connection_id":162197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03946"} 
[2026-08-25 19:45:46] local.INFO: GPS Element Parsed {"raw_longitude":764151552,"raw_latitude":93159512,"longitude_deg":76.4151552,"latitude_deg":9.3159512,"altitude":6,"angle":250,"satellites":44,"speed":6,"hex_longitude":"2d8c0700","hex_latitude":"058d8058","is_valid_coordinates":true} 
[2026-08-25 19:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642827008001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149478549618688,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8356569822225455104,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787667294000,"timestamp_ms":1787667294000,"timestamp_seconds":1787667294,"priority":1,"record_length":96,"hex_timestamp":"000001a039462730"} 
[2026-08-25 19:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 19:45:46] 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-25 19:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:45:46] 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-25 19:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642827008001,"66":12211,"14":206,"85":14080,"24":6,"16":124149478549618688,"45":-8356569822225455104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642827008001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:45:46] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:45:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149478549618688,"km_value":124149478549618.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8356569822225455104,"description":"Unknown IO ID 45"} 
[2026-08-25 19:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642827008001,"power":12211,"unknown_14":206,"unknown_85":14080,"ignition":6,"odometer":null,"unknown_45":-8356569822225455104}} 
[2026-08-25 19:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":162197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:45:46] local.INFO: GPS data processed {"connection_id":162197,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:45:46] local.INFO: Acknowledgment sent {"connection_id":162197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:45:47] local.INFO: TCP Data received {"connection_id":162196,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:45:47] local.INFO: Processing buffer {"connection_id":162196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:45:47] local.INFO: Packet analysis {"connection_id":162196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:45:47] local.INFO: Extracted packet for processing {"connection_id":162196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642744576001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787667272000,"timestamp_ms":1787667272000,"timestamp_seconds":1787667272,"priority":1,"record_length":96,"hex_timestamp":"000001a03945d140"} 
[2026-08-25 19:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642744576001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642744576001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642744576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":162196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:45:47] local.INFO: GPS data processed {"connection_id":162196,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:45:47] local.INFO: Acknowledgment sent {"connection_id":162196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:46:17] local.INFO: TCP Data received {"connection_id":162197,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039467550012d8c04c0058d8018000600fa2e..."} 
[2026-08-25 19:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039467550012d8c04c0058d8018000600fa2e..."} 
[2026-08-25 19:46:17] local.INFO: Processing buffer {"connection_id":162197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039467550012d8c04c0058d8018000600fa2e..."} 
[2026-08-25 19:46:17] local.INFO: Packet analysis {"connection_id":162197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03946"} 
[2026-08-25 19:46:17] local.INFO: Extracted packet for processing {"connection_id":162197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03946"} 
[2026-08-25 19:46:17] local.INFO: GPS Element Parsed {"raw_longitude":764150976,"raw_latitude":93159448,"longitude_deg":76.4150976,"latitude_deg":9.3159448,"altitude":6,"angle":250,"satellites":46,"speed":0,"hex_longitude":"2d8c04c0","hex_latitude":"058d8018","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642827264001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149504319422464,"note":"Value kept but may cause issues"} 
[2026-08-25 19:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8356710559713830912,"note":"Value kept but may cause issues"} 
[2026-08-25 19:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787667314000,"timestamp_ms":1787667314000,"timestamp_seconds":1787667314,"priority":1,"record_length":96,"hex_timestamp":"000001a039467550"} 
[2026-08-25 19: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-25 19:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 19:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:46:17] 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-25 19:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642827264001,"66":12341,"14":206,"85":14080,"24":0,"16":124149504319422464,"45":-8356710559713830912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642827264001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:46:17] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:46:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149504319422464,"km_value":124149504319422.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8356710559713830912,"description":"Unknown IO ID 45"} 
[2026-08-25 19:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642827264001,"power":12341,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8356710559713830912}} 
[2026-08-25 19:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":162197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:46:17] local.INFO: GPS data processed {"connection_id":162197,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:46:17] local.INFO: Acknowledgment sent {"connection_id":162197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:46:18] local.INFO: TCP Data received {"connection_id":162196,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:46:18] local.INFO: Processing buffer {"connection_id":162196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:46:18] local.INFO: Packet analysis {"connection_id":162196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:46:18] local.INFO: Extracted packet for processing {"connection_id":162196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:46:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642744576001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:46:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787667272000,"timestamp_ms":1787667272000,"timestamp_seconds":1787667272,"priority":1,"record_length":96,"hex_timestamp":"000001a03945d140"} 
[2026-08-25 19:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:46:18] 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-25 19:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:46:18] 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-25 19:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642744576001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642744576001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:46:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642744576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":162196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:46:18] local.INFO: GPS data processed {"connection_id":162196,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:46:18] local.INFO: Acknowledgment sent {"connection_id":162196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:46:39] local.INFO: TCP Data received {"connection_id":161955,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:46:39] local.INFO: Processing buffer {"connection_id":161955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:46:39] local.INFO: IMEI packet received {"connection_id":161955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":161955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:46:39] local.INFO: TCP Data received {"connection_id":163190,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:46:39] local.INFO: Processing buffer {"connection_id":163190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:46:39] local.INFO: IMEI packet received {"connection_id":163190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":163190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:46:40] local.INFO: TCP Data received {"connection_id":163190,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:46:40] local.INFO: Processing buffer {"connection_id":163190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:46:40] local.INFO: IMEI packet received {"connection_id":163190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":163190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:46:44] local.INFO: TCP Data received {"connection_id":161955,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:46:44] local.INFO: Processing buffer {"connection_id":161955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:46:44] local.INFO: IMEI packet received {"connection_id":161955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":161955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:46:45] local.INFO: TCP Data received {"connection_id":161955,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:46:45] local.INFO: Processing buffer {"connection_id":161955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:46:45] local.INFO: Packet analysis {"connection_id":161955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:46:45] local.INFO: Extracted packet for processing {"connection_id":161955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642744576001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:46:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787667272000,"timestamp_ms":1787667272000,"timestamp_seconds":1787667272,"priority":1,"record_length":96,"hex_timestamp":"000001a03945d140"} 
[2026-08-25 19:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:46:45] 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-25 19:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:46:45] 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-25 19:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642744576001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642744576001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642744576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":161955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:46:45] local.INFO: GPS data processed {"connection_id":161955,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:46:45] local.INFO: Acknowledgment sent {"connection_id":161955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:46:45] local.INFO: TCP Data received {"connection_id":163190,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:46:45] local.INFO: Processing buffer {"connection_id":163190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:46:45] local.INFO: IMEI packet received {"connection_id":163190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":163190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:46:46] local.INFO: TCP Data received {"connection_id":163190,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03946c758012d8c0140058d7fa8000900fa2e..."} 
[2026-08-25 19:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03946c758012d8c0140058d7fa8000900fa2e..."} 
[2026-08-25 19:46:46] local.INFO: Processing buffer {"connection_id":163190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03946c758012d8c0140058d7fa8000900fa2e..."} 
[2026-08-25 19:46:46] local.INFO: Packet analysis {"connection_id":163190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03946"} 
[2026-08-25 19:46:46] local.INFO: Extracted packet for processing {"connection_id":163190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03946"} 
[2026-08-25 19:46:46] local.INFO: GPS Element Parsed {"raw_longitude":764150080,"raw_latitude":93159336,"longitude_deg":76.415008,"latitude_deg":9.3159336,"altitude":9,"angle":250,"satellites":46,"speed":1,"hex_longitude":"2d8c0140","hex_latitude":"058d7fa8","is_valid_coordinates":true} 
[2026-08-25 19:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642832384001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149551564062720,"note":"Value kept but may cause issues"} 
[2026-08-25 19:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8357343878411446272,"note":"Value kept but may cause issues"} 
[2026-08-25 19:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787667335000,"timestamp_ms":1787667335000,"timestamp_seconds":1787667335,"priority":1,"record_length":96,"hex_timestamp":"000001a03946c758"} 
[2026-08-25 19:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 19:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:46:46] 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-25 19:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642832384001,"66":12330,"14":206,"85":14080,"24":1,"16":124149551564062720,"45":-8357343878411446272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642832384001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:46:46] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:46:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149551564062720,"km_value":124149551564062.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8357343878411446272,"description":"Unknown IO ID 45"} 
[2026-08-25 19:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642832384001,"power":12330,"unknown_14":206,"unknown_85":14080,"ignition":1,"odometer":null,"unknown_45":-8357343878411446272}} 
[2026-08-25 19:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":163190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:46:46] local.INFO: GPS data processed {"connection_id":163190,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:46:46] local.INFO: Acknowledgment sent {"connection_id":163190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:47:17] local.INFO: TCP Data received {"connection_id":163190,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039471960012d8c0080058d7e70000b00fa2d..."} 
[2026-08-25 19:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039471960012d8c0080058d7e70000b00fa2d..."} 
[2026-08-25 19:47:17] local.INFO: Processing buffer {"connection_id":163190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039471960012d8c0080058d7e70000b00fa2d..."} 
[2026-08-25 19:47:17] local.INFO: Packet analysis {"connection_id":163190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03947"} 
[2026-08-25 19:47:17] local.INFO: Extracted packet for processing {"connection_id":163190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03947"} 
[2026-08-25 19:47:17] local.INFO: GPS Element Parsed {"raw_longitude":764149888,"raw_latitude":93159024,"longitude_deg":76.4149888,"latitude_deg":9.3159024,"altitude":11,"angle":250,"satellites":45,"speed":0,"hex_longitude":"2d8c0080","hex_latitude":"058d7e70","is_valid_coordinates":true} 
[2026-08-25 19:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642837760001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149603103670272,"note":"Value kept but may cause issues"} 
[2026-08-25 19:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358329040829962240,"note":"Value kept but may cause issues"} 
[2026-08-25 19:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787667356000,"timestamp_ms":1787667356000,"timestamp_seconds":1787667356,"priority":1,"record_length":96,"hex_timestamp":"000001a039471960"} 
[2026-08-25 19:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 19:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:47:17] 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-25 19:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642837760001,"66":12232,"14":206,"85":14080,"24":0,"16":124149603103670272,"45":-8358329040829962240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642837760001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:47:17] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:47:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149603103670272,"km_value":124149603103670.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358329040829962240,"description":"Unknown IO ID 45"} 
[2026-08-25 19:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642837760001,"power":12232,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358329040829962240}} 
[2026-08-25 19:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":163190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:47:17] local.INFO: GPS data processed {"connection_id":163190,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:47:17] local.INFO: Acknowledgment sent {"connection_id":163190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:47:24] local.INFO: TCP Data received {"connection_id":161955,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:47:24] local.INFO: Processing buffer {"connection_id":161955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:47:24] local.INFO: Packet analysis {"connection_id":161955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:47:24] local.INFO: Extracted packet for processing {"connection_id":161955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642744576001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:47:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787667272000,"timestamp_ms":1787667272000,"timestamp_seconds":1787667272,"priority":1,"record_length":96,"hex_timestamp":"000001a03945d140"} 
[2026-08-25 19:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:47:24] 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-25 19:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:47:24] 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-25 19:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642744576001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642744576001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642744576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":161955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:47:24] local.INFO: GPS data processed {"connection_id":161955,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:47:24] local.INFO: Acknowledgment sent {"connection_id":161955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:47:40] local.INFO: TCP Data received {"connection_id":164579,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:47:40] local.INFO: Processing buffer {"connection_id":164579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:47:40] local.INFO: IMEI packet received {"connection_id":164579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":164579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:47:40] local.INFO: TCP Data received {"connection_id":164578,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:47:40] local.INFO: Processing buffer {"connection_id":164578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:47:40] local.INFO: IMEI packet received {"connection_id":164578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":164578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:47:42] local.INFO: TCP Data received {"connection_id":164578,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:47:42] local.INFO: Processing buffer {"connection_id":164578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:47:42] local.INFO: IMEI packet received {"connection_id":164578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":164578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:47:45] local.INFO: TCP Data received {"connection_id":164579,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:47:45] local.INFO: Processing buffer {"connection_id":164579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:47:45] local.INFO: IMEI packet received {"connection_id":164579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":164579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:47:45] local.INFO: TCP Data received {"connection_id":164578,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:47:45] local.INFO: Processing buffer {"connection_id":164578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:47:45] local.INFO: IMEI packet received {"connection_id":164578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":164578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:47:46] local.INFO: TCP Data received {"connection_id":164579,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:47:46] local.INFO: Processing buffer {"connection_id":164579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:47:46] local.INFO: Packet analysis {"connection_id":164579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:47:46] local.INFO: Extracted packet for processing {"connection_id":164579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642744576001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:47:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787667272000,"timestamp_ms":1787667272000,"timestamp_seconds":1787667272,"priority":1,"record_length":96,"hex_timestamp":"000001a03945d140"} 
[2026-08-25 19:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:47:46] 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-25 19:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:47:46] 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-25 19:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642744576001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642744576001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642744576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":164579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:47:46] local.INFO: GPS data processed {"connection_id":164579,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:47:46] local.INFO: Acknowledgment sent {"connection_id":164579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:47:46] local.INFO: TCP Data received {"connection_id":164578,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039476b68012d8c00c0058d7c90000b00fa2b..."} 
[2026-08-25 19:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039476b68012d8c00c0058d7c90000b00fa2b..."} 
[2026-08-25 19:47:46] local.INFO: Processing buffer {"connection_id":164578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039476b68012d8c00c0058d7c90000b00fa2b..."} 
[2026-08-25 19:47:46] local.INFO: Packet analysis {"connection_id":164578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03947"} 
[2026-08-25 19:47:46] local.INFO: Extracted packet for processing {"connection_id":164578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03947"} 
[2026-08-25 19:47:46] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642843136001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358540147062575104,"note":"Value kept but may cause issues"} 
[2026-08-25 19:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787667377000,"timestamp_ms":1787667377000,"timestamp_seconds":1787667377,"priority":1,"record_length":96,"hex_timestamp":"000001a039476b68"} 
[2026-08-25 19:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 19:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:47:46] 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-25 19:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642843136001,"66":12972,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358540147062575104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642843136001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:47:46] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:47:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358540147062575104,"description":"Unknown IO ID 45"} 
[2026-08-25 19:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642843136001,"power":12972,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358540147062575104}} 
[2026-08-25 19:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":164578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:47:46] local.INFO: GPS data processed {"connection_id":164578,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:47:46] local.INFO: Acknowledgment sent {"connection_id":164578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:48:09] local.INFO: TCP Data received {"connection_id":163191,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:48:09] local.INFO: Processing buffer {"connection_id":163191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:48:09] local.INFO: IMEI packet received {"connection_id":163191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 19:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":163191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:48:17] local.INFO: TCP Data received {"connection_id":164578,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03947bd70012d8c00c0058d7c90000b00fa2b..."} 
[2026-08-25 19:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03947bd70012d8c00c0058d7c90000b00fa2b..."} 
[2026-08-25 19:48:17] local.INFO: Processing buffer {"connection_id":164578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03947bd70012d8c00c0058d7c90000b00fa2b..."} 
[2026-08-25 19:48:17] local.INFO: Packet analysis {"connection_id":164578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03947"} 
[2026-08-25 19:48:17] local.INFO: Extracted packet for processing {"connection_id":164578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03947"} 
[2026-08-25 19:48:17] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642848512001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787667398000,"timestamp_ms":1787667398000,"timestamp_seconds":1787667398,"priority":1,"record_length":96,"hex_timestamp":"000001a03947bd70"} 
[2026-08-25 19:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-25 19:48:17] 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-25 19:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:48:17] 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-25 19:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642848512001,"66":13450,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642848512001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:48:17] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:48:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642848512001,"power":13450,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":164578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:48:17] local.INFO: GPS data processed {"connection_id":164578,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:48:17] local.INFO: Acknowledgment sent {"connection_id":164578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:48:17] local.INFO: TCP Data received {"connection_id":164579,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:48:17] local.INFO: Processing buffer {"connection_id":164579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:48:17] local.INFO: Packet analysis {"connection_id":164579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:48:17] local.INFO: Extracted packet for processing {"connection_id":164579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642744576001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:48:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787667272000,"timestamp_ms":1787667272000,"timestamp_seconds":1787667272,"priority":1,"record_length":96,"hex_timestamp":"000001a03945d140"} 
[2026-08-25 19:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:48:17] 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-25 19:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642744576001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642744576001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:48:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642744576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":164579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:48:17] local.INFO: GPS data processed {"connection_id":164579,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:48:17] local.INFO: Acknowledgment sent {"connection_id":164579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:48:39] local.INFO: TCP Data received {"connection_id":162198,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:48:39] local.INFO: Processing buffer {"connection_id":162198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:48:39] local.INFO: IMEI packet received {"connection_id":162198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":162198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:48:40] local.INFO: TCP Data received {"connection_id":163192,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:48:40] local.INFO: Processing buffer {"connection_id":163192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:48:40] local.INFO: IMEI packet received {"connection_id":163192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":163192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:48:44] local.INFO: TCP Data received {"connection_id":162198,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:48:44] local.INFO: Processing buffer {"connection_id":162198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:48:44] local.INFO: IMEI packet received {"connection_id":162198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":162198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:48:45] local.INFO: TCP Data received {"connection_id":162198,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:48:45] local.INFO: Processing buffer {"connection_id":162198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:48:45] local.INFO: Packet analysis {"connection_id":162198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:48:45] local.INFO: Extracted packet for processing {"connection_id":162198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642744576001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:48:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787667272000,"timestamp_ms":1787667272000,"timestamp_seconds":1787667272,"priority":1,"record_length":96,"hex_timestamp":"000001a03945d140"} 
[2026-08-25 19:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:48:45] 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-25 19:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642744576001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642744576001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:48:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642744576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":162198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:48:45] local.INFO: GPS data processed {"connection_id":162198,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:48:45] local.INFO: Acknowledgment sent {"connection_id":162198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:48:46] local.INFO: TCP Data received {"connection_id":163192,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:48:46] local.INFO: Processing buffer {"connection_id":163192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:48:46] local.INFO: IMEI packet received {"connection_id":163192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":163192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:48:47] local.INFO: TCP Data received {"connection_id":163192,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039480f78012d8c00c0058d7c90000b00fa29..."} 
[2026-08-25 19:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039480f78012d8c00c0058d7c90000b00fa29..."} 
[2026-08-25 19:48:47] local.INFO: Processing buffer {"connection_id":163192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039480f78012d8c00c0058d7c90000b00fa29..."} 
[2026-08-25 19:48:47] local.INFO: Packet analysis {"connection_id":163192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03948"} 
[2026-08-25 19:48:47] local.INFO: Extracted packet for processing {"connection_id":163192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03948"} 
[2026-08-25 19:48:47] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642853888001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787667419000,"timestamp_ms":1787667419000,"timestamp_seconds":1787667419,"priority":1,"record_length":96,"hex_timestamp":"000001a039480f78"} 
[2026-08-25 19:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-25 19:48:47] 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-25 19:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:48:47] 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-25 19:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642853888001,"66":13352,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642853888001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:48:47] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:48:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642853888001,"power":13352,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":163192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:48:47] local.INFO: GPS data processed {"connection_id":163192,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:48:47] local.INFO: Acknowledgment sent {"connection_id":163192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:49:17] local.INFO: TCP Data received {"connection_id":162198,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:49:17] local.INFO: Processing buffer {"connection_id":162198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:49:17] local.INFO: Packet analysis {"connection_id":162198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:49:17] local.INFO: Extracted packet for processing {"connection_id":162198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642744576001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787667272000,"timestamp_ms":1787667272000,"timestamp_seconds":1787667272,"priority":1,"record_length":96,"hex_timestamp":"000001a03945d140"} 
[2026-08-25 19:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:49:17] 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-25 19:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642744576001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642744576001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642744576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":162198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:49:17] local.INFO: GPS data processed {"connection_id":162198,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:49:17] local.INFO: Acknowledgment sent {"connection_id":162198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:49:18] local.INFO: TCP Data received {"connection_id":163192,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039486180012d8c00c0058d7c90000b00fa29..."} 
[2026-08-25 19:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039486180012d8c00c0058d7c90000b00fa29..."} 
[2026-08-25 19:49:18] local.INFO: Processing buffer {"connection_id":163192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039486180012d8c00c0058d7c90000b00fa29..."} 
[2026-08-25 19:49:18] local.INFO: Packet analysis {"connection_id":163192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03948"} 
[2026-08-25 19:49:18] local.INFO: Extracted packet for processing {"connection_id":163192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03948"} 
[2026-08-25 19:49:18] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642859264001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787667440000,"timestamp_ms":1787667440000,"timestamp_seconds":1787667440,"priority":1,"record_length":96,"hex_timestamp":"000001a039486180"} 
[2026-08-25 19:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:49: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-25 19:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-25 19:49: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-25 19:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:49:18] 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-25 19:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642859264001,"66":13396,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642859264001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:49:18] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:49:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642859264001,"power":13396,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":163192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:49:18] local.INFO: GPS data processed {"connection_id":163192,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:49:18] local.INFO: Acknowledgment sent {"connection_id":163192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:49:43] local.INFO: TCP Data received {"connection_id":164581,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:49:43] local.INFO: Processing buffer {"connection_id":164581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:49:43] local.INFO: IMEI packet received {"connection_id":164581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":164581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:49:44] local.INFO: TCP Data received {"connection_id":164580,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:49:44] local.INFO: Processing buffer {"connection_id":164580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:49:44] local.INFO: IMEI packet received {"connection_id":164580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":164580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:49:46] local.INFO: TCP Data received {"connection_id":164581,"ip":"42.106.6.37","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 19:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164581,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 19:49:46] local.INFO: Processing buffer {"connection_id":164581,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 19:49:46] local.INFO: IMEI packet received {"connection_id":164581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":164581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:49:47] local.INFO: TCP Data received {"connection_id":164581,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03948b388012d8c00c0058d7c90000b00fa28..."} 
[2026-08-25 19:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03948b388012d8c00c0058d7c90000b00fa28..."} 
[2026-08-25 19:49:47] local.INFO: Processing buffer {"connection_id":164581,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-25 19:49:47] local.INFO: IMEI packet received {"connection_id":164581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":164581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:49:47] local.INFO: TCP Data received {"connection_id":164581,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039490590012d8c00c0058d7c90000b00fa2b..."} 
[2026-08-25 19:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039490590012d8c00c0058d7c90000b00fa2b..."} 
[2026-08-25 19:49:47] local.INFO: Processing buffer {"connection_id":164581,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a039..."} 
[2026-08-25 19:49:47] local.INFO: IMEI packet received {"connection_id":164581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":164581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:49:49] local.INFO: TCP Data received {"connection_id":164580,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:49:49] local.INFO: Processing buffer {"connection_id":164580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:49:49] local.INFO: IMEI packet received {"connection_id":164580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":164580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:49:50] local.INFO: TCP Data received {"connection_id":164580,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:49:50] local.INFO: Processing buffer {"connection_id":164580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:49:50] local.INFO: Packet analysis {"connection_id":164580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:49:50] local.INFO: Extracted packet for processing {"connection_id":164580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:49:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642744576001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787667272000,"timestamp_ms":1787667272000,"timestamp_seconds":1787667272,"priority":1,"record_length":96,"hex_timestamp":"000001a03945d140"} 
[2026-08-25 19: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-25 19:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:49:50] 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-25 19: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-25 19: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-25 19:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642744576001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642744576001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:49:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642744576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":164580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:49:50] local.INFO: GPS data processed {"connection_id":164580,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:49:50] local.INFO: Acknowledgment sent {"connection_id":164580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:49:51] local.INFO: TCP Data received {"connection_id":164581,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039495798012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039495798012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:49:51] local.INFO: Processing buffer {"connection_id":164581,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a03948b388012d8c00c0058d7c90000b00fa28..."} 
[2026-08-25 19:49:51] local.INFO: Packet analysis {"connection_id":164581,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a03948"} 
[2026-08-25 19:49:51] local.INFO: Extracted packet for processing {"connection_id":164581,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a03948"} 
[2026-08-25 19:49:51] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642864640001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787667461000,"timestamp_ms":1787667461000,"timestamp_seconds":1787667461,"priority":1,"record_length":96,"hex_timestamp":"000001a03948b388"} 
[2026-08-25 19: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-25 19:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-25 19:49:51] 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-25 19: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-25 19: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-25 19:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:49:51] 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-25 19:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642864640001,"66":13276,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642864640001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:49:51] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:49:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642864640001,"power":13276,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":164581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:49:51] local.INFO: GPS data processed {"connection_id":164581,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:49:51] local.INFO: Acknowledgment sent {"connection_id":164581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:49:51] local.INFO: Packet analysis {"connection_id":164581,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a03949"} 
[2026-08-25 19:49:51] local.INFO: Extracted packet for processing {"connection_id":164581,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03949"} 
[2026-08-25 19:49:51] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642870016001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787667482000,"timestamp_ms":1787667482000,"timestamp_seconds":1787667482,"priority":1,"record_length":96,"hex_timestamp":"000001a039490590"} 
[2026-08-25 19: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-25 19:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-25 19:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:49:51] 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-25 19:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642870016001,"66":13363,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642870016001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:49:51] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:49:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642870016001,"power":13363,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":164581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:49:51] local.INFO: GPS data processed {"connection_id":164581,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:49:51] local.INFO: Acknowledgment sent {"connection_id":164581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:49:51] local.INFO: Packet analysis {"connection_id":164581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03949"} 
[2026-08-25 19:49:51] local.INFO: Extracted packet for processing {"connection_id":164581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03949"} 
[2026-08-25 19:49:51] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642875392001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787667503000,"timestamp_ms":1787667503000,"timestamp_seconds":1787667503,"priority":1,"record_length":96,"hex_timestamp":"000001a039495798"} 
[2026-08-25 19: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-25 19:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 19:49:51] 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-25 19: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-25 19: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-25 19:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:49:51] 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-25 19:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642875392001,"66":13298,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642875392001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:49:51] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:49:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642875392001,"power":13298,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":164581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:49:51] local.INFO: GPS data processed {"connection_id":164581,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:49:51] local.INFO: Acknowledgment sent {"connection_id":164581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:49:55] local.INFO: TCP Data received {"connection_id":164581,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03949a9a0012d8c00c0058d7c90000b00fa2a..."} 
[2026-08-25 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03949a9a0012d8c00c0058d7c90000b00fa2a..."} 
[2026-08-25 19:49:55] local.INFO: Processing buffer {"connection_id":164581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03949a9a0012d8c00c0058d7c90000b00fa2a..."} 
[2026-08-25 19:49:55] local.INFO: Packet analysis {"connection_id":164581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03949"} 
[2026-08-25 19:49:55] local.INFO: Extracted packet for processing {"connection_id":164581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03949"} 
[2026-08-25 19:49:55] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642880768001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787667524000,"timestamp_ms":1787667524000,"timestamp_seconds":1787667524,"priority":1,"record_length":96,"hex_timestamp":"000001a03949a9a0"} 
[2026-08-25 19:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-25 19:49:55] 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-25 19:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:49:55] 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-25 19:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642880768001,"66":13428,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642880768001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:49:55] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642880768001,"power":13428,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":164581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:49:55] local.INFO: GPS data processed {"connection_id":164581,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:49:55] local.INFO: Acknowledgment sent {"connection_id":164581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:49:56] local.INFO: TCP Data received {"connection_id":164580,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:49:56] local.INFO: Processing buffer {"connection_id":164580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03945d140012d34c14006aa4818000b00e630..."} 
[2026-08-25 19:49:56] local.INFO: Packet analysis {"connection_id":164580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:49:56] local.INFO: Extracted packet for processing {"connection_id":164580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03945"} 
[2026-08-25 19:49:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642744576001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787667272000,"timestamp_ms":1787667272000,"timestamp_seconds":1787667272,"priority":1,"record_length":96,"hex_timestamp":"000001a03945d140"} 
[2026-08-25 19:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:49:56] 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-25 19:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642744576001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642744576001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:49:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642744576001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":164580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:49:56] local.INFO: GPS data processed {"connection_id":164580,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:49:56] local.INFO: Acknowledgment sent {"connection_id":164580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:50:39] local.INFO: TCP Data received {"connection_id":161956,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:50:39] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:50:39] local.INFO: IMEI packet received {"connection_id":161956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":161956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:50:40] local.INFO: TCP Data received {"connection_id":161957,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:50:40] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:50:40] local.INFO: IMEI packet received {"connection_id":161957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":161957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:50:44] local.INFO: TCP Data received {"connection_id":161956,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:50:44] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:50:44] local.INFO: IMEI packet received {"connection_id":161956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":161956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:50:45] local.INFO: TCP Data received {"connection_id":161957,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:50:45] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:50:45] local.INFO: IMEI packet received {"connection_id":161957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":161957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:50:46] local.INFO: TCP Data received {"connection_id":161956,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:50:46] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:50:46] local.INFO: Packet analysis {"connection_id":161956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:50:46] local.INFO: Extracted packet for processing {"connection_id":161956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642821632001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:50:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787667573000,"timestamp_ms":1787667573000,"timestamp_seconds":1787667573,"priority":1,"record_length":96,"hex_timestamp":"000001a0394a6908"} 
[2026-08-25 19:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 19:50:46] 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-25 19:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:50:46] 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-25 19:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642821632001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642821632001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642821632001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":161956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:50:46] local.INFO: GPS data processed {"connection_id":161956,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:50:46] local.INFO: Acknowledgment sent {"connection_id":161956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:50:46] local.INFO: TCP Data received {"connection_id":161957,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03949fba8012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03949fba8012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:50:46] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03949fba8012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:50:46] local.INFO: Packet analysis {"connection_id":161957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03949"} 
[2026-08-25 19:50:46] local.INFO: Extracted packet for processing {"connection_id":161957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03949"} 
[2026-08-25 19:50:46] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642886144001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787667545000,"timestamp_ms":1787667545000,"timestamp_seconds":1787667545,"priority":1,"record_length":96,"hex_timestamp":"000001a03949fba8"} 
[2026-08-25 19:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 19:50: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-25 19:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642886144001,"66":13178,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642886144001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:50:46] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:50:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642886144001,"power":13178,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":161957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:50:46] local.INFO: GPS data processed {"connection_id":161957,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:50:46] local.INFO: Acknowledgment sent {"connection_id":161957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:51:17] local.INFO: TCP Data received {"connection_id":161956,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:51:17] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:51:17] local.INFO: Packet analysis {"connection_id":161956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:51:17] local.INFO: Extracted packet for processing {"connection_id":161956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642821632001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:51:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787667573000,"timestamp_ms":1787667573000,"timestamp_seconds":1787667573,"priority":1,"record_length":96,"hex_timestamp":"000001a0394a6908"} 
[2026-08-25 19: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-25 19:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 19:51:17] 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-25 19: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-25 19: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-25 19:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642821632001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642821632001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642821632001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":161956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:51:17] local.INFO: GPS data processed {"connection_id":161956,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:51:17] local.INFO: Acknowledgment sent {"connection_id":161956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:51:17] local.INFO: TCP Data received {"connection_id":161957,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0394a4db0012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394a4db0012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:51:17] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394a4db0012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:51:17] local.INFO: Packet analysis {"connection_id":161957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:51:17] local.INFO: Extracted packet for processing {"connection_id":161957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:51:17] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642891520001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787667566000,"timestamp_ms":1787667566000,"timestamp_seconds":1787667566,"priority":1,"record_length":96,"hex_timestamp":"000001a0394a4db0"} 
[2026-08-25 19: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-25 19:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":122,"data_length":795,"current_offset":136} 
[2026-08-25 19:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642891520001,"66":13352,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642891520001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:51:17] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:51:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642891520001,"power":13352,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":161957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:51:17] local.INFO: GPS data processed {"connection_id":161957,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:51:17] local.INFO: Acknowledgment sent {"connection_id":161957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:51:39] local.INFO: TCP Data received {"connection_id":162199,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:51:39] local.INFO: Processing buffer {"connection_id":162199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:51:39] local.INFO: IMEI packet received {"connection_id":162199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":162199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:51:40] local.INFO: TCP Data received {"connection_id":162200,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:51:40] local.INFO: Processing buffer {"connection_id":162200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:51:40] local.INFO: IMEI packet received {"connection_id":162200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":162200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:51:45] local.INFO: TCP Data received {"connection_id":162200,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:51:45] local.INFO: Processing buffer {"connection_id":162200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:51:45] local.INFO: IMEI packet received {"connection_id":162200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":162200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:51:46] local.INFO: TCP Data received {"connection_id":162199,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:51:46] local.INFO: Processing buffer {"connection_id":162199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:51:46] local.INFO: IMEI packet received {"connection_id":162199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":162199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:51:46] local.INFO: TCP Data received {"connection_id":162200,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0394a8848012d8c00c0058d7c90000b00fa28..."} 
[2026-08-25 19:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394a8848012d8c00c0058d7c90000b00fa28..."} 
[2026-08-25 19:51:46] local.INFO: Processing buffer {"connection_id":162200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394a8848012d8c00c0058d7c90000b00fa28..."} 
[2026-08-25 19:51:46] local.INFO: Packet analysis {"connection_id":162200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:51:46] local.INFO: Extracted packet for processing {"connection_id":162200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:51:46] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642896896001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787667581000,"timestamp_ms":1787667581000,"timestamp_seconds":1787667581,"priority":1,"record_length":96,"hex_timestamp":"000001a0394a8848"} 
[2026-08-25 19:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-25 19:51:46] 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-25 19:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:51: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-25 19:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642896896001,"66":13363,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642896896001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:51:46] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:51:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642896896001,"power":13363,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":162200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:51:46] local.INFO: GPS data processed {"connection_id":162200,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:51:46] local.INFO: Acknowledgment sent {"connection_id":162200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:51:47] local.INFO: TCP Data received {"connection_id":162199,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:51:47] local.INFO: Processing buffer {"connection_id":162199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:51:47] local.INFO: Packet analysis {"connection_id":162199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:51:47] local.INFO: Extracted packet for processing {"connection_id":162199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642821632001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:51:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787667573000,"timestamp_ms":1787667573000,"timestamp_seconds":1787667573,"priority":1,"record_length":96,"hex_timestamp":"000001a0394a6908"} 
[2026-08-25 19:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 19:51:47] 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-25 19:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642821632001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642821632001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642821632001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":162199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:51:47] local.INFO: GPS data processed {"connection_id":162199,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:51:47] local.INFO: Acknowledgment sent {"connection_id":162199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:52:17] local.INFO: TCP Data received {"connection_id":162200,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0394a8848012d8c00c0058d7c90000b00fa28..."} 
[2026-08-25 19:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394a8848012d8c00c0058d7c90000b00fa28..."} 
[2026-08-25 19:52:17] local.INFO: Processing buffer {"connection_id":162200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394a8848012d8c00c0058d7c90000b00fa28..."} 
[2026-08-25 19:52:17] local.INFO: Packet analysis {"connection_id":162200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:52:17] local.INFO: Extracted packet for processing {"connection_id":162200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:52:17] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642900736001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787667581000,"timestamp_ms":1787667581000,"timestamp_seconds":1787667581,"priority":1,"record_length":96,"hex_timestamp":"000001a0394a8848"} 
[2026-08-25 19:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 19:52:17] 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-25 19:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:52: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-25 19:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642900736001,"66":13363,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642900736001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:52:17] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:52:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642900736001,"power":13363,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":162200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:52:17] local.INFO: GPS data processed {"connection_id":162200,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:52:17] local.INFO: Acknowledgment sent {"connection_id":162200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:52:19] local.INFO: TCP Data received {"connection_id":162199,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:52:19] local.INFO: Processing buffer {"connection_id":162199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:52:19] local.INFO: Packet analysis {"connection_id":162199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:52:19] local.INFO: Extracted packet for processing {"connection_id":162199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642821632001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:52:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787667573000,"timestamp_ms":1787667573000,"timestamp_seconds":1787667573,"priority":1,"record_length":96,"hex_timestamp":"000001a0394a6908"} 
[2026-08-25 19:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 19:52:19] 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-25 19:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:52:19] 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-25 19:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642821632001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642821632001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642821632001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":162199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:52:19] local.INFO: GPS data processed {"connection_id":162199,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:52:19] local.INFO: Acknowledgment sent {"connection_id":162199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:52:39] local.INFO: TCP Data received {"connection_id":163193,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:52:39] local.INFO: Processing buffer {"connection_id":163193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:52:39] local.INFO: IMEI packet received {"connection_id":163193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":163193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:52:40] local.INFO: TCP Data received {"connection_id":162201,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:52:40] local.INFO: Processing buffer {"connection_id":162201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:52:40] local.INFO: IMEI packet received {"connection_id":162201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":162201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:52:44] local.INFO: TCP Data received {"connection_id":163193,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:52:44] local.INFO: Processing buffer {"connection_id":163193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:52:44] local.INFO: IMEI packet received {"connection_id":163193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":163193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:52:45] local.INFO: TCP Data received {"connection_id":162201,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:52:45] local.INFO: TCP Data received {"connection_id":163193,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:52:45] local.INFO: Processing buffer {"connection_id":162201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:52:45] local.INFO: IMEI packet received {"connection_id":162201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":162201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:52:45] local.INFO: Processing buffer {"connection_id":163193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:52:45] local.INFO: Packet analysis {"connection_id":163193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:52:45] local.INFO: Extracted packet for processing {"connection_id":163193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642821632001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:52:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787667573000,"timestamp_ms":1787667573000,"timestamp_seconds":1787667573,"priority":1,"record_length":96,"hex_timestamp":"000001a0394a6908"} 
[2026-08-25 19: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-25 19:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 19:52:45] 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-25 19: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-25 19: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-25 19:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642821632001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642821632001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642821632001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":163193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:52:45] local.INFO: GPS data processed {"connection_id":163193,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:52:45] local.INFO: Acknowledgment sent {"connection_id":163193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:52:46] local.INFO: TCP Data received {"connection_id":162201,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0394a9400012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394a9400012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:52:46] local.INFO: Processing buffer {"connection_id":162201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394a9400012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:52:46] local.INFO: Packet analysis {"connection_id":162201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:52:46] local.INFO: Extracted packet for processing {"connection_id":162201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:52:46] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19:52:46] 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-25 19:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642900736001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787667584000,"timestamp_ms":1787667584000,"timestamp_seconds":1787667584,"priority":1,"record_length":96,"hex_timestamp":"000001a0394a9400"} 
[2026-08-25 19:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 19:52:46] 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-25 19:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642900736001,"66":13222,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642900736001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:52:46] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:52:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642900736001,"power":13222,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":162201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:52:46] local.INFO: GPS data processed {"connection_id":162201,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:52:46] local.INFO: Acknowledgment sent {"connection_id":162201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:53:17] local.INFO: TCP Data received {"connection_id":163193,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:53:17] local.INFO: Processing buffer {"connection_id":163193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:53:17] local.INFO: Packet analysis {"connection_id":163193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:53:17] local.INFO: Extracted packet for processing {"connection_id":163193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642821632001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:53:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787667573000,"timestamp_ms":1787667573000,"timestamp_seconds":1787667573,"priority":1,"record_length":96,"hex_timestamp":"000001a0394a6908"} 
[2026-08-25 19:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 19:53:17] 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-25 19:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:53:17] 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-25 19:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642821632001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642821632001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642821632001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":163193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:53:17] local.INFO: GPS data processed {"connection_id":163193,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:53:17] local.INFO: Acknowledgment sent {"connection_id":163193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:53:17] local.INFO: TCP Data received {"connection_id":162201,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0394a9400012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394a9400012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:53:17] local.INFO: Processing buffer {"connection_id":162201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394a9400012d8c00c0058d7c90000b00fa27..."} 
[2026-08-25 19:53:17] local.INFO: Packet analysis {"connection_id":162201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:53:17] local.INFO: Extracted packet for processing {"connection_id":162201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:53:17] local.INFO: GPS Element Parsed {"raw_longitude":764149952,"raw_latitude":93158544,"longitude_deg":76.4149952,"latitude_deg":9.3158544,"altitude":11,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d8c00c0","hex_latitude":"058d7c90","is_valid_coordinates":true} 
[2026-08-25 19:53:17] 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-25 19:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642901504001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787667584000,"timestamp_ms":1787667584000,"timestamp_seconds":1787667584,"priority":1,"record_length":96,"hex_timestamp":"000001a0394a9400"} 
[2026-08-25 19:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 19:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642901504001,"66":13222,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642901504001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:53:17] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:53:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642901504001,"power":13222,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":162201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:53:17] local.INFO: GPS data processed {"connection_id":162201,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:53:17] local.INFO: Acknowledgment sent {"connection_id":162201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:53:35] local.INFO: TCP Data received {"connection_id":163194,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:53:35] local.INFO: Processing buffer {"connection_id":163194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:53:35] local.INFO: IMEI packet received {"connection_id":163194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":163194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:53:36] local.INFO: TCP Data received {"connection_id":163194,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:53:36] local.INFO: Processing buffer {"connection_id":163194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:53:36] local.INFO: IMEI packet received {"connection_id":163194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":163194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:53:40] local.INFO: TCP Data received {"connection_id":163194,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:53:40] local.INFO: Processing buffer {"connection_id":163194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:53:40] local.INFO: IMEI packet received {"connection_id":163194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":163194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:53:41] local.INFO: TCP Data received {"connection_id":163194,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0394dc080012d8c01c0058d7ca0000b00fa29..."} 
[2026-08-25 19:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394dc080012d8c01c0058d7ca0000b00fa29..."} 
[2026-08-25 19:53:41] local.INFO: Processing buffer {"connection_id":163194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394dc080012d8c01c0058d7ca0000b00fa29..."} 
[2026-08-25 19:53:41] local.INFO: Packet analysis {"connection_id":163194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394d"} 
[2026-08-25 19:53:41] local.INFO: Extracted packet for processing {"connection_id":163194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394d"} 
[2026-08-25 19:53:41] local.INFO: GPS Element Parsed {"raw_longitude":764150208,"raw_latitude":93158560,"longitude_deg":76.4150208,"latitude_deg":9.315856,"altitude":11,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d8c01c0","hex_latitude":"058d7ca0","is_valid_coordinates":true} 
[2026-08-25 19:53:41] 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-25 19:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642901504001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358469778318520320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787667792000,"timestamp_ms":1787667792000,"timestamp_seconds":1787667792,"priority":1,"record_length":96,"hex_timestamp":"000001a0394dc080"} 
[2026-08-25 19: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-25 19:53: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-25 19: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 19:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642901504001,"66":2242,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358469778318520320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642901504001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:53:41] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358469778318520320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642901504001,"power":2242,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358469778318520320}} 
[2026-08-25 19:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":163194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:53:41] local.INFO: GPS data processed {"connection_id":163194,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:53:41] local.INFO: Acknowledgment sent {"connection_id":163194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:53:44] local.INFO: TCP Data received {"connection_id":162202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:53:44] local.INFO: Processing buffer {"connection_id":162202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:53:44] local.INFO: IMEI packet received {"connection_id":162202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":162202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:53:49] local.INFO: TCP Data received {"connection_id":162202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:53:49] local.INFO: Processing buffer {"connection_id":162202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:53:49] local.INFO: IMEI packet received {"connection_id":162202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":162202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:53:54] local.INFO: TCP Data received {"connection_id":162202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:53:54] local.INFO: Processing buffer {"connection_id":162202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:53:54] local.INFO: Packet analysis {"connection_id":162202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:53:54] local.INFO: Extracted packet for processing {"connection_id":162202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:53:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642821632001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:53:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787667573000,"timestamp_ms":1787667573000,"timestamp_seconds":1787667573,"priority":1,"record_length":96,"hex_timestamp":"000001a0394a6908"} 
[2026-08-25 19: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-25 19:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 19:53:54] 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-25 19: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-25 19: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-25 19:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:53: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-25 19:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642821632001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642821632001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:53:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642821632001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":162202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:53:54] local.INFO: GPS data processed {"connection_id":162202,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:53:54] local.INFO: Acknowledgment sent {"connection_id":162202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:53:54] local.INFO: TCP Data received {"connection_id":163195,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:53:54] local.INFO: Processing buffer {"connection_id":163195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:53:54] local.INFO: IMEI packet received {"connection_id":163195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 19:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":163195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:54:12] local.INFO: TCP Data received {"connection_id":163194,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0394dc080012d8c01c0058d7ca0000b00fa29..."} 
[2026-08-25 19:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394dc080012d8c01c0058d7ca0000b00fa29..."} 
[2026-08-25 19:54:12] local.INFO: Processing buffer {"connection_id":163194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394dc080012d8c01c0058d7ca0000b00fa29..."} 
[2026-08-25 19:54:12] local.INFO: Packet analysis {"connection_id":163194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394d"} 
[2026-08-25 19:54:12] local.INFO: Extracted packet for processing {"connection_id":163194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394d"} 
[2026-08-25 19:54:12] local.INFO: GPS Element Parsed {"raw_longitude":764150208,"raw_latitude":93158560,"longitude_deg":76.4150208,"latitude_deg":9.315856,"altitude":11,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d8c01c0","hex_latitude":"058d7ca0","is_valid_coordinates":true} 
[2026-08-25 19:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642954752001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358188303341805568,"note":"Value kept but may cause issues"} 
[2026-08-25 19:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787667792000,"timestamp_ms":1787667792000,"timestamp_seconds":1787667792,"priority":1,"record_length":96,"hex_timestamp":"000001a0394dc080"} 
[2026-08-25 19: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-25 19:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 19:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642954752001,"66":2242,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358188303341805568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642954752001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:54:12] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358188303341805568,"description":"Unknown IO ID 45"} 
[2026-08-25 19:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642954752001,"power":2242,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358188303341805568}} 
[2026-08-25 19:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":163194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:54:12] local.INFO: GPS data processed {"connection_id":163194,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:54:12] local.INFO: Acknowledgment sent {"connection_id":163194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:54:39] local.INFO: TCP Data received {"connection_id":163196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:54:39] local.INFO: Processing buffer {"connection_id":163196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:54:39] local.INFO: IMEI packet received {"connection_id":163196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":163196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:54:44] local.INFO: TCP Data received {"connection_id":163196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:54:44] local.INFO: Processing buffer {"connection_id":163196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:54:44] local.INFO: IMEI packet received {"connection_id":163196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":163196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:54:45] local.INFO: TCP Data received {"connection_id":163196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:54:45] local.INFO: Processing buffer {"connection_id":163196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394a6908012d34c14006aa4818000c00e62e..."} 
[2026-08-25 19:54:45] local.INFO: Packet analysis {"connection_id":163196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:54:45] local.INFO: Extracted packet for processing {"connection_id":163196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394a"} 
[2026-08-25 19:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642821632001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:54:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787667573000,"timestamp_ms":1787667573000,"timestamp_seconds":1787667573,"priority":1,"record_length":96,"hex_timestamp":"000001a0394a6908"} 
[2026-08-25 19:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 19:54:45] 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-25 19:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642821632001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642821632001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642821632001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":163196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:54:45] local.INFO: GPS data processed {"connection_id":163196,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:54:45] local.INFO: Acknowledgment sent {"connection_id":163196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:54:45] local.INFO: TCP Data received {"connection_id":161958,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:54:45] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:54:45] local.INFO: IMEI packet received {"connection_id":161958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":161958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:54:50] local.INFO: TCP Data received {"connection_id":161958,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:54:50] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:54:50] local.INFO: IMEI packet received {"connection_id":161958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":161958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:54:51] local.INFO: TCP Data received {"connection_id":161958,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0394dc080012d8c01c0058d7ca0000b00fa29..."} 
[2026-08-25 19:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394dc080012d8c01c0058d7ca0000b00fa29..."} 
[2026-08-25 19:54:51] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394dc080012d8c01c0058d7ca0000b00fa29..."} 
[2026-08-25 19:54:51] local.INFO: Packet analysis {"connection_id":161958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394d"} 
[2026-08-25 19:54:51] local.INFO: Extracted packet for processing {"connection_id":161958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394d"} 
[2026-08-25 19:54:51] local.INFO: GPS Element Parsed {"raw_longitude":764150208,"raw_latitude":93158560,"longitude_deg":76.4150208,"latitude_deg":9.315856,"altitude":11,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d8c01c0","hex_latitude":"058d7ca0","is_valid_coordinates":true} 
[2026-08-25 19:54: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-25 19:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642954752001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358188303341805568,"note":"Value kept but may cause issues"} 
[2026-08-25 19:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787667792000,"timestamp_ms":1787667792000,"timestamp_seconds":1787667792,"priority":1,"record_length":96,"hex_timestamp":"000001a0394dc080"} 
[2026-08-25 19:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 19:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642954752001,"66":2242,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358188303341805568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642954752001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:54:51] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358188303341805568,"description":"Unknown IO ID 45"} 
[2026-08-25 19:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642954752001,"power":2242,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358188303341805568}} 
[2026-08-25 19:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":161958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:54:51] local.INFO: GPS data processed {"connection_id":161958,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:54:51] local.INFO: Acknowledgment sent {"connection_id":161958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:54:56] local.INFO: TCP Data received {"connection_id":161958,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0394dc080012d8c01c0058d7ca0000b00fa29..."} 
[2026-08-25 19:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394dc080012d8c01c0058d7ca0000b00fa29..."} 
[2026-08-25 19:54:56] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394dc080012d8c01c0058d7ca0000b00fa29..."} 
[2026-08-25 19:54:56] local.INFO: Packet analysis {"connection_id":161958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394d"} 
[2026-08-25 19:54:56] local.INFO: Extracted packet for processing {"connection_id":161958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394d"} 
[2026-08-25 19:54:56] local.INFO: GPS Element Parsed {"raw_longitude":764150208,"raw_latitude":93158560,"longitude_deg":76.4150208,"latitude_deg":9.315856,"altitude":11,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d8c01c0","hex_latitude":"058d7ca0","is_valid_coordinates":true} 
[2026-08-25 19:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642954752001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124149628873474048,"note":"Value kept but may cause issues"} 
[2026-08-25 19:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8358188303341805568,"note":"Value kept but may cause issues"} 
[2026-08-25 19:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787667792000,"timestamp_ms":1787667792000,"timestamp_seconds":1787667792,"priority":1,"record_length":96,"hex_timestamp":"000001a0394dc080"} 
[2026-08-25 19: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-25 19:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 19:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642954752001,"66":2242,"14":206,"85":14080,"24":0,"16":124149628873474048,"45":-8358188303341805568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642954752001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:54:56] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124149628873474048,"km_value":124149628873474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8358188303341805568,"description":"Unknown IO ID 45"} 
[2026-08-25 19:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642954752001,"power":2242,"unknown_14":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-8358188303341805568}} 
[2026-08-25 19:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":161958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:54:56] local.INFO: GPS data processed {"connection_id":161958,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:54:56] local.INFO: Acknowledgment sent {"connection_id":161958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:55:17] local.INFO: TCP Data received {"connection_id":163196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:55:17] local.INFO: Processing buffer {"connection_id":163196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:55:17] local.INFO: Packet analysis {"connection_id":163196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:55:17] local.INFO: Extracted packet for processing {"connection_id":163196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642898688001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:55:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787667874000,"timestamp_ms":1787667874000,"timestamp_seconds":1787667874,"priority":1,"record_length":96,"hex_timestamp":"000001a0394f00d0"} 
[2026-08-25 19:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:55:17] 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-25 19:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642898688001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642898688001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642898688001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":163196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:55:17] local.INFO: GPS data processed {"connection_id":163196,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:55:17] local.INFO: Acknowledgment sent {"connection_id":163196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:55:39] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:55:39] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:55:39] local.INFO: IMEI packet received {"connection_id":161959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":161959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:55:40] local.INFO: TCP Data received {"connection_id":163197,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:55:40] local.INFO: Processing buffer {"connection_id":163197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:55:40] local.INFO: IMEI packet received {"connection_id":163197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":163197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:55:41] local.INFO: TCP Data received {"connection_id":163197,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:55:41] local.INFO: Processing buffer {"connection_id":163197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:55:41] local.INFO: IMEI packet received {"connection_id":163197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":163197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:55:42] local.INFO: TCP Data received {"connection_id":163197,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0394f4ef0012d8bd540058d81f00009010f2e..."} 
[2026-08-25 19:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394f4ef0012d8bd540058d81f00009010f2e..."} 
[2026-08-25 19:55:42] local.INFO: Processing buffer {"connection_id":163197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394f4ef0012d8bd540058d81f00009010f2e..."} 
[2026-08-25 19:55:42] local.INFO: Packet analysis {"connection_id":163197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:55:42] local.INFO: Extracted packet for processing {"connection_id":163197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:55:42] local.INFO: GPS Element Parsed {"raw_longitude":764138816,"raw_latitude":93159920,"longitude_deg":76.4138816,"latitude_deg":9.315992,"altitude":9,"angle":271,"satellites":46,"speed":31,"hex_longitude":"2d8bd540","hex_latitude":"058d81f0","is_valid_coordinates":true} 
[2026-08-25 19:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642976768001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124150225873928192,"note":"Value kept but may cause issues"} 
[2026-08-25 19:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8360228996922552320,"note":"Value kept but may cause issues"} 
[2026-08-25 19:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787667894000,"timestamp_ms":1787667894000,"timestamp_seconds":1787667894,"priority":1,"record_length":96,"hex_timestamp":"000001a0394f4ef0"} 
[2026-08-25 19:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-25 19:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2041,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642976768001,"66":10841,"14":206,"85":14080,"24":31,"16":124150225873928192,"45":-8360228996922552320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642976768001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:55:42] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124150225873928192,"km_value":124150225873928.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8360228996922552320,"description":"Unknown IO ID 45"} 
[2026-08-25 19:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642976768001,"power":10841,"unknown_14":206,"unknown_85":14080,"ignition":31,"odometer":null,"unknown_45":-8360228996922552320}} 
[2026-08-25 19:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":163197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:55:42] local.INFO: GPS data processed {"connection_id":163197,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:55:42] local.INFO: Acknowledgment sent {"connection_id":163197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:55:46] local.INFO: TCP Data received {"connection_id":163197,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0394f7dd0012d8bb200058d82100009010e2e..."} 
[2026-08-25 19:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394f7dd0012d8bb200058d82100009010e2e..."} 
[2026-08-25 19:55:46] local.INFO: Processing buffer {"connection_id":163197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394f7dd0012d8bb200058d82100009010e2e..."} 
[2026-08-25 19:55:46] local.INFO: Packet analysis {"connection_id":163197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:55:46] local.INFO: Extracted packet for processing {"connection_id":163197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:55:46] local.INFO: GPS Element Parsed {"raw_longitude":764129792,"raw_latitude":93159952,"longitude_deg":76.4129792,"latitude_deg":9.3159952,"altitude":9,"angle":270,"satellites":46,"speed":31,"hex_longitude":"2d8bb200","hex_latitude":"058d8210","is_valid_coordinates":true} 
[2026-08-25 19:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642980864001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124150655370657792,"note":"Value kept but may cause issues"} 
[2026-08-25 19:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8370713939805081600,"note":"Value kept but may cause issues"} 
[2026-08-25 19:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787667906000,"timestamp_ms":1787667906000,"timestamp_seconds":1787667906,"priority":1,"record_length":96,"hex_timestamp":"000001a0394f7dd0"} 
[2026-08-25 19:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-08-25 19:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1209,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642980864001,"66":10754,"14":206,"85":14080,"24":31,"16":124150655370657792,"45":-8370713939805081600},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642980864001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:55:46] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:55:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124150655370657792,"km_value":124150655370657.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8370713939805081600,"description":"Unknown IO ID 45"} 
[2026-08-25 19:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642980864001,"power":10754,"unknown_14":206,"unknown_85":14080,"ignition":31,"odometer":null,"unknown_45":-8370713939805081600}} 
[2026-08-25 19:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":163197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:55:46] local.INFO: GPS data processed {"connection_id":163197,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:55:46] local.INFO: Acknowledgment sent {"connection_id":163197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:55:47] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:55:47] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:55:47] local.INFO: IMEI packet received {"connection_id":161959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":161959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:55:48] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:55:48] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:55:48] local.INFO: Packet analysis {"connection_id":161959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:55:48] local.INFO: Extracted packet for processing {"connection_id":161959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642898688001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:55:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787667874000,"timestamp_ms":1787667874000,"timestamp_seconds":1787667874,"priority":1,"record_length":96,"hex_timestamp":"000001a0394f00d0"} 
[2026-08-25 19:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:55:48] 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-25 19:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642898688001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642898688001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642898688001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":161959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:55:48] local.INFO: GPS data processed {"connection_id":161959,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:55:48] local.INFO: Acknowledgment sent {"connection_id":161959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:56:17] local.INFO: TCP Data received {"connection_id":163197,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0394f9928012d8ba540058d82a0000701242d..."} 
[2026-08-25 19:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394f9928012d8ba540058d82a0000701242d..."} 
[2026-08-25 19:56:17] local.INFO: Processing buffer {"connection_id":163197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394f9928012d8ba540058d82a0000701242d..."} 
[2026-08-25 19:56:17] local.INFO: Packet analysis {"connection_id":163197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:56:17] local.INFO: Extracted packet for processing {"connection_id":163197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:56:17] local.INFO: GPS Element Parsed {"raw_longitude":764126528,"raw_latitude":93160096,"longitude_deg":76.4126528,"latitude_deg":9.3160096,"altitude":7,"angle":292,"satellites":45,"speed":5,"hex_longitude":"2d8ba540","hex_latitude":"058d82a0","is_valid_coordinates":true} 
[2026-08-25 19:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642983936001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124150814284447744,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8380635932734124032,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787667913000,"timestamp_ms":1787667913000,"timestamp_seconds":1787667913,"priority":1,"record_length":96,"hex_timestamp":"000001a0394f9928"} 
[2026-08-25 19:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":2,"data_length":795,"current_offset":136} 
[2026-08-25 19:56:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627513966080,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:17] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:17] local.WARNING: Large IO value detected {"io_id":141,"raw_value":2193096713,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309540558,"corrected_to":0} 
[2026-08-25 19:56:17] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3892391307,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:17] local.WARNING: Large IO value detected {"io_id":254,"raw_value":2147847554,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:17] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3053505870,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:17] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,14,85,24,241,157,16,18,160,78,45,64,129,9,46,10,66,17,128,130,4,192,1,240,89,227,57,141,113,205,5,252,254,120,239,41,2],"length":432,"final_offset":562,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1309540558,"validated":0}]} 
[2026-08-25 19:56:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648815412051378176,"timestamp_seconds":648815412051378.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 19:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642983936001,"66":10678,"14":206,"85":14080,"24":5,"16":124150814284447744,"45":-8380635932734124032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642983936001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:56:17] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:56:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124150814284447744,"km_value":124150814284447.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8380635932734124032,"description":"Unknown IO ID 45"} 
[2026-08-25 19:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642983936001,"power":10678,"unknown_14":206,"unknown_85":14080,"ignition":5,"odometer":null,"unknown_45":-8380635932734124032}} 
[2026-08-25 19:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":163197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:56:17] local.INFO: GPS data processed {"connection_id":163197,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:56:17] local.INFO: Acknowledgment sent {"connection_id":163197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:56:19] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:56:19] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:56:19] local.INFO: Packet analysis {"connection_id":161959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:56:19] local.INFO: Extracted packet for processing {"connection_id":161959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642898688001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787667874000,"timestamp_ms":1787667874000,"timestamp_seconds":1787667874,"priority":1,"record_length":96,"hex_timestamp":"000001a0394f00d0"} 
[2026-08-25 19:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:56: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-25 19:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642898688001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642898688001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642898688001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":161959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:56:19] local.INFO: GPS data processed {"connection_id":161959,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:56:19] local.INFO: Acknowledgment sent {"connection_id":161959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:56:39] local.INFO: TCP Data received {"connection_id":162203,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:56:39] local.INFO: Processing buffer {"connection_id":162203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:56:39] local.INFO: IMEI packet received {"connection_id":162203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":162203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:56:41] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:56:41] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:56:41] local.INFO: IMEI packet received {"connection_id":163198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":163198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:56:44] local.INFO: TCP Data received {"connection_id":162203,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:56:44] local.INFO: Processing buffer {"connection_id":162203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:56:44] local.INFO: IMEI packet received {"connection_id":162203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":162203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:56:45] local.INFO: TCP Data received {"connection_id":162203,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:56:45] local.INFO: Processing buffer {"connection_id":162203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:56:45] local.INFO: Packet analysis {"connection_id":162203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:56:45] local.INFO: Extracted packet for processing {"connection_id":162203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642898688001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787667874000,"timestamp_ms":1787667874000,"timestamp_seconds":1787667874,"priority":1,"record_length":96,"hex_timestamp":"000001a0394f00d0"} 
[2026-08-25 19: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-25 19:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:56:45] 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-25 19: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-25 19: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-25 19:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642898688001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642898688001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642898688001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":162203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:56:45] local.INFO: GPS data processed {"connection_id":162203,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:56:45] local.INFO: Acknowledgment sent {"connection_id":162203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:56:46] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:56:46] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:56:46] local.INFO: IMEI packet received {"connection_id":163198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":163198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:56:47] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0394fc808012d8ba080058d8460000801182c..."} 
[2026-08-25 19:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394fc808012d8ba080058d8460000801182c..."} 
[2026-08-25 19:56:47] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394fc808012d8ba080058d8460000801182c..."} 
[2026-08-25 19:56:47] local.INFO: Packet analysis {"connection_id":163198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:56:47] local.INFO: Extracted packet for processing {"connection_id":163198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:56:47] local.INFO: GPS Element Parsed {"raw_longitude":764125312,"raw_latitude":93160544,"longitude_deg":76.4125312,"latitude_deg":9.3160544,"altitude":8,"angle":280,"satellites":44,"speed":11,"hex_longitude":"2d8ba080","hex_latitude":"058d8460","is_valid_coordinates":true} 
[2026-08-25 19:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642985728001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124150874413989888,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8384224738687148032,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787667925000,"timestamp_ms":1787667925000,"timestamp_seconds":1787667925,"priority":1,"record_length":96,"hex_timestamp":"000001a0394fc808"} 
[2026-08-25 19:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-25 19:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2041,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642985728001,"66":10689,"14":206,"85":14080,"24":11,"16":124150874413989888,"45":-8384224738687148032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642985728001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:56:47] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:56:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124150874413989888,"km_value":124150874413989.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8384224738687148032,"description":"Unknown IO ID 45"} 
[2026-08-25 19:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642985728001,"power":10689,"unknown_14":206,"unknown_85":14080,"ignition":11,"odometer":null,"unknown_45":-8384224738687148032}} 
[2026-08-25 19:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":163198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:56:47] local.INFO: GPS data processed {"connection_id":163198,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:56:47] local.INFO: Acknowledgment sent {"connection_id":163198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:56:47] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395002a0012d8b7d00058d8680000801152d..."} 
[2026-08-25 19:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395002a0012d8b7d00058d8680000801152d..."} 
[2026-08-25 19:56:47] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395002a0012d8b7d00058d8680000801152d..."} 
[2026-08-25 19:56:47] local.INFO: Packet analysis {"connection_id":163198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03950"} 
[2026-08-25 19:56:47] local.INFO: Extracted packet for processing {"connection_id":163198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03950"} 
[2026-08-25 19:56:47] local.INFO: GPS Element Parsed {"raw_longitude":764116224,"raw_latitude":93161088,"longitude_deg":76.4116224,"latitude_deg":9.3161088,"altitude":8,"angle":277,"satellites":45,"speed":21,"hex_longitude":"2d8b7d00","hex_latitude":"058d8680","is_valid_coordinates":true} 
[2026-08-25 19:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642988800001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124151312500654080,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8385561744826408960,"note":"Value kept but may cause issues"} 
[2026-08-25 19:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787667940000,"timestamp_ms":1787667940000,"timestamp_seconds":1787667940,"priority":1,"record_length":96,"hex_timestamp":"000001a0395002a0"} 
[2026-08-25 19:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-25 19:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2140,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642988800001,"66":10602,"14":206,"85":14080,"24":21,"16":124151312500654080,"45":-8385561744826408960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642988800001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:56:47] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:56:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124151312500654080,"km_value":124151312500654.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8385561744826408960,"description":"Unknown IO ID 45"} 
[2026-08-25 19:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642988800001,"power":10602,"unknown_14":206,"unknown_85":14080,"ignition":21,"odometer":null,"unknown_45":-8385561744826408960}} 
[2026-08-25 19:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":163198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:56:47] local.INFO: GPS data processed {"connection_id":163198,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:56:47] local.INFO: Acknowledgment sent {"connection_id":163198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:57:16] local.INFO: TCP Data received {"connection_id":162203,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:57:16] local.INFO: Processing buffer {"connection_id":162203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:57:16] local.INFO: Packet analysis {"connection_id":162203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:57:16] local.INFO: Extracted packet for processing {"connection_id":162203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642898688001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:57:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787667874000,"timestamp_ms":1787667874000,"timestamp_seconds":1787667874,"priority":1,"record_length":96,"hex_timestamp":"000001a0394f00d0"} 
[2026-08-25 19:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642898688001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642898688001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642898688001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":162203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:57:16] local.INFO: GPS data processed {"connection_id":162203,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:57:16] local.INFO: Acknowledgment sent {"connection_id":162203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:57:18] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039503950012d8b59c0058d89980008010d2e..."} 
[2026-08-25 19:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039503950012d8b59c0058d89980008010d2e..."} 
[2026-08-25 19:57:18] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039503950012d8b59c0058d89980008010d2e..."} 
[2026-08-25 19:57:18] local.INFO: Packet analysis {"connection_id":163198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03950"} 
[2026-08-25 19:57:18] local.INFO: Extracted packet for processing {"connection_id":163198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03950"} 
[2026-08-25 19:57:18] local.INFO: GPS Element Parsed {"raw_longitude":764107200,"raw_latitude":93161880,"longitude_deg":76.41072,"latitude_deg":9.316188,"altitude":8,"angle":269,"satellites":46,"speed":37,"hex_longitude":"2d8b59c0","hex_latitude":"058d8998","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642992640001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124151746292350976,"note":"Value kept but may cause issues"} 
[2026-08-25 19:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8395554106499497984,"note":"Value kept but may cause issues"} 
[2026-08-25 19:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787667954000,"timestamp_ms":1787667954000,"timestamp_seconds":1787667954,"priority":1,"record_length":96,"hex_timestamp":"000001a039503950"} 
[2026-08-25 19: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-25 19:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19: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":41,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-25 19:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1357,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19: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-25 19: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-25 19:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642992640001,"66":10547,"14":206,"85":14080,"24":37,"16":124151746292350976,"45":-8395554106499497984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642992640001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:57:18] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:57:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124151746292350976,"km_value":124151746292350.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8395554106499497984,"description":"Unknown IO ID 45"} 
[2026-08-25 19:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642992640001,"power":10547,"unknown_14":206,"unknown_85":14080,"ignition":37,"odometer":null,"unknown_45":-8395554106499497984}} 
[2026-08-25 19:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":163198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:57:18] local.INFO: GPS data processed {"connection_id":163198,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:57:18] local.INFO: Acknowledgment sent {"connection_id":163198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:57:39] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:57:39] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:57:39] local.INFO: IMEI packet received {"connection_id":161961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":161961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:57:40] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:57:40] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:57:40] local.INFO: IMEI packet received {"connection_id":161960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":161960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:57:41] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:57:41] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:57:41] local.INFO: IMEI packet received {"connection_id":161960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":161960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:57:44] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:57:44] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:57:44] local.INFO: IMEI packet received {"connection_id":161961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":161961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:57:44] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:57:44] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:57:44] local.INFO: IMEI packet received {"connection_id":161960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":161960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:57:45] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:57:45] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:57:45] local.INFO: Packet analysis {"connection_id":161961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:57:45] local.INFO: Extracted packet for processing {"connection_id":161961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642898688001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:57:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787667874000,"timestamp_ms":1787667874000,"timestamp_seconds":1787667874,"priority":1,"record_length":96,"hex_timestamp":"000001a0394f00d0"} 
[2026-08-25 19:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:57:45] 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-25 19:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:57:45] 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-25 19:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642898688001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642898688001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642898688001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":161961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:57:45] local.INFO: GPS data processed {"connection_id":161961,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:57:45] local.INFO: Acknowledgment sent {"connection_id":161961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:57:45] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039505c78012d8b3640058d8af0000a01112e..."} 
[2026-08-25 19:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039505c78012d8b3640058d8af0000a01112e..."} 
[2026-08-25 19:57:45] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039505c78012d8b3640058d8af0000a01112e..."} 
[2026-08-25 19:57:45] local.INFO: Packet analysis {"connection_id":161960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03950"} 
[2026-08-25 19:57:45] local.INFO: Extracted packet for processing {"connection_id":161960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03950"} 
[2026-08-25 19:57:45] local.INFO: GPS Element Parsed {"raw_longitude":764098112,"raw_latitude":93162224,"longitude_deg":76.4098112,"latitude_deg":9.3162224,"altitude":10,"angle":273,"satellites":46,"speed":39,"hex_longitude":"2d8b3640","hex_latitude":"058d8af0","is_valid_coordinates":true} 
[2026-08-25 19:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642996224001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124152180084047872,"note":"Value kept but may cause issues"} 
[2026-08-25 19:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8405476099428345856,"note":"Value kept but may cause issues"} 
[2026-08-25 19:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787667963000,"timestamp_ms":1787667963000,"timestamp_seconds":1787667963,"priority":1,"record_length":96,"hex_timestamp":"000001a039505c78"} 
[2026-08-25 19:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:57: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-25 19:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 19:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":862,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642996224001,"66":10732,"14":206,"85":14080,"24":39,"16":124152180084047872,"45":-8405476099428345856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,45]} 
[2026-08-25 19:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642996224001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:57:45] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-25 19:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124152180084047872,"km_value":124152180084047.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8405476099428345856,"description":"Unknown IO ID 45"} 
[2026-08-25 19:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642996224001,"power":10732,"unknown_14":206,"unknown_85":14080,"ignition":39,"odometer":null,"unknown_45":-8405476099428345856}} 
[2026-08-25 19:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":161960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:57:45] local.INFO: GPS data processed {"connection_id":161960,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:57:45] local.INFO: Acknowledgment sent {"connection_id":161960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:58:16] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039523138012d89ae80058d85b00007011b2e..."} 
[2026-08-25 19:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039523138012d89ae80058d85b00007011b2e..."} 
[2026-08-25 19:58:16] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039523138012d89ae80058d85b00007011b2e..."} 
[2026-08-25 19:58:16] local.INFO: Packet analysis {"connection_id":161960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03952"} 
[2026-08-25 19:58:16] local.INFO: Extracted packet for processing {"connection_id":161960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03952"} 
[2026-08-25 19:58:16] local.INFO: GPS Element Parsed {"raw_longitude":763997824,"raw_latitude":93160880,"longitude_deg":76.3997824,"latitude_deg":9.316088,"altitude":7,"angle":283,"satellites":46,"speed":14,"hex_longitude":"2d89ae80","hex_latitude":"058d85b0","is_valid_coordinates":true} 
[2026-08-25 19:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643027712001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124157029102125056,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8520880839879901184,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787668083000,"timestamp_ms":1787668083000,"timestamp_seconds":1787668083,"priority":1,"record_length":96,"hex_timestamp":"000001a039523138"} 
[2026-08-25 19:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 19:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":961,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643027712001,"66":10330,"15":206,"85":14080,"24":14,"16":124157029102125056,"45":-8520880839879901184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 19:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643027712001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:58:16] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 19:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124157029102125056,"km_value":124157029102125.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8520880839879901184,"description":"Unknown IO ID 45"} 
[2026-08-25 19:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643027712001,"power":10330,"unknown_15":206,"unknown_85":14080,"ignition":14,"odometer":null,"unknown_45":-8520880839879901184}} 
[2026-08-25 19:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":161960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:58:17] local.INFO: GPS data processed {"connection_id":161960,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:58:17] local.INFO: Acknowledgment sent {"connection_id":161960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:58:17] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:58:17] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:58:17] local.INFO: Packet analysis {"connection_id":161961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:58:17] local.INFO: Extracted packet for processing {"connection_id":161961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642898688001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787667874000,"timestamp_ms":1787667874000,"timestamp_seconds":1787667874,"priority":1,"record_length":96,"hex_timestamp":"000001a0394f00d0"} 
[2026-08-25 19: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-25 19:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:58:17] 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-25 19: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-25 19: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-25 19:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642898688001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642898688001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642898688001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":161961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:58:17] local.INFO: GPS data processed {"connection_id":161961,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:58:17] local.INFO: Acknowledgment sent {"connection_id":161961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:58:38] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:58:38] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:58:38] local.INFO: IMEI packet received {"connection_id":163199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":163199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:58:41] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:58:41] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:58:41] local.INFO: IMEI packet received {"connection_id":163199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":163199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:58:44] local.INFO: TCP Data received {"connection_id":163200,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:58:44] local.INFO: Processing buffer {"connection_id":163200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:58:44] local.INFO: IMEI packet received {"connection_id":163200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":163200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:58:45] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:58:45] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:58:45] local.INFO: IMEI packet received {"connection_id":163199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":163199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:58:46] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039523520012d89ad40058d86280007012a2e..."} 
[2026-08-25 19:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039523520012d89ad40058d86280007012a2e..."} 
[2026-08-25 19:58:46] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039523520012d89ad40058d86280007012a2e..."} 
[2026-08-25 19:58:46] local.INFO: Packet analysis {"connection_id":163199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03952"} 
[2026-08-25 19:58:46] local.INFO: Extracted packet for processing {"connection_id":163199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03952"} 
[2026-08-25 19:58:46] local.INFO: GPS Element Parsed {"raw_longitude":763997504,"raw_latitude":93161000,"longitude_deg":76.3997504,"latitude_deg":9.3161,"altitude":7,"angle":298,"satellites":46,"speed":12,"hex_longitude":"2d89ad40","hex_latitude":"058d8628","is_valid_coordinates":true} 
[2026-08-25 19:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643029248001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124157046281994240,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8525736283228229632,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787668084000,"timestamp_ms":1787668084000,"timestamp_seconds":1787668084,"priority":1,"record_length":96,"hex_timestamp":"000001a039523520"} 
[2026-08-25 19:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:58: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-25 19:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-08-25 19:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1208,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643029248001,"66":10330,"15":206,"85":14080,"24":12,"16":124157046281994240,"45":-8525736283228229632},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 19:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643029248001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:58:46] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 19:58:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124157046281994240,"km_value":124157046281994.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8525736283228229632,"description":"Unknown IO ID 45"} 
[2026-08-25 19:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643029248001,"power":10330,"unknown_15":206,"unknown_85":14080,"ignition":12,"odometer":null,"unknown_45":-8525736283228229632}} 
[2026-08-25 19:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":163199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:58:46] local.INFO: GPS data processed {"connection_id":163199,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:58:46] local.INFO: Acknowledgment sent {"connection_id":163199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:58:49] local.INFO: TCP Data received {"connection_id":163200,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:58:49] local.INFO: Processing buffer {"connection_id":163200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:58:49] local.INFO: IMEI packet received {"connection_id":163200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":163200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:58:50] local.INFO: TCP Data received {"connection_id":163200,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:58:50] local.INFO: Processing buffer {"connection_id":163200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:58:50] local.INFO: Packet analysis {"connection_id":163200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:58:50] local.INFO: Extracted packet for processing {"connection_id":163200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:58:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642898688001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787667874000,"timestamp_ms":1787667874000,"timestamp_seconds":1787667874,"priority":1,"record_length":96,"hex_timestamp":"000001a0394f00d0"} 
[2026-08-25 19:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:58:50] 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-25 19:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:58: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-25 19:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642898688001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642898688001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:58:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642898688001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":163200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:58:50] local.INFO: GPS data processed {"connection_id":163200,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:58:50] local.INFO: Acknowledgment sent {"connection_id":163200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:58:54] local.INFO: TCP Data received {"connection_id":163200,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:58:54] local.INFO: Processing buffer {"connection_id":163200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:58:54] local.INFO: Packet analysis {"connection_id":163200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:58:54] local.INFO: Extracted packet for processing {"connection_id":163200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19: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-25 19:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642898688001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787667874000,"timestamp_ms":1787667874000,"timestamp_seconds":1787667874,"priority":1,"record_length":96,"hex_timestamp":"000001a0394f00d0"} 
[2026-08-25 19: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-25 19:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:58:54] 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-25 19: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-25 19: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-25 19:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:58:54] 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-25 19:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642898688001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642898688001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:58:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642898688001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":163200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:58:54] local.INFO: GPS data processed {"connection_id":163200,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:58:54] local.INFO: Acknowledgment sent {"connection_id":163200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:59:17] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039524c90012d89a840058d88b80007011e2f..."} 
[2026-08-25 19:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039524c90012d89a840058d88b80007011e2f..."} 
[2026-08-25 19:59:17] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039524c90012d89a840058d88b80007011e2f..."} 
[2026-08-25 19:59:17] local.INFO: Packet analysis {"connection_id":163199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03952"} 
[2026-08-25 19:59:17] local.INFO: Extracted packet for processing {"connection_id":163199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03952"} 
[2026-08-25 19:59:17] local.INFO: GPS Element Parsed {"raw_longitude":763996224,"raw_latitude":93161656,"longitude_deg":76.3996224,"latitude_deg":9.3161656,"altitude":7,"angle":286,"satellites":47,"speed":9,"hex_longitude":"2d89a840","hex_latitude":"058d88b8","is_valid_coordinates":true} 
[2026-08-25 19:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643029504001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124157115001470976,"note":"Value kept but may cause issues"} 
[2026-08-25 19:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8526088126949087232,"note":"Value kept but may cause issues"} 
[2026-08-25 19:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668090000,"timestamp_ms":1787668090000,"timestamp_seconds":1787668090,"priority":1,"record_length":96,"hex_timestamp":"000001a039524c90"} 
[2026-08-25 19:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 19:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-08-25 19:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1208,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 19:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643029504001,"66":10536,"15":206,"85":14080,"24":9,"16":124157115001470976,"45":-8526088126949087232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 19:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643029504001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:59:17] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 19:59:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124157115001470976,"km_value":124157115001470.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8526088126949087232,"description":"Unknown IO ID 45"} 
[2026-08-25 19:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643029504001,"power":10536,"unknown_15":206,"unknown_85":14080,"ignition":9,"odometer":null,"unknown_45":-8526088126949087232}} 
[2026-08-25 19:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":163199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:59:17] local.INFO: GPS data processed {"connection_id":163199,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:59:17] local.INFO: Acknowledgment sent {"connection_id":163199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:59:19] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:59:19] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 19:59:19] local.INFO: IMEI packet received {"connection_id":161962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 19:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":161962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:59:39] local.INFO: TCP Data received {"connection_id":163201,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:59:39] local.INFO: Processing buffer {"connection_id":163201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:59:39] local.INFO: IMEI packet received {"connection_id":163201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 19:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":163201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:59:41] local.INFO: TCP Data received {"connection_id":162204,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:59:41] local.INFO: Processing buffer {"connection_id":162204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:59:41] local.INFO: IMEI packet received {"connection_id":162204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 19:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":162204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 19:59:44] local.INFO: TCP Data received {"connection_id":163201,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:59:44] local.INFO: Processing buffer {"connection_id":163201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 19:59:44] local.INFO: IMEI packet received {"connection_id":163201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 19:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":163201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:59:45] local.INFO: TCP Data received {"connection_id":163201,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:59:45] local.INFO: Processing buffer {"connection_id":163201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0394f00d0012d34c14006aa4818000d00e62e..."} 
[2026-08-25 19:59:45] local.INFO: Packet analysis {"connection_id":163201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:59:45] local.INFO: Extracted packet for processing {"connection_id":163201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0394f"} 
[2026-08-25 19:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 19:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 19:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642898688001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:59:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 19:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 19:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 19:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 19:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787667874000,"timestamp_ms":1787667874000,"timestamp_seconds":1787667874,"priority":1,"record_length":96,"hex_timestamp":"000001a0394f00d0"} 
[2026-08-25 19:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 19:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 19:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 19:59:45] 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-25 19:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 19:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 19:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 19:59:45] 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-25 19:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 19:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 19:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642898688001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 19:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 19:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 19:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642898688001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 19:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 19:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642898688001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 19:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":163201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:59:45] local.INFO: GPS data processed {"connection_id":163201,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:59:45] local.INFO: Acknowledgment sent {"connection_id":163201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 19:59:45] local.INFO: TCP Data received {"connection_id":162204,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:59:45] local.INFO: Processing buffer {"connection_id":162204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 19:59:45] local.INFO: IMEI packet received {"connection_id":162204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 19:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":162204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 19:59:50] local.INFO: TCP Data received {"connection_id":162204,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039526400012d89a200058d8a280008010f2f..."} 
[2026-08-25 19:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039526400012d89a200058d8a280008010f2f..."} 
[2026-08-25 19:59:50] local.INFO: Processing buffer {"connection_id":162204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039526400012d89a200058d8a280008010f2f..."} 
[2026-08-25 19:59:50] local.INFO: Packet analysis {"connection_id":162204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03952"} 
[2026-08-25 19:59:50] local.INFO: Extracted packet for processing {"connection_id":162204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03952"} 
[2026-08-25 19:59:50] local.INFO: GPS Element Parsed {"raw_longitude":763994624,"raw_latitude":93162024,"longitude_deg":76.3994624,"latitude_deg":9.3162024,"altitude":8,"angle":271,"satellites":47,"speed":16,"hex_longitude":"2d89a200","hex_latitude":"058d8a28","is_valid_coordinates":true} 
[2026-08-25 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-25 19:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643031040001,"note":"Value kept but may cause issues"} 
[2026-08-25 19:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124157192310882304,"note":"Value kept but may cause issues"} 
[2026-08-25 19:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8527495501832472576,"note":"Value kept but may cause issues"} 
[2026-08-25 19:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 19:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787668096000,"timestamp_ms":1787668096000,"timestamp_seconds":1787668096,"priority":1,"record_length":96,"hex_timestamp":"000001a039526400"} 
[2026-08-25 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-25 19:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":41,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-25 19:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":763,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 19:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 19:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 19:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 19:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 19:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 19:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 19:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643031040001,"66":10732,"15":206,"85":14080,"24":16,"16":124157192310882304,"45":-8527495501832472576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 19:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 19:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 19:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643031040001,"description":"Unknown IO ID 0"} 
[2026-08-25 19:59:50] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 19:59:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 19:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124157192310882304,"km_value":124157192310882.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 19:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8527495501832472576,"description":"Unknown IO ID 45"} 
[2026-08-25 19:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643031040001,"power":10732,"unknown_15":206,"unknown_85":14080,"ignition":16,"odometer":null,"unknown_45":-8527495501832472576}} 
[2026-08-25 19:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":162204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 19:59:50] local.INFO: GPS data processed {"connection_id":162204,"processed":1,"errors":0,"total":1} 
[2026-08-25 19:59:50] local.INFO: Acknowledgment sent {"connection_id":162204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:00:16] local.INFO: TCP Data received {"connection_id":163201,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:00:16] local.INFO: Processing buffer {"connection_id":163201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:00:16] local.INFO: Packet analysis {"connection_id":163201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:00:16] local.INFO: Extracted packet for processing {"connection_id":163201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642975744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787668175000,"timestamp_ms":1787668175000,"timestamp_seconds":1787668175,"priority":1,"record_length":96,"hex_timestamp":"000001a039539898"} 
[2026-08-25 20:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:00:16] 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-25 20:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642975744001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642975744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642975744001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":163201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:00:16] local.INFO: GPS data processed {"connection_id":163201,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:00:16] local.INFO: Acknowledgment sent {"connection_id":163201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:00:22] local.INFO: TCP Data received {"connection_id":162204,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03953ee88012d881640058d6968000e01182c..."} 
[2026-08-25 20:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03953ee88012d881640058d6968000e01182c..."} 
[2026-08-25 20:00:22] local.INFO: Processing buffer {"connection_id":162204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03953ee88012d881640058d6968000e01182c..."} 
[2026-08-25 20:00:22] local.INFO: Packet analysis {"connection_id":162204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:00:22] local.INFO: Extracted packet for processing {"connection_id":162204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:00:22] local.INFO: GPS Element Parsed {"raw_longitude":763893312,"raw_latitude":93153640,"longitude_deg":76.3893312,"latitude_deg":9.315364,"altitude":14,"angle":280,"satellites":44,"speed":30,"hex_longitude":"2d881640","hex_latitude":"058d6968","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643056640001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124162062803795968,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634455992984690688,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787668197000,"timestamp_ms":1787668197000,"timestamp_seconds":1787668197,"priority":1,"record_length":96,"hex_timestamp":"000001a03953ee88"} 
[2026-08-25 20: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-25 20:00: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-25 20: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":40,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 20:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1595,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643056640001,"66":10384,"15":206,"85":14080,"24":30,"16":124162062803795968,"45":-8634455992984690688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-25 20:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643056640001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:00:22] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-25 20:00:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 20:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124162062803795968,"km_value":124162062803795.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634455992984690688,"description":"Unknown IO ID 45"} 
[2026-08-25 20:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643056640001,"power":10384,"unknown_15":206,"unknown_85":14080,"ignition":30,"odometer":null,"unknown_45":-8634455992984690688}} 
[2026-08-25 20:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":162204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:00:22] local.INFO: GPS data processed {"connection_id":162204,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:00:22] local.INFO: Acknowledgment sent {"connection_id":162204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:00:40] local.INFO: TCP Data received {"connection_id":162205,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:00:40] local.INFO: Processing buffer {"connection_id":162205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:00:40] local.INFO: IMEI packet received {"connection_id":162205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":162205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:00:40] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:00:40] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:00:40] local.INFO: IMEI packet received {"connection_id":161963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":161963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:00:42] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:00:42] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:00:42] local.INFO: IMEI packet received {"connection_id":161963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":161963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:00:44] local.INFO: TCP Data received {"connection_id":162205,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:00:44] local.INFO: Processing buffer {"connection_id":162205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:00:44] local.INFO: IMEI packet received {"connection_id":162205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":162205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:00:45] local.INFO: TCP Data received {"connection_id":162205,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:00:45] local.INFO: Processing buffer {"connection_id":162205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:00:45] local.INFO: Packet analysis {"connection_id":162205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:00:45] local.INFO: Extracted packet for processing {"connection_id":162205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:00: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-25 20:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642975744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787668175000,"timestamp_ms":1787668175000,"timestamp_seconds":1787668175,"priority":1,"record_length":96,"hex_timestamp":"000001a039539898"} 
[2026-08-25 20:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:00:45] 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-25 20:00: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-25 20:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:00:45] 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-25 20:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642975744001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642975744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642975744001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":162205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:00:45] local.INFO: GPS data processed {"connection_id":162205,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:00:45] local.INFO: Acknowledgment sent {"connection_id":162205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:00:48] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:00:48] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:00:48] local.INFO: IMEI packet received {"connection_id":161963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":161963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:00:49] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395409e0012d8803c0058d6f20000d01262c..."} 
[2026-08-25 20:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395409e0012d8803c0058d6f20000d01262c..."} 
[2026-08-25 20:00:49] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395409e0012d8803c0058d6f20000d01262c..."} 
[2026-08-25 20:00:49] local.INFO: Packet analysis {"connection_id":161963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03954"} 
[2026-08-25 20:00:49] local.INFO: Extracted packet for processing {"connection_id":161963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03954"} 
[2026-08-25 20:00:49] local.INFO: GPS Element Parsed {"raw_longitude":763888576,"raw_latitude":93155104,"longitude_deg":76.3888576,"latitude_deg":9.3155104,"altitude":13,"angle":294,"satellites":44,"speed":27,"hex_longitude":"2d8803c0","hex_latitude":"058d6f20","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643058432001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124162303321964544,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8640648442472208384,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787668204000,"timestamp_ms":1787668204000,"timestamp_seconds":1787668204,"priority":1,"record_length":96,"hex_timestamp":"000001a0395409e0"} 
[2026-08-25 20: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-25 20:00: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-25 20: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":40,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-25 20:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1694,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643058432001,"66":10417,"109":206,"85":14080,"24":27,"16":124162303321964544,"45":-8640648442472208384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-25 20:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643058432001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:00:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 20:00:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 20:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124162303321964544,"km_value":124162303321964.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8640648442472208384,"description":"Unknown IO ID 45"} 
[2026-08-25 20:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643058432001,"power":10417,"unknown_109":206,"unknown_85":14080,"ignition":27,"odometer":null,"unknown_45":-8640648442472208384}} 
[2026-08-25 20:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":161963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:00:49] local.INFO: GPS data processed {"connection_id":161963,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:00:49] local.INFO: Acknowledgment sent {"connection_id":161963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:00:51] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039542150012d87f640058d76a8000c01312c..."} 
[2026-08-25 20:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039542150012d87f640058d76a8000c01312c..."} 
[2026-08-25 20:00:51] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039542150012d87f640058d76a8000c01312c..."} 
[2026-08-25 20:00:51] local.INFO: Packet analysis {"connection_id":161963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03954"} 
[2026-08-25 20:00:51] local.INFO: Extracted packet for processing {"connection_id":161963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03954"} 
[2026-08-25 20:00:51] local.INFO: GPS Element Parsed {"raw_longitude":763885120,"raw_latitude":93157032,"longitude_deg":76.388512,"latitude_deg":9.3157032,"altitude":12,"angle":305,"satellites":44,"speed":22,"hex_longitude":"2d87f640","hex_latitude":"058d76a8","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643060224001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124162492300525568,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8645855729540980736,"note":"Value kept but may cause issues"} 
[2026-08-25 20:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787668210000,"timestamp_ms":1787668210000,"timestamp_seconds":1787668210,"priority":1,"record_length":96,"hex_timestamp":"000001a039542150"} 
[2026-08-25 20: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-25 20:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":40,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-25 20:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1991,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643060224001,"66":9373,"109":206,"85":14080,"24":22,"16":124162492300525568,"45":-8645855729540980736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-25 20:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643060224001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:00:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-25 20:00:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-25 20:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124162492300525568,"km_value":124162492300525.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8645855729540980736,"description":"Unknown IO ID 45"} 
[2026-08-25 20:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643060224001,"power":9373,"unknown_109":206,"unknown_85":14080,"ignition":22,"odometer":null,"unknown_45":-8645855729540980736}} 
[2026-08-25 20:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":161963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:00:51] local.INFO: GPS data processed {"connection_id":161963,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:00:51] local.INFO: Acknowledgment sent {"connection_id":161963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:01:17] local.INFO: TCP Data received {"connection_id":162205,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:01:17] local.INFO: Processing buffer {"connection_id":162205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:01:17] local.INFO: Packet analysis {"connection_id":162205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:01:17] local.INFO: Extracted packet for processing {"connection_id":162205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642975744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:01:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668175000,"timestamp_ms":1787668175000,"timestamp_seconds":1787668175,"priority":1,"record_length":96,"hex_timestamp":"000001a039539898"} 
[2026-08-25 20:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:01:17] 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-25 20:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642975744001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642975744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642975744001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":162205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:01:17] local.INFO: GPS data processed {"connection_id":162205,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:01:17] local.INFO: Acknowledgment sent {"connection_id":162205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:01:22] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039545418012d87d900058d8e38000601362a..."} 
[2026-08-25 20:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039545418012d87d900058d8e38000601362a..."} 
[2026-08-25 20:01:22] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039545418012d87d900058d8e38000601362a..."} 
[2026-08-25 20:01:22] local.INFO: Packet analysis {"connection_id":161963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03954"} 
[2026-08-25 20:01:22] local.INFO: Extracted packet for processing {"connection_id":161963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03954"} 
[2026-08-25 20:01:22] local.INFO: GPS Element Parsed {"raw_longitude":763877632,"raw_latitude":93163064,"longitude_deg":76.3877632,"latitude_deg":9.3163064,"altitude":6,"angle":310,"satellites":42,"speed":39,"hex_longitude":"2d87d900","hex_latitude":"058d8e38","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643061760001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124162956156993536,"note":"Value kept but may cause issues"} 
[2026-08-25 20:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8649655641726081024,"note":"Value kept but may cause issues"} 
[2026-08-25 20:01:22] 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-25 20:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787668223000,"timestamp_ms":1787668223000,"timestamp_seconds":1787668223,"priority":1,"record_length":96,"hex_timestamp":"000001a039545418"} 
[2026-08-25 20: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-25 20: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-25 20: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":36,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-25 20:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1791,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643061760001,"66":10558,"135":206,"85":14592,"24":39,"16":124162956156993536,"45":-8649655641726081024},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-08-25 20:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643061760001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:01:22] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-25 20:01:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124162956156993536,"km_value":124162956156993.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8649655641726081024,"description":"Unknown IO ID 45"} 
[2026-08-25 20:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643061760001,"power":10558,"unknown_135":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8649655641726081024}} 
[2026-08-25 20:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":161963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:01:22] local.INFO: GPS data processed {"connection_id":161963,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:01:22] local.INFO: Acknowledgment sent {"connection_id":161963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:01:39] local.INFO: TCP Data received {"connection_id":162206,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:01:39] local.INFO: Processing buffer {"connection_id":162206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:01:39] local.INFO: IMEI packet received {"connection_id":162206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":162206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:01:40] local.INFO: TCP Data received {"connection_id":162207,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:01:40] local.INFO: Processing buffer {"connection_id":162207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:01:40] local.INFO: IMEI packet received {"connection_id":162207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":162207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:01:44] local.INFO: TCP Data received {"connection_id":162206,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:01:44] local.INFO: Processing buffer {"connection_id":162206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:01:44] local.INFO: IMEI packet received {"connection_id":162206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":162206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:01:45] local.INFO: TCP Data received {"connection_id":162206,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:01:45] local.INFO: Processing buffer {"connection_id":162206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:01:45] local.INFO: Packet analysis {"connection_id":162206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:01:45] local.INFO: Extracted packet for processing {"connection_id":162206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642975744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:01:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787668175000,"timestamp_ms":1787668175000,"timestamp_seconds":1787668175,"priority":1,"record_length":96,"hex_timestamp":"000001a039539898"} 
[2026-08-25 20:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:01:45] 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-25 20:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642975744001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642975744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:01:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642975744001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":162206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:01:45] local.INFO: GPS data processed {"connection_id":162206,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:01:45] local.INFO: Acknowledgment sent {"connection_id":162206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:01:45] local.INFO: TCP Data received {"connection_id":162207,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:01:45] local.INFO: Processing buffer {"connection_id":162207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:01:45] local.INFO: IMEI packet received {"connection_id":162207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":162207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:01:46] local.INFO: TCP Data received {"connection_id":162207,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039547740012d87bd40058da3d0000501342e..."} 
[2026-08-25 20:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039547740012d87bd40058da3d0000501342e..."} 
[2026-08-25 20:01:46] local.INFO: Processing buffer {"connection_id":162207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039547740012d87bd40058da3d0000501342e..."} 
[2026-08-25 20:01:46] local.INFO: Packet analysis {"connection_id":162207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03954"} 
[2026-08-25 20:01:46] local.INFO: Extracted packet for processing {"connection_id":162207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03954"} 
[2026-08-25 20:01:46] local.INFO: GPS Element Parsed {"raw_longitude":763870528,"raw_latitude":93168592,"longitude_deg":76.3870528,"latitude_deg":9.3168592,"altitude":5,"angle":308,"satellites":46,"speed":39,"hex_longitude":"2d87bd40","hex_latitude":"058da3d0","is_valid_coordinates":true} 
[2026-08-25 20:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643065088001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124163385653723136,"note":"Value kept but may cause issues"} 
[2026-08-25 20:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8657888784793323520,"note":"Value kept but may cause issues"} 
[2026-08-25 20:01:46] 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-25 20:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787668232000,"timestamp_ms":1787668232000,"timestamp_seconds":1787668232,"priority":1,"record_length":96,"hex_timestamp":"000001a039547740"} 
[2026-08-25 20:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:01: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-25 20:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 20:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":961,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643065088001,"66":10406,"135":206,"85":14592,"24":39,"16":124163385653723136,"45":-8657888784793323520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-08-25 20:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643065088001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:01:46] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-25 20:01:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124163385653723136,"km_value":124163385653723.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8657888784793323520,"description":"Unknown IO ID 45"} 
[2026-08-25 20:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643065088001,"power":10406,"unknown_135":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8657888784793323520}} 
[2026-08-25 20:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":162207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:01:46] local.INFO: GPS data processed {"connection_id":162207,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:01:46] local.INFO: Acknowledgment sent {"connection_id":162207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:02:16] local.INFO: TCP Data received {"connection_id":162206,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:02:16] local.INFO: Processing buffer {"connection_id":162206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:02:16] local.INFO: Packet analysis {"connection_id":162206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:02:16] local.INFO: Extracted packet for processing {"connection_id":162206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642975744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787668175000,"timestamp_ms":1787668175000,"timestamp_seconds":1787668175,"priority":1,"record_length":96,"hex_timestamp":"000001a039539898"} 
[2026-08-25 20:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:02:16] 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-25 20:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642975744001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642975744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642975744001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":162206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:02:16] local.INFO: GPS data processed {"connection_id":162206,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:02:16] local.INFO: Acknowledgment sent {"connection_id":162206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:02:18] local.INFO: TCP Data received {"connection_id":162207,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039549a68012d87a180058db968000601342f..."} 
[2026-08-25 20:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039549a68012d87a180058db968000601342f..."} 
[2026-08-25 20:02:18] local.INFO: Processing buffer {"connection_id":162207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039549a68012d87a180058db968000601342f..."} 
[2026-08-25 20:02:18] local.INFO: Packet analysis {"connection_id":162207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03954"} 
[2026-08-25 20:02:18] local.INFO: Extracted packet for processing {"connection_id":162207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03954"} 
[2026-08-25 20:02:18] local.INFO: GPS Element Parsed {"raw_longitude":763863424,"raw_latitude":93174120,"longitude_deg":76.3863424,"latitude_deg":9.317412,"altitude":6,"angle":308,"satellites":47,"speed":38,"hex_longitude":"2d87a180","hex_latitude":"058db968","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643067392001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124163819445420032,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8665699715395629056,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:18] 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-25 20:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787668241000,"timestamp_ms":1787668241000,"timestamp_seconds":1787668241,"priority":1,"record_length":96,"hex_timestamp":"000001a039549a68"} 
[2026-08-25 20: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-25 20:02: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-25 20: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":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 20:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643067392001,"66":10417,"135":206,"85":14592,"24":38,"16":124163819445420032,"45":-8665699715395629056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-08-25 20:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643067392001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:02:18] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-25 20:02:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124163819445420032,"km_value":124163819445420.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8665699715395629056,"description":"Unknown IO ID 45"} 
[2026-08-25 20:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643067392001,"power":10417,"unknown_135":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-8665699715395629056}} 
[2026-08-25 20:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":162207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:02:18] local.INFO: GPS data processed {"connection_id":162207,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:02:18] local.INFO: Acknowledgment sent {"connection_id":162207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:02:44] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:02:44] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:02:44] local.INFO: IMEI packet received {"connection_id":161964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":161964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:02:45] local.INFO: TCP Data received {"connection_id":163202,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:02:45] local.INFO: Processing buffer {"connection_id":163202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:02:45] local.INFO: IMEI packet received {"connection_id":163202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":163202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:02:45] local.INFO: TCP Data received {"connection_id":163202,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:02:45] local.INFO: Processing buffer {"connection_id":163202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:02:45] local.INFO: IMEI packet received {"connection_id":163202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":163202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:02:49] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:02:49] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:02:49] local.INFO: IMEI packet received {"connection_id":161964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":161964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:02:50] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:02:50] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:02:50] local.INFO: Packet analysis {"connection_id":161964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:02:50] local.INFO: Extracted packet for processing {"connection_id":161964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:02:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642975744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787668175000,"timestamp_ms":1787668175000,"timestamp_seconds":1787668175,"priority":1,"record_length":96,"hex_timestamp":"000001a039539898"} 
[2026-08-25 20:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:02:50] 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-25 20:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:02: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-25 20:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642975744001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642975744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:02:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642975744001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":161964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:02:50] local.INFO: GPS data processed {"connection_id":161964,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:02:50] local.INFO: Acknowledgment sent {"connection_id":161964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:02:50] local.INFO: TCP Data received {"connection_id":163202,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:02:50] local.INFO: Processing buffer {"connection_id":163202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:02:50] local.INFO: IMEI packet received {"connection_id":163202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":163202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:02:51] local.INFO: TCP Data received {"connection_id":163202,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03955ee40012d86bc80058e40300006012a2f..."} 
[2026-08-25 20:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03955ee40012d86bc80058e40300006012a2f..."} 
[2026-08-25 20:02:51] local.INFO: Processing buffer {"connection_id":163202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03955ee40012d86bc80058e40300006012a2f..."} 
[2026-08-25 20:02:51] local.INFO: Packet analysis {"connection_id":163202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03955"} 
[2026-08-25 20:02:51] local.INFO: Extracted packet for processing {"connection_id":163202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03955"} 
[2026-08-25 20:02:51] local.INFO: GPS Element Parsed {"raw_longitude":763804800,"raw_latitude":93208624,"longitude_deg":76.38048,"latitude_deg":9.3208624,"altitude":6,"angle":298,"satellites":47,"speed":38,"hex_longitude":"2d86bc80","hex_latitude":"058e4030","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643088896001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124167122275270656,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8728961216402176000,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787668328000,"timestamp_ms":1787668328000,"timestamp_seconds":1787668328,"priority":1,"record_length":96,"hex_timestamp":"000001a03955ee40"} 
[2026-08-25 20: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-25 20:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":40,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-08-25 20:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1208,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643088896001,"66":11634,"87":206,"85":14592,"24":38,"16":124167122275270656,"45":-8728961216402176000},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-08-25 20:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643088896001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:02:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-25 20:02:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124167122275270656,"km_value":124167122275270.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8728961216402176000,"description":"Unknown IO ID 45"} 
[2026-08-25 20:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643088896001,"power":11634,"unknown_87":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-8728961216402176000}} 
[2026-08-25 20:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":163202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:02:51] local.INFO: GPS data processed {"connection_id":163202,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:02:51] local.INFO: Acknowledgment sent {"connection_id":163202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:02:52] local.INFO: TCP Data received {"connection_id":163202,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039561168012d869d40058e53d8000801342e..."} 
[2026-08-25 20:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039561168012d869d40058e53d8000801342e..."} 
[2026-08-25 20:02:52] local.INFO: Processing buffer {"connection_id":163202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039561168012d869d40058e53d8000801342e..."} 
[2026-08-25 20:02:52] local.INFO: Packet analysis {"connection_id":163202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03956"} 
[2026-08-25 20:02:52] local.INFO: Extracted packet for processing {"connection_id":163202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03956"} 
[2026-08-25 20:02:52] local.INFO: GPS Element Parsed {"raw_longitude":763796800,"raw_latitude":93213656,"longitude_deg":76.37968,"latitude_deg":9.3213656,"altitude":8,"angle":308,"satellites":46,"speed":43,"hex_longitude":"2d869d40","hex_latitude":"058e53d8","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643091968001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124167577541804032,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8737968415655841792,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787668337000,"timestamp_ms":1787668337000,"timestamp_seconds":1787668337,"priority":1,"record_length":96,"hex_timestamp":"000001a039561168"} 
[2026-08-25 20: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-25 20:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-25 20:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643091968001,"66":11830,"87":206,"85":14592,"24":43,"16":124167577541804032,"45":-8737968415655841792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-08-25 20:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643091968001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:02:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-25 20:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124167577541804032,"km_value":124167577541804.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8737968415655841792,"description":"Unknown IO ID 45"} 
[2026-08-25 20:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643091968001,"power":11830,"unknown_87":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8737968415655841792}} 
[2026-08-25 20:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":163202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:02:52] local.INFO: GPS data processed {"connection_id":163202,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:02:52] local.INFO: Acknowledgment sent {"connection_id":163202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:02:55] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:02:55] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:02:55] local.INFO: Packet analysis {"connection_id":161964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:02:55] local.INFO: Extracted packet for processing {"connection_id":161964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:02:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642975744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787668175000,"timestamp_ms":1787668175000,"timestamp_seconds":1787668175,"priority":1,"record_length":96,"hex_timestamp":"000001a039539898"} 
[2026-08-25 20:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:02:55] 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-25 20:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:02: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-25 20:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642975744001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642975744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:02:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642975744001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":161964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:02:55] local.INFO: GPS data processed {"connection_id":161964,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:02:55] local.INFO: Acknowledgment sent {"connection_id":161964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:03:23] local.INFO: TCP Data received {"connection_id":163202,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039563490012d868080058e6d580007013e2e..."} 
[2026-08-25 20:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039563490012d868080058e6d580007013e2e..."} 
[2026-08-25 20:03:23] local.INFO: Processing buffer {"connection_id":163202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039563490012d868080058e6d580007013e2e..."} 
[2026-08-25 20:03:23] local.INFO: Packet analysis {"connection_id":163202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03956"} 
[2026-08-25 20:03:23] local.INFO: Extracted packet for processing {"connection_id":163202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03956"} 
[2026-08-25 20:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763789440,"raw_latitude":93220184,"longitude_deg":76.378944,"latitude_deg":9.3220184,"altitude":7,"angle":318,"satellites":46,"speed":46,"hex_longitude":"2d868080","hex_latitude":"058e6d58","is_valid_coordinates":true} 
[2026-08-25 20:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643094272001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124168049988206592,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8746764508676761600,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787668346000,"timestamp_ms":1787668346000,"timestamp_seconds":1787668346,"priority":1,"record_length":96,"hex_timestamp":"000001a039563490"} 
[2026-08-25 20:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-25 20:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643094272001,"66":12048,"87":206,"85":14592,"24":46,"16":124168049988206592,"45":-8746764508676761600},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-08-25 20:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643094272001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:03:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-25 20:03:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124168049988206592,"km_value":124168049988206.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8746764508676761600,"description":"Unknown IO ID 45"} 
[2026-08-25 20:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643094272001,"power":12048,"unknown_87":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-8746764508676761600}} 
[2026-08-25 20:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":163202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:03:23] local.INFO: GPS data processed {"connection_id":163202,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:03:23] local.INFO: Acknowledgment sent {"connection_id":163202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:03:39] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:03:39] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:03:39] local.INFO: IMEI packet received {"connection_id":161965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":161965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:03:41] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:03:41] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:03:41] local.INFO: IMEI packet received {"connection_id":161966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":161966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:03:41] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:03:41] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:03:41] local.INFO: IMEI packet received {"connection_id":161966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":161966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:03:44] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:03:44] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:03:44] local.INFO: IMEI packet received {"connection_id":161965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":161965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:03:45] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:03:45] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:03:45] local.INFO: Packet analysis {"connection_id":161965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:03:45] local.INFO: Extracted packet for processing {"connection_id":161965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642975744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787668175000,"timestamp_ms":1787668175000,"timestamp_seconds":1787668175,"priority":1,"record_length":96,"hex_timestamp":"000001a039539898"} 
[2026-08-25 20: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-25 20:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:03:45] 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-25 20: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-25 20: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-25 20:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:03:45] 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-25 20:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642975744001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642975744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642975744001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":161965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:03:45] local.INFO: GPS data processed {"connection_id":161965,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:03:45] local.INFO: Acknowledgment sent {"connection_id":161965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:03:45] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:03:45] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:03:45] local.INFO: IMEI packet received {"connection_id":161966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":161966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:03:46] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395657b8012d8669c0058e8bc0000801472c..."} 
[2026-08-25 20:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395657b8012d8669c0058e8bc0000801472c..."} 
[2026-08-25 20:03:46] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395657b8012d8669c0058e8bc0000801472c..."} 
[2026-08-25 20:03:46] local.INFO: Packet analysis {"connection_id":161966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03956"} 
[2026-08-25 20:03:46] local.INFO: Extracted packet for processing {"connection_id":161966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03956"} 
[2026-08-25 20:03:46] local.INFO: GPS Element Parsed {"raw_longitude":763783616,"raw_latitude":93227968,"longitude_deg":76.3783616,"latitude_deg":9.3227968,"altitude":8,"angle":327,"satellites":44,"speed":45,"hex_longitude":"2d8669c0","hex_latitude":"058e8bc0","is_valid_coordinates":true} 
[2026-08-25 20:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643096576001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124168518139641856,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8754856914255521792,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] 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-25 20:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787668355000,"timestamp_ms":1787668355000,"timestamp_seconds":1787668355,"priority":1,"record_length":96,"hex_timestamp":"000001a0395657b8"} 
[2026-08-25 20:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:03: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-25 20:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578891656310548992,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5106860975600959488,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505494257991680,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18622230884624727,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6244521472132841448,"corrected_to":0} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3221589551,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182195349881088,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3523268009,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-8201345192444224723,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194410496,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84872307570740782,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.WARNING: Large IO value detected {"io_id":248,"raw_value":1127116137567744,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:46] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,87,85,24,241,157,16,34,160,17,45,64,83,8,46,10,66,33,238,128,6,47,191,1,240,90,227,32,57,142,4,113,205,229,48,239,40,2,185,5,69,80,248],"length":583,"final_offset":713,"validated_count":43,"validation_warnings":[{"io_id":205,"original":-6244521472132841448,"validated":0}]} 
[2026-08-25 20:03:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504753000534638592,"timestamp_seconds":504753000534638.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 20:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643096576001,"66":12113,"89":206,"85":14592,"24":45,"16":124168518139641856,"45":-8754856914255521792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 20:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643096576001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:03:46] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 20:03:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124168518139641856,"km_value":124168518139641.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8754856914255521792,"description":"Unknown IO ID 45"} 
[2026-08-25 20:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643096576001,"power":12113,"unknown_89":206,"unknown_85":14592,"ignition":45,"odometer":null,"unknown_45":-8754856914255521792}} 
[2026-08-25 20:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":161966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:03:46] local.INFO: GPS data processed {"connection_id":161966,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:03:46] local.INFO: Acknowledgment sent {"connection_id":161966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:03:49] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395676f8012d865580058eadb8000901492d..."} 
[2026-08-25 20:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395676f8012d865580058eadb8000901492d..."} 
[2026-08-25 20:03:49] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395676f8012d865580058eadb8000901492d..."} 
[2026-08-25 20:03:49] local.INFO: Packet analysis {"connection_id":161966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03956"} 
[2026-08-25 20:03:49] local.INFO: Extracted packet for processing {"connection_id":161966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03956"} 
[2026-08-25 20:03:49] local.INFO: GPS Element Parsed {"raw_longitude":763778432,"raw_latitude":93236664,"longitude_deg":76.3778432,"latitude_deg":9.3236664,"altitude":9,"angle":329,"satellites":45,"speed":53,"hex_longitude":"2d865580","hex_latitude":"058eadb8","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643098880001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124169007765913600,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8761260469973696512,"note":"Value kept but may cause issues"} 
[2026-08-25 20:03:49] 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-25 20:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787668363000,"timestamp_ms":1787668363000,"timestamp_seconds":1787668363,"priority":1,"record_length":96,"hex_timestamp":"000001a0395676f8"} 
[2026-08-25 20: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-25 20:03: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-25 20: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-25 20:03:49] 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-25 20: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-25 20: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-25 20:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643098880001,"66":12004,"89":206,"85":14592,"24":53,"16":124169007765913600,"45":-8761260469973696512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 20:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643098880001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:03:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 20:03:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124169007765913600,"km_value":124169007765913.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8761260469973696512,"description":"Unknown IO ID 45"} 
[2026-08-25 20:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643098880001,"power":12004,"unknown_89":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-8761260469973696512}} 
[2026-08-25 20:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":161966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:03:49] local.INFO: GPS data processed {"connection_id":161966,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:03:49] local.INFO: Acknowledgment sent {"connection_id":161966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:04:17] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:04:17] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:04:17] local.INFO: Packet analysis {"connection_id":161965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:04:17] local.INFO: Extracted packet for processing {"connection_id":161965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642975744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:04:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668175000,"timestamp_ms":1787668175000,"timestamp_seconds":1787668175,"priority":1,"record_length":96,"hex_timestamp":"000001a039539898"} 
[2026-08-25 20:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:04:17] 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-25 20:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642975744001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642975744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642975744001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":161965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:04:17] local.INFO: GPS data processed {"connection_id":161965,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:04:17] local.INFO: Acknowledgment sent {"connection_id":161965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:04:20] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039569250012d864480058ecdc00008014e2d..."} 
[2026-08-25 20:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039569250012d864480058ecdc00008014e2d..."} 
[2026-08-25 20:04:20] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039569250012d864480058ecdc00008014e2d..."} 
[2026-08-25 20:04:20] local.INFO: Packet analysis {"connection_id":161966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03956"} 
[2026-08-25 20:04:20] local.INFO: Extracted packet for processing {"connection_id":161966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03956"} 
[2026-08-25 20:04:20] local.INFO: GPS Element Parsed {"raw_longitude":763774080,"raw_latitude":93244864,"longitude_deg":76.377408,"latitude_deg":9.3244864,"altitude":8,"angle":334,"satellites":45,"speed":53,"hex_longitude":"2d864480","hex_latitude":"058ecdc0","is_valid_coordinates":true} 
[2026-08-25 20:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643100928001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124169458737479680,"note":"Value kept but may cause issues"} 
[2026-08-25 20:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8766960338249861120,"note":"Value kept but may cause issues"} 
[2026-08-25 20:04:20] 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-25 20:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787668370000,"timestamp_ms":1787668370000,"timestamp_seconds":1787668370,"priority":1,"record_length":96,"hex_timestamp":"000001a039569250"} 
[2026-08-25 20: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-25 20:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-25 20:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643100928001,"66":12189,"89":206,"85":14592,"24":53,"16":124169458737479680,"45":-8766960338249861120},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 20:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643100928001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:04:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 20:04:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124169458737479680,"km_value":124169458737479.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8766960338249861120,"description":"Unknown IO ID 45"} 
[2026-08-25 20:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643100928001,"power":12189,"unknown_89":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-8766960338249861120}} 
[2026-08-25 20:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":161966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:04:20] local.INFO: GPS data processed {"connection_id":161966,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:04:20] local.INFO: Acknowledgment sent {"connection_id":161966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:04:40] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:04:40] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:04:40] local.INFO: IMEI packet received {"connection_id":161967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":161967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:04:40] local.INFO: TCP Data received {"connection_id":163204,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:04:40] local.INFO: Processing buffer {"connection_id":163204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:04:40] local.INFO: IMEI packet received {"connection_id":163204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":163204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:04:44] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:04:44] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:04:44] local.INFO: IMEI packet received {"connection_id":161967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":161967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:04:45] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:04:45] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039539898012d34c14006aa4818000900e62e..."} 
[2026-08-25 20:04:45] local.INFO: Packet analysis {"connection_id":161967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:04:45] local.INFO: Extracted packet for processing {"connection_id":161967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03953"} 
[2026-08-25 20:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457642975744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:04:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787668175000,"timestamp_ms":1787668175000,"timestamp_seconds":1787668175,"priority":1,"record_length":96,"hex_timestamp":"000001a039539898"} 
[2026-08-25 20:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:04:45] 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-25 20:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457642975744001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457642975744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457642975744001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":161967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:04:45] local.INFO: GPS data processed {"connection_id":161967,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:04:45] local.INFO: Acknowledgment sent {"connection_id":161967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:04:45] local.INFO: TCP Data received {"connection_id":163204,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:04:45] local.INFO: Processing buffer {"connection_id":163204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:04:45] local.INFO: IMEI packet received {"connection_id":163204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":163204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:04:46] local.INFO: TCP Data received {"connection_id":163204,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03957d2a0012d85bac0059014f80009014e2e..."} 
[2026-08-25 20:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03957d2a0012d85bac0059014f80009014e2e..."} 
[2026-08-25 20:04:46] local.INFO: Processing buffer {"connection_id":163204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03957d2a0012d85bac0059014f80009014e2e..."} 
[2026-08-25 20:04:46] local.INFO: Packet analysis {"connection_id":163204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03957"} 
[2026-08-25 20:04:46] local.INFO: Extracted packet for processing {"connection_id":163204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03957"} 
[2026-08-25 20:04:46] local.INFO: GPS Element Parsed {"raw_longitude":763738816,"raw_latitude":93328632,"longitude_deg":76.3738816,"latitude_deg":9.3328632,"altitude":9,"angle":334,"satellites":46,"speed":50,"hex_longitude":"2d85bac0","hex_latitude":"059014f8","is_valid_coordinates":true} 
[2026-08-25 20:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643121408001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124173869668892672,"note":"Value kept but may cause issues"} 
[2026-08-25 20:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8805592778782167040,"note":"Value kept but may cause issues"} 
[2026-08-25 20:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787668452000,"timestamp_ms":1787668452000,"timestamp_seconds":1787668452,"priority":1,"record_length":96,"hex_timestamp":"000001a03957d2a0"} 
[2026-08-25 20:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:04: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-25 20:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-25 20:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643121408001,"66":11341,"172":206,"85":14592,"24":50,"16":124173869668892672,"45":-8805592778782167040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-08-25 20:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643121408001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:04:46] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-25 20:04:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124173869668892672,"km_value":124173869668892.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8805592778782167040,"description":"Unknown IO ID 45"} 
[2026-08-25 20:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643121408001,"power":11341,"unknown_172":206,"unknown_85":14592,"ignition":50,"odometer":null,"unknown_45":-8805592778782167040}} 
[2026-08-25 20:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":163204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:04:46] local.INFO: GPS data processed {"connection_id":163204,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:04:46] local.INFO: Acknowledgment sent {"connection_id":163204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:05:09] local.INFO: TCP Data received {"connection_id":163203,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:05:09] local.INFO: Processing buffer {"connection_id":163203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:05:09] local.INFO: IMEI packet received {"connection_id":163203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 20:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":163203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:05:17] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:05:17] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:05:17] local.INFO: Packet analysis {"connection_id":161967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:05:17] local.INFO: Extracted packet for processing {"connection_id":161967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643052800001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668476000,"timestamp_ms":1787668476000,"timestamp_seconds":1787668476,"priority":1,"record_length":96,"hex_timestamp":"000001a039583060"} 
[2026-08-25 20:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:05:17] 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-25 20:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643052800001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643052800001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:05:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643052800001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":161967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:05:17] local.INFO: GPS data processed {"connection_id":161967,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:05:17] local.INFO: Acknowledgment sent {"connection_id":161967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:05:17] local.INFO: TCP Data received {"connection_id":163204,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03957edf8012d85aac005903668000a014f2d..."} 
[2026-08-25 20:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03957edf8012d85aac005903668000a014f2d..."} 
[2026-08-25 20:05:17] local.INFO: Processing buffer {"connection_id":163204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03957edf8012d85aac005903668000a014f2d..."} 
[2026-08-25 20:05:17] local.INFO: Packet analysis {"connection_id":163204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03957"} 
[2026-08-25 20:05:17] local.INFO: Extracted packet for processing {"connection_id":163204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03957"} 
[2026-08-25 20:05:17] local.INFO: GPS Element Parsed {"raw_longitude":763734720,"raw_latitude":93337192,"longitude_deg":76.373472,"latitude_deg":9.3337192,"altitude":10,"angle":335,"satellites":45,"speed":53,"hex_longitude":"2d85aac0","hex_latitude":"05903668","is_valid_coordinates":true} 
[2026-08-25 20:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643123712001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124174329230393344,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8810518590872291328,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668459000,"timestamp_ms":1787668459000,"timestamp_seconds":1787668459,"priority":1,"record_length":96,"hex_timestamp":"000001a03957edf8"} 
[2026-08-25 20:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-25 20:05:17] 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-25 20:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643123712001,"66":12135,"172":206,"85":14592,"24":53,"16":124174329230393344,"45":-8810518590872291328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-08-25 20:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643123712001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:05:17] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-25 20:05:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124174329230393344,"km_value":124174329230393.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8810518590872291328,"description":"Unknown IO ID 45"} 
[2026-08-25 20:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643123712001,"power":12135,"unknown_172":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-8810518590872291328}} 
[2026-08-25 20:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":163204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:05:17] local.INFO: GPS data processed {"connection_id":163204,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:05:17] local.INFO: Acknowledgment sent {"connection_id":163204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:05:39] local.INFO: TCP Data received {"connection_id":164583,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:05:39] local.INFO: Processing buffer {"connection_id":164583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:05:39] local.INFO: IMEI packet received {"connection_id":164583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":164583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:05:44] local.INFO: TCP Data received {"connection_id":164583,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:05:44] local.INFO: Processing buffer {"connection_id":164583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:05:44] local.INFO: IMEI packet received {"connection_id":164583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":164583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:05:45] local.INFO: TCP Data received {"connection_id":164583,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:05:45] local.INFO: Processing buffer {"connection_id":164583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:05:45] local.INFO: Packet analysis {"connection_id":164583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:05:45] local.INFO: Extracted packet for processing {"connection_id":164583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643052800001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787668476000,"timestamp_ms":1787668476000,"timestamp_seconds":1787668476,"priority":1,"record_length":96,"hex_timestamp":"000001a039583060"} 
[2026-08-25 20: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-25 20:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643052800001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643052800001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643052800001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":164583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:05:45] local.INFO: GPS data processed {"connection_id":164583,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:05:45] local.INFO: Acknowledgment sent {"connection_id":164583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:05:46] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:05:46] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:05:46] local.INFO: IMEI packet received {"connection_id":161968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":161968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:05:46] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:05:46] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:05:46] local.INFO: IMEI packet received {"connection_id":161968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":161968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:05:50] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:05:50] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:05:50] local.INFO: IMEI packet received {"connection_id":161968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":161968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:05:51] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03958f3b0012d850dc00591b4a0000901502d..."} 
[2026-08-25 20:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03958f3b0012d850dc00591b4a0000901502d..."} 
[2026-08-25 20:05:51] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03958f3b0012d850dc00591b4a0000901502d..."} 
[2026-08-25 20:05:51] local.INFO: Packet analysis {"connection_id":161968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:05:51] local.INFO: Extracted packet for processing {"connection_id":161968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:05:51] local.INFO: GPS Element Parsed {"raw_longitude":763694528,"raw_latitude":93435040,"longitude_deg":76.3694528,"latitude_deg":9.343504,"altitude":9,"angle":336,"satellites":45,"speed":64,"hex_longitude":"2d850dc0","hex_latitude":"0591b4a0","is_valid_coordinates":true} 
[2026-08-25 20:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643141120001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124179448831410176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8854780530935121920,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787668526000,"timestamp_ms":1787668526000,"timestamp_seconds":1787668526,"priority":1,"record_length":96,"hex_timestamp":"000001a03958f3b0"} 
[2026-08-25 20:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4107309249447592448,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186041,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4132114436941776259,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":16607023626584068,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483922175525070,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2863464654,"corrected_to":0} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2428262400,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":41,"raw_value":-9079256848778919935,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.WARNING: Large IO value detected {"io_id":192,"raw_value":400990791138935124,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:51] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,173,85,24,241,157,16,44,160,196,45,128,109,8,46,10,66,43,64,71,149,1,240,124,227,42,57,145,4,113,205,103,108,239,2,185,5,41,192],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2863464654,"validated":0}]} 
[2026-08-25 20:05:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648887975526137856,"timestamp_seconds":648887975526137.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 20:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643141120001,"66":12232,"173":206,"85":14592,"24":64,"16":124179448831410176,"45":-8854780530935121920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-25 20:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643141120001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:05:51] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-25 20:05:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124179448831410176,"km_value":124179448831410.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8854780530935121920,"description":"Unknown IO ID 45"} 
[2026-08-25 20:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643141120001,"power":12232,"unknown_173":206,"unknown_85":14592,"ignition":64,"odometer":null,"unknown_45":-8854780530935121920}} 
[2026-08-25 20:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":161968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:05:51] local.INFO: GPS data processed {"connection_id":161968,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:05:51] local.INFO: Acknowledgment sent {"connection_id":161968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:05:52] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039590b20012d84ff400591d8e0000a01532c..."} 
[2026-08-25 20:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039590b20012d84ff400591d8e0000a01532c..."} 
[2026-08-25 20:05:52] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039590b20012d84ff400591d8e0000a01532c..."} 
[2026-08-25 20:05:52] local.INFO: Packet analysis {"connection_id":161968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03959"} 
[2026-08-25 20:05:52] local.INFO: Extracted packet for processing {"connection_id":161968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03959"} 
[2026-08-25 20:05:52] local.INFO: GPS Element Parsed {"raw_longitude":763690816,"raw_latitude":93444320,"longitude_deg":76.3690816,"latitude_deg":9.344432,"altitude":10,"angle":339,"satellites":44,"speed":67,"hex_longitude":"2d84ff40","hex_latitude":"0591d8e0","is_valid_coordinates":true} 
[2026-08-25 20:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643142656001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124179934162714624,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8859213761815994368,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787668532000,"timestamp_ms":1787668532000,"timestamp_seconds":1787668532,"priority":1,"record_length":96,"hex_timestamp":"000001a039590b20"} 
[2026-08-25 20:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 20:05:52] 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-25 20:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643142656001,"66":12178,"173":206,"85":14592,"24":67,"16":124179934162714624,"45":-8859213761815994368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-25 20:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643142656001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:05:52] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-25 20:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124179934162714624,"km_value":124179934162714.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8859213761815994368,"description":"Unknown IO ID 45"} 
[2026-08-25 20:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643142656001,"power":12178,"unknown_173":206,"unknown_85":14592,"ignition":67,"odometer":null,"unknown_45":-8859213761815994368}} 
[2026-08-25 20:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":161968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:05:52] local.INFO: GPS data processed {"connection_id":161968,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:05:52] local.INFO: Acknowledgment sent {"connection_id":161968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:05:56] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039592290012d84f1400591fdc0000b01532a..."} 
[2026-08-25 20:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039592290012d84f1400591fdc0000b01532a..."} 
[2026-08-25 20:05:56] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039592290012d84f1400591fdc0000b01532a..."} 
[2026-08-25 20:05:56] local.INFO: Packet analysis {"connection_id":161968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03959"} 
[2026-08-25 20:05:56] local.INFO: Extracted packet for processing {"connection_id":161968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03959"} 
[2026-08-25 20:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763687232,"raw_latitude":93453760,"longitude_deg":76.3687232,"latitude_deg":9.345376,"altitude":11,"angle":339,"satellites":42,"speed":66,"hex_longitude":"2d84f140","hex_latitude":"0591fdc0","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643144192001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124180423788986368,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8863295148975923200,"note":"Value kept but may cause issues"} 
[2026-08-25 20:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787668538000,"timestamp_ms":1787668538000,"timestamp_seconds":1787668538,"priority":1,"record_length":96,"hex_timestamp":"000001a039592290"} 
[2026-08-25 20: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-25 20:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-25 20:05:56] 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-25 20: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-25 20: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-25 20:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643144192001,"66":12135,"173":206,"85":14592,"24":66,"16":124180423788986368,"45":-8863295148975923200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-25 20:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643144192001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:05:56] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-25 20:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124180423788986368,"km_value":124180423788986.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8863295148975923200,"description":"Unknown IO ID 45"} 
[2026-08-25 20:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643144192001,"power":12135,"unknown_173":206,"unknown_85":14592,"ignition":66,"odometer":null,"unknown_45":-8863295148975923200}} 
[2026-08-25 20:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":161968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:05:56] local.INFO: GPS data processed {"connection_id":161968,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:05:56] local.INFO: Acknowledgment sent {"connection_id":161968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:06:17] local.INFO: TCP Data received {"connection_id":164583,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:06:17] local.INFO: Processing buffer {"connection_id":164583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:06:17] local.INFO: Packet analysis {"connection_id":164583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:06:17] local.INFO: Extracted packet for processing {"connection_id":164583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643052800001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:06:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668476000,"timestamp_ms":1787668476000,"timestamp_seconds":1787668476,"priority":1,"record_length":96,"hex_timestamp":"000001a039583060"} 
[2026-08-25 20: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-25 20:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:06:17] 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-25 20: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-25 20: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-25 20:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643052800001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643052800001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643052800001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":164583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:06:17] local.INFO: GPS data processed {"connection_id":164583,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:06:17] local.INFO: Acknowledgment sent {"connection_id":164583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:06:39] local.INFO: TCP Data received {"connection_id":162208,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:06:39] local.INFO: Processing buffer {"connection_id":162208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:06:39] local.INFO: IMEI packet received {"connection_id":162208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":162208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:06:40] local.INFO: TCP Data received {"connection_id":164584,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:06:40] local.INFO: Processing buffer {"connection_id":164584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:06:40] local.INFO: IMEI packet received {"connection_id":164584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":164584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:06:44] local.INFO: TCP Data received {"connection_id":162208,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:06:44] local.INFO: Processing buffer {"connection_id":162208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:06:44] local.INFO: IMEI packet received {"connection_id":162208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":162208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:06:45] local.INFO: TCP Data received {"connection_id":164584,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:06:45] local.INFO: Processing buffer {"connection_id":164584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:06:45] local.INFO: IMEI packet received {"connection_id":164584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":164584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:06:45] local.INFO: TCP Data received {"connection_id":162208,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:06:45] local.INFO: Processing buffer {"connection_id":162208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:06:45] local.INFO: Packet analysis {"connection_id":162208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:06:45] local.INFO: Extracted packet for processing {"connection_id":162208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643052800001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:06:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787668476000,"timestamp_ms":1787668476000,"timestamp_seconds":1787668476,"priority":1,"record_length":96,"hex_timestamp":"000001a039583060"} 
[2026-08-25 20: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-25 20:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643052800001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643052800001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:06:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643052800001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":162208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:06:45] local.INFO: GPS data processed {"connection_id":162208,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:06:45] local.INFO: Acknowledgment sent {"connection_id":162208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:06:45] local.INFO: TCP Data received {"connection_id":164584,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039593a00012d84e34005922160000c01522b..."} 
[2026-08-25 20:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039593a00012d84e34005922160000c01522b..."} 
[2026-08-25 20:06:45] local.INFO: Processing buffer {"connection_id":164584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039593a00012d84e34005922160000c01522b..."} 
[2026-08-25 20:06:45] local.INFO: Packet analysis {"connection_id":164584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03959"} 
[2026-08-25 20:06:45] local.INFO: Extracted packet for processing {"connection_id":164584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03959"} 
[2026-08-25 20:06:45] local.INFO: GPS Element Parsed {"raw_longitude":763683648,"raw_latitude":93462880,"longitude_deg":76.3683648,"latitude_deg":9.346288,"altitude":12,"angle":338,"satellites":43,"speed":63,"hex_longitude":"2d84e340","hex_latitude":"05922160","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643145728001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124180896235388928,"note":"Value kept but may cause issues"} 
[2026-08-25 20:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8867235798647455744,"note":"Value kept but may cause issues"} 
[2026-08-25 20:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787668544000,"timestamp_ms":1787668544000,"timestamp_seconds":1787668544,"priority":1,"record_length":96,"hex_timestamp":"000001a039593a00"} 
[2026-08-25 20: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-25 20:06: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-25 20: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-25 20:06:45] 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-25 20: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-25 20: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-25 20:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643145728001,"66":12232,"173":206,"85":14592,"24":63,"16":124180896235388928,"45":-8867235798647455744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-25 20:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643145728001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:06:45] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-25 20:06:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124180896235388928,"km_value":124180896235388.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8867235798647455744,"description":"Unknown IO ID 45"} 
[2026-08-25 20:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643145728001,"power":12232,"unknown_173":206,"unknown_85":14592,"ignition":63,"odometer":null,"unknown_45":-8867235798647455744}} 
[2026-08-25 20:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":164584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:06:45] local.INFO: GPS data processed {"connection_id":164584,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:06:45] local.INFO: Acknowledgment sent {"connection_id":164584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:07:16] local.INFO: TCP Data received {"connection_id":162208,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:07:16] local.INFO: Processing buffer {"connection_id":162208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:07:16] local.INFO: Packet analysis {"connection_id":162208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:07:16] local.INFO: Extracted packet for processing {"connection_id":162208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643052800001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:07:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787668476000,"timestamp_ms":1787668476000,"timestamp_seconds":1787668476,"priority":1,"record_length":96,"hex_timestamp":"000001a039583060"} 
[2026-08-25 20:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:07:16] 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-25 20:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643052800001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643052800001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643052800001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":162208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:07:16] local.INFO: GPS data processed {"connection_id":162208,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:07:16] local.INFO: Acknowledgment sent {"connection_id":162208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:07:17] local.INFO: TCP Data received {"connection_id":164584,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039595170012d84d5c005924450000c01522c..."} 
[2026-08-25 20:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039595170012d84d5c005924450000c01522c..."} 
[2026-08-25 20:07:17] local.INFO: Processing buffer {"connection_id":164584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039595170012d84d5c005924450000c01522c..."} 
[2026-08-25 20:07:17] local.INFO: Packet analysis {"connection_id":164584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03959"} 
[2026-08-25 20:07:17] local.INFO: Extracted packet for processing {"connection_id":164584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03959"} 
[2026-08-25 20:07:17] local.INFO: GPS Element Parsed {"raw_longitude":763680192,"raw_latitude":93471824,"longitude_deg":76.3680192,"latitude_deg":9.3471824,"altitude":12,"angle":338,"satellites":44,"speed":64,"hex_longitude":"2d84d5c0","hex_latitude":"05924450","is_valid_coordinates":true} 
[2026-08-25 20:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643147264001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124181360091856896,"note":"Value kept but may cause issues"} 
[2026-08-25 20:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8871176448319070208,"note":"Value kept but may cause issues"} 
[2026-08-25 20:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668550000,"timestamp_ms":1787668550000,"timestamp_seconds":1787668550,"priority":1,"record_length":96,"hex_timestamp":"000001a039595170"} 
[2026-08-25 20:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 20:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643147264001,"66":12058,"173":206,"85":14592,"24":64,"16":124181360091856896,"45":-8871176448319070208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-25 20:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643147264001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:07:17] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-25 20:07:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124181360091856896,"km_value":124181360091856.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8871176448319070208,"description":"Unknown IO ID 45"} 
[2026-08-25 20:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643147264001,"power":12058,"unknown_173":206,"unknown_85":14592,"ignition":64,"odometer":null,"unknown_45":-8871176448319070208}} 
[2026-08-25 20:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":164584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:07:17] local.INFO: GPS data processed {"connection_id":164584,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:07:17] local.INFO: Acknowledgment sent {"connection_id":164584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:07:39] local.INFO: TCP Data received {"connection_id":163205,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:07:39] local.INFO: Processing buffer {"connection_id":163205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:07:39] local.INFO: IMEI packet received {"connection_id":163205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":163205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:07:40] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:07:40] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:07:40] local.INFO: IMEI packet received {"connection_id":161969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":161969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:07:44] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:07:44] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:07:44] local.INFO: IMEI packet received {"connection_id":161969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":161969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:07:45] local.INFO: TCP Data received {"connection_id":163205,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:07:45] local.INFO: Processing buffer {"connection_id":163205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:07:45] local.INFO: IMEI packet received {"connection_id":163205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":163205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:07:45] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395a89f0012d844480059390f8000e01592b..."} 
[2026-08-25 20:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395a89f0012d844480059390f8000e01592b..."} 
[2026-08-25 20:07:45] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395a89f0012d844480059390f8000e01592b..."} 
[2026-08-25 20:07:45] local.INFO: Packet analysis {"connection_id":161969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395a"} 
[2026-08-25 20:07:45] local.INFO: Extracted packet for processing {"connection_id":161969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395a"} 
[2026-08-25 20:07:45] local.INFO: GPS Element Parsed {"raw_longitude":763643008,"raw_latitude":93556984,"longitude_deg":76.3643008,"latitude_deg":9.3556984,"altitude":14,"angle":345,"satellites":43,"speed":50,"hex_longitude":"2d844480","hex_latitude":"059390f8","is_valid_coordinates":true} 
[2026-08-25 20:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643167232001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124185865512550400,"note":"Value kept but may cause issues"} 
[2026-08-25 20:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8912905113594667008,"note":"Value kept but may cause issues"} 
[2026-08-25 20:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787668630000,"timestamp_ms":1787668630000,"timestamp_seconds":1787668630,"priority":1,"record_length":96,"hex_timestamp":"000001a0395a89f0"} 
[2026-08-25 20:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-25 20:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643167232001,"66":11830,"149":206,"85":14592,"24":50,"16":124185865512550400,"45":-8912905113594667008},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-25 20:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643167232001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:07:45] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-25 20:07:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124185865512550400,"km_value":124185865512550.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8912905113594667008,"description":"Unknown IO ID 45"} 
[2026-08-25 20:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643167232001,"power":11830,"unknown_149":206,"unknown_85":14592,"ignition":50,"odometer":null,"unknown_45":-8912905113594667008}} 
[2026-08-25 20:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":161969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:07:45] local.INFO: GPS data processed {"connection_id":161969,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:07:45] local.INFO: Acknowledgment sent {"connection_id":161969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:07:46] local.INFO: TCP Data received {"connection_id":163205,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:07:46] local.INFO: Processing buffer {"connection_id":163205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:07:46] local.INFO: Packet analysis {"connection_id":163205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:07:46] local.INFO: Extracted packet for processing {"connection_id":163205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643052800001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:07:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787668476000,"timestamp_ms":1787668476000,"timestamp_seconds":1787668476,"priority":1,"record_length":96,"hex_timestamp":"000001a039583060"} 
[2026-08-25 20:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:07:46] 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-25 20:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643052800001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643052800001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643052800001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":163205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:07:46] local.INFO: GPS data processed {"connection_id":163205,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:07:46] local.INFO: Acknowledgment sent {"connection_id":163205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:08:16] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395aa930012d843c400593b6b8000f015e2b..."} 
[2026-08-25 20:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395aa930012d843c400593b6b8000f015e2b..."} 
[2026-08-25 20:08:16] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395aa930012d843c400593b6b8000f015e2b..."} 
[2026-08-25 20:08:16] local.INFO: Packet analysis {"connection_id":161969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395a"} 
[2026-08-25 20:08:16] local.INFO: Extracted packet for processing {"connection_id":161969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395a"} 
[2026-08-25 20:08:16] local.INFO: GPS Element Parsed {"raw_longitude":763640896,"raw_latitude":93566648,"longitude_deg":76.3640896,"latitude_deg":9.3566648,"altitude":15,"angle":350,"satellites":43,"speed":47,"hex_longitude":"2d843c40","hex_latitude":"0593b6b8","is_valid_coordinates":true} 
[2026-08-25 20:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643169280001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124186346548887552,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8915860600847796224,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787668638000,"timestamp_ms":1787668638000,"timestamp_seconds":1787668638,"priority":1,"record_length":96,"hex_timestamp":"000001a0395aa930"} 
[2026-08-25 20:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-25 20:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643169280001,"66":12037,"149":206,"85":14592,"24":47,"16":124186346548887552,"45":-8915860600847796224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-25 20:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643169280001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:08:16] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-25 20:08:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124186346548887552,"km_value":124186346548887.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8915860600847796224,"description":"Unknown IO ID 45"} 
[2026-08-25 20:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643169280001,"power":12037,"unknown_149":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8915860600847796224}} 
[2026-08-25 20:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":161969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:08:17] local.INFO: GPS data processed {"connection_id":161969,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:08:17] local.INFO: Acknowledgment sent {"connection_id":161969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:08:18] local.INFO: TCP Data received {"connection_id":163205,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:08:18] local.INFO: Processing buffer {"connection_id":163205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:08:18] local.INFO: Packet analysis {"connection_id":163205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:08:18] local.INFO: Extracted packet for processing {"connection_id":163205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643052800001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787668476000,"timestamp_ms":1787668476000,"timestamp_seconds":1787668476,"priority":1,"record_length":96,"hex_timestamp":"000001a039583060"} 
[2026-08-25 20: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-25 20:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:08:18] 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-25 20: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-25 20: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-25 20:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:08:18] 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-25 20:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643052800001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643052800001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643052800001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":163205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:08:18] local.INFO: GPS data processed {"connection_id":163205,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:08:18] local.INFO: Acknowledgment sent {"connection_id":163205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:08:41] local.INFO: TCP Data received {"connection_id":164586,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:08:41] local.INFO: Processing buffer {"connection_id":164586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:08:41] local.INFO: IMEI packet received {"connection_id":164586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":164586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:08:44] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:08:44] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:08:44] local.INFO: IMEI packet received {"connection_id":161970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":161970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:08:46] local.INFO: TCP Data received {"connection_id":164586,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:08:46] local.INFO: Processing buffer {"connection_id":164586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:08:46] local.INFO: IMEI packet received {"connection_id":164586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":164586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:08:46] local.INFO: TCP Data received {"connection_id":164586,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395ac870012d8436800593da10000f015e2c..."} 
[2026-08-25 20:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395ac870012d8436800593da10000f015e2c..."} 
[2026-08-25 20:08:46] local.INFO: Processing buffer {"connection_id":164586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395ac870012d8436800593da10000f015e2c..."} 
[2026-08-25 20:08:46] local.INFO: Packet analysis {"connection_id":164586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395a"} 
[2026-08-25 20:08:46] local.INFO: Extracted packet for processing {"connection_id":164586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395a"} 
[2026-08-25 20:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763639424,"raw_latitude":93575696,"longitude_deg":76.3639424,"latitude_deg":9.3575696,"altitude":15,"angle":350,"satellites":44,"speed":39,"hex_longitude":"2d843680","hex_latitude":"0593da10","is_valid_coordinates":true} 
[2026-08-25 20:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643171328001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124186793225486336,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8918182769403185152,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787668646000,"timestamp_ms":1787668646000,"timestamp_seconds":1787668646,"priority":1,"record_length":96,"hex_timestamp":"000001a0395ac870"} 
[2026-08-25 20:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-25 20:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2810246167646962688,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6227351498553491432,"corrected_to":0} 
[2026-08-25 20:08:46] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182195349881088,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-7863065046912250324,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194786048,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,149,85,24,241,157,16,50,160,137,45,128,144,14,43,10,66,106,109,13,148,49,71,192,1,240,228,227,57,147,4,113,205,125,239,47,2,185,5,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":205,"original":-6227351498553491432,"validated":0}]} 
[2026-08-25 20:08:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081248924325314560,"timestamp_seconds":1081248924325314.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 20:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643171328001,"66":12135,"149":206,"85":14592,"24":39,"16":124186793225486336,"45":-8918182769403185152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-25 20:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643171328001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:08:46] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-25 20:08:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124186793225486336,"km_value":124186793225486.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8918182769403185152,"description":"Unknown IO ID 45"} 
[2026-08-25 20:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643171328001,"power":12135,"unknown_149":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-8918182769403185152}} 
[2026-08-25 20:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":164586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:08:46] local.INFO: GPS data processed {"connection_id":164586,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:08:46] local.INFO: Acknowledgment sent {"connection_id":164586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:08:49] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:08:49] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:08:49] local.INFO: IMEI packet received {"connection_id":161970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":161970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:08:50] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:08:50] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:08:50] local.INFO: Packet analysis {"connection_id":161970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:08:50] local.INFO: Extracted packet for processing {"connection_id":161970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:08:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643052800001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787668476000,"timestamp_ms":1787668476000,"timestamp_seconds":1787668476,"priority":1,"record_length":96,"hex_timestamp":"000001a039583060"} 
[2026-08-25 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-25 20:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:08: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-25 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-25 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-25 20:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:08: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-25 20:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643052800001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643052800001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:08:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643052800001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":161970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:08:50] local.INFO: GPS data processed {"connection_id":161970,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:08:50] local.INFO: Acknowledgment sent {"connection_id":161970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:08:55] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:08:55] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:08:55] local.INFO: Packet analysis {"connection_id":161970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:08:55] local.INFO: Extracted packet for processing {"connection_id":161970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643052800001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787668476000,"timestamp_ms":1787668476000,"timestamp_seconds":1787668476,"priority":1,"record_length":96,"hex_timestamp":"000001a039583060"} 
[2026-08-25 20:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:08: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-25 20:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:08:55] 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-25 20:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643052800001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643052800001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:08:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643052800001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":161970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:08:55] local.INFO: GPS data processed {"connection_id":161970,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:08:55] local.INFO: Acknowledgment sent {"connection_id":161970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:09:17] local.INFO: TCP Data received {"connection_id":164586,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395aeb98012d8430400593fcf0000e015e2d..."} 
[2026-08-25 20:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395aeb98012d8430400593fcf0000e015e2d..."} 
[2026-08-25 20:09:17] local.INFO: Processing buffer {"connection_id":164586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395aeb98012d8430400593fcf0000e015e2d..."} 
[2026-08-25 20:09:17] local.INFO: Packet analysis {"connection_id":164586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395a"} 
[2026-08-25 20:09:17] local.INFO: Extracted packet for processing {"connection_id":164586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395a"} 
[2026-08-25 20:09:17] local.INFO: GPS Element Parsed {"raw_longitude":763637824,"raw_latitude":93584624,"longitude_deg":76.3637824,"latitude_deg":9.3584624,"altitude":14,"angle":350,"satellites":45,"speed":45,"hex_longitude":"2d843040","hex_latitude":"0593fcf0","is_valid_coordinates":true} 
[2026-08-25 20:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643173376001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124187231312150528,"note":"Value kept but may cause issues"} 
[2026-08-25 20:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8919801250516955136,"note":"Value kept but may cause issues"} 
[2026-08-25 20:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668655000,"timestamp_ms":1787668655000,"timestamp_seconds":1787668655,"priority":1,"record_length":96,"hex_timestamp":"000001a0395aeb98"} 
[2026-08-25 20:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-25 20:09:17] 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-25 20:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643173376001,"66":12156,"216":206,"85":14592,"24":45,"16":124187231312150528,"45":-8919801250516955136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-25 20:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643173376001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:09:17] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-25 20:09:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124187231312150528,"km_value":124187231312150.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8919801250516955136,"description":"Unknown IO ID 45"} 
[2026-08-25 20:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643173376001,"power":12156,"unknown_216":206,"unknown_85":14592,"ignition":45,"odometer":null,"unknown_45":-8919801250516955136}} 
[2026-08-25 20:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":164586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:09:18] local.INFO: GPS data processed {"connection_id":164586,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:09:18] local.INFO: Acknowledgment sent {"connection_id":164586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:09:40] local.INFO: TCP Data received {"connection_id":164588,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:09:40] local.INFO: Processing buffer {"connection_id":164588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:09:40] local.INFO: IMEI packet received {"connection_id":164588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":164588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:09:41] local.INFO: TCP Data received {"connection_id":164587,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:09:41] local.INFO: Processing buffer {"connection_id":164587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:09:41] local.INFO: IMEI packet received {"connection_id":164587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":164587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:09:41] local.INFO: TCP Data received {"connection_id":164588,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:09:41] local.INFO: Processing buffer {"connection_id":164588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:09:41] local.INFO: IMEI packet received {"connection_id":164588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":164588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:09:44] local.INFO: TCP Data received {"connection_id":164587,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:09:44] local.INFO: Processing buffer {"connection_id":164587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:09:44] local.INFO: IMEI packet received {"connection_id":164587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":164587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:09:45] local.INFO: TCP Data received {"connection_id":164587,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:09:45] local.INFO: Processing buffer {"connection_id":164587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:09:45] local.INFO: Packet analysis {"connection_id":164587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:09:45] local.INFO: Extracted packet for processing {"connection_id":164587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643052800001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:09:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787668476000,"timestamp_ms":1787668476000,"timestamp_seconds":1787668476,"priority":1,"record_length":96,"hex_timestamp":"000001a039583060"} 
[2026-08-25 20:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643052800001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643052800001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643052800001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":164587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:09:45] local.INFO: GPS data processed {"connection_id":164587,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:09:45] local.INFO: Acknowledgment sent {"connection_id":164587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:09:45] local.INFO: TCP Data received {"connection_id":164588,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:09:45] local.INFO: Processing buffer {"connection_id":164588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:09:45] local.INFO: IMEI packet received {"connection_id":164588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":164588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:09:46] local.INFO: TCP Data received {"connection_id":164588,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395c7df0012d83b74005957ac8000a01522d..."} 
[2026-08-25 20:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395c7df0012d83b74005957ac8000a01522d..."} 
[2026-08-25 20:09:46] local.INFO: Processing buffer {"connection_id":164588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395c7df0012d83b74005957ac8000a01522d..."} 
[2026-08-25 20:09:46] local.INFO: Packet analysis {"connection_id":164588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:09:46] local.INFO: Extracted packet for processing {"connection_id":164588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:09:46] local.INFO: GPS Element Parsed {"raw_longitude":763606848,"raw_latitude":93682376,"longitude_deg":76.3606848,"latitude_deg":9.3682376,"altitude":10,"angle":338,"satellites":45,"speed":29,"hex_longitude":"2d83b740","hex_latitude":"05957ac8","is_valid_coordinates":true} 
[2026-08-25 20:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643199232001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124192213474213888,"note":"Value kept but may cause issues"} 
[2026-08-25 20:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8951537554115960832,"note":"Value kept but may cause issues"} 
[2026-08-25 20:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787668758000,"timestamp_ms":1787668758000,"timestamp_seconds":1787668758,"priority":1,"record_length":96,"hex_timestamp":"000001a0395c7df0"} 
[2026-08-25 20:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 20:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643199232001,"66":12102,"217":206,"85":14592,"24":29,"16":124192213474213888,"45":-8951537554115960832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 20:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643199232001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:09:46] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 20:09:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124192213474213888,"km_value":124192213474213.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8951537554115960832,"description":"Unknown IO ID 45"} 
[2026-08-25 20:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643199232001,"power":12102,"unknown_217":206,"unknown_85":14592,"ignition":29,"odometer":null,"unknown_45":-8951537554115960832}} 
[2026-08-25 20:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":164588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:09:46] local.INFO: GPS data processed {"connection_id":164588,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:09:46] local.INFO: Acknowledgment sent {"connection_id":164588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:09:49] local.INFO: TCP Data received {"connection_id":164587,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:09:49] local.INFO: Processing buffer {"connection_id":164587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039583060012d34c14006aa4818000c00e62f..."} 
[2026-08-25 20:09:49] local.INFO: Packet analysis {"connection_id":164587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:09:49] local.INFO: Extracted packet for processing {"connection_id":164587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03958"} 
[2026-08-25 20:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643052800001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:09:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787668476000,"timestamp_ms":1787668476000,"timestamp_seconds":1787668476,"priority":1,"record_length":96,"hex_timestamp":"000001a039583060"} 
[2026-08-25 20: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-25 20:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:09: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-25 20: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-25 20: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-25 20:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:09: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-25 20:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643052800001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643052800001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643052800001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":164587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:09:50] local.INFO: GPS data processed {"connection_id":164587,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:09:50] local.INFO: Acknowledgment sent {"connection_id":164587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:10:17] local.INFO: TCP Data received {"connection_id":164588,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395ca8e8012d83ab4005959bc8000b01532d..."} 
[2026-08-25 20:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395ca8e8012d83ab4005959bc8000b01532d..."} 
[2026-08-25 20:10:17] local.INFO: Processing buffer {"connection_id":164588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395ca8e8012d83ab4005959bc8000b01532d..."} 
[2026-08-25 20:10:17] local.INFO: Packet analysis {"connection_id":164588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:10:17] local.INFO: Extracted packet for processing {"connection_id":164588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:10:17] local.INFO: GPS Element Parsed {"raw_longitude":763603776,"raw_latitude":93690824,"longitude_deg":76.3603776,"latitude_deg":9.3690824,"altitude":11,"angle":339,"satellites":45,"speed":34,"hex_longitude":"2d83ab40","hex_latitude":"05959bc8","is_valid_coordinates":true} 
[2026-08-25 20:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643202048001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124192651560878080,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8955618941276076032,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668769000,"timestamp_ms":1787668769000,"timestamp_seconds":1787668769,"priority":1,"record_length":96,"hex_timestamp":"000001a0395ca8e8"} 
[2026-08-25 20:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-25 20:10:17] 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-25 20:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643202048001,"66":12232,"217":206,"85":14592,"24":34,"16":124192651560878080,"45":-8955618941276076032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 20:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643202048001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:10:17] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 20:10:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124192651560878080,"km_value":124192651560878.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8955618941276076032,"description":"Unknown IO ID 45"} 
[2026-08-25 20:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643202048001,"power":12232,"unknown_217":206,"unknown_85":14592,"ignition":34,"odometer":null,"unknown_45":-8955618941276076032}} 
[2026-08-25 20:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":164588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:10:17] local.INFO: GPS data processed {"connection_id":164588,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:10:17] local.INFO: Acknowledgment sent {"connection_id":164588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:10:21] local.INFO: TCP Data received {"connection_id":164587,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:10:21] local.INFO: Processing buffer {"connection_id":164587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:10:21] local.INFO: Packet analysis {"connection_id":164587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:10:21] local.INFO: Extracted packet for processing {"connection_id":164587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643129856001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787668777000,"timestamp_ms":1787668777000,"timestamp_seconds":1787668777,"priority":1,"record_length":96,"hex_timestamp":"000001a0395cc828"} 
[2026-08-25 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-25 20:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:10: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-25 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-25 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-25 20:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:10: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-25 20:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643129856001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643129856001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643129856001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":164587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:10:21] local.INFO: GPS data processed {"connection_id":164587,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:10:21] local.INFO: Acknowledgment sent {"connection_id":164587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:10:39] local.INFO: TCP Data received {"connection_id":162209,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:10:39] local.INFO: Processing buffer {"connection_id":162209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:10:39] local.INFO: IMEI packet received {"connection_id":162209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":162209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:10:44] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:10:44] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:10:44] local.INFO: IMEI packet received {"connection_id":163206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":163206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:10:44] local.INFO: TCP Data received {"connection_id":164585,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:10:44] local.INFO: Processing buffer {"connection_id":164585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:10:44] local.INFO: IMEI packet received {"connection_id":164585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 20:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":164585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:10:44] local.INFO: TCP Data received {"connection_id":162209,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:10:44] local.INFO: Processing buffer {"connection_id":162209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:10:44] local.INFO: IMEI packet received {"connection_id":162209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":162209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:10:45] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:10:45] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:10:45] local.INFO: IMEI packet received {"connection_id":163206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":163206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:10:45] local.INFO: TCP Data received {"connection_id":162209,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:10:45] local.INFO: Processing buffer {"connection_id":162209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:10:45] local.INFO: Packet analysis {"connection_id":162209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:10:45] local.INFO: Extracted packet for processing {"connection_id":162209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643129856001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787668777000,"timestamp_ms":1787668777000,"timestamp_seconds":1787668777,"priority":1,"record_length":96,"hex_timestamp":"000001a0395cc828"} 
[2026-08-25 20:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:10:45] 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-25 20:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643129856001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643129856001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643129856001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":162209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:10:45] local.INFO: GPS data processed {"connection_id":162209,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:10:45] local.INFO: Acknowledgment sent {"connection_id":162209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:10:51] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:10:51] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:10:51] local.INFO: IMEI packet received {"connection_id":163206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":163206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:10:51] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395cd3e0012d839f800595bce0000c015529..."} 
[2026-08-25 20:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395cd3e0012d839f800595bce0000c015529..."} 
[2026-08-25 20:10:51] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395cd3e0012d839f800595bce0000c015529..."} 
[2026-08-25 20:10:51] local.INFO: Packet analysis {"connection_id":163206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:10:51] local.INFO: Extracted packet for processing {"connection_id":163206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:10:51] local.INFO: GPS Element Parsed {"raw_longitude":763600768,"raw_latitude":93699296,"longitude_deg":76.3600768,"latitude_deg":9.3699296,"altitude":12,"angle":341,"satellites":41,"speed":27,"hex_longitude":"2d839f80","hex_latitude":"0595bce0","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643204864001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124193085352574976,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8958996640994441216,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787668780000,"timestamp_ms":1787668780000,"timestamp_seconds":1787668780,"priority":1,"record_length":96,"hex_timestamp":"000001a0395cd3e0"} 
[2026-08-25 20: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-25 20:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 20:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643204864001,"66":11700,"143":206,"85":14592,"24":27,"16":124193085352574976,"45":-8958996640994441216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-08-25 20:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643204864001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:10:51] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 20:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124193085352574976,"km_value":124193085352574.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8958996640994441216,"description":"Unknown IO ID 45"} 
[2026-08-25 20:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643204864001,"power":11700,"unknown_143":206,"unknown_85":14592,"ignition":27,"odometer":null,"unknown_45":-8958996640994441216}} 
[2026-08-25 20:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":163206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:10:51] local.INFO: GPS data processed {"connection_id":163206,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:10:51] local.INFO: Acknowledgment sent {"connection_id":163206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:10:52] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395cfed8012d8395400595dee8000b01592d..."} 
[2026-08-25 20:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395cfed8012d8395400595dee8000b01592d..."} 
[2026-08-25 20:10:52] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395cfed8012d8395400595dee8000b01592d..."} 
[2026-08-25 20:10:52] local.INFO: Packet analysis {"connection_id":163206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:10:52] local.INFO: Extracted packet for processing {"connection_id":163206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:10:52] local.INFO: GPS Element Parsed {"raw_longitude":763598144,"raw_latitude":93708008,"longitude_deg":76.3598144,"latitude_deg":9.3708008,"altitude":11,"angle":345,"satellites":45,"speed":35,"hex_longitude":"2d839540","hex_latitude":"0595dee8","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643207680001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124193527734206464,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8962303971968622592,"note":"Value kept but may cause issues"} 
[2026-08-25 20:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787668791000,"timestamp_ms":1787668791000,"timestamp_seconds":1787668791,"priority":1,"record_length":96,"hex_timestamp":"000001a0395cfed8"} 
[2026-08-25 20: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-25 20:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-25 20:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643207680001,"66":12004,"143":206,"85":14592,"24":35,"16":124193527734206464,"45":-8962303971968622592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-08-25 20:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643207680001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:10:52] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 20:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124193527734206464,"km_value":124193527734206.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8962303971968622592,"description":"Unknown IO ID 45"} 
[2026-08-25 20:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643207680001,"power":12004,"unknown_143":206,"unknown_85":14592,"ignition":35,"odometer":null,"unknown_45":-8962303971968622592}} 
[2026-08-25 20:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":163206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:10:52] local.INFO: GPS data processed {"connection_id":163206,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:10:52] local.INFO: Acknowledgment sent {"connection_id":163206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:11:17] local.INFO: TCP Data received {"connection_id":162209,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:11:17] local.INFO: Processing buffer {"connection_id":162209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:11:17] local.INFO: Packet analysis {"connection_id":162209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:11:17] local.INFO: Extracted packet for processing {"connection_id":162209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643129856001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:11:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668777000,"timestamp_ms":1787668777000,"timestamp_seconds":1787668777,"priority":1,"record_length":96,"hex_timestamp":"000001a0395cc828"} 
[2026-08-25 20:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:11:17] 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-25 20:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643129856001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643129856001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643129856001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":162209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:11:17] local.INFO: GPS data processed {"connection_id":162209,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:11:17] local.INFO: Acknowledgment sent {"connection_id":162209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:11:24] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395d2db8012d838c40059600c0000b01582e..."} 
[2026-08-25 20:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395d2db8012d838c40059600c0000b01582e..."} 
[2026-08-25 20:11:24] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395d2db8012d838c40059600c0000b01582e..."} 
[2026-08-25 20:11:24] local.INFO: Packet analysis {"connection_id":163206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395d"} 
[2026-08-25 20:11:24] local.INFO: Extracted packet for processing {"connection_id":163206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395d"} 
[2026-08-25 20:11:24] local.INFO: GPS Element Parsed {"raw_longitude":763595840,"raw_latitude":93716672,"longitude_deg":76.359584,"latitude_deg":9.3716672,"altitude":11,"angle":344,"satellites":46,"speed":31,"hex_longitude":"2d838c40","hex_latitude":"059600c0","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643210496001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124193961525903360,"note":"Value kept but may cause issues"} 
[2026-08-25 20:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8965189090477676544,"note":"Value kept but may cause issues"} 
[2026-08-25 20:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787668803000,"timestamp_ms":1787668803000,"timestamp_seconds":1787668803,"priority":1,"record_length":96,"hex_timestamp":"000001a0395d2db8"} 
[2026-08-25 20: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-25 20:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-25 20:11:24] 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-25 20: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-25 20: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-25 20:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643210496001,"66":12156,"143":206,"85":14592,"24":31,"16":124193961525903360,"45":-8965189090477676544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-08-25 20:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643210496001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:11:24] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 20:11:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124193961525903360,"km_value":124193961525903.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8965189090477676544,"description":"Unknown IO ID 45"} 
[2026-08-25 20:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643210496001,"power":12156,"unknown_143":206,"unknown_85":14592,"ignition":31,"odometer":null,"unknown_45":-8965189090477676544}} 
[2026-08-25 20:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":163206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:11:24] local.INFO: GPS data processed {"connection_id":163206,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:11:24] local.INFO: Acknowledgment sent {"connection_id":163206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:11:39] local.INFO: TCP Data received {"connection_id":162211,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:11:39] local.INFO: Processing buffer {"connection_id":162211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:11:39] local.INFO: IMEI packet received {"connection_id":162211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":162211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:11:40] local.INFO: TCP Data received {"connection_id":162210,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:11:40] local.INFO: Processing buffer {"connection_id":162210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:11:40] local.INFO: IMEI packet received {"connection_id":162210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":162210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:11:45] local.INFO: TCP Data received {"connection_id":162211,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:11:45] local.INFO: Processing buffer {"connection_id":162211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:11:45] local.INFO: IMEI packet received {"connection_id":162211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":162211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:11:45] local.INFO: TCP Data received {"connection_id":162210,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:11:45] local.INFO: Processing buffer {"connection_id":162210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:11:45] local.INFO: IMEI packet received {"connection_id":162210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":162210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:11:46] local.INFO: TCP Data received {"connection_id":162211,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:11:46] local.INFO: Processing buffer {"connection_id":162211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:11:46] local.INFO: Packet analysis {"connection_id":162211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:11:46] local.INFO: Extracted packet for processing {"connection_id":162211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643129856001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:11:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787668777000,"timestamp_ms":1787668777000,"timestamp_seconds":1787668777,"priority":1,"record_length":96,"hex_timestamp":"000001a0395cc828"} 
[2026-08-25 20:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:11:46] 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-25 20:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643129856001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643129856001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643129856001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":162211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:11:46] local.INFO: GPS data processed {"connection_id":162211,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:11:46] local.INFO: Acknowledgment sent {"connection_id":162211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:11:46] local.INFO: TCP Data received {"connection_id":162210,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395d50e0012d838300059623f0000c01592d..."} 
[2026-08-25 20:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395d50e0012d838300059623f0000c01592d..."} 
[2026-08-25 20:11:46] local.INFO: Processing buffer {"connection_id":162210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395d50e0012d838300059623f0000c01592d..."} 
[2026-08-25 20:11:46] local.INFO: Packet analysis {"connection_id":162210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395d"} 
[2026-08-25 20:11:46] local.INFO: Extracted packet for processing {"connection_id":162210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395d"} 
[2026-08-25 20:11:46] local.INFO: GPS Element Parsed {"raw_longitude":763593472,"raw_latitude":93725680,"longitude_deg":76.3593472,"latitude_deg":9.372568,"altitude":12,"angle":345,"satellites":45,"speed":47,"hex_longitude":"2d838300","hex_latitude":"059623f0","is_valid_coordinates":true} 
[2026-08-25 20:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643213568001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124194412497469440,"note":"Value kept but may cause issues"} 
[2026-08-25 20:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8967722365265854464,"note":"Value kept but may cause issues"} 
[2026-08-25 20:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787668812000,"timestamp_ms":1787668812000,"timestamp_seconds":1787668812,"priority":1,"record_length":96,"hex_timestamp":"000001a0395d50e0"} 
[2026-08-25 20:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 20:11:46] 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-25 20:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643213568001,"66":12026,"143":206,"85":14592,"24":47,"16":124194412497469440,"45":-8967722365265854464},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-08-25 20:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643213568001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:11:46] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 20:11:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124194412497469440,"km_value":124194412497469.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8967722365265854464,"description":"Unknown IO ID 45"} 
[2026-08-25 20:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643213568001,"power":12026,"unknown_143":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8967722365265854464}} 
[2026-08-25 20:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":162210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:11:46] local.INFO: GPS data processed {"connection_id":162210,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:11:46] local.INFO: Acknowledgment sent {"connection_id":162210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:12:17] local.INFO: TCP Data received {"connection_id":162210,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395d6c38012d8379c0059645b0000c01582c..."} 
[2026-08-25 20:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395d6c38012d8379c0059645b0000c01582c..."} 
[2026-08-25 20:12:17] local.INFO: Processing buffer {"connection_id":162210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395d6c38012d8379c0059645b0000c01582c..."} 
[2026-08-25 20:12:17] local.INFO: Packet analysis {"connection_id":162210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395d"} 
[2026-08-25 20:12:17] local.INFO: Extracted packet for processing {"connection_id":162210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395d"} 
[2026-08-25 20:12:17] local.INFO: GPS Element Parsed {"raw_longitude":763591104,"raw_latitude":93734320,"longitude_deg":76.3591104,"latitude_deg":9.373432,"altitude":12,"angle":344,"satellites":44,"speed":52,"hex_longitude":"2d8379c0","hex_latitude":"059645b0","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643215872001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124194846289166336,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8970326008798121984,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668819000,"timestamp_ms":1787668819000,"timestamp_seconds":1787668819,"priority":1,"record_length":96,"hex_timestamp":"000001a0395d6c38"} 
[2026-08-25 20: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-25 20:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-25 20:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643215872001,"66":11950,"143":206,"85":14592,"24":52,"16":124194846289166336,"45":-8970326008798121984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-08-25 20:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643215872001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:12:17] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 20:12:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124194846289166336,"km_value":124194846289166.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8970326008798121984,"description":"Unknown IO ID 45"} 
[2026-08-25 20:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643215872001,"power":11950,"unknown_143":206,"unknown_85":14592,"ignition":52,"odometer":null,"unknown_45":-8970326008798121984}} 
[2026-08-25 20:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":162210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:12:17] local.INFO: GPS data processed {"connection_id":162210,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:12:17] local.INFO: Acknowledgment sent {"connection_id":162210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:12:18] local.INFO: TCP Data received {"connection_id":162211,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:12:18] local.INFO: Processing buffer {"connection_id":162211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:12:18] local.INFO: Packet analysis {"connection_id":162211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:12:18] local.INFO: Extracted packet for processing {"connection_id":162211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:12:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643129856001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787668777000,"timestamp_ms":1787668777000,"timestamp_seconds":1787668777,"priority":1,"record_length":96,"hex_timestamp":"000001a0395cc828"} 
[2026-08-25 20:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:12:18] 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-25 20:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:12:18] 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-25 20:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643129856001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643129856001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:12:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643129856001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":162211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:12:18] local.INFO: GPS data processed {"connection_id":162211,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:12:18] local.INFO: Acknowledgment sent {"connection_id":162211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:12:40] local.INFO: TCP Data received {"connection_id":163207,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:12:40] local.INFO: Processing buffer {"connection_id":163207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:12:40] local.INFO: IMEI packet received {"connection_id":163207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":163207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:12:44] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:12:44] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:12:44] local.INFO: IMEI packet received {"connection_id":163208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":163208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:12:44] local.INFO: TCP Data received {"connection_id":163207,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:12:44] local.INFO: Processing buffer {"connection_id":163207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:12:44] local.INFO: IMEI packet received {"connection_id":163207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":163207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:12:45] local.INFO: TCP Data received {"connection_id":163207,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395d8b78012d836f8005966ad0000c01582c..."} 
[2026-08-25 20:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395d8b78012d836f8005966ad0000c01582c..."} 
[2026-08-25 20:12:45] local.INFO: Processing buffer {"connection_id":163207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395d8b78012d836f8005966ad0000c01582c..."} 
[2026-08-25 20:12:45] local.INFO: Packet analysis {"connection_id":163207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395d"} 
[2026-08-25 20:12:45] local.INFO: Extracted packet for processing {"connection_id":163207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395d"} 
[2026-08-25 20:12:45] local.INFO: GPS Element Parsed {"raw_longitude":763588480,"raw_latitude":93743824,"longitude_deg":76.358848,"latitude_deg":9.3743824,"altitude":12,"angle":344,"satellites":44,"speed":50,"hex_longitude":"2d836f80","hex_latitude":"05966ad0","is_valid_coordinates":true} 
[2026-08-25 20:12: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-25 20:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643217664001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124195323030536192,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8972929652330483712,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787668827000,"timestamp_ms":1787668827000,"timestamp_seconds":1787668827,"priority":1,"record_length":96,"hex_timestamp":"000001a0395d8b78"} 
[2026-08-25 20:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:12: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-25 20:12: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-25 20:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:12: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-25 20:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643217664001,"66":12015,"143":206,"85":14592,"24":50,"16":124195323030536192,"45":-8972929652330483712},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-08-25 20:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643217664001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:12:45] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-25 20:12:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124195323030536192,"km_value":124195323030536.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8972929652330483712,"description":"Unknown IO ID 45"} 
[2026-08-25 20:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643217664001,"power":12015,"unknown_143":206,"unknown_85":14592,"ignition":50,"odometer":null,"unknown_45":-8972929652330483712}} 
[2026-08-25 20:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":163207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:12:45] local.INFO: GPS data processed {"connection_id":163207,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:12:45] local.INFO: Acknowledgment sent {"connection_id":163207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:12:49] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:12:49] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:12:49] local.INFO: IMEI packet received {"connection_id":163208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":163208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:12:50] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:12:50] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:12:50] local.INFO: Packet analysis {"connection_id":163208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:12:50] local.INFO: Extracted packet for processing {"connection_id":163208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:12:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643129856001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787668777000,"timestamp_ms":1787668777000,"timestamp_seconds":1787668777,"priority":1,"record_length":96,"hex_timestamp":"000001a0395cc828"} 
[2026-08-25 20:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:12: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-25 20:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:12: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-25 20:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643129856001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643129856001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:12:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643129856001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":163208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:12:50] local.INFO: GPS data processed {"connection_id":163208,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:12:50] local.INFO: Acknowledgment sent {"connection_id":163208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:12:54] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:12:54] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:12:54] local.INFO: Packet analysis {"connection_id":163208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:12:54] local.INFO: Extracted packet for processing {"connection_id":163208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:12:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643129856001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787668777000,"timestamp_ms":1787668777000,"timestamp_seconds":1787668777,"priority":1,"record_length":96,"hex_timestamp":"000001a0395cc828"} 
[2026-08-25 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-25 20:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:12:54] 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-25 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-25 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-25 20:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:12: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-25 20:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643129856001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643129856001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:12:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643129856001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":163208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:12:54] local.INFO: GPS data processed {"connection_id":163208,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:12:54] local.INFO: Acknowledgment sent {"connection_id":163208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:13:17] local.INFO: TCP Data received {"connection_id":163207,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395f9eb8012d82e2c00597bae80008014c2c..."} 
[2026-08-25 20:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395f9eb8012d82e2c00597bae80008014c2c..."} 
[2026-08-25 20:13:17] local.INFO: Processing buffer {"connection_id":163207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395f9eb8012d82e2c00597bae80008014c2c..."} 
[2026-08-25 20:13:17] local.INFO: Packet analysis {"connection_id":163207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395f"} 
[2026-08-25 20:13:17] local.INFO: Extracted packet for processing {"connection_id":163207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395f"} 
[2026-08-25 20:13:17] local.INFO: GPS Element Parsed {"raw_longitude":763552448,"raw_latitude":93829864,"longitude_deg":76.3552448,"latitude_deg":9.3829864,"altitude":8,"angle":332,"satellites":44,"speed":9,"hex_longitude":"2d82e2c0","hex_latitude":"0597bae8","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643249408001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124199849926066176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9013673155185793024,"note":"Value kept but may cause issues"} 
[2026-08-25 20:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668963000,"timestamp_ms":1787668963000,"timestamp_seconds":1787668963,"priority":1,"record_length":96,"hex_timestamp":"000001a0395f9eb8"} 
[2026-08-25 20: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-25 20:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-25 20:13:17] 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-25 20: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-25 20: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-25 20:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643249408001,"66":12069,"18":206,"85":14592,"24":9,"16":124199849926066176,"45":-9013673155185793024},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-25 20:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643249408001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:13:17] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-25 20:13:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124199849926066176,"km_value":124199849926066.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9013673155185793024,"description":"Unknown IO ID 45"} 
[2026-08-25 20:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643249408001,"power":12069,"unknown_18":206,"unknown_85":14592,"ignition":9,"odometer":null,"unknown_45":-9013673155185793024}} 
[2026-08-25 20:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":163207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:13:17] local.INFO: GPS data processed {"connection_id":163207,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:13:17] local.INFO: Acknowledgment sent {"connection_id":163207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:13:39] local.INFO: TCP Data received {"connection_id":164589,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:13:39] local.INFO: Processing buffer {"connection_id":164589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:13:39] local.INFO: IMEI packet received {"connection_id":164589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":164589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:13:41] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:13:41] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:13:41] local.INFO: IMEI packet received {"connection_id":161972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":161972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:13:41] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:13:41] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:13:41] local.INFO: IMEI packet received {"connection_id":161972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":161972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:13:44] local.INFO: TCP Data received {"connection_id":164589,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:13:44] local.INFO: Processing buffer {"connection_id":164589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:13:44] local.INFO: IMEI packet received {"connection_id":164589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":164589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:13:45] local.INFO: TCP Data received {"connection_id":164589,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:13:45] local.INFO: Processing buffer {"connection_id":164589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:13:45] local.INFO: Packet analysis {"connection_id":164589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:13:45] local.INFO: Extracted packet for processing {"connection_id":164589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643129856001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:13:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787668777000,"timestamp_ms":1787668777000,"timestamp_seconds":1787668777,"priority":1,"record_length":96,"hex_timestamp":"000001a0395cc828"} 
[2026-08-25 20: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-25 20:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:13:45] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643129856001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643129856001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643129856001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:13:45] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:13:45] local.INFO: IMEI packet received {"connection_id":161972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":161972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":164589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:13:45] local.INFO: GPS data processed {"connection_id":164589,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:13:45] local.INFO: Acknowledgment sent {"connection_id":164589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:13:46] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0395ff0c0012d82d9000597cfb00008014c2e..."} 
[2026-08-25 20:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395ff0c0012d82d9000597cfb00008014c2e..."} 
[2026-08-25 20:13:46] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395ff0c0012d82d9000597cfb00008014c2e..."} 
[2026-08-25 20:13:46] local.INFO: Packet analysis {"connection_id":161972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395f"} 
[2026-08-25 20:13:46] local.INFO: Extracted packet for processing {"connection_id":161972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395f"} 
[2026-08-25 20:13:46] local.INFO: GPS Element Parsed {"raw_longitude":763549952,"raw_latitude":93835184,"longitude_deg":76.3549952,"latitude_deg":9.3835184,"altitude":8,"angle":332,"satellites":46,"speed":15,"hex_longitude":"2d82d900","hex_latitude":"0597cfb0","is_valid_coordinates":true} 
[2026-08-25 20:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643254528001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124200133393907712,"note":"Value kept but may cause issues"} 
[2026-08-25 20:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9015432373789333504,"note":"Value kept but may cause issues"} 
[2026-08-25 20:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787668984000,"timestamp_ms":1787668984000,"timestamp_seconds":1787668984,"priority":1,"record_length":96,"hex_timestamp":"000001a0395ff0c0"} 
[2026-08-25 20:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 20:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643254528001,"66":11874,"19":206,"85":14592,"24":15,"16":124200133393907712,"45":-9015432373789333504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 20:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643254528001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:13:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 20:13:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124200133393907712,"km_value":124200133393907.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9015432373789333504,"description":"Unknown IO ID 45"} 
[2026-08-25 20:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643254528001,"power":11874,"unknown_19":206,"unknown_85":14592,"ignition":15,"odometer":null,"unknown_45":-9015432373789333504}} 
[2026-08-25 20:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":161972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:13:46] local.INFO: GPS data processed {"connection_id":161972,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:13:46] local.INFO: Acknowledgment sent {"connection_id":161972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:14:17] local.INFO: TCP Data received {"connection_id":164589,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:14:17] local.INFO: Processing buffer {"connection_id":164589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:14:17] local.INFO: Packet analysis {"connection_id":164589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:14:17] local.INFO: Extracted packet for processing {"connection_id":164589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643129856001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668777000,"timestamp_ms":1787668777000,"timestamp_seconds":1787668777,"priority":1,"record_length":96,"hex_timestamp":"000001a0395cc828"} 
[2026-08-25 20: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-25 20:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:14:17] 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-25 20: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-25 20: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-25 20:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:14:17] 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-25 20:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643129856001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643129856001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643129856001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":164589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:14:17] local.INFO: GPS data processed {"connection_id":164589,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:14:17] local.INFO: Acknowledgment sent {"connection_id":164589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:14:17] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039601000012d82d4400597d9f8000801592e..."} 
[2026-08-25 20:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039601000012d82d4400597d9f8000801592e..."} 
[2026-08-25 20:14:17] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039601000012d82d4400597d9f8000801592e..."} 
[2026-08-25 20:14:17] local.INFO: Packet analysis {"connection_id":161972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03960"} 
[2026-08-25 20:14:17] local.INFO: Extracted packet for processing {"connection_id":161972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03960"} 
[2026-08-25 20:14:17] local.INFO: GPS Element Parsed {"raw_longitude":763548736,"raw_latitude":93837816,"longitude_deg":76.3548736,"latitude_deg":9.3837816,"altitude":8,"angle":345,"satellites":46,"speed":12,"hex_longitude":"2d82d440","hex_latitude":"0597d9f8","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643259904001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124200275127828480,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9018176754810900480,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787668992000,"timestamp_ms":1787668992000,"timestamp_seconds":1787668992,"priority":1,"record_length":96,"hex_timestamp":"000001a039601000"} 
[2026-08-25 20: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-25 20:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-25 20:14:17] 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-25 20: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-25 20: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-25 20:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643259904001,"66":11711,"19":206,"85":14592,"24":12,"16":124200275127828480,"45":-9018176754810900480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 20:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643259904001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:14:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 20:14:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124200275127828480,"km_value":124200275127828.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9018176754810900480,"description":"Unknown IO ID 45"} 
[2026-08-25 20:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643259904001,"power":11711,"unknown_19":206,"unknown_85":14592,"ignition":12,"odometer":null,"unknown_45":-9018176754810900480}} 
[2026-08-25 20:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":161972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:14:17] local.INFO: GPS data processed {"connection_id":161972,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:14:17] local.INFO: Acknowledgment sent {"connection_id":161972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:14:40] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:14:40] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:14:40] local.INFO: IMEI packet received {"connection_id":163210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":163210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:14:42] local.INFO: TCP Data received {"connection_id":163209,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:14:42] local.INFO: Processing buffer {"connection_id":163209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:14:42] local.INFO: IMEI packet received {"connection_id":163209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":163209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:14:43] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:14:43] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:14:43] local.INFO: IMEI packet received {"connection_id":163210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":163210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:14:44] local.INFO: TCP Data received {"connection_id":163209,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:14:44] local.INFO: Processing buffer {"connection_id":163209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:14:44] local.INFO: IMEI packet received {"connection_id":163209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":163209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:14:45] local.INFO: TCP Data received {"connection_id":163209,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:14:45] local.INFO: Processing buffer {"connection_id":163209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:14:45] local.INFO: Packet analysis {"connection_id":163209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:14:45] local.INFO: Extracted packet for processing {"connection_id":163209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643129856001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787668777000,"timestamp_ms":1787668777000,"timestamp_seconds":1787668777,"priority":1,"record_length":96,"hex_timestamp":"000001a0395cc828"} 
[2026-08-25 20: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-25 20:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643129856001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643129856001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643129856001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":163209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:14:45] local.INFO: GPS data processed {"connection_id":163209,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:14:45] local.INFO: Acknowledgment sent {"connection_id":163209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:14:45] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:14:45] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:14:45] local.INFO: IMEI packet received {"connection_id":163210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":163210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:14:46] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039602b58012d82d2400597e250000901492e..."} 
[2026-08-25 20:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039602b58012d82d2400597e250000901492e..."} 
[2026-08-25 20:14:46] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039602b58012d82d2400597e250000901492e..."} 
[2026-08-25 20:14:46] local.INFO: Packet analysis {"connection_id":163210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03960"} 
[2026-08-25 20:14:46] local.INFO: Extracted packet for processing {"connection_id":163210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03960"} 
[2026-08-25 20:14:46] local.INFO: GPS Element Parsed {"raw_longitude":763548224,"raw_latitude":93839952,"longitude_deg":76.3548224,"latitude_deg":9.3839952,"altitude":9,"angle":329,"satellites":46,"speed":13,"hex_longitude":"2d82d240","hex_latitude":"0597e250","is_valid_coordinates":true} 
[2026-08-25 20:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643261952001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124200382502010880,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9019513760949602304,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787668999000,"timestamp_ms":1787668999000,"timestamp_seconds":1787668999,"priority":1,"record_length":96,"hex_timestamp":"000001a039602b58"} 
[2026-08-25 20:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:14: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-25 20:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-25 20:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643261952001,"66":12037,"19":206,"85":14592,"24":13,"16":124200382502010880,"45":-9019513760949602304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 20:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643261952001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:14:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 20:14:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124200382502010880,"km_value":124200382502010.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9019513760949602304,"description":"Unknown IO ID 45"} 
[2026-08-25 20:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643261952001,"power":12037,"unknown_19":206,"unknown_85":14592,"ignition":13,"odometer":null,"unknown_45":-9019513760949602304}} 
[2026-08-25 20:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":163210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:14:46] local.INFO: GPS data processed {"connection_id":163210,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:14:46] local.INFO: Acknowledgment sent {"connection_id":163210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:14:50] local.INFO: TCP Data received {"connection_id":163209,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:14:50] local.INFO: Processing buffer {"connection_id":163209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0395cc828012d34c14006aa4818000a00e62f..."} 
[2026-08-25 20:14:50] local.INFO: Packet analysis {"connection_id":163209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:14:50] local.INFO: Extracted packet for processing {"connection_id":163209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0395c"} 
[2026-08-25 20:14:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643129856001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787668777000,"timestamp_ms":1787668777000,"timestamp_seconds":1787668777,"priority":1,"record_length":96,"hex_timestamp":"000001a0395cc828"} 
[2026-08-25 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-25 20:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:14: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-25 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-25 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-25 20:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643129856001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643129856001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:14:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643129856001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":163209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:14:50] local.INFO: GPS data processed {"connection_id":163209,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:14:50] local.INFO: Acknowledgment sent {"connection_id":163209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:14:51] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039607978012d82cc400597eb680009014c2d..."} 
[2026-08-25 20:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039607978012d82cc400597eb680009014c2d..."} 
[2026-08-25 20:14:51] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039607978012d82cc400597eb680009014c2d..."} 
[2026-08-25 20:14:51] local.INFO: Packet analysis {"connection_id":163210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03960"} 
[2026-08-25 20:14:51] local.INFO: Extracted packet for processing {"connection_id":163210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03960"} 
[2026-08-25 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":763546688,"raw_latitude":93842280,"longitude_deg":76.3546688,"latitude_deg":9.384228,"altitude":9,"angle":332,"satellites":45,"speed":0,"hex_longitude":"2d82cc40","hex_latitude":"0597eb68","is_valid_coordinates":true} 
[2026-08-25 20:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643263744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124200519940964352,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020076710902476800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787669019000,"timestamp_ms":1787669019000,"timestamp_seconds":1787669019,"priority":1,"record_length":96,"hex_timestamp":"000001a039607978"} 
[2026-08-25 20:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-25 20:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2196307973,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:51] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2905079817,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6263943245525876712,"corrected_to":0} 
[2026-08-25 20:14:51] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221591949,"corrected_to":0} 
[2026-08-25 20:14:51] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182199644848384,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-7535093922469424594,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:51] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194819584,"note":"Value kept but may cause issues"} 
[2026-08-25 20:14:51] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,19,85,24,241,157,16,63,160,45,64,217,8,46,10,66,240,207,158,192,1,37,227,57,151,4,113,205,12,22,246,48,239,47,18,2,185,5,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":205,"original":-6263943245525876712,"validated":0},{"io_id":246,"original":3221591949,"validated":0}]} 
[2026-08-25 20:14:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648880283236237312,"timestamp_seconds":648880283236237.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 20:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643263744001,"66":11547,"19":206,"85":14592,"24":0,"16":124200519940964352,"45":-9020076710902476800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 20:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643263744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:14:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 20:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124200519940964352,"km_value":124200519940964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020076710902476800,"description":"Unknown IO ID 45"} 
[2026-08-25 20:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643263744001,"power":11547,"unknown_19":206,"unknown_85":14592,"ignition":0,"odometer":null,"unknown_45":-9020076710902476800}} 
[2026-08-25 20:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":163210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:14:51] local.INFO: GPS data processed {"connection_id":163210,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:14:51] local.INFO: Acknowledgment sent {"connection_id":163210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:15:21] local.INFO: TCP Data received {"connection_id":163209,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:15:21] local.INFO: Processing buffer {"connection_id":163209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:15:21] local.INFO: Packet analysis {"connection_id":163209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:15:21] local.INFO: Extracted packet for processing {"connection_id":163209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:15:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643206912001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:15:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787669078000,"timestamp_ms":1787669078000,"timestamp_seconds":1787669078,"priority":1,"record_length":96,"hex_timestamp":"000001a039615ff0"} 
[2026-08-25 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-25 20:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:15:21] 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-25 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-25 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-25 20:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643206912001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643206912001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:15:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643206912001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":163209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:15:21] local.INFO: GPS data processed {"connection_id":163209,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:15:21] local.INFO: Acknowledgment sent {"connection_id":163209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:15:22] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03960cb80012d82cc400597eb680009014c2d..."} 
[2026-08-25 20:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03960cb80012d82cc400597eb680009014c2d..."} 
[2026-08-25 20:15:22] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03960cb80012d82cc400597eb680009014c2d..."} 
[2026-08-25 20:15:22] local.INFO: Packet analysis {"connection_id":163210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03960"} 
[2026-08-25 20:15:22] local.INFO: Extracted packet for processing {"connection_id":163210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03960"} 
[2026-08-25 20:15:22] local.INFO: GPS Element Parsed {"raw_longitude":763546688,"raw_latitude":93842280,"longitude_deg":76.3546688,"latitude_deg":9.384228,"altitude":9,"angle":332,"satellites":45,"speed":0,"hex_longitude":"2d82cc40","hex_latitude":"0597eb68","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643268864001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124200519940964352,"note":"Value kept but may cause issues"} 
[2026-08-25 20:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021765560762144768,"note":"Value kept but may cause issues"} 
[2026-08-25 20:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787669040000,"timestamp_ms":1787669040000,"timestamp_seconds":1787669040,"priority":1,"record_length":96,"hex_timestamp":"000001a03960cb80"} 
[2026-08-25 20: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-25 20:15: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-25 20: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 20:15:22] 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-25 20: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-25 20: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-25 20:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643268864001,"66":12102,"19":206,"85":14592,"24":0,"16":124200519940964352,"45":-9021765560762144768},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 20:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643268864001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:15:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 20:15:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124200519940964352,"km_value":124200519940964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021765560762144768,"description":"Unknown IO ID 45"} 
[2026-08-25 20:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643268864001,"power":12102,"unknown_19":206,"unknown_85":14592,"ignition":0,"odometer":null,"unknown_45":-9021765560762144768}} 
[2026-08-25 20:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":163210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:15:22] local.INFO: GPS data processed {"connection_id":163210,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:15:22] local.INFO: Acknowledgment sent {"connection_id":163210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:15:39] local.INFO: TCP Data received {"connection_id":164590,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:15:39] local.INFO: Processing buffer {"connection_id":164590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:15:39] local.INFO: IMEI packet received {"connection_id":164590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":164590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:15:40] local.INFO: TCP Data received {"connection_id":162212,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:15:40] local.INFO: Processing buffer {"connection_id":162212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:15:40] local.INFO: IMEI packet received {"connection_id":162212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":162212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:15:44] local.INFO: TCP Data received {"connection_id":164590,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:15:44] local.INFO: Processing buffer {"connection_id":164590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:15:44] local.INFO: IMEI packet received {"connection_id":164590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":164590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:15:45] local.INFO: TCP Data received {"connection_id":164590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:15:45] local.INFO: Processing buffer {"connection_id":164590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:15:45] local.INFO: Packet analysis {"connection_id":164590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:15:45] local.INFO: Extracted packet for processing {"connection_id":164590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643206912001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:15:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787669078000,"timestamp_ms":1787669078000,"timestamp_seconds":1787669078,"priority":1,"record_length":96,"hex_timestamp":"000001a039615ff0"} 
[2026-08-25 20:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:15:45] 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-25 20:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643206912001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643206912001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643206912001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":164590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:15:45] local.INFO: GPS data processed {"connection_id":164590,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:15:45] local.INFO: Acknowledgment sent {"connection_id":164590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:15:45] local.INFO: TCP Data received {"connection_id":162212,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:15:45] local.INFO: Processing buffer {"connection_id":162212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:15:45] local.INFO: IMEI packet received {"connection_id":162212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":162212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:15:46] local.INFO: TCP Data received {"connection_id":162212,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039611d88012d82cc400597eb680009014c2d..."} 
[2026-08-25 20:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039611d88012d82cc400597eb680009014c2d..."} 
[2026-08-25 20:15:46] local.INFO: Processing buffer {"connection_id":162212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039611d88012d82cc400597eb680009014c2d..."} 
[2026-08-25 20:15:46] local.INFO: Packet analysis {"connection_id":162212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:15:46] local.INFO: Extracted packet for processing {"connection_id":162212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:15:46] local.INFO: GPS Element Parsed {"raw_longitude":763546688,"raw_latitude":93842280,"longitude_deg":76.3546688,"latitude_deg":9.384228,"altitude":9,"angle":332,"satellites":45,"speed":0,"hex_longitude":"2d82cc40","hex_latitude":"0597eb68","is_valid_coordinates":true} 
[2026-08-25 20:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643274240001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124200519940964352,"note":"Value kept but may cause issues"} 
[2026-08-25 20:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021765560762144768,"note":"Value kept but may cause issues"} 
[2026-08-25 20:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787669061000,"timestamp_ms":1787669061000,"timestamp_seconds":1787669061,"priority":1,"record_length":96,"hex_timestamp":"000001a039611d88"} 
[2026-08-25 20:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-25 20:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643274240001,"66":11700,"19":206,"85":14592,"24":0,"16":124200519940964352,"45":-9021765560762144768},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 20:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643274240001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:15:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 20:15:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124200519940964352,"km_value":124200519940964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021765560762144768,"description":"Unknown IO ID 45"} 
[2026-08-25 20:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643274240001,"power":11700,"unknown_19":206,"unknown_85":14592,"ignition":0,"odometer":null,"unknown_45":-9021765560762144768}} 
[2026-08-25 20:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":162212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:15:46] local.INFO: GPS data processed {"connection_id":162212,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:15:46] local.INFO: Acknowledgment sent {"connection_id":162212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:16:17] local.INFO: TCP Data received {"connection_id":164590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:16:17] local.INFO: Processing buffer {"connection_id":164590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:16:17] local.INFO: Packet analysis {"connection_id":164590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:16:17] local.INFO: Extracted packet for processing {"connection_id":164590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643206912001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:16:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787669078000,"timestamp_ms":1787669078000,"timestamp_seconds":1787669078,"priority":1,"record_length":96,"hex_timestamp":"000001a039615ff0"} 
[2026-08-25 20:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:16:17] 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-25 20:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643206912001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643206912001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643206912001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":164590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:16:17] local.INFO: GPS data processed {"connection_id":164590,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:16:17] local.INFO: Acknowledgment sent {"connection_id":164590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:16:18] local.INFO: TCP Data received {"connection_id":162212,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039616f90012d82cc400597eb680009014c2d..."} 
[2026-08-25 20:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039616f90012d82cc400597eb680009014c2d..."} 
[2026-08-25 20:16:18] local.INFO: Processing buffer {"connection_id":162212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039616f90012d82cc400597eb680009014c2d..."} 
[2026-08-25 20:16:18] local.INFO: Packet analysis {"connection_id":162212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:16:18] local.INFO: Extracted packet for processing {"connection_id":162212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":763546688,"raw_latitude":93842280,"longitude_deg":76.3546688,"latitude_deg":9.384228,"altitude":9,"angle":332,"satellites":45,"speed":0,"hex_longitude":"2d82cc40","hex_latitude":"0597eb68","is_valid_coordinates":true} 
[2026-08-25 20:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643279616001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124200519940964352,"note":"Value kept but may cause issues"} 
[2026-08-25 20:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021765560762144768,"note":"Value kept but may cause issues"} 
[2026-08-25 20:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787669082000,"timestamp_ms":1787669082000,"timestamp_seconds":1787669082,"priority":1,"record_length":96,"hex_timestamp":"000001a039616f90"} 
[2026-08-25 20:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:16: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-25 20:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-25 20:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643279616001,"66":12058,"19":206,"85":14592,"24":0,"16":124200519940964352,"45":-9021765560762144768},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 20:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643279616001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:16:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 20:16:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124200519940964352,"km_value":124200519940964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021765560762144768,"description":"Unknown IO ID 45"} 
[2026-08-25 20:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643279616001,"power":12058,"unknown_19":206,"unknown_85":14592,"ignition":0,"odometer":null,"unknown_45":-9021765560762144768}} 
[2026-08-25 20:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":162212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:16:18] local.INFO: GPS data processed {"connection_id":162212,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:16:18] local.INFO: Acknowledgment sent {"connection_id":162212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:16:19] local.INFO: TCP Data received {"connection_id":161971,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:16:19] local.INFO: Processing buffer {"connection_id":161971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:16:19] local.INFO: IMEI packet received {"connection_id":161971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 20:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":161971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:16:39] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:16:39] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:16:39] local.INFO: IMEI packet received {"connection_id":161973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":161973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:16:40] local.INFO: TCP Data received {"connection_id":164591,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:16:40] local.INFO: Processing buffer {"connection_id":164591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:16:40] local.INFO: IMEI packet received {"connection_id":164591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":164591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:16:44] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:16:44] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:16:44] local.INFO: IMEI packet received {"connection_id":161973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":161973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:16:44] local.INFO: TCP Data received {"connection_id":164591,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:16:44] local.INFO: Processing buffer {"connection_id":164591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:16:44] local.INFO: IMEI packet received {"connection_id":164591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":164591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:16:45] local.INFO: TCP Data received {"connection_id":164591,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:16:45] local.INFO: Processing buffer {"connection_id":164591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:16:45] local.INFO: IMEI packet received {"connection_id":164591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":164591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:16:45] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:16:45] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:16:45] local.INFO: Packet analysis {"connection_id":161973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:16:45] local.INFO: Extracted packet for processing {"connection_id":161973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643206912001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:16:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787669078000,"timestamp_ms":1787669078000,"timestamp_seconds":1787669078,"priority":1,"record_length":96,"hex_timestamp":"000001a039615ff0"} 
[2026-08-25 20:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:16:45] 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-25 20:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:16:45] 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-25 20:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643206912001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643206912001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643206912001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":161973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:16:45] local.INFO: GPS data processed {"connection_id":161973,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:16:45] local.INFO: Acknowledgment sent {"connection_id":161973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:16:46] local.INFO: TCP Data received {"connection_id":164591,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03961c198012d82cc400597eb680009014c2f..."} 
[2026-08-25 20:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03961c198012d82cc400597eb680009014c2f..."} 
[2026-08-25 20:16:46] local.INFO: Processing buffer {"connection_id":164591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03961c198012d82cc400597eb680009014c2f..."} 
[2026-08-25 20:16:46] local.INFO: Packet analysis {"connection_id":164591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:16:46] local.INFO: Extracted packet for processing {"connection_id":164591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:16:46] local.INFO: GPS Element Parsed {"raw_longitude":763546688,"raw_latitude":93842280,"longitude_deg":76.3546688,"latitude_deg":9.384228,"altitude":9,"angle":332,"satellites":47,"speed":0,"hex_longitude":"2d82cc40","hex_latitude":"0597eb68","is_valid_coordinates":true} 
[2026-08-25 20:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643284992001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124200519940964352,"note":"Value kept but may cause issues"} 
[2026-08-25 20:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021765560762144768,"note":"Value kept but may cause issues"} 
[2026-08-25 20:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787669103000,"timestamp_ms":1787669103000,"timestamp_seconds":1787669103,"priority":1,"record_length":96,"hex_timestamp":"000001a03961c198"} 
[2026-08-25 20:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:16: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-25 20:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 20:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643284992001,"66":11711,"19":206,"85":14592,"24":0,"16":124200519940964352,"45":-9021765560762144768},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 20:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643284992001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:16:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 20:16:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124200519940964352,"km_value":124200519940964.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021765560762144768,"description":"Unknown IO ID 45"} 
[2026-08-25 20:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643284992001,"power":11711,"unknown_19":206,"unknown_85":14592,"ignition":0,"odometer":null,"unknown_45":-9021765560762144768}} 
[2026-08-25 20:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":164591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:16:46] local.INFO: GPS data processed {"connection_id":164591,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:16:46] local.INFO: Acknowledgment sent {"connection_id":164591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:17:17] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:17:17] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:17:17] local.INFO: Packet analysis {"connection_id":161973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:17:17] local.INFO: Extracted packet for processing {"connection_id":161973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643206912001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787669078000,"timestamp_ms":1787669078000,"timestamp_seconds":1787669078,"priority":1,"record_length":96,"hex_timestamp":"000001a039615ff0"} 
[2026-08-25 20:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:17:17] 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-25 20:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:17: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-25 20:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643206912001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643206912001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643206912001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":161973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:17:17] local.INFO: GPS data processed {"connection_id":161973,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:17:17] local.INFO: Acknowledgment sent {"connection_id":161973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:17:18] local.INFO: TCP Data received {"connection_id":164591,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396213a0012d82c3c00597fc10000c014f2f..."} 
[2026-08-25 20:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396213a0012d82c3c00597fc10000c014f2f..."} 
[2026-08-25 20:17:18] local.INFO: Processing buffer {"connection_id":164591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396213a0012d82c3c00597fc10000c014f2f..."} 
[2026-08-25 20:17:18] local.INFO: Packet analysis {"connection_id":164591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03962"} 
[2026-08-25 20:17:18] local.INFO: Extracted packet for processing {"connection_id":164591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03962"} 
[2026-08-25 20:17:18] local.INFO: GPS Element Parsed {"raw_longitude":763544512,"raw_latitude":93846544,"longitude_deg":76.3544512,"latitude_deg":9.3846544,"altitude":12,"angle":335,"satellites":47,"speed":26,"hex_longitude":"2d82c3c0","hex_latitude":"0597fc10","is_valid_coordinates":true} 
[2026-08-25 20:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643290368001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124200751869198336,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021765560762144768,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787669124000,"timestamp_ms":1787669124000,"timestamp_seconds":1787669124,"priority":1,"record_length":96,"hex_timestamp":"000001a0396213a0"} 
[2026-08-25 20:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:17: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-25 20:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-25 20:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643290368001,"66":12037,"19":206,"85":14592,"24":26,"16":124200751869198336,"45":-9021765560762144768},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 20:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643290368001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:17:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 20:17:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124200751869198336,"km_value":124200751869198.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021765560762144768,"description":"Unknown IO ID 45"} 
[2026-08-25 20:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643290368001,"power":12037,"unknown_19":206,"unknown_85":14592,"ignition":26,"odometer":null,"unknown_45":-9021765560762144768}} 
[2026-08-25 20:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":164591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:17:18] local.INFO: GPS data processed {"connection_id":164591,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:17:18] local.INFO: Acknowledgment sent {"connection_id":164591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:17:47] local.INFO: TCP Data received {"connection_id":162214,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:17:47] local.INFO: Processing buffer {"connection_id":162214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:17:47] local.INFO: IMEI packet received {"connection_id":162214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":162214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:17:47] local.INFO: TCP Data received {"connection_id":162213,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:17:47] local.INFO: Processing buffer {"connection_id":162213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:17:47] local.INFO: IMEI packet received {"connection_id":162213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":162213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:17:49] local.INFO: TCP Data received {"connection_id":162213,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:17:49] local.INFO: Processing buffer {"connection_id":162213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:17:49] local.INFO: IMEI packet received {"connection_id":162213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":162213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:17:50] local.INFO: TCP Data received {"connection_id":162213,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:17:50] local.INFO: Processing buffer {"connection_id":162213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:17:50] local.INFO: Packet analysis {"connection_id":162213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:17:50] local.INFO: Extracted packet for processing {"connection_id":162213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:17:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643206912001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787669078000,"timestamp_ms":1787669078000,"timestamp_seconds":1787669078,"priority":1,"record_length":96,"hex_timestamp":"000001a039615ff0"} 
[2026-08-25 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-25 20:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:17:50] 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-25 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-25 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-25 20:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643206912001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643206912001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:17:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643206912001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":162213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:17:50] local.INFO: GPS data processed {"connection_id":162213,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:17:50] local.INFO: Acknowledgment sent {"connection_id":162213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:17:51] local.INFO: TCP Data received {"connection_id":162214,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:17:51] local.INFO: Processing buffer {"connection_id":162214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:17:51] local.INFO: IMEI packet received {"connection_id":162214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":162214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:17:51] local.INFO: TCP Data received {"connection_id":162214,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03963cd08012d829780059952f8000a00102f..."} 
[2026-08-25 20:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03963cd08012d829780059952f8000a00102f..."} 
[2026-08-25 20:17:51] local.INFO: Processing buffer {"connection_id":162214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03963cd08012d829780059952f8000a00102f..."} 
[2026-08-25 20:17:51] local.INFO: Packet analysis {"connection_id":162214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03963"} 
[2026-08-25 20:17:51] local.INFO: Extracted packet for processing {"connection_id":162214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03963"} 
[2026-08-25 20:17:51] local.INFO: GPS Element Parsed {"raw_longitude":763533184,"raw_latitude":93934328,"longitude_deg":76.3533184,"latitude_deg":9.3934328,"altitude":10,"angle":16,"satellites":47,"speed":35,"hex_longitude":"2d829780","hex_latitude":"059952f8","is_valid_coordinates":true} 
[2026-08-25 20:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643322368001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124205175685513216,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039428115529486336,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787669237000,"timestamp_ms":1787669237000,"timestamp_seconds":1787669237,"priority":1,"record_length":96,"hex_timestamp":"000001a03963cd08"} 
[2026-08-25 20:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-25 20:17:51] 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-25 20:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643322368001,"66":12156,"17":206,"85":14592,"24":35,"16":124205175685513216,"45":-9039428115529486336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 20:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643322368001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:17:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124205175685513216,"km_value":124205175685513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039428115529486336,"description":"Unknown IO ID 45"} 
[2026-08-25 20:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643322368001,"power":12156,"axis_x":206,"unknown_85":14592,"ignition":35,"odometer":null,"unknown_45":-9039428115529486336}} 
[2026-08-25 20:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":162214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:17:51] local.INFO: GPS data processed {"connection_id":162214,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:17:51] local.INFO: Acknowledgment sent {"connection_id":162214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:17:54] local.INFO: TCP Data received {"connection_id":162213,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:17:54] local.INFO: Processing buffer {"connection_id":162213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:17:54] local.INFO: Packet analysis {"connection_id":162213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:17:54] local.INFO: Extracted packet for processing {"connection_id":162213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:17:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643206912001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787669078000,"timestamp_ms":1787669078000,"timestamp_seconds":1787669078,"priority":1,"record_length":96,"hex_timestamp":"000001a039615ff0"} 
[2026-08-25 20:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:17:54] 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-25 20:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643206912001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643206912001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:17:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643206912001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":162213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:17:54] local.INFO: GPS data processed {"connection_id":162213,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:17:54] local.INFO: Acknowledgment sent {"connection_id":162213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:18:22] local.INFO: TCP Data received {"connection_id":162214,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03963fbe8012d829f8005997630000700042e..."} 
[2026-08-25 20:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03963fbe8012d829f8005997630000700042e..."} 
[2026-08-25 20:18:22] local.INFO: Processing buffer {"connection_id":162214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03963fbe8012d829f8005997630000700042e..."} 
[2026-08-25 20:18:22] local.INFO: Packet analysis {"connection_id":162214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03963"} 
[2026-08-25 20:18:22] local.INFO: Extracted packet for processing {"connection_id":162214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03963"} 
[2026-08-25 20:18:22] local.INFO: GPS Element Parsed {"raw_longitude":763535232,"raw_latitude":93943344,"longitude_deg":76.3535232,"latitude_deg":9.3943344,"altitude":7,"angle":4,"satellites":46,"speed":34,"hex_longitude":"2d829f80","hex_latitude":"05997630","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643324672001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124205626657079296,"note":"Value kept but may cause issues"} 
[2026-08-25 20:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036613365760067584,"note":"Value kept but may cause issues"} 
[2026-08-25 20:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787669249000,"timestamp_ms":1787669249000,"timestamp_seconds":1787669249,"priority":1,"record_length":96,"hex_timestamp":"000001a03963fbe8"} 
[2026-08-25 20: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-25 20:18: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-25 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 20:18:22] 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-25 20: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-25 20: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-25 20:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643324672001,"66":11721,"19":206,"85":14592,"24":34,"16":124205626657079296,"45":-9036613365760067584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 20:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643324672001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:18:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 20:18:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124205626657079296,"km_value":124205626657079.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036613365760067584,"description":"Unknown IO ID 45"} 
[2026-08-25 20:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643324672001,"power":11721,"unknown_19":206,"unknown_85":14592,"ignition":34,"odometer":null,"unknown_45":-9036613365760067584}} 
[2026-08-25 20:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":162214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:18:22] local.INFO: GPS data processed {"connection_id":162214,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:18:22] local.INFO: Acknowledgment sent {"connection_id":162214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:18:39] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:18:39] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:18:39] local.INFO: IMEI packet received {"connection_id":161974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":161974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:18:40] local.INFO: TCP Data received {"connection_id":161975,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:18:40] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:18:40] local.INFO: IMEI packet received {"connection_id":161975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":161975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:18:42] local.INFO: TCP Data received {"connection_id":161975,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:18:42] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:18:42] local.INFO: IMEI packet received {"connection_id":161975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":161975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:18:44] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:18:44] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:18:44] local.INFO: IMEI packet received {"connection_id":161974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":161974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:18:45] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:18:45] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:18:45] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:18:45] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:18: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-25 20:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643206912001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:18:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787669078000,"timestamp_ms":1787669078000,"timestamp_seconds":1787669078,"priority":1,"record_length":96,"hex_timestamp":"000001a039615ff0"} 
[2026-08-25 20:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:18:45] 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-25 20:18: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-25 20:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643206912001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643206912001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643206912001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:18:45] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:18:45] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:18:45] local.INFO: TCP Data received {"connection_id":161975,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:18:45] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:18:45] local.INFO: IMEI packet received {"connection_id":161975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":161975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:18:46] local.INFO: TCP Data received {"connection_id":161975,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03963fbe8012d829f8005997630000700042e..."} 
[2026-08-25 20:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03963fbe8012d829f8005997630000700042e..."} 
[2026-08-25 20:18:46] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03963fbe8012d829f8005997630000700042e..."} 
[2026-08-25 20:18:46] local.INFO: Packet analysis {"connection_id":161975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03963"} 
[2026-08-25 20:18:46] local.INFO: Extracted packet for processing {"connection_id":161975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03963"} 
[2026-08-25 20:18:46] local.INFO: GPS Element Parsed {"raw_longitude":763535232,"raw_latitude":93943344,"longitude_deg":76.3535232,"latitude_deg":9.3943344,"altitude":7,"angle":4,"satellites":46,"speed":34,"hex_longitude":"2d829f80","hex_latitude":"05997630","is_valid_coordinates":true} 
[2026-08-25 20:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643327744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124205626657079296,"note":"Value kept but may cause issues"} 
[2026-08-25 20:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034361565944074240,"note":"Value kept but may cause issues"} 
[2026-08-25 20:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787669249000,"timestamp_ms":1787669249000,"timestamp_seconds":1787669249,"priority":1,"record_length":96,"hex_timestamp":"000001a03963fbe8"} 
[2026-08-25 20:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-25 20:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643327744001,"66":11721,"19":206,"85":14592,"24":34,"16":124205626657079296,"45":-9034361565944074240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 20:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643327744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:18:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 20:18:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124205626657079296,"km_value":124205626657079.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034361565944074240,"description":"Unknown IO ID 45"} 
[2026-08-25 20:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643327744001,"power":11721,"unknown_19":206,"unknown_85":14592,"ignition":34,"odometer":null,"unknown_45":-9034361565944074240}} 
[2026-08-25 20:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":161975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:18:47] local.INFO: GPS data processed {"connection_id":161975,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:18:47] local.INFO: Acknowledgment sent {"connection_id":161975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:19:16] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:19:16] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:19:16] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:19:16] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643206912001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:19:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787669078000,"timestamp_ms":1787669078000,"timestamp_seconds":1787669078,"priority":1,"record_length":96,"hex_timestamp":"000001a039615ff0"} 
[2026-08-25 20: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-25 20:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:19: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-25 20:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643206912001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643206912001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643206912001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:19:16] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:19:16] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:19:18] local.INFO: TCP Data received {"connection_id":161975,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039641f10012d829f40059995800007015f30..."} 
[2026-08-25 20:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039641f10012d829f40059995800007015f30..."} 
[2026-08-25 20:19:18] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039641f10012d829f40059995800007015f30..."} 
[2026-08-25 20:19:18] local.INFO: Packet analysis {"connection_id":161975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03964"} 
[2026-08-25 20:19:18] local.INFO: Extracted packet for processing {"connection_id":161975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03964"} 
[2026-08-25 20:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763535168,"raw_latitude":93951360,"longitude_deg":76.3535168,"latitude_deg":9.395136,"altitude":7,"angle":351,"satellites":48,"speed":36,"hex_longitude":"2d829f40","hex_latitude":"05999580","is_valid_coordinates":true} 
[2026-08-25 20:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643327744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124206013204135936,"note":"Value kept but may cause issues"} 
[2026-08-25 20:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034361565944074240,"note":"Value kept but may cause issues"} 
[2026-08-25 20:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787669258000,"timestamp_ms":1787669258000,"timestamp_seconds":1787669258,"priority":1,"record_length":96,"hex_timestamp":"000001a039641f10"} 
[2026-08-25 20:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:19: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-25 20:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-25 20:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643327744001,"66":11917,"19":206,"85":14592,"24":36,"16":124206013204135936,"45":-9034361565944074240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-25 20:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643327744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:19:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-25 20:19:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124206013204135936,"km_value":124206013204135.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034361565944074240,"description":"Unknown IO ID 45"} 
[2026-08-25 20:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643327744001,"power":11917,"unknown_19":206,"unknown_85":14592,"ignition":36,"odometer":null,"unknown_45":-9034361565944074240}} 
[2026-08-25 20:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":161975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:19:18] local.INFO: GPS data processed {"connection_id":161975,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:19:18] local.INFO: Acknowledgment sent {"connection_id":161975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:19:39] local.INFO: TCP Data received {"connection_id":162215,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:19:39] local.INFO: Processing buffer {"connection_id":162215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:19:39] local.INFO: IMEI packet received {"connection_id":162215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":162215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:19:45] local.INFO: TCP Data received {"connection_id":161976,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:19:45] local.INFO: Processing buffer {"connection_id":161976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:19:45] local.INFO: IMEI packet received {"connection_id":161976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":161976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:19:47] local.INFO: TCP Data received {"connection_id":161976,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:19:47] local.INFO: Processing buffer {"connection_id":161976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:19:47] local.INFO: IMEI packet received {"connection_id":161976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":161976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:19:48] local.INFO: TCP Data received {"connection_id":162215,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:19:48] local.INFO: Processing buffer {"connection_id":162215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:19:48] local.INFO: IMEI packet received {"connection_id":162215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":162215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:19:49] local.INFO: TCP Data received {"connection_id":161976,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039644df0012d8296400599b9400006015930..."} 
[2026-08-25 20:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039644df0012d8296400599b9400006015930..."} 
[2026-08-25 20:19:49] local.INFO: Processing buffer {"connection_id":161976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039644df0012d8296400599b9400006015930..."} 
[2026-08-25 20:19:49] local.INFO: Packet analysis {"connection_id":161976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03964"} 
[2026-08-25 20:19:49] local.INFO: Extracted packet for processing {"connection_id":161976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03964"} 
[2026-08-25 20:19:49] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":93960512,"longitude_deg":76.3532864,"latitude_deg":9.3960512,"altitude":6,"angle":345,"satellites":48,"speed":32,"hex_longitude":"2d829640","hex_latitude":"0599b940","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643330048001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124206472765636608,"note":"Value kept but may cause issues"} 
[2026-08-25 20:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034431934686199808,"note":"Value kept but may cause issues"} 
[2026-08-25 20:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787669270000,"timestamp_ms":1787669270000,"timestamp_seconds":1787669270,"priority":1,"record_length":96,"hex_timestamp":"000001a039644df0"} 
[2026-08-25 20: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-25 20:19: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-25 20: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-25 20:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643330048001,"66":12026,"13":206,"85":14592,"24":32,"16":124206472765636608,"45":-9034431934686199808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,85,24,16,45]} 
[2026-08-25 20:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643330048001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:19:49] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-25 20:19:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124206472765636608,"km_value":124206472765636.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034431934686199808,"description":"Unknown IO ID 45"} 
[2026-08-25 20:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643330048001,"power":12026,"unknown_13":206,"unknown_85":14592,"ignition":32,"odometer":null,"unknown_45":-9034431934686199808}} 
[2026-08-25 20:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":161976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:19:49] local.INFO: GPS data processed {"connection_id":161976,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:19:49] local.INFO: Acknowledgment sent {"connection_id":161976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:19:49] local.INFO: TCP Data received {"connection_id":162215,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:19:49] local.INFO: Processing buffer {"connection_id":162215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039615ff0012d34c14006aa4818000f00e630..."} 
[2026-08-25 20:19:49] local.INFO: Packet analysis {"connection_id":162215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:19:49] local.INFO: Extracted packet for processing {"connection_id":162215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03961"} 
[2026-08-25 20:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643206912001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:19:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787669078000,"timestamp_ms":1787669078000,"timestamp_seconds":1787669078,"priority":1,"record_length":96,"hex_timestamp":"000001a039615ff0"} 
[2026-08-25 20: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-25 20:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:19:49] 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-25 20: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-25 20: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-25 20:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:19: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-25 20:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643206912001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643206912001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:19:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643206912001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":162215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:19:49] local.INFO: GPS data processed {"connection_id":162215,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:19:49] local.INFO: Acknowledgment sent {"connection_id":162215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:20:00] local.INFO: TCP Data received {"connection_id":161976,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039647cd0012d828c800599dd700008015730..."} 
[2026-08-25 20:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039647cd0012d828c800599dd700008015730..."} 
[2026-08-25 20:20:00] local.INFO: Processing buffer {"connection_id":161976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039647cd0012d828c800599dd700008015730..."} 
[2026-08-25 20:20:00] local.INFO: Packet analysis {"connection_id":161976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03964"} 
[2026-08-25 20:20:00] local.INFO: Extracted packet for processing {"connection_id":161976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03964"} 
[2026-08-25 20:20:00] local.INFO: GPS Element Parsed {"raw_longitude":763530368,"raw_latitude":93969776,"longitude_deg":76.3530368,"latitude_deg":9.3969776,"altitude":8,"angle":343,"satellites":48,"speed":40,"hex_longitude":"2d828c80","hex_latitude":"0599dd70","is_valid_coordinates":true} 
[2026-08-25 20:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643333120001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124206936622104576,"note":"Value kept but may cause issues"} 
[2026-08-25 20:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965209474252800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787669282000,"timestamp_ms":1787669282000,"timestamp_seconds":1787669282,"priority":1,"record_length":96,"hex_timestamp":"000001a039647cd0"} 
[2026-08-25 20:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-25 20:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643333120001,"66":12145,"13":206,"85":14592,"24":40,"16":124206936622104576,"45":-9036965209474252800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,85,24,16,45]} 
[2026-08-25 20:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643333120001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:20:00] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-25 20:20:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124206936622104576,"km_value":124206936622104.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965209474252800,"description":"Unknown IO ID 45"} 
[2026-08-25 20:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643333120001,"power":12145,"unknown_13":206,"unknown_85":14592,"ignition":40,"odometer":null,"unknown_45":-9036965209474252800}} 
[2026-08-25 20:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":161976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:20:01] local.INFO: GPS data processed {"connection_id":161976,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:20:01] local.INFO: Acknowledgment sent {"connection_id":161976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:20:21] local.INFO: TCP Data received {"connection_id":162215,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:20:21] local.INFO: Processing buffer {"connection_id":162215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:20:21] local.INFO: Packet analysis {"connection_id":162215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:20:21] local.INFO: Extracted packet for processing {"connection_id":162215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:20:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643283968001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:20:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787669379000,"timestamp_ms":1787669379000,"timestamp_seconds":1787669379,"priority":1,"record_length":96,"hex_timestamp":"000001a03965f7b8"} 
[2026-08-25 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-25 20:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:20:21] 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-25 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-25 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-25 20:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:20: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-25 20:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643283968001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643283968001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:20:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643283968001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":162215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":697999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:20:21] local.INFO: GPS data processed {"connection_id":162215,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:20:21] local.INFO: Acknowledgment sent {"connection_id":162215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:20:39] local.INFO: TCP Data received {"connection_id":164593,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:20:39] local.INFO: Processing buffer {"connection_id":164593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:20:39] local.INFO: IMEI packet received {"connection_id":164593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":164593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:20:40] local.INFO: TCP Data received {"connection_id":164592,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:20:40] local.INFO: Processing buffer {"connection_id":164592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:20:40] local.INFO: IMEI packet received {"connection_id":164592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":164592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:20:44] local.INFO: TCP Data received {"connection_id":164593,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:20:44] local.INFO: Processing buffer {"connection_id":164593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:20:44] local.INFO: IMEI packet received {"connection_id":164593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":164593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:20:45] local.INFO: TCP Data received {"connection_id":164593,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:20:45] local.INFO: Processing buffer {"connection_id":164593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:20:45] local.INFO: Packet analysis {"connection_id":164593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:20:45] local.INFO: Extracted packet for processing {"connection_id":164593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643283968001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:20:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787669379000,"timestamp_ms":1787669379000,"timestamp_seconds":1787669379,"priority":1,"record_length":96,"hex_timestamp":"000001a03965f7b8"} 
[2026-08-25 20: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-25 20:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:20:45] 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-25 20: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-25 20: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-25 20:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:20:45] 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-25 20:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643283968001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643283968001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643283968001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":164593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:20:45] local.INFO: GPS data processed {"connection_id":164593,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:20:45] local.INFO: Acknowledgment sent {"connection_id":164593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:20:45] local.INFO: TCP Data received {"connection_id":164592,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:20:45] local.INFO: Processing buffer {"connection_id":164592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:20:45] local.INFO: IMEI packet received {"connection_id":164592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":164592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:20:46] local.INFO: TCP Data received {"connection_id":164592,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039663a20012d823a40059b5cc0000701642e..."} 
[2026-08-25 20:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039663a20012d823a40059b5cc0000701642e..."} 
[2026-08-25 20:20:46] local.INFO: Processing buffer {"connection_id":164592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039663a20012d823a40059b5cc0000701642e..."} 
[2026-08-25 20:20:46] local.INFO: Packet analysis {"connection_id":164592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03966"} 
[2026-08-25 20:20:46] local.INFO: Extracted packet for processing {"connection_id":164592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03966"} 
[2026-08-25 20:20:46] local.INFO: GPS Element Parsed {"raw_longitude":763509312,"raw_latitude":94067904,"longitude_deg":76.3509312,"latitude_deg":9.4067904,"altitude":7,"angle":356,"satellites":46,"speed":24,"hex_longitude":"2d823a40","hex_latitude":"059b5cc0","is_valid_coordinates":true} 
[2026-08-25 20:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643362816001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124211815704952832,"note":"Value kept but may cause issues"} 
[2026-08-25 20:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062297957353046016,"note":"Value kept but may cause issues"} 
[2026-08-25 20:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787669396000,"timestamp_ms":1787669396000,"timestamp_seconds":1787669396,"priority":1,"record_length":96,"hex_timestamp":"000001a039663a20"} 
[2026-08-25 20:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 20:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643362816001,"66":12004,"177":206,"85":14592,"24":24,"16":124211815704952832,"45":-9062297957353046016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 20:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643362816001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:20:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 20:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124211815704952832,"km_value":124211815704952.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062297957353046016,"description":"Unknown IO ID 45"} 
[2026-08-25 20:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643362816001,"power":12004,"unknown_177":206,"unknown_85":14592,"ignition":24,"odometer":null,"unknown_45":-9062297957353046016}} 
[2026-08-25 20:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":164592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:20:46] local.INFO: GPS data processed {"connection_id":164592,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:20:46] local.INFO: Acknowledgment sent {"connection_id":164592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:21:17] local.INFO: TCP Data received {"connection_id":164593,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:21:17] local.INFO: Processing buffer {"connection_id":164593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:21:17] local.INFO: Packet analysis {"connection_id":164593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:21:17] local.INFO: Extracted packet for processing {"connection_id":164593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643283968001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787669379000,"timestamp_ms":1787669379000,"timestamp_seconds":1787669379,"priority":1,"record_length":96,"hex_timestamp":"000001a03965f7b8"} 
[2026-08-25 20:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:21:17] 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-25 20:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643283968001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643283968001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643283968001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":164593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:21:17] local.INFO: GPS data processed {"connection_id":164593,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:21:17] local.INFO: Acknowledgment sent {"connection_id":164593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:21:17] local.INFO: TCP Data received {"connection_id":164592,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039664da8012d823800059b67c8000701582f..."} 
[2026-08-25 20:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039664da8012d823800059b67c8000701582f..."} 
[2026-08-25 20:21:17] local.INFO: Processing buffer {"connection_id":164592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039664da8012d823800059b67c8000701582f..."} 
[2026-08-25 20:21:17] local.INFO: Packet analysis {"connection_id":164592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03966"} 
[2026-08-25 20:21:17] local.INFO: Extracted packet for processing {"connection_id":164592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03966"} 
[2026-08-25 20:21:17] local.INFO: GPS Element Parsed {"raw_longitude":763508736,"raw_latitude":94070728,"longitude_deg":76.3508736,"latitude_deg":9.4070728,"altitude":7,"angle":344,"satellites":47,"speed":22,"hex_longitude":"2d823800","hex_latitude":"059b67c8","is_valid_coordinates":true} 
[2026-08-25 20:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643365376001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124211953143906304,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062860907304140800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787669401000,"timestamp_ms":1787669401000,"timestamp_seconds":1787669401,"priority":1,"record_length":96,"hex_timestamp":"000001a039664da8"} 
[2026-08-25 20:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-25 20:21:17] 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-25 20:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643365376001,"66":12048,"177":206,"85":14592,"24":22,"16":124211953143906304,"45":-9062860907304140800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 20:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643365376001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:21:17] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 20:21:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124211953143906304,"km_value":124211953143906.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062860907304140800,"description":"Unknown IO ID 45"} 
[2026-08-25 20:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643365376001,"power":12048,"unknown_177":206,"unknown_85":14592,"ignition":22,"odometer":null,"unknown_45":-9062860907304140800}} 
[2026-08-25 20:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":164592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:21:17] local.INFO: GPS data processed {"connection_id":164592,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:21:17] local.INFO: Acknowledgment sent {"connection_id":164592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:21:37] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:21:37] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:21:37] local.INFO: IMEI packet received {"connection_id":161977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":161977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:21:40] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:21:40] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:21:40] local.INFO: IMEI packet received {"connection_id":161977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":161977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:21:47] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:21:47] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:21:47] local.INFO: IMEI packet received {"connection_id":161977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":161977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:21:48] local.INFO: TCP Data received {"connection_id":164594,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:21:48] local.INFO: Processing buffer {"connection_id":164594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:21:48] local.INFO: IMEI packet received {"connection_id":164594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":164594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:21:48] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039666ce8012d8235c0059b7900000901642e..."} 
[2026-08-25 20:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039666ce8012d8235c0059b7900000901642e..."} 
[2026-08-25 20:21:48] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039666ce8012d8235c0059b7900000901642e..."} 
[2026-08-25 20:21:48] local.INFO: Packet analysis {"connection_id":161977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03966"} 
[2026-08-25 20:21:48] local.INFO: Extracted packet for processing {"connection_id":161977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03966"} 
[2026-08-25 20:21:48] local.INFO: GPS Element Parsed {"raw_longitude":763508160,"raw_latitude":94075136,"longitude_deg":76.350816,"latitude_deg":9.4075136,"altitude":9,"angle":356,"satellites":46,"speed":21,"hex_longitude":"2d8235c0","hex_latitude":"059b7900","is_valid_coordinates":true} 
[2026-08-25 20:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643366656001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124212172187238400,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063494226001016832,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787669409000,"timestamp_ms":1787669409000,"timestamp_seconds":1787669409,"priority":1,"record_length":96,"hex_timestamp":"000001a039666ce8"} 
[2026-08-25 20:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:21: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-25 20:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578891656310546688,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185789445,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182195349881088,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5095945024160399360,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505494915448832,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":154,"raw_value":4043309065,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630258178501041,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101786276102400,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6219188724228882408,"corrected_to":0} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2147560834,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3660665822650112,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242729,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-7301188216789312978,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194855680,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84867315745004169,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:48] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,177,85,24,241,157,16,74,160,58,45,64,92,7,46,10,66,73,19,57,8,239,192,1,240,103,227,154,4,113,205,44,173,80,224,47,2,185,5,69,96],"length":583,"final_offset":713,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-6219188724228882408,"validated":0}]} 
[2026-08-25 20:21:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504781592130355200,"timestamp_seconds":504781592130355.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 20:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643366656001,"66":12200,"179":206,"85":14592,"24":21,"16":124212172187238400,"45":-9063494226001016832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-25 20:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643366656001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:21:48] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-25 20:21:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124212172187238400,"km_value":124212172187238.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063494226001016832,"description":"Unknown IO ID 45"} 
[2026-08-25 20:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643366656001,"power":12200,"unknown_179":206,"unknown_85":14592,"ignition":21,"odometer":null,"unknown_45":-9063494226001016832}} 
[2026-08-25 20:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":161977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:21:48] local.INFO: GPS data processed {"connection_id":161977,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:21:48] local.INFO: Acknowledgment sent {"connection_id":161977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:21:49] local.INFO: TCP Data received {"connection_id":164594,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:21:49] local.INFO: Processing buffer {"connection_id":164594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:21:49] local.INFO: IMEI packet received {"connection_id":164594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":164594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:21:49] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03966bb08012d823440059b90c8000f01632e..."} 
[2026-08-25 20:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03966bb08012d823440059b90c8000f01632e..."} 
[2026-08-25 20:21:49] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03966bb08012d823440059b90c8000f01632e..."} 
[2026-08-25 20:21:49] local.INFO: Packet analysis {"connection_id":161977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03966"} 
[2026-08-25 20:21:49] local.INFO: Extracted packet for processing {"connection_id":161977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03966"} 
[2026-08-25 20:21:49] local.INFO: GPS Element Parsed {"raw_longitude":763507776,"raw_latitude":94081224,"longitude_deg":76.3507776,"latitude_deg":9.4081224,"altitude":15,"angle":355,"satellites":46,"speed":12,"hex_longitude":"2d823440","hex_latitude":"059b90c8","is_valid_coordinates":true} 
[2026-08-25 20:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643368704001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124212468539981824,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064127544697487360,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787669429000,"timestamp_ms":1787669429000,"timestamp_seconds":1787669429,"priority":1,"record_length":96,"hex_timestamp":"000001a03966bb08"} 
[2026-08-25 20:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:21: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-25 20:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-25 20:21:49] 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-25 20:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643368704001,"66":12232,"179":206,"85":14592,"24":12,"16":124212468539981824,"45":-9064127544697487360},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-25 20:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643368704001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:21:49] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-25 20:21:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124212468539981824,"km_value":124212468539981.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064127544697487360,"description":"Unknown IO ID 45"} 
[2026-08-25 20:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643368704001,"power":12232,"unknown_179":206,"unknown_85":14592,"ignition":12,"odometer":null,"unknown_45":-9064127544697487360}} 
[2026-08-25 20:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":161977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:21:49] local.INFO: GPS data processed {"connection_id":161977,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:21:49] local.INFO: Acknowledgment sent {"connection_id":161977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:21:49] local.INFO: TCP Data received {"connection_id":164594,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:21:49] local.INFO: Processing buffer {"connection_id":164594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:21:49] local.INFO: Packet analysis {"connection_id":164594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:21:49] local.INFO: Extracted packet for processing {"connection_id":164594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643283968001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787669379000,"timestamp_ms":1787669379000,"timestamp_seconds":1787669379,"priority":1,"record_length":96,"hex_timestamp":"000001a03965f7b8"} 
[2026-08-25 20:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:21:49] 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-25 20:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643283968001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643283968001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643283968001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":164594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:21:49] local.INFO: GPS data processed {"connection_id":164594,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:21:49] local.INFO: Acknowledgment sent {"connection_id":164594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:21:54] local.INFO: TCP Data received {"connection_id":163211,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:21:54] local.INFO: Processing buffer {"connection_id":163211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:21:54] local.INFO: IMEI packet received {"connection_id":163211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 20:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":163211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:21:55] local.INFO: TCP Data received {"connection_id":164594,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:21:55] local.INFO: Processing buffer {"connection_id":164594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:21:55] local.INFO: Packet analysis {"connection_id":164594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:21:55] local.INFO: Extracted packet for processing {"connection_id":164594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:21:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643283968001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787669379000,"timestamp_ms":1787669379000,"timestamp_seconds":1787669379,"priority":1,"record_length":96,"hex_timestamp":"000001a03965f7b8"} 
[2026-08-25 20: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-25 20:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:21:55] 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-25 20: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-25 20: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-25 20:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643283968001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643283968001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:21:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643283968001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":164594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:21:55] local.INFO: GPS data processed {"connection_id":164594,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:21:55] local.INFO: Acknowledgment sent {"connection_id":164594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:22:20] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03966f5a0012d823100059bb338001301602f..."} 
[2026-08-25 20:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03966f5a0012d823100059bb338001301602f..."} 
[2026-08-25 20:22:20] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03966f5a0012d823100059bb338001301602f..."} 
[2026-08-25 20:22:20] local.INFO: Packet analysis {"connection_id":161977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03966"} 
[2026-08-25 20:22:20] local.INFO: Extracted packet for processing {"connection_id":161977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03966"} 
[2026-08-25 20:22:20] local.INFO: GPS Element Parsed {"raw_longitude":763506944,"raw_latitude":94090040,"longitude_deg":76.3506944,"latitude_deg":9.409004,"altitude":19,"angle":352,"satellites":47,"speed":35,"hex_longitude":"2d823100","hex_latitude":"059bb338","is_valid_coordinates":true} 
[2026-08-25 20:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643373824001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124212898036711424,"note":"Value kept but may cause issues"} 
[2026-08-25 20:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064549757160994816,"note":"Value kept but may cause issues"} 
[2026-08-25 20:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787669444000,"timestamp_ms":1787669444000,"timestamp_seconds":1787669444,"priority":1,"record_length":96,"hex_timestamp":"000001a03966f5a0"} 
[2026-08-25 20:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 20:22:20] 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-25 20:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643373824001,"66":12135,"179":206,"85":14592,"24":35,"16":124212898036711424,"45":-9064549757160994816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-25 20:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643373824001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:22:20] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-25 20:22:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-25 20:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124212898036711424,"km_value":124212898036711.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064549757160994816,"description":"Unknown IO ID 45"} 
[2026-08-25 20:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643373824001,"power":12135,"unknown_179":206,"unknown_85":14592,"ignition":35,"odometer":null,"unknown_45":-9064549757160994816}} 
[2026-08-25 20:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":161977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:22:20] local.INFO: GPS data processed {"connection_id":161977,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:22:20] local.INFO: Acknowledgment sent {"connection_id":161977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:22:39] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:22:39] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:22:39] local.INFO: IMEI packet received {"connection_id":161978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":161978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:22:40] local.INFO: TCP Data received {"connection_id":161979,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:22:40] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:22:40] local.INFO: IMEI packet received {"connection_id":161979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":161979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:22:44] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:22:44] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:22:44] local.INFO: IMEI packet received {"connection_id":161978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":161978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:22:45] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:22:45] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:22:45] local.INFO: Packet analysis {"connection_id":161978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:22:45] local.INFO: Extracted packet for processing {"connection_id":161978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643283968001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:22:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787669379000,"timestamp_ms":1787669379000,"timestamp_seconds":1787669379,"priority":1,"record_length":96,"hex_timestamp":"000001a03965f7b8"} 
[2026-08-25 20:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:22:45] 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-25 20:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643283968001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643283968001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643283968001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":161978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:22:45] local.INFO: GPS data processed {"connection_id":161978,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:22:45] local.INFO: Acknowledgment sent {"connection_id":161978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:22:50] local.INFO: TCP Data received {"connection_id":161979,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:22:50] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:22:50] local.INFO: IMEI packet received {"connection_id":161979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":161979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:22:51] local.INFO: TCP Data received {"connection_id":161979,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039685d00012d81ecc0059c96a8000c015a2e..."} 
[2026-08-25 20:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039685d00012d81ecc0059c96a8000c015a2e..."} 
[2026-08-25 20:22:51] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039685d00012d81ecc0059c96a8000c015a2e..."} 
[2026-08-25 20:22:51] local.INFO: Packet analysis {"connection_id":161979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03968"} 
[2026-08-25 20:22:51] local.INFO: Extracted packet for processing {"connection_id":161979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03968"} 
[2026-08-25 20:22:51] local.INFO: GPS Element Parsed {"raw_longitude":763489472,"raw_latitude":94148264,"longitude_deg":76.3489472,"latitude_deg":9.4148264,"altitude":12,"angle":346,"satellites":46,"speed":37,"hex_longitude":"2d81ecc0","hex_latitude":"059c96a8","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643397376001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124215861564145664,"note":"Value kept but may cause issues"} 
[2026-08-25 20:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9082001205702211584,"note":"Value kept but may cause issues"} 
[2026-08-25 20:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787669536000,"timestamp_ms":1787669536000,"timestamp_seconds":1787669536,"priority":1,"record_length":96,"hex_timestamp":"000001a039685d00"} 
[2026-08-25 20: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-25 20:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-25 20:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643397376001,"66":12472,"192":206,"85":14336,"24":37,"16":124215861564145664,"45":-9082001205702211584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-25 20:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643397376001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:22:51] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-25 20:22:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124215861564145664,"km_value":124215861564145.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9082001205702211584,"description":"Unknown IO ID 45"} 
[2026-08-25 20:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643397376001,"power":12472,"unknown_192":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":-9082001205702211584}} 
[2026-08-25 20:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":161979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:22:51] local.INFO: GPS data processed {"connection_id":161979,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:22:51] local.INFO: Acknowledgment sent {"connection_id":161979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:23:18] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:23:18] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:23:18] local.INFO: Packet analysis {"connection_id":161978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:23:18] local.INFO: Extracted packet for processing {"connection_id":161978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643283968001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:23:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787669379000,"timestamp_ms":1787669379000,"timestamp_seconds":1787669379,"priority":1,"record_length":96,"hex_timestamp":"000001a03965f7b8"} 
[2026-08-25 20:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:23:18] 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-25 20:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643283968001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643283968001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643283968001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":161978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:23:18] local.INFO: GPS data processed {"connection_id":161978,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:23:18] local.INFO: Acknowledgment sent {"connection_id":161978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:23:21] local.INFO: TCP Data received {"connection_id":161979,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039688028012d81e4c0059cba60000c015b2e..."} 
[2026-08-25 20:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039688028012d81e4c0059cba60000c015b2e..."} 
[2026-08-25 20:23:21] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039688028012d81e4c0059cba60000c015b2e..."} 
[2026-08-25 20:23:21] local.INFO: Packet analysis {"connection_id":161979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03968"} 
[2026-08-25 20:23:21] local.INFO: Extracted packet for processing {"connection_id":161979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03968"} 
[2026-08-25 20:23:21] local.INFO: GPS Element Parsed {"raw_longitude":763487424,"raw_latitude":94157408,"longitude_deg":76.3487424,"latitude_deg":9.4157408,"altitude":12,"angle":347,"satellites":46,"speed":39,"hex_longitude":"2d81e4c0","hex_latitude":"059cba60","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643401216001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124216316830679040,"note":"Value kept but may cause issues"} 
[2026-08-25 20:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9084675217978644480,"note":"Value kept but may cause issues"} 
[2026-08-25 20:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787669545000,"timestamp_ms":1787669545000,"timestamp_seconds":1787669545,"priority":1,"record_length":96,"hex_timestamp":"000001a039688028"} 
[2026-08-25 20: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-25 20:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-25 20:23:21] 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-25 20: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-25 20: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-25 20:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643401216001,"66":12156,"192":206,"85":14336,"24":39,"16":124216316830679040,"45":-9084675217978644480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-25 20:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643401216001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:23:21] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-25 20:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124216316830679040,"km_value":124216316830679.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9084675217978644480,"description":"Unknown IO ID 45"} 
[2026-08-25 20:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643401216001,"power":12156,"unknown_192":206,"unknown_85":14336,"ignition":39,"odometer":null,"unknown_45":-9084675217978644480}} 
[2026-08-25 20:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":161979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:23:21] local.INFO: GPS data processed {"connection_id":161979,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:23:21] local.INFO: Acknowledgment sent {"connection_id":161979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:23:38] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:23:38] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:23:38] local.INFO: IMEI packet received {"connection_id":163212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":163212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:23:39] local.INFO: TCP Data received {"connection_id":164595,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:23:39] local.INFO: Processing buffer {"connection_id":164595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:23:39] local.INFO: IMEI packet received {"connection_id":164595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":164595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:23:40] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:23:40] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:23:40] local.INFO: IMEI packet received {"connection_id":163212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":163212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:23:44] local.INFO: TCP Data received {"connection_id":164595,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:23:44] local.INFO: Processing buffer {"connection_id":164595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:23:44] local.INFO: IMEI packet received {"connection_id":164595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":164595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:23:44] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:23:44] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:23:44] local.INFO: IMEI packet received {"connection_id":163212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":163212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:23:45] local.INFO: TCP Data received {"connection_id":164595,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:23:45] local.INFO: Processing buffer {"connection_id":164595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:23:45] local.INFO: Packet analysis {"connection_id":164595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:23:45] local.INFO: Extracted packet for processing {"connection_id":164595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643283968001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:23:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787669379000,"timestamp_ms":1787669379000,"timestamp_seconds":1787669379,"priority":1,"record_length":96,"hex_timestamp":"000001a03965f7b8"} 
[2026-08-25 20:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:23:45] 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-25 20:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:23:45] 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-25 20:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643283968001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643283968001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643283968001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":164595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:23:45] local.INFO: GPS data processed {"connection_id":164595,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:23:45] local.INFO: Acknowledgment sent {"connection_id":164595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:23:45] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03968a738012d81dd00059cdf40000d015a2e..."} 
[2026-08-25 20:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03968a738012d81dd00059cdf40000d015a2e..."} 
[2026-08-25 20:23:45] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03968a738012d81dd00059cdf40000d015a2e..."} 
[2026-08-25 20:23:45] local.INFO: Packet analysis {"connection_id":163212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03968"} 
[2026-08-25 20:23:45] local.INFO: Extracted packet for processing {"connection_id":163212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03968"} 
[2026-08-25 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":763485440,"raw_latitude":94166848,"longitude_deg":76.348544,"latitude_deg":9.4166848,"altitude":13,"angle":346,"satellites":46,"speed":42,"hex_longitude":"2d81dd00","hex_latitude":"059cdf40","is_valid_coordinates":true} 
[2026-08-25 20:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643403520001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124216784982114304,"note":"Value kept but may cause issues"} 
[2026-08-25 20:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9086927017789988864,"note":"Value kept but may cause issues"} 
[2026-08-25 20:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787669555000,"timestamp_ms":1787669555000,"timestamp_seconds":1787669555,"priority":1,"record_length":96,"hex_timestamp":"000001a03968a738"} 
[2026-08-25 20:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 20:23:45] 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-25 20:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643403520001,"66":12461,"192":206,"85":14336,"24":42,"16":124216784982114304,"45":-9086927017789988864},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-25 20:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643403520001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:23:45] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-25 20:23:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124216784982114304,"km_value":124216784982114.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9086927017789988864,"description":"Unknown IO ID 45"} 
[2026-08-25 20:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643403520001,"power":12461,"unknown_192":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9086927017789988864}} 
[2026-08-25 20:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":163212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:23:45] local.INFO: GPS data processed {"connection_id":163212,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:23:45] local.INFO: Acknowledgment sent {"connection_id":163212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:24:17] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03968c678012d81d480059d0240000b015a2d..."} 
[2026-08-25 20:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03968c678012d81d480059d0240000b015a2d..."} 
[2026-08-25 20:24:17] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03968c678012d81d480059d0240000b015a2d..."} 
[2026-08-25 20:24:17] local.INFO: Packet analysis {"connection_id":163212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03968"} 
[2026-08-25 20:24:17] local.INFO: Extracted packet for processing {"connection_id":163212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03968"} 
[2026-08-25 20:24:17] local.INFO: GPS Element Parsed {"raw_longitude":763483264,"raw_latitude":94175808,"longitude_deg":76.3483264,"latitude_deg":9.4175808,"altitude":11,"angle":346,"satellites":45,"speed":41,"hex_longitude":"2d81d480","hex_latitude":"059d0240","is_valid_coordinates":true} 
[2026-08-25 20:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643406080001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124217231658713088,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9089108448857079808,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787669563000,"timestamp_ms":1787669563000,"timestamp_seconds":1787669563,"priority":1,"record_length":96,"hex_timestamp":"000001a03968c678"} 
[2026-08-25 20:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-25 20:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643406080001,"66":12200,"192":206,"85":14336,"24":41,"16":124217231658713088,"45":-9089108448857079808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-25 20:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643406080001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:24:17] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-25 20:24:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124217231658713088,"km_value":124217231658713.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9089108448857079808,"description":"Unknown IO ID 45"} 
[2026-08-25 20:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643406080001,"power":12200,"unknown_192":206,"unknown_85":14336,"ignition":41,"odometer":null,"unknown_45":-9089108448857079808}} 
[2026-08-25 20:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":163212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:24:17] local.INFO: GPS data processed {"connection_id":163212,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:24:17] local.INFO: Acknowledgment sent {"connection_id":163212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:24:17] local.INFO: TCP Data received {"connection_id":164595,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:24:17] local.INFO: Processing buffer {"connection_id":164595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:24:17] local.INFO: Packet analysis {"connection_id":164595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:24:17] local.INFO: Extracted packet for processing {"connection_id":164595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643283968001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787669379000,"timestamp_ms":1787669379000,"timestamp_seconds":1787669379,"priority":1,"record_length":96,"hex_timestamp":"000001a03965f7b8"} 
[2026-08-25 20:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:24:17] 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-25 20:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643283968001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643283968001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:24:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643283968001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":164595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:24:17] local.INFO: GPS data processed {"connection_id":164595,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:24:17] local.INFO: Acknowledgment sent {"connection_id":164595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:24:39] local.INFO: TCP Data received {"connection_id":161981,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:24:39] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:24:39] local.INFO: IMEI packet received {"connection_id":161981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":161981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:24:40] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:24:40] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:24:40] local.INFO: IMEI packet received {"connection_id":163213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":163213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:24:43] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:24:43] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:24:43] local.INFO: IMEI packet received {"connection_id":163213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":163213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:24:44] local.INFO: TCP Data received {"connection_id":161981,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:24:44] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:24:44] local.INFO: IMEI packet received {"connection_id":161981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":161981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:24:45] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:24:45] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:24:45] local.INFO: IMEI packet received {"connection_id":163213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":163213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:24:46] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a1a50012d819f40059e43d8000f015b30..."} 
[2026-08-25 20:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a1a50012d819f40059e43d8000f015b30..."} 
[2026-08-25 20:24:46] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a1a50012d819f40059e43d8000f015b30..."} 
[2026-08-25 20:24:46] local.INFO: Packet analysis {"connection_id":163213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:24:46] local.INFO: Extracted packet for processing {"connection_id":163213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:24:46] local.INFO: GPS Element Parsed {"raw_longitude":763469632,"raw_latitude":94258136,"longitude_deg":76.3469632,"latitude_deg":9.4258136,"altitude":15,"angle":347,"satellites":48,"speed":48,"hex_longitude":"2d819f40","hex_latitude":"059e43d8","is_valid_coordinates":true} 
[2026-08-25 20:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643428096001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124221294697775104,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9104589572555208704,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787669650000,"timestamp_ms":1787669650000,"timestamp_seconds":1787669650,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a1a50"} 
[2026-08-25 20:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:24: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-25 20:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 20:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643428096001,"66":12385,"193":206,"85":14336,"24":48,"16":124221294697775104,"45":-9104589572555208704},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-08-25 20:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643428096001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:24:46] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-25 20:24:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124221294697775104,"km_value":124221294697775.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9104589572555208704,"description":"Unknown IO ID 45"} 
[2026-08-25 20:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643428096001,"power":12385,"unknown_193":206,"unknown_85":14336,"ignition":48,"odometer":null,"unknown_45":-9104589572555208704}} 
[2026-08-25 20:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":163213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:24:46] local.INFO: GPS data processed {"connection_id":163213,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:24:46] local.INFO: Acknowledgment sent {"connection_id":163213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:24:47] local.INFO: TCP Data received {"connection_id":161981,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:24:47] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:24:47] local.INFO: Packet analysis {"connection_id":161981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:24:47] local.INFO: Extracted packet for processing {"connection_id":161981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643283968001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787669379000,"timestamp_ms":1787669379000,"timestamp_seconds":1787669379,"priority":1,"record_length":96,"hex_timestamp":"000001a03965f7b8"} 
[2026-08-25 20:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:24: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-25 20:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643283968001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643283968001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643283968001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":161981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:24:47] local.INFO: GPS data processed {"connection_id":161981,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:24:47] local.INFO: Acknowledgment sent {"connection_id":161981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:24:51] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a3990012d819640059e6780000e015930..."} 
[2026-08-25 20:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a3990012d819640059e6780000e015930..."} 
[2026-08-25 20:24:51] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a3990012d819640059e6780000e015930..."} 
[2026-08-25 20:24:51] local.INFO: Packet analysis {"connection_id":163213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:24:51] local.INFO: Extracted packet for processing {"connection_id":163213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:24:51] local.INFO: GPS Element Parsed {"raw_longitude":763467328,"raw_latitude":94267264,"longitude_deg":76.3467328,"latitude_deg":9.4267264,"altitude":14,"angle":345,"satellites":48,"speed":44,"hex_longitude":"2d819640","hex_latitude":"059e6780","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643430400001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124221749964308480,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106489528645593088,"note":"Value kept but may cause issues"} 
[2026-08-25 20:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787669658000,"timestamp_ms":1787669658000,"timestamp_seconds":1787669658,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a3990"} 
[2026-08-25 20: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-25 20:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 20:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643430400001,"66":12037,"193":206,"85":14336,"24":44,"16":124221749964308480,"45":-9106489528645593088},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-08-25 20:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643430400001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:24:51] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-25 20:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124221749964308480,"km_value":124221749964308.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106489528645593088,"description":"Unknown IO ID 45"} 
[2026-08-25 20:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643430400001,"power":12037,"unknown_193":206,"unknown_85":14336,"ignition":44,"odometer":null,"unknown_45":-9106489528645593088}} 
[2026-08-25 20:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":163213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:24:51] local.INFO: GPS data processed {"connection_id":163213,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:24:51] local.INFO: Acknowledgment sent {"connection_id":163213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:25:18] local.INFO: TCP Data received {"connection_id":161981,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:25:18] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03965f7b8012d34c14006aa4818000d00e630..."} 
[2026-08-25 20:25:18] local.INFO: Packet analysis {"connection_id":161981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:25:18] local.INFO: Extracted packet for processing {"connection_id":161981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03965"} 
[2026-08-25 20:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643283968001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787669379000,"timestamp_ms":1787669379000,"timestamp_seconds":1787669379,"priority":1,"record_length":96,"hex_timestamp":"000001a03965f7b8"} 
[2026-08-25 20:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:25:18] 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-25 20:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643283968001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643283968001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643283968001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":161981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:25:19] local.INFO: GPS data processed {"connection_id":161981,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:25:19] local.INFO: Acknowledgment sent {"connection_id":161981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:25:22] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a58d0012d818e40059e8be8000d015c2e..."} 
[2026-08-25 20:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a58d0012d818e40059e8be8000d015c2e..."} 
[2026-08-25 20:25:22] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a58d0012d818e40059e8be8000d015c2e..."} 
[2026-08-25 20:25:22] local.INFO: Packet analysis {"connection_id":163213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:25:22] local.INFO: Extracted packet for processing {"connection_id":163213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:25:22] local.INFO: GPS Element Parsed {"raw_longitude":763465280,"raw_latitude":94276584,"longitude_deg":76.346528,"latitude_deg":9.4276584,"altitude":13,"angle":348,"satellites":46,"speed":48,"hex_longitude":"2d818e40","hex_latitude":"059e8be8","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643432448001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124222209525809152,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9109022803433652224,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787669666000,"timestamp_ms":1787669666000,"timestamp_seconds":1787669666,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a58d0"} 
[2026-08-25 20: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-25 20:25: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-25 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-25 20:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2954361355722818560,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2175123461,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:22] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":10241,"corrected_to":0} 
[2026-08-25 20:25:22] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6142627530563649512,"corrected_to":0} 
[2026-08-25 20:25:22] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3623955841,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:22] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147851757,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:22] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2634075562,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:22] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182195349881088,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-7072120362321748433,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:22] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194855680,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:22] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,193,85,24,241,157,16,83,160,26,45,64,67,15,48,10,66,82,247,31,14,196,1,240,53,227,81,57,4,113,205,23,176,165,144,47,239,2,185,5,69],"length":484,"final_offset":614,"validated_count":41,"validation_warnings":[{"io_id":247,"original":10241,"validated":0},{"io_id":205,"original":-6142627530563649512,"validated":0}]} 
[2026-08-25 20:25:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009185854203887616,"timestamp_seconds":1009185854203887.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 20: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-25 20:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643432448001,"66":12145,"178":206,"85":14336,"24":48,"16":124222209525809152,"45":-9109022803433652224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-25 20:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643432448001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:25:22] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-25 20:25:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124222209525809152,"km_value":124222209525809.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9109022803433652224,"description":"Unknown IO ID 45"} 
[2026-08-25 20:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643432448001,"power":12145,"unknown_178":206,"unknown_85":14336,"ignition":48,"odometer":null,"unknown_45":-9109022803433652224}} 
[2026-08-25 20:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":163213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:25:22] local.INFO: GPS data processed {"connection_id":163213,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:25:22] local.INFO: Acknowledgment sent {"connection_id":163213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:25:44] local.INFO: TCP Data received {"connection_id":164596,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:25:44] local.INFO: Processing buffer {"connection_id":164596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:25:44] local.INFO: IMEI packet received {"connection_id":164596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":164596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:25:45] local.INFO: TCP Data received {"connection_id":164597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:25:45] local.INFO: Processing buffer {"connection_id":164597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:25:45] local.INFO: IMEI packet received {"connection_id":164597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":164597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:25:46] local.INFO: TCP Data received {"connection_id":164597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:25:46] local.INFO: Processing buffer {"connection_id":164597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:25:46] local.INFO: IMEI packet received {"connection_id":164597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":164597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:25:49] local.INFO: TCP Data received {"connection_id":164596,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:25:49] local.INFO: Processing buffer {"connection_id":164596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:25:49] local.INFO: IMEI packet received {"connection_id":164596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":164596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:25:50] local.INFO: TCP Data received {"connection_id":164597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:25:50] local.INFO: Processing buffer {"connection_id":164597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:25:50] local.INFO: IMEI packet received {"connection_id":164597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":164597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:25:51] local.INFO: TCP Data received {"connection_id":164596,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:25:51] local.INFO: Processing buffer {"connection_id":164596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:25:51] local.INFO: Packet analysis {"connection_id":164596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:25:51] local.INFO: Extracted packet for processing {"connection_id":164596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643361024001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787669680000,"timestamp_ms":1787669680000,"timestamp_seconds":1787669680,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a8f80"} 
[2026-08-25 20:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 20:25:51] 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-25 20:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:25: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-25 20:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643361024001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643361024001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643361024001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":164596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:25:51] local.INFO: GPS data processed {"connection_id":164596,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:25:51] local.INFO: Acknowledgment sent {"connection_id":164596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:25:51] local.INFO: TCP Data received {"connection_id":164597,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a7810012d818640059eb178000b015c30..."} 
[2026-08-25 20:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a7810012d818640059eb178000b015c30..."} 
[2026-08-25 20:25:51] local.INFO: Processing buffer {"connection_id":164597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a7810012d818640059eb178000b015c30..."} 
[2026-08-25 20:25:51] local.INFO: Packet analysis {"connection_id":164597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:25:51] local.INFO: Extracted packet for processing {"connection_id":164597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:25:51] local.INFO: GPS Element Parsed {"raw_longitude":763463232,"raw_latitude":94286200,"longitude_deg":76.3463232,"latitude_deg":9.42862,"altitude":11,"angle":348,"satellites":48,"speed":47,"hex_longitude":"2d818640","hex_latitude":"059eb178","is_valid_coordinates":true} 
[2026-08-25 20:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643434496001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124222690562146304,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9111274603244951552,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787669674000,"timestamp_ms":1787669674000,"timestamp_seconds":1787669674,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a7810"} 
[2026-08-25 20:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-25 20:25:51] 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-25 20:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643434496001,"66":12287,"178":206,"85":14336,"24":47,"16":124222690562146304,"45":-9111274603244951552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-25 20:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643434496001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:25:51] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-25 20:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124222690562146304,"km_value":124222690562146.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9111274603244951552,"description":"Unknown IO ID 45"} 
[2026-08-25 20:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643434496001,"power":12287,"unknown_178":206,"unknown_85":14336,"ignition":47,"odometer":null,"unknown_45":-9111274603244951552}} 
[2026-08-25 20:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":164597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:25:51] local.INFO: GPS data processed {"connection_id":164597,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:25:51] local.INFO: Acknowledgment sent {"connection_id":164597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:25:56] local.INFO: TCP Data received {"connection_id":164597,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a9750012d817ec0059ed5b0000a015c30..."} 
[2026-08-25 20:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a9750012d817ec0059ed5b0000a015c30..."} 
[2026-08-25 20:25:56] local.INFO: Processing buffer {"connection_id":164597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a9750012d817ec0059ed5b0000a015c30..."} 
[2026-08-25 20:25:56] local.INFO: Packet analysis {"connection_id":164597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:25:56] local.INFO: Extracted packet for processing {"connection_id":164597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763461312,"raw_latitude":94295472,"longitude_deg":76.3461312,"latitude_deg":9.4295472,"altitude":10,"angle":348,"satellites":48,"speed":46,"hex_longitude":"2d817ec0","hex_latitude":"059ed5b0","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643436544001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124223145828679680,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9113526403056175104,"note":"Value kept but may cause issues"} 
[2026-08-25 20:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787669682000,"timestamp_ms":1787669682000,"timestamp_seconds":1787669682,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a9750"} 
[2026-08-25 20: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-25 20:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 20:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643436544001,"66":12156,"178":206,"85":14336,"24":46,"16":124223145828679680,"45":-9113526403056175104},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-25 20:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643436544001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:25:56] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-25 20:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124223145828679680,"km_value":124223145828679.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9113526403056175104,"description":"Unknown IO ID 45"} 
[2026-08-25 20:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643436544001,"power":12156,"unknown_178":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":-9113526403056175104}} 
[2026-08-25 20:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":164597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:25:56] local.INFO: GPS data processed {"connection_id":164597,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:25:56] local.INFO: Acknowledgment sent {"connection_id":164597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:26:25] local.INFO: TCP Data received {"connection_id":164596,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:26:25] local.INFO: Processing buffer {"connection_id":164596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:26:25] local.INFO: Packet analysis {"connection_id":164596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:26:25] local.INFO: Extracted packet for processing {"connection_id":164596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643361024001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:26:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787669680000,"timestamp_ms":1787669680000,"timestamp_seconds":1787669680,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a8f80"} 
[2026-08-25 20:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 20:26:25] 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-25 20:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:26: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-25 20:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643361024001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643361024001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643361024001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":164596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:26:25] local.INFO: GPS data processed {"connection_id":164596,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:26:25] local.INFO: Acknowledgment sent {"connection_id":164596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:26:39] local.INFO: TCP Data received {"connection_id":162216,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:26:39] local.INFO: Processing buffer {"connection_id":162216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:26:39] local.INFO: IMEI packet received {"connection_id":162216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":162216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:26:44] local.INFO: TCP Data received {"connection_id":162216,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:26:44] local.INFO: Processing buffer {"connection_id":162216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:26:44] local.INFO: IMEI packet received {"connection_id":162216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":162216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:26:45] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:26:45] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:26:45] local.INFO: IMEI packet received {"connection_id":162217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":162217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:26:47] local.INFO: TCP Data received {"connection_id":162216,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:26:47] local.INFO: Processing buffer {"connection_id":162216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:26:47] local.INFO: Packet analysis {"connection_id":162216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:26:47] local.INFO: Extracted packet for processing {"connection_id":162216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643361024001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:26:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787669680000,"timestamp_ms":1787669680000,"timestamp_seconds":1787669680,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a8f80"} 
[2026-08-25 20:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 20:26:47] 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-25 20:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:26:47] 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-25 20:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643361024001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643361024001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643361024001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":162216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:26:47] local.INFO: GPS data processed {"connection_id":162216,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:26:47] local.INFO: Acknowledgment sent {"connection_id":162216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:26:48] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:26:48] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:26:48] local.INFO: IMEI packet received {"connection_id":162217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":162217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:26:50] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:26:50] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:26:50] local.INFO: IMEI packet received {"connection_id":162217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":162217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:26:51] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396bd7a0012d813d40059ff2a0000a015d2c..."} 
[2026-08-25 20:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396bd7a0012d813d40059ff2a0000a015d2c..."} 
[2026-08-25 20:26:51] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396bd7a0012d813d40059ff2a0000a015d2c..."} 
[2026-08-25 20:26:51] local.INFO: Packet analysis {"connection_id":162217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396b"} 
[2026-08-25 20:26:51] local.INFO: Extracted packet for processing {"connection_id":162217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396b"} 
[2026-08-25 20:26:51] local.INFO: GPS Element Parsed {"raw_longitude":763444544,"raw_latitude":94368416,"longitude_deg":76.3444544,"latitude_deg":9.4368416,"altitude":10,"angle":349,"satellites":44,"speed":37,"hex_longitude":"2d813d40","hex_latitude":"059ff2a0","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643457024001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124226805140815872,"note":"Value kept but may cause issues"} 
[2026-08-25 20:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9132033382756214784,"note":"Value kept but may cause issues"} 
[2026-08-25 20:26:51] 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-25 20:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787669764000,"timestamp_ms":1787669764000,"timestamp_seconds":1787669764,"priority":1,"record_length":96,"hex_timestamp":"000001a0396bd7a0"} 
[2026-08-25 20: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-25 20:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-25 20:26:51] 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-25 20: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-25 20: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-25 20:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643457024001,"66":12472,"5":206,"85":14336,"24":37,"16":124226805140815872,"45":-9132033382756214784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-25 20:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643457024001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:26:51] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-25 20:26:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124226805140815872,"km_value":124226805140815.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9132033382756214784,"description":"Unknown IO ID 45"} 
[2026-08-25 20:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643457024001,"power":12472,"unknown_5":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":-9132033382756214784}} 
[2026-08-25 20:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":162217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:26:51] local.INFO: GPS data processed {"connection_id":162217,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:26:51] local.INFO: Acknowledgment sent {"connection_id":162217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:27:19] local.INFO: TCP Data received {"connection_id":162216,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:27:19] local.INFO: Processing buffer {"connection_id":162216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:27:19] local.INFO: Packet analysis {"connection_id":162216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:27:19] local.INFO: Extracted packet for processing {"connection_id":162216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:27:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643361024001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:27:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787669680000,"timestamp_ms":1787669680000,"timestamp_seconds":1787669680,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a8f80"} 
[2026-08-25 20:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 20:27:19] 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-25 20:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:27:19] 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-25 20:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643361024001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643361024001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:27:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643361024001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":162216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:27:19] local.INFO: GPS data processed {"connection_id":162216,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:27:19] local.INFO: Acknowledgment sent {"connection_id":162216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:27:22] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396bfeb0012d81360005a015f80009015b2d..."} 
[2026-08-25 20:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396bfeb0012d81360005a015f80009015b2d..."} 
[2026-08-25 20:27:22] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396bfeb0012d81360005a015f80009015b2d..."} 
[2026-08-25 20:27:22] local.INFO: Packet analysis {"connection_id":162217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396b"} 
[2026-08-25 20:27:22] local.INFO: Extracted packet for processing {"connection_id":162217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396b"} 
[2026-08-25 20:27:22] local.INFO: GPS Element Parsed {"raw_longitude":763442688,"raw_latitude":94377464,"longitude_deg":76.3442688,"latitude_deg":9.4377464,"altitude":9,"angle":347,"satellites":45,"speed":33,"hex_longitude":"2d813600","hex_latitude":"05a015f8","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643459584001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124227251817414656,"note":"Value kept but may cause issues"} 
[2026-08-25 20:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134074076335005696,"note":"Value kept but may cause issues"} 
[2026-08-25 20:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787669774000,"timestamp_ms":1787669774000,"timestamp_seconds":1787669774,"priority":1,"record_length":96,"hex_timestamp":"000001a0396bfeb0"} 
[2026-08-25 20: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-25 20:27: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-25 20: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-25 20:27:22] 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-25 20: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-25 20: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-25 20:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643459584001,"66":12385,"177":206,"85":14336,"24":33,"16":124227251817414656,"45":-9134074076335005696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 20:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643459584001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:27:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 20:27:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124227251817414656,"km_value":124227251817414.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134074076335005696,"description":"Unknown IO ID 45"} 
[2026-08-25 20:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643459584001,"power":12385,"unknown_177":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":-9134074076335005696}} 
[2026-08-25 20:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":162217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:27:22] local.INFO: GPS data processed {"connection_id":162217,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:27:22] local.INFO: Acknowledgment sent {"connection_id":162217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:27:32] local.INFO: TCP Data received {"connection_id":161980,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:27:32] local.INFO: Processing buffer {"connection_id":161980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:27:32] local.INFO: IMEI packet received {"connection_id":161980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 20:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":161980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:27:39] local.INFO: TCP Data received {"connection_id":164598,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:27:39] local.INFO: Processing buffer {"connection_id":164598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:27:39] local.INFO: IMEI packet received {"connection_id":164598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":164598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:27:44] local.INFO: TCP Data received {"connection_id":164598,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:27:44] local.INFO: Processing buffer {"connection_id":164598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:27:44] local.INFO: IMEI packet received {"connection_id":164598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":164598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:27:45] local.INFO: TCP Data received {"connection_id":164598,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:27:45] local.INFO: Processing buffer {"connection_id":164598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:27:45] local.INFO: Packet analysis {"connection_id":164598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:27:45] local.INFO: Extracted packet for processing {"connection_id":164598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643361024001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:27:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787669680000,"timestamp_ms":1787669680000,"timestamp_seconds":1787669680,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a8f80"} 
[2026-08-25 20:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 20:27:45] 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-25 20:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:27:45] 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-25 20:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643361024001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643361024001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:27:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643361024001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:27:45] local.INFO: TCP Data received {"connection_id":161982,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:27:45] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:27:45] local.INFO: IMEI packet received {"connection_id":161982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":161982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":164598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:27:45] local.INFO: GPS data processed {"connection_id":164598,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:27:45] local.INFO: Acknowledgment sent {"connection_id":164598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:27:46] local.INFO: TCP Data received {"connection_id":161982,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:27:46] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:27:46] local.INFO: IMEI packet received {"connection_id":161982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":161982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:27:50] local.INFO: TCP Data received {"connection_id":161982,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:27:50] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:27:50] local.INFO: IMEI packet received {"connection_id":161982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":161982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:27:51] local.INFO: TCP Data received {"connection_id":161982,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396c29a8012d812e0005a03ac00007015b2e..."} 
[2026-08-25 20:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396c29a8012d812e0005a03ac00007015b2e..."} 
[2026-08-25 20:27:51] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396c29a8012d812e0005a03ac00007015b2e..."} 
[2026-08-25 20:27:51] local.INFO: Packet analysis {"connection_id":161982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396c"} 
[2026-08-25 20:27:51] local.INFO: Extracted packet for processing {"connection_id":161982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396c"} 
[2026-08-25 20:27:51] local.INFO: GPS Element Parsed {"raw_longitude":763440640,"raw_latitude":94386880,"longitude_deg":76.344064,"latitude_deg":9.438688,"altitude":7,"angle":347,"satellites":46,"speed":35,"hex_longitude":"2d812e00","hex_latitude":"05a03ac0","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643462144001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124227719968849920,"note":"Value kept but may cause issues"} 
[2026-08-25 20:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136114769913841664,"note":"Value kept but may cause issues"} 
[2026-08-25 20:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787669785000,"timestamp_ms":1787669785000,"timestamp_seconds":1787669785,"priority":1,"record_length":96,"hex_timestamp":"000001a0396c29a8"} 
[2026-08-25 20: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-25 20:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 20:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643462144001,"66":12330,"177":206,"85":14336,"24":35,"16":124227719968849920,"45":-9136114769913841664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 20:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643462144001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:27:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 20:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124227719968849920,"km_value":124227719968849.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136114769913841664,"description":"Unknown IO ID 45"} 
[2026-08-25 20:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643462144001,"power":12330,"unknown_177":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9136114769913841664}} 
[2026-08-25 20:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":161982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:27:51] local.INFO: GPS data processed {"connection_id":161982,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:27:51] local.INFO: Acknowledgment sent {"connection_id":161982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:28:09] local.INFO: TCP Data received {"connection_id":163214,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:28:09] local.INFO: Processing buffer {"connection_id":163214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:28:09] local.INFO: IMEI packet received {"connection_id":163214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 20:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":163214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:28:17] local.INFO: TCP Data received {"connection_id":164598,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:28:17] local.INFO: Processing buffer {"connection_id":164598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:28:17] local.INFO: Packet analysis {"connection_id":164598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:28:17] local.INFO: Extracted packet for processing {"connection_id":164598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643361024001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:28:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787669680000,"timestamp_ms":1787669680000,"timestamp_seconds":1787669680,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a8f80"} 
[2026-08-25 20:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 20:28: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-25 20:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:28:17] 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-25 20:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643361024001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643361024001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643361024001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":164598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:28:17] local.INFO: GPS data processed {"connection_id":164598,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:28:17] local.INFO: Acknowledgment sent {"connection_id":164598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:28:22] local.INFO: TCP Data received {"connection_id":161982,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396c50b8012d81264005a05f680008015a2e..."} 
[2026-08-25 20:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396c50b8012d81264005a05f680008015a2e..."} 
[2026-08-25 20:28:22] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396c50b8012d81264005a05f680008015a2e..."} 
[2026-08-25 20:28:22] local.INFO: Packet analysis {"connection_id":161982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396c"} 
[2026-08-25 20:28:22] local.INFO: Extracted packet for processing {"connection_id":161982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396c"} 
[2026-08-25 20:28:22] local.INFO: GPS Element Parsed {"raw_longitude":763438656,"raw_latitude":94396264,"longitude_deg":76.3438656,"latitude_deg":9.4396264,"altitude":8,"angle":346,"satellites":46,"speed":32,"hex_longitude":"2d812640","hex_latitude":"05a05f68","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643464960001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124228183825317888,"note":"Value kept but may cause issues"} 
[2026-08-25 20:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138366569725116416,"note":"Value kept but may cause issues"} 
[2026-08-25 20:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787669795000,"timestamp_ms":1787669795000,"timestamp_seconds":1787669795,"priority":1,"record_length":96,"hex_timestamp":"000001a0396c50b8"} 
[2026-08-25 20: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-25 20:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 20:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643464960001,"66":12287,"177":206,"85":14336,"24":32,"16":124228183825317888,"45":-9138366569725116416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-25 20:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643464960001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:28:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-25 20:28:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124228183825317888,"km_value":124228183825317.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138366569725116416,"description":"Unknown IO ID 45"} 
[2026-08-25 20:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643464960001,"power":12287,"unknown_177":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":-9138366569725116416}} 
[2026-08-25 20:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":161982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:28:22] local.INFO: GPS data processed {"connection_id":161982,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:28:22] local.INFO: Acknowledgment sent {"connection_id":161982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:28:39] local.INFO: TCP Data received {"connection_id":164599,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:28:39] local.INFO: Processing buffer {"connection_id":164599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:28:39] local.INFO: IMEI packet received {"connection_id":164599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":164599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:28:44] local.INFO: TCP Data received {"connection_id":164599,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:28:44] local.INFO: Processing buffer {"connection_id":164599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:28:44] local.INFO: IMEI packet received {"connection_id":164599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":164599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:28:45] local.INFO: TCP Data received {"connection_id":164599,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:28:45] local.INFO: Processing buffer {"connection_id":164599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:28:45] local.INFO: Packet analysis {"connection_id":164599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:28:45] local.INFO: Extracted packet for processing {"connection_id":164599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643361024001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:28:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787669680000,"timestamp_ms":1787669680000,"timestamp_seconds":1787669680,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a8f80"} 
[2026-08-25 20:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 20:28:45] 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-25 20:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643361024001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643361024001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643361024001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":164599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:28:45] local.INFO: GPS data processed {"connection_id":164599,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:28:45] local.INFO: Acknowledgment sent {"connection_id":164599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:28:49] local.INFO: TCP Data received {"connection_id":161985,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:28:49] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:28:49] local.INFO: IMEI packet received {"connection_id":161985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":161985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:28:50] local.INFO: TCP Data received {"connection_id":161985,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:28:50] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:28:50] local.INFO: IMEI packet received {"connection_id":161985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":161985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:28:55] local.INFO: TCP Data received {"connection_id":161985,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:28:55] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:28:55] local.INFO: IMEI packet received {"connection_id":161985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":161985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:28:56] local.INFO: TCP Data received {"connection_id":161985,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396ddb40012d80d54005a1e8180009015d2f..."} 
[2026-08-25 20:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396ddb40012d80d54005a1e8180009015d2f..."} 
[2026-08-25 20:28:56] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396ddb40012d80d54005a1e8180009015d2f..."} 
[2026-08-25 20:28:56] local.INFO: Packet analysis {"connection_id":161985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396d"} 
[2026-08-25 20:28:56] local.INFO: Extracted packet for processing {"connection_id":161985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396d"} 
[2026-08-25 20:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763417920,"raw_latitude":94496792,"longitude_deg":76.341792,"latitude_deg":9.4496792,"altitude":9,"angle":349,"satellites":47,"speed":41,"hex_longitude":"2d80d540","hex_latitude":"05a1e818","is_valid_coordinates":true} 
[2026-08-25 20:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643490816001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124233157397446656,"note":"Value kept but may cause issues"} 
[2026-08-25 20:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9161377149045395456,"note":"Value kept but may cause issues"} 
[2026-08-25 20:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787669896000,"timestamp_ms":1787669896000,"timestamp_seconds":1787669896,"priority":1,"record_length":96,"hex_timestamp":"000001a0396ddb40"} 
[2026-08-25 20:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 20:28:56] 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-25 20:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643490816001,"66":12189,"82":206,"85":14336,"24":41,"16":124233157397446656,"45":-9161377149045395456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-08-25 20:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643490816001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:28:56] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-25 20:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124233157397446656,"km_value":124233157397446.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9161377149045395456,"description":"Unknown IO ID 45"} 
[2026-08-25 20:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643490816001,"power":12189,"unknown_82":206,"unknown_85":14336,"ignition":41,"odometer":null,"unknown_45":-9161377149045395456}} 
[2026-08-25 20:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":161985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:28:56] local.INFO: GPS data processed {"connection_id":161985,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:28:56] local.INFO: Acknowledgment sent {"connection_id":161985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:29:17] local.INFO: TCP Data received {"connection_id":164599,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:29:17] local.INFO: Processing buffer {"connection_id":164599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:29:17] local.INFO: Packet analysis {"connection_id":164599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:29:17] local.INFO: Extracted packet for processing {"connection_id":164599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643361024001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787669680000,"timestamp_ms":1787669680000,"timestamp_seconds":1787669680,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a8f80"} 
[2026-08-25 20:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 20:29: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-25 20:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643361024001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643361024001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643361024001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":164599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:29:17] local.INFO: GPS data processed {"connection_id":164599,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:29:17] local.INFO: Acknowledgment sent {"connection_id":164599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:29:33] local.INFO: TCP Data received {"connection_id":161986,"ip":"172.104.241.92","data_length":4,"data_hex":"0d0a0d0a..."} 
[2026-08-25 20:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161986,"packet_length":4,"packet_hex":"0d0a0d0a..."} 
[2026-08-25 20:29:33] local.INFO: Processing buffer {"connection_id":161986,"buffer_length":4,"buffer_hex":"0d0a0d0a..."} 
[2026-08-25 20:29:38] local.INFO: TCP Data received {"connection_id":162218,"ip":"172.104.241.92","data_length":18,"data_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-08-25 20:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162218,"packet_length":18,"packet_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-08-25 20:29:38] local.INFO: Processing buffer {"connection_id":162218,"buffer_length":18,"buffer_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-08-25 20:29:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162218,"buffer_length":18,"first_bytes_hex":"474554202f20485454502f312e300d0a"} 
[2026-08-25 20:29:39] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:29:39] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:29:39] local.INFO: IMEI packet received {"connection_id":161987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":161987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:29:40] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:29:40] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:29:40] local.INFO: IMEI packet received {"connection_id":161988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":161988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:29:43] local.INFO: TCP Data received {"connection_id":162219,"ip":"172.104.241.92","data_length":22,"data_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-08-25 20:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162219,"packet_length":22,"packet_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-08-25 20:29:43] local.INFO: Processing buffer {"connection_id":162219,"buffer_length":22,"buffer_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-08-25 20:29:43] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162219,"buffer_length":22,"first_bytes_hex":"4f5054494f4e53202f20485454502f31"} 
[2026-08-25 20:29:44] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:29:44] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:29:44] local.INFO: IMEI packet received {"connection_id":161988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":161988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:29:44] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:29:44] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:29:44] local.INFO: IMEI packet received {"connection_id":161987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":161987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:29:45] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:29:45] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:29:45] local.INFO: Packet analysis {"connection_id":161987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:29:45] local.INFO: Extracted packet for processing {"connection_id":161987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643361024001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787669680000,"timestamp_ms":1787669680000,"timestamp_seconds":1787669680,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a8f80"} 
[2026-08-25 20:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 20:29:45] 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-25 20:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:29:45] 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-25 20:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643361024001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643361024001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643361024001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":161987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:29:45] local.INFO: GPS data processed {"connection_id":161987,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:29:45] local.INFO: Acknowledgment sent {"connection_id":161987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:29:45] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:29:45] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:29:45] local.INFO: IMEI packet received {"connection_id":161988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":161988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:29:48] local.INFO: TCP Data received {"connection_id":162220,"ip":"172.104.241.92","data_length":22,"data_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-08-25 20:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162220,"packet_length":22,"packet_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-08-25 20:29:48] local.INFO: Processing buffer {"connection_id":162220,"buffer_length":22,"buffer_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-08-25 20:29:48] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162220,"buffer_length":22,"first_bytes_hex":"4f5054494f4e53202f20525453502f31"} 
[2026-08-25 20:29:49] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396dfe68012d80ce8005a20a98000a015d2f..."} 
[2026-08-25 20:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396dfe68012d80ce8005a20a98000a015d2f..."} 
[2026-08-25 20:29:49] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396dfe68012d80ce8005a20a98000a015d2f..."} 
[2026-08-25 20:29:49] local.INFO: Packet analysis {"connection_id":161988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396d"} 
[2026-08-25 20:29:49] local.INFO: Extracted packet for processing {"connection_id":161988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396d"} 
[2026-08-25 20:29:49] local.INFO: GPS Element Parsed {"raw_longitude":763416192,"raw_latitude":94505624,"longitude_deg":76.3416192,"latitude_deg":9.4505624,"altitude":10,"angle":349,"satellites":47,"speed":38,"hex_longitude":"2d80ce80","hex_latitude":"05a20a98","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643493376001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124233595484110848,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9163347473880049664,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787669905000,"timestamp_ms":1787669905000,"timestamp_seconds":1787669905,"priority":1,"record_length":96,"hex_timestamp":"000001a0396dfe68"} 
[2026-08-25 20: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-25 20:29: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-25 20: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-25 20:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643493376001,"66":12298,"82":206,"85":14336,"24":38,"16":124233595484110848,"45":-9163347473880049664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-08-25 20:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643493376001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:29:49] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-25 20:29:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124233595484110848,"km_value":124233595484110.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9163347473880049664,"description":"Unknown IO ID 45"} 
[2026-08-25 20:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643493376001,"power":12298,"unknown_82":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":-9163347473880049664}} 
[2026-08-25 20:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":161988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:29:49] local.INFO: GPS data processed {"connection_id":161988,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:29:49] local.INFO: Acknowledgment sent {"connection_id":161988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:29:50] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396e2d48012d80c6c005a22f48000a015d2c..."} 
[2026-08-25 20:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396e2d48012d80c6c005a22f48000a015d2c..."} 
[2026-08-25 20:29:50] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396e2d48012d80c6c005a22f48000a015d2c..."} 
[2026-08-25 20:29:50] local.INFO: Packet analysis {"connection_id":161988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396e"} 
[2026-08-25 20:29:50] local.INFO: Extracted packet for processing {"connection_id":161988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396e"} 
[2026-08-25 20:29:50] local.INFO: GPS Element Parsed {"raw_longitude":763414208,"raw_latitude":94515016,"longitude_deg":76.3414208,"latitude_deg":9.4515016,"altitude":10,"angle":349,"satellites":44,"speed":31,"hex_longitude":"2d80c6c0","hex_latitude":"05a22f48","is_valid_coordinates":true} 
[2026-08-25 20:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643495680001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124234059340578816,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165247429970585600,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787669917000,"timestamp_ms":1787669917000,"timestamp_seconds":1787669917,"priority":1,"record_length":96,"hex_timestamp":"000001a0396e2d48"} 
[2026-08-25 20:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4035251655225115136,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186041,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4137964182398927105,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":64,"raw_value":405624270576877916,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242649,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483920816898254,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":92,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":97719096740675584,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1504772302,"corrected_to":0} 
[2026-08-25 20:29:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":328028,"corrected_to":0} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2704519168,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":91,"raw_value":5908722711110090753,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.WARNING: Large IO value detected {"io_id":37,"raw_value":11540474045792260,"note":"Value kept but may cause issues"} 
[2026-08-25 20:29:50] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,82,85,24,241,157,16,93,160,219,45,64,232,9,47,10,66,180,196,8,92,141,192,1,240,255,227,57,161,4,113,205,36,63,200,239,177,2,185,5,91,37],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1504772302,"validated":0},{"io_id":200,"original":328028,"validated":0}]} 
[2026-08-25 20:29:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720959871803326464,"timestamp_seconds":720959871803326.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 20:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643495680001,"66":12298,"82":206,"85":14336,"24":31,"16":124234059340578816,"45":-9165247429970585600},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-08-25 20:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643495680001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:29:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-25 20:29:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124234059340578816,"km_value":124234059340578.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165247429970585600,"description":"Unknown IO ID 45"} 
[2026-08-25 20:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643495680001,"power":12298,"unknown_82":206,"unknown_85":14336,"ignition":31,"odometer":null,"unknown_45":-9165247429970585600}} 
[2026-08-25 20:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":161988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:29:50] local.INFO: GPS data processed {"connection_id":161988,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:29:50] local.INFO: Acknowledgment sent {"connection_id":161988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:29:53] local.INFO: TCP Data received {"connection_id":162221,"ip":"172.104.241.92","data_length":44,"data_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-08-25 20:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162221,"packet_length":44,"packet_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-08-25 20:29:53] local.INFO: Processing buffer {"connection_id":162221,"buffer_length":44,"buffer_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-08-25 20:29:53] local.INFO: Found valid packet candidate {"position":8,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000186a00001977c"} 
[2026-08-25 20:29:53] local.INFO: Found valid Teltonika packet at position {"connection_id":162221,"packet_position":8,"bytes_removed":8} 
[2026-08-25 20:29:53] local.INFO: Packet analysis {"connection_id":162221,"data_field_length":2,"total_packet_length":14,"buffer_length":36,"packet_hex_start":"0000000000000002000186a00001977c"} 
[2026-08-25 20:29:53] local.INFO: Extracted packet for processing {"connection_id":162221,"packet_length":14,"remaining_buffer_length":22,"packet_hex_start":"0000000000000002000186a00001"} 
[2026-08-25 20:29:53] local.WARNING: Failed to parse Teltonika packet {"connection_id":162221,"packet_length":14} 
[2026-08-25 20:29:53] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162221,"buffer_length":22,"first_bytes_hex":"977c0000000000000000000000000000"} 
[2026-08-25 20:29:58] local.INFO: TCP Data received {"connection_id":163215,"ip":"172.104.241.92","data_length":32,"data_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-08-25 20:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163215,"packet_length":32,"packet_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-08-25 20:29:58] local.INFO: Processing buffer {"connection_id":163215,"buffer_length":32,"buffer_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-08-25 20:29:58] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163215,"buffer_length":32,"first_bytes_hex":"001e0006010000010000000000000776"} 
[2026-08-25 20:30:03] local.INFO: TCP Data received {"connection_id":164600,"ip":"172.104.241.92","data_length":14,"data_hex":"000c000010000000000000000000..."} 
[2026-08-25 20:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164600,"packet_length":14,"packet_hex":"000c000010000000000000000000..."} 
[2026-08-25 20:30:03] local.INFO: Processing buffer {"connection_id":164600,"buffer_length":14,"buffer_hex":"000c000010000000000000000000..."} 
[2026-08-25 20:30:08] local.INFO: TCP Data received {"connection_id":164601,"ip":"172.104.241.92","data_length":6,"data_hex":"48454c500d0a..."} 
[2026-08-25 20:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164601,"packet_length":6,"packet_hex":"48454c500d0a..."} 
[2026-08-25 20:30:08] local.INFO: Processing buffer {"connection_id":164601,"buffer_length":6,"buffer_hex":"48454c500d0a..."} 
[2026-08-25 20:30:16] local.INFO: TCP Data received {"connection_id":164602,"ip":"172.104.241.92","data_length":88,"data_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-08-25 20:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164602,"packet_length":88,"packet_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-08-25 20:30:16] local.INFO: Processing buffer {"connection_id":164602,"buffer_length":88,"buffer_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-08-25 20:30:16] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":164602,"buffer_length":88,"first_bytes_hex":"16030000530100004f03003f47d7f7ba"} 
[2026-08-25 20:30:17] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:30:17] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396a8f80012d34c14006aa4818000d00e631..."} 
[2026-08-25 20:30:17] local.INFO: Packet analysis {"connection_id":161987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:30:17] local.INFO: Extracted packet for processing {"connection_id":161987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396a"} 
[2026-08-25 20:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643361024001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787669680000,"timestamp_ms":1787669680000,"timestamp_seconds":1787669680,"priority":1,"record_length":96,"hex_timestamp":"000001a0396a8f80"} 
[2026-08-25 20:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 20:30: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-25 20:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643361024001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643361024001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643361024001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":161987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:30:17] local.INFO: GPS data processed {"connection_id":161987,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:30:17] local.INFO: Acknowledgment sent {"connection_id":161987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:30:21] local.INFO: TCP Data received {"connection_id":164603,"ip":"172.104.241.92","data_length":42,"data_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-08-25 20:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164603,"packet_length":42,"packet_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-08-25 20:30:21] local.INFO: Processing buffer {"connection_id":164603,"buffer_length":42,"buffer_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6e6d6170..."} 
[2026-08-25 20:30:21] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":164603,"buffer_length":42,"first_bytes_hex":"0300002a25e00000000000436f6f6b69"} 
[2026-08-25 20:30:24] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396f6d98012d808bc005a3b1e80008015d2f..."} 
[2026-08-25 20:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396f6d98012d808bc005a3b1e80008015d2f..."} 
[2026-08-25 20:30:24] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396f6d98012d808bc005a3b1e80008015d2f..."} 
[2026-08-25 20:30:24] local.INFO: Packet analysis {"connection_id":161988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:30:24] local.INFO: Extracted packet for processing {"connection_id":161988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:30:24] local.INFO: GPS Element Parsed {"raw_longitude":763399104,"raw_latitude":94613992,"longitude_deg":76.3399104,"latitude_deg":9.4613992,"altitude":8,"angle":349,"satellites":47,"speed":62,"hex_longitude":"2d808bc0","hex_latitude":"05a3b1e8","is_valid_coordinates":true} 
[2026-08-25 20:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643518208001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124238916948590592,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9182347034780377088,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787669999000,"timestamp_ms":1787669999000,"timestamp_seconds":1787669999,"priority":1,"record_length":96,"hex_timestamp":"000001a0396f6d98"} 
[2026-08-25 20:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 20:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643518208001,"66":12287,"17":206,"85":14336,"24":62,"16":124238916948590592,"45":-9182347034780377088},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 20:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643518208001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:30:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124238916948590592,"km_value":124238916948590.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9182347034780377088,"description":"Unknown IO ID 45"} 
[2026-08-25 20:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643518208001,"power":12287,"axis_x":206,"unknown_85":14336,"ignition":62,"odometer":null,"unknown_45":-9182347034780377088}} 
[2026-08-25 20:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":161988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:30:24] local.INFO: GPS data processed {"connection_id":161988,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:30:24] local.INFO: Acknowledgment sent {"connection_id":161988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:30:26] local.INFO: TCP Data received {"connection_id":164604,"ip":"172.104.241.92","data_length":110,"data_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-08-25 20:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164604,"packet_length":110,"packet_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-08-25 20:30:26] local.INFO: Processing buffer {"connection_id":164604,"buffer_length":110,"buffer_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-08-25 20:30:26] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":164604,"buffer_length":110,"first_bytes_hex":"1603000069010000650303551ca7e472"} 
[2026-08-25 20:30:32] local.INFO: TCP Data received {"connection_id":163216,"ip":"172.104.241.92","data_length":117,"data_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-08-25 20:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163216,"packet_length":117,"packet_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-08-25 20:30:32] local.INFO: Processing buffer {"connection_id":163216,"buffer_length":117,"buffer_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-08-25 20:30:32] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163216,"buffer_length":117,"first_bytes_hex":"000000716a816e30816ba103020105a2"} 
[2026-08-25 20:30:37] local.INFO: TCP Data received {"connection_id":162222,"ip":"172.104.241.92","data_length":168,"data_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-08-25 20:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162222,"packet_length":168,"packet_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-08-25 20:30:37] local.INFO: Processing buffer {"connection_id":162222,"buffer_length":168,"buffer_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-08-25 20:30:37] local.INFO: Found valid packet candidate {"position":23,"data_field_length":64,"total_length":76,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-08-25 20:30:37] local.INFO: Found valid Teltonika packet at position {"connection_id":162222,"packet_position":23,"bytes_removed":23} 
[2026-08-25 20:30:37] local.INFO: Packet analysis {"connection_id":162222,"data_field_length":64,"total_packet_length":76,"buffer_length":145,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-08-25 20:30:37] local.INFO: Extracted packet for processing {"connection_id":162222,"packet_length":76,"remaining_buffer_length":69,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-08-25 20:30:37] local.WARNING: Failed to parse Teltonika packet {"connection_id":162222,"packet_length":76} 
[2026-08-25 20:30:37] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162222,"buffer_length":69,"first_bytes_hex":"4e4554574f524b5320332e3000024c41"} 
[2026-08-25 20:30:40] local.INFO: TCP Data received {"connection_id":164605,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:30:40] local.INFO: Processing buffer {"connection_id":164605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:30:40] local.INFO: IMEI packet received {"connection_id":164605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":164605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:30:42] local.INFO: TCP Data received {"connection_id":162224,"ip":"172.104.241.92","data_length":12,"data_hex":"6c000b000000000000000000..."} 
[2026-08-25 20:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162224,"packet_length":12,"packet_hex":"6c000b000000000000000000..."} 
[2026-08-25 20:30:42] local.INFO: Processing buffer {"connection_id":162224,"buffer_length":12,"buffer_hex":"6c000b000000000000000000..."} 
[2026-08-25 20:30:44] local.INFO: TCP Data received {"connection_id":162223,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:30:44] local.INFO: Processing buffer {"connection_id":162223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:30:44] local.INFO: IMEI packet received {"connection_id":162223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":162223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:30:45] local.INFO: TCP Data received {"connection_id":164605,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:30:45] local.INFO: Processing buffer {"connection_id":164605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:30:45] local.INFO: IMEI packet received {"connection_id":164605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":164605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:30:46] local.INFO: TCP Data received {"connection_id":164605,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:30:47] local.INFO: Processing buffer {"connection_id":164605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:30:47] local.INFO: IMEI packet received {"connection_id":164605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":164605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:30:47] local.INFO: TCP Data received {"connection_id":161989,"ip":"172.104.241.92","data_length":53,"data_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-08-25 20:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":53,"packet_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-08-25 20:30:47] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":53,"buffer_hex":"474554202f6e696365253230706f7274732532432f5472692536456974792e74..."} 
[2026-08-25 20:30:47] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":161989,"buffer_length":53,"first_bytes_hex":"474554202f6e696365253230706f7274"} 
[2026-08-25 20:30:47] local.INFO: TCP Data received {"connection_id":164605,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396f88f0012d80850005a3d7180007015f2d..."} 
[2026-08-25 20:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396f88f0012d80850005a3d7180007015f2d..."} 
[2026-08-25 20:30:47] local.INFO: Processing buffer {"connection_id":164605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396f88f0012d80850005a3d7180007015f2d..."} 
[2026-08-25 20:30:47] local.INFO: Packet analysis {"connection_id":164605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:30:47] local.INFO: Extracted packet for processing {"connection_id":164605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:30:47] local.INFO: GPS Element Parsed {"raw_longitude":763397376,"raw_latitude":94623512,"longitude_deg":76.3397376,"latitude_deg":9.4623512,"altitude":7,"angle":351,"satellites":45,"speed":50,"hex_longitude":"2d808500","hex_latitude":"05a3d718","is_valid_coordinates":true} 
[2026-08-25 20:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643519744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124239385100025856,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184035884638279680,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787670006000,"timestamp_ms":1787670006000,"timestamp_seconds":1787670006,"priority":1,"record_length":96,"hex_timestamp":"000001a0396f88f0"} 
[2026-08-25 20:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:30: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-25 20:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 20:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643519744001,"66":12330,"17":206,"85":14336,"24":50,"16":124239385100025856,"45":-9184035884638279680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 20:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643519744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:30:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124239385100025856,"km_value":124239385100025.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184035884638279680,"description":"Unknown IO ID 45"} 
[2026-08-25 20:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643519744001,"power":12330,"axis_x":206,"unknown_85":14336,"ignition":50,"odometer":null,"unknown_45":-9184035884638279680}} 
[2026-08-25 20:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":164605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:30:48] local.INFO: GPS data processed {"connection_id":164605,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:30:48] local.INFO: Acknowledgment sent {"connection_id":164605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:30:49] local.INFO: TCP Data received {"connection_id":162223,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:30:49] local.INFO: Processing buffer {"connection_id":162223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:30:49] local.INFO: IMEI packet received {"connection_id":162223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":162223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:30:50] local.INFO: TCP Data received {"connection_id":162223,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:30:50] local.INFO: Processing buffer {"connection_id":162223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:30:50] local.INFO: Packet analysis {"connection_id":162223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:30:50] local.INFO: Extracted packet for processing {"connection_id":162223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:30:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643438080001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787669981000,"timestamp_ms":1787669981000,"timestamp_seconds":1787669981,"priority":1,"record_length":96,"hex_timestamp":"000001a0396f2748"} 
[2026-08-25 20: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-25 20:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 20:30:50] 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-25 20: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-25 20: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-25 20:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:30: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-25 20:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643438080001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643438080001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:30:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643438080001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":162223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:30:50] local.INFO: GPS data processed {"connection_id":162223,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:30:50] local.INFO: Acknowledgment sent {"connection_id":162223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:30:51] local.INFO: TCP Data received {"connection_id":164605,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396fac18012d807bc005a3f9600007015b2f..."} 
[2026-08-25 20:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396fac18012d807bc005a3f9600007015b2f..."} 
[2026-08-25 20:30:51] local.INFO: Processing buffer {"connection_id":164605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396fac18012d807bc005a3f9600007015b2f..."} 
[2026-08-25 20:30:51] local.INFO: Packet analysis {"connection_id":164605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:30:51] local.INFO: Extracted packet for processing {"connection_id":164605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:30:51] local.INFO: GPS Element Parsed {"raw_longitude":763395008,"raw_latitude":94632288,"longitude_deg":76.3395008,"latitude_deg":9.4632288,"altitude":7,"angle":347,"satellites":47,"speed":38,"hex_longitude":"2d807bc0","hex_latitude":"05a3f960","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643521536001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124239827481657344,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185935840728639488,"note":"Value kept but may cause issues"} 
[2026-08-25 20:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787670015000,"timestamp_ms":1787670015000,"timestamp_seconds":1787670015,"priority":1,"record_length":96,"hex_timestamp":"000001a0396fac18"} 
[2026-08-25 20: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-25 20:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 20:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643521536001,"66":12461,"17":206,"85":14336,"24":38,"16":124239827481657344,"45":-9185935840728639488},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 20:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643521536001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:30:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124239827481657344,"km_value":124239827481657.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185935840728639488,"description":"Unknown IO ID 45"} 
[2026-08-25 20:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643521536001,"power":12461,"axis_x":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":-9185935840728639488}} 
[2026-08-25 20:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":164605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:30:51] local.INFO: GPS data processed {"connection_id":164605,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:30:51] local.INFO: Acknowledgment sent {"connection_id":164605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:30:52] local.INFO: TCP Data received {"connection_id":163217,"ip":"172.104.241.92","data_length":9,"data_hex":"0164656661756c740a..."} 
[2026-08-25 20:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163217,"packet_length":9,"packet_hex":"0164656661756c740a..."} 
[2026-08-25 20:30:52] local.INFO: Processing buffer {"connection_id":163217,"buffer_length":9,"buffer_hex":"0164656661756c740a..."} 
[2026-08-25 20:30:57] local.INFO: TCP Data received {"connection_id":162225,"ip":"172.104.241.92","data_length":51,"data_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-08-25 20:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162225,"packet_length":51,"packet_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-08-25 20:30:57] local.INFO: Processing buffer {"connection_id":162225,"buffer_length":51,"buffer_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-08-25 20:30:57] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162225,"buffer_length":51,"first_bytes_hex":"30840000002d02010763840000002404"} 
[2026-08-25 20:31:02] local.INFO: TCP Data received {"connection_id":163218,"ip":"172.104.241.92","data_length":14,"data_hex":"300c020101600702010204008000..."} 
[2026-08-25 20:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163218,"packet_length":14,"packet_hex":"300c020101600702010204008000..."} 
[2026-08-25 20:31:02] local.INFO: Processing buffer {"connection_id":163218,"buffer_length":14,"buffer_hex":"300c020101600702010204008000..."} 
[2026-08-25 20:31:07] local.INFO: TCP Data received {"connection_id":162226,"ip":"172.104.241.92","data_length":223,"data_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-08-25 20:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162226,"packet_length":223,"packet_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-08-25 20:31:07] local.INFO: Processing buffer {"connection_id":162226,"buffer_length":223,"buffer_hex":"4f5054494f4e53207369703a6e6d205349502f322e300d0a5669613a20534950..."} 
[2026-08-25 20:31:07] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162226,"buffer_length":223,"first_bytes_hex":"4f5054494f4e53207369703a6e6d2053"} 
[2026-08-25 20:31:15] local.INFO: TCP Data received {"connection_id":164606,"ip":"172.104.241.92","data_length":16,"data_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-08-25 20:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164606,"packet_length":16,"packet_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-08-25 20:31:15] local.INFO: Processing buffer {"connection_id":164606,"buffer_length":16,"buffer_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-08-25 20:31:15] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":164606,"buffer_length":16,"first_bytes_hex":"544e4d5004000000544e4d4500000400"} 
[2026-08-25 20:31:20] local.INFO: TCP Data received {"connection_id":161990,"ip":"172.104.241.92","data_length":11,"data_hex":"0300000b06e00000000000..."} 
[2026-08-25 20:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161990,"packet_length":11,"packet_hex":"0300000b06e00000000000..."} 
[2026-08-25 20:31:20] local.INFO: Processing buffer {"connection_id":161990,"buffer_length":11,"buffer_hex":"0300000b06e00000000000..."} 
[2026-08-25 20:31:21] local.INFO: TCP Data received {"connection_id":162223,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:31:21] local.INFO: Processing buffer {"connection_id":162223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:31:21] local.INFO: Packet analysis {"connection_id":162223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:31:21] local.INFO: Extracted packet for processing {"connection_id":162223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:31:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643438080001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787669981000,"timestamp_ms":1787669981000,"timestamp_seconds":1787669981,"priority":1,"record_length":96,"hex_timestamp":"000001a0396f2748"} 
[2026-08-25 20: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-25 20:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 20:31:21] 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-25 20: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-25 20: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-25 20:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:31: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-25 20:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643438080001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643438080001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:31:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643438080001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":162223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:31:21] local.INFO: GPS data processed {"connection_id":162223,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:31:21] local.INFO: Acknowledgment sent {"connection_id":162223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:31:22] local.INFO: TCP Data received {"connection_id":164605,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396fcf40012d80754005a41d800008015c2f..."} 
[2026-08-25 20:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396fcf40012d80754005a41d800008015c2f..."} 
[2026-08-25 20:31:22] local.INFO: Processing buffer {"connection_id":164605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396fcf40012d80754005a41d800008015c2f..."} 
[2026-08-25 20:31:22] local.INFO: Packet analysis {"connection_id":164605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:31:22] local.INFO: Extracted packet for processing {"connection_id":164605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763393344,"raw_latitude":94641536,"longitude_deg":76.3393344,"latitude_deg":9.4641536,"altitude":8,"angle":348,"satellites":47,"speed":42,"hex_longitude":"2d807540","hex_latitude":"05a41d80","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643523840001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124240282748190720,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188539484260966400,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787670024000,"timestamp_ms":1787670024000,"timestamp_seconds":1787670024,"priority":1,"record_length":96,"hex_timestamp":"000001a0396fcf40"} 
[2026-08-25 20: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-25 20:31: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-25 20: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-25 20:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643523840001,"66":12287,"17":206,"85":14336,"24":42,"16":124240282748190720,"45":-9188539484260966400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-25 20:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643523840001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:31:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124240282748190720,"km_value":124240282748190.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188539484260966400,"description":"Unknown IO ID 45"} 
[2026-08-25 20:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643523840001,"power":12287,"axis_x":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9188539484260966400}} 
[2026-08-25 20:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":164605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:31:22] local.INFO: GPS data processed {"connection_id":164605,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:31:22] local.INFO: Acknowledgment sent {"connection_id":164605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:31:25] local.INFO: TCP Data received {"connection_id":163219,"ip":"172.104.241.92","data_length":23,"data_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-08-25 20:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163219,"packet_length":23,"packet_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-08-25 20:31:25] local.INFO: Processing buffer {"connection_id":163219,"buffer_length":23,"buffer_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-08-25 20:31:25] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163219,"buffer_length":23,"first_bytes_hex":"446d6454000000170000000100000000"} 
[2026-08-25 20:31:30] local.INFO: TCP Data received {"connection_id":163220,"ip":"172.104.241.92","data_length":60,"data_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-08-25 20:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163220,"packet_length":60,"packet_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-08-25 20:31:30] local.INFO: Processing buffer {"connection_id":163220,"buffer_length":60,"buffer_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-08-25 20:31:30] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163220,"buffer_length":60,"first_bytes_hex":"3a0000002f00000002000040020f0001"} 
[2026-08-25 20:31:35] local.INFO: TCP Data received {"connection_id":163221,"ip":"172.104.241.92","data_length":7,"data_hex":"4a524d4900024b..."} 
[2026-08-25 20:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163221,"packet_length":7,"packet_hex":"4a524d4900024b..."} 
[2026-08-25 20:31:35] local.INFO: Processing buffer {"connection_id":163221,"buffer_length":7,"buffer_hex":"4a524d4900024b..."} 
[2026-08-25 20:31:39] local.INFO: TCP Data received {"connection_id":163222,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:31:39] local.INFO: Processing buffer {"connection_id":163222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:31:39] local.INFO: IMEI packet received {"connection_id":163222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":163222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:31:40] local.INFO: TCP Data received {"connection_id":161991,"ip":"172.104.241.92","data_length":175,"data_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-08-25 20:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161991,"packet_length":175,"packet_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-08-25 20:31:40] local.INFO: Processing buffer {"connection_id":161991,"buffer_length":175,"buffer_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-08-25 20:31:40] local.INFO: Found valid packet candidate {"position":24,"data_field_length":18,"total_length":30,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-08-25 20:31:40] local.INFO: Found valid Teltonika packet at position {"connection_id":161991,"packet_position":24,"bytes_removed":24} 
[2026-08-25 20:31:40] local.INFO: Packet analysis {"connection_id":161991,"data_field_length":18,"total_packet_length":30,"buffer_length":151,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-08-25 20:31:40] local.INFO: Extracted packet for processing {"connection_id":161991,"packet_length":30,"remaining_buffer_length":121,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-08-25 20:31:40] local.WARNING: Failed to parse Teltonika packet {"connection_id":161991,"packet_length":30} 
[2026-08-25 20:31:40] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":161991,"buffer_length":121,"first_bytes_hex":"0050006c0061007900650072002f0039"} 
[2026-08-25 20:31:44] local.INFO: TCP Data received {"connection_id":163222,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:31:44] local.INFO: Processing buffer {"connection_id":163222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:31:44] local.INFO: IMEI packet received {"connection_id":163222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":163222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:31:45] local.INFO: TCP Data received {"connection_id":163222,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:31:45] local.INFO: Processing buffer {"connection_id":163222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:31:45] local.INFO: Packet analysis {"connection_id":163222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:31:45] local.INFO: Extracted packet for processing {"connection_id":163222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643438080001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787669981000,"timestamp_ms":1787669981000,"timestamp_seconds":1787669981,"priority":1,"record_length":96,"hex_timestamp":"000001a0396f2748"} 
[2026-08-25 20:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 20:31:45] 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-25 20:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:31:45] 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-25 20:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643438080001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643438080001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643438080001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":163222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:31:45] local.INFO: GPS data processed {"connection_id":163222,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:31:45] local.INFO: Acknowledgment sent {"connection_id":163222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:31:45] local.INFO: TCP Data received {"connection_id":161992,"ip":"172.104.241.92","data_length":90,"data_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-08-25 20:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":90,"packet_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-08-25 20:31:45] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":90,"buffer_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-08-25 20:31:45] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":161992,"buffer_length":90,"first_bytes_hex":"005a0000010000000136012c00000800"} 
[2026-08-25 20:31:45] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:31:45] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:31:45] local.INFO: IMEI packet received {"connection_id":162227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":162227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:31:46] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:31:46] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:31:46] local.INFO: IMEI packet received {"connection_id":162227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":162227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:31:50] local.INFO: TCP Data received {"connection_id":162228,"ip":"172.104.241.92","data_length":52,"data_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-08-25 20:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162228,"packet_length":52,"packet_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-08-25 20:31:50] local.INFO: Processing buffer {"connection_id":162228,"buffer_length":52,"buffer_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-08-25 20:31:50] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162228,"buffer_length":52,"first_bytes_hex":"1201003400000000000015000601001b"} 
[2026-08-25 20:31:50] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:31:50] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:31:50] local.INFO: IMEI packet received {"connection_id":162227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":162227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:31:52] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0396ff268012d806e4005a442400008015e2e..."} 
[2026-08-25 20:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396ff268012d806e4005a442400008015e2e..."} 
[2026-08-25 20:31:52] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396ff268012d806e4005a442400008015e2e..."} 
[2026-08-25 20:31:52] local.INFO: Packet analysis {"connection_id":162227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:31:52] local.INFO: Extracted packet for processing {"connection_id":162227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:31:52] local.INFO: GPS Element Parsed {"raw_longitude":763391552,"raw_latitude":94650944,"longitude_deg":76.3391552,"latitude_deg":9.4650944,"altitude":8,"angle":350,"satellites":46,"speed":41,"hex_longitude":"2d806e40","hex_latitude":"05a44240","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643526144001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124240746604658688,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190369071607218176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 20:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787670033000,"timestamp_ms":1787670033000,"timestamp_seconds":1787670033,"priority":1,"record_length":96,"hex_timestamp":"000001a0396ff268"} 
[2026-08-25 20: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-25 20:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 20:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643526144001,"66":12135,"16":124240746604658688,"85":14336,"24":41,"45":-9190369071607218176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-08-25 20:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643526144001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124240746604658688,"km_value":124240746604658.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:31:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190369071607218176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:31:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457643526144001,"power":12135,"odometer":null,"unknown_85":14336,"ignition":41,"unknown_45":-9190369071607218176}} 
[2026-08-25 20:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":162227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:31:52] local.INFO: GPS data processed {"connection_id":162227,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:31:52] local.INFO: Acknowledgment sent {"connection_id":162227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:31:54] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039701978012d8069c005a466e00008015d2f..."} 
[2026-08-25 20:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039701978012d8069c005a466e00008015d2f..."} 
[2026-08-25 20:31:54] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039701978012d8069c005a466e00008015d2f..."} 
[2026-08-25 20:31:54] local.INFO: Packet analysis {"connection_id":162227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03970"} 
[2026-08-25 20:31:54] local.INFO: Extracted packet for processing {"connection_id":162227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03970"} 
[2026-08-25 20:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763390400,"raw_latitude":94660320,"longitude_deg":76.33904,"latitude_deg":9.466032,"altitude":8,"angle":349,"satellites":47,"speed":38,"hex_longitude":"2d8069c0","hex_latitude":"05a466e0","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643528448001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124241201871192064,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192339396441784320,"note":"Value kept but may cause issues"} 
[2026-08-25 20:31:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 20:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787670043000,"timestamp_ms":1787670043000,"timestamp_seconds":1787670043,"priority":1,"record_length":96,"hex_timestamp":"000001a039701978"} 
[2026-08-25 20: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-25 20:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-25 20:31:54] 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-25 20: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-25 20: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-25 20:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643528448001,"66":12232,"16":124241201871192064,"85":14336,"24":38,"45":-9192339396441784320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-08-25 20:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643528448001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124241201871192064,"km_value":124241201871192.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:31:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192339396441784320,"description":"Unknown IO ID 45"} 
[2026-08-25 20:31:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457643528448001,"power":12232,"odometer":null,"unknown_85":14336,"ignition":38,"unknown_45":-9192339396441784320}} 
[2026-08-25 20:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":162227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:31:54] local.INFO: GPS data processed {"connection_id":162227,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:31:54] local.INFO: Acknowledgment sent {"connection_id":162227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:31:55] local.INFO: TCP Data received {"connection_id":161993,"ip":"172.104.241.92","data_length":18,"data_hex":"000300010000000000000002000000000f00..."} 
[2026-08-25 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":18,"packet_hex":"000300010000000000000002000000000f00..."} 
[2026-08-25 20:31:55] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":18,"buffer_hex":"000300010000000000000002000000000f00..."} 
[2026-08-25 20:31:55] local.INFO: Found valid packet candidate {"position":4,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000000000f00"} 
[2026-08-25 20:31:55] local.INFO: Found valid Teltonika packet at position {"connection_id":161993,"packet_position":4,"bytes_removed":4} 
[2026-08-25 20:32:00] local.INFO: TCP Data received {"connection_id":164607,"ip":"172.104.241.92","data_length":48,"data_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-08-25 20:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164607,"packet_length":48,"packet_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-08-25 20:32:00] local.INFO: Processing buffer {"connection_id":164607,"buffer_length":48,"buffer_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-08-25 20:32:00] local.INFO: Found valid packet candidate {"position":9,"data_field_length":1,"total_length":13,"packet_hex_start":"00000000000000010000000100000006"} 
[2026-08-25 20:32:00] local.INFO: Found valid Teltonika packet at position {"connection_id":164607,"packet_position":9,"bytes_removed":9} 
[2026-08-25 20:32:00] local.INFO: Packet analysis {"connection_id":164607,"data_field_length":1,"total_packet_length":13,"buffer_length":39,"packet_hex_start":"00000000000000010000000100000006"} 
[2026-08-25 20:32:00] local.INFO: Extracted packet for processing {"connection_id":164607,"packet_length":13,"remaining_buffer_length":26,"packet_hex_start":"00000000000000010000000100"} 
[2026-08-25 20:32:00] local.WARNING: Failed to parse Teltonika packet {"connection_id":164607,"packet_length":13} 
[2026-08-25 20:32:00] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":164607,"buffer_length":26,"first_bytes_hex":"00000600000061626364656600000400"} 
[2026-08-25 20:32:05] local.INFO: TCP Data received {"connection_id":164608,"ip":"172.104.241.92","data_length":8,"data_hex":"414d515000000901..."} 
[2026-08-25 20:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164608,"packet_length":8,"packet_hex":"414d515000000901..."} 
[2026-08-25 20:32:05] local.INFO: Processing buffer {"connection_id":164608,"buffer_length":8,"buffer_hex":"414d515000000901..."} 
[2026-08-25 20:32:10] local.INFO: TCP Data received {"connection_id":164609,"ip":"172.104.241.92","data_length":32,"data_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-08-25 20:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164609,"packet_length":32,"packet_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-08-25 20:32:10] local.INFO: Processing buffer {"connection_id":164609,"buffer_length":32,"buffer_hex":"474554202f646576696365646573632e786d6c20485454502f312e310d0a0d0a..."} 
[2026-08-25 20:32:10] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":164609,"buffer_length":32,"first_bytes_hex":"474554202f646576696365646573632e"} 
[2026-08-25 20:32:15] local.INFO: TCP Data received {"connection_id":163223,"ip":"172.104.241.92","data_length":29,"data_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-08-25 20:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163223,"packet_length":29,"packet_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-08-25 20:32:15] local.INFO: Processing buffer {"connection_id":163223,"buffer_length":29,"buffer_hex":"434f4e4e4543540a6163636570742d76657273696f6e3a312e320a0a00..."} 
[2026-08-25 20:32:15] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163223,"buffer_length":29,"first_bytes_hex":"434f4e4e4543540a6163636570742d76"} 
[2026-08-25 20:32:17] local.INFO: TCP Data received {"connection_id":163222,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:32:17] local.INFO: Processing buffer {"connection_id":163222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:32:17] local.INFO: Packet analysis {"connection_id":163222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:32:17] local.INFO: Extracted packet for processing {"connection_id":163222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643438080001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:32:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787669981000,"timestamp_ms":1787669981000,"timestamp_seconds":1787669981,"priority":1,"record_length":96,"hex_timestamp":"000001a0396f2748"} 
[2026-08-25 20: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-25 20:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 20:32:17] 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-25 20: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-25 20: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-25 20:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643438080001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643438080001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643438080001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":163222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:32:17] local.INFO: GPS data processed {"connection_id":163222,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:32:17] local.INFO: Acknowledgment sent {"connection_id":163222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:32:20] local.INFO: TCP Data received {"connection_id":163224,"ip":"172.104.241.92","data_length":64,"data_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-08-25 20:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163224,"packet_length":64,"packet_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-08-25 20:32:20] local.INFO: Processing buffer {"connection_id":163224,"buffer_length":64,"buffer_hex":"a4000000000000000b0000000000000000000000000000000000000000000000..."} 
[2026-08-25 20:32:20] local.INFO: Found valid packet candidate {"position":1,"data_field_length":11,"total_length":23,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-08-25 20:32:20] local.INFO: Found valid Teltonika packet at position {"connection_id":163224,"packet_position":1,"bytes_removed":1} 
[2026-08-25 20:32:20] local.INFO: Packet analysis {"connection_id":163224,"data_field_length":11,"total_packet_length":23,"buffer_length":63,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-08-25 20:32:20] local.INFO: Extracted packet for processing {"connection_id":163224,"packet_length":23,"remaining_buffer_length":40,"packet_hex_start":"000000000000000b0000000000000000"} 
[2026-08-25 20:32:20] local.WARNING: Failed to parse Teltonika packet {"connection_id":163224,"packet_length":23} 
[2026-08-25 20:32:20] local.WARNING: Invalid data field length, searching for next valid packet {"connection_id":163224,"data_field_length":0,"buffer_length":40} 
[2026-08-25 20:32:20] local.INFO: Found valid packet candidate {"position":5,"data_field_length":8,"total_length":20,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-08-25 20:32:20] local.INFO: Packet analysis {"connection_id":163224,"data_field_length":8,"total_packet_length":20,"buffer_length":31,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-08-25 20:32:20] local.INFO: Extracted packet for processing {"connection_id":163224,"packet_length":20,"remaining_buffer_length":11,"packet_hex_start":"00000000000000080000000000000000"} 
[2026-08-25 20:32:20] local.WARNING: Failed to parse Teltonika packet {"connection_id":163224,"packet_length":20} 
[2026-08-25 20:32:25] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039704088012d8062c005a488d0000a01582d..."} 
[2026-08-25 20:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039704088012d8062c005a488d0000a01582d..."} 
[2026-08-25 20:32:25] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039704088012d8062c005a488d0000a01582d..."} 
[2026-08-25 20:32:25] local.INFO: Packet analysis {"connection_id":162227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03970"} 
[2026-08-25 20:32:25] local.INFO: Extracted packet for processing {"connection_id":162227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03970"} 
[2026-08-25 20:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763388608,"raw_latitude":94669008,"longitude_deg":76.3388608,"latitude_deg":9.4669008,"altitude":10,"angle":344,"satellites":45,"speed":34,"hex_longitude":"2d8062c0","hex_latitude":"05a488d0","is_valid_coordinates":true} 
[2026-08-25 20:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643531008001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124241635662888960,"note":"Value kept but may cause issues"} 
[2026-08-25 20:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193606033834582016,"note":"Value kept but may cause issues"} 
[2026-08-25 20:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787670053000,"timestamp_ms":1787670053000,"timestamp_seconds":1787670053,"priority":1,"record_length":96,"hex_timestamp":"000001a039704088"} 
[2026-08-25 20:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 20:32:25] 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-25 20:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643531008001,"66":12341,"53":206,"85":14336,"24":34,"16":124241635662888960,"45":-9193606033834582016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-25 20:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643531008001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:32:25] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 20:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124241635662888960,"km_value":124241635662888.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193606033834582016,"description":"Unknown IO ID 45"} 
[2026-08-25 20:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643531008001,"power":12341,"unknown_53":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":-9193606033834582016}} 
[2026-08-25 20:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":162227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:32:25] local.INFO: GPS data processed {"connection_id":162227,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:32:25] local.INFO: Acknowledgment sent {"connection_id":162227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:32:26] local.INFO: TCP Data received {"connection_id":163225,"ip":"172.104.241.92","data_length":4,"data_hex":"01000000..."} 
[2026-08-25 20:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163225,"packet_length":4,"packet_hex":"01000000..."} 
[2026-08-25 20:32:26] local.INFO: Processing buffer {"connection_id":163225,"buffer_length":4,"buffer_hex":"01000000..."} 
[2026-08-25 20:32:31] local.INFO: TCP Data received {"connection_id":162229,"ip":"172.104.241.92","data_length":24,"data_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-08-25 20:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162229,"packet_length":24,"packet_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-08-25 20:32:31] local.INFO: Processing buffer {"connection_id":162229,"buffer_length":24,"buffer_hex":"63000000000000000000000000000000c1debed100000000..."} 
[2026-08-25 20:32:31] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162229,"buffer_length":24,"first_bytes_hex":"63000000000000000000000000000000"} 
[2026-08-25 20:32:39] local.INFO: TCP Data received {"connection_id":161996,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:32:39] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:32:39] local.INFO: IMEI packet received {"connection_id":161996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":161996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:32:40] local.INFO: TCP Data received {"connection_id":161994,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:32:40] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:32:40] local.INFO: IMEI packet received {"connection_id":161994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":161994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:32:42] local.INFO: TCP Data received {"connection_id":161995,"ip":"172.104.241.92","data_length":110,"data_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-08-25 20:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161995,"packet_length":110,"packet_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-08-25 20:32:42] local.INFO: Processing buffer {"connection_id":161995,"buffer_length":110,"buffer_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-08-25 20:32:42] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":161995,"buffer_length":110,"first_bytes_hex":"1603000069010000650303551ca7e472"} 
[2026-08-25 20:32:44] local.INFO: TCP Data received {"connection_id":161996,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:32:44] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:32:44] local.INFO: IMEI packet received {"connection_id":161996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":161996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:32:44] local.INFO: TCP Data received {"connection_id":161994,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:32:44] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:32:44] local.INFO: IMEI packet received {"connection_id":161994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":161994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:32:45] local.INFO: TCP Data received {"connection_id":161994,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039705be0012d8059c005a49f40000b014b2d..."} 
[2026-08-25 20:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039705be0012d8059c005a49f40000b014b2d..."} 
[2026-08-25 20:32:45] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039705be0012d8059c005a49f40000b014b2d..."} 
[2026-08-25 20:32:45] local.INFO: Packet analysis {"connection_id":161994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03970"} 
[2026-08-25 20:32:45] local.INFO: Extracted packet for processing {"connection_id":161994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03970"} 
[2026-08-25 20:32:45] local.INFO: GPS Element Parsed {"raw_longitude":763386304,"raw_latitude":94674752,"longitude_deg":76.3386304,"latitude_deg":9.4674752,"altitude":11,"angle":331,"satellites":45,"speed":35,"hex_longitude":"2d8059c0","hex_latitude":"05a49f40","is_valid_coordinates":true} 
[2026-08-25 20:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643533568001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124241932015632384,"note":"Value kept but may cause issues"} 
[2026-08-25 20:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195576358669332480,"note":"Value kept but may cause issues"} 
[2026-08-25 20:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787670060000,"timestamp_ms":1787670060000,"timestamp_seconds":1787670060,"priority":1,"record_length":96,"hex_timestamp":"000001a039705be0"} 
[2026-08-25 20:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:32: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-25 20:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 20:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643533568001,"66":12189,"53":206,"85":14336,"24":35,"16":124241932015632384,"45":-9195576358669332480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-25 20:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643533568001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:32:45] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-25 20:32:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124241932015632384,"km_value":124241932015632.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195576358669332480,"description":"Unknown IO ID 45"} 
[2026-08-25 20:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643533568001,"power":12189,"unknown_53":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9195576358669332480}} 
[2026-08-25 20:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":161994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:32:45] local.INFO: GPS data processed {"connection_id":161994,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:32:45] local.INFO: Acknowledgment sent {"connection_id":161994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:32:45] local.INFO: TCP Data received {"connection_id":161996,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:32:45] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:32:45] local.INFO: Packet analysis {"connection_id":161996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:32:45] local.INFO: Extracted packet for processing {"connection_id":161996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643438080001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:32:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787669981000,"timestamp_ms":1787669981000,"timestamp_seconds":1787669981,"priority":1,"record_length":96,"hex_timestamp":"000001a0396f2748"} 
[2026-08-25 20:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 20:32:45] 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-25 20:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:32: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-25 20:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643438080001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643438080001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643438080001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":161996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:32:45] local.INFO: GPS data processed {"connection_id":161996,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:32:45] local.INFO: Acknowledgment sent {"connection_id":161996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:33:10] local.INFO: TCP Data received {"connection_id":164610,"ip":"172.104.241.92","data_length":44,"data_hex":"800000282ab7c1db0000000000000002000186a0000000020000000000000000..."} 
[2026-08-25 20:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164610,"packet_length":44,"packet_hex":"800000282ab7c1db0000000000000002000186a0000000020000000000000000..."} 
[2026-08-25 20:33:10] local.INFO: Processing buffer {"connection_id":164610,"buffer_length":44,"buffer_hex":"800000282ab7c1db0000000000000002000186a0000000020000000000000000..."} 
[2026-08-25 20:33:10] local.INFO: Found valid packet candidate {"position":8,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000186a000000002"} 
[2026-08-25 20:33:10] local.INFO: Found valid Teltonika packet at position {"connection_id":164610,"packet_position":8,"bytes_removed":8} 
[2026-08-25 20:33:10] local.INFO: Packet analysis {"connection_id":164610,"data_field_length":2,"total_packet_length":14,"buffer_length":36,"packet_hex_start":"0000000000000002000186a000000002"} 
[2026-08-25 20:33:10] local.INFO: Extracted packet for processing {"connection_id":164610,"packet_length":14,"remaining_buffer_length":22,"packet_hex_start":"0000000000000002000186a00000"} 
[2026-08-25 20:33:10] local.WARNING: Failed to parse Teltonika packet {"connection_id":164610,"packet_length":14} 
[2026-08-25 20:33:10] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":164610,"buffer_length":22,"first_bytes_hex":"00020000000000000000000000000000"} 
[2026-08-25 20:33:16] local.INFO: TCP Data received {"connection_id":161996,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:33:16] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:33:16] local.INFO: Packet analysis {"connection_id":161996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:33:16] local.INFO: Extracted packet for processing {"connection_id":161996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643438080001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:33:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787669981000,"timestamp_ms":1787669981000,"timestamp_seconds":1787669981,"priority":1,"record_length":96,"hex_timestamp":"000001a0396f2748"} 
[2026-08-25 20:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 20:33:16] 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-25 20:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643438080001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643438080001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643438080001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":161996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:33:16] local.INFO: GPS data processed {"connection_id":161996,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:33:16] local.INFO: Acknowledgment sent {"connection_id":161996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:33:16] local.INFO: TCP Data received {"connection_id":161994,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039720d78012d7f2c4005a58dd8001001272f..."} 
[2026-08-25 20:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039720d78012d7f2c4005a58dd8001001272f..."} 
[2026-08-25 20:33:16] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039720d78012d7f2c4005a58dd8001001272f..."} 
[2026-08-25 20:33:16] local.INFO: Packet analysis {"connection_id":161994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03972"} 
[2026-08-25 20:33:16] local.INFO: Extracted packet for processing {"connection_id":161994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03972"} 
[2026-08-25 20:33:16] local.INFO: GPS Element Parsed {"raw_longitude":763309120,"raw_latitude":94735832,"longitude_deg":76.330912,"latitude_deg":9.4735832,"altitude":16,"angle":295,"satellites":47,"speed":48,"hex_longitude":"2d7f2c40","hex_latitude":"05a58dd8","is_valid_coordinates":true} 
[2026-08-25 20:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643561728001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124246802508546048,"note":"Value kept but may cause issues"} 
[2026-08-25 20:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173410252739997696,"note":"Value kept but may cause issues"} 
[2026-08-25 20:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787670171000,"timestamp_ms":1787670171000,"timestamp_seconds":1787670171,"priority":1,"record_length":96,"hex_timestamp":"000001a039720d78"} 
[2026-08-25 20:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 20:33:16] 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-25 20:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643561728001,"66":12178,"54":206,"85":14336,"24":48,"16":124246802508546048,"45":9173410252739997696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-08-25 20:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643561728001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:33:16] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-25 20:33:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124246802508546048,"km_value":124246802508546.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173410252739997696,"description":"Unknown IO ID 45"} 
[2026-08-25 20:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643561728001,"power":12178,"unknown_54":206,"unknown_85":14336,"ignition":48,"odometer":null,"unknown_45":9173410252739997696}} 
[2026-08-25 20:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":161994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:33:17] local.INFO: GPS data processed {"connection_id":161994,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:33:17] local.INFO: Acknowledgment sent {"connection_id":161994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:33:34] local.INFO: TCP Data received {"connection_id":163227,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:33:34] local.INFO: Processing buffer {"connection_id":163227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:33:34] local.INFO: IMEI packet received {"connection_id":163227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 20:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":163227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:33:39] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:33:39] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:33:39] local.INFO: IMEI packet received {"connection_id":161998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":161998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:33:41] local.INFO: TCP Data received {"connection_id":161997,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:33:41] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:33:41] local.INFO: IMEI packet received {"connection_id":161997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":161997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:33:44] local.INFO: TCP Data received {"connection_id":161997,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:33:44] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:33:44] local.INFO: IMEI packet received {"connection_id":161997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":161997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:33:45] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:33:45] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:33:45] local.INFO: IMEI packet received {"connection_id":161998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":161998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:33:45] local.INFO: TCP Data received {"connection_id":161997,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039722cb8012d7f094005a59dd0001101272f..."} 
[2026-08-25 20:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039722cb8012d7f094005a59dd0001101272f..."} 
[2026-08-25 20:33:45] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039722cb8012d7f094005a59dd0001101272f..."} 
[2026-08-25 20:33:45] local.INFO: Packet analysis {"connection_id":161997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03972"} 
[2026-08-25 20:33:45] local.INFO: Extracted packet for processing {"connection_id":161997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03972"} 
[2026-08-25 20:33:45] local.INFO: GPS Element Parsed {"raw_longitude":763300160,"raw_latitude":94739920,"longitude_deg":76.330016,"latitude_deg":9.473992,"altitude":17,"angle":295,"satellites":47,"speed":45,"hex_longitude":"2d7f0940","hex_latitude":"05a59dd0","is_valid_coordinates":true} 
[2026-08-25 20:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643563776001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124247274954948608,"note":"Value kept but may cause issues"} 
[2026-08-25 20:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163769734788667392,"note":"Value kept but may cause issues"} 
[2026-08-25 20:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787670179000,"timestamp_ms":1787670179000,"timestamp_seconds":1787670179,"priority":1,"record_length":96,"hex_timestamp":"000001a039722cb8"} 
[2026-08-25 20:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-25 20:33:45] 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-25 20:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643563776001,"66":12156,"54":206,"85":14336,"24":45,"16":124247274954948608,"45":9163769734788667392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-08-25 20:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643563776001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:33:45] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-25 20:33:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124247274954948608,"km_value":124247274954948.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163769734788667392,"description":"Unknown IO ID 45"} 
[2026-08-25 20:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643563776001,"power":12156,"unknown_54":206,"unknown_85":14336,"ignition":45,"odometer":null,"unknown_45":9163769734788667392}} 
[2026-08-25 20:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":161997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:33:45] local.INFO: GPS data processed {"connection_id":161997,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:33:45] local.INFO: Acknowledgment sent {"connection_id":161997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:33:46] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:33:46] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:33:46] local.INFO: Packet analysis {"connection_id":161998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:33:46] local.INFO: Extracted packet for processing {"connection_id":161998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643438080001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:33:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787669981000,"timestamp_ms":1787669981000,"timestamp_seconds":1787669981,"priority":1,"record_length":96,"hex_timestamp":"000001a0396f2748"} 
[2026-08-25 20:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 20:33:46] 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-25 20:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:33:46] 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-25 20:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643438080001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643438080001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643438080001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":161998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:33:46] local.INFO: GPS data processed {"connection_id":161998,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:33:46] local.INFO: Acknowledgment sent {"connection_id":161998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:34:18] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:34:18] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:34:18] local.INFO: Packet analysis {"connection_id":161998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:34:18] local.INFO: Extracted packet for processing {"connection_id":161998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643438080001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787669981000,"timestamp_ms":1787669981000,"timestamp_seconds":1787669981,"priority":1,"record_length":96,"hex_timestamp":"000001a0396f2748"} 
[2026-08-25 20:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 20:34:18] 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-25 20:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:34:18] 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-25 20:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643438080001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643438080001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643438080001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":161998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:34:18] local.INFO: GPS data processed {"connection_id":161998,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:34:18] local.INFO: Acknowledgment sent {"connection_id":161998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:34:21] local.INFO: TCP Data received {"connection_id":161997,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039724fe0012d7ee70005a5ae90001101282f..."} 
[2026-08-25 20:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039724fe0012d7ee70005a5ae90001101282f..."} 
[2026-08-25 20:34:21] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039724fe0012d7ee70005a5ae90001101282f..."} 
[2026-08-25 20:34:21] local.INFO: Packet analysis {"connection_id":161997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03972"} 
[2026-08-25 20:34:21] local.INFO: Extracted packet for processing {"connection_id":161997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03972"} 
[2026-08-25 20:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763291392,"raw_latitude":94744208,"longitude_deg":76.3291392,"latitude_deg":9.4744208,"altitude":17,"angle":296,"satellites":47,"speed":43,"hex_longitude":"2d7ee700","hex_latitude":"05a5ae90","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643565824001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124247743106383872,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153918110604840960,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787670188000,"timestamp_ms":1787670188000,"timestamp_seconds":1787670188,"priority":1,"record_length":96,"hex_timestamp":"000001a039724fe0"} 
[2026-08-25 20: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-25 20:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 20:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643565824001,"66":12287,"54":206,"85":14336,"24":43,"16":124247743106383872,"45":9153918110604840960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-08-25 20:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643565824001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:34:21] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-25 20:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124247743106383872,"km_value":124247743106383.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153918110604840960,"description":"Unknown IO ID 45"} 
[2026-08-25 20:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643565824001,"power":12287,"unknown_54":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":9153918110604840960}} 
[2026-08-25 20:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":161997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:34:22] local.INFO: GPS data processed {"connection_id":161997,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:34:22] local.INFO: Acknowledgment sent {"connection_id":161997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:34:39] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:34:39] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:34:39] local.INFO: IMEI packet received {"connection_id":161999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":161999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:34:40] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:34:40] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:34:40] local.INFO: IMEI packet received {"connection_id":161999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":161999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:34:44] local.INFO: TCP Data received {"connection_id":162230,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:34:44] local.INFO: Processing buffer {"connection_id":162230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:34:44] local.INFO: IMEI packet received {"connection_id":162230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":162230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:34:46] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:34:46] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:34:46] local.INFO: IMEI packet received {"connection_id":161999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":161999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:34:47] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039727308012d7ec74005a5be88001001282e..."} 
[2026-08-25 20:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039727308012d7ec74005a5be88001001282e..."} 
[2026-08-25 20:34:47] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039727308012d7ec74005a5be88001001282e..."} 
[2026-08-25 20:34:47] local.INFO: Packet analysis {"connection_id":161999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03972"} 
[2026-08-25 20:34:47] local.INFO: Extracted packet for processing {"connection_id":161999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03972"} 
[2026-08-25 20:34:47] local.INFO: GPS Element Parsed {"raw_longitude":763283264,"raw_latitude":94748296,"longitude_deg":76.3283264,"latitude_deg":9.4748296,"altitude":16,"angle":296,"satellites":46,"speed":40,"hex_longitude":"2d7ec740","hex_latitude":"05a5be88","is_valid_coordinates":true} 
[2026-08-25 20:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643568128001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124248176898080768,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9144277592653598720,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787670197000,"timestamp_ms":1787670197000,"timestamp_seconds":1787670197,"priority":1,"record_length":96,"hex_timestamp":"000001a039727308"} 
[2026-08-25 20:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 20:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643568128001,"66":12156,"32":206,"85":14336,"24":40,"16":124248176898080768,"45":9144277592653598720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-25 20:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643568128001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:34:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-25 20:34:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124248176898080768,"km_value":124248176898080.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9144277592653598720,"description":"Unknown IO ID 45"} 
[2026-08-25 20:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643568128001,"power":12156,"unknown_32":206,"unknown_85":14336,"ignition":40,"odometer":null,"unknown_45":9144277592653598720}} 
[2026-08-25 20:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":161999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:34:47] local.INFO: GPS data processed {"connection_id":161999,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:34:47] local.INFO: Acknowledgment sent {"connection_id":161999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:34:49] local.INFO: TCP Data received {"connection_id":162230,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:34:49] local.INFO: Processing buffer {"connection_id":162230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:34:49] local.INFO: IMEI packet received {"connection_id":162230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":162230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:34:50] local.INFO: TCP Data received {"connection_id":162230,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:34:50] local.INFO: Processing buffer {"connection_id":162230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:34:50] local.INFO: Packet analysis {"connection_id":162230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:34:50] local.INFO: Extracted packet for processing {"connection_id":162230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:34:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643438080001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787669981000,"timestamp_ms":1787669981000,"timestamp_seconds":1787669981,"priority":1,"record_length":96,"hex_timestamp":"000001a0396f2748"} 
[2026-08-25 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-25 20:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 20:34:50] 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-25 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-25 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-25 20:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:34: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-25 20:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643438080001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643438080001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:34:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643438080001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":162230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:34:50] local.INFO: GPS data processed {"connection_id":162230,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:34:50] local.INFO: Acknowledgment sent {"connection_id":162230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:34:55] local.INFO: TCP Data received {"connection_id":162230,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:34:55] local.INFO: Processing buffer {"connection_id":162230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0396f2748012d34c14006aa4818000700e630..."} 
[2026-08-25 20:34:55] local.INFO: Packet analysis {"connection_id":162230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:34:55] local.INFO: Extracted packet for processing {"connection_id":162230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0396f"} 
[2026-08-25 20:34:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643438080001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787669981000,"timestamp_ms":1787669981000,"timestamp_seconds":1787669981,"priority":1,"record_length":96,"hex_timestamp":"000001a0396f2748"} 
[2026-08-25 20: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-25 20:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 20:34:55] 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-25 20: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-25 20: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-25 20:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:34:55] 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-25 20:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643438080001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643438080001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:34:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643438080001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":162230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:34:55] local.INFO: GPS data processed {"connection_id":162230,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:34:55] local.INFO: Acknowledgment sent {"connection_id":162230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:35:18] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03973f1d8012d7db88005a6c368001401582e..."} 
[2026-08-25 20:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03973f1d8012d7db88005a6c368001401582e..."} 
[2026-08-25 20:35:18] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03973f1d8012d7db88005a6c368001401582e..."} 
[2026-08-25 20:35:18] local.INFO: Packet analysis {"connection_id":161999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:35:18] local.INFO: Extracted packet for processing {"connection_id":161999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:35:18] local.INFO: GPS Element Parsed {"raw_longitude":763213952,"raw_latitude":94815080,"longitude_deg":76.3213952,"latitude_deg":9.481508,"altitude":20,"angle":344,"satellites":46,"speed":45,"hex_longitude":"2d7db880","hex_latitude":"05a6c368","is_valid_coordinates":true} 
[2026-08-25 20:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643593472001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124253034506092544,"note":"Value kept but may cause issues"} 
[2026-08-25 20:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061875793237440512,"note":"Value kept but may cause issues"} 
[2026-08-25 20:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787670295000,"timestamp_ms":1787670295000,"timestamp_seconds":1787670295,"priority":1,"record_length":96,"hex_timestamp":"000001a03973f1d8"} 
[2026-08-25 20:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:35: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-25 20:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 20:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643593472001,"66":12287,"34":206,"85":14336,"24":45,"16":124253034506092544,"45":9061875793237440512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-08-25 20:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643593472001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:35:18] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-25 20:35:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124253034506092544,"km_value":124253034506092.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061875793237440512,"description":"Unknown IO ID 45"} 
[2026-08-25 20:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643593472001,"power":12287,"unknown_34":206,"unknown_85":14336,"ignition":45,"odometer":null,"unknown_45":9061875793237440512}} 
[2026-08-25 20:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":161999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:35:18] local.INFO: GPS data processed {"connection_id":161999,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:35:18] local.INFO: Acknowledgment sent {"connection_id":161999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:35:39] local.INFO: TCP Data received {"connection_id":164611,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:35:39] local.INFO: Processing buffer {"connection_id":164611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:35:39] local.INFO: IMEI packet received {"connection_id":164611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":164611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:35:40] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:35:40] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:35:40] local.INFO: IMEI packet received {"connection_id":163228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":163228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:35:44] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:35:44] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:35:44] local.INFO: IMEI packet received {"connection_id":163228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":163228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:35:44] local.INFO: TCP Data received {"connection_id":164611,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:35:44] local.INFO: Processing buffer {"connection_id":164611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:35:44] local.INFO: IMEI packet received {"connection_id":164611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":164611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:35:45] local.INFO: TCP Data received {"connection_id":164611,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:35:45] local.INFO: Processing buffer {"connection_id":164611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:35:45] local.INFO: Packet analysis {"connection_id":164611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:35:45] local.INFO: Extracted packet for processing {"connection_id":164611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:35: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-25 20:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643515136001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:35:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787670282000,"timestamp_ms":1787670282000,"timestamp_seconds":1787670282,"priority":1,"record_length":96,"hex_timestamp":"000001a03973bf10"} 
[2026-08-25 20:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 20:35:45] 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-25 20:35: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-25 20:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:35: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-25 20:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643515136001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643515136001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:35:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643515136001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":164611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:35:45] local.INFO: GPS data processed {"connection_id":164611,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:35:45] local.INFO: Acknowledgment sent {"connection_id":164611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:35:45] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:35:45] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:35:45] local.INFO: IMEI packet received {"connection_id":163228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":163228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:35:46] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039741118012d7daf4005a6e668001401592f..."} 
[2026-08-25 20:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039741118012d7daf4005a6e668001401592f..."} 
[2026-08-25 20:35:46] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039741118012d7daf4005a6e668001401592f..."} 
[2026-08-25 20:35:46] local.INFO: Packet analysis {"connection_id":163228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03974"} 
[2026-08-25 20:35:46] local.INFO: Extracted packet for processing {"connection_id":163228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03974"} 
[2026-08-25 20:35:46] local.INFO: GPS Element Parsed {"raw_longitude":763211584,"raw_latitude":94824040,"longitude_deg":76.3211584,"latitude_deg":9.482404,"altitude":20,"angle":345,"satellites":47,"speed":46,"hex_longitude":"2d7daf40","hex_latitude":"05a6e668","is_valid_coordinates":true} 
[2026-08-25 20:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643595520001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124253481182691328,"note":"Value kept but may cause issues"} 
[2026-08-25 20:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059131412216768512,"note":"Value kept but may cause issues"} 
[2026-08-25 20:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787670303000,"timestamp_ms":1787670303000,"timestamp_seconds":1787670303,"priority":1,"record_length":96,"hex_timestamp":"000001a039741118"} 
[2026-08-25 20:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:35: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-25 20:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 20:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643595520001,"66":12330,"165":206,"85":14336,"24":46,"16":124253481182691328,"45":9059131412216768512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-25 20:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643595520001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:35:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-25 20:35:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124253481182691328,"km_value":124253481182691.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059131412216768512,"description":"Unknown IO ID 45"} 
[2026-08-25 20:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643595520001,"power":12330,"unknown_165":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":9059131412216768512}} 
[2026-08-25 20:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":163228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:35:46] local.INFO: GPS data processed {"connection_id":163228,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:35:46] local.INFO: Acknowledgment sent {"connection_id":163228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:35:51] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039743058012d7da4c005a70c68001301572f..."} 
[2026-08-25 20:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039743058012d7da4c005a70c68001301572f..."} 
[2026-08-25 20:35:51] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039743058012d7da4c005a70c68001301572f..."} 
[2026-08-25 20:35:51] local.INFO: Packet analysis {"connection_id":163228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03974"} 
[2026-08-25 20:35:51] local.INFO: Extracted packet for processing {"connection_id":163228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03974"} 
[2026-08-25 20:35:51] local.INFO: GPS Element Parsed {"raw_longitude":763208896,"raw_latitude":94833768,"longitude_deg":76.3208896,"latitude_deg":9.4833768,"altitude":19,"angle":343,"satellites":47,"speed":54,"hex_longitude":"2d7da4c0","hex_latitude":"05a70c68","is_valid_coordinates":true} 
[2026-08-25 20:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643597568001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124253970808963072,"note":"Value kept but may cause issues"} 
[2026-08-25 20:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9056527768684488704,"note":"Value kept but may cause issues"} 
[2026-08-25 20:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787670311000,"timestamp_ms":1787670311000,"timestamp_seconds":1787670311,"priority":1,"record_length":96,"hex_timestamp":"000001a039743058"} 
[2026-08-25 20:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 20:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643597568001,"66":12287,"165":206,"85":14336,"24":54,"16":124253970808963072,"45":9056527768684488704},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-25 20:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643597568001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:35:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-25 20:35:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124253970808963072,"km_value":124253970808963.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9056527768684488704,"description":"Unknown IO ID 45"} 
[2026-08-25 20:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643597568001,"power":12287,"unknown_165":206,"unknown_85":14336,"ignition":54,"odometer":null,"unknown_45":9056527768684488704}} 
[2026-08-25 20:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":163228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:35:51] local.INFO: GPS data processed {"connection_id":163228,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:35:51] local.INFO: Acknowledgment sent {"connection_id":163228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:36:16] local.INFO: TCP Data received {"connection_id":164611,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:36:16] local.INFO: Processing buffer {"connection_id":164611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:36:16] local.INFO: Packet analysis {"connection_id":164611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:36:16] local.INFO: Extracted packet for processing {"connection_id":164611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643515136001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:36:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787670282000,"timestamp_ms":1787670282000,"timestamp_seconds":1787670282,"priority":1,"record_length":96,"hex_timestamp":"000001a03973bf10"} 
[2026-08-25 20:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 20:36:16] 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-25 20:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643515136001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643515136001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643515136001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":164611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:36:16] local.INFO: GPS data processed {"connection_id":164611,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:36:16] local.INFO: Acknowledgment sent {"connection_id":164611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:36:22] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039744bb0012d7d9a4005a732f0001201592f..."} 
[2026-08-25 20:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039744bb0012d7d9a4005a732f0001201592f..."} 
[2026-08-25 20:36:22] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039744bb0012d7d9a4005a732f0001201592f..."} 
[2026-08-25 20:36:22] local.INFO: Packet analysis {"connection_id":163228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03974"} 
[2026-08-25 20:36:22] local.INFO: Extracted packet for processing {"connection_id":163228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03974"} 
[2026-08-25 20:36:22] local.INFO: GPS Element Parsed {"raw_longitude":763206208,"raw_latitude":94843632,"longitude_deg":76.3206208,"latitude_deg":9.4843632,"altitude":18,"angle":345,"satellites":47,"speed":60,"hex_longitude":"2d7d9a40","hex_latitude":"05a732f0","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643599616001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124254469025169408,"note":"Value kept but may cause issues"} 
[2026-08-25 20:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053572281431517184,"note":"Value kept but may cause issues"} 
[2026-08-25 20:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787670318000,"timestamp_ms":1787670318000,"timestamp_seconds":1787670318,"priority":1,"record_length":96,"hex_timestamp":"000001a039744bb0"} 
[2026-08-25 20: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-25 20:36: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-25 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 20:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643599616001,"66":12298,"165":206,"85":14336,"24":60,"16":124254469025169408,"45":9053572281431517184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-25 20:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643599616001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:36:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-25 20:36:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124254469025169408,"km_value":124254469025169.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053572281431517184,"description":"Unknown IO ID 45"} 
[2026-08-25 20:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643599616001,"power":12298,"unknown_165":206,"unknown_85":14336,"ignition":60,"odometer":null,"unknown_45":9053572281431517184}} 
[2026-08-25 20:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":163228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:36:22] local.INFO: GPS data processed {"connection_id":163228,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:36:22] local.INFO: Acknowledgment sent {"connection_id":163228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:36:39] local.INFO: TCP Data received {"connection_id":162231,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:36:39] local.INFO: Processing buffer {"connection_id":162231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:36:39] local.INFO: IMEI packet received {"connection_id":162231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":162231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:36:39] local.INFO: TCP Data received {"connection_id":163229,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:36:39] local.INFO: Processing buffer {"connection_id":163229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:36:39] local.INFO: IMEI packet received {"connection_id":163229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":163229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:36:40] local.INFO: TCP Data received {"connection_id":163229,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:36:40] local.INFO: Processing buffer {"connection_id":163229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:36:40] local.INFO: IMEI packet received {"connection_id":163229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":163229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:36:44] local.INFO: TCP Data received {"connection_id":162231,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:36:44] local.INFO: Processing buffer {"connection_id":162231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:36:44] local.INFO: IMEI packet received {"connection_id":162231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":162231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:36:45] local.INFO: TCP Data received {"connection_id":162231,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:36:45] local.INFO: Processing buffer {"connection_id":162231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:36:45] local.INFO: Packet analysis {"connection_id":162231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:36:45] local.INFO: Extracted packet for processing {"connection_id":162231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643515136001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:36:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787670282000,"timestamp_ms":1787670282000,"timestamp_seconds":1787670282,"priority":1,"record_length":96,"hex_timestamp":"000001a03973bf10"} 
[2026-08-25 20:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 20:36:45] 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-25 20:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:36: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-25 20:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643515136001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643515136001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643515136001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":162231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:36:45] local.INFO: GPS data processed {"connection_id":162231,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:36:45] local.INFO: Acknowledgment sent {"connection_id":162231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:36:45] local.INFO: TCP Data received {"connection_id":163229,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:36:45] local.INFO: Processing buffer {"connection_id":163229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:36:45] local.INFO: IMEI packet received {"connection_id":163229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":163229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:36:46] local.INFO: TCP Data received {"connection_id":163229,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039755168012d7d42c005a8b6900013015c2d..."} 
[2026-08-25 20:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039755168012d7d42c005a8b6900013015c2d..."} 
[2026-08-25 20:36:46] local.INFO: Processing buffer {"connection_id":163229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039755168012d7d42c005a8b6900013015c2d..."} 
[2026-08-25 20:36:46] local.INFO: Packet analysis {"connection_id":163229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03975"} 
[2026-08-25 20:36:46] local.INFO: Extracted packet for processing {"connection_id":163229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03975"} 
[2026-08-25 20:36:46] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":94942864,"longitude_deg":76.3183808,"latitude_deg":9.4942864,"altitude":19,"angle":348,"satellites":45,"speed":56,"hex_longitude":"2d7d42c0","hex_latitude":"05a8b690","is_valid_coordinates":true} 
[2026-08-25 20:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643616768001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124259395352657920,"note":"Value kept but may cause issues"} 
[2026-08-25 20:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169164808839168,"note":"Value kept but may cause issues"} 
[2026-08-25 20:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787670385000,"timestamp_ms":1787670385000,"timestamp_seconds":1787670385,"priority":1,"record_length":96,"hex_timestamp":"000001a039755168"} 
[2026-08-25 20:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:36: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-25 20:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-25 20:36:46] 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-25 20:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643616768001,"66":12200,"166":206,"85":14336,"24":56,"16":124259395352657920,"45":9028169164808839168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-25 20:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643616768001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:36:46] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-25 20:36:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124259395352657920,"km_value":124259395352657.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169164808839168,"description":"Unknown IO ID 45"} 
[2026-08-25 20:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643616768001,"power":12200,"unknown_166":206,"unknown_85":14336,"ignition":56,"odometer":null,"unknown_45":9028169164808839168}} 
[2026-08-25 20:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":163229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:36:46] local.INFO: GPS data processed {"connection_id":163229,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:36:46] local.INFO: Acknowledgment sent {"connection_id":163229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:37:17] local.INFO: TCP Data received {"connection_id":162231,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:37:17] local.INFO: Processing buffer {"connection_id":162231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:37:17] local.INFO: Packet analysis {"connection_id":162231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:37:17] local.INFO: Extracted packet for processing {"connection_id":162231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643515136001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:37:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787670282000,"timestamp_ms":1787670282000,"timestamp_seconds":1787670282,"priority":1,"record_length":96,"hex_timestamp":"000001a03973bf10"} 
[2026-08-25 20: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-25 20:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 20:37:17] 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-25 20: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-25 20: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-25 20:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643515136001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643515136001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643515136001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":162231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:37:17] local.INFO: GPS data processed {"connection_id":162231,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:37:17] local.INFO: Acknowledgment sent {"connection_id":162231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:37:39] local.INFO: TCP Data received {"connection_id":163230,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:37:39] local.INFO: Processing buffer {"connection_id":163230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:37:39] local.INFO: IMEI packet received {"connection_id":163230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":163230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:37:40] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:37:40] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:37:40] local.INFO: IMEI packet received {"connection_id":162000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":162000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:37:43] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:37:43] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:37:43] local.INFO: IMEI packet received {"connection_id":162000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":162000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:37:44] local.INFO: TCP Data received {"connection_id":163230,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:37:44] local.INFO: Processing buffer {"connection_id":163230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:37:44] local.INFO: IMEI packet received {"connection_id":163230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":163230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:37:45] local.INFO: TCP Data received {"connection_id":163230,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:37:45] local.INFO: Processing buffer {"connection_id":163230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:37:45] local.INFO: Packet analysis {"connection_id":163230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:37:45] local.INFO: Extracted packet for processing {"connection_id":163230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643515136001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:37:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787670282000,"timestamp_ms":1787670282000,"timestamp_seconds":1787670282,"priority":1,"record_length":96,"hex_timestamp":"000001a03973bf10"} 
[2026-08-25 20: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-25 20:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 20:37:45] 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-25 20: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-25 20: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-25 20:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:37: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-25 20:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643515136001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643515136001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643515136001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":163230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:37:45] local.INFO: GPS data processed {"connection_id":163230,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:37:45] local.INFO: Acknowledgment sent {"connection_id":163230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:37:45] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:37:45] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:37:45] local.INFO: IMEI packet received {"connection_id":162000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":162000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:37:46] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039756cc0012d7d3b0005a8de280013015c2e..."} 
[2026-08-25 20:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039756cc0012d7d3b0005a8de280013015c2e..."} 
[2026-08-25 20:37:46] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039756cc0012d7d3b0005a8de280013015c2e..."} 
[2026-08-25 20:37:46] local.INFO: Packet analysis {"connection_id":162000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03975"} 
[2026-08-25 20:37:46] local.INFO: Extracted packet for processing {"connection_id":162000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03975"} 
[2026-08-25 20:37:46] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":94953000,"longitude_deg":76.3181824,"latitude_deg":9.4953,"altitude":19,"angle":348,"satellites":46,"speed":60,"hex_longitude":"2d7d3b00","hex_latitude":"05a8de28","is_valid_coordinates":true} 
[2026-08-25 20:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643618560001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124259897863831552,"note":"Value kept but may cause issues"} 
[2026-08-25 20:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025987733741801472,"note":"Value kept but may cause issues"} 
[2026-08-25 20:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787670392000,"timestamp_ms":1787670392000,"timestamp_seconds":1787670392,"priority":1,"record_length":96,"hex_timestamp":"000001a039756cc0"} 
[2026-08-25 20:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:37: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-25 20:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-25 20:37:46] 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-25 20:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643618560001,"66":12330,"63":206,"85":14336,"24":60,"16":124259897863831552,"45":9025987733741801472},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-25 20:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643618560001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:37:46] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-25 20:37:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124259897863831552,"km_value":124259897863831.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025987733741801472,"description":"Unknown IO ID 45"} 
[2026-08-25 20:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643618560001,"power":12330,"unknown_63":206,"unknown_85":14336,"ignition":60,"odometer":null,"unknown_45":9025987733741801472}} 
[2026-08-25 20:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":162000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:37:46] local.INFO: GPS data processed {"connection_id":162000,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:37:46] local.INFO: Acknowledgment sent {"connection_id":162000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:38:17] local.INFO: TCP Data received {"connection_id":163230,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:38:17] local.INFO: Processing buffer {"connection_id":163230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:38:17] local.INFO: Packet analysis {"connection_id":163230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:38:17] local.INFO: Extracted packet for processing {"connection_id":163230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643515136001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:38:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787670282000,"timestamp_ms":1787670282000,"timestamp_seconds":1787670282,"priority":1,"record_length":96,"hex_timestamp":"000001a03973bf10"} 
[2026-08-25 20:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 20:38:17] 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-25 20:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643515136001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643515136001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643515136001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":163230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:38:17] local.INFO: GPS data processed {"connection_id":163230,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:38:17] local.INFO: Acknowledgment sent {"connection_id":163230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:38:17] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03976a158012d7db68005aa36000010002129..."} 
[2026-08-25 20:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03976a158012d7db68005aa36000010002129..."} 
[2026-08-25 20:38:17] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03976a158012d7db68005aa36000010002129..."} 
[2026-08-25 20:38:17] local.INFO: Packet analysis {"connection_id":162000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03976"} 
[2026-08-25 20:38:17] local.INFO: Extracted packet for processing {"connection_id":162000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03976"} 
[2026-08-25 20:38:17] local.INFO: GPS Element Parsed {"raw_longitude":763213440,"raw_latitude":95041024,"longitude_deg":76.321344,"latitude_deg":9.5041024,"altitude":16,"angle":33,"satellites":41,"speed":42,"hex_longitude":"2d7db680","hex_latitude":"05aa3600","is_valid_coordinates":true} 
[2026-08-25 20:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643638016001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124264648097660928,"note":"Value kept but may cause issues"} 
[2026-08-25 20:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9052798225296486400,"note":"Value kept but may cause issues"} 
[2026-08-25 20:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787670471000,"timestamp_ms":1787670471000,"timestamp_seconds":1787670471,"priority":1,"record_length":96,"hex_timestamp":"000001a03976a158"} 
[2026-08-25 20:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 20:38:17] 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-25 20:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643638016001,"66":12102,"185":206,"85":14336,"24":42,"16":124264648097660928,"45":9052798225296486400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 20:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643638016001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:38:17] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 20:38:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124264648097660928,"km_value":124264648097660.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9052798225296486400,"description":"Unknown IO ID 45"} 
[2026-08-25 20:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643638016001,"power":12102,"unknown_185":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":9052798225296486400}} 
[2026-08-25 20:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":162000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:38:17] local.INFO: GPS data processed {"connection_id":162000,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:38:17] local.INFO: Acknowledgment sent {"connection_id":162000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:38:39] local.INFO: TCP Data received {"connection_id":163231,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:38:39] local.INFO: Processing buffer {"connection_id":163231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:38:39] local.INFO: IMEI packet received {"connection_id":163231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":163231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:38:40] local.INFO: TCP Data received {"connection_id":163232,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:38:40] local.INFO: Processing buffer {"connection_id":163232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:38:40] local.INFO: IMEI packet received {"connection_id":163232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":163232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:38:44] local.INFO: TCP Data received {"connection_id":163231,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:38:44] local.INFO: Processing buffer {"connection_id":163231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:38:44] local.INFO: IMEI packet received {"connection_id":163231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":163231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:38:45] local.INFO: TCP Data received {"connection_id":163231,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:38:45] local.INFO: Processing buffer {"connection_id":163231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:38:45] local.INFO: Packet analysis {"connection_id":163231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:38:45] local.INFO: Extracted packet for processing {"connection_id":163231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643515136001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:38:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787670282000,"timestamp_ms":1787670282000,"timestamp_seconds":1787670282,"priority":1,"record_length":96,"hex_timestamp":"000001a03973bf10"} 
[2026-08-25 20:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 20:38:45] 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-25 20:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:38: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-25 20:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643515136001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643515136001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643515136001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":163231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:38:45] local.INFO: GPS data processed {"connection_id":163231,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:38:45] local.INFO: Acknowledgment sent {"connection_id":163231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:38:49] local.INFO: TCP Data received {"connection_id":163232,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:38:49] local.INFO: Processing buffer {"connection_id":163232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:38:49] local.INFO: IMEI packet received {"connection_id":163232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":163232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:39:10] local.INFO: TCP Data received {"connection_id":162001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:39:10] local.INFO: Processing buffer {"connection_id":162001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:39:10] local.INFO: IMEI packet received {"connection_id":162001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 20:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":162001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:39:17] local.INFO: TCP Data received {"connection_id":163231,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:39:17] local.INFO: Processing buffer {"connection_id":163231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:39:17] local.INFO: Packet analysis {"connection_id":163231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:39:17] local.INFO: Extracted packet for processing {"connection_id":163231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643515136001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:39:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787670282000,"timestamp_ms":1787670282000,"timestamp_seconds":1787670282,"priority":1,"record_length":96,"hex_timestamp":"000001a03973bf10"} 
[2026-08-25 20:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 20:39:17] 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-25 20:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643515136001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643515136001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643515136001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":163231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:39:17] local.INFO: GPS data processed {"connection_id":163231,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:39:17] local.INFO: Acknowledgment sent {"connection_id":163231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:39:37] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:39:37] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:39:37] local.INFO: IMEI packet received {"connection_id":162002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":162002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:39:38] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:39:38] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:39:38] local.INFO: IMEI packet received {"connection_id":162002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":162002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:39:43] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:39:43] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:39:43] local.INFO: IMEI packet received {"connection_id":162002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":162002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:39:43] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":249,"data_hex":"00000000000000ed8e03000001a039783f68012d7e9b0005abb468000800112e..."} 
[2026-08-25 20:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":249,"packet_hex":"00000000000000ed8e03000001a039783f68012d7e9b0005abb468000800112e..."} 
[2026-08-25 20:39:43] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":249,"buffer_hex":"00000000000000ed8e03000001a039783f68012d7e9b0005abb468000800112e..."} 
[2026-08-25 20:39:43] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000001a03978"} 
[2026-08-25 20:39:43] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000001a03978"} 
[2026-08-25 20:39:43] local.INFO: GPS Element Parsed {"raw_longitude":763271936,"raw_latitude":95138920,"longitude_deg":76.3271936,"latitude_deg":9.513892,"altitude":8,"angle":17,"satellites":46,"speed":45,"hex_longitude":"2d7e9b00","hex_latitude":"05abb468","is_valid_coordinates":true} 
[2026-08-25 20:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-08-25 20:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643665408001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124268603762540544,"note":"Value kept but may cause issues"} 
[2026-08-25 20:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9118944844848297984,"note":"Value kept but may cause issues"} 
[2026-08-25 20:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787670577000,"timestamp_ms":1787670577000,"timestamp_seconds":1787670577,"priority":1,"record_length":96,"hex_timestamp":"000001a039783f68"} 
[2026-08-25 20:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":249,"current_offset":136} 
[2026-08-25 20:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:39:43] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-25 20:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:39:43] 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-25 20:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643665408001,"66":11895,"40":206,"85":14336,"24":45,"16":124268603762540544,"45":9118944844848297984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-08-25 20:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643665408001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:39:43] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-25 20:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124268603762540544,"km_value":124268603762540.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9118944844848297984,"description":"Unknown IO ID 45"} 
[2026-08-25 20:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643665408001,"power":11895,"unknown_40":206,"unknown_85":14336,"ignition":45,"odometer":null,"unknown_45":9118944844848297984}} 
[2026-08-25 20:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:39:44] local.INFO: GPS data processed {"connection_id":162002,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:39:44] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:39:44] local.INFO: TCP Data received {"connection_id":162232,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:39:44] local.INFO: Processing buffer {"connection_id":162232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:39:44] local.INFO: IMEI packet received {"connection_id":162232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":162232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:39:49] local.INFO: TCP Data received {"connection_id":162232,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:39:49] local.INFO: Processing buffer {"connection_id":162232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:39:49] local.INFO: IMEI packet received {"connection_id":162232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":162232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:39:50] local.INFO: TCP Data received {"connection_id":162232,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:39:50] local.INFO: Processing buffer {"connection_id":162232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03973bf10012d34c14006aa4818000500e630..."} 
[2026-08-25 20:39:50] local.INFO: Packet analysis {"connection_id":162232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:39:50] local.INFO: Extracted packet for processing {"connection_id":162232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03973"} 
[2026-08-25 20:39:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643515136001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:39:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787670282000,"timestamp_ms":1787670282000,"timestamp_seconds":1787670282,"priority":1,"record_length":96,"hex_timestamp":"000001a03973bf10"} 
[2026-08-25 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-25 20:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 20:39:50] 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-25 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-25 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-25 20:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:39: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-25 20:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643515136001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643515136001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:39:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643515136001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":162232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:39:50] local.INFO: GPS data processed {"connection_id":162232,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:39:50] local.INFO: Acknowledgment sent {"connection_id":162232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:40:15] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":93,"data_hex":"00000000000000518e01000001a039786e48012d7ea58005abd6580006000f2e..."} 
[2026-08-25 20:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":93,"packet_hex":"00000000000000518e01000001a039786e48012d7ea58005abd6580006000f2e..."} 
[2026-08-25 20:40:15] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a039786e48012d7ea58005abd6580006000f2e..."} 
[2026-08-25 20:40:15] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a03978"} 
[2026-08-25 20:40:15] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a03978"} 
[2026-08-25 20:40:15] local.INFO: GPS Element Parsed {"raw_longitude":763274624,"raw_latitude":95147608,"longitude_deg":76.3274624,"latitude_deg":9.5147608,"altitude":6,"angle":15,"satellites":46,"speed":12,"hex_longitude":"2d7ea580","hex_latitude":"05abd658","is_valid_coordinates":true} 
[2026-08-25 20:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-25 20:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:40:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:40:15] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 20:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 20:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-25 20:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-25 20:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 20:40:15] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 20:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 20:40:15] local.ERROR: GPS data processing failed {"connection_id":162002,"error":"No valid data to process"} 
[2026-08-25 20:40:15] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 20:40:22] local.INFO: TCP Data received {"connection_id":162232,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:40:22] local.INFO: Processing buffer {"connection_id":162232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:40:22] local.INFO: Packet analysis {"connection_id":162232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:40:22] local.INFO: Extracted packet for processing {"connection_id":162232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:40:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643592192001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:40:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787670583000,"timestamp_ms":1787670583000,"timestamp_seconds":1787670583,"priority":1,"record_length":96,"hex_timestamp":"000001a0397856d8"} 
[2026-08-25 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-25 20:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:40:22] 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-25 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-25 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-25 20:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643592192001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643592192001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:40:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643592192001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":162232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:40:22] local.INFO: GPS data processed {"connection_id":162232,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:40:22] local.INFO: Acknowledgment sent {"connection_id":162232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:40:39] local.INFO: TCP Data received {"connection_id":164612,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:40:39] local.INFO: Processing buffer {"connection_id":164612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:40:39] local.INFO: IMEI packet received {"connection_id":164612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":164612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:40:44] local.INFO: TCP Data received {"connection_id":164612,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:40:44] local.INFO: Processing buffer {"connection_id":164612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:40:44] local.INFO: IMEI packet received {"connection_id":164612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":164612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:40:45] local.INFO: TCP Data received {"connection_id":164612,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:40:45] local.INFO: Processing buffer {"connection_id":164612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:40:45] local.INFO: Packet analysis {"connection_id":164612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:40:45] local.INFO: Extracted packet for processing {"connection_id":164612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643592192001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:40:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787670583000,"timestamp_ms":1787670583000,"timestamp_seconds":1787670583,"priority":1,"record_length":96,"hex_timestamp":"000001a0397856d8"} 
[2026-08-25 20:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:40:45] 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-25 20:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:40: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-25 20:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643592192001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643592192001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643592192001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":164612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:40:45] local.INFO: GPS data processed {"connection_id":164612,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:40:45] local.INFO: Acknowledgment sent {"connection_id":164612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:40:46] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":93,"data_hex":"00000000000000518e01000001a039787de8012d7ea60005abd8c8000501672e..."} 
[2026-08-25 20:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":93,"packet_hex":"00000000000000518e01000001a039787de8012d7ea60005abd8c8000501672e..."} 
[2026-08-25 20:40:46] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a039787de8012d7ea60005abd8c8000501672e..."} 
[2026-08-25 20:40:46] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a03978"} 
[2026-08-25 20:40:46] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a03978"} 
[2026-08-25 20:40:46] local.INFO: GPS Element Parsed {"raw_longitude":763274752,"raw_latitude":95148232,"longitude_deg":76.3274752,"latitude_deg":9.5148232,"altitude":5,"angle":359,"satellites":46,"speed":1,"hex_longitude":"2d7ea600","hex_latitude":"05abd8c8","is_valid_coordinates":true} 
[2026-08-25 20:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-25 20:40: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-25 20:40: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-25 20:40:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:40:46] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 20:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 20:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-25 20:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-25 20:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 20:40:46] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 20:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 20:40:46] local.ERROR: GPS data processing failed {"connection_id":162002,"error":"No valid data to process"} 
[2026-08-25 20:40:46] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 20:41:17] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":93,"data_hex":"00000000000000518e01000001a0397881d0012d7ea60005abd9080005000c2e..."} 
[2026-08-25 20:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":93,"packet_hex":"00000000000000518e01000001a0397881d0012d7ea60005abd9080005000c2e..."} 
[2026-08-25 20:41:17] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0397881d0012d7ea60005abd9080005000c2e..."} 
[2026-08-25 20:41:17] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a03978"} 
[2026-08-25 20:41:17] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a03978"} 
[2026-08-25 20:41:17] local.INFO: GPS Element Parsed {"raw_longitude":763274752,"raw_latitude":95148296,"longitude_deg":76.3274752,"latitude_deg":9.5148296,"altitude":5,"angle":12,"satellites":46,"speed":2,"hex_longitude":"2d7ea600","hex_latitude":"05abd908","is_valid_coordinates":true} 
[2026-08-25 20:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-25 20:41: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-25 20:41: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-25 20:41:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:41:17] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 20:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 20:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-25 20:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-25 20:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 20:41:17] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 20:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 20:41:17] local.ERROR: GPS data processing failed {"connection_id":162002,"error":"No valid data to process"} 
[2026-08-25 20:41:17] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 20:41:17] local.INFO: TCP Data received {"connection_id":164612,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:41:17] local.INFO: Processing buffer {"connection_id":164612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:41:17] local.INFO: Packet analysis {"connection_id":164612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:41:17] local.INFO: Extracted packet for processing {"connection_id":164612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643592192001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:41:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787670583000,"timestamp_ms":1787670583000,"timestamp_seconds":1787670583,"priority":1,"record_length":96,"hex_timestamp":"000001a0397856d8"} 
[2026-08-25 20:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:41:17] 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-25 20:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643592192001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643592192001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643592192001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":164612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:41:17] local.INFO: GPS data processed {"connection_id":164612,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:41:17] local.INFO: Acknowledgment sent {"connection_id":164612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:41:39] local.INFO: TCP Data received {"connection_id":162003,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:41:39] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:41:39] local.INFO: IMEI packet received {"connection_id":162003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":162003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:41:46] local.INFO: TCP Data received {"connection_id":162003,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:41:46] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:41:46] local.INFO: IMEI packet received {"connection_id":162003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":162003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:41:47] local.INFO: TCP Data received {"connection_id":162003,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:41:47] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:41:47] local.INFO: Packet analysis {"connection_id":162003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:41:47] local.INFO: Extracted packet for processing {"connection_id":162003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643592192001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787670583000,"timestamp_ms":1787670583000,"timestamp_seconds":1787670583,"priority":1,"record_length":96,"hex_timestamp":"000001a0397856d8"} 
[2026-08-25 20:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643592192001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643592192001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643592192001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":162003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:41:47] local.INFO: GPS data processed {"connection_id":162003,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:41:47] local.INFO: Acknowledgment sent {"connection_id":162003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:41:49] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":93,"data_hex":"00000000000000518e01000001a03978cff0012d7ea88005abec40000400062e..."} 
[2026-08-25 20:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":93,"packet_hex":"00000000000000518e01000001a03978cff0012d7ea88005abec40000400062e..."} 
[2026-08-25 20:41:49] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a03978cff0012d7ea88005abec40000400062e..."} 
[2026-08-25 20:41:49] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a03978"} 
[2026-08-25 20:41:49] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a03978"} 
[2026-08-25 20:41:49] local.INFO: GPS Element Parsed {"raw_longitude":763275392,"raw_latitude":95153216,"longitude_deg":76.3275392,"latitude_deg":9.5153216,"altitude":4,"angle":6,"satellites":46,"speed":19,"hex_longitude":"2d7ea880","hex_latitude":"05abec40","is_valid_coordinates":true} 
[2026-08-25 20: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":93,"current_offset":40} 
[2026-08-25 20:41: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-25 20:41: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-25 20:41:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:41:49] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 20:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 20:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-25 20:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-25 20:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 20:41:49] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 20:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 20:41:49] local.ERROR: GPS data processing failed {"connection_id":162002,"error":"No valid data to process"} 
[2026-08-25 20:41:49] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 20:42:18] local.INFO: TCP Data received {"connection_id":162003,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:42:18] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:42:18] local.INFO: Packet analysis {"connection_id":162003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:42:18] local.INFO: Extracted packet for processing {"connection_id":162003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643592192001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:42:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787670583000,"timestamp_ms":1787670583000,"timestamp_seconds":1787670583,"priority":1,"record_length":96,"hex_timestamp":"000001a0397856d8"} 
[2026-08-25 20: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-25 20:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:42:18] 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-25 20: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-25 20: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-25 20:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:42:18] 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-25 20:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643592192001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643592192001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643592192001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":162003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:42:18] local.INFO: GPS data processed {"connection_id":162003,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:42:18] local.INFO: Acknowledgment sent {"connection_id":162003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:42:19] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":171,"data_hex":"000000000000009f8e02000001a0397906a0012d7eaa4005ac0f88000600092c..."} 
[2026-08-25 20:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":171,"packet_hex":"000000000000009f8e02000001a0397906a0012d7eaa4005ac0f88000600092c..."} 
[2026-08-25 20:42:19] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":171,"buffer_hex":"000000000000009f8e02000001a0397906a0012d7eaa4005ac0f88000600092c..."} 
[2026-08-25 20:42:19] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000001a03979"} 
[2026-08-25 20:42:19] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000001a03979"} 
[2026-08-25 20:42:19] local.INFO: GPS Element Parsed {"raw_longitude":763275840,"raw_latitude":95162248,"longitude_deg":76.327584,"latitude_deg":9.5162248,"altitude":6,"angle":9,"satellites":44,"speed":26,"hex_longitude":"2d7eaa40","hex_latitude":"05ac0f88","is_valid_coordinates":true} 
[2026-08-25 20:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-08-25 20:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643677184001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124269763403710464,"note":"Value kept but may cause issues"} 
[2026-08-25 20:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126685406713888768,"note":"Value kept but may cause issues"} 
[2026-08-25 20:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787670628000,"timestamp_ms":1787670628000,"timestamp_seconds":1787670628,"priority":1,"record_length":96,"hex_timestamp":"000001a0397906a0"} 
[2026-08-25 20:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":171,"current_offset":136} 
[2026-08-25 20:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:42:19] 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-25 20:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:42:19] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-25 20:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:42:19] 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-25 20:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643677184001,"66":12102,"41":206,"85":14336,"24":26,"16":124269763403710464,"45":9126685406713888768},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-08-25 20:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643677184001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:42:19] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-25 20:42:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124269763403710464,"km_value":124269763403710.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126685406713888768,"description":"Unknown IO ID 45"} 
[2026-08-25 20:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643677184001,"power":12102,"unknown_41":206,"unknown_85":14336,"ignition":26,"odometer":null,"unknown_45":9126685406713888768}} 
[2026-08-25 20:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:42:20] local.INFO: GPS data processed {"connection_id":162002,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:42:20] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:42:39] local.INFO: TCP Data received {"connection_id":163233,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:42:39] local.INFO: Processing buffer {"connection_id":163233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:42:39] local.INFO: IMEI packet received {"connection_id":163233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":163233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:42:44] local.INFO: TCP Data received {"connection_id":163233,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:42:44] local.INFO: Processing buffer {"connection_id":163233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:42:44] local.INFO: IMEI packet received {"connection_id":163233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":163233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:42:45] local.INFO: TCP Data received {"connection_id":163233,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:42:45] local.INFO: Processing buffer {"connection_id":163233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:42:45] local.INFO: Packet analysis {"connection_id":163233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:42:45] local.INFO: Extracted packet for processing {"connection_id":163233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643592192001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:42:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787670583000,"timestamp_ms":1787670583000,"timestamp_seconds":1787670583,"priority":1,"record_length":96,"hex_timestamp":"000001a0397856d8"} 
[2026-08-25 20:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:42:45] 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-25 20:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:42: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-25 20:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643592192001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643592192001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643592192001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":163233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:42:45] local.INFO: GPS data processed {"connection_id":163233,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:42:45] local.INFO: Acknowledgment sent {"connection_id":163233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:42:51] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":249,"data_hex":"00000000000000ed8e03000001a039793d50012d7eabc005ac3210000300012d..."} 
[2026-08-25 20:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":249,"packet_hex":"00000000000000ed8e03000001a039793d50012d7eabc005ac3210000300012d..."} 
[2026-08-25 20:42:51] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":249,"buffer_hex":"00000000000000ed8e03000001a039793d50012d7eabc005ac3210000300012d..."} 
[2026-08-25 20:42:51] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000001a03979"} 
[2026-08-25 20:42:51] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000001a03979"} 
[2026-08-25 20:42:51] local.INFO: GPS Element Parsed {"raw_longitude":763276224,"raw_latitude":95171088,"longitude_deg":76.3276224,"latitude_deg":9.5171088,"altitude":3,"angle":1,"satellites":45,"speed":24,"hex_longitude":"2d7eabc0","hex_latitude":"05ac3210","is_valid_coordinates":true} 
[2026-08-25 20:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-08-25 20:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643680768001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124270192900440064,"note":"Value kept but may cause issues"} 
[2026-08-25 20:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127177987925444608,"note":"Value kept but may cause issues"} 
[2026-08-25 20:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787670642000,"timestamp_ms":1787670642000,"timestamp_seconds":1787670642,"priority":1,"record_length":96,"hex_timestamp":"000001a039793d50"} 
[2026-08-25 20:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":249,"current_offset":136} 
[2026-08-25 20:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:42:51] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-25 20:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:42:51] 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-25 20:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643680768001,"66":12058,"41":206,"85":14336,"24":24,"16":124270192900440064,"45":9127177987925444608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-08-25 20:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643680768001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:42:51] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-25 20:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124270192900440064,"km_value":124270192900440.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127177987925444608,"description":"Unknown IO ID 45"} 
[2026-08-25 20:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643680768001,"power":12058,"unknown_41":206,"unknown_85":14336,"ignition":24,"odometer":null,"unknown_45":9127177987925444608}} 
[2026-08-25 20:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:42:51] local.INFO: GPS data processed {"connection_id":162002,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:42:51] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:43:16] local.INFO: TCP Data received {"connection_id":163233,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:43:16] local.INFO: Processing buffer {"connection_id":163233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:43:16] local.INFO: Packet analysis {"connection_id":163233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:43:16] local.INFO: Extracted packet for processing {"connection_id":163233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643592192001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:43:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787670583000,"timestamp_ms":1787670583000,"timestamp_seconds":1787670583,"priority":1,"record_length":96,"hex_timestamp":"000001a0397856d8"} 
[2026-08-25 20: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-25 20:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643592192001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643592192001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643592192001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":163233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:43:16] local.INFO: GPS data processed {"connection_id":163233,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:43:16] local.INFO: Acknowledgment sent {"connection_id":163233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:43:22] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397b6be8012d7ea28005adf388000f00002e..."} 
[2026-08-25 20:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397b6be8012d7ea28005adf388000f00002e..."} 
[2026-08-25 20:43:22] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397b6be8012d7ea28005adf388000f00002e..."} 
[2026-08-25 20:43:22] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397b"} 
[2026-08-25 20:43:22] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397b"} 
[2026-08-25 20:43:22] local.INFO: GPS Element Parsed {"raw_longitude":763273856,"raw_latitude":95286152,"longitude_deg":76.3273856,"latitude_deg":9.5286152,"altitude":15,"angle":0,"satellites":46,"speed":52,"hex_longitude":"2d7ea280","hex_latitude":"05adf388","is_valid_coordinates":true} 
[2026-08-25 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-25 20:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643719168001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124275780652892160,"note":"Value kept but may cause issues"} 
[2026-08-25 20:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124855819396808704,"note":"Value kept but may cause issues"} 
[2026-08-25 20:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787670785000,"timestamp_ms":1787670785000,"timestamp_seconds":1787670785,"priority":1,"record_length":96,"hex_timestamp":"000001a0397b6be8"} 
[2026-08-25 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-25 20:43: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-25 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 20:43:22] 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-25 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-25 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-25 20:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:43:22] 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-25 20:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643719168001,"66":12200,"168":206,"85":14336,"24":52,"16":124275780652892160,"45":9124855819396808704},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 20:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643719168001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:43:22] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 20:43:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124275780652892160,"km_value":124275780652892.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124855819396808704,"description":"Unknown IO ID 45"} 
[2026-08-25 20:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643719168001,"power":12200,"unknown_168":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":9124855819396808704}} 
[2026-08-25 20:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:43:22] local.INFO: GPS data processed {"connection_id":162002,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:43:22] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:43:39] local.INFO: TCP Data received {"connection_id":162233,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:43:39] local.INFO: Processing buffer {"connection_id":162233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:43:39] local.INFO: IMEI packet received {"connection_id":162233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":162233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:43:44] local.INFO: TCP Data received {"connection_id":162233,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:43:44] local.INFO: Processing buffer {"connection_id":162233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:43:44] local.INFO: IMEI packet received {"connection_id":162233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":162233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:43:45] local.INFO: TCP Data received {"connection_id":162233,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:43:45] local.INFO: Processing buffer {"connection_id":162233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:43:45] local.INFO: Packet analysis {"connection_id":162233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:43:45] local.INFO: Extracted packet for processing {"connection_id":162233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643592192001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:43:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787670583000,"timestamp_ms":1787670583000,"timestamp_seconds":1787670583,"priority":1,"record_length":96,"hex_timestamp":"000001a0397856d8"} 
[2026-08-25 20:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:43:45] 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-25 20:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:43: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-25 20:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643592192001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643592192001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643592192001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":162233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:43:45] local.INFO: GPS data processed {"connection_id":162233,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:43:45] local.INFO: Acknowledgment sent {"connection_id":162233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:43:55] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397b8740012d7ea24005ae16e8000e00002e..."} 
[2026-08-25 20:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397b8740012d7ea24005ae16e8000e00002e..."} 
[2026-08-25 20:43:55] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397b8740012d7ea24005ae16e8000e00002e..."} 
[2026-08-25 20:43:55] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397b"} 
[2026-08-25 20:43:55] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397b"} 
[2026-08-25 20:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763273792,"raw_latitude":95295208,"longitude_deg":76.3273792,"latitude_deg":9.5295208,"altitude":14,"angle":0,"satellites":46,"speed":51,"hex_longitude":"2d7ea240","hex_latitude":"05ae16e8","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643720960001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124276218739556352,"note":"Value kept but may cause issues"} 
[2026-08-25 20:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124996556887656448,"note":"Value kept but may cause issues"} 
[2026-08-25 20:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787670792000,"timestamp_ms":1787670792000,"timestamp_seconds":1787670792,"priority":1,"record_length":96,"hex_timestamp":"000001a0397b8740"} 
[2026-08-25 20: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-25 20:43: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-25 20: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-25 20:43:55] 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-25 20: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-25 20: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-25 20:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:43:55] 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-25 20:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643720960001,"66":12135,"233":206,"85":14336,"24":51,"16":124276218739556352,"45":9124996556887656448},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,45]} 
[2026-08-25 20:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643720960001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:43:55] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-25 20:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124276218739556352,"km_value":124276218739556.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124996556887656448,"description":"Unknown IO ID 45"} 
[2026-08-25 20:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643720960001,"power":12135,"unknown_233":206,"unknown_85":14336,"ignition":51,"odometer":null,"unknown_45":9124996556887656448}} 
[2026-08-25 20:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:43:55] local.INFO: GPS data processed {"connection_id":162002,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:43:55] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:44:16] local.INFO: TCP Data received {"connection_id":162233,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:44:16] local.INFO: Processing buffer {"connection_id":162233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:44:16] local.INFO: Packet analysis {"connection_id":162233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:44:16] local.INFO: Extracted packet for processing {"connection_id":162233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643592192001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:44:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787670583000,"timestamp_ms":1787670583000,"timestamp_seconds":1787670583,"priority":1,"record_length":96,"hex_timestamp":"000001a0397856d8"} 
[2026-08-25 20:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643592192001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643592192001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643592192001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":162233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:44:16] local.INFO: GPS data processed {"connection_id":162233,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:44:16] local.INFO: Acknowledgment sent {"connection_id":162233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:44:17] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:44:17] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:44:17] local.INFO: IMEI packet received {"connection_id":162234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":162234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:44:20] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:44:20] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:44:20] local.INFO: IMEI packet received {"connection_id":162234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":162234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:44:22] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:44:22] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:44:22] local.INFO: IMEI packet received {"connection_id":162234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":162234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:44:23] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397ba298012d7ea20005ae3d08000b01672e..."} 
[2026-08-25 20:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397ba298012d7ea20005ae3d08000b01672e..."} 
[2026-08-25 20:44:23] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397ba298012d7ea20005ae3d08000b01672e..."} 
[2026-08-25 20:44:23] local.INFO: Packet analysis {"connection_id":162234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397b"} 
[2026-08-25 20:44:23] local.INFO: Extracted packet for processing {"connection_id":162234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397b"} 
[2026-08-25 20:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763273728,"raw_latitude":95304968,"longitude_deg":76.3273728,"latitude_deg":9.5304968,"altitude":11,"angle":359,"satellites":46,"speed":57,"hex_longitude":"2d7ea200","hex_latitude":"05ae3d08","is_valid_coordinates":true} 
[2026-08-25 20:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643722752001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124276691185958912,"note":"Value kept but may cause issues"} 
[2026-08-25 20:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124926188145797120,"note":"Value kept but may cause issues"} 
[2026-08-25 20:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787670799000,"timestamp_ms":1787670799000,"timestamp_seconds":1787670799,"priority":1,"record_length":96,"hex_timestamp":"000001a0397ba298"} 
[2026-08-25 20:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-25 20:44:23] 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-25 20:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:44:23] 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-25 20:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643722752001,"66":12189,"233":206,"85":14336,"24":57,"16":124276691185958912,"45":9124926188145797120},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,45]} 
[2026-08-25 20:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643722752001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:44:23] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-25 20:44:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-25 20:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124276691185958912,"km_value":124276691185958.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124926188145797120,"description":"Unknown IO ID 45"} 
[2026-08-25 20:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643722752001,"power":12189,"unknown_233":206,"unknown_85":14336,"ignition":57,"odometer":null,"unknown_45":9124926188145797120}} 
[2026-08-25 20:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":162234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:44:23] local.INFO: GPS data processed {"connection_id":162234,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:44:23] local.INFO: Acknowledgment sent {"connection_id":162234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:44:44] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:44:44] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:44:44] local.INFO: IMEI packet received {"connection_id":163234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":163234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:44:44] local.INFO: TCP Data received {"connection_id":164613,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:44:44] local.INFO: Processing buffer {"connection_id":164613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:44:44] local.INFO: IMEI packet received {"connection_id":164613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 20:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":164613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:44:49] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:44:49] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:44:49] local.INFO: IMEI packet received {"connection_id":163234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":163234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:44:50] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:44:50] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:44:50] local.INFO: Packet analysis {"connection_id":163234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:44:50] local.INFO: Extracted packet for processing {"connection_id":163234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:44:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643592192001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:44:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787670583000,"timestamp_ms":1787670583000,"timestamp_seconds":1787670583,"priority":1,"record_length":96,"hex_timestamp":"000001a0397856d8"} 
[2026-08-25 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-25 20:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:44:50] 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-25 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-25 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-25 20:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:44: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-25 20:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643592192001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643592192001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:44:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643592192001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":163234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:44:50] local.INFO: GPS data processed {"connection_id":163234,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:44:50] local.INFO: Acknowledgment sent {"connection_id":163234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:44:54] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397cd730012d7e9c4005affce8000700022d..."} 
[2026-08-25 20:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397cd730012d7e9c4005affce8000700022d..."} 
[2026-08-25 20:44:54] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397cd730012d7e9c4005affce8000700022d..."} 
[2026-08-25 20:44:54] local.INFO: Packet analysis {"connection_id":162234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:44:54] local.INFO: Extracted packet for processing {"connection_id":162234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763272256,"raw_latitude":95419624,"longitude_deg":76.3272256,"latitude_deg":9.5419624,"altitude":7,"angle":2,"satellites":45,"speed":64,"hex_longitude":"2d7e9c40","hex_latitude":"05affce8","is_valid_coordinates":true} 
[2026-08-25 20:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643743232001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124282253168607232,"note":"Value kept but may cause issues"} 
[2026-08-25 20:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122744757105653760,"note":"Value kept but may cause issues"} 
[2026-08-25 20:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787670878000,"timestamp_ms":1787670878000,"timestamp_seconds":1787670878,"priority":1,"record_length":96,"hex_timestamp":"000001a0397cd730"} 
[2026-08-25 20:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 20:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:44:54] 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-25 20:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643743232001,"66":12037,"27":206,"85":12544,"24":64,"16":124282253168607232,"45":9122744757105653760},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-25 20:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643743232001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:44:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-25 20:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124282253168607232,"km_value":124282253168607.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122744757105653760,"description":"Unknown IO ID 45"} 
[2026-08-25 20:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643743232001,"power":12037,"unknown_27":206,"unknown_85":12544,"ignition":64,"odometer":null,"unknown_45":9122744757105653760}} 
[2026-08-25 20:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":162234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:44:54] local.INFO: GPS data processed {"connection_id":162234,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:44:54] local.INFO: Acknowledgment sent {"connection_id":162234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:45:21] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:45:21] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397856d8012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:45:21] local.INFO: Packet analysis {"connection_id":163234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:45:21] local.INFO: Extracted packet for processing {"connection_id":163234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03978"} 
[2026-08-25 20:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643592192001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787670583000,"timestamp_ms":1787670583000,"timestamp_seconds":1787670583,"priority":1,"record_length":96,"hex_timestamp":"000001a0397856d8"} 
[2026-08-25 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-25 20:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 20:45:21] 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-25 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-25 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-25 20:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20: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-25 20:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643592192001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643592192001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643592192001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":163234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:45:21] local.INFO: GPS data processed {"connection_id":163234,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:45:21] local.INFO: Acknowledgment sent {"connection_id":163234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:45:25] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397ceea0012d7e9d8005b02278000800012b..."} 
[2026-08-25 20:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397ceea0012d7e9d8005b02278000800012b..."} 
[2026-08-25 20:45:25] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397ceea0012d7e9d8005b02278000800012b..."} 
[2026-08-25 20:45:25] local.INFO: Packet analysis {"connection_id":162234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:45:25] local.INFO: Extracted packet for processing {"connection_id":162234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:45:25] local.INFO: GPS Element Parsed {"raw_longitude":763272576,"raw_latitude":95429240,"longitude_deg":76.3272576,"latitude_deg":9.542924,"altitude":8,"angle":1,"satellites":43,"speed":63,"hex_longitude":"2d7e9d80","hex_latitude":"05b02278","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643744768001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124282721320042496,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123237338317383680,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787670884000,"timestamp_ms":1787670884000,"timestamp_seconds":1787670884,"priority":1,"record_length":96,"hex_timestamp":"000001a0397ceea0"} 
[2026-08-25 20: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-25 20:45: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-25 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-25 20:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":4539628424557233152,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:25] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6261128495759294440,"corrected_to":0} 
[2026-08-25 20:45:25] local.WARNING: Large IO value detected {"io_id":74,"raw_value":2415996286,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:25] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2147856193,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:25] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:25] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495849,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:25] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2280587264,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-5828669468447775187,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:25] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194747136,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:25] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,27,85,24,241,157,16,138,160,191,45,128,214,8,10,66,28,137,168,192,177,9,140,1,240,87,227,136,57,175,4,113,205,42,74,153,88,239,47,2,185,5,69],"length":484,"final_offset":614,"validated_count":43,"validation_warnings":[{"io_id":205,"original":-6261128495759294440,"validated":0}]} 
[2026-08-25 20:45:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504405550566473728,"timestamp_seconds":504405550566473.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 20: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-25 20:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:45:25] 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-25 20:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643744768001,"66":12232,"27":206,"85":12544,"24":63,"16":124282721320042496,"45":9123237338317383680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-25 20:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643744768001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:45:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-25 20:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124282721320042496,"km_value":124282721320042.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123237338317383680,"description":"Unknown IO ID 45"} 
[2026-08-25 20:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643744768001,"power":12232,"unknown_27":206,"unknown_85":12544,"ignition":63,"odometer":null,"unknown_45":9123237338317383680}} 
[2026-08-25 20:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":162234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:45:25] local.INFO: GPS data processed {"connection_id":162234,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:45:25] local.INFO: Acknowledgment sent {"connection_id":162234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:45:39] local.INFO: TCP Data received {"connection_id":162235,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:45:39] local.INFO: Processing buffer {"connection_id":162235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:45:39] local.INFO: IMEI packet received {"connection_id":162235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":162235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:45:44] local.INFO: TCP Data received {"connection_id":162235,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:45:44] local.INFO: Processing buffer {"connection_id":162235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:45:44] local.INFO: IMEI packet received {"connection_id":162235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":162235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:45:45] local.INFO: TCP Data received {"connection_id":162235,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:45:45] local.INFO: Processing buffer {"connection_id":162235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:45:45] local.INFO: Packet analysis {"connection_id":162235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:45:45] local.INFO: Extracted packet for processing {"connection_id":162235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643669248001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787670884000,"timestamp_ms":1787670884000,"timestamp_seconds":1787670884,"priority":1,"record_length":96,"hex_timestamp":"000001a0397ceea0"} 
[2026-08-25 20:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:45: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-25 20:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643669248001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643669248001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643669248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":162235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:45:45] local.INFO: GPS data processed {"connection_id":162235,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:45:45] local.INFO: Acknowledgment sent {"connection_id":162235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:45:57] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397d0610012d7e9e8005b047e0000700012c..."} 
[2026-08-25 20:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397d0610012d7e9e8005b047e0000700012c..."} 
[2026-08-25 20:45:57] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397d0610012d7e9e8005b047e0000700012c..."} 
[2026-08-25 20:45:57] local.INFO: Packet analysis {"connection_id":162234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397d"} 
[2026-08-25 20:45:57] local.INFO: Extracted packet for processing {"connection_id":162234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397d"} 
[2026-08-25 20:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763272832,"raw_latitude":95438816,"longitude_deg":76.3272832,"latitude_deg":9.5438816,"altitude":7,"angle":1,"satellites":44,"speed":63,"hex_longitude":"2d7e9e80","hex_latitude":"05b047e0","is_valid_coordinates":true} 
[2026-08-25 20:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643746304001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124283185176510464,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123589182040733696,"note":"Value kept but may cause issues"} 
[2026-08-25 20:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787670890000,"timestamp_ms":1787670890000,"timestamp_seconds":1787670890,"priority":1,"record_length":96,"hex_timestamp":"000001a0397d0610"} 
[2026-08-25 20:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 20:45: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-25 20:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:45:57] 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-25 20:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643746304001,"66":12156,"27":206,"85":12544,"24":63,"16":124283185176510464,"45":9123589182040733696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-25 20:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643746304001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:45:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-25 20:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124283185176510464,"km_value":124283185176510.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123589182040733696,"description":"Unknown IO ID 45"} 
[2026-08-25 20:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643746304001,"power":12156,"unknown_27":206,"unknown_85":12544,"ignition":63,"odometer":null,"unknown_45":9123589182040733696}} 
[2026-08-25 20:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":162234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:45:57] local.INFO: GPS data processed {"connection_id":162234,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:45:57] local.INFO: Acknowledgment sent {"connection_id":162234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:46:17] local.INFO: TCP Data received {"connection_id":162235,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:46:17] local.INFO: Processing buffer {"connection_id":162235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:46:17] local.INFO: Packet analysis {"connection_id":162235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:46:17] local.INFO: Extracted packet for processing {"connection_id":162235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643669248001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787670884000,"timestamp_ms":1787670884000,"timestamp_seconds":1787670884,"priority":1,"record_length":96,"hex_timestamp":"000001a0397ceea0"} 
[2026-08-25 20: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-25 20:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:46:17] 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-25 20: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-25 20: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-25 20:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643669248001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643669248001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643669248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":162235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:46:17] local.INFO: GPS data processed {"connection_id":162235,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:46:17] local.INFO: Acknowledgment sent {"connection_id":162235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:46:17] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:46:17] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:46:17] local.INFO: IMEI packet received {"connection_id":162004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":162004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:46:21] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:46:21] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:46:21] local.INFO: IMEI packet received {"connection_id":162004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":162004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:46:22] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:46:22] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:46:22] local.INFO: IMEI packet received {"connection_id":162004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":162004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:46:23] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397e1b68012d7ead4005b1df580005000528..."} 
[2026-08-25 20:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397e1b68012d7ead4005b1df580005000528..."} 
[2026-08-25 20:46:23] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397e1b68012d7ead4005b1df580005000528..."} 
[2026-08-25 20:46:23] local.INFO: Packet analysis {"connection_id":162004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397e"} 
[2026-08-25 20:46:23] local.INFO: Extracted packet for processing {"connection_id":162004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397e"} 
[2026-08-25 20:46:23] local.INFO: GPS Element Parsed {"raw_longitude":763276608,"raw_latitude":95543128,"longitude_deg":76.3276608,"latitude_deg":9.5543128,"altitude":5,"angle":5,"satellites":40,"speed":60,"hex_longitude":"2d7ead40","hex_latitude":"05b1df58","is_valid_coordinates":true} 
[2026-08-25 20:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643764480001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124288248942952448,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107619276509184,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787670961000,"timestamp_ms":1787670961000,"timestamp_seconds":1787670961,"priority":1,"record_length":96,"hex_timestamp":"000001a0397e1b68"} 
[2026-08-25 20:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:46: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-25 20:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 20:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:46:23] 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-25 20:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643764480001,"66":11917,"92":206,"85":12544,"24":60,"16":124288248942952448,"45":9127107619276509184},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-08-25 20:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643764480001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:46:23] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-25 20:46:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124288248942952448,"km_value":124288248942952.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107619276509184,"description":"Unknown IO ID 45"} 
[2026-08-25 20:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643764480001,"power":11917,"unknown_92":206,"unknown_85":12544,"ignition":60,"odometer":null,"unknown_45":9127107619276509184}} 
[2026-08-25 20:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":162004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:46:23] local.INFO: GPS data processed {"connection_id":162004,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:46:23] local.INFO: Acknowledgment sent {"connection_id":162004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:46:27] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397e32d8012d7eb1c005b202c80004000829..."} 
[2026-08-25 20:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397e32d8012d7eb1c005b202c80004000829..."} 
[2026-08-25 20:46:27] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397e32d8012d7eb1c005b202c80004000829..."} 
[2026-08-25 20:46:27] local.INFO: Packet analysis {"connection_id":162004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397e"} 
[2026-08-25 20:46:27] local.INFO: Extracted packet for processing {"connection_id":162004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397e"} 
[2026-08-25 20:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763277760,"raw_latitude":95552200,"longitude_deg":76.327776,"latitude_deg":9.55522,"altitude":4,"angle":8,"satellites":41,"speed":60,"hex_longitude":"2d7eb1c0","hex_latitude":"05b202c8","is_valid_coordinates":true} 
[2026-08-25 20:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643766016001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124288691324583936,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128022412953081856,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787670967000,"timestamp_ms":1787670967000,"timestamp_seconds":1787670967,"priority":1,"record_length":96,"hex_timestamp":"000001a0397e32d8"} 
[2026-08-25 20:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-25 20:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:46:27] 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-25 20:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643766016001,"66":12156,"93":206,"85":12544,"24":60,"16":124288691324583936,"45":9128022412953081856},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-25 20:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643766016001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:46:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 20:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124288691324583936,"km_value":124288691324583.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128022412953081856,"description":"Unknown IO ID 45"} 
[2026-08-25 20:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643766016001,"power":12156,"unknown_93":206,"unknown_85":12544,"ignition":60,"odometer":null,"unknown_45":9128022412953081856}} 
[2026-08-25 20:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":162004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:46:27] local.INFO: GPS data processed {"connection_id":162004,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:46:27] local.INFO: Acknowledgment sent {"connection_id":162004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:46:39] local.INFO: TCP Data received {"connection_id":163235,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:46:39] local.INFO: Processing buffer {"connection_id":163235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:46:39] local.INFO: IMEI packet received {"connection_id":163235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":163235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:46:44] local.INFO: TCP Data received {"connection_id":163235,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:46:44] local.INFO: Processing buffer {"connection_id":163235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:46:44] local.INFO: IMEI packet received {"connection_id":163235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":163235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:46:45] local.INFO: TCP Data received {"connection_id":163235,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:46:45] local.INFO: Processing buffer {"connection_id":163235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:46:45] local.INFO: Packet analysis {"connection_id":163235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:46:45] local.INFO: Extracted packet for processing {"connection_id":163235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643669248001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787670884000,"timestamp_ms":1787670884000,"timestamp_seconds":1787670884,"priority":1,"record_length":96,"hex_timestamp":"000001a0397ceea0"} 
[2026-08-25 20:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:46: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-25 20:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643669248001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643669248001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643669248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":163235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:46:45] local.INFO: GPS data processed {"connection_id":163235,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:46:45] local.INFO: Acknowledgment sent {"connection_id":163235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:46:57] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397e4a48012d7eb64005b226200003000528..."} 
[2026-08-25 20:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397e4a48012d7eb64005b226200003000528..."} 
[2026-08-25 20:46:57] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397e4a48012d7eb64005b226200003000528..."} 
[2026-08-25 20:46:57] local.INFO: Packet analysis {"connection_id":162004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397e"} 
[2026-08-25 20:46:57] local.INFO: Extracted packet for processing {"connection_id":162004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397e"} 
[2026-08-25 20:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763278912,"raw_latitude":95561248,"longitude_deg":76.3278912,"latitude_deg":9.5561248,"altitude":3,"angle":5,"satellites":40,"speed":60,"hex_longitude":"2d7eb640","hex_latitude":"05b22620","is_valid_coordinates":true} 
[2026-08-25 20:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643767552001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124289133706215424,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129289050350602240,"note":"Value kept but may cause issues"} 
[2026-08-25 20:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787670973000,"timestamp_ms":1787670973000,"timestamp_seconds":1787670973,"priority":1,"record_length":96,"hex_timestamp":"000001a0397e4a48"} 
[2026-08-25 20:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 20:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:46:57] 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-25 20:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643767552001,"66":12374,"93":206,"85":12544,"24":60,"16":124289133706215424,"45":9129289050350602240},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-25 20:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643767552001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:46:57] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 20:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124289133706215424,"km_value":124289133706215.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129289050350602240,"description":"Unknown IO ID 45"} 
[2026-08-25 20:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643767552001,"power":12374,"unknown_93":206,"unknown_85":12544,"ignition":60,"odometer":null,"unknown_45":9129289050350602240}} 
[2026-08-25 20:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":162004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:46:57] local.INFO: GPS data processed {"connection_id":162004,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:46:57] local.INFO: Acknowledgment sent {"connection_id":162004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:47:17] local.INFO: TCP Data received {"connection_id":163235,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:47:17] local.INFO: Processing buffer {"connection_id":163235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:47:17] local.INFO: Packet analysis {"connection_id":163235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:47:17] local.INFO: Extracted packet for processing {"connection_id":163235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643669248001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787670884000,"timestamp_ms":1787670884000,"timestamp_seconds":1787670884,"priority":1,"record_length":96,"hex_timestamp":"000001a0397ceea0"} 
[2026-08-25 20:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:47:17] 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-25 20:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643669248001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643669248001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643669248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":163235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:47:17] local.INFO: GPS data processed {"connection_id":163235,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:47:17] local.INFO: Acknowledgment sent {"connection_id":163235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:47:20] local.INFO: TCP Data received {"connection_id":164614,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:47:20] local.INFO: Processing buffer {"connection_id":164614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:47:20] local.INFO: IMEI packet received {"connection_id":164614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":164614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:47:24] local.INFO: TCP Data received {"connection_id":164614,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:47:24] local.INFO: Processing buffer {"connection_id":164614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:47:24] local.INFO: IMEI packet received {"connection_id":164614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":164614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:47:27] local.INFO: TCP Data received {"connection_id":164614,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:47:27] local.INFO: Processing buffer {"connection_id":164614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:47:27] local.INFO: IMEI packet received {"connection_id":164614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":164614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:47:28] local.INFO: TCP Data received {"connection_id":164614,"ip":"42.106.6.44","data_length":1340,"data_hex":"000000000000030f8e0a000001a0397e61b8012d7eb90005b24ad00003000328..."} 
[2026-08-25 20:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164614,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a0397e61b8012d7eb90005b24ad00003000328..."} 
[2026-08-25 20:47:28] local.INFO: Processing buffer {"connection_id":164614,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a0397e61b8012d7eb90005b24ad00003000328..."} 
[2026-08-25 20:47:28] local.INFO: Packet analysis {"connection_id":164614,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a0397e"} 
[2026-08-25 20:47:28] local.INFO: Extracted packet for processing {"connection_id":164614,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0397e"} 
[2026-08-25 20:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763279616,"raw_latitude":95570640,"longitude_deg":76.3279616,"latitude_deg":9.557064,"altitude":3,"angle":3,"satellites":40,"speed":64,"hex_longitude":"2d7eb900","hex_latitude":"05b24ad0","is_valid_coordinates":true} 
[2026-08-25 20:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643769088001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124289593267716096,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130555687748116480,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787670979000,"timestamp_ms":1787670979000,"timestamp_seconds":1787670979,"priority":1,"record_length":96,"hex_timestamp":"000001a0397e61b8"} 
[2026-08-25 20:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 20:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:47:28] 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-25 20:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643769088001,"66":12330,"93":206,"85":12544,"24":64,"16":124289593267716096,"45":9130555687748116480},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-25 20:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643769088001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:47:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 20:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124289593267716096,"km_value":124289593267716.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130555687748116480,"description":"Unknown IO ID 45"} 
[2026-08-25 20:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643769088001,"power":12330,"unknown_93":206,"unknown_85":12544,"ignition":64,"odometer":null,"unknown_45":9130555687748116480}} 
[2026-08-25 20:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":164614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:47:28] local.INFO: GPS data processed {"connection_id":164614,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:47:28] local.INFO: Acknowledgment sent {"connection_id":164614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:47:28] local.INFO: Packet analysis {"connection_id":164614,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0397e"} 
[2026-08-25 20:47:28] local.INFO: Incomplete packet, waiting for more data {"connection_id":164614,"needed":795,"available":545} 
[2026-08-25 20:47:28] local.INFO: TCP Data received {"connection_id":164614,"ip":"42.106.6.44","data_length":250,"data_hex":"e3001001b98eb600000000000001a0397dc960012d7ea40005b17400000a0004..."} 
[2026-08-25 20:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164614,"packet_length":250,"packet_hex":"e3001001b98eb600000000000001a0397dc960012d7ea40005b17400000a0004..."} 
[2026-08-25 20:47:28] local.INFO: Processing buffer {"connection_id":164614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397e7928012d7eba0005b270980003016728..."} 
[2026-08-25 20:47:28] local.INFO: Packet analysis {"connection_id":164614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397e"} 
[2026-08-25 20:47:28] local.INFO: Extracted packet for processing {"connection_id":164614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397e"} 
[2026-08-25 20:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763279872,"raw_latitude":95580312,"longitude_deg":76.3279872,"latitude_deg":9.5580312,"altitude":3,"angle":359,"satellites":40,"speed":64,"hex_longitude":"2d7eba00","hex_latitude":"05b27098","is_valid_coordinates":true} 
[2026-08-25 20:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643770624001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124290061419151360,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131329743936475136,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787670985000,"timestamp_ms":1787670985000,"timestamp_seconds":1787670985,"priority":1,"record_length":96,"hex_timestamp":"000001a0397e7928"} 
[2026-08-25 20:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 20:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:47:28] 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-25 20:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643770624001,"66":12211,"93":206,"85":12544,"24":64,"16":124290061419151360,"45":9131329743936475136},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-25 20:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643770624001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:47:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 20:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124290061419151360,"km_value":124290061419151.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131329743936475136,"description":"Unknown IO ID 45"} 
[2026-08-25 20:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643770624001,"power":12211,"unknown_93":206,"unknown_85":12544,"ignition":64,"odometer":null,"unknown_45":9131329743936475136}} 
[2026-08-25 20:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":164614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:47:29] local.INFO: GPS data processed {"connection_id":164614,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:47:29] local.INFO: Acknowledgment sent {"connection_id":164614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:47:33] local.INFO: TCP Data received {"connection_id":164614,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397e9098012d7eb98005b295980005016729..."} 
[2026-08-25 20:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397e9098012d7eb98005b295980005016729..."} 
[2026-08-25 20:47:33] local.INFO: Processing buffer {"connection_id":164614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397e9098012d7eb98005b295980005016729..."} 
[2026-08-25 20:47:33] local.INFO: Packet analysis {"connection_id":164614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397e"} 
[2026-08-25 20:47:33] local.INFO: Extracted packet for processing {"connection_id":164614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397e"} 
[2026-08-25 20:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763279744,"raw_latitude":95589784,"longitude_deg":76.3279744,"latitude_deg":9.5589784,"altitude":5,"angle":359,"satellites":41,"speed":62,"hex_longitude":"2d7eb980","hex_latitude":"05b29598","is_valid_coordinates":true} 
[2026-08-25 20:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643772160001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124290520980652032,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131611218915661824,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787670991000,"timestamp_ms":1787670991000,"timestamp_seconds":1787670991,"priority":1,"record_length":96,"hex_timestamp":"000001a0397e9098"} 
[2026-08-25 20:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 20:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643772160001,"66":12287,"93":206,"85":12544,"24":62,"16":124290520980652032,"45":9131611218915661824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-25 20:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643772160001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:47:33] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-25 20:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124290520980652032,"km_value":124290520980652.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131611218915661824,"description":"Unknown IO ID 45"} 
[2026-08-25 20:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643772160001,"power":12287,"unknown_93":206,"unknown_85":12544,"ignition":62,"odometer":null,"unknown_45":9131611218915661824}} 
[2026-08-25 20:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":164614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:47:33] local.INFO: GPS data processed {"connection_id":164614,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:47:33] local.INFO: Acknowledgment sent {"connection_id":164614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:47:39] local.INFO: TCP Data received {"connection_id":162236,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:47:39] local.INFO: Processing buffer {"connection_id":162236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:47:39] local.INFO: IMEI packet received {"connection_id":162236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":162236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:47:46] local.INFO: TCP Data received {"connection_id":162236,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:47:46] local.INFO: Processing buffer {"connection_id":162236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:47:46] local.INFO: IMEI packet received {"connection_id":162236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":162236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:47:47] local.INFO: TCP Data received {"connection_id":162236,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:47:47] local.INFO: Processing buffer {"connection_id":162236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:47:47] local.INFO: Packet analysis {"connection_id":162236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:47:47] local.INFO: Extracted packet for processing {"connection_id":162236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643669248001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787670884000,"timestamp_ms":1787670884000,"timestamp_seconds":1787670884,"priority":1,"record_length":96,"hex_timestamp":"000001a0397ceea0"} 
[2026-08-25 20:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:47:47] 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-25 20:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643669248001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643669248001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643669248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":162236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:47:48] local.INFO: GPS data processed {"connection_id":162236,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:47:48] local.INFO: Acknowledgment sent {"connection_id":162236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:48:17] local.INFO: TCP Data received {"connection_id":163236,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:48:17] local.INFO: Processing buffer {"connection_id":163236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:48:17] local.INFO: IMEI packet received {"connection_id":163236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":163236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:48:17] local.INFO: TCP Data received {"connection_id":163236,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:48:17] local.INFO: Processing buffer {"connection_id":163236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:48:17] local.INFO: IMEI packet received {"connection_id":163236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":163236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:48:19] local.INFO: TCP Data received {"connection_id":162236,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:48:19] local.INFO: Processing buffer {"connection_id":162236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:48:19] local.INFO: Packet analysis {"connection_id":162236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:48:19] local.INFO: Extracted packet for processing {"connection_id":162236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643669248001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787670884000,"timestamp_ms":1787670884000,"timestamp_seconds":1787670884,"priority":1,"record_length":96,"hex_timestamp":"000001a0397ceea0"} 
[2026-08-25 20: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-25 20:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:48:19] 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-25 20:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643669248001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643669248001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643669248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":162236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:48:19] local.INFO: GPS data processed {"connection_id":162236,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:48:19] local.INFO: Acknowledgment sent {"connection_id":162236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:48:22] local.INFO: TCP Data received {"connection_id":163236,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:48:22] local.INFO: Processing buffer {"connection_id":163236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:48:22] local.INFO: IMEI packet received {"connection_id":163236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":163236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:48:23] local.INFO: TCP Data received {"connection_id":163236,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397fa9d8012d7ead4005b45130000b016428..."} 
[2026-08-25 20:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397fa9d8012d7ead4005b45130000b016428..."} 
[2026-08-25 20:48:23] local.INFO: Processing buffer {"connection_id":163236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397fa9d8012d7ead4005b45130000b016428..."} 
[2026-08-25 20:48:23] local.INFO: Packet analysis {"connection_id":163236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397f"} 
[2026-08-25 20:48:23] local.INFO: Extracted packet for processing {"connection_id":163236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397f"} 
[2026-08-25 20:48:23] local.INFO: GPS Element Parsed {"raw_longitude":763276608,"raw_latitude":95703344,"longitude_deg":76.3276608,"latitude_deg":9.5703344,"altitude":11,"angle":356,"satellites":40,"speed":57,"hex_longitude":"2d7ead40","hex_latitude":"05b45130","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643790592001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124296027128725504,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128655731689385984,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787671063000,"timestamp_ms":1787671063000,"timestamp_seconds":1787671063,"priority":1,"record_length":96,"hex_timestamp":"000001a0397fa9d8"} 
[2026-08-25 20: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-25 20:48: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-25 20: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-25 20:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:48:23] 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-25 20:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643790592001,"66":12232,"58":206,"85":12544,"24":57,"16":124296027128725504,"45":9128655731689385984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-08-25 20:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643790592001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:48:23] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-25 20:48:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124296027128725504,"km_value":124296027128725.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128655731689385984,"description":"Unknown IO ID 45"} 
[2026-08-25 20:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643790592001,"power":12232,"unknown_58":206,"unknown_85":12544,"ignition":57,"odometer":null,"unknown_45":9128655731689385984}} 
[2026-08-25 20:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":163236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:48:23] local.INFO: GPS data processed {"connection_id":163236,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:48:23] local.INFO: Acknowledgment sent {"connection_id":163236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:48:44] local.INFO: TCP Data received {"connection_id":164615,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:48:44] local.INFO: Processing buffer {"connection_id":164615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:48:44] local.INFO: IMEI packet received {"connection_id":164615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":164615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:48:49] local.INFO: TCP Data received {"connection_id":164615,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:48:49] local.INFO: Processing buffer {"connection_id":164615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:48:49] local.INFO: IMEI packet received {"connection_id":164615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":164615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:48:50] local.INFO: TCP Data received {"connection_id":164615,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:48:50] local.INFO: Processing buffer {"connection_id":164615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:48:50] local.INFO: Packet analysis {"connection_id":164615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:48:50] local.INFO: Extracted packet for processing {"connection_id":164615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:48:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643669248001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787670884000,"timestamp_ms":1787670884000,"timestamp_seconds":1787670884,"priority":1,"record_length":96,"hex_timestamp":"000001a0397ceea0"} 
[2026-08-25 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-25 20:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:48: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-25 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-25 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-25 20:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20: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-25 20:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643669248001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643669248001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:48:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643669248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":164615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:48:50] local.INFO: GPS data processed {"connection_id":164615,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:48:50] local.INFO: Acknowledgment sent {"connection_id":164615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:48:54] local.INFO: TCP Data received {"connection_id":163236,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397fc530012d7eaa8005b47898000a016228..."} 
[2026-08-25 20:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397fc530012d7eaa8005b47898000a016228..."} 
[2026-08-25 20:48:54] local.INFO: Processing buffer {"connection_id":163236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397fc530012d7eaa8005b47898000a016228..."} 
[2026-08-25 20:48:54] local.INFO: Packet analysis {"connection_id":163236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397f"} 
[2026-08-25 20:48:54] local.INFO: Extracted packet for processing {"connection_id":163236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397f"} 
[2026-08-25 20:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763275904,"raw_latitude":95713432,"longitude_deg":76.3275904,"latitude_deg":9.5713432,"altitude":10,"angle":354,"satellites":40,"speed":59,"hex_longitude":"2d7eaa80","hex_latitude":"05b47898","is_valid_coordinates":true} 
[2026-08-25 20:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643792128001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124296516754997248,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128022412994097152,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787671070000,"timestamp_ms":1787671070000,"timestamp_seconds":1787671070,"priority":1,"record_length":96,"hex_timestamp":"000001a0397fc530"} 
[2026-08-25 20:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 20:48:54] 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-25 20:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:48:54] 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-25 20:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643792128001,"66":12330,"11":206,"85":12544,"24":59,"16":124296516754997248,"45":9128022412994097152},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-08-25 20:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643792128001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:48:54] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-25 20:48:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124296516754997248,"km_value":124296516754997.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128022412994097152,"description":"Unknown IO ID 45"} 
[2026-08-25 20:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643792128001,"power":12330,"unknown_11":206,"unknown_85":12544,"ignition":59,"odometer":null,"unknown_45":9128022412994097152}} 
[2026-08-25 20:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":163236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:48:54] local.INFO: GPS data processed {"connection_id":163236,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:48:54] local.INFO: Acknowledgment sent {"connection_id":163236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:48:54] local.INFO: TCP Data received {"connection_id":164615,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:48:54] local.INFO: Processing buffer {"connection_id":164615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:48:54] local.INFO: Packet analysis {"connection_id":164615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:48:54] local.INFO: Extracted packet for processing {"connection_id":164615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:48:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643669248001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787670884000,"timestamp_ms":1787670884000,"timestamp_seconds":1787670884,"priority":1,"record_length":96,"hex_timestamp":"000001a0397ceea0"} 
[2026-08-25 20:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:48:54] 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-25 20:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:48: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-25 20:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643669248001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643669248001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:48:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643669248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":164615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:48:54] local.INFO: GPS data processed {"connection_id":164615,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:48:54] local.INFO: Acknowledgment sent {"connection_id":164615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:49:17] local.INFO: TCP Data received {"connection_id":162238,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:49:17] local.INFO: Processing buffer {"connection_id":162238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:49:17] local.INFO: IMEI packet received {"connection_id":162238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":162238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:49:22] local.INFO: TCP Data received {"connection_id":162238,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:49:22] local.INFO: Processing buffer {"connection_id":162238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:49:22] local.INFO: IMEI packet received {"connection_id":162238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":162238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:49:23] local.INFO: TCP Data received {"connection_id":162238,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397fdca0012d7ea88005b49c380008016429..."} 
[2026-08-25 20:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397fdca0012d7ea88005b49c380008016429..."} 
[2026-08-25 20:49:23] local.INFO: Processing buffer {"connection_id":162238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397fdca0012d7ea88005b49c380008016429..."} 
[2026-08-25 20:49:23] local.INFO: Packet analysis {"connection_id":162238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397f"} 
[2026-08-25 20:49:23] local.INFO: Extracted packet for processing {"connection_id":162238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397f"} 
[2026-08-25 20:49:23] local.INFO: GPS Element Parsed {"raw_longitude":763275392,"raw_latitude":95722552,"longitude_deg":76.3275392,"latitude_deg":9.5722552,"altitude":8,"angle":356,"satellites":41,"speed":61,"hex_longitude":"2d7ea880","hex_latitude":"05b49c38","is_valid_coordinates":true} 
[2026-08-25 20:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643793920001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124296963431596032,"note":"Value kept but may cause issues"} 
[2026-08-25 20:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248356810725376,"note":"Value kept but may cause issues"} 
[2026-08-25 20:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787671076000,"timestamp_ms":1787671076000,"timestamp_seconds":1787671076,"priority":1,"record_length":96,"hex_timestamp":"000001a0397fdca0"} 
[2026-08-25 20:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:49: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-25 20:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 20:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:49:23] 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-25 20:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643793920001,"66":12189,"11":206,"85":12544,"24":61,"16":124296963431596032,"45":9127248356810725376},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-08-25 20:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643793920001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:49:23] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-25 20:49:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124296963431596032,"km_value":124296963431596.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248356810725376,"description":"Unknown IO ID 45"} 
[2026-08-25 20:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643793920001,"power":12189,"unknown_11":206,"unknown_85":12544,"ignition":61,"odometer":null,"unknown_45":9127248356810725376}} 
[2026-08-25 20:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":162238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:49:23] local.INFO: GPS data processed {"connection_id":162238,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:49:23] local.INFO: Acknowledgment sent {"connection_id":162238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:49:39] local.INFO: TCP Data received {"connection_id":163237,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:49:39] local.INFO: Processing buffer {"connection_id":163237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:49:39] local.INFO: IMEI packet received {"connection_id":163237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":163237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:49:44] local.INFO: TCP Data received {"connection_id":163237,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:49:44] local.INFO: Processing buffer {"connection_id":163237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:49:44] local.INFO: IMEI packet received {"connection_id":163237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":163237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:49:45] local.INFO: TCP Data received {"connection_id":163237,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:49:45] local.INFO: Processing buffer {"connection_id":163237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:49:45] local.INFO: Packet analysis {"connection_id":163237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:49:45] local.INFO: Extracted packet for processing {"connection_id":163237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643669248001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:49:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787670884000,"timestamp_ms":1787670884000,"timestamp_seconds":1787670884,"priority":1,"record_length":96,"hex_timestamp":"000001a0397ceea0"} 
[2026-08-25 20:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:49: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-25 20:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643669248001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643669248001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643669248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":163237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:49:45] local.INFO: GPS data processed {"connection_id":163237,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:49:45] local.INFO: Acknowledgment sent {"connection_id":163237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:49:54] local.INFO: TCP Data received {"connection_id":162238,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0397ff410012d7ea64005b4c0100006016429..."} 
[2026-08-25 20:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397ff410012d7ea64005b4c0100006016429..."} 
[2026-08-25 20:49:54] local.INFO: Processing buffer {"connection_id":162238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397ff410012d7ea64005b4c0100006016429..."} 
[2026-08-25 20:49:54] local.INFO: Packet analysis {"connection_id":162238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397f"} 
[2026-08-25 20:49:54] local.INFO: Extracted packet for processing {"connection_id":162238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397f"} 
[2026-08-25 20:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763274816,"raw_latitude":95731728,"longitude_deg":76.3274816,"latitude_deg":9.5731728,"altitude":6,"angle":356,"satellites":41,"speed":59,"hex_longitude":"2d7ea640","hex_latitude":"05b4c010","is_valid_coordinates":true} 
[2026-08-25 20:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643795456001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124297405813227520,"note":"Value kept but may cause issues"} 
[2026-08-25 20:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126685406859638784,"note":"Value kept but may cause issues"} 
[2026-08-25 20:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787671082000,"timestamp_ms":1787671082000,"timestamp_seconds":1787671082,"priority":1,"record_length":96,"hex_timestamp":"000001a0397ff410"} 
[2026-08-25 20:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20: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-25 20:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-25 20:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:49:54] 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-25 20:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643795456001,"66":12428,"11":206,"85":12544,"24":59,"16":124297405813227520,"45":9126685406859638784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-08-25 20:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643795456001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:49:54] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-25 20:49:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124297405813227520,"km_value":124297405813227.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126685406859638784,"description":"Unknown IO ID 45"} 
[2026-08-25 20:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643795456001,"power":12428,"unknown_11":206,"unknown_85":12544,"ignition":59,"odometer":null,"unknown_45":9126685406859638784}} 
[2026-08-25 20:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":162238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:49:54] local.INFO: GPS data processed {"connection_id":162238,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:49:54] local.INFO: Acknowledgment sent {"connection_id":162238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:50:16] local.INFO: TCP Data received {"connection_id":163237,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:50:16] local.INFO: Processing buffer {"connection_id":163237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0397ceea0012d34c14006aa4818000a00e62e..."} 
[2026-08-25 20:50:16] local.INFO: Packet analysis {"connection_id":163237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:50:16] local.INFO: Extracted packet for processing {"connection_id":163237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0397c"} 
[2026-08-25 20:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643669248001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:50:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787670884000,"timestamp_ms":1787670884000,"timestamp_seconds":1787670884,"priority":1,"record_length":96,"hex_timestamp":"000001a0397ceea0"} 
[2026-08-25 20:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 20:50:16] 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-25 20:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643669248001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643669248001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643669248001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":163237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:50:16] local.INFO: GPS data processed {"connection_id":163237,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:50:16] local.INFO: Acknowledgment sent {"connection_id":163237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:50:17] local.INFO: TCP Data received {"connection_id":164616,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:50:17] local.INFO: Processing buffer {"connection_id":164616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:50:17] local.INFO: IMEI packet received {"connection_id":164616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":164616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:50:20] local.INFO: TCP Data received {"connection_id":162237,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:50:20] local.INFO: Processing buffer {"connection_id":162237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:50:20] local.INFO: IMEI packet received {"connection_id":162237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 20:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":162237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:50:21] local.INFO: TCP Data received {"connection_id":164616,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:50:21] local.INFO: Processing buffer {"connection_id":164616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:50:21] local.INFO: IMEI packet received {"connection_id":164616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":164616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:50:22] local.INFO: TCP Data received {"connection_id":164616,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039819dd8012d7ea48005b628c0000900002b..."} 
[2026-08-25 20:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039819dd8012d7ea48005b628c0000900002b..."} 
[2026-08-25 20:50:22] local.INFO: Processing buffer {"connection_id":164616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039819dd8012d7ea48005b628c0000900002b..."} 
[2026-08-25 20:50:22] local.INFO: Packet analysis {"connection_id":164616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:50:22] local.INFO: Extracted packet for processing {"connection_id":164616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:50:22] local.INFO: GPS Element Parsed {"raw_longitude":763274368,"raw_latitude":95824064,"longitude_deg":76.3274368,"latitude_deg":9.5824064,"altitude":9,"angle":0,"satellites":43,"speed":46,"hex_longitude":"2d7ea480","hex_latitude":"05b628c0","is_valid_coordinates":true} 
[2026-08-25 20:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643822592001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124301906938953728,"note":"Value kept but may cause issues"} 
[2026-08-25 20:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125911350697304064,"note":"Value kept but may cause issues"} 
[2026-08-25 20:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787671191000,"timestamp_ms":1787671191000,"timestamp_seconds":1787671191,"priority":1,"record_length":96,"hex_timestamp":"000001a039819dd8"} 
[2026-08-25 20:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:50: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-25 20:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 20:50:22] 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-25 20:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:50:22] 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-25 20:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643822592001,"66":12232,"59":206,"85":12544,"24":46,"16":124301906938953728,"45":9125911350697304064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-25 20:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643822592001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:50:22] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-25 20:50:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124301906938953728,"km_value":124301906938953.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125911350697304064,"description":"Unknown IO ID 45"} 
[2026-08-25 20:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643822592001,"power":12232,"unknown_59":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9125911350697304064}} 
[2026-08-25 20:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":164616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:50:22] local.INFO: GPS data processed {"connection_id":164616,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:50:22] local.INFO: Acknowledgment sent {"connection_id":164616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:50:39] local.INFO: TCP Data received {"connection_id":164617,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:50:39] local.INFO: Processing buffer {"connection_id":164617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:50:39] local.INFO: IMEI packet received {"connection_id":164617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":164617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:50:44] local.INFO: TCP Data received {"connection_id":164617,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:50:44] local.INFO: Processing buffer {"connection_id":164617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:50:44] local.INFO: IMEI packet received {"connection_id":164617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":164617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:50:45] local.INFO: TCP Data received {"connection_id":164617,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:50:45] local.INFO: Processing buffer {"connection_id":164617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:50:45] local.INFO: Packet analysis {"connection_id":164617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:50:45] local.INFO: Extracted packet for processing {"connection_id":164617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643746304001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:50:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787671185000,"timestamp_ms":1787671185000,"timestamp_seconds":1787671185,"priority":1,"record_length":96,"hex_timestamp":"000001a039818668"} 
[2026-08-25 20: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-25 20:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:50:45] 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-25 20: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-25 20: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-25 20:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:50: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-25 20:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643746304001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643746304001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643746304001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":164617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:50:45] local.INFO: GPS data processed {"connection_id":164617,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:50:45] local.INFO: Acknowledgment sent {"connection_id":164617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:50:54] local.INFO: TCP Data received {"connection_id":164616,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03981bd18012d7ea4c005b64de8000a00002a..."} 
[2026-08-25 20:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03981bd18012d7ea4c005b64de8000a00002a..."} 
[2026-08-25 20:50:54] local.INFO: Processing buffer {"connection_id":164616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03981bd18012d7ea4c005b64de8000a00002a..."} 
[2026-08-25 20:50:54] local.INFO: Packet analysis {"connection_id":164616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:50:54] local.INFO: Extracted packet for processing {"connection_id":164616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763274432,"raw_latitude":95833576,"longitude_deg":76.3274432,"latitude_deg":9.5833576,"altitude":10,"angle":0,"satellites":42,"speed":42,"hex_longitude":"2d7ea4c0","hex_latitude":"05b64de8","is_valid_coordinates":true} 
[2026-08-25 20:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643824896001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124302370795421696,"note":"Value kept but may cause issues"} 
[2026-08-25 20:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125559506978783232,"note":"Value kept but may cause issues"} 
[2026-08-25 20:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787671199000,"timestamp_ms":1787671199000,"timestamp_seconds":1787671199,"priority":1,"record_length":96,"hex_timestamp":"000001a03981bd18"} 
[2026-08-25 20:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20: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-25 20:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 20:50:54] 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-25 20:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:50:54] 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-25 20:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643824896001,"66":12069,"59":206,"85":12544,"24":42,"16":124302370795421696,"45":9125559506978783232},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-25 20:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643824896001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:50:54] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-25 20:50:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124302370795421696,"km_value":124302370795421.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125559506978783232,"description":"Unknown IO ID 45"} 
[2026-08-25 20:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643824896001,"power":12069,"unknown_59":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9125559506978783232}} 
[2026-08-25 20:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":164616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:50:54] local.INFO: GPS data processed {"connection_id":164616,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:50:54] local.INFO: Acknowledgment sent {"connection_id":164616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:51:16] local.INFO: TCP Data received {"connection_id":164617,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:51:16] local.INFO: Processing buffer {"connection_id":164617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:51:16] local.INFO: Packet analysis {"connection_id":164617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:51:16] local.INFO: Extracted packet for processing {"connection_id":164617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643746304001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:51:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787671185000,"timestamp_ms":1787671185000,"timestamp_seconds":1787671185,"priority":1,"record_length":96,"hex_timestamp":"000001a039818668"} 
[2026-08-25 20:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:51:16] 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-25 20:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643746304001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643746304001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643746304001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":164617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:51:16] local.INFO: GPS data processed {"connection_id":164617,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:51:16] local.INFO: Acknowledgment sent {"connection_id":164617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:51:17] local.INFO: TCP Data received {"connection_id":162005,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:51:17] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:51:17] local.INFO: IMEI packet received {"connection_id":162005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":162005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:51:22] local.INFO: TCP Data received {"connection_id":162005,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:51:22] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:51:22] local.INFO: IMEI packet received {"connection_id":162005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":162005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:51:23] local.INFO: TCP Data received {"connection_id":162005,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03981e040012d7ea54005b670c8000a01662a..."} 
[2026-08-25 20:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03981e040012d7ea54005b670c8000a01662a..."} 
[2026-08-25 20:51:23] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03981e040012d7ea54005b670c8000a01662a..."} 
[2026-08-25 20:51:23] local.INFO: Packet analysis {"connection_id":162005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:51:23] local.INFO: Extracted packet for processing {"connection_id":162005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:51:23] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95842504,"longitude_deg":76.327456,"latitude_deg":9.5842504,"altitude":10,"angle":358,"satellites":42,"speed":24,"hex_longitude":"2d7ea540","hex_latitude":"05b670c8","is_valid_coordinates":true} 
[2026-08-25 20:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643826944001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124302800292151296,"note":"Value kept but may cause issues"} 
[2026-08-25 20:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125629875725395968,"note":"Value kept but may cause issues"} 
[2026-08-25 20:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787671208000,"timestamp_ms":1787671208000,"timestamp_seconds":1787671208,"priority":1,"record_length":96,"hex_timestamp":"000001a03981e040"} 
[2026-08-25 20:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-25 20:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:51:23] 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-25 20:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643826944001,"66":12058,"59":206,"85":12544,"24":24,"16":124302800292151296,"45":9125629875725395968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-25 20:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643826944001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:51:23] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-25 20:51:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124302800292151296,"km_value":124302800292151.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125629875725395968,"description":"Unknown IO ID 45"} 
[2026-08-25 20:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643826944001,"power":12058,"unknown_59":206,"unknown_85":12544,"ignition":24,"odometer":null,"unknown_45":9125629875725395968}} 
[2026-08-25 20:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":162005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:51:23] local.INFO: GPS data processed {"connection_id":162005,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:51:23] local.INFO: Acknowledgment sent {"connection_id":162005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:51:39] local.INFO: TCP Data received {"connection_id":164618,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:51:39] local.INFO: Processing buffer {"connection_id":164618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:51:39] local.INFO: IMEI packet received {"connection_id":164618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":164618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:51:47] local.INFO: TCP Data received {"connection_id":164618,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:51:47] local.INFO: Processing buffer {"connection_id":164618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:51:47] local.INFO: IMEI packet received {"connection_id":164618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":164618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:51:48] local.INFO: TCP Data received {"connection_id":164618,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:51:48] local.INFO: Processing buffer {"connection_id":164618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:51:48] local.INFO: Packet analysis {"connection_id":164618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:51:48] local.INFO: Extracted packet for processing {"connection_id":164618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643746304001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:51:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787671185000,"timestamp_ms":1787671185000,"timestamp_seconds":1787671185,"priority":1,"record_length":96,"hex_timestamp":"000001a039818668"} 
[2026-08-25 20:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:51:48] 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-25 20:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643746304001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643746304001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643746304001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":164618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:51:48] local.INFO: GPS data processed {"connection_id":164618,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:51:48] local.INFO: Acknowledgment sent {"connection_id":164618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:51:55] local.INFO: TCP Data received {"connection_id":162005,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039820f20012d7ea4c005b693b0000b00012a..."} 
[2026-08-25 20:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039820f20012d7ea4c005b693b0000b00012a..."} 
[2026-08-25 20:51:55] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039820f20012d7ea4c005b693b0000b00012a..."} 
[2026-08-25 20:51:55] local.INFO: Packet analysis {"connection_id":162005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03982"} 
[2026-08-25 20:51:55] local.INFO: Extracted packet for processing {"connection_id":162005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03982"} 
[2026-08-25 20:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763274432,"raw_latitude":95851440,"longitude_deg":76.3274432,"latitude_deg":9.585144,"altitude":11,"angle":1,"satellites":42,"speed":34,"hex_longitude":"2d7ea4c0","hex_latitude":"05b693b0","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643829248001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124303234083848192,"note":"Value kept but may cause issues"} 
[2026-08-25 20:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613216036864,"note":"Value kept but may cause issues"} 
[2026-08-25 20:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787671220000,"timestamp_ms":1787671220000,"timestamp_seconds":1787671220,"priority":1,"record_length":96,"hex_timestamp":"000001a039820f20"} 
[2026-08-25 20: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-25 20: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-25 20: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 20:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:51:55] 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-25 20:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643829248001,"66":12298,"223":206,"85":12544,"24":34,"16":124303234083848192,"45":9125770613216036864},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 20:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643829248001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:51:55] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 20:51:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124303234083848192,"km_value":124303234083848.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613216036864,"description":"Unknown IO ID 45"} 
[2026-08-25 20:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643829248001,"power":12298,"unknown_223":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9125770613216036864}} 
[2026-08-25 20:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":162005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:51:55] local.INFO: GPS data processed {"connection_id":162005,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:51:55] local.INFO: Acknowledgment sent {"connection_id":162005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:52:17] local.INFO: TCP Data received {"connection_id":162239,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:52:17] local.INFO: Processing buffer {"connection_id":162239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:52:17] local.INFO: IMEI packet received {"connection_id":162239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":162239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:52:20] local.INFO: TCP Data received {"connection_id":164618,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:52:20] local.INFO: Processing buffer {"connection_id":164618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:52:20] local.INFO: Packet analysis {"connection_id":164618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:52:20] local.INFO: Extracted packet for processing {"connection_id":164618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643746304001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787671185000,"timestamp_ms":1787671185000,"timestamp_seconds":1787671185,"priority":1,"record_length":96,"hex_timestamp":"000001a039818668"} 
[2026-08-25 20:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:52:20] 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-25 20:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:52: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-25 20:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643746304001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643746304001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643746304001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":164618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:52:20] local.INFO: GPS data processed {"connection_id":164618,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:52:20] local.INFO: Acknowledgment sent {"connection_id":164618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:52:20] local.INFO: TCP Data received {"connection_id":162239,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:52:20] local.INFO: Processing buffer {"connection_id":162239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:52:20] local.INFO: IMEI packet received {"connection_id":162239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":162239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:52:23] local.INFO: TCP Data received {"connection_id":162239,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:52:23] local.INFO: Processing buffer {"connection_id":162239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:52:23] local.INFO: IMEI packet received {"connection_id":162239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":162239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:52:25] local.INFO: TCP Data received {"connection_id":162239,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039823a18012d7ea60005b6b858000b00012a..."} 
[2026-08-25 20:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039823a18012d7ea60005b6b858000b00012a..."} 
[2026-08-25 20:52:25] local.INFO: Processing buffer {"connection_id":162239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039823a18012d7ea60005b6b858000b00012a..."} 
[2026-08-25 20:52:25] local.INFO: Packet analysis {"connection_id":162239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03982"} 
[2026-08-25 20:52:25] local.INFO: Extracted packet for processing {"connection_id":162239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03982"} 
[2026-08-25 20:52:25] local.INFO: GPS Element Parsed {"raw_longitude":763274752,"raw_latitude":95860824,"longitude_deg":76.3274752,"latitude_deg":9.5860824,"altitude":11,"angle":1,"satellites":42,"speed":32,"hex_longitude":"2d7ea600","hex_latitude":"05b6b858","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643832320001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124303689350381568,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125629875729969152,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787671231000,"timestamp_ms":1787671231000,"timestamp_seconds":1787671231,"priority":1,"record_length":96,"hex_timestamp":"000001a039823a18"} 
[2026-08-25 20: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-25 20:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3530848496338862592,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186041,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4143556229818318509,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":64,"raw_value":411453571989832039,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832606,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002798432256206,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":524627,"corrected_to":0} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2089670227099910145,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2172301313,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2839216334,"corrected_to":0} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2605645824,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3051474944,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":6,"raw_value":99405746956926976,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.WARNING: Large IO value detected {"io_id":38,"raw_value":8444249301975044,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:25] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,223,85,24,241,157,16,160,224,45,64,112,10,42,66,59,156,189,192,77,128,1,240,200,227,155,57,182,4,113,205,32,91,171,41,239,48,2,185,5,6,38],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":200,"original":524627,"validated":0},{"io_id":205,"original":2839216334,"validated":0}]} 
[2026-08-25 20:52:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792634814319689728,"timestamp_seconds":792634814319689.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 20: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-25 20:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:52:25] 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-25 20:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643832320001,"66":12145,"223":206,"85":12544,"24":32,"16":124303689350381568,"45":9125629875729969152},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 20:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643832320001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:52:25] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 20:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124303689350381568,"km_value":124303689350381.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125629875729969152,"description":"Unknown IO ID 45"} 
[2026-08-25 20:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643832320001,"power":12145,"unknown_223":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9125629875729969152}} 
[2026-08-25 20:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":162239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:52:25] local.INFO: GPS data processed {"connection_id":162239,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:52:25] local.INFO: Acknowledgment sent {"connection_id":162239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:52:44] local.INFO: TCP Data received {"connection_id":162240,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:52:44] local.INFO: Processing buffer {"connection_id":162240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:52:44] local.INFO: IMEI packet received {"connection_id":162240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":162240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:52:49] local.INFO: TCP Data received {"connection_id":162240,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:52:49] local.INFO: Processing buffer {"connection_id":162240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:52:49] local.INFO: IMEI packet received {"connection_id":162240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":162240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:52:50] local.INFO: TCP Data received {"connection_id":162240,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:52:50] local.INFO: Processing buffer {"connection_id":162240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:52:50] local.INFO: Packet analysis {"connection_id":162240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:52:50] local.INFO: Extracted packet for processing {"connection_id":162240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:52:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643746304001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787671185000,"timestamp_ms":1787671185000,"timestamp_seconds":1787671185,"priority":1,"record_length":96,"hex_timestamp":"000001a039818668"} 
[2026-08-25 20: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-25 20:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:52:50] 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-25 20: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-25 20: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-25 20:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:52: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-25 20:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643746304001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643746304001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:52:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643746304001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":162240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:52:50] local.INFO: GPS data processed {"connection_id":162240,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:52:50] local.INFO: Acknowledgment sent {"connection_id":162240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:52:55] local.INFO: TCP Data received {"connection_id":162240,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:52:55] local.INFO: Processing buffer {"connection_id":162240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:52:55] local.INFO: Packet analysis {"connection_id":162240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:52:55] local.INFO: Extracted packet for processing {"connection_id":162240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:52:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643746304001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787671185000,"timestamp_ms":1787671185000,"timestamp_seconds":1787671185,"priority":1,"record_length":96,"hex_timestamp":"000001a039818668"} 
[2026-08-25 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-25 20:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:52:55] 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-25 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-25 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-25 20:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:52:55] 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-25 20:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643746304001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643746304001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:52:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643746304001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":162240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:52:55] local.INFO: GPS data processed {"connection_id":162240,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:52:55] local.INFO: Acknowledgment sent {"connection_id":162240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:52:56] local.INFO: TCP Data received {"connection_id":162239,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039826ce0012d7ea74005b6dbd0000d000426..."} 
[2026-08-25 20:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039826ce0012d7ea74005b6dbd0000d000426..."} 
[2026-08-25 20:52:56] local.INFO: Processing buffer {"connection_id":162239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039826ce0012d7ea74005b6dbd0000d000426..."} 
[2026-08-25 20:52:56] local.INFO: Packet analysis {"connection_id":162239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03982"} 
[2026-08-25 20:52:56] local.INFO: Extracted packet for processing {"connection_id":162239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03982"} 
[2026-08-25 20:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763275072,"raw_latitude":95869904,"longitude_deg":76.3275072,"latitude_deg":9.5869904,"altitude":13,"angle":4,"satellites":38,"speed":21,"hex_longitude":"2d7ea740","hex_latitude":"05b6dbd0","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643835136001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124304131732013056,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125981719453259776,"note":"Value kept but may cause issues"} 
[2026-08-25 20:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787671244000,"timestamp_ms":1787671244000,"timestamp_seconds":1787671244,"priority":1,"record_length":96,"hex_timestamp":"000001a039826ce0"} 
[2026-08-25 20: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-25 20:52: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-25 20: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-25 20:52:56] 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-25 20: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-25 20: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-25 20:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:52:56] 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-25 20:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643835136001,"66":12015,"223":206,"85":12544,"24":21,"16":124304131732013056,"45":9125981719453259776},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-25 20:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643835136001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:52:56] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-25 20:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124304131732013056,"km_value":124304131732013.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125981719453259776,"description":"Unknown IO ID 45"} 
[2026-08-25 20:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643835136001,"power":12015,"unknown_223":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9125981719453259776}} 
[2026-08-25 20:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":162239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:52:57] local.INFO: GPS data processed {"connection_id":162239,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:52:57] local.INFO: Acknowledgment sent {"connection_id":162239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:53:18] local.INFO: TCP Data received {"connection_id":162241,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:53:18] local.INFO: Processing buffer {"connection_id":162241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:53:18] local.INFO: IMEI packet received {"connection_id":162241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":162241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:53:23] local.INFO: TCP Data received {"connection_id":162241,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:53:23] local.INFO: Processing buffer {"connection_id":162241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:53:23] local.INFO: IMEI packet received {"connection_id":162241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":162241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:53:28] local.INFO: TCP Data received {"connection_id":162241,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:53:28] local.INFO: Processing buffer {"connection_id":162241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:53:28] local.INFO: IMEI packet received {"connection_id":162241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":162241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:53:29] local.INFO: TCP Data received {"connection_id":162241,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039847c38012d7eb2c005b81a70000900052b..."} 
[2026-08-25 20:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039847c38012d7eb2c005b81a70000900052b..."} 
[2026-08-25 20:53:29] local.INFO: Processing buffer {"connection_id":162241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039847c38012d7eb2c005b81a70000900052b..."} 
[2026-08-25 20:53:29] local.INFO: Packet analysis {"connection_id":162241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03984"} 
[2026-08-25 20:53:29] local.INFO: Extracted packet for processing {"connection_id":162241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03984"} 
[2026-08-25 20:53:29] local.INFO: GPS Element Parsed {"raw_longitude":763278016,"raw_latitude":95951472,"longitude_deg":76.3278016,"latitude_deg":9.5951472,"altitude":9,"angle":5,"satellites":43,"speed":26,"hex_longitude":"2d7eb2c0","hex_latitude":"05b81a70","is_valid_coordinates":true} 
[2026-08-25 20:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643872256001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124308095986827264,"note":"Value kept but may cause issues"} 
[2026-08-25 20:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129218681708218368,"note":"Value kept but may cause issues"} 
[2026-08-25 20:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787671379000,"timestamp_ms":1787671379000,"timestamp_seconds":1787671379,"priority":1,"record_length":96,"hex_timestamp":"000001a039847c38"} 
[2026-08-25 20:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-25 20:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:53:29] 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-25 20:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643872256001,"66":11450,"121":206,"85":12544,"24":26,"16":124308095986827264,"45":9129218681708218368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 20:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643872256001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:53:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 20:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124308095986827264,"km_value":124308095986827.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129218681708218368,"description":"Unknown IO ID 45"} 
[2026-08-25 20:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643872256001,"power":11450,"unknown_121":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9129218681708218368}} 
[2026-08-25 20:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":162241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:53:29] local.INFO: GPS data processed {"connection_id":162241,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:53:29] local.INFO: Acknowledgment sent {"connection_id":162241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:53:30] local.INFO: TCP Data received {"connection_id":162241,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03984a348012d7eb40005b83e20000900022b..."} 
[2026-08-25 20:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03984a348012d7eb40005b83e20000900022b..."} 
[2026-08-25 20:53:30] local.INFO: Processing buffer {"connection_id":162241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03984a348012d7eb40005b83e20000900022b..."} 
[2026-08-25 20:53:30] local.INFO: Packet analysis {"connection_id":162241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03984"} 
[2026-08-25 20:53:30] local.INFO: Extracted packet for processing {"connection_id":162241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03984"} 
[2026-08-25 20:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763278336,"raw_latitude":95960608,"longitude_deg":76.3278336,"latitude_deg":9.5960608,"altitude":9,"angle":2,"satellites":43,"speed":41,"hex_longitude":"2d7eb400","hex_latitude":"05b83e20","is_valid_coordinates":true} 
[2026-08-25 20:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643873024001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124308538368458752,"note":"Value kept but may cause issues"} 
[2026-08-25 20:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129570525429526528,"note":"Value kept but may cause issues"} 
[2026-08-25 20:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787671389000,"timestamp_ms":1787671389000,"timestamp_seconds":1787671389,"priority":1,"record_length":96,"hex_timestamp":"000001a03984a348"} 
[2026-08-25 20:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-25 20:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2092,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:53:30] 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-25 20:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643873024001,"66":12232,"121":206,"85":12544,"24":41,"16":124308538368458752,"45":9129570525429526528},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 20:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643873024001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:53:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 20:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124308538368458752,"km_value":124308538368458.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129570525429526528,"description":"Unknown IO ID 45"} 
[2026-08-25 20:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643873024001,"power":12232,"unknown_121":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9129570525429526528}} 
[2026-08-25 20:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":162241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:53:30] local.INFO: GPS data processed {"connection_id":162241,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:53:30] local.INFO: Acknowledgment sent {"connection_id":162241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:53:39] local.INFO: TCP Data received {"connection_id":162007,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:53:39] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:53:39] local.INFO: IMEI packet received {"connection_id":162007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":162007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:53:44] local.INFO: TCP Data received {"connection_id":162007,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:53:44] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:53:44] local.INFO: IMEI packet received {"connection_id":162007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":162007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:53:45] local.INFO: TCP Data received {"connection_id":162007,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:53:45] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:53:45] local.INFO: Packet analysis {"connection_id":162007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:53:45] local.INFO: Extracted packet for processing {"connection_id":162007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643746304001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:53:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787671185000,"timestamp_ms":1787671185000,"timestamp_seconds":1787671185,"priority":1,"record_length":96,"hex_timestamp":"000001a039818668"} 
[2026-08-25 20:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:53:45] 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-25 20:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:53: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-25 20:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643746304001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643746304001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643746304001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":162007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:53:45] local.INFO: GPS data processed {"connection_id":162007,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:53:45] local.INFO: Acknowledgment sent {"connection_id":162007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:54:02] local.INFO: TCP Data received {"connection_id":162241,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03984c288012d7eb58005b861c80008000229..."} 
[2026-08-25 20:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03984c288012d7eb58005b861c80008000229..."} 
[2026-08-25 20:54:02] local.INFO: Processing buffer {"connection_id":162241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03984c288012d7eb58005b861c80008000229..."} 
[2026-08-25 20:54:02] local.INFO: Packet analysis {"connection_id":162241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03984"} 
[2026-08-25 20:54:02] local.INFO: Extracted packet for processing {"connection_id":162241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03984"} 
[2026-08-25 20:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763278720,"raw_latitude":95969736,"longitude_deg":76.327872,"latitude_deg":9.5969736,"altitude":8,"angle":2,"satellites":41,"speed":47,"hex_longitude":"2d7eb580","hex_latitude":"05b861c8","is_valid_coordinates":true} 
[2026-08-25 20:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643875584001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124308980750090240,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129922369152753664,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787671397000,"timestamp_ms":1787671397000,"timestamp_seconds":1787671397,"priority":1,"record_length":96,"hex_timestamp":"000001a03984c288"} 
[2026-08-25 20:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 20:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:54:02] 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-25 20:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643875584001,"66":12156,"121":206,"85":12544,"24":47,"16":124308980750090240,"45":9129922369152753664},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 20:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643875584001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:54:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 20:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124308980750090240,"km_value":124308980750090.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129922369152753664,"description":"Unknown IO ID 45"} 
[2026-08-25 20:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643875584001,"power":12156,"unknown_121":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9129922369152753664}} 
[2026-08-25 20:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":162241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:54:02] local.INFO: GPS data processed {"connection_id":162241,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:54:02] local.INFO: Acknowledgment sent {"connection_id":162241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:54:17] local.INFO: TCP Data received {"connection_id":162007,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:54:17] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:54:17] local.INFO: Packet analysis {"connection_id":162007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:54:17] local.INFO: Extracted packet for processing {"connection_id":162007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643746304001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787671185000,"timestamp_ms":1787671185000,"timestamp_seconds":1787671185,"priority":1,"record_length":96,"hex_timestamp":"000001a039818668"} 
[2026-08-25 20:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:54:17] 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-25 20:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643746304001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643746304001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643746304001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":162007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:54:17] local.INFO: GPS data processed {"connection_id":162007,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:54:17] local.INFO: Acknowledgment sent {"connection_id":162007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:54:20] local.INFO: TCP Data received {"connection_id":162242,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:54:20] local.INFO: Processing buffer {"connection_id":162242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:54:20] local.INFO: IMEI packet received {"connection_id":162242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":162242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:54:22] local.INFO: TCP Data received {"connection_id":162242,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:54:22] local.INFO: Processing buffer {"connection_id":162242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:54:22] local.INFO: IMEI packet received {"connection_id":162242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":162242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:54:23] local.INFO: TCP Data received {"connection_id":162242,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03984e5b0012d7eb70005b88870000700032a..."} 
[2026-08-25 20:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03984e5b0012d7eb70005b88870000700032a..."} 
[2026-08-25 20:54:23] local.INFO: Processing buffer {"connection_id":162242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03984e5b0012d7eb70005b88870000700032a..."} 
[2026-08-25 20:54:23] local.INFO: Packet analysis {"connection_id":162242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03984"} 
[2026-08-25 20:54:23] local.INFO: Extracted packet for processing {"connection_id":162242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03984"} 
[2026-08-25 20:54:23] local.INFO: GPS Element Parsed {"raw_longitude":763279104,"raw_latitude":95979632,"longitude_deg":76.3279104,"latitude_deg":9.5979632,"altitude":7,"angle":3,"satellites":42,"speed":45,"hex_longitude":"2d7eb700","hex_latitude":"05b88870","is_valid_coordinates":true} 
[2026-08-25 20:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643877632001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124309461786427392,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130344581620156416,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787671406000,"timestamp_ms":1787671406000,"timestamp_seconds":1787671406,"priority":1,"record_length":96,"hex_timestamp":"000001a03984e5b0"} 
[2026-08-25 20:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:54: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-25 20:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 20:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:54:23] 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-25 20:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643877632001,"66":12178,"121":206,"85":12544,"24":45,"16":124309461786427392,"45":9130344581620156416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 20:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643877632001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:54:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 20:54:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124309461786427392,"km_value":124309461786427.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130344581620156416,"description":"Unknown IO ID 45"} 
[2026-08-25 20:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643877632001,"power":12178,"unknown_121":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9130344581620156416}} 
[2026-08-25 20:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":162242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:54:23] local.INFO: GPS data processed {"connection_id":162242,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:54:23] local.INFO: Acknowledgment sent {"connection_id":162242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:54:26] local.INFO: TCP Data received {"connection_id":162242,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398504f0012d7ebb0005b8ade0000700082a..."} 
[2026-08-25 20:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398504f0012d7ebb0005b8ade0000700082a..."} 
[2026-08-25 20:54:26] local.INFO: Processing buffer {"connection_id":162242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398504f0012d7ebb0005b8ade0000700082a..."} 
[2026-08-25 20:54:26] local.INFO: Packet analysis {"connection_id":162242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03985"} 
[2026-08-25 20:54:26] local.INFO: Extracted packet for processing {"connection_id":162242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03985"} 
[2026-08-25 20:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763280128,"raw_latitude":95989216,"longitude_deg":76.3280128,"latitude_deg":9.5989216,"altitude":7,"angle":8,"satellites":42,"speed":49,"hex_longitude":"2d7ebb00","hex_latitude":"05b8ade0","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643879936001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124309929937862656,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130766794087755776,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787671414000,"timestamp_ms":1787671414000,"timestamp_seconds":1787671414,"priority":1,"record_length":96,"hex_timestamp":"000001a0398504f0"} 
[2026-08-25 20: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-25 20:54: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-25 20: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-25 20:54:26] 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-25 20: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-25 20: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-25 20:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:54:26] 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-25 20:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643879936001,"66":12211,"121":206,"85":12544,"24":49,"16":124309929937862656,"45":9130766794087755776},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 20:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643879936001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:54:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 20:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124309929937862656,"km_value":124309929937862.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130766794087755776,"description":"Unknown IO ID 45"} 
[2026-08-25 20:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643879936001,"power":12211,"unknown_121":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9130766794087755776}} 
[2026-08-25 20:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":162242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:54:26] local.INFO: GPS data processed {"connection_id":162242,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:54:26] local.INFO: Acknowledgment sent {"connection_id":162242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:54:42] local.INFO: TCP Data received {"connection_id":162243,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:54:42] local.INFO: Processing buffer {"connection_id":162243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:54:42] local.INFO: IMEI packet received {"connection_id":162243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":162243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:54:44] local.INFO: TCP Data received {"connection_id":162243,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:54:44] local.INFO: Processing buffer {"connection_id":162243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:54:44] local.INFO: IMEI packet received {"connection_id":162243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":162243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:54:46] local.INFO: TCP Data received {"connection_id":162243,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:54:46] local.INFO: Processing buffer {"connection_id":162243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:54:46] local.INFO: Packet analysis {"connection_id":162243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:54:46] local.INFO: Extracted packet for processing {"connection_id":162243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643746304001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787671185000,"timestamp_ms":1787671185000,"timestamp_seconds":1787671185,"priority":1,"record_length":96,"hex_timestamp":"000001a039818668"} 
[2026-08-25 20:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:54:46] 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-25 20:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:54:46] 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-25 20:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643746304001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643746304001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643746304001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":162243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:54:46] local.INFO: GPS data processed {"connection_id":162243,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:54:46] local.INFO: Acknowledgment sent {"connection_id":162243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:54:53] local.INFO: TCP Data received {"connection_id":162243,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:54:53] local.INFO: Processing buffer {"connection_id":162243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:54:53] local.INFO: Packet analysis {"connection_id":162243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:54:53] local.INFO: Extracted packet for processing {"connection_id":162243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643746304001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787671185000,"timestamp_ms":1787671185000,"timestamp_seconds":1787671185,"priority":1,"record_length":96,"hex_timestamp":"000001a039818668"} 
[2026-08-25 20: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-25 20:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:54:53] 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-25 20: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-25 20: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-25 20:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:54: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-25 20:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643746304001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643746304001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643746304001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":162243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:54:53] local.INFO: GPS data processed {"connection_id":162243,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:54:53] local.INFO: Acknowledgment sent {"connection_id":162243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:54:57] local.INFO: TCP Data received {"connection_id":162242,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039852430012d7ec00005b8d2d8000800092c..."} 
[2026-08-25 20:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039852430012d7ec00005b8d2d8000800092c..."} 
[2026-08-25 20:54:57] local.INFO: Processing buffer {"connection_id":162242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039852430012d7ec00005b8d2d8000800092c..."} 
[2026-08-25 20:54:57] local.INFO: Packet analysis {"connection_id":162242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03985"} 
[2026-08-25 20:54:57] local.INFO: Extracted packet for processing {"connection_id":162242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03985"} 
[2026-08-25 20:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763281408,"raw_latitude":95998680,"longitude_deg":76.3281408,"latitude_deg":9.599868,"altitude":8,"angle":9,"satellites":44,"speed":45,"hex_longitude":"2d7ec000","hex_latitude":"05b8d2d8","is_valid_coordinates":true} 
[2026-08-25 20:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643881984001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124310393794330624,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131892693997051904,"note":"Value kept but may cause issues"} 
[2026-08-25 20:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787671422000,"timestamp_ms":1787671422000,"timestamp_seconds":1787671422,"priority":1,"record_length":96,"hex_timestamp":"000001a039852430"} 
[2026-08-25 20:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:54: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-25 20:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-25 20:54:57] 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-25 20:54: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-25 20:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:54:57] 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-25 20:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643881984001,"66":12037,"121":206,"85":12544,"24":45,"16":124310393794330624,"45":9131892693997051904},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 20:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643881984001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:54:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 20:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124310393794330624,"km_value":124310393794330.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131892693997051904,"description":"Unknown IO ID 45"} 
[2026-08-25 20:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643881984001,"power":12037,"unknown_121":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9131892693997051904}} 
[2026-08-25 20:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":162242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:54:58] local.INFO: GPS data processed {"connection_id":162242,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:54:58] local.INFO: Acknowledgment sent {"connection_id":162242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:55:17] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:55:17] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:55:17] local.INFO: IMEI packet received {"connection_id":162008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":162008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:55:22] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:55:22] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:55:22] local.INFO: IMEI packet received {"connection_id":162008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":162008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:55:23] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039854370012d7ec5c005b8f738000600072b..."} 
[2026-08-25 20:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039854370012d7ec5c005b8f738000600072b..."} 
[2026-08-25 20:55:23] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039854370012d7ec5c005b8f738000600072b..."} 
[2026-08-25 20:55:23] local.INFO: Packet analysis {"connection_id":162008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03985"} 
[2026-08-25 20:55:23] local.INFO: Extracted packet for processing {"connection_id":162008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03985"} 
[2026-08-25 20:55:23] local.INFO: GPS Element Parsed {"raw_longitude":763282880,"raw_latitude":96007992,"longitude_deg":76.328288,"latitude_deg":9.6007992,"altitude":6,"angle":7,"satellites":43,"speed":46,"hex_longitude":"2d7ec5c0","hex_latitude":"05b8f738","is_valid_coordinates":true} 
[2026-08-25 20:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643884032001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124310849060864000,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133300068883027968,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787671430000,"timestamp_ms":1787671430000,"timestamp_seconds":1787671430,"priority":1,"record_length":96,"hex_timestamp":"000001a039854370"} 
[2026-08-25 20:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:55: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-25 20:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-25 20:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1369094286888403968,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:23] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2225293313,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6162893728887275496,"corrected_to":0} 
[2026-08-25 20:55:23] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3221600282,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:23] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182246889488640,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3120614826,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:23] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2710437888,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-5182508474952576725,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:23] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194855680,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,85,24,241,157,16,163,160,4,45,173,7,42,10,66,229,136,162,194,128,1,240,124,227,57,184,113,205,41,178,112,43,239,44,2,185,5,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":205,"original":-6162893728887275496,"validated":0}]} 
[2026-08-25 20:55:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576470836889583616,"timestamp_seconds":576470836889583.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 20:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:55:23] 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-25 20:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643884032001,"66":12232,"121":206,"85":12544,"24":46,"16":124310849060864000,"45":9133300068883027968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 20:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643884032001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:55:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 20:55:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124310849060864000,"km_value":124310849060864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133300068883027968,"description":"Unknown IO ID 45"} 
[2026-08-25 20:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643884032001,"power":12232,"unknown_121":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9133300068883027968}} 
[2026-08-25 20:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":162008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:55:23] local.INFO: GPS data processed {"connection_id":162008,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:55:23] local.INFO: Acknowledgment sent {"connection_id":162008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:55:24] local.INFO: TCP Data received {"connection_id":162243,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:55:24] local.INFO: Processing buffer {"connection_id":162243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039818668012d34c14006aa4818000800e630..."} 
[2026-08-25 20:55:24] local.INFO: Packet analysis {"connection_id":162243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:55:24] local.INFO: Extracted packet for processing {"connection_id":162243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03981"} 
[2026-08-25 20:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643746304001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787671185000,"timestamp_ms":1787671185000,"timestamp_seconds":1787671185,"priority":1,"record_length":96,"hex_timestamp":"000001a039818668"} 
[2026-08-25 20:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:55:24] 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-25 20:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:55: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-25 20:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643746304001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643746304001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643746304001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":162243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:55:24] local.INFO: GPS data processed {"connection_id":162243,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:55:24] local.INFO: Acknowledgment sent {"connection_id":162243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:55:39] local.INFO: TCP Data received {"connection_id":162244,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:55:39] local.INFO: Processing buffer {"connection_id":162244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:55:39] local.INFO: IMEI packet received {"connection_id":162244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":162244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:55:44] local.INFO: TCP Data received {"connection_id":162244,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:55:44] local.INFO: Processing buffer {"connection_id":162244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:55:44] local.INFO: IMEI packet received {"connection_id":162244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":162244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:55:45] local.INFO: TCP Data received {"connection_id":162244,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:55:45] local.INFO: Processing buffer {"connection_id":162244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:55:45] local.INFO: Packet analysis {"connection_id":162244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:55:45] local.INFO: Extracted packet for processing {"connection_id":162244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:55:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643823360001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787671486000,"timestamp_ms":1787671486000,"timestamp_seconds":1787671486,"priority":1,"record_length":96,"hex_timestamp":"000001a039861e30"} 
[2026-08-25 20: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-25 20:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:55:45] 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-25 20: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-25 20: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-25 20:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643823360001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643823360001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:55:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643823360001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":162244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:55:45] local.INFO: GPS data processed {"connection_id":162244,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:55:45] local.INFO: Acknowledgment sent {"connection_id":162244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:55:54] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398562b0012d7ec9c005b91ae8000600052b..."} 
[2026-08-25 20:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398562b0012d7ec9c005b91ae8000600052b..."} 
[2026-08-25 20:55:54] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398562b0012d7ec9c005b91ae8000600052b..."} 
[2026-08-25 20:55:54] local.INFO: Packet analysis {"connection_id":162008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03985"} 
[2026-08-25 20:55:54] local.INFO: Extracted packet for processing {"connection_id":162008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03985"} 
[2026-08-25 20:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763283904,"raw_latitude":96017128,"longitude_deg":76.3283904,"latitude_deg":9.6017128,"altitude":6,"angle":5,"satellites":43,"speed":43,"hex_longitude":"2d7ec9c0","hex_latitude":"05b91ae8","is_valid_coordinates":true} 
[2026-08-25 20:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643886080001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124311295737462784,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134918550001498112,"note":"Value kept but may cause issues"} 
[2026-08-25 20:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787671438000,"timestamp_ms":1787671438000,"timestamp_seconds":1787671438,"priority":1,"record_length":96,"hex_timestamp":"000001a0398562b0"} 
[2026-08-25 20:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:55: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-25 20:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 20:55:54] 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-25 20:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:55:54] 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-25 20:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643886080001,"66":12145,"121":206,"85":12544,"24":43,"16":124311295737462784,"45":9134918550001498112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 20:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643886080001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:55:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 20:55:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124311295737462784,"km_value":124311295737462.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134918550001498112,"description":"Unknown IO ID 45"} 
[2026-08-25 20:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643886080001,"power":12145,"unknown_121":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9134918550001498112}} 
[2026-08-25 20:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":162008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:55:54] local.INFO: GPS data processed {"connection_id":162008,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:55:54] local.INFO: Acknowledgment sent {"connection_id":162008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:55:56] local.INFO: TCP Data received {"connection_id":162006,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:55:56] local.INFO: Processing buffer {"connection_id":162006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 20:55:56] local.INFO: IMEI packet received {"connection_id":162006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 20:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":162006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:56:16] local.INFO: TCP Data received {"connection_id":162244,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:56:16] local.INFO: Processing buffer {"connection_id":162244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:56:16] local.INFO: Packet analysis {"connection_id":162244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:56:16] local.INFO: Extracted packet for processing {"connection_id":162244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643823360001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:56:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787671486000,"timestamp_ms":1787671486000,"timestamp_seconds":1787671486,"priority":1,"record_length":96,"hex_timestamp":"000001a039861e30"} 
[2026-08-25 20:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:56:16] 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-25 20:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643823360001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643823360001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:56:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643823360001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":162244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:56:16] local.INFO: GPS data processed {"connection_id":162244,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:56:16] local.INFO: Acknowledgment sent {"connection_id":162244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:56:17] local.INFO: TCP Data received {"connection_id":164619,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:56:17] local.INFO: Processing buffer {"connection_id":164619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:56:17] local.INFO: IMEI packet received {"connection_id":164619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":164619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:56:22] local.INFO: TCP Data received {"connection_id":164619,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:56:22] local.INFO: Processing buffer {"connection_id":164619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:56:22] local.INFO: IMEI packet received {"connection_id":164619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":164619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:56:24] local.INFO: TCP Data received {"connection_id":164619,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039858da8012d7ecc4005b93e30000600022a..."} 
[2026-08-25 20:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039858da8012d7ecc4005b93e30000600022a..."} 
[2026-08-25 20:56:24] local.INFO: Processing buffer {"connection_id":164619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039858da8012d7ecc4005b93e30000600022a..."} 
[2026-08-25 20:56:24] local.INFO: Packet analysis {"connection_id":164619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03985"} 
[2026-08-25 20:56:24] local.INFO: Extracted packet for processing {"connection_id":164619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03985"} 
[2026-08-25 20:56:24] local.INFO: GPS Element Parsed {"raw_longitude":763284544,"raw_latitude":96026160,"longitude_deg":76.3284544,"latitude_deg":9.602616,"altitude":6,"angle":2,"satellites":42,"speed":24,"hex_longitude":"2d7ecc40","hex_latitude":"05b93e30","is_valid_coordinates":true} 
[2026-08-25 20:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643888128001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124311733824126976,"note":"Value kept but may cause issues"} 
[2026-08-25 20:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136044449910679552,"note":"Value kept but may cause issues"} 
[2026-08-25 20:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787671449000,"timestamp_ms":1787671449000,"timestamp_seconds":1787671449,"priority":1,"record_length":96,"hex_timestamp":"000001a039858da8"} 
[2026-08-25 20:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:56: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-25 20:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-25 20:56:24] 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-25 20:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:56:24] 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-25 20:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643888128001,"66":12287,"121":206,"85":12544,"24":24,"16":124311733824126976,"45":9136044449910679552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 20:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643888128001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:56:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 20:56:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124311733824126976,"km_value":124311733824126.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136044449910679552,"description":"Unknown IO ID 45"} 
[2026-08-25 20:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643888128001,"power":12287,"unknown_121":206,"unknown_85":12544,"ignition":24,"odometer":null,"unknown_45":9136044449910679552}} 
[2026-08-25 20:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":164619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:56:24] local.INFO: GPS data processed {"connection_id":164619,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:56:24] local.INFO: Acknowledgment sent {"connection_id":164619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:56:39] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:56:39] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:56:39] local.INFO: IMEI packet received {"connection_id":162009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":162009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:56:44] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:56:44] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:56:44] local.INFO: IMEI packet received {"connection_id":162009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":162009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:56:45] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:56:45] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:56:45] local.INFO: Packet analysis {"connection_id":162009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:56:45] local.INFO: Extracted packet for processing {"connection_id":162009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643823360001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:56:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787671486000,"timestamp_ms":1787671486000,"timestamp_seconds":1787671486,"priority":1,"record_length":96,"hex_timestamp":"000001a039861e30"} 
[2026-08-25 20: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-25 20:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:56:45] 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-25 20: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-25 20: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-25 20:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643823360001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643823360001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643823360001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":162009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:56:45] local.INFO: GPS data processed {"connection_id":162009,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:56:45] local.INFO: Acknowledgment sent {"connection_id":162009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:56:55] local.INFO: TCP Data received {"connection_id":164619,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03985bc88012d7ed10005b962a8000600092a..."} 
[2026-08-25 20:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03985bc88012d7ed10005b962a8000600092a..."} 
[2026-08-25 20:56:55] local.INFO: Processing buffer {"connection_id":164619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03985bc88012d7ed10005b962a8000600092a..."} 
[2026-08-25 20:56:55] local.INFO: Packet analysis {"connection_id":164619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03985"} 
[2026-08-25 20:56:55] local.INFO: Extracted packet for processing {"connection_id":164619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03985"} 
[2026-08-25 20:56:55] local.INFO: GPS Element Parsed {"raw_longitude":763285760,"raw_latitude":96035496,"longitude_deg":76.328576,"latitude_deg":9.6035496,"altitude":6,"angle":9,"satellites":42,"speed":34,"hex_longitude":"2d7ed100","hex_latitude":"05b962a8","is_valid_coordinates":true} 
[2026-08-25 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-25 20:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643890944001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124312193385627648,"note":"Value kept but may cause issues"} 
[2026-08-25 20:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136748137354768384,"note":"Value kept but may cause issues"} 
[2026-08-25 20:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787671461000,"timestamp_ms":1787671461000,"timestamp_seconds":1787671461,"priority":1,"record_length":96,"hex_timestamp":"000001a03985bc88"} 
[2026-08-25 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-25 20:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 20:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 20:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:56:55] 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-25 20:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643890944001,"66":12113,"121":206,"85":12544,"24":34,"16":124312193385627648,"45":9136748137354768384},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 20:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643890944001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:56:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 20:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124312193385627648,"km_value":124312193385627.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136748137354768384,"description":"Unknown IO ID 45"} 
[2026-08-25 20:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643890944001,"power":12113,"unknown_121":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9136748137354768384}} 
[2026-08-25 20:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":164619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:56:55] local.INFO: GPS data processed {"connection_id":164619,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:56:55] local.INFO: Acknowledgment sent {"connection_id":164619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:57:16] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:57:16] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:57:16] local.INFO: Packet analysis {"connection_id":162009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:57:16] local.INFO: Extracted packet for processing {"connection_id":162009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643823360001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787671486000,"timestamp_ms":1787671486000,"timestamp_seconds":1787671486,"priority":1,"record_length":96,"hex_timestamp":"000001a039861e30"} 
[2026-08-25 20: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-25 20:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:57:16] 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-25 20: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-25 20: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-25 20:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643823360001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643823360001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643823360001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":162009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:57:16] local.INFO: GPS data processed {"connection_id":162009,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:57:16] local.INFO: Acknowledgment sent {"connection_id":162009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:57:22] local.INFO: TCP Data received {"connection_id":162245,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:57:22] local.INFO: Processing buffer {"connection_id":162245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:57:22] local.INFO: IMEI packet received {"connection_id":162245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":162245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:57:26] local.INFO: TCP Data received {"connection_id":162245,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:57:26] local.INFO: Processing buffer {"connection_id":162245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:57:26] local.INFO: IMEI packet received {"connection_id":162245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":162245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:57:27] local.INFO: TCP Data received {"connection_id":162245,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039883940012d7f0c8005bacf380008000a2c..."} 
[2026-08-25 20:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039883940012d7f0c8005bacf380008000a2c..."} 
[2026-08-25 20:57:27] local.INFO: Processing buffer {"connection_id":162245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039883940012d7f0c8005bacf380008000a2c..."} 
[2026-08-25 20:57:27] local.INFO: Packet analysis {"connection_id":162245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03988"} 
[2026-08-25 20:57:27] local.INFO: Extracted packet for processing {"connection_id":162245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03988"} 
[2026-08-25 20:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763300992,"raw_latitude":96128824,"longitude_deg":76.3300992,"latitude_deg":9.6128824,"altitude":8,"angle":10,"satellites":44,"speed":29,"hex_longitude":"2d7f0c80","hex_latitude":"05bacf38","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643930624001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124316784705667072,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153284792260493312,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787671624000,"timestamp_ms":1787671624000,"timestamp_seconds":1787671624,"priority":1,"record_length":96,"hex_timestamp":"000001a039883940"} 
[2026-08-25 20: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-25 20:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-25 20:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20: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-25 20: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-25 20:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:57:27] 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-25 20:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643930624001,"66":12037,"128":206,"85":12544,"24":29,"16":124316784705667072,"45":9153284792260493312},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-08-25 20:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643930624001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:57:27] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-25 20:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124316784705667072,"km_value":124316784705667.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153284792260493312,"description":"Unknown IO ID 45"} 
[2026-08-25 20:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643930624001,"power":12037,"unknown_128":206,"unknown_85":12544,"ignition":29,"odometer":null,"unknown_45":9153284792260493312}} 
[2026-08-25 20:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":162245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:57:27] local.INFO: GPS data processed {"connection_id":162245,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:57:27] local.INFO: Acknowledgment sent {"connection_id":162245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:57:28] local.INFO: TCP Data received {"connection_id":162245,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039886438012d7f13c005baf418000700082b..."} 
[2026-08-25 20:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039886438012d7f13c005baf418000700082b..."} 
[2026-08-25 20:57:28] local.INFO: Processing buffer {"connection_id":162245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039886438012d7f13c005baf418000700082b..."} 
[2026-08-25 20:57:28] local.INFO: Packet analysis {"connection_id":162245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03988"} 
[2026-08-25 20:57:28] local.INFO: Extracted packet for processing {"connection_id":162245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03988"} 
[2026-08-25 20:57:28] local.INFO: GPS Element Parsed {"raw_longitude":763302848,"raw_latitude":96138264,"longitude_deg":76.3302848,"latitude_deg":9.6138264,"altitude":7,"angle":8,"satellites":43,"speed":37,"hex_longitude":"2d7f13c0","hex_latitude":"05baf418","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643935744001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124317252857102336,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154832904634710016,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787671635000,"timestamp_ms":1787671635000,"timestamp_seconds":1787671635,"priority":1,"record_length":96,"hex_timestamp":"000001a039886438"} 
[2026-08-25 20: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-25 20:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-25 20:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2449958197457323008,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:28] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:28] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2266509313,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6449435255178723304,"corrected_to":0} 
[2026-08-25 20:57:28] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":268512638,"corrected_to":0} 
[2026-08-25 20:57:28] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2147859001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:28] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182251184455936,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:28] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2814115840,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-5037891909608011223,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:28] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194847232,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,128,85,24,241,157,16,169,160,235,45,172,8,10,66,153,192,9,42,127,168,74,1,240,37,227,57,186,4,113,205,25,202,245,239,44,2,185,5,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":205,"original":-6449435255178723304,"validated":0},{"io_id":202,"original":268512638,"validated":0}]} 
[2026-08-25 20:57:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576471936400162816,"timestamp_seconds":576471936400162.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 20: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-25 20:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:57:28] 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-25 20:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643935744001,"66":12287,"128":206,"85":12544,"24":37,"16":124317252857102336,"45":9154832904634710016},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,85,24,16,45]} 
[2026-08-25 20:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643935744001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:57:28] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-25 20:57:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124317252857102336,"km_value":124317252857102.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154832904634710016,"description":"Unknown IO ID 45"} 
[2026-08-25 20:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643935744001,"power":12287,"unknown_128":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9154832904634710016}} 
[2026-08-25 20:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":162245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:57:28] local.INFO: GPS data processed {"connection_id":162245,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:57:28] local.INFO: Acknowledgment sent {"connection_id":162245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:57:44] local.INFO: TCP Data received {"connection_id":164620,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:57:44] local.INFO: Processing buffer {"connection_id":164620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:57:44] local.INFO: IMEI packet received {"connection_id":164620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":164620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:57:49] local.INFO: TCP Data received {"connection_id":164620,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:57:49] local.INFO: Processing buffer {"connection_id":164620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:57:49] local.INFO: IMEI packet received {"connection_id":164620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":164620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:57:50] local.INFO: TCP Data received {"connection_id":164620,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:57:50] local.INFO: Processing buffer {"connection_id":164620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:57:50] local.INFO: Packet analysis {"connection_id":164620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:57:50] local.INFO: Extracted packet for processing {"connection_id":164620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:57:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643823360001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787671486000,"timestamp_ms":1787671486000,"timestamp_seconds":1787671486,"priority":1,"record_length":96,"hex_timestamp":"000001a039861e30"} 
[2026-08-25 20: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-25 20:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:57:50] 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-25 20: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-25 20: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-25 20:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:57: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-25 20:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643823360001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643823360001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:57:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643823360001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":164620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:57:50] local.INFO: GPS data processed {"connection_id":164620,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:57:50] local.INFO: Acknowledgment sent {"connection_id":164620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:57:54] local.INFO: TCP Data received {"connection_id":164620,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:57:54] local.INFO: Processing buffer {"connection_id":164620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:57:54] local.INFO: Packet analysis {"connection_id":164620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:57:54] local.INFO: Extracted packet for processing {"connection_id":164620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643823360001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787671486000,"timestamp_ms":1787671486000,"timestamp_seconds":1787671486,"priority":1,"record_length":96,"hex_timestamp":"000001a039861e30"} 
[2026-08-25 20: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-25 20:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:57:54] 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-25 20: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-25 20: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-25 20:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:57: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-25 20:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643823360001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643823360001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:57:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643823360001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":164620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:57:54] local.INFO: GPS data processed {"connection_id":164620,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:57:54] local.INFO: Acknowledgment sent {"connection_id":164620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:57:59] local.INFO: TCP Data received {"connection_id":162245,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039888b48012d7f190005bb17d8000600092a..."} 
[2026-08-25 20:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039888b48012d7f190005bb17d8000600092a..."} 
[2026-08-25 20:57:59] local.INFO: Processing buffer {"connection_id":162245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039888b48012d7f190005bb17d8000600092a..."} 
[2026-08-25 20:57:59] local.INFO: Packet analysis {"connection_id":162245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03988"} 
[2026-08-25 20:57:59] local.INFO: Extracted packet for processing {"connection_id":162245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03988"} 
[2026-08-25 20:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763304192,"raw_latitude":96147416,"longitude_deg":76.3304192,"latitude_deg":9.6147416,"altitude":6,"angle":9,"satellites":42,"speed":34,"hex_longitude":"2d7f1900","hex_latitude":"05bb17d8","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643938560001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124317699533701120,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156873598218278912,"note":"Value kept but may cause issues"} 
[2026-08-25 20:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787671645000,"timestamp_ms":1787671645000,"timestamp_seconds":1787671645,"priority":1,"record_length":96,"hex_timestamp":"000001a039888b48"} 
[2026-08-25 20: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-25 20:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-25 20:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20: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-25 20: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-25 20:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:57:59] 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-25 20:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643938560001,"66":11634,"125":206,"85":12544,"24":34,"16":124317699533701120,"45":9156873598218278912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-08-25 20:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643938560001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:57:59] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-25 20:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124317699533701120,"km_value":124317699533701.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156873598218278912,"description":"Unknown IO ID 45"} 
[2026-08-25 20:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643938560001,"power":11634,"unknown_125":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9156873598218278912}} 
[2026-08-25 20:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":162245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:57:59] local.INFO: GPS data processed {"connection_id":162245,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:57:59] local.INFO: Acknowledgment sent {"connection_id":162245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:58:17] local.INFO: TCP Data received {"connection_id":163238,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:58:17] local.INFO: Processing buffer {"connection_id":163238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:58:17] local.INFO: IMEI packet received {"connection_id":163238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":163238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:58:23] local.INFO: TCP Data received {"connection_id":163238,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:58:23] local.INFO: Processing buffer {"connection_id":163238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:58:23] local.INFO: IMEI packet received {"connection_id":163238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":163238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:58:24] local.INFO: TCP Data received {"connection_id":163238,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03988b258012d7f1e8005bb35500007001c29..."} 
[2026-08-25 20:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03988b258012d7f1e8005bb35500007001c29..."} 
[2026-08-25 20:58:24] local.INFO: Processing buffer {"connection_id":163238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03988b258012d7f1e8005bb35500007001c29..."} 
[2026-08-25 20:58:24] local.INFO: Packet analysis {"connection_id":163238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03988"} 
[2026-08-25 20:58:24] local.INFO: Extracted packet for processing {"connection_id":163238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03988"} 
[2026-08-25 20:58:24] local.INFO: GPS Element Parsed {"raw_longitude":763305600,"raw_latitude":96154960,"longitude_deg":76.33056,"latitude_deg":9.615496,"altitude":7,"angle":28,"satellites":41,"speed":26,"hex_longitude":"2d7f1e80","hex_latitude":"05bb3550","is_valid_coordinates":true} 
[2026-08-25 20:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643941120001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124318073195855872,"note":"Value kept but may cause issues"} 
[2026-08-25 20:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158351341848352768,"note":"Value kept but may cause issues"} 
[2026-08-25 20:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787671655000,"timestamp_ms":1787671655000,"timestamp_seconds":1787671655,"priority":1,"record_length":96,"hex_timestamp":"000001a03988b258"} 
[2026-08-25 20:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-25 20:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:58:24] 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-25 20:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643941120001,"66":12189,"125":206,"85":12544,"24":26,"16":124318073195855872,"45":9158351341848352768},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-08-25 20:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643941120001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:58:24] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-25 20:58:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124318073195855872,"km_value":124318073195855.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158351341848352768,"description":"Unknown IO ID 45"} 
[2026-08-25 20:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643941120001,"power":12189,"unknown_125":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9158351341848352768}} 
[2026-08-25 20:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":163238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:58:24] local.INFO: GPS data processed {"connection_id":163238,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:58:24] local.INFO: Acknowledgment sent {"connection_id":163238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:58:40] local.INFO: TCP Data received {"connection_id":162246,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:58:40] local.INFO: Processing buffer {"connection_id":162246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:58:40] local.INFO: IMEI packet received {"connection_id":162246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":162246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:58:44] local.INFO: TCP Data received {"connection_id":162246,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:58:44] local.INFO: Processing buffer {"connection_id":162246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:58:44] local.INFO: IMEI packet received {"connection_id":162246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":162246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:58:45] local.INFO: TCP Data received {"connection_id":162246,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:58:45] local.INFO: Processing buffer {"connection_id":162246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:58:45] local.INFO: Packet analysis {"connection_id":162246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:58:45] local.INFO: Extracted packet for processing {"connection_id":162246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643823360001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:58:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787671486000,"timestamp_ms":1787671486000,"timestamp_seconds":1787671486,"priority":1,"record_length":96,"hex_timestamp":"000001a039861e30"} 
[2026-08-25 20:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:58:45] 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-25 20:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643823360001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643823360001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643823360001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":162246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:58:45] local.INFO: GPS data processed {"connection_id":162246,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:58:45] local.INFO: Acknowledgment sent {"connection_id":162246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:58:50] local.INFO: TCP Data received {"connection_id":162246,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:58:50] local.INFO: Processing buffer {"connection_id":162246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:58:50] local.INFO: Packet analysis {"connection_id":162246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:58:50] local.INFO: Extracted packet for processing {"connection_id":162246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:58:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643823360001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:58:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787671486000,"timestamp_ms":1787671486000,"timestamp_seconds":1787671486,"priority":1,"record_length":96,"hex_timestamp":"000001a039861e30"} 
[2026-08-25 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-25 20:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:58:50] 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-25 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-25 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-25 20:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:58: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-25 20:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643823360001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643823360001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:58:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643823360001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":162246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:58:50] local.INFO: GPS data processed {"connection_id":162246,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:58:50] local.INFO: Acknowledgment sent {"connection_id":162246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:58:55] local.INFO: TCP Data received {"connection_id":163238,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03988c5e0012d7f248005bb40000006000e2c..."} 
[2026-08-25 20:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03988c5e0012d7f248005bb40000006000e2c..."} 
[2026-08-25 20:58:55] local.INFO: Processing buffer {"connection_id":163238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03988c5e0012d7f248005bb40000006000e2c..."} 
[2026-08-25 20:58:55] local.INFO: Packet analysis {"connection_id":163238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03988"} 
[2026-08-25 20:58:55] local.INFO: Extracted packet for processing {"connection_id":163238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03988"} 
[2026-08-25 20:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763307136,"raw_latitude":96157696,"longitude_deg":76.3307136,"latitude_deg":9.6157696,"altitude":6,"angle":14,"satellites":44,"speed":27,"hex_longitude":"2d7f2480","hex_latitude":"05bb4000","is_valid_coordinates":true} 
[2026-08-25 20:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643943680001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124318223519711232,"note":"Value kept but may cause issues"} 
[2026-08-25 20:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159899454222192640,"note":"Value kept but may cause issues"} 
[2026-08-25 20:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787671660000,"timestamp_ms":1787671660000,"timestamp_seconds":1787671660,"priority":1,"record_length":96,"hex_timestamp":"000001a03988c5e0"} 
[2026-08-25 20:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-25 20:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:58:55] 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-25 20:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643943680001,"66":12232,"125":206,"85":12544,"24":27,"16":124318223519711232,"45":9159899454222192640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-08-25 20:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643943680001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:58:55] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-25 20:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124318223519711232,"km_value":124318223519711.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159899454222192640,"description":"Unknown IO ID 45"} 
[2026-08-25 20:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643943680001,"power":12232,"unknown_125":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9159899454222192640}} 
[2026-08-25 20:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":163238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:58:55] local.INFO: GPS data processed {"connection_id":163238,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:58:55] local.INFO: Acknowledgment sent {"connection_id":163238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:59:14] local.INFO: TCP Data received {"connection_id":162247,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:59:14] local.INFO: Processing buffer {"connection_id":162247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:59:14] local.INFO: IMEI packet received {"connection_id":162247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 20:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":162247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:59:17] local.INFO: TCP Data received {"connection_id":162247,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:59:17] local.INFO: Processing buffer {"connection_id":162247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:59:17] local.INFO: IMEI packet received {"connection_id":162247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":162247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:59:21] local.INFO: TCP Data received {"connection_id":162246,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:59:21] local.INFO: Processing buffer {"connection_id":162246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:59:21] local.INFO: Packet analysis {"connection_id":162246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:59:21] local.INFO: Extracted packet for processing {"connection_id":162246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:59:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 20:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643823360001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:59:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787671486000,"timestamp_ms":1787671486000,"timestamp_seconds":1787671486,"priority":1,"record_length":96,"hex_timestamp":"000001a039861e30"} 
[2026-08-25 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-25 20:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:59:21] 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-25 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-25 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-25 20:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:59: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-25 20:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643823360001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643823360001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:59:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643823360001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":162246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:59:21] local.INFO: GPS data processed {"connection_id":162246,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:59:21] local.INFO: Acknowledgment sent {"connection_id":162246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:59:21] local.INFO: TCP Data received {"connection_id":162247,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:59:21] local.INFO: Processing buffer {"connection_id":162247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 20:59:21] local.INFO: IMEI packet received {"connection_id":162247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 20:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":162247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:59:22] local.INFO: TCP Data received {"connection_id":162247,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03988f0d8012d7f2b4005bb62e00005000a2c..."} 
[2026-08-25 20:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03988f0d8012d7f2b4005bb62e00005000a2c..."} 
[2026-08-25 20:59:22] local.INFO: Processing buffer {"connection_id":162247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03988f0d8012d7f2b4005bb62e00005000a2c..."} 
[2026-08-25 20:59:22] local.INFO: Packet analysis {"connection_id":162247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03988"} 
[2026-08-25 20:59:22] local.INFO: Extracted packet for processing {"connection_id":162247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03988"} 
[2026-08-25 20:59:22] local.INFO: GPS Element Parsed {"raw_longitude":763308864,"raw_latitude":96166624,"longitude_deg":76.3308864,"latitude_deg":9.6166624,"altitude":5,"angle":10,"satellites":44,"speed":35,"hex_longitude":"2d7f2b40","hex_latitude":"05bb62e0","is_valid_coordinates":true} 
[2026-08-25 20: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-25 20:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643944960001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124318665901342720,"note":"Value kept but may cause issues"} 
[2026-08-25 20:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161588304083156992,"note":"Value kept but may cause issues"} 
[2026-08-25 20:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787671671000,"timestamp_ms":1787671671000,"timestamp_seconds":1787671671,"priority":1,"record_length":96,"hex_timestamp":"000001a03988f0d8"} 
[2026-08-25 20: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-25 20:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-25 20:59:22] 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-25 20: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-25 20: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-25 20:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:59:22] 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-25 20:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643944960001,"66":12102,"120":206,"85":12544,"24":35,"16":124318665901342720,"45":9161588304083156992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-25 20:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643944960001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:59:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 20:59:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124318665901342720,"km_value":124318665901342.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161588304083156992,"description":"Unknown IO ID 45"} 
[2026-08-25 20:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643944960001,"power":12102,"unknown_120":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9161588304083156992}} 
[2026-08-25 20:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":162247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:59:22] local.INFO: GPS data processed {"connection_id":162247,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:59:22] local.INFO: Acknowledgment sent {"connection_id":162247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:59:39] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:59:39] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:59:39] local.INFO: IMEI packet received {"connection_id":162011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 20:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":162011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 20:59:44] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:59:44] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 20:59:44] local.INFO: IMEI packet received {"connection_id":162011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 20:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":162011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 20:59:45] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:59:45] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 20:59:45] local.INFO: Packet analysis {"connection_id":162011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:59:45] local.INFO: Extracted packet for processing {"connection_id":162011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 20:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 20:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643823360001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:59:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 20:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 20:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 20:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 20:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787671486000,"timestamp_ms":1787671486000,"timestamp_seconds":1787671486,"priority":1,"record_length":96,"hex_timestamp":"000001a039861e30"} 
[2026-08-25 20:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 20:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 20:59:45] 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-25 20:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 20:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 20:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 20:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 20:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643823360001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 20:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 20:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 20:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643823360001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 20:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 20:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643823360001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 20:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":162011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:59:45] local.INFO: GPS data processed {"connection_id":162011,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:59:45] local.INFO: Acknowledgment sent {"connection_id":162011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 20:59:54] local.INFO: TCP Data received {"connection_id":162247,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398a67d8012d7f70c005bcf3d0000d000b2d..."} 
[2026-08-25 20:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398a67d8012d7f70c005bcf3d0000d000b2d..."} 
[2026-08-25 20:59:54] local.INFO: Processing buffer {"connection_id":162247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398a67d8012d7f70c005bcf3d0000d000b2d..."} 
[2026-08-25 20:59:54] local.INFO: Packet analysis {"connection_id":162247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 20:59:54] local.INFO: Extracted packet for processing {"connection_id":162247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 20:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763326656,"raw_latitude":96269264,"longitude_deg":76.3326656,"latitude_deg":9.6269264,"altitude":13,"angle":11,"satellites":45,"speed":52,"hex_longitude":"2d7f70c0","hex_latitude":"05bcf3d0","is_valid_coordinates":true} 
[2026-08-25 20:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 20:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643970560001,"note":"Value kept but may cause issues"} 
[2026-08-25 20:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124323716782882816,"note":"Value kept but may cause issues"} 
[2026-08-25 20:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9180869340013940736,"note":"Value kept but may cause issues"} 
[2026-08-25 20:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 20:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787671767000,"timestamp_ms":1787671767000,"timestamp_seconds":1787671767,"priority":1,"record_length":96,"hex_timestamp":"000001a0398a67d8"} 
[2026-08-25 20:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 20:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 20:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 20:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 20:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 20:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 20:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 20:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 20:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 20:59:54] 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-25 20:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 20:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 20:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643970560001,"66":10406,"120":206,"85":12544,"24":52,"16":124323716782882816,"45":9180869340013940736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-25 20:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 20:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 20:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643970560001,"description":"Unknown IO ID 0"} 
[2026-08-25 20:59:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-25 20:59:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 20:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124323716782882816,"km_value":124323716782882.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 20:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9180869340013940736,"description":"Unknown IO ID 45"} 
[2026-08-25 20:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643970560001,"power":10406,"unknown_120":206,"unknown_85":12544,"ignition":52,"odometer":null,"unknown_45":9180869340013940736}} 
[2026-08-25 20:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":162247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 20:59:54] local.INFO: GPS data processed {"connection_id":162247,"processed":1,"errors":0,"total":1} 
[2026-08-25 20:59:54] local.INFO: Acknowledgment sent {"connection_id":162247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:00:16] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 21:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 21:00:16] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039861e30012d34c14006aa4818000400e631..."} 
[2026-08-25 21:00:16] local.INFO: Packet analysis {"connection_id":162011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 21:00:16] local.INFO: Extracted packet for processing {"connection_id":162011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03986"} 
[2026-08-25 21:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643823360001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:00:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787671486000,"timestamp_ms":1787671486000,"timestamp_seconds":1787671486,"priority":1,"record_length":96,"hex_timestamp":"000001a039861e30"} 
[2026-08-25 21:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:00:16] 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-25 21:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:00: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-25 21:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643823360001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643823360001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643823360001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":162011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:00:16] local.INFO: GPS data processed {"connection_id":162011,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:00:16] local.INFO: Acknowledgment sent {"connection_id":162011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:00:17] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:00:17] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:00:17] local.INFO: IMEI packet received {"connection_id":164621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":164621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:00:19] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:00:19] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:00:19] local.INFO: IMEI packet received {"connection_id":164621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":164621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:00:22] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:00:22] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:00:22] local.INFO: IMEI packet received {"connection_id":164621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":164621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:00:24] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398a8718012d7f770005bd1868000e00072d..."} 
[2026-08-25 21:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398a8718012d7f770005bd1868000e00072d..."} 
[2026-08-25 21:00:24] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398a8718012d7f770005bd1868000e00072d..."} 
[2026-08-25 21:00:24] local.INFO: Packet analysis {"connection_id":164621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:00:24] local.INFO: Extracted packet for processing {"connection_id":164621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763328256,"raw_latitude":96278632,"longitude_deg":76.3328256,"latitude_deg":9.6278632,"altitude":14,"angle":7,"satellites":45,"speed":41,"hex_longitude":"2d7f7700","hex_latitude":"05bd1868","is_valid_coordinates":true} 
[2026-08-25 21:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643972352001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124324180639350784,"note":"Value kept but may cause issues"} 
[2026-08-25 21:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183050771085905920,"note":"Value kept but may cause issues"} 
[2026-08-25 21:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787671775000,"timestamp_ms":1787671775000,"timestamp_seconds":1787671775,"priority":1,"record_length":96,"hex_timestamp":"000001a0398a8718"} 
[2026-08-25 21:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 21:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:00:24] 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-25 21:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643972352001,"66":10395,"121":206,"85":12544,"24":41,"16":124324180639350784,"45":9183050771085905920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 21:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643972352001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:00:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 21:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 21:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124324180639350784,"km_value":124324180639350.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183050771085905920,"description":"Unknown IO ID 45"} 
[2026-08-25 21:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643972352001,"power":10395,"unknown_121":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9183050771085905920}} 
[2026-08-25 21:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":164621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:00:24] local.INFO: GPS data processed {"connection_id":164621,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:00:24] local.INFO: Acknowledgment sent {"connection_id":164621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:00:39] local.INFO: TCP Data received {"connection_id":163239,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:00:39] local.INFO: Processing buffer {"connection_id":163239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:00:39] local.INFO: IMEI packet received {"connection_id":163239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":163239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:00:46] local.INFO: TCP Data received {"connection_id":163239,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:00:46] local.INFO: Processing buffer {"connection_id":163239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:00:46] local.INFO: IMEI packet received {"connection_id":163239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":163239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:00:47] local.INFO: TCP Data received {"connection_id":163239,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:00:47] local.INFO: Processing buffer {"connection_id":163239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:00:47] local.INFO: Packet analysis {"connection_id":163239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:00:47] local.INFO: Extracted packet for processing {"connection_id":163239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643900416001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:00:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787671787000,"timestamp_ms":1787671787000,"timestamp_seconds":1787671787,"priority":1,"record_length":96,"hex_timestamp":"000001a0398ab5f8"} 
[2026-08-25 21:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:00:47] 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-25 21:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643900416001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643900416001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643900416001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":163239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:00:47] local.INFO: GPS data processed {"connection_id":163239,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:00:47] local.INFO: Acknowledgment sent {"connection_id":163239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:00:55] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398aaa40012d7f7c0005bd3d80000f00072d..."} 
[2026-08-25 21:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398aaa40012d7f7c0005bd3d80000f00072d..."} 
[2026-08-25 21:00:55] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398aaa40012d7f7c0005bd3d80000f00072d..."} 
[2026-08-25 21:00:55] local.INFO: Packet analysis {"connection_id":164621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:00:55] local.INFO: Extracted packet for processing {"connection_id":164621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763329536,"raw_latitude":96288128,"longitude_deg":76.3329536,"latitude_deg":9.6288128,"altitude":15,"angle":7,"satellites":45,"speed":46,"hex_longitude":"2d7f7c00","hex_latitude":"05bd3d80","is_valid_coordinates":true} 
[2026-08-25 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-25 21:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643974400001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124324644495818752,"note":"Value kept but may cause issues"} 
[2026-08-25 21:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184809989692745728,"note":"Value kept but may cause issues"} 
[2026-08-25 21:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787671784000,"timestamp_ms":1787671784000,"timestamp_seconds":1787671784,"priority":1,"record_length":96,"hex_timestamp":"000001a0398aaa40"} 
[2026-08-25 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-25 21:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":40,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-25 21:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1793,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 21:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:00:55] 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-25 21:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643974400001,"66":10406,"121":206,"85":12544,"24":46,"16":124324644495818752,"45":9184809989692745728},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-25 21:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643974400001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:00:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-25 21:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 21:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124324644495818752,"km_value":124324644495818.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184809989692745728,"description":"Unknown IO ID 45"} 
[2026-08-25 21:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643974400001,"power":10406,"unknown_121":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9184809989692745728}} 
[2026-08-25 21:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":164621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:00:55] local.INFO: GPS data processed {"connection_id":164621,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:00:55] local.INFO: Acknowledgment sent {"connection_id":164621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:01:17] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:01:17] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:01:17] local.INFO: IMEI packet received {"connection_id":162012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":162012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:01:19] local.INFO: TCP Data received {"connection_id":163239,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:01:19] local.INFO: Processing buffer {"connection_id":163239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:01:19] local.INFO: Packet analysis {"connection_id":163239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:01:19] local.INFO: Extracted packet for processing {"connection_id":163239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643900416001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787671787000,"timestamp_ms":1787671787000,"timestamp_seconds":1787671787,"priority":1,"record_length":96,"hex_timestamp":"000001a0398ab5f8"} 
[2026-08-25 21:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:01:19] 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-25 21:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:01:19] 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-25 21:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643900416001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643900416001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643900416001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":163239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:01:19] local.INFO: GPS data processed {"connection_id":163239,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:01:19] local.INFO: Acknowledgment sent {"connection_id":163239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:01:20] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:01:20] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:01:20] local.INFO: IMEI packet received {"connection_id":162012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":162012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:01:29] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:01:29] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:01:29] local.INFO: IMEI packet received {"connection_id":162012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":162012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:01:29] local.INFO: TCP Data received {"connection_id":162010,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:01:29] local.INFO: Processing buffer {"connection_id":162010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:01:29] local.INFO: IMEI packet received {"connection_id":162010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 21:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":162010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:01:30] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398ac980012d7f820005bd6318000d00092e..."} 
[2026-08-25 21:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398ac980012d7f820005bd6318000d00092e..."} 
[2026-08-25 21:01:30] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398ac980012d7f820005bd6318000d00092e..."} 
[2026-08-25 21:01:30] local.INFO: Packet analysis {"connection_id":162012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:01:30] local.INFO: Extracted packet for processing {"connection_id":162012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763331072,"raw_latitude":96297752,"longitude_deg":76.3331072,"latitude_deg":9.6297752,"altitude":13,"angle":9,"satellites":46,"speed":47,"hex_longitude":"2d7f8200","hex_latitude":"05bd6318","is_valid_coordinates":true} 
[2026-08-25 21:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643976704001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124325116942221312,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9186217364578729984,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787671792000,"timestamp_ms":1787671792000,"timestamp_seconds":1787671792,"priority":1,"record_length":96,"hex_timestamp":"000001a0398ac980"} 
[2026-08-25 21:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 21:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:01:30] 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-25 21:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643976704001,"66":10330,"119":206,"85":12544,"24":47,"16":124325116942221312,"45":9186217364578729984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-25 21:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643976704001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:01:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-25 21:01:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 21:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124325116942221312,"km_value":124325116942221.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9186217364578729984,"description":"Unknown IO ID 45"} 
[2026-08-25 21:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643976704001,"power":10330,"unknown_119":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9186217364578729984}} 
[2026-08-25 21:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":162012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:01:30] local.INFO: GPS data processed {"connection_id":162012,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:01:30] local.INFO: Acknowledgment sent {"connection_id":162012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:01:31] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398ae8c0012d7f894005bd8550000b000b2e..."} 
[2026-08-25 21:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398ae8c0012d7f894005bd8550000b000b2e..."} 
[2026-08-25 21:01:31] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398ae8c0012d7f894005bd8550000b000b2e..."} 
[2026-08-25 21:01:31] local.INFO: Packet analysis {"connection_id":162012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:01:31] local.INFO: Extracted packet for processing {"connection_id":162012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763332928,"raw_latitude":96306512,"longitude_deg":76.3332928,"latitude_deg":9.6306512,"altitude":11,"angle":11,"satellites":46,"speed":42,"hex_longitude":"2d7f8940","hex_latitude":"05bd8550","is_valid_coordinates":true} 
[2026-08-25 21:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643978752001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124325550733918208,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9187906214441457664,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787671800000,"timestamp_ms":1787671800000,"timestamp_seconds":1787671800,"priority":1,"record_length":96,"hex_timestamp":"000001a0398ae8c0"} 
[2026-08-25 21:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-08-25 21:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1208,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:01:31] 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-25 21:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643978752001,"66":10450,"119":206,"85":12544,"24":42,"16":124325550733918208,"45":9187906214441457664},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-25 21:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643978752001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:01:31] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-25 21:01:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-25 21:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124325550733918208,"km_value":124325550733918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9187906214441457664,"description":"Unknown IO ID 45"} 
[2026-08-25 21:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643978752001,"power":10450,"unknown_119":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9187906214441457664}} 
[2026-08-25 21:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":162012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:01:31] local.INFO: GPS data processed {"connection_id":162012,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:01:31] local.INFO: Acknowledgment sent {"connection_id":162012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:01:44] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:01:44] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:01:44] local.INFO: IMEI packet received {"connection_id":162248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":162248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:01:49] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:01:49] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:01:49] local.INFO: IMEI packet received {"connection_id":162248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":162248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:01:50] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:01:50] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:01:50] local.INFO: Packet analysis {"connection_id":162248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:01:50] local.INFO: Extracted packet for processing {"connection_id":162248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643900416001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787671787000,"timestamp_ms":1787671787000,"timestamp_seconds":1787671787,"priority":1,"record_length":96,"hex_timestamp":"000001a0398ab5f8"} 
[2026-08-25 21: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-25 21:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:01:50] 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-25 21: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-25 21: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-25 21:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:01: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-25 21:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643900416001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643900416001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643900416001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":162248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:01:50] local.INFO: GPS data processed {"connection_id":162248,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:01:50] local.INFO: Acknowledgment sent {"connection_id":162248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:01:55] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:01:55] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:01:55] local.INFO: Packet analysis {"connection_id":162248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:01:55] local.INFO: Extracted packet for processing {"connection_id":162248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 21:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643900416001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787671787000,"timestamp_ms":1787671787000,"timestamp_seconds":1787671787,"priority":1,"record_length":96,"hex_timestamp":"000001a0398ab5f8"} 
[2026-08-25 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-25 21:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:01:55] 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-25 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-25 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-25 21:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:01: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-25 21:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643900416001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643900416001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:01:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643900416001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":162248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:01:55] local.INFO: GPS data processed {"connection_id":162248,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:01:55] local.INFO: Acknowledgment sent {"connection_id":162248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:02:02] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398c6790012d7fcf0005bf0d68000900072f..."} 
[2026-08-25 21:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398c6790012d7fcf0005bf0d68000900072f..."} 
[2026-08-25 21:02:02] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398c6790012d7fcf0005bf0d68000900072f..."} 
[2026-08-25 21:02:02] local.INFO: Packet analysis {"connection_id":162012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398c"} 
[2026-08-25 21:02:02] local.INFO: Extracted packet for processing {"connection_id":162012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398c"} 
[2026-08-25 21:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763350784,"raw_latitude":96406888,"longitude_deg":76.3350784,"latitude_deg":9.6406888,"altitude":9,"angle":7,"satellites":47,"speed":38,"hex_longitude":"2d7fcf00","hex_latitude":"05bf0d68","is_valid_coordinates":true} 
[2026-08-25 21:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644003328001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124330494241275904,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9208031675301750784,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787671898000,"timestamp_ms":1787671898000,"timestamp_seconds":1787671898,"priority":1,"record_length":96,"hex_timestamp":"000001a0398c6790"} 
[2026-08-25 21:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 21:02:02] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2343309313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2809594062,"corrected_to":0} 
[2026-08-25 21:02:02] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3489738111,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:02] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3875589543,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:02] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,119,85,24,241,157,16,181,160,29,45,192,196,13,46,10,66,250,128,162,180,207,1,240,210,227,57,190,4,113,205,43,140,171,64,239,40],"length":431,"final_offset":561,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2809594062,"validated":0}]} 
[2026-08-25 21:02:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648528443812085760,"timestamp_seconds":648528443812085.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:02:02] 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-25 21:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644003328001,"66":10145,"179":206,"85":12288,"24":38,"16":124330494241275904,"45":9208031675301750784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-25 21:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644003328001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:02:02] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-25 21:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124330494241275904,"km_value":124330494241275.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9208031675301750784,"description":"Unknown IO ID 45"} 
[2026-08-25 21:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644003328001,"power":10145,"unknown_179":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9208031675301750784}} 
[2026-08-25 21:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":162012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:02:02] local.INFO: GPS data processed {"connection_id":162012,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:02:02] local.INFO: Acknowledgment sent {"connection_id":162012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:02:17] local.INFO: TCP Data received {"connection_id":164622,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:02:17] local.INFO: Processing buffer {"connection_id":164622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:02:17] local.INFO: IMEI packet received {"connection_id":164622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":164622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:02:22] local.INFO: TCP Data received {"connection_id":164622,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:02:22] local.INFO: Processing buffer {"connection_id":164622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:02:22] local.INFO: IMEI packet received {"connection_id":164622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":164622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:02:23] local.INFO: TCP Data received {"connection_id":164622,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398c8ea0012d7fd40005bf31d8000a00082f..."} 
[2026-08-25 21:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398c8ea0012d7fd40005bf31d8000a00082f..."} 
[2026-08-25 21:02:23] local.INFO: Processing buffer {"connection_id":164622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398c8ea0012d7fd40005bf31d8000a00082f..."} 
[2026-08-25 21:02:23] local.INFO: Packet analysis {"connection_id":164622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398c"} 
[2026-08-25 21:02:23] local.INFO: Extracted packet for processing {"connection_id":164622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398c"} 
[2026-08-25 21:02:23] local.INFO: GPS Element Parsed {"raw_longitude":763352064,"raw_latitude":96416216,"longitude_deg":76.3352064,"latitude_deg":9.6416216,"altitude":10,"angle":8,"satellites":47,"speed":38,"hex_longitude":"2d7fd400","hex_latitude":"05bf31d8","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644005888001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124330949507809280,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9209579787676116992,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787671908000,"timestamp_ms":1787671908000,"timestamp_seconds":1787671908,"priority":1,"record_length":96,"hex_timestamp":"000001a0398c8ea0"} 
[2026-08-25 21: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-25 21:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":39,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-25 21:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1842,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:02:23] 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-25 21:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644005888001,"66":10493,"179":206,"85":12288,"24":38,"16":124330949507809280,"45":9209579787676116992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-25 21:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644005888001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:02:23] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-25 21:02:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124330949507809280,"km_value":124330949507809.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9209579787676116992,"description":"Unknown IO ID 45"} 
[2026-08-25 21:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644005888001,"power":10493,"unknown_179":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9209579787676116992}} 
[2026-08-25 21:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":164622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:02:23] local.INFO: GPS data processed {"connection_id":164622,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:02:23] local.INFO: Acknowledgment sent {"connection_id":164622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:02:39] local.INFO: TCP Data received {"connection_id":163240,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:02:39] local.INFO: Processing buffer {"connection_id":163240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:02:39] local.INFO: IMEI packet received {"connection_id":163240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":163240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:02:44] local.INFO: TCP Data received {"connection_id":163240,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:02:44] local.INFO: Processing buffer {"connection_id":163240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:02:44] local.INFO: IMEI packet received {"connection_id":163240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":163240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:02:45] local.INFO: TCP Data received {"connection_id":163240,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:02:45] local.INFO: Processing buffer {"connection_id":163240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:02:45] local.INFO: Packet analysis {"connection_id":163240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:02:45] local.INFO: Extracted packet for processing {"connection_id":163240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643900416001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787671787000,"timestamp_ms":1787671787000,"timestamp_seconds":1787671787,"priority":1,"record_length":96,"hex_timestamp":"000001a0398ab5f8"} 
[2026-08-25 21:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:02:45] 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-25 21:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643900416001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643900416001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643900416001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":163240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:02:45] local.INFO: GPS data processed {"connection_id":163240,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:02:45] local.INFO: Acknowledgment sent {"connection_id":163240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:02:54] local.INFO: TCP Data received {"connection_id":164622,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398cb1c8012d7fda0005bf5798000a00092f..."} 
[2026-08-25 21:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398cb1c8012d7fda0005bf5798000a00092f..."} 
[2026-08-25 21:02:54] local.INFO: Processing buffer {"connection_id":164622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398cb1c8012d7fda0005bf5798000a00092f..."} 
[2026-08-25 21:02:54] local.INFO: Packet analysis {"connection_id":164622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398c"} 
[2026-08-25 21:02:54] local.INFO: Extracted packet for processing {"connection_id":164622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398c"} 
[2026-08-25 21:02:54] local.INFO: GPS Element Parsed {"raw_longitude":763353600,"raw_latitude":96425880,"longitude_deg":76.33536,"latitude_deg":9.642588,"altitude":10,"angle":9,"satellites":47,"speed":47,"hex_longitude":"2d7fda00","hex_latitude":"05bf5798","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644008448001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124331421954211840,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9210987162562058240,"note":"Value kept but may cause issues"} 
[2026-08-25 21:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787671917000,"timestamp_ms":1787671917000,"timestamp_seconds":1787671917,"priority":1,"record_length":96,"hex_timestamp":"000001a0398cb1c8"} 
[2026-08-25 21: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-25 21:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":40,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-08-25 21:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2675,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:02:54] 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-25 21:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644008448001,"66":10450,"179":206,"85":12288,"24":47,"16":124331421954211840,"45":9210987162562058240},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-25 21:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644008448001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:02:54] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-25 21:02:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124331421954211840,"km_value":124331421954211.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9210987162562058240,"description":"Unknown IO ID 45"} 
[2026-08-25 21:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644008448001,"power":10450,"unknown_179":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9210987162562058240}} 
[2026-08-25 21:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":164622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:02:54] local.INFO: GPS data processed {"connection_id":164622,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:02:54] local.INFO: Acknowledgment sent {"connection_id":164622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:03:17] local.INFO: TCP Data received {"connection_id":163240,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:03:17] local.INFO: Processing buffer {"connection_id":163240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:03:17] local.INFO: Packet analysis {"connection_id":163240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:03:17] local.INFO: Extracted packet for processing {"connection_id":163240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643900416001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787671787000,"timestamp_ms":1787671787000,"timestamp_seconds":1787671787,"priority":1,"record_length":96,"hex_timestamp":"000001a0398ab5f8"} 
[2026-08-25 21:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:03:17] 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-25 21:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643900416001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643900416001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643900416001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":163240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:03:17] local.INFO: GPS data processed {"connection_id":163240,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:03:17] local.INFO: Acknowledgment sent {"connection_id":163240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:03:22] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:03:22] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:03:22] local.INFO: IMEI packet received {"connection_id":163241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":163241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:03:25] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:03:25] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:03:25] local.INFO: IMEI packet received {"connection_id":163241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":163241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:03:26] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398cd108012d7fdf8005bf79f8000a00082f..."} 
[2026-08-25 21:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398cd108012d7fdf8005bf79f8000a00082f..."} 
[2026-08-25 21:03:26] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398cd108012d7fdf8005bf79f8000a00082f..."} 
[2026-08-25 21:03:26] local.INFO: Packet analysis {"connection_id":163241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398c"} 
[2026-08-25 21:03:26] local.INFO: Extracted packet for processing {"connection_id":163241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398c"} 
[2026-08-25 21:03:26] local.INFO: GPS Element Parsed {"raw_longitude":763355008,"raw_latitude":96434680,"longitude_deg":76.3355008,"latitude_deg":9.643468,"altitude":10,"angle":8,"satellites":47,"speed":41,"hex_longitude":"2d7fdf80","hex_latitude":"05bf79f8","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644010752001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124331855745908736,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212676012424796160,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787671925000,"timestamp_ms":1787671925000,"timestamp_seconds":1787671925,"priority":1,"record_length":96,"hex_timestamp":"000001a0398cd108"} 
[2026-08-25 21: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-25 21:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":40,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-08-25 21:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2288,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:03:26] 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-25 21:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644010752001,"66":10265,"179":206,"85":12288,"24":41,"16":124331855745908736,"45":9212676012424796160},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-25 21:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644010752001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:03:26] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-25 21:03:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124331855745908736,"km_value":124331855745908.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212676012424796160,"description":"Unknown IO ID 45"} 
[2026-08-25 21:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644010752001,"power":10265,"unknown_179":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9212676012424796160}} 
[2026-08-25 21:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":163241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:03:26] local.INFO: GPS data processed {"connection_id":163241,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:03:26] local.INFO: Acknowledgment sent {"connection_id":163241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:03:27] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398cf430012d7fe58005bf9f30000b00092e..."} 
[2026-08-25 21:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398cf430012d7fe58005bf9f30000b00092e..."} 
[2026-08-25 21:03:27] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398cf430012d7fe58005bf9f30000b00092e..."} 
[2026-08-25 21:03:27] local.INFO: Packet analysis {"connection_id":163241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398c"} 
[2026-08-25 21:03:27] local.INFO: Extracted packet for processing {"connection_id":163241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398c"} 
[2026-08-25 21:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763356544,"raw_latitude":96444208,"longitude_deg":76.3356544,"latitude_deg":9.6444208,"altitude":11,"angle":9,"satellites":46,"speed":43,"hex_longitude":"2d7fe580","hex_latitude":"05bf9f30","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644012800001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124332323897344000,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214224124798957568,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] 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-25 21:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787671934000,"timestamp_ms":1787671934000,"timestamp_seconds":1787671934,"priority":1,"record_length":96,"hex_timestamp":"000001a0398cf430"} 
[2026-08-25 21: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-25 21:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":40,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":177,"raw_value":-9221755365664749312,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788839,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2353037313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":190,"raw_value":-6757651185034318336,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847657200,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2809594062,"corrected_to":0} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3523268007,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3221601988,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":139,"raw_value":-418833470417108987,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":36,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":167,"raw_value":8575080555803056128,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":97,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6138687870164140034,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":185,"raw_value":-5456392423536066560,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3458811792820537856,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:27] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,179,85,24,241,157,16,183,160,177,45,87,10,47,66,182,142,49,103,1,240,161,227,181,57,190,4,113,205,40,29,195,46,239,119,139,36,167,97,206,185,9],"length":629,"final_offset":759,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2809594062,"validated":0}]} 
[2026-08-25 21:03:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720584938338451456,"timestamp_seconds":720584938338451.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21: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-25 21:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:03:27] 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-25 21:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644012800001,"66":10243,"227":206,"85":12288,"24":43,"16":124332323897344000,"45":9214224124798957568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-25 21:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644012800001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:03:27] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-25 21:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124332323897344000,"km_value":124332323897344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214224124798957568,"description":"Unknown IO ID 45"} 
[2026-08-25 21:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644012800001,"power":10243,"unknown_227":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9214224124798957568}} 
[2026-08-25 21:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":163241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:03:27] local.INFO: GPS data processed {"connection_id":163241,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:03:27] local.INFO: Acknowledgment sent {"connection_id":163241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:03:39] local.INFO: TCP Data received {"connection_id":162250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:03:39] local.INFO: Processing buffer {"connection_id":162250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:03:39] local.INFO: IMEI packet received {"connection_id":162250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":162250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:03:45] local.INFO: TCP Data received {"connection_id":162250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:03:45] local.INFO: Processing buffer {"connection_id":162250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:03:45] local.INFO: IMEI packet received {"connection_id":162250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":162250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:03:47] local.INFO: TCP Data received {"connection_id":162250,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:03:47] local.INFO: Processing buffer {"connection_id":162250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:03:47] local.INFO: Packet analysis {"connection_id":162250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:03:47] local.INFO: Extracted packet for processing {"connection_id":162250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643900416001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787671787000,"timestamp_ms":1787671787000,"timestamp_seconds":1787671787,"priority":1,"record_length":96,"hex_timestamp":"000001a0398ab5f8"} 
[2026-08-25 21:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:03:47] 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-25 21:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643900416001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643900416001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643900416001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":162250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:03:47] local.INFO: GPS data processed {"connection_id":162250,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:03:47] local.INFO: Acknowledgment sent {"connection_id":162250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:03:58] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398d1758012d7febc005bfc5c8000a00092e..."} 
[2026-08-25 21:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398d1758012d7febc005bfc5c8000a00092e..."} 
[2026-08-25 21:03:58] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398d1758012d7febc005bfc5c8000a00092e..."} 
[2026-08-25 21:03:58] local.INFO: Packet analysis {"connection_id":163241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398d"} 
[2026-08-25 21:03:58] local.INFO: Extracted packet for processing {"connection_id":163241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398d"} 
[2026-08-25 21:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763358144,"raw_latitude":96454088,"longitude_deg":76.3358144,"latitude_deg":9.6454088,"altitude":10,"angle":9,"satellites":46,"speed":46,"hex_longitude":"2d7febc0","hex_latitude":"05bfc5c8","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644015104001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124332809228648448,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9215912974661660672,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:58] 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-25 21:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787671943000,"timestamp_ms":1787671943000,"timestamp_seconds":1787671943,"priority":1,"record_length":96,"hex_timestamp":"000001a0398d1758"} 
[2026-08-25 21: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-25 21:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 21:03:58] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2355597313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2008219854,"corrected_to":0} 
[2026-08-25 21:03:58] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147560831,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:58] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2147860199,"note":"Value kept but may cause issues"} 
[2026-08-25 21:03:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,227,85,24,241,157,16,183,160,209,45,128,121,10,47,66,179,177,87,182,142,1,240,253,57,191,4,113,205,38,64,201,232,239,40,119],"length":431,"final_offset":561,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2008219854,"validated":0}]} 
[2026-08-25 21:03:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792643627593170944,"timestamp_seconds":792643627593171.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21: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-25 21:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:03:58] 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-25 21:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644015104001,"66":9949,"227":206,"85":12288,"24":46,"16":124332809228648448,"45":9215912974661660672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-25 21:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644015104001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:03:58] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-25 21:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124332809228648448,"km_value":124332809228648.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9215912974661660672,"description":"Unknown IO ID 45"} 
[2026-08-25 21:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644015104001,"power":9949,"unknown_227":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9215912974661660672}} 
[2026-08-25 21:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":163241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:03:58] local.INFO: GPS data processed {"connection_id":163241,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:03:58] local.INFO: Acknowledgment sent {"connection_id":163241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:04:17] local.INFO: TCP Data received {"connection_id":164623,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:04:17] local.INFO: Processing buffer {"connection_id":164623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:04:17] local.INFO: IMEI packet received {"connection_id":164623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":164623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:04:19] local.INFO: TCP Data received {"connection_id":162250,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:04:19] local.INFO: Processing buffer {"connection_id":162250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:04:19] local.INFO: Packet analysis {"connection_id":162250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:04:19] local.INFO: Extracted packet for processing {"connection_id":162250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643900416001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:04:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787671787000,"timestamp_ms":1787671787000,"timestamp_seconds":1787671787,"priority":1,"record_length":96,"hex_timestamp":"000001a0398ab5f8"} 
[2026-08-25 21:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:04:19] 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-25 21:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:04:19] 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-25 21:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643900416001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643900416001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:04:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643900416001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":162250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:04:19] local.INFO: GPS data processed {"connection_id":162250,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:04:19] local.INFO: Acknowledgment sent {"connection_id":162250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:04:19] local.INFO: TCP Data received {"connection_id":164623,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:04:19] local.INFO: Processing buffer {"connection_id":164623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:04:19] local.INFO: IMEI packet received {"connection_id":164623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":164623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:04:20] local.INFO: TCP Data received {"connection_id":164623,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398e9240012d8027c005c15420000d00072f..."} 
[2026-08-25 21:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398e9240012d8027c005c15420000d00072f..."} 
[2026-08-25 21:04:20] local.INFO: Processing buffer {"connection_id":164623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398e9240012d8027c005c15420000d00072f..."} 
[2026-08-25 21:04:20] local.INFO: Packet analysis {"connection_id":164623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398e"} 
[2026-08-25 21:04:20] local.INFO: Extracted packet for processing {"connection_id":164623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398e"} 
[2026-08-25 21:04:20] local.INFO: GPS Element Parsed {"raw_longitude":763373504,"raw_latitude":96556064,"longitude_deg":76.3373504,"latitude_deg":9.6556064,"altitude":13,"angle":7,"satellites":47,"speed":38,"hex_longitude":"2d8027c0","hex_latitude":"05c15420","is_valid_coordinates":true} 
[2026-08-25 21:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644039424001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124337808570580992,"note":"Value kept but may cause issues"} 
[2026-08-25 21:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9213450019209811968,"note":"Value kept but may cause issues"} 
[2026-08-25 21:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787672040000,"timestamp_ms":1787672040000,"timestamp_seconds":1787672040,"priority":1,"record_length":96,"hex_timestamp":"000001a0398e9240"} 
[2026-08-25 21: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-25 21:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":40,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-25 21:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1406,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:04:20] 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-25 21:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644039424001,"66":10319,"225":206,"85":12288,"24":38,"16":124337808570580992,"45":-9213450019209811968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-08-25 21:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644039424001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:04:20] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-25 21:04:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124337808570580992,"km_value":124337808570580.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9213450019209811968,"description":"Unknown IO ID 45"} 
[2026-08-25 21:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644039424001,"power":10319,"unknown_225":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":-9213450019209811968}} 
[2026-08-25 21:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":164623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:04:20] local.INFO: GPS data processed {"connection_id":164623,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:04:20] local.INFO: Acknowledgment sent {"connection_id":164623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:04:39] local.INFO: TCP Data received {"connection_id":162013,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:04:39] local.INFO: Processing buffer {"connection_id":162013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:04:39] local.INFO: IMEI packet received {"connection_id":162013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":162013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:04:44] local.INFO: TCP Data received {"connection_id":162013,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:04:44] local.INFO: Processing buffer {"connection_id":162013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:04:44] local.INFO: IMEI packet received {"connection_id":162013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":162013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:04:45] local.INFO: TCP Data received {"connection_id":162013,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:04:45] local.INFO: Processing buffer {"connection_id":162013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:04:45] local.INFO: Packet analysis {"connection_id":162013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:04:45] local.INFO: Extracted packet for processing {"connection_id":162013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643900416001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:04:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787671787000,"timestamp_ms":1787671787000,"timestamp_seconds":1787671787,"priority":1,"record_length":96,"hex_timestamp":"000001a0398ab5f8"} 
[2026-08-25 21:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:04:45] 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-25 21:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643900416001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643900416001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643900416001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":162013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:04:45] local.INFO: GPS data processed {"connection_id":162013,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:04:45] local.INFO: Acknowledgment sent {"connection_id":162013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:04:51] local.INFO: TCP Data received {"connection_id":164623,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398eb568012d802d4005c17848000c000a2d..."} 
[2026-08-25 21:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398eb568012d802d4005c17848000c000a2d..."} 
[2026-08-25 21:04:51] local.INFO: Processing buffer {"connection_id":164623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398eb568012d802d4005c17848000c000a2d..."} 
[2026-08-25 21:04:51] local.INFO: Packet analysis {"connection_id":164623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398e"} 
[2026-08-25 21:04:51] local.INFO: Extracted packet for processing {"connection_id":164623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398e"} 
[2026-08-25 21:04:51] local.INFO: GPS Element Parsed {"raw_longitude":763374912,"raw_latitude":96565320,"longitude_deg":76.3374912,"latitude_deg":9.656532,"altitude":12,"angle":10,"satellites":45,"speed":43,"hex_longitude":"2d802d40","hex_latitude":"05c17848","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644042240001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124338263837114368,"note":"Value kept but may cause issues"} 
[2026-08-25 21:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9212183381812174848,"note":"Value kept but may cause issues"} 
[2026-08-25 21:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787672049000,"timestamp_ms":1787672049000,"timestamp_seconds":1787672049,"priority":1,"record_length":96,"hex_timestamp":"000001a0398eb568"} 
[2026-08-25 21: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-25 21:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":40,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 21:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1109,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:04:51] 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-25 21:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644042240001,"66":9373,"225":206,"85":12288,"24":43,"16":124338263837114368,"45":-9212183381812174848},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-08-25 21:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644042240001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:04:51] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-25 21:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124338263837114368,"km_value":124338263837114.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9212183381812174848,"description":"Unknown IO ID 45"} 
[2026-08-25 21:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644042240001,"power":9373,"unknown_225":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":-9212183381812174848}} 
[2026-08-25 21:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":164623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:04:52] local.INFO: GPS data processed {"connection_id":164623,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:04:52] local.INFO: Acknowledgment sent {"connection_id":164623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:05:16] local.INFO: TCP Data received {"connection_id":162013,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:05:16] local.INFO: Processing buffer {"connection_id":162013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398ab5f8012d34c14006aa4818000800e62f..."} 
[2026-08-25 21:05:16] local.INFO: Packet analysis {"connection_id":162013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:05:16] local.INFO: Extracted packet for processing {"connection_id":162013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398a"} 
[2026-08-25 21:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643900416001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:05:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787671787000,"timestamp_ms":1787671787000,"timestamp_seconds":1787671787,"priority":1,"record_length":96,"hex_timestamp":"000001a0398ab5f8"} 
[2026-08-25 21:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:05:16] 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-25 21:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643900416001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643900416001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643900416001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":162013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:05:16] local.INFO: GPS data processed {"connection_id":162013,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:05:16] local.INFO: Acknowledgment sent {"connection_id":162013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:05:17] local.INFO: TCP Data received {"connection_id":163242,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:05:17] local.INFO: Processing buffer {"connection_id":163242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:05:17] local.INFO: IMEI packet received {"connection_id":163242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":163242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:05:20] local.INFO: TCP Data received {"connection_id":163242,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:05:20] local.INFO: Processing buffer {"connection_id":163242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:05:20] local.INFO: IMEI packet received {"connection_id":163242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":163242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:05:21] local.INFO: TCP Data received {"connection_id":163242,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398ed890012d80344005c19e30000900092f..."} 
[2026-08-25 21:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398ed890012d80344005c19e30000900092f..."} 
[2026-08-25 21:05:21] local.INFO: Processing buffer {"connection_id":163242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398ed890012d80344005c19e30000900092f..."} 
[2026-08-25 21:05:21] local.INFO: Packet analysis {"connection_id":163242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398e"} 
[2026-08-25 21:05:21] local.INFO: Extracted packet for processing {"connection_id":163242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398e"} 
[2026-08-25 21:05:21] local.INFO: GPS Element Parsed {"raw_longitude":763376704,"raw_latitude":96575024,"longitude_deg":76.3376704,"latitude_deg":9.6575024,"altitude":9,"angle":9,"satellites":47,"speed":45,"hex_longitude":"2d803440","hex_latitude":"05c19e30","is_valid_coordinates":true} 
[2026-08-25 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-25 21:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644044544001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124338740578484224,"note":"Value kept but may cause issues"} 
[2026-08-25 21:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9210635269437896704,"note":"Value kept but may cause issues"} 
[2026-08-25 21:05:21] 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-25 21:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787672058000,"timestamp_ms":1787672058000,"timestamp_seconds":1787672058,"priority":1,"record_length":96,"hex_timestamp":"000001a0398ed890"} 
[2026-08-25 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-25 21:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":36,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-25 21:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1791,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 21:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:05:21] 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-25 21:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644044544001,"66":10178,"235":206,"85":12288,"24":45,"16":124338740578484224,"45":-9210635269437896704},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 21:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644044544001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:05:21] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 21:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124338740578484224,"km_value":124338740578484.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9210635269437896704,"description":"Unknown IO ID 45"} 
[2026-08-25 21:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644044544001,"power":10178,"unknown_235":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":-9210635269437896704}} 
[2026-08-25 21:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":163242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:05:21] local.INFO: GPS data processed {"connection_id":163242,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:05:21] local.INFO: Acknowledgment sent {"connection_id":163242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:05:39] local.INFO: TCP Data received {"connection_id":163243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:05:39] local.INFO: Processing buffer {"connection_id":163243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:05:39] local.INFO: IMEI packet received {"connection_id":163243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":163243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:05:44] local.INFO: TCP Data received {"connection_id":163243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:05:44] local.INFO: Processing buffer {"connection_id":163243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:05:44] local.INFO: IMEI packet received {"connection_id":163243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":163243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:05:45] local.INFO: TCP Data received {"connection_id":163243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:05:45] local.INFO: Processing buffer {"connection_id":163243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:05:45] local.INFO: Packet analysis {"connection_id":163243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:05:45] local.INFO: Extracted packet for processing {"connection_id":163243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643977472001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:05:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672088000,"timestamp_ms":1787672088000,"timestamp_seconds":1787672088,"priority":1,"record_length":96,"hex_timestamp":"000001a0398f4dc0"} 
[2026-08-25 21: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-25 21:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:05:45] 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-25 21: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-25 21: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-25 21:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643977472001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643977472001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643977472001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":163243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:05:45] local.INFO: GPS data processed {"connection_id":163243,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:05:45] local.INFO: Acknowledgment sent {"connection_id":163243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:05:52] local.INFO: TCP Data received {"connection_id":163242,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0398efbb8012d8039c005c1c2880007000830..."} 
[2026-08-25 21:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398efbb8012d8039c005c1c2880007000830..."} 
[2026-08-25 21:05:52] local.INFO: Processing buffer {"connection_id":163242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398efbb8012d8039c005c1c2880007000830..."} 
[2026-08-25 21:05:52] local.INFO: Packet analysis {"connection_id":163242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398e"} 
[2026-08-25 21:05:52] local.INFO: Extracted packet for processing {"connection_id":163242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398e"} 
[2026-08-25 21:05:52] local.INFO: GPS Element Parsed {"raw_longitude":763378112,"raw_latitude":96584328,"longitude_deg":76.3378112,"latitude_deg":9.6584328,"altitude":7,"angle":8,"satellites":48,"speed":40,"hex_longitude":"2d8039c0","hex_latitude":"05c1c288","is_valid_coordinates":true} 
[2026-08-25 21:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644046848001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124339195845017600,"note":"Value kept but may cause issues"} 
[2026-08-25 21:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208664944598437888,"note":"Value kept but may cause issues"} 
[2026-08-25 21:05:52] 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-25 21:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787672067000,"timestamp_ms":1787672067000,"timestamp_seconds":1787672067,"priority":1,"record_length":96,"hex_timestamp":"000001a0398efbb8"} 
[2026-08-25 21:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 21:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:05:52] 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-25 21:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644046848001,"66":10330,"235":206,"85":12288,"24":40,"16":124339195845017600,"45":-9208664944598437888},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 21:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644046848001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:05:52] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 21:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124339195845017600,"km_value":124339195845017.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208664944598437888,"description":"Unknown IO ID 45"} 
[2026-08-25 21:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644046848001,"power":10330,"unknown_235":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":-9208664944598437888}} 
[2026-08-25 21:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":163242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:05:52] local.INFO: GPS data processed {"connection_id":163242,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:05:52] local.INFO: Acknowledgment sent {"connection_id":163242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:06:16] local.INFO: TCP Data received {"connection_id":164624,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:06:16] local.INFO: Processing buffer {"connection_id":164624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:06:16] local.INFO: IMEI packet received {"connection_id":164624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":164624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:06:16] local.INFO: TCP Data received {"connection_id":163243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:06:16] local.INFO: Processing buffer {"connection_id":163243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:06:16] local.INFO: Packet analysis {"connection_id":163243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:06:16] local.INFO: Extracted packet for processing {"connection_id":163243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643977472001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787672088000,"timestamp_ms":1787672088000,"timestamp_seconds":1787672088,"priority":1,"record_length":96,"hex_timestamp":"000001a0398f4dc0"} 
[2026-08-25 21:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643977472001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643977472001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:06:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643977472001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":163243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:06:16] local.INFO: GPS data processed {"connection_id":163243,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:06:16] local.INFO: Acknowledgment sent {"connection_id":163243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:06:17] local.INFO: TCP Data received {"connection_id":164624,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:06:17] local.INFO: Processing buffer {"connection_id":164624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:06:17] local.INFO: IMEI packet received {"connection_id":164624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":164624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:06:22] local.INFO: TCP Data received {"connection_id":164624,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:06:22] local.INFO: Processing buffer {"connection_id":164624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:06:22] local.INFO: IMEI packet received {"connection_id":164624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":164624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:06:23] local.INFO: TCP Data received {"connection_id":164624,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0399047c0012d8072c005c35140000701662d..."} 
[2026-08-25 21:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399047c0012d8072c005c35140000701662d..."} 
[2026-08-25 21:06:23] local.INFO: Processing buffer {"connection_id":164624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399047c0012d8072c005c35140000701662d..."} 
[2026-08-25 21:06:23] local.INFO: Packet analysis {"connection_id":164624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03990"} 
[2026-08-25 21:06:23] local.INFO: Extracted packet for processing {"connection_id":164624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03990"} 
[2026-08-25 21:06:23] local.INFO: GPS Element Parsed {"raw_longitude":763392704,"raw_latitude":96686400,"longitude_deg":76.3392704,"latitude_deg":9.66864,"altitude":7,"angle":358,"satellites":45,"speed":34,"hex_longitude":"2d8072c0","hex_latitude":"05c35140","is_valid_coordinates":true} 
[2026-08-25 21:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644068608001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124344195186950144,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192269027178915840,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787672152000,"timestamp_ms":1787672152000,"timestamp_seconds":1787672152,"priority":1,"record_length":96,"hex_timestamp":"000001a0399047c0"} 
[2026-08-25 21:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-25 21:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1842,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:06:23] 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-25 21:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644068608001,"66":10417,"179":206,"85":12288,"24":34,"16":124344195186950144,"45":-9192269027178915840},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-25 21:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644068608001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:06:23] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-25 21:06:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124344195186950144,"km_value":124344195186950.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192269027178915840,"description":"Unknown IO ID 45"} 
[2026-08-25 21:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644068608001,"power":10417,"unknown_179":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":-9192269027178915840}} 
[2026-08-25 21:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":164624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:06:23] local.INFO: GPS data processed {"connection_id":164624,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:06:23] local.INFO: Acknowledgment sent {"connection_id":164624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:06:44] local.INFO: TCP Data received {"connection_id":164625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:06:44] local.INFO: Processing buffer {"connection_id":164625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:06:44] local.INFO: IMEI packet received {"connection_id":164625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":164625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:06:49] local.INFO: TCP Data received {"connection_id":164625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:06:49] local.INFO: Processing buffer {"connection_id":164625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:06:49] local.INFO: IMEI packet received {"connection_id":164625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":164625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:06:49] local.INFO: TCP Data received {"connection_id":164625,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:06:49] local.INFO: Processing buffer {"connection_id":164625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:06:49] local.INFO: Packet analysis {"connection_id":164625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:06:49] local.INFO: Extracted packet for processing {"connection_id":164625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643977472001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787672088000,"timestamp_ms":1787672088000,"timestamp_seconds":1787672088,"priority":1,"record_length":96,"hex_timestamp":"000001a0398f4dc0"} 
[2026-08-25 21:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:06:49] 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-25 21:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:06: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-25 21:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643977472001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643977472001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643977472001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":164625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:06:49] local.INFO: GPS data processed {"connection_id":164625,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:06:49] local.INFO: Acknowledgment sent {"connection_id":164625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:06:54] local.INFO: TCP Data received {"connection_id":164624,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039905f30012d80740005c367f80008000930..."} 
[2026-08-25 21:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039905f30012d80740005c367f80008000930..."} 
[2026-08-25 21:06:54] local.INFO: Processing buffer {"connection_id":164624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039905f30012d80740005c367f80008000930..."} 
[2026-08-25 21:06:54] local.INFO: Packet analysis {"connection_id":164624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03990"} 
[2026-08-25 21:06:54] local.INFO: Extracted packet for processing {"connection_id":164624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03990"} 
[2026-08-25 21:06:54] local.INFO: GPS Element Parsed {"raw_longitude":763393024,"raw_latitude":96692216,"longitude_deg":76.3393024,"latitude_deg":9.6692216,"altitude":8,"angle":9,"satellites":48,"speed":43,"hex_longitude":"2d807400","hex_latitude":"05c367f8","is_valid_coordinates":true} 
[2026-08-25 21:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644070912001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124344482949758976,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191072758525509632,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787672158000,"timestamp_ms":1787672158000,"timestamp_seconds":1787672158,"priority":1,"record_length":96,"hex_timestamp":"000001a039905f30"} 
[2026-08-25 21:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-25 21:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1991,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:06:54] 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-25 21:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644070912001,"66":10384,"179":206,"85":12288,"24":43,"16":124344482949758976,"45":-9191072758525509632},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-25 21:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644070912001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:06:54] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-25 21:06:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124344482949758976,"km_value":124344482949758.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191072758525509632,"description":"Unknown IO ID 45"} 
[2026-08-25 21:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644070912001,"power":10384,"unknown_179":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":-9191072758525509632}} 
[2026-08-25 21:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":164624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:06:54] local.INFO: GPS data processed {"connection_id":164624,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:06:54] local.INFO: Acknowledgment sent {"connection_id":164624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:06:54] local.INFO: TCP Data received {"connection_id":164625,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:06:54] local.INFO: Processing buffer {"connection_id":164625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:06:54] local.INFO: Packet analysis {"connection_id":164625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:06:54] local.INFO: Extracted packet for processing {"connection_id":164625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:06:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643977472001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787672088000,"timestamp_ms":1787672088000,"timestamp_seconds":1787672088,"priority":1,"record_length":96,"hex_timestamp":"000001a0398f4dc0"} 
[2026-08-25 21:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:06:54] 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-25 21:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:06: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-25 21:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643977472001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643977472001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:06:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643977472001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":164625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:06:54] local.INFO: GPS data processed {"connection_id":164625,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:06:54] local.INFO: Acknowledgment sent {"connection_id":164625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:07:05] local.INFO: TCP Data received {"connection_id":162249,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:07:05] local.INFO: Processing buffer {"connection_id":162249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:07:05] local.INFO: IMEI packet received {"connection_id":162249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 21:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":162249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:07:16] local.INFO: TCP Data received {"connection_id":163244,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:07:16] local.INFO: Processing buffer {"connection_id":163244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:07:16] local.INFO: IMEI packet received {"connection_id":163244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":163244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:07:17] local.INFO: TCP Data received {"connection_id":163244,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:07:17] local.INFO: Processing buffer {"connection_id":163244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:07:17] local.INFO: IMEI packet received {"connection_id":163244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":163244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:07:22] local.INFO: TCP Data received {"connection_id":163244,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:07:22] local.INFO: Processing buffer {"connection_id":163244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:07:22] local.INFO: IMEI packet received {"connection_id":163244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":163244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:07:23] local.INFO: TCP Data received {"connection_id":163244,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039907e70012d807a0005c38aa0000900092f..."} 
[2026-08-25 21:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039907e70012d807a0005c38aa0000900092f..."} 
[2026-08-25 21:07:23] local.INFO: Processing buffer {"connection_id":163244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039907e70012d807a0005c38aa0000900092f..."} 
[2026-08-25 21:07:23] local.INFO: Packet analysis {"connection_id":163244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03990"} 
[2026-08-25 21:07:23] local.INFO: Extracted packet for processing {"connection_id":163244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03990"} 
[2026-08-25 21:07:23] local.INFO: GPS Element Parsed {"raw_longitude":763394560,"raw_latitude":96701088,"longitude_deg":76.339456,"latitude_deg":9.6701088,"altitude":9,"angle":9,"satellites":47,"speed":44,"hex_longitude":"2d807a00","hex_latitude":"05c38aa0","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644072448001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124344916741455872,"note":"Value kept but may cause issues"} 
[2026-08-25 21:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190720914803132416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787672166000,"timestamp_ms":1787672166000,"timestamp_seconds":1787672166,"priority":1,"record_length":96,"hex_timestamp":"000001a039907e70"} 
[2026-08-25 21: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-25 21:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":40,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-25 21:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1694,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:07:23] 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-25 21:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644072448001,"66":10373,"157":206,"85":12288,"24":44,"16":124344916741455872,"45":-9190720914803132416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-25 21:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644072448001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:07:23] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-25 21:07:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124344916741455872,"km_value":124344916741455.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190720914803132416,"description":"Unknown IO ID 45"} 
[2026-08-25 21:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644072448001,"power":10373,"unknown_157":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":-9190720914803132416}} 
[2026-08-25 21:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":163244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:07:23] local.INFO: GPS data processed {"connection_id":163244,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:07:23] local.INFO: Acknowledgment sent {"connection_id":163244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:07:39] local.INFO: TCP Data received {"connection_id":164626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:07:39] local.INFO: Processing buffer {"connection_id":164626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:07:39] local.INFO: IMEI packet received {"connection_id":164626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":164626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:07:44] local.INFO: TCP Data received {"connection_id":164626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:07:44] local.INFO: Processing buffer {"connection_id":164626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:07:44] local.INFO: IMEI packet received {"connection_id":164626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":164626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:07:45] local.INFO: TCP Data received {"connection_id":164626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:07:45] local.INFO: Processing buffer {"connection_id":164626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:07:45] local.INFO: Packet analysis {"connection_id":164626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:07:45] local.INFO: Extracted packet for processing {"connection_id":164626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643977472001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:07:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672088000,"timestamp_ms":1787672088000,"timestamp_seconds":1787672088,"priority":1,"record_length":96,"hex_timestamp":"000001a0398f4dc0"} 
[2026-08-25 21:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:07:45] 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-25 21:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643977472001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643977472001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643977472001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":164626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:07:45] local.INFO: GPS data processed {"connection_id":164626,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:07:45] local.INFO: Acknowledgment sent {"connection_id":164626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:07:54] local.INFO: TCP Data received {"connection_id":163244,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03990a198012d807f8005c3aea8000900082d..."} 
[2026-08-25 21:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03990a198012d807f8005c3aea8000900082d..."} 
[2026-08-25 21:07:54] local.INFO: Processing buffer {"connection_id":163244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03990a198012d807f8005c3aea8000900082d..."} 
[2026-08-25 21:07:54] local.INFO: Packet analysis {"connection_id":163244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03990"} 
[2026-08-25 21:07:54] local.INFO: Extracted packet for processing {"connection_id":163244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03990"} 
[2026-08-25 21:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763395968,"raw_latitude":96710312,"longitude_deg":76.3395968,"latitude_deg":9.6710312,"altitude":9,"angle":8,"satellites":45,"speed":38,"hex_longitude":"2d807f80","hex_latitude":"05c3aea8","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644074496001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124345367713021952,"note":"Value kept but may cause issues"} 
[2026-08-25 21:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189032064940597248,"note":"Value kept but may cause issues"} 
[2026-08-25 21:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787672175000,"timestamp_ms":1787672175000,"timestamp_seconds":1787672175,"priority":1,"record_length":96,"hex_timestamp":"000001a03990a198"} 
[2026-08-25 21: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-25 21:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":40,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 21:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1595,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:07:54] 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-25 21:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644074496001,"66":10395,"157":206,"85":12288,"24":38,"16":124345367713021952,"45":-9189032064940597248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-25 21:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644074496001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:07:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-25 21:07:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124345367713021952,"km_value":124345367713021.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189032064940597248,"description":"Unknown IO ID 45"} 
[2026-08-25 21:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644074496001,"power":10395,"unknown_157":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":-9189032064940597248}} 
[2026-08-25 21:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":163244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:07:54] local.INFO: GPS data processed {"connection_id":163244,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:07:54] local.INFO: Acknowledgment sent {"connection_id":163244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:08:16] local.INFO: TCP Data received {"connection_id":164626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:08:16] local.INFO: Processing buffer {"connection_id":164626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:08:16] local.INFO: Packet analysis {"connection_id":164626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:08:16] local.INFO: Extracted packet for processing {"connection_id":164626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643977472001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:08:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787672088000,"timestamp_ms":1787672088000,"timestamp_seconds":1787672088,"priority":1,"record_length":96,"hex_timestamp":"000001a0398f4dc0"} 
[2026-08-25 21:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643977472001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643977472001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643977472001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":164626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:08:16] local.INFO: GPS data processed {"connection_id":164626,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:08:16] local.INFO: Acknowledgment sent {"connection_id":164626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:08:17] local.INFO: TCP Data received {"connection_id":163245,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:08:17] local.INFO: Processing buffer {"connection_id":163245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:08:17] local.INFO: IMEI packet received {"connection_id":163245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":163245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:08:21] local.INFO: TCP Data received {"connection_id":163245,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:08:21] local.INFO: Processing buffer {"connection_id":163245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:08:21] local.INFO: IMEI packet received {"connection_id":163245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":163245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:08:22] local.INFO: TCP Data received {"connection_id":163245,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:08:22] local.INFO: Processing buffer {"connection_id":163245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:08:22] local.INFO: IMEI packet received {"connection_id":163245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":163245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:08:23] local.INFO: TCP Data received {"connection_id":163245,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03990cc90012d80854005c3d3a0000c00082a..."} 
[2026-08-25 21:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03990cc90012d80854005c3d3a0000c00082a..."} 
[2026-08-25 21:08:23] local.INFO: Processing buffer {"connection_id":163245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03990cc90012d80854005c3d3a0000c00082a..."} 
[2026-08-25 21:08:23] local.INFO: Packet analysis {"connection_id":163245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03990"} 
[2026-08-25 21:08:23] local.INFO: Extracted packet for processing {"connection_id":163245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03990"} 
[2026-08-25 21:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763397440,"raw_latitude":96719776,"longitude_deg":76.339744,"latitude_deg":9.6719776,"altitude":12,"angle":8,"satellites":42,"speed":29,"hex_longitude":"2d808540","hex_latitude":"05c3d3a0","is_valid_coordinates":true} 
[2026-08-25 21:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644076800001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124345835864457216,"note":"Value kept but may cause issues"} 
[2026-08-25 21:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187483952566327296,"note":"Value kept but may cause issues"} 
[2026-08-25 21:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787672186000,"timestamp_ms":1787672186000,"timestamp_seconds":1787672186,"priority":1,"record_length":96,"hex_timestamp":"000001a03990cc90"} 
[2026-08-25 21:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-25 21:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1793,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:08:23] 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-25 21:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644076800001,"66":10178,"234":206,"85":12288,"24":29,"16":124345835864457216,"45":-9187483952566327296},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-25 21:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644076800001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:08:23] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-25 21:08:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124345835864457216,"km_value":124345835864457.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187483952566327296,"description":"Unknown IO ID 45"} 
[2026-08-25 21:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644076800001,"power":10178,"unknown_234":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-9187483952566327296}} 
[2026-08-25 21:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":163245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:08:23] local.INFO: GPS data processed {"connection_id":163245,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:08:23] local.INFO: Acknowledgment sent {"connection_id":163245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:08:39] local.INFO: TCP Data received {"connection_id":164628,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:08:39] local.INFO: Processing buffer {"connection_id":164628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:08:39] local.INFO: IMEI packet received {"connection_id":164628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":164628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:08:44] local.INFO: TCP Data received {"connection_id":164628,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:08:44] local.INFO: Processing buffer {"connection_id":164628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:08:44] local.INFO: IMEI packet received {"connection_id":164628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":164628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:08:45] local.INFO: TCP Data received {"connection_id":164628,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:08:45] local.INFO: Processing buffer {"connection_id":164628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:08:45] local.INFO: Packet analysis {"connection_id":164628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:08:45] local.INFO: Extracted packet for processing {"connection_id":164628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643977472001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:08:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672088000,"timestamp_ms":1787672088000,"timestamp_seconds":1787672088,"priority":1,"record_length":96,"hex_timestamp":"000001a0398f4dc0"} 
[2026-08-25 21:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:08:45] 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-25 21:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643977472001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643977472001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643977472001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":164628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:08:45] local.INFO: GPS data processed {"connection_id":164628,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:08:45] local.INFO: Acknowledgment sent {"connection_id":164628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:08:54] local.INFO: TCP Data received {"connection_id":163245,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039911ab0012d80888005c3e7b8000b000927..."} 
[2026-08-25 21:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039911ab0012d80888005c3e7b8000b000927..."} 
[2026-08-25 21:08:54] local.INFO: Processing buffer {"connection_id":163245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039911ab0012d80888005c3e7b8000b000927..."} 
[2026-08-25 21:08:54] local.INFO: Packet analysis {"connection_id":163245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03991"} 
[2026-08-25 21:08:54] local.INFO: Extracted packet for processing {"connection_id":163245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03991"} 
[2026-08-25 21:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763398272,"raw_latitude":96724920,"longitude_deg":76.3398272,"latitude_deg":9.672492,"altitude":11,"angle":9,"satellites":39,"speed":8,"hex_longitude":"2d808880","hex_latitude":"05c3e7b8","is_valid_coordinates":true} 
[2026-08-25 21:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644079616001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124346089267527680,"note":"Value kept but may cause issues"} 
[2026-08-25 21:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185865471447818240,"note":"Value kept but may cause issues"} 
[2026-08-25 21:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787672206000,"timestamp_ms":1787672206000,"timestamp_seconds":1787672206,"priority":1,"record_length":96,"hex_timestamp":"000001a039911ab0"} 
[2026-08-25 21:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 21:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:08:54] 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-25 21:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644079616001,"66":10373,"234":206,"85":12288,"24":8,"16":124346089267527680,"45":-9185865471447818240},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-08-25 21:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644079616001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:08:54] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-25 21:08:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124346089267527680,"km_value":124346089267527.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185865471447818240,"description":"Unknown IO ID 45"} 
[2026-08-25 21:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644079616001,"power":10373,"unknown_234":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":-9185865471447818240}} 
[2026-08-25 21:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":163245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:08:54] local.INFO: GPS data processed {"connection_id":163245,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:08:54] local.INFO: Acknowledgment sent {"connection_id":163245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:09:16] local.INFO: TCP Data received {"connection_id":164628,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:09:16] local.INFO: Processing buffer {"connection_id":164628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:09:16] local.INFO: Packet analysis {"connection_id":164628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:09:16] local.INFO: Extracted packet for processing {"connection_id":164628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643977472001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:09:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787672088000,"timestamp_ms":1787672088000,"timestamp_seconds":1787672088,"priority":1,"record_length":96,"hex_timestamp":"000001a0398f4dc0"} 
[2026-08-25 21:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643977472001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643977472001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643977472001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":164628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:09:16] local.INFO: GPS data processed {"connection_id":164628,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:09:16] local.INFO: Acknowledgment sent {"connection_id":164628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:09:22] local.INFO: TCP Data received {"connection_id":162251,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:09:22] local.INFO: Processing buffer {"connection_id":162251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:09:22] local.INFO: IMEI packet received {"connection_id":162251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":162251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:09:23] local.INFO: TCP Data received {"connection_id":162251,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:09:23] local.INFO: Processing buffer {"connection_id":162251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:09:23] local.INFO: IMEI packet received {"connection_id":162251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":162251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:09:27] local.INFO: TCP Data received {"connection_id":162251,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:09:27] local.INFO: Processing buffer {"connection_id":162251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:09:27] local.INFO: IMEI packet received {"connection_id":162251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":162251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:09:28] local.INFO: TCP Data received {"connection_id":162251,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039931680012d80098005c4eed0000001522e..."} 
[2026-08-25 21:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039931680012d80098005c4eed0000001522e..."} 
[2026-08-25 21:09:28] local.INFO: Processing buffer {"connection_id":162251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039931680012d80098005c4eed0000001522e..."} 
[2026-08-25 21:09:28] local.INFO: Packet analysis {"connection_id":162251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:09:28] local.INFO: Extracted packet for processing {"connection_id":162251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:09:28] local.INFO: GPS Element Parsed {"raw_longitude":763365760,"raw_latitude":96792272,"longitude_deg":76.336576,"latitude_deg":9.6792272,"altitude":0,"angle":338,"satellites":46,"speed":11,"hex_longitude":"2d800980","hex_latitude":"05c4eed0","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644116224001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124349825889075200,"note":"Value kept but may cause issues"} 
[2026-08-25 21:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219642468635013120,"note":"Value kept but may cause issues"} 
[2026-08-25 21:09:28] 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-25 21:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787672336000,"timestamp_ms":1787672336000,"timestamp_seconds":1787672336,"priority":1,"record_length":96,"hex_timestamp":"000001a039931680"} 
[2026-08-25 21: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-25 21:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 21:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:09:28] 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-25 21:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644116224001,"66":10319,"235":206,"85":12288,"24":11,"16":124349825889075200,"45":-9219642468635013120},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 21:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644116224001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:09:28] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 21:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124349825889075200,"km_value":124349825889075.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219642468635013120,"description":"Unknown IO ID 45"} 
[2026-08-25 21:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644116224001,"power":10319,"unknown_235":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9219642468635013120}} 
[2026-08-25 21:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":162251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:09:28] local.INFO: GPS data processed {"connection_id":162251,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:09:28] local.INFO: Acknowledgment sent {"connection_id":162251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:09:33] local.INFO: TCP Data received {"connection_id":162251,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039932df0012d80064005c4f568000101462c..."} 
[2026-08-25 21:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039932df0012d80064005c4f568000101462c..."} 
[2026-08-25 21:09:33] local.INFO: Processing buffer {"connection_id":162251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039932df0012d80064005c4f568000101462c..."} 
[2026-08-25 21:09:33] local.INFO: Packet analysis {"connection_id":162251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:09:33] local.INFO: Extracted packet for processing {"connection_id":162251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763364928,"raw_latitude":96793960,"longitude_deg":76.3364928,"latitude_deg":9.679396,"altitude":1,"angle":326,"satellites":44,"speed":15,"hex_longitude":"2d800640","hex_latitude":"05c4f568","is_valid_coordinates":true} 
[2026-08-25 21:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644118016001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124349916083388416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220697999797202944,"note":"Value kept but may cause issues"} 
[2026-08-25 21:09:33] 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-25 21:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787672342000,"timestamp_ms":1787672342000,"timestamp_seconds":1787672342,"priority":1,"record_length":96,"hex_timestamp":"000001a039932df0"} 
[2026-08-25 21:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 21:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1109,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644118016001,"66":10243,"235":206,"85":12288,"24":15,"16":124349916083388416,"45":-9220697999797202944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 21:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644118016001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:09:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 21:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124349916083388416,"km_value":124349916083388.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220697999797202944,"description":"Unknown IO ID 45"} 
[2026-08-25 21:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644118016001,"power":10243,"unknown_235":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":-9220697999797202944}} 
[2026-08-25 21:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":162251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:09:33] local.INFO: GPS data processed {"connection_id":162251,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:09:33] local.INFO: Acknowledgment sent {"connection_id":162251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:09:39] local.INFO: TCP Data received {"connection_id":164629,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:09:39] local.INFO: Processing buffer {"connection_id":164629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:09:39] local.INFO: IMEI packet received {"connection_id":164629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":164629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:09:44] local.INFO: TCP Data received {"connection_id":164629,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:09:44] local.INFO: Processing buffer {"connection_id":164629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:09:44] local.INFO: IMEI packet received {"connection_id":164629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":164629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:09:45] local.INFO: TCP Data received {"connection_id":164629,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:09:45] local.INFO: Processing buffer {"connection_id":164629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:09:45] local.INFO: Packet analysis {"connection_id":164629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:09:45] local.INFO: Extracted packet for processing {"connection_id":164629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643977472001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:09:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672088000,"timestamp_ms":1787672088000,"timestamp_seconds":1787672088,"priority":1,"record_length":96,"hex_timestamp":"000001a0398f4dc0"} 
[2026-08-25 21:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:09:45] 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-25 21:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:09:45] 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-25 21:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643977472001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643977472001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643977472001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":164629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:09:45] local.INFO: GPS data processed {"connection_id":164629,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:09:45] local.INFO: Acknowledgment sent {"connection_id":164629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:10:15] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:10:15] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:10:15] local.INFO: IMEI packet received {"connection_id":162014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":162014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:10:17] local.INFO: TCP Data received {"connection_id":164629,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:10:17] local.INFO: Processing buffer {"connection_id":164629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0398f4dc0012d34c14006aa4818000700e630..."} 
[2026-08-25 21:10:17] local.INFO: Packet analysis {"connection_id":164629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:10:17] local.INFO: Extracted packet for processing {"connection_id":164629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0398f"} 
[2026-08-25 21:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457643977472001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787672088000,"timestamp_ms":1787672088000,"timestamp_seconds":1787672088,"priority":1,"record_length":96,"hex_timestamp":"000001a0398f4dc0"} 
[2026-08-25 21:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:10:17] 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-25 21:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:10: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-25 21:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457643977472001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457643977472001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457643977472001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":164629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:10:17] local.INFO: GPS data processed {"connection_id":164629,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:10:17] local.INFO: Acknowledgment sent {"connection_id":164629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:10:17] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:10:17] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:10:17] local.INFO: IMEI packet received {"connection_id":162014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":162014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:10:22] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:10:22] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:10:22] local.INFO: IMEI packet received {"connection_id":162014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":162014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:10:23] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039937c10012d7ff30005c50f08000001442a..."} 
[2026-08-25 21:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039937c10012d7ff30005c50f08000001442a..."} 
[2026-08-25 21:10:23] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039937c10012d7ff30005c50f08000001442a..."} 
[2026-08-25 21:10:23] local.INFO: Packet analysis {"connection_id":162014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:10:23] local.INFO: Extracted packet for processing {"connection_id":162014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763360000,"raw_latitude":96800520,"longitude_deg":76.336,"latitude_deg":9.680052,"altitude":0,"angle":324,"satellites":42,"speed":36,"hex_longitude":"2d7ff300","hex_latitude":"05c50f08","is_valid_coordinates":true} 
[2026-08-25 21:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644119552001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124350315515346944,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9221612793471080448,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787672362000,"timestamp_ms":1787672362000,"timestamp_seconds":1787672362,"priority":1,"record_length":96,"hex_timestamp":"000001a039937c10"} 
[2026-08-25 21:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 21:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2150121477,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:23] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2461069313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:23] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3331325954,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2833973454,"corrected_to":0} 
[2026-08-25 21:10:23] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3758173568,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:23] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2147861673,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:23] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,235,85,24,241,157,16,199,160,22,45,128,238,46,10,66,251,64,231,219,1,240,52,227,57,196,4,113,205,34,137,60,80,47,239,40],"length":431,"final_offset":561,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2833973454,"validated":0}]} 
[2026-08-25 21:10:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72416223808126976,"timestamp_seconds":72416223808126.97,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:10:23] 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-25 21:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644119552001,"66":10515,"98":206,"85":12288,"24":36,"16":124350315515346944,"45":-9221612793471080448},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-25 21:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644119552001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:10:23] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-25 21:10:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124350315515346944,"km_value":124350315515346.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9221612793471080448,"description":"Unknown IO ID 45"} 
[2026-08-25 21:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644119552001,"power":10515,"unknown_98":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":-9221612793471080448}} 
[2026-08-25 21:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":162014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:10:23] local.INFO: GPS data processed {"connection_id":162014,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:10:23] local.INFO: Acknowledgment sent {"connection_id":162014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:10:39] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:10:39] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:10:39] local.INFO: IMEI packet received {"connection_id":162015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":162015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:10:44] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:10:44] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:10:44] local.INFO: IMEI packet received {"connection_id":162015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":162015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:10:45] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:10:45] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:10:45] local.INFO: Packet analysis {"connection_id":162015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:10:45] local.INFO: Extracted packet for processing {"connection_id":162015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644054528001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672389000,"timestamp_ms":1787672389000,"timestamp_seconds":1787672389,"priority":1,"record_length":96,"hex_timestamp":"000001a03993e588"} 
[2026-08-25 21:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:10:45] 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-25 21:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644054528001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644054528001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644054528001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":162015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:10:45] local.INFO: GPS data processed {"connection_id":162015,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:10:45] local.INFO: Acknowledgment sent {"connection_id":162015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:10:54] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03993a708012d7fdd0005c52bf8000001442b..."} 
[2026-08-25 21:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03993a708012d7fdd0005c52bf8000001442b..."} 
[2026-08-25 21:10:54] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03993a708012d7fdd0005c52bf8000001442b..."} 
[2026-08-25 21:10:54] local.INFO: Packet analysis {"connection_id":162014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:10:54] local.INFO: Extracted packet for processing {"connection_id":162014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763354368,"raw_latitude":96807928,"longitude_deg":76.3354368,"latitude_deg":9.6807928,"altitude":0,"angle":324,"satellites":43,"speed":24,"hex_longitude":"2d7fdd00","hex_latitude":"05c52bf8","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644124672001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124350766486913024,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9219712886938470400,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787672373000,"timestamp_ms":1787672373000,"timestamp_seconds":1787672373,"priority":1,"record_length":96,"hex_timestamp":"000001a03993a708"} 
[2026-08-25 21: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-25 21:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":41,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1441154083825123485,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2148794373,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5057261061179179018,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4359490781506961411,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505497031999488,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":57,"raw_value":-7900721116233052096,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3773825025,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6275202244594892776,"corrected_to":0} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":176,"raw_value":4026609024,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2594299510746304085,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182264069357824,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755554060009713,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4284313028276434898,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194357504,"note":"Value kept but may cause issues"} 
[2026-08-25 21:10:54] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,98,85,24,241,157,16,199,160,45,64,245,1,44,10,66,235,22,128,238,46,251,240,166,227,57,196,4,113,205,26,176,40,144,47,239,2,48,137,5,69],"length":580,"final_offset":710,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-6275202244594892776,"validated":0}]} 
[2026-08-25 21:10:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":356422158385152,"timestamp_seconds":356422158385.152,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21: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-25 21:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:10:54] 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-25 21:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644124672001,"66":10243,"98":206,"85":12288,"24":24,"16":124350766486913024,"45":9219712886938470400},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-25 21:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644124672001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:10:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-25 21:10:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124350766486913024,"km_value":124350766486913.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9219712886938470400,"description":"Unknown IO ID 45"} 
[2026-08-25 21:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644124672001,"power":10243,"unknown_98":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9219712886938470400}} 
[2026-08-25 21:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":162014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:10:54] local.INFO: GPS data processed {"connection_id":162014,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:10:54] local.INFO: Acknowledgment sent {"connection_id":162014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:11:16] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:11:16] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:11:16] local.INFO: Packet analysis {"connection_id":162015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:11:16] local.INFO: Extracted packet for processing {"connection_id":162015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644054528001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787672389000,"timestamp_ms":1787672389000,"timestamp_seconds":1787672389,"priority":1,"record_length":96,"hex_timestamp":"000001a03993e588"} 
[2026-08-25 21:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:11:16] 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-25 21:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644054528001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644054528001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644054528001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":162015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:11:16] local.INFO: GPS data processed {"connection_id":162015,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:11:16] local.INFO: Acknowledgment sent {"connection_id":162015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:11:17] local.INFO: TCP Data received {"connection_id":162016,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:11:17] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:11:17] local.INFO: IMEI packet received {"connection_id":162016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":162016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:11:22] local.INFO: TCP Data received {"connection_id":162016,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:11:22] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:11:22] local.INFO: IMEI packet received {"connection_id":162016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":162016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:11:23] local.INFO: TCP Data received {"connection_id":162016,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03993f528012d7fca0005c544c8000101432d..."} 
[2026-08-25 21:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03993f528012d7fca0005c544c8000101432d..."} 
[2026-08-25 21:11:23] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03993f528012d7fca0005c544c8000101432d..."} 
[2026-08-25 21:11:23] local.INFO: Packet analysis {"connection_id":162016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:11:23] local.INFO: Extracted packet for processing {"connection_id":162016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763349504,"raw_latitude":96814280,"longitude_deg":76.3349504,"latitude_deg":9.681428,"altitude":1,"angle":323,"satellites":45,"speed":7,"hex_longitude":"2d7fca00","hex_latitude":"05c544c8","is_valid_coordinates":true} 
[2026-08-25 21:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644127488001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124351148739002368,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9213520437452732416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787672393000,"timestamp_ms":1787672393000,"timestamp_seconds":1787672393,"priority":1,"record_length":96,"hex_timestamp":"000001a03993f528"} 
[2026-08-25 21:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 21:11:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":23808,"corrected_to":0} 
[2026-08-25 21:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2148352005,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:23] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2181038080,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:23] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2465933313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:23] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3884974080,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2833973454,"corrected_to":0} 
[2026-08-25 21:11:23] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3892391296,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:23] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,98,85,24,241,157,16,200,160,124,45,15,42,10,66,199,64,245,1,44,235,22,128,240,79,227,57,196,4,113,205,8,219,20,46,239,39],"length":431,"final_offset":561,"validated_count":37,"validation_warnings":[{"io_id":200,"original":23808,"validated":0},{"io_id":205,"original":2833973454,"validated":0}]} 
[2026-08-25 21:11:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":356426452566016,"timestamp_seconds":356426452566.016,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:11:23] 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-25 21:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644127488001,"66":10254,"98":206,"85":12288,"24":7,"16":124351148739002368,"45":9213520437452732416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-25 21:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644127488001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:11:23] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-25 21:11:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124351148739002368,"km_value":124351148739002.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9213520437452732416,"description":"Unknown IO ID 45"} 
[2026-08-25 21:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644127488001,"power":10254,"unknown_98":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":9213520437452732416}} 
[2026-08-25 21:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":162016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:11:23] local.INFO: GPS data processed {"connection_id":162016,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:11:23] local.INFO: Acknowledgment sent {"connection_id":162016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:11:44] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:11:44] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:11:44] local.INFO: IMEI packet received {"connection_id":162017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":162017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:11:49] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:11:49] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:11:49] local.INFO: IMEI packet received {"connection_id":162017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":162017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:11:50] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:11:50] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:11:50] local.INFO: Packet analysis {"connection_id":162017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:11:50] local.INFO: Extracted packet for processing {"connection_id":162017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:11:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 21:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644054528001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787672389000,"timestamp_ms":1787672389000,"timestamp_seconds":1787672389,"priority":1,"record_length":96,"hex_timestamp":"000001a03993e588"} 
[2026-08-25 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-25 21:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:11:50] 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-25 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-25 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-25 21:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644054528001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644054528001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:11:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644054528001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":162017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:11:50] local.INFO: GPS data processed {"connection_id":162017,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:11:50] local.INFO: Acknowledgment sent {"connection_id":162017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:11:55] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:11:55] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:11:55] local.INFO: Packet analysis {"connection_id":162017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:11:55] local.INFO: Extracted packet for processing {"connection_id":162017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644054528001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787672389000,"timestamp_ms":1787672389000,"timestamp_seconds":1787672389,"priority":1,"record_length":96,"hex_timestamp":"000001a03993e588"} 
[2026-08-25 21: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-25 21:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:11:55] 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-25 21: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-25 21: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-25 21:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644054528001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644054528001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:11:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644054528001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":162017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:11:55] local.INFO: GPS data processed {"connection_id":162017,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:11:55] local.INFO: Acknowledgment sent {"connection_id":162017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:11:55] local.INFO: TCP Data received {"connection_id":162016,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039944730012d7fb80005c55dc0000201432c..."} 
[2026-08-25 21:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039944730012d7fb80005c55dc0000201432c..."} 
[2026-08-25 21:11:55] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039944730012d7fb80005c55dc0000201432c..."} 
[2026-08-25 21:11:55] local.INFO: Packet analysis {"connection_id":162016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03994"} 
[2026-08-25 21:11:55] local.INFO: Extracted packet for processing {"connection_id":162016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03994"} 
[2026-08-25 21:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763344896,"raw_latitude":96820672,"longitude_deg":76.3344896,"latitude_deg":9.6820672,"altitude":2,"angle":323,"satellites":44,"speed":17,"hex_longitude":"2d7fb800","hex_latitude":"05c55dc0","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644132608001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124351530991091712,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9208172412896856064,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787672414000,"timestamp_ms":1787672414000,"timestamp_seconds":1787672414,"priority":1,"record_length":96,"hex_timestamp":"000001a039944730"} 
[2026-08-25 21: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-25 21:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":40,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144471631708946432,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":23808,"corrected_to":0} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2148106245,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278664784165521040,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2467725313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":196,"raw_value":-2238289010487644672,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2833973454,"corrected_to":0} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2785070504,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":146,"raw_value":-2600827489872510971,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":26,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.WARNING: Large IO value detected {"io_id":168,"raw_value":-1512982609523632128,"note":"Value kept but may cause issues"} 
[2026-08-25 21:11:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,98,85,24,241,157,16,200,160,167,45,43,10,66,124,15,42,199,64,1,240,3,227,57,196,4,113,205,11,251,13,144,46,239,40,235,146,26,168],"length":530,"final_offset":660,"validated_count":39,"validation_warnings":[{"io_id":200,"original":23808,"validated":0},{"io_id":205,"original":2833973454,"validated":0}]} 
[2026-08-25 21:11:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72412929567686656,"timestamp_seconds":72412929567686.66,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21: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-25 21:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:11:55] 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-25 21:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644132608001,"66":10243,"98":206,"85":12288,"24":17,"16":124351530991091712,"45":9208172412896856064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-25 21:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644132608001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:11:55] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-25 21:11:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124351530991091712,"km_value":124351530991091.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9208172412896856064,"description":"Unknown IO ID 45"} 
[2026-08-25 21:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644132608001,"power":10243,"unknown_98":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":9208172412896856064}} 
[2026-08-25 21:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":162016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:11:55] local.INFO: GPS data processed {"connection_id":162016,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:11:55] local.INFO: Acknowledgment sent {"connection_id":162016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:12:17] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:12:17] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:12:17] local.INFO: IMEI packet received {"connection_id":163246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":163246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:12:22] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:12:22] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:12:22] local.INFO: IMEI packet received {"connection_id":163246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":163246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:12:23] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039947de0012d7fa18005c57c40000201432c..."} 
[2026-08-25 21:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039947de0012d7fa18005c57c40000201432c..."} 
[2026-08-25 21:12:23] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039947de0012d7fa18005c57c40000201432c..."} 
[2026-08-25 21:12:23] local.INFO: Packet analysis {"connection_id":163246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03994"} 
[2026-08-25 21:12:23] local.INFO: Extracted packet for processing {"connection_id":163246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03994"} 
[2026-08-25 21:12:23] local.INFO: GPS Element Parsed {"raw_longitude":763339136,"raw_latitude":96828480,"longitude_deg":76.3339136,"latitude_deg":9.682848,"altitude":2,"angle":323,"satellites":44,"speed":39,"hex_longitude":"2d7fa180","hex_latitude":"05c57c40","is_valid_coordinates":true} 
[2026-08-25 21:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644137984001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124351999142526976,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9203105863317700608,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787672428000,"timestamp_ms":1787672428000,"timestamp_seconds":1787672428,"priority":1,"record_length":96,"hex_timestamp":"000001a039947de0"} 
[2026-08-25 21:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 21:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2147893253,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":23808,"corrected_to":0} 
[2026-08-25 21:12:23] local.WARNING: Large IO value detected {"io_id":199,"raw_value":4093640704,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:23] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2469261313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:23] local.WARNING: Large IO value detected {"io_id":196,"raw_value":4117233665,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2833973454,"corrected_to":0} 
[2026-08-25 21:12:23] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2147560832,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:23] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2147861742,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:23] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,98,85,24,241,157,16,201,160,245,45,68,1,10,66,200,167,43,124,240,19,227,199,57,196,4,113,205,15,22,9,208,46,239,40,235],"length":431,"final_offset":561,"validated_count":36,"validation_warnings":[{"io_id":200,"original":23808,"validated":0},{"io_id":205,"original":2833973454,"validated":0}]} 
[2026-08-25 21:12:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144470519311302656,"timestamp_seconds":144470519311302.66,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:12:23] 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-25 21:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644137984001,"66":10004,"98":206,"85":12288,"24":39,"16":124351999142526976,"45":9203105863317700608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-25 21:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644137984001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:12:23] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-25 21:12:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124351999142526976,"km_value":124351999142526.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9203105863317700608,"description":"Unknown IO ID 45"} 
[2026-08-25 21:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644137984001,"power":10004,"unknown_98":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9203105863317700608}} 
[2026-08-25 21:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":163246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:12:23] local.INFO: GPS data processed {"connection_id":163246,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:12:23] local.INFO: Acknowledgment sent {"connection_id":163246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:12:39] local.INFO: TCP Data received {"connection_id":164627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:12:39] local.INFO: Processing buffer {"connection_id":164627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:12:39] local.INFO: IMEI packet received {"connection_id":164627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 21:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":164627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:12:39] local.INFO: TCP Data received {"connection_id":163247,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:12:39] local.INFO: Processing buffer {"connection_id":163247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:12:39] local.INFO: IMEI packet received {"connection_id":163247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":163247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:12:44] local.INFO: TCP Data received {"connection_id":163247,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:12:44] local.INFO: Processing buffer {"connection_id":163247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:12:44] local.INFO: IMEI packet received {"connection_id":163247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":163247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:12:45] local.INFO: TCP Data received {"connection_id":163247,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:12:45] local.INFO: Processing buffer {"connection_id":163247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:12:45] local.INFO: Packet analysis {"connection_id":163247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:12:45] local.INFO: Extracted packet for processing {"connection_id":163247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:12:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:12: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-25 21:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644054528001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672389000,"timestamp_ms":1787672389000,"timestamp_seconds":1787672389,"priority":1,"record_length":96,"hex_timestamp":"000001a03993e588"} 
[2026-08-25 21:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:12:45] 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-25 21:12: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-25 21:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644054528001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644054528001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:12:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644054528001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":163247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:12:45] local.INFO: GPS data processed {"connection_id":163247,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:12:45] local.INFO: Acknowledgment sent {"connection_id":163247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:12:54] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03994a4f0012d7f8b4005c59a88000201442b..."} 
[2026-08-25 21:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03994a4f0012d7f8b4005c59a88000201442b..."} 
[2026-08-25 21:12:54] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03994a4f0012d7f8b4005c59a88000201442b..."} 
[2026-08-25 21:12:54] local.INFO: Packet analysis {"connection_id":163246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03994"} 
[2026-08-25 21:12:54] local.INFO: Extracted packet for processing {"connection_id":163246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03994"} 
[2026-08-25 21:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763333440,"raw_latitude":96836232,"longitude_deg":76.333344,"latitude_deg":9.6836232,"altitude":2,"angle":324,"satellites":43,"speed":27,"hex_longitude":"2d7f8b40","hex_latitude":"05c59a88","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644141568001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124352462998994944,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196772676343709696,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787672438000,"timestamp_ms":1787672438000,"timestamp_seconds":1787672438,"priority":1,"record_length":96,"hex_timestamp":"000001a03994a4f0"} 
[2026-08-25 21: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-25 21:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":39,"n8_eight_byte":20,"data_length":795,"current_offset":136} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3627391111152717824,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902284157440,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2251808419414016,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186041,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627502044416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124349916083388416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4148654355998670861,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220697999797202944,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832611,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2904541167979528398,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1560281088,"corrected_to":0} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2474381313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1315045582,"corrected_to":0} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":235,"raw_value":58077509850759183,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":199,"raw_value":-9079256848778919935,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":64,"raw_value":415711671286235462,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2251799814340612,"note":"Value kept but may cause issues"} 
[2026-08-25 21:12:54] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,98,85,24,241,157,16,201,160,71,45,93,2,44,10,66,245,68,1,200,167,240,3,227,57,197,4,113,205,36,6,104,239,40,235,199,64,46],"length":579,"final_offset":709,"validated_count":38,"validation_warnings":[{"io_id":200,"original":1560281088,"validated":0},{"io_id":205,"original":1315045582,"validated":0}]} 
[2026-08-25 21:12:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144470519312744448,"timestamp_seconds":144470519312744.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21: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-25 21:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:12:54] 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-25 21:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644141568001,"66":10243,"98":206,"85":12288,"24":27,"16":124352462998994944,"45":9196772676343709696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-25 21:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644141568001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:12:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-25 21:12:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124352462998994944,"km_value":124352462998994.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196772676343709696,"description":"Unknown IO ID 45"} 
[2026-08-25 21:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644141568001,"power":10243,"unknown_98":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9196772676343709696}} 
[2026-08-25 21:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":163246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:12:54] local.INFO: GPS data processed {"connection_id":163246,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:12:54] local.INFO: Acknowledgment sent {"connection_id":163246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:13:04] local.INFO: TCP Data received {"connection_id":163248,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:13:04] local.INFO: Processing buffer {"connection_id":163248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:13:04] local.INFO: IMEI packet received {"connection_id":163248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 21:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":163248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:13:17] local.INFO: TCP Data received {"connection_id":163247,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:13:17] local.INFO: Processing buffer {"connection_id":163247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:13:17] local.INFO: Packet analysis {"connection_id":163247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:13:17] local.INFO: Extracted packet for processing {"connection_id":163247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644054528001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787672389000,"timestamp_ms":1787672389000,"timestamp_seconds":1787672389,"priority":1,"record_length":96,"hex_timestamp":"000001a03993e588"} 
[2026-08-25 21: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-25 21:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:13:17] 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-25 21: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-25 21: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-25 21:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644054528001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644054528001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644054528001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":163247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:13:17] local.INFO: GPS data processed {"connection_id":163247,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:13:17] local.INFO: Acknowledgment sent {"connection_id":163247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:13:22] local.INFO: TCP Data received {"connection_id":164630,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:13:22] local.INFO: Processing buffer {"connection_id":164630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:13:22] local.INFO: IMEI packet received {"connection_id":164630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":164630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:13:24] local.INFO: TCP Data received {"connection_id":164630,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:13:24] local.INFO: Processing buffer {"connection_id":164630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:13:24] local.INFO: IMEI packet received {"connection_id":164630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":164630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:13:25] local.INFO: TCP Data received {"connection_id":164630,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03996a890012d7ee2c005c679c0000501222c..."} 
[2026-08-25 21:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03996a890012d7ee2c005c679c0000501222c..."} 
[2026-08-25 21:13:25] local.INFO: Processing buffer {"connection_id":164630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03996a890012d7ee2c005c679c0000501222c..."} 
[2026-08-25 21:13:25] local.INFO: Packet analysis {"connection_id":164630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03996"} 
[2026-08-25 21:13:25] local.INFO: Extracted packet for processing {"connection_id":164630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03996"} 
[2026-08-25 21:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763290304,"raw_latitude":96893376,"longitude_deg":76.3290304,"latitude_deg":9.6893376,"altitude":5,"angle":290,"satellites":44,"speed":12,"hex_longitude":"2d7ee2c0","hex_latitude":"05c679c0","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644175104001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124355933332570112,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148288611620894720,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] 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-25 21:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787672570000,"timestamp_ms":1787672570000,"timestamp_seconds":1787672570,"priority":1,"record_length":96,"hex_timestamp":"000001a03996a890"} 
[2026-08-25 21: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-25 21:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":41,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1801442054014763165,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4839399330420883466,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505497116409856,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3724541952,"corrected_to":0} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":57,"raw_value":-7698410976722335488,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5648640718821916696,"corrected_to":0} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":115,"raw_value":4160826751,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182251184455936,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2415971662,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3692958042689634305,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":39,"raw_value":-4467345093782614443,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4182726949996509910,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194399232,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:25] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,100,85,24,241,157,16,204,160,86,45,64,98,3,43,10,66,8,70,44,213,1,240,210,227,203,57,198,4,113,205,6,115,49,41,239,40,2,127,39,48,145,5,69],"length":580,"final_offset":710,"validated_count":44,"validation_warnings":[{"io_id":203,"original":3724541952,"validated":0},{"io_id":205,"original":5648640718821916696,"validated":0}]} 
[2026-08-25 21:13:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432686601811787776,"timestamp_seconds":432686601811787.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21: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-25 21:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:13:25] 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-25 21:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644175104001,"66":10243,"100":206,"85":12288,"24":12,"16":124355933332570112,"45":9148288611620894720},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 21:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644175104001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:13:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 21:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124355933332570112,"km_value":124355933332570.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148288611620894720,"description":"Unknown IO ID 45"} 
[2026-08-25 21:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644175104001,"power":10243,"unknown_100":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9148288611620894720}} 
[2026-08-25 21:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":164630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:13:26] local.INFO: GPS data processed {"connection_id":164630,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:13:26] local.INFO: Acknowledgment sent {"connection_id":164630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:13:28] local.INFO: TCP Data received {"connection_id":164630,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03996c7d0012d7eddc005c67be8000401312d..."} 
[2026-08-25 21:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03996c7d0012d7eddc005c67be8000401312d..."} 
[2026-08-25 21:13:28] local.INFO: Processing buffer {"connection_id":164630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03996c7d0012d7eddc005c67be8000401312d..."} 
[2026-08-25 21:13:28] local.INFO: Packet analysis {"connection_id":164630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03996"} 
[2026-08-25 21:13:28] local.INFO: Extracted packet for processing {"connection_id":164630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03996"} 
[2026-08-25 21:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763289024,"raw_latitude":96893928,"longitude_deg":76.3289024,"latitude_deg":9.6893928,"altitude":4,"angle":305,"satellites":45,"speed":16,"hex_longitude":"2d7eddc0","hex_latitude":"05c67be8","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644177920001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124356002052046848,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143081324552765440,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:28] 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-25 21:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787672578000,"timestamp_ms":1787672578000,"timestamp_seconds":1787672578,"priority":1,"record_length":96,"hex_timestamp":"000001a03996c7d0"} 
[2026-08-25 21: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-25 21: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-25 21: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":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 21:13:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1315176654,"corrected_to":0} 
[2026-08-25 21:13:28] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1275068416,"corrected_to":0} 
[2026-08-25 21:13:28] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2513805313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:28] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2147560831,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2147862038,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:28] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2415971662,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,100,85,24,241,157,16,205,160,125,45,64,106,6,44,10,66,204,86,98,3,43,8,1,240,210,227,57,198,4,113,15,135,47,37,239,40],"length":431,"final_offset":561,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1315176654,"validated":0},{"io_id":204,"original":1275068416,"validated":0}]} 
[2026-08-25 21:13:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360607017541042176,"timestamp_seconds":360607017541042.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21: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-25 21:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:13:28] 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-25 21:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644177920001,"66":10591,"100":206,"85":12288,"24":16,"16":124356002052046848,"45":9143081324552765440},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 21:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644177920001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:13:28] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 21:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124356002052046848,"km_value":124356002052046.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143081324552765440,"description":"Unknown IO ID 45"} 
[2026-08-25 21:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644177920001,"power":10591,"unknown_100":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":9143081324552765440}} 
[2026-08-25 21:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":164630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:13:28] local.INFO: GPS data processed {"connection_id":164630,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:13:28] local.INFO: Acknowledgment sent {"connection_id":164630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:13:40] local.INFO: TCP Data received {"connection_id":163249,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:13:40] local.INFO: Processing buffer {"connection_id":163249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:13:40] local.INFO: IMEI packet received {"connection_id":163249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":163249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:13:44] local.INFO: TCP Data received {"connection_id":163249,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:13:44] local.INFO: Processing buffer {"connection_id":163249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:13:44] local.INFO: IMEI packet received {"connection_id":163249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":163249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:13:45] local.INFO: TCP Data received {"connection_id":163249,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:13:45] local.INFO: Processing buffer {"connection_id":163249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:13:45] local.INFO: Packet analysis {"connection_id":163249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:13:45] local.INFO: Extracted packet for processing {"connection_id":163249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644054528001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672389000,"timestamp_ms":1787672389000,"timestamp_seconds":1787672389,"priority":1,"record_length":96,"hex_timestamp":"000001a03993e588"} 
[2026-08-25 21: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-25 21:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:13:45] 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-25 21: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-25 21: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-25 21:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:13:45] 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-25 21:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644054528001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644054528001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644054528001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":163249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:13:45] local.INFO: GPS data processed {"connection_id":163249,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:13:45] local.INFO: Acknowledgment sent {"connection_id":163249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:13:49] local.INFO: TCP Data received {"connection_id":163249,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:13:49] local.INFO: Processing buffer {"connection_id":163249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:13:49] local.INFO: Packet analysis {"connection_id":163249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:13:49] local.INFO: Extracted packet for processing {"connection_id":163249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:13:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 21:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644054528001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787672389000,"timestamp_ms":1787672389000,"timestamp_seconds":1787672389,"priority":1,"record_length":96,"hex_timestamp":"000001a03993e588"} 
[2026-08-25 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-25 21:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 21:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:13: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-25 21:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644054528001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644054528001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:13:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644054528001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":163249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:13:50] local.INFO: GPS data processed {"connection_id":163249,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:13:50] local.INFO: Acknowledgment sent {"connection_id":163249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:13:59] local.INFO: TCP Data received {"connection_id":164630,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03996f6b0012d7ec04005c691d0000501312e..."} 
[2026-08-25 21:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03996f6b0012d7ec04005c691d0000501312e..."} 
[2026-08-25 21:13:59] local.INFO: Processing buffer {"connection_id":164630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03996f6b0012d7ec04005c691d0000501312e..."} 
[2026-08-25 21:13:59] local.INFO: Packet analysis {"connection_id":164630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03996"} 
[2026-08-25 21:13:59] local.INFO: Extracted packet for processing {"connection_id":164630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03996"} 
[2026-08-25 21:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763281472,"raw_latitude":96899536,"longitude_deg":76.3281472,"latitude_deg":9.6899536,"altitude":5,"angle":305,"satellites":46,"speed":34,"hex_longitude":"2d7ec040","hex_latitude":"05c691d0","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644179968001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124356453023612928,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141673949669353472,"note":"Value kept but may cause issues"} 
[2026-08-25 21:13:59] 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-25 21:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787672590000,"timestamp_ms":1787672590000,"timestamp_seconds":1787672590,"priority":1,"record_length":96,"hex_timestamp":"000001a03996f6b0"} 
[2026-08-25 21: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-25 21:13: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-25 21: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":41,"n8_eight_byte":95,"data_length":795,"current_offset":136} 
[2026-08-25 21:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1258,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:13:59] 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-25 21:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644179968001,"66":10536,"100":206,"85":12288,"24":34,"16":124356453023612928,"45":9141673949669353472},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 21:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644179968001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:13:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 21:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124356453023612928,"km_value":124356453023612.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141673949669353472,"description":"Unknown IO ID 45"} 
[2026-08-25 21:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644179968001,"power":10536,"unknown_100":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9141673949669353472}} 
[2026-08-25 21:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":164630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:13:59] local.INFO: GPS data processed {"connection_id":164630,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:13:59] local.INFO: Acknowledgment sent {"connection_id":164630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:14:17] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:14:17] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:14:17] local.INFO: IMEI packet received {"connection_id":162019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":162019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:14:18] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:14:18] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:14:18] local.INFO: IMEI packet received {"connection_id":162019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":162019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:14:21] local.INFO: TCP Data received {"connection_id":163249,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:14:21] local.INFO: Processing buffer {"connection_id":163249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:14:21] local.INFO: Packet analysis {"connection_id":163249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:14:21] local.INFO: Extracted packet for processing {"connection_id":163249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 21:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644054528001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787672389000,"timestamp_ms":1787672389000,"timestamp_seconds":1787672389,"priority":1,"record_length":96,"hex_timestamp":"000001a03993e588"} 
[2026-08-25 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-25 21:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:14:21] 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-25 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-25 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-25 21:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:14: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-25 21:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644054528001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644054528001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:14:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644054528001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":163249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:14:21] local.INFO: GPS data processed {"connection_id":163249,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:14:21] local.INFO: Acknowledgment sent {"connection_id":163249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:14:22] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:14:22] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:14:22] local.INFO: IMEI packet received {"connection_id":162019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":162019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:14:23] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039972978012d7ea3c005c6a5b80004013d2c..."} 
[2026-08-25 21:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039972978012d7ea3c005c6a5b80004013d2c..."} 
[2026-08-25 21:14:23] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039972978012d7ea3c005c6a5b80004013d2c..."} 
[2026-08-25 21:14:23] local.INFO: Packet analysis {"connection_id":162019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03997"} 
[2026-08-25 21:14:23] local.INFO: Extracted packet for processing {"connection_id":162019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03997"} 
[2026-08-25 21:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763274176,"raw_latitude":96904632,"longitude_deg":76.3274176,"latitude_deg":9.6904632,"altitude":4,"angle":317,"satellites":44,"speed":9,"hex_longitude":"2d7ea3c0","hex_latitude":"05c6a5b8","is_valid_coordinates":true} 
[2026-08-25 21:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644183040001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124356882520342528,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133370437857824768,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:23] 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-25 21:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787672603000,"timestamp_ms":1787672603000,"timestamp_seconds":1787672603,"priority":1,"record_length":96,"hex_timestamp":"000001a039972978"} 
[2026-08-25 21:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-25 21:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":763,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:14:23] 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-25 21:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644183040001,"66":10406,"100":206,"85":12288,"24":9,"16":124356882520342528,"45":9133370437857824768},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-25 21:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644183040001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:14:23] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-25 21:14:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124356882520342528,"km_value":124356882520342.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133370437857824768,"description":"Unknown IO ID 45"} 
[2026-08-25 21:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644183040001,"power":10406,"unknown_100":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":9133370437857824768}} 
[2026-08-25 21:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":162019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:14:23] local.INFO: GPS data processed {"connection_id":162019,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:14:23] local.INFO: Acknowledgment sent {"connection_id":162019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:14:27] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039973530012d7ea08005c6a8b0000401322b..."} 
[2026-08-25 21:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039973530012d7ea08005c6a8b0000401322b..."} 
[2026-08-25 21:14:27] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039973530012d7ea08005c6a8b0000401322b..."} 
[2026-08-25 21:14:27] local.INFO: Packet analysis {"connection_id":162019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03997"} 
[2026-08-25 21:14:27] local.INFO: Extracted packet for processing {"connection_id":162019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03997"} 
[2026-08-25 21:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763273344,"raw_latitude":96905392,"longitude_deg":76.3273344,"latitude_deg":9.6905392,"altitude":4,"angle":306,"satellites":43,"speed":21,"hex_longitude":"2d7ea080","hex_latitude":"05c6a8b0","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644186368001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124356938354917376,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348401022875648,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:27] 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-25 21:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787672606000,"timestamp_ms":1787672606000,"timestamp_seconds":1787672606,"priority":1,"record_length":96,"hex_timestamp":"000001a039973530"} 
[2026-08-25 21: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-25 21: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-25 21: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":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 21:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:14:27] 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-25 21:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644186368001,"66":10330,"89":206,"85":12288,"24":21,"16":124356938354917376,"45":9125348401022875648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 21:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644186368001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:14:27] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 21:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124356938354917376,"km_value":124356938354917.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348401022875648,"description":"Unknown IO ID 45"} 
[2026-08-25 21:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644186368001,"power":10330,"unknown_89":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9125348401022875648}} 
[2026-08-25 21:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":162019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:14:27] local.INFO: GPS data processed {"connection_id":162019,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:14:27] local.INFO: Acknowledgment sent {"connection_id":162019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:14:39] local.INFO: TCP Data received {"connection_id":163250,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:14:39] local.INFO: Processing buffer {"connection_id":163250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:14:39] local.INFO: IMEI packet received {"connection_id":163250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":163250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:14:44] local.INFO: TCP Data received {"connection_id":163250,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:14:44] local.INFO: Processing buffer {"connection_id":163250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:14:44] local.INFO: IMEI packet received {"connection_id":163250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":163250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:14:45] local.INFO: TCP Data received {"connection_id":163250,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:14:45] local.INFO: Processing buffer {"connection_id":163250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:14:45] local.INFO: Packet analysis {"connection_id":163250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:14:45] local.INFO: Extracted packet for processing {"connection_id":163250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644054528001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672389000,"timestamp_ms":1787672389000,"timestamp_seconds":1787672389,"priority":1,"record_length":96,"hex_timestamp":"000001a03993e588"} 
[2026-08-25 21: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-25 21:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:14:45] 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-25 21: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-25 21: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-25 21:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644054528001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644054528001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644054528001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":163250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:14:45] local.INFO: GPS data processed {"connection_id":163250,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:14:45] local.INFO: Acknowledgment sent {"connection_id":163250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:14:58] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039976028012d7e828005c6bcd0000601312a..."} 
[2026-08-25 21:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039976028012d7e828005c6bcd0000601312a..."} 
[2026-08-25 21:14:58] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039976028012d7e828005c6bcd0000601312a..."} 
[2026-08-25 21:14:58] local.INFO: Packet analysis {"connection_id":162019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03997"} 
[2026-08-25 21:14:58] local.INFO: Extracted packet for processing {"connection_id":162019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03997"} 
[2026-08-25 21:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763265664,"raw_latitude":96910544,"longitude_deg":76.3265664,"latitude_deg":9.6910544,"altitude":6,"angle":305,"satellites":42,"speed":41,"hex_longitude":"2d7e8280","hex_latitude":"05c6bcd0","is_valid_coordinates":true} 
[2026-08-25 21:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644187136001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124357380736548864,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124433607348760576,"note":"Value kept but may cause issues"} 
[2026-08-25 21:14:58] 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-25 21:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787672617000,"timestamp_ms":1787672617000,"timestamp_seconds":1787672617,"priority":1,"record_length":96,"hex_timestamp":"000001a039976028"} 
[2026-08-25 21:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:14: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-25 21:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-08-25 21:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1208,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:14:58] 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-25 21:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644187136001,"66":10558,"89":206,"85":12288,"24":41,"16":124357380736548864,"45":9124433607348760576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 21:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644187136001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:14:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 21:14:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124357380736548864,"km_value":124357380736548.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124433607348760576,"description":"Unknown IO ID 45"} 
[2026-08-25 21:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644187136001,"power":10558,"unknown_89":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9124433607348760576}} 
[2026-08-25 21:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":162019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:14:58] local.INFO: GPS data processed {"connection_id":162019,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:14:58] local.INFO: Acknowledgment sent {"connection_id":162019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:15:15] local.INFO: TCP Data received {"connection_id":164631,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:15:15] local.INFO: Processing buffer {"connection_id":164631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:15:15] local.INFO: IMEI packet received {"connection_id":164631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":164631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:15:17] local.INFO: TCP Data received {"connection_id":163250,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:15:17] local.INFO: Processing buffer {"connection_id":163250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03993e588012d34c14006aa4818000600e62b..."} 
[2026-08-25 21:15:17] local.INFO: Packet analysis {"connection_id":163250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:15:17] local.INFO: Extracted packet for processing {"connection_id":163250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03993"} 
[2026-08-25 21:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644054528001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:15:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787672389000,"timestamp_ms":1787672389000,"timestamp_seconds":1787672389,"priority":1,"record_length":96,"hex_timestamp":"000001a03993e588"} 
[2026-08-25 21: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-25 21:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:15:17] 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-25 21: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-25 21: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-25 21:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644054528001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644054528001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644054528001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":163250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:15:17] local.INFO: GPS data processed {"connection_id":163250,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:15:17] local.INFO: Acknowledgment sent {"connection_id":163250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:15:17] local.INFO: TCP Data received {"connection_id":164631,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:15:17] local.INFO: Processing buffer {"connection_id":164631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:15:17] local.INFO: IMEI packet received {"connection_id":164631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":164631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:15:22] local.INFO: TCP Data received {"connection_id":164631,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:15:22] local.INFO: Processing buffer {"connection_id":164631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:15:22] local.INFO: IMEI packet received {"connection_id":164631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":164631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:15:23] local.INFO: TCP Data received {"connection_id":164631,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039978350012d7e658005c6d1c0000601312c..."} 
[2026-08-25 21:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039978350012d7e658005c6d1c0000601312c..."} 
[2026-08-25 21:15:23] local.INFO: Processing buffer {"connection_id":164631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039978350012d7e658005c6d1c0000601312c..."} 
[2026-08-25 21:15:23] local.INFO: Packet analysis {"connection_id":164631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03997"} 
[2026-08-25 21:15:23] local.INFO: Extracted packet for processing {"connection_id":164631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03997"} 
[2026-08-25 21:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763258240,"raw_latitude":96915904,"longitude_deg":76.325824,"latitude_deg":9.6915904,"altitude":6,"angle":305,"satellites":44,"speed":43,"hex_longitude":"2d7e6580","hex_latitude":"05c6d1c0","is_valid_coordinates":true} 
[2026-08-25 21:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644189952001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124357823118180352,"note":"Value kept but may cause issues"} 
[2026-08-25 21:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115989358048759808,"note":"Value kept but may cause issues"} 
[2026-08-25 21:15:23] 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-25 21:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787672626000,"timestamp_ms":1787672626000,"timestamp_seconds":1787672626,"priority":1,"record_length":96,"hex_timestamp":"000001a039978350"} 
[2026-08-25 21:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:15: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-25 21:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 21:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":961,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:15:23] 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-25 21:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644189952001,"66":10580,"89":206,"85":12288,"24":43,"16":124357823118180352,"45":9115989358048759808},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-25 21:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644189952001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:15:23] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-25 21:15:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124357823118180352,"km_value":124357823118180.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115989358048759808,"description":"Unknown IO ID 45"} 
[2026-08-25 21:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644189952001,"power":10580,"unknown_89":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9115989358048759808}} 
[2026-08-25 21:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":164631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:15:23] local.INFO: GPS data processed {"connection_id":164631,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:15:23] local.INFO: Acknowledgment sent {"connection_id":164631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:15:39] local.INFO: TCP Data received {"connection_id":162252,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:15:39] local.INFO: Processing buffer {"connection_id":162252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:15:39] local.INFO: IMEI packet received {"connection_id":162252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":162252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:15:44] local.INFO: TCP Data received {"connection_id":162252,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:15:44] local.INFO: Processing buffer {"connection_id":162252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:15:44] local.INFO: IMEI packet received {"connection_id":162252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":162252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:15:45] local.INFO: TCP Data received {"connection_id":162252,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:15:45] local.INFO: Processing buffer {"connection_id":162252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:15:45] local.INFO: Packet analysis {"connection_id":162252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:15:45] local.INFO: Extracted packet for processing {"connection_id":162252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644131584001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:15:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672690000,"timestamp_ms":1787672690000,"timestamp_seconds":1787672690,"priority":1,"record_length":96,"hex_timestamp":"000001a039987d50"} 
[2026-08-25 21:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:15:45] 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-25 21:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644131584001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644131584001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644131584001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":162252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:15:45] local.INFO: GPS data processed {"connection_id":162252,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:15:45] local.INFO: Acknowledgment sent {"connection_id":162252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:15:55] local.INFO: TCP Data received {"connection_id":164631,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039993100012d7d234005c81f180006015e2e..."} 
[2026-08-25 21:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039993100012d7d234005c81f180006015e2e..."} 
[2026-08-25 21:15:55] local.INFO: Processing buffer {"connection_id":164631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039993100012d7d234005c81f180006015e2e..."} 
[2026-08-25 21:15:55] local.INFO: Packet analysis {"connection_id":164631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03999"} 
[2026-08-25 21:15:55] local.INFO: Extracted packet for processing {"connection_id":164631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03999"} 
[2026-08-25 21:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763175744,"raw_latitude":97001240,"longitude_deg":76.3175744,"latitude_deg":9.700124,"altitude":6,"angle":350,"satellites":46,"speed":49,"hex_longitude":"2d7d2340","hex_latitude":"05c81f18","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644218624001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:15:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124363745878081536,"note":"Value kept but may cause issues"} 
[2026-08-25 21:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019021228592826368,"note":"Value kept but may cause issues"} 
[2026-08-25 21:15:55] 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-25 21:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787672736000,"timestamp_ms":1787672736000,"timestamp_seconds":1787672736,"priority":1,"record_length":96,"hex_timestamp":"000001a039993100"} 
[2026-08-25 21: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-25 21:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":40,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-25 21:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2189,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:15:55] 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-25 21:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644218624001,"66":10330,"200":0,"85":12288,"24":49,"16":124363745878081536,"45":9019021228592826368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-25 21:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644218624001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124363745878081536,"km_value":124363745878081.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019021228592826368,"description":"Unknown IO ID 45"} 
[2026-08-25 21:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644218624001,"power":10330,"gsm_signal":0,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":9019021228592826368}} 
[2026-08-25 21:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":164631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:15:55] local.INFO: GPS data processed {"connection_id":164631,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:15:55] local.INFO: Acknowledgment sent {"connection_id":164631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:16:17] local.INFO: TCP Data received {"connection_id":162252,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:16:17] local.INFO: Processing buffer {"connection_id":162252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:16:17] local.INFO: Packet analysis {"connection_id":162252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:16:17] local.INFO: Extracted packet for processing {"connection_id":162252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644131584001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787672690000,"timestamp_ms":1787672690000,"timestamp_seconds":1787672690,"priority":1,"record_length":96,"hex_timestamp":"000001a039987d50"} 
[2026-08-25 21:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:16:17] 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-25 21:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:16:17] 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-25 21:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644131584001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644131584001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644131584001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":162252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:16:17] local.INFO: GPS data processed {"connection_id":162252,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:16:17] local.INFO: Acknowledgment sent {"connection_id":162252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:16:17] local.INFO: TCP Data received {"connection_id":164632,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:16:17] local.INFO: Processing buffer {"connection_id":164632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:16:17] local.INFO: IMEI packet received {"connection_id":164632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":164632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:16:19] local.INFO: TCP Data received {"connection_id":164632,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:16:19] local.INFO: Processing buffer {"connection_id":164632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:16:19] local.INFO: IMEI packet received {"connection_id":164632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":164632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:16:22] local.INFO: TCP Data received {"connection_id":164632,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:16:22] local.INFO: Processing buffer {"connection_id":164632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:16:22] local.INFO: IMEI packet received {"connection_id":164632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":164632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:16:24] local.INFO: TCP Data received {"connection_id":164632,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039995040012d7d1d4005c845e0000701602d..."} 
[2026-08-25 21:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039995040012d7d1d4005c845e0000701602d..."} 
[2026-08-25 21:16:24] local.INFO: Processing buffer {"connection_id":164632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039995040012d7d1d4005c845e0000701602d..."} 
[2026-08-25 21:16:24] local.INFO: Packet analysis {"connection_id":164632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03999"} 
[2026-08-25 21:16:24] local.INFO: Extracted packet for processing {"connection_id":164632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03999"} 
[2026-08-25 21:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763174208,"raw_latitude":97011168,"longitude_deg":76.3174208,"latitude_deg":9.7011168,"altitude":7,"angle":352,"satellites":45,"speed":51,"hex_longitude":"2d7d1d40","hex_latitude":"05c845e0","is_valid_coordinates":true} 
[2026-08-25 21:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644220416001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124364231209385984,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017121272502360064,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:24] 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-25 21:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787672744000,"timestamp_ms":1787672744000,"timestamp_seconds":1787672744,"priority":1,"record_length":96,"hex_timestamp":"000001a039995040"} 
[2026-08-25 21:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:16: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-25 21:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-08-25 21:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1208,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:16:24] 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-25 21:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644220416001,"66":10406,"200":0,"85":12288,"24":51,"16":124364231209385984,"45":9017121272502360064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-25 21:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644220416001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:16:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124364231209385984,"km_value":124364231209385.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017121272502360064,"description":"Unknown IO ID 45"} 
[2026-08-25 21:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644220416001,"power":10406,"gsm_signal":0,"unknown_85":12288,"ignition":51,"odometer":null,"unknown_45":9017121272502360064}} 
[2026-08-25 21:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":164632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:16:24] local.INFO: GPS data processed {"connection_id":164632,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:16:24] local.INFO: Acknowledgment sent {"connection_id":164632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:16:27] local.INFO: TCP Data received {"connection_id":164632,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039996b98012d7d178005c869680009015f2d..."} 
[2026-08-25 21:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039996b98012d7d178005c869680009015f2d..."} 
[2026-08-25 21:16:27] local.INFO: Processing buffer {"connection_id":164632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039996b98012d7d178005c869680009015f2d..."} 
[2026-08-25 21:16:27] local.INFO: Packet analysis {"connection_id":164632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03999"} 
[2026-08-25 21:16:27] local.INFO: Extracted packet for processing {"connection_id":164632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03999"} 
[2026-08-25 21:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763172736,"raw_latitude":97020264,"longitude_deg":76.3172736,"latitude_deg":9.7020264,"altitude":9,"angle":351,"satellites":45,"speed":50,"hex_longitude":"2d7d1780","hex_latitude":"05c86968","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644222464001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124364677885984768,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432422644637696,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16: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-25 21:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787672751000,"timestamp_ms":1787672751000,"timestamp_seconds":1787672751,"priority":1,"record_length":96,"hex_timestamp":"000001a039996b98"} 
[2026-08-25 21: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-25 21:16: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-25 21: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":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 21:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:16:27] 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-25 21:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644222464001,"66":10406,"200":0,"85":12288,"24":50,"16":124364677885984768,"45":9015432422644637696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-25 21:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644222464001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124364677885984768,"km_value":124364677885984.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432422644637696,"description":"Unknown IO ID 45"} 
[2026-08-25 21:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644222464001,"power":10406,"gsm_signal":0,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":9015432422644637696}} 
[2026-08-25 21:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":164632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:16:27] local.INFO: GPS data processed {"connection_id":164632,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:16:27] local.INFO: Acknowledgment sent {"connection_id":164632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:16:39] local.INFO: TCP Data received {"connection_id":163251,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:16:39] local.INFO: Processing buffer {"connection_id":163251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:16:39] local.INFO: IMEI packet received {"connection_id":163251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":163251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:16:44] local.INFO: TCP Data received {"connection_id":163251,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:16:44] local.INFO: Processing buffer {"connection_id":163251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:16:44] local.INFO: IMEI packet received {"connection_id":163251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":163251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:16:45] local.INFO: TCP Data received {"connection_id":163251,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:16:45] local.INFO: Processing buffer {"connection_id":163251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:16:45] local.INFO: Packet analysis {"connection_id":163251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:16:45] local.INFO: Extracted packet for processing {"connection_id":163251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644131584001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672690000,"timestamp_ms":1787672690000,"timestamp_seconds":1787672690,"priority":1,"record_length":96,"hex_timestamp":"000001a039987d50"} 
[2026-08-25 21:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:16:45] 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-25 21:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:16:45] 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-25 21:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644131584001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644131584001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644131584001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":163251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:16:45] local.INFO: GPS data processed {"connection_id":163251,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:16:45] local.INFO: Acknowledgment sent {"connection_id":163251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:16:58] local.INFO: TCP Data received {"connection_id":164632,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039998ad8012d7d130005c88e08000c01612e..."} 
[2026-08-25 21:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039998ad8012d7d130005c88e08000c01612e..."} 
[2026-08-25 21:16:58] local.INFO: Processing buffer {"connection_id":164632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039998ad8012d7d130005c88e08000c01612e..."} 
[2026-08-25 21:16:58] local.INFO: Packet analysis {"connection_id":164632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03999"} 
[2026-08-25 21:16:58] local.INFO: Extracted packet for processing {"connection_id":164632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03999"} 
[2026-08-25 21:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763171584,"raw_latitude":97029640,"longitude_deg":76.3171584,"latitude_deg":9.702964,"altitude":12,"angle":353,"satellites":46,"speed":46,"hex_longitude":"2d7d1300","hex_latitude":"05c88e08","is_valid_coordinates":true} 
[2026-08-25 21:16: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-25 21:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644224256001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124365137447485440,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013813941530880000,"note":"Value kept but may cause issues"} 
[2026-08-25 21:16:58] 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-25 21:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787672759000,"timestamp_ms":1787672759000,"timestamp_seconds":1787672759,"priority":1,"record_length":96,"hex_timestamp":"000001a039998ad8"} 
[2026-08-25 21:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:16: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-25 21:16: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":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 21:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:16: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-25 21:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:16:58] 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-25 21:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644224256001,"66":10515,"200":0,"85":12288,"24":46,"16":124365137447485440,"45":9013813941530880000},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-25 21:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644224256001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:16:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124365137447485440,"km_value":124365137447485.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013813941530880000,"description":"Unknown IO ID 45"} 
[2026-08-25 21:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644224256001,"power":10515,"gsm_signal":0,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9013813941530880000}} 
[2026-08-25 21:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":164632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:16:59] local.INFO: GPS data processed {"connection_id":164632,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:16:59] local.INFO: Acknowledgment sent {"connection_id":164632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:17:17] local.INFO: TCP Data received {"connection_id":163251,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:17:17] local.INFO: Processing buffer {"connection_id":163251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:17:17] local.INFO: Packet analysis {"connection_id":163251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:17:17] local.INFO: Extracted packet for processing {"connection_id":163251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644131584001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787672690000,"timestamp_ms":1787672690000,"timestamp_seconds":1787672690,"priority":1,"record_length":96,"hex_timestamp":"000001a039987d50"} 
[2026-08-25 21:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:17:17] 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-25 21:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:17: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-25 21:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644131584001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644131584001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644131584001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":163251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:17:17] local.INFO: GPS data processed {"connection_id":163251,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:17:17] local.INFO: Acknowledgment sent {"connection_id":163251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:17:23] local.INFO: TCP Data received {"connection_id":164633,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:17:23] local.INFO: Processing buffer {"connection_id":164633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:17:23] local.INFO: IMEI packet received {"connection_id":164633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":164633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:17:27] local.INFO: TCP Data received {"connection_id":164633,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:17:27] local.INFO: Processing buffer {"connection_id":164633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:17:27] local.INFO: IMEI packet received {"connection_id":164633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":164633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:17:30] local.INFO: TCP Data received {"connection_id":164633,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:17:30] local.INFO: Processing buffer {"connection_id":164633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:17:30] local.INFO: IMEI packet received {"connection_id":164633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":164633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:17:31] local.INFO: TCP Data received {"connection_id":164633,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03999ae00012d7d0f8005c8b248000d01632e..."} 
[2026-08-25 21:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03999ae00012d7d0f8005c8b248000d01632e..."} 
[2026-08-25 21:17:31] local.INFO: Processing buffer {"connection_id":164633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03999ae00012d7d0f8005c8b248000d01632e..."} 
[2026-08-25 21:17:31] local.INFO: Packet analysis {"connection_id":164633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03999"} 
[2026-08-25 21:17:31] local.INFO: Extracted packet for processing {"connection_id":164633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03999"} 
[2026-08-25 21:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763170688,"raw_latitude":97038920,"longitude_deg":76.3170688,"latitude_deg":9.703892,"altitude":13,"angle":355,"satellites":46,"speed":28,"hex_longitude":"2d7d0f80","hex_latitude":"05c8b248","is_valid_coordinates":true} 
[2026-08-25 21:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644226304001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124365588419051520,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012547304138082304,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] 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-25 21:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787672768000,"timestamp_ms":1787672768000,"timestamp_seconds":1787672768,"priority":1,"record_length":96,"hex_timestamp":"000001a03999ae00"} 
[2026-08-25 21:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:17: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-25 21:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3674939499000889501,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13522224,"corrected_to":0} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194365952,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5345209966649147402,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505497240403968,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":57,"raw_value":-7442224767450654336,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":199,"raw_value":4219994119,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6356829987840983016,"corrected_to":0} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182242594521344,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":40,"raw_value":-4107056739663163819,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":125,"raw_value":5044037938015371275,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755558354977009,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4063363967534152915,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:31] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,200,85,24,241,157,16,213,160,107,45,128,105,9,10,66,80,64,69,7,212,49,1,240,90,227,57,199,4,113,205,54,250,46,239,40,2,125,48,242,5],"length":580,"final_offset":710,"validated_count":41,"validation_warnings":[{"io_id":200,"original":13522224,"validated":0},{"io_id":205,"original":-6356829987840983016,"validated":0}]} 
[2026-08-25 21:17:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865079453631250432,"timestamp_seconds":865079453631250.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:17:31] 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-25 21:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644226304001,"66":10319,"200":0,"85":12288,"24":28,"16":124365588419051520,"45":9012547304138082304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-25 21:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644226304001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124365588419051520,"km_value":124365588419051.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012547304138082304,"description":"Unknown IO ID 45"} 
[2026-08-25 21:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644226304001,"power":10319,"gsm_signal":0,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9012547304138082304}} 
[2026-08-25 21:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":164633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:17:31] local.INFO: GPS data processed {"connection_id":164633,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:17:31] local.INFO: Acknowledgment sent {"connection_id":164633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:17:32] local.INFO: TCP Data received {"connection_id":164633,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03999d510012d7d0dc005c8d548000d01652d..."} 
[2026-08-25 21:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03999d510012d7d0dc005c8d548000d01652d..."} 
[2026-08-25 21:17:32] local.INFO: Processing buffer {"connection_id":164633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03999d510012d7d0dc005c8d548000d01652d..."} 
[2026-08-25 21:17:32] local.INFO: Packet analysis {"connection_id":164633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03999"} 
[2026-08-25 21:17:32] local.INFO: Extracted packet for processing {"connection_id":164633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03999"} 
[2026-08-25 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763170240,"raw_latitude":97047880,"longitude_deg":76.317024,"latitude_deg":9.704788,"altitude":13,"angle":357,"satellites":45,"speed":46,"hex_longitude":"2d7d0dc0","hex_latitude":"05c8d548","is_valid_coordinates":true} 
[2026-08-25 21:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644228608001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124366026505715712,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011562141721970688,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:32] 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-25 21:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787672778000,"timestamp_ms":1787672778000,"timestamp_seconds":1787672778,"priority":1,"record_length":96,"hex_timestamp":"000001a03999d510"} 
[2026-08-25 21:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 21:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1109,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":164633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":164633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":164633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644228608001,"66":10384,"200":0,"85":12288,"24":46,"16":124366026505715712,"45":9011562141721970688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-25 21:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644228608001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-25 21:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124366026505715712,"km_value":124366026505715.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011562141721970688,"description":"Unknown IO ID 45"} 
[2026-08-25 21:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644228608001,"power":10384,"gsm_signal":0,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9011562141721970688}} 
[2026-08-25 21:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":164633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:17:32] local.INFO: GPS data processed {"connection_id":164633,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:17:32] local.INFO: Acknowledgment sent {"connection_id":164633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:17:43] local.INFO: TCP Data received {"connection_id":162020,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:17:43] local.INFO: Processing buffer {"connection_id":162020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:17:43] local.INFO: IMEI packet received {"connection_id":162020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":162020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:17:44] local.INFO: TCP Data received {"connection_id":162020,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:17:44] local.INFO: Processing buffer {"connection_id":162020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:17:44] local.INFO: IMEI packet received {"connection_id":162020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":162020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:17:45] local.INFO: TCP Data received {"connection_id":162020,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:17:45] local.INFO: Processing buffer {"connection_id":162020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:17:45] local.INFO: Packet analysis {"connection_id":162020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:17:45] local.INFO: Extracted packet for processing {"connection_id":162020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644131584001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672690000,"timestamp_ms":1787672690000,"timestamp_seconds":1787672690,"priority":1,"record_length":96,"hex_timestamp":"000001a039987d50"} 
[2026-08-25 21:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:17:45] 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-25 21:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:17:45] 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-25 21:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644131584001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644131584001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644131584001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":162020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:17:45] local.INFO: GPS data processed {"connection_id":162020,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:17:45] local.INFO: Acknowledgment sent {"connection_id":162020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:17:50] local.INFO: TCP Data received {"connection_id":162020,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:17:50] local.INFO: Processing buffer {"connection_id":162020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:17:50] local.INFO: Packet analysis {"connection_id":162020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:17:50] local.INFO: Extracted packet for processing {"connection_id":162020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:17:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644131584001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787672690000,"timestamp_ms":1787672690000,"timestamp_seconds":1787672690,"priority":1,"record_length":96,"hex_timestamp":"000001a039987d50"} 
[2026-08-25 21:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:17:50] 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-25 21:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21: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-25 21:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644131584001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644131584001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:17:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644131584001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":162020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:17:50] local.INFO: GPS data processed {"connection_id":162020,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:17:50] local.INFO: Acknowledgment sent {"connection_id":162020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:18:14] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:18:14] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:18:14] local.INFO: IMEI packet received {"connection_id":162253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":162253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:18:17] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:18:17] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:18:17] local.INFO: IMEI packet received {"connection_id":162253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":162253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:18:19] local.INFO: TCP Data received {"connection_id":163252,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:18:19] local.INFO: Processing buffer {"connection_id":163252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:18:19] local.INFO: IMEI packet received {"connection_id":163252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 21:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":163252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:18:22] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:18:22] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:18:22] local.INFO: IMEI packet received {"connection_id":162253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":162253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:18:23] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0399b2cd0012d7d1ec005ca8c88000600052e..."} 
[2026-08-25 21:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399b2cd0012d7d1ec005ca8c88000600052e..."} 
[2026-08-25 21:18:23] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399b2cd0012d7d1ec005ca8c88000600052e..."} 
[2026-08-25 21:18:23] local.INFO: Packet analysis {"connection_id":162253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399b"} 
[2026-08-25 21:18:23] local.INFO: Extracted packet for processing {"connection_id":162253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399b"} 
[2026-08-25 21:18:23] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":97160328,"longitude_deg":76.3174592,"latitude_deg":9.7160328,"altitude":6,"angle":5,"satellites":46,"speed":59,"hex_longitude":"2d7d1ec0","hex_latitude":"05ca8c88","is_valid_coordinates":true} 
[2026-08-25 21:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644252160001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124371493999083520,"note":"Value kept but may cause issues"} 
[2026-08-25 21:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014869472727093248,"note":"Value kept but may cause issues"} 
[2026-08-25 21:18:23] 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-25 21:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787672866000,"timestamp_ms":1787672866000,"timestamp_seconds":1787672866,"priority":1,"record_length":96,"hex_timestamp":"000001a0399b2cd0"} 
[2026-08-25 21:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:18: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-25 21:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-25 21:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":862,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:18:23] 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-25 21:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644252160001,"66":10558,"131":206,"85":15104,"24":59,"16":124371493999083520,"45":9014869472727093248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-25 21:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644252160001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:18:23] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 21:18:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124371493999083520,"km_value":124371493999083.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014869472727093248,"description":"Unknown IO ID 45"} 
[2026-08-25 21:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644252160001,"power":10558,"unknown_131":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9014869472727093248}} 
[2026-08-25 21:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":162253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:18:23] local.INFO: GPS data processed {"connection_id":162253,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:18:23] local.INFO: Acknowledgment sent {"connection_id":162253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:18:29] local.INFO: TCP Data received {"connection_id":162020,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:18:29] local.INFO: Processing buffer {"connection_id":162020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:18:29] local.INFO: Packet analysis {"connection_id":162020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:18:29] local.INFO: Extracted packet for processing {"connection_id":162020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:18:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644131584001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:18:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787672690000,"timestamp_ms":1787672690000,"timestamp_seconds":1787672690,"priority":1,"record_length":96,"hex_timestamp":"000001a039987d50"} 
[2026-08-25 21:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644131584001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644131584001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:18:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644131584001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":162020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:18:29] local.INFO: GPS data processed {"connection_id":162020,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:18:29] local.INFO: Acknowledgment sent {"connection_id":162020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:18:39] local.INFO: TCP Data received {"connection_id":163253,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:18:39] local.INFO: Processing buffer {"connection_id":163253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:18:39] local.INFO: IMEI packet received {"connection_id":163253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":163253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:18:44] local.INFO: TCP Data received {"connection_id":163253,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:18:44] local.INFO: Processing buffer {"connection_id":163253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:18:44] local.INFO: IMEI packet received {"connection_id":163253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":163253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:18:45] local.INFO: TCP Data received {"connection_id":163253,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:18:45] local.INFO: Processing buffer {"connection_id":163253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:18:45] local.INFO: Packet analysis {"connection_id":163253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:18:45] local.INFO: Extracted packet for processing {"connection_id":163253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:18: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-25 21:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644131584001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:18:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672690000,"timestamp_ms":1787672690000,"timestamp_seconds":1787672690,"priority":1,"record_length":96,"hex_timestamp":"000001a039987d50"} 
[2026-08-25 21:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:18:45] 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-25 21:18: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-25 21:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:18:45] 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-25 21:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644131584001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644131584001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644131584001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":163253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:18:45] local.INFO: GPS data processed {"connection_id":163253,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:18:45] local.INFO: Acknowledgment sent {"connection_id":163253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:18:59] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0399b4440012d7d220005caaf98000600042e..."} 
[2026-08-25 21:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399b4440012d7d220005caaf98000600042e..."} 
[2026-08-25 21:18:59] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399b4440012d7d220005caaf98000600042e..."} 
[2026-08-25 21:18:59] local.INFO: Packet analysis {"connection_id":162253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399b"} 
[2026-08-25 21:18:59] local.INFO: Extracted packet for processing {"connection_id":162253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399b"} 
[2026-08-25 21:18:59] local.INFO: GPS Element Parsed {"raw_longitude":763175424,"raw_latitude":97169304,"longitude_deg":76.3175424,"latitude_deg":9.7169304,"altitude":6,"angle":4,"satellites":46,"speed":60,"hex_longitude":"2d7d2200","hex_latitude":"05caaf98","is_valid_coordinates":true} 
[2026-08-25 21:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644253696001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124371932085747712,"note":"Value kept but may cause issues"} 
[2026-08-25 21:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015854635147888640,"note":"Value kept but may cause issues"} 
[2026-08-25 21:18:59] 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-25 21:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787672872000,"timestamp_ms":1787672872000,"timestamp_seconds":1787672872,"priority":1,"record_length":96,"hex_timestamp":"000001a0399b4440"} 
[2026-08-25 21:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-25 21:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":961,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:18:59] 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-25 21:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644253696001,"66":10536,"131":206,"85":15104,"24":60,"16":124371932085747712,"45":9015854635147888640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-25 21:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644253696001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:18:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 21:18:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124371932085747712,"km_value":124371932085747.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015854635147888640,"description":"Unknown IO ID 45"} 
[2026-08-25 21:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644253696001,"power":10536,"unknown_131":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":9015854635147888640}} 
[2026-08-25 21:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":162253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:18:59] local.INFO: GPS data processed {"connection_id":162253,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:18:59] local.INFO: Acknowledgment sent {"connection_id":162253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:19:17] local.INFO: TCP Data received {"connection_id":163253,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:19:17] local.INFO: Processing buffer {"connection_id":163253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:19:17] local.INFO: Packet analysis {"connection_id":163253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:19:17] local.INFO: Extracted packet for processing {"connection_id":163253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644131584001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:19:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787672690000,"timestamp_ms":1787672690000,"timestamp_seconds":1787672690,"priority":1,"record_length":96,"hex_timestamp":"000001a039987d50"} 
[2026-08-25 21: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-25 21:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:19:17] 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-25 21: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-25 21: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-25 21:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644131584001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644131584001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644131584001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":163253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:19:17] local.INFO: GPS data processed {"connection_id":163253,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:19:17] local.INFO: Acknowledgment sent {"connection_id":163253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:19:39] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:19:39] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:19:39] local.INFO: IMEI packet received {"connection_id":162021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":162021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:19:47] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:19:47] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:19:47] local.INFO: IMEI packet received {"connection_id":162021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":162021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:19:48] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:19:48] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:19:48] local.INFO: Packet analysis {"connection_id":162021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:19:48] local.INFO: Extracted packet for processing {"connection_id":162021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644131584001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:19:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787672690000,"timestamp_ms":1787672690000,"timestamp_seconds":1787672690,"priority":1,"record_length":96,"hex_timestamp":"000001a039987d50"} 
[2026-08-25 21:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:19:48] 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-25 21:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644131584001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644131584001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644131584001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":162021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:19:48] local.INFO: GPS data processed {"connection_id":162021,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:19:48] local.INFO: Acknowledgment sent {"connection_id":162021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:19:53] local.INFO: TCP Data received {"connection_id":164634,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:19:53] local.INFO: Processing buffer {"connection_id":164634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:19:53] local.INFO: IMEI packet received {"connection_id":164634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":164634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:19:54] local.INFO: TCP Data received {"connection_id":164634,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:19:54] local.INFO: Processing buffer {"connection_id":164634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:19:54] local.INFO: IMEI packet received {"connection_id":164634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":164634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:19:57] local.INFO: TCP Data received {"connection_id":164634,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:19:57] local.INFO: Processing buffer {"connection_id":164634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:19:57] local.INFO: IMEI packet received {"connection_id":164634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":164634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:19:59] local.INFO: TCP Data received {"connection_id":164634,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0399c9048012d7d4c0005cc4558000900092f..."} 
[2026-08-25 21:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399c9048012d7d4c0005cc4558000900092f..."} 
[2026-08-25 21:19:59] local.INFO: Processing buffer {"connection_id":164634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399c9048012d7d4c0005cc4558000900092f..."} 
[2026-08-25 21:19:59] local.INFO: Packet analysis {"connection_id":164634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399c"} 
[2026-08-25 21:19:59] local.INFO: Extracted packet for processing {"connection_id":164634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399c"} 
[2026-08-25 21:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763186176,"raw_latitude":97273176,"longitude_deg":76.3186176,"latitude_deg":9.7273176,"altitude":9,"angle":9,"satellites":47,"speed":53,"hex_longitude":"2d7d4c00","hex_latitude":"05cc4558","is_valid_coordinates":true} 
[2026-08-25 21:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644275200001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124377000147156992,"note":"Value kept but may cause issues"} 
[2026-08-25 21:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265498765312,"note":"Value kept but may cause issues"} 
[2026-08-25 21:19:59] 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-25 21:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787672957000,"timestamp_ms":1787672957000,"timestamp_seconds":1787672957,"priority":1,"record_length":96,"hex_timestamp":"000001a0399c9048"} 
[2026-08-25 21:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:19: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-25 21:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-08-25 21:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2288,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:19:59] 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-25 21:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644275200001,"66":10406,"236":206,"85":15104,"24":53,"16":124377000147156992,"45":9027043265498765312},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 21:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644275200001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:19:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 21:19:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124377000147156992,"km_value":124377000147156.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027043265498765312,"description":"Unknown IO ID 45"} 
[2026-08-25 21:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644275200001,"power":10406,"unknown_236":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9027043265498765312}} 
[2026-08-25 21:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":164634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:19:59] local.INFO: GPS data processed {"connection_id":164634,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:19:59] local.INFO: Acknowledgment sent {"connection_id":164634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:20:20] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:20:20] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039987d50012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:20:20] local.INFO: Packet analysis {"connection_id":162021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:20:20] local.INFO: Extracted packet for processing {"connection_id":162021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03998"} 
[2026-08-25 21:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644131584001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787672690000,"timestamp_ms":1787672690000,"timestamp_seconds":1787672690,"priority":1,"record_length":96,"hex_timestamp":"000001a039987d50"} 
[2026-08-25 21: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-25 21:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:20: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-25 21: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-25 21: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-25 21:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:20: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-25 21:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644131584001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644131584001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644131584001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":162021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:20:20] local.INFO: GPS data processed {"connection_id":162021,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:20:20] local.INFO: Acknowledgment sent {"connection_id":162021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:20:23] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:20:23] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:20:23] local.INFO: IMEI packet received {"connection_id":162022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":162022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:20:24] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:20:24] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:20:24] local.INFO: IMEI packet received {"connection_id":162022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":162022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:20:27] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:20:27] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:20:27] local.INFO: IMEI packet received {"connection_id":162022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":162022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:20:28] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0399caba0012d7d518005cc6bc0000a00072f..."} 
[2026-08-25 21:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399caba0012d7d518005cc6bc0000a00072f..."} 
[2026-08-25 21:20:28] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399caba0012d7d518005cc6bc0000a00072f..."} 
[2026-08-25 21:20:28] local.INFO: Packet analysis {"connection_id":162022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399c"} 
[2026-08-25 21:20:28] local.INFO: Extracted packet for processing {"connection_id":162022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399c"} 
[2026-08-25 21:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763187584,"raw_latitude":97283008,"longitude_deg":76.3187584,"latitude_deg":9.7283008,"altitude":10,"angle":7,"satellites":47,"speed":56,"hex_longitude":"2d7d5180","hex_latitude":"05cc6bc0","is_valid_coordinates":true} 
[2026-08-25 21:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644276992001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124377481183494144,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028591377872934912,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:28] 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-25 21:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787672964000,"timestamp_ms":1787672964000,"timestamp_seconds":1787672964,"priority":1,"record_length":96,"hex_timestamp":"000001a0399caba0"} 
[2026-08-25 21:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:20: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-25 21:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 21:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:20:28] 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-25 21:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644276992001,"66":10308,"236":206,"85":15104,"24":56,"16":124377481183494144,"45":9028591377872934912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 21:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644276992001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:20:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 21:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124377481183494144,"km_value":124377481183494.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028591377872934912,"description":"Unknown IO ID 45"} 
[2026-08-25 21:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644276992001,"power":10308,"unknown_236":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9028591377872934912}} 
[2026-08-25 21:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":162022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:20:28] local.INFO: GPS data processed {"connection_id":162022,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:20:28] local.INFO: Acknowledgment sent {"connection_id":162022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:20:44] local.INFO: TCP Data received {"connection_id":162254,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:20:44] local.INFO: Processing buffer {"connection_id":162254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:20:44] local.INFO: IMEI packet received {"connection_id":162254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":162254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:20:49] local.INFO: TCP Data received {"connection_id":162254,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:20:49] local.INFO: Processing buffer {"connection_id":162254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:20:49] local.INFO: IMEI packet received {"connection_id":162254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":162254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:20:50] local.INFO: TCP Data received {"connection_id":162254,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:20:50] local.INFO: Processing buffer {"connection_id":162254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:20:50] local.INFO: Packet analysis {"connection_id":162254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:20:50] local.INFO: Extracted packet for processing {"connection_id":162254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:20:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644208640001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787672991000,"timestamp_ms":1787672991000,"timestamp_seconds":1787672991,"priority":1,"record_length":96,"hex_timestamp":"000001a0399d1518"} 
[2026-08-25 21:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:20:50] 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-25 21:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644208640001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644208640001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:20:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644208640001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":162254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:20:50] local.INFO: GPS data processed {"connection_id":162254,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:20:50] local.INFO: Acknowledgment sent {"connection_id":162254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:20:54] local.INFO: TCP Data received {"connection_id":162254,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:20:54] local.INFO: Processing buffer {"connection_id":162254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:20:54] local.INFO: Packet analysis {"connection_id":162254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:20:54] local.INFO: Extracted packet for processing {"connection_id":162254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644208640001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787672991000,"timestamp_ms":1787672991000,"timestamp_seconds":1787672991,"priority":1,"record_length":96,"hex_timestamp":"000001a0399d1518"} 
[2026-08-25 21:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:20:54] 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-25 21:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644208640001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644208640001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644208640001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":162254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:20:54] local.INFO: GPS data processed {"connection_id":162254,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:20:54] local.INFO: Acknowledgment sent {"connection_id":162254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:20:59] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0399ccae0012d7d548005cc92a00009016730..."} 
[2026-08-25 21:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399ccae0012d7d548005cc92a00009016730..."} 
[2026-08-25 21:20:59] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399ccae0012d7d548005cc92a00009016730..."} 
[2026-08-25 21:20:59] local.INFO: Packet analysis {"connection_id":162022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399c"} 
[2026-08-25 21:20:59] local.INFO: Extracted packet for processing {"connection_id":162022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399c"} 
[2026-08-25 21:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763188352,"raw_latitude":97292960,"longitude_deg":76.3188352,"latitude_deg":9.729296,"altitude":9,"angle":359,"satellites":48,"speed":52,"hex_longitude":"2d7d5480","hex_latitude":"05cc92a0","is_valid_coordinates":true} 
[2026-08-25 21:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644278784001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124377966514798592,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030139490247360512,"note":"Value kept but may cause issues"} 
[2026-08-25 21:20:59] 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-25 21:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787672972000,"timestamp_ms":1787672972000,"timestamp_seconds":1787672972,"priority":1,"record_length":96,"hex_timestamp":"000001a0399ccae0"} 
[2026-08-25 21:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:20: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-25 21:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-25 21:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1010,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:20:59] 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-25 21:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644278784001,"66":10406,"236":206,"85":15104,"24":52,"16":124377966514798592,"45":9030139490247360512},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 21:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644278784001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:20:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 21:20:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124377966514798592,"km_value":124377966514798.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030139490247360512,"description":"Unknown IO ID 45"} 
[2026-08-25 21:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644278784001,"power":10406,"unknown_236":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9030139490247360512}} 
[2026-08-25 21:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":162022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:21:00] local.INFO: GPS data processed {"connection_id":162022,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:21:00] local.INFO: Acknowledgment sent {"connection_id":162022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:21:17] local.INFO: TCP Data received {"connection_id":164635,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:21:17] local.INFO: Processing buffer {"connection_id":164635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:21:17] local.INFO: IMEI packet received {"connection_id":164635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":164635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:21:22] local.INFO: TCP Data received {"connection_id":164635,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:21:22] local.INFO: Processing buffer {"connection_id":164635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:21:22] local.INFO: IMEI packet received {"connection_id":164635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":164635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:21:23] local.INFO: TCP Data received {"connection_id":164635,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0399ce638012d7d540005ccb8580008016730..."} 
[2026-08-25 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399ce638012d7d540005ccb8580008016730..."} 
[2026-08-25 21:21:23] local.INFO: Processing buffer {"connection_id":164635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399ce638012d7d540005ccb8580008016730..."} 
[2026-08-25 21:21:23] local.INFO: Packet analysis {"connection_id":164635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399c"} 
[2026-08-25 21:21:23] local.INFO: Extracted packet for processing {"connection_id":164635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399c"} 
[2026-08-25 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":763188224,"raw_latitude":97302616,"longitude_deg":76.3188224,"latitude_deg":9.7302616,"altitude":8,"angle":359,"satellites":48,"speed":56,"hex_longitude":"2d7d5400","hex_latitude":"05ccb858","is_valid_coordinates":true} 
[2026-08-25 21:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644280832001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124378434666233856,"note":"Value kept but may cause issues"} 
[2026-08-25 21:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030983915180040192,"note":"Value kept but may cause issues"} 
[2026-08-25 21:21:23] 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-25 21:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787672979000,"timestamp_ms":1787672979000,"timestamp_seconds":1787672979,"priority":1,"record_length":96,"hex_timestamp":"000001a0399ce638"} 
[2026-08-25 21:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21: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-25 21:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 21:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:21:23] 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-25 21:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644280832001,"66":10471,"236":206,"85":15104,"24":56,"16":124378434666233856,"45":9030983915180040192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-25 21:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644280832001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:21:23] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-25 21:21:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124378434666233856,"km_value":124378434666233.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030983915180040192,"description":"Unknown IO ID 45"} 
[2026-08-25 21:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644280832001,"power":10471,"unknown_236":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9030983915180040192}} 
[2026-08-25 21:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":164635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:21:23] local.INFO: GPS data processed {"connection_id":164635,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:21:23] local.INFO: Acknowledgment sent {"connection_id":164635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:21:39] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:21:39] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:21:39] local.INFO: IMEI packet received {"connection_id":162023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":162023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:21:44] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:21:44] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:21:44] local.INFO: IMEI packet received {"connection_id":162023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":162023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:21:45] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:21:45] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:21:45] local.INFO: Packet analysis {"connection_id":162023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:21:45] local.INFO: Extracted packet for processing {"connection_id":162023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644208640001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:21:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672991000,"timestamp_ms":1787672991000,"timestamp_seconds":1787672991,"priority":1,"record_length":96,"hex_timestamp":"000001a0399d1518"} 
[2026-08-25 21:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:21:45] 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-25 21:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:21:45] 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-25 21:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644208640001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644208640001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644208640001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":162023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:21:45] local.INFO: GPS data processed {"connection_id":162023,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:21:45] local.INFO: Acknowledgment sent {"connection_id":162023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:21:55] local.INFO: TCP Data received {"connection_id":164635,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0399e8060012d7d43c005ce4b400008000531..."} 
[2026-08-25 21:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399e8060012d7d43c005ce4b400008000531..."} 
[2026-08-25 21:21:55] local.INFO: Processing buffer {"connection_id":164635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399e8060012d7d43c005ce4b400008000531..."} 
[2026-08-25 21:21:55] local.INFO: Packet analysis {"connection_id":164635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399e"} 
[2026-08-25 21:21:55] local.INFO: Extracted packet for processing {"connection_id":164635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399e"} 
[2026-08-25 21:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":97405760,"longitude_deg":76.3184064,"latitude_deg":9.740576,"altitude":8,"angle":5,"satellites":49,"speed":30,"hex_longitude":"2d7d43c0","hex_latitude":"05ce4b40","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644306176001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124383446893068288,"note":"Value kept but may cause issues"} 
[2026-08-25 21:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890649028608,"note":"Value kept but may cause issues"} 
[2026-08-25 21:21:55] 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-25 21:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787673084000,"timestamp_ms":1787673084000,"timestamp_seconds":1787673084,"priority":1,"record_length":96,"hex_timestamp":"000001a0399e8060"} 
[2026-08-25 21: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-25 21:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":40,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-25 21:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2189,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:21:55] 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-25 21:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644306176001,"66":9993,"235":206,"85":15104,"24":30,"16":124383446893068288,"45":9025635890649028608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 21:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644306176001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:21:55] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 21:21:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124383446893068288,"km_value":124383446893068.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890649028608,"description":"Unknown IO ID 45"} 
[2026-08-25 21:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644306176001,"power":9993,"unknown_235":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9025635890649028608}} 
[2026-08-25 21:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":164635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:21:55] local.INFO: GPS data processed {"connection_id":164635,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:21:55] local.INFO: Acknowledgment sent {"connection_id":164635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:22:16] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:22:16] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:22:16] local.INFO: Packet analysis {"connection_id":162023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:22:16] local.INFO: Extracted packet for processing {"connection_id":162023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644208640001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787672991000,"timestamp_ms":1787672991000,"timestamp_seconds":1787672991,"priority":1,"record_length":96,"hex_timestamp":"000001a0399d1518"} 
[2026-08-25 21:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:22:16] 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-25 21:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644208640001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644208640001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644208640001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":162023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:22:16] local.INFO: GPS data processed {"connection_id":162023,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:22:16] local.INFO: Acknowledgment sent {"connection_id":162023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:22:18] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:22:18] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:22:18] local.INFO: IMEI packet received {"connection_id":162255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":162255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:22:22] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:22:22] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:22:22] local.INFO: IMEI packet received {"connection_id":162255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":162255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:22:27] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:22:27] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:22:27] local.INFO: IMEI packet received {"connection_id":162255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":162255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:22:28] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0399eaf40012d7d460005ce6eb8000900032f..."} 
[2026-08-25 21:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399eaf40012d7d460005ce6eb8000900032f..."} 
[2026-08-25 21:22:28] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399eaf40012d7d460005ce6eb8000900032f..."} 
[2026-08-25 21:22:28] local.INFO: Packet analysis {"connection_id":162255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399e"} 
[2026-08-25 21:22:28] local.INFO: Extracted packet for processing {"connection_id":162255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399e"} 
[2026-08-25 21:22:28] local.INFO: GPS Element Parsed {"raw_longitude":763184640,"raw_latitude":97414840,"longitude_deg":76.318464,"latitude_deg":9.741484,"altitude":9,"angle":3,"satellites":47,"speed":31,"hex_longitude":"2d7d4600","hex_latitude":"05ce6eb8","is_valid_coordinates":true} 
[2026-08-25 21:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644309504001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124383889274699776,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209349013504,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:28] 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-25 21:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787673096000,"timestamp_ms":1787673096000,"timestamp_seconds":1787673096,"priority":1,"record_length":96,"hex_timestamp":"000001a0399eaf40"} 
[2026-08-25 21:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-25 21:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124381187740270592,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265520621568,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2907637392689856718,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:28] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:28] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2645901313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2800484558,"corrected_to":0} 
[2026-08-25 21:22:28] local.WARNING: Large IO value detected {"io_id":236,"raw_value":58077557095399462,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:28] local.WARNING: Large IO value detected {"io_id":7,"raw_value":99691620600905728,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,235,85,24,241,157,16,230,160,77,45,128,38,8,47,10,66,229,15,192,1,9,220,64,240,166,227,228,57,205,4,113,41,146,152,46,239,40,236,7],"length":480,"final_offset":610,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2800484558,"validated":0}]} 
[2026-08-25 21:22:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576466460316925952,"timestamp_seconds":576466460316926.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:22:28] 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-25 21:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644309504001,"66":10439,"235":206,"85":15104,"24":31,"16":124383889274699776,"45":9026269209349013504},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 21:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644309504001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:22:28] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 21:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124383889274699776,"km_value":124383889274699.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209349013504,"description":"Unknown IO ID 45"} 
[2026-08-25 21:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644309504001,"power":10439,"unknown_235":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9026269209349013504}} 
[2026-08-25 21:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":162255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:22:28] local.INFO: GPS data processed {"connection_id":162255,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:22:28] local.INFO: Acknowledgment sent {"connection_id":162255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:22:31] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0399ede20012d7d490005ce93b0000b000230..."} 
[2026-08-25 21:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399ede20012d7d490005ce93b0000b000230..."} 
[2026-08-25 21:22:31] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399ede20012d7d490005ce93b0000b000230..."} 
[2026-08-25 21:22:31] local.INFO: Packet analysis {"connection_id":162255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399e"} 
[2026-08-25 21:22:31] local.INFO: Extracted packet for processing {"connection_id":162255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399e"} 
[2026-08-25 21:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763185408,"raw_latitude":97424304,"longitude_deg":76.3185408,"latitude_deg":9.7424304,"altitude":11,"angle":2,"satellites":48,"speed":28,"hex_longitude":"2d7d4900","hex_latitude":"05ce93b0","is_valid_coordinates":true} 
[2026-08-25 21:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644312576001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124384353131167744,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026902528048936960,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:31] 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-25 21:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787673108000,"timestamp_ms":1787673108000,"timestamp_seconds":1787673108,"priority":1,"record_length":96,"hex_timestamp":"000001a0399ede20"} 
[2026-08-25 21:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:22: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-25 21:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-25 21:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2189,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:22:31] 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-25 21:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644312576001,"66":10515,"235":206,"85":15104,"24":28,"16":124384353131167744,"45":9026902528048936960},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 21:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644312576001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:22:31] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 21:22:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124384353131167744,"km_value":124384353131167.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026902528048936960,"description":"Unknown IO ID 45"} 
[2026-08-25 21:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644312576001,"power":10515,"unknown_235":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9026902528048936960}} 
[2026-08-25 21:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":162255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:22:31] local.INFO: GPS data processed {"connection_id":162255,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:22:31] local.INFO: Acknowledgment sent {"connection_id":162255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:22:39] local.INFO: TCP Data received {"connection_id":162256,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:22:39] local.INFO: Processing buffer {"connection_id":162256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:22:39] local.INFO: IMEI packet received {"connection_id":162256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":162256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:22:44] local.INFO: TCP Data received {"connection_id":162256,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:22:44] local.INFO: Processing buffer {"connection_id":162256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:22:44] local.INFO: IMEI packet received {"connection_id":162256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":162256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:22:45] local.INFO: TCP Data received {"connection_id":162256,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:22:45] local.INFO: Processing buffer {"connection_id":162256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:22:45] local.INFO: Packet analysis {"connection_id":162256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:22:45] local.INFO: Extracted packet for processing {"connection_id":162256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644208640001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672991000,"timestamp_ms":1787672991000,"timestamp_seconds":1787672991,"priority":1,"record_length":96,"hex_timestamp":"000001a0399d1518"} 
[2026-08-25 21:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:22:45] 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-25 21:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:22:45] 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-25 21:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644208640001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644208640001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644208640001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":162256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:22:45] local.INFO: GPS data processed {"connection_id":162256,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:22:45] local.INFO: Acknowledgment sent {"connection_id":162256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:23:02] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0399f18b8012d7d4ac005ceb718000b016631..."} 
[2026-08-25 21:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399f18b8012d7d4ac005ceb718000b016631..."} 
[2026-08-25 21:23:02] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399f18b8012d7d4ac005ceb718000b016631..."} 
[2026-08-25 21:23:02] local.INFO: Packet analysis {"connection_id":162255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399f"} 
[2026-08-25 21:23:02] local.INFO: Extracted packet for processing {"connection_id":162255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399f"} 
[2026-08-25 21:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":97433368,"longitude_deg":76.3185856,"latitude_deg":9.7433368,"altitude":11,"angle":358,"satellites":49,"speed":20,"hex_longitude":"2d7d4ac0","hex_latitude":"05ceb718","is_valid_coordinates":true} 
[2026-08-25 21:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644315648001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124384791217831936,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746952981491712,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] 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-25 21:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787673123000,"timestamp_ms":1787673123000,"timestamp_seconds":1787673123,"priority":1,"record_length":96,"hex_timestamp":"000001a0399f18b8"} 
[2026-08-25 21:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:23: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-25 21:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2738190776507826333,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7363104091867709450,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505497533677568,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":57,"raw_value":-7092580069817892352,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6418754482716606440,"corrected_to":0} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":40,"raw_value":1801665967755939413,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":125,"raw_value":4539634805534883846,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755575534846193,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3632830398536261330,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194365952,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:02] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,235,85,24,241,157,16,230,160,175,45,110,9,47,10,66,128,192,75,8,49,77,1,240,199,227,229,57,206,4,113,205,25,220,62,80,46,239,40,236,2,125,59,114,5,69],"length":580,"final_offset":710,"validated_count":46,"validation_warnings":[{"io_id":205,"original":-6418754482716606440,"validated":0}]} 
[2026-08-25 21:23:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792635939600728064,"timestamp_seconds":792635939600728.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:23:02] 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-25 21:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644315648001,"66":10373,"235":206,"85":15104,"24":20,"16":124384791217831936,"45":9027746952981491712},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 21:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644315648001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:23:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 21:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124384791217831936,"km_value":124384791217831.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027746952981491712,"description":"Unknown IO ID 45"} 
[2026-08-25 21:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644315648001,"power":10373,"unknown_235":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9027746952981491712}} 
[2026-08-25 21:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":162255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:23:02] local.INFO: GPS data processed {"connection_id":162255,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:23:02] local.INFO: Acknowledgment sent {"connection_id":162255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:23:16] local.INFO: TCP Data received {"connection_id":162256,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:23:16] local.INFO: Processing buffer {"connection_id":162256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:23:16] local.INFO: Packet analysis {"connection_id":162256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:23:16] local.INFO: Extracted packet for processing {"connection_id":162256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644208640001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787672991000,"timestamp_ms":1787672991000,"timestamp_seconds":1787672991,"priority":1,"record_length":96,"hex_timestamp":"000001a0399d1518"} 
[2026-08-25 21: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-25 21:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:23:16] 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-25 21: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-25 21: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-25 21:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644208640001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644208640001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644208640001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":162256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:23:16] local.INFO: GPS data processed {"connection_id":162256,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:23:16] local.INFO: Acknowledgment sent {"connection_id":162256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:23:32] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:23:32] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:23:32] local.INFO: IMEI packet received {"connection_id":162024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":162024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:23:33] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:23:33] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:23:33] local.INFO: IMEI packet received {"connection_id":162024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":162024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:23:36] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:23:36] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:23:36] local.INFO: IMEI packet received {"connection_id":162024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":162024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:23:37] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0399f4f68012d7d49c005ced9c8000a016731..."} 
[2026-08-25 21:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399f4f68012d7d49c005ced9c8000a016731..."} 
[2026-08-25 21:23:37] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399f4f68012d7d49c005ced9c8000a016731..."} 
[2026-08-25 21:23:37] local.INFO: Packet analysis {"connection_id":162024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399f"} 
[2026-08-25 21:23:37] local.INFO: Extracted packet for processing {"connection_id":162024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399f"} 
[2026-08-25 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":97442248,"longitude_deg":76.31856,"latitude_deg":9.7442248,"altitude":10,"angle":359,"satellites":49,"speed":28,"hex_longitude":"2d7d49c0","hex_latitude":"05ced9c8","is_valid_coordinates":true} 
[2026-08-25 21:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644319488001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124385225009528832,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534193055744,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:37] 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-25 21:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787673137000,"timestamp_ms":1787673137000,"timestamp_seconds":1787673137,"priority":1,"record_length":96,"hex_timestamp":"000001a0399f4f68"} 
[2026-08-25 21:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 21:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1595,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644319488001,"66":10439,"235":206,"85":15104,"24":28,"16":124385225009528832,"45":9028239534193055744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-25 21:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644319488001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:23:37] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-25 21:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124385225009528832,"km_value":124385225009528.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534193055744,"description":"Unknown IO ID 45"} 
[2026-08-25 21:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644319488001,"power":10439,"unknown_235":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9028239534193055744}} 
[2026-08-25 21:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":162024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:23:37] local.INFO: GPS data processed {"connection_id":162024,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:23:37] local.INFO: Acknowledgment sent {"connection_id":162024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:23:44] local.INFO: TCP Data received {"connection_id":162257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:23:44] local.INFO: Processing buffer {"connection_id":162257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:23:44] local.INFO: IMEI packet received {"connection_id":162257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":162257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:23:49] local.INFO: TCP Data received {"connection_id":162257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:23:49] local.INFO: Processing buffer {"connection_id":162257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:23:49] local.INFO: IMEI packet received {"connection_id":162257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":162257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:23:50] local.INFO: TCP Data received {"connection_id":162257,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:23:50] local.INFO: Processing buffer {"connection_id":162257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:23:50] local.INFO: Packet analysis {"connection_id":162257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:23:50] local.INFO: Extracted packet for processing {"connection_id":162257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:23:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 21:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644208640001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787672991000,"timestamp_ms":1787672991000,"timestamp_seconds":1787672991,"priority":1,"record_length":96,"hex_timestamp":"000001a0399d1518"} 
[2026-08-25 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-25 21:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:23:50] 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-25 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-25 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-25 21:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:23: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-25 21:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644208640001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644208640001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:23:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644208640001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":162257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:23:50] local.INFO: GPS data processed {"connection_id":162257,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:23:50] local.INFO: Acknowledgment sent {"connection_id":162257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:23:54] local.INFO: TCP Data received {"connection_id":162257,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:23:54] local.INFO: Processing buffer {"connection_id":162257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:23:54] local.INFO: Packet analysis {"connection_id":162257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:23:54] local.INFO: Extracted packet for processing {"connection_id":162257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:23:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644208640001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787672991000,"timestamp_ms":1787672991000,"timestamp_seconds":1787672991,"priority":1,"record_length":96,"hex_timestamp":"000001a0399d1518"} 
[2026-08-25 21: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-25 21:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:23:54] 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-25 21: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-25 21: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-25 21:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644208640001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644208640001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:23:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644208640001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":162257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:23:54] local.INFO: GPS data processed {"connection_id":162257,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:23:54] local.INFO: Acknowledgment sent {"connection_id":162257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:23:54] local.INFO: TCP Data received {"connection_id":163254,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:23:54] local.INFO: Processing buffer {"connection_id":163254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:23:54] local.INFO: IMEI packet received {"connection_id":163254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 21:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":163254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:24:20] local.INFO: TCP Data received {"connection_id":164636,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:24:20] local.INFO: Processing buffer {"connection_id":164636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:24:20] local.INFO: IMEI packet received {"connection_id":164636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":164636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:24:22] local.INFO: TCP Data received {"connection_id":164636,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:24:22] local.INFO: Processing buffer {"connection_id":164636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:24:22] local.INFO: IMEI packet received {"connection_id":164636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":164636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:24:27] local.INFO: TCP Data received {"connection_id":164636,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:24:27] local.INFO: Processing buffer {"connection_id":164636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:24:27] local.INFO: IMEI packet received {"connection_id":164636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":164636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:24:29] local.INFO: TCP Data received {"connection_id":164636,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a08fb8012d7d49c005d033a00004016631..."} 
[2026-08-25 21:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a08fb8012d7d49c005d033a00004016631..."} 
[2026-08-25 21:24:29] local.INFO: Processing buffer {"connection_id":164636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a08fb8012d7d49c005d033a00004016631..."} 
[2026-08-25 21:24:29] local.INFO: Packet analysis {"connection_id":164636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a0"} 
[2026-08-25 21:24:29] local.INFO: Extracted packet for processing {"connection_id":164636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a0"} 
[2026-08-25 21:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":97530784,"longitude_deg":76.31856,"latitude_deg":9.7530784,"altitude":4,"angle":358,"satellites":49,"speed":21,"hex_longitude":"2d7d49c0","hex_latitude":"05d033a0","is_valid_coordinates":true} 
[2026-08-25 21:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644342784001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124389524271792128,"note":"Value kept but may cause issues"} 
[2026-08-25 21:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027395109287421952,"note":"Value kept but may cause issues"} 
[2026-08-25 21:24:29] 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-25 21:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787673219000,"timestamp_ms":1787673219000,"timestamp_seconds":1787673219,"priority":1,"record_length":96,"hex_timestamp":"000001a039a08fb8"} 
[2026-08-25 21:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:24: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-25 21:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 21:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1058,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:24:29] 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-25 21:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644342784001,"66":9939,"198":206,"85":15104,"24":21,"16":124389524271792128,"45":9027395109287421952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-25 21:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644342784001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:24:29] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-25 21:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124389524271792128,"km_value":124389524271792.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027395109287421952,"description":"Unknown IO ID 45"} 
[2026-08-25 21:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644342784001,"power":9939,"unknown_198":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9027395109287421952}} 
[2026-08-25 21:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":164636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:24:29] local.INFO: GPS data processed {"connection_id":164636,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:24:29] local.INFO: Acknowledgment sent {"connection_id":164636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:24:39] local.INFO: TCP Data received {"connection_id":162258,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:24:39] local.INFO: Processing buffer {"connection_id":162258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:24:39] local.INFO: IMEI packet received {"connection_id":162258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":162258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:24:44] local.INFO: TCP Data received {"connection_id":162258,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:24:44] local.INFO: Processing buffer {"connection_id":162258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:24:44] local.INFO: IMEI packet received {"connection_id":162258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":162258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:24:45] local.INFO: TCP Data received {"connection_id":162258,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:24:45] local.INFO: Processing buffer {"connection_id":162258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:24:45] local.INFO: Packet analysis {"connection_id":162258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:24:45] local.INFO: Extracted packet for processing {"connection_id":162258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644208640001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:24:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787672991000,"timestamp_ms":1787672991000,"timestamp_seconds":1787672991,"priority":1,"record_length":96,"hex_timestamp":"000001a0399d1518"} 
[2026-08-25 21: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-25 21:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:24:45] 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-25 21: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-25 21: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-25 21:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644208640001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644208640001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644208640001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":162258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:24:45] local.INFO: GPS data processed {"connection_id":162258,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:24:45] local.INFO: Acknowledgment sent {"connection_id":162258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:25:00] local.INFO: TCP Data received {"connection_id":164636,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a0bab0012d7d468005d057a80005016230..."} 
[2026-08-25 21:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a0bab0012d7d468005d057a80005016230..."} 
[2026-08-25 21:25:00] local.INFO: Processing buffer {"connection_id":164636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a0bab0012d7d468005d057a80005016230..."} 
[2026-08-25 21:25:00] local.INFO: Packet analysis {"connection_id":164636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a0"} 
[2026-08-25 21:25:00] local.INFO: Extracted packet for processing {"connection_id":164636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a0"} 
[2026-08-25 21:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763184768,"raw_latitude":97540008,"longitude_deg":76.3184768,"latitude_deg":9.7540008,"altitude":5,"angle":354,"satellites":48,"speed":42,"hex_longitude":"2d7d4680","hex_latitude":"05d057a8","is_valid_coordinates":true} 
[2026-08-25 21:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644344064001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124389970948390912,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027958059241283584,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:00] 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-25 21:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787673230000,"timestamp_ms":1787673230000,"timestamp_seconds":1787673230,"priority":1,"record_length":96,"hex_timestamp":"000001a039a0bab0"} 
[2026-08-25 21:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:25: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-25 21:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-25 21:25:00] 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-25 21:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:25:00] 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-25 21:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644344064001,"66":10384,"198":206,"85":15104,"24":42,"16":124389970948390912,"45":9027958059241283584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-25 21:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644344064001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:25:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-25 21:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124389970948390912,"km_value":124389970948390.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027958059241283584,"description":"Unknown IO ID 45"} 
[2026-08-25 21:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644344064001,"power":10384,"unknown_198":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9027958059241283584}} 
[2026-08-25 21:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":164636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:25:00] local.INFO: GPS data processed {"connection_id":164636,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:25:00] local.INFO: Acknowledgment sent {"connection_id":164636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:25:16] local.INFO: TCP Data received {"connection_id":162258,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:25:16] local.INFO: Processing buffer {"connection_id":162258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0399d1518012d34c14006aa4818000400e631..."} 
[2026-08-25 21:25:16] local.INFO: Packet analysis {"connection_id":162258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:25:16] local.INFO: Extracted packet for processing {"connection_id":162258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0399d"} 
[2026-08-25 21:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644208640001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787672991000,"timestamp_ms":1787672991000,"timestamp_seconds":1787672991,"priority":1,"record_length":96,"hex_timestamp":"000001a0399d1518"} 
[2026-08-25 21:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:25:16] 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-25 21:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644208640001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644208640001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644208640001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":162258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:25:16] local.INFO: GPS data processed {"connection_id":162258,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:25:16] local.INFO: Acknowledgment sent {"connection_id":162258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:25:18] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:25:18] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:25:18] local.INFO: IMEI packet received {"connection_id":162025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":162025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:25:18] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:25:18] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:25:18] local.INFO: IMEI packet received {"connection_id":162025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":162025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:25:20] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:25:20] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:25:20] local.INFO: IMEI packet received {"connection_id":162025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":162025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:25:23] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:25:23] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:25:23] local.INFO: IMEI packet received {"connection_id":162025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":162025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:25:23] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a0d9f0012d7d42c005d07c180006016130..."} 
[2026-08-25 21:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a0d9f0012d7d42c005d07c180006016130..."} 
[2026-08-25 21:25:23] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a0d9f0012d7d42c005d07c180006016130..."} 
[2026-08-25 21:25:23] local.INFO: Packet analysis {"connection_id":162025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a0"} 
[2026-08-25 21:25:23] local.INFO: Extracted packet for processing {"connection_id":162025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a0"} 
[2026-08-25 21:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":97549336,"longitude_deg":76.3183808,"latitude_deg":9.7549336,"altitude":6,"angle":353,"satellites":48,"speed":44,"hex_longitude":"2d7d42c0","hex_latitude":"05d07c18","is_valid_coordinates":true} 
[2026-08-25 21:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644346880001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124390426214924288,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265569335296,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787673238000,"timestamp_ms":1787673238000,"timestamp_seconds":1787673238,"priority":1,"record_length":96,"hex_timestamp":"000001a039a0d9f0"} 
[2026-08-25 21:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-25 21:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1694,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:25:23] 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-25 21:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644346880001,"66":10243,"198":206,"85":15104,"24":44,"16":124390426214924288,"45":9027043265569335296},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-25 21:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644346880001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:25:23] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-25 21:25:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124390426214924288,"km_value":124390426214924.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027043265569335296,"description":"Unknown IO ID 45"} 
[2026-08-25 21:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644346880001,"power":10243,"unknown_198":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9027043265569335296}} 
[2026-08-25 21:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":162025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:25:24] local.INFO: GPS data processed {"connection_id":162025,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:25:24] local.INFO: Acknowledgment sent {"connection_id":162025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:25:28] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a108d0012d7d3f8005d0a0680006016431..."} 
[2026-08-25 21:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a108d0012d7d3f8005d0a0680006016431..."} 
[2026-08-25 21:25:28] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a108d0012d7d3f8005d0a0680006016431..."} 
[2026-08-25 21:25:28] local.INFO: Packet analysis {"connection_id":162025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:25:28] local.INFO: Extracted packet for processing {"connection_id":162025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763182976,"raw_latitude":97558632,"longitude_deg":76.3182976,"latitude_deg":9.7558632,"altitude":6,"angle":356,"satellites":49,"speed":32,"hex_longitude":"2d7d3f80","hex_latitude":"05d0a068","is_valid_coordinates":true} 
[2026-08-25 21:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644348928001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124390881481457664,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025987734409058304,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:28] 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-25 21:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787673250000,"timestamp_ms":1787673250000,"timestamp_seconds":1787673250,"priority":1,"record_length":96,"hex_timestamp":"000001a039a108d0"} 
[2026-08-25 21:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:25: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-25 21:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 21:25:28] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:28] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2691725313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2009465038,"corrected_to":0} 
[2026-08-25 21:25:28] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3540045222,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,198,85,24,241,157,16,236,160,186,45,128,87,5,48,10,66,143,192,51,4,49,235,124,1,240,75,227,57,208,113,205,29,81,72,216,239,38,237],"length":431,"final_offset":561,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2009465038,"validated":0}]} 
[2026-08-25 21:25:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432733897993486336,"timestamp_seconds":432733897993486.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:25:28] 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-25 21:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644348928001,"66":10069,"198":206,"85":15104,"24":32,"16":124390881481457664,"45":9025987734409058304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-25 21:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644348928001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:25:28] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-25 21:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124390881481457664,"km_value":124390881481457.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025987734409058304,"description":"Unknown IO ID 45"} 
[2026-08-25 21:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644348928001,"power":10069,"unknown_198":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9025987734409058304}} 
[2026-08-25 21:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":162025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:25:28] local.INFO: GPS data processed {"connection_id":162025,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:25:28] local.INFO: Acknowledgment sent {"connection_id":162025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:25:39] local.INFO: TCP Data received {"connection_id":163255,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:25:39] local.INFO: Processing buffer {"connection_id":163255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:25:39] local.INFO: IMEI packet received {"connection_id":163255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":163255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:25:44] local.INFO: TCP Data received {"connection_id":163255,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:25:44] local.INFO: Processing buffer {"connection_id":163255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:25:44] local.INFO: IMEI packet received {"connection_id":163255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":163255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:25:45] local.INFO: TCP Data received {"connection_id":163255,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:25:45] local.INFO: Processing buffer {"connection_id":163255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:25:45] local.INFO: Packet analysis {"connection_id":163255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:25:45] local.INFO: Extracted packet for processing {"connection_id":163255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644285696001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787673292000,"timestamp_ms":1787673292000,"timestamp_seconds":1787673292,"priority":1,"record_length":96,"hex_timestamp":"000001a039a1ace0"} 
[2026-08-25 21:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 21:25:45] 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-25 21:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:25:45] 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-25 21:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644285696001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644285696001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:25:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644285696001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":163255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:25:45] local.INFO: GPS data processed {"connection_id":163255,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:25:45] local.INFO: Acknowledgment sent {"connection_id":163255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:25:59] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a12bf8012d7d3d8005d0c3800006016430..."} 
[2026-08-25 21:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a12bf8012d7d3d8005d0c3800006016430..."} 
[2026-08-25 21:25:59] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a12bf8012d7d3d8005d0c3800006016430..."} 
[2026-08-25 21:25:59] local.INFO: Packet analysis {"connection_id":162025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:25:59] local.INFO: Extracted packet for processing {"connection_id":162025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":97567616,"longitude_deg":76.3182464,"latitude_deg":9.7567616,"altitude":6,"angle":356,"satellites":48,"speed":45,"hex_longitude":"2d7d3d80","hex_latitude":"05d0c380","is_valid_coordinates":true} 
[2026-08-25 21:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644352000001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124391315273154560,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072940737128448,"note":"Value kept but may cause issues"} 
[2026-08-25 21:25:59] 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-25 21:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787673259000,"timestamp_ms":1787673259000,"timestamp_seconds":1787673259,"priority":1,"record_length":96,"hex_timestamp":"000001a039a12bf8"} 
[2026-08-25 21:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-25 21:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1158,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:25:59] 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-25 21:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644352000001,"66":10265,"198":206,"85":15104,"24":45,"16":124391315273154560,"45":9025072940737128448},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-25 21:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644352000001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:25:59] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-25 21:25:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124391315273154560,"km_value":124391315273154.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072940737128448,"description":"Unknown IO ID 45"} 
[2026-08-25 21:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644352000001,"power":10265,"unknown_198":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9025072940737128448}} 
[2026-08-25 21:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":162025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:25:59] local.INFO: GPS data processed {"connection_id":162025,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:25:59] local.INFO: Acknowledgment sent {"connection_id":162025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:26:17] local.INFO: TCP Data received {"connection_id":163255,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:26:17] local.INFO: Processing buffer {"connection_id":163255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:26:17] local.INFO: Packet analysis {"connection_id":163255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:26:17] local.INFO: Extracted packet for processing {"connection_id":163255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644285696001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:26:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787673292000,"timestamp_ms":1787673292000,"timestamp_seconds":1787673292,"priority":1,"record_length":96,"hex_timestamp":"000001a039a1ace0"} 
[2026-08-25 21:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 21:26:17] 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-25 21:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644285696001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644285696001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644285696001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":163255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:26:17] local.INFO: GPS data processed {"connection_id":163255,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:26:17] local.INFO: Acknowledgment sent {"connection_id":163255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:26:27] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:26:27] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:26:27] local.INFO: IMEI packet received {"connection_id":162026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":162026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:26:30] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:26:30] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:26:30] local.INFO: IMEI packet received {"connection_id":162026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":162026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:26:32] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:26:32] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:26:32] local.INFO: IMEI packet received {"connection_id":162026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":162026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:26:39] local.INFO: TCP Data received {"connection_id":163256,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:26:39] local.INFO: Processing buffer {"connection_id":163256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:26:39] local.INFO: IMEI packet received {"connection_id":163256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":163256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:26:40] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a29b28012d7d270005d220680006000928..."} 
[2026-08-25 21:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a29b28012d7d270005d220680006000928..."} 
[2026-08-25 21:26:40] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a29b28012d7d270005d220680006000928..."} 
[2026-08-25 21:26:40] local.INFO: Packet analysis {"connection_id":162026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a2"} 
[2026-08-25 21:26:40] local.INFO: Extracted packet for processing {"connection_id":162026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a2"} 
[2026-08-25 21:26:40] local.INFO: GPS Element Parsed {"raw_longitude":763176704,"raw_latitude":97656936,"longitude_deg":76.3176704,"latitude_deg":9.7656936,"altitude":6,"angle":9,"satellites":40,"speed":41,"hex_longitude":"2d7d2700","hex_latitude":"05d22068","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644376064001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124395678959927296,"note":"Value kept but may cause issues"} 
[2026-08-25 21:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017050903923613696,"note":"Value kept but may cause issues"} 
[2026-08-25 21:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787673353000,"timestamp_ms":1787673353000,"timestamp_seconds":1787673353,"priority":1,"record_length":96,"hex_timestamp":"000001a039a29b28"} 
[2026-08-25 21: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-25 21:26: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-25 21: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":40,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-25 21:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":722,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":162026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":162026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":162026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:26:40] 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-25 21:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644376064001,"66":10178,"23":206,"85":15104,"24":41,"16":124395678959927296,"45":9017050903923613696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-25 21:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644376064001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:26:40] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-25 21:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124395678959927296,"km_value":124395678959927.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017050903923613696,"description":"Unknown IO ID 45"} 
[2026-08-25 21:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644376064001,"power":10178,"unknown_23":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9017050903923613696}} 
[2026-08-25 21:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":162026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:26:40] local.INFO: GPS data processed {"connection_id":162026,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:26:40] local.INFO: Acknowledgment sent {"connection_id":162026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:26:43] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a2c238012d7d2d0005d245a00009000b2c..."} 
[2026-08-25 21:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a2c238012d7d2d0005d245a00009000b2c..."} 
[2026-08-25 21:26:43] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a2c238012d7d2d0005d245a00009000b2c..."} 
[2026-08-25 21:26:43] local.INFO: Packet analysis {"connection_id":162026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a2"} 
[2026-08-25 21:26:43] local.INFO: Extracted packet for processing {"connection_id":162026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a2"} 
[2026-08-25 21:26:43] local.INFO: GPS Element Parsed {"raw_longitude":763178240,"raw_latitude":97666464,"longitude_deg":76.317824,"latitude_deg":9.7666464,"altitude":9,"angle":11,"satellites":44,"speed":39,"hex_longitude":"2d7d2d00","hex_latitude":"05d245a0","is_valid_coordinates":true} 
[2026-08-25 21:26: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-25 21:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644378368001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124396147111362560,"note":"Value kept but may cause issues"} 
[2026-08-25 21:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018176803832883200,"note":"Value kept but may cause issues"} 
[2026-08-25 21:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787673363000,"timestamp_ms":1787673363000,"timestamp_seconds":1787673363,"priority":1,"record_length":96,"hex_timestamp":"000001a039a2c238"} 
[2026-08-25 21:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:26: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-25 21:26: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":39,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 21:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:26: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-25 21:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:26:43] 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-25 21:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644378368001,"66":10319,"23":206,"85":15104,"24":39,"16":124396147111362560,"45":9018176803832883200},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-25 21:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644378368001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:26:43] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-25 21:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124396147111362560,"km_value":124396147111362.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018176803832883200,"description":"Unknown IO ID 45"} 
[2026-08-25 21:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644378368001,"power":10319,"unknown_23":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9018176803832883200}} 
[2026-08-25 21:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":162026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:26:43] local.INFO: GPS data processed {"connection_id":162026,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:26:43] local.INFO: Acknowledgment sent {"connection_id":162026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:26:44] local.INFO: TCP Data received {"connection_id":163256,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:26:44] local.INFO: Processing buffer {"connection_id":163256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:26:44] local.INFO: IMEI packet received {"connection_id":163256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":163256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:26:45] local.INFO: TCP Data received {"connection_id":163256,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:26:45] local.INFO: Processing buffer {"connection_id":163256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:26:45] local.INFO: Packet analysis {"connection_id":163256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:26:45] local.INFO: Extracted packet for processing {"connection_id":163256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644285696001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:26:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787673292000,"timestamp_ms":1787673292000,"timestamp_seconds":1787673292,"priority":1,"record_length":96,"hex_timestamp":"000001a039a1ace0"} 
[2026-08-25 21:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 21:26:45] 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-25 21:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644285696001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644285696001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644285696001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":163256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:26:45] local.INFO: GPS data processed {"connection_id":163256,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:26:45] local.INFO: Acknowledgment sent {"connection_id":163256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:27:17] local.INFO: TCP Data received {"connection_id":163256,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:27:17] local.INFO: Processing buffer {"connection_id":163256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:27:17] local.INFO: Packet analysis {"connection_id":163256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:27:17] local.INFO: Extracted packet for processing {"connection_id":163256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644285696001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787673292000,"timestamp_ms":1787673292000,"timestamp_seconds":1787673292,"priority":1,"record_length":96,"hex_timestamp":"000001a039a1ace0"} 
[2026-08-25 21: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-25 21:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 21:27:17] 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-25 21: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-25 21: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-25 21:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644285696001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644285696001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644285696001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":163256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:27:17] local.INFO: GPS data processed {"connection_id":163256,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:27:17] local.INFO: Acknowledgment sent {"connection_id":163256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:27:17] local.INFO: TCP Data received {"connection_id":162259,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:27:17] local.INFO: Processing buffer {"connection_id":162259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:27:17] local.INFO: IMEI packet received {"connection_id":162259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":162259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:27:18] local.INFO: TCP Data received {"connection_id":162259,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:27:18] local.INFO: Processing buffer {"connection_id":162259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:27:18] local.INFO: IMEI packet received {"connection_id":162259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":162259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:27:22] local.INFO: TCP Data received {"connection_id":162259,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:27:22] local.INFO: Processing buffer {"connection_id":162259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:27:22] local.INFO: IMEI packet received {"connection_id":162259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":162259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:27:23] local.INFO: TCP Data received {"connection_id":162259,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a2e948012d7d330005d26b08000900072e..."} 
[2026-08-25 21:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a2e948012d7d330005d26b08000900072e..."} 
[2026-08-25 21:27:23] local.INFO: Processing buffer {"connection_id":162259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a2e948012d7d330005d26b08000900072e..."} 
[2026-08-25 21:27:23] local.INFO: Packet analysis {"connection_id":162259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a2"} 
[2026-08-25 21:27:23] local.INFO: Extracted packet for processing {"connection_id":162259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a2"} 
[2026-08-25 21:27:23] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":97676040,"longitude_deg":76.3179776,"latitude_deg":9.767604,"altitude":9,"angle":7,"satellites":46,"speed":35,"hex_longitude":"2d7d3300","hex_latitude":"05d26b08","is_valid_coordinates":true} 
[2026-08-25 21:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644380928001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124396619557765120,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019865653695586304,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787673373000,"timestamp_ms":1787673373000,"timestamp_seconds":1787673373,"priority":1,"record_length":96,"hex_timestamp":"000001a039a2e948"} 
[2026-08-25 21:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 21:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1109,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:27:23] 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-25 21:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644380928001,"66":10091,"23":206,"85":15104,"24":35,"16":124396619557765120,"45":9019865653695586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-25 21:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644380928001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:27:23] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-25 21:27:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124396619557765120,"km_value":124396619557765.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019865653695586304,"description":"Unknown IO ID 45"} 
[2026-08-25 21:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644380928001,"power":10091,"unknown_23":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9019865653695586304}} 
[2026-08-25 21:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":162259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:27:23] local.INFO: GPS data processed {"connection_id":162259,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:27:23] local.INFO: Acknowledgment sent {"connection_id":162259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:27:44] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:27:44] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:27:44] local.INFO: IMEI packet received {"connection_id":162027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":162027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:27:49] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:27:49] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:27:49] local.INFO: IMEI packet received {"connection_id":162027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":162027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:27:50] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:27:50] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:27:50] local.INFO: Packet analysis {"connection_id":162027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:27:50] local.INFO: Extracted packet for processing {"connection_id":162027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:27:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 21:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644285696001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787673292000,"timestamp_ms":1787673292000,"timestamp_seconds":1787673292,"priority":1,"record_length":96,"hex_timestamp":"000001a039a1ace0"} 
[2026-08-25 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-25 21:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 21:27:50] 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-25 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-25 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-25 21:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:27: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-25 21:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644285696001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644285696001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:27:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644285696001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":162027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:27:50] local.INFO: GPS data processed {"connection_id":162027,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:27:50] local.INFO: Acknowledgment sent {"connection_id":162027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:27:54] local.INFO: TCP Data received {"connection_id":162259,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a327c8012d7d374005d28ca0000800192f..."} 
[2026-08-25 21:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a327c8012d7d374005d28ca0000800192f..."} 
[2026-08-25 21:27:54] local.INFO: Processing buffer {"connection_id":162259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a327c8012d7d374005d28ca0000800192f..."} 
[2026-08-25 21:27:54] local.INFO: Packet analysis {"connection_id":162259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a3"} 
[2026-08-25 21:27:54] local.INFO: Extracted packet for processing {"connection_id":162259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a3"} 
[2026-08-25 21:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":97684640,"longitude_deg":76.3180864,"latitude_deg":9.768464,"altitude":8,"angle":25,"satellites":47,"speed":8,"hex_longitude":"2d7d3740","hex_latitude":"05d28ca0","is_valid_coordinates":true} 
[2026-08-25 21:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644383488001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124397040464560128,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503558301696,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787673389000,"timestamp_ms":1787673389000,"timestamp_seconds":1787673389,"priority":1,"record_length":96,"hex_timestamp":"000001a039a327c8"} 
[2026-08-25 21:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 21:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1356,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:27:54] 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-25 21:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644383488001,"66":10069,"23":206,"85":15104,"24":8,"16":124397040464560128,"45":9021554503558301696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-25 21:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644383488001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:27:54] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-25 21:27:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124397040464560128,"km_value":124397040464560.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503558301696,"description":"Unknown IO ID 45"} 
[2026-08-25 21:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644383488001,"power":10069,"unknown_23":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9021554503558301696}} 
[2026-08-25 21:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":162259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:27:54] local.INFO: GPS data processed {"connection_id":162259,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:27:54] local.INFO: Acknowledgment sent {"connection_id":162259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:27:54] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:27:54] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:27:54] local.INFO: Packet analysis {"connection_id":162027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:27:54] local.INFO: Extracted packet for processing {"connection_id":162027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644285696001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787673292000,"timestamp_ms":1787673292000,"timestamp_seconds":1787673292,"priority":1,"record_length":96,"hex_timestamp":"000001a039a1ace0"} 
[2026-08-25 21:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 21:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 21:27:54] 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-25 21:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:27:54] 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-25 21:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644285696001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644285696001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:27:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644285696001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":162027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:27:54] local.INFO: GPS data processed {"connection_id":162027,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:27:54] local.INFO: Acknowledgment sent {"connection_id":162027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:28:17] local.INFO: TCP Data received {"connection_id":162260,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:28:17] local.INFO: Processing buffer {"connection_id":162260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:28:17] local.INFO: IMEI packet received {"connection_id":162260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":162260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:28:21] local.INFO: TCP Data received {"connection_id":162260,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:28:21] local.INFO: Processing buffer {"connection_id":162260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:28:21] local.INFO: IMEI packet received {"connection_id":162260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":162260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:28:22] local.INFO: TCP Data received {"connection_id":162260,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:28:22] local.INFO: Processing buffer {"connection_id":162260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:28:22] local.INFO: IMEI packet received {"connection_id":162260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":162260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:28:23] local.INFO: TCP Data received {"connection_id":162260,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a35e78012d7d3b0005d295f0000800032f..."} 
[2026-08-25 21:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a35e78012d7d3b0005d295f0000800032f..."} 
[2026-08-25 21:28:23] local.INFO: Processing buffer {"connection_id":162260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a35e78012d7d3b0005d295f0000800032f..."} 
[2026-08-25 21:28:23] local.INFO: Packet analysis {"connection_id":162260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a3"} 
[2026-08-25 21:28:23] local.INFO: Extracted packet for processing {"connection_id":162260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a3"} 
[2026-08-25 21:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97687024,"longitude_deg":76.3181824,"latitude_deg":9.7687024,"altitude":8,"angle":3,"satellites":47,"speed":6,"hex_longitude":"2d7d3b00","hex_latitude":"05d295f0","is_valid_coordinates":true} 
[2026-08-25 21:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644387584001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124397165018611712,"note":"Value kept but may cause issues"} 
[2026-08-25 21:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772211523584,"note":"Value kept but may cause issues"} 
[2026-08-25 21:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787673403000,"timestamp_ms":1787673403000,"timestamp_seconds":1787673403,"priority":1,"record_length":96,"hex_timestamp":"000001a039a35e78"} 
[2026-08-25 21:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:28: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-25 21:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-25 21:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1158,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:28:23] 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-25 21:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644387584001,"66":10265,"23":206,"85":15104,"24":6,"16":124397165018611712,"45":9022750772211523584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-25 21:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644387584001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:28:23] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-25 21:28:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124397165018611712,"km_value":124397165018611.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772211523584,"description":"Unknown IO ID 45"} 
[2026-08-25 21:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644387584001,"power":10265,"unknown_23":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9022750772211523584}} 
[2026-08-25 21:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":162260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:28:23] local.INFO: GPS data processed {"connection_id":162260,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:28:23] local.INFO: Acknowledgment sent {"connection_id":162260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:28:39] local.INFO: TCP Data received {"connection_id":162261,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:28:39] local.INFO: Processing buffer {"connection_id":162261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:28:39] local.INFO: IMEI packet received {"connection_id":162261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":162261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:28:44] local.INFO: TCP Data received {"connection_id":162261,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:28:44] local.INFO: Processing buffer {"connection_id":162261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:28:44] local.INFO: IMEI packet received {"connection_id":162261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":162261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:28:45] local.INFO: TCP Data received {"connection_id":162261,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:28:45] local.INFO: Processing buffer {"connection_id":162261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:28:45] local.INFO: Packet analysis {"connection_id":162261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:28:45] local.INFO: Extracted packet for processing {"connection_id":162261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644285696001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:28:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787673292000,"timestamp_ms":1787673292000,"timestamp_seconds":1787673292,"priority":1,"record_length":96,"hex_timestamp":"000001a039a1ace0"} 
[2026-08-25 21: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-25 21:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 21:28:45] 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-25 21: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-25 21: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-25 21:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:28:45] 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-25 21:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644285696001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644285696001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644285696001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":162261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:28:45] local.INFO: GPS data processed {"connection_id":162261,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:28:45] local.INFO: Acknowledgment sent {"connection_id":162261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:28:54] local.INFO: TCP Data received {"connection_id":162260,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a50c28012d7d3c8005d452a00000016324..."} 
[2026-08-25 21:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a50c28012d7d3c8005d452a00000016324..."} 
[2026-08-25 21:28:54] local.INFO: Processing buffer {"connection_id":162260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a50c28012d7d3c8005d452a00000016324..."} 
[2026-08-25 21:28:54] local.INFO: Packet analysis {"connection_id":162260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a5"} 
[2026-08-25 21:28:54] local.INFO: Extracted packet for processing {"connection_id":162260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a5"} 
[2026-08-25 21:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97800864,"longitude_deg":76.3182208,"latitude_deg":9.7800864,"altitude":0,"angle":355,"satellites":36,"speed":61,"hex_longitude":"2d7d3c80","hex_latitude":"05d452a0","is_valid_coordinates":true} 
[2026-08-25 21:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644417792001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124402696936488960,"note":"Value kept but may cause issues"} 
[2026-08-25 21:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580359587622912,"note":"Value kept but may cause issues"} 
[2026-08-25 21:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787673513000,"timestamp_ms":1787673513000,"timestamp_seconds":1787673513,"priority":1,"record_length":96,"hex_timestamp":"000001a039a50c28"} 
[2026-08-25 21:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-25 21:28:54] 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-25 21:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:28:54] 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-25 21:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644417792001,"66":10102,"81":206,"85":15104,"24":61,"16":124402696936488960,"45":9024580359587622912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-25 21:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644417792001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:28:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-25 21:28:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124402696936488960,"km_value":124402696936488.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580359587622912,"description":"Unknown IO ID 45"} 
[2026-08-25 21:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644417792001,"power":10102,"unknown_81":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9024580359587622912}} 
[2026-08-25 21:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":162260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:28:54] local.INFO: GPS data processed {"connection_id":162260,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:28:54] local.INFO: Acknowledgment sent {"connection_id":162260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:29:17] local.INFO: TCP Data received {"connection_id":162261,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:29:17] local.INFO: Processing buffer {"connection_id":162261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:29:17] local.INFO: Packet analysis {"connection_id":162261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:29:17] local.INFO: Extracted packet for processing {"connection_id":162261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644285696001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787673292000,"timestamp_ms":1787673292000,"timestamp_seconds":1787673292,"priority":1,"record_length":96,"hex_timestamp":"000001a039a1ace0"} 
[2026-08-25 21:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 21:29:17] 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-25 21:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644285696001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644285696001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644285696001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":162261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:29:17] local.INFO: GPS data processed {"connection_id":162261,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:29:17] local.INFO: Acknowledgment sent {"connection_id":162261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:29:22] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:29:22] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:29:22] local.INFO: IMEI packet received {"connection_id":162028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":162028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:29:26] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:29:26] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:29:26] local.INFO: IMEI packet received {"connection_id":162028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":162028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:29:27] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a52780012d7d380005d479880000015e24..."} 
[2026-08-25 21:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a52780012d7d380005d479880000015e24..."} 
[2026-08-25 21:29:27] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a52780012d7d380005d479880000015e24..."} 
[2026-08-25 21:29:27] local.INFO: Packet analysis {"connection_id":162028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a5"} 
[2026-08-25 21:29:27] local.INFO: Extracted packet for processing {"connection_id":162028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a5"} 
[2026-08-25 21:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763181056,"raw_latitude":97810824,"longitude_deg":76.3181056,"latitude_deg":9.7810824,"altitude":0,"angle":350,"satellites":36,"speed":55,"hex_longitude":"2d7d3800","hex_latitude":"05d47988","is_valid_coordinates":true} 
[2026-08-25 21:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644419328001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124403182267793408,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515869007872,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787673520000,"timestamp_ms":1787673520000,"timestamp_seconds":1787673520,"priority":1,"record_length":96,"hex_timestamp":"000001a039a52780"} 
[2026-08-25 21:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1455,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:29:27] 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-25 21:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644419328001,"66":10243,"81":206,"85":15104,"24":55,"16":124403182267793408,"45":9024228515869007872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-25 21:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644419328001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:29:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-25 21:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124403182267793408,"km_value":124403182267793.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515869007872,"description":"Unknown IO ID 45"} 
[2026-08-25 21:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644419328001,"power":10243,"unknown_81":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9024228515869007872}} 
[2026-08-25 21:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":162028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:29:27] local.INFO: GPS data processed {"connection_id":162028,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:29:27] local.INFO: Acknowledgment sent {"connection_id":162028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:29:28] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a542d8012d7d31c005d49ef00000015e21..."} 
[2026-08-25 21:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a542d8012d7d31c005d49ef00000015e21..."} 
[2026-08-25 21:29:28] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a542d8012d7d31c005d49ef00000015e21..."} 
[2026-08-25 21:29:28] local.INFO: Packet analysis {"connection_id":162028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a5"} 
[2026-08-25 21:29:28] local.INFO: Extracted packet for processing {"connection_id":162028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a5"} 
[2026-08-25 21:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":97820400,"longitude_deg":76.3179456,"latitude_deg":9.78204,"altitude":0,"angle":350,"satellites":33,"speed":55,"hex_longitude":"2d7d31c0","hex_latitude":"05d49ef0","is_valid_coordinates":true} 
[2026-08-25 21:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644421120001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124403654714195968,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022961878476359680,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787673527000,"timestamp_ms":1787673527000,"timestamp_seconds":1787673527,"priority":1,"record_length":96,"hex_timestamp":"000001a039a542d8"} 
[2026-08-25 21:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:29: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-25 21:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 21:29:28] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13312,"corrected_to":0} 
[2026-08-25 21:29:28] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3271557120,"corrected_to":0} 
[2026-08-25 21:29:28] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2763405313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:28] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3832545280,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792685774,"corrected_to":0} 
[2026-08-25 21:29:28] local.WARNING: Large IO value detected {"io_id":150,"raw_value":4160826749,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,81,85,24,241,157,16,248,160,12,45,128,82,36,10,66,247,244,192,47,37,213,1,240,14,227,246,57,211,4,113,205,49,150,53,64,35,239,40,117],"length":431,"final_offset":561,"validated_count":40,"validation_warnings":[{"io_id":247,"original":13312,"validated":0},{"io_id":246,"original":3271557120,"validated":0},{"io_id":205,"original":2792685774,"validated":0}]} 
[2026-08-25 21:29:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":384983692148736,"timestamp_seconds":384983692148.736,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:29:28] 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-25 21:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644421120001,"66":10243,"81":206,"85":15104,"24":55,"16":124403654714195968,"45":9022961878476359680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-25 21:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644421120001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:29:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-25 21:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124403654714195968,"km_value":124403654714195.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022961878476359680,"description":"Unknown IO ID 45"} 
[2026-08-25 21:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644421120001,"power":10243,"unknown_81":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9022961878476359680}} 
[2026-08-25 21:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":162028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:29:28] local.INFO: GPS data processed {"connection_id":162028,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:29:28] local.INFO: Acknowledgment sent {"connection_id":162028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:29:29] local.INFO: TCP Data received {"connection_id":164637,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:29:29] local.INFO: Processing buffer {"connection_id":164637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:29:29] local.INFO: IMEI packet received {"connection_id":164637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 21:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":164637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:29:40] local.INFO: TCP Data received {"connection_id":164638,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:29:40] local.INFO: Processing buffer {"connection_id":164638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:29:40] local.INFO: IMEI packet received {"connection_id":164638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":164638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:29:44] local.INFO: TCP Data received {"connection_id":164638,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:29:44] local.INFO: Processing buffer {"connection_id":164638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:29:44] local.INFO: IMEI packet received {"connection_id":164638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":164638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:29:45] local.INFO: TCP Data received {"connection_id":164638,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:29:45] local.INFO: Processing buffer {"connection_id":164638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:29:45] local.INFO: Packet analysis {"connection_id":164638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:29:45] local.INFO: Extracted packet for processing {"connection_id":164638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644285696001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787673292000,"timestamp_ms":1787673292000,"timestamp_seconds":1787673292,"priority":1,"record_length":96,"hex_timestamp":"000001a039a1ace0"} 
[2026-08-25 21:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 21:29:45] 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-25 21:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644285696001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644285696001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644285696001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":164638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:29:45] local.INFO: GPS data processed {"connection_id":164638,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:29:45] local.INFO: Acknowledgment sent {"connection_id":164638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:29:50] local.INFO: TCP Data received {"connection_id":164638,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:29:50] local.INFO: Processing buffer {"connection_id":164638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:29:50] local.INFO: Packet analysis {"connection_id":164638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:29:50] local.INFO: Extracted packet for processing {"connection_id":164638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:29:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 21:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644285696001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787673292000,"timestamp_ms":1787673292000,"timestamp_seconds":1787673292,"priority":1,"record_length":96,"hex_timestamp":"000001a039a1ace0"} 
[2026-08-25 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-25 21:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 21:29:50] 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-25 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-25 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-25 21:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644285696001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644285696001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:29:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644285696001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":164638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:29:50] local.INFO: GPS data processed {"connection_id":164638,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:29:50] local.INFO: Acknowledgment sent {"connection_id":164638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:29:59] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039a55e30012d7d2bc005d4c3280002015f1f..."} 
[2026-08-25 21:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a55e30012d7d2bc005d4c3280002015f1f..."} 
[2026-08-25 21:29:59] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a55e30012d7d2bc005d4c3280002015f1f..."} 
[2026-08-25 21:29:59] local.INFO: Packet analysis {"connection_id":162028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a5"} 
[2026-08-25 21:29:59] local.INFO: Extracted packet for processing {"connection_id":162028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a5"} 
[2026-08-25 21:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763177920,"raw_latitude":97829672,"longitude_deg":76.317792,"latitude_deg":9.7829672,"altitude":2,"angle":351,"satellites":31,"speed":51,"hex_longitude":"2d7d2bc0","hex_latitude":"05d4c328","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644422912001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124404109980729344,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202659874369536,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787673534000,"timestamp_ms":1787673534000,"timestamp_seconds":1787673534,"priority":1,"record_length":96,"hex_timestamp":"000001a039a55e30"} 
[2026-08-25 21: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-25 21:29: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-25 21: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":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 21:29:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2164313510,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:59] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":872415232,"corrected_to":0} 
[2026-08-25 21:29:59] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2765453313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-08-25 21:29:59] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3221607396,"note":"Value kept but may cause issues"} 
[2026-08-25 21:29:59] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,81,85,24,241,157,16,248,160,39,45,121,36,10,66,12,128,82,247,244,192,1,240,211,227,57,212,4,113,205,44,182,55,112,33,239,117],"length":431,"final_offset":561,"validated_count":37,"validation_warnings":[{"io_id":247,"original":872415232,"validated":0},{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-08-25 21:29:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":384970807246848,"timestamp_seconds":384970807246.848,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21: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-25 21:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:29:59] 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-25 21:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644422912001,"66":10276,"81":206,"85":15104,"24":51,"16":124404109980729344,"45":9021202659874369536},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-25 21:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644422912001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:29:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-25 21:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124404109980729344,"km_value":124404109980729.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202659874369536,"description":"Unknown IO ID 45"} 
[2026-08-25 21:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644422912001,"power":10276,"unknown_81":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9021202659874369536}} 
[2026-08-25 21:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":162028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:29:59] local.INFO: GPS data processed {"connection_id":162028,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:29:59] local.INFO: Acknowledgment sent {"connection_id":162028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:30:21] local.INFO: TCP Data received {"connection_id":164638,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:30:21] local.INFO: Processing buffer {"connection_id":164638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a1ace0012d34c14006aa4818000600e630..."} 
[2026-08-25 21:30:21] local.INFO: Packet analysis {"connection_id":164638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:30:21] local.INFO: Extracted packet for processing {"connection_id":164638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a1"} 
[2026-08-25 21:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644285696001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:30:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787673292000,"timestamp_ms":1787673292000,"timestamp_seconds":1787673292,"priority":1,"record_length":96,"hex_timestamp":"000001a039a1ace0"} 
[2026-08-25 21: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-25 21:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 21:30:21] 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-25 21: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-25 21: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-25 21:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644285696001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644285696001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644285696001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":164638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:30:21] local.INFO: GPS data processed {"connection_id":164638,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:30:21] local.INFO: Acknowledgment sent {"connection_id":164638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:30:30] local.INFO: TCP Data received {"connection_id":162262,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:30:30] local.INFO: Processing buffer {"connection_id":162262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:30:30] local.INFO: IMEI packet received {"connection_id":162262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":162262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:30:33] local.INFO: TCP Data received {"connection_id":162262,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:30:33] local.INFO: Processing buffer {"connection_id":162262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:30:33] local.INFO: IMEI packet received {"connection_id":162262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":162262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:30:37] local.INFO: TCP Data received {"connection_id":162262,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:30:37] local.INFO: Processing buffer {"connection_id":162262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:30:37] local.INFO: IMEI packet received {"connection_id":162262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":162262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:30:37] local.INFO: TCP Data received {"connection_id":162262,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:30:37] local.INFO: Processing buffer {"connection_id":162262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:30:37] local.INFO: IMEI packet received {"connection_id":162262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":162262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:30:39] local.INFO: TCP Data received {"connection_id":162263,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:30:39] local.INFO: Processing buffer {"connection_id":162263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:30:39] local.INFO: IMEI packet received {"connection_id":162263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":162263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:30:44] local.INFO: TCP Data received {"connection_id":162263,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:30:44] local.INFO: Processing buffer {"connection_id":162263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:30:44] local.INFO: IMEI packet received {"connection_id":162263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":162263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:30:45] local.INFO: TCP Data received {"connection_id":162263,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:30:45] local.INFO: Processing buffer {"connection_id":162263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:30:45] local.INFO: Packet analysis {"connection_id":162263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:30:45] local.INFO: Extracted packet for processing {"connection_id":162263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644362752001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:30:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787673593000,"timestamp_ms":1787673593000,"timestamp_seconds":1787673593,"priority":1,"record_length":96,"hex_timestamp":"000001a039a644a8"} 
[2026-08-25 21:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 21:30:45] 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-25 21:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644362752001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644362752001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644362752001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":162263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:30:45] local.INFO: GPS data processed {"connection_id":162263,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:30:45] local.INFO: Acknowledgment sent {"connection_id":162263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:31:16] local.INFO: TCP Data received {"connection_id":162263,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:31:16] local.INFO: Processing buffer {"connection_id":162263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:31:16] local.INFO: Packet analysis {"connection_id":162263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:31:16] local.INFO: Extracted packet for processing {"connection_id":162263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644362752001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:31:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787673593000,"timestamp_ms":1787673593000,"timestamp_seconds":1787673593,"priority":1,"record_length":96,"hex_timestamp":"000001a039a644a8"} 
[2026-08-25 21:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 21:31:16] 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-25 21:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644362752001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644362752001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644362752001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":162263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:31:16] local.INFO: GPS data processed {"connection_id":162263,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:31:16] local.INFO: Acknowledgment sent {"connection_id":162263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:31:39] local.INFO: TCP Data received {"connection_id":162264,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:31:39] local.INFO: Processing buffer {"connection_id":162264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:31:39] local.INFO: IMEI packet received {"connection_id":162264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":162264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:31:45] local.INFO: TCP Data received {"connection_id":162264,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:31:45] local.INFO: Processing buffer {"connection_id":162264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:31:45] local.INFO: IMEI packet received {"connection_id":162264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":162264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:31:46] local.INFO: TCP Data received {"connection_id":162264,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:31:46] local.INFO: Processing buffer {"connection_id":162264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:31:46] local.INFO: Packet analysis {"connection_id":162264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:31:46] local.INFO: Extracted packet for processing {"connection_id":162264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644362752001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:31:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787673593000,"timestamp_ms":1787673593000,"timestamp_seconds":1787673593,"priority":1,"record_length":96,"hex_timestamp":"000001a039a644a8"} 
[2026-08-25 21:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 21:31:46] 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-25 21:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644362752001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644362752001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644362752001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":162264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:31:46] local.INFO: GPS data processed {"connection_id":162264,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:31:46] local.INFO: Acknowledgment sent {"connection_id":162264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:32:18] local.INFO: TCP Data received {"connection_id":162264,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:32:18] local.INFO: Processing buffer {"connection_id":162264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:32:18] local.INFO: Packet analysis {"connection_id":162264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:32:18] local.INFO: Extracted packet for processing {"connection_id":162264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644362752001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:32:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787673593000,"timestamp_ms":1787673593000,"timestamp_seconds":1787673593,"priority":1,"record_length":96,"hex_timestamp":"000001a039a644a8"} 
[2026-08-25 21:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 21:32:18] 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-25 21:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:32:18] 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-25 21:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644362752001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644362752001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644362752001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":162264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:32:18] local.INFO: GPS data processed {"connection_id":162264,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:32:18] local.INFO: Acknowledgment sent {"connection_id":162264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:32:44] local.INFO: TCP Data received {"connection_id":164640,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:32:44] local.INFO: Processing buffer {"connection_id":164640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:32:44] local.INFO: IMEI packet received {"connection_id":164640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":164640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:32:49] local.INFO: TCP Data received {"connection_id":164640,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:32:49] local.INFO: Processing buffer {"connection_id":164640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:32:49] local.INFO: IMEI packet received {"connection_id":164640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":164640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:32:50] local.INFO: TCP Data received {"connection_id":164640,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:32:50] local.INFO: Processing buffer {"connection_id":164640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:32:50] local.INFO: Packet analysis {"connection_id":164640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:32:50] local.INFO: Extracted packet for processing {"connection_id":164640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:32:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644362752001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:32:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787673593000,"timestamp_ms":1787673593000,"timestamp_seconds":1787673593,"priority":1,"record_length":96,"hex_timestamp":"000001a039a644a8"} 
[2026-08-25 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-25 21:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 21:32:50] 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-25 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-25 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-25 21:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:32: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-25 21:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644362752001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644362752001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:32:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644362752001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":164640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:32:50] local.INFO: GPS data processed {"connection_id":164640,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:32:50] local.INFO: Acknowledgment sent {"connection_id":164640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:32:55] local.INFO: TCP Data received {"connection_id":164640,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:32:55] local.INFO: Processing buffer {"connection_id":164640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:32:55] local.INFO: Packet analysis {"connection_id":164640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:32:55] local.INFO: Extracted packet for processing {"connection_id":164640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:32:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644362752001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:32:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787673593000,"timestamp_ms":1787673593000,"timestamp_seconds":1787673593,"priority":1,"record_length":96,"hex_timestamp":"000001a039a644a8"} 
[2026-08-25 21: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-25 21:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 21:32:55] 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-25 21: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-25 21: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-25 21:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:32: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-25 21:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644362752001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644362752001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:32:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644362752001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":164640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:32:55] local.INFO: GPS data processed {"connection_id":164640,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:32:55] local.INFO: Acknowledgment sent {"connection_id":164640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:33:39] local.INFO: TCP Data received {"connection_id":163258,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:33:39] local.INFO: Processing buffer {"connection_id":163258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:33:39] local.INFO: IMEI packet received {"connection_id":163258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":163258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:33:44] local.INFO: TCP Data received {"connection_id":163258,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:33:44] local.INFO: Processing buffer {"connection_id":163258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:33:44] local.INFO: IMEI packet received {"connection_id":163258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":163258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:33:45] local.INFO: TCP Data received {"connection_id":163258,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:33:45] local.INFO: Processing buffer {"connection_id":163258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:33:45] local.INFO: Packet analysis {"connection_id":163258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:33:45] local.INFO: Extracted packet for processing {"connection_id":163258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644362752001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:33:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787673593000,"timestamp_ms":1787673593000,"timestamp_seconds":1787673593,"priority":1,"record_length":96,"hex_timestamp":"000001a039a644a8"} 
[2026-08-25 21:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 21:33:45] 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-25 21:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:33:45] 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-25 21:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644362752001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644362752001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644362752001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":163258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:33:45] local.INFO: GPS data processed {"connection_id":163258,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:33:45] local.INFO: Acknowledgment sent {"connection_id":163258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:34:18] local.INFO: TCP Data received {"connection_id":163258,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:34:18] local.INFO: Processing buffer {"connection_id":163258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:34:18] local.INFO: Packet analysis {"connection_id":163258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:34:18] local.INFO: Extracted packet for processing {"connection_id":163258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644362752001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:34:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787673593000,"timestamp_ms":1787673593000,"timestamp_seconds":1787673593,"priority":1,"record_length":96,"hex_timestamp":"000001a039a644a8"} 
[2026-08-25 21:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 21:34:18] 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-25 21:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:34:18] 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-25 21:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644362752001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644362752001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644362752001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":163258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:34:18] local.INFO: GPS data processed {"connection_id":163258,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:34:18] local.INFO: Acknowledgment sent {"connection_id":163258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:34:39] local.INFO: TCP Data received {"connection_id":163260,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:34:39] local.INFO: Processing buffer {"connection_id":163260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:34:39] local.INFO: IMEI packet received {"connection_id":163260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":163260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:34:45] local.INFO: TCP Data received {"connection_id":163260,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:34:45] local.INFO: Processing buffer {"connection_id":163260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:34:45] local.INFO: IMEI packet received {"connection_id":163260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":163260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:34:46] local.INFO: TCP Data received {"connection_id":163260,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:34:46] local.INFO: Processing buffer {"connection_id":163260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:34:46] local.INFO: Packet analysis {"connection_id":163260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:34:46] local.INFO: Extracted packet for processing {"connection_id":163260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644362752001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:34:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787673593000,"timestamp_ms":1787673593000,"timestamp_seconds":1787673593,"priority":1,"record_length":96,"hex_timestamp":"000001a039a644a8"} 
[2026-08-25 21:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 21:34:46] 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-25 21:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644362752001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644362752001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644362752001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":163260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:34:46] local.INFO: GPS data processed {"connection_id":163260,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:34:46] local.INFO: Acknowledgment sent {"connection_id":163260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:35:04] local.INFO: TCP Data received {"connection_id":164641,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:35:04] local.INFO: Processing buffer {"connection_id":164641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:35:04] local.INFO: IMEI packet received {"connection_id":164641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 21:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":164641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:35:17] local.INFO: TCP Data received {"connection_id":163260,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:35:17] local.INFO: Processing buffer {"connection_id":163260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039a644a8012d34c14006aa4818000000e631..."} 
[2026-08-25 21:35:17] local.INFO: Packet analysis {"connection_id":163260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:35:17] local.INFO: Extracted packet for processing {"connection_id":163260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039a6"} 
[2026-08-25 21:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644362752001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:35:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787673593000,"timestamp_ms":1787673593000,"timestamp_seconds":1787673593,"priority":1,"record_length":96,"hex_timestamp":"000001a039a644a8"} 
[2026-08-25 21:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 21:35:17] 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-25 21:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644362752001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644362752001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644362752001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":163260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:35:17] local.INFO: GPS data processed {"connection_id":163260,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:35:17] local.INFO: Acknowledgment sent {"connection_id":163260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:35:39] local.INFO: TCP Data received {"connection_id":162031,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:35:39] local.INFO: Processing buffer {"connection_id":162031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:35:39] local.INFO: IMEI packet received {"connection_id":162031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":162031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:35:41] local.INFO: TCP Data received {"connection_id":162030,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:35:41] local.INFO: Processing buffer {"connection_id":162030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:35:41] local.INFO: IMEI packet received {"connection_id":162030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":162030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:35:43] local.INFO: TCP Data received {"connection_id":162030,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ab5d58012d7be70005dc14000000016322..."} 
[2026-08-25 21:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ab5d58012d7be70005dc14000000016322..."} 
[2026-08-25 21:35:43] local.INFO: Processing buffer {"connection_id":162030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ab5d58012d7be70005dc14000000016322..."} 
[2026-08-25 21:35:43] local.INFO: Packet analysis {"connection_id":162030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ab"} 
[2026-08-25 21:35:43] local.INFO: Extracted packet for processing {"connection_id":162030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ab"} 
[2026-08-25 21:35:43] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":98309120,"longitude_deg":76.3094784,"latitude_deg":9.830912,"altitude":0,"angle":355,"satellites":34,"speed":58,"hex_longitude":"2d7be700","hex_latitude":"05dc1400","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644523520001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124427822495170560,"note":"Value kept but may cause issues"} 
[2026-08-25 21:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973868347392,"note":"Value kept but may cause issues"} 
[2026-08-25 21:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787673927000,"timestamp_ms":1787673927000,"timestamp_seconds":1787673927,"priority":1,"record_length":96,"hex_timestamp":"000001a039ab5d58"} 
[2026-08-25 21: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-25 21:35: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-25 21: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":39,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-25 21:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1842,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:35:43] 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-25 21:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644523520001,"66":9917,"185":206,"85":15104,"24":58,"16":124427822495170560,"45":8929089973868347392},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 21:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644523520001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:35:43] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 21:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124427822495170560,"km_value":124427822495170.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973868347392,"description":"Unknown IO ID 45"} 
[2026-08-25 21:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644523520001,"power":9917,"unknown_185":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8929089973868347392}} 
[2026-08-25 21:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":162030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:35:43] local.INFO: GPS data processed {"connection_id":162030,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:35:43] local.INFO: Acknowledgment sent {"connection_id":162030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:35:44] local.INFO: TCP Data received {"connection_id":162031,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:35:44] local.INFO: Processing buffer {"connection_id":162031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:35:44] local.INFO: IMEI packet received {"connection_id":162031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":162031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:35:45] local.INFO: TCP Data received {"connection_id":162031,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:35:45] local.INFO: Processing buffer {"connection_id":162031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:35:45] local.INFO: Packet analysis {"connection_id":162031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:35:45] local.INFO: Extracted packet for processing {"connection_id":162031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:35: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-25 21:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644439808001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:35:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787673894000,"timestamp_ms":1787673894000,"timestamp_seconds":1787673894,"priority":1,"record_length":96,"hex_timestamp":"000001a039aadc70"} 
[2026-08-25 21:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:35:45] 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-25 21:35: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-25 21:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644439808001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644439808001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:35:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644439808001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":162031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:35:45] local.INFO: GPS data processed {"connection_id":162031,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:35:45] local.INFO: Acknowledgment sent {"connection_id":162031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:36:16] local.INFO: TCP Data received {"connection_id":162031,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:36:16] local.INFO: Processing buffer {"connection_id":162031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:36:16] local.INFO: Packet analysis {"connection_id":162031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:36:16] local.INFO: Extracted packet for processing {"connection_id":162031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644439808001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787673894000,"timestamp_ms":1787673894000,"timestamp_seconds":1787673894,"priority":1,"record_length":96,"hex_timestamp":"000001a039aadc70"} 
[2026-08-25 21:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644439808001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644439808001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644439808001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":162031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:36:16] local.INFO: GPS data processed {"connection_id":162031,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:36:16] local.INFO: Acknowledgment sent {"connection_id":162031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:36:22] local.INFO: TCP Data received {"connection_id":164642,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:36:22] local.INFO: Processing buffer {"connection_id":164642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:36:22] local.INFO: IMEI packet received {"connection_id":164642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":164642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:36:24] local.INFO: TCP Data received {"connection_id":164642,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:36:24] local.INFO: Processing buffer {"connection_id":164642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:36:24] local.INFO: IMEI packet received {"connection_id":164642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":164642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:36:25] local.INFO: TCP Data received {"connection_id":164642,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ab74c8012d7be60005dc37700000016625..."} 
[2026-08-25 21:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ab74c8012d7be60005dc37700000016625..."} 
[2026-08-25 21:36:25] local.INFO: Processing buffer {"connection_id":164642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ab74c8012d7be60005dc37700000016625..."} 
[2026-08-25 21:36:25] local.INFO: Packet analysis {"connection_id":164642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ab"} 
[2026-08-25 21:36:25] local.INFO: Extracted packet for processing {"connection_id":164642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ab"} 
[2026-08-25 21:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763094528,"raw_latitude":98318192,"longitude_deg":76.3094528,"latitude_deg":9.8318192,"altitude":0,"angle":358,"satellites":37,"speed":59,"hex_longitude":"2d7be600","hex_latitude":"05dc3770","is_valid_coordinates":true} 
[2026-08-25 21:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644525312001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124428264876802048,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928104811452432384,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787673933000,"timestamp_ms":1787673933000,"timestamp_seconds":1787673933,"priority":1,"record_length":96,"hex_timestamp":"000001a039ab74c8"} 
[2026-08-25 21:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:36: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-25 21:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-25 21:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:36:25] 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-25 21:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644525312001,"66":10123,"185":206,"85":15104,"24":59,"16":124428264876802048,"45":8928104811452432384},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 21:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644525312001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:36:25] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 21:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124428264876802048,"km_value":124428264876802.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928104811452432384,"description":"Unknown IO ID 45"} 
[2026-08-25 21:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644525312001,"power":10123,"unknown_185":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8928104811452432384}} 
[2026-08-25 21:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":164642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:36:25] local.INFO: GPS data processed {"connection_id":164642,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:36:25] local.INFO: Acknowledgment sent {"connection_id":164642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:36:28] local.INFO: TCP Data received {"connection_id":164642,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ab8c38012d7be50005dc5ac80000016526..."} 
[2026-08-25 21:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ab8c38012d7be50005dc5ac80000016526..."} 
[2026-08-25 21:36:28] local.INFO: Processing buffer {"connection_id":164642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ab8c38012d7be50005dc5ac80000016526..."} 
[2026-08-25 21:36:28] local.INFO: Packet analysis {"connection_id":164642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ab"} 
[2026-08-25 21:36:28] local.INFO: Extracted packet for processing {"connection_id":164642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ab"} 
[2026-08-25 21:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763094272,"raw_latitude":98327240,"longitude_deg":76.3094272,"latitude_deg":9.832724,"altitude":0,"angle":357,"satellites":38,"speed":60,"hex_longitude":"2d7be500","hex_latitude":"05dc5ac8","is_valid_coordinates":true} 
[2026-08-25 21:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644526848001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124428702963466240,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927823336478044160,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787673939000,"timestamp_ms":1787673939000,"timestamp_seconds":1787673939,"priority":1,"record_length":96,"hex_timestamp":"000001a039ab8c38"} 
[2026-08-25 21:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 21:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1644,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:36:28] 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-25 21:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644526848001,"66":10243,"185":206,"85":15104,"24":60,"16":124428702963466240,"45":8927823336478044160},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 21:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644526848001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:36:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 21:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124428702963466240,"km_value":124428702963466.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927823336478044160,"description":"Unknown IO ID 45"} 
[2026-08-25 21:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644526848001,"power":10243,"unknown_185":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":8927823336478044160}} 
[2026-08-25 21:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":164642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:36:28] local.INFO: GPS data processed {"connection_id":164642,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:36:28] local.INFO: Acknowledgment sent {"connection_id":164642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:36:44] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:36:44] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:36:44] local.INFO: IMEI packet received {"connection_id":162032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":162032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:36:49] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:36:49] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:36:49] local.INFO: IMEI packet received {"connection_id":162032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":162032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:36:50] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:36:50] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:36:50] local.INFO: Packet analysis {"connection_id":162032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:36:50] local.INFO: Extracted packet for processing {"connection_id":162032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:36:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644439808001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787673894000,"timestamp_ms":1787673894000,"timestamp_seconds":1787673894,"priority":1,"record_length":96,"hex_timestamp":"000001a039aadc70"} 
[2026-08-25 21: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-25 21:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:36:50] 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-25 21: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-25 21: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-25 21:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644439808001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644439808001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:36:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644439808001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":162032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:36:50] local.INFO: GPS data processed {"connection_id":162032,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:36:50] local.INFO: Acknowledgment sent {"connection_id":162032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:36:54] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:36:54] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:36:54] local.INFO: Packet analysis {"connection_id":162032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:36:54] local.INFO: Extracted packet for processing {"connection_id":162032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644439808001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787673894000,"timestamp_ms":1787673894000,"timestamp_seconds":1787673894,"priority":1,"record_length":96,"hex_timestamp":"000001a039aadc70"} 
[2026-08-25 21:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 21:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:36:54] 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-25 21:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644439808001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644439808001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:36:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644439808001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":162032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:36:54] local.INFO: GPS data processed {"connection_id":162032,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:36:54] local.INFO: Acknowledgment sent {"connection_id":162032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:36:59] local.INFO: TCP Data received {"connection_id":164642,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039aba3a8012d7be3c005dc7dc00000016625..."} 
[2026-08-25 21:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aba3a8012d7be3c005dc7dc00000016625..."} 
[2026-08-25 21:36:59] local.INFO: Processing buffer {"connection_id":164642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aba3a8012d7be3c005dc7dc00000016625..."} 
[2026-08-25 21:36:59] local.INFO: Packet analysis {"connection_id":164642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ab"} 
[2026-08-25 21:36:59] local.INFO: Extracted packet for processing {"connection_id":164642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ab"} 
[2026-08-25 21:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763093952,"raw_latitude":98336192,"longitude_deg":76.3093952,"latitude_deg":9.8336192,"altitude":0,"angle":358,"satellites":37,"speed":59,"hex_longitude":"2d7be3c0","hex_latitude":"05dc7dc0","is_valid_coordinates":true} 
[2026-08-25 21:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644528384001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124429136755163136,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927541861503649792,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787673945000,"timestamp_ms":1787673945000,"timestamp_seconds":1787673945,"priority":1,"record_length":96,"hex_timestamp":"000001a039aba3a8"} 
[2026-08-25 21:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 21:36:59] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2871437313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:59] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3385327616,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-08-25 21:36:59] local.WARNING: Large IO value detected {"io_id":255,"raw_value":2550214011,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2701184422,"note":"Value kept but may cause issues"} 
[2026-08-25 21:36:59] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,185,85,24,241,157,16,15,160,116,45,55,37,10,66,14,93,20,34,128,1,240,161,227,57,219,4,113,205,255,248,120,239,39],"length":431,"final_offset":561,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-08-25 21:36:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":392688863805440,"timestamp_seconds":392688863805.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:36:59] 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-25 21:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644528384001,"66":10069,"185":206,"85":15104,"24":59,"16":124429136755163136,"45":8927541861503649792},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 21:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644528384001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:36:59] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 21:36:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124429136755163136,"km_value":124429136755163.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927541861503649792,"description":"Unknown IO ID 45"} 
[2026-08-25 21:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644528384001,"power":10069,"unknown_185":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8927541861503649792}} 
[2026-08-25 21:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":164642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:36:59] local.INFO: GPS data processed {"connection_id":164642,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:36:59] local.INFO: Acknowledgment sent {"connection_id":164642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:37:18] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:37:18] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:37:18] local.INFO: IMEI packet received {"connection_id":162033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":162033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:37:18] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:37:18] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:37:18] local.INFO: IMEI packet received {"connection_id":162033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":162033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:37:22] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:37:22] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:37:22] local.INFO: IMEI packet received {"connection_id":162033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":162033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:37:23] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039acc8a0012d7bb34005de13500000015b28..."} 
[2026-08-25 21:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039acc8a0012d7bb34005de13500000015b28..."} 
[2026-08-25 21:37:23] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039acc8a0012d7bb34005de13500000015b28..."} 
[2026-08-25 21:37:23] local.INFO: Packet analysis {"connection_id":162033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ac"} 
[2026-08-25 21:37:23] local.INFO: Extracted packet for processing {"connection_id":162033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ac"} 
[2026-08-25 21:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763081536,"raw_latitude":98440016,"longitude_deg":76.3081536,"latitude_deg":9.8440016,"altitude":0,"angle":347,"satellites":40,"speed":44,"hex_longitude":"2d7bb340","hex_latitude":"05de1350","is_valid_coordinates":true} 
[2026-08-25 21:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644546816001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124434217701474304,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915719912508284928,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787674020000,"timestamp_ms":1787674020000,"timestamp_seconds":1787674020,"priority":1,"record_length":96,"hex_timestamp":"000001a039acc8a0"} 
[2026-08-25 21:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:37: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-25 21:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 21:37:23] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":45056,"corrected_to":0} 
[2026-08-25 21:37:23] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3556822446,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:23] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-08-25 21:37:23] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:23] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,169,85,24,241,157,16,19,160,138,45,192,203,36,10,66,106,64,165,37,18,79,1,240,14,227,57,221,4,113,205,28,218,80,32,239,168],"length":431,"final_offset":561,"validated_count":37,"validation_warnings":[{"io_id":203,"original":45056,"validated":0},{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-08-25 21:37:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":382788963532800,"timestamp_seconds":382788963532.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:37:23] 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-25 21:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644546816001,"66":10254,"169":206,"85":15104,"24":44,"16":124434217701474304,"45":8915719912508284928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 21:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644546816001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:37:23] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 21:37:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124434217701474304,"km_value":124434217701474.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915719912508284928,"description":"Unknown IO ID 45"} 
[2026-08-25 21:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644546816001,"power":10254,"unknown_169":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8915719912508284928}} 
[2026-08-25 21:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":162033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:37:23] local.INFO: GPS data processed {"connection_id":162033,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:37:23] local.INFO: Acknowledgment sent {"connection_id":162033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:37:27] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ace7e0012d7bab0005de37500000015a26..."} 
[2026-08-25 21:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ace7e0012d7bab0005de37500000015a26..."} 
[2026-08-25 21:37:27] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ace7e0012d7bab0005de37500000015a26..."} 
[2026-08-25 21:37:27] local.INFO: Packet analysis {"connection_id":162033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ac"} 
[2026-08-25 21:37:27] local.INFO: Extracted packet for processing {"connection_id":162033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ac"} 
[2026-08-25 21:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763079424,"raw_latitude":98449232,"longitude_deg":76.3079424,"latitude_deg":9.8449232,"altitude":0,"angle":346,"satellites":38,"speed":46,"hex_longitude":"2d7bab00","hex_latitude":"05de3750","is_valid_coordinates":true} 
[2026-08-25 21:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644549120001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124434672968007680,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913538481441165312,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787674028000,"timestamp_ms":1787674028000,"timestamp_seconds":1787674028,"priority":1,"record_length":96,"hex_timestamp":"000001a039ace7e0"} 
[2026-08-25 21:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-25 21:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":390472660680704,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:27] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":45056,"corrected_to":0} 
[2026-08-25 21:37:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277456970644000632,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:27] local.WARNING: Large IO value detected {"io_id":18,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:27] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2890893313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:27] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3913628076208103424,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-08-25 21:37:27] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2147867995,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:27] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3254832558,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:27] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2071657123453468677,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:27] local.WARNING: Large IO value detected {"io_id":174,"raw_value":-6340841409880254464,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:27] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,169,85,24,241,157,16,20,160,165,45,238,37,10,66,19,138,192,203,36,106,64,1,240,3,227,18,57,221,4,113,205,60,56,212,152,34,239,39,172,52,174],"length":530,"final_offset":660,"validated_count":42,"validation_warnings":[{"io_id":203,"original":45056,"validated":0},{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-08-25 21:37:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":381702336413696,"timestamp_seconds":381702336413.696,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:37:27] 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-25 21:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644549120001,"66":10243,"169":206,"85":15104,"24":46,"16":124434672968007680,"45":8913538481441165312},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 21:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644549120001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:37:27] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 21:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124434672968007680,"km_value":124434672968007.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913538481441165312,"description":"Unknown IO ID 45"} 
[2026-08-25 21:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644549120001,"power":10243,"unknown_169":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8913538481441165312}} 
[2026-08-25 21:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":162033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:37:27] local.INFO: GPS data processed {"connection_id":162033,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:37:27] local.INFO: Acknowledgment sent {"connection_id":162033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:37:39] local.INFO: TCP Data received {"connection_id":162265,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:37:39] local.INFO: Processing buffer {"connection_id":162265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:37:39] local.INFO: IMEI packet received {"connection_id":162265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":162265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:37:44] local.INFO: TCP Data received {"connection_id":162265,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:37:44] local.INFO: Processing buffer {"connection_id":162265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:37:44] local.INFO: IMEI packet received {"connection_id":162265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":162265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:37:45] local.INFO: TCP Data received {"connection_id":162265,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:37:45] local.INFO: Processing buffer {"connection_id":162265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:37:45] local.INFO: Packet analysis {"connection_id":162265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:37:45] local.INFO: Extracted packet for processing {"connection_id":162265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644439808001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787673894000,"timestamp_ms":1787673894000,"timestamp_seconds":1787673894,"priority":1,"record_length":96,"hex_timestamp":"000001a039aadc70"} 
[2026-08-25 21:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:37:45] 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-25 21:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:37:45] 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-25 21:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644439808001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644439808001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644439808001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":162265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:37:45] local.INFO: GPS data processed {"connection_id":162265,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:37:45] local.INFO: Acknowledgment sent {"connection_id":162265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:37:59] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ad0b08012d7ba34005de5d500000015e24..."} 
[2026-08-25 21:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ad0b08012d7ba34005de5d500000015e24..."} 
[2026-08-25 21:37:59] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ad0b08012d7ba34005de5d500000015e24..."} 
[2026-08-25 21:37:59] local.INFO: Packet analysis {"connection_id":162033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ad"} 
[2026-08-25 21:37:59] local.INFO: Extracted packet for processing {"connection_id":162033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ad"} 
[2026-08-25 21:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763077440,"raw_latitude":98458960,"longitude_deg":76.307744,"latitude_deg":9.845896,"altitude":0,"angle":350,"satellites":36,"speed":46,"hex_longitude":"2d7ba340","hex_latitude":"05de5d50","is_valid_coordinates":true} 
[2026-08-25 21:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644551168001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124435154004344832,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911216312885661696,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787674037000,"timestamp_ms":1787674037000,"timestamp_seconds":1787674037,"priority":1,"record_length":96,"hex_timestamp":"000001a039ad0b08"} 
[2026-08-25 21:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 21:37:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":40961,"corrected_to":0} 
[2026-08-25 21:37:59] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:59] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2892685313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:59] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2772434944,"note":"Value kept but may cause issues"} 
[2026-08-25 21:37:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-08-25 21:37:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,169,85,24,241,157,16,20,160,200,45,64,19,40,10,66,165,238,37,138,192,1,240,79,227,57,221,4,113,205,51,207,128,35,239],"length":431,"final_offset":561,"validated_count":35,"validation_warnings":[{"io_id":200,"original":40961,"validated":0},{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-08-25 21:37:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":380594234982400,"timestamp_seconds":380594234982.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:37:59] 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-25 21:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644551168001,"66":10406,"169":206,"85":15104,"24":46,"16":124435154004344832,"45":8911216312885661696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-25 21:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644551168001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:37:59] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-25 21:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124435154004344832,"km_value":124435154004344.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911216312885661696,"description":"Unknown IO ID 45"} 
[2026-08-25 21:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644551168001,"power":10406,"unknown_169":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8911216312885661696}} 
[2026-08-25 21:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":162033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:37:59] local.INFO: GPS data processed {"connection_id":162033,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:37:59] local.INFO: Acknowledgment sent {"connection_id":162033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:38:17] local.INFO: TCP Data received {"connection_id":162265,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:38:17] local.INFO: Processing buffer {"connection_id":162265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:38:17] local.INFO: Packet analysis {"connection_id":162265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:38:17] local.INFO: Extracted packet for processing {"connection_id":162265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644439808001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787673894000,"timestamp_ms":1787673894000,"timestamp_seconds":1787673894,"priority":1,"record_length":96,"hex_timestamp":"000001a039aadc70"} 
[2026-08-25 21:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:38:17] 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-25 21:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644439808001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644439808001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644439808001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":162265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:38:17] local.INFO: GPS data processed {"connection_id":162265,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:38:17] local.INFO: Acknowledgment sent {"connection_id":162265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:38:18] local.INFO: TCP Data received {"connection_id":162266,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:38:18] local.INFO: Processing buffer {"connection_id":162266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:38:18] local.INFO: IMEI packet received {"connection_id":162266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":162266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:38:21] local.INFO: TCP Data received {"connection_id":162266,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:38:21] local.INFO: Processing buffer {"connection_id":162266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:38:21] local.INFO: IMEI packet received {"connection_id":162266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":162266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:38:22] local.INFO: TCP Data received {"connection_id":162266,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ad2a48012d7b9f0005de84500000016121..."} 
[2026-08-25 21:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ad2a48012d7b9f0005de84500000016121..."} 
[2026-08-25 21:38:22] local.INFO: Processing buffer {"connection_id":162266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ad2a48012d7b9f0005de84500000016121..."} 
[2026-08-25 21:38:22] local.INFO: Packet analysis {"connection_id":162266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ad"} 
[2026-08-25 21:38:22] local.INFO: Extracted packet for processing {"connection_id":162266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ad"} 
[2026-08-25 21:38:22] local.INFO: GPS Element Parsed {"raw_longitude":763076352,"raw_latitude":98468944,"longitude_deg":76.3076352,"latitude_deg":9.8468944,"altitude":0,"angle":353,"satellites":33,"speed":52,"hex_longitude":"2d7b9f00","hex_latitude":"05de8450","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644553472001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909034881818644480,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124435643630616576,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38: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-25 21:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787674045000,"timestamp_ms":1787674045000,"timestamp_seconds":1787674045,"priority":1,"record_length":96,"hex_timestamp":"000001a039ad2a48"} 
[2026-08-25 21: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-25 21:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 21:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:38:22] 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-25 21:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644553472001,"66":10439,"45":8909034881818644480,"85":15104,"24":52,"16":124435643630616576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 21:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644553472001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909034881818644480,"description":"Unknown IO ID 45"} 
[2026-08-25 21:38:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124435643630616576,"km_value":124435643630616.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:38:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457644553472001,"power":10439,"unknown_45":8909034881818644480,"unknown_85":15104,"ignition":52,"odometer":null}} 
[2026-08-25 21:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":162266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:38:22] local.INFO: GPS data processed {"connection_id":162266,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:38:22] local.INFO: Acknowledgment sent {"connection_id":162266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:38:42] local.INFO: TCP Data received {"connection_id":163261,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:38:42] local.INFO: Processing buffer {"connection_id":163261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:38:42] local.INFO: IMEI packet received {"connection_id":163261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":163261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:38:44] local.INFO: TCP Data received {"connection_id":163261,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:38:44] local.INFO: Processing buffer {"connection_id":163261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:38:44] local.INFO: IMEI packet received {"connection_id":163261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":163261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:38:45] local.INFO: TCP Data received {"connection_id":163261,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:38:45] local.INFO: Processing buffer {"connection_id":163261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:38:45] local.INFO: Packet analysis {"connection_id":163261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:38:45] local.INFO: Extracted packet for processing {"connection_id":163261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644439808001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787673894000,"timestamp_ms":1787673894000,"timestamp_seconds":1787673894,"priority":1,"record_length":96,"hex_timestamp":"000001a039aadc70"} 
[2026-08-25 21:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:38:45] 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-25 21:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:38:45] 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-25 21:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644439808001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644439808001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644439808001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":163261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:38:45] local.INFO: GPS data processed {"connection_id":163261,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:38:45] local.INFO: Acknowledgment sent {"connection_id":163261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:38:49] local.INFO: TCP Data received {"connection_id":163261,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:38:49] local.INFO: Processing buffer {"connection_id":163261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:38:49] local.INFO: Packet analysis {"connection_id":163261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:38:49] local.INFO: Extracted packet for processing {"connection_id":163261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 21:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644439808001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787673894000,"timestamp_ms":1787673894000,"timestamp_seconds":1787673894,"priority":1,"record_length":96,"hex_timestamp":"000001a039aadc70"} 
[2026-08-25 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-25 21:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:38:49] 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-25 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-25 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-25 21:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:38: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-25 21:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644439808001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644439808001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:38:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644439808001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":163261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:38:49] local.INFO: GPS data processed {"connection_id":163261,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:38:49] local.INFO: Acknowledgment sent {"connection_id":163261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:38:54] local.INFO: TCP Data received {"connection_id":162266,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ad45a0012d7b9c0005deabc00000016521..."} 
[2026-08-25 21:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ad45a0012d7b9c0005deabc00000016521..."} 
[2026-08-25 21:38:54] local.INFO: Processing buffer {"connection_id":162266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ad45a0012d7b9c0005deabc00000016521..."} 
[2026-08-25 21:38:54] local.INFO: Packet analysis {"connection_id":162266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ad"} 
[2026-08-25 21:38:54] local.INFO: Extracted packet for processing {"connection_id":162266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ad"} 
[2026-08-25 21:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763075584,"raw_latitude":98479040,"longitude_deg":76.3075584,"latitude_deg":9.847904,"altitude":0,"angle":357,"satellites":33,"speed":60,"hex_longitude":"2d7b9c00","hex_latitude":"05deabc0","is_valid_coordinates":true} 
[2026-08-25 21:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644555520001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907838613170180096,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124436133256888320,"note":"Value kept but may cause issues"} 
[2026-08-25 21:38:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 21:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787674052000,"timestamp_ms":1787674052000,"timestamp_seconds":1787674052,"priority":1,"record_length":96,"hex_timestamp":"000001a039ad45a0"} 
[2026-08-25 21:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-25 21:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2189,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:38:54] 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-25 21:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644555520001,"66":10319,"45":8907838613170180096,"85":15104,"24":60,"16":124436133256888320},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 21:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644555520001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907838613170180096,"description":"Unknown IO ID 45"} 
[2026-08-25 21:38:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124436133256888320,"km_value":124436133256888.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:38:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457644555520001,"power":10319,"unknown_45":8907838613170180096,"unknown_85":15104,"ignition":60,"odometer":null}} 
[2026-08-25 21:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":162266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:38:54] local.INFO: GPS data processed {"connection_id":162266,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:38:54] local.INFO: Acknowledgment sent {"connection_id":162266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:39:21] local.INFO: TCP Data received {"connection_id":163261,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:39:21] local.INFO: Processing buffer {"connection_id":163261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:39:21] local.INFO: Packet analysis {"connection_id":163261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:39:21] local.INFO: Extracted packet for processing {"connection_id":163261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 21:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644439808001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:39:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787673894000,"timestamp_ms":1787673894000,"timestamp_seconds":1787673894,"priority":1,"record_length":96,"hex_timestamp":"000001a039aadc70"} 
[2026-08-25 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-25 21:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:39:21] 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-25 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-25 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-25 21:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644439808001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644439808001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644439808001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":163261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:39:21] local.INFO: GPS data processed {"connection_id":163261,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:39:21] local.INFO: Acknowledgment sent {"connection_id":163261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:39:39] local.INFO: TCP Data received {"connection_id":162267,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:39:39] local.INFO: Processing buffer {"connection_id":162267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:39:39] local.INFO: IMEI packet received {"connection_id":162267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":162267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:39:47] local.INFO: TCP Data received {"connection_id":162267,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:39:47] local.INFO: Processing buffer {"connection_id":162267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:39:47] local.INFO: IMEI packet received {"connection_id":162267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":162267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:39:48] local.INFO: TCP Data received {"connection_id":162267,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:39:48] local.INFO: Processing buffer {"connection_id":162267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:39:48] local.INFO: Packet analysis {"connection_id":162267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:39:48] local.INFO: Extracted packet for processing {"connection_id":162267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:39:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644439808001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:39:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787673894000,"timestamp_ms":1787673894000,"timestamp_seconds":1787673894,"priority":1,"record_length":96,"hex_timestamp":"000001a039aadc70"} 
[2026-08-25 21:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:39:48] 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-25 21:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644439808001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644439808001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644439808001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":162267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:39:48] local.INFO: GPS data processed {"connection_id":162267,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:39:48] local.INFO: Acknowledgment sent {"connection_id":162267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:39:52] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:39:52] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:39:52] local.INFO: IMEI packet received {"connection_id":162035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":162035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:39:55] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:39:55] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:39:55] local.INFO: IMEI packet received {"connection_id":162035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":162035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:39:57] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ae7e20012d7b708005e040500000016024..."} 
[2026-08-25 21:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ae7e20012d7b708005e040500000016024..."} 
[2026-08-25 21:39:57] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ae7e20012d7b708005e040500000016024..."} 
[2026-08-25 21:39:57] local.INFO: Packet analysis {"connection_id":162035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ae"} 
[2026-08-25 21:39:57] local.INFO: Extracted packet for processing {"connection_id":162035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ae"} 
[2026-08-25 21:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763064448,"raw_latitude":98582608,"longitude_deg":76.3064448,"latitude_deg":9.8582608,"altitude":0,"angle":352,"satellites":36,"speed":44,"hex_longitude":"2d7b7080","hex_latitude":"05e04050","is_valid_coordinates":true} 
[2026-08-25 21:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644575744001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124441184138428416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895946295430858752,"note":"Value kept but may cause issues"} 
[2026-08-25 21:39:57] 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-25 21:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787674132000,"timestamp_ms":1787674132000,"timestamp_seconds":1787674132,"priority":1,"record_length":96,"hex_timestamp":"000001a039ae7e20"} 
[2026-08-25 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-25 21:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":39,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 21:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 21:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:39:57] 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-25 21:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644575744001,"66":10276,"103":206,"85":15104,"24":44,"16":124441184138428416,"45":8895946295430858752},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-25 21:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644575744001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:39:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 21:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124441184138428416,"km_value":124441184138428.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895946295430858752,"description":"Unknown IO ID 45"} 
[2026-08-25 21:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644575744001,"power":10276,"unknown_103":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8895946295430858752}} 
[2026-08-25 21:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":162035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:39:57] local.INFO: GPS data processed {"connection_id":162035,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:39:57] local.INFO: Acknowledgment sent {"connection_id":162035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:39:59] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ae9d60012d7b6bc005e065380000016027..."} 
[2026-08-25 21:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ae9d60012d7b6bc005e065380000016027..."} 
[2026-08-25 21:39:59] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ae9d60012d7b6bc005e065380000016027..."} 
[2026-08-25 21:39:59] local.INFO: Packet analysis {"connection_id":162035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ae"} 
[2026-08-25 21:39:59] local.INFO: Extracted packet for processing {"connection_id":162035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ae"} 
[2026-08-25 21:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763063232,"raw_latitude":98592056,"longitude_deg":76.3063232,"latitude_deg":9.8592056,"altitude":0,"angle":352,"satellites":39,"speed":52,"hex_longitude":"2d7b6bc0","hex_latitude":"05e06538","is_valid_coordinates":true} 
[2026-08-25 21:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644577792001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124441647994896384,"note":"Value kept but may cause issues"} 
[2026-08-25 21:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894750026782232576,"note":"Value kept but may cause issues"} 
[2026-08-25 21:39:59] 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-25 21:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787674140000,"timestamp_ms":1787674140000,"timestamp_seconds":1787674140,"priority":1,"record_length":96,"hex_timestamp":"000001a039ae9d60"} 
[2026-08-25 21:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-25 21:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":722,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:39:59] 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-25 21:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644577792001,"66":10373,"103":206,"85":15104,"24":52,"16":124441647994896384,"45":8894750026782232576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-25 21:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644577792001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:39:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 21:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124441647994896384,"km_value":124441647994896.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894750026782232576,"description":"Unknown IO ID 45"} 
[2026-08-25 21:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644577792001,"power":10373,"unknown_103":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8894750026782232576}} 
[2026-08-25 21:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":162035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:39:59] local.INFO: GPS data processed {"connection_id":162035,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:39:59] local.INFO: Acknowledgment sent {"connection_id":162035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:40:20] local.INFO: TCP Data received {"connection_id":162267,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:40:20] local.INFO: Processing buffer {"connection_id":162267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aadc70012d34c14006aa4818000500e630..."} 
[2026-08-25 21:40:20] local.INFO: Packet analysis {"connection_id":162267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:40:20] local.INFO: Extracted packet for processing {"connection_id":162267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039aa"} 
[2026-08-25 21:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644439808001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:40:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787673894000,"timestamp_ms":1787673894000,"timestamp_seconds":1787673894,"priority":1,"record_length":96,"hex_timestamp":"000001a039aadc70"} 
[2026-08-25 21:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:40: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-25 21:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644439808001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644439808001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644439808001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":162267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:40:20] local.INFO: GPS data processed {"connection_id":162267,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:40:20] local.INFO: Acknowledgment sent {"connection_id":162267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:40:22] local.INFO: TCP Data received {"connection_id":164643,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:40:22] local.INFO: Processing buffer {"connection_id":164643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:40:22] local.INFO: IMEI packet received {"connection_id":164643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":164643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:40:23] local.INFO: TCP Data received {"connection_id":164643,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:40:23] local.INFO: Processing buffer {"connection_id":164643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:40:23] local.INFO: IMEI packet received {"connection_id":164643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":164643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:40:27] local.INFO: TCP Data received {"connection_id":164643,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:40:27] local.INFO: Processing buffer {"connection_id":164643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:40:27] local.INFO: IMEI packet received {"connection_id":164643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":164643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:40:28] local.INFO: TCP Data received {"connection_id":164643,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039aeb8b8012d7b66c005e08a480000015f25..."} 
[2026-08-25 21:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aeb8b8012d7b66c005e08a480000015f25..."} 
[2026-08-25 21:40:28] local.INFO: Processing buffer {"connection_id":164643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aeb8b8012d7b66c005e08a480000015f25..."} 
[2026-08-25 21:40:28] local.INFO: Packet analysis {"connection_id":164643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ae"} 
[2026-08-25 21:40:28] local.INFO: Extracted packet for processing {"connection_id":164643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ae"} 
[2026-08-25 21:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763061952,"raw_latitude":98601544,"longitude_deg":76.3061952,"latitude_deg":9.8601544,"altitude":0,"angle":351,"satellites":37,"speed":53,"hex_longitude":"2d7b66c0","hex_latitude":"05e08a48","is_valid_coordinates":true} 
[2026-08-25 21:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644579840001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124442111851364352,"note":"Value kept but may cause issues"} 
[2026-08-25 21:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893413020645275648,"note":"Value kept but may cause issues"} 
[2026-08-25 21:40:28] 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-25 21:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787674147000,"timestamp_ms":1787674147000,"timestamp_seconds":1787674147,"priority":1,"record_length":96,"hex_timestamp":"000001a039aeb8b8"} 
[2026-08-25 21:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 21:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1595,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:40:28] 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-25 21:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644579840001,"66":10406,"103":206,"85":15104,"24":53,"16":124442111851364352,"45":8893413020645275648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-25 21:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644579840001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:40:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 21:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124442111851364352,"km_value":124442111851364.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893413020645275648,"description":"Unknown IO ID 45"} 
[2026-08-25 21:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644579840001,"power":10406,"unknown_103":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8893413020645275648}} 
[2026-08-25 21:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":164643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:40:28] local.INFO: GPS data processed {"connection_id":164643,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:40:28] local.INFO: Acknowledgment sent {"connection_id":164643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:40:39] local.INFO: TCP Data received {"connection_id":163262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:40:39] local.INFO: Processing buffer {"connection_id":163262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:40:39] local.INFO: IMEI packet received {"connection_id":163262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":163262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:40:39] local.INFO: TCP Data received {"connection_id":162034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:40:39] local.INFO: Processing buffer {"connection_id":162034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:40:39] local.INFO: IMEI packet received {"connection_id":162034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 21:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":162034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:40:44] local.INFO: TCP Data received {"connection_id":163262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:40:44] local.INFO: Processing buffer {"connection_id":163262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:40:44] local.INFO: IMEI packet received {"connection_id":163262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":163262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:40:45] local.INFO: TCP Data received {"connection_id":163262,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:40:45] local.INFO: Processing buffer {"connection_id":163262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:40:45] local.INFO: Packet analysis {"connection_id":163262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:40:45] local.INFO: Extracted packet for processing {"connection_id":163262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644516864001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:40:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787674195000,"timestamp_ms":1787674195000,"timestamp_seconds":1787674195,"priority":1,"record_length":96,"hex_timestamp":"000001a039af7438"} 
[2026-08-25 21:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:40:45] 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-25 21:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:40:45] 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-25 21:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644516864001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644516864001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644516864001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":163262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:40:45] local.INFO: GPS data processed {"connection_id":163262,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:40:45] local.INFO: Acknowledgment sent {"connection_id":163262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:40:59] local.INFO: TCP Data received {"connection_id":164643,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039aed410012d7b620005e0ace80000015e25..."} 
[2026-08-25 21:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039aed410012d7b620005e0ace80000015e25..."} 
[2026-08-25 21:40:59] local.INFO: Processing buffer {"connection_id":164643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039aed410012d7b620005e0ace80000015e25..."} 
[2026-08-25 21:40:59] local.INFO: Packet analysis {"connection_id":164643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ae"} 
[2026-08-25 21:40:59] local.INFO: Extracted packet for processing {"connection_id":164643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ae"} 
[2026-08-25 21:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763060736,"raw_latitude":98610408,"longitude_deg":76.3060736,"latitude_deg":9.8610408,"altitude":0,"angle":350,"satellites":37,"speed":48,"hex_longitude":"2d7b6200","hex_latitude":"05e0ace8","is_valid_coordinates":true} 
[2026-08-25 21:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644581632001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124442545643061248,"note":"Value kept but may cause issues"} 
[2026-08-25 21:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892005645764151296,"note":"Value kept but may cause issues"} 
[2026-08-25 21:40:59] 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-25 21:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787674154000,"timestamp_ms":1787674154000,"timestamp_seconds":1787674154,"priority":1,"record_length":96,"hex_timestamp":"000001a039aed410"} 
[2026-08-25 21:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 21:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:40:59] 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-25 21:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644581632001,"66":10265,"103":206,"85":15104,"24":48,"16":124442545643061248,"45":8892005645764151296},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-25 21:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644581632001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:40:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-25 21:40:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124442545643061248,"km_value":124442545643061.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892005645764151296,"description":"Unknown IO ID 45"} 
[2026-08-25 21:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644581632001,"power":10265,"unknown_103":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8892005645764151296}} 
[2026-08-25 21:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":164643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:41:00] local.INFO: GPS data processed {"connection_id":164643,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:41:00] local.INFO: Acknowledgment sent {"connection_id":164643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:41:15] local.INFO: TCP Data received {"connection_id":162268,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:41:15] local.INFO: Processing buffer {"connection_id":162268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:41:15] local.INFO: IMEI packet received {"connection_id":162268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":162268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:41:17] local.INFO: TCP Data received {"connection_id":163262,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:41:17] local.INFO: Processing buffer {"connection_id":163262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:41:17] local.INFO: Packet analysis {"connection_id":163262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:41:17] local.INFO: Extracted packet for processing {"connection_id":163262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644516864001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787674195000,"timestamp_ms":1787674195000,"timestamp_seconds":1787674195,"priority":1,"record_length":96,"hex_timestamp":"000001a039af7438"} 
[2026-08-25 21:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:41:17] 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-25 21:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644516864001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644516864001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644516864001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":163262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:41:17] local.INFO: GPS data processed {"connection_id":163262,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:41:17] local.INFO: Acknowledgment sent {"connection_id":163262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:41:17] local.INFO: TCP Data received {"connection_id":162268,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:41:17] local.INFO: Processing buffer {"connection_id":162268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:41:17] local.INFO: IMEI packet received {"connection_id":162268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":162268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:41:22] local.INFO: TCP Data received {"connection_id":162268,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:41:22] local.INFO: Processing buffer {"connection_id":162268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:41:22] local.INFO: IMEI packet received {"connection_id":162268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":162268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:41:23] local.INFO: TCP Data received {"connection_id":162268,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b05ab0012d7b2a4005e23de00000016027..."} 
[2026-08-25 21:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b05ab0012d7b2a4005e23de00000016027..."} 
[2026-08-25 21:41:23] local.INFO: Processing buffer {"connection_id":162268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b05ab0012d7b2a4005e23de00000016027..."} 
[2026-08-25 21:41:23] local.INFO: Packet analysis {"connection_id":162268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b0"} 
[2026-08-25 21:41:23] local.INFO: Extracted packet for processing {"connection_id":162268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b0"} 
[2026-08-25 21:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763046464,"raw_latitude":98713056,"longitude_deg":76.3046464,"latitude_deg":9.8713056,"altitude":0,"angle":352,"satellites":39,"speed":37,"hex_longitude":"2d7b2a40","hex_latitude":"05e23de0","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644606464001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876102309606236160,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124447570754797568,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 21:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787674254000,"timestamp_ms":1787674254000,"timestamp_seconds":1787674254,"priority":1,"record_length":96,"hex_timestamp":"000001a039b05ab0"} 
[2026-08-25 21: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-25 21:41: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-25 21: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":39,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1455,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:41:23] 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-25 21:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644606464001,"66":10145,"45":8876102309606236160,"85":15104,"24":37,"16":124447570754797568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 21:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644606464001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876102309606236160,"description":"Unknown IO ID 45"} 
[2026-08-25 21:41:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124447570754797568,"km_value":124447570754797.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:41:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457644606464001,"power":10145,"unknown_45":8876102309606236160,"unknown_85":15104,"ignition":37,"odometer":null}} 
[2026-08-25 21:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":162268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:41:23] local.INFO: GPS data processed {"connection_id":162268,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:41:23] local.INFO: Acknowledgment sent {"connection_id":162268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:41:47] local.INFO: TCP Data received {"connection_id":162269,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:41:47] local.INFO: Processing buffer {"connection_id":162269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:41:47] local.INFO: IMEI packet received {"connection_id":162269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":162269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:41:49] local.INFO: TCP Data received {"connection_id":162269,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:41:49] local.INFO: Processing buffer {"connection_id":162269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:41:49] local.INFO: IMEI packet received {"connection_id":162269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":162269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:41:50] local.INFO: TCP Data received {"connection_id":162269,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:41:50] local.INFO: Processing buffer {"connection_id":162269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:41:50] local.INFO: Packet analysis {"connection_id":162269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:41:50] local.INFO: Extracted packet for processing {"connection_id":162269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:41:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644516864001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787674195000,"timestamp_ms":1787674195000,"timestamp_seconds":1787674195,"priority":1,"record_length":96,"hex_timestamp":"000001a039af7438"} 
[2026-08-25 21: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-25 21:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:41:50] 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-25 21: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-25 21: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-25 21:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:41: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-25 21:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644516864001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644516864001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644516864001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":162269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:41:50] local.INFO: GPS data processed {"connection_id":162269,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:41:50] local.INFO: Acknowledgment sent {"connection_id":162269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:41:54] local.INFO: TCP Data received {"connection_id":162268,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b085a8012d7b260005e263500000016522..."} 
[2026-08-25 21:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b085a8012d7b260005e263500000016522..."} 
[2026-08-25 21:41:54] local.INFO: Processing buffer {"connection_id":162268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b085a8012d7b260005e263500000016522..."} 
[2026-08-25 21:41:54] local.INFO: Packet analysis {"connection_id":162268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b0"} 
[2026-08-25 21:41:54] local.INFO: Extracted packet for processing {"connection_id":162268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b0"} 
[2026-08-25 21:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763045376,"raw_latitude":98722640,"longitude_deg":76.3045376,"latitude_deg":9.872264,"altitude":0,"angle":357,"satellites":34,"speed":34,"hex_longitude":"2d7b2600","hex_latitude":"05e26350","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644609024001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874976409701703680,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124448038906232832,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-25 21:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787674265000,"timestamp_ms":1787674265000,"timestamp_seconds":1787674265,"priority":1,"record_length":96,"hex_timestamp":"000001a039b085a8"} 
[2026-08-25 21: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-25 21:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":39,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-25 21:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1842,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:41:54] 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-25 21:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644609024001,"66":10189,"45":8874976409701703680,"85":15104,"24":34,"16":124448038906232832},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 21:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644609024001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874976409701703680,"description":"Unknown IO ID 45"} 
[2026-08-25 21:41:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124448038906232832,"km_value":124448038906232.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:41:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457644609024001,"power":10189,"unknown_45":8874976409701703680,"unknown_85":15104,"ignition":34,"odometer":null}} 
[2026-08-25 21:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":162268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:41:54] local.INFO: GPS data processed {"connection_id":162268,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:41:54] local.INFO: Acknowledgment sent {"connection_id":162268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:41:54] local.INFO: TCP Data received {"connection_id":162269,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:41:54] local.INFO: Processing buffer {"connection_id":162269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:41:54] local.INFO: Packet analysis {"connection_id":162269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:41:54] local.INFO: Extracted packet for processing {"connection_id":162269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:41:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644516864001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787674195000,"timestamp_ms":1787674195000,"timestamp_seconds":1787674195,"priority":1,"record_length":96,"hex_timestamp":"000001a039af7438"} 
[2026-08-25 21: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-25 21:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:41:54] 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-25 21: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-25 21: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-25 21:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644516864001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644516864001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:41:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644516864001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":162269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:41:54] local.INFO: GPS data processed {"connection_id":162269,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:41:54] local.INFO: Acknowledgment sent {"connection_id":162269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:42:17] local.INFO: TCP Data received {"connection_id":163263,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:42:17] local.INFO: Processing buffer {"connection_id":163263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:42:17] local.INFO: IMEI packet received {"connection_id":163263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":163263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:42:21] local.INFO: TCP Data received {"connection_id":163263,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:42:21] local.INFO: Processing buffer {"connection_id":163263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:42:21] local.INFO: IMEI packet received {"connection_id":163263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":163263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:42:22] local.INFO: TCP Data received {"connection_id":163263,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b0a8d0012d7b218005e287480001015e24..."} 
[2026-08-25 21:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b0a8d0012d7b218005e287480001015e24..."} 
[2026-08-25 21:42:22] local.INFO: Processing buffer {"connection_id":163263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b0a8d0012d7b218005e287480001015e24..."} 
[2026-08-25 21:42:22] local.INFO: Packet analysis {"connection_id":163263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b0"} 
[2026-08-25 21:42:22] local.INFO: Extracted packet for processing {"connection_id":163263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b0"} 
[2026-08-25 21:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763044224,"raw_latitude":98731848,"longitude_deg":76.3044224,"latitude_deg":9.8731848,"altitude":1,"angle":350,"satellites":36,"speed":41,"hex_longitude":"2d7b2180","hex_latitude":"05e28748","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644611840001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873780141053136896,"note":"Value kept but may cause issues"} 
[2026-08-25 21:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124448489877798912,"note":"Value kept but may cause issues"} 
[2026-08-25 21:42: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-25 21:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787674274000,"timestamp_ms":1787674274000,"timestamp_seconds":1787674274,"priority":1,"record_length":96,"hex_timestamp":"000001a039b0a8d0"} 
[2026-08-25 21: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-25 21:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":39,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-25 21:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2238,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:42:22] 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-25 21:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644611840001,"66":10156,"45":8873780141053136896,"85":15104,"24":41,"16":124448489877798912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-25 21:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644611840001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873780141053136896,"description":"Unknown IO ID 45"} 
[2026-08-25 21:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124448489877798912,"km_value":124448489877798.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:42:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457644611840001,"power":10156,"unknown_45":8873780141053136896,"unknown_85":15104,"ignition":41,"odometer":null}} 
[2026-08-25 21:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":163263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:42:22] local.INFO: GPS data processed {"connection_id":163263,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:42:22] local.INFO: Acknowledgment sent {"connection_id":163263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:42:39] local.INFO: TCP Data received {"connection_id":164644,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:42:39] local.INFO: Processing buffer {"connection_id":164644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:42:39] local.INFO: IMEI packet received {"connection_id":164644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":164644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:42:44] local.INFO: TCP Data received {"connection_id":164644,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:42:44] local.INFO: Processing buffer {"connection_id":164644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:42:44] local.INFO: IMEI packet received {"connection_id":164644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":164644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:42:45] local.INFO: TCP Data received {"connection_id":164644,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:42:45] local.INFO: Processing buffer {"connection_id":164644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:42:45] local.INFO: Packet analysis {"connection_id":164644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:42:45] local.INFO: Extracted packet for processing {"connection_id":164644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644516864001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:42:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787674195000,"timestamp_ms":1787674195000,"timestamp_seconds":1787674195,"priority":1,"record_length":96,"hex_timestamp":"000001a039af7438"} 
[2026-08-25 21:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:42:45] 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-25 21:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644516864001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644516864001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644516864001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":164644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:42:45] local.INFO: GPS data processed {"connection_id":164644,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:42:45] local.INFO: Acknowledgment sent {"connection_id":164644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:42:54] local.INFO: TCP Data received {"connection_id":163263,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b0c810012d7b1bc005e2aad80000015f25..."} 
[2026-08-25 21:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b0c810012d7b1bc005e2aad80000015f25..."} 
[2026-08-25 21:42:54] local.INFO: Processing buffer {"connection_id":163263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b0c810012d7b1bc005e2aad80000015f25..."} 
[2026-08-25 21:42:54] local.INFO: Packet analysis {"connection_id":163263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b0"} 
[2026-08-25 21:42:54] local.INFO: Extracted packet for processing {"connection_id":163263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b0"} 
[2026-08-25 21:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763042752,"raw_latitude":98740952,"longitude_deg":76.3042752,"latitude_deg":9.8740952,"altitude":0,"angle":351,"satellites":37,"speed":48,"hex_longitude":"2d7b1bc0","hex_latitude":"05e2aad8","is_valid_coordinates":true} 
[2026-08-25 21:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644614144001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124448936554397696,"note":"Value kept but may cause issues"} 
[2026-08-25 21:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872513503660296192,"note":"Value kept but may cause issues"} 
[2026-08-25 21:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787674282000,"timestamp_ms":1787674282000,"timestamp_seconds":1787674282,"priority":1,"record_length":96,"hex_timestamp":"000001a039b0c810"} 
[2026-08-25 21:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-25 21:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1941,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:42:54] 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-25 21:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644614144001,"66":10178,"207":206,"85":15104,"24":48,"16":124448936554397696,"45":8872513503660296192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-25 21:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644614144001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:42:54] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 21:42:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124448936554397696,"km_value":124448936554397.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872513503660296192,"description":"Unknown IO ID 45"} 
[2026-08-25 21:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644614144001,"power":10178,"unknown_207":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8872513503660296192}} 
[2026-08-25 21:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":163263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:42:54] local.INFO: GPS data processed {"connection_id":163263,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:42:54] local.INFO: Acknowledgment sent {"connection_id":163263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:43:16] local.INFO: TCP Data received {"connection_id":164644,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:43:16] local.INFO: Processing buffer {"connection_id":164644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:43:16] local.INFO: Packet analysis {"connection_id":164644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:43:16] local.INFO: Extracted packet for processing {"connection_id":164644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644516864001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:43:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787674195000,"timestamp_ms":1787674195000,"timestamp_seconds":1787674195,"priority":1,"record_length":96,"hex_timestamp":"000001a039af7438"} 
[2026-08-25 21: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-25 21:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644516864001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644516864001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644516864001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":164644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:43:16] local.INFO: GPS data processed {"connection_id":164644,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:43:16] local.INFO: Acknowledgment sent {"connection_id":164644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:43:17] local.INFO: TCP Data received {"connection_id":164645,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:43:17] local.INFO: Processing buffer {"connection_id":164645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:43:17] local.INFO: IMEI packet received {"connection_id":164645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":164645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:43:22] local.INFO: TCP Data received {"connection_id":164645,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:43:22] local.INFO: Processing buffer {"connection_id":164645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:43:22] local.INFO: IMEI packet received {"connection_id":164645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":164645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:43:23] local.INFO: TCP Data received {"connection_id":164645,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b23740012d7ae28005e3b858000901562e..."} 
[2026-08-25 21:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b23740012d7ae28005e3b858000901562e..."} 
[2026-08-25 21:43:23] local.INFO: Processing buffer {"connection_id":164645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b23740012d7ae28005e3b858000901562e..."} 
[2026-08-25 21:43:23] local.INFO: Packet analysis {"connection_id":164645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b2"} 
[2026-08-25 21:43:23] local.INFO: Extracted packet for processing {"connection_id":164645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b2"} 
[2026-08-25 21:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763028096,"raw_latitude":98809944,"longitude_deg":76.3028096,"latitude_deg":9.8809944,"altitude":9,"angle":342,"satellites":46,"speed":33,"hex_longitude":"2d7ae280","hex_latitude":"05e3b858","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644635648001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124452381118169088,"note":"Value kept but may cause issues"} 
[2026-08-25 21:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857806436144945152,"note":"Value kept but may cause issues"} 
[2026-08-25 21:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787674376000,"timestamp_ms":1787674376000,"timestamp_seconds":1787674376,"priority":1,"record_length":96,"hex_timestamp":"000001a039b23740"} 
[2026-08-25 21: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-25 21:43: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-25 21: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":38,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-25 21:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:43:23] 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-25 21:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644635648001,"66":10373,"208":206,"85":15104,"24":33,"16":124452381118169088,"45":8857806436144945152},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 21:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644635648001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:43:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 21:43:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124452381118169088,"km_value":124452381118169.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857806436144945152,"description":"Unknown IO ID 45"} 
[2026-08-25 21:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644635648001,"power":10373,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8857806436144945152}} 
[2026-08-25 21:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":164645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:43:23] local.INFO: GPS data processed {"connection_id":164645,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:43:23] local.INFO: Acknowledgment sent {"connection_id":164645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:43:39] local.INFO: TCP Data received {"connection_id":162271,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:43:39] local.INFO: Processing buffer {"connection_id":162271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:43:39] local.INFO: IMEI packet received {"connection_id":162271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":162271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:43:44] local.INFO: TCP Data received {"connection_id":162271,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:43:44] local.INFO: Processing buffer {"connection_id":162271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:43:44] local.INFO: IMEI packet received {"connection_id":162271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":162271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:43:45] local.INFO: TCP Data received {"connection_id":162271,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:43:45] local.INFO: Processing buffer {"connection_id":162271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:43:45] local.INFO: Packet analysis {"connection_id":162271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:43:45] local.INFO: Extracted packet for processing {"connection_id":162271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644516864001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:43:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787674195000,"timestamp_ms":1787674195000,"timestamp_seconds":1787674195,"priority":1,"record_length":96,"hex_timestamp":"000001a039af7438"} 
[2026-08-25 21:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:43:45] 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-25 21:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644516864001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644516864001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644516864001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":162271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:43:45] local.INFO: GPS data processed {"connection_id":162271,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:43:45] local.INFO: Acknowledgment sent {"connection_id":162271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:43:54] local.INFO: TCP Data received {"connection_id":164645,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b25e50012d7ad94005e3d9f8000901592c..."} 
[2026-08-25 21:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b25e50012d7ad94005e3d9f8000901592c..."} 
[2026-08-25 21:43:54] local.INFO: Processing buffer {"connection_id":164645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b25e50012d7ad94005e3d9f8000901592c..."} 
[2026-08-25 21:43:54] local.INFO: Packet analysis {"connection_id":164645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b2"} 
[2026-08-25 21:43:54] local.INFO: Extracted packet for processing {"connection_id":164645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b2"} 
[2026-08-25 21:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763025728,"raw_latitude":98818552,"longitude_deg":76.3025728,"latitude_deg":9.8818552,"altitude":9,"angle":345,"satellites":44,"speed":36,"hex_longitude":"2d7ad940","hex_latitude":"05e3d9f8","is_valid_coordinates":true} 
[2026-08-25 21:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644640256001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124452814909865984,"note":"Value kept but may cause issues"} 
[2026-08-25 21:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854780580147517440,"note":"Value kept but may cause issues"} 
[2026-08-25 21:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787674386000,"timestamp_ms":1787674386000,"timestamp_seconds":1787674386,"priority":1,"record_length":96,"hex_timestamp":"000001a039b25e50"} 
[2026-08-25 21:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-25 21:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1595,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:43:54] 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-25 21:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644640256001,"66":10319,"208":206,"85":15104,"24":36,"16":124452814909865984,"45":8854780580147517440},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 21:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644640256001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:43:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 21:43:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124452814909865984,"km_value":124452814909865.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854780580147517440,"description":"Unknown IO ID 45"} 
[2026-08-25 21:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644640256001,"power":10319,"unknown_208":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8854780580147517440}} 
[2026-08-25 21:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":164645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:43:54] local.INFO: GPS data processed {"connection_id":164645,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:43:54] local.INFO: Acknowledgment sent {"connection_id":164645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:44:17] local.INFO: TCP Data received {"connection_id":162271,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:44:17] local.INFO: Processing buffer {"connection_id":162271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:44:17] local.INFO: Packet analysis {"connection_id":162271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:44:17] local.INFO: Extracted packet for processing {"connection_id":162271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644516864001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:44:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787674195000,"timestamp_ms":1787674195000,"timestamp_seconds":1787674195,"priority":1,"record_length":96,"hex_timestamp":"000001a039af7438"} 
[2026-08-25 21:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:44:17] 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-25 21:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644516864001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644516864001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:44:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644516864001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":162271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:44:17] local.INFO: GPS data processed {"connection_id":162271,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:44:17] local.INFO: Acknowledgment sent {"connection_id":162271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:44:20] local.INFO: TCP Data received {"connection_id":163264,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:44:20] local.INFO: Processing buffer {"connection_id":163264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:44:20] local.INFO: IMEI packet received {"connection_id":163264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":163264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:44:22] local.INFO: TCP Data received {"connection_id":163264,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:44:22] local.INFO: Processing buffer {"connection_id":163264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:44:22] local.INFO: IMEI packet received {"connection_id":163264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":163264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:44:27] local.INFO: TCP Data received {"connection_id":163264,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:44:27] local.INFO: Processing buffer {"connection_id":163264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:44:27] local.INFO: IMEI packet received {"connection_id":163264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":163264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:44:28] local.INFO: TCP Data received {"connection_id":163264,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b29500012d7ad10005e3fef80009015f2b..."} 
[2026-08-25 21:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b29500012d7ad10005e3fef80009015f2b..."} 
[2026-08-25 21:44:28] local.INFO: Processing buffer {"connection_id":163264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b29500012d7ad10005e3fef80009015f2b..."} 
[2026-08-25 21:44:28] local.INFO: Packet analysis {"connection_id":163264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b2"} 
[2026-08-25 21:44:28] local.INFO: Extracted packet for processing {"connection_id":163264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b2"} 
[2026-08-25 21:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763023616,"raw_latitude":98828024,"longitude_deg":76.3023616,"latitude_deg":9.8828024,"altitude":9,"angle":351,"satellites":43,"speed":36,"hex_longitude":"2d7ad100","hex_latitude":"05e3fef8","is_valid_coordinates":true} 
[2026-08-25 21:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644642816001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124453287356268544,"note":"Value kept but may cause issues"} 
[2026-08-25 21:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852176936615147520,"note":"Value kept but may cause issues"} 
[2026-08-25 21:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787674400000,"timestamp_ms":1787674400000,"timestamp_seconds":1787674400,"priority":1,"record_length":96,"hex_timestamp":"000001a039b29500"} 
[2026-08-25 21:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 21:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1109,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:44:28] 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-25 21:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644642816001,"66":10123,"208":206,"85":15104,"24":36,"16":124453287356268544,"45":8852176936615147520},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-25 21:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644642816001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:44:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-25 21:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 21:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124453287356268544,"km_value":124453287356268.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852176936615147520,"description":"Unknown IO ID 45"} 
[2026-08-25 21:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644642816001,"power":10123,"unknown_208":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8852176936615147520}} 
[2026-08-25 21:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":163264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:44:28] local.INFO: GPS data processed {"connection_id":163264,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:44:28] local.INFO: Acknowledgment sent {"connection_id":163264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:44:39] local.INFO: TCP Data received {"connection_id":163265,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:44:39] local.INFO: Processing buffer {"connection_id":163265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:44:39] local.INFO: IMEI packet received {"connection_id":163265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":163265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:44:44] local.INFO: TCP Data received {"connection_id":163265,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:44:44] local.INFO: Processing buffer {"connection_id":163265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:44:44] local.INFO: IMEI packet received {"connection_id":163265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":163265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:44:45] local.INFO: TCP Data received {"connection_id":163265,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:44:45] local.INFO: Processing buffer {"connection_id":163265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:44:45] local.INFO: Packet analysis {"connection_id":163265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:44:45] local.INFO: Extracted packet for processing {"connection_id":163265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644516864001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:44:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787674195000,"timestamp_ms":1787674195000,"timestamp_seconds":1787674195,"priority":1,"record_length":96,"hex_timestamp":"000001a039af7438"} 
[2026-08-25 21: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-25 21:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:44:45] 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-25 21: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-25 21: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-25 21:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:44:45] 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-25 21:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644516864001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644516864001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:44:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644516864001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":163265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:44:45] local.INFO: GPS data processed {"connection_id":163265,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:44:45] local.INFO: Acknowledgment sent {"connection_id":163265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:45:00] local.INFO: TCP Data received {"connection_id":163264,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b3b228012d79fbc005e4f568000201502d..."} 
[2026-08-25 21:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b3b228012d79fbc005e4f568000201502d..."} 
[2026-08-25 21:45:00] local.INFO: Processing buffer {"connection_id":163264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b3b228012d79fbc005e4f568000201502d..."} 
[2026-08-25 21:45:00] local.INFO: Packet analysis {"connection_id":163264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b3"} 
[2026-08-25 21:45:00] local.INFO: Extracted packet for processing {"connection_id":163264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b3"} 
[2026-08-25 21:45:00] local.INFO: GPS Element Parsed {"raw_longitude":762969024,"raw_latitude":98891112,"longitude_deg":76.2969024,"latitude_deg":9.8891112,"altitude":2,"angle":336,"satellites":45,"speed":37,"hex_longitude":"2d79fbc0","hex_latitude":"05e4f568","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644663552001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124457363280232448,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793630141476513792,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787674473000,"timestamp_ms":1787674473000,"timestamp_seconds":1787674473,"priority":1,"record_length":96,"hex_timestamp":"000001a039b3b228"} 
[2026-08-25 21: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-25 21:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-25 21: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":39,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-25 21:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1842,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:45:00] 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-25 21:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644663552001,"66":10123,"39":206,"87":13824,"24":37,"16":124457363280232448,"45":8793630141476513792},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 21:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644663552001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:45:00] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 21:45:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124457363280232448,"km_value":124457363280232.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793630141476513792,"description":"Unknown IO ID 45"} 
[2026-08-25 21:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644663552001,"power":10123,"unknown_39":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8793630141476513792}} 
[2026-08-25 21:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":163264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:45:00] local.INFO: GPS data processed {"connection_id":163264,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:45:00] local.INFO: Acknowledgment sent {"connection_id":163264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:45:17] local.INFO: TCP Data received {"connection_id":163265,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:45:17] local.INFO: Processing buffer {"connection_id":163265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039af7438012d34c14006aa4818000100e631..."} 
[2026-08-25 21:45:17] local.INFO: Packet analysis {"connection_id":163265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:45:17] local.INFO: Extracted packet for processing {"connection_id":163265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039af"} 
[2026-08-25 21:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644516864001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787674195000,"timestamp_ms":1787674195000,"timestamp_seconds":1787674195,"priority":1,"record_length":96,"hex_timestamp":"000001a039af7438"} 
[2026-08-25 21:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:45:17] 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-25 21:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644516864001,"66":25495,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644516864001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644516864001,"power":25495,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":163265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:45:17] local.INFO: GPS data processed {"connection_id":163265,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:45:17] local.INFO: Acknowledgment sent {"connection_id":163265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:45:17] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:45:17] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:45:17] local.INFO: IMEI packet received {"connection_id":162036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":162036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:45:22] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:45:22] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:45:22] local.INFO: IMEI packet received {"connection_id":162036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":162036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:45:23] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b3c5b0012d79f64005e506c00001015b2d..."} 
[2026-08-25 21:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b3c5b0012d79f64005e506c00001015b2d..."} 
[2026-08-25 21:45:23] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b3c5b0012d79f64005e506c00001015b2d..."} 
[2026-08-25 21:45:23] local.INFO: Packet analysis {"connection_id":162036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b3"} 
[2026-08-25 21:45:23] local.INFO: Extracted packet for processing {"connection_id":162036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b3"} 
[2026-08-25 21:45:23] local.INFO: GPS Element Parsed {"raw_longitude":762967616,"raw_latitude":98895552,"longitude_deg":76.2967616,"latitude_deg":9.8895552,"altitude":1,"angle":347,"satellites":45,"speed":38,"hex_longitude":"2d79f640","hex_latitude":"05e506c0","is_valid_coordinates":true} 
[2026-08-25 21:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644665088001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124457586618531840,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789830229292312576,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787674478000,"timestamp_ms":1787674478000,"timestamp_seconds":1787674478,"priority":1,"record_length":96,"hex_timestamp":"000001a039b3c5b0"} 
[2026-08-25 21:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21: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-25 21:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 21:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1644,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:45:23] 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-25 21:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644665088001,"66":10319,"39":206,"87":13824,"24":38,"16":124457586618531840,"45":8789830229292312576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 21:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644665088001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:45:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 21:45:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124457586618531840,"km_value":124457586618531.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789830229292312576,"description":"Unknown IO ID 45"} 
[2026-08-25 21:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644665088001,"power":10319,"unknown_39":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8789830229292312576}} 
[2026-08-25 21:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":162036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:45:24] local.INFO: GPS data processed {"connection_id":162036,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:45:24] local.INFO: Acknowledgment sent {"connection_id":162036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:45:39] local.INFO: TCP Data received {"connection_id":164646,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:45:39] local.INFO: Processing buffer {"connection_id":164646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:45:39] local.INFO: IMEI packet received {"connection_id":164646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":164646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:45:44] local.INFO: TCP Data received {"connection_id":164646,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:45:44] local.INFO: Processing buffer {"connection_id":164646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:45:44] local.INFO: IMEI packet received {"connection_id":164646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":164646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:45:45] local.INFO: TCP Data received {"connection_id":164646,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:45:45] local.INFO: Processing buffer {"connection_id":164646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:45:45] local.INFO: Packet analysis {"connection_id":164646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:45:45] local.INFO: Extracted packet for processing {"connection_id":164646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644593920001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787674496000,"timestamp_ms":1787674496000,"timestamp_seconds":1787674496,"priority":1,"record_length":96,"hex_timestamp":"000001a039b40c00"} 
[2026-08-25 21:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 21:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644593920001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644593920001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644593920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":164646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:45:45] local.INFO: GPS data processed {"connection_id":164646,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:45:45] local.INFO: Acknowledgment sent {"connection_id":164646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:45:55] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b3f490012d79ee8005e529c80003015c2e..."} 
[2026-08-25 21:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b3f490012d79ee8005e529c80003015c2e..."} 
[2026-08-25 21:45:55] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b3f490012d79ee8005e529c80003015c2e..."} 
[2026-08-25 21:45:55] local.INFO: Packet analysis {"connection_id":162036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b3"} 
[2026-08-25 21:45:55] local.INFO: Extracted packet for processing {"connection_id":162036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b3"} 
[2026-08-25 21:45:55] local.INFO: GPS Element Parsed {"raw_longitude":762965632,"raw_latitude":98904520,"longitude_deg":76.2965632,"latitude_deg":9.890452,"altitude":3,"angle":348,"satellites":46,"speed":25,"hex_longitude":"2d79ee80","hex_latitude":"05e529c8","is_valid_coordinates":true} 
[2026-08-25 21:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644666368001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124458033295130624,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788282116921540608,"note":"Value kept but may cause issues"} 
[2026-08-25 21:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787674490000,"timestamp_ms":1787674490000,"timestamp_seconds":1787674490,"priority":1,"record_length":96,"hex_timestamp":"000001a039b3f490"} 
[2026-08-25 21:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 21:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1109,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:45:55] 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-25 21:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644666368001,"66":10243,"39":206,"87":13824,"24":25,"16":124458033295130624,"45":8788282116921540608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 21:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644666368001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:45:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 21:45:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124458033295130624,"km_value":124458033295130.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788282116921540608,"description":"Unknown IO ID 45"} 
[2026-08-25 21:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644666368001,"power":10243,"unknown_39":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8788282116921540608}} 
[2026-08-25 21:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":162036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:45:55] local.INFO: GPS data processed {"connection_id":162036,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:45:55] local.INFO: Acknowledgment sent {"connection_id":162036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:46:16] local.INFO: TCP Data received {"connection_id":162270,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:46:16] local.INFO: Processing buffer {"connection_id":162270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:46:16] local.INFO: IMEI packet received {"connection_id":162270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 21:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":162270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:46:16] local.INFO: TCP Data received {"connection_id":164646,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:46:16] local.INFO: Processing buffer {"connection_id":164646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:46:16] local.INFO: Packet analysis {"connection_id":164646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:46:16] local.INFO: Extracted packet for processing {"connection_id":164646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644593920001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787674496000,"timestamp_ms":1787674496000,"timestamp_seconds":1787674496,"priority":1,"record_length":96,"hex_timestamp":"000001a039b40c00"} 
[2026-08-25 21: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-25 21:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 21:46:16] 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-25 21: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-25 21: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-25 21:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644593920001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644593920001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644593920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":164646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:46:16] local.INFO: GPS data processed {"connection_id":164646,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:46:16] local.INFO: Acknowledgment sent {"connection_id":164646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:46:18] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:46:18] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:46:18] local.INFO: IMEI packet received {"connection_id":162037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":162037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:46:22] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:46:22] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:46:22] local.INFO: IMEI packet received {"connection_id":162037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":162037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:46:29] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:46:29] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:46:29] local.INFO: IMEI packet received {"connection_id":162037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":162037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:46:29] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b41f88012d79e74005e54e380006015b2e..."} 
[2026-08-25 21:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b41f88012d79e74005e54e380006015b2e..."} 
[2026-08-25 21:46:29] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b41f88012d79e74005e54e380006015b2e..."} 
[2026-08-25 21:46:29] local.INFO: Packet analysis {"connection_id":162037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:46:29] local.INFO: Extracted packet for processing {"connection_id":162037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:46:29] local.INFO: GPS Element Parsed {"raw_longitude":762963776,"raw_latitude":98913848,"longitude_deg":76.2963776,"latitude_deg":9.8913848,"altitude":6,"angle":347,"satellites":46,"speed":37,"hex_longitude":"2d79e740","hex_latitude":"05e54e38","is_valid_coordinates":true} 
[2026-08-25 21:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644669440001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124458497151598592,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786100685854328832,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787674501000,"timestamp_ms":1787674501000,"timestamp_seconds":1787674501,"priority":1,"record_length":96,"hex_timestamp":"000001a039b41f88"} 
[2026-08-25 21:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 21:46:29] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2332085599,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:29] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3011213313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:29] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3276800004,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-25 21:46:29] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3221611684,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:29] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,39,87,24,241,157,16,41,160,197,45,64,6,1,10,66,178,192,245,2,154,240,161,227,57,228,4,113,205,42,92,50,239,208],"length":431,"final_offset":561,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-08-25 21:46:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216555609730383872,"timestamp_seconds":216555609730383.88,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:46:29] 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-25 21:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644669440001,"66":10102,"39":206,"87":13824,"24":37,"16":124458497151598592,"45":8786100685854328832},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 21:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644669440001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:46:29] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 21:46:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124458497151598592,"km_value":124458497151598.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786100685854328832,"description":"Unknown IO ID 45"} 
[2026-08-25 21:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644669440001,"power":10102,"unknown_39":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8786100685854328832}} 
[2026-08-25 21:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":162037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:46:29] local.INFO: GPS data processed {"connection_id":162037,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:46:29] local.INFO: Acknowledgment sent {"connection_id":162037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:46:30] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b44698012d79df8005e573100008015c2c..."} 
[2026-08-25 21:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b44698012d79df8005e573100008015c2c..."} 
[2026-08-25 21:46:30] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b44698012d79df8005e573100008015c2c..."} 
[2026-08-25 21:46:30] local.INFO: Packet analysis {"connection_id":162037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:46:30] local.INFO: Extracted packet for processing {"connection_id":162037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:46:30] local.INFO: GPS Element Parsed {"raw_longitude":762961792,"raw_latitude":98923280,"longitude_deg":76.2961792,"latitude_deg":9.892328,"altitude":8,"angle":348,"satellites":44,"speed":38,"hex_longitude":"2d79df80","hex_latitude":"05e57310","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644672256001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124458961008066560,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784059992275564544,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787674511000,"timestamp_ms":1787674511000,"timestamp_seconds":1787674511,"priority":1,"record_length":96,"hex_timestamp":"000001a039b44698"} 
[2026-08-25 21:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 21:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1455,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:46:30] 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-25 21:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644672256001,"66":10439,"182":206,"87":13824,"24":38,"16":124458961008066560,"45":8784059992275564544},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-25 21:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644672256001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:46:30] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-25 21:46:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124458961008066560,"km_value":124458961008066.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784059992275564544,"description":"Unknown IO ID 45"} 
[2026-08-25 21:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644672256001,"power":10439,"unknown_182":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8784059992275564544}} 
[2026-08-25 21:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":162037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:46:30] local.INFO: GPS data processed {"connection_id":162037,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:46:30] local.INFO: Acknowledgment sent {"connection_id":162037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:46:44] local.INFO: TCP Data received {"connection_id":163266,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:46:44] local.INFO: Processing buffer {"connection_id":163266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:46:44] local.INFO: IMEI packet received {"connection_id":163266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":163266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:46:49] local.INFO: TCP Data received {"connection_id":163266,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:46:49] local.INFO: Processing buffer {"connection_id":163266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:46:49] local.INFO: IMEI packet received {"connection_id":163266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":163266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:46:50] local.INFO: TCP Data received {"connection_id":163266,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:46:50] local.INFO: Processing buffer {"connection_id":163266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:46:50] local.INFO: Packet analysis {"connection_id":163266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:46:50] local.INFO: Extracted packet for processing {"connection_id":163266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:46:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644593920001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787674496000,"timestamp_ms":1787674496000,"timestamp_seconds":1787674496,"priority":1,"record_length":96,"hex_timestamp":"000001a039b40c00"} 
[2026-08-25 21: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-25 21:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 21:46: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-25 21: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-25 21: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-25 21:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:46: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-25 21:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644593920001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644593920001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:46:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644593920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":163266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:46:50] local.INFO: GPS data processed {"connection_id":163266,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:46:50] local.INFO: Acknowledgment sent {"connection_id":163266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:46:55] local.INFO: TCP Data received {"connection_id":163266,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:46:55] local.INFO: Processing buffer {"connection_id":163266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:46:55] local.INFO: Packet analysis {"connection_id":163266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:46:55] local.INFO: Extracted packet for processing {"connection_id":163266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:46:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644593920001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787674496000,"timestamp_ms":1787674496000,"timestamp_seconds":1787674496,"priority":1,"record_length":96,"hex_timestamp":"000001a039b40c00"} 
[2026-08-25 21: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-25 21:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 21:46: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-25 21: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-25 21: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-25 21:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:46: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-25 21:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644593920001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644593920001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:46:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644593920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":163266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:46:55] local.INFO: GPS data processed {"connection_id":163266,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:46:55] local.INFO: Acknowledgment sent {"connection_id":163266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:47:16] local.INFO: TCP Data received {"connection_id":164647,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:47:16] local.INFO: Processing buffer {"connection_id":164647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:47:16] local.INFO: IMEI packet received {"connection_id":164647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":164647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:47:17] local.INFO: TCP Data received {"connection_id":164647,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:47:17] local.INFO: Processing buffer {"connection_id":164647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:47:17] local.INFO: IMEI packet received {"connection_id":164647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":164647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:47:22] local.INFO: TCP Data received {"connection_id":164647,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:47:22] local.INFO: Processing buffer {"connection_id":164647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:47:22] local.INFO: IMEI packet received {"connection_id":164647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":164647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:47:23] local.INFO: TCP Data received {"connection_id":164647,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b58eb8012d79bec005e67ae00004000029..."} 
[2026-08-25 21:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b58eb8012d79bec005e67ae00004000029..."} 
[2026-08-25 21:47:23] local.INFO: Processing buffer {"connection_id":164647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b58eb8012d79bec005e67ae00004000029..."} 
[2026-08-25 21:47:23] local.INFO: Packet analysis {"connection_id":164647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b5"} 
[2026-08-25 21:47:23] local.INFO: Extracted packet for processing {"connection_id":164647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b5"} 
[2026-08-25 21:47:23] local.INFO: GPS Element Parsed {"raw_longitude":762953408,"raw_latitude":98990816,"longitude_deg":76.2953408,"latitude_deg":9.8990816,"altitude":4,"angle":0,"satellites":41,"speed":25,"hex_longitude":"2d79bec0","hex_latitude":"05e67ae0","is_valid_coordinates":true} 
[2026-08-25 21:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644694784001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124462298197655552,"note":"Value kept but may cause issues"} 
[2026-08-25 21:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8773082468202442752,"note":"Value kept but may cause issues"} 
[2026-08-25 21:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787674595000,"timestamp_ms":1787674595000,"timestamp_seconds":1787674595,"priority":1,"record_length":96,"hex_timestamp":"000001a039b58eb8"} 
[2026-08-25 21:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-25 21:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1842,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:47:23] 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-25 21:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644694784001,"66":10026,"182":206,"87":13824,"24":25,"16":124462298197655552,"45":8773082468202442752},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-25 21:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644694784001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:47:23] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-25 21:47:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124462298197655552,"km_value":124462298197655.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8773082468202442752,"description":"Unknown IO ID 45"} 
[2026-08-25 21:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644694784001,"power":10026,"unknown_182":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8773082468202442752}} 
[2026-08-25 21:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":164647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:47:23] local.INFO: GPS data processed {"connection_id":164647,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:47:23] local.INFO: Acknowledgment sent {"connection_id":164647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:47:39] local.INFO: TCP Data received {"connection_id":163267,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:47:39] local.INFO: Processing buffer {"connection_id":163267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:47:39] local.INFO: IMEI packet received {"connection_id":163267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":163267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:47:44] local.INFO: TCP Data received {"connection_id":163267,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:47:44] local.INFO: Processing buffer {"connection_id":163267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:47:44] local.INFO: IMEI packet received {"connection_id":163267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":163267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:47:46] local.INFO: TCP Data received {"connection_id":163267,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:47:46] local.INFO: Processing buffer {"connection_id":163267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:47:46] local.INFO: Packet analysis {"connection_id":163267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:47:46] local.INFO: Extracted packet for processing {"connection_id":163267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644593920001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:47:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787674496000,"timestamp_ms":1787674496000,"timestamp_seconds":1787674496,"priority":1,"record_length":96,"hex_timestamp":"000001a039b40c00"} 
[2026-08-25 21:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 21:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644593920001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644593920001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644593920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":163267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:47:46] local.INFO: GPS data processed {"connection_id":163267,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:47:46] local.INFO: Acknowledgment sent {"connection_id":163267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:47:54] local.INFO: TCP Data received {"connection_id":164647,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b5c180012d79bc0005e6a0000005016326..."} 
[2026-08-25 21:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b5c180012d79bc0005e6a0000005016326..."} 
[2026-08-25 21:47:54] local.INFO: Processing buffer {"connection_id":164647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b5c180012d79bc0005e6a0000005016326..."} 
[2026-08-25 21:47:54] local.INFO: Packet analysis {"connection_id":164647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b5"} 
[2026-08-25 21:47:54] local.INFO: Extracted packet for processing {"connection_id":164647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b5"} 
[2026-08-25 21:47:54] local.INFO: GPS Element Parsed {"raw_longitude":762952704,"raw_latitude":99000320,"longitude_deg":76.2952704,"latitude_deg":9.900032,"altitude":5,"angle":355,"satellites":38,"speed":28,"hex_longitude":"2d79bc00","hex_latitude":"05e6a000","is_valid_coordinates":true} 
[2026-08-25 21:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644696320001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124462757759156224,"note":"Value kept but may cause issues"} 
[2026-08-25 21:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8772660255738486784,"note":"Value kept but may cause issues"} 
[2026-08-25 21:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787674608000,"timestamp_ms":1787674608000,"timestamp_seconds":1787674608,"priority":1,"record_length":96,"hex_timestamp":"000001a039b5c180"} 
[2026-08-25 21:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 21:47:54] 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-25 21:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:47:54] 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-25 21:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644696320001,"66":9808,"181":206,"87":13824,"24":28,"16":124462757759156224,"45":8772660255738486784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-08-25 21:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644696320001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:47:54] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-25 21:47:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124462757759156224,"km_value":124462757759156.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8772660255738486784,"description":"Unknown IO ID 45"} 
[2026-08-25 21:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644696320001,"power":9808,"unknown_181":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8772660255738486784}} 
[2026-08-25 21:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":164647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:47:54] local.INFO: GPS data processed {"connection_id":164647,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:47:54] local.INFO: Acknowledgment sent {"connection_id":164647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:48:17] local.INFO: TCP Data received {"connection_id":162272,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:48:17] local.INFO: Processing buffer {"connection_id":162272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:48:17] local.INFO: IMEI packet received {"connection_id":162272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":162272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:48:18] local.INFO: TCP Data received {"connection_id":163267,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:48:18] local.INFO: Processing buffer {"connection_id":163267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:48:18] local.INFO: Packet analysis {"connection_id":163267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:48:18] local.INFO: Extracted packet for processing {"connection_id":163267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644593920001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:48:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787674496000,"timestamp_ms":1787674496000,"timestamp_seconds":1787674496,"priority":1,"record_length":96,"hex_timestamp":"000001a039b40c00"} 
[2026-08-25 21:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 21:48:18] 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-25 21:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:48:18] 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-25 21:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644593920001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644593920001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644593920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":163267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:48:18] local.INFO: GPS data processed {"connection_id":163267,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:48:18] local.INFO: Acknowledgment sent {"connection_id":163267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:48:22] local.INFO: TCP Data received {"connection_id":162272,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:48:22] local.INFO: Processing buffer {"connection_id":162272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:48:22] local.INFO: IMEI packet received {"connection_id":162272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":162272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:48:23] local.INFO: TCP Data received {"connection_id":162272,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b5f448012d79b8c005e6c3080004016226..."} 
[2026-08-25 21:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b5f448012d79b8c005e6c3080004016226..."} 
[2026-08-25 21:48:23] local.INFO: Processing buffer {"connection_id":162272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b5f448012d79b8c005e6c3080004016226..."} 
[2026-08-25 21:48:23] local.INFO: Packet analysis {"connection_id":162272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b5"} 
[2026-08-25 21:48:23] local.INFO: Extracted packet for processing {"connection_id":162272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b5"} 
[2026-08-25 21:48:23] local.INFO: GPS Element Parsed {"raw_longitude":762951872,"raw_latitude":99009288,"longitude_deg":76.2951872,"latitude_deg":9.9009288,"altitude":4,"angle":354,"satellites":38,"speed":28,"hex_longitude":"2d79b8c0","hex_latitude":"05e6c308","is_valid_coordinates":true} 
[2026-08-25 21:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644699648001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124463195845820416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8771886199554965504,"note":"Value kept but may cause issues"} 
[2026-08-25 21:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787674621000,"timestamp_ms":1787674621000,"timestamp_seconds":1787674621,"priority":1,"record_length":96,"hex_timestamp":"000001a039b5f448"} 
[2026-08-25 21:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:48: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-25 21:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 21:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1108,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:48:23] 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-25 21:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644699648001,"66":10145,"181":206,"87":13824,"24":28,"16":124463195845820416,"45":8771886199554965504},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-08-25 21:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644699648001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:48:23] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-25 21:48:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124463195845820416,"km_value":124463195845820.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8771886199554965504,"description":"Unknown IO ID 45"} 
[2026-08-25 21:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644699648001,"power":10145,"unknown_181":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8771886199554965504}} 
[2026-08-25 21:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":162272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:48:23] local.INFO: GPS data processed {"connection_id":162272,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:48:23] local.INFO: Acknowledgment sent {"connection_id":162272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:48:39] local.INFO: TCP Data received {"connection_id":163268,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:48:39] local.INFO: Processing buffer {"connection_id":163268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:48:39] local.INFO: IMEI packet received {"connection_id":163268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":163268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:48:44] local.INFO: TCP Data received {"connection_id":163268,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:48:44] local.INFO: Processing buffer {"connection_id":163268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:48:44] local.INFO: IMEI packet received {"connection_id":163268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":163268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:48:45] local.INFO: TCP Data received {"connection_id":163268,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:48:45] local.INFO: Processing buffer {"connection_id":163268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:48:45] local.INFO: Packet analysis {"connection_id":163268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:48:45] local.INFO: Extracted packet for processing {"connection_id":163268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644593920001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:48:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787674496000,"timestamp_ms":1787674496000,"timestamp_seconds":1787674496,"priority":1,"record_length":96,"hex_timestamp":"000001a039b40c00"} 
[2026-08-25 21:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 21:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644593920001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644593920001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:48:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644593920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":163268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:48:45] local.INFO: GPS data processed {"connection_id":163268,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:48:45] local.INFO: Acknowledgment sent {"connection_id":163268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:48:55] local.INFO: TCP Data received {"connection_id":162272,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b62af8012d79b5c005e6e5900005016428..."} 
[2026-08-25 21:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b62af8012d79b5c005e6e5900005016428..."} 
[2026-08-25 21:48:55] local.INFO: Processing buffer {"connection_id":162272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b62af8012d79b5c005e6e5900005016428..."} 
[2026-08-25 21:48:55] local.INFO: Packet analysis {"connection_id":162272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b6"} 
[2026-08-25 21:48:55] local.INFO: Extracted packet for processing {"connection_id":162272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b6"} 
[2026-08-25 21:48:55] local.INFO: GPS Element Parsed {"raw_longitude":762951104,"raw_latitude":99018128,"longitude_deg":76.2951104,"latitude_deg":9.9018128,"altitude":5,"angle":356,"satellites":40,"speed":29,"hex_longitude":"2d79b5c0","hex_latitude":"05e6e590","is_valid_coordinates":true} 
[2026-08-25 21:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644702976001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124463625342550016,"note":"Value kept but may cause issues"} 
[2026-08-25 21:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770971405882951680,"note":"Value kept but may cause issues"} 
[2026-08-25 21:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787674635000,"timestamp_ms":1787674635000,"timestamp_seconds":1787674635,"priority":1,"record_length":96,"hex_timestamp":"000001a039b62af8"} 
[2026-08-25 21:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-25 21:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1842,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:48:55] 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-25 21:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644702976001,"66":9569,"181":206,"87":13824,"24":29,"16":124463625342550016,"45":8770971405882951680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-08-25 21:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644702976001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:48:55] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-25 21:48:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124463625342550016,"km_value":124463625342550.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770971405882951680,"description":"Unknown IO ID 45"} 
[2026-08-25 21:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644702976001,"power":9569,"unknown_181":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8770971405882951680}} 
[2026-08-25 21:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":162272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:48:55] local.INFO: GPS data processed {"connection_id":162272,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:48:55] local.INFO: Acknowledgment sent {"connection_id":162272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:49:16] local.INFO: TCP Data received {"connection_id":163268,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:49:16] local.INFO: Processing buffer {"connection_id":163268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:49:16] local.INFO: Packet analysis {"connection_id":163268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:49:16] local.INFO: Extracted packet for processing {"connection_id":163268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644593920001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:49:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787674496000,"timestamp_ms":1787674496000,"timestamp_seconds":1787674496,"priority":1,"record_length":96,"hex_timestamp":"000001a039b40c00"} 
[2026-08-25 21:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 21:49:16] 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-25 21:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644593920001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644593920001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644593920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":163268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:49:16] local.INFO: GPS data processed {"connection_id":163268,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:49:16] local.INFO: Acknowledgment sent {"connection_id":163268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:49:17] local.INFO: TCP Data received {"connection_id":162273,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:49:17] local.INFO: Processing buffer {"connection_id":162273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:49:17] local.INFO: IMEI packet received {"connection_id":162273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":162273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:49:22] local.INFO: TCP Data received {"connection_id":162273,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:49:22] local.INFO: Processing buffer {"connection_id":162273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:49:22] local.INFO: IMEI packet received {"connection_id":162273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":162273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:49:28] local.INFO: TCP Data received {"connection_id":162273,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b65dc0012d79b2c005e70a480004016527..."} 
[2026-08-25 21:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b65dc0012d79b2c005e70a480004016527..."} 
[2026-08-25 21:49:28] local.INFO: Processing buffer {"connection_id":162273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b65dc0012d79b2c005e70a480004016527..."} 
[2026-08-25 21:49:28] local.INFO: Packet analysis {"connection_id":162273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b6"} 
[2026-08-25 21:49:28] local.INFO: Extracted packet for processing {"connection_id":162273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b6"} 
[2026-08-25 21:49:28] local.INFO: GPS Element Parsed {"raw_longitude":762950336,"raw_latitude":99027528,"longitude_deg":76.2950336,"latitude_deg":9.9027528,"altitude":4,"angle":357,"satellites":39,"speed":28,"hex_longitude":"2d79b2c0","hex_latitude":"05e70a48","is_valid_coordinates":true} 
[2026-08-25 21:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644706560001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124464084904050688,"note":"Value kept but may cause issues"} 
[2026-08-25 21:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770126980955082752,"note":"Value kept but may cause issues"} 
[2026-08-25 21:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787674648000,"timestamp_ms":1787674648000,"timestamp_seconds":1787674648,"priority":1,"record_length":96,"hex_timestamp":"000001a039b65dc0"} 
[2026-08-25 21:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 21:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:49:28] 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-25 21:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644706560001,"66":10123,"181":206,"87":13824,"24":28,"16":124464084904050688,"45":8770126980955082752},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-08-25 21:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644706560001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:49:28] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-25 21:49:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124464084904050688,"km_value":124464084904050.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770126980955082752,"description":"Unknown IO ID 45"} 
[2026-08-25 21:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644706560001,"power":10123,"unknown_181":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8770126980955082752}} 
[2026-08-25 21:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":162273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:49:28] local.INFO: GPS data processed {"connection_id":162273,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:49:28] local.INFO: Acknowledgment sent {"connection_id":162273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:49:39] local.INFO: TCP Data received {"connection_id":163269,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:49:39] local.INFO: Processing buffer {"connection_id":163269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:49:39] local.INFO: IMEI packet received {"connection_id":163269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":163269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:49:44] local.INFO: TCP Data received {"connection_id":163269,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:49:44] local.INFO: Processing buffer {"connection_id":163269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:49:44] local.INFO: IMEI packet received {"connection_id":163269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":163269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:49:45] local.INFO: TCP Data received {"connection_id":163269,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:49:45] local.INFO: Processing buffer {"connection_id":163269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:49:45] local.INFO: Packet analysis {"connection_id":163269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:49:45] local.INFO: Extracted packet for processing {"connection_id":163269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644593920001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:49:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787674496000,"timestamp_ms":1787674496000,"timestamp_seconds":1787674496,"priority":1,"record_length":96,"hex_timestamp":"000001a039b40c00"} 
[2026-08-25 21: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-25 21:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 21:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:49:45] 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-25 21:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644593920001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644593920001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644593920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":163269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:49:45] local.INFO: GPS data processed {"connection_id":163269,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:49:45] local.INFO: Acknowledgment sent {"connection_id":163269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:50:00] local.INFO: TCP Data received {"connection_id":162273,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b874e8012d797c8005e879380004013a29..."} 
[2026-08-25 21:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b874e8012d797c8005e879380004013a29..."} 
[2026-08-25 21:50:00] local.INFO: Processing buffer {"connection_id":162273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b874e8012d797c8005e879380004013a29..."} 
[2026-08-25 21:50:00] local.INFO: Packet analysis {"connection_id":162273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:50:00] local.INFO: Extracted packet for processing {"connection_id":162273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:50:00] local.INFO: GPS Element Parsed {"raw_longitude":762936448,"raw_latitude":99121464,"longitude_deg":76.2936448,"latitude_deg":9.9121464,"altitude":4,"angle":314,"satellites":41,"speed":34,"hex_longitude":"2d797c80","hex_latitude":"05e87938","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644744192001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124468779303305216,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8755771757168787456,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787674785000,"timestamp_ms":1787674785000,"timestamp_seconds":1787674785,"priority":1,"record_length":96,"hex_timestamp":"000001a039b874e8"} 
[2026-08-25 21: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-25 21:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":39,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 21:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:50:00] 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-25 21:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644744192001,"66":10232,"30":206,"87":13824,"24":34,"16":124468779303305216,"45":8755771757168787456},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-08-25 21:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644744192001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:50:00] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-25 21:50:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124468779303305216,"km_value":124468779303305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8755771757168787456,"description":"Unknown IO ID 45"} 
[2026-08-25 21:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644744192001,"power":10232,"unknown_30":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8755771757168787456}} 
[2026-08-25 21:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":162273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:50:00] local.INFO: GPS data processed {"connection_id":162273,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:50:00] local.INFO: Acknowledgment sent {"connection_id":162273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:50:17] local.INFO: TCP Data received {"connection_id":163269,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:50:17] local.INFO: Processing buffer {"connection_id":163269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b40c00012d34c14006aa4818000300e632..."} 
[2026-08-25 21:50:17] local.INFO: Packet analysis {"connection_id":163269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:50:17] local.INFO: Extracted packet for processing {"connection_id":163269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b4"} 
[2026-08-25 21:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644593920001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787674496000,"timestamp_ms":1787674496000,"timestamp_seconds":1787674496,"priority":1,"record_length":96,"hex_timestamp":"000001a039b40c00"} 
[2026-08-25 21:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-25 21:50:17] 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-25 21:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644593920001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644593920001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644593920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":163269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:50:17] local.INFO: GPS data processed {"connection_id":163269,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:50:17] local.INFO: Acknowledgment sent {"connection_id":163269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:50:17] local.INFO: TCP Data received {"connection_id":162274,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:50:17] local.INFO: Processing buffer {"connection_id":162274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:50:17] local.INFO: IMEI packet received {"connection_id":162274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":162274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:50:22] local.INFO: TCP Data received {"connection_id":162274,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:50:22] local.INFO: Processing buffer {"connection_id":162274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:50:22] local.INFO: IMEI packet received {"connection_id":162274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":162274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:50:23] local.INFO: TCP Data received {"connection_id":162274,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b87cb8012d7977c005e87d380004012e2b..."} 
[2026-08-25 21:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b87cb8012d7977c005e87d380004012e2b..."} 
[2026-08-25 21:50:23] local.INFO: Processing buffer {"connection_id":162274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b87cb8012d7977c005e87d380004012e2b..."} 
[2026-08-25 21:50:23] local.INFO: Packet analysis {"connection_id":162274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:50:23] local.INFO: Extracted packet for processing {"connection_id":162274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:50:23] local.INFO: GPS Element Parsed {"raw_longitude":762935232,"raw_latitude":99122488,"longitude_deg":76.2935232,"latitude_deg":9.9122488,"altitude":4,"angle":302,"satellites":43,"speed":31,"hex_longitude":"2d7977c0","hex_latitude":"05e87d38","is_valid_coordinates":true} 
[2026-08-25 21:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644744960001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124468856612716544,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8754012538564851712,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787674787000,"timestamp_ms":1787674787000,"timestamp_seconds":1787674787,"priority":1,"record_length":96,"hex_timestamp":"000001a039b87cb8"} 
[2026-08-25 21:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 21:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2625,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:50:23] 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-25 21:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644744960001,"66":10232,"30":206,"87":13824,"24":31,"16":124468856612716544,"45":8754012538564851712},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-08-25 21:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644744960001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:50:23] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-25 21:50:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124468856612716544,"km_value":124468856612716.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8754012538564851712,"description":"Unknown IO ID 45"} 
[2026-08-25 21:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644744960001,"power":10232,"unknown_30":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8754012538564851712}} 
[2026-08-25 21:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":162274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:50:23] local.INFO: GPS data processed {"connection_id":162274,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:50:23] local.INFO: Acknowledgment sent {"connection_id":162274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:50:39] local.INFO: TCP Data received {"connection_id":164649,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:50:39] local.INFO: Processing buffer {"connection_id":164649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:50:39] local.INFO: IMEI packet received {"connection_id":164649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":164649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:50:44] local.INFO: TCP Data received {"connection_id":164649,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:50:44] local.INFO: Processing buffer {"connection_id":164649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:50:44] local.INFO: IMEI packet received {"connection_id":164649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":164649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:50:45] local.INFO: TCP Data received {"connection_id":164649,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:50:45] local.INFO: Processing buffer {"connection_id":164649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:50:45] local.INFO: Packet analysis {"connection_id":164649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:50:45] local.INFO: Extracted packet for processing {"connection_id":164649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644670976001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787674797000,"timestamp_ms":1787674797000,"timestamp_seconds":1787674797,"priority":1,"record_length":96,"hex_timestamp":"000001a039b8a3c8"} 
[2026-08-25 21: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-25 21:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:50:45] 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-25 21: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-25 21: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-25 21:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:50:45] 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-25 21:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644670976001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644670976001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644670976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":164649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:50:45] local.INFO: GPS data processed {"connection_id":164649,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:50:45] local.INFO: Acknowledgment sent {"connection_id":164649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:50:54] local.INFO: TCP Data received {"connection_id":162274,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b88488012d79728005e87ff8000501232b..."} 
[2026-08-25 21:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b88488012d79728005e87ff8000501232b..."} 
[2026-08-25 21:50:54] local.INFO: Processing buffer {"connection_id":162274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b88488012d79728005e87ff8000501232b..."} 
[2026-08-25 21:50:54] local.INFO: Packet analysis {"connection_id":162274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:50:54] local.INFO: Extracted packet for processing {"connection_id":162274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:50:54] local.INFO: GPS Element Parsed {"raw_longitude":762933888,"raw_latitude":99123192,"longitude_deg":76.2933888,"latitude_deg":9.9123192,"altitude":5,"angle":291,"satellites":43,"speed":31,"hex_longitude":"2d797280","hex_latitude":"05e87ff8","is_valid_coordinates":true} 
[2026-08-25 21:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644745472001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124468929627160576,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8752675532425738240,"note":"Value kept but may cause issues"} 
[2026-08-25 21:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787674789000,"timestamp_ms":1787674789000,"timestamp_seconds":1787674789,"priority":1,"record_length":96,"hex_timestamp":"000001a039b88488"} 
[2026-08-25 21:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-25 21:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2625,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:50:54] 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-25 21:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644745472001,"66":10265,"30":206,"87":13824,"24":31,"16":124468929627160576,"45":8752675532425738240},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-08-25 21:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644745472001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:50:54] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-25 21:50:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124468929627160576,"km_value":124468929627160.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8752675532425738240,"description":"Unknown IO ID 45"} 
[2026-08-25 21:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644745472001,"power":10265,"unknown_30":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8752675532425738240}} 
[2026-08-25 21:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":162274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:50:54] local.INFO: GPS data processed {"connection_id":162274,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:50:54] local.INFO: Acknowledgment sent {"connection_id":162274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:51:16] local.INFO: TCP Data received {"connection_id":164649,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:51:16] local.INFO: Processing buffer {"connection_id":164649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:51:16] local.INFO: Packet analysis {"connection_id":164649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:51:16] local.INFO: Extracted packet for processing {"connection_id":164649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644670976001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787674797000,"timestamp_ms":1787674797000,"timestamp_seconds":1787674797,"priority":1,"record_length":96,"hex_timestamp":"000001a039b8a3c8"} 
[2026-08-25 21:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644670976001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644670976001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644670976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":164649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:51:16] local.INFO: GPS data processed {"connection_id":164649,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:51:16] local.INFO: Acknowledgment sent {"connection_id":164649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:51:22] local.INFO: TCP Data received {"connection_id":164650,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:51:22] local.INFO: Processing buffer {"connection_id":164650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:51:22] local.INFO: IMEI packet received {"connection_id":164650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":164650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:51:27] local.INFO: TCP Data received {"connection_id":164650,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:51:27] local.INFO: Processing buffer {"connection_id":164650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:51:27] local.INFO: IMEI packet received {"connection_id":164650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":164650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:51:28] local.INFO: TCP Data received {"connection_id":164650,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b8af80012d794f4005e88ba00004012229..."} 
[2026-08-25 21:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b8af80012d794f4005e88ba00004012229..."} 
[2026-08-25 21:51:28] local.INFO: Processing buffer {"connection_id":164650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b8af80012d794f4005e88ba00004012229..."} 
[2026-08-25 21:51:28] local.INFO: Packet analysis {"connection_id":164650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:51:28] local.INFO: Extracted packet for processing {"connection_id":164650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:51:28] local.INFO: GPS Element Parsed {"raw_longitude":762924864,"raw_latitude":99126176,"longitude_deg":76.2924864,"latitude_deg":9.9126176,"altitude":4,"angle":290,"satellites":41,"speed":29,"hex_longitude":"2d794f40","hex_latitude":"05e88ba0","is_valid_coordinates":true} 
[2026-08-25 21:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644745984001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124469384893693952,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8751197788798187520,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787674800000,"timestamp_ms":1787674800000,"timestamp_seconds":1787674800,"priority":1,"record_length":96,"hex_timestamp":"000001a039b8af80"} 
[2026-08-25 21:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:51:28] 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-25 21:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2954393241392253440,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2499805184,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847263984,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788840,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3092621313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2148217035163118080,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1696465102,"corrected_to":0} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2147870784,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":183,"raw_value":-1709114763761467387,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":27,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2161954695101290496,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433123221506,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3626523599940091904,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.WARNING: Large IO value detected {"io_id":172,"raw_value":1662468292084993,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:28] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,30,87,24,241,157,16,51,160,124,45,192,125,4,43,10,66,116,128,121,41,105,1,240,194,227,57,232,113,205,34,42,148,136,239,40,183,27,101,90,206,186,172],"length":629,"final_offset":759,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1696465102,"validated":0}]} 
[2026-08-25 21:51:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360608112758947840,"timestamp_seconds":360608112758947.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:51:28] 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-25 21:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644745984001,"66":10113,"203":206,"87":13824,"24":29,"16":124469384893693952,"45":8751197788798187520},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644745984001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:51:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124469384893693952,"km_value":124469384893693.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8751197788798187520,"description":"Unknown IO ID 45"} 
[2026-08-25 21:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644745984001,"power":10113,"mnc":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8751197788798187520}} 
[2026-08-25 21:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":164650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:51:28] local.INFO: GPS data processed {"connection_id":164650,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:51:28] local.INFO: Acknowledgment sent {"connection_id":164650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:51:33] local.INFO: TCP Data received {"connection_id":164650,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039b8c6f0012d79428005e890a00003013629..."} 
[2026-08-25 21:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b8c6f0012d79428005e890a00003013629..."} 
[2026-08-25 21:51:33] local.INFO: Processing buffer {"connection_id":164650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b8c6f0012d79428005e890a00003013629..."} 
[2026-08-25 21:51:33] local.INFO: Packet analysis {"connection_id":164650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:51:33] local.INFO: Extracted packet for processing {"connection_id":164650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:51:33] local.INFO: GPS Element Parsed {"raw_longitude":762921600,"raw_latitude":99127456,"longitude_deg":76.29216,"latitude_deg":9.9127456,"altitude":3,"angle":310,"satellites":41,"speed":14,"hex_longitude":"2d794280","hex_latitude":"05e890a0","is_valid_coordinates":true} 
[2026-08-25 21:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644748800001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124469552397418496,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8741275795869900800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787674806000,"timestamp_ms":1787674806000,"timestamp_seconds":1787674806,"priority":1,"record_length":96,"hex_timestamp":"000001a039b8c6f0"} 
[2026-08-25 21:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:51: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-25 21:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1554,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644748800001,"66":9547,"203":206,"87":13824,"24":14,"16":124469552397418496,"45":8741275795869900800},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644748800001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:51:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124469552397418496,"km_value":124469552397418.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8741275795869900800,"description":"Unknown IO ID 45"} 
[2026-08-25 21:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644748800001,"power":9547,"mnc":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8741275795869900800}} 
[2026-08-25 21:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":164650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:51:33] local.INFO: GPS data processed {"connection_id":164650,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:51:33] local.INFO: Acknowledgment sent {"connection_id":164650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:51:39] local.INFO: TCP Data received {"connection_id":162275,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:51:39] local.INFO: Processing buffer {"connection_id":162275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:51:39] local.INFO: IMEI packet received {"connection_id":162275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":162275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:51:44] local.INFO: TCP Data received {"connection_id":162275,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:51:44] local.INFO: Processing buffer {"connection_id":162275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:51:44] local.INFO: IMEI packet received {"connection_id":162275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":162275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:51:45] local.INFO: TCP Data received {"connection_id":162275,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:51:45] local.INFO: Processing buffer {"connection_id":162275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:51:45] local.INFO: Packet analysis {"connection_id":162275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:51:45] local.INFO: Extracted packet for processing {"connection_id":162275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644670976001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787674797000,"timestamp_ms":1787674797000,"timestamp_seconds":1787674797,"priority":1,"record_length":96,"hex_timestamp":"000001a039b8a3c8"} 
[2026-08-25 21:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:51:45] 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-25 21:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:51:45] 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-25 21:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644670976001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644670976001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644670976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":162275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:51:45] local.INFO: GPS data processed {"connection_id":162275,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:51:45] local.INFO: Acknowledgment sent {"connection_id":162275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:51:49] local.INFO: TCP Data received {"connection_id":164648,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:51:49] local.INFO: Processing buffer {"connection_id":164648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:51:49] local.INFO: IMEI packet received {"connection_id":164648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 21:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":164648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:52:16] local.INFO: TCP Data received {"connection_id":162275,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:52:16] local.INFO: Processing buffer {"connection_id":162275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:52:16] local.INFO: Packet analysis {"connection_id":162275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:52:16] local.INFO: Extracted packet for processing {"connection_id":162275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644670976001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787674797000,"timestamp_ms":1787674797000,"timestamp_seconds":1787674797,"priority":1,"record_length":96,"hex_timestamp":"000001a039b8a3c8"} 
[2026-08-25 21:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644670976001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644670976001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644670976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":162275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:52:16] local.INFO: GPS data processed {"connection_id":162275,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:52:16] local.INFO: Acknowledgment sent {"connection_id":162275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:52:17] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:52:17] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:52:17] local.INFO: IMEI packet received {"connection_id":162038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":162038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:52:22] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:52:22] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:52:22] local.INFO: IMEI packet received {"connection_id":162038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":162038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:52:32] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ba2e50012d79160005e91328000401192c..."} 
[2026-08-25 21:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ba2e50012d79160005e91328000401192c..."} 
[2026-08-25 21:52:32] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ba2e50012d79160005e91328000401192c..."} 
[2026-08-25 21:52:32] local.INFO: Packet analysis {"connection_id":162038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ba"} 
[2026-08-25 21:52:32] local.INFO: Extracted packet for processing {"connection_id":162038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ba"} 
[2026-08-25 21:52:32] local.INFO: GPS Element Parsed {"raw_longitude":762910208,"raw_latitude":99160872,"longitude_deg":76.2910208,"latitude_deg":9.9160872,"altitude":4,"angle":281,"satellites":44,"speed":8,"hex_longitude":"2d791600","hex_latitude":"05e91328","is_valid_coordinates":true} 
[2026-08-25 21:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644773632001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124471278974271488,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8725372459694610432,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787674898000,"timestamp_ms":1787674898000,"timestamp_seconds":1787674898,"priority":1,"record_length":96,"hex_timestamp":"000001a039ba2e50"} 
[2026-08-25 21:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-25 21:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216563297720598528,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:32] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13522742,"corrected_to":0} 
[2026-08-25 21:52:32] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3818825610046728192,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3276721672243680400,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:32] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3111565313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:32] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-6010053685523437568,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768278734,"corrected_to":0} 
[2026-08-25 21:52:32] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3623955833,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:32] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2643614276085628933,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:32] local.WARNING: Large IO value detected {"io_id":9,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:32] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,203,87,24,241,157,16,53,160,38,45,64,18,4,44,10,66,22,192,14,196,1,240,118,227,57,232,113,205,25,71,55,42,239,40,185,9],"length":530,"final_offset":660,"validated_count":37,"validation_warnings":[{"io_id":203,"original":13522742,"validated":0},{"io_id":205,"original":768278734,"validated":0}]} 
[2026-08-25 21:52:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288565916177268736,"timestamp_seconds":288565916177268.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644773632001,"66":10254,"203":206,"87":13824,"24":8,"16":124471278974271488,"45":8725372459694610432},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644773632001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:52:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124471278974271488,"km_value":124471278974271.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8725372459694610432,"description":"Unknown IO ID 45"} 
[2026-08-25 21:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644773632001,"power":10254,"mnc":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8725372459694610432}} 
[2026-08-25 21:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":162038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:52:32] local.INFO: GPS data processed {"connection_id":162038,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:52:32] local.INFO: Acknowledgment sent {"connection_id":162038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:52:39] local.INFO: TCP Data received {"connection_id":164651,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:52:39] local.INFO: Processing buffer {"connection_id":164651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:52:39] local.INFO: IMEI packet received {"connection_id":164651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":164651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:52:44] local.INFO: TCP Data received {"connection_id":164651,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:52:44] local.INFO: Processing buffer {"connection_id":164651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:52:44] local.INFO: IMEI packet received {"connection_id":164651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":164651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:52:45] local.INFO: TCP Data received {"connection_id":164651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:52:45] local.INFO: Processing buffer {"connection_id":164651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:52:45] local.INFO: Packet analysis {"connection_id":164651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:52:45] local.INFO: Extracted packet for processing {"connection_id":164651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644670976001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787674797000,"timestamp_ms":1787674797000,"timestamp_seconds":1787674797,"priority":1,"record_length":96,"hex_timestamp":"000001a039b8a3c8"} 
[2026-08-25 21: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-25 21:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:52:45] 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-25 21: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-25 21: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-25 21:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644670976001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644670976001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644670976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":164651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:52:45] local.INFO: GPS data processed {"connection_id":164651,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:52:45] local.INFO: Acknowledgment sent {"connection_id":164651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:53:16] local.INFO: TCP Data received {"connection_id":164651,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:53:16] local.INFO: Processing buffer {"connection_id":164651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:53:16] local.INFO: Packet analysis {"connection_id":164651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:53:16] local.INFO: Extracted packet for processing {"connection_id":164651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644670976001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787674797000,"timestamp_ms":1787674797000,"timestamp_seconds":1787674797,"priority":1,"record_length":96,"hex_timestamp":"000001a039b8a3c8"} 
[2026-08-25 21:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644670976001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644670976001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644670976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":164651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:53:16] local.INFO: GPS data processed {"connection_id":164651,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:53:16] local.INFO: Acknowledgment sent {"connection_id":164651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:53:17] local.INFO: TCP Data received {"connection_id":162039,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:53:17] local.INFO: Processing buffer {"connection_id":162039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:53:17] local.INFO: IMEI packet received {"connection_id":162039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":162039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:53:22] local.INFO: TCP Data received {"connection_id":162039,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:53:22] local.INFO: Processing buffer {"connection_id":162039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:53:22] local.INFO: IMEI packet received {"connection_id":162039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":162039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:53:23] local.INFO: TCP Data received {"connection_id":162039,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ba3238012d79154005e91320000501022c..."} 
[2026-08-25 21:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ba3238012d79154005e91320000501022c..."} 
[2026-08-25 21:53:23] local.INFO: Processing buffer {"connection_id":162039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ba3238012d79154005e91320000501022c..."} 
[2026-08-25 21:53:23] local.INFO: Packet analysis {"connection_id":162039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ba"} 
[2026-08-25 21:53:23] local.INFO: Extracted packet for processing {"connection_id":162039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ba"} 
[2026-08-25 21:53:23] local.INFO: GPS Element Parsed {"raw_longitude":762910016,"raw_latitude":99160864,"longitude_deg":76.2910016,"latitude_deg":9.9160864,"altitude":5,"angle":258,"satellites":44,"speed":7,"hex_longitude":"2d791540","hex_latitude":"05e91320","is_valid_coordinates":true} 
[2026-08-25 21:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644773888001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124471287564206080,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8725161353462097920,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787674899000,"timestamp_ms":1787674899000,"timestamp_seconds":1787674899,"priority":1,"record_length":96,"hex_timestamp":"000001a039ba3238"} 
[2026-08-25 21:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:53: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-25 21:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-25 21:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288609879462576128,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:23] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13522742,"corrected_to":0} 
[2026-08-25 21:53:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:23] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3875536896,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3818825610046728192,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3276716449563454616,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:23] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3116685313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:23] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-4967470371787888128,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768278734,"corrected_to":0} 
[2026-08-25 21:53:23] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3087084921,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:23] local.WARNING: Large IO value detected {"io_id":39,"raw_value":4160802093,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:23] local.WARNING: Large IO value detected {"io_id":185,"raw_value":5176889066481205253,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:23] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,203,87,24,241,157,16,53,160,42,45,192,18,4,44,10,66,38,64,22,1,240,133,227,57,232,113,205,118,43,128,239,39,185],"length":530,"final_offset":660,"validated_count":34,"validation_warnings":[{"io_id":203,"original":13522742,"validated":0},{"io_id":205,"original":768278734,"validated":0}]} 
[2026-08-25 21:53:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288539527898202112,"timestamp_seconds":288539527898202.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:53:23] 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-25 21:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644773888001,"66":10156,"203":206,"87":13824,"24":7,"16":124471287564206080,"45":8725161353462097920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644773888001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:53:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124471287564206080,"km_value":124471287564206.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8725161353462097920,"description":"Unknown IO ID 45"} 
[2026-08-25 21:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644773888001,"power":10156,"mnc":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8725161353462097920}} 
[2026-08-25 21:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":162039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:53:23] local.INFO: GPS data processed {"connection_id":162039,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:53:23] local.INFO: Acknowledgment sent {"connection_id":162039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:53:39] local.INFO: TCP Data received {"connection_id":164652,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:53:39] local.INFO: Processing buffer {"connection_id":164652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:53:39] local.INFO: IMEI packet received {"connection_id":164652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":164652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:53:44] local.INFO: TCP Data received {"connection_id":164652,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:53:44] local.INFO: Processing buffer {"connection_id":164652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:53:44] local.INFO: IMEI packet received {"connection_id":164652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":164652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:53:45] local.INFO: TCP Data received {"connection_id":164652,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:53:45] local.INFO: Processing buffer {"connection_id":164652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:53:45] local.INFO: Packet analysis {"connection_id":164652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:53:45] local.INFO: Extracted packet for processing {"connection_id":164652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644670976001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787674797000,"timestamp_ms":1787674797000,"timestamp_seconds":1787674797,"priority":1,"record_length":96,"hex_timestamp":"000001a039b8a3c8"} 
[2026-08-25 21:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:53:45] 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-25 21:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:53:45] 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-25 21:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644670976001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644670976001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644670976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":164652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:53:45] local.INFO: GPS data processed {"connection_id":164652,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:53:45] local.INFO: Acknowledgment sent {"connection_id":164652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:53:54] local.INFO: TCP Data received {"connection_id":162039,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ba8440012d78ffc005e90d08000700fc2b..."} 
[2026-08-25 21:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ba8440012d78ffc005e90d08000700fc2b..."} 
[2026-08-25 21:53:54] local.INFO: Processing buffer {"connection_id":162039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ba8440012d78ffc005e90d08000700fc2b..."} 
[2026-08-25 21:53:54] local.INFO: Packet analysis {"connection_id":162039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ba"} 
[2026-08-25 21:53:54] local.INFO: Extracted packet for processing {"connection_id":162039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ba"} 
[2026-08-25 21:53:54] local.INFO: GPS Element Parsed {"raw_longitude":762904512,"raw_latitude":99159304,"longitude_deg":76.2904512,"latitude_deg":9.9159304,"altitude":7,"angle":252,"satellites":43,"speed":0,"hex_longitude":"2d78ffc0","hex_latitude":"05e90d08","is_valid_coordinates":true} 
[2026-08-25 21:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644774144001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124471562442113024,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8724950247229562880,"note":"Value kept but may cause issues"} 
[2026-08-25 21:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787674920000,"timestamp_ms":1787674920000,"timestamp_seconds":1787674920,"priority":1,"record_length":96,"hex_timestamp":"000001a039ba8440"} 
[2026-08-25 21:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-25 21:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1941,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:53:54] 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-25 21:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644774144001,"66":11015,"203":206,"87":13824,"24":0,"16":124471562442113024,"45":8724950247229562880},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644774144001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:53:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124471562442113024,"km_value":124471562442113.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8724950247229562880,"description":"Unknown IO ID 45"} 
[2026-08-25 21:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644774144001,"power":11015,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8724950247229562880}} 
[2026-08-25 21:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":162039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:53:54] local.INFO: GPS data processed {"connection_id":162039,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:53:54] local.INFO: Acknowledgment sent {"connection_id":162039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:54:17] local.INFO: TCP Data received {"connection_id":164652,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:54:17] local.INFO: Processing buffer {"connection_id":164652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:54:17] local.INFO: Packet analysis {"connection_id":164652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:54:17] local.INFO: Extracted packet for processing {"connection_id":164652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644670976001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787674797000,"timestamp_ms":1787674797000,"timestamp_seconds":1787674797,"priority":1,"record_length":96,"hex_timestamp":"000001a039b8a3c8"} 
[2026-08-25 21:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:54:17] 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-25 21:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644670976001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644670976001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644670976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":164652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:54:17] local.INFO: GPS data processed {"connection_id":164652,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:54:17] local.INFO: Acknowledgment sent {"connection_id":164652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:54:17] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:54:17] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:54:17] local.INFO: IMEI packet received {"connection_id":163271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":163271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:54:22] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:54:22] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:54:22] local.INFO: IMEI packet received {"connection_id":163271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":163271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:54:24] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039bad648012d78ffc005e90d08000700fc29..."} 
[2026-08-25 21:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bad648012d78ffc005e90d08000700fc29..."} 
[2026-08-25 21:54:24] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bad648012d78ffc005e90d08000700fc29..."} 
[2026-08-25 21:54:24] local.INFO: Packet analysis {"connection_id":163271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ba"} 
[2026-08-25 21:54:24] local.INFO: Extracted packet for processing {"connection_id":163271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ba"} 
[2026-08-25 21:54:24] local.INFO: GPS Element Parsed {"raw_longitude":762904512,"raw_latitude":99159304,"longitude_deg":76.2904512,"latitude_deg":9.9159304,"altitude":7,"angle":252,"satellites":41,"speed":0,"hex_longitude":"2d78ffc0","hex_latitude":"05e90d08","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644779520001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124471562442113024,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8718898535229884416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787674941000,"timestamp_ms":1787674941000,"timestamp_seconds":1787674941,"priority":1,"record_length":96,"hex_timestamp":"000001a039bad648"} 
[2026-08-25 21: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-25 21:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":43,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-25 21:54:24] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13522742,"corrected_to":0} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3221612814,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847263984,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788839,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3123085313,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768278734,"corrected_to":0} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3758173561,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2231422253,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3884073203630342144,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":37,"raw_value":1663492104913665,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3098476543630903808,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.WARNING: Large IO value detected {"io_id":118,"raw_value":57752720140818230,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:24] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,203,87,24,241,157,16,54,160,50,45,64,19,5,44,10,66,53,46,4,42,192,1,240,14,227,57,233,113,205,9,22,48,239,40,2,186,37,80,118],"length":482,"final_offset":612,"validated_count":40,"validation_warnings":[{"io_id":203,"original":13522742,"validated":0},{"io_id":205,"original":768278734,"validated":0}]} 
[2026-08-25 21:54:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504680419879288832,"timestamp_seconds":504680419879288.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 21: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-25 21:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:54:24] 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-25 21:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644779520001,"66":11080,"203":206,"87":13824,"24":0,"16":124471562442113024,"45":8718898535229884416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644779520001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:54:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124471562442113024,"km_value":124471562442113.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8718898535229884416,"description":"Unknown IO ID 45"} 
[2026-08-25 21:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644779520001,"power":11080,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8718898535229884416}} 
[2026-08-25 21:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":163271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:54:24] local.INFO: GPS data processed {"connection_id":163271,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:54:24] local.INFO: Acknowledgment sent {"connection_id":163271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:54:44] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:54:44] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:54:44] local.INFO: IMEI packet received {"connection_id":162040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":162040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:54:49] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:54:49] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:54:49] local.INFO: IMEI packet received {"connection_id":162040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":162040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:54:50] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:54:50] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:54:50] local.INFO: Packet analysis {"connection_id":162040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:54:50] local.INFO: Extracted packet for processing {"connection_id":162040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:54:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644670976001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787674797000,"timestamp_ms":1787674797000,"timestamp_seconds":1787674797,"priority":1,"record_length":96,"hex_timestamp":"000001a039b8a3c8"} 
[2026-08-25 21:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:54:50] 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-25 21:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21: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-25 21:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644670976001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644670976001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:54:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644670976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":162040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:54:50] local.INFO: GPS data processed {"connection_id":162040,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:54:50] local.INFO: Acknowledgment sent {"connection_id":162040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:54:54] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:54:54] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039b8a3c8012d34c14006aa4818000600e62f..."} 
[2026-08-25 21:54:54] local.INFO: Packet analysis {"connection_id":162040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:54:54] local.INFO: Extracted packet for processing {"connection_id":162040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039b8"} 
[2026-08-25 21:54:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644670976001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787674797000,"timestamp_ms":1787674797000,"timestamp_seconds":1787674797,"priority":1,"record_length":96,"hex_timestamp":"000001a039b8a3c8"} 
[2026-08-25 21:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 21:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:54:54] 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-25 21:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:54: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-25 21:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644670976001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644670976001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644670976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":162040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:54:54] local.INFO: GPS data processed {"connection_id":162040,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:54:54] local.INFO: Acknowledgment sent {"connection_id":162040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:54:59] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039bb2850012d78ffc005e90d08000700fc2a..."} 
[2026-08-25 21:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bb2850012d78ffc005e90d08000700fc2a..."} 
[2026-08-25 21:54:59] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bb2850012d78ffc005e90d08000700fc2a..."} 
[2026-08-25 21:54:59] local.INFO: Packet analysis {"connection_id":163271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bb"} 
[2026-08-25 21:54:59] local.INFO: Extracted packet for processing {"connection_id":163271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bb"} 
[2026-08-25 21:54:59] local.INFO: GPS Element Parsed {"raw_longitude":762904512,"raw_latitude":99159304,"longitude_deg":76.2904512,"latitude_deg":9.9159304,"altitude":7,"angle":252,"satellites":42,"speed":0,"hex_longitude":"2d78ffc0","hex_latitude":"05e90d08","is_valid_coordinates":true} 
[2026-08-25 21:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644784896001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124471562442113024,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8718898535229884416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787674962000,"timestamp_ms":1787674962000,"timestamp_seconds":1787674962,"priority":1,"record_length":96,"hex_timestamp":"000001a039bb2850"} 
[2026-08-25 21:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-25 21:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1061,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:54:59] 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-25 21:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644784896001,"66":11167,"203":206,"87":13824,"24":0,"16":124471562442113024,"45":8718898535229884416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644784896001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:54:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124471562442113024,"km_value":124471562442113.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8718898535229884416,"description":"Unknown IO ID 45"} 
[2026-08-25 21:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644784896001,"power":11167,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8718898535229884416}} 
[2026-08-25 21:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":163271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:54:59] local.INFO: GPS data processed {"connection_id":163271,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:54:59] local.INFO: Acknowledgment sent {"connection_id":163271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:55:22] local.INFO: TCP Data received {"connection_id":164653,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:55:22] local.INFO: Processing buffer {"connection_id":164653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:55:22] local.INFO: IMEI packet received {"connection_id":164653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":164653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:55:27] local.INFO: TCP Data received {"connection_id":164653,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:55:27] local.INFO: Processing buffer {"connection_id":164653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:55:27] local.INFO: IMEI packet received {"connection_id":164653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":164653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:55:28] local.INFO: TCP Data received {"connection_id":164653,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039bb7a58012d78ffc005e90d08000700fc29..."} 
[2026-08-25 21:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bb7a58012d78ffc005e90d08000700fc29..."} 
[2026-08-25 21:55:28] local.INFO: Processing buffer {"connection_id":164653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bb7a58012d78ffc005e90d08000700fc29..."} 
[2026-08-25 21:55:28] local.INFO: Packet analysis {"connection_id":164653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bb"} 
[2026-08-25 21:55:28] local.INFO: Extracted packet for processing {"connection_id":164653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bb"} 
[2026-08-25 21:55:28] local.INFO: GPS Element Parsed {"raw_longitude":762904512,"raw_latitude":99159304,"longitude_deg":76.2904512,"latitude_deg":9.9159304,"altitude":7,"angle":252,"satellites":41,"speed":0,"hex_longitude":"2d78ffc0","hex_latitude":"05e90d08","is_valid_coordinates":true} 
[2026-08-25 21:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644790272001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124471562442113024,"note":"Value kept but may cause issues"} 
[2026-08-25 21:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8718898535229884416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787674983000,"timestamp_ms":1787674983000,"timestamp_seconds":1787674983,"priority":1,"record_length":96,"hex_timestamp":"000001a039bb7a58"} 
[2026-08-25 21:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:55:28] 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-25 21:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-25 21:55:28] 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-25 21:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:55:28] 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-25 21:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644790272001,"66":10178,"203":206,"87":13824,"24":0,"16":124471562442113024,"45":8718898535229884416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644790272001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:55:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124471562442113024,"km_value":124471562442113.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8718898535229884416,"description":"Unknown IO ID 45"} 
[2026-08-25 21:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644790272001,"power":10178,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8718898535229884416}} 
[2026-08-25 21:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":164653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:55:28] local.INFO: GPS data processed {"connection_id":164653,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:55:28] local.INFO: Acknowledgment sent {"connection_id":164653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:55:35] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:55:35] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:55:35] local.INFO: IMEI packet received {"connection_id":162041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":162041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:55:39] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:55:39] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:55:39] local.INFO: IMEI packet received {"connection_id":162041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":162041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:55:44] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:55:44] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:55:44] local.INFO: IMEI packet received {"connection_id":162041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":162041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:55:44] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.15","data_length":93,"data_hex":"00000000000000518e01000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":93,"packet_hex":"00000000000000518e01000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:55:44] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:55:44] local.INFO: Packet analysis {"connection_id":162041,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a039bd"} 
[2026-08-25 21:55:44] local.INFO: Extracted packet for processing {"connection_id":162041,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a039bd"} 
[2026-08-25 21:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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":93,"current_offset":40} 
[2026-08-25 21:55:44] 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-25 21:55:44] 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-25 21:55:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:55:44] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-25 21:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162041,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-25 21:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-25 21:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-25 21:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-25 21:55:44] local.WARNING: DEBUG: No valid data to process  
[2026-08-25 21:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":162041,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-25 21:55:44] local.ERROR: GPS data processing failed {"connection_id":162041,"error":"No valid data to process"} 
[2026-08-25 21:55:44] local.INFO: Acknowledgment sent {"connection_id":162041,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-25 21:55:49] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:55:49] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:55:49] local.INFO: Packet analysis {"connection_id":162041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:55:49] local.INFO: Extracted packet for processing {"connection_id":162041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:55:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644748032001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:55:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787675098000,"timestamp_ms":1787675098000,"timestamp_seconds":1787675098,"priority":1,"record_length":96,"hex_timestamp":"000001a039bd3b90"} 
[2026-08-25 21: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-25 21:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:55:49] 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-25 21: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-25 21: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-25 21:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:55: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-25 21:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644748032001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644748032001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644748032001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":162041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:55:49] local.INFO: GPS data processed {"connection_id":162041,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:55:49] local.INFO: Acknowledgment sent {"connection_id":162041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:55:59] local.INFO: TCP Data received {"connection_id":164653,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039bbcc60012d78ffc005e90d08000700fc28..."} 
[2026-08-25 21:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bbcc60012d78ffc005e90d08000700fc28..."} 
[2026-08-25 21:55:59] local.INFO: Processing buffer {"connection_id":164653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bbcc60012d78ffc005e90d08000700fc28..."} 
[2026-08-25 21:55:59] local.INFO: Packet analysis {"connection_id":164653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bb"} 
[2026-08-25 21:55:59] local.INFO: Extracted packet for processing {"connection_id":164653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bb"} 
[2026-08-25 21:55:59] local.INFO: GPS Element Parsed {"raw_longitude":762904512,"raw_latitude":99159304,"longitude_deg":76.2904512,"latitude_deg":9.9159304,"altitude":7,"angle":252,"satellites":40,"speed":0,"hex_longitude":"2d78ffc0","hex_latitude":"05e90d08","is_valid_coordinates":true} 
[2026-08-25 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-25 21:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644795648001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124471562442113024,"note":"Value kept but may cause issues"} 
[2026-08-25 21:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8718898535229884416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787675004000,"timestamp_ms":1787675004000,"timestamp_seconds":1787675004,"priority":1,"record_length":96,"hex_timestamp":"000001a039bbcc60"} 
[2026-08-25 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-25 21:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":39,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 21:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 21:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:55:59] 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-25 21:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644795648001,"66":11200,"203":206,"87":13824,"24":0,"16":124471562442113024,"45":8718898535229884416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644795648001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:55:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124471562442113024,"km_value":124471562442113.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8718898535229884416,"description":"Unknown IO ID 45"} 
[2026-08-25 21:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644795648001,"power":11200,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8718898535229884416}} 
[2026-08-25 21:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":164653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:55:59] local.INFO: GPS data processed {"connection_id":164653,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:55:59] local.INFO: Acknowledgment sent {"connection_id":164653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:56:17] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:56:17] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:56:17] local.INFO: IMEI packet received {"connection_id":162043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":162043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:56:21] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:56:21] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:56:21] local.INFO: Packet analysis {"connection_id":162041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:56:21] local.INFO: Extracted packet for processing {"connection_id":162041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644748032001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:56:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787675098000,"timestamp_ms":1787675098000,"timestamp_seconds":1787675098,"priority":1,"record_length":96,"hex_timestamp":"000001a039bd3b90"} 
[2026-08-25 21:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:56:21] 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-25 21:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:56: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-25 21:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644748032001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644748032001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644748032001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":162041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:56:21] local.INFO: GPS data processed {"connection_id":162041,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:56:21] local.INFO: Acknowledgment sent {"connection_id":162041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:56:22] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:56:22] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:56:22] local.INFO: IMEI packet received {"connection_id":162043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":162043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:56:23] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039bc1e68012d78ffc005e90d08000700fc2a..."} 
[2026-08-25 21:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bc1e68012d78ffc005e90d08000700fc2a..."} 
[2026-08-25 21:56:23] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bc1e68012d78ffc005e90d08000700fc2a..."} 
[2026-08-25 21:56:23] local.INFO: Packet analysis {"connection_id":162043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bc"} 
[2026-08-25 21:56:23] local.INFO: Extracted packet for processing {"connection_id":162043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bc"} 
[2026-08-25 21:56:23] local.INFO: GPS Element Parsed {"raw_longitude":762904512,"raw_latitude":99159304,"longitude_deg":76.2904512,"latitude_deg":9.9159304,"altitude":7,"angle":252,"satellites":42,"speed":0,"hex_longitude":"2d78ffc0","hex_latitude":"05e90d08","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644801024001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124471562442113024,"note":"Value kept but may cause issues"} 
[2026-08-25 21:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8718898535229884416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787675025000,"timestamp_ms":1787675025000,"timestamp_seconds":1787675025,"priority":1,"record_length":96,"hex_timestamp":"000001a039bc1e68"} 
[2026-08-25 21: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-25 21:56: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-25 21: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":43,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-25 21:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2141,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:56:23] 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-25 21:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644801024001,"66":11080,"203":206,"87":13824,"24":0,"16":124471562442113024,"45":8718898535229884416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644801024001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:56:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124471562442113024,"km_value":124471562442113.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8718898535229884416,"description":"Unknown IO ID 45"} 
[2026-08-25 21:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644801024001,"power":11080,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8718898535229884416}} 
[2026-08-25 21:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":162043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:56:23] local.INFO: GPS data processed {"connection_id":162043,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:56:23] local.INFO: Acknowledgment sent {"connection_id":162043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:56:39] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:56:39] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:56:39] local.INFO: IMEI packet received {"connection_id":162044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":162044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:56:45] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:56:45] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:56:45] local.INFO: IMEI packet received {"connection_id":162044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":162044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:56:46] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:56:46] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:56:46] local.INFO: Packet analysis {"connection_id":162044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:56:46] local.INFO: Extracted packet for processing {"connection_id":162044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644748032001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:56:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787675098000,"timestamp_ms":1787675098000,"timestamp_seconds":1787675098,"priority":1,"record_length":96,"hex_timestamp":"000001a039bd3b90"} 
[2026-08-25 21:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:56:46] 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-25 21:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644748032001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644748032001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644748032001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":162044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:56:46] local.INFO: GPS data processed {"connection_id":162044,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:56:46] local.INFO: Acknowledgment sent {"connection_id":162044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:56:55] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039bc7070012d78ffc005e90d08000700fc28..."} 
[2026-08-25 21:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bc7070012d78ffc005e90d08000700fc28..."} 
[2026-08-25 21:56:55] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bc7070012d78ffc005e90d08000700fc28..."} 
[2026-08-25 21:56:55] local.INFO: Packet analysis {"connection_id":162043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bc"} 
[2026-08-25 21:56:55] local.INFO: Extracted packet for processing {"connection_id":162043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bc"} 
[2026-08-25 21:56:55] local.INFO: GPS Element Parsed {"raw_longitude":762904512,"raw_latitude":99159304,"longitude_deg":76.2904512,"latitude_deg":9.9159304,"altitude":7,"angle":252,"satellites":40,"speed":0,"hex_longitude":"2d78ffc0","hex_latitude":"05e90d08","is_valid_coordinates":true} 
[2026-08-25 21:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644806400001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124471562442113024,"note":"Value kept but may cause issues"} 
[2026-08-25 21:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8718898535229884416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787675046000,"timestamp_ms":1787675046000,"timestamp_seconds":1787675046,"priority":1,"record_length":96,"hex_timestamp":"000001a039bc7070"} 
[2026-08-25 21:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:56: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-25 21:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-25 21:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1061,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:56:55] 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-25 21:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644806400001,"66":11308,"203":206,"87":13824,"24":0,"16":124471562442113024,"45":8718898535229884416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644806400001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:56:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124471562442113024,"km_value":124471562442113.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8718898535229884416,"description":"Unknown IO ID 45"} 
[2026-08-25 21:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644806400001,"power":11308,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8718898535229884416}} 
[2026-08-25 21:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":162043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:56:55] local.INFO: GPS data processed {"connection_id":162043,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:56:55] local.INFO: Acknowledgment sent {"connection_id":162043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:57:17] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:57:17] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:57:17] local.INFO: IMEI packet received {"connection_id":162276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":162276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:57:17] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:57:17] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:57:17] local.INFO: Packet analysis {"connection_id":162044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:57:17] local.INFO: Extracted packet for processing {"connection_id":162044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644748032001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:57:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787675098000,"timestamp_ms":1787675098000,"timestamp_seconds":1787675098,"priority":1,"record_length":96,"hex_timestamp":"000001a039bd3b90"} 
[2026-08-25 21:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:57:17] 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-25 21:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:57:17] 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-25 21:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644748032001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644748032001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644748032001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":162044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:57:17] local.INFO: GPS data processed {"connection_id":162044,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:57:17] local.INFO: Acknowledgment sent {"connection_id":162044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:57:22] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:57:22] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:57:22] local.INFO: IMEI packet received {"connection_id":162276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":162276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:57:23] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039bcc278012d78ffc005e90d08000700fc25..."} 
[2026-08-25 21:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bcc278012d78ffc005e90d08000700fc25..."} 
[2026-08-25 21:57:23] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bcc278012d78ffc005e90d08000700fc25..."} 
[2026-08-25 21:57:23] local.INFO: Packet analysis {"connection_id":162276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bc"} 
[2026-08-25 21:57:23] local.INFO: Extracted packet for processing {"connection_id":162276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bc"} 
[2026-08-25 21:57:23] local.INFO: GPS Element Parsed {"raw_longitude":762904512,"raw_latitude":99159304,"longitude_deg":76.2904512,"latitude_deg":9.9159304,"altitude":7,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d78ffc0","hex_latitude":"05e90d08","is_valid_coordinates":true} 
[2026-08-25 21:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644811776001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124471562442113024,"note":"Value kept but may cause issues"} 
[2026-08-25 21:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8718898535229884416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787675067000,"timestamp_ms":1787675067000,"timestamp_seconds":1787675067,"priority":1,"record_length":96,"hex_timestamp":"000001a039bcc278"} 
[2026-08-25 21:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-25 21:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:57:23] 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-25 21:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644811776001,"66":11297,"203":206,"87":13824,"24":0,"16":124471562442113024,"45":8718898535229884416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644811776001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:57:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124471562442113024,"km_value":124471562442113.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8718898535229884416,"description":"Unknown IO ID 45"} 
[2026-08-25 21:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644811776001,"power":11297,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8718898535229884416}} 
[2026-08-25 21:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":162276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:57:23] local.INFO: GPS data processed {"connection_id":162276,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:57:23] local.INFO: Acknowledgment sent {"connection_id":162276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:57:24] local.INFO: TCP Data received {"connection_id":162042,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:57:24] local.INFO: Processing buffer {"connection_id":162042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:57:24] local.INFO: IMEI packet received {"connection_id":162042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 21:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":162042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:57:38] local.INFO: TCP Data received {"connection_id":164654,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:57:39] local.INFO: Processing buffer {"connection_id":164654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:57:39] local.INFO: IMEI packet received {"connection_id":164654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":164654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:57:44] local.INFO: TCP Data received {"connection_id":164654,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:57:44] local.INFO: Processing buffer {"connection_id":164654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:57:44] local.INFO: IMEI packet received {"connection_id":164654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":164654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:57:44] local.INFO: TCP Data received {"connection_id":164654,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:57:44] local.INFO: Processing buffer {"connection_id":164654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:57:44] local.INFO: Packet analysis {"connection_id":164654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:57:44] local.INFO: Extracted packet for processing {"connection_id":164654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644748032001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:57:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787675098000,"timestamp_ms":1787675098000,"timestamp_seconds":1787675098,"priority":1,"record_length":96,"hex_timestamp":"000001a039bd3b90"} 
[2026-08-25 21: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-25 21:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 21: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:57:44] 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-25 21: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-25 21: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-25 21:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644748032001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644748032001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:57:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644748032001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":164654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:57:44] local.INFO: GPS data processed {"connection_id":164654,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:57:44] local.INFO: Acknowledgment sent {"connection_id":164654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:57:55] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039bd1480012d78ffc005e90d08000700fc26..."} 
[2026-08-25 21:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bd1480012d78ffc005e90d08000700fc26..."} 
[2026-08-25 21:57:55] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bd1480012d78ffc005e90d08000700fc26..."} 
[2026-08-25 21:57:55] local.INFO: Packet analysis {"connection_id":162276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:57:55] local.INFO: Extracted packet for processing {"connection_id":162276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:57:55] local.INFO: GPS Element Parsed {"raw_longitude":762904512,"raw_latitude":99159304,"longitude_deg":76.2904512,"latitude_deg":9.9159304,"altitude":7,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d78ffc0","hex_latitude":"05e90d08","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644817152001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124471562442113024,"note":"Value kept but may cause issues"} 
[2026-08-25 21:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8718898535229884416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787675088000,"timestamp_ms":1787675088000,"timestamp_seconds":1787675088,"priority":1,"record_length":96,"hex_timestamp":"000001a039bd1480"} 
[2026-08-25 21: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-25 21:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-25 21:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:57:55] 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-25 21:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644817152001,"66":11406,"203":206,"87":13824,"24":0,"16":124471562442113024,"45":8718898535229884416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644817152001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:57:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124471562442113024,"km_value":124471562442113.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8718898535229884416,"description":"Unknown IO ID 45"} 
[2026-08-25 21:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644817152001,"power":11406,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8718898535229884416}} 
[2026-08-25 21:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":162276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:57:55] local.INFO: GPS data processed {"connection_id":162276,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:57:55] local.INFO: Acknowledgment sent {"connection_id":162276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:58:04] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:58:04] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 21:58:04] local.INFO: IMEI packet received {"connection_id":162045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 21:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":162045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:58:16] local.INFO: TCP Data received {"connection_id":164654,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:58:16] local.INFO: Processing buffer {"connection_id":164654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:58:16] local.INFO: Packet analysis {"connection_id":164654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:58:16] local.INFO: Extracted packet for processing {"connection_id":164654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644748032001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:58:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787675098000,"timestamp_ms":1787675098000,"timestamp_seconds":1787675098,"priority":1,"record_length":96,"hex_timestamp":"000001a039bd3b90"} 
[2026-08-25 21:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644748032001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644748032001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644748032001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":164654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:58:16] local.INFO: GPS data processed {"connection_id":164654,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:58:16] local.INFO: Acknowledgment sent {"connection_id":164654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:58:22] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:58:22] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:58:22] local.INFO: IMEI packet received {"connection_id":162046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":162046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:58:27] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:58:27] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:58:27] local.INFO: IMEI packet received {"connection_id":162046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":162046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:58:28] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039bd6688012d78ffc005e90d08000700fc26..."} 
[2026-08-25 21:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bd6688012d78ffc005e90d08000700fc26..."} 
[2026-08-25 21:58:28] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bd6688012d78ffc005e90d08000700fc26..."} 
[2026-08-25 21:58:28] local.INFO: Packet analysis {"connection_id":162046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:58:28] local.INFO: Extracted packet for processing {"connection_id":162046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:58:28] local.INFO: GPS Element Parsed {"raw_longitude":762904512,"raw_latitude":99159304,"longitude_deg":76.2904512,"latitude_deg":9.9159304,"altitude":7,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d78ffc0","hex_latitude":"05e90d08","is_valid_coordinates":true} 
[2026-08-25 21:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644822528001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124471562442113024,"note":"Value kept but may cause issues"} 
[2026-08-25 21:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8718898535229884416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787675109000,"timestamp_ms":1787675109000,"timestamp_seconds":1787675109,"priority":1,"record_length":96,"hex_timestamp":"000001a039bd6688"} 
[2026-08-25 21:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-08-25 21:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:58:28] 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-25 21:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644822528001,"66":11341,"203":206,"87":13824,"24":0,"16":124471562442113024,"45":8718898535229884416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644822528001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:58:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124471562442113024,"km_value":124471562442113.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8718898535229884416,"description":"Unknown IO ID 45"} 
[2026-08-25 21:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644822528001,"power":11341,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8718898535229884416}} 
[2026-08-25 21:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":162046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:58:28] local.INFO: GPS data processed {"connection_id":162046,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:58:28] local.INFO: Acknowledgment sent {"connection_id":162046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:58:33] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039bdb890012d78ffc005e90d08000700fc27..."} 
[2026-08-25 21:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bdb890012d78ffc005e90d08000700fc27..."} 
[2026-08-25 21:58:33] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bdb890012d78ffc005e90d08000700fc27..."} 
[2026-08-25 21:58:33] local.INFO: Packet analysis {"connection_id":162046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:58:33] local.INFO: Extracted packet for processing {"connection_id":162046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:58:33] local.INFO: GPS Element Parsed {"raw_longitude":762904512,"raw_latitude":99159304,"longitude_deg":76.2904512,"latitude_deg":9.9159304,"altitude":7,"angle":252,"satellites":39,"speed":0,"hex_longitude":"2d78ffc0","hex_latitude":"05e90d08","is_valid_coordinates":true} 
[2026-08-25 21:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644827904001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124471562442113024,"note":"Value kept but may cause issues"} 
[2026-08-25 21:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8718898535229884416,"note":"Value kept but may cause issues"} 
[2026-08-25 21:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787675130000,"timestamp_ms":1787675130000,"timestamp_seconds":1787675130,"priority":1,"record_length":96,"hex_timestamp":"000001a039bdb890"} 
[2026-08-25 21:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-25 21:58:33] 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-25 21:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644827904001,"66":11297,"203":206,"87":13824,"24":0,"16":124471562442113024,"45":8718898535229884416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,87,24,16,45]} 
[2026-08-25 21:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644827904001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:58:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124471562442113024,"km_value":124471562442113.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8718898535229884416,"description":"Unknown IO ID 45"} 
[2026-08-25 21:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644827904001,"power":11297,"mnc":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8718898535229884416}} 
[2026-08-25 21:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":162046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:58:33] local.INFO: GPS data processed {"connection_id":162046,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:58:33] local.INFO: Acknowledgment sent {"connection_id":162046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:58:38] local.INFO: TCP Data received {"connection_id":164656,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:58:38] local.INFO: Processing buffer {"connection_id":164656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:58:38] local.INFO: IMEI packet received {"connection_id":164656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":164656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:58:44] local.INFO: TCP Data received {"connection_id":164656,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:58:44] local.INFO: Processing buffer {"connection_id":164656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:58:44] local.INFO: IMEI packet received {"connection_id":164656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":164656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:58:45] local.INFO: TCP Data received {"connection_id":164656,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:58:45] local.INFO: Processing buffer {"connection_id":164656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:58:45] local.INFO: Packet analysis {"connection_id":164656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:58:45] local.INFO: Extracted packet for processing {"connection_id":164656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644748032001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:58:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787675098000,"timestamp_ms":1787675098000,"timestamp_seconds":1787675098,"priority":1,"record_length":96,"hex_timestamp":"000001a039bd3b90"} 
[2026-08-25 21:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:58:45] 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-25 21:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644748032001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644748032001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644748032001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":164656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:58:45] local.INFO: GPS data processed {"connection_id":164656,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:58:45] local.INFO: Acknowledgment sent {"connection_id":164656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:59:16] local.INFO: TCP Data received {"connection_id":164656,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:59:16] local.INFO: Processing buffer {"connection_id":164656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:59:16] local.INFO: Packet analysis {"connection_id":164656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:59:16] local.INFO: Extracted packet for processing {"connection_id":164656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644748032001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787675098000,"timestamp_ms":1787675098000,"timestamp_seconds":1787675098,"priority":1,"record_length":96,"hex_timestamp":"000001a039bd3b90"} 
[2026-08-25 21:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 21:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 21:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644748032001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644748032001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644748032001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":164656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:59:16] local.INFO: GPS data processed {"connection_id":164656,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:59:16] local.INFO: Acknowledgment sent {"connection_id":164656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:59:17] local.INFO: TCP Data received {"connection_id":163272,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:59:17] local.INFO: Processing buffer {"connection_id":163272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:59:17] local.INFO: IMEI packet received {"connection_id":163272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 21:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":163272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:59:19] local.INFO: TCP Data received {"connection_id":163272,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:59:19] local.INFO: Processing buffer {"connection_id":163272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 21:59:19] local.INFO: IMEI packet received {"connection_id":163272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 21:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":163272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:59:20] local.INFO: TCP Data received {"connection_id":163272,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c08f20012d78ce4005e8fb88000500f626..."} 
[2026-08-25 21:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c08f20012d78ce4005e8fb88000500f626..."} 
[2026-08-25 21:59:20] local.INFO: Processing buffer {"connection_id":163272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c08f20012d78ce4005e8fb88000500f626..."} 
[2026-08-25 21:59:20] local.INFO: Packet analysis {"connection_id":163272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c0"} 
[2026-08-25 21:59:20] local.INFO: Extracted packet for processing {"connection_id":163272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c0"} 
[2026-08-25 21:59:20] local.INFO: GPS Element Parsed {"raw_longitude":762891840,"raw_latitude":99154824,"longitude_deg":76.289184,"latitude_deg":9.9154824,"altitude":5,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d78ce40","hex_latitude":"05e8fb88","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644875520001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124472210982174720,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704965523881560064,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787675316000,"timestamp_ms":1787675316000,"timestamp_seconds":1787675316,"priority":1,"record_length":96,"hex_timestamp":"000001a039c08f20"} 
[2026-08-25 21: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-25 21:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21: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":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-25 21:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:59:20] 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-25 21:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644875520001,"66":11428,"132":206,"87":13824,"24":0,"16":124472210982174720,"45":8704965523881560064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 21:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644875520001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:59:20] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 21:59:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124472210982174720,"km_value":124472210982174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704965523881560064,"description":"Unknown IO ID 45"} 
[2026-08-25 21:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644875520001,"power":11428,"unknown_132":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8704965523881560064}} 
[2026-08-25 21:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":163272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:59:20] local.INFO: GPS data processed {"connection_id":163272,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:59:20] local.INFO: Acknowledgment sent {"connection_id":163272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:59:22] local.INFO: TCP Data received {"connection_id":163272,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c0e128012d78ce4005e8fb88000500f626..."} 
[2026-08-25 21:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c0e128012d78ce4005e8fb88000500f626..."} 
[2026-08-25 21:59:22] local.INFO: Processing buffer {"connection_id":163272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c0e128012d78ce4005e8fb88000500f626..."} 
[2026-08-25 21:59:22] local.INFO: Packet analysis {"connection_id":163272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c0"} 
[2026-08-25 21:59:22] local.INFO: Extracted packet for processing {"connection_id":163272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c0"} 
[2026-08-25 21:59:22] local.INFO: GPS Element Parsed {"raw_longitude":762891840,"raw_latitude":99154824,"longitude_deg":76.289184,"latitude_deg":9.9154824,"altitude":5,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d78ce40","hex_latitude":"05e8fb88","is_valid_coordinates":true} 
[2026-08-25 21: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-25 21:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644880896001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124472210982174720,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704965523881560064,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787675337000,"timestamp_ms":1787675337000,"timestamp_seconds":1787675337,"priority":1,"record_length":96,"hex_timestamp":"000001a039c0e128"} 
[2026-08-25 21: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-25 21:59: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-25 21: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":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-25 21:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21: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-25 21: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-25 21:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:59:22] 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-25 21:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644880896001,"66":11417,"132":206,"87":13824,"24":0,"16":124472210982174720,"45":8704965523881560064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 21:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644880896001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:59:22] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 21:59:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124472210982174720,"km_value":124472210982174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704965523881560064,"description":"Unknown IO ID 45"} 
[2026-08-25 21:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644880896001,"power":11417,"unknown_132":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8704965523881560064}} 
[2026-08-25 21:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":163272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:59:22] local.INFO: GPS data processed {"connection_id":163272,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:59:22] local.INFO: Acknowledgment sent {"connection_id":163272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:59:38] local.INFO: TCP Data received {"connection_id":163273,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:59:38] local.INFO: Processing buffer {"connection_id":163273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:59:38] local.INFO: IMEI packet received {"connection_id":163273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 21:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":163273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 21:59:43] local.INFO: TCP Data received {"connection_id":163273,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:59:43] local.INFO: Processing buffer {"connection_id":163273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 21:59:43] local.INFO: IMEI packet received {"connection_id":163273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 21:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":163273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 21:59:44] local.INFO: TCP Data received {"connection_id":163273,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:59:44] local.INFO: Processing buffer {"connection_id":163273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 21:59:44] local.INFO: Packet analysis {"connection_id":163273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:59:44] local.INFO: Extracted packet for processing {"connection_id":163273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 21:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 21:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644748032001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 21:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 21:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787675098000,"timestamp_ms":1787675098000,"timestamp_seconds":1787675098,"priority":1,"record_length":96,"hex_timestamp":"000001a039bd3b90"} 
[2026-08-25 21:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 21:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 21:59:44] 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-25 21:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 21:59: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-25 21:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 21:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 21:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644748032001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 21:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 21:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 21:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644748032001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 21:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 21:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644748032001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 21:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":163273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:59:44] local.INFO: GPS data processed {"connection_id":163273,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:59:44] local.INFO: Acknowledgment sent {"connection_id":163273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 21:59:54] local.INFO: TCP Data received {"connection_id":163272,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c13330012d78ce4005e8fb88000500f627..."} 
[2026-08-25 21:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c13330012d78ce4005e8fb88000500f627..."} 
[2026-08-25 21:59:54] local.INFO: Processing buffer {"connection_id":163272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c13330012d78ce4005e8fb88000500f627..."} 
[2026-08-25 21:59:54] local.INFO: Packet analysis {"connection_id":163272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 21:59:54] local.INFO: Extracted packet for processing {"connection_id":163272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 21:59:54] local.INFO: GPS Element Parsed {"raw_longitude":762891840,"raw_latitude":99154824,"longitude_deg":76.289184,"latitude_deg":9.9154824,"altitude":5,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d78ce40","hex_latitude":"05e8fb88","is_valid_coordinates":true} 
[2026-08-25 21:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 21:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644886272001,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124472210982174720,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704965523881560064,"note":"Value kept but may cause issues"} 
[2026-08-25 21:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 21:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787675358000,"timestamp_ms":1787675358000,"timestamp_seconds":1787675358,"priority":1,"record_length":96,"hex_timestamp":"000001a039c13330"} 
[2026-08-25 21:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 21:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 21:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-25 21:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 21:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 21:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 21:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 21:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 21:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 21:59:54] 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-25 21:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 21:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 21:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644886272001,"66":11428,"132":206,"87":13824,"24":0,"16":124472210982174720,"45":8704965523881560064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 21:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 21:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 21:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644886272001,"description":"Unknown IO ID 0"} 
[2026-08-25 21:59:54] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 21:59:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 21:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124472210982174720,"km_value":124472210982174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 21:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704965523881560064,"description":"Unknown IO ID 45"} 
[2026-08-25 21:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644886272001,"power":11428,"unknown_132":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8704965523881560064}} 
[2026-08-25 21:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":163272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 21:59:54] local.INFO: GPS data processed {"connection_id":163272,"processed":1,"errors":0,"total":1} 
[2026-08-25 21:59:54] local.INFO: Acknowledgment sent {"connection_id":163272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:00:15] local.INFO: TCP Data received {"connection_id":163273,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 22:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 22:00:15] local.INFO: Processing buffer {"connection_id":163273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039bd3b90012d34c14006aa4818000500e62f..."} 
[2026-08-25 22:00:15] local.INFO: Packet analysis {"connection_id":163273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 22:00:15] local.INFO: Extracted packet for processing {"connection_id":163273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039bd"} 
[2026-08-25 22:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644748032001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:00:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787675098000,"timestamp_ms":1787675098000,"timestamp_seconds":1787675098,"priority":1,"record_length":96,"hex_timestamp":"000001a039bd3b90"} 
[2026-08-25 22:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 22:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644748032001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644748032001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644748032001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":163273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:00:15] local.INFO: GPS data processed {"connection_id":163273,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:00:15] local.INFO: Acknowledgment sent {"connection_id":163273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:00:17] local.INFO: TCP Data received {"connection_id":163274,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:00:17] local.INFO: Processing buffer {"connection_id":163274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:00:17] local.INFO: IMEI packet received {"connection_id":163274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":163274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:00:23] local.INFO: TCP Data received {"connection_id":163274,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:00:23] local.INFO: Processing buffer {"connection_id":163274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:00:23] local.INFO: IMEI packet received {"connection_id":163274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":163274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:00:24] local.INFO: TCP Data received {"connection_id":163274,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c18538012d78ce4005e8fb88000500f627..."} 
[2026-08-25 22:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c18538012d78ce4005e8fb88000500f627..."} 
[2026-08-25 22:00:24] local.INFO: Processing buffer {"connection_id":163274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c18538012d78ce4005e8fb88000500f627..."} 
[2026-08-25 22:00:24] local.INFO: Packet analysis {"connection_id":163274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:00:24] local.INFO: Extracted packet for processing {"connection_id":163274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:00:24] local.INFO: GPS Element Parsed {"raw_longitude":762891840,"raw_latitude":99154824,"longitude_deg":76.289184,"latitude_deg":9.9154824,"altitude":5,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d78ce40","hex_latitude":"05e8fb88","is_valid_coordinates":true} 
[2026-08-25 22:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644891648001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124472210982174720,"note":"Value kept but may cause issues"} 
[2026-08-25 22:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704965523881560064,"note":"Value kept but may cause issues"} 
[2026-08-25 22:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787675379000,"timestamp_ms":1787675379000,"timestamp_seconds":1787675379,"priority":1,"record_length":96,"hex_timestamp":"000001a039c18538"} 
[2026-08-25 22:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:00:24] 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-25 22:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-25 22:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:00:24] 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-25 22:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644891648001,"66":11515,"132":206,"87":13824,"24":0,"16":124472210982174720,"45":8704965523881560064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 22:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644891648001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:00:24] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 22:00:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124472210982174720,"km_value":124472210982174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704965523881560064,"description":"Unknown IO ID 45"} 
[2026-08-25 22:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644891648001,"power":11515,"unknown_132":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8704965523881560064}} 
[2026-08-25 22:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":163274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:00:24] local.INFO: GPS data processed {"connection_id":163274,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:00:24] local.INFO: Acknowledgment sent {"connection_id":163274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:00:44] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:00:44] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:00:44] local.INFO: IMEI packet received {"connection_id":162047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":162047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:00:48] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:00:48] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:00:48] local.INFO: IMEI packet received {"connection_id":162047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":162047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:00:50] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:00:50] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:00:50] local.INFO: Packet analysis {"connection_id":162047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:00:50] local.INFO: Extracted packet for processing {"connection_id":162047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:00:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644825088001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:00:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787675399000,"timestamp_ms":1787675399000,"timestamp_seconds":1787675399,"priority":1,"record_length":96,"hex_timestamp":"000001a039c1d358"} 
[2026-08-25 22:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 22:00:50] 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-25 22:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:00: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-25 22:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644825088001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644825088001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:00:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644825088001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":162047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:00:50] local.INFO: GPS data processed {"connection_id":162047,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:00:50] local.INFO: Acknowledgment sent {"connection_id":162047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:00:55] local.INFO: TCP Data received {"connection_id":163274,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c1d740012d78ce4005e8fb88000500f62a..."} 
[2026-08-25 22:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c1d740012d78ce4005e8fb88000500f62a..."} 
[2026-08-25 22:00:55] local.INFO: Processing buffer {"connection_id":163274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c1d740012d78ce4005e8fb88000500f62a..."} 
[2026-08-25 22:00:55] local.INFO: Packet analysis {"connection_id":163274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:00:55] local.INFO: Extracted packet for processing {"connection_id":163274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:00:55] local.INFO: GPS Element Parsed {"raw_longitude":762891840,"raw_latitude":99154824,"longitude_deg":76.289184,"latitude_deg":9.9154824,"altitude":5,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d78ce40","hex_latitude":"05e8fb88","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644897024001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124472210982174720,"note":"Value kept but may cause issues"} 
[2026-08-25 22:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704965523881560064,"note":"Value kept but may cause issues"} 
[2026-08-25 22:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787675400000,"timestamp_ms":1787675400000,"timestamp_seconds":1787675400,"priority":1,"record_length":96,"hex_timestamp":"000001a039c1d740"} 
[2026-08-25 22: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-25 22:00: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-25 22: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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-25 22:00:55] 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-25 22: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-25 22: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-25 22:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:00:55] 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-25 22:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644897024001,"66":11297,"132":206,"87":13824,"24":0,"16":124472210982174720,"45":8704965523881560064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 22:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644897024001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:00:55] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 22:00:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124472210982174720,"km_value":124472210982174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704965523881560064,"description":"Unknown IO ID 45"} 
[2026-08-25 22:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644897024001,"power":11297,"unknown_132":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8704965523881560064}} 
[2026-08-25 22:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":163274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:00:55] local.INFO: GPS data processed {"connection_id":163274,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:00:55] local.INFO: Acknowledgment sent {"connection_id":163274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:01:18] local.INFO: TCP Data received {"connection_id":164657,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:01:18] local.INFO: Processing buffer {"connection_id":164657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:01:18] local.INFO: IMEI packet received {"connection_id":164657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":164657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:01:21] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:01:21] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:01:21] local.INFO: Packet analysis {"connection_id":162047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:01:21] local.INFO: Extracted packet for processing {"connection_id":162047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644825088001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:01:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787675399000,"timestamp_ms":1787675399000,"timestamp_seconds":1787675399,"priority":1,"record_length":96,"hex_timestamp":"000001a039c1d358"} 
[2026-08-25 22: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-25 22:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 22:01:21] 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-25 22: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-25 22: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-25 22:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:01: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-25 22:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644825088001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644825088001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644825088001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":162047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:01:21] local.INFO: GPS data processed {"connection_id":162047,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:01:21] local.INFO: Acknowledgment sent {"connection_id":162047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:01:22] local.INFO: TCP Data received {"connection_id":164657,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:01:22] local.INFO: Processing buffer {"connection_id":164657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:01:22] local.INFO: IMEI packet received {"connection_id":164657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":164657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:01:24] local.INFO: TCP Data received {"connection_id":164657,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c22948012d78ce4005e8fb88000500f62a..."} 
[2026-08-25 22:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c22948012d78ce4005e8fb88000500f62a..."} 
[2026-08-25 22:01:24] local.INFO: Processing buffer {"connection_id":164657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c22948012d78ce4005e8fb88000500f62a..."} 
[2026-08-25 22:01:24] local.INFO: Packet analysis {"connection_id":164657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c2"} 
[2026-08-25 22:01:24] local.INFO: Extracted packet for processing {"connection_id":164657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c2"} 
[2026-08-25 22:01:24] local.INFO: GPS Element Parsed {"raw_longitude":762891840,"raw_latitude":99154824,"longitude_deg":76.289184,"latitude_deg":9.9154824,"altitude":5,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d78ce40","hex_latitude":"05e8fb88","is_valid_coordinates":true} 
[2026-08-25 22:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644902400001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124472210982174720,"note":"Value kept but may cause issues"} 
[2026-08-25 22:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704965523881560064,"note":"Value kept but may cause issues"} 
[2026-08-25 22:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787675421000,"timestamp_ms":1787675421000,"timestamp_seconds":1787675421,"priority":1,"record_length":96,"hex_timestamp":"000001a039c22948"} 
[2026-08-25 22:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:01:24] 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-25 22:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-25 22:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:01:24] 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-25 22:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644902400001,"66":11178,"132":206,"87":13824,"24":0,"16":124472210982174720,"45":8704965523881560064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 22:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644902400001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:01:24] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 22:01:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124472210982174720,"km_value":124472210982174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704965523881560064,"description":"Unknown IO ID 45"} 
[2026-08-25 22:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644902400001,"power":11178,"unknown_132":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8704965523881560064}} 
[2026-08-25 22:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":164657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:01:24] local.INFO: GPS data processed {"connection_id":164657,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:01:24] local.INFO: Acknowledgment sent {"connection_id":164657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:01:38] local.INFO: TCP Data received {"connection_id":162277,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:01:38] local.INFO: Processing buffer {"connection_id":162277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:01:38] local.INFO: IMEI packet received {"connection_id":162277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":162277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:01:45] local.INFO: TCP Data received {"connection_id":162277,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:01:45] local.INFO: Processing buffer {"connection_id":162277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:01:45] local.INFO: IMEI packet received {"connection_id":162277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":162277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:01:46] local.INFO: TCP Data received {"connection_id":162277,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:01:46] local.INFO: Processing buffer {"connection_id":162277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:01:46] local.INFO: Packet analysis {"connection_id":162277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:01:46] local.INFO: Extracted packet for processing {"connection_id":162277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644825088001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:01:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787675399000,"timestamp_ms":1787675399000,"timestamp_seconds":1787675399,"priority":1,"record_length":96,"hex_timestamp":"000001a039c1d358"} 
[2026-08-25 22:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 22:01:46] 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-25 22:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:01:46] 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-25 22:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644825088001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644825088001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644825088001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":162277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:01:46] local.INFO: GPS data processed {"connection_id":162277,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:01:46] local.INFO: Acknowledgment sent {"connection_id":162277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:01:55] local.INFO: TCP Data received {"connection_id":164657,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c27b50012d78ce4005e8fb88000500f62a..."} 
[2026-08-25 22:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c27b50012d78ce4005e8fb88000500f62a..."} 
[2026-08-25 22:01:55] local.INFO: Processing buffer {"connection_id":164657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c27b50012d78ce4005e8fb88000500f62a..."} 
[2026-08-25 22:01:55] local.INFO: Packet analysis {"connection_id":164657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c2"} 
[2026-08-25 22:01:55] local.INFO: Extracted packet for processing {"connection_id":164657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c2"} 
[2026-08-25 22:01:55] local.INFO: GPS Element Parsed {"raw_longitude":762891840,"raw_latitude":99154824,"longitude_deg":76.289184,"latitude_deg":9.9154824,"altitude":5,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d78ce40","hex_latitude":"05e8fb88","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644907776001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124472210982174720,"note":"Value kept but may cause issues"} 
[2026-08-25 22:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704965523881560064,"note":"Value kept but may cause issues"} 
[2026-08-25 22:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787675442000,"timestamp_ms":1787675442000,"timestamp_seconds":1787675442,"priority":1,"record_length":96,"hex_timestamp":"000001a039c27b50"} 
[2026-08-25 22: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-25 22:01: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-25 22: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":43,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-25 22:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1943,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:01:55] 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-25 22:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644907776001,"66":11134,"132":206,"87":13824,"24":0,"16":124472210982174720,"45":8704965523881560064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 22:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644907776001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:01:55] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 22:01:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124472210982174720,"km_value":124472210982174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704965523881560064,"description":"Unknown IO ID 45"} 
[2026-08-25 22:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644907776001,"power":11134,"unknown_132":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8704965523881560064}} 
[2026-08-25 22:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":164657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:01:55] local.INFO: GPS data processed {"connection_id":164657,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:01:55] local.INFO: Acknowledgment sent {"connection_id":164657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:02:17] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:02:17] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:02:17] local.INFO: IMEI packet received {"connection_id":163277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":163277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:02:18] local.INFO: TCP Data received {"connection_id":162277,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:02:18] local.INFO: Processing buffer {"connection_id":162277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:02:18] local.INFO: Packet analysis {"connection_id":162277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:02:18] local.INFO: Extracted packet for processing {"connection_id":162277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644825088001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787675399000,"timestamp_ms":1787675399000,"timestamp_seconds":1787675399,"priority":1,"record_length":96,"hex_timestamp":"000001a039c1d358"} 
[2026-08-25 22: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-25 22:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 22:02:18] 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-25 22: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-25 22: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-25 22:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:02:18] 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-25 22:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644825088001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644825088001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644825088001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":162277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:02:18] local.INFO: GPS data processed {"connection_id":162277,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:02:18] local.INFO: Acknowledgment sent {"connection_id":162277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:02:19] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:02:19] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:02:19] local.INFO: IMEI packet received {"connection_id":163277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":163277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:02:20] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:02:20] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:02:20] local.INFO: IMEI packet received {"connection_id":163277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":163277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:02:22] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:02:22] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:02:22] local.INFO: IMEI packet received {"connection_id":163277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":163277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:02:23] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c2cd58012d78ce4005e8fb88000500f62b..."} 
[2026-08-25 22:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c2cd58012d78ce4005e8fb88000500f62b..."} 
[2026-08-25 22:02:23] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c2cd58012d78ce4005e8fb88000500f62b..."} 
[2026-08-25 22:02:23] local.INFO: Packet analysis {"connection_id":163277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c2"} 
[2026-08-25 22:02:23] local.INFO: Extracted packet for processing {"connection_id":163277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c2"} 
[2026-08-25 22:02:23] local.INFO: GPS Element Parsed {"raw_longitude":762891840,"raw_latitude":99154824,"longitude_deg":76.289184,"latitude_deg":9.9154824,"altitude":5,"angle":246,"satellites":43,"speed":0,"hex_longitude":"2d78ce40","hex_latitude":"05e8fb88","is_valid_coordinates":true} 
[2026-08-25 22:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644913152001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124472210982174720,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704965523881560064,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787675463000,"timestamp_ms":1787675463000,"timestamp_seconds":1787675463,"priority":1,"record_length":96,"hex_timestamp":"000001a039c2cd58"} 
[2026-08-25 22:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-08-25 22:02:23] 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-25 22:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:02:23] 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-25 22:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644913152001,"66":11297,"132":206,"87":13824,"24":0,"16":124472210982174720,"45":8704965523881560064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 22:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644913152001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:02:23] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 22:02:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124472210982174720,"km_value":124472210982174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704965523881560064,"description":"Unknown IO ID 45"} 
[2026-08-25 22:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644913152001,"power":11297,"unknown_132":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8704965523881560064}} 
[2026-08-25 22:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":163277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:02:23] local.INFO: GPS data processed {"connection_id":163277,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:02:23] local.INFO: Acknowledgment sent {"connection_id":163277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:02:27] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c31f60012d78ce4005e8fb88000500f62a..."} 
[2026-08-25 22:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c31f60012d78ce4005e8fb88000500f62a..."} 
[2026-08-25 22:02:27] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c31f60012d78ce4005e8fb88000500f62a..."} 
[2026-08-25 22:02:27] local.INFO: Packet analysis {"connection_id":163277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c3"} 
[2026-08-25 22:02:27] local.INFO: Extracted packet for processing {"connection_id":163277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c3"} 
[2026-08-25 22:02:27] local.INFO: GPS Element Parsed {"raw_longitude":762891840,"raw_latitude":99154824,"longitude_deg":76.289184,"latitude_deg":9.9154824,"altitude":5,"angle":246,"satellites":42,"speed":0,"hex_longitude":"2d78ce40","hex_latitude":"05e8fb88","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644918528001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124472210982174720,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704965523881560064,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787675484000,"timestamp_ms":1787675484000,"timestamp_seconds":1787675484,"priority":1,"record_length":96,"hex_timestamp":"000001a039c31f60"} 
[2026-08-25 22: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-25 22:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-25 22:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:02:27] 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-25 22:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644918528001,"66":11243,"132":206,"87":13824,"24":0,"16":124472210982174720,"45":8704965523881560064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 22:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644918528001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:02:27] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 22:02:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124472210982174720,"km_value":124472210982174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704965523881560064,"description":"Unknown IO ID 45"} 
[2026-08-25 22:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644918528001,"power":11243,"unknown_132":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8704965523881560064}} 
[2026-08-25 22:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":163277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:02:27] local.INFO: GPS data processed {"connection_id":163277,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:02:27] local.INFO: Acknowledgment sent {"connection_id":163277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:02:38] local.INFO: TCP Data received {"connection_id":162278,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:02:38] local.INFO: Processing buffer {"connection_id":162278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:02:38] local.INFO: IMEI packet received {"connection_id":162278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":162278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:02:44] local.INFO: TCP Data received {"connection_id":162278,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:02:44] local.INFO: Processing buffer {"connection_id":162278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:02:44] local.INFO: IMEI packet received {"connection_id":162278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":162278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:02:45] local.INFO: TCP Data received {"connection_id":162278,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:02:45] local.INFO: Processing buffer {"connection_id":162278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:02:45] local.INFO: Packet analysis {"connection_id":162278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:02:45] local.INFO: Extracted packet for processing {"connection_id":162278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644825088001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787675399000,"timestamp_ms":1787675399000,"timestamp_seconds":1787675399,"priority":1,"record_length":96,"hex_timestamp":"000001a039c1d358"} 
[2026-08-25 22:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 22:02:45] 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-25 22:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644825088001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644825088001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644825088001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":162278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:02:45] local.INFO: GPS data processed {"connection_id":162278,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:02:45] local.INFO: Acknowledgment sent {"connection_id":162278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:02:58] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c37168012d78ce4005e8fb88000500f62b..."} 
[2026-08-25 22:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c37168012d78ce4005e8fb88000500f62b..."} 
[2026-08-25 22:02:58] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c37168012d78ce4005e8fb88000500f62b..."} 
[2026-08-25 22:02:58] local.INFO: Packet analysis {"connection_id":163277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c3"} 
[2026-08-25 22:02:58] local.INFO: Extracted packet for processing {"connection_id":163277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c3"} 
[2026-08-25 22:02:58] local.INFO: GPS Element Parsed {"raw_longitude":762891840,"raw_latitude":99154824,"longitude_deg":76.289184,"latitude_deg":9.9154824,"altitude":5,"angle":246,"satellites":43,"speed":0,"hex_longitude":"2d78ce40","hex_latitude":"05e8fb88","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644923904001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124472210982174720,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704965523881560064,"note":"Value kept but may cause issues"} 
[2026-08-25 22:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787675505000,"timestamp_ms":1787675505000,"timestamp_seconds":1787675505,"priority":1,"record_length":96,"hex_timestamp":"000001a039c37168"} 
[2026-08-25 22: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-25 22:02:58] 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-25 22: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":43,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-25 22:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2528,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:02:58] 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-25 22:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644923904001,"66":11428,"132":206,"87":13824,"24":0,"16":124472210982174720,"45":8704965523881560064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 22:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644923904001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:02:58] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 22:02:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124472210982174720,"km_value":124472210982174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704965523881560064,"description":"Unknown IO ID 45"} 
[2026-08-25 22:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644923904001,"power":11428,"unknown_132":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8704965523881560064}} 
[2026-08-25 22:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":163277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:02:58] local.INFO: GPS data processed {"connection_id":163277,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:02:58] local.INFO: Acknowledgment sent {"connection_id":163277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:03:16] local.INFO: TCP Data received {"connection_id":162278,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:03:16] local.INFO: Processing buffer {"connection_id":162278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:03:16] local.INFO: Packet analysis {"connection_id":162278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:03:16] local.INFO: Extracted packet for processing {"connection_id":162278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644825088001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787675399000,"timestamp_ms":1787675399000,"timestamp_seconds":1787675399,"priority":1,"record_length":96,"hex_timestamp":"000001a039c1d358"} 
[2026-08-25 22:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 22:03:16] 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-25 22:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644825088001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644825088001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644825088001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":162278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:03:16] local.INFO: GPS data processed {"connection_id":162278,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:03:16] local.INFO: Acknowledgment sent {"connection_id":162278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:03:17] local.INFO: TCP Data received {"connection_id":163278,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:03:17] local.INFO: Processing buffer {"connection_id":163278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:03:17] local.INFO: IMEI packet received {"connection_id":163278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":163278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:03:19] local.INFO: TCP Data received {"connection_id":163278,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:03:19] local.INFO: Processing buffer {"connection_id":163278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:03:19] local.INFO: IMEI packet received {"connection_id":163278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":163278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:03:22] local.INFO: TCP Data received {"connection_id":163278,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:03:22] local.INFO: Processing buffer {"connection_id":163278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:03:22] local.INFO: IMEI packet received {"connection_id":163278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":163278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:03:24] local.INFO: TCP Data received {"connection_id":163278,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c3c370012d78ce4005e8fb88000500f62c..."} 
[2026-08-25 22:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c3c370012d78ce4005e8fb88000500f62c..."} 
[2026-08-25 22:03:24] local.INFO: Processing buffer {"connection_id":163278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c3c370012d78ce4005e8fb88000500f62c..."} 
[2026-08-25 22:03:24] local.INFO: Packet analysis {"connection_id":163278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c3"} 
[2026-08-25 22:03:24] local.INFO: Extracted packet for processing {"connection_id":163278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c3"} 
[2026-08-25 22:03:24] local.INFO: GPS Element Parsed {"raw_longitude":762891840,"raw_latitude":99154824,"longitude_deg":76.289184,"latitude_deg":9.9154824,"altitude":5,"angle":246,"satellites":44,"speed":0,"hex_longitude":"2d78ce40","hex_latitude":"05e8fb88","is_valid_coordinates":true} 
[2026-08-25 22:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644929280001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124472210982174720,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8704965523881560064,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787675526000,"timestamp_ms":1787675526000,"timestamp_seconds":1787675526,"priority":1,"record_length":96,"hex_timestamp":"000001a039c3c370"} 
[2026-08-25 22:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:03:24] 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-25 22:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-25 22:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:03:24] 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-25 22:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644929280001,"66":11341,"132":206,"87":13824,"24":0,"16":124472210982174720,"45":8704965523881560064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,87,24,16,45]} 
[2026-08-25 22:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644929280001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:03:24] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-25 22:03:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124472210982174720,"km_value":124472210982174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8704965523881560064,"description":"Unknown IO ID 45"} 
[2026-08-25 22:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644929280001,"power":11341,"unknown_132":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8704965523881560064}} 
[2026-08-25 22:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":163278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:03:24] local.INFO: GPS data processed {"connection_id":163278,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:03:24] local.INFO: Acknowledgment sent {"connection_id":163278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:03:24] local.INFO: TCP Data received {"connection_id":164658,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:03:24] local.INFO: Processing buffer {"connection_id":164658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:03:24] local.INFO: IMEI packet received {"connection_id":164658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 22:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":164658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:03:45] local.INFO: TCP Data received {"connection_id":163279,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:03:45] local.INFO: Processing buffer {"connection_id":163279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:03:45] local.INFO: IMEI packet received {"connection_id":163279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":163279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:03:49] local.INFO: TCP Data received {"connection_id":163279,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:03:49] local.INFO: Processing buffer {"connection_id":163279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:03:49] local.INFO: IMEI packet received {"connection_id":163279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":163279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:03:50] local.INFO: TCP Data received {"connection_id":163279,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:03:50] local.INFO: Processing buffer {"connection_id":163279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:03:50] local.INFO: Packet analysis {"connection_id":163279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:03:50] local.INFO: Extracted packet for processing {"connection_id":163279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:03:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644825088001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787675399000,"timestamp_ms":1787675399000,"timestamp_seconds":1787675399,"priority":1,"record_length":96,"hex_timestamp":"000001a039c1d358"} 
[2026-08-25 22:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 22:03:50] 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-25 22:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:03: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-25 22:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644825088001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644825088001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:03:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644825088001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":163279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:03:50] local.INFO: GPS data processed {"connection_id":163279,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:03:50] local.INFO: Acknowledgment sent {"connection_id":163279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:03:54] local.INFO: TCP Data received {"connection_id":163279,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:03:54] local.INFO: Processing buffer {"connection_id":163279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:03:54] local.INFO: Packet analysis {"connection_id":163279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:03:54] local.INFO: Extracted packet for processing {"connection_id":163279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:03:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644825088001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787675399000,"timestamp_ms":1787675399000,"timestamp_seconds":1787675399,"priority":1,"record_length":96,"hex_timestamp":"000001a039c1d358"} 
[2026-08-25 22:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 22:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 22:03:54] 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-25 22:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644825088001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644825088001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:03:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644825088001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":163279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:03:54] local.INFO: GPS data processed {"connection_id":163279,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:03:54] local.INFO: Acknowledgment sent {"connection_id":163279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:03:55] local.INFO: TCP Data received {"connection_id":163278,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c559b0012d78e88005e8a9780004007e2c..."} 
[2026-08-25 22:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c559b0012d78e88005e8a9780004007e2c..."} 
[2026-08-25 22:03:55] local.INFO: Processing buffer {"connection_id":163278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c559b0012d78e88005e8a9780004007e2c..."} 
[2026-08-25 22:03:55] local.INFO: Packet analysis {"connection_id":163278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c5"} 
[2026-08-25 22:03:55] local.INFO: Extracted packet for processing {"connection_id":163278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c5"} 
[2026-08-25 22:03:55] local.INFO: GPS Element Parsed {"raw_longitude":762898560,"raw_latitude":99133816,"longitude_deg":76.289856,"latitude_deg":9.9133816,"altitude":4,"angle":126,"satellites":44,"speed":6,"hex_longitude":"2d78e880","hex_latitude":"05e8a978","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644958208001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124473400688115712,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8711087604620302336,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787675630000,"timestamp_ms":1787675630000,"timestamp_seconds":1787675630,"priority":1,"record_length":96,"hex_timestamp":"000001a039c559b0"} 
[2026-08-25 22: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-25 22:03: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-25 22: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":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 22:03:55] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3295117313,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:55] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3793747971,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1954808014,"corrected_to":0} 
[2026-08-25 22:03:55] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2147870968,"note":"Value kept but may cause issues"} 
[2026-08-25 22:03:55] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,132,87,24,241,157,16,55,160,220,45,204,3,10,66,142,2,123,64,1,240,36,227,57,232,4,113,205,6,29,198,8,239,40],"length":431,"final_offset":561,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1954808014,"validated":0}]} 
[2026-08-25 22:03:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360464076734136320,"timestamp_seconds":360464076734136.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 22: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-25 22:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:03:55] 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-25 22:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644958208001,"66":10178,"131":206,"87":13824,"24":6,"16":124473400688115712,"45":8711087604620302336},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-08-25 22:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644958208001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:03:55] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 22:03:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124473400688115712,"km_value":124473400688115.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8711087604620302336,"description":"Unknown IO ID 45"} 
[2026-08-25 22:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644958208001,"power":10178,"unknown_131":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8711087604620302336}} 
[2026-08-25 22:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":163278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:03:55] local.INFO: GPS data processed {"connection_id":163278,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:03:55] local.INFO: Acknowledgment sent {"connection_id":163278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:04:17] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:04:17] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:04:17] local.INFO: IMEI packet received {"connection_id":162048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":162048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:04:20] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:04:20] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:04:20] local.INFO: IMEI packet received {"connection_id":162048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":162048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:04:23] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:04:23] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:04:23] local.INFO: IMEI packet received {"connection_id":162048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":162048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:04:23] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c55d98012d78e90005e8a9200004006a2c..."} 
[2026-08-25 22:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c55d98012d78e90005e8a9200004006a2c..."} 
[2026-08-25 22:04:23] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c55d98012d78e90005e8a9200004006a2c..."} 
[2026-08-25 22:04:23] local.INFO: Packet analysis {"connection_id":162048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c5"} 
[2026-08-25 22:04:23] local.INFO: Extracted packet for processing {"connection_id":162048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c5"} 
[2026-08-25 22:04:23] local.INFO: GPS Element Parsed {"raw_longitude":762898688,"raw_latitude":99133728,"longitude_deg":76.2898688,"latitude_deg":9.9133728,"altitude":4,"angle":106,"satellites":44,"speed":9,"hex_longitude":"2d78e900","hex_latitude":"05e8a920","is_valid_coordinates":true} 
[2026-08-25 22:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644961280001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124473409278050304,"note":"Value kept but may cause issues"} 
[2026-08-25 22:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712354242014836736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787675631000,"timestamp_ms":1787675631000,"timestamp_seconds":1787675631,"priority":1,"record_length":96,"hex_timestamp":"000001a039c55d98"} 
[2026-08-25 22:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:04:23] 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-25 22:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644961280001,"66":10178,"131":206,"87":13824,"24":9,"16":124473409278050304,"45":8712354242014836736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-08-25 22:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644961280001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:04:23] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 22:04:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124473409278050304,"km_value":124473409278050.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712354242014836736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644961280001,"power":10178,"unknown_131":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8712354242014836736}} 
[2026-08-25 22:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":162048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:04:24] local.INFO: GPS data processed {"connection_id":162048,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:04:24] local.INFO: Acknowledgment sent {"connection_id":162048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:04:28] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c56568012d78ec0005e8a8d80004005a2c..."} 
[2026-08-25 22:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c56568012d78ec0005e8a8d80004005a2c..."} 
[2026-08-25 22:04:28] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c56568012d78ec0005e8a8d80004005a2c..."} 
[2026-08-25 22:04:28] local.INFO: Packet analysis {"connection_id":162048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c5"} 
[2026-08-25 22:04:28] local.INFO: Extracted packet for processing {"connection_id":162048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c5"} 
[2026-08-25 22:04:28] local.INFO: GPS Element Parsed {"raw_longitude":762899456,"raw_latitude":99133656,"longitude_deg":76.2899456,"latitude_deg":9.9133656,"altitude":4,"angle":90,"satellites":44,"speed":18,"hex_longitude":"2d78ec00","hex_latitude":"05e8a8d8","is_valid_coordinates":true} 
[2026-08-25 22:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644961536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124473447932755968,"note":"Value kept but may cause issues"} 
[2026-08-25 22:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8712494979503169536,"note":"Value kept but may cause issues"} 
[2026-08-25 22:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787675633000,"timestamp_ms":1787675633000,"timestamp_seconds":1787675633,"priority":1,"record_length":96,"hex_timestamp":"000001a039c56568"} 
[2026-08-25 22:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:04:28] 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-25 22:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:04:28] 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-25 22:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644961536001,"66":10102,"131":206,"87":13824,"24":18,"16":124473447932755968,"45":8712494979503169536},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-08-25 22:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644961536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:04:28] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 22:04:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124473447932755968,"km_value":124473447932755.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8712494979503169536,"description":"Unknown IO ID 45"} 
[2026-08-25 22:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644961536001,"power":10102,"unknown_131":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8712494979503169536}} 
[2026-08-25 22:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":162048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:04:28] local.INFO: GPS data processed {"connection_id":162048,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:04:28] local.INFO: Acknowledgment sent {"connection_id":162048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:04:39] local.INFO: TCP Data received {"connection_id":162279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:04:39] local.INFO: Processing buffer {"connection_id":162279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:04:39] local.INFO: IMEI packet received {"connection_id":162279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":162279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:04:44] local.INFO: TCP Data received {"connection_id":162279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:04:44] local.INFO: Processing buffer {"connection_id":162279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:04:44] local.INFO: IMEI packet received {"connection_id":162279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":162279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:04:45] local.INFO: TCP Data received {"connection_id":162279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:04:45] local.INFO: Processing buffer {"connection_id":162279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:04:45] local.INFO: Packet analysis {"connection_id":162279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:04:45] local.INFO: Extracted packet for processing {"connection_id":162279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644825088001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:04:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787675399000,"timestamp_ms":1787675399000,"timestamp_seconds":1787675399,"priority":1,"record_length":96,"hex_timestamp":"000001a039c1d358"} 
[2026-08-25 22:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 22:04:45] 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-25 22:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644825088001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644825088001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644825088001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":162279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:04:45] local.INFO: GPS data processed {"connection_id":162279,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:04:45] local.INFO: Acknowledgment sent {"connection_id":162279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:04:59] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c58c78012d79064005e8a638000400662b..."} 
[2026-08-25 22:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c58c78012d79064005e8a638000400662b..."} 
[2026-08-25 22:04:59] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c58c78012d79064005e8a638000400662b..."} 
[2026-08-25 22:04:59] local.INFO: Packet analysis {"connection_id":162048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c5"} 
[2026-08-25 22:04:59] local.INFO: Extracted packet for processing {"connection_id":162048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c5"} 
[2026-08-25 22:04:59] local.INFO: GPS Element Parsed {"raw_longitude":762906176,"raw_latitude":99132984,"longitude_deg":76.2906176,"latitude_deg":9.9132984,"altitude":4,"angle":102,"satellites":43,"speed":29,"hex_longitude":"2d790640","hex_latitude":"05e8a638","is_valid_coordinates":true} 
[2026-08-25 22:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644962048001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124473770055303168,"note":"Value kept but may cause issues"} 
[2026-08-25 22:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713339404433283072,"note":"Value kept but may cause issues"} 
[2026-08-25 22:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787675643000,"timestamp_ms":1787675643000,"timestamp_seconds":1787675643,"priority":1,"record_length":96,"hex_timestamp":"000001a039c58c78"} 
[2026-08-25 22:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 22:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1455,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:04:59] 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-25 22:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644962048001,"66":10036,"131":206,"87":13824,"24":29,"16":124473770055303168,"45":8713339404433283072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-08-25 22:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644962048001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:04:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 22:04:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124473770055303168,"km_value":124473770055303.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713339404433283072,"description":"Unknown IO ID 45"} 
[2026-08-25 22:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644962048001,"power":10036,"unknown_131":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8713339404433283072}} 
[2026-08-25 22:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":162048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:04:59] local.INFO: GPS data processed {"connection_id":162048,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:04:59] local.INFO: Acknowledgment sent {"connection_id":162048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:05:18] local.INFO: TCP Data received {"connection_id":162279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:05:18] local.INFO: Processing buffer {"connection_id":162279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c1d358012d34c14006aa4818000200e62f..."} 
[2026-08-25 22:05:18] local.INFO: Packet analysis {"connection_id":162279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:05:18] local.INFO: Extracted packet for processing {"connection_id":162279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c1"} 
[2026-08-25 22:05:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644825088001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:05:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787675399000,"timestamp_ms":1787675399000,"timestamp_seconds":1787675399,"priority":1,"record_length":96,"hex_timestamp":"000001a039c1d358"} 
[2026-08-25 22:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 22:05:18] 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-25 22:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:05:18] local.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-25 22:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644825088001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644825088001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644825088001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":162279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:05:18] local.INFO: GPS data processed {"connection_id":162279,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:05:18] local.INFO: Acknowledgment sent {"connection_id":162279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:05:37] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:05:37] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:05:37] local.INFO: IMEI packet received {"connection_id":162049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":162049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:05:37] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:05:37] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:05:37] local.INFO: IMEI packet received {"connection_id":162050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":162050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:05:38] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:05:38] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:05:38] local.INFO: IMEI packet received {"connection_id":162049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":162049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:05:38] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:05:38] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:05:38] local.INFO: IMEI packet received {"connection_id":162050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":162050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:05:39] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c5a3e8012d79174005e8a0b0000400732b..."} 
[2026-08-25 22:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c5a3e8012d79174005e8a0b0000400732b..."} 
[2026-08-25 22:05:39] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c5a3e8012d79174005e8a0b0000400732b..."} 
[2026-08-25 22:05:39] local.INFO: Packet analysis {"connection_id":162049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c5"} 
[2026-08-25 22:05:39] local.INFO: Extracted packet for processing {"connection_id":162049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c5"} 
[2026-08-25 22:05:39] local.INFO: GPS Element Parsed {"raw_longitude":762910528,"raw_latitude":99131568,"longitude_deg":76.2910528,"latitude_deg":9.9131568,"altitude":4,"angle":115,"satellites":43,"speed":32,"hex_longitude":"2d791740","hex_latitude":"05e8a0b0","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644964608001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124473989098635264,"note":"Value kept but may cause issues"} 
[2026-08-25 22:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8720728122571765760,"note":"Value kept but may cause issues"} 
[2026-08-25 22:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787675649000,"timestamp_ms":1787675649000,"timestamp_seconds":1787675649,"priority":1,"record_length":96,"hex_timestamp":"000001a039c5a3e8"} 
[2026-08-25 22: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-25 22:05: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-25 22: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":39,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 22:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":861,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644964608001,"66":10036,"131":206,"87":13824,"24":32,"16":124473989098635264,"45":8720728122571765760},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-08-25 22:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644964608001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:05:39] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-25 22:05:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124473989098635264,"km_value":124473989098635.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8720728122571765760,"description":"Unknown IO ID 45"} 
[2026-08-25 22:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644964608001,"power":10036,"unknown_131":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8720728122571765760}} 
[2026-08-25 22:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":162049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:05:39] local.INFO: GPS data processed {"connection_id":162049,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:05:39] local.INFO: Acknowledgment sent {"connection_id":162049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:05:44] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:05:44] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:05:44] local.INFO: IMEI packet received {"connection_id":162050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":162050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:05:45] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:05:45] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:05:45] local.INFO: Packet analysis {"connection_id":162050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:05:45] local.INFO: Extracted packet for processing {"connection_id":162050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644902144001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:05:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787675700000,"timestamp_ms":1787675700000,"timestamp_seconds":1787675700,"priority":1,"record_length":96,"hex_timestamp":"000001a039c66b20"} 
[2026-08-25 22: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-25 22:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:05:45] 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-25 22: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-25 22: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-25 22:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644902144001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644902144001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644902144001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":162050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:05:45] local.INFO: GPS data processed {"connection_id":162050,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:05:45] local.INFO: Acknowledgment sent {"connection_id":162050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:06:16] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:06:16] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:06:16] local.INFO: Packet analysis {"connection_id":162050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:06:16] local.INFO: Extracted packet for processing {"connection_id":162050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644902144001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:06:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787675700000,"timestamp_ms":1787675700000,"timestamp_seconds":1787675700,"priority":1,"record_length":96,"hex_timestamp":"000001a039c66b20"} 
[2026-08-25 22:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:06:16] 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-25 22:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644902144001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644902144001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:06:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644902144001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":162050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:06:16] local.INFO: GPS data processed {"connection_id":162050,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:06:16] local.INFO: Acknowledgment sent {"connection_id":162050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:06:17] local.INFO: TCP Data received {"connection_id":163280,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:06:17] local.INFO: Processing buffer {"connection_id":163280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:06:17] local.INFO: IMEI packet received {"connection_id":163280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":163280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:06:19] local.INFO: TCP Data received {"connection_id":163280,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:06:19] local.INFO: Processing buffer {"connection_id":163280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:06:19] local.INFO: IMEI packet received {"connection_id":163280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":163280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:06:20] local.INFO: TCP Data received {"connection_id":163280,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c726a0012d79aec005e7fd80000600af2c..."} 
[2026-08-25 22:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c726a0012d79aec005e7fd80000600af2c..."} 
[2026-08-25 22:06:20] local.INFO: Processing buffer {"connection_id":163280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c726a0012d79aec005e7fd80000600af2c..."} 
[2026-08-25 22:06:20] local.INFO: Packet analysis {"connection_id":163280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c7"} 
[2026-08-25 22:06:20] local.INFO: Extracted packet for processing {"connection_id":163280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c7"} 
[2026-08-25 22:06:20] local.INFO: GPS Element Parsed {"raw_longitude":762949312,"raw_latitude":99089792,"longitude_deg":76.2949312,"latitude_deg":9.9089792,"altitude":6,"angle":175,"satellites":44,"speed":26,"hex_longitude":"2d79aec0","hex_latitude":"05e7fd80","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644990720001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124477029935480832,"note":"Value kept but may cause issues"} 
[2026-08-25 22:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8767664074927677440,"note":"Value kept but may cause issues"} 
[2026-08-25 22:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787675748000,"timestamp_ms":1787675748000,"timestamp_seconds":1787675748,"priority":1,"record_length":96,"hex_timestamp":"000001a039c726a0"} 
[2026-08-25 22: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-25 22:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22: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":39,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:06:20] 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-25 22:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644990720001,"66":10123,"202":206,"87":13824,"24":26,"16":124477029935480832,"45":8767664074927677440},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-08-25 22:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644990720001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:06:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124477029935480832,"km_value":124477029935480.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8767664074927677440,"description":"Unknown IO ID 45"} 
[2026-08-25 22:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644990720001,"power":10123,"mcc":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8767664074927677440}} 
[2026-08-25 22:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":163280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:06:21] local.INFO: GPS data processed {"connection_id":163280,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:06:21] local.INFO: Acknowledgment sent {"connection_id":163280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:06:38] local.INFO: TCP Data received {"connection_id":162280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:06:38] local.INFO: Processing buffer {"connection_id":162280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:06:38] local.INFO: IMEI packet received {"connection_id":162280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":162280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:06:43] local.INFO: TCP Data received {"connection_id":162280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:06:44] local.INFO: Processing buffer {"connection_id":162280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:06:44] local.INFO: IMEI packet received {"connection_id":162280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":162280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:06:45] local.INFO: TCP Data received {"connection_id":162280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:06:45] local.INFO: Processing buffer {"connection_id":162280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:06:45] local.INFO: Packet analysis {"connection_id":162280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:06:45] local.INFO: Extracted packet for processing {"connection_id":162280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644902144001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:06:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787675700000,"timestamp_ms":1787675700000,"timestamp_seconds":1787675700,"priority":1,"record_length":96,"hex_timestamp":"000001a039c66b20"} 
[2026-08-25 22: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-25 22:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:06:45] 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-25 22: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-25 22: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-25 22:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644902144001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644902144001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:06:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644902144001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":162280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:06:45] local.INFO: GPS data processed {"connection_id":162280,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:06:45] local.INFO: Acknowledgment sent {"connection_id":162280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:06:52] local.INFO: TCP Data received {"connection_id":163280,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c745e0012d79af0005e7ed90000500c22d..."} 
[2026-08-25 22:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c745e0012d79af0005e7ed90000500c22d..."} 
[2026-08-25 22:06:52] local.INFO: Processing buffer {"connection_id":163280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c745e0012d79af0005e7ed90000500c22d..."} 
[2026-08-25 22:06:52] local.INFO: Packet analysis {"connection_id":163280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c7"} 
[2026-08-25 22:06:52] local.INFO: Extracted packet for processing {"connection_id":163280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c7"} 
[2026-08-25 22:06:52] local.INFO: GPS Element Parsed {"raw_longitude":762949376,"raw_latitude":99085712,"longitude_deg":76.2949376,"latitude_deg":9.9085712,"altitude":5,"angle":194,"satellites":45,"speed":11,"hex_longitude":"2d79af00","hex_latitude":"05e7ed90","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644991488001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124477231798943744,"note":"Value kept but may cause issues"} 
[2026-08-25 22:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768156656136454144,"note":"Value kept but may cause issues"} 
[2026-08-25 22:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787675756000,"timestamp_ms":1787675756000,"timestamp_seconds":1787675756,"priority":1,"record_length":96,"hex_timestamp":"000001a039c745e0"} 
[2026-08-25 22: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-25 22:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22: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":39,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 22:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1644,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:06:52] 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-25 22:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644991488001,"66":10308,"202":206,"87":13824,"24":11,"16":124477231798943744,"45":8768156656136454144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-08-25 22:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644991488001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:06:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124477231798943744,"km_value":124477231798943.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768156656136454144,"description":"Unknown IO ID 45"} 
[2026-08-25 22:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644991488001,"power":10308,"mcc":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8768156656136454144}} 
[2026-08-25 22:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":163280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:06:52] local.INFO: GPS data processed {"connection_id":163280,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:06:52] local.INFO: Acknowledgment sent {"connection_id":163280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:07:17] local.INFO: TCP Data received {"connection_id":163281,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:07:17] local.INFO: Processing buffer {"connection_id":163281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:07:17] local.INFO: IMEI packet received {"connection_id":163281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":163281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:07:22] local.INFO: TCP Data received {"connection_id":162280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:07:22] local.INFO: Processing buffer {"connection_id":162280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:07:22] local.INFO: Packet analysis {"connection_id":162280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:07:22] local.INFO: Extracted packet for processing {"connection_id":162280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:07:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644902144001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:07:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787675700000,"timestamp_ms":1787675700000,"timestamp_seconds":1787675700,"priority":1,"record_length":96,"hex_timestamp":"000001a039c66b20"} 
[2026-08-25 22: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-25 22:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:07:22] 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-25 22: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-25 22: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-25 22:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644902144001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644902144001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:07:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644902144001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":162280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:07:22] local.INFO: GPS data processed {"connection_id":162280,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:07:22] local.INFO: Acknowledgment sent {"connection_id":162280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:07:22] local.INFO: TCP Data received {"connection_id":163281,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:07:22] local.INFO: Processing buffer {"connection_id":163281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:07:22] local.INFO: IMEI packet received {"connection_id":163281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":163281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:07:23] local.INFO: TCP Data received {"connection_id":163281,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c75198012d79aec005e7e8d8000500b42d..."} 
[2026-08-25 22:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c75198012d79aec005e7e8d8000500b42d..."} 
[2026-08-25 22:07:23] local.INFO: Processing buffer {"connection_id":163281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c75198012d79aec005e7e8d8000500b42d..."} 
[2026-08-25 22:07:23] local.INFO: Packet analysis {"connection_id":163281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c7"} 
[2026-08-25 22:07:23] local.INFO: Extracted packet for processing {"connection_id":163281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c7"} 
[2026-08-25 22:07:23] local.INFO: GPS Element Parsed {"raw_longitude":762949312,"raw_latitude":99084504,"longitude_deg":76.2949312,"latitude_deg":9.9084504,"altitude":5,"angle":180,"satellites":45,"speed":21,"hex_longitude":"2d79aec0","hex_latitude":"05e7e8d8","is_valid_coordinates":true} 
[2026-08-25 22:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644993536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124477291928485888,"note":"Value kept but may cause issues"} 
[2026-08-25 22:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768227024879587328,"note":"Value kept but may cause issues"} 
[2026-08-25 22:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787675759000,"timestamp_ms":1787675759000,"timestamp_seconds":1787675759,"priority":1,"record_length":96,"hex_timestamp":"000001a039c75198"} 
[2026-08-25 22:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-25 22:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1010,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:07:23] 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-25 22:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644993536001,"66":10113,"202":206,"87":13824,"24":21,"16":124477291928485888,"45":8768227024879587328},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-08-25 22:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644993536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:07:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124477291928485888,"km_value":124477291928485.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768227024879587328,"description":"Unknown IO ID 45"} 
[2026-08-25 22:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644993536001,"power":10113,"mcc":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8768227024879587328}} 
[2026-08-25 22:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":163281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:07:23] local.INFO: GPS data processed {"connection_id":163281,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:07:23] local.INFO: Acknowledgment sent {"connection_id":163281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:07:38] local.INFO: TCP Data received {"connection_id":162281,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:07:38] local.INFO: Processing buffer {"connection_id":162281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:07:38] local.INFO: IMEI packet received {"connection_id":162281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":162281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:07:46] local.INFO: TCP Data received {"connection_id":162281,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:07:46] local.INFO: Processing buffer {"connection_id":162281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:07:46] local.INFO: IMEI packet received {"connection_id":162281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":162281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:07:47] local.INFO: TCP Data received {"connection_id":162281,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:07:47] local.INFO: Processing buffer {"connection_id":162281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:07:47] local.INFO: Packet analysis {"connection_id":162281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:07:47] local.INFO: Extracted packet for processing {"connection_id":162281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644902144001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:07:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787675700000,"timestamp_ms":1787675700000,"timestamp_seconds":1787675700,"priority":1,"record_length":96,"hex_timestamp":"000001a039c66b20"} 
[2026-08-25 22:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:07:47] 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-25 22:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644902144001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644902144001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644902144001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":162281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:07:47] local.INFO: GPS data processed {"connection_id":162281,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:07:47] local.INFO: Acknowledgment sent {"connection_id":162281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:07:55] local.INFO: TCP Data received {"connection_id":163281,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c76138012d79b00005e7dfd0000400a82b..."} 
[2026-08-25 22:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c76138012d79b00005e7dfd0000400a82b..."} 
[2026-08-25 22:07:55] local.INFO: Processing buffer {"connection_id":163281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c76138012d79b00005e7dfd0000400a82b..."} 
[2026-08-25 22:07:55] local.INFO: Packet analysis {"connection_id":163281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c7"} 
[2026-08-25 22:07:55] local.INFO: Extracted packet for processing {"connection_id":163281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c7"} 
[2026-08-25 22:07:55] local.INFO: GPS Element Parsed {"raw_longitude":762949632,"raw_latitude":99082192,"longitude_deg":76.2949632,"latitude_deg":9.9082192,"altitude":4,"angle":168,"satellites":43,"speed":26,"hex_longitude":"2d79b000","hex_latitude":"05e7dfd0","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644994304001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124477403597635584,"note":"Value kept but may cause issues"} 
[2026-08-25 22:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768156656135100416,"note":"Value kept but may cause issues"} 
[2026-08-25 22:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787675763000,"timestamp_ms":1787675763000,"timestamp_seconds":1787675763,"priority":1,"record_length":96,"hex_timestamp":"000001a039c76138"} 
[2026-08-25 22: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-25 22:07: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-25 22: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":39,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-25 22:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1554,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:07:55] 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-25 22:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644994304001,"66":9852,"202":206,"87":13824,"24":26,"16":124477403597635584,"45":8768156656135100416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,87,24,16,45]} 
[2026-08-25 22:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644994304001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:07:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124477403597635584,"km_value":124477403597635.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768156656135100416,"description":"Unknown IO ID 45"} 
[2026-08-25 22:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644994304001,"power":9852,"mcc":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8768156656135100416}} 
[2026-08-25 22:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":163281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:07:55] local.INFO: GPS data processed {"connection_id":163281,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:07:55] local.INFO: Acknowledgment sent {"connection_id":163281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:08:17] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:08:17] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:08:17] local.INFO: IMEI packet received {"connection_id":162051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":162051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:08:18] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:08:18] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:08:18] local.INFO: IMEI packet received {"connection_id":162051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":162051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:08:19] local.INFO: TCP Data received {"connection_id":162281,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:08:19] local.INFO: Processing buffer {"connection_id":162281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:08:19] local.INFO: Packet analysis {"connection_id":162281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:08:19] local.INFO: Extracted packet for processing {"connection_id":162281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:08:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 22:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644902144001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787675700000,"timestamp_ms":1787675700000,"timestamp_seconds":1787675700,"priority":1,"record_length":96,"hex_timestamp":"000001a039c66b20"} 
[2026-08-25 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-25 22:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:08: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-25 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-25 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-25 22:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644902144001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644902144001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:08:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644902144001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":162281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:08:19] local.INFO: GPS data processed {"connection_id":162281,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:08:19] local.INFO: Acknowledgment sent {"connection_id":162281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:08:22] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:08:22] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:08:22] local.INFO: IMEI packet received {"connection_id":162051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":162051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:08:23] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c79bd0012d79b84005e7bbc8000200ac2a..."} 
[2026-08-25 22:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c79bd0012d79b84005e7bbc8000200ac2a..."} 
[2026-08-25 22:08:23] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c79bd0012d79b84005e7bbc8000200ac2a..."} 
[2026-08-25 22:08:23] local.INFO: Packet analysis {"connection_id":162051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c7"} 
[2026-08-25 22:08:23] local.INFO: Extracted packet for processing {"connection_id":162051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c7"} 
[2026-08-25 22:08:23] local.INFO: GPS Element Parsed {"raw_longitude":762951744,"raw_latitude":99072968,"longitude_deg":76.2951744,"latitude_deg":9.9072968,"altitude":2,"angle":172,"satellites":42,"speed":26,"hex_longitude":"2d79b840","hex_latitude":"05e7bbc8","is_valid_coordinates":true} 
[2026-08-25 22:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644995328001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124477863159136256,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8768508499855396864,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787675778000,"timestamp_ms":1787675778000,"timestamp_seconds":1787675778,"priority":1,"record_length":96,"hex_timestamp":"000001a039c79bd0"} 
[2026-08-25 22:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-25 22:08:23] 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-25 22:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:08:23] 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-25 22:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644995328001,"66":10102,"30":206,"87":13824,"24":26,"16":124477863159136256,"45":8768508499855396864},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-08-25 22:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644995328001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:08:23] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-25 22:08:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124477863159136256,"km_value":124477863159136.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8768508499855396864,"description":"Unknown IO ID 45"} 
[2026-08-25 22:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644995328001,"power":10102,"unknown_30":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8768508499855396864}} 
[2026-08-25 22:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":162051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:08:23] local.INFO: GPS data processed {"connection_id":162051,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:08:23] local.INFO: Acknowledgment sent {"connection_id":162051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:08:44] local.INFO: TCP Data received {"connection_id":164660,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:08:44] local.INFO: Processing buffer {"connection_id":164660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:08:44] local.INFO: IMEI packet received {"connection_id":164660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":164660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:08:49] local.INFO: TCP Data received {"connection_id":164660,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:08:49] local.INFO: Processing buffer {"connection_id":164660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:08:49] local.INFO: IMEI packet received {"connection_id":164660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":164660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:08:50] local.INFO: TCP Data received {"connection_id":164660,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:08:50] local.INFO: Processing buffer {"connection_id":164660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:08:50] local.INFO: Packet analysis {"connection_id":164660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:08:50] local.INFO: Extracted packet for processing {"connection_id":164660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:08:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644902144001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787675700000,"timestamp_ms":1787675700000,"timestamp_seconds":1787675700,"priority":1,"record_length":96,"hex_timestamp":"000001a039c66b20"} 
[2026-08-25 22: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-25 22:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:08:50] 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-25 22: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-25 22: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-25 22:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:08: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-25 22:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644902144001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644902144001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:08:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644902144001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":164660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:08:50] local.INFO: GPS data processed {"connection_id":164660,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:08:50] local.INFO: Acknowledgment sent {"connection_id":164660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:08:54] local.INFO: TCP Data received {"connection_id":164660,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:08:54] local.INFO: Processing buffer {"connection_id":164660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:08:54] local.INFO: Packet analysis {"connection_id":164660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:08:54] local.INFO: Extracted packet for processing {"connection_id":164660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:08:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644902144001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787675700000,"timestamp_ms":1787675700000,"timestamp_seconds":1787675700,"priority":1,"record_length":96,"hex_timestamp":"000001a039c66b20"} 
[2026-08-25 22: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-25 22:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:08:54] 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-25 22: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-25 22: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-25 22:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:08:54] 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-25 22:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644902144001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644902144001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:08:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644902144001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":164660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:08:54] local.INFO: GPS data processed {"connection_id":164660,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:08:54] local.INFO: Acknowledgment sent {"connection_id":164660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:08:54] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c7ce98012d79b98005e798c8000200b42b..."} 
[2026-08-25 22:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c7ce98012d79b98005e798c8000200b42b..."} 
[2026-08-25 22:08:54] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c7ce98012d79b98005e798c8000200b42b..."} 
[2026-08-25 22:08:54] local.INFO: Packet analysis {"connection_id":162051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c7"} 
[2026-08-25 22:08:54] local.INFO: Extracted packet for processing {"connection_id":162051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c7"} 
[2026-08-25 22:08:54] local.INFO: GPS Element Parsed {"raw_longitude":762952064,"raw_latitude":99064008,"longitude_deg":76.2952064,"latitude_deg":9.9064008,"altitude":2,"angle":180,"satellites":43,"speed":29,"hex_longitude":"2d79b980","hex_latitude":"05e798c8","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644999168001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124478296950833152,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8770830668410898432,"note":"Value kept but may cause issues"} 
[2026-08-25 22:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787675791000,"timestamp_ms":1787675791000,"timestamp_seconds":1787675791,"priority":1,"record_length":96,"hex_timestamp":"000001a039c7ce98"} 
[2026-08-25 22: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-25 22:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22: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":39,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 22:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1455,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:08:54] 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-25 22:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644999168001,"66":9797,"30":206,"87":13824,"24":29,"16":124478296950833152,"45":8770830668410898432},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-08-25 22:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644999168001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:08:54] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-25 22:08:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124478296950833152,"km_value":124478296950833.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8770830668410898432,"description":"Unknown IO ID 45"} 
[2026-08-25 22:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644999168001,"power":9797,"unknown_30":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8770830668410898432}} 
[2026-08-25 22:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":162051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:08:54] local.INFO: GPS data processed {"connection_id":162051,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:08:54] local.INFO: Acknowledgment sent {"connection_id":162051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:09:00] local.INFO: TCP Data received {"connection_id":164659,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:09:00] local.INFO: Processing buffer {"connection_id":164659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:09:00] local.INFO: IMEI packet received {"connection_id":164659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 22:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":164659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:09:17] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:09:17] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:09:17] local.INFO: IMEI packet received {"connection_id":162052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":162052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:09:22] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:09:22] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:09:22] local.INFO: IMEI packet received {"connection_id":162052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":162052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:09:24] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039c9e9a8012d79d10005e621c0000400a929..."} 
[2026-08-25 22:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c9e9a8012d79d10005e621c0000400a929..."} 
[2026-08-25 22:09:24] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c9e9a8012d79d10005e621c0000400a929..."} 
[2026-08-25 22:09:24] local.INFO: Packet analysis {"connection_id":162052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c9"} 
[2026-08-25 22:09:24] local.INFO: Extracted packet for processing {"connection_id":162052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c9"} 
[2026-08-25 22:09:24] local.INFO: GPS Element Parsed {"raw_longitude":762958080,"raw_latitude":98968000,"longitude_deg":76.295808,"latitude_deg":9.8968,"altitude":4,"angle":169,"satellites":41,"speed":35,"hex_longitude":"2d79d100","hex_latitude":"05e621c0","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645034496001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124482987055120384,"note":"Value kept but may cause issues"} 
[2026-08-25 22:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8775123161781166080,"note":"Value kept but may cause issues"} 
[2026-08-25 22:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787675929000,"timestamp_ms":1787675929000,"timestamp_seconds":1787675929,"priority":1,"record_length":96,"hex_timestamp":"000001a039c9e9a8"} 
[2026-08-25 22: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-25 22:09:24] 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-25 22: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":39,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1356,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:09:24] 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-25 22:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645034496001,"66":10102,"181":206,"87":13824,"24":35,"16":124482987055120384,"45":8775123161781166080},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-08-25 22:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645034496001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:09:24] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-25 22:09:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124482987055120384,"km_value":124482987055120.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8775123161781166080,"description":"Unknown IO ID 45"} 
[2026-08-25 22:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645034496001,"power":10102,"unknown_181":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8775123161781166080}} 
[2026-08-25 22:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":162052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:09:24] local.INFO: GPS data processed {"connection_id":162052,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:09:24] local.INFO: Acknowledgment sent {"connection_id":162052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:09:39] local.INFO: TCP Data received {"connection_id":164661,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:09:39] local.INFO: Processing buffer {"connection_id":164661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:09:39] local.INFO: IMEI packet received {"connection_id":164661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":164661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:09:43] local.INFO: TCP Data received {"connection_id":164661,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:09:43] local.INFO: Processing buffer {"connection_id":164661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:09:43] local.INFO: IMEI packet received {"connection_id":164661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":164661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:09:44] local.INFO: TCP Data received {"connection_id":164661,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:09:44] local.INFO: Processing buffer {"connection_id":164661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:09:44] local.INFO: Packet analysis {"connection_id":164661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:09:44] local.INFO: Extracted packet for processing {"connection_id":164661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644902144001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:09:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787675700000,"timestamp_ms":1787675700000,"timestamp_seconds":1787675700,"priority":1,"record_length":96,"hex_timestamp":"000001a039c66b20"} 
[2026-08-25 22:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:09:44] 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-25 22:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644902144001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644902144001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644902144001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":164661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:09:44] local.INFO: GPS data processed {"connection_id":164661,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:09:44] local.INFO: Acknowledgment sent {"connection_id":164661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:10:05] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ca10b8012d79d88005e5fed8000300a522..."} 
[2026-08-25 22:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ca10b8012d79d88005e5fed8000300a522..."} 
[2026-08-25 22:10:05] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ca10b8012d79d88005e5fed8000300a522..."} 
[2026-08-25 22:10:05] local.INFO: Packet analysis {"connection_id":162052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ca"} 
[2026-08-25 22:10:05] local.INFO: Extracted packet for processing {"connection_id":162052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ca"} 
[2026-08-25 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":762960000,"raw_latitude":98959064,"longitude_deg":76.296,"latitude_deg":9.8959064,"altitude":3,"angle":165,"satellites":34,"speed":30,"hex_longitude":"2d79d880","hex_latitude":"05e5fed8","is_valid_coordinates":true} 
[2026-08-25 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-25 22:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645037824001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124483433731719168,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8777797174057615360,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787675939000,"timestamp_ms":1787675939000,"timestamp_seconds":1787675939,"priority":1,"record_length":96,"hex_timestamp":"000001a039ca10b8"} 
[2026-08-25 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-25 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":39,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 22:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1455,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 22:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645037824001,"66":9884,"182":206,"87":13824,"24":30,"16":124483433731719168,"45":8777797174057615360},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-25 22:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645037824001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:10:05] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-25 22:10:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124483433731719168,"km_value":124483433731719.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8777797174057615360,"description":"Unknown IO ID 45"} 
[2026-08-25 22:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645037824001,"power":9884,"unknown_182":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8777797174057615360}} 
[2026-08-25 22:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":162052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:10:05] local.INFO: GPS data processed {"connection_id":162052,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:10:05] local.INFO: Acknowledgment sent {"connection_id":162052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:10:16] local.INFO: TCP Data received {"connection_id":164661,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:10:16] local.INFO: Processing buffer {"connection_id":164661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039c66b20012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:10:16] local.INFO: Packet analysis {"connection_id":164661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:10:16] local.INFO: Extracted packet for processing {"connection_id":164661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039c6"} 
[2026-08-25 22:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644902144001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787675700000,"timestamp_ms":1787675700000,"timestamp_seconds":1787675700,"priority":1,"record_length":96,"hex_timestamp":"000001a039c66b20"} 
[2026-08-25 22:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:10:16] 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-25 22:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644902144001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644902144001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644902144001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":164661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:10:16] local.INFO: GPS data processed {"connection_id":164661,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:10:16] local.INFO: Acknowledgment sent {"connection_id":164661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:10:17] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:10:17] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:10:17] local.INFO: IMEI packet received {"connection_id":163282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":163282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:10:18] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:10:18] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:10:18] local.INFO: IMEI packet received {"connection_id":163282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":163282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:10:22] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:10:22] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:10:22] local.INFO: IMEI packet received {"connection_id":163282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":163282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:10:23] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ca2ff8012d79dc4005e5e420000300b028..."} 
[2026-08-25 22:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ca2ff8012d79dc4005e5e420000300b028..."} 
[2026-08-25 22:10:23] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ca2ff8012d79dc4005e5e420000300b028..."} 
[2026-08-25 22:10:23] local.INFO: Packet analysis {"connection_id":163282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ca"} 
[2026-08-25 22:10:23] local.INFO: Extracted packet for processing {"connection_id":163282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ca"} 
[2026-08-25 22:10:23] local.INFO: GPS Element Parsed {"raw_longitude":762960960,"raw_latitude":98952224,"longitude_deg":76.296096,"latitude_deg":9.8952224,"altitude":3,"angle":176,"satellites":40,"speed":35,"hex_longitude":"2d79dc40","hex_latitude":"05e5e420","is_valid_coordinates":true} 
[2026-08-25 22:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645040384001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124483768739168256,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779908236380657664,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787675947000,"timestamp_ms":1787675947000,"timestamp_seconds":1787675947,"priority":1,"record_length":96,"hex_timestamp":"000001a039ca2ff8"} 
[2026-08-25 22:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 22:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1792,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:10:23] 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-25 22:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645040384001,"66":10102,"182":206,"87":13824,"24":35,"16":124483768739168256,"45":8779908236380657664},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-25 22:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645040384001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:10:23] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-25 22:10:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124483768739168256,"km_value":124483768739168.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779908236380657664,"description":"Unknown IO ID 45"} 
[2026-08-25 22:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645040384001,"power":10102,"unknown_182":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8779908236380657664}} 
[2026-08-25 22:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":163282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:10:23] local.INFO: GPS data processed {"connection_id":163282,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:10:23] local.INFO: Acknowledgment sent {"connection_id":163282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:10:40] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:10:40] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:10:40] local.INFO: IMEI packet received {"connection_id":162282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":162282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:10:41] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:10:41] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:10:41] local.INFO: IMEI packet received {"connection_id":162282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":162282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:10:43] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:10:43] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:10:43] local.INFO: IMEI packet received {"connection_id":162282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":162282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:10:44] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:10:44] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:10:44] local.INFO: Packet analysis {"connection_id":162282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:10:44] local.INFO: Extracted packet for processing {"connection_id":162282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644979200001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787676001000,"timestamp_ms":1787676001000,"timestamp_seconds":1787676001,"priority":1,"record_length":96,"hex_timestamp":"000001a039cb02e8"} 
[2026-08-25 22: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-25 22:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 22: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:10:44] 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-25 22: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-25 22: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-25 22:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:10:44] 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-25 22:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644979200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644979200001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644979200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":162282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:10:44] local.INFO: GPS data processed {"connection_id":162282,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:10:44] local.INFO: Acknowledgment sent {"connection_id":162282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:10:49] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:10:49] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:10:49] local.INFO: Packet analysis {"connection_id":162282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:10:49] local.INFO: Extracted packet for processing {"connection_id":162282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644979200001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787676001000,"timestamp_ms":1787676001000,"timestamp_seconds":1787676001,"priority":1,"record_length":96,"hex_timestamp":"000001a039cb02e8"} 
[2026-08-25 22: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-25 22:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:10:49] 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-25 22: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-25 22: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-25 22:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:10: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-25 22:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644979200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644979200001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:10:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644979200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":162282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:10:49] local.INFO: GPS data processed {"connection_id":162282,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:10:49] local.INFO: Acknowledgment sent {"connection_id":162282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:10:55] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ca4380012d79dc8005e5d2f0000400bc28..."} 
[2026-08-25 22:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ca4380012d79dc8005e5d2f0000400bc28..."} 
[2026-08-25 22:10:55] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ca4380012d79dc8005e5d2f0000400bc28..."} 
[2026-08-25 22:10:55] local.INFO: Packet analysis {"connection_id":163282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ca"} 
[2026-08-25 22:10:55] local.INFO: Extracted packet for processing {"connection_id":163282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ca"} 
[2026-08-25 22:10:55] local.INFO: GPS Element Parsed {"raw_longitude":762961024,"raw_latitude":98947824,"longitude_deg":76.2961024,"latitude_deg":9.8947824,"altitude":4,"angle":188,"satellites":40,"speed":32,"hex_longitude":"2d79dc80","hex_latitude":"05e5d2f0","is_valid_coordinates":true} 
[2026-08-25 22:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645042432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124483983487533056,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780963767541571584,"note":"Value kept but may cause issues"} 
[2026-08-25 22:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787675952000,"timestamp_ms":1787675952000,"timestamp_seconds":1787675952,"priority":1,"record_length":96,"hex_timestamp":"000001a039ca4380"} 
[2026-08-25 22:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:10: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-25 22:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 22:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1455,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:10:55] 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-25 22:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645042432001,"66":10036,"182":206,"87":13824,"24":32,"16":124483983487533056,"45":8780963767541571584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-08-25 22:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645042432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:10:55] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-25 22:10:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124483983487533056,"km_value":124483983487533.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780963767541571584,"description":"Unknown IO ID 45"} 
[2026-08-25 22:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645042432001,"power":10036,"unknown_182":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8780963767541571584}} 
[2026-08-25 22:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":163282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:10:55] local.INFO: GPS data processed {"connection_id":163282,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:10:55] local.INFO: Acknowledgment sent {"connection_id":163282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:11:21] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:11:21] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:11:21] local.INFO: Packet analysis {"connection_id":162282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:11:21] local.INFO: Extracted packet for processing {"connection_id":162282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:11:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644979200001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:11:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787676001000,"timestamp_ms":1787676001000,"timestamp_seconds":1787676001,"priority":1,"record_length":96,"hex_timestamp":"000001a039cb02e8"} 
[2026-08-25 22: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-25 22:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:11:21] 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-25 22: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-25 22: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-25 22:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:11: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-25 22:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644979200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644979200001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:11:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644979200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":162282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:11:21] local.INFO: GPS data processed {"connection_id":162282,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:11:21] local.INFO: Acknowledgment sent {"connection_id":162282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:11:23] local.INFO: TCP Data received {"connection_id":164662,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:11:23] local.INFO: Processing buffer {"connection_id":164662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:11:23] local.INFO: IMEI packet received {"connection_id":164662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":164662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:11:24] local.INFO: TCP Data received {"connection_id":164662,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:11:24] local.INFO: Processing buffer {"connection_id":164662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:11:24] local.INFO: IMEI packet received {"connection_id":164662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":164662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:11:27] local.INFO: TCP Data received {"connection_id":164662,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:11:27] local.INFO: Processing buffer {"connection_id":164662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:11:27] local.INFO: IMEI packet received {"connection_id":164662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":164662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:11:28] local.INFO: TCP Data received {"connection_id":164662,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039cbed48012d7a524005e47a000007008926..."} 
[2026-08-25 22:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cbed48012d7a524005e47a000007008926..."} 
[2026-08-25 22:11:28] local.INFO: Processing buffer {"connection_id":164662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cbed48012d7a524005e47a000007008926..."} 
[2026-08-25 22:11:28] local.INFO: Packet analysis {"connection_id":164662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:11:28] local.INFO: Extracted packet for processing {"connection_id":164662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:11:28] local.INFO: GPS Element Parsed {"raw_longitude":762991168,"raw_latitude":98859520,"longitude_deg":76.2991168,"latitude_deg":9.885952,"altitude":7,"angle":137,"satellites":38,"speed":35,"hex_longitude":"2d7a5240","hex_latitude":"05e47a00","is_valid_coordinates":true} 
[2026-08-25 22:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645069312001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124488639232081920,"note":"Value kept but may cause issues"} 
[2026-08-25 22:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808055734028091392,"note":"Value kept but may cause issues"} 
[2026-08-25 22:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787676061000,"timestamp_ms":1787676061000,"timestamp_seconds":1787676061,"priority":1,"record_length":96,"hex_timestamp":"000001a039cbed48"} 
[2026-08-25 22:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:11:28] 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-25 22:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-25 22:11:28] 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-25 22:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:11:28] 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-25 22:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645069312001,"66":10091,"39":206,"87":13824,"24":35,"16":124488639232081920,"45":8808055734028091392},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 22:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645069312001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:11:28] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 22:11:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124488639232081920,"km_value":124488639232081.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808055734028091392,"description":"Unknown IO ID 45"} 
[2026-08-25 22:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645069312001,"power":10091,"unknown_39":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8808055734028091392}} 
[2026-08-25 22:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":164662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:11:28] local.INFO: GPS data processed {"connection_id":164662,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:11:28] local.INFO: Acknowledgment sent {"connection_id":164662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:11:30] local.INFO: TCP Data received {"connection_id":164662,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039cc1458012d7a6d0005e462800009008026..."} 
[2026-08-25 22:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cc1458012d7a6d0005e462800009008026..."} 
[2026-08-25 22:11:30] local.INFO: Processing buffer {"connection_id":164662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cc1458012d7a6d0005e462800009008026..."} 
[2026-08-25 22:11:30] local.INFO: Packet analysis {"connection_id":164662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:11:30] local.INFO: Extracted packet for processing {"connection_id":164662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:11:30] local.INFO: GPS Element Parsed {"raw_longitude":762998016,"raw_latitude":98853504,"longitude_deg":76.2998016,"latitude_deg":9.8853504,"altitude":9,"angle":128,"satellites":38,"speed":35,"hex_longitude":"2d7a6d00","hex_latitude":"05e46280","is_valid_coordinates":true} 
[2026-08-25 22:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645071616001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124489081613713408,"note":"Value kept but may cause issues"} 
[2026-08-25 22:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814177814769696768,"note":"Value kept but may cause issues"} 
[2026-08-25 22:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787676071000,"timestamp_ms":1787676071000,"timestamp_seconds":1787676071,"priority":1,"record_length":96,"hex_timestamp":"000001a039cc1458"} 
[2026-08-25 22:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1356,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:11:30] 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-25 22:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645071616001,"66":10243,"39":206,"87":13824,"24":35,"16":124489081613713408,"45":8814177814769696768},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 22:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645071616001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:11:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 22:11:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124489081613713408,"km_value":124489081613713.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814177814769696768,"description":"Unknown IO ID 45"} 
[2026-08-25 22:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645071616001,"power":10243,"unknown_39":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8814177814769696768}} 
[2026-08-25 22:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":164662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:11:30] local.INFO: GPS data processed {"connection_id":164662,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:11:30] local.INFO: Acknowledgment sent {"connection_id":164662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:11:39] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:11:39] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:11:39] local.INFO: IMEI packet received {"connection_id":162053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":162053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:11:43] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:11:43] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:11:43] local.INFO: IMEI packet received {"connection_id":162053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":162053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:11:44] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:11:44] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:11:44] local.INFO: Packet analysis {"connection_id":162053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:11:44] local.INFO: Extracted packet for processing {"connection_id":162053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644979200001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:11:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787676001000,"timestamp_ms":1787676001000,"timestamp_seconds":1787676001,"priority":1,"record_length":96,"hex_timestamp":"000001a039cb02e8"} 
[2026-08-25 22: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-25 22:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 22: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:11:44] 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-25 22: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-25 22: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-25 22:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:11: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-25 22:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644979200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644979200001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644979200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":162053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:11:44] local.INFO: GPS data processed {"connection_id":162053,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:11:44] local.INFO: Acknowledgment sent {"connection_id":162053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:12:02] local.INFO: TCP Data received {"connection_id":164662,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039cc3b68012d7a8bc005e44a180008007d26..."} 
[2026-08-25 22:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cc3b68012d7a8bc005e44a180008007d26..."} 
[2026-08-25 22:12:02] local.INFO: Processing buffer {"connection_id":164662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cc3b68012d7a8bc005e44a180008007d26..."} 
[2026-08-25 22:12:02] local.INFO: Packet analysis {"connection_id":164662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:12:02] local.INFO: Extracted packet for processing {"connection_id":164662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763005888,"raw_latitude":98847256,"longitude_deg":76.3005888,"latitude_deg":9.8847256,"altitude":8,"angle":125,"satellites":38,"speed":44,"hex_longitude":"2d7a8bc0","hex_latitude":"05e44a18","is_valid_coordinates":true} 
[2026-08-25 22:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645074176001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124489562650050560,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821707270395166720,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787676081000,"timestamp_ms":1787676081000,"timestamp_seconds":1787676081,"priority":1,"record_length":96,"hex_timestamp":"000001a039cc3b68"} 
[2026-08-25 22:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 22:12:02] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":8193,"corrected_to":0} 
[2026-08-25 22:12:02] local.WARNING: Large IO value detected {"io_id":68,"raw_value":4093640704,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:02] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3414413313,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:02] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3568828419,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-25 22:12:02] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2818649465,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:02] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3221611763,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:02] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,39,87,24,241,157,16,70,160,237,45,64,122,7,38,10,66,69,202,128,150,8,170,1,240,139,227,68,57,228,4,113,205,41,96,254,104,239],"length":431,"final_offset":561,"validated_count":38,"validation_warnings":[{"io_id":202,"original":8193,"validated":0},{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-08-25 22:12:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648659247040757760,"timestamp_seconds":648659247040757.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 22:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:12:02] 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-25 22:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645074176001,"66":10123,"39":206,"87":13824,"24":44,"16":124489562650050560,"45":8821707270395166720},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 22:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645074176001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:12:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 22:12:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124489562650050560,"km_value":124489562650050.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821707270395166720,"description":"Unknown IO ID 45"} 
[2026-08-25 22:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645074176001,"power":10123,"unknown_39":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8821707270395166720}} 
[2026-08-25 22:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":164662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:12:02] local.INFO: GPS data processed {"connection_id":164662,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:12:02] local.INFO: Acknowledgment sent {"connection_id":164662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:12:16] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:12:16] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:12:16] local.INFO: Packet analysis {"connection_id":162053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:12:16] local.INFO: Extracted packet for processing {"connection_id":162053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644979200001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787676001000,"timestamp_ms":1787676001000,"timestamp_seconds":1787676001,"priority":1,"record_length":96,"hex_timestamp":"000001a039cb02e8"} 
[2026-08-25 22:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:12:16] 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-25 22:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644979200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644979200001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644979200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":162053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:12:16] local.INFO: GPS data processed {"connection_id":162053,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:12:16] local.INFO: Acknowledgment sent {"connection_id":162053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:12:18] local.INFO: TCP Data received {"connection_id":162054,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:12:18] local.INFO: Processing buffer {"connection_id":162054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:12:18] local.INFO: IMEI packet received {"connection_id":162054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":162054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:12:22] local.INFO: TCP Data received {"connection_id":162054,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:12:22] local.INFO: Processing buffer {"connection_id":162054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:12:22] local.INFO: IMEI packet received {"connection_id":162054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":162054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:12:23] local.INFO: TCP Data received {"connection_id":162054,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039cc5aa8012d7aa88005e434100005008027..."} 
[2026-08-25 22:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cc5aa8012d7aa88005e434100005008027..."} 
[2026-08-25 22:12:23] local.INFO: Processing buffer {"connection_id":162054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cc5aa8012d7aa88005e434100005008027..."} 
[2026-08-25 22:12:23] local.INFO: Packet analysis {"connection_id":162054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:12:23] local.INFO: Extracted packet for processing {"connection_id":162054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:12:23] local.INFO: GPS Element Parsed {"raw_longitude":763013248,"raw_latitude":98841616,"longitude_deg":76.3013248,"latitude_deg":9.8841616,"altitude":5,"angle":128,"satellites":39,"speed":48,"hex_longitude":"2d7aa880","hex_latitude":"05e43410","is_valid_coordinates":true} 
[2026-08-25 22:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645076736001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124490005031682048,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830362625927419904,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787676089000,"timestamp_ms":1787676089000,"timestamp_seconds":1787676089,"priority":1,"record_length":96,"hex_timestamp":"000001a039cc5aa8"} 
[2026-08-25 22:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 22:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1644,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:12:23] 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-25 22:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645076736001,"66":10178,"39":206,"87":13824,"24":48,"16":124490005031682048,"45":8830362625927419904},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 22:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645076736001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:12:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 22:12:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124490005031682048,"km_value":124490005031682.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830362625927419904,"description":"Unknown IO ID 45"} 
[2026-08-25 22:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645076736001,"power":10178,"unknown_39":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8830362625927419904}} 
[2026-08-25 22:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":162054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:12:23] local.INFO: GPS data processed {"connection_id":162054,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:12:23] local.INFO: Acknowledgment sent {"connection_id":162054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:12:43] local.INFO: TCP Data received {"connection_id":164663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:12:43] local.INFO: Processing buffer {"connection_id":164663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:12:43] local.INFO: IMEI packet received {"connection_id":164663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":164663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:12:51] local.INFO: TCP Data received {"connection_id":164663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:12:51] local.INFO: Processing buffer {"connection_id":164663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:12:51] local.INFO: IMEI packet received {"connection_id":164663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":164663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:12:52] local.INFO: TCP Data received {"connection_id":164663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:12:52] local.INFO: Processing buffer {"connection_id":164663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:12:52] local.INFO: Packet analysis {"connection_id":164663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:12:52] local.INFO: Extracted packet for processing {"connection_id":164663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644979200001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787676001000,"timestamp_ms":1787676001000,"timestamp_seconds":1787676001,"priority":1,"record_length":96,"hex_timestamp":"000001a039cb02e8"} 
[2026-08-25 22:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:12:52] 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-25 22:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:12:52] local.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-25 22:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644979200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644979200001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644979200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":164663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:12:52] local.INFO: GPS data processed {"connection_id":164663,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:12:52] local.INFO: Acknowledgment sent {"connection_id":164663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:12:54] local.INFO: TCP Data received {"connection_id":164663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:12:54] local.INFO: Processing buffer {"connection_id":164663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:12:54] local.INFO: Packet analysis {"connection_id":164663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:12:54] local.INFO: Extracted packet for processing {"connection_id":164663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:12:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644979200001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787676001000,"timestamp_ms":1787676001000,"timestamp_seconds":1787676001,"priority":1,"record_length":96,"hex_timestamp":"000001a039cb02e8"} 
[2026-08-25 22:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 22:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:12:54] 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-25 22:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:12: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-25 22:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644979200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644979200001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:12:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644979200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":164663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:12:54] local.INFO: GPS data processed {"connection_id":164663,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:12:54] local.INFO: Acknowledgment sent {"connection_id":164663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:12:55] local.INFO: TCP Data received {"connection_id":162054,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039cc7600012d7abf0005e41fc00003008e27..."} 
[2026-08-25 22:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cc7600012d7abf0005e41fc00003008e27..."} 
[2026-08-25 22:12:55] local.INFO: Processing buffer {"connection_id":162054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cc7600012d7abf0005e41fc00003008e27..."} 
[2026-08-25 22:12:55] local.INFO: Packet analysis {"connection_id":162054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:12:55] local.INFO: Extracted packet for processing {"connection_id":162054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:12:55] local.INFO: GPS Element Parsed {"raw_longitude":763019008,"raw_latitude":98836416,"longitude_deg":76.3019008,"latitude_deg":9.8836416,"altitude":3,"angle":142,"satellites":39,"speed":37,"hex_longitude":"2d7abf00","hex_latitude":"05e41fc0","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645078784001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124490382988804096,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8838455031506407424,"note":"Value kept but may cause issues"} 
[2026-08-25 22:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787676096000,"timestamp_ms":1787676096000,"timestamp_seconds":1787676096,"priority":1,"record_length":96,"hex_timestamp":"000001a039cc7600"} 
[2026-08-25 22: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-25 22:12: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-25 22: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":39,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:12:55] 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-25 22:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645078784001,"66":9917,"39":206,"87":13824,"24":37,"16":124490382988804096,"45":8838455031506407424},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 22:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645078784001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:12:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 22:12:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124490382988804096,"km_value":124490382988804.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8838455031506407424,"description":"Unknown IO ID 45"} 
[2026-08-25 22:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645078784001,"power":9917,"unknown_39":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8838455031506407424}} 
[2026-08-25 22:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":162054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:12:55] local.INFO: GPS data processed {"connection_id":162054,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:12:55] local.INFO: Acknowledgment sent {"connection_id":162054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:13:17] local.INFO: TCP Data received {"connection_id":163284,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:13:17] local.INFO: Processing buffer {"connection_id":163284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:13:17] local.INFO: IMEI packet received {"connection_id":163284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":163284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:13:19] local.INFO: TCP Data received {"connection_id":163284,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:13:19] local.INFO: Processing buffer {"connection_id":163284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:13:19] local.INFO: IMEI packet received {"connection_id":163284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":163284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:13:23] local.INFO: TCP Data received {"connection_id":163284,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:13:23] local.INFO: Processing buffer {"connection_id":163284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:13:23] local.INFO: IMEI packet received {"connection_id":163284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":163284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:13:24] local.INFO: TCP Data received {"connection_id":163284,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039cc9540012d7ace4005e40eb80003009b29..."} 
[2026-08-25 22:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cc9540012d7ace4005e40eb80003009b29..."} 
[2026-08-25 22:13:24] local.INFO: Processing buffer {"connection_id":163284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cc9540012d7ace4005e40eb80003009b29..."} 
[2026-08-25 22:13:24] local.INFO: Packet analysis {"connection_id":163284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:13:24] local.INFO: Extracted packet for processing {"connection_id":163284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:13:24] local.INFO: GPS Element Parsed {"raw_longitude":763022912,"raw_latitude":98832056,"longitude_deg":76.3022912,"latitude_deg":9.8832056,"altitude":3,"angle":155,"satellites":41,"speed":22,"hex_longitude":"2d7ace40","hex_latitude":"05e40eb8","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645080576001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124490662161678336,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844788218481065984,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787676104000,"timestamp_ms":1787676104000,"timestamp_seconds":1787676104,"priority":1,"record_length":96,"hex_timestamp":"000001a039cc9540"} 
[2026-08-25 22: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-25 22:13:24] 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-25 22: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":38,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-25 22:13:24] 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-25 22: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-25 22: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-25 22:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:13:24] 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-25 22:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645080576001,"66":10265,"39":206,"87":13824,"24":22,"16":124490662161678336,"45":8844788218481065984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 22:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645080576001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:13:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 22:13:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124490662161678336,"km_value":124490662161678.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844788218481065984,"description":"Unknown IO ID 45"} 
[2026-08-25 22:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645080576001,"power":10265,"unknown_39":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8844788218481065984}} 
[2026-08-25 22:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":163284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:13:24] local.INFO: GPS data processed {"connection_id":163284,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:13:24] local.INFO: Acknowledgment sent {"connection_id":163284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:13:39] local.INFO: TCP Data received {"connection_id":164664,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:13:39] local.INFO: Processing buffer {"connection_id":164664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:13:39] local.INFO: IMEI packet received {"connection_id":164664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":164664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:13:44] local.INFO: TCP Data received {"connection_id":164664,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:13:44] local.INFO: Processing buffer {"connection_id":164664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:13:44] local.INFO: IMEI packet received {"connection_id":164664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":164664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:13:45] local.INFO: TCP Data received {"connection_id":164664,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:13:45] local.INFO: Processing buffer {"connection_id":164664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:13:45] local.INFO: Packet analysis {"connection_id":164664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:13:45] local.INFO: Extracted packet for processing {"connection_id":164664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644979200001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787676001000,"timestamp_ms":1787676001000,"timestamp_seconds":1787676001,"priority":1,"record_length":96,"hex_timestamp":"000001a039cb02e8"} 
[2026-08-25 22: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-25 22:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:13:45] 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-25 22: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-25 22: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-25 22:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:13:45] 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-25 22:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644979200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644979200001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644979200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":164664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:13:45] local.INFO: GPS data processed {"connection_id":164664,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:13:45] local.INFO: Acknowledgment sent {"connection_id":164664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:13:55] local.INFO: TCP Data received {"connection_id":163284,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039cca4e0012d7ad10005e404a0000300a929..."} 
[2026-08-25 22:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cca4e0012d7ad10005e404a0000300a929..."} 
[2026-08-25 22:13:55] local.INFO: Processing buffer {"connection_id":163284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cca4e0012d7ad10005e404a0000300a929..."} 
[2026-08-25 22:13:55] local.INFO: Packet analysis {"connection_id":163284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:13:55] local.INFO: Extracted packet for processing {"connection_id":163284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763023616,"raw_latitude":98829472,"longitude_deg":76.3023616,"latitude_deg":9.8829472,"altitude":3,"angle":169,"satellites":41,"speed":31,"hex_longitude":"2d7ad100","hex_latitude":"05e404a0","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645082624001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124490795305664512,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849080711874787328,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787676108000,"timestamp_ms":1787676108000,"timestamp_seconds":1787676108,"priority":1,"record_length":96,"hex_timestamp":"000001a039cca4e0"} 
[2026-08-25 22: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-25 22:13: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-25 22: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":40,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788836,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3423885313,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":228,"raw_value":-7620090535141628160,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847198448,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-25 22:13:55] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":-3882101583957426171,"corrected_to":0} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":42,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2810473041442641920,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433124073474,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":186,"raw_value":4968596288896499712,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":19,"raw_value":1658977154761472,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2954406435531786752,"note":"Value kept but may cause issues"} 
[2026-08-25 22:13:55] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,39,87,24,241,157,16,71,160,118,45,31,3,10,66,90,128,52,5,59,192,1,240,139,227,70,57,228,4,113,205,35,237,82,38,239,203,42,88,206,186,19,144],"length":629,"final_offset":759,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0},{"io_id":203,"original":-3882101583957426171,"validated":0}]} 
[2026-08-25 22:13:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216343382511190016,"timestamp_seconds":216343382511190.03,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 22: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-25 22:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:13:55] 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-25 22:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645082624001,"66":9145,"39":206,"87":13824,"24":31,"16":124490795305664512,"45":8849080711874787328},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 22:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645082624001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:13:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 22:13:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124490795305664512,"km_value":124490795305664.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849080711874787328,"description":"Unknown IO ID 45"} 
[2026-08-25 22:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645082624001,"power":9145,"unknown_39":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8849080711874787328}} 
[2026-08-25 22:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":163284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:13:55] local.INFO: GPS data processed {"connection_id":163284,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:13:55] local.INFO: Acknowledgment sent {"connection_id":163284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:14:16] local.INFO: TCP Data received {"connection_id":164664,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:14:16] local.INFO: Processing buffer {"connection_id":164664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:14:16] local.INFO: Packet analysis {"connection_id":164664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:14:16] local.INFO: Extracted packet for processing {"connection_id":164664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644979200001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787676001000,"timestamp_ms":1787676001000,"timestamp_seconds":1787676001,"priority":1,"record_length":96,"hex_timestamp":"000001a039cb02e8"} 
[2026-08-25 22:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:14:16] 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-25 22:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644979200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644979200001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644979200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":164664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:14:16] local.INFO: GPS data processed {"connection_id":164664,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:14:16] local.INFO: Acknowledgment sent {"connection_id":164664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:14:17] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:14:17] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:14:17] local.INFO: IMEI packet received {"connection_id":162055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":162055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:14:18] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:14:18] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:14:18] local.INFO: IMEI packet received {"connection_id":162055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":162055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:14:22] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:14:22] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:14:22] local.INFO: IMEI packet received {"connection_id":162055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":162055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:14:23] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039ccd7a8012d7ad90005e3e1d8000600a728..."} 
[2026-08-25 22:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ccd7a8012d7ad90005e3e1d8000600a728..."} 
[2026-08-25 22:14:23] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ccd7a8012d7ad90005e3e1d8000600a728..."} 
[2026-08-25 22:14:23] local.INFO: Packet analysis {"connection_id":162055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:14:23] local.INFO: Extracted packet for processing {"connection_id":162055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cc"} 
[2026-08-25 22:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763025664,"raw_latitude":98820568,"longitude_deg":76.3025664,"latitude_deg":9.8820568,"altitude":6,"angle":167,"satellites":40,"speed":23,"hex_longitude":"2d7ad900","hex_latitude":"05e3e1d8","is_valid_coordinates":true} 
[2026-08-25 22:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645083648001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124491237687296000,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849854768060080128,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787676121000,"timestamp_ms":1787676121000,"timestamp_seconds":1787676121,"priority":1,"record_length":96,"hex_timestamp":"000001a039ccd7a8"} 
[2026-08-25 22:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":35,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-25 22:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2038,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:14:23] 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-25 22:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645083648001,"66":10265,"39":206,"87":13824,"24":23,"16":124491237687296000,"45":8849854768060080128},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-25 22:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645083648001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:14:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-25 22:14:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-25 22:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124491237687296000,"km_value":124491237687296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849854768060080128,"description":"Unknown IO ID 45"} 
[2026-08-25 22:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645083648001,"power":10265,"unknown_39":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8849854768060080128}} 
[2026-08-25 22:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":162055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:14:23] local.INFO: GPS data processed {"connection_id":162055,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:14:23] local.INFO: Acknowledgment sent {"connection_id":162055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:14:34] local.INFO: TCP Data received {"connection_id":163283,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:14:34] local.INFO: Processing buffer {"connection_id":163283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:14:34] local.INFO: IMEI packet received {"connection_id":163283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 22:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":163283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:14:43] local.INFO: TCP Data received {"connection_id":164665,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:14:43] local.INFO: Processing buffer {"connection_id":164665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:14:43] local.INFO: IMEI packet received {"connection_id":164665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":164665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:14:43] local.INFO: TCP Data received {"connection_id":164665,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:14:43] local.INFO: Processing buffer {"connection_id":164665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:14:43] local.INFO: IMEI packet received {"connection_id":164665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":164665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:14:46] local.INFO: TCP Data received {"connection_id":164665,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:14:46] local.INFO: Processing buffer {"connection_id":164665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:14:46] local.INFO: Packet analysis {"connection_id":164665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:14:46] local.INFO: Extracted packet for processing {"connection_id":164665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644979200001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787676001000,"timestamp_ms":1787676001000,"timestamp_seconds":1787676001,"priority":1,"record_length":96,"hex_timestamp":"000001a039cb02e8"} 
[2026-08-25 22:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:14:46] 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-25 22:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:14:46] 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-25 22:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644979200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644979200001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644979200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":164665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:14:46] local.INFO: GPS data processed {"connection_id":164665,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:14:46] local.INFO: Acknowledgment sent {"connection_id":164665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:14:51] local.INFO: TCP Data received {"connection_id":164665,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:14:51] local.INFO: Processing buffer {"connection_id":164665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:14:51] local.INFO: Packet analysis {"connection_id":164665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:14:51] local.INFO: Extracted packet for processing {"connection_id":164665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644979200001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787676001000,"timestamp_ms":1787676001000,"timestamp_seconds":1787676001,"priority":1,"record_length":96,"hex_timestamp":"000001a039cb02e8"} 
[2026-08-25 22: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-25 22:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:14:51] 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-25 22: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-25 22: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-25 22:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644979200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644979200001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644979200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":164665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:14:51] local.INFO: GPS data processed {"connection_id":164665,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:14:51] local.INFO: Acknowledgment sent {"connection_id":164665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:14:55] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf0e10012d7b29c005e27740000a00ac26..."} 
[2026-08-25 22:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf0e10012d7b29c005e27740000a00ac26..."} 
[2026-08-25 22:14:55] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf0e10012d7b29c005e27740000a00ac26..."} 
[2026-08-25 22:14:55] local.INFO: Packet analysis {"connection_id":162055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:14:55] local.INFO: Extracted packet for processing {"connection_id":162055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763046336,"raw_latitude":98727744,"longitude_deg":76.3046336,"latitude_deg":9.8727744,"altitude":10,"angle":172,"satellites":38,"speed":36,"hex_longitude":"2d7b29c0","hex_latitude":"05e27740","is_valid_coordinates":true} 
[2026-08-25 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-25 22:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645121536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124495871957008384,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928591712256,"note":"Value kept but may cause issues"} 
[2026-08-25 22:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787676266000,"timestamp_ms":1787676266000,"timestamp_seconds":1787676266,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf0e10"} 
[2026-08-25 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-25 22:14: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-25 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":38,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 22:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1792,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 22:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:14:55] 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-25 22:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645121536001,"66":9841,"207":206,"85":15104,"24":36,"16":124495871957008384,"45":8873357928591712256},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-25 22:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645121536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:14:55] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 22:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124495871957008384,"km_value":124495871957008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928591712256,"description":"Unknown IO ID 45"} 
[2026-08-25 22:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645121536001,"power":9841,"unknown_207":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8873357928591712256}} 
[2026-08-25 22:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":162055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:14:55] local.INFO: GPS data processed {"connection_id":162055,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:14:55] local.INFO: Acknowledgment sent {"connection_id":162055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:15:17] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:15:17] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:15:17] local.INFO: IMEI packet received {"connection_id":163285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":163285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:15:22] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:15:22] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:15:22] local.INFO: IMEI packet received {"connection_id":163285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":163285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:15:23] local.INFO: TCP Data received {"connection_id":164665,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:15:23] local.INFO: Processing buffer {"connection_id":164665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cb02e8012d34c14006aa4818000500e62a..."} 
[2026-08-25 22:15:23] local.INFO: Packet analysis {"connection_id":164665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:15:23] local.INFO: Extracted packet for processing {"connection_id":164665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cb"} 
[2026-08-25 22:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457644979200001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:15:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787676001000,"timestamp_ms":1787676001000,"timestamp_seconds":1787676001,"priority":1,"record_length":96,"hex_timestamp":"000001a039cb02e8"} 
[2026-08-25 22:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 22:15:23] 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-25 22:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457644979200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457644979200001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457644979200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":164665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:15:23] local.INFO: GPS data processed {"connection_id":164665,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:15:23] local.INFO: Acknowledgment sent {"connection_id":164665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:15:24] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf3cf0012d7b300005e25348000800ab24..."} 
[2026-08-25 22:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf3cf0012d7b300005e25348000800ab24..."} 
[2026-08-25 22:15:24] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf3cf0012d7b300005e25348000800ab24..."} 
[2026-08-25 22:15:24] local.INFO: Packet analysis {"connection_id":163285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:15:24] local.INFO: Extracted packet for processing {"connection_id":163285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:15:24] local.INFO: GPS Element Parsed {"raw_longitude":763047936,"raw_latitude":98718536,"longitude_deg":76.3047936,"latitude_deg":9.8718536,"altitude":8,"angle":171,"satellites":36,"speed":23,"hex_longitude":"2d7b3000","hex_latitude":"05e25348","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645124096001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124496327223541760,"note":"Value kept but may cause issues"} 
[2026-08-25 22:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874835672217108480,"note":"Value kept but may cause issues"} 
[2026-08-25 22:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787676278000,"timestamp_ms":1787676278000,"timestamp_seconds":1787676278,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf3cf0"} 
[2026-08-25 22: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-25 22:15:24] 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-25 22: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":38,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-25 22:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:15:24] 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-25 22:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645124096001,"66":10156,"207":206,"85":15104,"24":23,"16":124496327223541760,"45":8874835672217108480},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-25 22:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645124096001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:15:24] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 22:15:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124496327223541760,"km_value":124496327223541.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874835672217108480,"description":"Unknown IO ID 45"} 
[2026-08-25 22:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645124096001,"power":10156,"unknown_207":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8874835672217108480}} 
[2026-08-25 22:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":163285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:15:24] local.INFO: GPS data processed {"connection_id":163285,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:15:24] local.INFO: Acknowledgment sent {"connection_id":163285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:15:39] local.INFO: TCP Data received {"connection_id":162283,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:15:39] local.INFO: Processing buffer {"connection_id":162283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:15:39] local.INFO: IMEI packet received {"connection_id":162283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":162283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:15:40] local.INFO: TCP Data received {"connection_id":162283,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:15:40] local.INFO: Processing buffer {"connection_id":162283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:15:40] local.INFO: IMEI packet received {"connection_id":162283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":162283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:15:44] local.INFO: TCP Data received {"connection_id":162283,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:15:44] local.INFO: Processing buffer {"connection_id":162283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:15:44] local.INFO: IMEI packet received {"connection_id":162283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":162283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:15:45] local.INFO: TCP Data received {"connection_id":162283,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:15:45] local.INFO: Processing buffer {"connection_id":162283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:15:45] local.INFO: Packet analysis {"connection_id":162283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:15:45] local.INFO: Extracted packet for processing {"connection_id":162283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645056256001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:15:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787676302000,"timestamp_ms":1787676302000,"timestamp_seconds":1787676302,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf9ab0"} 
[2026-08-25 22:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:15:45] 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-25 22:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:15: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-25 22:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645056256001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645056256001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645056256001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":162283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:15:45] local.INFO: GPS data processed {"connection_id":162283,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:15:45] local.INFO: Acknowledgment sent {"connection_id":162283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:15:55] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf67e8012d7b348005e22f70000900ab2a..."} 
[2026-08-25 22:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf67e8012d7b348005e22f70000900ab2a..."} 
[2026-08-25 22:15:55] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf67e8012d7b348005e22f70000900ab2a..."} 
[2026-08-25 22:15:55] local.INFO: Packet analysis {"connection_id":163285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:15:55] local.INFO: Extracted packet for processing {"connection_id":163285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763049088,"raw_latitude":98709360,"longitude_deg":76.3049088,"latitude_deg":9.870936,"altitude":9,"angle":171,"satellites":42,"speed":33,"hex_longitude":"2d7b3480","hex_latitude":"05e22f70","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645127168001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124496773900140544,"note":"Value kept but may cause issues"} 
[2026-08-25 22:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876594890819192832,"note":"Value kept but may cause issues"} 
[2026-08-25 22:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787676289000,"timestamp_ms":1787676289000,"timestamp_seconds":1787676289,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf67e8"} 
[2026-08-25 22: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-25 22:15: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-25 22: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":39,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-25 22:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1941,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:15:55] 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-25 22:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645127168001,"66":9732,"207":206,"85":15104,"24":33,"16":124496773900140544,"45":8876594890819192832},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-25 22:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645127168001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:15:55] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 22:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124496773900140544,"km_value":124496773900140.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876594890819192832,"description":"Unknown IO ID 45"} 
[2026-08-25 22:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645127168001,"power":9732,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8876594890819192832}} 
[2026-08-25 22:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":163285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:15:55] local.INFO: GPS data processed {"connection_id":163285,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:15:55] local.INFO: Acknowledgment sent {"connection_id":163285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:16:17] local.INFO: TCP Data received {"connection_id":162283,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:16:17] local.INFO: Processing buffer {"connection_id":162283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:16:17] local.INFO: Packet analysis {"connection_id":162283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:16:17] local.INFO: Extracted packet for processing {"connection_id":162283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645056256001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787676302000,"timestamp_ms":1787676302000,"timestamp_seconds":1787676302,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf9ab0"} 
[2026-08-25 22:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:16:17] 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-25 22:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645056256001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645056256001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645056256001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":162283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:16:17] local.INFO: GPS data processed {"connection_id":162283,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:16:17] local.INFO: Acknowledgment sent {"connection_id":162283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:16:22] local.INFO: TCP Data received {"connection_id":164666,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:16:22] local.INFO: Processing buffer {"connection_id":164666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:16:22] local.INFO: IMEI packet received {"connection_id":164666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":164666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:16:23] local.INFO: TCP Data received {"connection_id":164666,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:16:23] local.INFO: Processing buffer {"connection_id":164666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:16:23] local.INFO: IMEI packet received {"connection_id":164666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":164666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:16:24] local.INFO: TCP Data received {"connection_id":164666,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf96c8012d7b394005e20b58000900ac24..."} 
[2026-08-25 22:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf96c8012d7b394005e20b58000900ac24..."} 
[2026-08-25 22:16:24] local.INFO: Processing buffer {"connection_id":164666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf96c8012d7b394005e20b58000900ac24..."} 
[2026-08-25 22:16:24] local.INFO: Packet analysis {"connection_id":164666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:16:24] local.INFO: Extracted packet for processing {"connection_id":164666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763050304,"raw_latitude":98700120,"longitude_deg":76.3050304,"latitude_deg":9.870012,"altitude":9,"angle":172,"satellites":36,"speed":30,"hex_longitude":"2d7b3940","hex_latitude":"05e20b58","is_valid_coordinates":true} 
[2026-08-25 22:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645129984001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124497224871706624,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877861528212041728,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787676301000,"timestamp_ms":1787676301000,"timestamp_seconds":1787676301,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf96c8"} 
[2026-08-25 22:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:16:24] 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-25 22:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 22:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626827,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:24] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:24] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3468685313,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:24] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3201826829,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-25 22:16:24] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147869411,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:24] local.WARNING: Large IO value detected {"io_id":39,"raw_value":6125121304619175509,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:24] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755536880140529,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,207,85,24,241,157,16,77,160,60,45,83,8,36,10,66,76,14,192,119,38,231,128,1,240,156,227,75,57,226,4,113,205,32,145,27,31,239,39,59,28],"length":430,"final_offset":560,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-25 22:16:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648706543220490240,"timestamp_seconds":648706543220490.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 22:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:16:24] 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-25 22:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645129984001,"66":10156,"207":206,"85":15104,"24":30,"16":124497224871706624,"45":8877861528212041728},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-25 22:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645129984001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:16:24] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 22:16:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124497224871706624,"km_value":124497224871706.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877861528212041728,"description":"Unknown IO ID 45"} 
[2026-08-25 22:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645129984001,"power":10156,"unknown_207":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8877861528212041728}} 
[2026-08-25 22:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":164666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:16:24] local.INFO: GPS data processed {"connection_id":164666,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:16:24] local.INFO: Acknowledgment sent {"connection_id":164666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:16:25] local.INFO: TCP Data received {"connection_id":164666,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039cfc5a8012d7b3c4005e1e748000900ae20..."} 
[2026-08-25 22:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cfc5a8012d7b3c4005e1e748000900ae20..."} 
[2026-08-25 22:16:25] local.INFO: Processing buffer {"connection_id":164666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cfc5a8012d7b3c4005e1e748000900ae20..."} 
[2026-08-25 22:16:25] local.INFO: Packet analysis {"connection_id":164666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:16:25] local.INFO: Extracted packet for processing {"connection_id":164666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763051072,"raw_latitude":98690888,"longitude_deg":76.3051072,"latitude_deg":9.8690888,"altitude":9,"angle":174,"satellites":32,"speed":27,"hex_longitude":"2d7b3c40","hex_latitude":"05e1e748","is_valid_coordinates":true} 
[2026-08-25 22:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645133056001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124497675843272704,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879198534349051904,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787676313000,"timestamp_ms":1787676313000,"timestamp_seconds":1787676313,"priority":1,"record_length":96,"hex_timestamp":"000001a039cfc5a8"} 
[2026-08-25 22:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-25 22:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1941,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:16:25] 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-25 22:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645133056001,"66":10178,"207":206,"85":15104,"24":27,"16":124497675843272704,"45":8879198534349051904},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-25 22:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645133056001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:16:25] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-25 22:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124497675843272704,"km_value":124497675843272.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879198534349051904,"description":"Unknown IO ID 45"} 
[2026-08-25 22:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645133056001,"power":10178,"unknown_207":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8879198534349051904}} 
[2026-08-25 22:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":164666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:16:25] local.INFO: GPS data processed {"connection_id":164666,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:16:25] local.INFO: Acknowledgment sent {"connection_id":164666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:16:44] local.INFO: TCP Data received {"connection_id":164667,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:16:44] local.INFO: Processing buffer {"connection_id":164667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:16:44] local.INFO: IMEI packet received {"connection_id":164667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":164667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:16:49] local.INFO: TCP Data received {"connection_id":164667,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:16:49] local.INFO: Processing buffer {"connection_id":164667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:16:49] local.INFO: IMEI packet received {"connection_id":164667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":164667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:16:50] local.INFO: TCP Data received {"connection_id":164667,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:16:50] local.INFO: Processing buffer {"connection_id":164667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:16:50] local.INFO: Packet analysis {"connection_id":164667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:16:50] local.INFO: Extracted packet for processing {"connection_id":164667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645056256001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787676302000,"timestamp_ms":1787676302000,"timestamp_seconds":1787676302,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf9ab0"} 
[2026-08-25 22: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-25 22:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:16:50] 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-25 22: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-25 22: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-25 22:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:16: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-25 22:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645056256001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645056256001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645056256001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":164667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:16:50] local.INFO: GPS data processed {"connection_id":164667,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:16:50] local.INFO: Acknowledgment sent {"connection_id":164667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:16:54] local.INFO: TCP Data received {"connection_id":164667,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:16:54] local.INFO: Processing buffer {"connection_id":164667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:16:54] local.INFO: Packet analysis {"connection_id":164667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:16:54] local.INFO: Extracted packet for processing {"connection_id":164667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:16:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645056256001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787676302000,"timestamp_ms":1787676302000,"timestamp_seconds":1787676302,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf9ab0"} 
[2026-08-25 22:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:16:54] 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-25 22:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:16:54] 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-25 22:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645056256001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645056256001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:16:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645056256001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":164667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:16:54] local.INFO: GPS data processed {"connection_id":164667,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:16:54] local.INFO: Acknowledgment sent {"connection_id":164667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:16:57] local.INFO: TCP Data received {"connection_id":164666,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a039cffc58012d7b3f0005e1c350000800ad23..."} 
[2026-08-25 22:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cffc58012d7b3f0005e1c350000800ad23..."} 
[2026-08-25 22:16:57] local.INFO: Processing buffer {"connection_id":164666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cffc58012d7b3f0005e1c350000800ad23..."} 
[2026-08-25 22:16:57] local.INFO: Packet analysis {"connection_id":164666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:16:57] local.INFO: Extracted packet for processing {"connection_id":164666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763051776,"raw_latitude":98681680,"longitude_deg":76.3051776,"latitude_deg":9.868168,"altitude":8,"angle":173,"satellites":35,"speed":20,"hex_longitude":"2d7b3f00","hex_latitude":"05e1c350","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645136128001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124498122519871488,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880042959276820480,"note":"Value kept but may cause issues"} 
[2026-08-25 22:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787676327000,"timestamp_ms":1787676327000,"timestamp_seconds":1787676327,"priority":1,"record_length":96,"hex_timestamp":"000001a039cffc58"} 
[2026-08-25 22: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-25 22:16:57] 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-25 22: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":39,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2139,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:16:57] 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-25 22:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645136128001,"66":9808,"216":206,"85":15104,"24":20,"16":124498122519871488,"45":8880042959276820480},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-25 22:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645136128001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:16:57] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-25 22:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124498122519871488,"km_value":124498122519871.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880042959276820480,"description":"Unknown IO ID 45"} 
[2026-08-25 22:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645136128001,"power":9808,"unknown_216":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8880042959276820480}} 
[2026-08-25 22:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":164666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:16:57] local.INFO: GPS data processed {"connection_id":164666,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:16:57] local.INFO: Acknowledgment sent {"connection_id":164666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:17:27] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:17:27] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:17:27] local.INFO: IMEI packet received {"connection_id":162056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":162056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:17:32] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:17:32] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:17:32] local.INFO: IMEI packet received {"connection_id":162056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":162056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:17:33] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a039d036f0012d7b414005e19f00000600b024..."} 
[2026-08-25 22:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d036f0012d7b414005e19f00000600b024..."} 
[2026-08-25 22:17:33] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d036f0012d7b414005e19f00000600b024..."} 
[2026-08-25 22:17:33] local.INFO: Packet analysis {"connection_id":162056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:17:33] local.INFO: Extracted packet for processing {"connection_id":162056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763052352,"raw_latitude":98672384,"longitude_deg":76.3052352,"latitude_deg":9.8672384,"altitude":6,"angle":176,"satellites":36,"speed":29,"hex_longitude":"2d7b4140","hex_latitude":"05e19f00","is_valid_coordinates":true} 
[2026-08-25 22:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645139712001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124498577786404864,"note":"Value kept but may cause issues"} 
[2026-08-25 22:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880817015460417536,"note":"Value kept but may cause issues"} 
[2026-08-25 22:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787676342000,"timestamp_ms":1787676342000,"timestamp_seconds":1787676342,"priority":1,"record_length":96,"hex_timestamp":"000001a039d036f0"} 
[2026-08-25 22:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:17: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-25 22:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-25 22:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1108,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645139712001,"66":10102,"216":206,"85":15104,"24":29,"16":124498577786404864,"45":8880817015460417536},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-25 22:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645139712001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:17:33] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-25 22:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124498577786404864,"km_value":124498577786404.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880817015460417536,"description":"Unknown IO ID 45"} 
[2026-08-25 22:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645139712001,"power":10102,"unknown_216":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8880817015460417536}} 
[2026-08-25 22:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":162056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:17:34] local.INFO: GPS data processed {"connection_id":162056,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:17:34] local.INFO: Acknowledgment sent {"connection_id":162056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:17:39] local.INFO: TCP Data received {"connection_id":164668,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:17:39] local.INFO: Processing buffer {"connection_id":164668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:17:39] local.INFO: IMEI packet received {"connection_id":164668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":164668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:17:43] local.INFO: TCP Data received {"connection_id":164668,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:17:43] local.INFO: Processing buffer {"connection_id":164668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:17:43] local.INFO: IMEI packet received {"connection_id":164668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":164668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:17:44] local.INFO: TCP Data received {"connection_id":164668,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:17:44] local.INFO: Processing buffer {"connection_id":164668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:17:44] local.INFO: Packet analysis {"connection_id":164668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:17:44] local.INFO: Extracted packet for processing {"connection_id":164668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645056256001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:17:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787676302000,"timestamp_ms":1787676302000,"timestamp_seconds":1787676302,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf9ab0"} 
[2026-08-25 22:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:17:44] 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-25 22:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:17: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-25 22:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645056256001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645056256001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645056256001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":164668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:17:44] local.INFO: GPS data processed {"connection_id":164668,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:17:44] local.INFO: Acknowledgment sent {"connection_id":164668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:18:16] local.INFO: TCP Data received {"connection_id":164668,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:18:16] local.INFO: Processing buffer {"connection_id":164668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:18:16] local.INFO: Packet analysis {"connection_id":164668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:18:16] local.INFO: Extracted packet for processing {"connection_id":164668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645056256001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:18:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787676302000,"timestamp_ms":1787676302000,"timestamp_seconds":1787676302,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf9ab0"} 
[2026-08-25 22:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:18:16] 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-25 22:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645056256001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645056256001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645056256001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":164668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:18:16] local.INFO: GPS data processed {"connection_id":164668,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:18:16] local.INFO: Acknowledgment sent {"connection_id":164668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:18:17] local.INFO: TCP Data received {"connection_id":163287,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:18:17] local.INFO: Processing buffer {"connection_id":163287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:18:17] local.INFO: IMEI packet received {"connection_id":163287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":163287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:18:22] local.INFO: TCP Data received {"connection_id":163287,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:18:22] local.INFO: Processing buffer {"connection_id":163287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:18:22] local.INFO: IMEI packet received {"connection_id":163287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":163287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:18:25] local.INFO: TCP Data received {"connection_id":163287,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a039d061e8012d7b460005e17908000400aa23..."} 
[2026-08-25 22:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d061e8012d7b460005e17908000400aa23..."} 
[2026-08-25 22:18:25] local.INFO: Processing buffer {"connection_id":163287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d061e8012d7b460005e17908000400aa23..."} 
[2026-08-25 22:18:25] local.INFO: Packet analysis {"connection_id":163287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:18:25] local.INFO: Extracted packet for processing {"connection_id":163287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763053568,"raw_latitude":98662664,"longitude_deg":76.3053568,"latitude_deg":9.8662664,"altitude":4,"angle":170,"satellites":35,"speed":40,"hex_longitude":"2d7b4600","hex_latitude":"05e17908","is_valid_coordinates":true} 
[2026-08-25 22:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645143552001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499050232807424,"note":"Value kept but may cause issues"} 
[2026-08-25 22:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881450334155636736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787676353000,"timestamp_ms":1787676353000,"timestamp_seconds":1787676353,"priority":1,"record_length":96,"hex_timestamp":"000001a039d061e8"} 
[2026-08-25 22:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:18: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-25 22:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 22:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1455,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645143552001,"66":10156,"216":206,"85":15104,"24":40,"16":124499050232807424,"45":8881450334155636736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-25 22:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645143552001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:18:25] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-25 22:18:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499050232807424,"km_value":124499050232807.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881450334155636736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645143552001,"power":10156,"unknown_216":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8881450334155636736}} 
[2026-08-25 22:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":163287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:18:25] local.INFO: GPS data processed {"connection_id":163287,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:18:25] local.INFO: Acknowledgment sent {"connection_id":163287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:18:38] local.INFO: TCP Data received {"connection_id":162284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:18:38] local.INFO: Processing buffer {"connection_id":162284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:18:38] local.INFO: IMEI packet received {"connection_id":162284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":162284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:18:43] local.INFO: TCP Data received {"connection_id":162284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:18:43] local.INFO: Processing buffer {"connection_id":162284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:18:43] local.INFO: IMEI packet received {"connection_id":162284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":162284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:18:44] local.INFO: TCP Data received {"connection_id":162284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:18:44] local.INFO: Processing buffer {"connection_id":162284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:18:44] local.INFO: Packet analysis {"connection_id":162284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:18:44] local.INFO: Extracted packet for processing {"connection_id":162284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645056256001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:18:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787676302000,"timestamp_ms":1787676302000,"timestamp_seconds":1787676302,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf9ab0"} 
[2026-08-25 22: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-25 22:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:18:44] 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-25 22:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22: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-25 22:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:18: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-25 22:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645056256001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645056256001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645056256001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":162284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:18:44] local.INFO: GPS data processed {"connection_id":162284,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:18:44] local.INFO: Acknowledgment sent {"connection_id":162284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:18:56] local.INFO: TCP Data received {"connection_id":163287,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a039d094b0012d7b4cc005e15650000400a822..."} 
[2026-08-25 22:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d094b0012d7b4cc005e15650000400a822..."} 
[2026-08-25 22:18:56] local.INFO: Processing buffer {"connection_id":163287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d094b0012d7b4cc005e15650000400a822..."} 
[2026-08-25 22:18:56] local.INFO: Packet analysis {"connection_id":163287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:18:56] local.INFO: Extracted packet for processing {"connection_id":163287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763055296,"raw_latitude":98653776,"longitude_deg":76.3055296,"latitude_deg":9.8653776,"altitude":4,"angle":168,"satellites":34,"speed":16,"hex_longitude":"2d7b4cc0","hex_latitude":"05e15650","is_valid_coordinates":true} 
[2026-08-25 22:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645146368001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499488319471616,"note":"Value kept but may cause issues"} 
[2026-08-25 22:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882787340292524032,"note":"Value kept but may cause issues"} 
[2026-08-25 22:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787676366000,"timestamp_ms":1787676366000,"timestamp_seconds":1787676366,"priority":1,"record_length":96,"hex_timestamp":"000001a039d094b0"} 
[2026-08-25 22:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-25 22:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1941,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645146368001,"66":9993,"216":206,"85":15104,"24":16,"16":124499488319471616,"45":8882787340292524032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-25 22:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645146368001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:18:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-25 22:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499488319471616,"km_value":124499488319471.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882787340292524032,"description":"Unknown IO ID 45"} 
[2026-08-25 22:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645146368001,"power":9993,"unknown_216":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8882787340292524032}} 
[2026-08-25 22:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":163287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:18:56] local.INFO: GPS data processed {"connection_id":163287,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:18:56] local.INFO: Acknowledgment sent {"connection_id":163287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:19:16] local.INFO: TCP Data received {"connection_id":162284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:19:16] local.INFO: Processing buffer {"connection_id":162284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:19:16] local.INFO: Packet analysis {"connection_id":162284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:19:16] local.INFO: Extracted packet for processing {"connection_id":162284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645056256001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787676302000,"timestamp_ms":1787676302000,"timestamp_seconds":1787676302,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf9ab0"} 
[2026-08-25 22: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-25 22:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:19:16] 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-25 22: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-25 22: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-25 22:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645056256001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645056256001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645056256001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":162284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:19:16] local.INFO: GPS data processed {"connection_id":162284,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:19:16] local.INFO: Acknowledgment sent {"connection_id":162284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:19:22] local.INFO: TCP Data received {"connection_id":164669,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:19:22] local.INFO: Processing buffer {"connection_id":164669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:19:22] local.INFO: IMEI packet received {"connection_id":164669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":164669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:19:27] local.INFO: TCP Data received {"connection_id":164669,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:19:27] local.INFO: Processing buffer {"connection_id":164669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:19:27] local.INFO: IMEI packet received {"connection_id":164669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":164669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:19:28] local.INFO: TCP Data received {"connection_id":164669,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a039d09c80012d7b4d8005e154080004009721..."} 
[2026-08-25 22:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d09c80012d7b4d8005e154080004009721..."} 
[2026-08-25 22:19:28] local.INFO: Processing buffer {"connection_id":164669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d09c80012d7b4d8005e154080004009721..."} 
[2026-08-25 22:19:28] local.INFO: Packet analysis {"connection_id":164669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:19:28] local.INFO: Extracted packet for processing {"connection_id":164669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763055488,"raw_latitude":98653192,"longitude_deg":76.3055488,"latitude_deg":9.8653192,"altitude":4,"angle":151,"satellites":33,"speed":8,"hex_longitude":"2d7b4d80","hex_latitude":"05e15408","is_valid_coordinates":true} 
[2026-08-25 22:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645149696001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499522679209984,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884687296383045632,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787676368000,"timestamp_ms":1787676368000,"timestamp_seconds":1787676368,"priority":1,"record_length":96,"hex_timestamp":"000001a039d09c80"} 
[2026-08-25 22:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:19:28] 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-25 22:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-25 22:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124497224871706624,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877861528212041728,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832601,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2739315355423801550,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:28] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3880255497,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-08-25 22:19:28] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:28] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2885733727,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:28] local.WARNING: Large IO value detected {"io_id":207,"raw_value":58077557095399454,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:28] local.WARNING: Large IO value detected {"io_id":9,"raw_value":48178401059536896,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:28] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,216,85,24,241,157,16,79,160,97,45,121,4,35,10,66,54,64,159,6,36,78,252,1,240,80,227,57,225,113,205,27,150,88,239,39,207,9],"length":480,"final_offset":610,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-08-25 22:19:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288415240135114752,"timestamp_seconds":288415240135114.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 22:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645149696001,"66":9949,"216":206,"85":15104,"24":8,"16":124499522679209984,"45":8884687296383045632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-25 22:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645149696001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:19:28] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-25 22:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499522679209984,"km_value":124499522679209.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884687296383045632,"description":"Unknown IO ID 45"} 
[2026-08-25 22:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645149696001,"power":9949,"unknown_216":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8884687296383045632}} 
[2026-08-25 22:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":164669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:19:28] local.INFO: GPS data processed {"connection_id":164669,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:19:28] local.INFO: Acknowledgment sent {"connection_id":164669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:19:32] local.INFO: TCP Data received {"connection_id":164669,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a039d0a068012d7b4e4005e153800004008621..."} 
[2026-08-25 22:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d0a068012d7b4e4005e153800004008621..."} 
[2026-08-25 22:19:32] local.INFO: Processing buffer {"connection_id":164669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d0a068012d7b4e4005e153800004008621..."} 
[2026-08-25 22:19:32] local.INFO: Packet analysis {"connection_id":164669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:19:32] local.INFO: Extracted packet for processing {"connection_id":164669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763055680,"raw_latitude":98653056,"longitude_deg":76.305568,"latitude_deg":9.8653056,"altitude":4,"angle":134,"satellites":33,"speed":6,"hex_longitude":"2d7b4e40","hex_latitude":"05e15380","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645150208001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499531269144576,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884898402615429120,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787676369000,"timestamp_ms":1787676369000,"timestamp_seconds":1787676369,"priority":1,"record_length":96,"hex_timestamp":"000001a039d0a068"} 
[2026-08-25 22: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-25 22:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22: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":38,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-25 22:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2377,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":164669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":164669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":164669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645150208001,"66":10123,"216":206,"85":15104,"24":6,"16":124499531269144576,"45":8884898402615429120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-25 22:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645150208001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:19:32] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-25 22:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499531269144576,"km_value":124499531269144.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884898402615429120,"description":"Unknown IO ID 45"} 
[2026-08-25 22:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645150208001,"power":10123,"unknown_216":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8884898402615429120}} 
[2026-08-25 22:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":164669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:19:33] local.INFO: GPS data processed {"connection_id":164669,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:19:33] local.INFO: Acknowledgment sent {"connection_id":164669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:19:38] local.INFO: TCP Data received {"connection_id":163288,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:19:38] local.INFO: Processing buffer {"connection_id":163288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:19:38] local.INFO: IMEI packet received {"connection_id":163288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":163288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:19:44] local.INFO: TCP Data received {"connection_id":163288,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:19:44] local.INFO: Processing buffer {"connection_id":163288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:19:44] local.INFO: IMEI packet received {"connection_id":163288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":163288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:19:45] local.INFO: TCP Data received {"connection_id":163288,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:19:45] local.INFO: Processing buffer {"connection_id":163288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:19:45] local.INFO: Packet analysis {"connection_id":163288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:19:45] local.INFO: Extracted packet for processing {"connection_id":163288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645056256001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787676302000,"timestamp_ms":1787676302000,"timestamp_seconds":1787676302,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf9ab0"} 
[2026-08-25 22:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:19:45] 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-25 22:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:19:45] 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-25 22:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645056256001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645056256001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645056256001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":163288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:19:45] local.INFO: GPS data processed {"connection_id":163288,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:19:45] local.INFO: Acknowledgment sent {"connection_id":163288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:20:10] local.INFO: TCP Data received {"connection_id":163286,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:20:10] local.INFO: Processing buffer {"connection_id":163286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:20:10] local.INFO: IMEI packet received {"connection_id":163286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 22:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":163286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:20:17] local.INFO: TCP Data received {"connection_id":163288,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:20:17] local.INFO: Processing buffer {"connection_id":163288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039cf9ab0012d34c14006aa4818000600e62b..."} 
[2026-08-25 22:20:17] local.INFO: Packet analysis {"connection_id":163288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:20:17] local.INFO: Extracted packet for processing {"connection_id":163288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039cf"} 
[2026-08-25 22:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645056256001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:20:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787676302000,"timestamp_ms":1787676302000,"timestamp_seconds":1787676302,"priority":1,"record_length":96,"hex_timestamp":"000001a039cf9ab0"} 
[2026-08-25 22:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:20:17] 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-25 22:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645056256001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645056256001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:20:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645056256001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":163288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:20:17] local.INFO: GPS data processed {"connection_id":163288,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:20:17] local.INFO: Acknowledgment sent {"connection_id":163288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:20:17] local.INFO: TCP Data received {"connection_id":162285,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:20:17] local.INFO: Processing buffer {"connection_id":162285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:20:17] local.INFO: IMEI packet received {"connection_id":162285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":162285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:20:22] local.INFO: TCP Data received {"connection_id":162285,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:20:22] local.INFO: Processing buffer {"connection_id":162285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:20:22] local.INFO: IMEI packet received {"connection_id":162285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":162285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:20:24] local.INFO: TCP Data received {"connection_id":162285,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a039d0d330012d7b4f8005e151a00004008624..."} 
[2026-08-25 22:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d0d330012d7b4f8005e151a00004008624..."} 
[2026-08-25 22:20:24] local.INFO: Processing buffer {"connection_id":162285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d0d330012d7b4f8005e151a00004008624..."} 
[2026-08-25 22:20:24] local.INFO: Packet analysis {"connection_id":162285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:20:24] local.INFO: Extracted packet for processing {"connection_id":162285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:20:24] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645150464001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885109508847927296,"note":"Value kept but may cause issues"} 
[2026-08-25 22:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787676382000,"timestamp_ms":1787676382000,"timestamp_seconds":1787676382,"priority":1,"record_length":96,"hex_timestamp":"000001a039d0d330"} 
[2026-08-25 22:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:20:24] 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-25 22:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 22:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1644,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645150464001,"66":11471,"216":206,"85":15104,"24":0,"16":124499565628882944,"45":8885109508847927296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-25 22:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645150464001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:20:24] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-25 22:20:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885109508847927296,"description":"Unknown IO ID 45"} 
[2026-08-25 22:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645150464001,"power":11471,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885109508847927296}} 
[2026-08-25 22:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":162285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:20:24] local.INFO: GPS data processed {"connection_id":162285,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:20:24] local.INFO: Acknowledgment sent {"connection_id":162285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:20:38] local.INFO: TCP Data received {"connection_id":162286,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:20:38] local.INFO: Processing buffer {"connection_id":162286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:20:38] local.INFO: IMEI packet received {"connection_id":162286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":162286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:20:41] local.INFO: TCP Data received {"connection_id":162286,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:20:41] local.INFO: Processing buffer {"connection_id":162286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:20:41] local.INFO: IMEI packet received {"connection_id":162286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":162286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:20:44] local.INFO: TCP Data received {"connection_id":162286,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:20:44] local.INFO: Processing buffer {"connection_id":162286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:20:44] local.INFO: IMEI packet received {"connection_id":162286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":162286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:20:45] local.INFO: TCP Data received {"connection_id":162286,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:20:45] local.INFO: Processing buffer {"connection_id":162286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:20:45] local.INFO: Packet analysis {"connection_id":162286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:20:45] local.INFO: Extracted packet for processing {"connection_id":162286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645133312001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:20:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787676603000,"timestamp_ms":1787676603000,"timestamp_seconds":1787676603,"priority":1,"record_length":96,"hex_timestamp":"000001a039d43278"} 
[2026-08-25 22:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:20:45] 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-25 22:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645133312001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645133312001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645133312001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":162286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:20:45] local.INFO: GPS data processed {"connection_id":162286,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:20:45] local.INFO: Acknowledgment sent {"connection_id":162286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:20:55] local.INFO: TCP Data received {"connection_id":162285,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a039d0d330012d7b4f8005e151a00004008624..."} 
[2026-08-25 22:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d0d330012d7b4f8005e151a00004008624..."} 
[2026-08-25 22:20:55] local.INFO: Processing buffer {"connection_id":162285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d0d330012d7b4f8005e151a00004008624..."} 
[2026-08-25 22:20:55] local.INFO: Packet analysis {"connection_id":162285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:20:55] local.INFO: Extracted packet for processing {"connection_id":162285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d0"} 
[2026-08-25 22:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645153792001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787676382000,"timestamp_ms":1787676382000,"timestamp_seconds":1787676382,"priority":1,"record_length":96,"hex_timestamp":"000001a039d0d330"} 
[2026-08-25 22: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-25 22:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 22: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-25 22:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645153792001,"66":11471,"216":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-25 22:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645153792001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:20:55] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-25 22:20:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645153792001,"power":11471,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":162285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:20:55] local.INFO: GPS data processed {"connection_id":162285,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:20:55] local.INFO: Acknowledgment sent {"connection_id":162285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:21:16] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:21:16] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:21:16] local.INFO: IMEI packet received {"connection_id":162057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":162057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:21:16] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:21:16] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:21:16] local.INFO: IMEI packet received {"connection_id":162057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":162057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:21:16] local.INFO: TCP Data received {"connection_id":162286,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:21:16] local.INFO: Processing buffer {"connection_id":162286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:21:16] local.INFO: Packet analysis {"connection_id":162286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:21:16] local.INFO: Extracted packet for processing {"connection_id":162286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645133312001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:21:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787676603000,"timestamp_ms":1787676603000,"timestamp_seconds":1787676603,"priority":1,"record_length":96,"hex_timestamp":"000001a039d43278"} 
[2026-08-25 22:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:21:16] 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-25 22:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645133312001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645133312001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645133312001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":162286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:21:16] local.INFO: GPS data processed {"connection_id":162286,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:21:16] local.INFO: Acknowledgment sent {"connection_id":162286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:21:17] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:21:17] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:21:17] local.INFO: IMEI packet received {"connection_id":162057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":162057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:21:18] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:21:18] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:21:18] local.INFO: IMEI packet received {"connection_id":162057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":162057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:21:39] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:21:39] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:21:39] local.INFO: IMEI packet received {"connection_id":162058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":162058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:21:43] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:21:43] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:21:43] local.INFO: IMEI packet received {"connection_id":162058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":162058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:21:45] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:21:45] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:21:45] local.INFO: Packet analysis {"connection_id":162058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:21:45] local.INFO: Extracted packet for processing {"connection_id":162058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645133312001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:21:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787676603000,"timestamp_ms":1787676603000,"timestamp_seconds":1787676603,"priority":1,"record_length":96,"hex_timestamp":"000001a039d43278"} 
[2026-08-25 22:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:21:45] 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-25 22:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645133312001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645133312001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645133312001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":162058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:21:45] local.INFO: GPS data processed {"connection_id":162058,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:21:45] local.INFO: Acknowledgment sent {"connection_id":162058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:22:16] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:22:16] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:22:16] local.INFO: Packet analysis {"connection_id":162058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:22:16] local.INFO: Extracted packet for processing {"connection_id":162058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645133312001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:22:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787676603000,"timestamp_ms":1787676603000,"timestamp_seconds":1787676603,"priority":1,"record_length":96,"hex_timestamp":"000001a039d43278"} 
[2026-08-25 22:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:22:16] 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-25 22:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645133312001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645133312001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645133312001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":162058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:22:16] local.INFO: GPS data processed {"connection_id":162058,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:22:16] local.INFO: Acknowledgment sent {"connection_id":162058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:22:38] local.INFO: TCP Data received {"connection_id":164670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:22:38] local.INFO: Processing buffer {"connection_id":164670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:22:38] local.INFO: IMEI packet received {"connection_id":164670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":164670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:22:43] local.INFO: TCP Data received {"connection_id":164670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:22:43] local.INFO: Processing buffer {"connection_id":164670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:22:43] local.INFO: IMEI packet received {"connection_id":164670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":164670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:22:44] local.INFO: TCP Data received {"connection_id":164670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:22:44] local.INFO: Processing buffer {"connection_id":164670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:22:44] local.INFO: Packet analysis {"connection_id":164670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:22:44] local.INFO: Extracted packet for processing {"connection_id":164670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645133312001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:22:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787676603000,"timestamp_ms":1787676603000,"timestamp_seconds":1787676603,"priority":1,"record_length":96,"hex_timestamp":"000001a039d43278"} 
[2026-08-25 22:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:22:44] 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-25 22:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:22: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-25 22:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645133312001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645133312001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645133312001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":164670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:22:44] local.INFO: GPS data processed {"connection_id":164670,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:22:44] local.INFO: Acknowledgment sent {"connection_id":164670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:23:16] local.INFO: TCP Data received {"connection_id":164670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:23:16] local.INFO: Processing buffer {"connection_id":164670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:23:16] local.INFO: Packet analysis {"connection_id":164670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:23:16] local.INFO: Extracted packet for processing {"connection_id":164670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 22:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645133312001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:23:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787676603000,"timestamp_ms":1787676603000,"timestamp_seconds":1787676603,"priority":1,"record_length":96,"hex_timestamp":"000001a039d43278"} 
[2026-08-25 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-25 22:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:23:16] 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-25 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-25 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-25 22:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645133312001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645133312001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645133312001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":164670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:23:16] local.INFO: GPS data processed {"connection_id":164670,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:23:16] local.INFO: Acknowledgment sent {"connection_id":164670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:23:38] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:23:38] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:23:38] local.INFO: IMEI packet received {"connection_id":162059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":162059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:23:43] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:23:43] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:23:43] local.INFO: IMEI packet received {"connection_id":162059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":162059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:23:44] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:23:44] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:23:44] local.INFO: Packet analysis {"connection_id":162059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:23:44] local.INFO: Extracted packet for processing {"connection_id":162059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645133312001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:23:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787676603000,"timestamp_ms":1787676603000,"timestamp_seconds":1787676603,"priority":1,"record_length":96,"hex_timestamp":"000001a039d43278"} 
[2026-08-25 22:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:23:44] 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-25 22:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:23: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-25 22:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645133312001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645133312001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645133312001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":162059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:23:44] local.INFO: GPS data processed {"connection_id":162059,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:23:44] local.INFO: Acknowledgment sent {"connection_id":162059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:24:16] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:24:16] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:24:16] local.INFO: Packet analysis {"connection_id":162059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:24:16] local.INFO: Extracted packet for processing {"connection_id":162059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645133312001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:24:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787676603000,"timestamp_ms":1787676603000,"timestamp_seconds":1787676603,"priority":1,"record_length":96,"hex_timestamp":"000001a039d43278"} 
[2026-08-25 22: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-25 22:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:24:16] 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-25 22: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-25 22: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-25 22:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645133312001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645133312001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645133312001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":162059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:24:16] local.INFO: GPS data processed {"connection_id":162059,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:24:16] local.INFO: Acknowledgment sent {"connection_id":162059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:24:38] local.INFO: TCP Data received {"connection_id":164672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:24:38] local.INFO: Processing buffer {"connection_id":164672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:24:38] local.INFO: IMEI packet received {"connection_id":164672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":164672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:24:43] local.INFO: TCP Data received {"connection_id":164672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:24:43] local.INFO: Processing buffer {"connection_id":164672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:24:43] local.INFO: IMEI packet received {"connection_id":164672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":164672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:24:45] local.INFO: TCP Data received {"connection_id":164672,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:24:45] local.INFO: Processing buffer {"connection_id":164672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:24:45] local.INFO: Packet analysis {"connection_id":164672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:24:45] local.INFO: Extracted packet for processing {"connection_id":164672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645133312001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:24:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787676603000,"timestamp_ms":1787676603000,"timestamp_seconds":1787676603,"priority":1,"record_length":96,"hex_timestamp":"000001a039d43278"} 
[2026-08-25 22: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-25 22:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:24:45] 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-25 22: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-25 22: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-25 22:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645133312001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645133312001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645133312001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":164672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:24:45] local.INFO: GPS data processed {"connection_id":164672,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:24:45] local.INFO: Acknowledgment sent {"connection_id":164672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:25:16] local.INFO: TCP Data received {"connection_id":164672,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:25:16] local.INFO: Processing buffer {"connection_id":164672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d43278012d34c14006aa4818000a00e62d..."} 
[2026-08-25 22:25:16] local.INFO: Packet analysis {"connection_id":164672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:25:16] local.INFO: Extracted packet for processing {"connection_id":164672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d4"} 
[2026-08-25 22:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645133312001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:25:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787676603000,"timestamp_ms":1787676603000,"timestamp_seconds":1787676603,"priority":1,"record_length":96,"hex_timestamp":"000001a039d43278"} 
[2026-08-25 22:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-25 22:25:16] 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-25 22:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645133312001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645133312001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645133312001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":164672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:25:16] local.INFO: GPS data processed {"connection_id":164672,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:25:16] local.INFO: Acknowledgment sent {"connection_id":164672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:25:41] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:25:41] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:25:41] local.INFO: IMEI packet received {"connection_id":162060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":162060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:25:43] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:25:43] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:25:43] local.INFO: IMEI packet received {"connection_id":162060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":162060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:25:44] local.INFO: TCP Data received {"connection_id":164671,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:25:44] local.INFO: Processing buffer {"connection_id":164671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:25:44] local.INFO: IMEI packet received {"connection_id":164671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 22:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":164671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:25:48] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:25:48] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:25:48] local.INFO: IMEI packet received {"connection_id":162060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":162060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:25:50] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:25:50] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:25:50] local.INFO: Packet analysis {"connection_id":162060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:25:50] local.INFO: Extracted packet for processing {"connection_id":162060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:25:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 22:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645210368001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:25:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787676904000,"timestamp_ms":1787676904000,"timestamp_seconds":1787676904,"priority":1,"record_length":96,"hex_timestamp":"000001a039d8ca40"} 
[2026-08-25 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-25 22:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:25:50] 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-25 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-25 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-25 22:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:25: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-25 22:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645210368001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645210368001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:25:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645210368001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":162060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:25:50] local.INFO: GPS data processed {"connection_id":162060,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:25:50] local.INFO: Acknowledgment sent {"connection_id":162060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:25:51] local.INFO: TCP Data received {"connection_id":162288,"ip":"66.132.195.93","data_length":243,"data_hex":"16030100ee010000ea0303409dcb8bdbbe0b458c05f1426604d7a6e8a2d062c6..."} 
[2026-08-25 22:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162288,"packet_length":243,"packet_hex":"16030100ee010000ea0303409dcb8bdbbe0b458c05f1426604d7a6e8a2d062c6..."} 
[2026-08-25 22:25:51] local.INFO: Processing buffer {"connection_id":162288,"buffer_length":243,"buffer_hex":"16030100ee010000ea0303409dcb8bdbbe0b458c05f1426604d7a6e8a2d062c6..."} 
[2026-08-25 22:25:51] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162288,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea0303409dcb8bdb"} 
[2026-08-25 22:25:54] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:25:54] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:25:54] local.INFO: Packet analysis {"connection_id":162060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:25:54] local.INFO: Extracted packet for processing {"connection_id":162060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:25:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645210368001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:25:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787676904000,"timestamp_ms":1787676904000,"timestamp_seconds":1787676904,"priority":1,"record_length":96,"hex_timestamp":"000001a039d8ca40"} 
[2026-08-25 22:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:25:54] 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-25 22:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:25: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-25 22:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645210368001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645210368001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:25:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645210368001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":162060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:25:54] local.INFO: GPS data processed {"connection_id":162060,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:25:54] local.INFO: Acknowledgment sent {"connection_id":162060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:26:22] local.INFO: TCP Data received {"connection_id":163290,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:26:22] local.INFO: Processing buffer {"connection_id":163290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:26:22] local.INFO: IMEI packet received {"connection_id":163290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":163290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:26:24] local.INFO: TCP Data received {"connection_id":163290,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039d63a00012d7b508005e151c00004008624..."} 
[2026-08-25 22:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d63a00012d7b508005e151c00004008624..."} 
[2026-08-25 22:26:24] local.INFO: Processing buffer {"connection_id":163290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d63a00012d7b508005e151c00004008624..."} 
[2026-08-25 22:26:24] local.INFO: Packet analysis {"connection_id":163290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d6"} 
[2026-08-25 22:26:24] local.INFO: Extracted packet for processing {"connection_id":163290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d6"} 
[2026-08-25 22:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763056256,"raw_latitude":98652608,"longitude_deg":76.3056256,"latitude_deg":9.8652608,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b5080","hex_latitude":"05e151c0","is_valid_coordinates":true} 
[2026-08-25 22:26:24] 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-25 22:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645244416001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885742827545411584,"note":"Value kept but may cause issues"} 
[2026-08-25 22:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787676736000,"timestamp_ms":1787676736000,"timestamp_seconds":1787676736,"priority":1,"record_length":96,"hex_timestamp":"000001a039d63a00"} 
[2026-08-25 22:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:26:24] 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-25 22:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":31,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-25 22:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645244416001,"66":8101,"216":206,"85":15104,"24":0,"16":124499565628882944,"45":8885742827545411584},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-25 22:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645244416001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:26:24] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-25 22:26:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885742827545411584,"description":"Unknown IO ID 45"} 
[2026-08-25 22:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645244416001,"power":8101,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885742827545411584}} 
[2026-08-25 22:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":163290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:26:24] local.INFO: GPS data processed {"connection_id":163290,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:26:24] local.INFO: Acknowledgment sent {"connection_id":163290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:26:38] local.INFO: TCP Data received {"connection_id":164673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:26:38] local.INFO: Processing buffer {"connection_id":164673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:26:38] local.INFO: IMEI packet received {"connection_id":164673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":164673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:26:43] local.INFO: TCP Data received {"connection_id":164673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:26:43] local.INFO: Processing buffer {"connection_id":164673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:26:43] local.INFO: IMEI packet received {"connection_id":164673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":164673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:26:45] local.INFO: TCP Data received {"connection_id":164673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:26:45] local.INFO: Processing buffer {"connection_id":164673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:26:45] local.INFO: Packet analysis {"connection_id":164673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:26:45] local.INFO: Extracted packet for processing {"connection_id":164673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645210368001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:26:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787676904000,"timestamp_ms":1787676904000,"timestamp_seconds":1787676904,"priority":1,"record_length":96,"hex_timestamp":"000001a039d8ca40"} 
[2026-08-25 22:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:26:45] 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-25 22:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645210368001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645210368001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645210368001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":164673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:26:45] local.INFO: GPS data processed {"connection_id":164673,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:26:45] local.INFO: Acknowledgment sent {"connection_id":164673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:26:55] local.INFO: TCP Data received {"connection_id":163290,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039d645b8012d7b4f8005e151a00004008627..."} 
[2026-08-25 22:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d645b8012d7b4f8005e151a00004008627..."} 
[2026-08-25 22:26:55] local.INFO: Processing buffer {"connection_id":163290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d645b8012d7b4f8005e151a00004008627..."} 
[2026-08-25 22:26:55] local.INFO: Packet analysis {"connection_id":163290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d6"} 
[2026-08-25 22:26:55] local.INFO: Extracted packet for processing {"connection_id":163290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d6"} 
[2026-08-25 22:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":39,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645244416001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885742827545411584,"note":"Value kept but may cause issues"} 
[2026-08-25 22:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787676739000,"timestamp_ms":1787676739000,"timestamp_seconds":1787676739,"priority":1,"record_length":96,"hex_timestamp":"000001a039d645b8"} 
[2026-08-25 22: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-25 22:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":31,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-25 22:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645244416001,"66":11895,"216":206,"85":15104,"24":0,"16":124499565628882944,"45":8885742827545411584},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-25 22:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645244416001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:26:55] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-25 22:26:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885742827545411584,"description":"Unknown IO ID 45"} 
[2026-08-25 22:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645244416001,"power":11895,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885742827545411584}} 
[2026-08-25 22:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":163290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:26:55] local.INFO: GPS data processed {"connection_id":163290,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:26:55] local.INFO: Acknowledgment sent {"connection_id":163290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:27:12] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:27:12] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:27:12] local.INFO: IMEI packet received {"connection_id":162290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":162290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:27:16] local.INFO: TCP Data received {"connection_id":164673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:27:16] local.INFO: Processing buffer {"connection_id":164673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:27:16] local.INFO: Packet analysis {"connection_id":164673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:27:16] local.INFO: Extracted packet for processing {"connection_id":164673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645210368001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787676904000,"timestamp_ms":1787676904000,"timestamp_seconds":1787676904,"priority":1,"record_length":96,"hex_timestamp":"000001a039d8ca40"} 
[2026-08-25 22:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:27:16] 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-25 22:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645210368001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645210368001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645210368001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":164673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:27:16] local.INFO: GPS data processed {"connection_id":164673,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:27:16] local.INFO: Acknowledgment sent {"connection_id":164673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:27:17] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:27:17] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:27:17] local.INFO: IMEI packet received {"connection_id":162290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":162290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:27:22] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:27:22] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:27:22] local.INFO: IMEI packet received {"connection_id":162290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":162290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:27:23] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039dab288012d7b4f8005e151a00004008623..."} 
[2026-08-25 22:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dab288012d7b4f8005e151a00004008623..."} 
[2026-08-25 22:27:23] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dab288012d7b4f8005e151a00004008623..."} 
[2026-08-25 22:27:23] local.INFO: Packet analysis {"connection_id":162290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039da"} 
[2026-08-25 22:27:23] local.INFO: Extracted packet for processing {"connection_id":162290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039da"} 
[2026-08-25 22:27:23] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":35,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:27:23] 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-25 22:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645319424001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787677029000,"timestamp_ms":1787677029000,"timestamp_seconds":1787677029,"priority":1,"record_length":96,"hex_timestamp":"000001a039dab288"} 
[2026-08-25 22:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":25,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-25 22:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":764,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645319424001,"66":6449,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645319424001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:27:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:27:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645319424001,"power":6449,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":162290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:27:23] local.INFO: GPS data processed {"connection_id":162290,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:27:23] local.INFO: Acknowledgment sent {"connection_id":162290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:27:27] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039dab288012d7b4f8005e151a00004008623..."} 
[2026-08-25 22:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dab288012d7b4f8005e151a00004008623..."} 
[2026-08-25 22:27:27] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dab288012d7b4f8005e151a00004008623..."} 
[2026-08-25 22:27:27] local.INFO: Packet analysis {"connection_id":162290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039da"} 
[2026-08-25 22:27:27] local.INFO: Extracted packet for processing {"connection_id":162290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039da"} 
[2026-08-25 22:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":35,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:27: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-25 22:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645319424001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787677029000,"timestamp_ms":1787677029000,"timestamp_seconds":1787677029,"priority":1,"record_length":96,"hex_timestamp":"000001a039dab288"} 
[2026-08-25 22: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-25 22:27:27] 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-25 22: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":25,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-25 22:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":764,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645319424001,"66":6449,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645319424001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:27:27] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645319424001,"power":6449,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":162290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:27:27] local.INFO: GPS data processed {"connection_id":162290,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:27:27] local.INFO: Acknowledgment sent {"connection_id":162290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:27:38] local.INFO: TCP Data received {"connection_id":162061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:27:38] local.INFO: Processing buffer {"connection_id":162061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:27:38] local.INFO: IMEI packet received {"connection_id":162061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":162061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:27:43] local.INFO: TCP Data received {"connection_id":162061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:27:43] local.INFO: Processing buffer {"connection_id":162061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:27:43] local.INFO: IMEI packet received {"connection_id":162061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":162061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:27:45] local.INFO: TCP Data received {"connection_id":162061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:27:45] local.INFO: Processing buffer {"connection_id":162061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:27:45] local.INFO: Packet analysis {"connection_id":162061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:27:45] local.INFO: Extracted packet for processing {"connection_id":162061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645210368001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787676904000,"timestamp_ms":1787676904000,"timestamp_seconds":1787676904,"priority":1,"record_length":96,"hex_timestamp":"000001a039d8ca40"} 
[2026-08-25 22:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:27:45] 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-25 22:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645210368001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645210368001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:27:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645210368001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":162061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:27:45] local.INFO: GPS data processed {"connection_id":162061,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:27:45] local.INFO: Acknowledgment sent {"connection_id":162061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:27:59] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039db4ec8012d7b4f8005e151a00004008624..."} 
[2026-08-25 22:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039db4ec8012d7b4f8005e151a00004008624..."} 
[2026-08-25 22:27:59] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039db4ec8012d7b4f8005e151a00004008624..."} 
[2026-08-25 22:27:59] local.INFO: Packet analysis {"connection_id":162290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:27:59] local.INFO: Extracted packet for processing {"connection_id":162290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:27:59] 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-25 22:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645329664001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787677069000,"timestamp_ms":1787677069000,"timestamp_seconds":1787677069,"priority":1,"record_length":96,"hex_timestamp":"000001a039db4ec8"} 
[2026-08-25 22:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:27:59] 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-25 22:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":30,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 22:27:59] 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-25 22:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645329664001,"66":7721,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645329664001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:27:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:27:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645329664001,"power":7721,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":162290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:27:59] local.INFO: GPS data processed {"connection_id":162290,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:27:59] local.INFO: Acknowledgment sent {"connection_id":162290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:28:16] local.INFO: TCP Data received {"connection_id":162061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:28:16] local.INFO: Processing buffer {"connection_id":162061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:28:16] local.INFO: Packet analysis {"connection_id":162061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:28:16] local.INFO: Extracted packet for processing {"connection_id":162061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645210368001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:28:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787676904000,"timestamp_ms":1787676904000,"timestamp_seconds":1787676904,"priority":1,"record_length":96,"hex_timestamp":"000001a039d8ca40"} 
[2026-08-25 22:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:28:16] 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-25 22:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645210368001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645210368001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645210368001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":162061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:28:16] local.INFO: GPS data processed {"connection_id":162061,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:28:16] local.INFO: Acknowledgment sent {"connection_id":162061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:28:17] local.INFO: TCP Data received {"connection_id":163292,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:28:17] local.INFO: Processing buffer {"connection_id":163292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:28:17] local.INFO: IMEI packet received {"connection_id":163292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":163292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:28:22] local.INFO: TCP Data received {"connection_id":163292,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:28:22] local.INFO: Processing buffer {"connection_id":163292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:28:22] local.INFO: IMEI packet received {"connection_id":163292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":163292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:28:23] local.INFO: TCP Data received {"connection_id":163292,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:28:23] local.INFO: Processing buffer {"connection_id":163292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:28:23] local.INFO: Packet analysis {"connection_id":163292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:28:23] local.INFO: Extracted packet for processing {"connection_id":163292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":37,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645329664001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787677072000,"timestamp_ms":1787677072000,"timestamp_seconds":1787677072,"priority":1,"record_length":96,"hex_timestamp":"000001a039db5a80"} 
[2026-08-25 22:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":30,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-25 22:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645329664001,"66":11895,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645329664001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:28:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:28:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645329664001,"power":11895,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":163292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:28:23] local.INFO: GPS data processed {"connection_id":163292,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:28:23] local.INFO: Acknowledgment sent {"connection_id":163292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:28:48] local.INFO: TCP Data received {"connection_id":162062,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:28:48] local.INFO: Processing buffer {"connection_id":162062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:28:48] local.INFO: IMEI packet received {"connection_id":162062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":162062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:28:54] local.INFO: TCP Data received {"connection_id":162062,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:28:54] local.INFO: Processing buffer {"connection_id":162062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:28:54] local.INFO: IMEI packet received {"connection_id":162062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":162062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:28:54] local.INFO: TCP Data received {"connection_id":163292,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:28:54] local.INFO: Processing buffer {"connection_id":163292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:28:54] local.INFO: Packet analysis {"connection_id":163292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:28:54] local.INFO: Extracted packet for processing {"connection_id":163292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":37,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787677072000,"timestamp_ms":1787677072000,"timestamp_seconds":1787677072,"priority":1,"record_length":96,"hex_timestamp":"000001a039db5a80"} 
[2026-08-25 22:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":11895,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:28:54] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:28:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":11895,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":163292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:28:54] local.INFO: GPS data processed {"connection_id":163292,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:28:54] local.INFO: Acknowledgment sent {"connection_id":163292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:28:55] local.INFO: TCP Data received {"connection_id":162062,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:28:55] local.INFO: Processing buffer {"connection_id":162062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:28:55] local.INFO: Packet analysis {"connection_id":162062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:28:55] local.INFO: Extracted packet for processing {"connection_id":162062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:28:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645210368001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:28:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787676904000,"timestamp_ms":1787676904000,"timestamp_seconds":1787676904,"priority":1,"record_length":96,"hex_timestamp":"000001a039d8ca40"} 
[2026-08-25 22:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:28:55] 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-25 22:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645210368001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645210368001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:28:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645210368001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":162062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:28:55] local.INFO: GPS data processed {"connection_id":162062,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:28:55] local.INFO: Acknowledgment sent {"connection_id":162062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:29:17] local.INFO: TCP Data received {"connection_id":162291,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:29:17] local.INFO: Processing buffer {"connection_id":162291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:29:17] local.INFO: IMEI packet received {"connection_id":162291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":162291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:29:22] local.INFO: TCP Data received {"connection_id":162291,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:29:22] local.INFO: Processing buffer {"connection_id":162291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:29:22] local.INFO: IMEI packet received {"connection_id":162291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":162291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:29:23] local.INFO: TCP Data received {"connection_id":162291,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:29:23] local.INFO: Processing buffer {"connection_id":162291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:29:23] local.INFO: Packet analysis {"connection_id":162291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:29:23] local.INFO: Extracted packet for processing {"connection_id":162291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:29:23] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":37,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:29:23] 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-25 22:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787677072000,"timestamp_ms":1787677072000,"timestamp_seconds":1787677072,"priority":1,"record_length":96,"hex_timestamp":"000001a039db5a80"} 
[2026-08-25 22:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":11895,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:29:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:29:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":11895,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":162291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:29:23] local.INFO: GPS data processed {"connection_id":162291,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:29:23] local.INFO: Acknowledgment sent {"connection_id":162291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:29:44] local.INFO: TCP Data received {"connection_id":162063,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:29:44] local.INFO: Processing buffer {"connection_id":162063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:29:44] local.INFO: IMEI packet received {"connection_id":162063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":162063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:29:49] local.INFO: TCP Data received {"connection_id":162063,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:29:49] local.INFO: Processing buffer {"connection_id":162063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:29:49] local.INFO: IMEI packet received {"connection_id":162063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":162063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:29:50] local.INFO: TCP Data received {"connection_id":162063,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:29:50] local.INFO: Processing buffer {"connection_id":162063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:29:50] local.INFO: Packet analysis {"connection_id":162063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:29:50] local.INFO: Extracted packet for processing {"connection_id":162063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:29:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645210368001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:29:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787676904000,"timestamp_ms":1787676904000,"timestamp_seconds":1787676904,"priority":1,"record_length":96,"hex_timestamp":"000001a039d8ca40"} 
[2026-08-25 22: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-25 22:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:29:50] 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-25 22: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-25 22: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-25 22:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645210368001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645210368001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:29:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645210368001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":162063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:29:50] local.INFO: GPS data processed {"connection_id":162063,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:29:50] local.INFO: Acknowledgment sent {"connection_id":162063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:29:54] local.INFO: TCP Data received {"connection_id":162063,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:29:54] local.INFO: Processing buffer {"connection_id":162063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039d8ca40012d34c14006aa4818000500e62b..."} 
[2026-08-25 22:29:54] local.INFO: Packet analysis {"connection_id":162063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:29:54] local.INFO: Extracted packet for processing {"connection_id":162063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039d8"} 
[2026-08-25 22:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645210368001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:29:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787676904000,"timestamp_ms":1787676904000,"timestamp_seconds":1787676904,"priority":1,"record_length":96,"hex_timestamp":"000001a039d8ca40"} 
[2026-08-25 22:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:29:54] 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-25 22:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645210368001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645210368001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645210368001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":162063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:29:54] local.INFO: GPS data processed {"connection_id":162063,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:29:54] local.INFO: Acknowledgment sent {"connection_id":162063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:29:54] local.INFO: TCP Data received {"connection_id":162291,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:29:54] local.INFO: Processing buffer {"connection_id":162291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:29:54] local.INFO: Packet analysis {"connection_id":162291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:29:54] local.INFO: Extracted packet for processing {"connection_id":162291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":37,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787677072000,"timestamp_ms":1787677072000,"timestamp_seconds":1787677072,"priority":1,"record_length":96,"hex_timestamp":"000001a039db5a80"} 
[2026-08-25 22:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":11895,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:29:54] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:29:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":11895,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":162291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:29:55] local.INFO: GPS data processed {"connection_id":162291,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:29:55] local.INFO: Acknowledgment sent {"connection_id":162291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:30:18] local.INFO: TCP Data received {"connection_id":163293,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:30:18] local.INFO: Processing buffer {"connection_id":163293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:30:18] local.INFO: IMEI packet received {"connection_id":163293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":163293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:30:22] local.INFO: TCP Data received {"connection_id":163293,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:30:22] local.INFO: Processing buffer {"connection_id":163293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:30:22] local.INFO: IMEI packet received {"connection_id":163293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":163293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:30:23] local.INFO: TCP Data received {"connection_id":163293,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:30:23] local.INFO: Processing buffer {"connection_id":163293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:30:23] local.INFO: Packet analysis {"connection_id":163293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:30:23] local.INFO: Extracted packet for processing {"connection_id":163293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":37,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:30:23] 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-25 22:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787677072000,"timestamp_ms":1787677072000,"timestamp_seconds":1787677072,"priority":1,"record_length":96,"hex_timestamp":"000001a039db5a80"} 
[2026-08-25 22:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":11895,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:30:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:30:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":11895,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":163293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:30:23] local.INFO: GPS data processed {"connection_id":163293,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:30:23] local.INFO: Acknowledgment sent {"connection_id":163293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:30:39] local.INFO: TCP Data received {"connection_id":163294,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:30:39] local.INFO: Processing buffer {"connection_id":163294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:30:39] local.INFO: IMEI packet received {"connection_id":163294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":163294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:30:42] local.INFO: TCP Data received {"connection_id":163294,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:30:42] local.INFO: Processing buffer {"connection_id":163294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:30:42] local.INFO: IMEI packet received {"connection_id":163294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":163294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:30:44] local.INFO: TCP Data received {"connection_id":163294,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:30:44] local.INFO: Processing buffer {"connection_id":163294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:30:44] local.INFO: Packet analysis {"connection_id":163294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:30:44] local.INFO: Extracted packet for processing {"connection_id":163294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645287424001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:30:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787677205000,"timestamp_ms":1787677205000,"timestamp_seconds":1787677205,"priority":1,"record_length":96,"hex_timestamp":"000001a039dd6208"} 
[2026-08-25 22: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-25 22:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:30:44] 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-25 22: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-25 22: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-25 22:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645287424001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645287424001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645287424001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":163294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:30:44] local.INFO: GPS data processed {"connection_id":163294,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:30:44] local.INFO: Acknowledgment sent {"connection_id":163294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:30:54] local.INFO: TCP Data received {"connection_id":163293,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:30:54] local.INFO: Processing buffer {"connection_id":163293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:30:54] local.INFO: Packet analysis {"connection_id":163293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:30:54] local.INFO: Extracted packet for processing {"connection_id":163293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":37,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787677072000,"timestamp_ms":1787677072000,"timestamp_seconds":1787677072,"priority":1,"record_length":96,"hex_timestamp":"000001a039db5a80"} 
[2026-08-25 22:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":11895,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:30:54] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:30:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":11895,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":163293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:30:54] local.INFO: GPS data processed {"connection_id":163293,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:30:54] local.INFO: Acknowledgment sent {"connection_id":163293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:31:15] local.INFO: TCP Data received {"connection_id":163294,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:31:15] local.INFO: Processing buffer {"connection_id":163294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:31:15] local.INFO: Packet analysis {"connection_id":163294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:31:15] local.INFO: Extracted packet for processing {"connection_id":163294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645287424001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:31:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787677205000,"timestamp_ms":1787677205000,"timestamp_seconds":1787677205,"priority":1,"record_length":96,"hex_timestamp":"000001a039dd6208"} 
[2026-08-25 22:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:31:15] 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-25 22:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645287424001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645287424001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645287424001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":163294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:31:15] local.INFO: GPS data processed {"connection_id":163294,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:31:15] local.INFO: Acknowledgment sent {"connection_id":163294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:31:17] local.INFO: TCP Data received {"connection_id":164674,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:31:17] local.INFO: Processing buffer {"connection_id":164674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:31:17] local.INFO: IMEI packet received {"connection_id":164674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":164674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:31:22] local.INFO: TCP Data received {"connection_id":164674,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:31:22] local.INFO: Processing buffer {"connection_id":164674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:31:22] local.INFO: IMEI packet received {"connection_id":164674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":164674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:31:23] local.INFO: TCP Data received {"connection_id":164674,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:31:23] local.INFO: Processing buffer {"connection_id":164674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:31:23] local.INFO: Packet analysis {"connection_id":164674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:31:23] local.INFO: Extracted packet for processing {"connection_id":164674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:31:23] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":37,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:31:23] 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-25 22:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787677072000,"timestamp_ms":1787677072000,"timestamp_seconds":1787677072,"priority":1,"record_length":96,"hex_timestamp":"000001a039db5a80"} 
[2026-08-25 22:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":11895,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:31:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:31:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":11895,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":164674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:31:23] local.INFO: GPS data processed {"connection_id":164674,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:31:23] local.INFO: Acknowledgment sent {"connection_id":164674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:31:36] local.INFO: TCP Data received {"connection_id":163291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:31:36] local.INFO: Processing buffer {"connection_id":163291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:31:36] local.INFO: IMEI packet received {"connection_id":163291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 22:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":163291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:31:38] local.INFO: TCP Data received {"connection_id":164675,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:31:38] local.INFO: Processing buffer {"connection_id":164675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:31:38] local.INFO: IMEI packet received {"connection_id":164675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":164675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:31:44] local.INFO: TCP Data received {"connection_id":164675,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:31:44] local.INFO: Processing buffer {"connection_id":164675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:31:44] local.INFO: IMEI packet received {"connection_id":164675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":164675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:31:45] local.INFO: TCP Data received {"connection_id":164675,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:31:45] local.INFO: Processing buffer {"connection_id":164675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:31:45] local.INFO: Packet analysis {"connection_id":164675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:31:45] local.INFO: Extracted packet for processing {"connection_id":164675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645287424001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:31:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787677205000,"timestamp_ms":1787677205000,"timestamp_seconds":1787677205,"priority":1,"record_length":96,"hex_timestamp":"000001a039dd6208"} 
[2026-08-25 22:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:31:45] 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-25 22:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645287424001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645287424001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645287424001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":164675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:31:45] local.INFO: GPS data processed {"connection_id":164675,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:31:45] local.INFO: Acknowledgment sent {"connection_id":164675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:31:54] local.INFO: TCP Data received {"connection_id":164674,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:31:54] local.INFO: Processing buffer {"connection_id":164674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:31:54] local.INFO: Packet analysis {"connection_id":164674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:31:54] local.INFO: Extracted packet for processing {"connection_id":164674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":37,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787677072000,"timestamp_ms":1787677072000,"timestamp_seconds":1787677072,"priority":1,"record_length":96,"hex_timestamp":"000001a039db5a80"} 
[2026-08-25 22: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-25 22:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":11895,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:31:54] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:31:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":11895,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":164674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:31:54] local.INFO: GPS data processed {"connection_id":164674,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:31:54] local.INFO: Acknowledgment sent {"connection_id":164674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:32:17] local.INFO: TCP Data received {"connection_id":164675,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:32:17] local.INFO: Processing buffer {"connection_id":164675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:32:17] local.INFO: Packet analysis {"connection_id":164675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:32:17] local.INFO: Extracted packet for processing {"connection_id":164675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645287424001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:32:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787677205000,"timestamp_ms":1787677205000,"timestamp_seconds":1787677205,"priority":1,"record_length":96,"hex_timestamp":"000001a039dd6208"} 
[2026-08-25 22: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-25 22:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:32:17] 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-25 22: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-25 22: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-25 22:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645287424001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645287424001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:32:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645287424001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":164675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:32:17] local.INFO: GPS data processed {"connection_id":164675,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:32:17] local.INFO: Acknowledgment sent {"connection_id":164675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:32:17] local.INFO: TCP Data received {"connection_id":163295,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:32:17] local.INFO: Processing buffer {"connection_id":163295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:32:17] local.INFO: IMEI packet received {"connection_id":163295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":163295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:32:22] local.INFO: TCP Data received {"connection_id":163295,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:32:22] local.INFO: Processing buffer {"connection_id":163295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:32:22] local.INFO: IMEI packet received {"connection_id":163295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":163295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:32:23] local.INFO: TCP Data received {"connection_id":163295,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:32:23] local.INFO: Processing buffer {"connection_id":163295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039db5a80012d7b4f8005e151a00004008625..."} 
[2026-08-25 22:32:23] local.INFO: Packet analysis {"connection_id":163295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:32:23] local.INFO: Extracted packet for processing {"connection_id":163295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039db"} 
[2026-08-25 22:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":98652576,"longitude_deg":76.3056,"latitude_deg":9.8652576,"altitude":4,"angle":134,"satellites":37,"speed":0,"hex_longitude":"2d7b4f80","hex_latitude":"05e151a0","is_valid_coordinates":true} 
[2026-08-25 22:32:23] 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-25 22:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787677072000,"timestamp_ms":1787677072000,"timestamp_seconds":1787677072,"priority":1,"record_length":96,"hex_timestamp":"000001a039db5a80"} 
[2026-08-25 22:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":11895,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:32:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:32:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":11895,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":163295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:32:23] local.INFO: GPS data processed {"connection_id":163295,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:32:23] local.INFO: Acknowledgment sent {"connection_id":163295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:32:38] local.INFO: TCP Data received {"connection_id":164676,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:32:38] local.INFO: Processing buffer {"connection_id":164676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:32:38] local.INFO: IMEI packet received {"connection_id":164676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":164676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:32:44] local.INFO: TCP Data received {"connection_id":164676,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:32:44] local.INFO: Processing buffer {"connection_id":164676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:32:44] local.INFO: IMEI packet received {"connection_id":164676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":164676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:32:45] local.INFO: TCP Data received {"connection_id":164676,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:32:45] local.INFO: Processing buffer {"connection_id":164676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:32:45] local.INFO: Packet analysis {"connection_id":164676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:32:45] local.INFO: Extracted packet for processing {"connection_id":164676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645287424001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:32:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787677205000,"timestamp_ms":1787677205000,"timestamp_seconds":1787677205,"priority":1,"record_length":96,"hex_timestamp":"000001a039dd6208"} 
[2026-08-25 22:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:32:45] 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-25 22:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645287424001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645287424001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645287424001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":164676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:32:45] local.INFO: GPS data processed {"connection_id":164676,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:32:45] local.INFO: Acknowledgment sent {"connection_id":164676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:32:55] local.INFO: TCP Data received {"connection_id":163295,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:32:55] local.INFO: Processing buffer {"connection_id":163295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:32:55] local.INFO: Packet analysis {"connection_id":163295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:32:55] local.INFO: Extracted packet for processing {"connection_id":163295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787677371000,"timestamp_ms":1787677371000,"timestamp_seconds":1787677371,"priority":1,"record_length":96,"hex_timestamp":"000001a039dfea78"} 
[2026-08-25 22: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-25 22:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":2242,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:32:55] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":2242,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":163295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:32:55] local.INFO: GPS data processed {"connection_id":163295,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:32:55] local.INFO: Acknowledgment sent {"connection_id":163295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:33:16] local.INFO: TCP Data received {"connection_id":164676,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:33:16] local.INFO: Processing buffer {"connection_id":164676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:33:16] local.INFO: Packet analysis {"connection_id":164676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:33:16] local.INFO: Extracted packet for processing {"connection_id":164676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645287424001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:33:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787677205000,"timestamp_ms":1787677205000,"timestamp_seconds":1787677205,"priority":1,"record_length":96,"hex_timestamp":"000001a039dd6208"} 
[2026-08-25 22:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:33:16] 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-25 22:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645287424001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645287424001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645287424001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":164676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:33:16] local.INFO: GPS data processed {"connection_id":164676,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:33:16] local.INFO: Acknowledgment sent {"connection_id":164676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:33:22] local.INFO: TCP Data received {"connection_id":163296,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:33:22] local.INFO: Processing buffer {"connection_id":163296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:33:22] local.INFO: IMEI packet received {"connection_id":163296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":163296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:33:27] local.INFO: TCP Data received {"connection_id":163296,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:33:27] local.INFO: Processing buffer {"connection_id":163296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:33:27] local.INFO: IMEI packet received {"connection_id":163296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":163296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:33:28] local.INFO: TCP Data received {"connection_id":163296,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:33:28] local.INFO: Processing buffer {"connection_id":163296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:33:28] local.INFO: Packet analysis {"connection_id":163296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:33:28] local.INFO: Extracted packet for processing {"connection_id":163296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787677371000,"timestamp_ms":1787677371000,"timestamp_seconds":1787677371,"priority":1,"record_length":96,"hex_timestamp":"000001a039dfea78"} 
[2026-08-25 22:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":2242,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:33:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":2242,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":163296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:33:28] local.INFO: GPS data processed {"connection_id":163296,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:33:28] local.INFO: Acknowledgment sent {"connection_id":163296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:33:38] local.INFO: TCP Data received {"connection_id":162292,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:33:38] local.INFO: Processing buffer {"connection_id":162292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:33:38] local.INFO: IMEI packet received {"connection_id":162292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":162292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:33:44] local.INFO: TCP Data received {"connection_id":162292,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:33:44] local.INFO: Processing buffer {"connection_id":162292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:33:44] local.INFO: IMEI packet received {"connection_id":162292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":162292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:33:45] local.INFO: TCP Data received {"connection_id":162292,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:33:45] local.INFO: Processing buffer {"connection_id":162292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:33:45] local.INFO: Packet analysis {"connection_id":162292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:33:45] local.INFO: Extracted packet for processing {"connection_id":162292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645287424001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:33:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787677205000,"timestamp_ms":1787677205000,"timestamp_seconds":1787677205,"priority":1,"record_length":96,"hex_timestamp":"000001a039dd6208"} 
[2026-08-25 22:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:33:45] 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-25 22:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645287424001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645287424001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645287424001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":162292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:33:45] local.INFO: GPS data processed {"connection_id":162292,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:33:45] local.INFO: Acknowledgment sent {"connection_id":162292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:33:59] local.INFO: TCP Data received {"connection_id":163296,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:33:59] local.INFO: Processing buffer {"connection_id":163296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:33:59] local.INFO: Packet analysis {"connection_id":163296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:33:59] local.INFO: Extracted packet for processing {"connection_id":163296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787677371000,"timestamp_ms":1787677371000,"timestamp_seconds":1787677371,"priority":1,"record_length":96,"hex_timestamp":"000001a039dfea78"} 
[2026-08-25 22:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:33:59] 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-25 22:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":2242,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:33:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:33:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":2242,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":163296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:33:59] local.INFO: GPS data processed {"connection_id":163296,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:33:59] local.INFO: Acknowledgment sent {"connection_id":163296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:34:16] local.INFO: TCP Data received {"connection_id":162292,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:34:16] local.INFO: Processing buffer {"connection_id":162292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:34:16] local.INFO: Packet analysis {"connection_id":162292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:34:16] local.INFO: Extracted packet for processing {"connection_id":162292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645287424001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787677205000,"timestamp_ms":1787677205000,"timestamp_seconds":1787677205,"priority":1,"record_length":96,"hex_timestamp":"000001a039dd6208"} 
[2026-08-25 22:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:34:16] 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-25 22:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645287424001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645287424001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645287424001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":162292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:34:17] local.INFO: GPS data processed {"connection_id":162292,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:34:17] local.INFO: Acknowledgment sent {"connection_id":162292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:34:17] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:34:17] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:34:17] local.INFO: IMEI packet received {"connection_id":162065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":162065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:34:22] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:34:22] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:34:22] local.INFO: IMEI packet received {"connection_id":162065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":162065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:34:23] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:34:23] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:34:23] local.INFO: Packet analysis {"connection_id":162065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:34:23] local.INFO: Extracted packet for processing {"connection_id":162065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:34:23] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787677371000,"timestamp_ms":1787677371000,"timestamp_seconds":1787677371,"priority":1,"record_length":96,"hex_timestamp":"000001a039dfea78"} 
[2026-08-25 22:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":2242,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:34:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:34:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":2242,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":162065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:34:23] local.INFO: GPS data processed {"connection_id":162065,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:34:23] local.INFO: Acknowledgment sent {"connection_id":162065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:34:44] local.INFO: TCP Data received {"connection_id":162293,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:34:44] local.INFO: Processing buffer {"connection_id":162293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:34:44] local.INFO: IMEI packet received {"connection_id":162293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":162293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:34:49] local.INFO: TCP Data received {"connection_id":162293,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:34:49] local.INFO: Processing buffer {"connection_id":162293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:34:49] local.INFO: IMEI packet received {"connection_id":162293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":162293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:34:50] local.INFO: TCP Data received {"connection_id":162293,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:34:50] local.INFO: Processing buffer {"connection_id":162293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:34:50] local.INFO: Packet analysis {"connection_id":162293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:34:50] local.INFO: Extracted packet for processing {"connection_id":162293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:34:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645287424001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787677205000,"timestamp_ms":1787677205000,"timestamp_seconds":1787677205,"priority":1,"record_length":96,"hex_timestamp":"000001a039dd6208"} 
[2026-08-25 22: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-25 22:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:34:50] 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-25 22: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-25 22: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-25 22:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645287424001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645287424001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:34:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645287424001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":162293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:34:50] local.INFO: GPS data processed {"connection_id":162293,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:34:50] local.INFO: Acknowledgment sent {"connection_id":162293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:34:54] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:34:54] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:34:54] local.INFO: Packet analysis {"connection_id":162065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:34:54] local.INFO: Extracted packet for processing {"connection_id":162065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787677371000,"timestamp_ms":1787677371000,"timestamp_seconds":1787677371,"priority":1,"record_length":96,"hex_timestamp":"000001a039dfea78"} 
[2026-08-25 22:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":2242,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:34:54] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":2242,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":162065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:34:54] local.INFO: GPS data processed {"connection_id":162065,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:34:54] local.INFO: Acknowledgment sent {"connection_id":162065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:34:55] local.INFO: TCP Data received {"connection_id":162293,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:34:55] local.INFO: Processing buffer {"connection_id":162293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dd6208012d34c14006aa4818000800e62d..."} 
[2026-08-25 22:34:55] local.INFO: Packet analysis {"connection_id":162293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:34:55] local.INFO: Extracted packet for processing {"connection_id":162293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039dd"} 
[2026-08-25 22:34:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645287424001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787677205000,"timestamp_ms":1787677205000,"timestamp_seconds":1787677205,"priority":1,"record_length":96,"hex_timestamp":"000001a039dd6208"} 
[2026-08-25 22: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-25 22:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:34:55] 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-25 22: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-25 22: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-25 22:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645287424001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645287424001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:34:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645287424001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":162293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:34:55] local.INFO: GPS data processed {"connection_id":162293,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:34:55] local.INFO: Acknowledgment sent {"connection_id":162293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:35:17] local.INFO: TCP Data received {"connection_id":163297,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:35:17] local.INFO: Processing buffer {"connection_id":163297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:35:17] local.INFO: IMEI packet received {"connection_id":163297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":163297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:35:22] local.INFO: TCP Data received {"connection_id":163297,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:35:22] local.INFO: Processing buffer {"connection_id":163297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:35:22] local.INFO: IMEI packet received {"connection_id":163297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":163297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:35:23] local.INFO: TCP Data received {"connection_id":163297,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:35:23] local.INFO: Processing buffer {"connection_id":163297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:35:23] local.INFO: Packet analysis {"connection_id":163297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:35:23] local.INFO: Extracted packet for processing {"connection_id":163297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787677371000,"timestamp_ms":1787677371000,"timestamp_seconds":1787677371,"priority":1,"record_length":96,"hex_timestamp":"000001a039dfea78"} 
[2026-08-25 22:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":2242,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:35:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:35:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":2242,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":163297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:35:23] local.INFO: GPS data processed {"connection_id":163297,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:35:23] local.INFO: Acknowledgment sent {"connection_id":163297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:35:39] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:35:39] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:35:39] local.INFO: IMEI packet received {"connection_id":163298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":163298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:35:44] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:35:44] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:35:44] local.INFO: IMEI packet received {"connection_id":163298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":163298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:35:44] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:35:44] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:35:44] local.INFO: Packet analysis {"connection_id":163298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:35:44] local.INFO: Extracted packet for processing {"connection_id":163298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645364480001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:35:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787677506000,"timestamp_ms":1787677506000,"timestamp_seconds":1787677506,"priority":1,"record_length":96,"hex_timestamp":"000001a039e1f9d0"} 
[2026-08-25 22: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-25 22:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 22:35:44] 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-25 22:35: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-25 22: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-25 22:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645364480001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645364480001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645364480001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":163298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:35:44] local.INFO: GPS data processed {"connection_id":163298,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:35:44] local.INFO: Acknowledgment sent {"connection_id":163298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:35:55] local.INFO: TCP Data received {"connection_id":163297,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:35:55] local.INFO: Processing buffer {"connection_id":163297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:35:55] local.INFO: Packet analysis {"connection_id":163297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:35:55] local.INFO: Extracted packet for processing {"connection_id":163297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787677371000,"timestamp_ms":1787677371000,"timestamp_seconds":1787677371,"priority":1,"record_length":96,"hex_timestamp":"000001a039dfea78"} 
[2026-08-25 22: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-25 22:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":2242,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:35:55] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":2242,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":163297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:35:55] local.INFO: GPS data processed {"connection_id":163297,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:35:55] local.INFO: Acknowledgment sent {"connection_id":163297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:36:16] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:36:16] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:36:16] local.INFO: Packet analysis {"connection_id":163298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:36:16] local.INFO: Extracted packet for processing {"connection_id":163298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645364480001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:36:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787677506000,"timestamp_ms":1787677506000,"timestamp_seconds":1787677506,"priority":1,"record_length":96,"hex_timestamp":"000001a039e1f9d0"} 
[2026-08-25 22:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 22:36:16] 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-25 22:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645364480001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645364480001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645364480001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":163298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:36:16] local.INFO: GPS data processed {"connection_id":163298,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:36:16] local.INFO: Acknowledgment sent {"connection_id":163298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:36:22] local.INFO: TCP Data received {"connection_id":162294,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:36:22] local.INFO: Processing buffer {"connection_id":162294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:36:22] local.INFO: IMEI packet received {"connection_id":162294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":162294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:36:27] local.INFO: TCP Data received {"connection_id":162294,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:36:27] local.INFO: Processing buffer {"connection_id":162294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:36:27] local.INFO: IMEI packet received {"connection_id":162294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":162294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:36:28] local.INFO: TCP Data received {"connection_id":162294,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:36:28] local.INFO: Processing buffer {"connection_id":162294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:36:28] local.INFO: Packet analysis {"connection_id":162294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:36:28] local.INFO: Extracted packet for processing {"connection_id":162294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787677371000,"timestamp_ms":1787677371000,"timestamp_seconds":1787677371,"priority":1,"record_length":96,"hex_timestamp":"000001a039dfea78"} 
[2026-08-25 22:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":2242,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:36:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":2242,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":162294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:36:28] local.INFO: GPS data processed {"connection_id":162294,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:36:28] local.INFO: Acknowledgment sent {"connection_id":162294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:36:33] local.INFO: TCP Data received {"connection_id":162294,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:36:33] local.INFO: Processing buffer {"connection_id":162294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:36:33] local.INFO: Packet analysis {"connection_id":162294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:36:33] local.INFO: Extracted packet for processing {"connection_id":162294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787677371000,"timestamp_ms":1787677371000,"timestamp_seconds":1787677371,"priority":1,"record_length":96,"hex_timestamp":"000001a039dfea78"} 
[2026-08-25 22:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":2242,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:36:33] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":2242,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":162294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:36:33] local.INFO: GPS data processed {"connection_id":162294,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:36:33] local.INFO: Acknowledgment sent {"connection_id":162294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:36:38] local.INFO: TCP Data received {"connection_id":164677,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:36:38] local.INFO: Processing buffer {"connection_id":164677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:36:38] local.INFO: IMEI packet received {"connection_id":164677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":164677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:36:44] local.INFO: TCP Data received {"connection_id":164677,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:36:44] local.INFO: Processing buffer {"connection_id":164677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:36:44] local.INFO: IMEI packet received {"connection_id":164677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":164677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:36:45] local.INFO: TCP Data received {"connection_id":164677,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:36:45] local.INFO: Processing buffer {"connection_id":164677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:36:45] local.INFO: Packet analysis {"connection_id":164677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:36:45] local.INFO: Extracted packet for processing {"connection_id":164677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645364480001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:36:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787677506000,"timestamp_ms":1787677506000,"timestamp_seconds":1787677506,"priority":1,"record_length":96,"hex_timestamp":"000001a039e1f9d0"} 
[2026-08-25 22:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 22:36:45] 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-25 22:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645364480001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645364480001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645364480001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":164677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:36:45] local.INFO: GPS data processed {"connection_id":164677,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:36:45] local.INFO: Acknowledgment sent {"connection_id":164677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:37:14] local.INFO: TCP Data received {"connection_id":162064,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:37:14] local.INFO: Processing buffer {"connection_id":162064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:37:14] local.INFO: IMEI packet received {"connection_id":162064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 22:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":162064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:37:16] local.INFO: TCP Data received {"connection_id":164677,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:37:16] local.INFO: Processing buffer {"connection_id":164677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:37:16] local.INFO: Packet analysis {"connection_id":164677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:37:16] local.INFO: Extracted packet for processing {"connection_id":164677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645364480001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787677506000,"timestamp_ms":1787677506000,"timestamp_seconds":1787677506,"priority":1,"record_length":96,"hex_timestamp":"000001a039e1f9d0"} 
[2026-08-25 22: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-25 22:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 22:37:16] 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-25 22: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-25 22: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-25 22:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645364480001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645364480001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645364480001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":164677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:37:16] local.INFO: GPS data processed {"connection_id":164677,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:37:16] local.INFO: Acknowledgment sent {"connection_id":164677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:37:17] local.INFO: TCP Data received {"connection_id":162295,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:37:17] local.INFO: Processing buffer {"connection_id":162295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:37:17] local.INFO: IMEI packet received {"connection_id":162295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":162295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:37:22] local.INFO: TCP Data received {"connection_id":162295,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:37:22] local.INFO: Processing buffer {"connection_id":162295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:37:22] local.INFO: IMEI packet received {"connection_id":162295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":162295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:37:23] local.INFO: TCP Data received {"connection_id":162295,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:37:23] local.INFO: Processing buffer {"connection_id":162295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039dfea78012d7b518005e151b00004008624..."} 
[2026-08-25 22:37:23] local.INFO: Packet analysis {"connection_id":162295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:37:23] local.INFO: Extracted packet for processing {"connection_id":162295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039df"} 
[2026-08-25 22:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":36,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645330432001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352568692736,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787677371000,"timestamp_ms":1787677371000,"timestamp_seconds":1787677371,"priority":1,"record_length":96,"hex_timestamp":"000001a039dfea78"} 
[2026-08-25 22:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-25 22:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645330432001,"66":2242,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8885461352568692736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645330432001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:37:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:37:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352568692736,"description":"Unknown IO ID 45"} 
[2026-08-25 22:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645330432001,"power":2242,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885461352568692736}} 
[2026-08-25 22:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":162295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:37:23] local.INFO: GPS data processed {"connection_id":162295,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:37:23] local.INFO: Acknowledgment sent {"connection_id":162295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:37:44] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:37:44] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:37:44] local.INFO: IMEI packet received {"connection_id":162066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":162066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:37:49] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:37:49] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:37:49] local.INFO: IMEI packet received {"connection_id":162066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":162066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:37:50] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:37:50] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:37:50] local.INFO: Packet analysis {"connection_id":162066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:37:50] local.INFO: Extracted packet for processing {"connection_id":162066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:37:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645364480001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787677506000,"timestamp_ms":1787677506000,"timestamp_seconds":1787677506,"priority":1,"record_length":96,"hex_timestamp":"000001a039e1f9d0"} 
[2026-08-25 22: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-25 22:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":233,"data_length":795,"current_offset":136} 
[2026-08-25 22:37:50] 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-25 22: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-25 22: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-25 22:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645364480001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645364480001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:37:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645364480001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":162066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:37:50] local.INFO: GPS data processed {"connection_id":162066,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:37:50] local.INFO: Acknowledgment sent {"connection_id":162066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:37:54] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:37:54] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:37:54] local.INFO: Packet analysis {"connection_id":162066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:37:54] local.INFO: Extracted packet for processing {"connection_id":162066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:37:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 22:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645364480001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787677506000,"timestamp_ms":1787677506000,"timestamp_seconds":1787677506,"priority":1,"record_length":96,"hex_timestamp":"000001a039e1f9d0"} 
[2026-08-25 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-25 22:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 22:37:54] 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-25 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-25 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-25 22:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645364480001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645364480001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:37:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645364480001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":162066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:37:54] local.INFO: GPS data processed {"connection_id":162066,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:37:54] local.INFO: Acknowledgment sent {"connection_id":162066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:37:55] local.INFO: TCP Data received {"connection_id":162295,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:37:55] local.INFO: Processing buffer {"connection_id":162295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:37:55] local.INFO: Packet analysis {"connection_id":162295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:37:55] local.INFO: Extracted packet for processing {"connection_id":162295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":39,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 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-25 22:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645406976001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302522118144,"note":"Value kept but may cause issues"} 
[2026-08-25 22:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787677672000,"timestamp_ms":1787677672000,"timestamp_seconds":1787677672,"priority":1,"record_length":96,"hex_timestamp":"000001a039e48240"} 
[2026-08-25 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-25 22:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 22:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645406976001,"66":2231,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8886024302522118144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645406976001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:37:55] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302522118144,"description":"Unknown IO ID 45"} 
[2026-08-25 22:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645406976001,"power":2231,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302522118144}} 
[2026-08-25 22:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":162295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:37:55] local.INFO: GPS data processed {"connection_id":162295,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:37:55] local.INFO: Acknowledgment sent {"connection_id":162295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:38:17] local.INFO: TCP Data received {"connection_id":163300,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:38:17] local.INFO: Processing buffer {"connection_id":163300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:38:17] local.INFO: IMEI packet received {"connection_id":163300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":163300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:38:22] local.INFO: TCP Data received {"connection_id":163300,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:38:22] local.INFO: Processing buffer {"connection_id":163300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:38:22] local.INFO: IMEI packet received {"connection_id":163300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":163300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:38:23] local.INFO: TCP Data received {"connection_id":163300,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:38:23] local.INFO: Processing buffer {"connection_id":163300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:38:23] local.INFO: Packet analysis {"connection_id":163300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:38:23] local.INFO: Extracted packet for processing {"connection_id":163300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:38:23] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":39,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645406976001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302522118144,"note":"Value kept but may cause issues"} 
[2026-08-25 22:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787677672000,"timestamp_ms":1787677672000,"timestamp_seconds":1787677672,"priority":1,"record_length":96,"hex_timestamp":"000001a039e48240"} 
[2026-08-25 22:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645406976001,"66":2231,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8886024302522118144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645406976001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:38:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:38:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302522118144,"description":"Unknown IO ID 45"} 
[2026-08-25 22:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645406976001,"power":2231,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302522118144}} 
[2026-08-25 22:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":163300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:38:23] local.INFO: GPS data processed {"connection_id":163300,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:38:23] local.INFO: Acknowledgment sent {"connection_id":163300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:38:39] local.INFO: TCP Data received {"connection_id":164678,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:38:39] local.INFO: Processing buffer {"connection_id":164678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:38:39] local.INFO: IMEI packet received {"connection_id":164678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":164678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:38:44] local.INFO: TCP Data received {"connection_id":164678,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:38:44] local.INFO: Processing buffer {"connection_id":164678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:38:44] local.INFO: IMEI packet received {"connection_id":164678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":164678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:38:45] local.INFO: TCP Data received {"connection_id":164678,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:38:45] local.INFO: Processing buffer {"connection_id":164678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:38:45] local.INFO: Packet analysis {"connection_id":164678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:38:45] local.INFO: Extracted packet for processing {"connection_id":164678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645364480001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:38:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787677506000,"timestamp_ms":1787677506000,"timestamp_seconds":1787677506,"priority":1,"record_length":96,"hex_timestamp":"000001a039e1f9d0"} 
[2026-08-25 22:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 22:38:45] 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-25 22:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645364480001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645364480001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645364480001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":164678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:38:45] local.INFO: GPS data processed {"connection_id":164678,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:38:45] local.INFO: Acknowledgment sent {"connection_id":164678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:38:54] local.INFO: TCP Data received {"connection_id":163300,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:38:54] local.INFO: Processing buffer {"connection_id":163300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:38:54] local.INFO: Packet analysis {"connection_id":163300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:38:54] local.INFO: Extracted packet for processing {"connection_id":163300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":39,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645406976001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302522118144,"note":"Value kept but may cause issues"} 
[2026-08-25 22:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787677672000,"timestamp_ms":1787677672000,"timestamp_seconds":1787677672,"priority":1,"record_length":96,"hex_timestamp":"000001a039e48240"} 
[2026-08-25 22:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645406976001,"66":2231,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8886024302522118144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645406976001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:38:54] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:38:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302522118144,"description":"Unknown IO ID 45"} 
[2026-08-25 22:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645406976001,"power":2231,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302522118144}} 
[2026-08-25 22:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":163300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:38:54] local.INFO: GPS data processed {"connection_id":163300,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:38:54] local.INFO: Acknowledgment sent {"connection_id":163300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:39:17] local.INFO: TCP Data received {"connection_id":164678,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:39:17] local.INFO: Processing buffer {"connection_id":164678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:39:17] local.INFO: Packet analysis {"connection_id":164678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:39:17] local.INFO: Extracted packet for processing {"connection_id":164678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645364480001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787677506000,"timestamp_ms":1787677506000,"timestamp_seconds":1787677506,"priority":1,"record_length":96,"hex_timestamp":"000001a039e1f9d0"} 
[2026-08-25 22:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 22:39:17] 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-25 22:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645364480001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645364480001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645364480001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":164678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:39:17] local.INFO: GPS data processed {"connection_id":164678,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:39:17] local.INFO: Acknowledgment sent {"connection_id":164678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:39:17] local.INFO: TCP Data received {"connection_id":164679,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:39:17] local.INFO: Processing buffer {"connection_id":164679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:39:17] local.INFO: IMEI packet received {"connection_id":164679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":164679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:39:22] local.INFO: TCP Data received {"connection_id":164679,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:39:22] local.INFO: Processing buffer {"connection_id":164679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:39:22] local.INFO: IMEI packet received {"connection_id":164679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":164679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:39:23] local.INFO: TCP Data received {"connection_id":164679,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:39:23] local.INFO: Processing buffer {"connection_id":164679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:39:23] local.INFO: Packet analysis {"connection_id":164679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:39:23] local.INFO: Extracted packet for processing {"connection_id":164679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:39:23] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":39,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645406976001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302522118144,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787677672000,"timestamp_ms":1787677672000,"timestamp_seconds":1787677672,"priority":1,"record_length":96,"hex_timestamp":"000001a039e48240"} 
[2026-08-25 22:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645406976001,"66":2231,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8886024302522118144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645406976001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:39:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:39:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302522118144,"description":"Unknown IO ID 45"} 
[2026-08-25 22:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645406976001,"power":2231,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302522118144}} 
[2026-08-25 22:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":164679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:39:23] local.INFO: GPS data processed {"connection_id":164679,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:39:23] local.INFO: Acknowledgment sent {"connection_id":164679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:39:43] local.INFO: TCP Data received {"connection_id":163301,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:39:43] local.INFO: Processing buffer {"connection_id":163301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:39:43] local.INFO: IMEI packet received {"connection_id":163301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":163301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:39:43] local.INFO: TCP Data received {"connection_id":163301,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:39:43] local.INFO: Processing buffer {"connection_id":163301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:39:43] local.INFO: IMEI packet received {"connection_id":163301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":163301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:39:44] local.INFO: TCP Data received {"connection_id":163301,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:39:44] local.INFO: Processing buffer {"connection_id":163301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:39:44] local.INFO: Packet analysis {"connection_id":163301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:39:44] local.INFO: Extracted packet for processing {"connection_id":163301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645364480001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787677506000,"timestamp_ms":1787677506000,"timestamp_seconds":1787677506,"priority":1,"record_length":96,"hex_timestamp":"000001a039e1f9d0"} 
[2026-08-25 22:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 22:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 22:39:44] 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-25 22:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645364480001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645364480001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645364480001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":163301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:39:44] local.INFO: GPS data processed {"connection_id":163301,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:39:44] local.INFO: Acknowledgment sent {"connection_id":163301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:39:49] local.INFO: TCP Data received {"connection_id":163301,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:39:49] local.INFO: Processing buffer {"connection_id":163301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:39:49] local.INFO: Packet analysis {"connection_id":163301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:39:49] local.INFO: Extracted packet for processing {"connection_id":163301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 22:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645364480001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787677506000,"timestamp_ms":1787677506000,"timestamp_seconds":1787677506,"priority":1,"record_length":96,"hex_timestamp":"000001a039e1f9d0"} 
[2026-08-25 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-25 22:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 22:39:49] 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-25 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-25 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-25 22:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645364480001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645364480001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:39:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645364480001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":163301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:39:49] local.INFO: GPS data processed {"connection_id":163301,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:39:49] local.INFO: Acknowledgment sent {"connection_id":163301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:39:55] local.INFO: TCP Data received {"connection_id":164679,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:39:55] local.INFO: Processing buffer {"connection_id":164679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:39:55] local.INFO: Packet analysis {"connection_id":164679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:39:55] local.INFO: Extracted packet for processing {"connection_id":164679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:39:55] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":39,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645406976001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302522118144,"note":"Value kept but may cause issues"} 
[2026-08-25 22:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787677672000,"timestamp_ms":1787677672000,"timestamp_seconds":1787677672,"priority":1,"record_length":96,"hex_timestamp":"000001a039e48240"} 
[2026-08-25 22:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645406976001,"66":2231,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8886024302522118144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645406976001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:39:55] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:39:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302522118144,"description":"Unknown IO ID 45"} 
[2026-08-25 22:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645406976001,"power":2231,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302522118144}} 
[2026-08-25 22:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":164679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:39:55] local.INFO: GPS data processed {"connection_id":164679,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:39:55] local.INFO: Acknowledgment sent {"connection_id":164679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:40:21] local.INFO: TCP Data received {"connection_id":163301,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:40:21] local.INFO: Processing buffer {"connection_id":163301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:40:21] local.INFO: Packet analysis {"connection_id":163301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:40:21] local.INFO: Extracted packet for processing {"connection_id":163301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:40:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645364480001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:40:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787677506000,"timestamp_ms":1787677506000,"timestamp_seconds":1787677506,"priority":1,"record_length":96,"hex_timestamp":"000001a039e1f9d0"} 
[2026-08-25 22: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-25 22:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 22:40:21] 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-25 22: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-25 22: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-25 22:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645364480001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645364480001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:40:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645364480001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":163301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:40:21] local.INFO: GPS data processed {"connection_id":163301,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:40:21] local.INFO: Acknowledgment sent {"connection_id":163301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:40:22] local.INFO: TCP Data received {"connection_id":164680,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:40:22] local.INFO: Processing buffer {"connection_id":164680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:40:22] local.INFO: IMEI packet received {"connection_id":164680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":164680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:40:27] local.INFO: TCP Data received {"connection_id":164680,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:40:27] local.INFO: Processing buffer {"connection_id":164680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:40:27] local.INFO: IMEI packet received {"connection_id":164680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":164680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:40:28] local.INFO: TCP Data received {"connection_id":164680,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:40:28] local.INFO: Processing buffer {"connection_id":164680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:40:28] local.INFO: Packet analysis {"connection_id":164680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:40:28] local.INFO: Extracted packet for processing {"connection_id":164680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":39,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645406976001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302522118144,"note":"Value kept but may cause issues"} 
[2026-08-25 22:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787677672000,"timestamp_ms":1787677672000,"timestamp_seconds":1787677672,"priority":1,"record_length":96,"hex_timestamp":"000001a039e48240"} 
[2026-08-25 22:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645406976001,"66":2231,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8886024302522118144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645406976001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:40:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302522118144,"description":"Unknown IO ID 45"} 
[2026-08-25 22:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645406976001,"power":2231,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302522118144}} 
[2026-08-25 22:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":164680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:40:28] local.INFO: GPS data processed {"connection_id":164680,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:40:28] local.INFO: Acknowledgment sent {"connection_id":164680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:40:33] local.INFO: TCP Data received {"connection_id":164680,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:40:33] local.INFO: Processing buffer {"connection_id":164680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:40:33] local.INFO: Packet analysis {"connection_id":164680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:40:33] local.INFO: Extracted packet for processing {"connection_id":164680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":39,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645406976001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302522118144,"note":"Value kept but may cause issues"} 
[2026-08-25 22:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787677672000,"timestamp_ms":1787677672000,"timestamp_seconds":1787677672,"priority":1,"record_length":96,"hex_timestamp":"000001a039e48240"} 
[2026-08-25 22: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-25 22:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645406976001,"66":2231,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8886024302522118144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645406976001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:40:33] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302522118144,"description":"Unknown IO ID 45"} 
[2026-08-25 22:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645406976001,"power":2231,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302522118144}} 
[2026-08-25 22:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":164680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:40:33] local.INFO: GPS data processed {"connection_id":164680,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:40:33] local.INFO: Acknowledgment sent {"connection_id":164680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:40:39] local.INFO: TCP Data received {"connection_id":164681,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:40:39] local.INFO: Processing buffer {"connection_id":164681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:40:39] local.INFO: IMEI packet received {"connection_id":164681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":164681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:40:44] local.INFO: TCP Data received {"connection_id":164681,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:40:44] local.INFO: Processing buffer {"connection_id":164681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:40:44] local.INFO: IMEI packet received {"connection_id":164681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":164681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:40:45] local.INFO: TCP Data received {"connection_id":164681,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:40:45] local.INFO: Processing buffer {"connection_id":164681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e1f9d0012d34c14006aa4818000600e62e..."} 
[2026-08-25 22:40:45] local.INFO: Packet analysis {"connection_id":164681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:40:45] local.INFO: Extracted packet for processing {"connection_id":164681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e1"} 
[2026-08-25 22:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645364480001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:40:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787677506000,"timestamp_ms":1787677506000,"timestamp_seconds":1787677506,"priority":1,"record_length":96,"hex_timestamp":"000001a039e1f9d0"} 
[2026-08-25 22:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-25 22:40:45] 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-25 22:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645364480001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645364480001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645364480001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":164681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:40:45] local.INFO: GPS data processed {"connection_id":164681,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:40:45] local.INFO: Acknowledgment sent {"connection_id":164681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:41:16] local.INFO: TCP Data received {"connection_id":164681,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:41:16] local.INFO: Processing buffer {"connection_id":164681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:41:16] local.INFO: Packet analysis {"connection_id":164681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:41:16] local.INFO: Extracted packet for processing {"connection_id":164681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645441536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787677807000,"timestamp_ms":1787677807000,"timestamp_seconds":1787677807,"priority":1,"record_length":96,"hex_timestamp":"000001a039e69198"} 
[2026-08-25 22:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 22:41:16] 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-25 22:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645441536001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645441536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645441536001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":164681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:41:16] local.INFO: GPS data processed {"connection_id":164681,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:41:16] local.INFO: Acknowledgment sent {"connection_id":164681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:41:17] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:41:17] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:41:17] local.INFO: IMEI packet received {"connection_id":162067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":162067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:41:22] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:41:22] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:41:22] local.INFO: IMEI packet received {"connection_id":162067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":162067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:41:23] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:41:23] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:41:23] local.INFO: Packet analysis {"connection_id":162067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:41:23] local.INFO: Extracted packet for processing {"connection_id":162067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":39,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645406976001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302522118144,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787677672000,"timestamp_ms":1787677672000,"timestamp_seconds":1787677672,"priority":1,"record_length":96,"hex_timestamp":"000001a039e48240"} 
[2026-08-25 22:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645406976001,"66":2231,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8886024302522118144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645406976001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:41:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:41:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302522118144,"description":"Unknown IO ID 45"} 
[2026-08-25 22:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645406976001,"power":2231,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302522118144}} 
[2026-08-25 22:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":162067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:41:23] local.INFO: GPS data processed {"connection_id":162067,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:41:23] local.INFO: Acknowledgment sent {"connection_id":162067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:41:45] local.INFO: TCP Data received {"connection_id":163302,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:41:45] local.INFO: Processing buffer {"connection_id":163302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:41:45] local.INFO: IMEI packet received {"connection_id":163302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":163302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:41:49] local.INFO: TCP Data received {"connection_id":163302,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:41:49] local.INFO: Processing buffer {"connection_id":163302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:41:49] local.INFO: IMEI packet received {"connection_id":163302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":163302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:41:50] local.INFO: TCP Data received {"connection_id":163302,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:41:50] local.INFO: Processing buffer {"connection_id":163302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:41:50] local.INFO: Packet analysis {"connection_id":163302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:41:50] local.INFO: Extracted packet for processing {"connection_id":163302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:41:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645441536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787677807000,"timestamp_ms":1787677807000,"timestamp_seconds":1787677807,"priority":1,"record_length":96,"hex_timestamp":"000001a039e69198"} 
[2026-08-25 22: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-25 22:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 22:41:50] 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-25 22: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-25 22: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-25 22:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645441536001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645441536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645441536001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":163302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:41:50] local.INFO: GPS data processed {"connection_id":163302,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:41:50] local.INFO: Acknowledgment sent {"connection_id":163302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:41:54] local.INFO: TCP Data received {"connection_id":163302,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:41:54] local.INFO: Processing buffer {"connection_id":163302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:41:54] local.INFO: Packet analysis {"connection_id":163302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:41:54] local.INFO: Extracted packet for processing {"connection_id":163302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:41:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645441536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787677807000,"timestamp_ms":1787677807000,"timestamp_seconds":1787677807,"priority":1,"record_length":96,"hex_timestamp":"000001a039e69198"} 
[2026-08-25 22:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 22:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 22:41:54] 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-25 22:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645441536001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645441536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:41:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645441536001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":163302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:41:54] local.INFO: GPS data processed {"connection_id":163302,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:41:54] local.INFO: Acknowledgment sent {"connection_id":163302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:41:55] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:41:55] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:41:55] local.INFO: Packet analysis {"connection_id":162067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:41:55] local.INFO: Extracted packet for processing {"connection_id":162067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":39,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 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-25 22:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645406976001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302522118144,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787677672000,"timestamp_ms":1787677672000,"timestamp_seconds":1787677672,"priority":1,"record_length":96,"hex_timestamp":"000001a039e48240"} 
[2026-08-25 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-25 22:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 22:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645406976001,"66":2231,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8886024302522118144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645406976001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:41:55] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302522118144,"description":"Unknown IO ID 45"} 
[2026-08-25 22:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645406976001,"power":2231,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302522118144}} 
[2026-08-25 22:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":162067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:41:55] local.INFO: GPS data processed {"connection_id":162067,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:41:55] local.INFO: Acknowledgment sent {"connection_id":162067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:41:59] local.INFO: TCP Data received {"connection_id":163302,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:41:59] local.INFO: Processing buffer {"connection_id":163302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:41:59] local.INFO: Packet analysis {"connection_id":163302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:41:59] local.INFO: Extracted packet for processing {"connection_id":163302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:41:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 22:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645441536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787677807000,"timestamp_ms":1787677807000,"timestamp_seconds":1787677807,"priority":1,"record_length":96,"hex_timestamp":"000001a039e69198"} 
[2026-08-25 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-25 22:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 22:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 22:41:59] 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-25 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-25 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-25 22:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645441536001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645441536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:41:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645441536001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":163302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:41:59] local.INFO: GPS data processed {"connection_id":163302,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:41:59] local.INFO: Acknowledgment sent {"connection_id":163302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:42:17] local.INFO: TCP Data received {"connection_id":163303,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:42:17] local.INFO: Processing buffer {"connection_id":163303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:42:17] local.INFO: IMEI packet received {"connection_id":163303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":163303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:42:22] local.INFO: TCP Data received {"connection_id":163303,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:42:22] local.INFO: Processing buffer {"connection_id":163303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:42:22] local.INFO: IMEI packet received {"connection_id":163303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":163303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:42:27] local.INFO: TCP Data received {"connection_id":163303,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:42:27] local.INFO: Processing buffer {"connection_id":163303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:42:27] local.INFO: IMEI packet received {"connection_id":163303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":163303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:42:28] local.INFO: TCP Data received {"connection_id":163303,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:42:28] local.INFO: Processing buffer {"connection_id":163303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e48240012d7b518005e151b00004008627..."} 
[2026-08-25 22:42:28] local.INFO: Packet analysis {"connection_id":163303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:42:28] local.INFO: Extracted packet for processing {"connection_id":163303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e4"} 
[2026-08-25 22:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":39,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645406976001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302522118144,"note":"Value kept but may cause issues"} 
[2026-08-25 22:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787677672000,"timestamp_ms":1787677672000,"timestamp_seconds":1787677672,"priority":1,"record_length":96,"hex_timestamp":"000001a039e48240"} 
[2026-08-25 22:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-25 22:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645406976001,"66":2231,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8886024302522118144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645406976001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:42:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302522118144,"description":"Unknown IO ID 45"} 
[2026-08-25 22:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645406976001,"power":2231,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302522118144}} 
[2026-08-25 22:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":163303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:42:28] local.INFO: GPS data processed {"connection_id":163303,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:42:28] local.INFO: Acknowledgment sent {"connection_id":163303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:42:39] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:42:39] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:42:39] local.INFO: IMEI packet received {"connection_id":162296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":162296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:42:44] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:42:44] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:42:44] local.INFO: IMEI packet received {"connection_id":162296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":162296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:42:45] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:42:45] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:42:45] local.INFO: Packet analysis {"connection_id":162296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:42:45] local.INFO: Extracted packet for processing {"connection_id":162296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645441536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:42:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787677807000,"timestamp_ms":1787677807000,"timestamp_seconds":1787677807,"priority":1,"record_length":96,"hex_timestamp":"000001a039e69198"} 
[2026-08-25 22:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 22:42:45] 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-25 22:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645441536001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645441536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645441536001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":162296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:42:45] local.INFO: GPS data processed {"connection_id":162296,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:42:45] local.INFO: Acknowledgment sent {"connection_id":162296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:42:49] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:42:49] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:42:49] local.INFO: Packet analysis {"connection_id":162296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:42:49] local.INFO: Extracted packet for processing {"connection_id":162296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 22:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645441536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:42:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787677807000,"timestamp_ms":1787677807000,"timestamp_seconds":1787677807,"priority":1,"record_length":96,"hex_timestamp":"000001a039e69198"} 
[2026-08-25 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-25 22:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 22:42:49] 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-25 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-25 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-25 22:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645441536001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645441536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645441536001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":162296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:42:49] local.INFO: GPS data processed {"connection_id":162296,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:42:49] local.INFO: Acknowledgment sent {"connection_id":162296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:43:00] local.INFO: TCP Data received {"connection_id":163303,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039e91a08012d7b518005e151b00004008625..."} 
[2026-08-25 22:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e91a08012d7b518005e151b00004008625..."} 
[2026-08-25 22:43:00] local.INFO: Processing buffer {"connection_id":163303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e91a08012d7b518005e151b00004008625..."} 
[2026-08-25 22:43:00] local.INFO: Packet analysis {"connection_id":163303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e9"} 
[2026-08-25 22:43:00] local.INFO: Extracted packet for processing {"connection_id":163303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e9"} 
[2026-08-25 22:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98652592,"longitude_deg":76.3056512,"latitude_deg":9.8652592,"altitude":4,"angle":134,"satellites":37,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e151b0","is_valid_coordinates":true} 
[2026-08-25 22:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645484032001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124499565628882944,"note":"Value kept but may cause issues"} 
[2026-08-25 22:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302522118144,"note":"Value kept but may cause issues"} 
[2026-08-25 22:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787677973000,"timestamp_ms":1787677973000,"timestamp_seconds":1787677973,"priority":1,"record_length":96,"hex_timestamp":"000001a039e91a08"} 
[2026-08-25 22:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-25 22:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645484032001,"66":2231,"217":206,"85":15104,"24":0,"16":124499565628882944,"45":8886024302522118144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-25 22:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645484032001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:43:00] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-25 22:43:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124499565628882944,"km_value":124499565628882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302522118144,"description":"Unknown IO ID 45"} 
[2026-08-25 22:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645484032001,"power":2231,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302522118144}} 
[2026-08-25 22:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":163303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:43:00] local.INFO: GPS data processed {"connection_id":163303,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:43:00] local.INFO: Acknowledgment sent {"connection_id":163303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:43:04] local.INFO: TCP Data received {"connection_id":162297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:43:04] local.INFO: Processing buffer {"connection_id":162297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:43:04] local.INFO: IMEI packet received {"connection_id":162297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 22:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":162297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:43:21] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:43:21] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:43:21] local.INFO: Packet analysis {"connection_id":162296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:43:21] local.INFO: Extracted packet for processing {"connection_id":162296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:43:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 22:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645441536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:43:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787677807000,"timestamp_ms":1787677807000,"timestamp_seconds":1787677807,"priority":1,"record_length":96,"hex_timestamp":"000001a039e69198"} 
[2026-08-25 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-25 22:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 22:43:21] 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-25 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-25 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-25 22:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645441536001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645441536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:43:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645441536001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":162296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:43:21] local.INFO: GPS data processed {"connection_id":162296,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:43:21] local.INFO: Acknowledgment sent {"connection_id":162296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:43:39] local.INFO: TCP Data received {"connection_id":164682,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:43:39] local.INFO: Processing buffer {"connection_id":164682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:43:39] local.INFO: IMEI packet received {"connection_id":164682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":164682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:43:44] local.INFO: TCP Data received {"connection_id":164682,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:43:44] local.INFO: Processing buffer {"connection_id":164682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:43:44] local.INFO: IMEI packet received {"connection_id":164682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":164682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:43:45] local.INFO: TCP Data received {"connection_id":164682,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:43:45] local.INFO: Processing buffer {"connection_id":164682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:43:45] local.INFO: Packet analysis {"connection_id":164682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:43:45] local.INFO: Extracted packet for processing {"connection_id":164682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645441536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:43:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787677807000,"timestamp_ms":1787677807000,"timestamp_seconds":1787677807,"priority":1,"record_length":96,"hex_timestamp":"000001a039e69198"} 
[2026-08-25 22:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 22:43:45] 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-25 22:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645441536001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645441536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645441536001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":164682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:43:45] local.INFO: GPS data processed {"connection_id":164682,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:43:45] local.INFO: Acknowledgment sent {"connection_id":164682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:44:16] local.INFO: TCP Data received {"connection_id":164682,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:44:16] local.INFO: Processing buffer {"connection_id":164682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:44:16] local.INFO: Packet analysis {"connection_id":164682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:44:16] local.INFO: Extracted packet for processing {"connection_id":164682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645441536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:44:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787677807000,"timestamp_ms":1787677807000,"timestamp_seconds":1787677807,"priority":1,"record_length":96,"hex_timestamp":"000001a039e69198"} 
[2026-08-25 22:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 22:44:16] 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-25 22:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645441536001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645441536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645441536001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":164682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:44:16] local.INFO: GPS data processed {"connection_id":164682,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:44:16] local.INFO: Acknowledgment sent {"connection_id":164682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:44:39] local.INFO: TCP Data received {"connection_id":163304,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:44:39] local.INFO: Processing buffer {"connection_id":163304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:44:39] local.INFO: IMEI packet received {"connection_id":163304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":163304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:44:44] local.INFO: TCP Data received {"connection_id":163304,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:44:44] local.INFO: Processing buffer {"connection_id":163304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:44:44] local.INFO: IMEI packet received {"connection_id":163304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":163304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:44:46] local.INFO: TCP Data received {"connection_id":163304,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:44:46] local.INFO: Processing buffer {"connection_id":163304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:44:46] local.INFO: Packet analysis {"connection_id":163304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:44:46] local.INFO: Extracted packet for processing {"connection_id":163304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645441536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:44:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787677807000,"timestamp_ms":1787677807000,"timestamp_seconds":1787677807,"priority":1,"record_length":96,"hex_timestamp":"000001a039e69198"} 
[2026-08-25 22:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 22:44:46] 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-25 22:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645441536001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645441536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645441536001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":163304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:44:46] local.INFO: GPS data processed {"connection_id":163304,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:44:46] local.INFO: Acknowledgment sent {"connection_id":163304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:45:17] local.INFO: TCP Data received {"connection_id":163304,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:45:17] local.INFO: Processing buffer {"connection_id":163304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039e69198012d34c14006aa4818000900e62c..."} 
[2026-08-25 22:45:17] local.INFO: Packet analysis {"connection_id":163304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:45:17] local.INFO: Extracted packet for processing {"connection_id":163304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039e6"} 
[2026-08-25 22:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645441536001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:45:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787677807000,"timestamp_ms":1787677807000,"timestamp_seconds":1787677807,"priority":1,"record_length":96,"hex_timestamp":"000001a039e69198"} 
[2026-08-25 22:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 22:45: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-25 22:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645441536001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645441536001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645441536001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":163304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:45:17] local.INFO: GPS data processed {"connection_id":163304,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:45:17] local.INFO: Acknowledgment sent {"connection_id":163304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:45:39] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:45:39] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:45:39] local.INFO: IMEI packet received {"connection_id":162068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":162068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:45:47] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:45:47] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:45:47] local.INFO: IMEI packet received {"connection_id":162068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":162068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:45:49] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:45:49] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:45:49] local.INFO: Packet analysis {"connection_id":162068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:45:49] local.INFO: Extracted packet for processing {"connection_id":162068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645518592001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:45:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787678108000,"timestamp_ms":1787678108000,"timestamp_seconds":1787678108,"priority":1,"record_length":96,"hex_timestamp":"000001a039eb2960"} 
[2026-08-25 22:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645518592001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645518592001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:45:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645518592001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":162068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:45:49] local.INFO: GPS data processed {"connection_id":162068,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:45:49] local.INFO: Acknowledgment sent {"connection_id":162068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:46:20] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:46:20] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:46:20] local.INFO: Packet analysis {"connection_id":162068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:46:20] local.INFO: Extracted packet for processing {"connection_id":162068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645518592001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:46:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787678108000,"timestamp_ms":1787678108000,"timestamp_seconds":1787678108,"priority":1,"record_length":96,"hex_timestamp":"000001a039eb2960"} 
[2026-08-25 22: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-25 22:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:46: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-25 22: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-25 22: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-25 22:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645518592001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645518592001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645518592001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":162068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:46:20] local.INFO: GPS data processed {"connection_id":162068,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:46:20] local.INFO: Acknowledgment sent {"connection_id":162068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:46:39] local.INFO: TCP Data received {"connection_id":164683,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:46:39] local.INFO: Processing buffer {"connection_id":164683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:46:39] local.INFO: IMEI packet received {"connection_id":164683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":164683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:46:44] local.INFO: TCP Data received {"connection_id":164683,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:46:44] local.INFO: Processing buffer {"connection_id":164683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:46:44] local.INFO: IMEI packet received {"connection_id":164683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":164683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:46:45] local.INFO: TCP Data received {"connection_id":164683,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:46:45] local.INFO: Processing buffer {"connection_id":164683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:46:45] local.INFO: Packet analysis {"connection_id":164683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:46:45] local.INFO: Extracted packet for processing {"connection_id":164683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645518592001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:46:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787678108000,"timestamp_ms":1787678108000,"timestamp_seconds":1787678108,"priority":1,"record_length":96,"hex_timestamp":"000001a039eb2960"} 
[2026-08-25 22:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:46:45] 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-25 22:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645518592001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645518592001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645518592001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":164683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:46:45] local.INFO: GPS data processed {"connection_id":164683,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:46:45] local.INFO: Acknowledgment sent {"connection_id":164683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:47:19] local.INFO: TCP Data received {"connection_id":164683,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:47:19] local.INFO: Processing buffer {"connection_id":164683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:47:19] local.INFO: Packet analysis {"connection_id":164683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:47:19] local.INFO: Extracted packet for processing {"connection_id":164683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:47:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645518592001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:47:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787678108000,"timestamp_ms":1787678108000,"timestamp_seconds":1787678108,"priority":1,"record_length":96,"hex_timestamp":"000001a039eb2960"} 
[2026-08-25 22:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:47: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-25 22:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645518592001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645518592001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:47:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645518592001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":164683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:47:19] local.INFO: GPS data processed {"connection_id":164683,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:47:19] local.INFO: Acknowledgment sent {"connection_id":164683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:47:39] local.INFO: TCP Data received {"connection_id":163305,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:47:39] local.INFO: Processing buffer {"connection_id":163305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:47:39] local.INFO: IMEI packet received {"connection_id":163305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":163305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:47:44] local.INFO: TCP Data received {"connection_id":163305,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:47:44] local.INFO: Processing buffer {"connection_id":163305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:47:44] local.INFO: IMEI packet received {"connection_id":163305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":163305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:47:45] local.INFO: TCP Data received {"connection_id":163305,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:47:45] local.INFO: Processing buffer {"connection_id":163305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:47:45] local.INFO: Packet analysis {"connection_id":163305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:47:45] local.INFO: Extracted packet for processing {"connection_id":163305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645518592001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:47:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787678108000,"timestamp_ms":1787678108000,"timestamp_seconds":1787678108,"priority":1,"record_length":96,"hex_timestamp":"000001a039eb2960"} 
[2026-08-25 22:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:47:45] 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-25 22:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645518592001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645518592001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645518592001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":163305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:47:45] local.INFO: GPS data processed {"connection_id":163305,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:47:45] local.INFO: Acknowledgment sent {"connection_id":163305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:48:16] local.INFO: TCP Data received {"connection_id":163305,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:48:16] local.INFO: Processing buffer {"connection_id":163305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:48:16] local.INFO: Packet analysis {"connection_id":163305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:48:16] local.INFO: Extracted packet for processing {"connection_id":163305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645518592001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:48:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787678108000,"timestamp_ms":1787678108000,"timestamp_seconds":1787678108,"priority":1,"record_length":96,"hex_timestamp":"000001a039eb2960"} 
[2026-08-25 22:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:48:16] 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-25 22:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645518592001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645518592001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645518592001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":163305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:48:16] local.INFO: GPS data processed {"connection_id":163305,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:48:16] local.INFO: Acknowledgment sent {"connection_id":163305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:48:24] local.INFO: TCP Data received {"connection_id":162298,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:48:24] local.INFO: Processing buffer {"connection_id":162298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:48:24] local.INFO: IMEI packet received {"connection_id":162298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 22:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":162298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:48:39] local.INFO: TCP Data received {"connection_id":162299,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:48:39] local.INFO: Processing buffer {"connection_id":162299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:48:39] local.INFO: IMEI packet received {"connection_id":162299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":162299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:48:44] local.INFO: TCP Data received {"connection_id":162299,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:48:44] local.INFO: Processing buffer {"connection_id":162299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:48:44] local.INFO: IMEI packet received {"connection_id":162299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":162299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:48:45] local.INFO: TCP Data received {"connection_id":162299,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:48:45] local.INFO: Processing buffer {"connection_id":162299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:48:45] local.INFO: Packet analysis {"connection_id":162299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:48:45] local.INFO: Extracted packet for processing {"connection_id":162299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645518592001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:48:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787678108000,"timestamp_ms":1787678108000,"timestamp_seconds":1787678108,"priority":1,"record_length":96,"hex_timestamp":"000001a039eb2960"} 
[2026-08-25 22:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:48:45] 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-25 22:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645518592001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645518592001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:48:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645518592001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":162299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:48:45] local.INFO: GPS data processed {"connection_id":162299,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:48:45] local.INFO: Acknowledgment sent {"connection_id":162299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:49:16] local.INFO: TCP Data received {"connection_id":162299,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:49:16] local.INFO: Processing buffer {"connection_id":162299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:49:16] local.INFO: Packet analysis {"connection_id":162299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:49:16] local.INFO: Extracted packet for processing {"connection_id":162299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645518592001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:49:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787678108000,"timestamp_ms":1787678108000,"timestamp_seconds":1787678108,"priority":1,"record_length":96,"hex_timestamp":"000001a039eb2960"} 
[2026-08-25 22:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:49:16] 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-25 22:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645518592001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645518592001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645518592001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":162299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:49:16] local.INFO: GPS data processed {"connection_id":162299,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:49:16] local.INFO: Acknowledgment sent {"connection_id":162299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:49:38] local.INFO: TCP Data received {"connection_id":163306,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:49:38] local.INFO: Processing buffer {"connection_id":163306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:49:38] local.INFO: IMEI packet received {"connection_id":163306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":163306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:49:44] local.INFO: TCP Data received {"connection_id":163306,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:49:44] local.INFO: Processing buffer {"connection_id":163306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:49:44] local.INFO: IMEI packet received {"connection_id":163306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":163306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:49:45] local.INFO: TCP Data received {"connection_id":163306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:49:45] local.INFO: Processing buffer {"connection_id":163306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:49:45] local.INFO: Packet analysis {"connection_id":163306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:49:45] local.INFO: Extracted packet for processing {"connection_id":163306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645518592001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:49:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787678108000,"timestamp_ms":1787678108000,"timestamp_seconds":1787678108,"priority":1,"record_length":96,"hex_timestamp":"000001a039eb2960"} 
[2026-08-25 22:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:49:45] 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-25 22:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645518592001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645518592001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645518592001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":163306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:49:45] local.INFO: GPS data processed {"connection_id":163306,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:49:45] local.INFO: Acknowledgment sent {"connection_id":163306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:50:16] local.INFO: TCP Data received {"connection_id":163306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:50:16] local.INFO: Processing buffer {"connection_id":163306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:50:16] local.INFO: Packet analysis {"connection_id":163306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:50:16] local.INFO: Extracted packet for processing {"connection_id":163306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645518592001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:50:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787678108000,"timestamp_ms":1787678108000,"timestamp_seconds":1787678108,"priority":1,"record_length":96,"hex_timestamp":"000001a039eb2960"} 
[2026-08-25 22:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:50:16] 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-25 22:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645518592001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645518592001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645518592001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":163306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:50:16] local.INFO: GPS data processed {"connection_id":163306,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:50:16] local.INFO: Acknowledgment sent {"connection_id":163306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:50:38] local.INFO: TCP Data received {"connection_id":164684,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:50:38] local.INFO: Processing buffer {"connection_id":164684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:50:38] local.INFO: IMEI packet received {"connection_id":164684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":164684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:50:44] local.INFO: TCP Data received {"connection_id":164684,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:50:44] local.INFO: Processing buffer {"connection_id":164684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:50:44] local.INFO: IMEI packet received {"connection_id":164684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":164684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:50:45] local.INFO: TCP Data received {"connection_id":164684,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:50:45] local.INFO: Processing buffer {"connection_id":164684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039eb2960012d34c14006aa4818000c00e62d..."} 
[2026-08-25 22:50:45] local.INFO: Packet analysis {"connection_id":164684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:50:45] local.INFO: Extracted packet for processing {"connection_id":164684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039eb"} 
[2026-08-25 22:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645518592001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:50:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787678108000,"timestamp_ms":1787678108000,"timestamp_seconds":1787678108,"priority":1,"record_length":96,"hex_timestamp":"000001a039eb2960"} 
[2026-08-25 22:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:50:45] 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-25 22:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645518592001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645518592001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645518592001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":164684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:50:45] local.INFO: GPS data processed {"connection_id":164684,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:50:45] local.INFO: Acknowledgment sent {"connection_id":164684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:51:16] local.INFO: TCP Data received {"connection_id":164684,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:51:16] local.INFO: Processing buffer {"connection_id":164684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:51:16] local.INFO: Packet analysis {"connection_id":164684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:51:16] local.INFO: Extracted packet for processing {"connection_id":164684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645595648001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:51:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787678409000,"timestamp_ms":1787678409000,"timestamp_seconds":1787678409,"priority":1,"record_length":96,"hex_timestamp":"000001a039efc128"} 
[2026-08-25 22:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:51:16] 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-25 22:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645595648001,"66":25223,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645595648001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645595648001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":164684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:51:16] local.INFO: GPS data processed {"connection_id":164684,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:51:16] local.INFO: Acknowledgment sent {"connection_id":164684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:51:32] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:51:32] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:51:32] local.INFO: IMEI packet received {"connection_id":162069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":162069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:51:37] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:51:37] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:51:37] local.INFO: IMEI packet received {"connection_id":162069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":162069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:51:38] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039f074d8012d7c180005db4588000100ed25..."} 
[2026-08-25 22:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f074d8012d7c180005db4588000100ed25..."} 
[2026-08-25 22:51:38] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f074d8012d7c180005db4588000100ed25..."} 
[2026-08-25 22:51:38] local.INFO: Packet analysis {"connection_id":162069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f0"} 
[2026-08-25 22:51:38] local.INFO: Extracted packet for processing {"connection_id":162069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f0"} 
[2026-08-25 22:51:38] local.INFO: GPS Element Parsed {"raw_longitude":763107328,"raw_latitude":98256264,"longitude_deg":76.3107328,"latitude_deg":9.8256264,"altitude":1,"angle":237,"satellites":37,"speed":1,"hex_longitude":"2d7c1800","hex_latitude":"05db4588","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645684224001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124519374018052096,"note":"Value kept but may cause issues"} 
[2026-08-25 22:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941897085297731584,"note":"Value kept but may cause issues"} 
[2026-08-25 22:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787678455000,"timestamp_ms":1787678455000,"timestamp_seconds":1787678455,"priority":1,"record_length":96,"hex_timestamp":"000001a039f074d8"} 
[2026-08-25 22: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-25 22:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22: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":39,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 22:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":861,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22: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-25 22: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-25 22:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645684224001,"66":10036,"185":206,"85":15104,"24":1,"16":124519374018052096,"45":8941897085297731584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 22:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645684224001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:51:38] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 22:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124519374018052096,"km_value":124519374018052.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941897085297731584,"description":"Unknown IO ID 45"} 
[2026-08-25 22:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645684224001,"power":10036,"unknown_185":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8941897085297731584}} 
[2026-08-25 22:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":162069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:51:38] local.INFO: GPS data processed {"connection_id":162069,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:51:38] local.INFO: Acknowledgment sent {"connection_id":162069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:51:39] local.INFO: TCP Data received {"connection_id":164685,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:51:39] local.INFO: Processing buffer {"connection_id":164685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:51:39] local.INFO: IMEI packet received {"connection_id":164685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":164685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:51:48] local.INFO: TCP Data received {"connection_id":164685,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:51:48] local.INFO: Processing buffer {"connection_id":164685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:51:48] local.INFO: IMEI packet received {"connection_id":164685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":164685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:51:50] local.INFO: TCP Data received {"connection_id":164685,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:51:50] local.INFO: Processing buffer {"connection_id":164685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:51:50] local.INFO: Packet analysis {"connection_id":164685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:51:50] local.INFO: Extracted packet for processing {"connection_id":164685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:51:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645595648001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:51:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787678409000,"timestamp_ms":1787678409000,"timestamp_seconds":1787678409,"priority":1,"record_length":96,"hex_timestamp":"000001a039efc128"} 
[2026-08-25 22: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-25 22:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:51:50] 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-25 22: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-25 22: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-25 22:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645595648001,"66":25223,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645595648001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:51:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645595648001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":164685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:51:50] local.INFO: GPS data processed {"connection_id":164685,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:51:50] local.INFO: Acknowledgment sent {"connection_id":164685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:52:17] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:52:17] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:52:17] local.INFO: IMEI packet received {"connection_id":162070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":162070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:52:22] local.INFO: TCP Data received {"connection_id":164685,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:52:22] local.INFO: Processing buffer {"connection_id":164685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:52:22] local.INFO: Packet analysis {"connection_id":164685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:52:22] local.INFO: Extracted packet for processing {"connection_id":164685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:52:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645595648001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:52:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787678409000,"timestamp_ms":1787678409000,"timestamp_seconds":1787678409,"priority":1,"record_length":96,"hex_timestamp":"000001a039efc128"} 
[2026-08-25 22: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-25 22:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:52:22] 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-25 22: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-25 22: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-25 22:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645595648001,"66":25223,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645595648001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:52:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645595648001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":164685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:52:22] local.INFO: GPS data processed {"connection_id":164685,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:52:22] local.INFO: Acknowledgment sent {"connection_id":164685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:52:22] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:52:22] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:52:22] local.INFO: IMEI packet received {"connection_id":162070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":162070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:52:23] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039f09800012d7c184005db4558000100f11e..."} 
[2026-08-25 22:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f09800012d7c184005db4558000100f11e..."} 
[2026-08-25 22:52:23] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f09800012d7c184005db4558000100f11e..."} 
[2026-08-25 22:52:23] local.INFO: Packet analysis {"connection_id":162070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f0"} 
[2026-08-25 22:52:23] local.INFO: Extracted packet for processing {"connection_id":162070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f0"} 
[2026-08-25 22:52:23] local.INFO: GPS Element Parsed {"raw_longitude":763107392,"raw_latitude":98256216,"longitude_deg":76.3107392,"latitude_deg":9.8256216,"altitude":1,"angle":241,"satellites":30,"speed":0,"hex_longitude":"2d7c1840","hex_latitude":"05db4558","is_valid_coordinates":true} 
[2026-08-25 22:52: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-25 22:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645684480001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124519382607986688,"note":"Value kept but may cause issues"} 
[2026-08-25 22:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941897085297723392,"note":"Value kept but may cause issues"} 
[2026-08-25 22:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787678464000,"timestamp_ms":1787678464000,"timestamp_seconds":1787678464,"priority":1,"record_length":96,"hex_timestamp":"000001a039f09800"} 
[2026-08-25 22:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 22:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":861,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645684480001,"66":11341,"185":206,"85":15104,"24":0,"16":124519382607986688,"45":8941897085297723392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 22:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645684480001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:52:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 22:52:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124519382607986688,"km_value":124519382607986.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941897085297723392,"description":"Unknown IO ID 45"} 
[2026-08-25 22:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645684480001,"power":11341,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8941897085297723392}} 
[2026-08-25 22:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":162070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:52:23] local.INFO: GPS data processed {"connection_id":162070,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:52:23] local.INFO: Acknowledgment sent {"connection_id":162070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:52:39] local.INFO: TCP Data received {"connection_id":163307,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:52:39] local.INFO: Processing buffer {"connection_id":163307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:52:39] local.INFO: IMEI packet received {"connection_id":163307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":163307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:52:44] local.INFO: TCP Data received {"connection_id":163307,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:52:44] local.INFO: Processing buffer {"connection_id":163307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:52:44] local.INFO: IMEI packet received {"connection_id":163307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":163307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:52:45] local.INFO: TCP Data received {"connection_id":163307,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:52:45] local.INFO: Processing buffer {"connection_id":163307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:52:45] local.INFO: Packet analysis {"connection_id":163307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:52:45] local.INFO: Extracted packet for processing {"connection_id":163307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645595648001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:52:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787678409000,"timestamp_ms":1787678409000,"timestamp_seconds":1787678409,"priority":1,"record_length":96,"hex_timestamp":"000001a039efc128"} 
[2026-08-25 22: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-25 22:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:52:45] 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-25 22: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-25 22: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-25 22:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645595648001,"66":25223,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645595648001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645595648001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":163307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:52:45] local.INFO: GPS data processed {"connection_id":163307,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:52:45] local.INFO: Acknowledgment sent {"connection_id":163307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:53:16] local.INFO: TCP Data received {"connection_id":163307,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:53:16] local.INFO: Processing buffer {"connection_id":163307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:53:16] local.INFO: Packet analysis {"connection_id":163307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:53:16] local.INFO: Extracted packet for processing {"connection_id":163307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645595648001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:53:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787678409000,"timestamp_ms":1787678409000,"timestamp_seconds":1787678409,"priority":1,"record_length":96,"hex_timestamp":"000001a039efc128"} 
[2026-08-25 22:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:53:16] 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-25 22:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645595648001,"66":25223,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645595648001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645595648001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":163307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:53:16] local.INFO: GPS data processed {"connection_id":163307,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:53:16] local.INFO: Acknowledgment sent {"connection_id":163307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:53:38] local.INFO: TCP Data received {"connection_id":162301,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:53:38] local.INFO: Processing buffer {"connection_id":162301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:53:38] local.INFO: IMEI packet received {"connection_id":162301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":162301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:53:44] local.INFO: TCP Data received {"connection_id":162301,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:53:44] local.INFO: Processing buffer {"connection_id":162301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:53:44] local.INFO: IMEI packet received {"connection_id":162301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":162301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:53:47] local.INFO: TCP Data received {"connection_id":162301,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:53:47] local.INFO: Processing buffer {"connection_id":162301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:53:47] local.INFO: Packet analysis {"connection_id":162301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:53:47] local.INFO: Extracted packet for processing {"connection_id":162301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645595648001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:53:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787678409000,"timestamp_ms":1787678409000,"timestamp_seconds":1787678409,"priority":1,"record_length":96,"hex_timestamp":"000001a039efc128"} 
[2026-08-25 22:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:53:47] 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-25 22:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645595648001,"66":25223,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645595648001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645595648001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":162301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:53:47] local.INFO: GPS data processed {"connection_id":162301,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:53:47] local.INFO: Acknowledgment sent {"connection_id":162301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:54:00] local.INFO: TCP Data received {"connection_id":164686,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:54:00] local.INFO: Processing buffer {"connection_id":164686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:54:00] local.INFO: IMEI packet received {"connection_id":164686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 22:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":164686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:54:18] local.INFO: TCP Data received {"connection_id":162301,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:54:18] local.INFO: Processing buffer {"connection_id":162301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:54:18] local.INFO: Packet analysis {"connection_id":162301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:54:18] local.INFO: Extracted packet for processing {"connection_id":162301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645595648001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:54:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787678409000,"timestamp_ms":1787678409000,"timestamp_seconds":1787678409,"priority":1,"record_length":96,"hex_timestamp":"000001a039efc128"} 
[2026-08-25 22:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:54:18] 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-25 22:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645595648001,"66":25223,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645595648001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645595648001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":162301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:54:18] local.INFO: GPS data processed {"connection_id":162301,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:54:18] local.INFO: Acknowledgment sent {"connection_id":162301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:54:38] local.INFO: TCP Data received {"connection_id":164687,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:54:38] local.INFO: Processing buffer {"connection_id":164687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:54:38] local.INFO: IMEI packet received {"connection_id":164687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":164687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:54:44] local.INFO: TCP Data received {"connection_id":164687,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:54:44] local.INFO: Processing buffer {"connection_id":164687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:54:44] local.INFO: IMEI packet received {"connection_id":164687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":164687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:54:45] local.INFO: TCP Data received {"connection_id":164687,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:54:45] local.INFO: Processing buffer {"connection_id":164687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:54:45] local.INFO: Packet analysis {"connection_id":164687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:54:45] local.INFO: Extracted packet for processing {"connection_id":164687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645595648001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:54:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787678409000,"timestamp_ms":1787678409000,"timestamp_seconds":1787678409,"priority":1,"record_length":96,"hex_timestamp":"000001a039efc128"} 
[2026-08-25 22:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:54:45] 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-25 22:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645595648001,"66":25223,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645595648001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645595648001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":164687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:54:45] local.INFO: GPS data processed {"connection_id":164687,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:54:45] local.INFO: Acknowledgment sent {"connection_id":164687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:55:16] local.INFO: TCP Data received {"connection_id":164687,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:55:16] local.INFO: Processing buffer {"connection_id":164687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039efc128012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:55:16] local.INFO: Packet analysis {"connection_id":164687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:55:16] local.INFO: Extracted packet for processing {"connection_id":164687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ef"} 
[2026-08-25 22:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645595648001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:55:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787678409000,"timestamp_ms":1787678409000,"timestamp_seconds":1787678409,"priority":1,"record_length":96,"hex_timestamp":"000001a039efc128"} 
[2026-08-25 22: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-25 22:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 22:55:16] 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-25 22: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-25 22: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-25 22:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645595648001,"66":25223,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645595648001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645595648001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":164687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:55:16] local.INFO: GPS data processed {"connection_id":164687,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:55:16] local.INFO: Acknowledgment sent {"connection_id":164687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:55:44] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:55:44] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:55:44] local.INFO: IMEI packet received {"connection_id":162071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":162071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:55:48] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:55:48] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:55:48] local.INFO: IMEI packet received {"connection_id":162071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":162071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:55:49] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:55:49] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:55:49] local.INFO: Packet analysis {"connection_id":162071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:55:49] local.INFO: Extracted packet for processing {"connection_id":162071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:55:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 22:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645672704001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:55:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787678710000,"timestamp_ms":1787678710000,"timestamp_seconds":1787678710,"priority":1,"record_length":96,"hex_timestamp":"000001a039f458f0"} 
[2026-08-25 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-25 22:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-25 22:55: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-25 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-25 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-25 22:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645672704001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645672704001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645672704001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":162071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:55:49] local.INFO: GPS data processed {"connection_id":162071,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:55:49] local.INFO: Acknowledgment sent {"connection_id":162071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:55:50] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:55:50] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:55:50] local.INFO: Packet analysis {"connection_id":162071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:55:50] local.INFO: Extracted packet for processing {"connection_id":162071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:55:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645672704001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:55:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787678710000,"timestamp_ms":1787678710000,"timestamp_seconds":1787678710,"priority":1,"record_length":96,"hex_timestamp":"000001a039f458f0"} 
[2026-08-25 22: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-25 22:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-25 22:55: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-25 22: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-25 22: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-25 22:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645672704001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645672704001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:55:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645672704001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":162071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:55:50] local.INFO: GPS data processed {"connection_id":162071,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:55:50] local.INFO: Acknowledgment sent {"connection_id":162071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:56:21] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:56:21] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:56:21] local.INFO: Packet analysis {"connection_id":162071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:56:21] local.INFO: Extracted packet for processing {"connection_id":162071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 22:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645672704001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:56:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787678710000,"timestamp_ms":1787678710000,"timestamp_seconds":1787678710,"priority":1,"record_length":96,"hex_timestamp":"000001a039f458f0"} 
[2026-08-25 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-25 22:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-25 22:56: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-25 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-25 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-25 22:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645672704001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645672704001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645672704001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":162071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:56:21] local.INFO: GPS data processed {"connection_id":162071,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:56:21] local.INFO: Acknowledgment sent {"connection_id":162071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:56:38] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:56:38] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:56:38] local.INFO: IMEI packet received {"connection_id":162072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":162072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:56:44] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:56:44] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:56:44] local.INFO: IMEI packet received {"connection_id":162072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":162072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:56:45] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:56:45] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:56:45] local.INFO: Packet analysis {"connection_id":162072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:56:45] local.INFO: Extracted packet for processing {"connection_id":162072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645672704001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:56:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787678710000,"timestamp_ms":1787678710000,"timestamp_seconds":1787678710,"priority":1,"record_length":96,"hex_timestamp":"000001a039f458f0"} 
[2026-08-25 22:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-25 22:56:45] 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-25 22:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645672704001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645672704001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645672704001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":162072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:56:45] local.INFO: GPS data processed {"connection_id":162072,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:56:45] local.INFO: Acknowledgment sent {"connection_id":162072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:57:16] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:57:16] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:57:16] local.INFO: Packet analysis {"connection_id":162072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:57:16] local.INFO: Extracted packet for processing {"connection_id":162072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22: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-25 22:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645672704001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:57:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787678710000,"timestamp_ms":1787678710000,"timestamp_seconds":1787678710,"priority":1,"record_length":96,"hex_timestamp":"000001a039f458f0"} 
[2026-08-25 22: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-25 22:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-25 22:57:16] 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-25 22: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-25 22: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-25 22:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645672704001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645672704001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645672704001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":162072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:57:16] local.INFO: GPS data processed {"connection_id":162072,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:57:16] local.INFO: Acknowledgment sent {"connection_id":162072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:57:38] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:57:38] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:57:38] local.INFO: IMEI packet received {"connection_id":162073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":162073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:57:44] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:57:44] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:57:44] local.INFO: IMEI packet received {"connection_id":162073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":162073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:57:45] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:57:45] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:57:45] local.INFO: Packet analysis {"connection_id":162073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:57:45] local.INFO: Extracted packet for processing {"connection_id":162073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645672704001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:57:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787678710000,"timestamp_ms":1787678710000,"timestamp_seconds":1787678710,"priority":1,"record_length":96,"hex_timestamp":"000001a039f458f0"} 
[2026-08-25 22:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-25 22:57:45] 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-25 22:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645672704001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645672704001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645672704001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":162073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:57:45] local.INFO: GPS data processed {"connection_id":162073,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:57:45] local.INFO: Acknowledgment sent {"connection_id":162073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:57:52] local.INFO: TCP Data received {"connection_id":164688,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:57:52] local.INFO: Processing buffer {"connection_id":164688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:57:52] local.INFO: IMEI packet received {"connection_id":164688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":164688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:57:57] local.INFO: TCP Data received {"connection_id":164688,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:57:57] local.INFO: Processing buffer {"connection_id":164688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:57:57] local.INFO: IMEI packet received {"connection_id":164688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":164688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:57:58] local.INFO: TCP Data received {"connection_id":164688,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039f3f360012d7c07c005db50a00004014729..."} 
[2026-08-25 22:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f3f360012d7c07c005db50a00004014729..."} 
[2026-08-25 22:57:58] local.INFO: Processing buffer {"connection_id":164688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f3f360012d7c07c005db50a00004014729..."} 
[2026-08-25 22:57:58] local.INFO: Packet analysis {"connection_id":164688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f3"} 
[2026-08-25 22:57:58] local.INFO: Extracted packet for processing {"connection_id":164688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f3"} 
[2026-08-25 22:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":98259104,"longitude_deg":76.3103168,"latitude_deg":9.8259104,"altitude":4,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05db50a0","is_valid_coordinates":true} 
[2026-08-25 22:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645742592001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521633170849792,"note":"Value kept but may cause issues"} 
[2026-08-25 22:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485671057408,"note":"Value kept but may cause issues"} 
[2026-08-25 22:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787678684000,"timestamp_ms":1787678684000,"timestamp_seconds":1787678684,"priority":1,"record_length":96,"hex_timestamp":"000001a039f3f360"} 
[2026-08-25 22:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 22:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1644,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645742592001,"66":10036,"185":206,"85":15104,"24":0,"16":124521633170849792,"45":8937393485671057408},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 22:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645742592001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:57:58] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 22:57:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521633170849792,"km_value":124521633170849.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485671057408,"description":"Unknown IO ID 45"} 
[2026-08-25 22:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645742592001,"power":10036,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937393485671057408}} 
[2026-08-25 22:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":164688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:57:58] local.INFO: GPS data processed {"connection_id":164688,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:57:58] local.INFO: Acknowledgment sent {"connection_id":164688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:58:18] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:58:18] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:58:18] local.INFO: Packet analysis {"connection_id":162073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:58:18] local.INFO: Extracted packet for processing {"connection_id":162073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645672704001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:58:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787678710000,"timestamp_ms":1787678710000,"timestamp_seconds":1787678710,"priority":1,"record_length":96,"hex_timestamp":"000001a039f458f0"} 
[2026-08-25 22:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-25 22:58:18] 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-25 22:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645672704001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645672704001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645672704001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":162073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:58:18] local.INFO: GPS data processed {"connection_id":162073,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:58:18] local.INFO: Acknowledgment sent {"connection_id":162073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:58:22] local.INFO: TCP Data received {"connection_id":163308,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:58:22] local.INFO: Processing buffer {"connection_id":163308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:58:22] local.INFO: IMEI packet received {"connection_id":163308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":163308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:58:27] local.INFO: TCP Data received {"connection_id":163308,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:58:27] local.INFO: Processing buffer {"connection_id":163308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:58:27] local.INFO: IMEI packet received {"connection_id":163308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":163308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:58:28] local.INFO: TCP Data received {"connection_id":163308,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039f48000012d7c07c005db4e98000400b52a..."} 
[2026-08-25 22:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f48000012d7c07c005db4e98000400b52a..."} 
[2026-08-25 22:58:28] local.INFO: Processing buffer {"connection_id":163308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f48000012d7c07c005db4e98000400b52a..."} 
[2026-08-25 22:58:28] local.INFO: Packet analysis {"connection_id":163308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:58:28] local.INFO: Extracted packet for processing {"connection_id":163308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":98258584,"longitude_deg":76.3103168,"latitude_deg":9.8258584,"altitude":4,"angle":181,"satellites":42,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05db4e98","is_valid_coordinates":true} 
[2026-08-25 22:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645743104001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521633170849792,"note":"Value kept but may cause issues"} 
[2026-08-25 22:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116926902272,"note":"Value kept but may cause issues"} 
[2026-08-25 22:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787678720000,"timestamp_ms":1787678720000,"timestamp_seconds":1787678720,"priority":1,"record_length":96,"hex_timestamp":"000001a039f48000"} 
[2026-08-25 22:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-25 22:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":861,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645743104001,"66":10319,"185":206,"85":15104,"24":0,"16":124521633170849792,"45":8937323116926902272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 22:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645743104001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:58:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 22:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521633170849792,"km_value":124521633170849.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116926902272,"description":"Unknown IO ID 45"} 
[2026-08-25 22:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645743104001,"power":10319,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937323116926902272}} 
[2026-08-25 22:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":163308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:58:28] local.INFO: GPS data processed {"connection_id":163308,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:58:28] local.INFO: Acknowledgment sent {"connection_id":163308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:58:38] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:58:38] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:58:38] local.INFO: IMEI packet received {"connection_id":162074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":162074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:58:44] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:58:44] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:58:44] local.INFO: IMEI packet received {"connection_id":162074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":162074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:58:45] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:58:45] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:58:45] local.INFO: Packet analysis {"connection_id":162074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:58:45] local.INFO: Extracted packet for processing {"connection_id":162074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645672704001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:58:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787678710000,"timestamp_ms":1787678710000,"timestamp_seconds":1787678710,"priority":1,"record_length":96,"hex_timestamp":"000001a039f458f0"} 
[2026-08-25 22:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-25 22:58:45] 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-25 22:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645672704001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645672704001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645672704001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":162074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:58:45] local.INFO: GPS data processed {"connection_id":162074,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:58:45] local.INFO: Acknowledgment sent {"connection_id":162074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:58:59] local.INFO: TCP Data received {"connection_id":163308,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039f48000012d7c07c005db4e98000400b52a..."} 
[2026-08-25 22:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f48000012d7c07c005db4e98000400b52a..."} 
[2026-08-25 22:58:59] local.INFO: Processing buffer {"connection_id":163308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f48000012d7c07c005db4e98000400b52a..."} 
[2026-08-25 22:58:59] local.INFO: Packet analysis {"connection_id":163308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:58:59] local.INFO: Extracted packet for processing {"connection_id":163308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":98258584,"longitude_deg":76.3103168,"latitude_deg":9.8258584,"altitude":4,"angle":181,"satellites":42,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05db4e98","is_valid_coordinates":true} 
[2026-08-25 22:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645752320001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521633170849792,"note":"Value kept but may cause issues"} 
[2026-08-25 22:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116926769152,"note":"Value kept but may cause issues"} 
[2026-08-25 22:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787678720000,"timestamp_ms":1787678720000,"timestamp_seconds":1787678720,"priority":1,"record_length":96,"hex_timestamp":"000001a039f48000"} 
[2026-08-25 22:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 22:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1109,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645752320001,"66":10265,"185":206,"85":15104,"24":0,"16":124521633170849792,"45":8937323116926769152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 22:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645752320001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:58:59] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 22:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521633170849792,"km_value":124521633170849.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116926769152,"description":"Unknown IO ID 45"} 
[2026-08-25 22:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645752320001,"power":10265,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937323116926769152}} 
[2026-08-25 22:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":163308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:58:59] local.INFO: GPS data processed {"connection_id":163308,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:58:59] local.INFO: Acknowledgment sent {"connection_id":163308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:59:17] local.INFO: TCP Data received {"connection_id":162302,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:59:17] local.INFO: Processing buffer {"connection_id":162302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:59:17] local.INFO: IMEI packet received {"connection_id":162302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 22:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":162302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:59:17] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:59:17] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:59:17] local.INFO: Packet analysis {"connection_id":162074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:59:17] local.INFO: Extracted packet for processing {"connection_id":162074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645672704001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787678710000,"timestamp_ms":1787678710000,"timestamp_seconds":1787678710,"priority":1,"record_length":96,"hex_timestamp":"000001a039f458f0"} 
[2026-08-25 22:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-25 22:59:17] 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-25 22:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645672704001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645672704001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645672704001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":162074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:59:17] local.INFO: GPS data processed {"connection_id":162074,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:59:17] local.INFO: Acknowledgment sent {"connection_id":162074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:59:22] local.INFO: TCP Data received {"connection_id":162302,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:59:22] local.INFO: Processing buffer {"connection_id":162302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 22:59:22] local.INFO: IMEI packet received {"connection_id":162302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 22:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":162302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:59:23] local.INFO: TCP Data received {"connection_id":162302,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039f49770012d7c074005db4e40000400f024..."} 
[2026-08-25 22:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f49770012d7c074005db4e40000400f024..."} 
[2026-08-25 22:59:23] local.INFO: Processing buffer {"connection_id":162302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f49770012d7c074005db4e40000400f024..."} 
[2026-08-25 22:59:23] local.INFO: Packet analysis {"connection_id":162302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:59:23] local.INFO: Extracted packet for processing {"connection_id":162302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:59:23] local.INFO: GPS Element Parsed {"raw_longitude":763103040,"raw_latitude":98258496,"longitude_deg":76.310304,"latitude_deg":9.8258496,"altitude":4,"angle":240,"satellites":36,"speed":1,"hex_longitude":"2d7c0740","hex_latitude":"05db4e40","is_valid_coordinates":true} 
[2026-08-25 22:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645752320001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521641760784384,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116926769152,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787678726000,"timestamp_ms":1787678726000,"timestamp_seconds":1787678726,"priority":1,"record_length":96,"hex_timestamp":"000001a039f49770"} 
[2026-08-25 22:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846674160,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":243,"raw_value":7685394058974396421,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788840,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":57,"raw_value":4087181313,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":219,"raw_value":4282923249946927104,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3489738108,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3221609290,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-5115862311235479552,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619931181058,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":186,"raw_value":7141301634126053376,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":38,"raw_value":1648127396282369,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2738197369534286336,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:23] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,185,85,24,241,157,16,99,160,128,45,192,78,4,42,10,66,243,80,41,235,1,240,139,227,57,219,113,205,7,141,11,248,32,239,39,166,82,206,186,38,83],"length":629,"final_offset":759,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-08-25 22:59:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288429568144965632,"timestamp_seconds":288429568144965.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 22:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645752320001,"66":10156,"185":206,"85":15104,"24":1,"16":124521641760784384,"45":8937323116926769152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 22:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645752320001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:59:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 22:59:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521641760784384,"km_value":124521641760784.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116926769152,"description":"Unknown IO ID 45"} 
[2026-08-25 22:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645752320001,"power":10156,"unknown_185":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8937323116926769152}} 
[2026-08-25 22:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":162302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:59:23] local.INFO: GPS data processed {"connection_id":162302,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:59:23] local.INFO: Acknowledgment sent {"connection_id":162302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:59:34] local.INFO: TCP Data received {"connection_id":164689,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:59:34] local.INFO: Processing buffer {"connection_id":164689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 22:59:34] local.INFO: IMEI packet received {"connection_id":164689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 22:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":164689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:59:44] local.INFO: TCP Data received {"connection_id":164690,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:59:44] local.INFO: Processing buffer {"connection_id":164690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:59:44] local.INFO: IMEI packet received {"connection_id":164690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 22:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":164690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 22:59:51] local.INFO: TCP Data received {"connection_id":164690,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:59:51] local.INFO: Processing buffer {"connection_id":164690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 22:59:51] local.INFO: IMEI packet received {"connection_id":164690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 22:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":164690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 22:59:53] local.INFO: TCP Data received {"connection_id":164690,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:59:53] local.INFO: Processing buffer {"connection_id":164690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 22:59:53] local.INFO: Packet analysis {"connection_id":164690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:59:53] local.INFO: Extracted packet for processing {"connection_id":164690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 22:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645672704001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 22:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 22:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787678710000,"timestamp_ms":1787678710000,"timestamp_seconds":1787678710,"priority":1,"record_length":96,"hex_timestamp":"000001a039f458f0"} 
[2026-08-25 22:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 22:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-25 22:59:53] 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-25 22:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 22:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 22:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 22:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645672704001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 22:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 22:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 22:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645672704001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 22:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 22:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645672704001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 22:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":164690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:59:53] local.INFO: GPS data processed {"connection_id":164690,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:59:53] local.INFO: Acknowledgment sent {"connection_id":164690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 22:59:54] local.INFO: TCP Data received {"connection_id":162302,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039f4e590012d7c070005db4e58000400fb25..."} 
[2026-08-25 22:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f4e590012d7c070005db4e58000400fb25..."} 
[2026-08-25 22:59:54] local.INFO: Processing buffer {"connection_id":162302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f4e590012d7c070005db4e58000400fb25..."} 
[2026-08-25 22:59:54] local.INFO: Packet analysis {"connection_id":162302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:59:54] local.INFO: Extracted packet for processing {"connection_id":162302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 22:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763102976,"raw_latitude":98258520,"longitude_deg":76.3102976,"latitude_deg":9.825852,"altitude":4,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7c0700","hex_latitude":"05db4e58","is_valid_coordinates":true} 
[2026-08-25 22:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 22:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645753856001,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937182379438391296,"note":"Value kept but may cause issues"} 
[2026-08-25 22:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 22:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787678746000,"timestamp_ms":1787678746000,"timestamp_seconds":1787678746,"priority":1,"record_length":96,"hex_timestamp":"000001a039f4e590"} 
[2026-08-25 22:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 22:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 22:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-25 22:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1941,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 22:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 22:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 22:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 22:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 22:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 22:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 22:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 22:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 22:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645753856001,"66":11254,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937182379438391296},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 22:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 22:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 22:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645753856001,"description":"Unknown IO ID 0"} 
[2026-08-25 22:59:54] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 22:59:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 22:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 22:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937182379438391296,"description":"Unknown IO ID 45"} 
[2026-08-25 22:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645753856001,"power":11254,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937182379438391296}} 
[2026-08-25 22:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":162302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 22:59:54] local.INFO: GPS data processed {"connection_id":162302,"processed":1,"errors":0,"total":1} 
[2026-08-25 22:59:54] local.INFO: Acknowledgment sent {"connection_id":162302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:00:17] local.INFO: TCP Data received {"connection_id":162303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:00:17] local.INFO: Processing buffer {"connection_id":162303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:00:17] local.INFO: IMEI packet received {"connection_id":162303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":162303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:00:22] local.INFO: TCP Data received {"connection_id":162303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:00:22] local.INFO: Processing buffer {"connection_id":162303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:00:22] local.INFO: IMEI packet received {"connection_id":162303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":162303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:00:23] local.INFO: TCP Data received {"connection_id":162303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039f4e590012d7c070005db4e58000400fb25..."} 
[2026-08-25 23:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f4e590012d7c070005db4e58000400fb25..."} 
[2026-08-25 23:00:23] local.INFO: Processing buffer {"connection_id":162303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f4e590012d7c070005db4e58000400fb25..."} 
[2026-08-25 23:00:23] local.INFO: Packet analysis {"connection_id":162303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 23:00:23] local.INFO: Extracted packet for processing {"connection_id":162303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 23:00:23] local.INFO: GPS Element Parsed {"raw_longitude":763102976,"raw_latitude":98258520,"longitude_deg":76.3102976,"latitude_deg":9.825852,"altitude":4,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7c0700","hex_latitude":"05db4e58","is_valid_coordinates":true} 
[2026-08-25 23:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645758976001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787678746000,"timestamp_ms":1787678746000,"timestamp_seconds":1787678746,"priority":1,"record_length":96,"hex_timestamp":"000001a039f4e590"} 
[2026-08-25 23:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 23:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645758976001,"66":11254,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645758976001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:00:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:00:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645758976001,"power":11254,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":162303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:00:23] local.INFO: GPS data processed {"connection_id":162303,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:00:23] local.INFO: Acknowledgment sent {"connection_id":162303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:00:39] local.INFO: TCP Data received {"connection_id":162304,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:00:39] local.INFO: Processing buffer {"connection_id":162304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:00:39] local.INFO: IMEI packet received {"connection_id":162304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":162304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:00:44] local.INFO: TCP Data received {"connection_id":162304,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:00:44] local.INFO: Processing buffer {"connection_id":162304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:00:44] local.INFO: IMEI packet received {"connection_id":162304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":162304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:00:45] local.INFO: TCP Data received {"connection_id":162304,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 23:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 23:00:45] local.INFO: Processing buffer {"connection_id":162304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f458f0012d34c14006aa4818000600e62d..."} 
[2026-08-25 23:00:45] local.INFO: Packet analysis {"connection_id":162304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 23:00:45] local.INFO: Extracted packet for processing {"connection_id":162304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 23:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:00: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-25 23:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645672704001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:00:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787678710000,"timestamp_ms":1787678710000,"timestamp_seconds":1787678710,"priority":1,"record_length":96,"hex_timestamp":"000001a039f458f0"} 
[2026-08-25 23:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-25 23:00:45] 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-25 23:00: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-25 23:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645672704001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645672704001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645672704001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":162304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:00:45] local.INFO: GPS data processed {"connection_id":162304,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:00:45] local.INFO: Acknowledgment sent {"connection_id":162304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:00:54] local.INFO: TCP Data received {"connection_id":162303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039f4e590012d7c070005db4e58000400fb25..."} 
[2026-08-25 23:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f4e590012d7c070005db4e58000400fb25..."} 
[2026-08-25 23:00:54] local.INFO: Processing buffer {"connection_id":162303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f4e590012d7c070005db4e58000400fb25..."} 
[2026-08-25 23:00:54] local.INFO: Packet analysis {"connection_id":162303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 23:00:54] local.INFO: Extracted packet for processing {"connection_id":162303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 23:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763102976,"raw_latitude":98258520,"longitude_deg":76.3102976,"latitude_deg":9.825852,"altitude":4,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7c0700","hex_latitude":"05db4e58","is_valid_coordinates":true} 
[2026-08-25 23:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645758976001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787678746000,"timestamp_ms":1787678746000,"timestamp_seconds":1787678746,"priority":1,"record_length":96,"hex_timestamp":"000001a039f4e590"} 
[2026-08-25 23:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 23:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645758976001,"66":11254,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645758976001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:00:54] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:00:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645758976001,"power":11254,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":162303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:00:55] local.INFO: GPS data processed {"connection_id":162303,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:00:55] local.INFO: Acknowledgment sent {"connection_id":162303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:01:18] local.INFO: TCP Data received {"connection_id":162304,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:01:18] local.INFO: Processing buffer {"connection_id":162304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:01:18] local.INFO: Packet analysis {"connection_id":162304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:01:18] local.INFO: Extracted packet for processing {"connection_id":162304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645749760001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:01:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787679011000,"timestamp_ms":1787679011000,"timestamp_seconds":1787679011,"priority":1,"record_length":96,"hex_timestamp":"000001a039f8f0b8"} 
[2026-08-25 23: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-25 23:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:01:18] 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-25 23: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-25 23: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-25 23:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645749760001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645749760001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645749760001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":162304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:01:18] local.INFO: GPS data processed {"connection_id":162304,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:01:18] local.INFO: Acknowledgment sent {"connection_id":162304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:01:22] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:01:22] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:01:22] local.INFO: IMEI packet received {"connection_id":162075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":162075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:01:31] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:01:31] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:01:31] local.INFO: IMEI packet received {"connection_id":162075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":162075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:01:32] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:01:32] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:01:32] local.INFO: IMEI packet received {"connection_id":162075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":162075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:01:37] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:01:37] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:01:37] local.INFO: IMEI packet received {"connection_id":162075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":162075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:01:38] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039f4f918012d7c070005db4e58000400fb23..."} 
[2026-08-25 23:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f4f918012d7c070005db4e58000400fb23..."} 
[2026-08-25 23:01:38] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f4f918012d7c070005db4e58000400fb23..."} 
[2026-08-25 23:01:38] local.INFO: Packet analysis {"connection_id":162075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 23:01:38] local.INFO: Extracted packet for processing {"connection_id":162075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 23:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763102976,"raw_latitude":98258520,"longitude_deg":76.3102976,"latitude_deg":9.825852,"altitude":4,"angle":251,"satellites":35,"speed":0,"hex_longitude":"2d7c0700","hex_latitude":"05db4e58","is_valid_coordinates":true} 
[2026-08-25 23:01: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-25 23:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645758976001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787678751000,"timestamp_ms":1787678751000,"timestamp_seconds":1787678751,"priority":1,"record_length":96,"hex_timestamp":"000001a039f4f918"} 
[2026-08-25 23: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-25 23:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23: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":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-25 23:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645758976001,"66":12058,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645758976001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:01:38] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645758976001,"power":12058,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":162075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:01:38] local.INFO: GPS data processed {"connection_id":162075,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:01:38] local.INFO: Acknowledgment sent {"connection_id":162075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:01:38] local.INFO: TCP Data received {"connection_id":163309,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:01:38] local.INFO: Processing buffer {"connection_id":163309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:01:38] local.INFO: IMEI packet received {"connection_id":163309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":163309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:01:43] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039f4f918012d7c070005db4e58000400fb23..."} 
[2026-08-25 23:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f4f918012d7c070005db4e58000400fb23..."} 
[2026-08-25 23:01:43] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f4f918012d7c070005db4e58000400fb23..."} 
[2026-08-25 23:01:43] local.INFO: Packet analysis {"connection_id":162075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 23:01:43] local.INFO: Extracted packet for processing {"connection_id":162075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f4"} 
[2026-08-25 23:01:43] local.INFO: GPS Element Parsed {"raw_longitude":763102976,"raw_latitude":98258520,"longitude_deg":76.3102976,"latitude_deg":9.825852,"altitude":4,"angle":251,"satellites":35,"speed":0,"hex_longitude":"2d7c0700","hex_latitude":"05db4e58","is_valid_coordinates":true} 
[2026-08-25 23:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645760256001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787678751000,"timestamp_ms":1787678751000,"timestamp_seconds":1787678751,"priority":1,"record_length":96,"hex_timestamp":"000001a039f4f918"} 
[2026-08-25 23:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 23:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645760256001,"66":12058,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645760256001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:01:43] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645760256001,"power":12058,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":162075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:01:43] local.INFO: GPS data processed {"connection_id":162075,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:01:43] local.INFO: Acknowledgment sent {"connection_id":162075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:01:44] local.INFO: TCP Data received {"connection_id":163309,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:01:44] local.INFO: Processing buffer {"connection_id":163309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:01:44] local.INFO: IMEI packet received {"connection_id":163309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":163309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:01:45] local.INFO: TCP Data received {"connection_id":163309,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:01:45] local.INFO: Processing buffer {"connection_id":163309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:01:45] local.INFO: Packet analysis {"connection_id":163309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:01:45] local.INFO: Extracted packet for processing {"connection_id":163309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645749760001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:01:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787679011000,"timestamp_ms":1787679011000,"timestamp_seconds":1787679011,"priority":1,"record_length":96,"hex_timestamp":"000001a039f8f0b8"} 
[2026-08-25 23:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:01:45] 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-25 23:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645749760001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645749760001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:01:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645749760001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":163309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:01:45] local.INFO: GPS data processed {"connection_id":163309,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:01:45] local.INFO: Acknowledgment sent {"connection_id":163309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:02:16] local.INFO: TCP Data received {"connection_id":163309,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:02:16] local.INFO: Processing buffer {"connection_id":163309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:02:16] local.INFO: Packet analysis {"connection_id":163309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:02:16] local.INFO: Extracted packet for processing {"connection_id":163309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645749760001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:02:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787679011000,"timestamp_ms":1787679011000,"timestamp_seconds":1787679011,"priority":1,"record_length":96,"hex_timestamp":"000001a039f8f0b8"} 
[2026-08-25 23:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:02:16] 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-25 23:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645749760001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645749760001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645749760001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":163309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:02:16] local.INFO: GPS data processed {"connection_id":163309,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:02:16] local.INFO: Acknowledgment sent {"connection_id":163309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:02:17] local.INFO: TCP Data received {"connection_id":163310,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:02:17] local.INFO: Processing buffer {"connection_id":163310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:02:17] local.INFO: IMEI packet received {"connection_id":163310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":163310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:02:22] local.INFO: TCP Data received {"connection_id":163310,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:02:22] local.INFO: Processing buffer {"connection_id":163310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:02:22] local.INFO: IMEI packet received {"connection_id":163310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":163310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:02:23] local.INFO: TCP Data received {"connection_id":163310,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:02:23] local.INFO: Processing buffer {"connection_id":163310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:02:23] local.INFO: Packet analysis {"connection_id":163310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:02:23] local.INFO: Extracted packet for processing {"connection_id":163310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:02:23] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":98258600,"longitude_deg":76.310272,"latitude_deg":9.82586,"altitude":4,"angle":251,"satellites":44,"speed":0,"hex_longitude":"2d7c0600","hex_latitude":"05db4ea8","is_valid_coordinates":true} 
[2026-08-25 23:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645760256001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787679141000,"timestamp_ms":1787679141000,"timestamp_seconds":1787679141,"priority":1,"record_length":96,"hex_timestamp":"000001a039faec88"} 
[2026-08-25 23:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 23:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645760256001,"66":2231,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645760256001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:02:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:02:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645760256001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":163310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:02:23] local.INFO: GPS data processed {"connection_id":163310,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:02:23] local.INFO: Acknowledgment sent {"connection_id":163310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:02:38] local.INFO: TCP Data received {"connection_id":162305,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:02:38] local.INFO: Processing buffer {"connection_id":162305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:02:38] local.INFO: IMEI packet received {"connection_id":162305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":162305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:02:44] local.INFO: TCP Data received {"connection_id":162305,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:02:44] local.INFO: Processing buffer {"connection_id":162305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:02:44] local.INFO: IMEI packet received {"connection_id":162305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":162305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:02:45] local.INFO: TCP Data received {"connection_id":162305,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:02:45] local.INFO: Processing buffer {"connection_id":162305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:02:45] local.INFO: Packet analysis {"connection_id":162305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:02:45] local.INFO: Extracted packet for processing {"connection_id":162305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645749760001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:02:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787679011000,"timestamp_ms":1787679011000,"timestamp_seconds":1787679011,"priority":1,"record_length":96,"hex_timestamp":"000001a039f8f0b8"} 
[2026-08-25 23:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:02:45] 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-25 23:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645749760001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645749760001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645749760001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":162305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:02:45] local.INFO: GPS data processed {"connection_id":162305,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:02:45] local.INFO: Acknowledgment sent {"connection_id":162305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:02:54] local.INFO: TCP Data received {"connection_id":163310,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:02:54] local.INFO: Processing buffer {"connection_id":163310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:02:54] local.INFO: Packet analysis {"connection_id":163310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:02:54] local.INFO: Extracted packet for processing {"connection_id":163310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:02:54] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":98258600,"longitude_deg":76.310272,"latitude_deg":9.82586,"altitude":4,"angle":251,"satellites":44,"speed":0,"hex_longitude":"2d7c0600","hex_latitude":"05db4ea8","is_valid_coordinates":true} 
[2026-08-25 23:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645760256001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787679141000,"timestamp_ms":1787679141000,"timestamp_seconds":1787679141,"priority":1,"record_length":96,"hex_timestamp":"000001a039faec88"} 
[2026-08-25 23:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 23:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645760256001,"66":2231,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645760256001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:02:54] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:02:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645760256001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":163310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:02:54] local.INFO: GPS data processed {"connection_id":163310,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:02:54] local.INFO: Acknowledgment sent {"connection_id":163310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:03:16] local.INFO: TCP Data received {"connection_id":162305,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:03:16] local.INFO: Processing buffer {"connection_id":162305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:03:16] local.INFO: Packet analysis {"connection_id":162305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:03:16] local.INFO: Extracted packet for processing {"connection_id":162305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645749760001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:03:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787679011000,"timestamp_ms":1787679011000,"timestamp_seconds":1787679011,"priority":1,"record_length":96,"hex_timestamp":"000001a039f8f0b8"} 
[2026-08-25 23:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:03:16] 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-25 23:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645749760001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645749760001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645749760001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":162305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:03:16] local.INFO: GPS data processed {"connection_id":162305,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:03:16] local.INFO: Acknowledgment sent {"connection_id":162305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:03:17] local.INFO: TCP Data received {"connection_id":162306,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:03:17] local.INFO: Processing buffer {"connection_id":162306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:03:17] local.INFO: IMEI packet received {"connection_id":162306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":162306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:03:22] local.INFO: TCP Data received {"connection_id":162306,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:03:22] local.INFO: Processing buffer {"connection_id":162306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:03:22] local.INFO: IMEI packet received {"connection_id":162306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":162306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:03:23] local.INFO: TCP Data received {"connection_id":162306,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:03:23] local.INFO: Processing buffer {"connection_id":162306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:03:23] local.INFO: Packet analysis {"connection_id":162306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:03:23] local.INFO: Extracted packet for processing {"connection_id":162306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":98258600,"longitude_deg":76.310272,"latitude_deg":9.82586,"altitude":4,"angle":251,"satellites":44,"speed":0,"hex_longitude":"2d7c0600","hex_latitude":"05db4ea8","is_valid_coordinates":true} 
[2026-08-25 23:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645760256001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787679141000,"timestamp_ms":1787679141000,"timestamp_seconds":1787679141,"priority":1,"record_length":96,"hex_timestamp":"000001a039faec88"} 
[2026-08-25 23:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 23:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645760256001,"66":2231,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645760256001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:03:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:03:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645760256001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":162306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:03:23] local.INFO: GPS data processed {"connection_id":162306,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:03:23] local.INFO: Acknowledgment sent {"connection_id":162306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:03:38] local.INFO: TCP Data received {"connection_id":164692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:03:38] local.INFO: Processing buffer {"connection_id":164692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:03:38] local.INFO: IMEI packet received {"connection_id":164692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":164692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:03:44] local.INFO: TCP Data received {"connection_id":164692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:03:44] local.INFO: Processing buffer {"connection_id":164692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:03:44] local.INFO: IMEI packet received {"connection_id":164692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":164692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:03:44] local.INFO: TCP Data received {"connection_id":164692,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:03:45] local.INFO: Processing buffer {"connection_id":164692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:03:45] local.INFO: Packet analysis {"connection_id":164692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:03:45] local.INFO: Extracted packet for processing {"connection_id":164692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645749760001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:03:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787679011000,"timestamp_ms":1787679011000,"timestamp_seconds":1787679011,"priority":1,"record_length":96,"hex_timestamp":"000001a039f8f0b8"} 
[2026-08-25 23: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-25 23:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:03:45] 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-25 23: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-25 23: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-25 23:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645749760001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645749760001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645749760001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":164692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:03:45] local.INFO: GPS data processed {"connection_id":164692,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:03:45] local.INFO: Acknowledgment sent {"connection_id":164692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:03:54] local.INFO: TCP Data received {"connection_id":162306,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:03:54] local.INFO: Processing buffer {"connection_id":162306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:03:54] local.INFO: Packet analysis {"connection_id":162306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:03:54] local.INFO: Extracted packet for processing {"connection_id":162306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":98258600,"longitude_deg":76.310272,"latitude_deg":9.82586,"altitude":4,"angle":251,"satellites":44,"speed":0,"hex_longitude":"2d7c0600","hex_latitude":"05db4ea8","is_valid_coordinates":true} 
[2026-08-25 23:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645760256001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787679141000,"timestamp_ms":1787679141000,"timestamp_seconds":1787679141,"priority":1,"record_length":96,"hex_timestamp":"000001a039faec88"} 
[2026-08-25 23:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 23:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645760256001,"66":2231,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645760256001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:03:54] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:03:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645760256001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":162306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:03:54] local.INFO: GPS data processed {"connection_id":162306,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:03:54] local.INFO: Acknowledgment sent {"connection_id":162306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:04:16] local.INFO: TCP Data received {"connection_id":164692,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:04:16] local.INFO: Processing buffer {"connection_id":164692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:04:16] local.INFO: Packet analysis {"connection_id":164692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:04:16] local.INFO: Extracted packet for processing {"connection_id":164692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645749760001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:04:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787679011000,"timestamp_ms":1787679011000,"timestamp_seconds":1787679011,"priority":1,"record_length":96,"hex_timestamp":"000001a039f8f0b8"} 
[2026-08-25 23:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:04:16] 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-25 23:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645749760001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645749760001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645749760001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":164692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:04:16] local.INFO: GPS data processed {"connection_id":164692,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:04:16] local.INFO: Acknowledgment sent {"connection_id":164692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:04:17] local.INFO: TCP Data received {"connection_id":162307,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:04:17] local.INFO: Processing buffer {"connection_id":162307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:04:17] local.INFO: IMEI packet received {"connection_id":162307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":162307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:04:22] local.INFO: TCP Data received {"connection_id":162307,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:04:22] local.INFO: Processing buffer {"connection_id":162307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:04:22] local.INFO: IMEI packet received {"connection_id":162307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":162307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:04:23] local.INFO: TCP Data received {"connection_id":162307,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:04:23] local.INFO: Processing buffer {"connection_id":162307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:04:23] local.INFO: Packet analysis {"connection_id":162307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:04:23] local.INFO: Extracted packet for processing {"connection_id":162307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:04:23] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":98258600,"longitude_deg":76.310272,"latitude_deg":9.82586,"altitude":4,"angle":251,"satellites":44,"speed":0,"hex_longitude":"2d7c0600","hex_latitude":"05db4ea8","is_valid_coordinates":true} 
[2026-08-25 23:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645760256001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787679141000,"timestamp_ms":1787679141000,"timestamp_seconds":1787679141,"priority":1,"record_length":96,"hex_timestamp":"000001a039faec88"} 
[2026-08-25 23:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 23:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645760256001,"66":2231,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645760256001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:04:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:04:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645760256001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":162307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:04:23] local.INFO: GPS data processed {"connection_id":162307,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:04:23] local.INFO: Acknowledgment sent {"connection_id":162307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:04:44] local.INFO: TCP Data received {"connection_id":162308,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:04:44] local.INFO: Processing buffer {"connection_id":162308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:04:44] local.INFO: IMEI packet received {"connection_id":162308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":162308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:04:49] local.INFO: TCP Data received {"connection_id":162308,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:04:49] local.INFO: Processing buffer {"connection_id":162308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:04:49] local.INFO: IMEI packet received {"connection_id":162308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":162308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:04:49] local.INFO: TCP Data received {"connection_id":162308,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:04:49] local.INFO: Processing buffer {"connection_id":162308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:04:49] local.INFO: Packet analysis {"connection_id":162308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:04:49] local.INFO: Extracted packet for processing {"connection_id":162308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:04:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 23:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645749760001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:04:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787679011000,"timestamp_ms":1787679011000,"timestamp_seconds":1787679011,"priority":1,"record_length":96,"hex_timestamp":"000001a039f8f0b8"} 
[2026-08-25 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-25 23:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 23:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645749760001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645749760001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:04:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645749760001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":162308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:04:50] local.INFO: GPS data processed {"connection_id":162308,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:04:50] local.INFO: Acknowledgment sent {"connection_id":162308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:04:54] local.INFO: TCP Data received {"connection_id":162307,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:04:54] local.INFO: Processing buffer {"connection_id":162307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:04:54] local.INFO: Packet analysis {"connection_id":162307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:04:54] local.INFO: Extracted packet for processing {"connection_id":162307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:04:54] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":98258600,"longitude_deg":76.310272,"latitude_deg":9.82586,"altitude":4,"angle":251,"satellites":44,"speed":0,"hex_longitude":"2d7c0600","hex_latitude":"05db4ea8","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645760256001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787679141000,"timestamp_ms":1787679141000,"timestamp_seconds":1787679141,"priority":1,"record_length":96,"hex_timestamp":"000001a039faec88"} 
[2026-08-25 23: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-25 23:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 23:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645760256001,"66":2231,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645760256001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:04:54] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:04:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645760256001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":162307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:04:54] local.INFO: GPS data processed {"connection_id":162307,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:04:54] local.INFO: Acknowledgment sent {"connection_id":162307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:05:09] local.INFO: TCP Data received {"connection_id":164691,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:05:09] local.INFO: Processing buffer {"connection_id":164691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:05:09] local.INFO: IMEI packet received {"connection_id":164691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 23:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":164691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:05:17] local.INFO: TCP Data received {"connection_id":164693,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:05:17] local.INFO: Processing buffer {"connection_id":164693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:05:17] local.INFO: IMEI packet received {"connection_id":164693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":164693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:05:21] local.INFO: TCP Data received {"connection_id":162308,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:05:21] local.INFO: Processing buffer {"connection_id":162308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:05:21] local.INFO: Packet analysis {"connection_id":162308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:05:21] local.INFO: Extracted packet for processing {"connection_id":162308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 23:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645749760001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:05:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787679011000,"timestamp_ms":1787679011000,"timestamp_seconds":1787679011,"priority":1,"record_length":96,"hex_timestamp":"000001a039f8f0b8"} 
[2026-08-25 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-25 23:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:05:21] 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-25 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-25 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-25 23:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645749760001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645749760001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645749760001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":162308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:05:21] local.INFO: GPS data processed {"connection_id":162308,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:05:21] local.INFO: Acknowledgment sent {"connection_id":162308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:05:22] local.INFO: TCP Data received {"connection_id":164693,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:05:22] local.INFO: Processing buffer {"connection_id":164693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:05:22] local.INFO: IMEI packet received {"connection_id":164693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":164693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:05:23] local.INFO: TCP Data received {"connection_id":164693,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:05:23] local.INFO: Processing buffer {"connection_id":164693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:05:23] local.INFO: Packet analysis {"connection_id":164693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:05:23] local.INFO: Extracted packet for processing {"connection_id":164693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:05:23] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":98258600,"longitude_deg":76.310272,"latitude_deg":9.82586,"altitude":4,"angle":251,"satellites":44,"speed":0,"hex_longitude":"2d7c0600","hex_latitude":"05db4ea8","is_valid_coordinates":true} 
[2026-08-25 23:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645760256001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787679141000,"timestamp_ms":1787679141000,"timestamp_seconds":1787679141,"priority":1,"record_length":96,"hex_timestamp":"000001a039faec88"} 
[2026-08-25 23:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 23:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645760256001,"66":2231,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645760256001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:05:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:05:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645760256001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":164693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:05:23] local.INFO: GPS data processed {"connection_id":164693,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:05:23] local.INFO: Acknowledgment sent {"connection_id":164693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:05:39] local.INFO: TCP Data received {"connection_id":163311,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:05:39] local.INFO: Processing buffer {"connection_id":163311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:05:39] local.INFO: IMEI packet received {"connection_id":163311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":163311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:05:44] local.INFO: TCP Data received {"connection_id":163311,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:05:44] local.INFO: Processing buffer {"connection_id":163311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:05:44] local.INFO: IMEI packet received {"connection_id":163311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":163311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:05:45] local.INFO: TCP Data received {"connection_id":163311,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:05:45] local.INFO: Processing buffer {"connection_id":163311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039f8f0b8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:05:45] local.INFO: Packet analysis {"connection_id":163311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:05:45] local.INFO: Extracted packet for processing {"connection_id":163311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039f8"} 
[2026-08-25 23:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645749760001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:05:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787679011000,"timestamp_ms":1787679011000,"timestamp_seconds":1787679011,"priority":1,"record_length":96,"hex_timestamp":"000001a039f8f0b8"} 
[2026-08-25 23:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:05:45] 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-25 23:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645749760001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645749760001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645749760001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":163311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:05:45] local.INFO: GPS data processed {"connection_id":163311,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:05:45] local.INFO: Acknowledgment sent {"connection_id":163311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:05:53] local.INFO: TCP Data received {"connection_id":164693,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:05:53] local.INFO: Processing buffer {"connection_id":164693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:05:53] local.INFO: Packet analysis {"connection_id":164693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:05:53] local.INFO: Extracted packet for processing {"connection_id":164693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:05:53] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":98258600,"longitude_deg":76.310272,"latitude_deg":9.82586,"altitude":4,"angle":251,"satellites":44,"speed":0,"hex_longitude":"2d7c0600","hex_latitude":"05db4ea8","is_valid_coordinates":true} 
[2026-08-25 23:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645760256001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787679141000,"timestamp_ms":1787679141000,"timestamp_seconds":1787679141,"priority":1,"record_length":96,"hex_timestamp":"000001a039faec88"} 
[2026-08-25 23:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 23:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645760256001,"66":2231,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645760256001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:05:53] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:05:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645760256001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":164693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:05:53] local.INFO: GPS data processed {"connection_id":164693,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:05:53] local.INFO: Acknowledgment sent {"connection_id":164693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:06:16] local.INFO: TCP Data received {"connection_id":163311,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:06:16] local.INFO: Processing buffer {"connection_id":163311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:06:16] local.INFO: Packet analysis {"connection_id":163311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:06:16] local.INFO: Extracted packet for processing {"connection_id":163311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645826816001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:06:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787679312000,"timestamp_ms":1787679312000,"timestamp_seconds":1787679312,"priority":1,"record_length":96,"hex_timestamp":"000001a039fd8880"} 
[2026-08-25 23:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 23:06:16] 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-25 23:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645826816001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645826816001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:06:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645826816001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":163311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:06:16] local.INFO: GPS data processed {"connection_id":163311,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:06:16] local.INFO: Acknowledgment sent {"connection_id":163311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:06:22] local.INFO: TCP Data received {"connection_id":162309,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:06:22] local.INFO: Processing buffer {"connection_id":162309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:06:22] local.INFO: IMEI packet received {"connection_id":162309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":162309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:06:27] local.INFO: TCP Data received {"connection_id":162309,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:06:27] local.INFO: Processing buffer {"connection_id":162309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:06:27] local.INFO: IMEI packet received {"connection_id":162309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":162309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:06:28] local.INFO: TCP Data received {"connection_id":162309,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:06:28] local.INFO: Processing buffer {"connection_id":162309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:06:28] local.INFO: Packet analysis {"connection_id":162309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:06:28] local.INFO: Extracted packet for processing {"connection_id":162309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:06:28] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":98258600,"longitude_deg":76.310272,"latitude_deg":9.82586,"altitude":4,"angle":251,"satellites":44,"speed":0,"hex_longitude":"2d7c0600","hex_latitude":"05db4ea8","is_valid_coordinates":true} 
[2026-08-25 23:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645760256001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787679141000,"timestamp_ms":1787679141000,"timestamp_seconds":1787679141,"priority":1,"record_length":96,"hex_timestamp":"000001a039faec88"} 
[2026-08-25 23:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 23:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645760256001,"66":2231,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645760256001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:06:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645760256001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":162309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:06:28] local.INFO: GPS data processed {"connection_id":162309,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:06:28] local.INFO: Acknowledgment sent {"connection_id":162309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:06:32] local.INFO: TCP Data received {"connection_id":162309,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:06:32] local.INFO: Processing buffer {"connection_id":162309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:06:32] local.INFO: Packet analysis {"connection_id":162309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:06:32] local.INFO: Extracted packet for processing {"connection_id":162309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":98258600,"longitude_deg":76.310272,"latitude_deg":9.82586,"altitude":4,"angle":251,"satellites":44,"speed":0,"hex_longitude":"2d7c0600","hex_latitude":"05db4ea8","is_valid_coordinates":true} 
[2026-08-25 23:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645760256001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787679141000,"timestamp_ms":1787679141000,"timestamp_seconds":1787679141,"priority":1,"record_length":96,"hex_timestamp":"000001a039faec88"} 
[2026-08-25 23:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 23:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645760256001,"66":2231,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645760256001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:06:32] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645760256001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":162309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:06:33] local.INFO: GPS data processed {"connection_id":162309,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:06:33] local.INFO: Acknowledgment sent {"connection_id":162309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:06:38] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:06:38] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:06:38] local.INFO: IMEI packet received {"connection_id":162076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":162076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:06:44] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:06:44] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:06:44] local.INFO: IMEI packet received {"connection_id":162076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":162076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:06:45] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:06:45] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:06:45] local.INFO: Packet analysis {"connection_id":162076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:06:45] local.INFO: Extracted packet for processing {"connection_id":162076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645826816001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:06:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787679312000,"timestamp_ms":1787679312000,"timestamp_seconds":1787679312,"priority":1,"record_length":96,"hex_timestamp":"000001a039fd8880"} 
[2026-08-25 23: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-25 23:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 23:06:45] 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-25 23: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-25 23: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-25 23:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645826816001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645826816001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:06:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645826816001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":162076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:06:45] local.INFO: GPS data processed {"connection_id":162076,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:06:45] local.INFO: Acknowledgment sent {"connection_id":162076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:07:16] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:07:16] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:07:16] local.INFO: Packet analysis {"connection_id":162076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:07:16] local.INFO: Extracted packet for processing {"connection_id":162076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645826816001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787679312000,"timestamp_ms":1787679312000,"timestamp_seconds":1787679312,"priority":1,"record_length":96,"hex_timestamp":"000001a039fd8880"} 
[2026-08-25 23:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 23:07:16] 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-25 23:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645826816001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645826816001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645826816001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":162076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:07:16] local.INFO: GPS data processed {"connection_id":162076,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:07:16] local.INFO: Acknowledgment sent {"connection_id":162076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:07:17] local.INFO: TCP Data received {"connection_id":162310,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:07:17] local.INFO: Processing buffer {"connection_id":162310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:07:17] local.INFO: IMEI packet received {"connection_id":162310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":162310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:07:22] local.INFO: TCP Data received {"connection_id":162310,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:07:22] local.INFO: Processing buffer {"connection_id":162310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:07:22] local.INFO: IMEI packet received {"connection_id":162310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":162310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:07:23] local.INFO: TCP Data received {"connection_id":162310,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:07:23] local.INFO: Processing buffer {"connection_id":162310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039faec88012d7c060005db4ea8000400fb2c..."} 
[2026-08-25 23:07:23] local.INFO: Packet analysis {"connection_id":162310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:07:23] local.INFO: Extracted packet for processing {"connection_id":162310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fa"} 
[2026-08-25 23:07:23] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":98258600,"longitude_deg":76.310272,"latitude_deg":9.82586,"altitude":4,"angle":251,"satellites":44,"speed":0,"hex_longitude":"2d7c0600","hex_latitude":"05db4ea8","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645760256001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010694219776,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787679141000,"timestamp_ms":1787679141000,"timestamp_seconds":1787679141,"priority":1,"record_length":96,"hex_timestamp":"000001a039faec88"} 
[2026-08-25 23: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-25 23:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-25 23:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645760256001,"66":2231,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8937112010694219776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645760256001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:07:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:07:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010694219776,"description":"Unknown IO ID 45"} 
[2026-08-25 23:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645760256001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937112010694219776}} 
[2026-08-25 23:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":162310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:07:24] local.INFO: GPS data processed {"connection_id":162310,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:07:24] local.INFO: Acknowledgment sent {"connection_id":162310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:07:44] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:07:44] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:07:44] local.INFO: IMEI packet received {"connection_id":162077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":162077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:07:49] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:07:49] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:07:49] local.INFO: IMEI packet received {"connection_id":162077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":162077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:07:49] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:07:49] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:07:49] local.INFO: Packet analysis {"connection_id":162077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:07:49] local.INFO: Extracted packet for processing {"connection_id":162077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 23:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645826816001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787679312000,"timestamp_ms":1787679312000,"timestamp_seconds":1787679312,"priority":1,"record_length":96,"hex_timestamp":"000001a039fd8880"} 
[2026-08-25 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-25 23:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 23:07:49] 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-25 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-25 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-25 23:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645826816001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645826816001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:07:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645826816001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":162077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:07:49] local.INFO: GPS data processed {"connection_id":162077,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:07:49] local.INFO: Acknowledgment sent {"connection_id":162077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:07:54] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:07:54] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:07:54] local.INFO: Packet analysis {"connection_id":162077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:07:54] local.INFO: Extracted packet for processing {"connection_id":162077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:07:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645826816001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787679312000,"timestamp_ms":1787679312000,"timestamp_seconds":1787679312,"priority":1,"record_length":96,"hex_timestamp":"000001a039fd8880"} 
[2026-08-25 23:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 23:07:54] 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-25 23:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645826816001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645826816001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:07:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645826816001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":162077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:07:54] local.INFO: GPS data processed {"connection_id":162077,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:07:54] local.INFO: Acknowledgment sent {"connection_id":162077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:07:55] local.INFO: TCP Data received {"connection_id":162310,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a039ff8450012d7c060005db4ea8000400fb2e..."} 
[2026-08-25 23:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039ff8450012d7c060005db4ea8000400fb2e..."} 
[2026-08-25 23:07:55] local.INFO: Processing buffer {"connection_id":162310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039ff8450012d7c060005db4ea8000400fb2e..."} 
[2026-08-25 23:07:55] local.INFO: Packet analysis {"connection_id":162310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039ff"} 
[2026-08-25 23:07:55] local.INFO: Extracted packet for processing {"connection_id":162310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039ff"} 
[2026-08-25 23:07:55] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":98258600,"longitude_deg":76.310272,"latitude_deg":9.82586,"altitude":4,"angle":251,"satellites":46,"speed":0,"hex_longitude":"2d7c0600","hex_latitude":"05db4ea8","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645860096001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521650350718976,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936830535717529600,"note":"Value kept but may cause issues"} 
[2026-08-25 23:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787679442000,"timestamp_ms":1787679442000,"timestamp_seconds":1787679442,"priority":1,"record_length":96,"hex_timestamp":"000001a039ff8450"} 
[2026-08-25 23: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-25 23:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-25 23:07:55] 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-25 23: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-25 23: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-25 23:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645860096001,"66":2231,"185":206,"85":15104,"24":0,"16":124521650350718976,"45":8936830535717529600},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645860096001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:07:55] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:07:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521650350718976,"km_value":124521650350718.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936830535717529600,"description":"Unknown IO ID 45"} 
[2026-08-25 23:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645860096001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936830535717529600}} 
[2026-08-25 23:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":162310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:07:55] local.INFO: GPS data processed {"connection_id":162310,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:07:55] local.INFO: Acknowledgment sent {"connection_id":162310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:08:39] local.INFO: TCP Data received {"connection_id":163312,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:08:39] local.INFO: Processing buffer {"connection_id":163312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:08:39] local.INFO: IMEI packet received {"connection_id":163312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":163312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:08:44] local.INFO: TCP Data received {"connection_id":163312,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:08:44] local.INFO: Processing buffer {"connection_id":163312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:08:44] local.INFO: IMEI packet received {"connection_id":163312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":163312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:08:45] local.INFO: TCP Data received {"connection_id":163312,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:08:45] local.INFO: Processing buffer {"connection_id":163312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:08:45] local.INFO: Packet analysis {"connection_id":163312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:08:45] local.INFO: Extracted packet for processing {"connection_id":163312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645826816001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:08:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787679312000,"timestamp_ms":1787679312000,"timestamp_seconds":1787679312,"priority":1,"record_length":96,"hex_timestamp":"000001a039fd8880"} 
[2026-08-25 23:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 23:08:45] 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-25 23:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645826816001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645826816001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645826816001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":163312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:08:45] local.INFO: GPS data processed {"connection_id":163312,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:08:45] local.INFO: Acknowledgment sent {"connection_id":163312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:09:16] local.INFO: TCP Data received {"connection_id":163312,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:09:16] local.INFO: Processing buffer {"connection_id":163312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:09:16] local.INFO: Packet analysis {"connection_id":163312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:09:16] local.INFO: Extracted packet for processing {"connection_id":163312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645826816001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:09:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787679312000,"timestamp_ms":1787679312000,"timestamp_seconds":1787679312,"priority":1,"record_length":96,"hex_timestamp":"000001a039fd8880"} 
[2026-08-25 23:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 23:09:16] 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-25 23:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645826816001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645826816001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645826816001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":163312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:09:16] local.INFO: GPS data processed {"connection_id":163312,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:09:16] local.INFO: Acknowledgment sent {"connection_id":163312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:09:39] local.INFO: TCP Data received {"connection_id":164694,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:09:39] local.INFO: Processing buffer {"connection_id":164694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:09:39] local.INFO: IMEI packet received {"connection_id":164694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":164694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:09:44] local.INFO: TCP Data received {"connection_id":164694,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:09:44] local.INFO: Processing buffer {"connection_id":164694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:09:44] local.INFO: IMEI packet received {"connection_id":164694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":164694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:09:45] local.INFO: TCP Data received {"connection_id":164694,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:09:45] local.INFO: Processing buffer {"connection_id":164694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:09:45] local.INFO: Packet analysis {"connection_id":164694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:09:45] local.INFO: Extracted packet for processing {"connection_id":164694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645826816001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:09:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787679312000,"timestamp_ms":1787679312000,"timestamp_seconds":1787679312,"priority":1,"record_length":96,"hex_timestamp":"000001a039fd8880"} 
[2026-08-25 23:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 23:09:45] 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-25 23:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645826816001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645826816001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645826816001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":164694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:09:45] local.INFO: GPS data processed {"connection_id":164694,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:09:45] local.INFO: Acknowledgment sent {"connection_id":164694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:10:17] local.INFO: TCP Data received {"connection_id":164694,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:10:17] local.INFO: Processing buffer {"connection_id":164694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:10:17] local.INFO: Packet analysis {"connection_id":164694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:10:17] local.INFO: Extracted packet for processing {"connection_id":164694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645826816001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:10:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787679312000,"timestamp_ms":1787679312000,"timestamp_seconds":1787679312,"priority":1,"record_length":96,"hex_timestamp":"000001a039fd8880"} 
[2026-08-25 23:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 23:10:17] 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-25 23:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645826816001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645826816001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645826816001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":164694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:10:17] local.INFO: GPS data processed {"connection_id":164694,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:10:17] local.INFO: Acknowledgment sent {"connection_id":164694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:10:41] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:10:41] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:10:41] local.INFO: IMEI packet received {"connection_id":162078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":162078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:10:43] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:10:43] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:10:43] local.INFO: IMEI packet received {"connection_id":162078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":162078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:10:44] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:10:44] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a039fd8880012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:10:44] local.INFO: Packet analysis {"connection_id":162078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:10:44] local.INFO: Extracted packet for processing {"connection_id":162078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a039fd"} 
[2026-08-25 23:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645826816001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:10:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787679312000,"timestamp_ms":1787679312000,"timestamp_seconds":1787679312,"priority":1,"record_length":96,"hex_timestamp":"000001a039fd8880"} 
[2026-08-25 23: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-25 23:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-25 23:10:44] 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-25 23: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-25 23: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-25 23:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645826816001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645826816001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645826816001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":162078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:10:44] local.INFO: GPS data processed {"connection_id":162078,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:10:44] local.INFO: Acknowledgment sent {"connection_id":162078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:10:45] local.INFO: TCP Data received {"connection_id":162311,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:10:45] local.INFO: Processing buffer {"connection_id":162311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:10:45] local.INFO: IMEI packet received {"connection_id":162311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 23:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":162311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:11:16] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:11:16] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:11:16] local.INFO: Packet analysis {"connection_id":162078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:11:16] local.INFO: Extracted packet for processing {"connection_id":162078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645903872001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:11:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787679613000,"timestamp_ms":1787679613000,"timestamp_seconds":1787679613,"priority":1,"record_length":96,"hex_timestamp":"000001a03a022048"} 
[2026-08-25 23:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:11:16] 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-25 23:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645903872001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645903872001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645903872001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":162078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:11:16] local.INFO: GPS data processed {"connection_id":162078,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:11:16] local.INFO: Acknowledgment sent {"connection_id":162078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:11:38] local.INFO: TCP Data received {"connection_id":163313,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:11:38] local.INFO: Processing buffer {"connection_id":163313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:11:38] local.INFO: IMEI packet received {"connection_id":163313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":163313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:11:44] local.INFO: TCP Data received {"connection_id":163313,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:11:44] local.INFO: Processing buffer {"connection_id":163313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:11:44] local.INFO: IMEI packet received {"connection_id":163313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":163313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:11:45] local.INFO: TCP Data received {"connection_id":163313,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:11:45] local.INFO: Processing buffer {"connection_id":163313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:11:45] local.INFO: Packet analysis {"connection_id":163313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:11:45] local.INFO: Extracted packet for processing {"connection_id":163313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:11:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645903872001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:11:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787679613000,"timestamp_ms":1787679613000,"timestamp_seconds":1787679613,"priority":1,"record_length":96,"hex_timestamp":"000001a03a022048"} 
[2026-08-25 23:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:11:45] 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-25 23:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645903872001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645903872001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:11:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645903872001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":163313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:11:45] local.INFO: GPS data processed {"connection_id":163313,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:11:45] local.INFO: Acknowledgment sent {"connection_id":163313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:12:16] local.INFO: TCP Data received {"connection_id":163313,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:12:16] local.INFO: Processing buffer {"connection_id":163313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:12:16] local.INFO: Packet analysis {"connection_id":163313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:12:16] local.INFO: Extracted packet for processing {"connection_id":163313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645903872001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:12:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787679613000,"timestamp_ms":1787679613000,"timestamp_seconds":1787679613,"priority":1,"record_length":96,"hex_timestamp":"000001a03a022048"} 
[2026-08-25 23:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:12:16] 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-25 23:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645903872001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645903872001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645903872001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":163313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:12:16] local.INFO: GPS data processed {"connection_id":163313,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:12:16] local.INFO: Acknowledgment sent {"connection_id":163313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:12:44] local.INFO: TCP Data received {"connection_id":164695,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:12:44] local.INFO: Processing buffer {"connection_id":164695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:12:44] local.INFO: IMEI packet received {"connection_id":164695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":164695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:12:49] local.INFO: TCP Data received {"connection_id":164695,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:12:49] local.INFO: Processing buffer {"connection_id":164695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:12:49] local.INFO: IMEI packet received {"connection_id":164695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":164695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:12:50] local.INFO: TCP Data received {"connection_id":164695,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:12:50] local.INFO: Processing buffer {"connection_id":164695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:12:50] local.INFO: Packet analysis {"connection_id":164695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:12:50] local.INFO: Extracted packet for processing {"connection_id":164695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:12:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645903872001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:12:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787679613000,"timestamp_ms":1787679613000,"timestamp_seconds":1787679613,"priority":1,"record_length":96,"hex_timestamp":"000001a03a022048"} 
[2026-08-25 23: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-25 23:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:12:50] 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-25 23: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-25 23: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-25 23:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645903872001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645903872001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:12:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645903872001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":164695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:12:50] local.INFO: GPS data processed {"connection_id":164695,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:12:50] local.INFO: Acknowledgment sent {"connection_id":164695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:12:54] local.INFO: TCP Data received {"connection_id":164695,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:12:54] local.INFO: Processing buffer {"connection_id":164695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:12:54] local.INFO: Packet analysis {"connection_id":164695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:12:54] local.INFO: Extracted packet for processing {"connection_id":164695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:12:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 23:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645903872001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:12:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787679613000,"timestamp_ms":1787679613000,"timestamp_seconds":1787679613,"priority":1,"record_length":96,"hex_timestamp":"000001a03a022048"} 
[2026-08-25 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-25 23:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:12:54] 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-25 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-25 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-25 23:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645903872001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645903872001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:12:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645903872001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":164695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:12:54] local.INFO: GPS data processed {"connection_id":164695,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:12:54] local.INFO: Acknowledgment sent {"connection_id":164695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:12:59] local.INFO: TCP Data received {"connection_id":164695,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:12:59] local.INFO: Processing buffer {"connection_id":164695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:12:59] local.INFO: Packet analysis {"connection_id":164695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:12:59] local.INFO: Extracted packet for processing {"connection_id":164695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645903872001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:12:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787679613000,"timestamp_ms":1787679613000,"timestamp_seconds":1787679613,"priority":1,"record_length":96,"hex_timestamp":"000001a03a022048"} 
[2026-08-25 23: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-25 23:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:12:59] 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-25 23: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-25 23: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-25 23:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645903872001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645903872001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:12:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645903872001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":164695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:12:59] local.INFO: GPS data processed {"connection_id":164695,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:12:59] local.INFO: Acknowledgment sent {"connection_id":164695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:13:39] local.INFO: TCP Data received {"connection_id":162312,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:13:39] local.INFO: Processing buffer {"connection_id":162312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:13:39] local.INFO: IMEI packet received {"connection_id":162312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":162312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:13:44] local.INFO: TCP Data received {"connection_id":162312,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:13:44] local.INFO: Processing buffer {"connection_id":162312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:13:44] local.INFO: IMEI packet received {"connection_id":162312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":162312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:13:45] local.INFO: TCP Data received {"connection_id":162312,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:13:45] local.INFO: Processing buffer {"connection_id":162312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:13:45] local.INFO: Packet analysis {"connection_id":162312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:13:45] local.INFO: Extracted packet for processing {"connection_id":162312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645903872001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:13:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787679613000,"timestamp_ms":1787679613000,"timestamp_seconds":1787679613,"priority":1,"record_length":96,"hex_timestamp":"000001a03a022048"} 
[2026-08-25 23: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-25 23:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:13:45] 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-25 23: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-25 23: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-25 23:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645903872001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645903872001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645903872001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":162312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:13:45] local.INFO: GPS data processed {"connection_id":162312,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:13:45] local.INFO: Acknowledgment sent {"connection_id":162312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:14:17] local.INFO: TCP Data received {"connection_id":162312,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:14:17] local.INFO: Processing buffer {"connection_id":162312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:14:17] local.INFO: Packet analysis {"connection_id":162312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:14:17] local.INFO: Extracted packet for processing {"connection_id":162312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645903872001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:14:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787679613000,"timestamp_ms":1787679613000,"timestamp_seconds":1787679613,"priority":1,"record_length":96,"hex_timestamp":"000001a03a022048"} 
[2026-08-25 23: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-25 23:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:14:17] 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-25 23: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-25 23: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-25 23:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645903872001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645903872001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645903872001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":162312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:14:17] local.INFO: GPS data processed {"connection_id":162312,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:14:17] local.INFO: Acknowledgment sent {"connection_id":162312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:14:39] local.INFO: TCP Data received {"connection_id":164697,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:14:39] local.INFO: Processing buffer {"connection_id":164697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:14:39] local.INFO: IMEI packet received {"connection_id":164697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":164697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:14:44] local.INFO: TCP Data received {"connection_id":164697,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:14:44] local.INFO: Processing buffer {"connection_id":164697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:14:44] local.INFO: IMEI packet received {"connection_id":164697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":164697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:14:44] local.INFO: TCP Data received {"connection_id":164697,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:14:44] local.INFO: Processing buffer {"connection_id":164697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:14:44] local.INFO: Packet analysis {"connection_id":164697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:14:44] local.INFO: Extracted packet for processing {"connection_id":164697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645903872001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:14:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787679613000,"timestamp_ms":1787679613000,"timestamp_seconds":1787679613,"priority":1,"record_length":96,"hex_timestamp":"000001a03a022048"} 
[2026-08-25 23:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:14:44] 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-25 23:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645903872001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645903872001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645903872001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":164697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:14:44] local.INFO: GPS data processed {"connection_id":164697,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:14:44] local.INFO: Acknowledgment sent {"connection_id":164697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:15:16] local.INFO: TCP Data received {"connection_id":164697,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:15:16] local.INFO: Processing buffer {"connection_id":164697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:15:16] local.INFO: Packet analysis {"connection_id":164697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:15:16] local.INFO: Extracted packet for processing {"connection_id":164697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645903872001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:15:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787679613000,"timestamp_ms":1787679613000,"timestamp_seconds":1787679613,"priority":1,"record_length":96,"hex_timestamp":"000001a03a022048"} 
[2026-08-25 23:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:15:16] 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-25 23:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645903872001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645903872001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645903872001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":164697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:15:16] local.INFO: GPS data processed {"connection_id":164697,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:15:16] local.INFO: Acknowledgment sent {"connection_id":164697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:15:38] local.INFO: TCP Data received {"connection_id":162313,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:15:38] local.INFO: Processing buffer {"connection_id":162313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:15:38] local.INFO: IMEI packet received {"connection_id":162313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":162313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:15:44] local.INFO: TCP Data received {"connection_id":162313,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:15:44] local.INFO: Processing buffer {"connection_id":162313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:15:44] local.INFO: IMEI packet received {"connection_id":162313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":162313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:15:45] local.INFO: TCP Data received {"connection_id":162313,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:15:45] local.INFO: Processing buffer {"connection_id":162313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a022048012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:15:45] local.INFO: Packet analysis {"connection_id":162313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:15:45] local.INFO: Extracted packet for processing {"connection_id":162313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a02"} 
[2026-08-25 23:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645903872001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:15:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787679613000,"timestamp_ms":1787679613000,"timestamp_seconds":1787679613,"priority":1,"record_length":96,"hex_timestamp":"000001a03a022048"} 
[2026-08-25 23:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:15:45] 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-25 23:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645903872001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645903872001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645903872001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":162313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:15:45] local.INFO: GPS data processed {"connection_id":162313,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:15:45] local.INFO: Acknowledgment sent {"connection_id":162313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:16:16] local.INFO: TCP Data received {"connection_id":162313,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:16:16] local.INFO: Processing buffer {"connection_id":162313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:16:16] local.INFO: Packet analysis {"connection_id":162313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:16:16] local.INFO: Extracted packet for processing {"connection_id":162313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645980928001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:16:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787679914000,"timestamp_ms":1787679914000,"timestamp_seconds":1787679914,"priority":1,"record_length":96,"hex_timestamp":"000001a03a06b810"} 
[2026-08-25 23:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:16:16] 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-25 23:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645980928001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645980928001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645980928001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":162313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:16:16] local.INFO: GPS data processed {"connection_id":162313,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:16:16] local.INFO: Acknowledgment sent {"connection_id":162313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:16:19] local.INFO: TCP Data received {"connection_id":164696,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:16:19] local.INFO: Processing buffer {"connection_id":164696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:16:19] local.INFO: IMEI packet received {"connection_id":164696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 23:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":164696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:16:38] local.INFO: TCP Data received {"connection_id":164698,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:16:38] local.INFO: Processing buffer {"connection_id":164698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:16:38] local.INFO: IMEI packet received {"connection_id":164698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":164698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:16:44] local.INFO: TCP Data received {"connection_id":164698,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:16:44] local.INFO: Processing buffer {"connection_id":164698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:16:44] local.INFO: IMEI packet received {"connection_id":164698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":164698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:16:45] local.INFO: TCP Data received {"connection_id":164698,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:16:45] local.INFO: Processing buffer {"connection_id":164698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:16:45] local.INFO: Packet analysis {"connection_id":164698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:16:45] local.INFO: Extracted packet for processing {"connection_id":164698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645980928001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:16:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787679914000,"timestamp_ms":1787679914000,"timestamp_seconds":1787679914,"priority":1,"record_length":96,"hex_timestamp":"000001a03a06b810"} 
[2026-08-25 23:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:16:45] 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-25 23:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645980928001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645980928001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645980928001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":164698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:16:45] local.INFO: GPS data processed {"connection_id":164698,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:16:45] local.INFO: Acknowledgment sent {"connection_id":164698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:17:17] local.INFO: TCP Data received {"connection_id":164698,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:17:17] local.INFO: Processing buffer {"connection_id":164698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:17:17] local.INFO: Packet analysis {"connection_id":164698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:17:17] local.INFO: Extracted packet for processing {"connection_id":164698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645980928001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:17:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787679914000,"timestamp_ms":1787679914000,"timestamp_seconds":1787679914,"priority":1,"record_length":96,"hex_timestamp":"000001a03a06b810"} 
[2026-08-25 23:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:17:17] 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-25 23:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645980928001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645980928001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:17:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645980928001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":164698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:17:17] local.INFO: GPS data processed {"connection_id":164698,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:17:17] local.INFO: Acknowledgment sent {"connection_id":164698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:17:44] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:17:44] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:17:44] local.INFO: IMEI packet received {"connection_id":162079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":162079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:17:49] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:17:49] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:17:49] local.INFO: IMEI packet received {"connection_id":162079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":162079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:17:50] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:17:50] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:17:50] local.INFO: Packet analysis {"connection_id":162079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:17:50] local.INFO: Extracted packet for processing {"connection_id":162079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:17:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645980928001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:17:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787679914000,"timestamp_ms":1787679914000,"timestamp_seconds":1787679914,"priority":1,"record_length":96,"hex_timestamp":"000001a03a06b810"} 
[2026-08-25 23: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-25 23:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:17:50] 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-25 23: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-25 23: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-25 23:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645980928001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645980928001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:17:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645980928001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":162079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:17:50] local.INFO: GPS data processed {"connection_id":162079,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:17:50] local.INFO: Acknowledgment sent {"connection_id":162079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:17:55] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:17:55] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:17:55] local.INFO: Packet analysis {"connection_id":162079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:17:55] local.INFO: Extracted packet for processing {"connection_id":162079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:17:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645980928001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:17:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787679914000,"timestamp_ms":1787679914000,"timestamp_seconds":1787679914,"priority":1,"record_length":96,"hex_timestamp":"000001a03a06b810"} 
[2026-08-25 23: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-25 23:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:17:55] 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-25 23: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-25 23: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-25 23:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645980928001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645980928001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:17:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645980928001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":162079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:17:55] local.INFO: GPS data processed {"connection_id":162079,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:17:55] local.INFO: Acknowledgment sent {"connection_id":162079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:18:39] local.INFO: TCP Data received {"connection_id":162315,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:18:39] local.INFO: Processing buffer {"connection_id":162315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:18:39] local.INFO: IMEI packet received {"connection_id":162315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":162315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:18:44] local.INFO: TCP Data received {"connection_id":162315,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:18:44] local.INFO: Processing buffer {"connection_id":162315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:18:44] local.INFO: IMEI packet received {"connection_id":162315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":162315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:18:44] local.INFO: TCP Data received {"connection_id":162315,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:18:45] local.INFO: Processing buffer {"connection_id":162315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:18:45] local.INFO: Packet analysis {"connection_id":162315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:18:45] local.INFO: Extracted packet for processing {"connection_id":162315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:18: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-25 23:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645980928001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:18:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787679914000,"timestamp_ms":1787679914000,"timestamp_seconds":1787679914,"priority":1,"record_length":96,"hex_timestamp":"000001a03a06b810"} 
[2026-08-25 23:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:18:45] 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-25 23:18: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-25 23:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645980928001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645980928001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645980928001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":162315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:18:45] local.INFO: GPS data processed {"connection_id":162315,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:18:45] local.INFO: Acknowledgment sent {"connection_id":162315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:19:16] local.INFO: TCP Data received {"connection_id":162315,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:19:16] local.INFO: Processing buffer {"connection_id":162315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:19:16] local.INFO: Packet analysis {"connection_id":162315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:19:16] local.INFO: Extracted packet for processing {"connection_id":162315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645980928001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:19:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787679914000,"timestamp_ms":1787679914000,"timestamp_seconds":1787679914,"priority":1,"record_length":96,"hex_timestamp":"000001a03a06b810"} 
[2026-08-25 23: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-25 23:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:19:16] 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-25 23: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-25 23: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-25 23:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645980928001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645980928001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645980928001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":162315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:19:16] local.INFO: GPS data processed {"connection_id":162315,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:19:16] local.INFO: Acknowledgment sent {"connection_id":162315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:19:39] local.INFO: TCP Data received {"connection_id":162316,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:19:39] local.INFO: Processing buffer {"connection_id":162316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:19:39] local.INFO: IMEI packet received {"connection_id":162316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":162316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:19:45] local.INFO: TCP Data received {"connection_id":162316,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:19:45] local.INFO: Processing buffer {"connection_id":162316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:19:45] local.INFO: IMEI packet received {"connection_id":162316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":162316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:19:46] local.INFO: TCP Data received {"connection_id":162316,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:19:46] local.INFO: Processing buffer {"connection_id":162316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:19:46] local.INFO: Packet analysis {"connection_id":162316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:19:46] local.INFO: Extracted packet for processing {"connection_id":162316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645980928001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:19:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787679914000,"timestamp_ms":1787679914000,"timestamp_seconds":1787679914,"priority":1,"record_length":96,"hex_timestamp":"000001a03a06b810"} 
[2026-08-25 23: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-25 23:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:19:46] 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-25 23:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23: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-25 23:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645980928001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645980928001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:19:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645980928001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":162316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:19:46] local.INFO: GPS data processed {"connection_id":162316,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:19:46] local.INFO: Acknowledgment sent {"connection_id":162316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:20:19] local.INFO: TCP Data received {"connection_id":162316,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:20:19] local.INFO: Processing buffer {"connection_id":162316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:20:19] local.INFO: Packet analysis {"connection_id":162316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:20:19] local.INFO: Extracted packet for processing {"connection_id":162316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:20:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645980928001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:20:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787679914000,"timestamp_ms":1787679914000,"timestamp_seconds":1787679914,"priority":1,"record_length":96,"hex_timestamp":"000001a03a06b810"} 
[2026-08-25 23:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:20:19] 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-25 23:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645980928001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645980928001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:20:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645980928001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":162316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:20:19] local.INFO: GPS data processed {"connection_id":162316,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:20:19] local.INFO: Acknowledgment sent {"connection_id":162316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:20:39] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:20:39] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:20:39] local.INFO: IMEI packet received {"connection_id":162080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":162080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:20:44] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:20:44] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:20:44] local.INFO: IMEI packet received {"connection_id":162080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":162080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:20:44] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:20:44] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a06b810012d34c14006aa4818000900e62f..."} 
[2026-08-25 23:20:44] local.INFO: Packet analysis {"connection_id":162080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:20:44] local.INFO: Extracted packet for processing {"connection_id":162080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a06"} 
[2026-08-25 23:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457645980928001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:20:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787679914000,"timestamp_ms":1787679914000,"timestamp_seconds":1787679914,"priority":1,"record_length":96,"hex_timestamp":"000001a03a06b810"} 
[2026-08-25 23:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:20:44] 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-25 23:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457645980928001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457645980928001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457645980928001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":162080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:20:44] local.INFO: GPS data processed {"connection_id":162080,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:20:44] local.INFO: Acknowledgment sent {"connection_id":162080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:21:15] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:21:15] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:21:15] local.INFO: Packet analysis {"connection_id":162080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:21:15] local.INFO: Extracted packet for processing {"connection_id":162080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646057984001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:21:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787680215000,"timestamp_ms":1787680215000,"timestamp_seconds":1787680215,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0b4fd8"} 
[2026-08-25 23:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:21:15] 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-25 23:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646057984001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646057984001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646057984001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":162080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:21:15] local.INFO: GPS data processed {"connection_id":162080,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:21:15] local.INFO: Acknowledgment sent {"connection_id":162080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:21:39] local.INFO: TCP Data received {"connection_id":163314,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:21:39] local.INFO: Processing buffer {"connection_id":163314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:21:39] local.INFO: IMEI packet received {"connection_id":163314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":163314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:21:45] local.INFO: TCP Data received {"connection_id":163314,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:21:45] local.INFO: Processing buffer {"connection_id":163314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:21:45] local.INFO: IMEI packet received {"connection_id":163314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":163314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:21:47] local.INFO: TCP Data received {"connection_id":163314,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:21:47] local.INFO: Processing buffer {"connection_id":163314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:21:47] local.INFO: Packet analysis {"connection_id":163314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:21:47] local.INFO: Extracted packet for processing {"connection_id":163314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646057984001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:21:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787680215000,"timestamp_ms":1787680215000,"timestamp_seconds":1787680215,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0b4fd8"} 
[2026-08-25 23:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:21:47] 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-25 23:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646057984001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646057984001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646057984001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":163314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:21:47] local.INFO: GPS data processed {"connection_id":163314,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:21:47] local.INFO: Acknowledgment sent {"connection_id":163314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:21:54] local.INFO: TCP Data received {"connection_id":162314,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:21:54] local.INFO: Processing buffer {"connection_id":162314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:21:54] local.INFO: IMEI packet received {"connection_id":162314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 23:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":162314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:22:18] local.INFO: TCP Data received {"connection_id":163314,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:22:18] local.INFO: Processing buffer {"connection_id":163314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:22:18] local.INFO: Packet analysis {"connection_id":163314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:22:18] local.INFO: Extracted packet for processing {"connection_id":163314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:22:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646057984001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:22:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787680215000,"timestamp_ms":1787680215000,"timestamp_seconds":1787680215,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0b4fd8"} 
[2026-08-25 23: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-25 23:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:22:18] 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-25 23: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-25 23: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-25 23:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646057984001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646057984001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:22:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646057984001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":163314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:22:18] local.INFO: GPS data processed {"connection_id":163314,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:22:18] local.INFO: Acknowledgment sent {"connection_id":163314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:22:40] local.INFO: TCP Data received {"connection_id":163315,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:22:40] local.INFO: Processing buffer {"connection_id":163315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:22:40] local.INFO: IMEI packet received {"connection_id":163315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":163315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:22:43] local.INFO: TCP Data received {"connection_id":163315,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:22:43] local.INFO: Processing buffer {"connection_id":163315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:22:43] local.INFO: IMEI packet received {"connection_id":163315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":163315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:22:45] local.INFO: TCP Data received {"connection_id":163315,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:22:45] local.INFO: Processing buffer {"connection_id":163315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:22:45] local.INFO: Packet analysis {"connection_id":163315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:22:45] local.INFO: Extracted packet for processing {"connection_id":163315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646057984001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:22:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787680215000,"timestamp_ms":1787680215000,"timestamp_seconds":1787680215,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0b4fd8"} 
[2026-08-25 23:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:22:45] 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-25 23:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646057984001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646057984001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646057984001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":163315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:22:45] local.INFO: GPS data processed {"connection_id":163315,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:22:45] local.INFO: Acknowledgment sent {"connection_id":163315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:22:51] local.INFO: TCP Data received {"connection_id":163315,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:22:51] local.INFO: Processing buffer {"connection_id":163315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:22:51] local.INFO: Packet analysis {"connection_id":163315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:22:51] local.INFO: Extracted packet for processing {"connection_id":163315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646057984001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:22:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787680215000,"timestamp_ms":1787680215000,"timestamp_seconds":1787680215,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0b4fd8"} 
[2026-08-25 23: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-25 23:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:22:51] 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-25 23: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-25 23: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-25 23:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646057984001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646057984001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646057984001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":163315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:22:51] local.INFO: GPS data processed {"connection_id":163315,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:22:51] local.INFO: Acknowledgment sent {"connection_id":163315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:23:22] local.INFO: TCP Data received {"connection_id":163315,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:23:22] local.INFO: Processing buffer {"connection_id":163315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:23:22] local.INFO: Packet analysis {"connection_id":163315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:23:22] local.INFO: Extracted packet for processing {"connection_id":163315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:23:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646057984001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:23:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787680215000,"timestamp_ms":1787680215000,"timestamp_seconds":1787680215,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0b4fd8"} 
[2026-08-25 23: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-25 23:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:23:22] 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-25 23: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-25 23: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-25 23:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646057984001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646057984001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:23:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646057984001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":163315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:23:22] local.INFO: GPS data processed {"connection_id":163315,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:23:22] local.INFO: Acknowledgment sent {"connection_id":163315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:23:39] local.INFO: TCP Data received {"connection_id":164699,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:23:39] local.INFO: Processing buffer {"connection_id":164699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:23:39] local.INFO: IMEI packet received {"connection_id":164699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":164699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:23:44] local.INFO: TCP Data received {"connection_id":164699,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:23:44] local.INFO: Processing buffer {"connection_id":164699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:23:44] local.INFO: IMEI packet received {"connection_id":164699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":164699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:23:44] local.INFO: TCP Data received {"connection_id":164699,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:23:44] local.INFO: Processing buffer {"connection_id":164699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:23:44] local.INFO: Packet analysis {"connection_id":164699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:23:44] local.INFO: Extracted packet for processing {"connection_id":164699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646057984001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:23:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787680215000,"timestamp_ms":1787680215000,"timestamp_seconds":1787680215,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0b4fd8"} 
[2026-08-25 23:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:23:44] 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-25 23:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646057984001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646057984001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646057984001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":164699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:23:45] local.INFO: GPS data processed {"connection_id":164699,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:23:45] local.INFO: Acknowledgment sent {"connection_id":164699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:24:16] local.INFO: TCP Data received {"connection_id":164699,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:24:16] local.INFO: Processing buffer {"connection_id":164699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:24:16] local.INFO: Packet analysis {"connection_id":164699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:24:16] local.INFO: Extracted packet for processing {"connection_id":164699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646057984001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:24:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787680215000,"timestamp_ms":1787680215000,"timestamp_seconds":1787680215,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0b4fd8"} 
[2026-08-25 23: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-25 23:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:24:16] 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-25 23: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-25 23: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-25 23:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646057984001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646057984001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646057984001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":164699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:24:16] local.INFO: GPS data processed {"connection_id":164699,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:24:16] local.INFO: Acknowledgment sent {"connection_id":164699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:24:38] local.INFO: TCP Data received {"connection_id":163316,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:24:38] local.INFO: Processing buffer {"connection_id":163316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:24:38] local.INFO: IMEI packet received {"connection_id":163316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":163316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:24:44] local.INFO: TCP Data received {"connection_id":163316,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:24:44] local.INFO: Processing buffer {"connection_id":163316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:24:44] local.INFO: IMEI packet received {"connection_id":163316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":163316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:24:45] local.INFO: TCP Data received {"connection_id":163316,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:24:45] local.INFO: Processing buffer {"connection_id":163316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:24:45] local.INFO: Packet analysis {"connection_id":163316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:24:45] local.INFO: Extracted packet for processing {"connection_id":163316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646057984001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:24:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787680215000,"timestamp_ms":1787680215000,"timestamp_seconds":1787680215,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0b4fd8"} 
[2026-08-25 23: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-25 23:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:24:45] 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-25 23: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-25 23: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-25 23:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646057984001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646057984001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646057984001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":163316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:24:45] local.INFO: GPS data processed {"connection_id":163316,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:24:45] local.INFO: Acknowledgment sent {"connection_id":163316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:25:18] local.INFO: TCP Data received {"connection_id":163316,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:25:18] local.INFO: Processing buffer {"connection_id":163316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:25:18] local.INFO: Packet analysis {"connection_id":163316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:25:18] local.INFO: Extracted packet for processing {"connection_id":163316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646057984001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:25:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787680215000,"timestamp_ms":1787680215000,"timestamp_seconds":1787680215,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0b4fd8"} 
[2026-08-25 23:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:25:18] 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-25 23:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646057984001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646057984001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646057984001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":163316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:25:18] local.INFO: GPS data processed {"connection_id":163316,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:25:18] local.INFO: Acknowledgment sent {"connection_id":163316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:25:43] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:25:43] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:25:43] local.INFO: IMEI packet received {"connection_id":162081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":162081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:25:49] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:25:49] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:25:49] local.INFO: IMEI packet received {"connection_id":162081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":162081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:25:50] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:25:50] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0b4fd8012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:25:50] local.INFO: Packet analysis {"connection_id":162081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:25:50] local.INFO: Extracted packet for processing {"connection_id":162081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0b"} 
[2026-08-25 23:25:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646057984001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:25:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787680215000,"timestamp_ms":1787680215000,"timestamp_seconds":1787680215,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0b4fd8"} 
[2026-08-25 23:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:25:50] 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-25 23:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646057984001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646057984001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:25:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646057984001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":162081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:25:50] local.INFO: GPS data processed {"connection_id":162081,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:25:50] local.INFO: Acknowledgment sent {"connection_id":162081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:26:21] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:26:21] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:26:21] local.INFO: Packet analysis {"connection_id":162081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:26:21] local.INFO: Extracted packet for processing {"connection_id":162081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 23:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646135040001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:26:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787680516000,"timestamp_ms":1787680516000,"timestamp_seconds":1787680516,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0fe7a0"} 
[2026-08-25 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-25 23:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:26:21] 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-25 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-25 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-25 23:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646135040001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646135040001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:26:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646135040001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":162081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:26:21] local.INFO: GPS data processed {"connection_id":162081,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:26:21] local.INFO: Acknowledgment sent {"connection_id":162081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:26:38] local.INFO: TCP Data received {"connection_id":163317,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:26:38] local.INFO: Processing buffer {"connection_id":163317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:26:38] local.INFO: IMEI packet received {"connection_id":163317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":163317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:26:44] local.INFO: TCP Data received {"connection_id":163317,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:26:44] local.INFO: Processing buffer {"connection_id":163317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:26:44] local.INFO: IMEI packet received {"connection_id":163317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":163317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:26:44] local.INFO: TCP Data received {"connection_id":163317,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:26:44] local.INFO: Processing buffer {"connection_id":163317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:26:44] local.INFO: Packet analysis {"connection_id":163317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:26:44] local.INFO: Extracted packet for processing {"connection_id":163317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646135040001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:26:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787680516000,"timestamp_ms":1787680516000,"timestamp_seconds":1787680516,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0fe7a0"} 
[2026-08-25 23:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:26:44] 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-25 23:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646135040001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646135040001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646135040001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":163317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:26:44] local.INFO: GPS data processed {"connection_id":163317,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:26:44] local.INFO: Acknowledgment sent {"connection_id":163317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:27:16] local.INFO: TCP Data received {"connection_id":163317,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:27:16] local.INFO: Processing buffer {"connection_id":163317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:27:16] local.INFO: Packet analysis {"connection_id":163317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:27:16] local.INFO: Extracted packet for processing {"connection_id":163317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646135040001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:27:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787680516000,"timestamp_ms":1787680516000,"timestamp_seconds":1787680516,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0fe7a0"} 
[2026-08-25 23:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:27:16] 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-25 23:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646135040001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646135040001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646135040001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":163317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:27:16] local.INFO: GPS data processed {"connection_id":163317,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:27:16] local.INFO: Acknowledgment sent {"connection_id":163317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:27:29] local.INFO: TCP Data received {"connection_id":162317,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:27:29] local.INFO: Processing buffer {"connection_id":162317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:27:29] local.INFO: IMEI packet received {"connection_id":162317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 23:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":162317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:27:36] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:27:36] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:27:36] local.INFO: IMEI packet received {"connection_id":162318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":162318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:27:38] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:27:38] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:27:38] local.INFO: IMEI packet received {"connection_id":162318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":162318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:27:38] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:27:38] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:27:38] local.INFO: IMEI packet received {"connection_id":162082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":162082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:27:38] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:27:38] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:27:38] local.INFO: IMEI packet received {"connection_id":162318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":162318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:27:42] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:27:42] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:27:42] local.INFO: IMEI packet received {"connection_id":162318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":162318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:27:43] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a11b878012d7c0c4005db51f00012002323..."} 
[2026-08-25 23:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a11b878012d7c0c4005db51f00012002323..."} 
[2026-08-25 23:27:43] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a11b878012d7c0c4005db51f00012002323..."} 
[2026-08-25 23:27:43] local.INFO: Packet analysis {"connection_id":162318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a11"} 
[2026-08-25 23:27:43] local.INFO: Extracted packet for processing {"connection_id":162318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a11"} 
[2026-08-25 23:27:43] local.INFO: GPS Element Parsed {"raw_longitude":763104320,"raw_latitude":98259440,"longitude_deg":76.310432,"latitude_deg":9.825944,"altitude":18,"angle":35,"satellites":35,"speed":5,"hex_longitude":"2d7c0c40","hex_latitude":"05db51f0","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646240768001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521731955097600,"note":"Value kept but may cause issues"} 
[2026-08-25 23:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938026804368648192,"note":"Value kept but may cause issues"} 
[2026-08-25 23:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787680635000,"timestamp_ms":1787680635000,"timestamp_seconds":1787680635,"priority":1,"record_length":96,"hex_timestamp":"000001a03a11b878"} 
[2026-08-25 23: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-25 23:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23: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":43,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 23:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1457,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646240768001,"66":11547,"185":206,"85":15104,"24":5,"16":124521731955097600,"45":8938026804368648192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646240768001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:27:43] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521731955097600,"km_value":124521731955097.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938026804368648192,"description":"Unknown IO ID 45"} 
[2026-08-25 23:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646240768001,"power":11547,"unknown_185":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8938026804368648192}} 
[2026-08-25 23:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":162318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:27:43] local.INFO: GPS data processed {"connection_id":162318,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:27:43] local.INFO: Acknowledgment sent {"connection_id":162318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:27:46] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:27:46] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:27:46] local.INFO: IMEI packet received {"connection_id":162082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":162082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:27:47] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:27:47] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:27:47] local.INFO: Packet analysis {"connection_id":162082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:27:47] local.INFO: Extracted packet for processing {"connection_id":162082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646135040001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:27:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787680516000,"timestamp_ms":1787680516000,"timestamp_seconds":1787680516,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0fe7a0"} 
[2026-08-25 23:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:27:47] 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-25 23:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646135040001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646135040001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646135040001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":162082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:27:47] local.INFO: GPS data processed {"connection_id":162082,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:27:47] local.INFO: Acknowledgment sent {"connection_id":162082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:27:47] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a11bc60012d7c0c4005db52a80012000a23..."} 
[2026-08-25 23:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a11bc60012d7c0c4005db52a80012000a23..."} 
[2026-08-25 23:27:47] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a11bc60012d7c0c4005db52a80012000a23..."} 
[2026-08-25 23:27:47] local.INFO: Packet analysis {"connection_id":162318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a11"} 
[2026-08-25 23:27:47] local.INFO: Extracted packet for processing {"connection_id":162318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a11"} 
[2026-08-25 23:27:47] local.INFO: GPS Element Parsed {"raw_longitude":763104320,"raw_latitude":98259624,"longitude_deg":76.310432,"latitude_deg":9.8259624,"altitude":18,"angle":10,"satellites":35,"speed":8,"hex_longitude":"2d7c0c40","hex_latitude":"05db52a8","is_valid_coordinates":true} 
[2026-08-25 23:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646242560001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521740545032192,"note":"Value kept but may cause issues"} 
[2026-08-25 23:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938589754322186240,"note":"Value kept but may cause issues"} 
[2026-08-25 23:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787680636000,"timestamp_ms":1787680636000,"timestamp_seconds":1787680636,"priority":1,"record_length":96,"hex_timestamp":"000001a03a11bc60"} 
[2026-08-25 23:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 23:27:47] 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-25 23:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646242560001,"66":11547,"185":206,"85":15104,"24":8,"16":124521740545032192,"45":8938589754322186240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646242560001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:27:47] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:27:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521740545032192,"km_value":124521740545032.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938589754322186240,"description":"Unknown IO ID 45"} 
[2026-08-25 23:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646242560001,"power":11547,"unknown_185":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8938589754322186240}} 
[2026-08-25 23:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":162318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:27:47] local.INFO: GPS data processed {"connection_id":162318,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:27:47] local.INFO: Acknowledgment sent {"connection_id":162318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:28:04] local.INFO: TCP Data received {"connection_id":162083,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:28:04] local.INFO: Processing buffer {"connection_id":162083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:28:04] local.INFO: IMEI packet received {"connection_id":162083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 23:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":162083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:28:17] local.INFO: TCP Data received {"connection_id":163318,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:28:17] local.INFO: Processing buffer {"connection_id":163318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:28:17] local.INFO: IMEI packet received {"connection_id":163318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":163318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:28:20] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:28:20] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:28:20] local.INFO: Packet analysis {"connection_id":162082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:28:20] local.INFO: Extracted packet for processing {"connection_id":162082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 23:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646135040001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:28:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787680516000,"timestamp_ms":1787680516000,"timestamp_seconds":1787680516,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0fe7a0"} 
[2026-08-25 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-25 23:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:28:20] 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-25 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-25 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-25 23:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646135040001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646135040001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646135040001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":162082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:28:20] local.INFO: GPS data processed {"connection_id":162082,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:28:20] local.INFO: Acknowledgment sent {"connection_id":162082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:28:23] local.INFO: TCP Data received {"connection_id":163318,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:28:23] local.INFO: Processing buffer {"connection_id":163318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:28:23] local.INFO: IMEI packet received {"connection_id":163318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":163318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:28:24] local.INFO: TCP Data received {"connection_id":163318,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a11c430012d7c0c4005db54980012016323..."} 
[2026-08-25 23:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a11c430012d7c0c4005db54980012016323..."} 
[2026-08-25 23:28:24] local.INFO: Processing buffer {"connection_id":163318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a11c430012d7c0c4005db54980012016323..."} 
[2026-08-25 23:28:24] local.INFO: Packet analysis {"connection_id":163318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a11"} 
[2026-08-25 23:28:24] local.INFO: Extracted packet for processing {"connection_id":163318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a11"} 
[2026-08-25 23:28:24] local.INFO: GPS Element Parsed {"raw_longitude":763104320,"raw_latitude":98260120,"longitude_deg":76.310432,"latitude_deg":9.826012,"altitude":18,"angle":355,"satellites":35,"speed":9,"hex_longitude":"2d7c0c40","hex_latitude":"05db5498","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646242816001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124521762019868672,"note":"Value kept but may cause issues"} 
[2026-08-25 23:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938589754322233344,"note":"Value kept but may cause issues"} 
[2026-08-25 23:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787680638000,"timestamp_ms":1787680638000,"timestamp_seconds":1787680638,"priority":1,"record_length":96,"hex_timestamp":"000001a03a11c430"} 
[2026-08-25 23: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-25 23:28:24] 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-25 23: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 23:28:24] 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-25 23: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-25 23: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-25 23:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646242816001,"66":11547,"185":206,"85":15104,"24":9,"16":124521762019868672,"45":8938589754322233344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646242816001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:28:24] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:28:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124521762019868672,"km_value":124521762019868.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938589754322233344,"description":"Unknown IO ID 45"} 
[2026-08-25 23:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646242816001,"power":11547,"unknown_185":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8938589754322233344}} 
[2026-08-25 23:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":163318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:28:24] local.INFO: GPS data processed {"connection_id":163318,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:28:24] local.INFO: Acknowledgment sent {"connection_id":163318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:28:38] local.INFO: TCP Data received {"connection_id":164700,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:28:38] local.INFO: Processing buffer {"connection_id":164700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:28:38] local.INFO: IMEI packet received {"connection_id":164700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":164700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:28:44] local.INFO: TCP Data received {"connection_id":164700,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:28:44] local.INFO: Processing buffer {"connection_id":164700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:28:44] local.INFO: IMEI packet received {"connection_id":164700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":164700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:28:45] local.INFO: TCP Data received {"connection_id":164700,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:28:45] local.INFO: Processing buffer {"connection_id":164700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:28:45] local.INFO: Packet analysis {"connection_id":164700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:28:45] local.INFO: Extracted packet for processing {"connection_id":164700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646135040001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:28:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787680516000,"timestamp_ms":1787680516000,"timestamp_seconds":1787680516,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0fe7a0"} 
[2026-08-25 23: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-25 23:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:28:45] 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-25 23: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-25 23: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-25 23:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646135040001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646135040001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646135040001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":164700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:28:45] local.INFO: GPS data processed {"connection_id":164700,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:28:45] local.INFO: Acknowledgment sent {"connection_id":164700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:28:55] local.INFO: TCP Data received {"connection_id":163318,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a120698012d7c064005db7538001000061d..."} 
[2026-08-25 23:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a120698012d7c064005db7538001000061d..."} 
[2026-08-25 23:28:55] local.INFO: Processing buffer {"connection_id":163318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a120698012d7c064005db7538001000061d..."} 
[2026-08-25 23:28:55] local.INFO: Packet analysis {"connection_id":163318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a12"} 
[2026-08-25 23:28:55] local.INFO: Extracted packet for processing {"connection_id":163318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a12"} 
[2026-08-25 23:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763102784,"raw_latitude":98268472,"longitude_deg":76.3102784,"latitude_deg":9.8268472,"altitude":16,"angle":6,"satellites":29,"speed":14,"hex_longitude":"2d7c0640","hex_latitude":"05db7538","is_valid_coordinates":true} 
[2026-08-25 23:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646243328001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124522178631696384,"note":"Value kept but may cause issues"} 
[2026-08-25 23:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938589754322360320,"note":"Value kept but may cause issues"} 
[2026-08-25 23:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787680655000,"timestamp_ms":1787680655000,"timestamp_seconds":1787680655,"priority":1,"record_length":96,"hex_timestamp":"000001a03a120698"} 
[2026-08-25 23:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:28:55] 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-25 23:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-25 23:28:55] 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-25 23:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646243328001,"66":9949,"185":206,"85":15104,"24":14,"16":124522178631696384,"45":8938589754322360320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646243328001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:28:55] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:28:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124522178631696384,"km_value":124522178631696.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938589754322360320,"description":"Unknown IO ID 45"} 
[2026-08-25 23:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646243328001,"power":9949,"unknown_185":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8938589754322360320}} 
[2026-08-25 23:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":163318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:28:56] local.INFO: GPS data processed {"connection_id":163318,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:28:56] local.INFO: Acknowledgment sent {"connection_id":163318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:29:16] local.INFO: TCP Data received {"connection_id":164700,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:29:16] local.INFO: Processing buffer {"connection_id":164700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:29:16] local.INFO: Packet analysis {"connection_id":164700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:29:16] local.INFO: Extracted packet for processing {"connection_id":164700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646135040001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:29:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787680516000,"timestamp_ms":1787680516000,"timestamp_seconds":1787680516,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0fe7a0"} 
[2026-08-25 23:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:29:16] 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-25 23:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646135040001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646135040001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646135040001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":164700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:29:16] local.INFO: GPS data processed {"connection_id":164700,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:29:16] local.INFO: Acknowledgment sent {"connection_id":164700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:29:17] local.INFO: TCP Data received {"connection_id":162319,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:29:17] local.INFO: Processing buffer {"connection_id":162319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:29:17] local.INFO: IMEI packet received {"connection_id":162319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":162319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:29:17] local.INFO: TCP Data received {"connection_id":162319,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:29:17] local.INFO: Processing buffer {"connection_id":162319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:29:17] local.INFO: IMEI packet received {"connection_id":162319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":162319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:29:22] local.INFO: TCP Data received {"connection_id":162319,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:29:22] local.INFO: Processing buffer {"connection_id":162319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:29:22] local.INFO: IMEI packet received {"connection_id":162319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":162319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:29:23] local.INFO: TCP Data received {"connection_id":162319,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a120e68012d7c068005db76c0001000201e..."} 
[2026-08-25 23:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a120e68012d7c068005db76c0001000201e..."} 
[2026-08-25 23:29:23] local.INFO: Processing buffer {"connection_id":162319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a120e68012d7c068005db76c0001000201e..."} 
[2026-08-25 23:29:23] local.INFO: Packet analysis {"connection_id":162319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a12"} 
[2026-08-25 23:29:23] local.INFO: Extracted packet for processing {"connection_id":162319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a12"} 
[2026-08-25 23:29:23] local.INFO: GPS Element Parsed {"raw_longitude":763102848,"raw_latitude":98268864,"longitude_deg":76.3102848,"latitude_deg":9.8268864,"altitude":16,"angle":32,"satellites":30,"speed":9,"hex_longitude":"2d7c0680","hex_latitude":"05db76c0","is_valid_coordinates":true} 
[2026-08-25 23:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646247680001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124522195811565568,"note":"Value kept but may cause issues"} 
[2026-08-25 23:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936900904464234496,"note":"Value kept but may cause issues"} 
[2026-08-25 23:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787680657000,"timestamp_ms":1787680657000,"timestamp_seconds":1787680657,"priority":1,"record_length":96,"hex_timestamp":"000001a03a120e68"} 
[2026-08-25 23:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:29: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-25 23:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-25 23:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2377,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646247680001,"66":10102,"168":206,"85":15104,"24":9,"16":124522195811565568,"45":8936900904464234496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 23:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646247680001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:29:23] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 23:29:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124522195811565568,"km_value":124522195811565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936900904464234496,"description":"Unknown IO ID 45"} 
[2026-08-25 23:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646247680001,"power":10102,"unknown_168":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8936900904464234496}} 
[2026-08-25 23:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":162319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:29:23] local.INFO: GPS data processed {"connection_id":162319,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:29:23] local.INFO: Acknowledgment sent {"connection_id":162319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:29:38] local.INFO: TCP Data received {"connection_id":163319,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:29:38] local.INFO: Processing buffer {"connection_id":163319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:29:38] local.INFO: IMEI packet received {"connection_id":163319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":163319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:29:44] local.INFO: TCP Data received {"connection_id":163319,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:29:44] local.INFO: Processing buffer {"connection_id":163319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:29:44] local.INFO: IMEI packet received {"connection_id":163319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":163319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:29:45] local.INFO: TCP Data received {"connection_id":163319,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:29:45] local.INFO: Processing buffer {"connection_id":163319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:29:45] local.INFO: Packet analysis {"connection_id":163319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:29:45] local.INFO: Extracted packet for processing {"connection_id":163319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646135040001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:29:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787680516000,"timestamp_ms":1787680516000,"timestamp_seconds":1787680516,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0fe7a0"} 
[2026-08-25 23:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:29:45] 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-25 23:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646135040001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646135040001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646135040001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":163319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:29:45] local.INFO: GPS data processed {"connection_id":163319,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:29:45] local.INFO: Acknowledgment sent {"connection_id":163319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:29:54] local.INFO: TCP Data received {"connection_id":162319,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a123190012d7c080005db7750000f00761f..."} 
[2026-08-25 23:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a123190012d7c080005db7750000f00761f..."} 
[2026-08-25 23:29:54] local.INFO: Processing buffer {"connection_id":162319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a123190012d7c080005db7750000f00761f..."} 
[2026-08-25 23:29:54] local.INFO: Packet analysis {"connection_id":162319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a12"} 
[2026-08-25 23:29:54] local.INFO: Extracted packet for processing {"connection_id":162319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a12"} 
[2026-08-25 23:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":98269008,"longitude_deg":76.3103232,"latitude_deg":9.8269008,"altitude":15,"angle":118,"satellites":31,"speed":7,"hex_longitude":"2d7c0800","hex_latitude":"05db7750","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646248192001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124522225876336640,"note":"Value kept but may cause issues"} 
[2026-08-25 23:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936971273208512512,"note":"Value kept but may cause issues"} 
[2026-08-25 23:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787680666000,"timestamp_ms":1787680666000,"timestamp_seconds":1787680666,"priority":1,"record_length":96,"hex_timestamp":"000001a03a123190"} 
[2026-08-25 23: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-25 23:29:54] 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-25 23: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":39,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1455,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646248192001,"66":10091,"168":206,"85":15104,"24":7,"16":124522225876336640,"45":8936971273208512512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-25 23:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646248192001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:29:54] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-25 23:29:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124522225876336640,"km_value":124522225876336.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936971273208512512,"description":"Unknown IO ID 45"} 
[2026-08-25 23:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646248192001,"power":10091,"unknown_168":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8936971273208512512}} 
[2026-08-25 23:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":162319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:29:54] local.INFO: GPS data processed {"connection_id":162319,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:29:54] local.INFO: Acknowledgment sent {"connection_id":162319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:30:16] local.INFO: TCP Data received {"connection_id":163319,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:30:16] local.INFO: Processing buffer {"connection_id":163319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:30:16] local.INFO: Packet analysis {"connection_id":163319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:30:16] local.INFO: Extracted packet for processing {"connection_id":163319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646135040001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787680516000,"timestamp_ms":1787680516000,"timestamp_seconds":1787680516,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0fe7a0"} 
[2026-08-25 23:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:30:16] 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-25 23:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646135040001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646135040001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646135040001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":163319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:30:16] local.INFO: GPS data processed {"connection_id":163319,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:30:16] local.INFO: Acknowledgment sent {"connection_id":163319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:30:17] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:30:17] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:30:17] local.INFO: IMEI packet received {"connection_id":162084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":162084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:30:21] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:30:21] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:30:21] local.INFO: IMEI packet received {"connection_id":162084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":162084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:30:22] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:30:22] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:30:22] local.INFO: IMEI packet received {"connection_id":162084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":162084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:30:23] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a13e328012d7c214005db2310000000a824..."} 
[2026-08-25 23:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a13e328012d7c214005db2310000000a824..."} 
[2026-08-25 23:30:23] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a13e328012d7c214005db2310000000a824..."} 
[2026-08-25 23:30:23] local.INFO: Packet analysis {"connection_id":162084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a13"} 
[2026-08-25 23:30:23] local.INFO: Extracted packet for processing {"connection_id":162084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a13"} 
[2026-08-25 23:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763109696,"raw_latitude":98247440,"longitude_deg":76.3109696,"latitude_deg":9.824744,"altitude":0,"angle":168,"satellites":36,"speed":0,"hex_longitude":"2d7c2140","hex_latitude":"05db2310","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646273536001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124523333977899008,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944500728830038016,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787680777000,"timestamp_ms":1787680777000,"timestamp_seconds":1787680777,"priority":1,"record_length":96,"hex_timestamp":"000001a03a13e328"} 
[2026-08-25 23: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-25 23:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23: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":40,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-25 23:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1109,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646273536001,"66":10243,"185":206,"85":15104,"24":0,"16":124523333977899008,"45":8944500728830038016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646273536001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:30:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:30:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124523333977899008,"km_value":124523333977899.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944500728830038016,"description":"Unknown IO ID 45"} 
[2026-08-25 23:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646273536001,"power":10243,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8944500728830038016}} 
[2026-08-25 23:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":162084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:30:23] local.INFO: GPS data processed {"connection_id":162084,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:30:23] local.INFO: Acknowledgment sent {"connection_id":162084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:30:44] local.INFO: TCP Data received {"connection_id":162085,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:30:44] local.INFO: Processing buffer {"connection_id":162085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:30:44] local.INFO: IMEI packet received {"connection_id":162085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":162085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:30:49] local.INFO: TCP Data received {"connection_id":162085,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:30:49] local.INFO: Processing buffer {"connection_id":162085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:30:49] local.INFO: IMEI packet received {"connection_id":162085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":162085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:30:50] local.INFO: TCP Data received {"connection_id":162085,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:30:50] local.INFO: Processing buffer {"connection_id":162085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:30:50] local.INFO: Packet analysis {"connection_id":162085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:30:50] local.INFO: Extracted packet for processing {"connection_id":162085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:30:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646135040001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787680516000,"timestamp_ms":1787680516000,"timestamp_seconds":1787680516,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0fe7a0"} 
[2026-08-25 23: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-25 23:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:30:50] 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-25 23: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-25 23: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-25 23:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646135040001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646135040001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:30:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646135040001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":162085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:30:50] local.INFO: GPS data processed {"connection_id":162085,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:30:50] local.INFO: Acknowledgment sent {"connection_id":162085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:30:54] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a143530012d7c214005db2310000000a824..."} 
[2026-08-25 23:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a143530012d7c214005db2310000000a824..."} 
[2026-08-25 23:30:54] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a143530012d7c214005db2310000000a824..."} 
[2026-08-25 23:30:54] local.INFO: Packet analysis {"connection_id":162084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:30:54] local.INFO: Extracted packet for processing {"connection_id":162084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763109696,"raw_latitude":98247440,"longitude_deg":76.3109696,"latitude_deg":9.824744,"altitude":0,"angle":168,"satellites":36,"speed":0,"hex_longitude":"2d7c2140","hex_latitude":"05db2310","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646278912001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124523333977899008,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944500728830038016,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787680798000,"timestamp_ms":1787680798000,"timestamp_seconds":1787680798,"priority":1,"record_length":96,"hex_timestamp":"000001a03a143530"} 
[2026-08-25 23: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-25 23:30:54] 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-25 23: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":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 23:30:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-08-25 23:30:54] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2332085678,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:54] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,185,85,24,241,157,16,101,160,145,45,64,35,37,10,66,63,36,240,192,1,68,227,58,219,4,113,205,8,186,208,239,39,168],"length":431,"final_offset":561,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-08-25 23:30:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":184872572289024,"timestamp_seconds":184872572289.024,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 23: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-25 23:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646278912001,"66":10243,"185":206,"85":15104,"24":0,"16":124523333977899008,"45":8944500728830038016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646278912001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:30:54] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:30:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124523333977899008,"km_value":124523333977899.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944500728830038016,"description":"Unknown IO ID 45"} 
[2026-08-25 23:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646278912001,"power":10243,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8944500728830038016}} 
[2026-08-25 23:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":162084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:30:54] local.INFO: GPS data processed {"connection_id":162084,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:30:54] local.INFO: Acknowledgment sent {"connection_id":162084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:30:56] local.INFO: TCP Data received {"connection_id":162085,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:30:56] local.INFO: Processing buffer {"connection_id":162085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a0fe7a0012d34c14006aa4818000500e62e..."} 
[2026-08-25 23:30:56] local.INFO: Packet analysis {"connection_id":162085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:30:56] local.INFO: Extracted packet for processing {"connection_id":162085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a0f"} 
[2026-08-25 23:30:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646135040001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787680516000,"timestamp_ms":1787680516000,"timestamp_seconds":1787680516,"priority":1,"record_length":96,"hex_timestamp":"000001a03a0fe7a0"} 
[2026-08-25 23: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-25 23:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-25 23:30:56] 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-25 23: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-25 23: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-25 23:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646135040001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646135040001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:30:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646135040001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":162085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:30:56] local.INFO: GPS data processed {"connection_id":162085,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:30:56] local.INFO: Acknowledgment sent {"connection_id":162085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:31:17] local.INFO: TCP Data received {"connection_id":162320,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:31:17] local.INFO: Processing buffer {"connection_id":162320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:31:17] local.INFO: IMEI packet received {"connection_id":162320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":162320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:31:20] local.INFO: TCP Data received {"connection_id":162320,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:31:20] local.INFO: Processing buffer {"connection_id":162320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:31:20] local.INFO: IMEI packet received {"connection_id":162320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":162320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:31:22] local.INFO: TCP Data received {"connection_id":162320,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:31:22] local.INFO: Processing buffer {"connection_id":162320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:31:22] local.INFO: IMEI packet received {"connection_id":162320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":162320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:31:23] local.INFO: TCP Data received {"connection_id":162320,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a148738012d7c214005db2310000000a821..."} 
[2026-08-25 23:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a148738012d7c214005db2310000000a821..."} 
[2026-08-25 23:31:23] local.INFO: Processing buffer {"connection_id":162320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a148738012d7c214005db2310000000a821..."} 
[2026-08-25 23:31:23] local.INFO: Packet analysis {"connection_id":162320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:31:23] local.INFO: Extracted packet for processing {"connection_id":162320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:31:23] local.INFO: GPS Element Parsed {"raw_longitude":763109696,"raw_latitude":98247440,"longitude_deg":76.3109696,"latitude_deg":9.824744,"altitude":0,"angle":168,"satellites":33,"speed":0,"hex_longitude":"2d7c2140","hex_latitude":"05db2310","is_valid_coordinates":true} 
[2026-08-25 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-25 23:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646284288001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124523333977899008,"note":"Value kept but may cause issues"} 
[2026-08-25 23:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944500728830038016,"note":"Value kept but may cause issues"} 
[2026-08-25 23:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787680819000,"timestamp_ms":1787680819000,"timestamp_seconds":1787680819,"priority":1,"record_length":96,"hex_timestamp":"000001a03a148738"} 
[2026-08-25 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-25 23:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 23:31:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-08-25 23:31:23] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,185,85,24,241,157,16,101,160,227,45,64,35,36,10,66,145,37,63,1,240,25,58,219,4,113,205,5,233,31,152,239,40],"length":431,"final_offset":561,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-08-25 23:31:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":184872572289024,"timestamp_seconds":184872572289.024,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 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-25 23:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646284288001,"66":10145,"185":206,"85":15104,"24":0,"16":124523333977899008,"45":8944500728830038016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646284288001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:31:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:31:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124523333977899008,"km_value":124523333977899.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944500728830038016,"description":"Unknown IO ID 45"} 
[2026-08-25 23:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646284288001,"power":10145,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8944500728830038016}} 
[2026-08-25 23:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":162320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:31:23] local.INFO: GPS data processed {"connection_id":162320,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:31:23] local.INFO: Acknowledgment sent {"connection_id":162320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:31:38] local.INFO: TCP Data received {"connection_id":163320,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:31:38] local.INFO: Processing buffer {"connection_id":163320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:31:38] local.INFO: IMEI packet received {"connection_id":163320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":163320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:31:44] local.INFO: TCP Data received {"connection_id":163320,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:31:44] local.INFO: Processing buffer {"connection_id":163320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:31:44] local.INFO: IMEI packet received {"connection_id":163320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":163320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:31:45] local.INFO: TCP Data received {"connection_id":163320,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:31:45] local.INFO: Processing buffer {"connection_id":163320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:31:45] local.INFO: Packet analysis {"connection_id":163320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:31:45] local.INFO: Extracted packet for processing {"connection_id":163320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646212096001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:31:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787680816000,"timestamp_ms":1787680816000,"timestamp_seconds":1787680816,"priority":1,"record_length":96,"hex_timestamp":"000001a03a147b80"} 
[2026-08-25 23:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:31:45] 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-25 23:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646212096001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646212096001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646212096001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":163320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:31:45] local.INFO: GPS data processed {"connection_id":163320,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:31:45] local.INFO: Acknowledgment sent {"connection_id":163320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:31:53] local.INFO: TCP Data received {"connection_id":162320,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a14ba00012d7c224005db21e00000009724..."} 
[2026-08-25 23:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a14ba00012d7c224005db21e00000009724..."} 
[2026-08-25 23:31:53] local.INFO: Processing buffer {"connection_id":162320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a14ba00012d7c224005db21e00000009724..."} 
[2026-08-25 23:31:53] local.INFO: Packet analysis {"connection_id":162320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:31:53] local.INFO: Extracted packet for processing {"connection_id":162320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:31:53] local.INFO: GPS Element Parsed {"raw_longitude":763109952,"raw_latitude":98247136,"longitude_deg":76.3109952,"latitude_deg":9.8247136,"altitude":0,"angle":151,"satellites":36,"speed":2,"hex_longitude":"2d7c2240","hex_latitude":"05db21e0","is_valid_coordinates":true} 
[2026-08-25 23:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646289664001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124523355452735488,"note":"Value kept but may cause issues"} 
[2026-08-25 23:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944500728830038016,"note":"Value kept but may cause issues"} 
[2026-08-25 23:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787680832000,"timestamp_ms":1787680832000,"timestamp_seconds":1787680832,"priority":1,"record_length":96,"hex_timestamp":"000001a03a14ba00"} 
[2026-08-25 23:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:31:53] 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-25 23:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-25 23:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1842,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646289664001,"66":10243,"185":206,"85":15104,"24":2,"16":124523355452735488,"45":8944500728830038016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646289664001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:31:53] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:31:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124523355452735488,"km_value":124523355452735.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944500728830038016,"description":"Unknown IO ID 45"} 
[2026-08-25 23:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646289664001,"power":10243,"unknown_185":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8944500728830038016}} 
[2026-08-25 23:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":162320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:31:54] local.INFO: GPS data processed {"connection_id":162320,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:31:54] local.INFO: Acknowledgment sent {"connection_id":162320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:32:16] local.INFO: TCP Data received {"connection_id":163320,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:32:16] local.INFO: Processing buffer {"connection_id":163320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:32:16] local.INFO: Packet analysis {"connection_id":163320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:32:16] local.INFO: Extracted packet for processing {"connection_id":163320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646212096001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:32:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787680816000,"timestamp_ms":1787680816000,"timestamp_seconds":1787680816,"priority":1,"record_length":96,"hex_timestamp":"000001a03a147b80"} 
[2026-08-25 23:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:32:16] 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-25 23:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646212096001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646212096001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646212096001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":163320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:32:16] local.INFO: GPS data processed {"connection_id":163320,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:32:16] local.INFO: Acknowledgment sent {"connection_id":163320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:32:18] local.INFO: TCP Data received {"connection_id":162321,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:32:18] local.INFO: Processing buffer {"connection_id":162321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:32:18] local.INFO: IMEI packet received {"connection_id":162321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":162321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:32:22] local.INFO: TCP Data received {"connection_id":162321,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:32:22] local.INFO: Processing buffer {"connection_id":162321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:32:22] local.INFO: IMEI packet received {"connection_id":162321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":162321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:32:27] local.INFO: TCP Data received {"connection_id":162321,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:32:27] local.INFO: Processing buffer {"connection_id":162321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:32:27] local.INFO: IMEI packet received {"connection_id":162321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":162321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:32:28] local.INFO: TCP Data received {"connection_id":162321,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a14c5b8012d7c228005db2020000000a526..."} 
[2026-08-25 23:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a14c5b8012d7c228005db2020000000a526..."} 
[2026-08-25 23:32:28] local.INFO: Processing buffer {"connection_id":162321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a14c5b8012d7c228005db2020000000a526..."} 
[2026-08-25 23:32:28] local.INFO: Packet analysis {"connection_id":162321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:32:28] local.INFO: Extracted packet for processing {"connection_id":162321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:32:28] local.INFO: GPS Element Parsed {"raw_longitude":763110016,"raw_latitude":98246688,"longitude_deg":76.3110016,"latitude_deg":9.8246688,"altitude":0,"angle":165,"satellites":38,"speed":5,"hex_longitude":"2d7c2280","hex_latitude":"05db2020","is_valid_coordinates":true} 
[2026-08-25 23:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646292992001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124523376927571968,"note":"Value kept but may cause issues"} 
[2026-08-25 23:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944782203806670848,"note":"Value kept but may cause issues"} 
[2026-08-25 23:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787680835000,"timestamp_ms":1787680835000,"timestamp_seconds":1787680835,"priority":1,"record_length":96,"hex_timestamp":"000001a03a14c5b8"} 
[2026-08-25 23:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-25 23:32:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-08-25 23:32:28] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,185,85,24,241,157,16,101,160,135,45,64,35,33,10,66,53,36,227,1,240,3,58,219,4,113,205,63,239,40],"length":431,"final_offset":561,"validated_count":30,"validation_warnings":[{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-08-25 23:32:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":166180874747904,"timestamp_seconds":166180874747.904,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 23:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646292992001,"66":9188,"185":206,"85":15104,"24":5,"16":124523376927571968,"45":8944782203806670848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646292992001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:32:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124523376927571968,"km_value":124523376927571.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944782203806670848,"description":"Unknown IO ID 45"} 
[2026-08-25 23:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646292992001,"power":9188,"unknown_185":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8944782203806670848}} 
[2026-08-25 23:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":162321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:32:28] local.INFO: GPS data processed {"connection_id":162321,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:32:28] local.INFO: Acknowledgment sent {"connection_id":162321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:32:32] local.INFO: TCP Data received {"connection_id":162321,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a150c08012d7c294005dafc10000000a822..."} 
[2026-08-25 23:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a150c08012d7c294005dafc10000000a822..."} 
[2026-08-25 23:32:32] local.INFO: Processing buffer {"connection_id":162321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a150c08012d7c294005dafc10000000a822..."} 
[2026-08-25 23:32:32] local.INFO: Packet analysis {"connection_id":162321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a15"} 
[2026-08-25 23:32:32] local.INFO: Extracted packet for processing {"connection_id":162321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a15"} 
[2026-08-25 23:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763111744,"raw_latitude":98237456,"longitude_deg":76.3111744,"latitude_deg":9.8237456,"altitude":0,"angle":168,"satellites":34,"speed":30,"hex_longitude":"2d7c2940","hex_latitude":"05dafc10","is_valid_coordinates":true} 
[2026-08-25 23:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646293760001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124523836489072640,"note":"Value kept but may cause issues"} 
[2026-08-25 23:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944852572550733824,"note":"Value kept but may cause issues"} 
[2026-08-25 23:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787680853000,"timestamp_ms":1787680853000,"timestamp_seconds":1787680853,"priority":1,"record_length":96,"hex_timestamp":"000001a03a150c08"} 
[2026-08-25 23:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:32:32] 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-25 23:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":35,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-25 23:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2425,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162321,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646293760001,"66":10308,"185":206,"85":15104,"24":30,"16":124523836489072640,"45":8944852572550733824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-25 23:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646293760001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:32:32] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-25 23:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124523836489072640,"km_value":124523836489072.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944852572550733824,"description":"Unknown IO ID 45"} 
[2026-08-25 23:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646293760001,"power":10308,"unknown_185":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8944852572550733824}} 
[2026-08-25 23:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":162321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:32:32] local.INFO: GPS data processed {"connection_id":162321,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:32:32] local.INFO: Acknowledgment sent {"connection_id":162321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:32:39] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:32:39] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:32:39] local.INFO: IMEI packet received {"connection_id":162086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":162086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:32:44] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:32:44] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:32:44] local.INFO: IMEI packet received {"connection_id":162086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":162086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:32:45] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:32:45] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:32:45] local.INFO: Packet analysis {"connection_id":162086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:32:45] local.INFO: Extracted packet for processing {"connection_id":162086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646212096001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:32:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787680816000,"timestamp_ms":1787680816000,"timestamp_seconds":1787680816,"priority":1,"record_length":96,"hex_timestamp":"000001a03a147b80"} 
[2026-08-25 23:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:32:45] 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-25 23:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646212096001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646212096001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646212096001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":162086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:32:45] local.INFO: GPS data processed {"connection_id":162086,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:32:45] local.INFO: Acknowledgment sent {"connection_id":162086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:33:16] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:33:16] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:33:16] local.INFO: Packet analysis {"connection_id":162086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:33:16] local.INFO: Extracted packet for processing {"connection_id":162086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646212096001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787680816000,"timestamp_ms":1787680816000,"timestamp_seconds":1787680816,"priority":1,"record_length":96,"hex_timestamp":"000001a03a147b80"} 
[2026-08-25 23:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:33:16] 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-25 23:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646212096001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646212096001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646212096001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":162086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:33:16] local.INFO: GPS data processed {"connection_id":162086,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:33:16] local.INFO: Acknowledgment sent {"connection_id":162086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:33:17] local.INFO: TCP Data received {"connection_id":162322,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:33:17] local.INFO: Processing buffer {"connection_id":162322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:33:17] local.INFO: IMEI packet received {"connection_id":162322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":162322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:33:22] local.INFO: TCP Data received {"connection_id":162322,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:33:22] local.INFO: Processing buffer {"connection_id":162322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:33:22] local.INFO: IMEI packet received {"connection_id":162322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":162322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:33:23] local.INFO: TCP Data received {"connection_id":162322,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a168ad8012d7c838005d978a0000000d815..."} 
[2026-08-25 23:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a168ad8012d7c838005d978a0000000d815..."} 
[2026-08-25 23:33:23] local.INFO: Processing buffer {"connection_id":162322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a168ad8012d7c838005d978a0000000d815..."} 
[2026-08-25 23:33:23] local.INFO: Packet analysis {"connection_id":162322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a16"} 
[2026-08-25 23:33:23] local.INFO: Extracted packet for processing {"connection_id":162322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a16"} 
[2026-08-25 23:33:23] local.INFO: GPS Element Parsed {"raw_longitude":763134848,"raw_latitude":98138272,"longitude_deg":76.3134848,"latitude_deg":9.8138272,"altitude":0,"angle":216,"satellites":21,"speed":5,"hex_longitude":"2d7c8380","hex_latitude":"05d978a0","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646323200001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124528810061201408,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972296382752290816,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:23] 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-25 23:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787680951000,"timestamp_ms":1787680951000,"timestamp_seconds":1787680951,"priority":1,"record_length":96,"hex_timestamp":"000001a03a168ad8"} 
[2026-08-25 23: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-25 23:33:23] 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-25 23: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":38,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 23:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626856,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-08-25 23:33:23] local.WARNING: Large IO value detected {"io_id":36,"raw_value":1945781155009711701,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:23] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755588419748081,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:23] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,245,85,24,241,157,16,106,160,84,45,64,153,22,10,66,105,49,191,27,187,21,1,240,133,227,58,218,4,113,205,50,219,107,152,35,239,36,59,63],"length":430,"final_offset":560,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-08-25 23:33:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":219992520458240,"timestamp_seconds":219992520458.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 23: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-25 23:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646323200001,"66":9732,"245":206,"85":15104,"24":5,"16":124528810061201408,"45":8972296382752290816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 23:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646323200001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:33:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124528810061201408,"km_value":124528810061201.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972296382752290816,"description":"Unknown IO ID 45"} 
[2026-08-25 23:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646323200001,"power":9732,"geofence_id":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8972296382752290816}} 
[2026-08-25 23:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":162322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:33:23] local.INFO: GPS data processed {"connection_id":162322,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:33:23] local.INFO: Acknowledgment sent {"connection_id":162322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:33:38] local.INFO: TCP Data received {"connection_id":163321,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:33:38] local.INFO: Processing buffer {"connection_id":163321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:33:38] local.INFO: IMEI packet received {"connection_id":163321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":163321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:33:39] local.INFO: TCP Data received {"connection_id":162087,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:33:39] local.INFO: Processing buffer {"connection_id":162087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:33:39] local.INFO: IMEI packet received {"connection_id":162087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 23:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":162087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:33:45] local.INFO: TCP Data received {"connection_id":163321,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:33:45] local.INFO: Processing buffer {"connection_id":163321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:33:45] local.INFO: IMEI packet received {"connection_id":163321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":163321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:33:46] local.INFO: TCP Data received {"connection_id":163321,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:33:46] local.INFO: Processing buffer {"connection_id":163321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:33:46] local.INFO: Packet analysis {"connection_id":163321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:33:46] local.INFO: Extracted packet for processing {"connection_id":163321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646212096001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787680816000,"timestamp_ms":1787680816000,"timestamp_seconds":1787680816,"priority":1,"record_length":96,"hex_timestamp":"000001a03a147b80"} 
[2026-08-25 23:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:33:46] 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-25 23:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646212096001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646212096001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:33:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646212096001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":163321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:33:46] local.INFO: GPS data processed {"connection_id":163321,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:33:46] local.INFO: Acknowledgment sent {"connection_id":163321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:33:55] local.INFO: TCP Data received {"connection_id":162322,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a16b5d0012d7c818005d979180000015a1d..."} 
[2026-08-25 23:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a16b5d0012d7c818005d979180000015a1d..."} 
[2026-08-25 23:33:55] local.INFO: Processing buffer {"connection_id":162322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a16b5d0012d7c818005d979180000015a1d..."} 
[2026-08-25 23:33:55] local.INFO: Packet analysis {"connection_id":162322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a16"} 
[2026-08-25 23:33:55] local.INFO: Extracted packet for processing {"connection_id":162322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a16"} 
[2026-08-25 23:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763134336,"raw_latitude":98138392,"longitude_deg":76.3134336,"latitude_deg":9.8138392,"altitude":0,"angle":346,"satellites":29,"speed":8,"hex_longitude":"2d7c8180","hex_latitude":"05d97918","is_valid_coordinates":true} 
[2026-08-25 23:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646323456001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124528840125972480,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972155645263912960,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:55] 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-25 23:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787680962000,"timestamp_ms":1787680962000,"timestamp_seconds":1787680962,"priority":1,"record_length":96,"hex_timestamp":"000001a03a16b5d0"} 
[2026-08-25 23:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 23:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626856,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:55] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3801088000,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-08-25 23:33:55] local.WARNING: Large IO value detected {"io_id":115,"raw_value":3221608965,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:55] local.WARNING: Large IO value detected {"io_id":39,"raw_value":-8430512386451911083,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:55] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755614189551857,"note":"Value kept but may cause issues"} 
[2026-08-25 23:33:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,245,85,24,241,157,16,106,160,134,45,120,21,10,66,84,64,153,22,105,49,1,240,131,227,58,217,4,113,205,51,250,115,56,28,239,39,59,174],"length":430,"final_offset":560,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-08-25 23:33:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":237584706240512,"timestamp_seconds":237584706240.512,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 23:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646323456001,"66":10308,"245":206,"85":15104,"24":8,"16":124528840125972480,"45":8972155645263912960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 23:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646323456001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124528840125972480,"km_value":124528840125972.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972155645263912960,"description":"Unknown IO ID 45"} 
[2026-08-25 23:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646323456001,"power":10308,"geofence_id":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8972155645263912960}} 
[2026-08-25 23:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":162322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:33:55] local.INFO: GPS data processed {"connection_id":162322,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:33:55] local.INFO: Acknowledgment sent {"connection_id":162322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:34:17] local.INFO: TCP Data received {"connection_id":164702,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:34:17] local.INFO: Processing buffer {"connection_id":164702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:34:17] local.INFO: IMEI packet received {"connection_id":164702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":164702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:34:17] local.INFO: TCP Data received {"connection_id":163321,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:34:17] local.INFO: Processing buffer {"connection_id":163321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:34:17] local.INFO: Packet analysis {"connection_id":163321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:34:17] local.INFO: Extracted packet for processing {"connection_id":163321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646212096001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787680816000,"timestamp_ms":1787680816000,"timestamp_seconds":1787680816,"priority":1,"record_length":96,"hex_timestamp":"000001a03a147b80"} 
[2026-08-25 23:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:34:17] 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-25 23:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646212096001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646212096001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646212096001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":163321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:34:17] local.INFO: GPS data processed {"connection_id":163321,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:34:17] local.INFO: Acknowledgment sent {"connection_id":163321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:34:22] local.INFO: TCP Data received {"connection_id":164702,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:34:22] local.INFO: Processing buffer {"connection_id":164702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:34:22] local.INFO: IMEI packet received {"connection_id":164702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":164702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:34:22] local.INFO: TCP Data received {"connection_id":164702,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a16bda0012d7c810005d97b08000001651d..."} 
[2026-08-25 23:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a16bda0012d7c810005d97b08000001651d..."} 
[2026-08-25 23:34:23] local.INFO: Processing buffer {"connection_id":164702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a16bda0012d7c810005d97b08000001651d..."} 
[2026-08-25 23:34:23] local.INFO: Packet analysis {"connection_id":164702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a16"} 
[2026-08-25 23:34:23] local.INFO: Extracted packet for processing {"connection_id":164702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a16"} 
[2026-08-25 23:34:23] local.INFO: GPS Element Parsed {"raw_longitude":763134208,"raw_latitude":98138888,"longitude_deg":76.3134208,"latitude_deg":9.8138888,"altitude":0,"angle":357,"satellites":29,"speed":11,"hex_longitude":"2d7c8100","hex_latitude":"05d97b08","is_valid_coordinates":true} 
[2026-08-25 23:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646326272001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124528865895776256,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971592695310522368,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:23] 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-25 23:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787680964000,"timestamp_ms":1787680964000,"timestamp_seconds":1787680964,"priority":1,"record_length":96,"hex_timestamp":"000001a03a16bda0"} 
[2026-08-25 23:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-25 23:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1010,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646326272001,"66":10406,"245":206,"85":15104,"24":11,"16":124528865895776256,"45":8971592695310522368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 23:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646326272001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:34:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124528865895776256,"km_value":124528865895776.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971592695310522368,"description":"Unknown IO ID 45"} 
[2026-08-25 23:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646326272001,"power":10406,"geofence_id":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8971592695310522368}} 
[2026-08-25 23:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":164702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:34:23] local.INFO: GPS data processed {"connection_id":164702,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:34:23] local.INFO: Acknowledgment sent {"connection_id":164702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:34:44] local.INFO: TCP Data received {"connection_id":162088,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:34:44] local.INFO: Processing buffer {"connection_id":162088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:34:44] local.INFO: IMEI packet received {"connection_id":162088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":162088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:34:49] local.INFO: TCP Data received {"connection_id":162088,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:34:49] local.INFO: Processing buffer {"connection_id":162088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:34:49] local.INFO: IMEI packet received {"connection_id":162088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":162088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:34:50] local.INFO: TCP Data received {"connection_id":162088,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:34:50] local.INFO: Processing buffer {"connection_id":162088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:34:50] local.INFO: Packet analysis {"connection_id":162088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:34:50] local.INFO: Extracted packet for processing {"connection_id":162088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:34:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646212096001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787680816000,"timestamp_ms":1787680816000,"timestamp_seconds":1787680816,"priority":1,"record_length":96,"hex_timestamp":"000001a03a147b80"} 
[2026-08-25 23: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-25 23:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:34:50] 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-25 23: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-25 23: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-25 23:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646212096001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646212096001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:34:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646212096001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":162088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:34:50] local.INFO: GPS data processed {"connection_id":162088,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:34:50] local.INFO: Acknowledgment sent {"connection_id":162088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:34:53] local.INFO: TCP Data received {"connection_id":164702,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a170bc0012d7c7e0005d996680000015d18..."} 
[2026-08-25 23:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a170bc0012d7c7e0005d996680000015d18..."} 
[2026-08-25 23:34:53] local.INFO: Processing buffer {"connection_id":164702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a170bc0012d7c7e0005d996680000015d18..."} 
[2026-08-25 23:34:53] local.INFO: Packet analysis {"connection_id":164702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a17"} 
[2026-08-25 23:34:53] local.INFO: Extracted packet for processing {"connection_id":164702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a17"} 
[2026-08-25 23:34:53] local.INFO: GPS Element Parsed {"raw_longitude":763133440,"raw_latitude":98145896,"longitude_deg":76.313344,"latitude_deg":9.8145896,"altitude":0,"angle":349,"satellites":24,"speed":0,"hex_longitude":"2d7c7e00","hex_latitude":"05d99668","is_valid_coordinates":true} 
[2026-08-25 23:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646326784001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124529226673029120,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957822294016,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:53] 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-25 23:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787680984000,"timestamp_ms":1787680984000,"timestamp_seconds":1787680984,"priority":1,"record_length":96,"hex_timestamp":"000001a03a170bc0"} 
[2026-08-25 23:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-25 23:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646326784001,"66":9982,"245":206,"85":15104,"24":0,"16":124529226673029120,"45":8971451957822294016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 23:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646326784001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:34:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124529226673029120,"km_value":124529226673029.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957822294016,"description":"Unknown IO ID 45"} 
[2026-08-25 23:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646326784001,"power":9982,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971451957822294016}} 
[2026-08-25 23:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":164702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:34:53] local.INFO: GPS data processed {"connection_id":164702,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:34:53] local.INFO: Acknowledgment sent {"connection_id":164702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:34:54] local.INFO: TCP Data received {"connection_id":162088,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:34:54] local.INFO: Processing buffer {"connection_id":162088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:34:54] local.INFO: Packet analysis {"connection_id":162088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:34:54] local.INFO: Extracted packet for processing {"connection_id":162088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:34:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 23:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646212096001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787680816000,"timestamp_ms":1787680816000,"timestamp_seconds":1787680816,"priority":1,"record_length":96,"hex_timestamp":"000001a03a147b80"} 
[2026-08-25 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-25 23:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:34:54] 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-25 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-25 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-25 23:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646212096001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646212096001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:34:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646212096001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":162088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:34:54] local.INFO: GPS data processed {"connection_id":162088,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:34:54] local.INFO: Acknowledgment sent {"connection_id":162088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:35:17] local.INFO: TCP Data received {"connection_id":164703,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:35:17] local.INFO: Processing buffer {"connection_id":164703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:35:17] local.INFO: IMEI packet received {"connection_id":164703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":164703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:35:22] local.INFO: TCP Data received {"connection_id":164703,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:35:22] local.INFO: Processing buffer {"connection_id":164703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:35:22] local.INFO: IMEI packet received {"connection_id":164703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":164703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:35:23] local.INFO: TCP Data received {"connection_id":164703,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a172718012d7c78c005d998b0000001041e..."} 
[2026-08-25 23:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a172718012d7c78c005d998b0000001041e..."} 
[2026-08-25 23:35:23] local.INFO: Processing buffer {"connection_id":164703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a172718012d7c78c005d998b0000001041e..."} 
[2026-08-25 23:35:23] local.INFO: Packet analysis {"connection_id":164703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a17"} 
[2026-08-25 23:35:23] local.INFO: Extracted packet for processing {"connection_id":164703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a17"} 
[2026-08-25 23:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763132096,"raw_latitude":98146480,"longitude_deg":76.3132096,"latitude_deg":9.814648,"altitude":0,"angle":260,"satellites":30,"speed":8,"hex_longitude":"2d7c78c0","hex_latitude":"05d998b0","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646331904001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124529299687473152,"note":"Value kept but may cause issues"} 
[2026-08-25 23:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970607532893956096,"note":"Value kept but may cause issues"} 
[2026-08-25 23:35:23] 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-25 23:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787680991000,"timestamp_ms":1787680991000,"timestamp_seconds":1787680991,"priority":1,"record_length":96,"hex_timestamp":"000001a03a172718"} 
[2026-08-25 23: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-25 23:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23: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":38,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-25 23:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646331904001,"66":10178,"245":206,"85":15104,"24":8,"16":124529299687473152,"45":8970607532893956096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 23:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646331904001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:35:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124529299687473152,"km_value":124529299687473.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970607532893956096,"description":"Unknown IO ID 45"} 
[2026-08-25 23:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646331904001,"power":10178,"geofence_id":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8970607532893956096}} 
[2026-08-25 23:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":164703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:35:23] local.INFO: GPS data processed {"connection_id":164703,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:35:23] local.INFO: Acknowledgment sent {"connection_id":164703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:35:39] local.INFO: TCP Data received {"connection_id":162323,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:35:39] local.INFO: Processing buffer {"connection_id":162323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:35:39] local.INFO: IMEI packet received {"connection_id":162323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":162323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:35:44] local.INFO: TCP Data received {"connection_id":162323,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:35:44] local.INFO: Processing buffer {"connection_id":162323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:35:44] local.INFO: IMEI packet received {"connection_id":162323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":162323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:35:45] local.INFO: TCP Data received {"connection_id":162323,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:35:45] local.INFO: Processing buffer {"connection_id":162323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a147b80012d34c14006aa4818000900e62e..."} 
[2026-08-25 23:35:45] local.INFO: Packet analysis {"connection_id":162323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:35:45] local.INFO: Extracted packet for processing {"connection_id":162323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a14"} 
[2026-08-25 23:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:35: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-25 23:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646212096001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:35:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787680816000,"timestamp_ms":1787680816000,"timestamp_seconds":1787680816,"priority":1,"record_length":96,"hex_timestamp":"000001a03a147b80"} 
[2026-08-25 23:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:35:45] 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-25 23:35: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-25 23:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646212096001,"66":25451,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646212096001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:35:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646212096001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":162323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:35:45] local.INFO: GPS data processed {"connection_id":162323,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:35:45] local.INFO: Acknowledgment sent {"connection_id":162323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:35:54] local.INFO: TCP Data received {"connection_id":164703,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a194de0012d7c31c005d988a8000000b12a..."} 
[2026-08-25 23:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a194de0012d7c31c005d988a8000000b12a..."} 
[2026-08-25 23:35:54] local.INFO: Processing buffer {"connection_id":164703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a194de0012d7c31c005d988a8000000b12a..."} 
[2026-08-25 23:35:54] local.INFO: Packet analysis {"connection_id":164703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:35:54] local.INFO: Extracted packet for processing {"connection_id":164703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142376,"longitude_deg":76.311392,"latitude_deg":9.8142376,"altitude":0,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d988a8","is_valid_coordinates":true} 
[2026-08-25 23:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646364416001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124530253170212864,"note":"Value kept but may cause issues"} 
[2026-08-25 23:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918867456,"note":"Value kept but may cause issues"} 
[2026-08-25 23:35:54] 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-25 23:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787681132000,"timestamp_ms":1787681132000,"timestamp_seconds":1787681132,"priority":1,"record_length":96,"hex_timestamp":"000001a03a194de0"} 
[2026-08-25 23:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:35:54] 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-25 23:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-25 23:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1457,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646364416001,"66":11102,"245":206,"85":15104,"24":0,"16":124530253170212864,"45":8949145065918867456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 23:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646364416001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124530253170212864,"km_value":124530253170212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918867456,"description":"Unknown IO ID 45"} 
[2026-08-25 23:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646364416001,"power":11102,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918867456}} 
[2026-08-25 23:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":164703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:35:55] local.INFO: GPS data processed {"connection_id":164703,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:35:55] local.INFO: Acknowledgment sent {"connection_id":164703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:36:16] local.INFO: TCP Data received {"connection_id":162323,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:36:16] local.INFO: Processing buffer {"connection_id":162323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:36:16] local.INFO: Packet analysis {"connection_id":162323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:36:16] local.INFO: Extracted packet for processing {"connection_id":162323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646288896001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:36:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787681117000,"timestamp_ms":1787681117000,"timestamp_seconds":1787681117,"priority":1,"record_length":96,"hex_timestamp":"000001a03a191348"} 
[2026-08-25 23:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 23:36:16] 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-25 23:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646288896001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646288896001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646288896001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":162323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:36:16] local.INFO: GPS data processed {"connection_id":162323,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:36:16] local.INFO: Acknowledgment sent {"connection_id":162323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:36:17] local.INFO: TCP Data received {"connection_id":162324,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:36:17] local.INFO: Processing buffer {"connection_id":162324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:36:17] local.INFO: IMEI packet received {"connection_id":162324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":162324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:36:22] local.INFO: TCP Data received {"connection_id":162324,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:36:22] local.INFO: Processing buffer {"connection_id":162324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:36:22] local.INFO: IMEI packet received {"connection_id":162324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":162324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:36:23] local.INFO: TCP Data received {"connection_id":162324,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a198490012d7c320005d988980000004326..."} 
[2026-08-25 23:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a198490012d7c320005d988980000004326..."} 
[2026-08-25 23:36:23] local.INFO: Processing buffer {"connection_id":162324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a198490012d7c320005d988980000004326..."} 
[2026-08-25 23:36:23] local.INFO: Packet analysis {"connection_id":162324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:36:23] local.INFO: Extracted packet for processing {"connection_id":162324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:36:23] local.INFO: GPS Element Parsed {"raw_longitude":763113984,"raw_latitude":98142360,"longitude_deg":76.3113984,"latitude_deg":9.814236,"altitude":0,"angle":67,"satellites":38,"speed":4,"hex_longitude":"2d7c3200","hex_latitude":"05d98898","is_valid_coordinates":true} 
[2026-08-25 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-25 23:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646369792001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124530257465180160,"note":"Value kept but may cause issues"} 
[2026-08-25 23:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918867456,"note":"Value kept but may cause issues"} 
[2026-08-25 23:36:23] 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-25 23:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787681146000,"timestamp_ms":1787681146000,"timestamp_seconds":1787681146,"priority":1,"record_length":96,"hex_timestamp":"000001a03a198490"} 
[2026-08-25 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-25 23:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":43,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-25 23:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1259,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 23:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646369792001,"66":10710,"245":206,"85":15104,"24":4,"16":124530257465180160,"45":8949145065918867456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 23:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646369792001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:36:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124530257465180160,"km_value":124530257465180.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918867456,"description":"Unknown IO ID 45"} 
[2026-08-25 23:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646369792001,"power":10710,"geofence_id":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8949145065918867456}} 
[2026-08-25 23:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":162324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:36:23] local.INFO: GPS data processed {"connection_id":162324,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:36:23] local.INFO: Acknowledgment sent {"connection_id":162324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:36:38] local.INFO: TCP Data received {"connection_id":162089,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:36:38] local.INFO: Processing buffer {"connection_id":162089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:36:38] local.INFO: IMEI packet received {"connection_id":162089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":162089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:36:44] local.INFO: TCP Data received {"connection_id":162089,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:36:44] local.INFO: Processing buffer {"connection_id":162089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:36:44] local.INFO: IMEI packet received {"connection_id":162089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":162089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:36:44] local.INFO: TCP Data received {"connection_id":162089,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:36:44] local.INFO: Processing buffer {"connection_id":162089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:36:44] local.INFO: Packet analysis {"connection_id":162089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:36:44] local.INFO: Extracted packet for processing {"connection_id":162089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646288896001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:36:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787681117000,"timestamp_ms":1787681117000,"timestamp_seconds":1787681117,"priority":1,"record_length":96,"hex_timestamp":"000001a03a191348"} 
[2026-08-25 23: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-25 23:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 23:36:44] 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-25 23: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-25 23: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-25 23:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646288896001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646288896001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646288896001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":162089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:36:44] local.INFO: GPS data processed {"connection_id":162089,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:36:44] local.INFO: Acknowledgment sent {"connection_id":162089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:36:54] local.INFO: TCP Data received {"connection_id":162324,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a198c60012d7c32c005d988b00000005125..."} 
[2026-08-25 23:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a198c60012d7c32c005d988b00000005125..."} 
[2026-08-25 23:36:54] local.INFO: Processing buffer {"connection_id":162324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a198c60012d7c32c005d988b00000005125..."} 
[2026-08-25 23:36:54] local.INFO: Packet analysis {"connection_id":162324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:36:54] local.INFO: Extracted packet for processing {"connection_id":162324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763114176,"raw_latitude":98142384,"longitude_deg":76.3114176,"latitude_deg":9.8142384,"altitude":0,"angle":81,"satellites":37,"speed":1,"hex_longitude":"2d7c32c0","hex_latitude":"05d988b0","is_valid_coordinates":true} 
[2026-08-25 23:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646373376001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124530261760147456,"note":"Value kept but may cause issues"} 
[2026-08-25 23:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949215434663041024,"note":"Value kept but may cause issues"} 
[2026-08-25 23:36:54] 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-25 23:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787681148000,"timestamp_ms":1787681148000,"timestamp_seconds":1787681148,"priority":1,"record_length":96,"hex_timestamp":"000001a03a198c60"} 
[2026-08-25 23:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:36:54] 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-25 23:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-25 23:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2329,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646373376001,"66":11134,"245":206,"85":15104,"24":1,"16":124530261760147456,"45":8949215434663041024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 23:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646373376001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:36:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124530261760147456,"km_value":124530261760147.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949215434663041024,"description":"Unknown IO ID 45"} 
[2026-08-25 23:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646373376001,"power":11134,"geofence_id":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8949215434663041024}} 
[2026-08-25 23:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":162324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:36:54] local.INFO: GPS data processed {"connection_id":162324,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:36:54] local.INFO: Acknowledgment sent {"connection_id":162324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:37:16] local.INFO: TCP Data received {"connection_id":162089,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:37:16] local.INFO: Processing buffer {"connection_id":162089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:37:16] local.INFO: Packet analysis {"connection_id":162089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:37:16] local.INFO: Extracted packet for processing {"connection_id":162089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646288896001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:37:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787681117000,"timestamp_ms":1787681117000,"timestamp_seconds":1787681117,"priority":1,"record_length":96,"hex_timestamp":"000001a03a191348"} 
[2026-08-25 23: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-25 23:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 23:37:16] 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-25 23: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-25 23: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-25 23:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646288896001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646288896001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646288896001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":162089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:37:16] local.INFO: GPS data processed {"connection_id":162089,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:37:16] local.INFO: Acknowledgment sent {"connection_id":162089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:37:17] local.INFO: TCP Data received {"connection_id":163322,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:37:17] local.INFO: Processing buffer {"connection_id":163322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:37:17] local.INFO: IMEI packet received {"connection_id":163322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":163322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:37:22] local.INFO: TCP Data received {"connection_id":163322,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:37:22] local.INFO: Processing buffer {"connection_id":163322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:37:22] local.INFO: IMEI packet received {"connection_id":163322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":163322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:37:23] local.INFO: TCP Data received {"connection_id":163322,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a19aba0012d7c3ac005d98ac0000100442a..."} 
[2026-08-25 23:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a19aba0012d7c3ac005d98ac0000100442a..."} 
[2026-08-25 23:37:23] local.INFO: Processing buffer {"connection_id":163322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a19aba0012d7c3ac005d98ac0000100442a..."} 
[2026-08-25 23:37:23] local.INFO: Packet analysis {"connection_id":163322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:37:23] local.INFO: Extracted packet for processing {"connection_id":163322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763116224,"raw_latitude":98142912,"longitude_deg":76.3116224,"latitude_deg":9.8142912,"altitude":1,"angle":68,"satellites":42,"speed":22,"hex_longitude":"2d7c3ac0","hex_latitude":"05d98ac0","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646373888001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124530364839362560,"note":"Value kept but may cause issues"} 
[2026-08-25 23:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949426540895580160,"note":"Value kept but may cause issues"} 
[2026-08-25 23:37:23] 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-25 23:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787681156000,"timestamp_ms":1787681156000,"timestamp_seconds":1787681156,"priority":1,"record_length":96,"hex_timestamp":"000001a03a19aba0"} 
[2026-08-25 23: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-25 23:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23: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":43,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-08-25 23:37:23] 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-25 23: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-25 23: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-25 23:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646373888001,"66":10123,"245":206,"85":15104,"24":22,"16":124530364839362560,"45":8949426540895580160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 23:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646373888001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:37:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124530364839362560,"km_value":124530364839362.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949426540895580160,"description":"Unknown IO ID 45"} 
[2026-08-25 23:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646373888001,"power":10123,"geofence_id":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8949426540895580160}} 
[2026-08-25 23:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":163322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:37:23] local.INFO: GPS data processed {"connection_id":163322,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:37:23] local.INFO: Acknowledgment sent {"connection_id":163322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:37:38] local.INFO: TCP Data received {"connection_id":164704,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:37:38] local.INFO: Processing buffer {"connection_id":164704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:37:38] local.INFO: IMEI packet received {"connection_id":164704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":164704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:37:44] local.INFO: TCP Data received {"connection_id":164704,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:37:44] local.INFO: Processing buffer {"connection_id":164704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:37:44] local.INFO: IMEI packet received {"connection_id":164704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":164704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:37:45] local.INFO: TCP Data received {"connection_id":164704,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:37:45] local.INFO: Processing buffer {"connection_id":164704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:37:45] local.INFO: Packet analysis {"connection_id":164704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:37:45] local.INFO: Extracted packet for processing {"connection_id":164704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646288896001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:37:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787681117000,"timestamp_ms":1787681117000,"timestamp_seconds":1787681117,"priority":1,"record_length":96,"hex_timestamp":"000001a03a191348"} 
[2026-08-25 23:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 23:37:45] 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-25 23:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646288896001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646288896001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646288896001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":164704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:37:45] local.INFO: GPS data processed {"connection_id":164704,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:37:45] local.INFO: Acknowledgment sent {"connection_id":164704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:37:54] local.INFO: TCP Data received {"connection_id":163322,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a19e250012d7c5d4005d995b80004004b2a..."} 
[2026-08-25 23:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a19e250012d7c5d4005d995b80004004b2a..."} 
[2026-08-25 23:37:54] local.INFO: Processing buffer {"connection_id":163322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a19e250012d7c5d4005d995b80004004b2a..."} 
[2026-08-25 23:37:54] local.INFO: Packet analysis {"connection_id":163322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:37:54] local.INFO: Extracted packet for processing {"connection_id":163322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763125056,"raw_latitude":98145720,"longitude_deg":76.3125056,"latitude_deg":9.814572,"altitude":4,"angle":75,"satellites":42,"speed":19,"hex_longitude":"2d7c5d40","hex_latitude":"05d995b8","is_valid_coordinates":true} 
[2026-08-25 23:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646375936001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124530811515961344,"note":"Value kept but may cause issues"} 
[2026-08-25 23:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951678340709400576,"note":"Value kept but may cause issues"} 
[2026-08-25 23:37:54] 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-25 23:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787681170000,"timestamp_ms":1787681170000,"timestamp_seconds":1787681170,"priority":1,"record_length":96,"hex_timestamp":"000001a03a19e250"} 
[2026-08-25 23:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-25 23:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1644,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646375936001,"66":10091,"245":206,"85":15104,"24":19,"16":124530811515961344,"45":8951678340709400576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-25 23:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646375936001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:37:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124530811515961344,"km_value":124530811515961.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951678340709400576,"description":"Unknown IO ID 45"} 
[2026-08-25 23:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646375936001,"power":10091,"geofence_id":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8951678340709400576}} 
[2026-08-25 23:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":163322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:37:54] local.INFO: GPS data processed {"connection_id":163322,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:37:54] local.INFO: Acknowledgment sent {"connection_id":163322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:38:17] local.INFO: TCP Data received {"connection_id":164704,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:38:17] local.INFO: Processing buffer {"connection_id":164704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:38:17] local.INFO: Packet analysis {"connection_id":164704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:38:17] local.INFO: Extracted packet for processing {"connection_id":164704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646288896001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787681117000,"timestamp_ms":1787681117000,"timestamp_seconds":1787681117,"priority":1,"record_length":96,"hex_timestamp":"000001a03a191348"} 
[2026-08-25 23:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 23:38:17] 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-25 23:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646288896001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646288896001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646288896001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":164704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:38:17] local.INFO: GPS data processed {"connection_id":164704,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:38:17] local.INFO: Acknowledgment sent {"connection_id":164704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:38:22] local.INFO: TCP Data received {"connection_id":163323,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:38:22] local.INFO: Processing buffer {"connection_id":163323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:38:22] local.INFO: IMEI packet received {"connection_id":163323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":163323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:38:24] local.INFO: TCP Data received {"connection_id":163323,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:38:24] local.INFO: Processing buffer {"connection_id":163323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:38:24] local.INFO: IMEI packet received {"connection_id":163323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":163323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:38:25] local.INFO: TCP Data received {"connection_id":163323,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1b9bb8012d7c3f8005da96a80003015420..."} 
[2026-08-25 23:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1b9bb8012d7c3f8005da96a80003015420..."} 
[2026-08-25 23:38:25] local.INFO: Processing buffer {"connection_id":163323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1b9bb8012d7c3f8005da96a80003015420..."} 
[2026-08-25 23:38:25] local.INFO: Packet analysis {"connection_id":163323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1b"} 
[2026-08-25 23:38:25] local.INFO: Extracted packet for processing {"connection_id":163323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1b"} 
[2026-08-25 23:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763117440,"raw_latitude":98211496,"longitude_deg":76.311744,"latitude_deg":9.8211496,"altitude":3,"angle":340,"satellites":32,"speed":35,"hex_longitude":"2d7c3f80","hex_latitude":"05da96a8","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646405632001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124534402108620800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8956604152817133568,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:25] 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-25 23:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787681283000,"timestamp_ms":1787681283000,"timestamp_seconds":1787681283,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1b9bb8"} 
[2026-08-25 23: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-25 23:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23: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":38,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-25 23:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646405632001,"66":9917,"187":206,"85":15104,"24":35,"16":124534402108620800,"45":8956604152817133568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 23:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646405632001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:38:25] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 23:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124534402108620800,"km_value":124534402108620.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8956604152817133568,"description":"Unknown IO ID 45"} 
[2026-08-25 23:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646405632001,"power":9917,"unknown_187":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8956604152817133568}} 
[2026-08-25 23:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":163323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:38:25] local.INFO: GPS data processed {"connection_id":163323,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:38:25] local.INFO: Acknowledgment sent {"connection_id":163323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:38:27] local.INFO: TCP Data received {"connection_id":163323,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1bc2c8012d7c32c005dab8600005015522..."} 
[2026-08-25 23:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1bc2c8012d7c32c005dab8600005015522..."} 
[2026-08-25 23:38:27] local.INFO: Processing buffer {"connection_id":163323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1bc2c8012d7c32c005dab8600005015522..."} 
[2026-08-25 23:38:27] local.INFO: Packet analysis {"connection_id":163323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1b"} 
[2026-08-25 23:38:27] local.INFO: Extracted packet for processing {"connection_id":163323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1b"} 
[2026-08-25 23:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763114176,"raw_latitude":98220128,"longitude_deg":76.3114176,"latitude_deg":9.8220128,"altitude":5,"angle":341,"satellites":34,"speed":37,"hex_longitude":"2d7c32c0","hex_latitude":"05dab860","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646408448001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124534848785219584,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953015346866333696,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:27] 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-25 23:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787681293000,"timestamp_ms":1787681293000,"timestamp_seconds":1787681293,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1bc2c8"} 
[2026-08-25 23: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-25 23:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23: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":38,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-25 23:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646408448001,"66":9982,"187":206,"85":15104,"24":37,"16":124534848785219584,"45":8953015346866333696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 23:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646408448001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:38:27] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 23:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124534848785219584,"km_value":124534848785219.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953015346866333696,"description":"Unknown IO ID 45"} 
[2026-08-25 23:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646408448001,"power":9982,"unknown_187":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8953015346866333696}} 
[2026-08-25 23:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":163323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:38:28] local.INFO: GPS data processed {"connection_id":163323,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:38:28] local.INFO: Acknowledgment sent {"connection_id":163323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:38:38] local.INFO: TCP Data received {"connection_id":164705,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:38:38] local.INFO: Processing buffer {"connection_id":164705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:38:38] local.INFO: IMEI packet received {"connection_id":164705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":164705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:38:44] local.INFO: TCP Data received {"connection_id":164705,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:38:44] local.INFO: Processing buffer {"connection_id":164705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:38:44] local.INFO: IMEI packet received {"connection_id":164705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":164705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:38:45] local.INFO: TCP Data received {"connection_id":164705,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:38:45] local.INFO: Processing buffer {"connection_id":164705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:38:45] local.INFO: Packet analysis {"connection_id":164705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:38:45] local.INFO: Extracted packet for processing {"connection_id":164705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646288896001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787681117000,"timestamp_ms":1787681117000,"timestamp_seconds":1787681117,"priority":1,"record_length":96,"hex_timestamp":"000001a03a191348"} 
[2026-08-25 23:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 23:38:45] 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-25 23:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646288896001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646288896001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646288896001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":164705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:38:45] local.INFO: GPS data processed {"connection_id":164705,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:38:45] local.INFO: Acknowledgment sent {"connection_id":164705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:38:58] local.INFO: TCP Data received {"connection_id":163323,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1be9d8012d7c294005dadb680006015821..."} 
[2026-08-25 23:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1be9d8012d7c294005dadb680006015821..."} 
[2026-08-25 23:38:58] local.INFO: Processing buffer {"connection_id":163323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1be9d8012d7c294005dadb680006015821..."} 
[2026-08-25 23:38:58] local.INFO: Packet analysis {"connection_id":163323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1b"} 
[2026-08-25 23:38:58] local.INFO: Extracted packet for processing {"connection_id":163323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1b"} 
[2026-08-25 23:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763111744,"raw_latitude":98229096,"longitude_deg":76.3111744,"latitude_deg":9.8229096,"altitude":6,"angle":344,"satellites":33,"speed":35,"hex_longitude":"2d7c2940","hex_latitude":"05dadb68","is_valid_coordinates":true} 
[2026-08-25 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-25 23:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646411008001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124535299756785664,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949426540915482624,"note":"Value kept but may cause issues"} 
[2026-08-25 23:38:58] 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-25 23:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787681303000,"timestamp_ms":1787681303000,"timestamp_seconds":1787681303,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1be9d8"} 
[2026-08-25 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-25 23:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 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":38,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-25 23:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 23:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646411008001,"66":9884,"187":206,"85":15104,"24":35,"16":124535299756785664,"45":8949426540915482624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 23:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646411008001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:38:58] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 23:38:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124535299756785664,"km_value":124535299756785.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949426540915482624,"description":"Unknown IO ID 45"} 
[2026-08-25 23:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646411008001,"power":9884,"unknown_187":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8949426540915482624}} 
[2026-08-25 23:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":163323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:38:58] local.INFO: GPS data processed {"connection_id":163323,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:38:58] local.INFO: Acknowledgment sent {"connection_id":163323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:39:14] local.INFO: TCP Data received {"connection_id":162090,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:39:14] local.INFO: Processing buffer {"connection_id":162090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:39:14] local.INFO: IMEI packet received {"connection_id":162090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 23:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":162090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:39:16] local.INFO: TCP Data received {"connection_id":164705,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:39:16] local.INFO: Processing buffer {"connection_id":164705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:39:16] local.INFO: Packet analysis {"connection_id":164705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:39:16] local.INFO: Extracted packet for processing {"connection_id":164705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646288896001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787681117000,"timestamp_ms":1787681117000,"timestamp_seconds":1787681117,"priority":1,"record_length":96,"hex_timestamp":"000001a03a191348"} 
[2026-08-25 23:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 23:39:16] 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-25 23:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646288896001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646288896001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646288896001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":164705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:39:16] local.INFO: GPS data processed {"connection_id":164705,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:39:16] local.INFO: Acknowledgment sent {"connection_id":164705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:39:17] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:39:17] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:39:17] local.INFO: IMEI packet received {"connection_id":162091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":162091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:39:18] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:39:18] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:39:18] local.INFO: IMEI packet received {"connection_id":162091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":162091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:39:18] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:39:18] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:39:18] local.INFO: IMEI packet received {"connection_id":162091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":162091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:39:19] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1c14d0012d7c200005daffb00005015b22..."} 
[2026-08-25 23:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1c14d0012d7c200005daffb00005015b22..."} 
[2026-08-25 23:39:19] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1c14d0012d7c200005daffb00005015b22..."} 
[2026-08-25 23:39:19] local.INFO: Packet analysis {"connection_id":162091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:39:19] local.INFO: Extracted packet for processing {"connection_id":162091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:39:19] local.INFO: GPS Element Parsed {"raw_longitude":763109376,"raw_latitude":98238384,"longitude_deg":76.3109376,"latitude_deg":9.8238384,"altitude":5,"angle":347,"satellites":34,"speed":35,"hex_longitude":"2d7c2000","hex_latitude":"05daffb0","is_valid_coordinates":true} 
[2026-08-25 23:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646413568001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124535763613253632,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946752528639027200,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:19] 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-25 23:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787681314000,"timestamp_ms":1787681314000,"timestamp_seconds":1787681314,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1c14d0"} 
[2026-08-25 23:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-25 23:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1792,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646413568001,"66":9917,"187":206,"85":15104,"24":35,"16":124535763613253632,"45":8946752528639027200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 23:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646413568001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:39:19] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 23:39:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124535763613253632,"km_value":124535763613253.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946752528639027200,"description":"Unknown IO ID 45"} 
[2026-08-25 23:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646413568001,"power":9917,"unknown_187":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8946752528639027200}} 
[2026-08-25 23:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":162091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:39:19] local.INFO: GPS data processed {"connection_id":162091,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:39:19] local.INFO: Acknowledgment sent {"connection_id":162091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:39:23] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1c3be0012d7c180005db22680003015a22..."} 
[2026-08-25 23:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1c3be0012d7c180005db22680003015a22..."} 
[2026-08-25 23:39:23] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1c3be0012d7c180005db22680003015a22..."} 
[2026-08-25 23:39:23] local.INFO: Packet analysis {"connection_id":162091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:39:23] local.INFO: Extracted packet for processing {"connection_id":162091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:39:23] local.INFO: GPS Element Parsed {"raw_longitude":763107328,"raw_latitude":98247272,"longitude_deg":76.3107328,"latitude_deg":9.8247272,"altitude":3,"angle":346,"satellites":34,"speed":38,"hex_longitude":"2d7c1800","hex_latitude":"05db2268","is_valid_coordinates":true} 
[2026-08-25 23:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646416384001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124536205994885120,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944148885106831360,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:23] 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-25 23:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787681324000,"timestamp_ms":1787681324000,"timestamp_seconds":1787681324,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1c3be0"} 
[2026-08-25 23:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-25 23:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646416384001,"66":9917,"187":206,"85":15104,"24":38,"16":124536205994885120,"45":8944148885106831360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 23:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646416384001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:39:23] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 23:39:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124536205994885120,"km_value":124536205994885.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944148885106831360,"description":"Unknown IO ID 45"} 
[2026-08-25 23:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646416384001,"power":9917,"unknown_187":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8944148885106831360}} 
[2026-08-25 23:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":162091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:39:23] local.INFO: GPS data processed {"connection_id":162091,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:39:23] local.INFO: Acknowledgment sent {"connection_id":162091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:39:44] local.INFO: TCP Data received {"connection_id":162325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:39:44] local.INFO: Processing buffer {"connection_id":162325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:39:44] local.INFO: IMEI packet received {"connection_id":162325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":162325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:39:49] local.INFO: TCP Data received {"connection_id":162325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:39:49] local.INFO: Processing buffer {"connection_id":162325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:39:49] local.INFO: IMEI packet received {"connection_id":162325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":162325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:39:49] local.INFO: TCP Data received {"connection_id":162325,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:39:49] local.INFO: Processing buffer {"connection_id":162325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:39:49] local.INFO: Packet analysis {"connection_id":162325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:39:49] local.INFO: Extracted packet for processing {"connection_id":162325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 23:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646288896001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787681117000,"timestamp_ms":1787681117000,"timestamp_seconds":1787681117,"priority":1,"record_length":96,"hex_timestamp":"000001a03a191348"} 
[2026-08-25 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-25 23:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 23:39:49] 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-25 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-25 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-25 23:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646288896001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646288896001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:39:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646288896001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":162325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:39:49] local.INFO: GPS data processed {"connection_id":162325,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:39:49] local.INFO: Acknowledgment sent {"connection_id":162325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:39:54] local.INFO: TCP Data received {"connection_id":162091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1c66d8012d7c0dc005db42700003014627..."} 
[2026-08-25 23:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1c66d8012d7c0dc005db42700003014627..."} 
[2026-08-25 23:39:54] local.INFO: Processing buffer {"connection_id":162091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1c66d8012d7c0dc005db42700003014627..."} 
[2026-08-25 23:39:54] local.INFO: Packet analysis {"connection_id":162091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:39:54] local.INFO: Extracted packet for processing {"connection_id":162091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763104704,"raw_latitude":98255472,"longitude_deg":76.3104704,"latitude_deg":9.8255472,"altitude":3,"angle":326,"satellites":39,"speed":21,"hex_longitude":"2d7c0dc0","hex_latitude":"05db4270","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646418944001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124536626901680128,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941897085295421440,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:54] 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-25 23:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787681335000,"timestamp_ms":1787681335000,"timestamp_seconds":1787681335,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1c66d8"} 
[2026-08-25 23: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-25 23:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23: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":38,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-25 23:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646418944001,"66":9352,"187":206,"85":15104,"24":21,"16":124536626901680128,"45":8941897085295421440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 23:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646418944001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:39:54] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 23:39:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124536626901680128,"km_value":124536626901680.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941897085295421440,"description":"Unknown IO ID 45"} 
[2026-08-25 23:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646418944001,"power":9352,"unknown_187":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8941897085295421440}} 
[2026-08-25 23:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":162091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:39:54] local.INFO: GPS data processed {"connection_id":162091,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:39:54] local.INFO: Acknowledgment sent {"connection_id":162091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:39:54] local.INFO: TCP Data received {"connection_id":162325,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:39:54] local.INFO: Processing buffer {"connection_id":162325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:39:54] local.INFO: Packet analysis {"connection_id":162325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:39:54] local.INFO: Extracted packet for processing {"connection_id":162325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:39:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646288896001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787681117000,"timestamp_ms":1787681117000,"timestamp_seconds":1787681117,"priority":1,"record_length":96,"hex_timestamp":"000001a03a191348"} 
[2026-08-25 23: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-25 23:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 23:39:54] 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-25 23: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-25 23: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-25 23:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646288896001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646288896001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:39:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646288896001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":162325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:39:54] local.INFO: GPS data processed {"connection_id":162325,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:39:54] local.INFO: Acknowledgment sent {"connection_id":162325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:40:17] local.INFO: TCP Data received {"connection_id":162326,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:40:17] local.INFO: Processing buffer {"connection_id":162326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:40:17] local.INFO: IMEI packet received {"connection_id":162326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":162326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:40:22] local.INFO: TCP Data received {"connection_id":162326,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:40:22] local.INFO: Processing buffer {"connection_id":162326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:40:22] local.INFO: IMEI packet received {"connection_id":162326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":162326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:40:25] local.INFO: TCP Data received {"connection_id":162326,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1c6ac0012d7c0c8005db43d00003013828..."} 
[2026-08-25 23:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1c6ac0012d7c0c8005db43d00003013828..."} 
[2026-08-25 23:40:25] local.INFO: Processing buffer {"connection_id":162326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1c6ac0012d7c0c8005db43d00003013828..."} 
[2026-08-25 23:40:25] local.INFO: Packet analysis {"connection_id":162326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:40:25] local.INFO: Extracted packet for processing {"connection_id":162326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763104384,"raw_latitude":98255824,"longitude_deg":76.3104384,"latitude_deg":9.8255824,"altitude":3,"angle":312,"satellites":40,"speed":17,"hex_longitude":"2d7c0c80","hex_latitude":"05db43d0","is_valid_coordinates":true} 
[2026-08-25 23:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646421760001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124536648376516608,"note":"Value kept but may cause issues"} 
[2026-08-25 23:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939011966786236416,"note":"Value kept but may cause issues"} 
[2026-08-25 23:40:25] 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-25 23:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787681336000,"timestamp_ms":1787681336000,"timestamp_seconds":1787681336,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1c6ac0"} 
[2026-08-25 23:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-25 23:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1602,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646421760001,"66":9428,"187":206,"85":15104,"24":17,"16":124536648376516608,"45":8939011966786236416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 23:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646421760001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:40:25] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 23:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124536648376516608,"km_value":124536648376516.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939011966786236416,"description":"Unknown IO ID 45"} 
[2026-08-25 23:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646421760001,"power":9428,"unknown_187":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8939011966786236416}} 
[2026-08-25 23:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":162326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:40:25] local.INFO: GPS data processed {"connection_id":162326,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:40:25] local.INFO: Acknowledgment sent {"connection_id":162326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:40:39] local.INFO: TCP Data received {"connection_id":164706,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:40:39] local.INFO: Processing buffer {"connection_id":164706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:40:39] local.INFO: IMEI packet received {"connection_id":164706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":164706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:40:44] local.INFO: TCP Data received {"connection_id":164706,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:40:44] local.INFO: Processing buffer {"connection_id":164706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:40:44] local.INFO: IMEI packet received {"connection_id":164706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":164706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:40:49] local.INFO: TCP Data received {"connection_id":164706,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:40:49] local.INFO: Processing buffer {"connection_id":164706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:40:49] local.INFO: IMEI packet received {"connection_id":164706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":164706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:40:50] local.INFO: TCP Data received {"connection_id":164706,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:40:50] local.INFO: Processing buffer {"connection_id":164706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:40:50] local.INFO: Packet analysis {"connection_id":164706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:40:50] local.INFO: Extracted packet for processing {"connection_id":164706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:40:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646288896001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:40:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787681117000,"timestamp_ms":1787681117000,"timestamp_seconds":1787681117,"priority":1,"record_length":96,"hex_timestamp":"000001a03a191348"} 
[2026-08-25 23: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-25 23:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 23:40:50] 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-25 23: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-25 23: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-25 23:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646288896001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646288896001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:40:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646288896001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":164706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:40:50] local.INFO: GPS data processed {"connection_id":164706,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:40:50] local.INFO: Acknowledgment sent {"connection_id":164706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:40:54] local.INFO: TCP Data received {"connection_id":164706,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:40:54] local.INFO: Processing buffer {"connection_id":164706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a191348012d34c14006aa4818000400e62c..."} 
[2026-08-25 23:40:54] local.INFO: Packet analysis {"connection_id":164706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:40:54] local.INFO: Extracted packet for processing {"connection_id":164706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a19"} 
[2026-08-25 23:40:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646288896001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:40:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787681117000,"timestamp_ms":1787681117000,"timestamp_seconds":1787681117,"priority":1,"record_length":96,"hex_timestamp":"000001a03a191348"} 
[2026-08-25 23: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-25 23:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-25 23:40:54] 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-25 23: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-25 23: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-25 23:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646288896001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646288896001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:40:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646288896001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":164706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:40:54] local.INFO: GPS data processed {"connection_id":164706,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:40:54] local.INFO: Acknowledgment sent {"connection_id":164706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:40:56] local.INFO: TCP Data received {"connection_id":162326,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1c7290012d7c0a8005db44b80002011c25..."} 
[2026-08-25 23:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1c7290012d7c0a8005db44b80002011c25..."} 
[2026-08-25 23:40:56] local.INFO: Processing buffer {"connection_id":162326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1c7290012d7c0a8005db44b80002011c25..."} 
[2026-08-25 23:40:56] local.INFO: Packet analysis {"connection_id":162326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:40:56] local.INFO: Extracted packet for processing {"connection_id":162326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763103872,"raw_latitude":98256056,"longitude_deg":76.3103872,"latitude_deg":9.8256056,"altitude":2,"angle":284,"satellites":37,"speed":6,"hex_longitude":"2d7c0a80","hex_latitude":"05db44b8","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646422016001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124536678441287680,"note":"Value kept but may cause issues"} 
[2026-08-25 23:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938660123065438208,"note":"Value kept but may cause issues"} 
[2026-08-25 23:40:56] 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-25 23:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787681338000,"timestamp_ms":1787681338000,"timestamp_seconds":1787681338,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1c7290"} 
[2026-08-25 23: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-25 23:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23: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":36,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-25 23:40:56] 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-25 23: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-25 23: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-25 23:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646422016001,"66":9841,"187":206,"85":15104,"24":6,"16":124536678441287680,"45":8938660123065438208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-25 23:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646422016001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:40:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-25 23:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124536678441287680,"km_value":124536678441287.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938660123065438208,"description":"Unknown IO ID 45"} 
[2026-08-25 23:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646422016001,"power":9841,"unknown_187":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8938660123065438208}} 
[2026-08-25 23:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":162326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:40:56] local.INFO: GPS data processed {"connection_id":162326,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:40:56] local.INFO: Acknowledgment sent {"connection_id":162326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:41:17] local.INFO: TCP Data received {"connection_id":162092,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:41:17] local.INFO: Processing buffer {"connection_id":162092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:41:17] local.INFO: IMEI packet received {"connection_id":162092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":162092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:41:22] local.INFO: TCP Data received {"connection_id":162092,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:41:22] local.INFO: Processing buffer {"connection_id":162092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:41:22] local.INFO: IMEI packet received {"connection_id":162092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":162092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:41:23] local.INFO: TCP Data received {"connection_id":162092,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1c95b8012d7c07c005db4600000701652c..."} 
[2026-08-25 23:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1c95b8012d7c07c005db4600000701652c..."} 
[2026-08-25 23:41:23] local.INFO: Processing buffer {"connection_id":162092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1c95b8012d7c07c005db4600000701652c..."} 
[2026-08-25 23:41:23] local.INFO: Packet analysis {"connection_id":162092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:41:23] local.INFO: Extracted packet for processing {"connection_id":162092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:41:23] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":98256384,"longitude_deg":76.3103168,"latitude_deg":9.8256384,"altitude":7,"angle":357,"satellites":44,"speed":6,"hex_longitude":"2d7c07c0","hex_latitude":"05db4600","is_valid_coordinates":true} 
[2026-08-25 23:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646422528001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124536721390960640,"note":"Value kept but may cause issues"} 
[2026-08-25 23:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938097173112076288,"note":"Value kept but may cause issues"} 
[2026-08-25 23:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787681347000,"timestamp_ms":1787681347000,"timestamp_seconds":1787681347,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1c95b8"} 
[2026-08-25 23:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-25 23:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646422528001,"66":9547,"186":206,"85":15104,"24":6,"16":124536721390960640,"45":8938097173112076288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-08-25 23:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646422528001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:41:23] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-25 23:41:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124536721390960640,"km_value":124536721390960.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938097173112076288,"description":"Unknown IO ID 45"} 
[2026-08-25 23:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646422528001,"power":9547,"unknown_186":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8938097173112076288}} 
[2026-08-25 23:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":162092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:41:23] local.INFO: GPS data processed {"connection_id":162092,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:41:23] local.INFO: Acknowledgment sent {"connection_id":162092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:41:38] local.INFO: TCP Data received {"connection_id":163324,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:41:38] local.INFO: Processing buffer {"connection_id":163324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:41:38] local.INFO: IMEI packet received {"connection_id":163324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":163324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:41:44] local.INFO: TCP Data received {"connection_id":163324,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:41:44] local.INFO: Processing buffer {"connection_id":163324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:41:44] local.INFO: IMEI packet received {"connection_id":163324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":163324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:41:45] local.INFO: TCP Data received {"connection_id":163324,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:41:45] local.INFO: Processing buffer {"connection_id":163324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:41:45] local.INFO: Packet analysis {"connection_id":163324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:41:45] local.INFO: Extracted packet for processing {"connection_id":163324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646365952001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:41:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787681418000,"timestamp_ms":1787681418000,"timestamp_seconds":1787681418,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1dab10"} 
[2026-08-25 23:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:41:45] 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-25 23:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646365952001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646365952001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:41:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646365952001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":163324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:41:45] local.INFO: GPS data processed {"connection_id":163324,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:41:45] local.INFO: Acknowledgment sent {"connection_id":163324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:41:54] local.INFO: TCP Data received {"connection_id":162092,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1ca558012d7c074005db4910000601582d..."} 
[2026-08-25 23:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1ca558012d7c074005db4910000601582d..."} 
[2026-08-25 23:41:54] local.INFO: Processing buffer {"connection_id":162092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1ca558012d7c074005db4910000601582d..."} 
[2026-08-25 23:41:54] local.INFO: Packet analysis {"connection_id":162092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:41:54] local.INFO: Extracted packet for processing {"connection_id":162092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763103040,"raw_latitude":98257168,"longitude_deg":76.310304,"latitude_deg":9.8257168,"altitude":6,"angle":344,"satellites":45,"speed":6,"hex_longitude":"2d7c0740","hex_latitude":"05db4910","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646424832001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124536760045666304,"note":"Value kept but may cause issues"} 
[2026-08-25 23:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116926205952,"note":"Value kept but may cause issues"} 
[2026-08-25 23:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787681351000,"timestamp_ms":1787681351000,"timestamp_seconds":1787681351,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1ca558"} 
[2026-08-25 23: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-25 23:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23: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":37,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-25 23:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1058,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646424832001,"66":9710,"186":206,"85":15104,"24":6,"16":124536760045666304,"45":8937323116926205952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-08-25 23:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646424832001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:41:54] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-25 23:41:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124536760045666304,"km_value":124536760045666.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116926205952,"description":"Unknown IO ID 45"} 
[2026-08-25 23:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646424832001,"power":9710,"unknown_186":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8937323116926205952}} 
[2026-08-25 23:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":162092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:41:54] local.INFO: GPS data processed {"connection_id":162092,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:41:54] local.INFO: Acknowledgment sent {"connection_id":162092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:42:16] local.INFO: TCP Data received {"connection_id":163324,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:42:16] local.INFO: Processing buffer {"connection_id":163324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:42:16] local.INFO: Packet analysis {"connection_id":163324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:42:16] local.INFO: Extracted packet for processing {"connection_id":163324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646365952001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787681418000,"timestamp_ms":1787681418000,"timestamp_seconds":1787681418,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1dab10"} 
[2026-08-25 23:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:42:16] 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-25 23:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646365952001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646365952001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646365952001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":163324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:42:16] local.INFO: GPS data processed {"connection_id":163324,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:42:16] local.INFO: Acknowledgment sent {"connection_id":163324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:42:22] local.INFO: TCP Data received {"connection_id":162327,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:42:22] local.INFO: Processing buffer {"connection_id":162327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:42:22] local.INFO: IMEI packet received {"connection_id":162327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-25 23:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":162327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:42:27] local.INFO: TCP Data received {"connection_id":162327,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:42:27] local.INFO: Processing buffer {"connection_id":162327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-25 23:42:27] local.INFO: IMEI packet received {"connection_id":162327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-25 23:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":162327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:42:28] local.INFO: TCP Data received {"connection_id":162327,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1cb8e0012d7c060005db4be8000601152d..."} 
[2026-08-25 23:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1cb8e0012d7c060005db4be8000601152d..."} 
[2026-08-25 23:42:28] local.INFO: Processing buffer {"connection_id":162327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1cb8e0012d7c060005db4be8000601152d..."} 
[2026-08-25 23:42:28] local.INFO: Packet analysis {"connection_id":162327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:42:28] local.INFO: Extracted packet for processing {"connection_id":162327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763102720,"raw_latitude":98257896,"longitude_deg":76.310272,"latitude_deg":9.8257896,"altitude":6,"angle":277,"satellites":45,"speed":4,"hex_longitude":"2d7c0600","hex_latitude":"05db4be8","is_valid_coordinates":true} 
[2026-08-25 23:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646425856001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124536798700371968,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937182379438051328,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787681356000,"timestamp_ms":1787681356000,"timestamp_seconds":1787681356,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1cb8e0"} 
[2026-08-25 23:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-25 23:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-25 23:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2525,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646425856001,"66":9732,"186":206,"85":15104,"24":4,"16":124536798700371968,"45":8937182379438051328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-08-25 23:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646425856001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:42:28] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-25 23:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124536798700371968,"km_value":124536798700371.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937182379438051328,"description":"Unknown IO ID 45"} 
[2026-08-25 23:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646425856001,"power":9732,"unknown_186":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8937182379438051328}} 
[2026-08-25 23:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":162327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:42:28] local.INFO: GPS data processed {"connection_id":162327,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:42:28] local.INFO: Acknowledgment sent {"connection_id":162327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:42:32] local.INFO: TCP Data received {"connection_id":162327,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1cbcc8012d7c05c005db4c20000601232d..."} 
[2026-08-25 23:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1cbcc8012d7c05c005db4c20000601232d..."} 
[2026-08-25 23:42:32] local.INFO: Processing buffer {"connection_id":162327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1cbcc8012d7c05c005db4c20000601232d..."} 
[2026-08-25 23:42:32] local.INFO: Packet analysis {"connection_id":162327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:42:32] local.INFO: Extracted packet for processing {"connection_id":162327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1c"} 
[2026-08-25 23:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763102656,"raw_latitude":98257952,"longitude_deg":76.3102656,"latitude_deg":9.8257952,"altitude":6,"angle":291,"satellites":45,"speed":4,"hex_longitude":"2d7c05c0","hex_latitude":"05db4c20","is_valid_coordinates":true} 
[2026-08-25 23:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646427136001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124536802995339264,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936830535717349376,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-25 23:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787681357000,"timestamp_ms":1787681357000,"timestamp_seconds":1787681357,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1cbcc8"} 
[2026-08-25 23:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:42:32] 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-25 23:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-25 23:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626865,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-08-25 23:42:32] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3623955836,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:32] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3221609282,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:32] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-8646685168565694891,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:32] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:32] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,186,85,24,241,157,16,113,160,165,45,64,73,6,10,66,149,192,70,7,44,114,128,1,240,227,58,219,4,205,17,102,13,112,39,239,36,59,103],"length":430,"final_offset":560,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-08-25 23:42:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432650322222252032,"timestamp_seconds":432650322222252.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-25 23:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-25 23:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-25 23:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-25 23:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646427136001,"66":9732,"186":206,"85":15104,"24":4,"16":124536802995339264,"45":8936830535717349376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-08-25 23:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-25 23:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-25 23:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646427136001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:42:32] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-25 23:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-25 23:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124536802995339264,"km_value":124536802995339.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936830535717349376,"description":"Unknown IO ID 45"} 
[2026-08-25 23:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646427136001,"power":9732,"unknown_186":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8936830535717349376}} 
[2026-08-25 23:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":162327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:42:32] local.INFO: GPS data processed {"connection_id":162327,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:42:32] local.INFO: Acknowledgment sent {"connection_id":162327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:42:38] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:42:38] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:42:38] local.INFO: IMEI packet received {"connection_id":162328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":162328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:42:44] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:42:44] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:42:44] local.INFO: IMEI packet received {"connection_id":162328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":162328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:42:44] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:42:44] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:42:44] local.INFO: Packet analysis {"connection_id":162328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:42:44] local.INFO: Extracted packet for processing {"connection_id":162328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646365952001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787681418000,"timestamp_ms":1787681418000,"timestamp_seconds":1787681418,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1dab10"} 
[2026-08-25 23: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-25 23:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:42:44] 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-25 23: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-25 23: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-25 23:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646365952001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646365952001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646365952001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":162328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:42:44] local.INFO: GPS data processed {"connection_id":162328,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:42:44] local.INFO: Acknowledgment sent {"connection_id":162328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:43:16] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:43:16] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:43:16] local.INFO: Packet analysis {"connection_id":162328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:43:16] local.INFO: Extracted packet for processing {"connection_id":162328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646365952001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:43:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787681418000,"timestamp_ms":1787681418000,"timestamp_seconds":1787681418,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1dab10"} 
[2026-08-25 23: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-25 23:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:43:16] 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-25 23: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-25 23: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-25 23:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646365952001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646365952001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646365952001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":162328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:43:16] local.INFO: GPS data processed {"connection_id":162328,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:43:16] local.INFO: Acknowledgment sent {"connection_id":162328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:43:46] local.INFO: TCP Data received {"connection_id":164707,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:43:46] local.INFO: Processing buffer {"connection_id":164707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:43:46] local.INFO: IMEI packet received {"connection_id":164707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":164707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:43:49] local.INFO: TCP Data received {"connection_id":164707,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:43:49] local.INFO: Processing buffer {"connection_id":164707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:43:49] local.INFO: IMEI packet received {"connection_id":164707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":164707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:43:49] local.INFO: TCP Data received {"connection_id":164707,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:43:49] local.INFO: Processing buffer {"connection_id":164707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:43:49] local.INFO: Packet analysis {"connection_id":164707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:43:49] local.INFO: Extracted packet for processing {"connection_id":164707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:43:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646365952001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:43:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787681418000,"timestamp_ms":1787681418000,"timestamp_seconds":1787681418,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1dab10"} 
[2026-08-25 23: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-25 23:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646365952001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646365952001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:43:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646365952001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":164707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:43:49] local.INFO: GPS data processed {"connection_id":164707,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:43:49] local.INFO: Acknowledgment sent {"connection_id":164707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:43:54] local.INFO: TCP Data received {"connection_id":164707,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:43:54] local.INFO: Processing buffer {"connection_id":164707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:43:54] local.INFO: Packet analysis {"connection_id":164707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:43:54] local.INFO: Extracted packet for processing {"connection_id":164707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646365952001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:43:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787681418000,"timestamp_ms":1787681418000,"timestamp_seconds":1787681418,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1dab10"} 
[2026-08-25 23:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:43:54] 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-25 23:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646365952001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646365952001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646365952001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":164707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:43:54] local.INFO: GPS data processed {"connection_id":164707,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:43:54] local.INFO: Acknowledgment sent {"connection_id":164707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:44:39] local.INFO: TCP Data received {"connection_id":163325,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:44:39] local.INFO: Processing buffer {"connection_id":163325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:44:39] local.INFO: IMEI packet received {"connection_id":163325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":163325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:44:44] local.INFO: TCP Data received {"connection_id":163325,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:44:44] local.INFO: Processing buffer {"connection_id":163325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:44:44] local.INFO: IMEI packet received {"connection_id":163325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":163325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:44:44] local.INFO: TCP Data received {"connection_id":163325,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:44:44] local.INFO: Processing buffer {"connection_id":163325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:44:44] local.INFO: Packet analysis {"connection_id":163325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:44:44] local.INFO: Extracted packet for processing {"connection_id":163325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646365952001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:44:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787681418000,"timestamp_ms":1787681418000,"timestamp_seconds":1787681418,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1dab10"} 
[2026-08-25 23: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-25 23:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:44:44] 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-25 23: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-25 23: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-25 23:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646365952001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646365952001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646365952001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":163325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:44:44] local.INFO: GPS data processed {"connection_id":163325,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:44:44] local.INFO: Acknowledgment sent {"connection_id":163325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:44:49] local.INFO: TCP Data received {"connection_id":162329,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:44:49] local.INFO: Processing buffer {"connection_id":162329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:44:49] local.INFO: IMEI packet received {"connection_id":162329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 23:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":162329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:45:16] local.INFO: TCP Data received {"connection_id":163325,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:45:16] local.INFO: Processing buffer {"connection_id":163325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:45:16] local.INFO: Packet analysis {"connection_id":163325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:45:16] local.INFO: Extracted packet for processing {"connection_id":163325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646365952001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:45:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787681418000,"timestamp_ms":1787681418000,"timestamp_seconds":1787681418,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1dab10"} 
[2026-08-25 23:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:45:16] 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-25 23:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646365952001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646365952001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646365952001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":163325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:45:16] local.INFO: GPS data processed {"connection_id":163325,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:45:16] local.INFO: Acknowledgment sent {"connection_id":163325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:45:41] local.INFO: TCP Data received {"connection_id":162330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:45:41] local.INFO: Processing buffer {"connection_id":162330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:45:41] local.INFO: IMEI packet received {"connection_id":162330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":162330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:45:43] local.INFO: TCP Data received {"connection_id":162330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:45:43] local.INFO: Processing buffer {"connection_id":162330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:45:43] local.INFO: IMEI packet received {"connection_id":162330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":162330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:45:44] local.INFO: TCP Data received {"connection_id":162330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:45:44] local.INFO: Processing buffer {"connection_id":162330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:45:44] local.INFO: Packet analysis {"connection_id":162330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:45:44] local.INFO: Extracted packet for processing {"connection_id":162330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646365952001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:45:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787681418000,"timestamp_ms":1787681418000,"timestamp_seconds":1787681418,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1dab10"} 
[2026-08-25 23: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-25 23:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:45:44] 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-25 23: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-25 23: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-25 23:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646365952001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646365952001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646365952001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":162330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:45:44] local.INFO: GPS data processed {"connection_id":162330,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:45:44] local.INFO: Acknowledgment sent {"connection_id":162330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:45:49] local.INFO: TCP Data received {"connection_id":162330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:45:49] local.INFO: Processing buffer {"connection_id":162330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a1dab10012d34c14006aa4818000700e62e..."} 
[2026-08-25 23:45:49] local.INFO: Packet analysis {"connection_id":162330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:45:49] local.INFO: Extracted packet for processing {"connection_id":162330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a1d"} 
[2026-08-25 23:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 23:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646365952001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:45:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787681418000,"timestamp_ms":1787681418000,"timestamp_seconds":1787681418,"priority":1,"record_length":96,"hex_timestamp":"000001a03a1dab10"} 
[2026-08-25 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-25 23:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 23:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646365952001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646365952001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:45:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646365952001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":162330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:45:49] local.INFO: GPS data processed {"connection_id":162330,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:45:49] local.INFO: Acknowledgment sent {"connection_id":162330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:46:20] local.INFO: TCP Data received {"connection_id":162330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:46:20] local.INFO: Processing buffer {"connection_id":162330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:46:20] local.INFO: Packet analysis {"connection_id":162330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:46:20] local.INFO: Extracted packet for processing {"connection_id":162330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646443008001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:46:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787681719000,"timestamp_ms":1787681719000,"timestamp_seconds":1787681719,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2242d8"} 
[2026-08-25 23: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-25 23:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:46: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-25 23: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-25 23: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-25 23:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646443008001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646443008001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646443008001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":162330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:46:20] local.INFO: GPS data processed {"connection_id":162330,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:46:20] local.INFO: Acknowledgment sent {"connection_id":162330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:46:38] local.INFO: TCP Data received {"connection_id":164708,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:46:38] local.INFO: Processing buffer {"connection_id":164708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:46:38] local.INFO: IMEI packet received {"connection_id":164708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":164708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:46:44] local.INFO: TCP Data received {"connection_id":164708,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:46:44] local.INFO: Processing buffer {"connection_id":164708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:46:44] local.INFO: IMEI packet received {"connection_id":164708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":164708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:46:44] local.INFO: TCP Data received {"connection_id":164708,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:46:44] local.INFO: Processing buffer {"connection_id":164708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:46:44] local.INFO: Packet analysis {"connection_id":164708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:46:44] local.INFO: Extracted packet for processing {"connection_id":164708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646443008001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:46:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787681719000,"timestamp_ms":1787681719000,"timestamp_seconds":1787681719,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2242d8"} 
[2026-08-25 23:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:46:44] 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-25 23:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646443008001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646443008001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646443008001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":164708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:46:44] local.INFO: GPS data processed {"connection_id":164708,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:46:44] local.INFO: Acknowledgment sent {"connection_id":164708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:47:16] local.INFO: TCP Data received {"connection_id":164708,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:47:16] local.INFO: Processing buffer {"connection_id":164708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:47:16] local.INFO: Packet analysis {"connection_id":164708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:47:16] local.INFO: Extracted packet for processing {"connection_id":164708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646443008001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:47:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787681719000,"timestamp_ms":1787681719000,"timestamp_seconds":1787681719,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2242d8"} 
[2026-08-25 23: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-25 23:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:47:16] 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-25 23: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-25 23: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-25 23:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646443008001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646443008001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646443008001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":164708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:47:16] local.INFO: GPS data processed {"connection_id":164708,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:47:16] local.INFO: Acknowledgment sent {"connection_id":164708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:47:38] local.INFO: TCP Data received {"connection_id":164709,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:47:38] local.INFO: Processing buffer {"connection_id":164709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:47:38] local.INFO: IMEI packet received {"connection_id":164709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":164709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:47:44] local.INFO: TCP Data received {"connection_id":164709,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:47:44] local.INFO: Processing buffer {"connection_id":164709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:47:44] local.INFO: IMEI packet received {"connection_id":164709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":164709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:47:45] local.INFO: TCP Data received {"connection_id":164709,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:47:45] local.INFO: Processing buffer {"connection_id":164709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:47:45] local.INFO: Packet analysis {"connection_id":164709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:47:45] local.INFO: Extracted packet for processing {"connection_id":164709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646443008001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:47:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787681719000,"timestamp_ms":1787681719000,"timestamp_seconds":1787681719,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2242d8"} 
[2026-08-25 23:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:47:45] 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-25 23:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646443008001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646443008001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646443008001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":164709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:47:45] local.INFO: GPS data processed {"connection_id":164709,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:47:45] local.INFO: Acknowledgment sent {"connection_id":164709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:48:16] local.INFO: TCP Data received {"connection_id":164709,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:48:16] local.INFO: Processing buffer {"connection_id":164709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:48:16] local.INFO: Packet analysis {"connection_id":164709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:48:16] local.INFO: Extracted packet for processing {"connection_id":164709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646443008001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:48:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787681719000,"timestamp_ms":1787681719000,"timestamp_seconds":1787681719,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2242d8"} 
[2026-08-25 23:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:48:16] 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-25 23:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646443008001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646443008001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646443008001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":164709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:48:16] local.INFO: GPS data processed {"connection_id":164709,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:48:16] local.INFO: Acknowledgment sent {"connection_id":164709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:48:44] local.INFO: TCP Data received {"connection_id":162094,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:48:44] local.INFO: Processing buffer {"connection_id":162094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:48:44] local.INFO: IMEI packet received {"connection_id":162094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":162094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:48:49] local.INFO: TCP Data received {"connection_id":162094,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:48:49] local.INFO: Processing buffer {"connection_id":162094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:48:49] local.INFO: IMEI packet received {"connection_id":162094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":162094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:48:49] local.INFO: TCP Data received {"connection_id":162094,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:48:49] local.INFO: Processing buffer {"connection_id":162094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:48:49] local.INFO: Packet analysis {"connection_id":162094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:48:49] local.INFO: Extracted packet for processing {"connection_id":162094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:48:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646443008001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:48:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787681719000,"timestamp_ms":1787681719000,"timestamp_seconds":1787681719,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2242d8"} 
[2026-08-25 23: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-25 23:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646443008001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646443008001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646443008001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":162094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:48:49] local.INFO: GPS data processed {"connection_id":162094,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:48:49] local.INFO: Acknowledgment sent {"connection_id":162094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:48:55] local.INFO: TCP Data received {"connection_id":162094,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:48:55] local.INFO: Processing buffer {"connection_id":162094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:48:55] local.INFO: Packet analysis {"connection_id":162094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:48:55] local.INFO: Extracted packet for processing {"connection_id":162094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:48:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646443008001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:48:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787681719000,"timestamp_ms":1787681719000,"timestamp_seconds":1787681719,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2242d8"} 
[2026-08-25 23:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:48:55] 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-25 23:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646443008001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646443008001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:48:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646443008001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":162094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:48:55] local.INFO: GPS data processed {"connection_id":162094,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:48:55] local.INFO: Acknowledgment sent {"connection_id":162094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:49:39] local.INFO: TCP Data received {"connection_id":164710,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:49:39] local.INFO: Processing buffer {"connection_id":164710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:49:39] local.INFO: IMEI packet received {"connection_id":164710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":164710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:49:43] local.INFO: TCP Data received {"connection_id":164710,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:49:43] local.INFO: Processing buffer {"connection_id":164710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:49:43] local.INFO: IMEI packet received {"connection_id":164710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":164710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:49:44] local.INFO: TCP Data received {"connection_id":164710,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:49:44] local.INFO: Processing buffer {"connection_id":164710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:49:44] local.INFO: Packet analysis {"connection_id":164710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:49:44] local.INFO: Extracted packet for processing {"connection_id":164710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646443008001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:49:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787681719000,"timestamp_ms":1787681719000,"timestamp_seconds":1787681719,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2242d8"} 
[2026-08-25 23: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-25 23:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:49:44] 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-25 23: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-25 23: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-25 23:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646443008001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646443008001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646443008001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":164710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:49:44] local.INFO: GPS data processed {"connection_id":164710,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:49:44] local.INFO: Acknowledgment sent {"connection_id":164710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:49:49] local.INFO: TCP Data received {"connection_id":164710,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:49:49] local.INFO: Processing buffer {"connection_id":164710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:49:49] local.INFO: Packet analysis {"connection_id":164710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:49:49] local.INFO: Extracted packet for processing {"connection_id":164710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646443008001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:49:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787681719000,"timestamp_ms":1787681719000,"timestamp_seconds":1787681719,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2242d8"} 
[2026-08-25 23: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-25 23:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646443008001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646443008001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646443008001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":164710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:49:49] local.INFO: GPS data processed {"connection_id":164710,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:49:49] local.INFO: Acknowledgment sent {"connection_id":164710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:50:20] local.INFO: TCP Data received {"connection_id":164710,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:50:20] local.INFO: Processing buffer {"connection_id":164710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:50:20] local.INFO: Packet analysis {"connection_id":164710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:50:20] local.INFO: Extracted packet for processing {"connection_id":164710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646443008001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:50:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787681719000,"timestamp_ms":1787681719000,"timestamp_seconds":1787681719,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2242d8"} 
[2026-08-25 23: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-25 23:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:50: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-25 23: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-25 23: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-25 23:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646443008001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646443008001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646443008001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":164710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:50:20] local.INFO: GPS data processed {"connection_id":164710,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:50:20] local.INFO: Acknowledgment sent {"connection_id":164710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:50:24] local.INFO: TCP Data received {"connection_id":162093,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:50:24] local.INFO: Processing buffer {"connection_id":162093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:50:24] local.INFO: IMEI packet received {"connection_id":162093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 23:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":162093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:50:39] local.INFO: TCP Data received {"connection_id":162331,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:50:39] local.INFO: Processing buffer {"connection_id":162331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:50:39] local.INFO: IMEI packet received {"connection_id":162331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":162331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:50:44] local.INFO: TCP Data received {"connection_id":162331,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:50:44] local.INFO: Processing buffer {"connection_id":162331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:50:44] local.INFO: IMEI packet received {"connection_id":162331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":162331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:50:45] local.INFO: TCP Data received {"connection_id":162331,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:50:45] local.INFO: Processing buffer {"connection_id":162331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2242d8012d34c14006aa4818000500e62f..."} 
[2026-08-25 23:50:45] local.INFO: Packet analysis {"connection_id":162331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:50:45] local.INFO: Extracted packet for processing {"connection_id":162331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a22"} 
[2026-08-25 23:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646443008001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:50:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787681719000,"timestamp_ms":1787681719000,"timestamp_seconds":1787681719,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2242d8"} 
[2026-08-25 23:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:50:45] 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-25 23:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646443008001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646443008001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646443008001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":162331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:50:45] local.INFO: GPS data processed {"connection_id":162331,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:50:45] local.INFO: Acknowledgment sent {"connection_id":162331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:51:16] local.INFO: TCP Data received {"connection_id":162331,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:51:16] local.INFO: Processing buffer {"connection_id":162331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:51:16] local.INFO: Packet analysis {"connection_id":162331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:51:16] local.INFO: Extracted packet for processing {"connection_id":162331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646520064001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:51:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787682020000,"timestamp_ms":1787682020000,"timestamp_seconds":1787682020,"priority":1,"record_length":96,"hex_timestamp":"000001a03a26daa0"} 
[2026-08-25 23:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 23:51:16] 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-25 23:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646520064001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646520064001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646520064001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":162331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:51:16] local.INFO: GPS data processed {"connection_id":162331,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:51:16] local.INFO: Acknowledgment sent {"connection_id":162331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:51:38] local.INFO: TCP Data received {"connection_id":162095,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:51:38] local.INFO: Processing buffer {"connection_id":162095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:51:38] local.INFO: IMEI packet received {"connection_id":162095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":162095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:51:45] local.INFO: TCP Data received {"connection_id":162095,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:51:45] local.INFO: Processing buffer {"connection_id":162095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:51:45] local.INFO: IMEI packet received {"connection_id":162095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":162095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:51:46] local.INFO: TCP Data received {"connection_id":162095,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:51:47] local.INFO: Processing buffer {"connection_id":162095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:51:47] local.INFO: Packet analysis {"connection_id":162095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:51:47] local.INFO: Extracted packet for processing {"connection_id":162095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646520064001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:51:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787682020000,"timestamp_ms":1787682020000,"timestamp_seconds":1787682020,"priority":1,"record_length":96,"hex_timestamp":"000001a03a26daa0"} 
[2026-08-25 23:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 23:51:47] 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-25 23:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646520064001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646520064001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646520064001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":162095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:51:47] local.INFO: GPS data processed {"connection_id":162095,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:51:47] local.INFO: Acknowledgment sent {"connection_id":162095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:52:18] local.INFO: TCP Data received {"connection_id":162095,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:52:18] local.INFO: Processing buffer {"connection_id":162095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:52:18] local.INFO: Packet analysis {"connection_id":162095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:52:18] local.INFO: Extracted packet for processing {"connection_id":162095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646520064001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:52:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787682020000,"timestamp_ms":1787682020000,"timestamp_seconds":1787682020,"priority":1,"record_length":96,"hex_timestamp":"000001a03a26daa0"} 
[2026-08-25 23:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 23:52:18] 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-25 23:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646520064001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646520064001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:52:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646520064001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":162095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:52:18] local.INFO: GPS data processed {"connection_id":162095,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:52:18] local.INFO: Acknowledgment sent {"connection_id":162095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:52:38] local.INFO: TCP Data received {"connection_id":162096,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:52:38] local.INFO: Processing buffer {"connection_id":162096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:52:38] local.INFO: IMEI packet received {"connection_id":162096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":162096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:52:44] local.INFO: TCP Data received {"connection_id":162096,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:52:44] local.INFO: Processing buffer {"connection_id":162096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:52:44] local.INFO: IMEI packet received {"connection_id":162096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":162096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:52:44] local.INFO: TCP Data received {"connection_id":162096,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:52:44] local.INFO: Processing buffer {"connection_id":162096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:52:44] local.INFO: Packet analysis {"connection_id":162096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:52:44] local.INFO: Extracted packet for processing {"connection_id":162096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646520064001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:52:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787682020000,"timestamp_ms":1787682020000,"timestamp_seconds":1787682020,"priority":1,"record_length":96,"hex_timestamp":"000001a03a26daa0"} 
[2026-08-25 23:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 23:52:44] 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-25 23:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646520064001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646520064001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646520064001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":162096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:52:44] local.INFO: GPS data processed {"connection_id":162096,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:52:44] local.INFO: Acknowledgment sent {"connection_id":162096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:53:16] local.INFO: TCP Data received {"connection_id":162096,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:53:16] local.INFO: Processing buffer {"connection_id":162096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:53:16] local.INFO: Packet analysis {"connection_id":162096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:53:16] local.INFO: Extracted packet for processing {"connection_id":162096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646520064001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:53:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787682020000,"timestamp_ms":1787682020000,"timestamp_seconds":1787682020,"priority":1,"record_length":96,"hex_timestamp":"000001a03a26daa0"} 
[2026-08-25 23:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 23:53:16] 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-25 23:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646520064001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646520064001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646520064001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":162096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:53:16] local.INFO: GPS data processed {"connection_id":162096,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:53:16] local.INFO: Acknowledgment sent {"connection_id":162096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:53:46] local.INFO: TCP Data received {"connection_id":163327,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:53:46] local.INFO: Processing buffer {"connection_id":163327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:53:46] local.INFO: IMEI packet received {"connection_id":163327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":163327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:53:48] local.INFO: TCP Data received {"connection_id":163327,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:53:48] local.INFO: Processing buffer {"connection_id":163327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:53:48] local.INFO: IMEI packet received {"connection_id":163327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":163327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:53:49] local.INFO: TCP Data received {"connection_id":163327,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:53:49] local.INFO: Processing buffer {"connection_id":163327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:53:49] local.INFO: Packet analysis {"connection_id":163327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:53:49] local.INFO: Extracted packet for processing {"connection_id":163327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:53:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646520064001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:53:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787682020000,"timestamp_ms":1787682020000,"timestamp_seconds":1787682020,"priority":1,"record_length":96,"hex_timestamp":"000001a03a26daa0"} 
[2026-08-25 23: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-25 23:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 23:53:49] 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-25 23: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-25 23: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-25 23:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646520064001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646520064001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:53:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646520064001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":163327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:53:49] local.INFO: GPS data processed {"connection_id":163327,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:53:49] local.INFO: Acknowledgment sent {"connection_id":163327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:53:54] local.INFO: TCP Data received {"connection_id":163327,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:53:54] local.INFO: Processing buffer {"connection_id":163327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:53:54] local.INFO: Packet analysis {"connection_id":163327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:53:54] local.INFO: Extracted packet for processing {"connection_id":163327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:53:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646520064001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:53:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787682020000,"timestamp_ms":1787682020000,"timestamp_seconds":1787682020,"priority":1,"record_length":96,"hex_timestamp":"000001a03a26daa0"} 
[2026-08-25 23: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-25 23:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 23:53:54] 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-25 23: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-25 23: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-25 23:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646520064001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646520064001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:53:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646520064001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":163327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:53:54] local.INFO: GPS data processed {"connection_id":163327,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:53:54] local.INFO: Acknowledgment sent {"connection_id":163327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:54:39] local.INFO: TCP Data received {"connection_id":162097,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:54:39] local.INFO: Processing buffer {"connection_id":162097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:54:39] local.INFO: IMEI packet received {"connection_id":162097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":162097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:54:44] local.INFO: TCP Data received {"connection_id":162097,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:54:44] local.INFO: Processing buffer {"connection_id":162097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:54:44] local.INFO: IMEI packet received {"connection_id":162097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":162097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:54:45] local.INFO: TCP Data received {"connection_id":162097,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:54:45] local.INFO: Processing buffer {"connection_id":162097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:54:45] local.INFO: Packet analysis {"connection_id":162097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:54:45] local.INFO: Extracted packet for processing {"connection_id":162097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646520064001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:54:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787682020000,"timestamp_ms":1787682020000,"timestamp_seconds":1787682020,"priority":1,"record_length":96,"hex_timestamp":"000001a03a26daa0"} 
[2026-08-25 23:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 23:54:45] 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-25 23:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646520064001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646520064001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646520064001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":162097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:54:45] local.INFO: GPS data processed {"connection_id":162097,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:54:45] local.INFO: Acknowledgment sent {"connection_id":162097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:55:16] local.INFO: TCP Data received {"connection_id":162097,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:55:16] local.INFO: Processing buffer {"connection_id":162097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:55:16] local.INFO: Packet analysis {"connection_id":162097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:55:16] local.INFO: Extracted packet for processing {"connection_id":162097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646520064001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:55:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787682020000,"timestamp_ms":1787682020000,"timestamp_seconds":1787682020,"priority":1,"record_length":96,"hex_timestamp":"000001a03a26daa0"} 
[2026-08-25 23: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-25 23:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 23:55:16] 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-25 23: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-25 23: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-25 23:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646520064001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646520064001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646520064001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":162097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:55:16] local.INFO: GPS data processed {"connection_id":162097,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:55:16] local.INFO: Acknowledgment sent {"connection_id":162097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:55:43] local.INFO: TCP Data received {"connection_id":164711,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:55:43] local.INFO: Processing buffer {"connection_id":164711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:55:43] local.INFO: IMEI packet received {"connection_id":164711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":164711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:55:43] local.INFO: TCP Data received {"connection_id":164711,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:55:44] local.INFO: Processing buffer {"connection_id":164711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:55:44] local.INFO: IMEI packet received {"connection_id":164711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":164711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:55:45] local.INFO: TCP Data received {"connection_id":164711,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:55:45] local.INFO: Processing buffer {"connection_id":164711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:55:45] local.INFO: Packet analysis {"connection_id":164711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:55:45] local.INFO: Extracted packet for processing {"connection_id":164711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:55:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646520064001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:55:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787682020000,"timestamp_ms":1787682020000,"timestamp_seconds":1787682020,"priority":1,"record_length":96,"hex_timestamp":"000001a03a26daa0"} 
[2026-08-25 23:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 23:55:45] 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-25 23:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646520064001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646520064001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:55:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646520064001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":164711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:55:45] local.INFO: GPS data processed {"connection_id":164711,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:55:45] local.INFO: Acknowledgment sent {"connection_id":164711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:55:49] local.INFO: TCP Data received {"connection_id":164711,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:55:49] local.INFO: Processing buffer {"connection_id":164711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a26daa0012d34c14006aa4818000700e62b..."} 
[2026-08-25 23:55:49] local.INFO: Packet analysis {"connection_id":164711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:55:49] local.INFO: Extracted packet for processing {"connection_id":164711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a26"} 
[2026-08-25 23:55:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646520064001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:55:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787682020000,"timestamp_ms":1787682020000,"timestamp_seconds":1787682020,"priority":1,"record_length":96,"hex_timestamp":"000001a03a26daa0"} 
[2026-08-25 23: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-25 23:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-25 23:55:49] 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-25 23: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-25 23: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-25 23:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646520064001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646520064001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646520064001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":164711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:55:49] local.INFO: GPS data processed {"connection_id":164711,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:55:49] local.INFO: Acknowledgment sent {"connection_id":164711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:55:59] local.INFO: TCP Data received {"connection_id":163326,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:55:59] local.INFO: Processing buffer {"connection_id":163326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-25 23:55:59] local.INFO: IMEI packet received {"connection_id":163326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-25 23:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":163326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:56:20] local.INFO: TCP Data received {"connection_id":164711,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:56:20] local.INFO: Processing buffer {"connection_id":164711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:56:20] local.INFO: Packet analysis {"connection_id":164711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:56:20] local.INFO: Extracted packet for processing {"connection_id":164711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646597120001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:56:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787682321000,"timestamp_ms":1787682321000,"timestamp_seconds":1787682321,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2b7268"} 
[2026-08-25 23: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-25 23:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:56: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-25 23: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-25 23: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-25 23:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646597120001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646597120001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646597120001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":164711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:56:20] local.INFO: GPS data processed {"connection_id":164711,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:56:20] local.INFO: Acknowledgment sent {"connection_id":164711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:56:38] local.INFO: TCP Data received {"connection_id":163328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:56:38] local.INFO: Processing buffer {"connection_id":163328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:56:38] local.INFO: IMEI packet received {"connection_id":163328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":163328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:56:44] local.INFO: TCP Data received {"connection_id":163328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:56:44] local.INFO: Processing buffer {"connection_id":163328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:56:44] local.INFO: IMEI packet received {"connection_id":163328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":163328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:56:45] local.INFO: TCP Data received {"connection_id":163328,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:56:45] local.INFO: Processing buffer {"connection_id":163328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:56:45] local.INFO: Packet analysis {"connection_id":163328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:56:45] local.INFO: Extracted packet for processing {"connection_id":163328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646597120001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:56:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787682321000,"timestamp_ms":1787682321000,"timestamp_seconds":1787682321,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2b7268"} 
[2026-08-25 23:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:56:45] 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-25 23:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646597120001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646597120001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646597120001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":163328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:56:45] local.INFO: GPS data processed {"connection_id":163328,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:56:45] local.INFO: Acknowledgment sent {"connection_id":163328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:57:16] local.INFO: TCP Data received {"connection_id":163328,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:57:16] local.INFO: Processing buffer {"connection_id":163328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:57:16] local.INFO: Packet analysis {"connection_id":163328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:57:16] local.INFO: Extracted packet for processing {"connection_id":163328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646597120001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:57:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787682321000,"timestamp_ms":1787682321000,"timestamp_seconds":1787682321,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2b7268"} 
[2026-08-25 23: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-25 23:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:57:16] 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-25 23: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-25 23: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-25 23:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646597120001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646597120001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646597120001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":163328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:57:16] local.INFO: GPS data processed {"connection_id":163328,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:57:16] local.INFO: Acknowledgment sent {"connection_id":163328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:57:43] local.INFO: TCP Data received {"connection_id":164712,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:57:43] local.INFO: Processing buffer {"connection_id":164712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:57:43] local.INFO: IMEI packet received {"connection_id":164712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":164712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:57:49] local.INFO: TCP Data received {"connection_id":164712,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:57:49] local.INFO: Processing buffer {"connection_id":164712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:57:49] local.INFO: IMEI packet received {"connection_id":164712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":164712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:57:49] local.INFO: TCP Data received {"connection_id":164712,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:57:49] local.INFO: Processing buffer {"connection_id":164712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:57:49] local.INFO: Packet analysis {"connection_id":164712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:57:49] local.INFO: Extracted packet for processing {"connection_id":164712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 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-25 23:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646597120001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:57:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787682321000,"timestamp_ms":1787682321000,"timestamp_seconds":1787682321,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2b7268"} 
[2026-08-25 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-25 23:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 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-25 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-25 23:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646597120001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646597120001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646597120001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":164712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:57:49] local.INFO: GPS data processed {"connection_id":164712,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:57:49] local.INFO: Acknowledgment sent {"connection_id":164712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:57:54] local.INFO: TCP Data received {"connection_id":164712,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:57:54] local.INFO: Processing buffer {"connection_id":164712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:57:54] local.INFO: Packet analysis {"connection_id":164712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:57:54] local.INFO: Extracted packet for processing {"connection_id":164712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646597120001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:57:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787682321000,"timestamp_ms":1787682321000,"timestamp_seconds":1787682321,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2b7268"} 
[2026-08-25 23:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:57:54] 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-25 23:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646597120001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646597120001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:57:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646597120001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":164712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:57:54] local.INFO: GPS data processed {"connection_id":164712,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:57:54] local.INFO: Acknowledgment sent {"connection_id":164712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:58:39] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:58:39] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:58:39] local.INFO: IMEI packet received {"connection_id":162333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":162333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:58:44] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:58:44] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:58:44] local.INFO: IMEI packet received {"connection_id":162333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":162333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:58:44] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:58:44] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:58:44] local.INFO: Packet analysis {"connection_id":162333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:58:44] local.INFO: Extracted packet for processing {"connection_id":162333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646597120001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:58:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787682321000,"timestamp_ms":1787682321000,"timestamp_seconds":1787682321,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2b7268"} 
[2026-08-25 23:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:58:44] 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-25 23:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646597120001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646597120001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646597120001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":162333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:58:44] local.INFO: GPS data processed {"connection_id":162333,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:58:44] local.INFO: Acknowledgment sent {"connection_id":162333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:58:49] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:58:49] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:58:49] local.INFO: Packet analysis {"connection_id":162333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:58:49] local.INFO: Extracted packet for processing {"connection_id":162333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646597120001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:58:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787682321000,"timestamp_ms":1787682321000,"timestamp_seconds":1787682321,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2b7268"} 
[2026-08-25 23: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-25 23:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-25 23: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-25 23: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-25 23:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646597120001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646597120001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:58:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646597120001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":162333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:58:49] local.INFO: GPS data processed {"connection_id":162333,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:58:49] local.INFO: Acknowledgment sent {"connection_id":162333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:59:20] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:59:20] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:59:20] local.INFO: Packet analysis {"connection_id":162333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:59:20] local.INFO: Extracted packet for processing {"connection_id":162333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646597120001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:59:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787682321000,"timestamp_ms":1787682321000,"timestamp_seconds":1787682321,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2b7268"} 
[2026-08-25 23: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-25 23:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-25 23: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-25 23: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-25 23: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-25 23: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-25 23:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646597120001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646597120001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646597120001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":162333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:59:21] local.INFO: GPS data processed {"connection_id":162333,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:59:21] local.INFO: Acknowledgment sent {"connection_id":162333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-25 23:59:39] local.INFO: TCP Data received {"connection_id":163329,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:59:39] local.INFO: Processing buffer {"connection_id":163329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:59:39] local.INFO: IMEI packet received {"connection_id":163329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-25 23:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":163329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-25 23:59:44] local.INFO: TCP Data received {"connection_id":163329,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:59:44] local.INFO: Processing buffer {"connection_id":163329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-25 23:59:44] local.INFO: IMEI packet received {"connection_id":163329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-25 23:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":163329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-25 23:59:44] local.INFO: TCP Data received {"connection_id":163329,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:59:44] local.INFO: Processing buffer {"connection_id":163329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-25 23:59:44] local.INFO: Packet analysis {"connection_id":163329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:59:44] local.INFO: Extracted packet for processing {"connection_id":163329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-25 23:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-25 23:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-25 23:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646597120001,"note":"Value kept but may cause issues"} 
[2026-08-25 23:59:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-25 23:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-25 23:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-25 23:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-25 23:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787682321000,"timestamp_ms":1787682321000,"timestamp_seconds":1787682321,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2b7268"} 
[2026-08-25 23:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-25 23:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-25 23:59:44] 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-25 23:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-25 23:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-25 23:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-25 23:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-25 23:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-25 23:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-25 23:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-25 23:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-25 23:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646597120001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-25 23:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-25 23:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-25 23:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646597120001,"description":"Unknown IO ID 0"} 
[2026-08-25 23:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-25 23:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-25 23:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-25 23:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646597120001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-25 23:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":163329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-25 23:59:44] local.INFO: GPS data processed {"connection_id":163329,"processed":1,"errors":0,"total":1} 
[2026-08-25 23:59:44] local.INFO: Acknowledgment sent {"connection_id":163329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
